My first guess is that the packaging of the jboss jca stuff is broken and
that two copies of the org.jboss.resource.connectionmanager classes have
been loaded.  For instance, are they in jboss-common-jdbc-wrapper?

thanks
david jencks

On 2003.06.26 07:31 "Meyer-Willner, Bernhard" wrote:
> Hi,
> 
> I double checked that. The original exception is in the stackstrace
> below.
> jboss-common-jdbc-wrapper.jar is in my server/<config>/lib directory and
> it
> includes the BaseWrapperManagedConnectionFactory class. Now this old
> exception is gone but I'm getting the following exception now after all
> my
> EJBs have been deployed:
> 
> 13:26:01,456 ERROR [MainDeployer] could not start deployment:
> file:/C:/gb05-projekte/dbv-winterthur/
> development/server/jboss/deploy/isis.ear/components-ejb.jar
> java.lang.IllegalAccessError: tried to access method
> org.jboss.resource.connectionmanager.CachedConn
> ectionManager.registerConnection(Lorg/jboss/resource/connectionmanager/Conne
> ctionCacheListener;Lorg/
> jboss/resource/connectionmanager/ConnectionRecord;)V from class
> org.jboss.resource.connectionmanager
> .BaseConnectionManager2
>         at
> org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnecti
> on(BaseConnec
> tionManager2.java:540)
>         at
> org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManage
> rProxy.alloca
> teConnection(BaseConnectionManager2.java:822)
>         at
> org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataS
> ource.java:10
> 2)
>         at
> org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.fixTableName(SQLUtil.java:38)
>         at
> org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.<init>(JDBCEntityBrid
> ge.java:103)
>         at
> org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreMa
> nager.java:39
> 7)
>         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.jav
> a:1003)
>         at $Proxy5.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(ReflectedMBeanDispat
> cher.java:284 ...
> 
> Can you help me out here?
> 
> Thanks,
> Bernie
> 
> -----Ursprüngliche Nachricht-----
> Von: David Jencks [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 23. Juni 2003 16:21
> An: [EMAIL PROTECTED]
> Betreff: Re: [JBoss-user] Datasource deployment changes between 3.0.5
> and 3.0.8 ?
> 
> 
> Can you look back in the server.log for the original exception and also
> check that jboss-common-jdbc-wrapper.jar is in your server/<config>/lib
> directory and that it includes the BaseWrapperManagedConnectionFactory
> class?
> 
> thanks
> david jencks
> 
> 
> On 2003.06.23 04:44 "Meyer-Willner, Bernhard" wrote:
> > Hi,
> > 
> > recently tried upgrading from 3.0.5 to 3.0.8 and am experiencing
> problems
> > with deploying an Oracle 8 datasource which worked before. It didn't
> seem
> > that anything syntactically related to the oracle-service.xml changed.
> > 
> > The datasource is deployed in a SAR that's part of the EAR. During
> > deployment JBoss says a certain class can't be found (Could not find
> > ManagedConnectionFactory class:
> > org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory
> > java.lang.ClassNotFoundException: Unexpected error during load of:
> > org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory),
> > although this class is included in jboss-local-jdbc.jar which is
> deployed
> > as
> > part of jboss-local-jdbc.rar; this rar sits in the deploy folder.
> > 
> > Please see the stacktrace below for the exact cause:
> > 
> > Thanks, 
> > Bernie
> > 
> > 2003-06-20 15:09:25,142 DEBUG [org.jboss.deployment.SARDeployer]
> > Deploying
> > SAR, start step: url
> >
> file:/C:/projects/d/development/server/jboss/deploy/isis.ear/oracle-service.
> > sar/
> > 2003-06-20 15:09:25,142 DEBUG [org.jboss.system.ServiceController]
> > waiting
> > in start jboss.jca:service=LocalTxCM,name=OracleDS on
> > jboss.jca:service=LocalTxDS,name=OracleDS
> > 2003-06-20 15:09:25,142 DEBUG [org.jboss.system.ServiceController]
> > Starting
> > dependent components: [ObjectName:
> jboss.jca:service=LocalTxCM,name=OracleDS
> >  state: CREATED
> >  I Depend On:   jboss.jca:service=LocalTxDS,name=OracleDS
> >   jboss.jca:service=LocalTxPool,name=OracleDS
> >   jboss.jca:service=CachedConnectionManager
> >   jboss.security:service=JaasSecurityManager
> >   jboss.jca:service=RARDeployer
> > 
> >  Depends On Me: ]
> > 2003-06-20 15:09:25,142 DEBUG [org.jboss.system.ServiceController]
> > waiting
> > in start jboss.jca:service=LocalTxCM,name=OracleDS on
> > jboss.jca:service=LocalTxPool,name=OracleDS
> > 2003-06-20 15:09:25,152 INFO
> > [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] 
> > 
> > Starting
> > 2003-06-20 15:09:25,152 INFO
> > [org.jboss.resource.connectionmanager.JBossManagedConnectionPool]
> Started
> > 2003-06-20 15:09:25,163 DEBUG [org.jboss.system.ServiceController]
> > Starting
> > dependent components: [ObjectName:
> jboss.jca:service=LocalTxCM,name=OracleDS
> >  state: CREATED
> >  I Depend On:   jboss.jca:service=LocalTxDS,name=OracleDS
> >   jboss.jca:service=LocalTxPool,name=OracleDS
> >   jboss.jca:service=CachedConnectionManager
> >   jboss.security:service=JaasSecurityManager
> >   jboss.jca:service=RARDeployer
> > 
> >  Depends On Me: ]
> > 2003-06-20 15:09:25,163 INFO
> > [org.jboss.resource.connectionmanager.LocalTxConnectionManager]
> Starting
> > 2003-06-20 15:09:25,183 ERROR
> > [org.jboss.resource.connectionmanager.RARDeployment] Could not find
> > ManagedConnectionFactory class:
> > org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory
> > java.lang.ClassNotFoundException: Unexpected error during load of:
> > org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory,
> > msg=org/jboss/resource/adapter/jdbc/BaseWrapperManagedConnectionFactory
> >     at
> >
> org.jboss.mx.loading.UnifiedClassLoader3.loadClass(UnifiedClassLoader3.java:
> > 198)
> >     at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
> >     at
> >
> org.jboss.resource.connectionmanager.RARDeployment.startManagedConnectionFac
> > tory(RARDeployment.java:540)...
> > 
> > This e-mail and any attachment is for authorised use by the intended
> > recipient(s) only.  It may contain proprietary material, confidential
> > information and/or be subject to legal privilege.  It should not be
> > copied,
> > disclosed to, retained or used by, any other party.  If you are not an
> > intended recipient then please promptly delete this e-mail and any
> > attachment and all copies and inform the sender.  Thank you.
> > 
> > 
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: INetU
> > Attention Web Developers & Consultants: Become An INetU Hosting
> Partner.
> > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly
> Commission!
> > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
> > 
> > This e-mail and any attachment is for authorised use by the intended
> > recipient(s) only.  It may contain proprietary material, confidential
> > information and/or be subject to legal privilege.  It should not be
> > copied, disclosed to, retained or used by, any other party.  If you are
> > not an intended recipient then please promptly delete this e-mail and
> any
> > attachment and all copies and inform the sender.  Thank you.
> > 
> > 
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: INetU
> > Attention Web Developers & Consultants: Become An INetU Hosting
> Partner.
> > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly
> Commission!
> > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
> > 
> > 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> This e-mail and any attachment is for authorised use by the intended
> recipient(s) only.  It may contain proprietary material, confidential
> information and/or be subject to legal privilege.  It should not be
> copied, disclosed to, retained or used by, any other party.  If you are
> not an intended recipient then please promptly delete this e-mail and any
> attachment and all copies and inform the sender.  Thank you.
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to