Re: [JBoss-user] jboss 3.0.0 db configure
put the following in standardjbosscmp.xml file. java:/OracleDS Oracle8 and here goes my working oracle-services.xml : OracleDS jdbc:oracle:thin:@10.1.0.26:1521:oradev oracle.jdbc.driver.OracleDriver aluno1 aluno1 jboss.jca:service=RARDeployment,n ame=JBoss LocalTransaction JDBC Wrapper 0 50 5000 15 ByNothing jboss.jca:service=CachedCo nnectionManager jboss.security:name=Jaa sSecurityManager java:/TransactionManager jboss.jca:service=RARDeployer - Original Message - From: "Cloudor Pu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 20, 2002 5:47 PM Subject: RE: [JBoss-user] jboss 3.0.0 db configure hello, I am setting a mysql connection to Jboss3.0.0rc2 and have followed the steps posted at http://jboss.org/forums/thread.jsp?forum=67&thread=13366 . I modifed "standardjaws.xml" and "standardjbosscmp.xml" to make "java:/MySqlDS" as the default datasource. When i start jboss, there is no error reported. But when i copy the online docs example "cd.jar" to jboss/server/default/deploy/ , i got an exception as follows : 20:33:25,559 INFO [MainDeployer] Starting deployment of package: file:/var/jboss/server/default/deploy/cd.jar 20:33:26,883 INFO [EjbModule] Creating 20:33:27,046 INFO [EjbModule] Deploying CDBean 20:33:29,858 INFO [EjbModule] Deploying CDCollectionBean 20:33:34,529 ERROR [EntityContainer] Exception in service lifecyle operation: create java.sql.SQLException: ResourceException javax.resource.ResourceException: Could not create connection at org.jboss.resource.adapter.jdbc.local.LocalDataSource.getConnection(LocalDat aSource.java:105) at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.getConnection(JDBCCommand.java:6 94) at org.jboss.ejb.plugins.jaws.jdbc.JDBCInitCommand.execute(JDBCInitCommand.java :120) at org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.create(JAWSPersistenceMana ger.java:130) at org.jboss.ejb.plugins.CMPPersistenceManager.create(CMPPersistenceManager.jav a:155) at org.jboss.ejb.EntityContainer.create(EntityContainer.java:337) at org.jboss.ejb.Container.invoke(Container.java:790) - I would like to know what mis-configurations could cause this kind of errors? wrong userName,password,url,and any more? 在 2002-05-20 一 的 09:24, Sacha Labourey 写道: > Hello, > > In order to help you with your connection, please provide us with the > Exception trace you see. > > Then, for your second point (CMP), take a look at the free on-line doco for > CMP: you will see how to give the name of the datasource to your CMP beans. > By default, they will use the java:DefaultDS JNDI name which is linked to > the Hypersonic database that is embedded in JBoss. > > Cheers, > > > Sacha > > > -Message d'origine- > > De : [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]De la part de Centaur > > zeus > > Envoyé : lundi, 20 mai 2002 11:18 > > À : [EMAIL PROTECTED] > > Objet : [JBoss-user] jboss 3.0.0 db configure > > > > > > hi all, > > > > I would like to know how could I set an oracle connection in > > Jboss 3.0.0 > > ? I search through the web and I found a sample > > oracle-service.xml. But when > > I put it into the same directory as hypersonic-service.xml, it generates > > lots of exceptions during startup. So can any one help me ? > > > > Also , I would like to know if I could configure which > > connection (like > > mysql, oracle ) to use when using cmp ? > > > > Perseus > > > > > > _ > > Join the world’s largest e-mail service with MSN Hotmail. > > http://www.hotmail.com > > > > > > ___ > > Hundreds of nodes, one monster rendering program. > > Now that's a super model! Visit http://clustering.foundries.sf.net/ > > > > ___ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > ___ > Hundreds of nodes, one monster rendering program. > Now that's a super model! Visit http://clustering.foundries.sf.net/ > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Hundreds of nodes, one monster rendering program. Now that's a super model! Visit http://clustering.foundries.sf.net/ ___
RE: [JBoss-user] jboss 3.0.0 db configure
hello, I am setting a mysql connection to Jboss3.0.0rc2 and have followed the steps posted at http://jboss.org/forums/thread.jsp?forum=67&thread=13366 . I modifed "standardjaws.xml" and "standardjbosscmp.xml" to make "java:/MySqlDS" as the default datasource. When i start jboss, there is no error reported. But when i copy the online docs example "cd.jar" to jboss/server/default/deploy/ , i got an exception as follows : 20:33:25,559 INFO [MainDeployer] Starting deployment of package: file:/var/jboss/server/default/deploy/cd.jar 20:33:26,883 INFO [EjbModule] Creating 20:33:27,046 INFO [EjbModule] Deploying CDBean 20:33:29,858 INFO [EjbModule] Deploying CDCollectionBean 20:33:34,529 ERROR [EntityContainer] Exception in service lifecyle operation: create java.sql.SQLException: ResourceException javax.resource.ResourceException: Could not create connection at org.jboss.resource.adapter.jdbc.local.LocalDataSource.getConnection(LocalDataSource.java:105) at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.getConnection(JDBCCommand.java:694) at org.jboss.ejb.plugins.jaws.jdbc.JDBCInitCommand.execute(JDBCInitCommand.java:120) at org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.create(JAWSPersistenceManager.java:130) at org.jboss.ejb.plugins.CMPPersistenceManager.create(CMPPersistenceManager.java:155) at org.jboss.ejb.EntityContainer.create(EntityContainer.java:337) at org.jboss.ejb.Container.invoke(Container.java:790) - I would like to know what mis-configurations could cause this kind of errors? wrong userName,password,url,and any more? 在 2002-05-20 一 的 09:24, Sacha Labourey 写道: > Hello, > > In order to help you with your connection, please provide us with the > Exception trace you see. > > Then, for your second point (CMP), take a look at the free on-line doco for > CMP: you will see how to give the name of the datasource to your CMP beans. > By default, they will use the java:DefaultDS JNDI name which is linked to > the Hypersonic database that is embedded in JBoss. > > Cheers, > > > Sacha > > > -Message d'origine- > > De : [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]De la part de Centaur > > zeus > > Envoyé : lundi, 20 mai 2002 11:18 > > À : [EMAIL PROTECTED] > > Objet : [JBoss-user] jboss 3.0.0 db configure > > > > > > hi all, > > > > I would like to know how could I set an oracle connection in > > Jboss 3.0.0 > > ? I search through the web and I found a sample > > oracle-service.xml. But when > > I put it into the same directory as hypersonic-service.xml, it generates > > lots of exceptions during startup. So can any one help me ? > > > > Also , I would like to know if I could configure which > > connection (like > > mysql, oracle ) to use when using cmp ? > > > > Perseus > > > > > > _ > > Join the worlds largest e-mail service with MSN Hotmail. > > http://www.hotmail.com > > > > > > ___ > > Hundreds of nodes, one monster rendering program. > > Now that's a super model! Visit http://clustering.foundries.sf.net/ > > > > ___ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > ___ > Hundreds of nodes, one monster rendering program. > Now that's a super model! Visit http://clustering.foundries.sf.net/ > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Hundreds of nodes, one monster rendering program. Now that's a super model! Visit http://clustering.foundries.sf.net/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss 3.0.0 db configure
can u send your error messages along with your oracle-services.xml, i have get some problems too, maybe I can help you if you give more info about your conf. Emerson - Original Message - From: "Ingo Bruell" <[EMAIL PROTECTED]> To: "Centaur zeus" <[EMAIL PROTECTED]> Sent: Monday, May 20, 2002 6:36 AM Subject: Re: [JBoss-user] jboss 3.0.0 db configure > Hi Centaur, > > Cz> I would like to know how could I set an oracle connection in Jboss 3.0.0 > Cz> ? I search through the web and I found a sample oracle-service.xml. But when > Cz> I put it into the same directory as hypersonic-service.xml, it generates > Cz> lots of exceptions during startup. So can any one help me ? > > Cz> Also , I would like to know if I could configure which connection (like > Cz> mysql, oracle ) to use when using cmp ? > > There were some threads on the jboss forum, please have a look. > http://www.jboss.org/forums > > so long > > > Ingo Bruell > > --- > <[EMAIL PROTECTED]> > <[EMAIL PROTECTED]> > > OldenburgPGP-Fingerprint: CB01 AE12 B359 87C4 BF1C 953C 8FE7 C648 169E E5FC > Germany PGP-Public-Key available at pgpkeys.mit.edu > > > > ___ > Hundreds of nodes, one monster rendering program. > Now that's a super model! Visit http://clustering.foundries.sf.net/ > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Hundreds of nodes, one monster rendering program. Now that's a super model! Visit http://clustering.foundries.sf.net/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss 3.0.0 db configure
Hi Centaur, Cz> I would like to know how could I set an oracle connection in Jboss 3.0.0 Cz> ? I search through the web and I found a sample oracle-service.xml. But when Cz> I put it into the same directory as hypersonic-service.xml, it generates Cz> lots of exceptions during startup. So can any one help me ? Cz> Also , I would like to know if I could configure which connection (like Cz> mysql, oracle ) to use when using cmp ? There were some threads on the jboss forum, please have a look. http://www.jboss.org/forums so long Ingo Bruell --- <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> OldenburgPGP-Fingerprint: CB01 AE12 B359 87C4 BF1C 953C 8FE7 C648 169E E5FC Germany PGP-Public-Key available at pgpkeys.mit.edu ___ Hundreds of nodes, one monster rendering program. Now that's a super model! Visit http://clustering.foundries.sf.net/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] jboss 3.0.0 db configure
Hello, In order to help you with your connection, please provide us with the Exception trace you see. Then, for your second point (CMP), take a look at the free on-line doco for CMP: you will see how to give the name of the datasource to your CMP beans. By default, they will use the java:DefaultDS JNDI name which is linked to the Hypersonic database that is embedded in JBoss. Cheers, Sacha > -Message d'origine- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]De la part de Centaur > zeus > Envoyé : lundi, 20 mai 2002 11:18 > À : [EMAIL PROTECTED] > Objet : [JBoss-user] jboss 3.0.0 db configure > > > hi all, > > I would like to know how could I set an oracle connection in > Jboss 3.0.0 > ? I search through the web and I found a sample > oracle-service.xml. But when > I put it into the same directory as hypersonic-service.xml, it generates > lots of exceptions during startup. So can any one help me ? > > Also , I would like to know if I could configure which > connection (like > mysql, oracle ) to use when using cmp ? > > Perseus > > > _ > Join the worlds largest e-mail service with MSN Hotmail. > http://www.hotmail.com > > > ___ > Hundreds of nodes, one monster rendering program. > Now that's a super model! Visit http://clustering.foundries.sf.net/ > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > ___ Hundreds of nodes, one monster rendering program. Now that's a super model! Visit http://clustering.foundries.sf.net/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] jboss 3.0.0 db configure
hi all, I would like to know how could I set an oracle connection in Jboss 3.0.0 ? I search through the web and I found a sample oracle-service.xml. But when I put it into the same directory as hypersonic-service.xml, it generates lots of exceptions during startup. So can any one help me ? Also , I would like to know if I could configure which connection (like mysql, oracle ) to use when using cmp ? Perseus _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com ___ Hundreds of nodes, one monster rendering program. Now that's a super model! Visit http://clustering.foundries.sf.net/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user