Tim, there is one thing that's not clear to me -

in *-persistence-service.xml file, there's a reference to Datasource attribute 
as shown below(example from sybase-persistence):

  | <server>
  | <mbean code="org.jboss.messaging.core.plugin.JDBCPersistenceManager"
  |       name="jboss.messaging:service=PersistenceManager"
  |       xmbean-dd="xmdesc/JDBCPersistenceManager-xmbean.xml">      
  |      <depends>jboss.jca:service=DataSourceBinding,name=DefaultDS</depends>
  |       <depends 
optional-attribute-name="TransactionManager">jboss:service=TransactionManager</depends>
  |       <depends 
optional-attribute-name="ChannelMapper">jboss.messaging:service=ChannelMapper</depends>
  |       <attribute name="DataSource">java:/DefaultDS</attribute>
  | 
and

  | <mbean code="org.jboss.jms.server.plugin.JDBCChannelMapper"
  |       name="jboss.messaging:service=ChannelMapper"
  |       xmbean-dd="xmdesc/JDBCChannelMapper-xmbean.xml">
  |       <depends>jboss.jca:service=DataSourceBinding,name=DefaultDS</depends>
  |       <depends 
optional-attribute-name="TransactionManager">jboss:service=TransactionManager</depends>
  |       <attribute name="DataSource">java:/DefaultDS</attribute>
  | 

First thing, there's no (or I couldn't find) *ds.xml that deploys DefaultDS so 
not sure where is it picking it from
 
In my case, I have deployed a sybase-ds.xml which deploys a DS with SybaseDS 
jndi name. Hence I changed the above datasource names to SybaseDS instead of 
DefaultDS to reflect the change.

However, when I run the tests, it complains the NameNotFoundException (for 
SybaseDS).

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946536#3946536

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3946536


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to