Hey Ryan,

Maybe I don't understand what you are trying to do, but I didn't have to do any of 
this to get OJB up inside JBoss 3.

Lemme know what you are trying to do that is different than what I'm doing.

m

-----Original Message-----
From: Ryan Marsh [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 14, 2002 2:16 PM
To: [EMAIL PROTECTED]
Cc: Stuart Halloway
Subject: RE: [JBoss-user] Is the server library URL in the classpath?


OJB requires it. I know, yuck. This is being solved but until then I
want my stuff to work. If I'm understanding your test properly, the only
directory that is in the root of the classpath is jboss/bin?

-ryan

On Wed, 2002-08-14 at 15:37, Stuart Halloway wrote:
> Hi Ryan,
> 
> Tests and output to answer your question below. Cheers!
> 
> Stuart Halloway
> DevelopMentor
> http://staff.develop.com/halloway
> 
> PS. Why do you need to be at the root of the classpath? That seems like an
> odd (dangerous) requirement.
> 
> --------------------------------------------------------
>   public void testIterateClassLoaders() {
>     ClassLoader cl = getClass().getClassLoader();
>     while (cl != null) {
>       listLoaderURLS(cl);
>       cl = cl.getParent();
>     }
>   }
>   private void listLoaderURLS(ClassLoader cl) {
>     System.out.println("Loader " + cl);
>     if (cl instanceof URLClassLoader)
>     {
>       URLClassLoader loader = (URLClassLoader) cl;
>       URL[] urls = loader.getURLs();
>       for (int n=0; n<urls.length; n++) {
>         System.out.println("\t" + urls[n]);
>       }
>     }
>   }
> --------------------------------------------------------
> 
> Loader org.jboss.mx.loading.UnifiedClassLoader@40832
> 5{
> url=file:/E:/java/jboss/jboss-3.0.0/server/default/tmp/deploy/server/default
> /
> deploy/dm-asset-mgr.jar/67.dm-asset-mgr.jar }
> 
> Loader java.net.URLClassLoader@fc4bec
>   file:/E:/java/jboss/jboss-3.0.0/lib/crimson.jar
>   file:/E:/java/jboss/jboss-3.0.0/lib/jboss-jmx.jar
>   file:/E:/java/jboss/jboss-3.0.0/lib/concurrent.jar
>   file:/E:/java/jboss/jboss-3.0.0/lib/jaxp.jar
>   file:/E:/java/jboss/jboss-3.0.0/lib/log4j-boot.jar
>   file:/E:/java/jboss/jboss-3.0.0/lib/jboss-common.jar
>   file:/E:/java/jboss/jboss-3.0.0/lib/jboss-system.jar
> 
> Loader sun.misc.Launcher$AppClassLoader@bac748
>   file:/E:/java/jboss/jboss-3.0.0/bin/
>   file:/E:/java/jdk1.4.0/lib/tools.jar
>   file:/E:/java/jboss/jboss-3.0.0/bin/run.jar
> 
> Loader sun.misc.Launcher$ExtClassLoader@7172ea
>   file:/E:/java/jdk1.4.0/jre/lib/ext/dnsns.jar
>   file:/E:/java/jdk1.4.0/jre/lib/ext/ldapsec.jar
>   file:/E:/java/jdk1.4.0/jre/lib/ext/localedata.jar
>   file:/E:/java/jdk1.4.0/jre/lib/ext/sunjce_provider.jar
> 
> > I need some files to bee in the *root* of the classpath. I'd prefer to
> > deploy these files in server/default/conf or server/defaul/lib. Are
> > either of these paths added to the classpath?
> >
> > -ryan
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: Dice - The leading online job board
> for high-tech professionals. Search and apply for tech jobs today!
> http://seeker.dice.com/seeker.epl?rel_code=31
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
-- 
Humans are the unfortunate result of a local maximum in the
fitness landscape.

www.ryanmarsh.com




-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code1
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to