6 Replies Latest reply on Jul 31, 2008 3:32 AM by Christy Christy

    Use Oracle with juddi

    Christy Christy Novice

      Hi to everybody,
      I want to use oracle with juddi. But I have the following error:

      Unexpected exception caught while initialisation
      java.lang.NullPointerException
      at org.apache.ws.scout.registry.infomodel.ClassificationImpl.setClassificationScheme(ClassificationImpl.java:103)
      at org.apache.ws.scout.registry.LifeCycleManagerImpl.createClassification(LifeCycleManagerImpl.java:198)
      at org.apache.ws.scout.registry.LifeCycleManagerImpl.createClassification(LifeCycleManagerImpl.java:210)
      at org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.findService(JAXRRegistryImpl.java:471)
      at org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.registerEPR(JAXRRegistryImpl.java:156)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.internal.soa.esb.services.registry.RegistryService$1.invoke(RegistryService.java:61)
      at $Proxy36.registerEPR(Unknown Source)
      at org.jboss.soa.esb.listeners.RegistryUtil.register(RegistryUtil.java:143)
      at org.jboss.soa.esb.listeners.message.MessageAwareListener.doInitialise(MessageAwareListener.java:209)
      at org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle.initialise(AbstractManagedLifecycle.java:133)
      at org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.initialiseInstances(ManagedLifecycleController.java:150)
      at org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.start(ManagedLifecycleController.java:69)
      at org.jboss.soa.esb.listeners.config.JBoss4ESBDeployment.startService(JBoss4ESBDeployment.java:83)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
      at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:417)
      at org.jboss.system.ServiceController.start(ServiceController.java:435)
      at org.jboss.system.ServiceController.start(ServiceController.java:435)
      at org.jboss.system.ServiceController.start(ServiceController.java:435)
      at org.jboss.system.ServiceController.start(ServiceController.java:435)
      at org.jboss.system.ServiceController.start(ServiceController.java:435)
      at org.jboss.system.ServiceController.start(ServiceController.java:435)
      at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy43.start(Unknown Source)
      at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
      at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy9.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
      at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:417)
      at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
      at org.jboss.Main.boot(Main.java:200)
      at org.jboss.Main$1.run(Main.java:508)
      at java.lang.Thread.run(Thread.java:595)
      2008-07-28 16:19:07,454 DEBUG [org.jboss.soa.esb.listeners.config.JBoss4ESBDeployment] Starting failed jboss.esb:deployment=jbossesb.esb
      org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleException: java.lang.NullPointerException
      at org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle.initialise(AbstractManagedLifecycle.java:145)
      at org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.initialiseInstances(ManagedLifecycleController.java:150)
      ......

      Here my config files:

      juddi-ds.xml:


      <local-tx-datasource>
      <jndi-name>juddiDB</jndi-name>
      <connection-url>jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=195.178.197.87)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=WO)(SERVER=DEDICATED)))</connection-url>
      <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
      <user-name>juddi</user-name>
      juddi
      <min-pool-size>5</min-pool-size>
      <max-pool-size>20</max-pool-size>
      <idle-timeout-minutes>0</idle-timeout-minutes>
      <prepared-statement-cache-size>32</prepared-statement-cache-size>
      jboss:service=Hypersonic,database=juddiDB
      </local-tx-datasource>

      juddiDB
      true



      esb.juddi.xml:

      true
      java:/juddiDB

      juddi-sql/oracle/create_database.sql,juddi-sql/oracle/import.sql


      Where is my mistake?
      Thank you!

        • 1. Re: Use Oracle with juddi
          Christy Christy Novice

          Else removed hsqldb-ds.xml from deploy directory and paste oracle-juddi-ds.xml:


          <local-tx-datasource>
          <jndi-name>Oracle-juddiDB</jndi-name>
          <connection-url>jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=195.178.197.87)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=WO)(SERVER=DEDICATED)))</connection-url>
          <!--

          Here are a couple of the possible OCI configurations.
          For more information, see http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/java.920/a96654/toc.htm

          <connection-url>jdbc:oracle:oci:@youroracle-tns-name</connection-url>
          or
          <connection-url>jdbc:oracle:oci:@(description=(address=(host=youroraclehost)(protocol=tcp)(port=1521))(connect_data=(SERVICE_NAME=yourservicename)))</connection-url>

          Clearly, its better to have TNS set up properly.
          -->
          <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
          <user-name>juddi</user-name>
          juddi
          <!-- Uses the pingDatabase method to check a connection is still valid before handing it out from the pool -->
          <!--valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker</valid-connection-checker-class-name-->
          <!-- Checks the Oracle error codes and messages for fatal errors -->
          <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
          <!-- sql to call when connection is created
          <new-connection-sql>some arbitrary sql</new-connection-sql>
          -->

          <!-- sql to call on an existing pooled connection when it is obtained from pool - the OracleValidConnectionChecker is prefered
          <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
          -->

          </local-tx-datasource>

          • 2. Re: Use Oracle with juddi
            Christy Christy Novice

            Now my juddi-ds.xml looks like this:

            <local-tx-datasource>
            <jndi-name>juddiDB</jndi-name>
            <connection-url>jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=195.178.197.87)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=WO)(SERVER=DEDICATED)))</connection-url>
            <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
            <user-name>juddi</user-name>
            juddi
            <min-pool-size>5</min-pool-size>
            <max-pool-size>20</max-pool-size>
            <idle-timeout-minutes>0</idle-timeout-minutes>
            <prepared-statement-cache-size>32</prepared-statement-cache-size>
            </local-tx-datasource>


            And else I modified deploy\jbossesb.sar\jbossesb-properties.xml with :

            <!-- standalone connection pooling settings -->





            And now I don't see any errors when starting service but I have:

            ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing:

            --- MBeans waiting for other MBeans ---
            ObjectName: jboss.ejb:service=EJBTimerService,persistencePolicy=database
            State: CONFIGURED
            I Depend On:
            jboss.jca:service=DataSourceBinding,name=DefaultDS

            ObjectName: jboss.mq:service=InvocationLayer,type=HTTP
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=Invoker
            jboss.web:service=WebServer

            ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo
            State: CONFIGURED
            I Depend On:
            jboss:service=TransactionManager
            jboss.jca:service=DataSourceBinding,name=DefaultDS

            ObjectName: jboss.mq:service=StateManager
            State: CONFIGURED
            I Depend On:
            jboss.jca:service=DataSourceBinding,name=DefaultDS
            Depends On Me:
            jboss.mq:service=DestinationManager

            ObjectName: jboss.mq:service=DestinationManager
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=MessageCache
            jboss.mq:service=PersistenceManager
            jboss.mq:service=StateManager
            jboss.mq:service=ThreadPool
            jboss:service=Naming
            Depends On Me:
            jboss.mq.destination:service=Topic,name=testTopic
            jboss.mq.destination:service=Topic,name=securedTopic
            jboss.mq.destination:service=Topic,name=testDurableTopic
            jboss.mq.destination:service=Queue,name=testQueue
            jboss.mq.destination:service=Queue,name=A
            jboss.mq.destination:service=Queue,name=B
            jboss.mq.destination:service=Queue,name=C
            jboss.mq.destination:service=Queue,name=D
            jboss.mq.destination:service=Queue,name=ex
            jboss.mq:service=SecurityManager
            jboss.mq.destination:service=Queue,name=DLQ
            jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_Request_esb
            jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_Request_gw
            jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_file_esb
            jboss.esb.quickstart.destination:service=Queue,name=quickstart_native_client_esb
            jboss.esb.quickstart.destination:service=Queue,name=quickstart_native_client_esb_reply
            jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer1_esb
            jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer1_esb_reply
            jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer1_Request_gw
            jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer2_esb
            jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer2_esb_reply
            jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer2_Request_gw
            jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_producer_gw
            jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_producer_esb
            jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_producer_esb_reply
            jboss.esb.destination:service=Queue,name=DeadMessageQueue
            jboss.esb.destination:service=Queue,name=DataCollectorQueue
            jboss.esb.destination:service=Queue,name=OperationsCollectorQueue
            jboss.esb.destination:service=Queue,name=OperationsResultCollectorQueue
            jboss.esb.destination:service=Queue,name=CallbackQueue
            jboss.esb.console.destination:service=Queue,name=DataFilerQueue
            jboss.esb.console.destination:service=Queue,name=OperationsFilerQueue
            jboss.esb.console.destination:service=Queue,name=InvokerFilerQueue
            jboss.esb.destination:service=Topic,name=org.jboss.soa.esb.transformation.Update

            ObjectName: jboss.mq:service=PersistenceManager
            State: CONFIGURED
            I Depend On:
            jboss.jca:service=DataSourceBinding,name=DefaultDS
            Depends On Me:
            jboss.mq:service=DestinationManager

            ObjectName: jboss.mq.destination:service=Topic,name=testTopic
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=DestinationManager
            jboss.mq:service=SecurityManager

            ObjectName: jboss.mq.destination:service=Topic,name=securedTopic
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=DestinationManager
            jboss.mq:service=SecurityManager

            ObjectName: jboss.mq.destination:service=Topic,name=testDurableTopic
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=DestinationManager
            jboss.mq:service=SecurityManager

            ObjectName: jboss.mq.destination:service=Queue,name=testQueue
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=DestinationManager
            jboss.mq:service=SecurityManager

            ObjectName: jboss.mq.destination:service=Queue,name=A
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=DestinationManager

            ObjectName: jboss.mq.destination:service=Queue,name=B
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=DestinationManager

            ObjectName: jboss.mq.destination:service=Queue,name=C
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=DestinationManager

            ObjectName: jboss.mq.destination:service=Queue,name=D
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=DestinationManager

            ObjectName: jboss.mq.destination:service=Queue,name=ex
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=DestinationManager

            ObjectName: jboss.mq:service=Invoker
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=TracingInterceptor
            jboss:service=Naming
            Depends On Me:
            jboss.mq:service=InvocationLayer,type=HTTP
            jboss.mq:service=InvocationLayer,type=JVM
            jboss.mq:service=InvocationLayer,type=UIL2

            ObjectName: jboss.mq:service=TracingInterceptor
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=SecurityManager
            Depends On Me:
            jboss.mq:service=Invoker

            ObjectName: jboss.mq:service=SecurityManager
            State: CONFIGURED
            I Depend On:
            jboss.security:service=JaasSecurityManager
            jboss.mq:service=DestinationManager
            Depends On Me:
            jboss.mq.destination:service=Topic,name=testTopic
            jboss.mq.destination:service=Topic,name=securedTopic
            jboss.mq.destination:service=Topic,name=testDurableTopic
            jboss.mq.destination:service=Queue,name=testQueue
            jboss.mq:service=TracingInterceptor
            jboss.mq.destination:service=Queue,name=DLQ

            ObjectName: jboss.mq.destination:service=Queue,name=DLQ
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=DestinationManager
            jboss.mq:service=SecurityManager

            ObjectName: jboss.mq:service=InvocationLayer,type=JVM
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=Invoker

            ObjectName: jboss.mq:service=InvocationLayer,type=UIL2
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=Invoker

            ObjectName: jboss.esb:deployment=Quickstart_bpm_orchestration1.esb
            State: NOTYETINSTALLED
            I Depend On:
            jboss.esb:deployment=jbpm.esb
            jboss.esb:deployment=jbossesb.esb

            ObjectName: jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_Request_esb
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=DestinationManager
            Depends On Me:
            jboss.esb:deployment=Quickstart_helloworld.esb

            ObjectName: jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_Request_gw
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=DestinationManager
            Depends On Me:
            jboss.esb:deployment=Quickstart_helloworld.esb

            ObjectName: jboss.esb:deployment=Quickstart_helloworld.esb
            State: NOTYETINSTALLED
            I Depend On:
            jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_Request_esb
            jboss.esb:deployment=jbossesb.esb
            jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_Request_gw

            ObjectName: jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_file_esb
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=DestinationManager
            Depends On Me:
            jboss.esb:deployment=Quickstart_helloworld_file_action.esb

            ObjectName: jboss.esb:deployment=Quickstart_helloworld_file_action.esb
            State: NOTYETINSTALLED
            I Depend On:
            jboss.esb:deployment=jbossesb.esb
            jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_file_esb

            ObjectName: jboss.esb.quickstart.destination:service=Queue,name=quickstart_native_client_esb
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=DestinationManager
            Depends On Me:
            jboss.esb:deployment=Quickstart_native_client.esb

            ObjectName: jboss.esb.quickstart.destination:service=Queue,name=quickstart_native_client_esb_reply
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=DestinationManager
            Depends On Me:
            jboss.esb:deployment=Quickstart_native_client.esb

            ObjectName: jboss.esb:deployment=Quickstart_native_client.esb
            State: NOTYETINSTALLED
            I Depend On:
            jboss.esb.quickstart.destination:service=Queue,name=quickstart_native_client_esb_reply
            jboss.esb:deployment=jbossesb.esb
            jboss.esb.quickstart.destination:service=Queue,name=quickstart_native_client_esb

            ObjectName: jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer1_esb
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=DestinationManager
            Depends On Me:
            jboss.esb:deployment=Quickstart_webservice_consumer1.esb

            ObjectName: jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer1_esb_reply
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=DestinationManager
            Depends On Me:
            jboss.esb:deployment=Quickstart_webservice_consumer1.esb

            ObjectName: jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer1_Request_gw
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=DestinationManager
            Depends On Me:
            jboss.esb:deployment=Quickstart_webservice_consumer1.esb

            ObjectName: jboss.esb:deployment=Quickstart_webservice_consumer1.esb
            State: NOTYETINSTALLED
            I Depend On:
            jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer1_Request_gw
            jboss.esb:service=SoapUIClientService
            jboss.esb:deployment=jbossesb.esb
            jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer1_esb
            jboss.esb:deployment=soap.esb
            jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer1_esb_reply

            ObjectName: jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer2_esb
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=DestinationManager
            Depends On Me:
            jboss.esb:deployment=Quickstart_webservice_consumer2.esb

            ObjectName: jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer2_esb_reply
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=DestinationManager
            Depends On Me:
            jboss.esb:deployment=Quickstart_webservice_consumer2.esb

            ObjectName: jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer2_Request_gw
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=DestinationManager
            Depends On Me:
            jboss.esb:deployment=Quickstart_webservice_consumer2.esb

            ObjectName: jboss.esb:deployment=Quickstart_webservice_consumer2.esb
            State: NOTYETINSTALLED
            I Depend On:
            jboss.esb:service=SoapUIClientService
            jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer2_Request_gw
            jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer2_esb
            jboss.esb:deployment=jbossesb.esb
            jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer2_esb_reply
            jboss.esb:deployment=soap.esb

            ObjectName: jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_producer_gw
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=DestinationManager
            Depends On Me:
            jboss.esb:deployment=Quickstart_webservice_producer.esb

            ObjectName: jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_producer_esb
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=DestinationManager
            Depends On Me:
            jboss.esb:deployment=Quickstart_webservice_producer.esb

            ObjectName: jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_producer_esb_reply
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=DestinationManager
            Depends On Me:
            jboss.esb:deployment=Quickstart_webservice_producer.esb

            ObjectName: jboss.esb:deployment=Quickstart_webservice_producer.esb
            State: NOTYETINSTALLED
            I Depend On:
            jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_producer_esb_reply
            jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_producer_esb
            jboss.esb:deployment=jbossesb.esb
            jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_producer_gw
            jboss.esb:deployment=soap.esb

            ObjectName: jboss.esb.destination:service=Queue,name=DeadMessageQueue
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=DestinationManager
            Depends On Me:
            jboss.esb:deployment=jbossesb.esb

            ObjectName: jboss.esb.destination:service=Queue,name=DataCollectorQueue
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=DestinationManager

            ObjectName: jboss.esb.destination:service=Queue,name=OperationsCollectorQueue
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=DestinationManager

            ObjectName: jboss.esb.destination:service=Queue,name=OperationsResultCollectorQueue
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=DestinationManager

            ObjectName: jboss.esb:deployment=jbossesb.esb
            State: NOTYETINSTALLED
            I Depend On:
            jboss.esb:service=MessageStoreDatabaseInitializer
            jboss.esb.destination:service=Queue,name=DeadMessageQueue
            jboss.jca:service=DataSourceBinding,name=JBossESBDS
            Depends On Me:
            jboss.esb:deployment=Quickstart_bpm_orchestration1.esb
            jboss.esb:deployment=Quickstart_helloworld.esb
            jboss.esb:deployment=Quickstart_helloworld_file_action.esb
            jboss.esb:deployment=Quickstart_native_client.esb
            jboss.esb:deployment=Quickstart_webservice_consumer1.esb
            jboss.esb:deployment=Quickstart_webservice_consumer2.esb
            jboss.esb:deployment=Quickstart_webservice_producer.esb
            jboss.esb:deployment=jbpm.esb
            jboss.esb:deployment=jbrules.esb
            jboss.esb:deployment=management.esb
            jboss.esb:deployment=slsb.esb
            jboss.esb:deployment=smooks.esb
            jboss.esb:deployment=soap.esb
            jboss.esb:deployment=spring.esb

            ObjectName: jboss.esb.destination:service=Queue,name=CallbackQueue
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=DestinationManager

            ObjectName: jboss.esb:deployment=jbpm.esb
            State: NOTYETINSTALLED
            I Depend On:
            jboss.jca:service=DataSourceBinding,name=JbpmDS
            jboss.esb:service=JBPMDatabaseInitializer
            jboss.esb:deployment=jbossesb.esb
            Depends On Me:
            jboss.esb:deployment=Quickstart_bpm_orchestration1.esb

            ObjectName: jboss.esb:deployment=jbrules.esb
            State: NOTYETINSTALLED
            I Depend On:
            jboss.esb:deployment=jbossesb.esb

            ObjectName: jboss.esb.console.destination:service=Queue,name=DataFilerQueue
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=DestinationManager
            Depends On Me:
            jboss.esb:deployment=management.esb

            ObjectName: jboss.esb.console.destination:service=Queue,name=OperationsFilerQueue
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=DestinationManager
            Depends On Me:
            jboss.esb:deployment=management.esb

            ObjectName: jboss.esb.console.destination:service=Queue,name=InvokerFilerQueue
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=DestinationManager
            Depends On Me:
            jboss.esb:deployment=management.esb

            ObjectName: jboss.esb:deployment=management.esb
            State: NOTYETINSTALLED
            I Depend On:
            jboss.esb.console.destination:service=Queue,name=InvokerFilerQueue
            jboss.esb:deployment=jbossesb.esb
            jboss.esb.console.destination:service=Queue,name=OperationsFilerQueue
            jboss.esb.console.destination:service=Queue,name=DataFilerQueue
            jboss.jca:service=DataSourceBinding,name=ManagementDS
            jboss.jca:service=DataSourceBinding,name=juddiDB

            ObjectName: jboss.esb:deployment=slsb.esb
            State: NOTYETINSTALLED
            I Depend On:
            jboss.esb:deployment=jbossesb.esb

            ObjectName: jboss.esb.destination:service=Topic,name=org.jboss.soa.esb.transformation.Update
            State: CONFIGURED
            I Depend On:
            jboss.mq:service=DestinationManager
            Depends On Me:
            jboss.esb:service=SmooksService
            jboss.esb:deployment=smooks.esb

            ObjectName: jboss.esb:service=SmooksService
            State: CONFIGURED
            I Depend On:
            jboss.esb.destination:service=Topic,name=org.jboss.soa.esb.transformation.Update

            ObjectName: jboss.esb:deployment=smooks.esb
            State: NOTYETINSTALLED
            I Depend On:
            jboss.esb.destination:service=Topic,name=org.jboss.soa.esb.transformation.Update
            jboss.esb:deployment=jbossesb.esb

            ObjectName: jboss.esb:deployment=soap.esb
            State: NOTYETINSTALLED
            I Depend On:
            jboss.esb:deployment=jbossesb.esb
            Depends On Me:
            jboss.esb:deployment=Quickstart_webservice_consumer1.esb
            jboss.esb:deployment=Quickstart_webservice_consumer2.esb
            jboss.esb:deployment=Quickstart_webservice_producer.esb

            ObjectName: jboss.esb:deployment=spring.esb
            State: NOTYETINSTALLED
            I Depend On:
            jboss.esb:deployment=jbossesb.esb

            --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
            ObjectName: jboss.jca:service=DataSourceBinding,name=DefaultDS
            State: NOTYETINSTALLED
            Depends On Me:
            jboss.ejb:service=EJBTimerService,persistencePolicy=database
            jboss:service=KeyGeneratorFactory,type=HiLo
            jboss.mq:service=StateManager
            jboss.mq:service=PersistenceManager

            sorry for long post

            • 3. Re: Use Oracle with juddi
              Christy Christy Novice

              Hi to everyone,
              can somebody help me plese to configurate juddi with oracle?
              I have begun all over again. Here the steps that I made:

              1. Changed juddi-ds.xml:

              <datasources>
              <local-tx-datasource>
              <jndi-name>juddiDB</jndi-name>
              <connection-url>jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=195.178.197.87)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=WO)(SERVER=DEDICATED)))</connection-url>
              <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
              <user-name>juddi2</user-name>
              <password>juddi</password>
              <min-pool-size>5</min-pool-size>
              <max-pool-size>20</max-pool-size>
              </local-tx-datasource>
              </datasources>

              2. Changed esb.juddi.xml:
              <entry key="juddi.isUseDataSource">true</entry>

              <!-- jUDDI DataSource to use -->
              <entry key="juddi.dataSource">java:/juddiDB</entry>

              <!-- jUDDI database creation -->
              <entry key="juddi.isCreateDatabase">true</entry>
              <!-- <entry key="juddi.tablePrefix">JUDDI_</entry> -->
              <entry key="juddi.databaseExistsSql">select * from ${prefix}BUSINESS_ENTITY</entry>
              <entry key="juddi.sqlFiles">juddi-sql/oracle/create_database.sql,juddi-sql/oracle/import.sql</entry>

              3. Changed jbossesb-service.xml:
              <server>
              <mbean code="org.jboss.internal.soa.esb.dependencies.DatabaseInitializer"
              name="jboss.esb:service=MessageStoreDatabaseInitializer">
              <attribute name="Datasource">java:/JBossESBDS</attribute>
              <attribute name="ExistsSql">select * from message</attribute>
              <attribute name="SqlFiles">
              message-store-sql/oracle/create_database.sql
              </attribute>
              <depends>jboss.jca:service=DataSourceBinding,name=JBossESBDS</depends>
              </mbean>
              </server>

              4. Changed message-store-ds.xml:
              <datasources>
              <local-tx-datasource>
              <jndi-name>JBossESBDS</jndi-name>
              <connection-url>jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=195.178.197.87)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=WO)(SERVER=DEDICATED)))</connection-url>
              <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
              <user-name>juddi2</user-name>
              <password>juddi</password>
              <min-pool-size>5</min-pool-size>
              <max-pool-size>20</max-pool-size>
              </local-tx-datasource>
              </datasources>


              This is my jbossesb-properties.xml:
              <properties name="registry">
              <property name="org.jboss.soa.esb.registry.queryManagerURI" value="org.apache.juddi.registry.local.InquiryService#inquire"/>
              <property name="org.jboss.soa.esb.registry.lifeCycleManagerURI" value="org.apache.juddi.registry.local.PublishService#publish"/>
              <property name="org.jboss.soa.esb.registry.implementationClass" value="org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl"/>
              <property name="org.jboss.soa.esb.registry.factoryClass" value="org.apache.ws.scout.registry.ConnectionFactoryImpl"/>
              <property name="org.jboss.soa.esb.registry.user" value="juddi2"/>
              <property name="org.jboss.soa.esb.registry.password" value="juddi"/>
              <!-- the following parameter is scout specific to set the type of communication between scout and the UDDI (embedded, rmi, soap) -->
              <property name="org.jboss.soa.esb.scout.proxy.transportClass" value="org.apache.ws.scout.transport.LocalTransport"/>
              </properties>


              And I have this error:
              [org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle] Unexpected exception caught while initialisation
              java.lang.NullPointerException
              at org.apache.ws.scout.registry.infomodel.ClassificationImpl.setClassificationScheme(ClassificationImpl.java:103)
              at org.apache.ws.scout.registry.LifeCycleManagerImpl.createClassification(LifeCycleManagerImpl.java:198)
              at org.apache.ws.scout.registry.LifeCycleManagerImpl.createClassification(LifeCycleManagerImpl.java:210)
              at org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.findService(JAXRRegistryImpl.java:471)
              at org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.registerEPR(JAXRRegistryImpl.java:156)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:585)
              at org.jboss.internal.soa.esb.services.registry.RegistryService$1.invoke(RegistryService.java:61)
              at $Proxy36.registerEPR(Unknown Source)
              at org.jboss.soa.esb.listeners.RegistryUtil.register(RegistryUtil.java:143)
              at org.jboss.soa.esb.listeners.message.MessageAwareListener.doInitialise(MessageAwareListener.java:209)
              at org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle.initialise(AbstractManagedLifecycle.java:133)
              at org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.initialiseInstances(ManagedLifecycleController.java:150)
              at org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.start(ManagedLifecycleController.java:69)
              at org.jboss.soa.esb.listeners.config.JBoss4ESBDeployment.startService(JBoss4ESBDeployment.java:83)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
              at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:585)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
              at $Proxy0.start(Unknown Source)
              at org.jboss.system.ServiceController.start(ServiceController.java:417)
              at org.jboss.system.ServiceController.start(ServiceController.java:435)
              at org.jboss.system.ServiceController.start(ServiceController.java:435)
              at org.jboss.system.ServiceController.start(ServiceController.java:435)
              at org.jboss.system.ServiceController.start(ServiceController.java:435)
              at org.jboss.system.ServiceController.start(ServiceController.java:435)
              at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:585)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
              at $Proxy4.start(Unknown Source)
              at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:585)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
              at $Proxy43.start(Unknown Source)
              at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197)
              at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
              at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
              at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:585)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
              at $Proxy9.deploy(Unknown Source)
              at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
              at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
              at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
              at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
              at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:585)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
              at $Proxy0.start(Unknown Source)
              at org.jboss.system.ServiceController.start(ServiceController.java:417)
              at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:585)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
              at $Proxy4.start(Unknown Source)
              at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
              at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:585)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
              at $Proxy5.deploy(Unknown Source)
              at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
              at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
              at org.jboss.Main.boot(Main.java:200)
              at org.jboss.Main$1.run(Main.java:508)
              at java.lang.Thread.run(Thread.java:595)
              2008-07-29 16:01:47,875 DEBUG [org.jboss.soa.esb.listeners.config.JBoss4ESBDeployment] Starting failed jboss.esb:deployment=jbossesb.esb
              org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleException: java.lang.NullPointerException
              at org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle.initialise(AbstractManagedLifecycle.java:145)
              .......
              Please, help, where is my error?
              Thank you!

              • 4. Re: Use Oracle with juddi
                Kurt Stam Master

                 


                --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
                ObjectName: jboss.jca:service=DataSourceBinding,name=DefaultDS
                State: NOTYETINSTALLED



                1. You need a datasource for the DefaultDS too. Make sure startup is clean and error free.

                2. BTW Did you add the driver jars for Oracle? Also try using the template provided in the docs/examples/jca directory of your appserver (oracle-ds.xml)

                --Kurt

                • 5. Re: Use Oracle with juddi
                  Christy Christy Novice

                  Hi,
                  please look through my last configurations (my last post). I have this error:


                  MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
                  ObjectName: jboss.esb:deployment=jbossesb.esb
                  State: FAILED
                  Reason: org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleException: java.lang.NullPointerException
                  I Depend On:
                  jboss.esb:service=MessageStoreDatabaseInitializer
                  jboss.esb.destination:service=Queue,name=DeadMessageQueue
                  jboss.jca:service=DataSourceBinding,name=JBossESBDS
                  Depends On Me:
                  jboss.esb:deployment=jbpm.esb
                  jboss.esb:deployment=jbrules.esb
                  jboss.esb:deployment=management.esb
                  jboss.esb:deployment=slsb.esb
                  jboss.esb:deployment=smooks.esb
                  jboss.esb:deployment=soap.esb
                  jboss.esb:deployment=spring.esb


                  Yes, I have driver jars for Oracle. I tried to use oracle-ds.xml, but I stiil have the same error.
                  Please help me to find the reason!
                  Thank you

                  • 6. Re: Use Oracle with juddi
                    Christy Christy Novice

                    YES YES YES!:))))))) I've done this!!!!!!

                    First of all I went here: http://wiki.jboss.org/wiki/ConfigJBossMQDB and followed approach#1. And then I installed jbossesb-4.3.GA. Then I changed juddi-ds.xml and esb.juddi.xml as it is described in Registry guide and..... it works!!!