[JBoss-user] [Installation & Configuration] - Re: JBoss system classpath

2004-12-02 Thread RichardBerger
I am having the same problem. In Weblogic I was able to use the APP-INF directory to hold jars that were needed by the code I was generating at runtime. But I don't know how to do this in JBoss. Did you eventually solve the problem? Thanks! RB View the original post : http://www.jboss.org/

[JBoss-user] [Installation & Configuration] - Re: JBoss system classpath

2004-07-07 Thread gifs71
Hi, I turned logging on for class loading in JBoss by adding entries in the log4j.xml. And it seems to me by looking at the class loader logs that the JBoss unified class loader seems to build a map from package names to the ClassLoader used to load the package. So in case of dynamically gener

[JBoss-user] [Installation & Configuration] - Re: JBoss system classpath

2004-07-06 Thread gifs71
Opps... the code text didn't get thru. Here it is again: | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841117#3841117 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841117 ---

[JBoss-user] [Installation & Configuration] - Re: JBoss system classpath

2004-07-06 Thread gifs71
Hi Mike, The thing is that I would like to not make any major changes to the source code. I had the app deployed on weblogic and was porting it to JBoss and so having any app server-specific code in our application source would break its portability between servers. Hence, I was trying to put t

[JBoss-user] [Installation & Configuration] - Re: JBoss system classpath

2004-07-04 Thread mikefinn
Aalap, Ahhh, I misunderstood. Sorry. Have you tried using a URLClassLoader (instantiate it, pointing the URL at your JAR file). Not really sure here, as you may run into problems (ie ClassCastException), esp. if you are serializing/deserializing instances from classes loaded from different clas

[JBoss-user] [Installation & Configuration] - Re: JBoss system classpath

2004-07-02 Thread gifs71
Hi Mike, The issue is that I auto-generate some java code on the fly, compile that code and try to load those classes at runtime and this is when I get in issues. The classloader is not able to find the classes and hence is not able to load them. Below is a detailed description of the setup on

[JBoss-user] [Installation & Configuration] - Re: JBoss system classpath

2004-07-01 Thread mikefinn
Is there a particular reason you need it in the system classpath? You can add to server classpath by adding it in conf/jboss-service.xml. Say you add a directory, called 'local-lib' in you server config dir (same level as conf and lib), and your jar is exploded in a dir called foo.jar. You can