1 Reply Latest reply on Apr 8, 2004 9:41 AM by sesques

    Error when deploying a CMP ejb. java.lang.NoClassDefFoundErr

    panguana Newbie

      Good Morning/afternoon/evening:

      I have a little problem trying to get a Data Source Connection, the DS, in mssql-ds.xml file as follow:

      <datasources>
       <local-tx-datasource>
       <jndi-name>dsTITAN</jndi-name>
       <connection-url>jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=dbTITAN</connection-url>
       <driver-class>com.microsoft.jdbc.sqlserver.SQLServerDriver</driver-class>
       <user-name></user-name>
       <password></password>
       </local-tx-datasource>
      </datasources>


      And inside of mssql-service.xml
      <!-- TITAN ds-->
       <mbean code="org.jboss.resource.connectionmanager.LocalTxConnectionManager" name="jboss.jca:service=LocalTxCM,name=dsTITAN">
       <depends optional-attribute-name="ManagedConnectionFactoryName">
       <!--embedded mbean-->
       <mbean code="org.jboss.resource.connectionmanager.RARDeployment" name="jboss.jca:service=LocalTxDS,name=Pruebas">
      
       <attribute name="JndiName">dsTITAN</attribute>
      
       <attribute name="ManagedConnectionFactoryProperties">
       <properties>
       <config-property name="ConnectionURL" type="java.lang.String">jdbc:microsoft:sqlserver://localhost:1433;databaseName=dbTITAN;selectMethod=cursor</config-property>
       <config-property name="DriverClass" type="java.lang.String">com.microsoft.jdbc.sqlserver.SQLServerDriver</config-property>
       <!--set these only if you want only default logins, not through JAAS-->
       <config-property name="UserName" type="java.lang.String">sa</config-property>
       <config-property name="Password" type="java.lang.String"></config-property>
       </properties>
       </attribute>
      
      <!--Below here are advanced properties -->
       <!--hack-->
       <depends optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper</depends>
       </mbean>
       </depends>


      Is that correct?

      When deploying, I get the following message:

      2004-04-05 09:37:43,935 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/C:/java/jboss-3.0.8_tomcat-4.1.24/server/default/deploy/entity.jar
      2004-04-05 09:37:44,326 INFO [org.jboss.ejb.EjbModule] Creating
      2004-04-05 09:37:44,326 INFO [org.jboss.ejb.EjbModule] Deploying Rol
      2004-04-05 09:37:44,341 INFO [org.jboss.ejb.EjbModule] Deploying Usuario
      2004-04-05 09:37:44,466 INFO [org.jboss.ejb.EjbModule] Created
      2004-04-05 09:37:44,466 INFO [org.jboss.ejb.EjbModule] Starting
      2004-04-05 09:37:44,795 WARN [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Throwable while attempting to get a new connection:
      java.lang.NoClassDefFoundError: com/microsoft/util/UtilLocalMessages
       at com.microsoft.jdbc.base.BaseExceptions.<init>(Unknown Source)
       at com.microsoft.jdbc.base.BaseDriver.setupExceptionHandling(Unknown Source)
       at com.microsoft.jdbc.base.BaseDriver.acceptsURL(Unknown Source)
       at java.sql.DriverManager.getDriver(DriverManager.java:232)
       at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.isDriverLoadedForURL(LocalManagedConnectionFactory.java:297)
       at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.checkDriver(LocalManagedConnectionFactory.java:257)
       at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:147)
       at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnection(InternalManagedConnectionPool.java:372)
       at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:158)
       at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:335)
       at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:468)
       at org.jboss.resource.connectionmanager.LocalTxConnectionManager.getManagedConnection(LocalTxConnectionManager.java:221)
       at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:533)
       at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:846)
       at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102)
       at org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.fixTableName(SQLUtil.java:38)
       at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.<init>(JDBCEntityBridge.java:103)
       at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:397)
       at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:339)
       at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:198)
       at org.jboss.ejb.EntityContainer.start(EntityContainer.java:376)
       at org.jboss.ejb.Container.invoke(Container.java:782)
       at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1058)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003)
       at $Proxy4.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:413)
       at sun.reflect.GeneratedMethodAccessor4.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:517)
       at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
       at $Proxy170.start(Unknown Source)
       at org.jboss.ejb.EjbModule.startService(EjbModule.java:404)
       at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:165)
       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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003)
       at $Proxy4.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:413)
       at sun.reflect.GeneratedMethodAccessor4.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:517)
       at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
       at $Proxy10.start(Unknown Source)
       at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:395)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:814)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
       at sun.reflect.GeneratedMethodAccessor8.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:517)
       at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
       at $Proxy3.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:435)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:656)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:217)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:230)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:207)
      2004-04-05 09:37:44,982 WARN [org.jboss.system.ServiceController] Problem starting service jboss.j2ee:jndiName=UsuarioBean,service=EJB
      org.jboss.deployment.DeploymentException: Error while fixing table name; - nested throwable: (org.jboss.util.NestedSQLException: Unexpected throwable while trying to create a connection: ; - nested throwable: (java.lang.reflect.UndeclaredThrowableException); - nested throwable: (org.jboss.resource.JBossResourceException: Unexpected throwable while trying to create a connection: ; - nested throwable: (java.lang.reflect.UndeclaredThrowableException)))
       at org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.fixTableName(SQLUtil.java:67)
       at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.<init>(JDBCEntityBridge.java:103)
       at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:397)
       at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:339)
       at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:198)
       at org.jboss.ejb.EntityContainer.start(EntityContainer.java:376)
       at org.jboss.ejb.Container.invoke(Container.java:782)
       at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1058)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003)
       at $Proxy4.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:413)
       at sun.reflect.GeneratedMethodAccessor4.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:517)
       at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
       at $Proxy170.start(Unknown Source)
       at org.jboss.ejb.EjbModule.startService(EjbModule.java:404)
       at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:165)
       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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003)
       at $Proxy4.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:413)
       at sun.reflect.GeneratedMethodAccessor4.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:517)
       at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
       at $Proxy10.start(Unknown Source)
       at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:395)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:814)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
       at sun.reflect.GeneratedMethodAccessor8.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:517)
       at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
       at $Proxy3.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:435)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:656)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:217)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:230)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:207)
      Caused by: org.jboss.util.NestedSQLException: Unexpected throwable while trying to create a connection: ; - nested throwable: (java.lang.reflect.UndeclaredThrowableException); - nested throwable: (org.jboss.resource.JBossResourceException: Unexpected throwable while trying to create a connection: ; - nested throwable: (java.lang.reflect.UndeclaredThrowableException))
       at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:106)
       at org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.fixTableName(SQLUtil.java:38)
       ... 53 more
      Caused by: org.jboss.resource.JBossResourceException: Unexpected throwable while trying to create a connection: ; - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
       at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:189)
       at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:335)
       at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:468)
       at org.jboss.resource.connectionmanager.LocalTxConnectionManager.getManagedConnection(LocalTxConnectionManager.java:221)
       at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:533)
       at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:846)
       at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102)
       ... 54 more
      Caused by: java.lang.reflect.UndeclaredThrowableException
       at org.jboss.resource.JBossResourceException.process(JBossResourceException.java:173)
       at org.jboss.resource.JBossResourceException.<init>(JBossResourceException.java:80)
       ... 61 more
      Caused by: java.lang.NoClassDefFoundError: com/microsoft/util/UtilLocalMessages
       at com.microsoft.jdbc.base.BaseExceptions.<init>(Unknown Source)
       at com.microsoft.jdbc.base.BaseDriver.setupExceptionHandling(Unknown Source)
       at com.microsoft.jdbc.base.BaseDriver.acceptsURL(Unknown Source)
       at java.sql.DriverManager.getDriver(DriverManager.java:232)
       at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.isDriverLoadedForURL(LocalManagedConnectionFactory.java:297)
       at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.checkDriver(LocalManagedConnectionFactory.java:257)
       at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:147)
       at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnection(InternalManagedConnectionPool.java:372)
       at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:158)
       ... 60 more
      2004-04-05 09:37:45,357 WARN [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Throwable while attempting to get a new connection:
      java.lang.NoClassDefFoundError: com/microsoft/util/UtilLocalMessages
       at com.microsoft.jdbc.base.BaseExceptions.<init>(Unknown Source)
       at com.microsoft.jdbc.base.BaseDriver.setupExceptionHandling(Unknown Source)
       at com.microsoft.jdbc.base.BaseDriver.acceptsURL(Unknown Source)
       at java.sql.DriverManager.getDriver(DriverManager.java:232)
       at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.isDriverLoadedForURL(LocalManagedConnectionFactory.java:297)
       at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.checkDriver(LocalManagedConnectionFactory.java:257)
       at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:147)
       at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnection(InternalManagedConnectionPool.java:372)
       at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:158)
       at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:335)
       at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:468)
       at org.jboss.resource.connectionmanager.LocalTxConnectionManager.getManagedConnection(LocalTxConnectionManager.java:221)
       at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:533)
       at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:846)
       at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102)
       at org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.fixTableName(SQLUtil.java:38)
       at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.<init>(JDBCEntityBridge.java:103)
       at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:397)
       at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:339)
       at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:198)
       at org.jboss.ejb.EntityContainer.start(EntityContainer.java:376)
       at org.jboss.ejb.Container.invoke(Container.java:782)
       at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1058)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003)
       at $Proxy4.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:413)
       at sun.reflect.GeneratedMethodAccessor4.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:517)
       at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
       at $Proxy170.start(Unknown Source)
       at org.jboss.ejb.EjbModule.startService(EjbModule.java:404)
       at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:165)
       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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003)
       at $Proxy4.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:413)
       at sun.reflect.GeneratedMethodAccessor4.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:517)
       at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
       at $Proxy10.start(Unknown Source)
       at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:395)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:814)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
       at sun.reflect.GeneratedMethodAccessor8.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:517)
       at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
       at $Proxy3.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:435)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:656)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:217)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:230)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:207)
      2004-04-05 09:37:45,529 WARN [org.jboss.system.ServiceController] Problem starting service jboss.j2ee:jndiName=RolBean,service=EJB
      org.jboss.deployment.DeploymentException: Error while fixing table name; - nested throwable: (org.jboss.util.NestedSQLException: Unexpected throwable while trying to create a connection: ; - nested throwable: (java.lang.reflect.UndeclaredThrowableException); - nested throwable: (org.jboss.resource.JBossResourceException: Unexpected throwable while trying to create a connection: ; - nested throwable: (java.lang.reflect.UndeclaredThrowableException)))
       at org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.fixTableName(SQLUtil.java:67)
       at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.<init>(JDBCEntityBridge.java:103)
       at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:397)
       at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:339)
       at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:198)
       at org.jboss.ejb.EntityContainer.start(EntityContainer.java:376)
       at org.jboss.ejb.Container.invoke(Container.java:782)
       at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1058)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003)
       at $Proxy4.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:413)
       at sun.reflect.GeneratedMethodAccessor4.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:517)
       at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
       at $Proxy170.start(Unknown Source)
       at org.jboss.ejb.EjbModule.startService(EjbModule.java:404)
       at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:165)
       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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003)
       at $Proxy4.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:413)
       at sun.reflect.GeneratedMethodAccessor4.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:517)
       at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
       at $Proxy10.start(Unknown Source)
       at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:395)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:814)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
       at sun.reflect.GeneratedMethodAccessor8.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:517)
       at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
       at $Proxy3.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:435)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:656)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:217)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:230)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:207)
      Caused by: org.jboss.util.NestedSQLException: Unexpected throwable while trying to create a connection: ; - nested throwable: (java.lang.reflect.UndeclaredThrowableException); - nested throwable: (org.jboss.resource.JBossResourceException: Unexpected throwable while trying to create a connection: ; - nested throwable: (java.lang.reflect.UndeclaredThrowableException))
       at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:106)
       at org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.fixTableName(SQLUtil.java:38)
       ... 53 more
      Caused by: org.jboss.resource.JBossResourceException: Unexpected throwable while trying to create a connection: ; - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
       at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:189)
       at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:335)
       at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:468)
       at org.jboss.resource.connectionmanager.LocalTxConnectionManager.getManagedConnection(LocalTxConnectionManager.java:221)
       at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:533)
       at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:846)
       at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102)
       ... 54 more
      Caused by: java.lang.reflect.UndeclaredThrowableException
       at org.jboss.resource.JBossResourceException.process(JBossResourceException.java:173)
       at org.jboss.resource.JBossResourceException.<init>(JBossResourceException.java:80)
       ... 61 more
      Caused by: java.lang.NoClassDefFoundError: com/microsoft/util/UtilLocalMessages
       at com.microsoft.jdbc.base.BaseExceptions.<init>(Unknown Source)
       at com.microsoft.jdbc.base.BaseDriver.setupExceptionHandling(Unknown Source)
       at com.microsoft.jdbc.base.BaseDriver.acceptsURL(Unknown Source)
       at java.sql.DriverManager.getDriver(DriverManager.java:232)
       at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.isDriverLoadedForURL(LocalManagedConnectionFactory.java:297)
       at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.checkDriver(LocalManagedConnectionFactory.java:257)
       at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:147)
       at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnection(InternalManagedConnectionPool.java:372)
       at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:158)
       ... 60 more
      2004-04-05 09:37:45,748 INFO [org.jboss.ejb.EjbModule] Started
      2004-04-05 09:37:45,748 INFO [org.jboss.deployment.MainDeployer] Deployed package: file:/C:/java/jboss-3.0.8_tomcat-4.1.24/server/default/deploy/entity.jar
      2004-04-05 09:37:45,763 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:
      [org.jboss.deployment.DeploymentInfo@da5e372d { url=file:/C:/java/jboss-3.0.8_tomcat-4.1.24/server/default/deploy/mssql-ds.xml }
       deployer: null
       status: null
       state: INIT_WAITING_DEPLOYER
       watch: file:/C:/java/jboss-3.0.8_tomcat-4.1.24/server/default/deploy/mssql-ds.xml
       lastDeployed: 1081173268326
       lastModified: 1081173268326
       mbeans:
      ]Incompletely deployed packages:
      [org.jboss.deployment.DeploymentInfo@da5e372d { url=file:/C:/java/jboss-3.0.8_tomcat-4.1.24/server/default/deploy/mssql-ds.xml }
       deployer: null
       status: null
       state: INIT_WAITING_DEPLOYER
       watch: file:/C:/java/jboss-3.0.8_tomcat-4.1.24/server/default/deploy/mssql-ds.xml
       lastDeployed: 1081173268326
       lastModified: 1081173268326
       mbeans:
      ]MBeans waiting for classes:
       <none>
      MBeans waiting for other MBeans:
      [ObjectName: jboss.j2ee:jndiName=UsuarioBean,service=EJB
       state: FAILED
       I Depend On:
       Depends On Me: org.jboss.deployment.DeploymentException: Error while fixing table name; - nested throwable: (org.jboss.util.NestedSQLException: Unexpected throwable while trying to create a connection: ; - nested throwable: (java.lang.reflect.UndeclaredThrowableException); - nested throwable: (org.jboss.resource.JBossResourceException: Unexpected throwable while trying to create a connection: ; - nested throwable: (java.lang.reflect.UndeclaredThrowableException))), ObjectName: jboss.j2ee:jndiName=RolBean,service=EJB
       state: FAILED
       I Depend On:
       Depends On Me: org.jboss.deployment.DeploymentException: Error while fixing table name; - nested throwable: (org.jboss.util.NestedSQLException: Unexpected throwable while trying to create a connection: ; - nested throwable: (java.lang.reflect.UndeclaredThrowableException); - nested throwable: (org.jboss.resource.JBossResourceException: Unexpected throwable while trying to create a connection: ; - nested throwable: (java.lang.reflect.UndeclaredThrowableException)))]



      Inside of my LIB directory, I have the msbase.jar, mssqlserver.jar drivers!.



      What Can I do? First, I have the DS up with a Mysql DS! but, When my boss tell me to change a MS SQL server... It does not work!

      What´s the problem, I cannot understand.


      Thanks for helping me,

      Panguana.
      Engineer.