5 Replies Latest reply on Feb 6, 2007 4:18 PM by Subha Rangu

    Error on JBoss server startup

    Subha Rangu Newbie

      Hi,

      I am getting the floowing errors when I am trying to start JBoss applicaton server. We use oracle for persistence.
      Has anybody seen this error?

      Thanks
      Subha

      2007-02-06 11:26:25,468 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing:

      --- MBeans waiting for other MBeans ---
      ObjectName: jboss.ejb:persistencePolicy=database,service=EJBTimerService
      State: FAILED
      Reason: java.lang.IllegalStateException: Cannot find datasource meta data: jboss.jdbc:datasource=OracleDS,service=metadata
      I Depend On:
      jboss.jca:name=OracleDS,service=DataSourceBinding

      ObjectName: jboss.messaging:service=ServerPeer
      State: FAILED
      Reason: java.lang.NullPointerException
      I Depend On:
      jboss.messaging:service=PersistenceManager
      jboss.messaging:service=MessageStore
      jboss.messaging:service=ChannelMapper
      Depends On Me:
      jboss.messaging.destination:service=ConnectionFactory
      jboss.messaging.destination:name=DLQ,service=Queue
      jboss.messaging.destination:name=Queue1,service=Queue
      jboss.messaging.destination:name=Queue2,service=Queue

        • 1. Re: Error on JBoss server startup
          Subha Rangu Newbie

          I installed JBoss-4.0.4.GA and jboss-messaging-1.0.1.SP2 for messaging.

          Thanks

          • 2. Re: Error on JBoss server startup
            Juha Lindfors Master

             

            "srangu" wrote:

            Reason: java.lang.IllegalStateException: Cannot find datasource meta data: jboss.jdbc:datasource=OracleDS,service=metadata


            You need to bind your datasource to name "OracleDS" (it's probably bound to DefaultDS by default)

            • 3. Re: Error on JBoss server startup
              Subha Rangu Newbie

              Thanks fo rthe reply. I already have oracle-ds.xml file under /server/server1/deploy:
              Please let me know what else I am missing here.



              <local-tx-datasource>
              <jndi-name>OracleDS</jndi-name>
              <connection-url>jdbc:oracle:thin:@abc:1521:DBDEV</connection-url>
              <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
              <user-name>user</user-name>
              password
              <valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker</valid-connection-checker-class-name>
              <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
              </local-tx-datasource>



              2. Here is the stack trace for the error#2


              ObjectName: jboss.messaging:service=ServerPeer
              State: FAILED
              Reason: java.lang.NullPointerException
              I Depend On:
              jboss.messaging:service=PersistenceManager
              jboss.messaging:service=MessageStore
              jboss.messaging:service=ChannelMapper
              Depends On Me:
              jboss.messaging.destination:service=ConnectionFactory
              jboss.messaging.destination:name=DLQ,service=Queue
              jboss.messaging.destination:name=Queue1,service=Queue
              jboss.messaging.destination:name=Queue2,service=Queue


              2007-02-06 15:23:39,016 WARN [org.jboss.system.ServiceController] Problem starting service jboss.messaging:service=ServerPeer
              java.lang.NullPointerException
              at org.jboss.jms.server.ServerPeer.loadClientAOPConfig(ServerPeer.java:731)
              at org.jboss.jms.server.ServerPeer.startService(ServerPeer.java:181)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
              at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
              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:324)
              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)

              Thanks,
              Subha



              • 4. Re: Error on JBoss server startup
                Subha Rangu Newbie

                error#1 is resolved by uncommneting out the following in oracle-ds.xml:


                <type-mapping>Oracle8</type-mapping>


                Please help me resolving error#2.

                Thanks
                Subha

                • 5. Re: Error on JBoss server startup
                  Subha Rangu Newbie

                  The error#2 is also fixed by putting some required jars.

                  Thanks,
                  Subha