Hi Ijonas!
Looks like the Account bean deployed successfully, did it ? Does it also
use oracle as the database ? If yes the basic schema seems to work.

The exception you get states, that the datasource name you are trying to
connect to does not exist. This name ("xa.DEMOConnectionPool") is
fetched from jaws.xml (inside your jar) or from standardjaws.xml (on the
server in jboss/conf/default/). For the name you specifiy there must be
a matching entry in conf/default/jboss.jcml and jboss.conf on the server
(like described  in the manual). Perhaps that "xa." prefix is too much ?
Looks like you got that from an outdated oracle howto.

Please doublecheck your config files (server and bean) and email again
if you can't figure out what is going wrong.

Good luck,
Tobias



Ijonas Kisselbach wrote:
> 
> Hi,
> 
> I'm trying to deploy a .jar containing 2 CMP beans, developed in JBuilder 4
> using JBoss. I've followed the steps in jBOSS 2.0 Manual (Section: Advanced
> Configuration) and I've also followed the guidelines from "CMP with Oracle
> HOWTO". I'm using the Oracle 8i native JDBC 2 Optional Package XADataSource
> and have amended by jboss.conf, jboss.jcml, and jboss.properties files
> accordingly. Furthermore I can connect to my Oracle instance (running on
> local machine) using SQL*Plus.
> 
> Can anyone point me in the right direction to tell me what the following
> error means, and what the possible causes could be:
> 
> [Container factory] Deploying Account
> [Container factory] Deploying Address
> [Container factory] org.jboss.ejb.DeploymentException: xa.DEMOConnectionPool
> not bound
> [Container factory]     at
> org.jboss.ejb.plugins.jaws.metadata.JawsApplicationMetaData.init(JawsApplica
> tionMetaData.java:116)
> [Container factory]     at
> org.jboss.ejb.plugins.jaws.metadata.JawsXmlFileLoader.load(JawsXmlFileLoader
> .java:73)
> [Container factory]     at
> org.jboss.ejb.plugins.jaws.jdbc.JDBCCommandFactory.<init>(JDBCCommandFactory
> .java:78)
> [Container factory]     at
> org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.init(JAWSPersistenceManage
> r.java:78)
> [Container factory]     at
> org.jboss.ejb.plugins.CMPPersistenceManager.init(CMPPersistenceManager.java:
> 103)
> [Container factory]     at
> org.jboss.ejb.EntityContainer.init(EntityContainer.java:198)
> [Container factory]     at
> org.jboss.ejb.Application.init(Application.java:158)
> [Container factory]     at
> org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:733)
> [Container factory]     at
> org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:272)
> [Container factory]     at java.lang.reflect.Method.invoke(Native Method)
> [Container factory]     at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
> [Container factory]     at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
> [Container factory]     at
> org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:645)
> [Container factory]     at
> org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:137)
> [Container factory]     at java.lang.reflect.Method.invoke(Native Method)
> [Container factory]     at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
> [Container factory]     at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
> [Container factory]     at
> org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:332)
> [Container factory]     at
> org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:268)
> [Container factory]     at java.lang.Thread.run(Unknown Source)
> 
> Kind regards,
> Ijonas Kisselbach
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> List Help?:          [EMAIL PROTECTED]


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to