Cloudscape and Petstore - config/deployment questions
gczaj May 1, 2002 9:50 PM
Hello,
I am a newcomer to JBoss, and one of the first steps
was to try to deploy PetStore on it. No success so far. I was
browsing this mailing list for answers but none of the fixes
I came across worked. So here is my case:
On JBoss 3.0.0 RC/tomcat I am getting this:
2002-05-01 18:02:39,116 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/net/rolaids-home2/glo
bal/export/proj2/barcelona2/gczaj2/as/jboss-3.0.0RC1_tomcat-4.0.3/server/default/deploy/cloudscapeds-service.xml
2002-05-01 18:02:39,116 DEBUG [org.jboss.deployment.SARDeployer] Deploying SAR, create step: url file:/net/rolaids-home2
/global/export/proj2/barcelona2/gczaj2/as/jboss-3.0.0RC1_tomcat-4.0.3/server/default/deploy/cloudscapeds-service.xml
2002-05-01 18:02:39,118 DEBUG [org.jboss.system.ServiceCreator] About to create bean: jboss.jca:service=ConnectionFactor
yLoader,name=CloudscapeDS
2002-05-01 18:02:39,118 DEBUG [org.jboss.system.ServiceCreator] code: org.jboss.resource.ConnectionFactoryLoader
2002-05-01 18:02:39,288 DEBUG [org.jboss.system.ServiceCreator] Class not found for mbean: jboss.jca:service=ConnectionF
actoryLoader,name=CloudscapeDS
2002-05-01 18:02:39,289 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying cloudscapeds-servic
e.xml
and ${JBOSS_HOME}/server/default/deploy/cloudscapeds-service.xml looks like this:
ConnectionURL=jdbc:rmi://localhost:1098/jdbc:cloudscape:CloudscapeDB
DriverClass=COM.cloudscape.core.JDBCDriver
UserName=
CloudscapeDS
java:/TransactionManager
<depends optional-attribute-name="ResourceAdapterName">jboss.jca:service=RARDeployment,name=Minerva JDBC LocalTransaction ResourceAdapter
<depends optional-attribute-name="ConnectionManagerFactoryLoaderName">jboss.jca:service=ConnectionManagerFactoryLoader,name=MinervaSharedLocalCMFactory
BlockingTimeoutMillis=500000
IdleTimeoutMinutes=30
MaxSize=10
CleanupIntervalMinutes=10
MinSize=0
MaxIdleTimeoutPercent=1.0
org.jboss.resource.security.ManyToOnePrincipalMapping
UserName=
Is the problem here a confusion about
jboss.jca:service=ConnectionFactoryLoader,name=CloudscapeDS
being a class name? In any case, any help is very much appreciated -
a cloudscapeds-service.xml which works would hopefully do too.
Now, for 2.4.4 (JBoss/Tomcat) I integrated jboss.jcml from the petstore
patch into JBoss's jboss.jcml, and the server booting hangs with such
a message:
[INFO,EstoreDB] XA Connection pool EstoreDB bound to java:/EstoreDB
Any ideas? In both cases (3.0 and 2.4.4) the database is up and running,
but it seems that the boot does not get to a point where it can actually
talk to it. I've added jaws.xml to META-INF in petstore, but I guess
this does not matter as well for these problems.
Thanks,
Greg