Does this mean that there's no way to run 2 different versions of a SAR or JAR on one single server?
> -----Oorspronkelijk bericht----- > Van: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] Namens Scott M Stark > Verzonden: vrijdag 2 augustus 2002 17:36 > Aan: [EMAIL PROTECTED] > Onderwerp: Re: [JBoss-user] SAR file with DB, EAR and MBean > > > You only need an ear level loader-repository is you are deploying > multiple versions of the same ear. The jar, sar and war all share > the same class loaders with or without the loader-repository. The > loader-repository simply introduces a new level of class loaders > that isolates the ear deployment classes from the other components > in the JBoss server. If you need the ear level isolation and have a > testcase submit a but with the ear to sourceforge. > > ----- Original Message ----- > From: "Torsten Terp" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, August 02, 2002 7:57 AM > Subject: RE: [JBoss-user] SAR file with DB, EAR and MBean > > > > > > Thanks for the help, i really appreciate it!!! > > > > > > > > 1. You don't need to pack firebird-service.xml, it can be a module > itself. > > > 2. the jboss specific modules are intended to be in > jboss-app.xml, not > > > application.xml, like this: > > > > > > <module> > > > > <service>firebird-service.xml</service> > > > > </module> > > > > > > > > <module> > > > > <service>app-management.sar</service> > > > > </module> > > > > > > > > > > > > With the above corrections (which where obvious erros..damn :-) > > I get the exact same error.. > > > > > although it appears that putting them in application.xml may have > worked. > > > > > > I don't see what is wrong. What happens if you > > > > > > 1. try not specifying a different loader repository in > jboss-app.xml > > > > Ok, just tried that again. If the jboss-app.xml only > specifies the use of > > the two services and the different loader is omitted, > things work great!! > > > > > 2. just cast the interfaces rather than using portable remote > > > object.narrow? > > > > This results in the following exception: > > > > 2002-08-02 16:39:21,061 ERROR > > [com.netmill.statemachine.mbean.StateMachineManagement] > Starting failed > > java.rmi.ServerException: Invalid invocation, check your deployment > > packaging, method=public abstract > > com.netmill.statemachine.ejb.interfaces.StateMachineConfiguration > > > com.netmill.statemachine.ejb.interfaces.StateMachineConfigurat > ionHome.create > > () throws javax.ejb.CreateException,java.rmi.RemoteException; nested > > exception is: > > javax.ejb.EJBException: Invalid invocation, check your deployment > > packaging, method=public abstract > > com.netmill.statemachine.ejb.interfaces.StateMachineConfiguration > > > com.netmill.statemachine.ejb.interfaces.StateMachineConfigurat > ionHome.create > > () throws javax.ejb.CreateException,java.rmi.RemoteException > > at > > > org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(Abstrac > tTxInterceptor > > .java:119) > > at > > > org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxI > nterceptorCMT. > > java:176) > > at > > > org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxIntercepto > rCMT.java:52) > > > > I must admit that im am lost here... any ideas?? > > > > Thanks for the help!! > > > > ^Torsten > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user