Yes, but that way hot deploy is not an option any more. I want to keep JBoss running and allow services to be hot deployed. For that, and since JBoss classpath (lib/ext) is set only on startup, I cannot put EJB's stubs in lib/ext. There must be any other way to do this appart from that and still manage to call recently deployed EJBs dynamically. Thanks anyway.
Tiago Fernandes Thomaz -----Original Message----- From: Sundaram Ramasamy [mailto:[EMAIL PROTECTED]] Sent: sexta-feira, 21 de Junho de 2002 15:04 To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] ERROR Proxy: getClasses create all EJB class into jar file and put it in JBOSS_DIST/lib/ext directory, also re-start the application server. ----- Original Message ----- From: "Tiago Fernandes Thomaz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 20, 2002 10:49 AM Subject: RE: [JBoss-user] ERROR Proxy: getClasses > 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): > > 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. > > > Tiago Fernandes Thomaz > > > -----Original Message----- > From: Sundaram Ramasamy [mailto:[EMAIL PROTECTED]] > Sent: quinta-feira, 20 de Junho de 2002 13:47 > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] ERROR Proxy: getClasses > > > Did you changed anything in the run.sh script, like CLASSPATH or > JBOSSCLASSPATH???? > > -SR > > > ----- Original Message ----- > From: "Tiago Fernandes Thomaz" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, June 20, 2002 8:19 AM > Subject: [JBoss-user] ERROR Proxy: getClasses > > > > I run JBoss2.4.6-Tomcat4.0.3 in my W2K and deploy my application (1 .ear, > > 3.war, several .jar) and all goes well. Some beans reference other beans > > which are confined in different jars. > > When I run it on HP-UX I got the following exception: > > > > [ERROR, ProxyProxy] getClasses > > java.lang.ClassNotFoundException: My_SessionBeanHome > > 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) > > > > > > Any ideas what might be causing this? > > Any help would be great. > > Thanks in advance for your help. > > My best, > > > > Tiago Fernandes Thomaz > > > > > > ------------------------------------------------------- > > Bringing you mounds of caffeinated joy > > >>> http://thinkgeek.com/sf <<< > > > > _______________________________________________ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > ------------------------------------------------------- > Bringing you mounds of caffeinated joy > >>> http://thinkgeek.com/sf <<< > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > ------------------------------------------------------- > Bringing you mounds of caffeinated joy > >>> http://thinkgeek.com/sf <<< > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > ------------------------------------------------------- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user