Bugs item #562293, was opened at 2002-05-30 04:06 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=562293&group_id=22866
Category: JBossServer Group: v3.0 Rabbit Hole >Status: Closed >Resolution: Fixed Priority: 7 Submitted By: Marius Kotsbak (mkotsbak) >Assigned to: Scott M Stark (starksm) Summary: Error with scoped classloading and war Initial Comment: Steps to reproduce: 1. Deploy testerror2.ear 2. Browse to: http://localhost:8080/test1/Test 2. A classcast-exception appear 3. undeploy testerror2.ear 4. deploy testerror1.ear ( which is identical, but without jboss-app.xml) 5. Browse to: http://localhost:8080/test1/Test 6. NO classcast-exception appear Source will be uploaded ---------------------------------------------------------------------- >Comment By: Scott M Stark (starksm) Date: 2002-05-30 09:12 Message: Logged In: YES user_id=175228 The web application was not using the deployment classloader and so was not picking up the scoped repository. This is fixed in 3.0. ---------------------------------------------------------------------- Comment By: Marius Kotsbak (mkotsbak) Date: 2002-05-30 07:37 Message: Logged In: YES user_id=366650 Another error that happens only when using scoped ears: 16:28:24,709 ERROR [STDERR] javax.ejb.EJBException: Invalid invocation, check your deployment packaging, method=public abstract no.polardesign.boostcom.medlemsregister.Medlemsregister no.polardesign.boostcom.medlemsregister.MedlemsregisterHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException 16:28:24,711 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invokeHome(StatelessSessionContainer.java:597) 16:28:24,712 ERROR [STDERR] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:206) 16:28:24,712 ERROR [STDERR] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInstanceInterceptor.java:57) 16:28:24,713 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:98) 16:28:24,713 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:167) 16:28:24,714 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:52) 16:28:24,715 ERROR [STDERR] at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:104) 16:28:24,715 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:109) 16:28:24,716 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer.invokeHome(StatelessSessionContainer.java:300) 16:28:24,717 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java:726) 16:28:24,717 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) 16:28:24,718 ERROR [STDERR] at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:98) 16:28:24,719 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:102) 16:28:24,719 ERROR [STDERR] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73) 16:28:24,731 ERROR [STDERR] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76) 16:28:24,732 ERROR [STDERR] at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:185) 16:28:24,732 ERROR [STDERR] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76) 16:28:24,733 ERROR [STDERR] at $Proxy47.create(Unknown Source) 16:28:24,734 ERROR [STDERR] at no.sportsboost.web.Page.getMedlemsregister(Page.java:94) It starts to fail when inserting the jboss-app.xml!!! ---------------------------------------------------------------------- Comment By: Marius Kotsbak (mkotsbak) Date: 2002-05-30 04:23 Message: Logged In: YES user_id=366650 The class-files in the jar with beans and the war is the same (no diff). ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=562293&group_id=22866 _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
