0 Replies Latest reply on Mar 1, 2004 7:16 PM by kaisaab

    Trying to get Petstore to work with JBoss 3.2.3

    kaisaab

      I am trying to get Sun's petstore application to run on JBoss 3.2.3 but I am facing some challenges. I was able to deploy the xpetstore to run and it as it local database(Pointbase) and I need it to connect to Oracle 9i database. Has anyone had recent success being able to deploy a petstore application talking to Oracle9i database. If you have, I would like some pointers in that area.
      When I attempt to start the Jboss server with oracle-petstore xml file I get the following error. Where do I get the ManagedConnectionFactoryName from? Thanks.
      --k
      ----------------------------
      2004-03-01 12:58:26,799 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/www/jboss3.2.3/jboss-3.2.3/server/default/deploy/petstore-all-service.xml
      2004-03-01 12:58:26,831 INFO [org.jboss.system.ServiceConfigurator] Problem configuring service jboss.jca:service=XATxCM,name=PetstoreDS
      org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute: name=ManagedConnectionFactoryName value=jboss.jca:service=XATxDS,name=PetstoreDS on mbean jboss.jca:service=XATxCM,name=PetstoreDS; - nested throwable: (javax.management.AttributeNotFoundException: Writable attribute 'ManagedConnectionFactoryName' not found)
      at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:501)
      at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:386)
      at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:172)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:114)
      at org.jboss.system.ServiceController.install(ServiceController.java:225)
      at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy4.install(Unknown Source)
      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:183)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)