Yes, with JBoss 3.0 you would most probably not have this problem thanks to
the new UnifiedClassLoader. You can hot-deploy everything under
jboss_home\server\default\deploy

Cheers,


                        Sacha

> -----Message d'origine-----
> De : Tiago Fernandes Thomaz [mailto:[EMAIL PROTECTED]]
> Envoy� : vendredi, 21 juin 2002 11:04
> � : 'Sacha Labourey'; [EMAIL PROTECTED]
> Objet : RE: Dynamic Class Loading problems
>
>
> Thank you anyway.
> One more thing, is there any way to reload JBoss classpath without shuting
> down JBoss?
> If there were, I could simply put all EJB's stubs in a jar and put it in
> jboss/lib/ext.
> TIA.
> My bests,
>
> Tiago Fernandes Thomaz
>
>
> -----Original Message-----
> From: Sacha Labourey [mailto:[EMAIL PROTECTED]]
> Sent: sexta-feira, 21 de Junho de 2002 06:37
> To: Tiago Fernandes Thomaz
> Subject: RE: Dynamic Class Loading problems
>
>
> Hello,
>
> No sorry, I have no idea. Maybe your JVM has a bug.
>
> Good luck. Cheers,
>
>
>                       Sacha
>
> > -----Message d'origine-----
> > De : Tiago Fernandes Thomaz [mailto:[EMAIL PROTECTED]]
> > Envoy� : jeudi, 20 juin 2002 20:18
> > � : '[EMAIL PROTECTED]'
> > Objet : Dynamic Class Loading problems
> >
> >
> > Hi Sasha!
> >
> > I read a mail of yours posted a long time ago (02-August-2001) in
> > JBoss-user
> > mailing list with the subject "Dynamic Class Loading".
> > I wonder if you could help me on a problem I'm having.
> > I have an application that is supposed to be deployed in
> > JBoss2.4.6-Tomcat4.0.3 which comprises 1 ear, some wras and some jars.
> > I opted to put 1 EJB per jar and there is referencing between
> > EJBs. Each EJB
> > that references another EJB has in its jar the referenced EJB's stubs
> > (remote and home interfaces). I get no deployment exceptions
> but a severe
> > one running any one of them on HP-UX (and not on W2K Workstation).
> > The exception is:
> >
> > 17:42:07,008 [ERROR,ProxyProxy] getClasses
> > java.lang.ClassNotFoundException: MySessionBeanHome
> >         at java.net.URLClassLoader$1.run(Unknown Source)
> >         at java.security.AccessController.doPrivileged(Native Method)
> >         at java.net.URLClassLoader.findClass(Unknown Source)
> >         at java.lang.ClassLoader.loadClass(Unknown Source)
> >         at java.lang.ClassLoader.loadClass(Unknown Source)
> >         at org.jboss.proxy.ProxyProxy.getClasses(ProxyProxy.java:35)
> >         at org.jboss.proxy.ProxyProxy.readResolve(ProxyProxy.java:49)
> >         at java.lang.reflect.Method.invoke(Native Method)
> >         at java.io.ObjectStreamClass.invokeMethod(Unknown Source)
> >         at java.io.ObjectInputStream.readObject(Unknown Source)
> >         at java.io.ObjectInputStream.readObject(Unknown Source)
> >         at java.rmi.MarshalledObject.get(Unknown Source)
> >         at
> org.jnp.interfaces.NamingContext.lookup(NamingContext.java:439)
> >         at
> org.jnp.interfaces.NamingContext.lookup(NamingContext.java:419)
> >         at javax.naming.InitialContext.lookup(InitialContext.java:350)
> >         at java.lang.Thread.run(Unknown Source)
> >
> > I think the problem may be either in locating WebService (on
> > localhost:8083)
> > to load stub classes or in marshelling stub objects.
> > The run script I'm running on HP-UX (run.sh) is identical to that on W2K
> > (run.bat) but both are different from the original as well as the
> > java.policy, in which I grant all permissions:
> >
> > grant {
> >     permission java.security.AllPermission;
> > };
> >
> > and run.sh script I added 2 options (java.security.policy and
> > java.security.manager) and looks like:
> >
> > java $HOTSPOT $JAXP -classpath $JBOSS_CLASSPATH
> > -Djava.security.policy=$JBOSS_DIST/bin/java.policy
> -Djava.security.manager
> > org.jboss.Main $@
> >
> > One last issue is that calls between EJB's are made dynamically.
> >
> > What do you think could be the main difference between these 2 OS?
> > Are you aware of what's might be causing these severe exception?
> >
> > Tiago Fernandes Thomaz
> >
> >
>



-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to