4 Replies Latest reply on Mar 14, 2002 7:52 PM by Rakesh

    IllegalAccessError with JBoss3.0beta-Tomcat

    Rakesh Newbie

      Hi,
      Iam getting the following error during runtime:
      (I dont have any problem during deployment , iam using Cactus to test)

      [exec] java.lang.IllegalAccessError: try to access method com.microsoft.jdbc.base.BaseClassUtility.getRootName(Lcom
      rosoft/jdbc/base/BaseConnection; )Ljava/lang/String; from class com.microsoft.jdbc.base.BaseConnection
      [exec] at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)
      [exec] at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
      [exec] at java.sql.DriverManager.getConnection(Unknown Source)
      [exec] at java.sql.DriverManager.getConnection(Unknown Source)
      [exec] at org.jboss.resource.adapter.jdbc.local.JDBCManagedConnectionFactory.createManagedConnection(JDBCManage
      nectionFactory.java:379)
      [exec] at org.jboss.resource.connectionmanager.ManagedConnectionPoolFactory.createObject(ManagedConnectionPoolF
      ry.java:97)
      [exec] at org.jboss.pool.ObjectPool.createNewObject(ObjectPool.java:1013)
      [exec] at org.jboss.pool.ObjectPool.getObject(ObjectPool.java:672)
      [exec] at org.jboss.resource.connectionmanager.SharedLocalConnectionManager.allocateConnection(SharedLocalConne
      nManager.java:124)
      [exec] at org.jboss.resource.adapter.jdbc.JDBCDataSource.getConnection(JDBCDataSource.java:110)
      [exec] at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQueryCommand.java:93)
      [exec] at org.jboss.ejb.plugins.cmp.jdbc.JDBCFindEntitiesCommand.execute(JDBCFindEntitiesCommand.java:40)
      [exec] at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.findEntities(JDBCStoreManager.java:395)
      [exec] at org.jboss.ejb.plugins.CMPPersistenceManager.findEntities(CMPPersistenceManager.java:318)
      [exec] at org.jboss.ejb.EntityContainer.findLocal(EntityContainer.java:582)
      [exec] at java.lang.reflect.Method.invoke(Native Method)
      [exec] at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1051)
      [exec] at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:73)
      [exec] at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.ja
      22)
      [exec] at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:136)
      [exec] at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:80)
      [exec] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:98)
      [exec] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:167)
      [exec] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:52)
      [exec] at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:102)
      [exec] at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:109)
      [exec] at org.jboss.ejb.EntityContainer.invokeHome(EntityContainer.java:469)
      [exec] at org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.invokeHome(BaseLocalContainerInvoker.java:244)
      [exec] at org.jboss.ejb.plugins.local.BaseLocalContainerInvoker$HomeProxy.invoke(BaseLocalContainerInvoker.java
      )
      [exec] at $Proxy21.findAll(Unknown Source)
      [exec] at com.betasphere.core.components.discussionManager.DiscussionManagerSLBean.getProductScopeTopLevelDiscu
      nMessages(Unknown Source)
      [exec] at java.lang.reflect.Method.invoke(Native Method)
      [exec] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:64

      [exec] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.
      :77)
      [exec] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:96)
      [exec] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:167)
      [exec] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:61)
      [exec] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:127)
      [exec] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:166)
      [exec] at org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:308)
      [exec] at org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.invoke(BaseLocalContainerInvoker.java:308)
      [exec] at org.jboss.ejb.plugins.local.BaseLocalContainerInvoker$StatelessSessionProxy.invoke(BaseLocalContainer
      ker.java:528)
      [exec] at $Proxy37.getProductScopeTopLevelDiscussionMessages(Unknown Source)
      [exec] at com.betasphere.core.components.discussionManager.TestDiscussionManager.testGetProductScopeTopLevelDis
      ionMessages(Unknown Source)
      [exec] at java.lang.reflect.Method.invoke(Native Method)
      [exec] at org.apache.cactus.AbstractTestCase.runServerTest(AbstractTestCase.java:491)
      [exec] at org.apache.cactus.AbstractTestCase.runBareServerTest(AbstractTestCase.java:456)
      [exec] at org.apache.cactus.server.AbstractTestCaller.doTest(AbstractTestCaller.java:137)
      [exec] at org.apache.cactus.server.AbstractTestController.handleRequest(AbstractTestController.java:122)
      [exec] at org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedirector.java:134)
      [exec] at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      [exec] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      [exec] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
      [exec] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      [exec] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
      [exec] at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      [exec] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      [exec] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      [exec] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
      [exec] at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      [exec] at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
      [exec] at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      [exec] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      [exec] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      [exec] at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
      [exec] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
      [exec] at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      [exec] at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
      [exec] at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      [exec] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
      [exec] at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      [exec] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      [exec] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      [exec] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
      [exec] at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      [exec] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      [exec] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      [exec] at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
      [exec] 17:22:18,578 INFO [Default] null
      [exec] at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
      [exec] at java.lang.Thread.run(Unknown Source)

      Any ideas anyone????
      Thanks in advance..