Re: classpath issues??

2002-02-07 Thread Jorge Jimenez C

Another way of doing this:

If your helper classes are part of a common library (i.e. may be used from
other applications) you can put the jar in the orion/lib directory to
maintain just one copy. I'm not sure if J2EE specifications says something
about it, but it works in all servers I know.

JJ

- Original Message -
From: Jacky Cheung [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, February 07, 2002 1:41 AM
Subject: Re: classpath issues??


 You can put allsrc.jar under WEB-INF/lib of your webapp. Or you can put
the
 jar in ear and add an entry Class-Path: allsrc.jar in the manifest file
of
 the ear.

 Best regards,
 Jacky

 - Original Message -
 From: Dan Ascheman [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Thursday, February 07, 2002 10:24 AM
 Subject: classpath issues??


  Ok, I've created an application (.ear file) which has successfully been
  deployed, BUT my servlet in my .war file blows up on a runtime exception
  because it can't find it's base class, or helper classes.
  I have a .jar file called allsrc.jar that contains all classes in my
  system, and that resides in my .ear file - I thought that would be
enough
  for my servlet to see it, but it's not.  I tried putting the
allsrc.jar
 in
  my d:\orion directory and it didn't work, and I tried referencing it
in
 my
  classpath upon startup like this:
  java -cp=d:/orion/fwrk/allsrc.jar -jar orion.jar
 
  Nothing seems to work!!  The only way I can get my servlet to
successfully
  run is to unjar all of my classes into my web-inf/classes directory, and
I
  don't want to do that.
 
  So, where do I put my allsrc.jar so my servlet can find the classes it
 needs
  to run??
 
  thanks,
  Dan
 
 
  _
  Chat with friends online, try MSN Messenger: http://messenger.msn.com
 
 
 







Re: classpath issues??

2002-02-07 Thread Scott Farquhar

You may be interested in this documentation on classloaders in Orion:

   http://kb.atlassian.com/content/atlassian/howto/classloaders.jsp

Cheers,
Scott

Scott Farquhar :: [EMAIL PROTECTED]

Atlassian :: http://www.atlassian.com
  Supporting YOUR J2EE World


Jorge Jimenez C wrote:

 Another way of doing this:
 
 If your helper classes are part of a common library (i.e. may be used from
 other applications) you can put the jar in the orion/lib directory to
 maintain just one copy. I'm not sure if J2EE specifications says something
 about it, but it works in all servers I know.
 
 JJ
 
 - Original Message -
 From: Jacky Cheung [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Thursday, February 07, 2002 1:41 AM
 Subject: Re: classpath issues??
 
 
 
You can put allsrc.jar under WEB-INF/lib of your webapp. Or you can put

 the
 
jar in ear and add an entry Class-Path: allsrc.jar in the manifest file

 of
 
the ear.

Best regards,
Jacky

- Original Message -
From: Dan Ascheman [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, February 07, 2002 10:24 AM
Subject: classpath issues??



Ok, I've created an application (.ear file) which has successfully been
deployed, BUT my servlet in my .war file blows up on a runtime exception
because it can't find it's base class, or helper classes.
I have a .jar file called allsrc.jar that contains all classes in my
system, and that resides in my .ear file - I thought that would be

 enough
 
for my servlet to see it, but it's not.  I tried putting the

 allsrc.jar
 
in

my d:\orion directory and it didn't work, and I tried referencing it

 in
 
my

classpath upon startup like this:
java -cp=d:/orion/fwrk/allsrc.jar -jar orion.jar

Nothing seems to work!!  The only way I can get my servlet to

 successfully
 
run is to unjar all of my classes into my web-inf/classes directory, and

 I
 
don't want to do that.

So, where do I put my allsrc.jar so my servlet can find the classes it

needs

to run??

thanks,
Dan


_
Chat with friends online, try MSN Messenger: http://messenger.msn.com





 
 
 


-- 





classpath issues??

2002-02-06 Thread Dan Ascheman

Ok, I've created an application (.ear file) which has successfully been 
deployed, BUT my servlet in my .war file blows up on a runtime exception 
because it can't find it's base class, or helper classes.
I have a .jar file called allsrc.jar that contains all classes in my 
system, and that resides in my .ear file - I thought that would be enough 
for my servlet to see it, but it's not.  I tried putting the allsrc.jar in 
my d:\orion directory and it didn't work, and I tried referencing it in my 
classpath upon startup like this:
java -cp=d:/orion/fwrk/allsrc.jar -jar orion.jar

Nothing seems to work!!  The only way I can get my servlet to successfully 
run is to unjar all of my classes into my web-inf/classes directory, and I 
don't want to do that.

So, where do I put my allsrc.jar so my servlet can find the classes it needs 
to run??

thanks,
Dan


_
Chat with friends online, try MSN Messenger: http://messenger.msn.com





Re: classpath issues??

2002-02-06 Thread Jacky Cheung

You can put allsrc.jar under WEB-INF/lib of your webapp. Or you can put the
jar in ear and add an entry Class-Path: allsrc.jar in the manifest file of
the ear.

Best regards,
Jacky

- Original Message -
From: Dan Ascheman [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, February 07, 2002 10:24 AM
Subject: classpath issues??


 Ok, I've created an application (.ear file) which has successfully been
 deployed, BUT my servlet in my .war file blows up on a runtime exception
 because it can't find it's base class, or helper classes.
 I have a .jar file called allsrc.jar that contains all classes in my
 system, and that resides in my .ear file - I thought that would be enough
 for my servlet to see it, but it's not.  I tried putting the allsrc.jar
in
 my d:\orion directory and it didn't work, and I tried referencing it in
my
 classpath upon startup like this:
 java -cp=d:/orion/fwrk/allsrc.jar -jar orion.jar

 Nothing seems to work!!  The only way I can get my servlet to successfully
 run is to unjar all of my classes into my web-inf/classes directory, and I
 don't want to do that.

 So, where do I put my allsrc.jar so my servlet can find the classes it
needs
 to run??

 thanks,
 Dan


 _
 Chat with friends online, try MSN Messenger: http://messenger.msn.com