"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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to