[Installation, Configuration & DEPLOYMENT] - Re: [JBoss 4.2.1-GA] EJB incongruence deploying an EAR on di
by rigel77
"rigel77" wrote : Hi,
|
| ...
|
| Tnx in advance
|
Really strange things happen, it seems that the same EAR loaded on Windows Vista JBoss deploy correctly its datasource, while the EAR loaded on Debian JBoss does not deploy its datasource at all. In fact checking more deeply the JBoss logs, I found an clear incongruece, I post here the content of two server log portion concerning datasources:
"svrns.orion.lan" host
| <server>
| <mbean
| code='org.jboss.jms.jndi.JMSProviderLoader'
| name='jboss.mq:service=JMSProviderLoader,name=JMSProvider'>
| <attribute name='ProviderName'>DefaultJMSProvider</attribute>
| <attribute name='ProviderAdapterClass'>
| org.jboss.jms.jndi.JNDIProviderAdapter
| </attribute>
| <attribute name='FactoryRef'>
| java:/XAConnectionFactory
| </attribute>
| <attribute name='QueueFactoryRef'>
| java:/XAConnectionFactory
| </attribute>
| <attribute name='TopicFactoryRef'>
| java:/XAConnectionFactory
| </attribute>
| </mbean>
| <mbean code='org.jboss.jms.asf.ServerSessionPoolLoader'
| name='jboss.mq:service=ServerSessionPoolMBean,name=StdJMSPool'>
| <depends optional-attribute-name='XidFactory'>
| jboss:service=XidFactory
| </depends>
| <attribute name='PoolName'>StdJMSPool</attribute>
| <attribute name='PoolFactoryClass'>
| org.jboss.jms.asf.StdServerSessionPoolFactory
| </attribute>
| </mbean>
| <mbean
| code='org.jboss.resource.connectionmanager.TxConnectionManager'
| display-name='ConnectionManager for ConnectionFactory JmsXA'
| name='jboss.jca:service=TxCM,name=JmsXA'>
| <attribute name='TrackConnectionByTx'>false</attribute>
| <attribute name='LocalTransactions'>false</attribute>
| <depends optional-attribute-name='ManagedConnectionPool'>
| <mbean
| code='org.jboss.resource.connectionmanager.JBossManagedConnectionPool'
| display-name='Connection Pool for DataSource JmsXA'
| name='jboss.jca:service=ManagedConnectionPool,name=JmsXA'>
| <depends
| optional-attribute-name='ManagedConnectionFactoryName'>
| <mbean
| code='org.jboss.resource.connectionmanager.RARDeployment'
| display-name='ManagedConnectionFactory for ConnectionFactory JmsXA'
| name='jboss.jca:service=ManagedConnectionFactory,name=JmsXA'>
| <attribute
| name='ManagedConnectionFactoryProperties'>
| <properties>
| <config-property
| name='SessionDefaultType' type='java.lang.String'>
| javax.jms.Topic
| </config-property>
| <config-property
| name='JmsProviderAdapterJNDI' type='java.lang.String'>
| java:/DefaultJMSProvider
| </config-property>
| </properties>
| </attribute>
| <attribute name='RARName'>jms-ra.rar</attribute>
| <attribute name='ConnectionDefinition'>
| org.jboss.resource.adapter.jms.JmsConnectionFactory
| </attribute>
| <depends
| optional-attribute-name='OldRarDeployment'>
| jboss.jca:service=RARDeployment,name='jms-ra.rar'
| </depends>
| </mbean>
| </depends>
| <attribute name='PoolJndiName'>JmsXA</attribute>
| <attribute name='MinSize'>0</attribute>
| <attribute name='MaxSize'>20</attribute>
| <attribute name='BlockingTimeoutMillis'>
| 30000
| </attribute>
| <attribute name='IdleTimeoutMinutes'>15</attribute>
| <attribute name='BackGroundValidation'>False</attribute>
| <attribute name='BackGroundValidationMinutes'>
| 10
| </attribute>
| <attribute name='PreFill'>False</attribute>
| <attribute name='UseFastFail'>False</attribute>
| <attribute name='Criteria'>
| ByContainerAndApplication
| </attribute>
| </mbean>
| </depends>
| <attribute name='JndiName'>JmsXA</attribute>
| <depends optional-attribute-name='CachedConnectionManager'>
| jboss.jca:service=CachedConnectionManager
| </depends>
| <attribute name='SecurityDomainJndiName'>JmsXARealm</attribute>
| <depends optional-attribute-name='JaasSecurityManagerService'>
| jboss.security:service=JaasSecurityManager
| </depends>
| <depends optional-attribute-name='TransactionManagerService'>
| jboss:service=TransactionManager
| </depends>
| </mbean>
| <mbean
| code='org.jboss.resource.connectionmanager.ConnectionFactoryBindingService'
| display-name='Binding for ConnectionFactory JmsXA'
| name='jboss.jca:service=ConnectionFactoryBinding,name=JmsXA'>
| <attribute name='JndiName'>JmsXA</attribute>
| <attribute name='UseJavaContext'>true</attribute>
| <depends optional-attribute-name='ConnectionManager'>
| jboss.jca:service=TxCM,name=JmsXA
| </depends>
| </mbean>
| </server>
|
"wksmb00.orion.lan" host
| <server>
| <mbean
| code='org.jboss.resource.connectionmanager.TxConnectionManager'
| display-name='ConnectionManager for DataSource MyEar2007DS'
| name='jboss.jca:service=LocalTxCM,name=MyEar2007DS'>
| <attribute name='TrackConnectionByTx'>true</attribute>
| <attribute name='LocalTransactions'>true</attribute>
| <depends optional-attribute-name='ManagedConnectionPool'>
| <mbean
| code='org.jboss.resource.connectionmanager.JBossManagedConnectionPool'
| display-name='Connection Pool for DataSource MyEar2007DS'
| name='jboss.jca:service=ManagedConnectionPool,name=MyEar2007DS'>
| <depends
| optional-attribute-name='ManagedConnectionFactoryName'>
| <mbean
| code='org.jboss.resource.connectionmanager.RARDeployment'
| display-name='ManagedConnectionFactory for DataSource MyEar2007DS'
| name='jboss.jca:service=ManagedConnectionFactory,name=MyEar2007DS'>
| <depends
| optional-attribute-name='OldRarDeployment'>
| jboss.jca:service=RARDeployment,name='jboss-local-jdbc.rar'
| </depends>
| <attribute name='RARName' />
| <attribute name='ConnectionDefinition'>
| javax.sql.DataSource
| </attribute>
| <attribute
| name='ManagedConnectionFactoryProperties'>
| <properties>
| <config-property name='ConnectionURL'
| type='java.lang.String'>
| jdbc:oracle:thin:@//192.168.30.1/xe
| </config-property>
| <config-property name='DriverClass'
| type='java.lang.String'>
| oracle.jdbc.OracleDriver
| </config-property>
| <config-property name='UserName'
| type='java.lang.String'>
| myear2007
| </config-property>
| <config-property name='Password'
| type='java.lang.String'>
| myear2007
| </config-property>
| <config-property name='ValidateOnMatch'
| type='boolean'>
| true
| </config-property>
| </properties>
| </attribute>
| </mbean>
| </depends>
| <attribute name='PoolJndiName'>MyEar2007DS</attribute>
| <attribute name='MinSize'>5</attribute>
| <attribute name='MaxSize'>20</attribute>
| <attribute name='BlockingTimeoutMillis'>
| 30000
| </attribute>
| <attribute name='IdleTimeoutMinutes'>5</attribute>
| <attribute name='BackGroundValidation'>False</attribute>
| <attribute name='BackGroundValidationMinutes'>
| 10
| </attribute>
| <attribute name='PreFill'>False</attribute>
| <attribute name='UseFastFail'>False</attribute>
| <attribute name='Criteria'>ByNothing</attribute>
| </mbean>
| </depends>
| <attribute name='JndiName'>MyEar2007DS</attribute>
| <depends optional-attribute-name='CachedConnectionManager'>
| jboss.jca:service=CachedConnectionManager
| </depends>
| <depends optional-attribute-name='TransactionManagerService'>
| jboss:service=TransactionManager
| </depends>
| </mbean>
| <mbean
| code='org.jboss.resource.adapter.jdbc.remote.WrapperDataSourceService'
| display-name='Binding for DataSource MyEar2007DS'
| name='jboss.jca:service=DataSourceBinding,name=MyEar2007DS'>
| <attribute name='JndiName'>MyEar2007DS</attribute>
| <attribute name='UseJavaContext'>true</attribute>
| <depends optional-attribute-name='ConnectionManager'>
| jboss.jca:service=LocalTxCM,name=MyEar2007DS
| </depends>
| </mbean>
| <mbean
| code='org.jboss.resource.connectionmanager.TxConnectionManager'
| display-name='ConnectionManager for DataSource MyEar2007'
| name='jboss.jca:service=LocalTxCM,name=MyEar2007'>
| <attribute name='TrackConnectionByTx'>true</attribute>
| <attribute name='LocalTransactions'>true</attribute>
| <depends optional-attribute-name='ManagedConnectionPool'>
| <mbean
| code='org.jboss.resource.connectionmanager.JBossManagedConnectionPool'
| display-name='Connection Pool for DataSource MyEar2007'
| name='jboss.jca:service=ManagedConnectionPool,name=MyEar2007'>
| <depends
| optional-attribute-name='ManagedConnectionFactoryName'>
| <mbean
| code='org.jboss.resource.connectionmanager.RARDeployment'
| display-name='ManagedConnectionFactory for DataSource MyEar2007'
| name='jboss.jca:service=ManagedConnectionFactory,name=MyEar2007'>
| <depends
| optional-attribute-name='OldRarDeployment'>
| jboss.jca:service=RARDeployment,name='jboss-local-jdbc.rar'
| </depends>
| <attribute name='RARName' />
| <attribute name='ConnectionDefinition'>
| javax.sql.DataSource
| </attribute>
| <attribute
| name='ManagedConnectionFactoryProperties'>
| <properties>
| <config-property name='ConnectionURL'
| type='java.lang.String'>
| jdbc:oracle:thin:@//192.168.30.1/xe
| </config-property>
| <config-property name='DriverClass'
| type='java.lang.String'>
| oracle.jdbc.OracleDriver
| </config-property>
| <config-property name='UserName'
| type='java.lang.String'>
| myear2007
| </config-property>
| <config-property name='Password'
| type='java.lang.String'>
| myear2007
| </config-property>
| <config-property name='ValidateOnMatch'
| type='boolean'>
| true
| </config-property>
| </properties>
| </attribute>
| </mbean>
| </depends>
| <attribute name='PoolJndiName'>MyEar2007</attribute>
| <attribute name='MinSize'>5</attribute>
| <attribute name='MaxSize'>20</attribute>
| <attribute name='BlockingTimeoutMillis'>
| 30000
| </attribute>
| <attribute name='IdleTimeoutMinutes'>5</attribute>
| <attribute name='BackGroundValidation'>False</attribute>
| <attribute name='BackGroundValidationMinutes'>
| 10
| </attribute>
| <attribute name='PreFill'>False</attribute>
| <attribute name='UseFastFail'>False</attribute>
| <attribute name='Criteria'>ByNothing</attribute>
| </mbean>
| </depends>
| <attribute name='JndiName'>MyEar2007</attribute>
| <depends optional-attribute-name='CachedConnectionManager'>
| jboss.jca:service=CachedConnectionManager
| </depends>
| <depends optional-attribute-name='TransactionManagerService'>
| jboss:service=TransactionManager
| </depends>
| </mbean>
| <mbean
| code='org.jboss.resource.adapter.jdbc.remote.WrapperDataSourceService'
| display-name='Binding for DataSource MyEar2007'
| name='jboss.jca:service=DataSourceBinding,name=MyEar2007'>
| <attribute name='JndiName'>MyEar2007</attribute>
| <attribute name='UseJavaContext'>true</attribute>
| <depends optional-attribute-name='ConnectionManager'>
| jboss.jca:service=LocalTxCM,name=MyEar2007
| </depends>
| </mbean>
| </server>
|
I really appreciate your help to fix this problem, where I can modify directly this xml descriptors at runtime? is there some way to do it safely from the JBoss web-console? Tnx
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094996#4094996
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094996
18Â years, 9Â months
[JBoss Portal] - Re: custom portal file name
by chris.laprunï¼ jboss.com
"vinguye2" wrote : I'm building from source and would like to output the final artifact with a custom name like myapp-portal.sar instead of the default jboss-portal.sar. Is this configurable somewhere as part of the current build scripts?
Why would that be? If you were using a proprietary software say IBM's or BEA's would you be able to rename their product to whatever you'd like? That might actually be a license agreement breach, in the case of proprietary software, though I am not a lawyer.
"vinguye2" wrote : Also, there isn't a clear separation between the core necessary components of JBoss Portal, and what is extra (i.e. administration component). It would be good if there were separate downloads for the core and the "bundled" portal package.
Actually, the default deploy target in the source distribution will only deploy that minimal core. I agree that it might be better documented though.
"vinguye2" wrote : I understand though that JBoss Portal is currently work in progress:)
Hmm, JBoss Portal is a mature piece of software with a roadmap, release schedule, etc. in use at major companies around the world... Just because it's open source doesn't mean that it's anymore a work in progress as you call it than any other competing products...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094995#4094995
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094995
18Â years, 9Â months