0 Replies Latest reply on Jan 9, 2003 6:08 AM by alphameta

    Error with Oracle Connection and JBoss 3.0.4

    alphameta

      Hello,
      I'm very new to JBoss and I'm trying to establish a connection with a oracle database.
      I'm using the oracle-service.xml file and put it into the default/deploy directory and alterd the line with the URL.
      <config-property name="ConnectionURL" type="java.lang.String">jdbc:oracle:thin:@darmstadt:1521:ceda</config-property>
      After that I added the security information to the login-config.xml with the following:
      <application-policy name = "OracleDbRealm">

      <login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule" flag = "required">
      <module-option name = "principal">ceda</module-option>
      <module-option name = "userName">ceda</module-option>
      <module-option name = "password">ceda</module-option>
      <module-option name = "managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=OracleDS</module-option>
      </login-module>

      </application-policy>

      an yet i get an error:
      11:53:46,530 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:

      Incompletely deployed packages:

      MBeans waiting for classes:

      MBeans waiting for other MBeans:
      [ObjectName: jboss.jca:service=LocalTxCM,name=OracleDS
      state: CONFIGURED
      I Depend On: jboss.jca:service=RARDeployer
      jboss.jca:service=LocalTxDS,name=OracleDS
      jboss.jca:service=LocalTxPool,name=OracleDS
      jboss.jca:service=CachedConnectionManager
      jboss.security:name=JaasSecurityManager

      Depends On Me: ]

      in the jmx-console i have under the point jboss.jca:
      jboss.jca

      service=LocalTxPool,name=OracleDS
      service=LocalTxPool,name=hsqldbDS
      service=XaTxPool,name=jmsra
      service=RARDeployment,name=JMS Adapter
      service=LocalTxDS,name=hsqldbDS
      service=XaTxDS,name=jmsra
      service=LocalTxCM,name=hsqldbDS
      service=LocalTxDS,name=OracleDS
      service=XaTxCM,name=jmsra
      service=LocalTxCM,name=OracleDS
      service=CachedConnectionManager
      service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper
      service=RARDeployment,name=Minerva JDBC XATransaction ResourceAdapter
      service=RARDeployer

      what is missing or what could i be doing wrong?
      i went trough many forums allready yet without success..
      i'm greatful for all ideas and thoughts