Ejbs classPath

2002-05-20 Thread Eslam Mohamed

Hi all 
I have problem in calling remote session bean deployed on OC4J server and lookup on it 
from another server deployed on another OC4J server. I succeed in lookup the remote 
ejb from the caller one but when I typeCast it to the remote interface of the Remote 
EJB it through classCast Exception. To solve this problem I put both the HomeRemote 
Interface of the remote interface on the default classPath of the OC4J server 
j2ee/home/lib so it works but I think this is not the right way so can any one help me 
how to solve it and where we can set a classpath for an appropriate EJB . 




Re: Ejbs classPath (out of office 5/20)

2002-05-20 Thread Jennifer Goree


I will be out of the office on Monday May 20th. 
If you have an emergency problem with the website, please contact Russell Dodds. 

thanks,
Jen





Re: Ejbs classPath

2002-05-20 Thread Jorge Jimenez C

The server that is creating the EJB is acting as a client. So, it has to
know the remote and home interfaces of the EJB as any remote client.

If you expect to use the EJBs in other applications the interfaces, should
be in a shared directory (lib) if it is not the case, you should think to
put them in the jar module.

Good luck.

JJ

- Original Message -
From: Eslam Mohamed [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Monday, May 20, 2002 2:48 AM
Subject: Ejbs classPath


 Hi all
 I have problem in calling remote session bean deployed on OC4J server and
lookup on it from another server deployed on another OC4J server. I succeed
in lookup the remote ejb from the caller one but when I typeCast it to the
remote interface of the Remote EJB it through classCast Exception. To solve
this problem I put both the HomeRemote Interface of the remote interface on
the default classPath of the OC4J server j2ee/home/lib so it works but I
think this is not the right way so can any one help me how to solve it and
where we can set a classpath for an appropriate EJB .







Re: Ejbs classPath (out of office 5/20)

2002-05-20 Thread Jennifer Goree


I will be out of the office on Monday May 20th. 
If you have an emergency problem with the website, please contact Russell Dodds. 

thanks,
Jen





Glue and Orion classpath

2002-05-13 Thread Jon Bricker

I'm trying to set up Glue to work on Orion with an app that will use EJBs.  At
this point I made it a web app( .war file) but when I run it it can not fine
things in javax.ejb.*.

Do I need to make the app into an .ear and add my classes to a jar file as
well?  There are no EJBs in the app but it contacts existing EJBs from another
application. 

=
Jon Bricker

You should never settle for the lesser of two Weasels.

__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com




Re: classpath problem with ear file

2002-04-05 Thread Scott Farquhar

This document is a good overview of classloaders in Orion.

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

What Alex says is basically correct - for classes that need to be 
accessed by your EJBs - either package them in the same jar, or use 
manifest classloading.  You can optionally use a lib include, but that 
is not portable across application servers.

Cheers,
Scott

Alex Paransky wrote:
 Roxanne:
 
  
 
 I am not quite sure that this was the correct solution.  Ideally, you 
 should not have to configure ANY path's in your orion-application.xml 
 file.  The .ear is capable of configuring any dependency you wish. 
 
  
 
 In general, if you have classes which are used only by your EJB's you 
 have 2 options:
 
 1. Package them into the same .JAR file as your EJBs
 
 2. Package them into a separate file and use the classpath in the 
 manifest for your EJB.jar
 
  
 
 To understand why you are having a problem, you need to read a little 
 about how classloaders are used and what is their hierarchy.  (Honestly, 
 I don't remember where I found this information). 
 
  
 
 At the base of it all is the system classloader.  This is the one which 
 uses CLASSPATH environment to identify location of classes.  On top of 
 it is your EJB-ClassLoader for a particular application.  On top of the 
 EJB-class loader is a WEB-ClassLoader for every web application you deploy.
 
  
 
 Thus if you put something into WEB-INF/lib your EJB-ClassLoader will not 
 be able to find it.  This is why you are getting this error.
 
  
 
 Re-evaluate your packaging scheme to avoid ANY library path 
 configuration settings in orion-application.xml  I have developed an 
 application which uses .EAR with a number of .WAR's and a number of EJB 
 .JARs without having to configure any additional paths.  This really 
 makes deployment easy.
 
  
 
 -AP_
 http://www.alexparansky.com http://www.alexparansky.com/
 Java/J2EE Architect/Consultant
 http://www.myprofiles.com/member/view.do?profileId=127
 
 -Original Message-
 *From:* [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]*On Behalf Of *Roxanne
 Tapia
 *Sent:* Thursday, April 04, 2002 7:49 AM
 *To:* Orion-Interest
 *Subject:* Re: classpath problem with ear file
 
 Thanks!  That worked
 
 A further note - for anyone who has the same sort of problem, here's
 what I did;
 
 I changed the orion-application.xml file to say:
 library path=WebModule/WEB-INF/lib/ /
 
 the path is relative to the .ear file, it took me a while to figure
 that out.  I was trying to set the path from the j2ee/home
 directory.  I just didn't get it.  
 
 Thanks again!
 Roxanne
 
 
 
 Thomas Körner wrote:
 
Hi,

it is possible to set a library path in the orion-application.xml, which is
only valid in application. Use the following tag and place your jar-files
into the directory the path points towards.

library path=./lib/ /

Ciao TK
- Original Message -
From: Roxanne Tapia [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Wednesday, April 03, 2002 7:38 PM
Subject: classpath problem with ear file


I am deploying an ear file, which contains a war file.  The war file has
a jar in the WEB-INF/lib directory.

However, when I start the server, and it is deploying the ejb jars in
the same application - it says it can't find the classes in that jar file.

I saw this once before when some ancestor classes weren't found.  My
solution for that was to include those classes in each of the jar files.
  But in that case, there were only a couple of classes.

Is there some sort of initialization step that doesn't include the jars
in the web-inf/lib directory for the J2EE application?  Where do I put
these jars?  I can't put them in j2ee/home/lib, becasuse they could be
different between j2ee apps.

Thanks for your help,
Roxanne






 
 -- 
 
 ===
 Roxanne Tapia
 Bioscience Division (B-1)
 Los Alamos National Laboratory
 505-665-0206
 ===
 
 


-- 
Scott Farquhar :: [EMAIL PROTECTED]

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






Re: classpath problem with ear file

2002-04-04 Thread Roxanne Tapia



Thanks! That worked

A further note - for anyone who has the same sort of problem, here's what
I did;

I changed the orion-application.xml file to say:
 library path="WebModule/WEB-INF/lib/" /

the path is relative to the .ear file, it took me a while to figure that
out. I was trying to set the path from the j2ee/home directory. I just
didn't get it. 

Thanks again!
Roxanne



Thomas Krner wrote:
[EMAIL PROTECTED]">
  Hi,it is possible to set a library path in the orion-application.xml, which isonly valid in application. Use the following tag and place your jar-filesinto the directory the path points towards.library path="./lib/" /Ciao TK- Original Message -From: "Roxanne Tapia" [EMAIL PROTECTED]To: "Orion-Interest" [EMAIL PROTECTED]Sent: Wednesday, April 03, 2002 7:38 PMSubject: classpath problem with ear file
  
I am deploying an ear file, which contains a war file.  The war file hasa jar in the WEB-INF/lib directory.However, when I start the server, and it is deploying the ejb jars inthe same application - it says it can't find the classes in that jar file.I saw this once before when some ancestor classes weren't found.  Mysolution for that was to include those classes in each of the jar files.  But in that case, there were only a couple of classes.Is there some sort of initialization step that doesn't include the jarsin the web-inf/lib directory for the J2EE application?  Where do I putthese jars?  I can't put them in j2ee/home/lib, becasuse they could bedifferent between j2ee apps.Thanks for your help,Roxanne




-- 

===
Roxanne Tapia
Bioscience Division (B-1)
Los Alamos National Laboratory
505-665-0206
===






classpath problem with ear file

2002-04-03 Thread Roxanne Tapia

I am deploying an ear file, which contains a war file.  The war file has 
a jar in the WEB-INF/lib directory.

However, when I start the server, and it is deploying the ejb jars in 
the same application - it says it can't find the classes in that jar file.

I saw this once before when some ancestor classes weren't found.  My 
solution for that was to include those classes in each of the jar files. 
  But in that case, there were only a couple of classes.

Is there some sort of initialization step that doesn't include the jars 
in the web-inf/lib directory for the J2EE application?  Where do I put 
these jars?  I can't put them in j2ee/home/lib, becasuse they could be 
different between j2ee apps.

Thanks for your help,
Roxanne





Re: classpath problem with ear file

2002-04-03 Thread Thomas Körner

Hi,

it is possible to set a library path in the orion-application.xml, which is
only valid in application. Use the following tag and place your jar-files
into the directory the path points towards.

library path=./lib/ /

Ciao TK
- Original Message -
From: Roxanne Tapia [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Wednesday, April 03, 2002 7:38 PM
Subject: classpath problem with ear file


 I am deploying an ear file, which contains a war file.  The war file has
 a jar in the WEB-INF/lib directory.

 However, when I start the server, and it is deploying the ejb jars in
 the same application - it says it can't find the classes in that jar file.

 I saw this once before when some ancestor classes weren't found.  My
 solution for that was to include those classes in each of the jar files.
   But in that case, there were only a couple of classes.

 Is there some sort of initialization step that doesn't include the jars
 in the web-inf/lib directory for the J2EE application?  Where do I put
 these jars?  I can't put them in j2ee/home/lib, becasuse they could be
 different between j2ee apps.

 Thanks for your help,
 Roxanne








RE: Problems configurating classpath

2002-02-19 Thread John Creaner



All,


I have 
a small question, I am currently having a problem with orion. The problem is 
that it doesn't seem to be taking advantage of the machine 
that
it 
situated on. 
The 
question is how or is it possible to configure orion to take advantage of the 
machine that it is placed on top of ?

Thanks


Re: Problems configurating classpath

2002-02-19 Thread Lachezar Dobrev



 If you want to squeeze everything out of 
your processor you might want to check the "java" startup parameters in order to 
highen up memory usage. Also if you are running under Win2k you might want to 
give higher priority to the java process, that orion is running within. On Linux 
it is even easier.

 lachezar


  - Original Message - 
  From: 
  John 
  Creaner 
  To: Orion-Interest 
  Sent: Tuesday, February 19, 2002 11:58 
  AM
  Subject: RE: Problems configurating 
  classpath
  
  All,
  
  
  I 
  have a small question, I am currently having a problem with orion. The problem 
  is that it doesn't seem to be taking advantage of the machine 
  that
  it 
  situated on. 
  The 
  question is how or is it possible to configure orion to take advantage of the 
  machine that it is placed on top of ?
  
  Thanks


Re: Problems configurating classpath

2002-02-18 Thread Stephen Davidson

Luis María Ruiz del Portal Lázaro wrote:

 Hi all, i try to run fop in OC4J (with orion.jar). I have downloaded the 
 jaxp winter package from sun that contains the xerces.jar and xalan.jar 
 files.
 
 The classpath of orion has this order ejb.jar, jndi.jar, jdbc.jar, 
 jta.jar, jaxp.jar, crimson.jar, xalan.jar, saxon.jar, tools.jar, 
 jsse.jar, jnet.jar, jcert.jar, activation.jar
 
 and then xerces.jar. I have updated the xalan and xerces.jar of the 
 server but it not runs fine (the pdf file generated has 0 KB).
 
 When i tested fop in Tomcat, i had to delete parser and jaxp.jar and to 
 put xerces-1.2.3.jar, xalan-2.0.0.jar at the beginning of tomcat 
 classpath and it runs fine.
 
  
 
 What i've i got to do in the classpath to run fop correctly??
 
 Are xerces-1.2.3,xalan-2.0.0 from apache the same libraries than xerces 
 and xalan.jar form the Sun jaxp winter package??
 
  
 
 Thanks, i've this problem since three weeks ago and i don't know what to do.
 

I wound up putting the fop.jar file in the Orion/lib directory.

-Steve

-- 
Stephen Davidson
Java Consultant
Delphi Consultants, LLC
http://www.delphis.com
Phone: 214-696-6224 x208





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








Trivial classpath problem ?

2002-01-13 Thread Yuval_Goldstein


Hi,
Although this is an oc4j question ( oracles wrapper for orion ), im sure
some of you would be able to help me ( the engines are the same down there
:).
Ive tried adding a new jar to oc4js classpath. Our application depends on
this jar.
I couldnt.
Ive tried adding the jar as a 'library-path' tag within the server.xml.
Then added it to the command line running oc4j ( -cp =  ). It didnt do
the trick.
Ive only made some progress when putting it straight into oc4js lib
directory.
Im confused.
1. What does the 'library-path' tab enable?
2. Whats the difference between using it and supplying jars to the oc4js
runtime classpath ( -cp ).
3. What is the recommended way, to simply add a jar upon my application
depends of?

Any help would be apreceated,
Yuval.







RE: Trivial classpath problem ?

2002-01-13 Thread The elephantwalker

Yuval,

In your orion-application.xml of your ear application, you can put this tag:

library path=lib /

This is after the persistance tag and before the principals tag.

In your ear layout, include a directory lib, so now the layout should look
like this:

META-INF
META-INF/application.xml
META-INF/orion-application.xml
mywarfiles.war
myejbfiles.jar
lib
lib/mylibraryfiles.jar


The reason orion was picking up your jar files from the lib directory in
orion is that the config/application.xml (which is the orion-application.xml
of the global-application, or default app as it is sometimes called) has a
tag in it

libarary path=../lib /

regards,

the elephantwalker
www.elephantwalker.com





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: Saturday, January 12, 2002 11:36 PM
To: Orion-Interest
Cc: [EMAIL PROTECTED]
Subject: Trivial classpath problem ?



Hi,
Although this is an oc4j question ( oracles wrapper for orion ), im sure
some of you would be able to help me ( the engines are the same down there
:).
Ive tried adding a new jar to oc4js classpath. Our application depends on
this jar.
I couldnt.
Ive tried adding the jar as a 'library-path' tag within the server.xml.
Then added it to the command line running oc4j ( -cp =  ). It didnt do
the trick.
Ive only made some progress when putting it straight into oc4js lib
directory.
Im confused.
1. What does the 'library-path' tab enable?
2. Whats the difference between using it and supplying jars to the oc4js
runtime classpath ( -cp ).
3. What is the recommended way, to simply add a jar upon my application
depends of?

Any help would be apreceated,
Yuval.








Re: Trivial classpath problem ?

2002-01-13 Thread Scott Farquhar

Yuval,

The following new tutorial on our knowledge base may help you:

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

It details all the different levels of classloaders available in Orion. 
  Please feel free to annotate the page with any comments:

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



Cheers,
Scott

-- 
Scott Farquhar :: [EMAIL PROTECTED]

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




[EMAIL PROTECTED] wrote:

 Hi,
 Although this is an oc4j question ( oracles wrapper for orion ), im sure
 some of you would be able to help me ( the engines are the same down there
 :).
 Ive tried adding a new jar to oc4js classpath. Our application depends on
 this jar.
 I couldnt.
 Ive tried adding the jar as a 'library-path' tag within the server.xml.
 Then added it to the command line running oc4j ( -cp =  ). It didnt do
 the trick.
 Ive only made some progress when putting it straight into oc4js lib
 directory.
 Im confused.
 1. What does the 'library-path' tab enable?
 2. Whats the difference between using it and supplying jars to the oc4js
 runtime classpath ( -cp ).
 3. What is the recommended way, to simply add a jar upon my application
 depends of?
 
 Any help would be apreceated,
 Yuval.
 
 
 
 
 
 






Newbie classpath problem - please help

2001-09-27 Thread Derek_Hardy




I've installed Orion 1.5.2 on my Windows NT4 development machine.

I have a system classpath that points to lots of standard classes, for
utilities, etc.

If I start Orion with the command java -jar orion.jar then it doesn't pick
anything up from the classpath,
if on the otherhand I start Orion with the command java -jar -cp %CLASSPATH%
orion.jar then I get a java.util.zip.ZipException error
with the following message The filename, directory name, or volume label syntax
is incorrect

Do I need to set the classpath elsewhere?

Thanks







E-mail communication is not secure and may be intercepted by a third party. This 
message is confidential to the intended addressee. If you are not the intended 
addressee, please inform us immediately and then delete this message. Virgin 
Direct does not accept responsibility for changes made to this message after it
was sent. Although Virgin Direct believes this e-mail is free of any virus or other
defect which may affect a computer, it is the responsibility of the recipient to 
ensure 
that it is virus free and Virgin Direct does not accept any responsibility for any 
loss 
or damage arising in any way from it's use.

Virgin Direct Personal Financial Service Ltd is regulated by the Personal 
Investment Authority for life insurance, pension and unit trust business and 
represents only the Virgin Direct marketing group. Registered office: Discovery
House, Whiting Road, Norwich NR4 6EJ, UK. Registered in England No. 3072766.

The Virgin One account is a secured personal bank account with The Royal Bank 
of Scotland plc. It is provided by Virgin Direct Personal Finance Ltd which is
a representative only of Virgin Direct Personal Financial Service Ltd. 
Registered office: Waterhouse Square, 138-142 Holborn, London EC1N 2TH, UK. 
Registered in England no 3414708.

The Virgin Deposit Account is a personal deposit account with The Royal Bank of 
Scotland plc administered by Virgin Direct Personal Financial Service Ltd.

All telephone calls are recorded and may be monitored. 







RE: Newbie classpath problem - please help

2001-09-27 Thread SAURUGGER,PETER (A-PaloAlto,ex2)

-cp does not work in conjunction with -jar. The jar file gets its class path
from the manifest file. 

You can drop jars into the the implicit classpath at your jre/lib/ext. I
have not tried it, but Orions classloader may pick up jars in the Orion
directory. 

For your applications, you can specify a lib directory in application.xml
library path=.../; for web applications WEB-INF/lib will do.

--peter

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 27, 2001 2:48 AM
To: Orion-Interest
Subject: Newbie classpath problem - please help





I've installed Orion 1.5.2 on my Windows NT4 development machine.

I have a system classpath that points to lots of standard classes, for
utilities, etc.

If I start Orion with the command java -jar orion.jar then it doesn't pick
anything up from the classpath,
if on the otherhand I start Orion with the command java -jar -cp
%CLASSPATH%
orion.jar then I get a java.util.zip.ZipException error
with the following message The filename, directory name, or volume label
syntax
is incorrect

Do I need to set the classpath elsewhere?

Thanks








E-mail communication is not secure and may be intercepted by a third party.
This 
message is confidential to the intended addressee. If you are not the
intended 
addressee, please inform us immediately and then delete this message. Virgin

Direct does not accept responsibility for changes made to this message after
it
was sent. Although Virgin Direct believes this e-mail is free of any virus
or other
defect which may affect a computer, it is the responsibility of the
recipient to ensure 
that it is virus free and Virgin Direct does not accept any responsibility
for any loss 
or damage arising in any way from it's use.

Virgin Direct Personal Financial Service Ltd is regulated by the Personal 
Investment Authority for life insurance, pension and unit trust business and

represents only the Virgin Direct marketing group. Registered office:
Discovery
House, Whiting Road, Norwich NR4 6EJ, UK. Registered in England No. 3072766.

The Virgin One account is a secured personal bank account with The Royal
Bank 
of Scotland plc. It is provided by Virgin Direct Personal Finance Ltd which
is
a representative only of Virgin Direct Personal Financial Service Ltd. 
Registered office: Waterhouse Square, 138-142 Holborn, London EC1N 2TH, UK. 
Registered in England no 3414708.

The Virgin Deposit Account is a personal deposit account with The Royal Bank
of 
Scotland plc administered by Virgin Direct Personal Financial Service Ltd.

All telephone calls are recorded and may be monitored. 








Re: Newbie classpath problem - please help

2001-09-27 Thread Joe Sackett

Derek,

In server.xml
Use:
  library path=c:\java\jdk1.3.1\lib\tools.jar/
to include shared jars in Orion's environment.
You can also deploy classes as J2EE applications:
  application name=TestApp path=d:\Projects\Test\TestApp.ear/

- Joe

-Original Message-
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Date: Thursday, September 27, 2001 10:32 AM
Subject: Newbie classpath problem - please help





I've installed Orion 1.5.2 on my Windows NT4 development machine.

I have a system classpath that points to lots of standard classes, for
utilities, etc.

If I start Orion with the command java -jar orion.jar then it doesn't
pick
anything up from the classpath,
if on the otherhand I start Orion with the command java -jar -cp
%CLASSPATH%
orion.jar then I get a java.util.zip.ZipException error
with the following message The filename, directory name, or volume label
syntax
is incorrect

Do I need to set the classpath elsewhere?

Thanks





***
*

E-mail communication is not secure and may be intercepted by a third party.
This
message is confidential to the intended addressee. If you are not the
intended
addressee, please inform us immediately and then delete this message.
Virgin
Direct does not accept responsibility for changes made to this message
after it
was sent. Although Virgin Direct believes this e-mail is free of any virus
or other
defect which may affect a computer, it is the responsibility of the
recipient to ensure
that it is virus free and Virgin Direct does not accept any responsibility
for any loss
or damage arising in any way from it's use.

Virgin Direct Personal Financial Service Ltd is regulated by the Personal
Investment Authority for life insurance, pension and unit trust business
and
represents only the Virgin Direct marketing group. Registered office:
Discovery
House, Whiting Road, Norwich NR4 6EJ, UK. Registered in England No.
3072766.

The Virgin One account is a secured personal bank account with The Royal
Bank
of Scotland plc. It is provided by Virgin Direct Personal Finance Ltd which
is
a representative only of Virgin Direct Personal Financial Service Ltd.
Registered office: Waterhouse Square, 138-142 Holborn, London EC1N 2TH, UK.
Registered in England no 3414708.

The Virgin Deposit Account is a personal deposit account with The Royal
Bank of
Scotland plc administered by Virgin Direct Personal Financial Service Ltd.

All telephone calls are recorded and may be monitored.


***
*






Re: Newbie classpath problem - please help

2001-09-27 Thread Dmitriy Serebryakov

check doc on orion-web.xml

DS
- Original Message -
From: [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, September 27, 2001 5:47 AM
Subject: Newbie classpath problem - please help





 I've installed Orion 1.5.2 on my Windows NT4 development machine.

 I have a system classpath that points to lots of standard classes, for
 utilities, etc.

 If I start Orion with the command java -jar orion.jar then it doesn't
pick
 anything up from the classpath,
 if on the otherhand I start Orion with the command java -jar -cp
%CLASSPATH%
 orion.jar then I get a java.util.zip.ZipException error
 with the following message The filename, directory name, or volume label
syntax
 is incorrect

 Do I need to set the classpath elsewhere?

 Thanks









 E-mail communication is not secure and may be intercepted by a third
party. This
 message is confidential to the intended addressee. If you are not the
intended
 addressee, please inform us immediately and then delete this message.
Virgin
 Direct does not accept responsibility for changes made to this message
after it
 was sent. Although Virgin Direct believes this e-mail is free of any virus
or other
 defect which may affect a computer, it is the responsibility of the
recipient to ensure
 that it is virus free and Virgin Direct does not accept any responsibility
for any loss
 or damage arising in any way from it's use.

 Virgin Direct Personal Financial Service Ltd is regulated by the Personal
 Investment Authority for life insurance, pension and unit trust business
and
 represents only the Virgin Direct marketing group. Registered office:
Discovery
 House, Whiting Road, Norwich NR4 6EJ, UK. Registered in England No.
3072766.

 The Virgin One account is a secured personal bank account with The Royal
Bank
 of Scotland plc. It is provided by Virgin Direct Personal Finance Ltd
which is
 a representative only of Virgin Direct Personal Financial Service Ltd.
 Registered office: Waterhouse Square, 138-142 Holborn, London EC1N 2TH,
UK.
 Registered in England no 3414708.

 The Virgin Deposit Account is a personal deposit account with The Royal
Bank of
 Scotland plc administered by Virgin Direct Personal Financial Service Ltd.

 All telephone calls are recorded and may be monitored.












Re: Classpath Structure Problem ?

2001-09-24 Thread Kesav Kumar

How do you load your class dynamically?  Are you loading your class from the
application's class loader or the system classloader?

Try to load the class from the application's class loader by the following
method

Thread.currentThread().getContextClassLoader().loadClass();

the above method tries to find the class from the current context which will
give you the application's classloader.

- Original Message -
From: [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Sunday, September 23, 2001 7:36 PM
Subject: Classpath Structure Problem ?


 SYMPTOMS
  When I invoke my webapp, the first request to the server causes
 the front servlet to throw a class-def-not-found exception for the app's
 session class, which it loads dynamically. The class in question is in
 fact present in the app's war file, in the web-inf classes directory.

 To nail the problem down, I printed the jvm's class path, immediately
 before the attempt to load the session class. With newline chars
 inserted after each ';' for legibility, the classpath looks like this:

 classpath: orion.jar;
 C:\j2ee\home\ejb.jar;
 C:\j2ee\home\activation.jar;
 C:\j2ee\home\jdbc.jar;
 C:\j2ee\home\jndi.jar;
 C:\j2ee\home\jta.jar;
 C:\j2ee\home\mail.jar;
 C:\j2ee\home\xerces.jar;
 C:\j2ee\home\tools.jar;
 C:\j2ee\home\lib;
 C:\j2ee\home\lib\aplWeb.jar;
 C:\j2ee\home\lib\classes12.jar;
 C:\j2ee\home\lib\p6spy.jar;
 C:\j2ee\home\applications\podAdmin-eap\podAdmin-ejb.jar;
 ;
 C:\j2ee\home\applications\podAdmin-eap\podAdmin-web\WEB-INF\classes

 The not-found class resides in the WEB-INF/classes directory, which
 for a reason not known to me, has a null element immediately
 before it on the classpath. Everything else on the
 classpath looks reasonable to me.

 QUESTIONS
  Would this null element hide my app
 classes from the system class loader ?

 If the null element is to blame how might it have gotten into the
 class path ?

 BACKGROUND (The only thing I did was ...)
 -- This app used to work, before I refactored my ejb classes
 into an abstract superclass and app-specific subclasses. The super
 class implements connection to a single datasource, and a few generic
 business methods such as getDbDate(), getDbName(), etc. Concrete
 subclasses implement the app-specific business methods. Everything
 runs smoothly during build and deploy of the ear file, then at run
 time the class-loading problem shows up.

 SPECULATION
 --- Given that orion builds the runtime classpath
 for an application, and that it generates stubs and skeletons from
 ejb remote interface class files, is my refactored config of classes the
 problem ?  The null entry on the path comes right after the entry
 inserted by Orion for my ejb jar.

 Does orion (or the spec) constrain how an ejb Remote and
 Bean are configured ? Can they be split into super and sub-classes ?

 Should I report this as a bug ?

 DETAILS
 ---  The exception thrown is:
   java.lang.ClassNotFoundException: com.allipl.podadmin.PodAdminSession

   The war file structure (per winzip) contains:
  PodAdminSession.classJava Class  09/23/2001 6:23 PM
 WEB-INF\classes\com\allipl\podadmin\
  PodAdminStateMachine.class   Java Class  09/23/2001 6:23 PM
 WEB-INF\classes\com\allipl\podadmin\

 Thanks in advance for any suggestions or diagnosis,

 Bill.






Subject: Classpath Structure Error?

2001-09-23 Thread bill . winspur

SYMPTOMS
 When I invoke my webapp, the first request to the server causes
the front servlet to throw a class-def-not-found exception for the app's
session class, which it loads dynamically. The class in question is in
fact present in the app's war file, in the web-inf classes directory.

To nail the problem down, I printed the jvm's class path, immediately
before the attempt to load the session class. With newline chars
inserted after each ';' for legibility, the classpath looks like this:

classpath: orion.jar;
C:\j2ee\home\ejb.jar;
C:\j2ee\home\activation.jar;
C:\j2ee\home\jdbc.jar;
C:\j2ee\home\jndi.jar;
C:\j2ee\home\jta.jar;
C:\j2ee\home\mail.jar;
C:\j2ee\home\xerces.jar;
C:\j2ee\home\tools.jar;
C:\j2ee\home\lib;
C:\j2ee\home\lib\aplWeb.jar;
C:\j2ee\home\lib\classes12.jar;
C:\j2ee\home\lib\p6spy.jar;
C:\j2ee\home\applications\podAdmin-eap\podAdmin-ejb.jar;
;
C:\j2ee\home\applications\podAdmin-eap\podAdmin-web\WEB-INF\classes

The not-found class resides in the WEB-INF/classes directory, which
for a reason not known to me, has a null element immediately
before it on the classpath. Everything else on the
classpath looks reasonable to me.

QUESTIONS
 Would this null element hide my app
classes from the system class loader ?

If the null element is to blame how might it have gotten into the
class path ?

BACKGROUND (The only thing I did was ...)
-- This app used to work, before I refactored my ejb classes
into an abstract superclass and app-specific subclasses. The super
class implements connection to a single datasource, and a few generic
business methods such as getDbDate(), getDbName(), etc. Concrete
subclasses implement the app-specific business methods. Everything
runs smoothly during build and deploy of the ear file, then at run
time the class-loading problem shows up.

SPECULATION
--- Given that orion builds the runtime classpath
for an application, and that it generates stubs and skeletons from
ejb remote interface class files, is my refactored config of classes the
problem ?  The null entry on the path comes right after the entry
inserted by Orion for my ejb jar.

Does orion (or the spec) constrain how an ejb Remote and
Bean are configured ? Can they be split into super and sub-classes ?

Should I report this as a bug ?

DETAILS
---  The exception thrown is:
  java.lang.ClassNotFoundException: com.allipl.podadmin.PodAdminSession

  The war file structure (per winzip) contains:
 PodAdminSession.classJava Class  09/23/2001 6:23 PM
WEB-INF\classes\com\allipl\podadmin\
 PodAdminStateMachine.class   Java Class  09/23/2001 6:23 PM
WEB-INF\classes\com\allipl\podadmin\

Thanks in advance for any suggestions or diagnosis,

Bill.




Classpath Structure Problem ?

2001-09-23 Thread bill . winspur

SYMPTOMS
 When I invoke my webapp, the first request to the server causes
the front servlet to throw a class-def-not-found exception for the app's
session class, which it loads dynamically. The class in question is in
fact present in the app's war file, in the web-inf classes directory.

To nail the problem down, I printed the jvm's class path, immediately
before the attempt to load the session class. With newline chars
inserted after each ';' for legibility, the classpath looks like this:

classpath: orion.jar;
C:\j2ee\home\ejb.jar;
C:\j2ee\home\activation.jar;
C:\j2ee\home\jdbc.jar;
C:\j2ee\home\jndi.jar;
C:\j2ee\home\jta.jar;
C:\j2ee\home\mail.jar;
C:\j2ee\home\xerces.jar;
C:\j2ee\home\tools.jar;
C:\j2ee\home\lib;
C:\j2ee\home\lib\aplWeb.jar;
C:\j2ee\home\lib\classes12.jar;
C:\j2ee\home\lib\p6spy.jar;
C:\j2ee\home\applications\podAdmin-eap\podAdmin-ejb.jar;
;
C:\j2ee\home\applications\podAdmin-eap\podAdmin-web\WEB-INF\classes

The not-found class resides in the WEB-INF/classes directory, which
for a reason not known to me, has a null element immediately
before it on the classpath. Everything else on the
classpath looks reasonable to me.

QUESTIONS
 Would this null element hide my app
classes from the system class loader ?

If the null element is to blame how might it have gotten into the
class path ?

BACKGROUND (The only thing I did was ...)
-- This app used to work, before I refactored my ejb classes
into an abstract superclass and app-specific subclasses. The super
class implements connection to a single datasource, and a few generic
business methods such as getDbDate(), getDbName(), etc. Concrete
subclasses implement the app-specific business methods. Everything
runs smoothly during build and deploy of the ear file, then at run
time the class-loading problem shows up.

SPECULATION
--- Given that orion builds the runtime classpath
for an application, and that it generates stubs and skeletons from
ejb remote interface class files, is my refactored config of classes the
problem ?  The null entry on the path comes right after the entry
inserted by Orion for my ejb jar.

Does orion (or the spec) constrain how an ejb Remote and
Bean are configured ? Can they be split into super and sub-classes ?

Should I report this as a bug ?

DETAILS
---  The exception thrown is:
  java.lang.ClassNotFoundException: com.allipl.podadmin.PodAdminSession

  The war file structure (per winzip) contains:
 PodAdminSession.classJava Class  09/23/2001 6:23 PM
WEB-INF\classes\com\allipl\podadmin\
 PodAdminStateMachine.class   Java Class  09/23/2001 6:23 PM
WEB-INF\classes\com\allipl\podadmin\

Thanks in advance for any suggestions or diagnosis,

Bill.





Stupid CLASSPATH and Oracle JDBC drivers. Need help!

2001-09-19 Thread Dan Lee

Hi All,

I simply trying to get Orion to see my Oracle JDBC drivers!! I've placed 
my classes12.zip in the [ORION_HOME]/lib directory but it cannot see it. 
I've also tried previous posted suggestions of modifying the shell 
$CLASSPATH variable and the library path located in the application.xml 
file. I have no problems on my Intel Win 2000 platform running Java 2 
SDK 1.3.1-b24 and Orion 1.5.2. My problems are occurring on a PA-RISC 
platform running: Java(TM) 2 Runtime Environment, Standard Edition 
(build 1.3.1.01-release-010816-12:37)
Java HotSpot(TM) Server VM (build 1.3.1 
1.3.1.01-release-010816-13:34-PA_RISC2.0 PA2.0, mixed mode).

I'm also using the same classes12.zip on both machines. I get the 
following error upon server startup:

   Error initializing data-source 'jdbc/OracleDSCore': 
DriverManagerDataSource driver 'oracle.jdbc.driverd.'

Upon a login attempt to my app, which tries to use the Oracle 
Datasource, I get the following:
   2001-09-17 17:18:12,498 [ApplicationServerThread] ERROR 
java.lang.Class - SQL Exception during getting userinfo
java.sql.SQLException: No suitable driver
   at java.sql.DriverManager.getConnection(DriverManager.java:537)
   at java.sql.DriverManager.getConnection(DriverManager.java:177)
   at com.evermind.sql.DriverManagerDataSource.getConnection(Unknown 
Source)
   at 
com.sprint.framework.rdbms.RDBMSUtility.getConnection(RDBMSUtility.java:297) 

   at com.sprint.nsp.auth.UserManager.getUserInfo(UserManager.java:41)
   at 
com.sprint.nsp.auth.LoginController.isValid(LoginController.java:94)
   at 
__jspPage1_Authenticate_jsp._jspService(__jspPage1_Authenticate_jsp.java:84) 

   at com.orionserver.http.OrionHttpJspPage.service(Unknown Source)
   at com.evermind._ah._rad(Unknown Source)
   at com.evermind.server.http.JSPServlet.service(Unknown Source)
   at com.evermind._cxb._abe(Unknown Source)
   at com.evermind._cxb._uec(Unknown Source)
   at com.evermind._io._twc(Unknown Source)
   at com.evermind._io._gc(Unknown Source)
   at com.evermind._if.run(Unknown Source)
Database error, Please try again. br If problem persist please contact 
administrator.

Everything works OK if I unzip the JDBC drivers into the /lib 
directory...but this is a hack would like to know why it won't pick up 
my ZIP file. It works with other JARs I put inarghhg!

Any help is MUCH appreciated.
--Dan









RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help!

2001-09-19 Thread Mike Fontenot

We had to put the Oracle jar/zip file into the JRE/lib/ext directory to be
recognized on Win2K and solaris. We never figured out why this is the case.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Dan Lee
Sent: Wednesday, September 19, 2001 10:44 AM
To: Orion-Interest
Subject: Stupid CLASSPATH and Oracle JDBC drivers. Need help!


Hi All,

I simply trying to get Orion to see my Oracle JDBC drivers!! I've placed
my classes12.zip in the [ORION_HOME]/lib directory but it cannot see it.
I've also tried previous posted suggestions of modifying the shell
$CLASSPATH variable and the library path located in the application.xml
file. I have no problems on my Intel Win 2000 platform running Java 2
SDK 1.3.1-b24 and Orion 1.5.2. My problems are occurring on a PA-RISC
platform running: Java(TM) 2 Runtime Environment, Standard Edition
(build 1.3.1.01-release-010816-12:37)
Java HotSpot(TM) Server VM (build 1.3.1
1.3.1.01-release-010816-13:34-PA_RISC2.0 PA2.0, mixed mode).

I'm also using the same classes12.zip on both machines. I get the
following error upon server startup:

   Error initializing data-source 'jdbc/OracleDSCore':
DriverManagerDataSource driver 'oracle.jdbc.driverd.'

Upon a login attempt to my app, which tries to use the Oracle
Datasource, I get the following:
   2001-09-17 17:18:12,498 [ApplicationServerThread] ERROR
java.lang.Class - SQL Exception during getting userinfo
java.sql.SQLException: No suitable driver
   at java.sql.DriverManager.getConnection(DriverManager.java:537)
   at java.sql.DriverManager.getConnection(DriverManager.java:177)
   at com.evermind.sql.DriverManagerDataSource.getConnection(Unknown
Source)
   at
com.sprint.framework.rdbms.RDBMSUtility.getConnection(RDBMSUtility.java:297)

   at com.sprint.nsp.auth.UserManager.getUserInfo(UserManager.java:41)
   at
com.sprint.nsp.auth.LoginController.isValid(LoginController.java:94)
   at
__jspPage1_Authenticate_jsp._jspService(__jspPage1_Authenticate_jsp.java:84)

   at com.orionserver.http.OrionHttpJspPage.service(Unknown Source)
   at com.evermind._ah._rad(Unknown Source)
   at com.evermind.server.http.JSPServlet.service(Unknown Source)
   at com.evermind._cxb._abe(Unknown Source)
   at com.evermind._cxb._uec(Unknown Source)
   at com.evermind._io._twc(Unknown Source)
   at com.evermind._io._gc(Unknown Source)
   at com.evermind._if.run(Unknown Source)
Database error, Please try again. br If problem persist please contact
administrator.

Everything works OK if I unzip the JDBC drivers into the /lib
directory...but this is a hack would like to know why it won't pick up
my ZIP file. It works with other JARs I put inarghhg!

Any help is MUCH appreciated.
--Dan











RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help!

2001-09-19 Thread The elephantwalker

How do you start orion?

should be

java -jar orion.jar

anything else may defeat the orion.jar class loader, which actually loads
the *.jar and *.zip from the orion/lib directory.

regards,

the elephantwalker
www.elephantwalker.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mike Fontenot
Sent: Wednesday, September 19, 2001 10:34 AM
To: Orion-Interest
Subject: RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help!


We had to put the Oracle jar/zip file into the JRE/lib/ext directory to be
recognized on Win2K and solaris. We never figured out why this is the case.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Dan Lee
Sent: Wednesday, September 19, 2001 10:44 AM
To: Orion-Interest
Subject: Stupid CLASSPATH and Oracle JDBC drivers. Need help!


Hi All,

I simply trying to get Orion to see my Oracle JDBC drivers!! I've placed
my classes12.zip in the [ORION_HOME]/lib directory but it cannot see it.
I've also tried previous posted suggestions of modifying the shell
$CLASSPATH variable and the library path located in the application.xml
file. I have no problems on my Intel Win 2000 platform running Java 2
SDK 1.3.1-b24 and Orion 1.5.2. My problems are occurring on a PA-RISC
platform running: Java(TM) 2 Runtime Environment, Standard Edition
(build 1.3.1.01-release-010816-12:37)
Java HotSpot(TM) Server VM (build 1.3.1
1.3.1.01-release-010816-13:34-PA_RISC2.0 PA2.0, mixed mode).

I'm also using the same classes12.zip on both machines. I get the
following error upon server startup:

   Error initializing data-source 'jdbc/OracleDSCore':
DriverManagerDataSource driver 'oracle.jdbc.driverd.'

Upon a login attempt to my app, which tries to use the Oracle
Datasource, I get the following:
   2001-09-17 17:18:12,498 [ApplicationServerThread] ERROR
java.lang.Class - SQL Exception during getting userinfo
java.sql.SQLException: No suitable driver
   at java.sql.DriverManager.getConnection(DriverManager.java:537)
   at java.sql.DriverManager.getConnection(DriverManager.java:177)
   at com.evermind.sql.DriverManagerDataSource.getConnection(Unknown
Source)
   at
com.sprint.framework.rdbms.RDBMSUtility.getConnection(RDBMSUtility.java:297)

   at com.sprint.nsp.auth.UserManager.getUserInfo(UserManager.java:41)
   at
com.sprint.nsp.auth.LoginController.isValid(LoginController.java:94)
   at
__jspPage1_Authenticate_jsp._jspService(__jspPage1_Authenticate_jsp.java:84)

   at com.orionserver.http.OrionHttpJspPage.service(Unknown Source)
   at com.evermind._ah._rad(Unknown Source)
   at com.evermind.server.http.JSPServlet.service(Unknown Source)
   at com.evermind._cxb._abe(Unknown Source)
   at com.evermind._cxb._uec(Unknown Source)
   at com.evermind._io._twc(Unknown Source)
   at com.evermind._io._gc(Unknown Source)
   at com.evermind._if.run(Unknown Source)
Database error, Please try again. br If problem persist please contact
administrator.

Everything works OK if I unzip the JDBC drivers into the /lib
directory...but this is a hack would like to know why it won't pick up
my ZIP file. It works with other JARs I put inarghhg!

Any help is MUCH appreciated.
--Dan












RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help!

2001-09-19 Thread Mike Fontenot

Using:

java -server -Xincgc -Xms70m -Xmx128m -jar ./orion.jar -out ./orion.log

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of The
elephantwalker
Sent: Wednesday, September 19, 2001 11:56 AM
To: Orion-Interest
Subject: RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help!


How do you start orion?

should be

java -jar orion.jar

anything else may defeat the orion.jar class loader, which actually loads
the *.jar and *.zip from the orion/lib directory.

regards,

the elephantwalker
www.elephantwalker.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mike Fontenot
Sent: Wednesday, September 19, 2001 10:34 AM
To: Orion-Interest
Subject: RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help!


We had to put the Oracle jar/zip file into the JRE/lib/ext directory to be
recognized on Win2K and solaris. We never figured out why this is the case.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Dan Lee
Sent: Wednesday, September 19, 2001 10:44 AM
To: Orion-Interest
Subject: Stupid CLASSPATH and Oracle JDBC drivers. Need help!


Hi All,

I simply trying to get Orion to see my Oracle JDBC drivers!! I've placed
my classes12.zip in the [ORION_HOME]/lib directory but it cannot see it.
I've also tried previous posted suggestions of modifying the shell
$CLASSPATH variable and the library path located in the application.xml
file. I have no problems on my Intel Win 2000 platform running Java 2
SDK 1.3.1-b24 and Orion 1.5.2. My problems are occurring on a PA-RISC
platform running: Java(TM) 2 Runtime Environment, Standard Edition
(build 1.3.1.01-release-010816-12:37)
Java HotSpot(TM) Server VM (build 1.3.1
1.3.1.01-release-010816-13:34-PA_RISC2.0 PA2.0, mixed mode).

I'm also using the same classes12.zip on both machines. I get the
following error upon server startup:

   Error initializing data-source 'jdbc/OracleDSCore':
DriverManagerDataSource driver 'oracle.jdbc.driverd.'

Upon a login attempt to my app, which tries to use the Oracle
Datasource, I get the following:
   2001-09-17 17:18:12,498 [ApplicationServerThread] ERROR
java.lang.Class - SQL Exception during getting userinfo
java.sql.SQLException: No suitable driver
   at java.sql.DriverManager.getConnection(DriverManager.java:537)
   at java.sql.DriverManager.getConnection(DriverManager.java:177)
   at com.evermind.sql.DriverManagerDataSource.getConnection(Unknown
Source)
   at
com.sprint.framework.rdbms.RDBMSUtility.getConnection(RDBMSUtility.java:297)

   at com.sprint.nsp.auth.UserManager.getUserInfo(UserManager.java:41)
   at
com.sprint.nsp.auth.LoginController.isValid(LoginController.java:94)
   at
__jspPage1_Authenticate_jsp._jspService(__jspPage1_Authenticate_jsp.java:84)

   at com.orionserver.http.OrionHttpJspPage.service(Unknown Source)
   at com.evermind._ah._rad(Unknown Source)
   at com.evermind.server.http.JSPServlet.service(Unknown Source)
   at com.evermind._cxb._abe(Unknown Source)
   at com.evermind._cxb._uec(Unknown Source)
   at com.evermind._io._twc(Unknown Source)
   at com.evermind._io._gc(Unknown Source)
   at com.evermind._if.run(Unknown Source)
Database error, Please try again. br If problem persist please contact
administrator.

Everything works OK if I unzip the JDBC drivers into the /lib
directory...but this is a hack would like to know why it won't pick up
my ZIP file. It works with other JARs I put inarghhg!

Any help is MUCH appreciated.
--Dan














AW: Stupid CLASSPATH and Oracle JDBC drivers. Need help!

2001-09-19 Thread Regele, Manfred

Ups,

I had a similar problem with tomcat 4. I renamed classes.zip into
classes.jar.
Its the first time I read this with orion, though.

Manfred Regele 
ADIG Investment GmbH
22 MethodenTools
Richard-Reitzner-Allee 2
85540 Haar
Tel: 089/46268-308
mailto:[EMAIL PROTECTED]
http://www.adig.de

 -Ursprüngliche Nachricht-
 Von:  Dan Lee [SMTP:[EMAIL PROTECTED]]
 Gesendet am:  Mittwoch, 19. September 2001 18:44
 An:   Orion-Interest
 Betreff:  Stupid CLASSPATH and Oracle JDBC drivers. Need help!
 
 Hi All,
 
 I simply trying to get Orion to see my Oracle JDBC drivers!! I've placed 
 my classes12.zip in the [ORION_HOME]/lib directory but it cannot see it. 
 I've also tried previous posted suggestions of modifying the shell 
 $CLASSPATH variable and the library path located in the application.xml 
 file. I have no problems on my Intel Win 2000 platform running Java 2 
 SDK 1.3.1-b24 and Orion 1.5.2. My problems are occurring on a PA-RISC 
 platform running: Java(TM) 2 Runtime Environment, Standard Edition 
 (build 1.3.1.01-release-010816-12:37)
 Java HotSpot(TM) Server VM (build 1.3.1 
 1.3.1.01-release-010816-13:34-PA_RISC2.0 PA2.0, mixed mode).
 
 I'm also using the same classes12.zip on both machines. I get the 
 following error upon server startup:
 
Error initializing data-source 'jdbc/OracleDSCore': 
 DriverManagerDataSource driver 'oracle.jdbc.driverd.'
 
 Upon a login attempt to my app, which tries to use the Oracle 
 Datasource, I get the following:
2001-09-17 17:18:12,498 [ApplicationServerThread] ERROR 
 java.lang.Class - SQL Exception during getting userinfo
 java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(DriverManager.java:537)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at com.evermind.sql.DriverManagerDataSource.getConnection(Unknown 
 Source)
at 
 com.sprint.framework.rdbms.RDBMSUtility.getConnection(RDBMSUtility.java:29
 7) 
 
at com.sprint.nsp.auth.UserManager.getUserInfo(UserManager.java:41)
at 
 com.sprint.nsp.auth.LoginController.isValid(LoginController.java:94)
at 
 __jspPage1_Authenticate_jsp._jspService(__jspPage1_Authenticate_jsp.java:8
 4) 
 
at com.orionserver.http.OrionHttpJspPage.service(Unknown Source)
at com.evermind._ah._rad(Unknown Source)
at com.evermind.server.http.JSPServlet.service(Unknown Source)
at com.evermind._cxb._abe(Unknown Source)
at com.evermind._cxb._uec(Unknown Source)
at com.evermind._io._twc(Unknown Source)
at com.evermind._io._gc(Unknown Source)
at com.evermind._if.run(Unknown Source)
 Database error, Please try again. br If problem persist please contact 
 administrator.
 
 Everything works OK if I unzip the JDBC drivers into the /lib 
 directory...but this is a hack would like to know why it won't pick up 
 my ZIP file. It works with other JARs I put inarghhg!
 
 Any help is MUCH appreciated.
 --Dan
 
 
 
 
 




RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help!

2001-09-19 Thread The elephantwalker

got it...you need to be in the orion directory, the lib directory is pointed
to by a relative directory, so its looking at your starting directory/lib
instead of orion/lib.

I always navigate to the orion directory to start it... 'cause it always
works.

That could be it.

Regards,

the elephantwalker


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mike Fontenot
Sent: Wednesday, September 19, 2001 11:41 AM
To: Orion-Interest
Subject: RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help!


Using:

java -server -Xincgc -Xms70m -Xmx128m -jar ./orion.jar -out ./orion.log

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of The
elephantwalker
Sent: Wednesday, September 19, 2001 11:56 AM
To: Orion-Interest
Subject: RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help!


How do you start orion?

should be

java -jar orion.jar

anything else may defeat the orion.jar class loader, which actually loads
the *.jar and *.zip from the orion/lib directory.

regards,

the elephantwalker
www.elephantwalker.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mike Fontenot
Sent: Wednesday, September 19, 2001 10:34 AM
To: Orion-Interest
Subject: RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help!


We had to put the Oracle jar/zip file into the JRE/lib/ext directory to be
recognized on Win2K and solaris. We never figured out why this is the case.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Dan Lee
Sent: Wednesday, September 19, 2001 10:44 AM
To: Orion-Interest
Subject: Stupid CLASSPATH and Oracle JDBC drivers. Need help!


Hi All,

I simply trying to get Orion to see my Oracle JDBC drivers!! I've placed
my classes12.zip in the [ORION_HOME]/lib directory but it cannot see it.
I've also tried previous posted suggestions of modifying the shell
$CLASSPATH variable and the library path located in the application.xml
file. I have no problems on my Intel Win 2000 platform running Java 2
SDK 1.3.1-b24 and Orion 1.5.2. My problems are occurring on a PA-RISC
platform running: Java(TM) 2 Runtime Environment, Standard Edition
(build 1.3.1.01-release-010816-12:37)
Java HotSpot(TM) Server VM (build 1.3.1
1.3.1.01-release-010816-13:34-PA_RISC2.0 PA2.0, mixed mode).

I'm also using the same classes12.zip on both machines. I get the
following error upon server startup:

   Error initializing data-source 'jdbc/OracleDSCore':
DriverManagerDataSource driver 'oracle.jdbc.driverd.'

Upon a login attempt to my app, which tries to use the Oracle
Datasource, I get the following:
   2001-09-17 17:18:12,498 [ApplicationServerThread] ERROR
java.lang.Class - SQL Exception during getting userinfo
java.sql.SQLException: No suitable driver
   at java.sql.DriverManager.getConnection(DriverManager.java:537)
   at java.sql.DriverManager.getConnection(DriverManager.java:177)
   at com.evermind.sql.DriverManagerDataSource.getConnection(Unknown
Source)
   at
com.sprint.framework.rdbms.RDBMSUtility.getConnection(RDBMSUtility.java:297)

   at com.sprint.nsp.auth.UserManager.getUserInfo(UserManager.java:41)
   at
com.sprint.nsp.auth.LoginController.isValid(LoginController.java:94)
   at
__jspPage1_Authenticate_jsp._jspService(__jspPage1_Authenticate_jsp.java:84)

   at com.orionserver.http.OrionHttpJspPage.service(Unknown Source)
   at com.evermind._ah._rad(Unknown Source)
   at com.evermind.server.http.JSPServlet.service(Unknown Source)
   at com.evermind._cxb._abe(Unknown Source)
   at com.evermind._cxb._uec(Unknown Source)
   at com.evermind._io._twc(Unknown Source)
   at com.evermind._io._gc(Unknown Source)
   at com.evermind._if.run(Unknown Source)
Database error, Please try again. br If problem persist please contact
administrator.

Everything works OK if I unzip the JDBC drivers into the /lib
directory...but this is a hack would like to know why it won't pick up
my ZIP file. It works with other JARs I put inarghhg!

Any help is MUCH appreciated.
--Dan
















Re: Stupid CLASSPATH and Oracle JDBC drivers. Need help!

2001-09-19 Thread Michael J. Cannon

It's because of the search functions detailed here:
http://java.sun.com/j2se/1.3/docs/tooldocs/findingclasses.html

This was supposed to be deprecated in the various J2EE implementations and
in the v.1.3 JDK, but it wasn't.  Not Sun's fault, not Java's and certainly
not Orion's or Oracle's.

Keep in mind that all these folks are businesses, the J2EE initial
implementation spec only became real and approved on the 4th of this month,
and that everybody has 'optimized' the code.  Also, keep in mind that with
Oracle, you're dealing with (in the out-of-the-box implementation) a
JSP/Servlet server that still hasn't been patched to be secure, a Web server
that is in the same boat, and they deprecated all the additional
functionality they could have gotten by just fully implementing Orion,
without Apache/Tomcat.

Michael J. Cannon
hsqldb.org, Incorporated
PM/COO
- Original Message -
From: Mike Fontenot [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Wednesday, September 19, 2001 12:33 PM
Subject: RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help!


 We had to put the Oracle jar/zip file into the JRE/lib/ext directory to be
 recognized on Win2K and solaris. We never figured out why this is the
case.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Dan Lee
 Sent: Wednesday, September 19, 2001 10:44 AM
 To: Orion-Interest
 Subject: Stupid CLASSPATH and Oracle JDBC drivers. Need help!


 Hi All,

 I simply trying to get Orion to see my Oracle JDBC drivers!! I've placed
 my classes12.zip in the [ORION_HOME]/lib directory but it cannot see it.
 I've also tried previous posted suggestions of modifying the shell
 $CLASSPATH variable and the library path located in the application.xml
 file. I have no problems on my Intel Win 2000 platform running Java 2
 SDK 1.3.1-b24 and Orion 1.5.2. My problems are occurring on a PA-RISC
 platform running: Java(TM) 2 Runtime Environment, Standard Edition
 (build 1.3.1.01-release-010816-12:37)
 Java HotSpot(TM) Server VM (build 1.3.1
 1.3.1.01-release-010816-13:34-PA_RISC2.0 PA2.0, mixed mode).

 I'm also using the same classes12.zip on both machines. I get the
 following error upon server startup:

Error initializing data-source 'jdbc/OracleDSCore':
 DriverManagerDataSource driver 'oracle.jdbc.driverd.'

 Upon a login attempt to my app, which tries to use the Oracle
 Datasource, I get the following:
2001-09-17 17:18:12,498 [ApplicationServerThread] ERROR
 java.lang.Class - SQL Exception during getting userinfo
 java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(DriverManager.java:537)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at com.evermind.sql.DriverManagerDataSource.getConnection(Unknown
 Source)
at

com.sprint.framework.rdbms.RDBMSUtility.getConnection(RDBMSUtility.java:297)

at com.sprint.nsp.auth.UserManager.getUserInfo(UserManager.java:41)
at
 com.sprint.nsp.auth.LoginController.isValid(LoginController.java:94)
at

__jspPage1_Authenticate_jsp._jspService(__jspPage1_Authenticate_jsp.java:84)

at com.orionserver.http.OrionHttpJspPage.service(Unknown Source)
at com.evermind._ah._rad(Unknown Source)
at com.evermind.server.http.JSPServlet.service(Unknown Source)
at com.evermind._cxb._abe(Unknown Source)
at com.evermind._cxb._uec(Unknown Source)
at com.evermind._io._twc(Unknown Source)
at com.evermind._io._gc(Unknown Source)
at com.evermind._if.run(Unknown Source)
 Database error, Please try again. br If problem persist please contact
 administrator.

 Everything works OK if I unzip the JDBC drivers into the /lib
 directory...but this is a hack would like to know why it won't pick up
 my ZIP file. It works with other JARs I put inarghhg!

 Any help is MUCH appreciated.
 --Dan













Re: AW: Stupid CLASSPATH and Oracle JDBC drivers. Need help!

2001-09-19 Thread Stephen Davidson

Greetings.

I had to actually unpack the zip file, and repack the files using the
jar tool.  I am running Orion 1.5.2.

-Steve

Regele, Manfred wrote:
 
 Ups,
 
 I had a similar problem with tomcat 4. I renamed classes.zip into
 classes.jar.
 Its the first time I read this with orion, though.
 
 Manfred Regele
 ADIG Investment GmbH
 22 MethodenTools
 Richard-Reitzner-Allee 2
 85540 Haar
 Tel: 089/46268-308
 mailto:[EMAIL PROTECTED]
 http://www.adig.de
 
  -Ursprüngliche Nachricht-
  Von:  Dan Lee [SMTP:[EMAIL PROTECTED]]
  Gesendet am:  Mittwoch, 19. September 2001 18:44
  An:   Orion-Interest
  Betreff:  Stupid CLASSPATH and Oracle JDBC drivers. Need help!
 
  Hi All,
 
  I simply trying to get Orion to see my Oracle JDBC drivers!! I've placed
  my classes12.zip in the [ORION_HOME]/lib directory but it cannot see it.
  I've also tried previous posted suggestions of modifying the shell
  $CLASSPATH variable and the library path located in the application.xml
  file. I have no problems on my Intel Win 2000 platform running Java 2
  SDK 1.3.1-b24 and Orion 1.5.2. My problems are occurring on a PA-RISC
  platform running: Java(TM) 2 Runtime Environment, Standard Edition
  (build 1.3.1.01-release-010816-12:37)
  Java HotSpot(TM) Server VM (build 1.3.1
  1.3.1.01-release-010816-13:34-PA_RISC2.0 PA2.0, mixed mode).
 
  I'm also using the same classes12.zip on both machines. I get the
  following error upon server startup:
 
 Error initializing data-source 'jdbc/OracleDSCore':
  DriverManagerDataSource driver 'oracle.jdbc.driverd.'
 
  Upon a login attempt to my app, which tries to use the Oracle
  Datasource, I get the following:
 2001-09-17 17:18:12,498 [ApplicationServerThread] ERROR
  java.lang.Class - SQL Exception during getting userinfo
  java.sql.SQLException: No suitable driver
 at java.sql.DriverManager.getConnection(DriverManager.java:537)
 at java.sql.DriverManager.getConnection(DriverManager.java:177)
 at com.evermind.sql.DriverManagerDataSource.getConnection(Unknown
  Source)
 at
  com.sprint.framework.rdbms.RDBMSUtility.getConnection(RDBMSUtility.java:29
  7)
 
 at com.sprint.nsp.auth.UserManager.getUserInfo(UserManager.java:41)
 at
  com.sprint.nsp.auth.LoginController.isValid(LoginController.java:94)
 at
  __jspPage1_Authenticate_jsp._jspService(__jspPage1_Authenticate_jsp.java:8
  4)
 
 at com.orionserver.http.OrionHttpJspPage.service(Unknown Source)
 at com.evermind._ah._rad(Unknown Source)
 at com.evermind.server.http.JSPServlet.service(Unknown Source)
 at com.evermind._cxb._abe(Unknown Source)
 at com.evermind._cxb._uec(Unknown Source)
 at com.evermind._io._twc(Unknown Source)
 at com.evermind._io._gc(Unknown Source)
 at com.evermind._if.run(Unknown Source)
  Database error, Please try again. br If problem persist please contact
  administrator.
 
  Everything works OK if I unzip the JDBC drivers into the /lib
  directory...but this is a hack would like to know why it won't pick up
  my ZIP file. It works with other JARs I put inarghhg!
 
  Any help is MUCH appreciated.
  --Dan
 
 
 
 
 

-- 
Stephen Davidson
Java Consultant
Delphi Consultants, LLC
http://www.delphis.com
Phone: 214-696-6224 x208




Re: Help with exception, could be classpath related

2001-08-10 Thread oisin

Hi Ashok,

the two beans are in two individual ejb-jar files, with both beans deployed 
successfully, I know this because they work fine when I connect simple clients to 
them,  and both work from the same client when the classpath is set correctly.

The contents of the files are

ejb-jar2.jar 
SimpleSessionBean.class + other classes

ejb-jar1.jar 
SimpleEntityBean + other classes

By other classes I mean the Home interfaces etc etc and standard java classes which 
the Beans use.

The SimpleSessionBean references the SimpleEntityBean and some of the standard classes.

I don't think ears are suitable for this are they?

Thanks for all your help,
I really do appreciate it!
Albert.

Subject: Re: Help with exception, could be classpath related
Date: Thu, 09 Aug 2001 20:08:03 -0700
From: Ashok Banerjee [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]


Are the 2 beans in the different applications (ear files)? If so you may want
to specify one application as the parent of the other. Cheers,
Ashok

[EMAIL PROTECTED] wrote:
 Hello All,
 hope you can help me with this as I'm unsure exactly what it means,
 I use a session bean to invoke methods on an entity bean, the error seems
 to be in the Entity Bean but it has been tested from a client and it works,
 I think it may be due to the classpath, as I've had to put the classes into
 the server.xml as Library path=...file before I could see them from
 ejbs. any ideas are very welcome,
 Thanks,
 Albert.
 Here is the exception I get from the terminal I start Orion server from:

 java.lang.ClassCastException: __Proxy0
 at SimpleEntityBean.Submit(SimpleEntityBean.java:230)
 at
 SimpleEntity_EntityBeanWrapper0.Submit(SimpleEntity_EntityBeanWrapper0.java
:268) at java.lang.reflect.Method.invoke(Native Method)
 at com.evermind._dh._gc(Unknown Source)
 at com.evermind._if.run(Unknown Source)

 Email just got more fun @ another.com
 http://another.com

---

-- 

Be passionate about your email
Just click here: http://another.com


Help with exception, could be classpath related

2001-08-09 Thread albert

Hello All,
hope you can help me with this as I'm unsure exactly what it means,
I use a session bean to invoke methods on an entity bean, the error seems to be in the 
Entity Bean but it has been tested from a client and it works, I think it may be due 
to the classpath, as I've had to put the classes into the server.xml as  Library 
path=...file before I could see them from ejbs.
any ideas are very welcome,
Thanks,
Albert.
Here is the exception I get from the terminal I start Orion server from:

java.lang.ClassCastException: __Proxy0
at SimpleEntityBean.Submit(SimpleEntityBean.java:230)
at 
SimpleEntity_EntityBeanWrapper0.Submit(SimpleEntity_EntityBeanWrapper0.java:268)
at java.lang.reflect.Method.invoke(Native Method)
at com.evermind._dh._gc(Unknown Source)
at com.evermind._if.run(Unknown Source)



Email just got more fun @ another.com
http://another.com



Re: Help with exception, could be classpath related

2001-08-09 Thread Ashok Banerjee

Are the 2 beans in the different applications (ear files)? If so you may want to 
specify one application as the parent of the other.
Cheers,
Ashok

[EMAIL PROTECTED] wrote:

 Hello All,
 hope you can help me with this as I'm unsure exactly what it means,
 I use a session bean to invoke methods on an entity bean, the error seems to be in 
the Entity Bean but it has been tested from a client and it works, I think it may be 
due to the classpath, as I've had to put the classes into the server.xml as  Library 
path=...file before I could see them from ejbs.
 any ideas are very welcome,
 Thanks,
 Albert.
 Here is the exception I get from the terminal I start Orion server from:

 java.lang.ClassCastException: __Proxy0
 at SimpleEntityBean.Submit(SimpleEntityBean.java:230)
 at 
SimpleEntity_EntityBeanWrapper0.Submit(SimpleEntity_EntityBeanWrapper0.java:268)
 at java.lang.reflect.Method.invoke(Native Method)
 at com.evermind._dh._gc(Unknown Source)
 at com.evermind._if.run(Unknown Source)

 Email just got more fun @ another.com
 http://another.com





Re: Classpath and library path ERROR ??? -- PLEASE again ???

2001-07-05 Thread Eddie

Thank elephantwalker,

I did exactly the same thing as you did (even unpacked the log4j-core.jar
file), that is, my ear file contains:

META-INF/
META-INF/application.xml
META-INF/orion-application.xml
META-INF/MANIFEST.MF
lib/
lib/org/apache/..
um-ejb.jar
...

And the orion-application.xml contains:
--
.
persistence path=persistence /
 library path=lib /
principals path=principals.xml /
...

( I deployed it in the $ORION_HOME/applications dir)
But it keeps on complaining that it can't find a class called
org/apache/log4j/PropertyConfigurator, which sure is there:
-
bash-2.04$ cd lib/
bash-2.04$ ll org/apache/log4j/PropertyConfigurator.class
-rw-r--r--1 program  web 10685 Jul  5 16:24
org/apache/log4j/PropertyConfigurator.class
--

I am getting (still) grazy. The ear file is 250k, and less if a kick out the
web.war file (containing the html stuff). Can someone deploy it and test it,
to have a look if the problem is in the Orion configuration on my side ??
Let me know, and I will send it.

The strange thing is, that when I put a no existence path in the  lib.../ 
tag, Orion sure complaints that it can't find the file/directory, so it does
recognize the file, but then ???

Any idea's are welcome ?

:{




- Original Message -
From: elephantwalker [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, July 05, 2001 12:31 AM
Subject: RE: Classpath and library path ERROR ??? -- PLEASE again ???


 Eddie,

 I thought I gave a good answer before. I implemented a selfmade
usermanager,
 which I wanted all applications to have access to.

 Here was my file structure in the .ear file:


 /lib
 /lib/test/myusermanager.class
 /META-INF
 /META-INF/application.xml
 /META-INF/orion-application.xml
 /usermanager/META-INF/ejb-jar.xml
 /myotherejbs.jar
 /myapp.war

 the orion-application.xml has the following line after the persistance tag
 and before principals tag :

  library path=lib /

 The applications have no problems finding the myusermanager.class.

 Regards,

 the elephantwalker


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
 Sent: Wednesday, July 04, 2001 1:54 PM
 To: Orion-Interest
 Subject: Re: Classpath and library path ERROR ??? -- PLEASE again ???


 Helllu 

 I still haven't been able to solve the problem below and I already had a
lot
 of sleepless nights... so please some help, as I realy can't continue!!
 (see below for the problem).
 Does someone has a tiy example that proves that it must work, which I
 can test on my Orion 

 Eddie
 - Original Message -
 From: Eddie
 To: Orion-Interest
 Sent: Friday, June 29, 2001 11:19 PM
 Subject: Re: Classpath and library path ERROR ??? -- PLEASE again ???


 Hellu again,

 Finally I have been able to jar the project to a ear file and deploy it. I
 included the log4j-core.jar file in my ear file, by including it in a
 ejb.jar file.
 I did this like Magnus suggested below: including the jar file in one of
the
 ejb.jar files and put it in the MANIFEST.MF file.
 However, Orion still complains that it can't find the log4j-core.jar
file!!
 Please some help with the configuration ??:
 The ear files contains (locates in $ORION_HOME/applications):
 -
 META-INF
 sgs-web.war
 um-ejb.jar
 


 They um-ejb.jar contains :
 --
 
 log4j-core.jar
 META-INF/MANIFEST.MF
 META-INF/ejb-jar.xml
 
 --


 And the MANIFEST.MF file contains:
 ---
 Manifest-Version: 1.0
 Created-By: Ant 1.3
 Class-Path: log4j-core.jar
 ---


 So, please can someone tell me what the ... am I doing wrong, as it drives
 my grazy !!!

 BTW: I also included the log4j-core.jar file in a lib dir, which I did put
 in the orion-application.xml file with the 'library path' tag, like the
 elephantwalker suggested, but still had the same problem!! (ofcourse I
 included everything in the ear file).

 Musn't I include the log4j-core.jar in the MANIFEST.MF file of the ear
file,
 instead of the ejb.jar file, as Magnus suggested ??


 Gr,
 Eddie
 - Original Message -
 From: Magnus Rydin
 To: Orion-Interest
 Sent: Monday, June 25, 2001 8:22 AM
 Subject: SV: Classpath and library path ERROR ??? -- PLEASE again ???


 I guess thats orion-application.xml right?
 Another way would be to include the jar in the .ear file, and make one of
 the ejb .jar:s manifest files point it out. This is according to my
 interpretation of the specification, so Im pretty sure this will work with
 most J2EE servers out there.
 WR
  -Ursprungligt meddelande-
  Från: Ye He [mailto:[EMAIL PROTECTED]]
  Skickat: den 22 juni 2001 09:09
  Till: Orion-Interest
  Ämne: Re: Classpath and library path ERROR ??? -- PLEASE again ???
 
 
  i speicify my CLASSPATH thru applications.xml's
  library path=.. / tag, using absolute path.  i'm on
  SuSE 7.1 (kernel 2.4.0) with IBM jdk 1.3.0
 
  --- Eddie [EMAIL PROTECTED] wrote:
   Helllu

Re: Classpath and library path ERROR ??? -- PLEASE again ???

2001-07-05 Thread Eddie

Thanks Ray,

But I am still having bad luck.
When I include the lib tag, as you have in my orion-application.xml:
  library path=../../applications/sgs/log4j-core.jar /

I still get the same ClassNotFoundError.

BTW: I am having a symbolic link between /opt/Orion/ and /opt/Oron_5.1.
It won't have anything to do with this, or not ??

Any idea is welcome.
Does anyone want's to deploy my ear file, to see if it complaints ??

:{


- Original Message -
From: Ray Harrison [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 05, 2001 12:59 AM
Subject: Re: Classpath and library path ERROR ??? -- PLEASE again ???


 Eddie (posting to your email address directly - hope you don't mind as the
list can take a while)-
 I am sure this is not the best way to approach this, but here's what I did
in a (perhaps?) similar
 situation where I needed to have access to an ldap security manager jar
file. The MyApp.ear file
 as in your case is deployed in the %ORION_HOME%\applications directory.
Expanded, of course it
 becomes %ORION_HOME%\applications\MyApp

 So within the ear file I have, among other items...

 MyApp-ejb.jar
 MyApp-web.war
 META-INF...etc
 and then I have...
 MySecurity-app.jar (its own separate file)
 (which is the file I need access to)

 Within my orion-application.xml for my lib dir, after playing around I
ended up specifying it by
 giving it the relative address as in:

 library path=..\..\applications\MyApp\MySecurity-app.jar /

 after which I was able to set my user manager class and all that good
stuff - since it had access
 to the classes stored in the jar file listed in the library path.


 Try setting the library path as above...sorry if I am not quite getting
what you are trying to do.

 Cheers
 Ray

 --- Eddie [EMAIL PROTECTED] wrote:
  SV: Classpath and library path ERROR ??? -- PLEASE again ???Helllu 
 
  I still haven't been able to solve the problem below and I already had a
lot of sleepless
  nights... so please some help, as I realy can't continue!!
  (see below for the problem).
  Does someone has a tiy example that proves that it must work, which
I can test on my Orion
  
 
  Eddie
- Original Message -
From: Eddie
To: Orion-Interest
Sent: Friday, June 29, 2001 11:19 PM
Subject: Re: Classpath and library path ERROR ??? -- PLEASE again ???
 
 
Hellu again,
 
Finally I have been able to jar the project to a ear file and deploy
it. I included the
  log4j-core.jar file in my ear file, by including it in a ejb.jar file.
I did this like Magnus suggested below: including the jar file in one
of the ejb.jar files and
  put it in the MANIFEST.MF file.
However, Orion still complains that it can't find the log4j-core.jar
file!!
Please some help with the configuration ??:
The ear files contains (locates in $ORION_HOME/applications):
-
META-INF
sgs-web.war
um-ejb.jar

 
 
They um-ejb.jar contains :
--

log4j-core.jar
META-INF/MANIFEST.MF
META-INF/ejb-jar.xml

--
 
 
And the MANIFEST.MF file contains:
---
Manifest-Version: 1.0
Created-By: Ant 1.3
Class-Path: log4j-core.jar
---
 
 
So, please can someone tell me what the ... am I doing wrong, as it
drives my grazy !!!
 
BTW: I also included the log4j-core.jar file in a lib dir, which I did
put in the
  orion-application.xml file with the 'library path' tag, like the
elephantwalker suggested, but
  still had the same problem!! (ofcourse I included everything in the ear
file).
 
Musn't I include the log4j-core.jar in the MANIFEST.MF file of the ear
file, instead of the
  ejb.jar file, as Magnus suggested ??
 
 
Gr,
Eddie
  - Original Message -
  From: Magnus Rydin
  To: Orion-Interest
  Sent: Monday, June 25, 2001 8:22 AM
  Subject: SV: Classpath and library path ERROR ??? -- PLEASE again
???
 
 
  I guess thats orion-application.xml right?
 
  Another way would be to include the jar in the .ear file, and make
one of the ejb .jar:s
  manifest files point it out. This is according to my interpretation of
the specification, so Im
  pretty sure this will work with most J2EE servers out there.
 
  WR
 
   -Ursprungligt meddelande-
   Från: Ye He [mailto:[EMAIL PROTECTED]]
   Skickat: den 22 juni 2001 09:09
   Till: Orion-Interest
   Ämne: Re: Classpath and library path ERROR ??? -- PLEASE again
???
  
  
   i speicify my CLASSPATH thru applications.xml's
   library path=.. / tag, using absolute path.  i'm on
   SuSE 7.1 (kernel 2.4.0) with IBM jdk 1.3.0
  
   --- Eddie [EMAIL PROTECTED] wrote:
Helllu ??
   
What do you need to do to get an answer from this newsgroup
when you are
really in trouble ?? :(
   
I still haven't be able to include a jar file in the
orion-application.xml,
that can

Re: Classpath and library path ERROR ??? -- PLEASE again ???

2001-07-04 Thread Eddie
Title: SV: Classpath and library path ERROR ??? --> PLEASE again ???



Helllu 

I still haven't been able to solve the problem 
below and I already had a lot of sleepless nights...so please some help, 
as I realy can't continue!!
(see below for the problem).
Does someone has a tiy example that proves that 
it must work, which I can test on my Orion 

Eddie

  - Original Message - 
  From: 
  Eddie 
  
  To: Orion-Interest 
  Sent: Friday, June 29, 2001 11:19 
PM
  Subject: Re: Classpath and library path 
  ERROR ??? -- PLEASE again ???
  
  Hellu again,
  
  Finally I have been able to jar the project to a 
  ear file and deploy it. I included the log4j-core.jar file in my ear file, by 
  including it in a ejb.jar file.
  I did this like Magnus suggested below: including 
  the jar file in one of the ejb.jar files and put it in the MANIFEST.MF 
  file.
  However, Orion still complains that it can't find 
  the log4j-core.jar file!!
  Please some help with the configuration 
  ??:
  The ear files contains (locates in 
  $ORION_HOME/applications):
  -
  META-INF
  sgs-web.war
  um-ejb.jar
  
  
  
  They um-ejb.jar contains :
  --
  
  log4j-core.jarMETA-INF/MANIFEST.MFMETA-INF/ejb-jar.xml
  --
  
  
  And the MANIFEST.MF file contains:
  ---
  Manifest-Version: 1.0Created-By: Ant 
  1.3Class-Path: log4j-core.jar---
  
  
  So, please can someone tell me what the ... am I 
  doing wrong, as it drives my grazy !!!
  
  BTW: I also included the log4j-core.jar 
  filein alib dir, which I did put in the orion-application.xml file 
  with the 'library path' tag, like the elephantwalker suggested, but still had 
  the same problem!! (ofcourse I included everything in the ear 
  file).
  
  Musn't I include the log4j-core.jar in the 
  MANIFEST.MF file of the ear file, instead of the ejb.jar file, as Magnus 
  suggested ??
  
  
  Gr,
  Eddie
  
- Original Message - 
From: 
Magnus Rydin 
To: Orion-Interest 
Sent: Monday, June 25, 2001 8:22 
AM
Subject: SV: Classpath and library path 
ERROR ??? -- PLEASE again ???

I guess thats orion-application.xml right? 
Another way would be to include the jar in the .ear file, 
and make one of the ejb .jar:s manifest files point it out. This is 
according to my interpretation of the specification, so Im pretty sure this 
will work with most J2EE servers out there.
WR 
 -Ursprungligt meddelande-  Från: Ye He [mailto:[EMAIL PROTECTED]]  Skickat: den 22 juni 2001 09:09  
Till: Orion-Interest  Ämne: Re: Classpath and 
library path ERROR ??? -- PLEASE again ???  
  i speicify my 
    CLASSPATH thru applications.xml's  library 
path=".." / tag, using absolute path. i'm on  SuSE 7.1 (kernel 2.4.0) with IBM jdk 1.3.0   --- Eddie 
[EMAIL PROTECTED] wrote:   
Helllu ??
 What do you need to do to get an answer from this newsgroup 
  when you are   
really in trouble ?? :( I still haven't be able to include a jar file in the 
  orion-application.xml,   that can be used by my application. It is able to use my 
jar   when I put it   in the $ORION_HOME/lib dir, but that's not what I want, 
as   every application   needs his own copy.   
  I like to hear from Linux users how they 
did this, as I   noticed that all the 
  people that talked about it in the newsgroup, 
where all   Windoze hackers. (I 
  use: redhat 7.0 with sun jdk and orion 
1.5.1) 
PLEASE some help, see below for more info ??  
   Eddie :(  
 
  - Original Message - 
  From: Eddie   To: 
Orion-Interest   Sent: Tuesday, June 19, 
2001 11:20 AM   Subject: Re: Classpath and 
library path ERROR ??? -- PLEASE   again 
??? 
  Thanks,   
  Indeed the library tag wasn't on the 
correct place in the   
orion-application.xml.   However, after 
placing it in the correct place it still   
doesn't work:      .   
web-module id="web" path="web" /  
 persistence path="persistence" /
 library 
path="./lib" /  
 library 
path="./lib/log4j-core.jar" /  
 library 
path="./lib/log4j.jar" /   
  principals path="principals.xml" 
/  
 log 
  file path="application.log" 
/   /log   namespace-access  
    --- I also tried the 
orion-web.xml:         
orion-web-app   
deployment-version="1.5.1"   
development="true"   
jsp-cache-directory="./persistence"   
temporary-directory="./temp"   
servlet-webdir="/servlets/"
  
classpath path="./lib/log4j-core.jar" /  
 ejb-ref-mapping name="ejb/UserManagerHome" / 
  ...    
But didn't had 
much luck

RE: Classpath and library path ERROR ??? -- PLEASE again ???

2001-07-04 Thread elephantwalker

Eddie,

I thought I gave a good answer before. I implemented a selfmade usermanager,
which I wanted all applications to have access to.

Here was my file structure in the .ear file:


/lib
/lib/test/myusermanager.class
/META-INF
/META-INF/application.xml
/META-INF/orion-application.xml
/usermanager/META-INF/ejb-jar.xml
/myotherejbs.jar
/myapp.war

the orion-application.xml has the following line after the persistance tag
and before principals tag :

 library path=lib /

The applications have no problems finding the myusermanager.class.

Regards,

the elephantwalker


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
Sent: Wednesday, July 04, 2001 1:54 PM
To: Orion-Interest
Subject: Re: Classpath and library path ERROR ??? -- PLEASE again ???


Helllu 

I still haven't been able to solve the problem below and I already had a lot
of sleepless nights... so please some help, as I realy can't continue!!
(see below for the problem).
Does someone has a tiy example that proves that it must work, which I
can test on my Orion 

Eddie
- Original Message -
From: Eddie
To: Orion-Interest
Sent: Friday, June 29, 2001 11:19 PM
Subject: Re: Classpath and library path ERROR ??? -- PLEASE again ???


Hellu again,

Finally I have been able to jar the project to a ear file and deploy it. I
included the log4j-core.jar file in my ear file, by including it in a
ejb.jar file.
I did this like Magnus suggested below: including the jar file in one of the
ejb.jar files and put it in the MANIFEST.MF file.
However, Orion still complains that it can't find the log4j-core.jar file!!
Please some help with the configuration ??:
The ear files contains (locates in $ORION_HOME/applications):
-
META-INF
sgs-web.war
um-ejb.jar



They um-ejb.jar contains :
--

log4j-core.jar
META-INF/MANIFEST.MF
META-INF/ejb-jar.xml

--


And the MANIFEST.MF file contains:
---
Manifest-Version: 1.0
Created-By: Ant 1.3
Class-Path: log4j-core.jar
---


So, please can someone tell me what the ... am I doing wrong, as it drives
my grazy !!!

BTW: I also included the log4j-core.jar file in a lib dir, which I did put
in the orion-application.xml file with the 'library path' tag, like the
elephantwalker suggested, but still had the same problem!! (ofcourse I
included everything in the ear file).

Musn't I include the log4j-core.jar in the MANIFEST.MF file of the ear file,
instead of the ejb.jar file, as Magnus suggested ??


Gr,
Eddie
- Original Message -
From: Magnus Rydin
To: Orion-Interest
Sent: Monday, June 25, 2001 8:22 AM
Subject: SV: Classpath and library path ERROR ??? -- PLEASE again ???


I guess thats orion-application.xml right?
Another way would be to include the jar in the .ear file, and make one of
the ejb .jar:s manifest files point it out. This is according to my
interpretation of the specification, so Im pretty sure this will work with
most J2EE servers out there.
WR
 -Ursprungligt meddelande-
 Från: Ye He [mailto:[EMAIL PROTECTED]]
 Skickat: den 22 juni 2001 09:09
 Till: Orion-Interest
 Ämne: Re: Classpath and library path ERROR ??? -- PLEASE again ???


 i speicify my CLASSPATH thru applications.xml's
 library path=.. / tag, using absolute path.  i'm on
 SuSE 7.1 (kernel 2.4.0) with IBM jdk 1.3.0

 --- Eddie [EMAIL PROTECTED] wrote:
  Helllu ??
 
  What do you need to do to get an answer from this newsgroup
  when you are
  really in trouble ?? :(
 
  I still haven't be able to include a jar file in the
  orion-application.xml,
  that can be used by my application. It is able to use my jar
  when I put it
  in the $ORION_HOME/lib dir, but that's not what I want, as
  every application
  needs his own copy.
 
  I like to hear from Linux users how they did this, as I
  noticed that all the
  people that talked about it in the newsgroup, where all
  Windoze hackers. (I
  use: redhat 7.0 with sun jdk and orion 1.5.1)
 
  PLEASE some help, see below for more info ??
 
  Eddie :(
 
 
 
  - Original Message -
  From: Eddie
  To: Orion-Interest
  Sent: Tuesday, June 19, 2001 11:20 AM
  Subject: Re: Classpath and library path ERROR ??? -- PLEASE
  again ???
 
 
  Thanks,
 
  Indeed the library tag wasn't on the correct place in the
  orion-application.xml.
  However, after placing it in the correct place it still
  doesn't work:
  
  .
   web-module id=web path=web /
   persistence path=persistence /
 
  library path=./lib /
  library path=./lib/log4j-core.jar /
  library path=./lib/log4j.jar /
 
   principals path=principals.xml /
  log
file path=application.log /
   /log
   namespace-access
  
  ---
 
  I also tried the orion-web.xml:
  
  
  orion-web-app
   deployment-version=1.5.1
   development=true
   jsp-cache-directory=./persistence
   temporary-directory=./temp
   servlet-webdir=/servlets/
  
  classpath path=./lib/log4j-core.jar /
   ejb-ref

Re: Classpath and library path ERROR ??? -- PLEASE again ???

2001-07-04 Thread Michael Jara
Title: SV: Classpath and library path ERROR ??? --> PLEASE again ???



I think what Magnus was suggesting was not that you 
put log4j-core.jar IN your ejb-jar file, but that you put it in your ear file 
and put it in the classpath of your ejb-jar's manifest file. That way, 
log4j-core.jar will be just another jar in your ear file. The MANIFEST.MF 
in your ejb-jar file will have "log4j-core.jar" as its classpath 
entry.

Another (really simple) thing you could try is 
adding this to your server.xml:

library 
path="C:\jakarta-log4j-1.0.4\log4j-core.jar" /

That's what I do, it will put it in the orion's 
classpath. (I haven't tried editing the orion-application.xml to do this 
yet.)

Mike

  - Original Message - 
  From: 
  Eddie 
  
  To: Orion-Interest 
  Sent: Wednesday, July 04, 2001 2:53 
  PM
  Subject: Re: Classpath and library path 
  ERROR ??? -- PLEASE again ???
  
  Helllu 
  
  I still haven't been able to solve the problem 
  below and I already had a lot of sleepless nights...so please some help, 
  as I realy can't continue!!
  (see below for the problem).
  Does someone has a tiy example that proves 
  that it must work, which I can test on my Orion 
  
  Eddie
  
- Original Message - 
From: 
Eddie 
To: Orion-Interest 
Sent: Friday, June 29, 2001 11:19 
    PM
    Subject: Re: Classpath and library path 
ERROR ??? -- PLEASE again ???

Hellu again,

Finally I have been able to jar the project to 
a ear file and deploy it. I included the log4j-core.jar file in my ear file, 
by including it in a ejb.jar file.
I did this like Magnus suggested below: 
including the jar file in one of the ejb.jar files and put it in the 
MANIFEST.MF file.
However, Orion still complains that it can't 
find the log4j-core.jar file!!
Please some help with the configuration 
??:
The ear files contains (locates in 
$ORION_HOME/applications):
-
META-INF
sgs-web.war
um-ejb.jar



They um-ejb.jar contains :
--

log4j-core.jarMETA-INF/MANIFEST.MFMETA-INF/ejb-jar.xml
--


And the MANIFEST.MF file contains:
---
Manifest-Version: 1.0Created-By: Ant 
1.3Class-Path: log4j-core.jar---


So, please can someone tell me what the ... am 
I doing wrong, as it drives my grazy !!!

BTW: I also included the log4j-core.jar 
filein alib dir, which I did put in the orion-application.xml 
file with the 'library path' tag, like the elephantwalker suggested, but 
still had the same problem!! (ofcourse I included everything in the ear 
file).

Musn't I include the log4j-core.jar in the 
MANIFEST.MF file of the ear file, instead of the ejb.jar file, as Magnus 
suggested ??


Gr,
Eddie

  - Original Message - 
  From: 
  Magnus Rydin 
  To: Orion-Interest 
  Sent: Monday, June 25, 2001 8:22 
  AM
  Subject: SV: Classpath and library 
  path ERROR ??? -- PLEASE again ???
  
  I guess thats orion-application.xml right? 
  Another way would be to include the jar in the .ear file, 
  and make one of the ejb .jar:s manifest files point it out. This is 
  according to my interpretation of the specification, so Im pretty sure 
  this will work with most J2EE servers out there.
  WR 
   -Ursprungligt meddelande-  Från: Ye He [mailto:[EMAIL PROTECTED]]  Skickat: den 22 juni 2001 09:09  
  Till: Orion-Interest  Ämne: Re: Classpath and 
  library path ERROR ??? -- PLEASE again ???    i 
  speicify my CLASSPATH thru applications.xml's  
  library path=".." / tag, using absolute path. i'm on 
   SuSE 7.1 (kernel 2.4.0) with IBM jdk 1.3.0 
--- Eddie 
  [EMAIL PROTECTED] wrote:   
  Helllu ??
   What do you need to do to get an answer from this newsgroup 
when you are   
  really in trouble ?? :( I still haven't be able to include a jar file in 
  the   orion-application.xml, 
that can be used by my application. It is able 
  to use my jar   when I put it 
in the $ORION_HOME/lib dir, but that's not what 
  I want, as   every application 
needs his own copy. I like to hear from 
  Linux users how they did this, as I   
  noticed that all the   people that talked 
  about it in the newsgroup, where all   
  Windoze hackers. (I   use: redhat 7.0 with 
  sun jdk and orion 1.5.1)   
PLEASE some help, see below for more 
  info ??
   Eddie :( - Original Message -  
   From: Eddie   To: 
  Orion-Interest   Sent: Tuesday, June 19, 
  2001 11:20 AM   Subject: Re: Classpath and 
  library path ERROR ??? -- PLEASE   
  again ???
 Thanks, Indeed the library tag 

SV: Classpath and library path ERROR ??? -- PLEASE again ???

2001-06-25 Thread Magnus Rydin
Title: SV: Classpath and library path ERROR ??? -- PLEASE again ???





I guess thats orion-application.xml right?


Another way would be to include the jar in the .ear file, and make one of the ejb .jar:s manifest files point it out. This is according to my interpretation of the specification, so Im pretty sure this will work with most J2EE servers out there.

WR


 -Ursprungligt meddelande-
 Från: Ye He [mailto:[EMAIL PROTECTED]]
 Skickat: den 22 juni 2001 09:09
 Till: Orion-Interest
 Ämne: Re: Classpath and library path ERROR ??? -- PLEASE again ???
 
 
 i speicify my CLASSPATH thru applications.xml's
 library path=.. / tag, using absolute path. i'm on
 SuSE 7.1 (kernel 2.4.0) with IBM jdk 1.3.0
 
 --- Eddie [EMAIL PROTECTED] wrote:
  Helllu ??
  
  What do you need to do to get an answer from this newsgroup
  when you are
  really in trouble ?? :(
  
  I still haven't be able to include a jar file in the
  orion-application.xml,
  that can be used by my application. It is able to use my jar
  when I put it
  in the $ORION_HOME/lib dir, but that's not what I want, as
  every application
  needs his own copy.
  
  I like to hear from Linux users how they did this, as I
  noticed that all the
  people that talked about it in the newsgroup, where all
  Windoze hackers. (I
  use: redhat 7.0 with sun jdk and orion 1.5.1)
  
  PLEASE some help, see below for more info ??
  
  Eddie :(
  
  
  
  - Original Message -
  From: Eddie
  To: Orion-Interest
  Sent: Tuesday, June 19, 2001 11:20 AM
  Subject: Re: Classpath and library path ERROR ??? -- PLEASE
  again ???
  
  
  Thanks,
  
  Indeed the library tag wasn't on the correct place in the
  orion-application.xml.
  However, after placing it in the correct place it still
  doesn't work:
  
  .
  web-module id=web path=web /
  persistence path=persistence /
  
  library path=./lib /
  library path=./lib/log4j-core.jar /
  library path=./lib/log4j.jar /
  
  principals path=principals.xml /
  log
  file path=application.log /
  /log
  namespace-access
  
  ---
  
  I also tried the orion-web.xml:
  
  
  orion-web-app
  deployment-version=1.5.1
  development=true
  jsp-cache-directory=./persistence
  temporary-directory=./temp
  servlet-webdir=/servlets/
  
  classpath path=./lib/log4j-core.jar /
  ejb-ref-mapping name=ejb/UserManagerHome /
  ...
  
  
  But didn't had much luck, which didn't suprise me, as I am
  using the lib
  files in my ejb's.
  I am sure that the jar files can be find by Orion, as it
  complaints when it
  can't find the files.
  
  But are you using Linux ?? I have a friend that has exatly the
  same problems
  on his linux machine!! .-- :(
  Shoudn't I put it all in a ear file ?? and if so, where ??
  
  Hope you have some ideas as I don't have them anymore. Neither
  do I know how
  to debug this, as Orion doesn't show that it loads the jar
  file...or where
  it looks..
  Hmmm... frustrating..
  Eddie
  - Original Message -
  From: elephantwalker
  To: Orion-Interest
  Sent: Monday, June 18, 2001 6:20 PM
  Subject: RE: Classpath and library path ERROR ??? -- PLEASE
  again ???
  
  
  The dtd for orion-application.xml says about library:
  
  !-- A relative/absolute path/URL to a directory or a
  .jar/.zip to add as a
  library-path for this server. Directories are scanned for
  jars/zips to
  include at startup. --
  !ELEMENT library (#PCDATA)
  !ATTLIST library path CDATA #IMPLIED
  
  
  The main orion-application element is:
  
  !ELEMENT orion-application
 
 (ejb-module*,web-module*,client-module*,security-role-mapping*,
  persistence?, library*, principals?, mail-session*,
  user-manager?, log?,
  data-sources?, namespace-access?)
  
  
  Note the order. If library is not in the right order (after
  persistence and
  before principals), this won't work.
  
  But this is application, which is for the overall server. You
  might try the
  orion-web.xml for specific support of a codebase of a war
  file:
  
  !-- Specifies a codebase where classes used by this
  application
  (servlets/beans, etc) can be found. --
  !ELEMENT classpath (#PCDATA)
  !ATTLIST classpath path CDATA #IMPLIED
  
  
  This should be the first element in your orion-web-app
  element.
  
  regards,
  
  the elephantwalker
  
  
  
  
  
  
  
  
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of
  Eddie
  Sent: Monday, June 18, 2001 8:15 AM
  To: Orion-Interest
  Subject: Re: Classpath and library path ERROR ??? -- PLEASE
  again ???
  
  
  Hellu,
  
  I am have still having problems with the problem below. Can
  someone PLEASE
  help me with this ???
  
  Eddie
  
  
  - Original Message -
  From: Eddie
  To: Orion-Interest
  Sent: Friday, June 15, 2001 1:08 PM
  Subject: Classpath and library path ERROR ???
  
  
  OK,
  
  I want to include a jar file in my application, so I put it in
  $APPLICATION_ROOT/lib
  and in the orion-application.jar I

Re: Classpath and library path ERROR ??? -- PLEASE again ???

2001-06-22 Thread Eddie

Helllu ??

What do you need to do to get an answer from this newsgroup when you are
really in trouble ?? :(

I still haven't be able to include a jar file in the orion-application.xml,
that can be used by my application. It is able to use my jar when I put it
in the $ORION_HOME/lib dir, but that's not what I want, as every application
needs his own copy.

I like to hear from Linux users how they did this, as I noticed that all the
people that talked about it in the newsgroup, where all Windoze hackers. (I
use: redhat 7.0 with sun jdk and orion 1.5.1)

PLEASE some help, see below for more info ??

Eddie :(



- Original Message -
From: Eddie
To: Orion-Interest
Sent: Tuesday, June 19, 2001 11:20 AM
Subject: Re: Classpath and library path ERROR ??? -- PLEASE again ???


Thanks,

Indeed the library tag wasn't on the correct place in the
orion-application.xml.
However, after placing it in the correct place it still doesn't work:

.
 web-module id=web path=web /
 persistence path=persistence /

library path=./lib /
library path=./lib/log4j-core.jar /
library path=./lib/log4j.jar /

 principals path=principals.xml /
log
  file path=application.log /
 /log
 namespace-access

---

I also tried the orion-web.xml:


orion-web-app
 deployment-version=1.5.1
 development=true
 jsp-cache-directory=./persistence
 temporary-directory=./temp
 servlet-webdir=/servlets/

classpath path=./lib/log4j-core.jar /
 ejb-ref-mapping name=ejb/UserManagerHome /
...


But didn't had much luck, which didn't suprise me, as I am using the lib
files in my ejb's.
I am sure that the jar files can be find by Orion, as it complaints when it
can't find the files.

But are you using Linux ?? I have a friend that has exatly the same problems
on his linux machine!! .-- :(
Shoudn't I put it all in a ear file ?? and if so, where ??

Hope you have some ideas as I don't have them anymore. Neither do I know how
to debug this, as Orion doesn't show that it loads the jar file...or where
it looks..
Hmmm... frustrating..
Eddie
- Original Message -
From: elephantwalker
To: Orion-Interest
Sent: Monday, June 18, 2001 6:20 PM
Subject: RE: Classpath and library path ERROR ??? -- PLEASE again ???


The dtd for orion-application.xml says about library:

!-- A relative/absolute path/URL to a directory or a .jar/.zip to add as a
library-path for this server. Directories are scanned for jars/zips to
include at startup. --
!ELEMENT library (#PCDATA)
!ATTLIST library path CDATA #IMPLIED


The main orion-application element is:

!ELEMENT orion-application
(ejb-module*,web-module*,client-module*,security-role-mapping*,
persistence?, library*, principals?, mail-session*, user-manager?, log?,
data-sources?, namespace-access?)


Note the order. If library is not in the right order (after persistence and
before principals), this won't work.

But this is application, which is for the overall server. You might try the
orion-web.xml for specific support of  a codebase of a war file:

!-- Specifies a codebase where classes used by this application
(servlets/beans, etc) can be found. --
!ELEMENT classpath (#PCDATA)
!ATTLIST classpath path CDATA #IMPLIED


This should be the first element in your orion-web-app element.

regards,

the elephantwalker








-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
Sent: Monday, June 18, 2001 8:15 AM
To: Orion-Interest
Subject: Re: Classpath and library path ERROR ??? -- PLEASE again ???


Hellu,

I am have still having problems with the problem below. Can someone PLEASE
help me with this ???

Eddie


- Original Message -
From: Eddie
To: Orion-Interest
Sent: Friday, June 15, 2001 1:08 PM
Subject: Classpath and library path ERROR ???


OK,

I want to include a jar file in my application, so I put it in
$APPLICATION_ROOT/lib
and in the orion-application.jar I put (I first let Orion generate the
orion-application.xml file):
-
library path=./lib /
library path=./lib/log4j-core.jar /
library path=./lib/log4j.jar /
---

However My application can't find the jar files: NoClassDefFoundError.
Can someone please tell me how to solve this ???
I notice that Orion is reading the tags, as it complains when the names of
the directory or jar file is incorrect.

BTW: my application needs his own jar file (so putting it in the orion lib
dir is no alternative).

I have been struggling with this problem in the past as well and didn't
solve it.
I now have Orion 1.5.1 with redHat 7.0 and still have the same problem.
I searched the mailinglist and tried a lot of possible solutions, but had
bad luck.

I like to hear how people solved this running on Linux, without having there
application in an EAR, as I noticed that the people that have it working are
running Windowz or/and an EAR file.

I am getting frustrated by this problem, so please come up with a solution??

What I tried, among others

RE: Classpath and library path ERROR ??? -- PLEASE again ???

2001-06-22 Thread Lou Farho

I am not sure this will help but here it goes.
My problem was were to put classes shared by my web app and my ejbs.  I
wanted to jar them up and put them some where. I asked around and got
various responses.  The response I found most useful was to put the classes
in the ejb.jar file.  So, if you have a jar file with classes you want to
use, you need to extract them some where.  Then, when you build your ejb jar
include them.  The reason to do this is that Orion's ejb classloader will
make these classes visible to your web app.  I was also told that WebLogic's
classloader behaves the same way.  This seems like a clumsy solution but
when you want to just distribute an ear file, this looks pretty good.  And
it works for me.

Good Luck!





Re: Classpath and library path ERROR ??? -- PLEASE again ???

2001-06-22 Thread Ye He

i speicify my CLASSPATH thru applications.xml's
library path=.. / tag, using absolute path.  i'm on
SuSE 7.1 (kernel 2.4.0) with IBM jdk 1.3.0

--- Eddie [EMAIL PROTECTED] wrote:
 Helllu ??
 
 What do you need to do to get an answer from this newsgroup
 when you are
 really in trouble ?? :(
 
 I still haven't be able to include a jar file in the
 orion-application.xml,
 that can be used by my application. It is able to use my jar
 when I put it
 in the $ORION_HOME/lib dir, but that's not what I want, as
 every application
 needs his own copy.
 
 I like to hear from Linux users how they did this, as I
 noticed that all the
 people that talked about it in the newsgroup, where all
 Windoze hackers. (I
 use: redhat 7.0 with sun jdk and orion 1.5.1)
 
 PLEASE some help, see below for more info ??
 
 Eddie :(
 
 
 
 - Original Message -
 From: Eddie
 To: Orion-Interest
 Sent: Tuesday, June 19, 2001 11:20 AM
 Subject: Re: Classpath and library path ERROR ??? -- PLEASE
 again ???
 
 
 Thanks,
 
 Indeed the library tag wasn't on the correct place in the
 orion-application.xml.
 However, after placing it in the correct place it still
 doesn't work:
 
 .
  web-module id=web path=web /
  persistence path=persistence /
 
 library path=./lib /
 library path=./lib/log4j-core.jar /
 library path=./lib/log4j.jar /
 
  principals path=principals.xml /
 log
   file path=application.log /
  /log
  namespace-access
 
 ---
 
 I also tried the orion-web.xml:
 
 
 orion-web-app
  deployment-version=1.5.1
  development=true
  jsp-cache-directory=./persistence
  temporary-directory=./temp
  servlet-webdir=/servlets/
 
 classpath path=./lib/log4j-core.jar /
  ejb-ref-mapping name=ejb/UserManagerHome /
 ...
 
 
 But didn't had much luck, which didn't suprise me, as I am
 using the lib
 files in my ejb's.
 I am sure that the jar files can be find by Orion, as it
 complaints when it
 can't find the files.
 
 But are you using Linux ?? I have a friend that has exatly the
 same problems
 on his linux machine!! .-- :(
 Shoudn't I put it all in a ear file ?? and if so, where ??
 
 Hope you have some ideas as I don't have them anymore. Neither
 do I know how
 to debug this, as Orion doesn't show that it loads the jar
 file...or where
 it looks..
 Hmmm... frustrating..
 Eddie
 - Original Message -
 From: elephantwalker
 To: Orion-Interest
 Sent: Monday, June 18, 2001 6:20 PM
 Subject: RE: Classpath and library path ERROR ??? -- PLEASE
 again ???
 
 
 The dtd for orion-application.xml says about library:
 
 !-- A relative/absolute path/URL to a directory or a
 .jar/.zip to add as a
 library-path for this server. Directories are scanned for
 jars/zips to
 include at startup. --
 !ELEMENT library (#PCDATA)
 !ATTLIST library path CDATA #IMPLIED
 
 
 The main orion-application element is:
 
 !ELEMENT orion-application

(ejb-module*,web-module*,client-module*,security-role-mapping*,
 persistence?, library*, principals?, mail-session*,
 user-manager?, log?,
 data-sources?, namespace-access?)
 
 
 Note the order. If library is not in the right order (after
 persistence and
 before principals), this won't work.
 
 But this is application, which is for the overall server. You
 might try the
 orion-web.xml for specific support of  a codebase of a war
 file:
 
 !-- Specifies a codebase where classes used by this
 application
 (servlets/beans, etc) can be found. --
 !ELEMENT classpath (#PCDATA)
 !ATTLIST classpath path CDATA #IMPLIED
 
 
 This should be the first element in your orion-web-app
 element.
 
 regards,
 
 the elephantwalker
 
 
 
 
 
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of
 Eddie
 Sent: Monday, June 18, 2001 8:15 AM
 To: Orion-Interest
 Subject: Re: Classpath and library path ERROR ??? -- PLEASE
 again ???
 
 
 Hellu,
 
 I am have still having problems with the problem below. Can
 someone PLEASE
 help me with this ???
 
 Eddie
 
 
 - Original Message -
 From: Eddie
 To: Orion-Interest
 Sent: Friday, June 15, 2001 1:08 PM
 Subject: Classpath and library path ERROR ???
 
 
 OK,
 
 I want to include a jar file in my application, so I put it in
 $APPLICATION_ROOT/lib
 and in the orion-application.jar I put (I first let Orion
 generate the
 orion-application.xml file):
 -
 library path=./lib /
 library path=./lib/log4j-core.jar /
 library path=./lib/log4j.jar /
 ---
 
 However My application can't find the jar files:
 NoClassDefFoundError.
 Can someone please tell me how to solve this ???
 I notice that Orion is reading the tags, as it complains when
 the names of
 the directory or jar file is incorrect.
 
 BTW: my application needs his own jar file (so putting it in
 the orion lib
 dir is no alternative).
 
 I have been struggling with this problem in the past as well
 and didn't
 
=== message truncated

RE: Classpath and library path ERROR ??? -- PLEASE again ???

2001-06-22 Thread elephantwalker

this tag works for me:

library path=lib /

then, everything in the lib directory is picked up, if it is a class or jar.

The key bit is from where?

if your ear build structure looks like this:

/META-INF
/mywar.war
/myejbs.jar
/lib
/lib/com/somepackage/some.class

The lib directory referred to in the library ... / tag is the same as the
lib directory in the ear. You don't have to worry that people can navigate
to this directory, because there is no web-app called lib in your files.
We used this to put our own usermanager code in, and it worked fine. If you
had a jar file, I'm not sure that you would have to refer to it in the
libary tag. I think the key bit is WHERE you put the lib directory in the
ear file.

I hope this helps.

Regards,

the elephantwalker

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
Sent: Friday, June 22, 2001 5:17 AM
To: Orion-Interest
Subject: Re: Classpath and library path ERROR ??? -- PLEASE again ???


Helllu ??

What do you need to do to get an answer from this newsgroup when you are
really in trouble ?? :(

I still haven't be able to include a jar file in the orion-application.xml,
that can be used by my application. It is able to use my jar when I put it
in the $ORION_HOME/lib dir, but that's not what I want, as every application
needs his own copy.

I like to hear from Linux users how they did this, as I noticed that all the
people that talked about it in the newsgroup, where all Windoze hackers. (I
use: redhat 7.0 with sun jdk and orion 1.5.1)

PLEASE some help, see below for more info ??

Eddie :(



- Original Message -
From: Eddie
To: Orion-Interest
Sent: Tuesday, June 19, 2001 11:20 AM
Subject: Re: Classpath and library path ERROR ??? -- PLEASE again ???


Thanks,

Indeed the library tag wasn't on the correct place in the
orion-application.xml.
However, after placing it in the correct place it still doesn't work:

.
 web-module id=web path=web /
 persistence path=persistence /

library path=./lib /
library path=./lib/log4j-core.jar /
library path=./lib/log4j.jar /

 principals path=principals.xml /
log
  file path=application.log /
 /log
 namespace-access

---

I also tried the orion-web.xml:


orion-web-app
 deployment-version=1.5.1
 development=true
 jsp-cache-directory=./persistence
 temporary-directory=./temp
 servlet-webdir=/servlets/

classpath path=./lib/log4j-core.jar /
 ejb-ref-mapping name=ejb/UserManagerHome /
...


But didn't had much luck, which didn't suprise me, as I am using the lib
files in my ejb's.
I am sure that the jar files can be find by Orion, as it complaints when it
can't find the files.

But are you using Linux ?? I have a friend that has exatly the same problems
on his linux machine!! .-- :(
Shoudn't I put it all in a ear file ?? and if so, where ??

Hope you have some ideas as I don't have them anymore. Neither do I know how
to debug this, as Orion doesn't show that it loads the jar file...or where
it looks..
Hmmm... frustrating..
Eddie
- Original Message -
From: elephantwalker
To: Orion-Interest
Sent: Monday, June 18, 2001 6:20 PM
Subject: RE: Classpath and library path ERROR ??? -- PLEASE again ???


The dtd for orion-application.xml says about library:

!-- A relative/absolute path/URL to a directory or a .jar/.zip to add as a
library-path for this server. Directories are scanned for jars/zips to
include at startup. --
!ELEMENT library (#PCDATA)
!ATTLIST library path CDATA #IMPLIED


The main orion-application element is:

!ELEMENT orion-application
(ejb-module*,web-module*,client-module*,security-role-mapping*,
persistence?, library*, principals?, mail-session*, user-manager?, log?,
data-sources?, namespace-access?)


Note the order. If library is not in the right order (after persistence and
before principals), this won't work.

But this is application, which is for the overall server. You might try the
orion-web.xml for specific support of  a codebase of a war file:

!-- Specifies a codebase where classes used by this application
(servlets/beans, etc) can be found. --
!ELEMENT classpath (#PCDATA)
!ATTLIST classpath path CDATA #IMPLIED


This should be the first element in your orion-web-app element.

regards,

the elephantwalker








-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
Sent: Monday, June 18, 2001 8:15 AM
To: Orion-Interest
Subject: Re: Classpath and library path ERROR ??? -- PLEASE again ???


Hellu,

I am have still having problems with the problem below. Can someone PLEASE
help me with this ???

Eddie


- Original Message -
From: Eddie
To: Orion-Interest
Sent: Friday, June 15, 2001 1:08 PM
Subject: Classpath and library path ERROR ???


OK,

I want to include a jar file in my application, so I put it in
$APPLICATION_ROOT/lib
and in the orion-application.jar I put (I first let Orion generate the
orion-application.xml

Re: Classpath and library path ERROR ??? -- PLEASE again ???

2001-06-22 Thread Pablo Krause


Which orion-application.xml are you editing?
The one in applications/yourapplication/META-INF or the one in 
application-deployments/yourapplication?

I was having the same problem.  I was modifying the 
applications/myapplication/META-INF/orion-application.xml but it wasn't 
copied to the application-deployments directory automaticaly, so I erased 
everything in the application-deployments directory to force Orion to 
redoploy the whole app.  I also had to copy the 
application-deployments/myapplication/principals.xml to 
applications/myapplication/META-INF before deleting the mentioned directory 
or Orion would complain.
After this, it worked.  The problem is that it is Orion specific.  I haven't 
found a J2EE standard way to share classes between modules.

I tested this only in Windows though.

Good luck.


From: Eddie [EMAIL PROTECTED]
Reply-To: Orion-Interest [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Subject: Re: Classpath and library path ERROR ??? -- PLEASE again ???
Date: Fri, 22 Jun 2001 14:17:16 +0200

Helllu ??

What do you need to do to get an answer from this newsgroup when you are
really in trouble ?? :(

I still haven't be able to include a jar file in the orion-application.xml,
that can be used by my application. It is able to use my jar when I put it
in the $ORION_HOME/lib dir, but that's not what I want, as every 
application
needs his own copy.

I like to hear from Linux users how they did this, as I noticed that all 
the
people that talked about it in the newsgroup, where all Windoze hackers. (I
use: redhat 7.0 with sun jdk and orion 1.5.1)

PLEASE some help, see below for more info ??

Eddie :(



- Original Message -
From: Eddie
To: Orion-Interest
Sent: Tuesday, June 19, 2001 11:20 AM
Subject: Re: Classpath and library path ERROR ??? -- PLEASE again ???


Thanks,

Indeed the library tag wasn't on the correct place in the
orion-application.xml.
However, after placing it in the correct place it still doesn't work:

.
  web-module id=web path=web /
  persistence path=persistence /

 library path=./lib /
 library path=./lib/log4j-core.jar /
 library path=./lib/log4j.jar /

  principals path=principals.xml /
 log
   file path=application.log /
  /log
  namespace-access

---

I also tried the orion-web.xml:


orion-web-app
  deployment-version=1.5.1
  development=true
  jsp-cache-directory=./persistence
  temporary-directory=./temp
  servlet-webdir=/servlets/
 
 classpath path=./lib/log4j-core.jar /
  ejb-ref-mapping name=ejb/UserManagerHome /
...


But didn't had much luck, which didn't suprise me, as I am using the lib
files in my ejb's.
I am sure that the jar files can be find by Orion, as it complaints when it
can't find the files.

But are you using Linux ?? I have a friend that has exatly the same 
problems
on his linux machine!! .-- :(
Shoudn't I put it all in a ear file ?? and if so, where ??

Hope you have some ideas as I don't have them anymore. Neither do I know 
how
to debug this, as Orion doesn't show that it loads the jar file...or where
it looks..
Hmmm... frustrating..
Eddie
- Original Message -
From: elephantwalker
To: Orion-Interest
Sent: Monday, June 18, 2001 6:20 PM
Subject: RE: Classpath and library path ERROR ??? -- PLEASE again ???


The dtd for orion-application.xml says about library:

!-- A relative/absolute path/URL to a directory or a .jar/.zip to add as a
library-path for this server. Directories are scanned for jars/zips to
include at startup. --
!ELEMENT library (#PCDATA)
!ATTLIST library path CDATA #IMPLIED
 

The main orion-application element is:

!ELEMENT orion-application
(ejb-module*,web-module*,client-module*,security-role-mapping*,
persistence?, library*, principals?, mail-session*, user-manager?, log?,
data-sources?, namespace-access?)


Note the order. If library is not in the right order (after persistence and
before principals), this won't work.

But this is application, which is for the overall server. You might try the
orion-web.xml for specific support of  a codebase of a war file:

!-- Specifies a codebase where classes used by this application
(servlets/beans, etc) can be found. --
!ELEMENT classpath (#PCDATA)
!ATTLIST classpath path CDATA #IMPLIED
 

This should be the first element in your orion-web-app element.

regards,

the elephantwalker








-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
Sent: Monday, June 18, 2001 8:15 AM
To: Orion-Interest
Subject: Re: Classpath and library path ERROR ??? -- PLEASE again ???


Hellu,

I am have still having problems with the problem below. Can someone PLEASE
help me with this ???

Eddie


- Original Message -
From: Eddie
To: Orion-Interest
Sent: Friday, June 15, 2001 1:08 PM
Subject: Classpath and library path ERROR ???


OK,

I want to include a jar file in my application, so I put it in
$APPLICATION_ROOT/lib
and in the orion

Re: Classpath and library path ERROR ??? -- PLEASE again ???

2001-06-19 Thread Steffen Stundzig

Hi Eddie,

 Eddie [EMAIL PROTECTED] wrote:
 Hellu,
 
 I am have still having problems with the problem below. Can someone PLEASE
help me with this ???

do you have tested this with absolute path's? 

I've have disabled, that orion deploys my ear in an specific deployment
directory. Otherwise the relative path's such as in your sample can become
incorrect. Then the relative paths works for me.

Regards
Steffen...

-- 
__
Steffen Stundzigmailto:[EMAIL PROTECTED]
SMB GmbHhttp://www.smb-tec.com







Re: Classpath and library path ERROR ??? -- PLEASE again ???

2001-06-19 Thread Eddie



Thanks,

Indeed the library tag wasn't on the correct place 
in the orion-application.xml.
However, after placing it in the correct place it 
still doesn't work:

.
web-module id="web" path="web" 
/persistence path="persistence" /

 
library path="./lib" / 
library path="./lib/log4j-core.jar" 
/ library 
path="./lib/log4j.jar" /

principals path="principals.xml" 
/ 
logfile path="application.log" 
//lognamespace-access
---

I also tried the orion-web.xml:


orion-web-appdeployment-version="1.5.1"development="true"jsp-cache-directory="./persistence"temporary-directory="./temp"servlet-webdir="/servlets/" 
classpath path="./lib/log4j-core.jar" /ejb-ref-mapping 
name="ejb/UserManagerHome" /...


But didn't had much luck, which didn't suprise me, 
as I am using the lib files in my ejb's.
I am sure that the jar files can be find by Orion, 
as it complaints when it can't find the files.

But are you using Linux ?? I have a friend that has 
exatly the same problems on his linux machine!! .-- :(
Shoudn't I put it all in a ear file ?? and if so, 
where ??

Hope you have some ideas as I don't have them 
anymore. Neither do I know how to debug this, as Orion doesn't show that it 
loads the jar file...or where it looks..
Hmmm... frustrating..
Eddie

  - Original Message - 
  From: 
  elephantwalker 
  To: Orion-Interest 
  Sent: Monday, June 18, 2001 6:20 PM
  Subject: RE: Classpath and library path 
  ERROR ??? -- PLEASE again ???
  
  The 
  dtd for orion-application.xml says about library:
  
  !-- A relative/absolute path/URL to a directory or a .jar/.zip to 
  add as a library-path for this server. Directories are scanned for jars/zips 
  to include at startup. --!ELEMENT library 
  (#PCDATA)!ATTLIST library path CDATA 
  #IMPLIED
  
  The 
  main orion-application element is:
  
  !ELEMENT orion-application 
  (ejb-module*,web-module*,client-module*,security-role-mapping*, persistence?, 
  library*, principals?, mail-session*, user-manager?, log?, data-sources?, 
  namespace-access?)
  
  Note 
  the order. If library is not in the right order (after persistence and before 
  principals), this won't work.
  
  But 
  this is application, which is for the overall server. You might try the 
  orion-web.xml for specific support of a codebase of a war 
  file:
  
  !-- Specifies a codebase where classes used by this application 
  (servlets/beans, etc) can be found. --!ELEMENT classpath 
  (#PCDATA)!ATTLIST classpath path CDATA 
  #IMPLIED
  
  This 
  should be the first element in your orion-web-app element.
  
  regards,
  
  the 
  elephantwalker
  
  
  
  
  
  
  
  
  
-Original Message-From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On Behalf Of 
EddieSent: Monday, June 18, 2001 8:15 AMTo: 
Orion-InterestSubject: Re: Classpath and library path ERROR ??? 
-- PLEASE again ???
Hellu,

I am have still having problems with the 
problem below. Can someone PLEASE help me with this ???

Eddie



  - Original Message - 
  From: 
  Eddie 
  To: Orion-Interest 
  Sent: Friday, June 15, 2001 1:08 
  PM
  Subject: Classpath and library path 
  ERROR ???
  
  OK,
  
  I want to include a jar file in my 
  application, so I put it in $APPLICATION_ROOT/lib
  and in the orion-application.jar I put (I 
  first let Orion generate the orion-application.xml file):
  -
   
  library path="./lib" 
  / library 
  path="./lib/log4j-core.jar" 
  / library 
  path="./lib/log4j.jar" /---
  
  However My application can't find the jar 
  files: "NoClassDefFoundError". 
  Can someone please tell me how to solve this 
  ??? 
  I notice that Orion is reading the tags, as 
  it complains when the names of the directory or jar fileis 
  incorrect.
  
  BTW: my application needs his own jar file 
  (so putting it in the orion lib dir is no alternative).
  
  I have been struggling with this problem in 
  the past as well and didn't solve it.
  I now have Orion 1.5.1 with redHat 7.0 and 
  still have the same problem.
  I searched the mailinglist and tried a lot of 
  possible solutions, but had bad luck.
  
  I like to hear how people solved this running 
  on Linux, without having there application in an EAR, as I noticed that 
  the people that have it working are running Windowz or/and an EAR 
  file.
  
  I am getting frustrated by this problem, so 
  please come up with a solution??
  
  What I tried, among others:
  1- let orion deploy the application in the 
  application directory (in the server.xml).
  

Re: Classpath and library path ERROR ??? -- PLEASE again ???

2001-06-18 Thread Eddie



Hellu,

I am have still having problems with the problem 
below. Can someone PLEASE help me with this ???

Eddie



  - Original Message - 
  From: 
  Eddie 
  
  To: Orion-Interest 
  Sent: Friday, June 15, 2001 1:08 PM
  Subject: Classpath and library path ERROR 
  ???
  
  OK,
  
  I want to include a jar file in my application, 
  so I put it in $APPLICATION_ROOT/lib
  and in the orion-application.jar I put (I first 
  let Orion generate the orion-application.xml file):
  -
   
  library path="./lib" / 
  library path="./lib/log4j-core.jar" 
  / library 
  path="./lib/log4j.jar" /---
  
  However My application can't find the jar files: 
  "NoClassDefFoundError". 
  Can someone please tell me how to solve this ??? 
  
  I notice that Orion is reading the tags, as it 
  complains when the names of the directory or jar fileis 
  incorrect.
  
  BTW: my application needs his own jar file (so 
  putting it in the orion lib dir is no alternative).
  
  I have been struggling with this problem in the 
  past as well and didn't solve it.
  I now have Orion 1.5.1 with redHat 7.0 and still 
  have the same problem.
  I searched the mailinglist and tried a lot of 
  possible solutions, but had bad luck.
  
  I like to hear how people solved this running on 
  Linux, without having there application in an EAR, as I noticed that the 
  people that have it working are running Windowz or/and an EAR 
  file.
  
  I am getting frustrated by this problem, so 
  please come up with a solution??
  
  What I tried, among others:
  1- let orion deploy the application in the 
  application directory (in the server.xml).
  2 - put the lib files in the deployment 
  dir.
  3 - including the jar files as absolute paths and 
  other forms..
  4 - the persmission are correct of the 
  files.
  
  
  GRhhh,
  Eddie
  
  
  
  
  


RE: Classpath and library path ERROR ??? -- PLEASE again ???

2001-06-18 Thread elephantwalker



The 
dtd for orion-application.xml says about library:

!-- A relative/absolute path/URL to a directory or a .jar/.zip to add 
as a library-path for this server. Directories are scanned for jars/zips to 
include at startup. --!ELEMENT library (#PCDATA)!ATTLIST 
library path CDATA #IMPLIED

The 
main orion-application element is:

!ELEMENT orion-application 
(ejb-module*,web-module*,client-module*,security-role-mapping*, persistence?, 
library*, principals?, mail-session*, user-manager?, log?, data-sources?, 
namespace-access?)

Note 
the order. If library is not in the right order (after persistence and before 
principals), this won't work.

But 
this is application, which is for the overall server. You might try the 
orion-web.xml for specific support of a codebase of a war 
file:

!-- Specifies a codebase where classes used by this application 
(servlets/beans, etc) can be found. --!ELEMENT classpath 
(#PCDATA)!ATTLIST classpath path CDATA 
#IMPLIED

This 
should be the first element in your orion-web-app element.

regards,

the 
elephantwalker









  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of 
  EddieSent: Monday, June 18, 2001 8:15 AMTo: 
  Orion-InterestSubject: Re: Classpath and library path ERROR ??? 
  -- PLEASE again ???
  Hellu,
  
  I am have still having problems with the problem 
  below. Can someone PLEASE help me with this ???
  
  Eddie
  
  
  
- Original Message - 
From: 
Eddie 
To: Orion-Interest 
Sent: Friday, June 15, 2001 1:08 
PM
Subject: Classpath and library path 
ERROR ???

OK,

I want to include a jar file in my application, 
so I put it in $APPLICATION_ROOT/lib
and in the orion-application.jar I put (I first 
let Orion generate the orion-application.xml file):
-
 
library path="./lib" / 
library path="./lib/log4j-core.jar" 
/ library 
path="./lib/log4j.jar" /---

However My application can't find the jar 
files: "NoClassDefFoundError". 
Can someone please tell me how to solve this 
??? 
I notice that Orion is reading the tags, as it 
complains when the names of the directory or jar fileis 
incorrect.

BTW: my application needs his own jar file (so 
putting it in the orion lib dir is no alternative).

I have been struggling with this problem in the 
past as well and didn't solve it.
I now have Orion 1.5.1 with redHat 7.0 and 
still have the same problem.
I searched the mailinglist and tried a lot of 
possible solutions, but had bad luck.

I like to hear how people solved this running 
on Linux, without having there application in an EAR, as I noticed that the 
people that have it working are running Windowz or/and an EAR 
file.

I am getting frustrated by this problem, so 
please come up with a solution??

What I tried, among others:
1- let orion deploy the application in the 
application directory (in the server.xml).
2 - put the lib files in the deployment 
dir.
3 - including the jar files as absolute paths 
and other forms..
4 - the persmission are correct of the 
files.


GRhhh,
Eddie







RE: Classpath and library path ERROR ??? -- PLEASE again ???

2001-06-18 Thread elephantwalker

Ye,

That's not an issue with orion. Its java. Depending on the jdk  and linux
distro you are using, you will get this error. If you are using redhat 7.0
or 7.1, I would use only ibm, sun seems to have some issues with rh. Orion
runs totally in java. If java is broken, then orion won't run.

IBM advises exporting the LD_ASSUME_KERNEL=2.2.5 in your .bash_profile
instead of relying on the built-in shells for java. This works for redhat
7.1 and IBMJava2-13, which is what we use for production.

Regards,

the elephantwalker

-Original Message-
From: Ye He [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 18, 2001 12:45 PM
To: [EMAIL PROTECTED]
Subject: RE: Classpath and library path ERROR ??? -- PLEASE again ???


Hi,
I posted a similar question to this list but got no answer.
Wondering if you could help also.

Where can I specify LD_LIBRARY_PATH for orion to pick up?
My app was getting a UnsatisfiedLinkError when calling a
native method.  I believe I included the right shared libs
in LD_LIBRARY_PATH in the shell script I use to start up
orion, but it doesn't seem to work.

Thanks in advance,

Ye

--- elephantwalker [EMAIL PROTECTED] wrote:
 The dtd for orion-application.xml says about library:

 !-- A relative/absolute path/URL to a directory or a
 .jar/.zip to add as a
 library-path for this server. Directories are scanned for
 jars/zips to
 include at startup. --
 !ELEMENT library (#PCDATA)
 !ATTLIST library path CDATA #IMPLIED
 

 The main orion-application element is:

 !ELEMENT orion-application

(ejb-module*,web-module*,client-module*,security-role-mapping*,
 persistence?, library*, principals?, mail-session*,
 user-manager?, log?,
 data-sources?, namespace-access?)


 Note the order. If library is not in the right order (after
 persistence and
 before principals), this won't work.

 But this is application, which is for the overall server. You
 might try the
 orion-web.xml for specific support of  a codebase of a war
 file:

 !-- Specifies a codebase where classes used by this
 application
 (servlets/beans, etc) can be found. --
 !ELEMENT classpath (#PCDATA)
 !ATTLIST classpath path CDATA #IMPLIED
 

 This should be the first element in your orion-web-app
 element.

 regards,

 the elephantwalker








   -Original Message-
   From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of
 Eddie
   Sent: Monday, June 18, 2001 8:15 AM
   To: Orion-Interest
   Subject: Re: Classpath and library path ERROR ??? -- PLEASE
 again ???


   Hellu,

   I am have still having problems with the problem below. Can
 someone PLEASE
 help me with this ???

   Eddie


 - Original Message -
 From: Eddie
 To: Orion-Interest
 Sent: Friday, June 15, 2001 1:08 PM
 Subject: Classpath and library path ERROR ???


 OK,

 I want to include a jar file in my application, so I put
 it in
 $APPLICATION_ROOT/lib
 and in the orion-application.jar I put (I first let Orion
 generate the
 orion-application.xml file):
 -
 library path=./lib /
 library path=./lib/log4j-core.jar /
 library path=./lib/log4j.jar /
 ---

 However My application can't find the jar files:
 NoClassDefFoundError.
 Can someone please tell me how to solve this ???
 I notice that Orion is reading the tags, as it complains
 when the names
 of the directory or jar file is incorrect.

 BTW: my application needs his own jar file (so putting it
 in the orion
 lib dir is no alternative).

 I have been struggling with this problem in the past as
 well and didn't
 solve it.
 I now have Orion 1.5.1 with redHat 7.0 and still have the
 same problem.
 I searched the mailinglist and tried a lot of possible
 solutions, but
 had bad luck.

 I like to hear how people solved this running on Linux,
 without having
 there application in an EAR, as I noticed that the people that
 have it
 working are running Windowz or/and an EAR file.

 I am getting frustrated by this problem, so please come up
 with a
 solution??

 What I tried, among others:
 1- let orion deploy the application in the application
 directory (in the
 server.xml).
 2 - put the lib files in the deployment dir.
 3 - including the jar files as absolute paths and other
 forms..
 4 - the persmission are correct of the files.
 

 GRhhh,
 Eddie








__
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/





Classpath and library path ERROR ???

2001-06-15 Thread Eddie



OK,

I want to include a jar file in my application, so 
I put it in $APPLICATION_ROOT/lib
and in the orion-application.jar I put (I first let 
Orion generate the orion-application.xml file):
-
 
library path="./lib" / 
library path="./lib/log4j-core.jar" 
/ library 
path="./lib/log4j.jar" /---

However My application can't find the jar files: 
"NoClassDefFoundError". 
Can someone please tell me how to solve this ??? 

I notice that Orion is reading the tags, as it 
complains when the names of the directory or jar fileis 
incorrect.

BTW: my application needs his own jar file (so 
putting it in the orion lib dir is no alternative).

I have been struggling with this problem in the 
past as well and didn't solve it.
I now have Orion 1.5.1 with redHat 7.0 and still 
have the same problem.
I searched the mailinglist and tried a lot of 
possible solutions, but had bad luck.

I like to hear how people solved this running on 
Linux, without having there application in an EAR, as I noticed that the people 
that have it working are running Windowz or/and an EAR file.

I am getting frustrated by this problem, so please 
come up with a solution??

What I tried, among others:
1- let orion deploy the application in the 
application directory (in the server.xml).
2 - put the lib files in the deployment 
dir.
3 - including the jar files as absolute paths and 
other forms..
4 - the persmission are correct of the 
files.


GRhhh,
Eddie







Re: [EJB/Servlet 1.5.1]Classpath driving me nuts...

2001-06-06 Thread Steffen Stundzig

Hi Alex,

I've also disabled, that orion deploy's my ear into a specific deployment 
directory. This I've done by removing the attribute 'application_deployment'
from the element 'application-server' in 'ORION_HOME/config/server.xml'.

Hope this helps.

Regards
Steffen...

 Alex Coyle [EMAIL PROTECTED] wrote:
 Hi there,
 
 I found your question on the orion-interest mailing list, and I have a
 similar problem!
 
 I am also building a ear file with an 'orion-application.xml' file in
 the root 'META-INF' folder for the ear archive. I have added a library
 element specifying the relative path to the 'lib' folder
 ('the_unpacked_war/WEB-INF/lib').
 
 On deployment into Orion I see the following message from orion:
 
 Copying default deployment descriptor from archive at
 E:\Programs\orion1.4.5\px2/META-INF/orion-application.xml to deployment
 directory E:\Programs\orion1.4.5\application-deployments\px2...
 
 However, when I try  view jsp files, the jar files in 'WEB-INF/lib' are
 still not found.
 
 Could you please send me a copy of the 'orion-application.xml' you are
 including in the root 'META-INF' folder of your ear archive? 
 
 Many thanks,
 
 Alex Coyle.
 
 -- 
 Alex Coyle
 
 Email: [EMAIL PROTECTED] 
 WWW: http://www.looksmart.co.uk 
 --
 
 Hi,
 
 I've a 'war' with a servlet. All needed jars and classes for the
 servlet
 resists under 'WEB-INF/lib' in the war-file, but orion doesn't find it
 automatically. 
 My workaround is to build an 'ear' and in the root 'META-INF' I put an
 'orion-application.xml' with an element library which explicitely 
 includes the library path.
 
 The library path is 'the_unpacked_war/WEB-INF/lib'. But IMHO I think
 that all
 classes and jars in the WEB-INF/lib directory should by found
 automatically by
 the servlet container. Am I wrong? I've overlooked something?
 
 Regards
 Steffen... 
 


-- 
__
Steffen Stundzigmailto:[EMAIL PROTECTED]
SMB GmbHhttp://www.smb-tec.com







Re: [EJB/Servlet 1.5.1]Classpath driving me nuts...

2001-05-30 Thread Steffen Stundzig

Hi Ben,

 Ben Christensen [EMAIL PROTECTED] wrote:
 Just put your classpath in the /lib directory in Orions root. It works fine
for
 directory structure in that directory and if you need to really specify
something
 different or choose .jar files or something, edit application.xml in the
config
 directory right after this line:
 
 !-- Path to the libraries that are installed on this server.
  These will accesible for the servlets, EJBs etc --
 
 
 You will see how the ../lib directory is already mapped, go ahead and do the
same
 for a jar file or another directory, or just put everything in the lib
directory.
 
 Ben

THX for your answer.

This is one feasible workaround but no solution for me. Because if I would
deploy an new war inside of my Enterprise Application, I must edit this file
in the application server. That sound's not fine and on remote deploy that's
not possible.

Regards
Steffen...

-- 
__
Steffen Stundzigmailto:[EMAIL PROTECTED]
SMB GmbHhttp://www.smb-tec.com







[EJB/Servlet 1.5.1]Classpath driving me nuts...

2001-05-29 Thread Steffen Stundzig

Hi,

I've a 'war' with a servlet. All needed jars and classes for the servlet
resists under 'WEB-INF/lib' in the war-file, but orion doesn't find it
automatically. 
My workaround is to build an 'ear' and in the root 'META-INF' I put an
'orion-application.xml' with an element library which explicitely 
includes the library path.

The library path is 'the_unpacked_war/WEB-INF/lib'. But IMHO I think that all
classes and jars in the WEB-INF/lib directory should by found automatically by
the servlet container. Am I wrong? I've overlooked something?

Regards
Steffen... 

-- 
__
Steffen Stundzigmailto:[EMAIL PROTECTED]
SMB GmbHhttp://www.smb-tec.com







Re: [EJB/Servlet 1.5.1]Classpath driving me nuts...

2001-05-29 Thread Ben Christensen

Just put your classpath in the /lib directory in Orions root. It works fine for
directory structure in that directory and if you need to really specify something
different or choose .jar files or something, edit application.xml in the config
directory right after this line:

!-- Path to the libraries that are installed on this server.
 These will accesible for the servlets, EJBs etc --


You will see how the ../lib directory is already mapped, go ahead and do the same
for a jar file or another directory, or just put everything in the lib directory.

Ben

Steffen Stundzig wrote:

 Hi,

 I've a 'war' with a servlet. All needed jars and classes for the servlet
 resists under 'WEB-INF/lib' in the war-file, but orion doesn't find it
 automatically.
 My workaround is to build an 'ear' and in the root 'META-INF' I put an
 'orion-application.xml' with an element library which explicitely
 includes the library path.

 The library path is 'the_unpacked_war/WEB-INF/lib'. But IMHO I think that all
 classes and jars in the WEB-INF/lib directory should by found automatically by
 the servlet container. Am I wrong? I've overlooked something?

 Regards
 Steffen...

 --
 __
 Steffen Stundzigmailto:[EMAIL PROTECTED]
 SMB GmbHhttp://www.smb-tec.com

--
Ben Christensen
Novisum Development Inc.
www.novisum.com
[EMAIL PROTECTED]
780-909-4707






Re: [EJB/Servlet 1.5.1]Classpath driving me nuts...

2001-05-29 Thread Gordon Reynolds (cyonara)

Steffen,

That's how I read the spec, with one exception: place only *.jar files
in web-inf/lib; place *.class files in web-inf/classes.

I don't do either, however. I build an ear and place all the
jar files in meta-inf/lib.

Regards,

Gordon.

- Original Message -
From: Steffen Stundzig [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Tuesday, May 29, 2001 7:55 AM
Subject: [EJB/Servlet 1.5.1]Classpath driving me nuts...


 Hi,

 I've a 'war' with a servlet. All needed jars and classes for the servlet
 resists under 'WEB-INF/lib' in the war-file, but orion doesn't find it
 automatically.
 My workaround is to build an 'ear' and in the root 'META-INF' I put an
 'orion-application.xml' with an element library which explicitely
 includes the library path.

 The library path is 'the_unpacked_war/WEB-INF/lib'. But IMHO I think that
all
 classes and jars in the WEB-INF/lib directory should by found
automatically by
 the servlet container. Am I wrong? I've overlooked something?

 Regards
 Steffen...

 --
 __
 Steffen Stundzigmailto:[EMAIL PROTECTED]
 SMB GmbHhttp://www.smb-tec.com










Orion CLASSPATH

2001-04-23 Thread Geoffrey Marshall

Hello all!

Can anyone tell me what Orion is doing with the CLASSPATH.  I suspect it 
is building
its own or adding to mine simply because it knows how to find certain 
jars that I have not specified anywhere.

Any info appreciated...

--

Geoffrey W. MarshallDirector of Development
---
t e r r a s c o p ephone (415) 951-4944
54 Mint St #110   direct (415) 625-0349
San Francisco, CA  94103 fax (415) 625-0306
---




RE: Orion CLASSPATH

2001-04-23 Thread Kemp Randy-W18971

I believe it is internally setting it.  When I transported the Orion and
Orion Primer examples (www.jollem.com) to Jboss (www.jboss.org) as a
learning exercise, I had to define the package settings externally in my
classpath for jboss.  For Orion, I didn't have to do this, but I don't know
what's really going on under the hood. 

-Original Message-
From: Geoffrey Marshall [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 23, 2001 11:30 AM
To: Orion-Interest
Subject: Orion CLASSPATH


Hello all!

Can anyone tell me what Orion is doing with the CLASSPATH.  I suspect it 
is building
its own or adding to mine simply because it knows how to find certain 
jars that I have not specified anywhere.

Any info appreciated...

--

Geoffrey W. MarshallDirector of Development
---
t e r r a s c o p ephone (415) 951-4944
54 Mint St #110   direct (415) 625-0349
San Francisco, CA  94103 fax (415) 625-0306
---




RE: Orion CLASSPATH

2001-04-23 Thread Hani Suleiman

Have a look at META-INF/MANIFEST.MF inside orion.jar, and you'll see
Orion's classpath. Orion uses its own set of classloaders, which have nice
features like automatically picking up any jar/zips from orion/lib, so you
just drop things in there and they work.

On Mon, 23 Apr 2001, Kemp Randy-W18971 wrote:

 I believe it is internally setting it.  When I transported the Orion and
 Orion Primer examples (www.jollem.com) to Jboss (www.jboss.org) as a
 learning exercise, I had to define the package settings externally in my
 classpath for jboss.  For Orion, I didn't have to do this, but I don't know
 what's really going on under the hood. 
 
 -Original Message-
 From: Geoffrey Marshall [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 23, 2001 11:30 AM
 To: Orion-Interest
 Subject: Orion CLASSPATH
 
 
 Hello all!
 
 Can anyone tell me what Orion is doing with the CLASSPATH.  I suspect it 
 is building
 its own or adding to mine simply because it knows how to find certain 
 jars that I have not specified anywhere.
 
 Any info appreciated...
 
 --
 
 Geoffrey W. MarshallDirector of Development
 ---
 t e r r a s c o p ephone (415) 951-4944
 54 Mint St #110   direct (415) 625-0349
 San Francisco, CA  94103 fax (415) 625-0306
 ---
 
 





Re: Orion CLASSPATH

2001-04-23 Thread Robert Krueger

At 09:29 23.04.2001 , you wrote:
Hello all!

Can anyone tell me what Orion is doing with the CLASSPATH.  I suspect it 
is building
its own or adding to mine simply because it knows how to find certain jars 
that I have not specified anywhere.

Any info appreciated...

do yourself a favour and read up on jars and manifest headers, especially 
the class-path header (which orion uses). IMHO you are shooting yourself in 
the foot not knowing or using it. in most cases working with a classpath is 
plain bs especially in development environments where you frequently use 
different combinations/versions of libs.

HTH.

regards,

robert

--

Geoffrey W. MarshallDirector of Development
---
t e r r a s c o p ephone (415) 951-4944
54 Mint St #110   direct (415) 625-0349
San Francisco, CA  94103 fax (415) 625-0306
---


(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





RE: Orion CLASSPATH

2001-04-23 Thread Andre Vanha

The orion jar is using the jar extension mechanism.  If you look at
orion.jar's manifest, you'll see what jars are being added to the classpath
automatically.  You can read more about the jar extension mechanism on Sun's
site.

Andre

-Original Message-
From: Geoffrey Marshall [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 23, 2001 10:30 AM
To: Orion-Interest
Subject: Orion CLASSPATH


Hello all!

Can anyone tell me what Orion is doing with the CLASSPATH.  I suspect it 
is building
its own or adding to mine simply because it knows how to find certain 
jars that I have not specified anywhere.

Any info appreciated...

--

Geoffrey W. MarshallDirector of Development
---
t e r r a s c o p ephone (415) 951-4944
54 Mint St #110   direct (415) 625-0349
San Francisco, CA  94103 fax (415) 625-0306
---




Re: Orion CLASSPATH

2001-04-23 Thread Michael Jara

I beleive that orion.jar has a classpath set in the manifest file.  Take a
look at manifest.mf in the orion jar.

Mike

- Original Message -
From: Kemp Randy-W18971 [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Monday, April 23, 2001 12:00 PM
Subject: RE: Orion CLASSPATH


 I believe it is internally setting it.  When I transported the Orion and
 Orion Primer examples (www.jollem.com) to Jboss (www.jboss.org) as a
 learning exercise, I had to define the package settings externally in my
 classpath for jboss.  For Orion, I didn't have to do this, but I don't
know
 what's really going on under the hood.

 -Original Message-
 From: Geoffrey Marshall [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 23, 2001 11:30 AM
 To: Orion-Interest
 Subject: Orion CLASSPATH


 Hello all!

 Can anyone tell me what Orion is doing with the CLASSPATH.  I suspect it
 is building
 its own or adding to mine simply because it knows how to find certain
 jars that I have not specified anywhere.

 Any info appreciated...

 --

 Geoffrey W. MarshallDirector of Development
 ---
 t e r r a s c o p ephone (415) 951-4944
 54 Mint St #110   direct (415) 625-0349
 San Francisco, CA  94103 fax (415) 625-0306
 ---






Simple classpath prob

2001-03-05 Thread Daryl Hall

Hi - pls someone help me before I go nuts!

I've written a servlet in development=true mode that implements an interface
class. How do I tell orion where to find this class?  The interface is in
the same package as the servlet and I've tried the following:

Dropping the interface.class file in the same directory as as the
autocompiled servlet.class
Creating a .jar file with the interface.class file in and dropping that in
both WEB-INF/lib and WEB-INF/classes
Starting the orion server with a java -classpath
%path-to-jar%;%other-paths% com.evermind.server.ApplicationServer instead of
the java -jar orion.jar

But nothing has worked - someone please put me out of my misery!!

cheers
daryl





Simple classpath prob

2001-03-05 Thread Daryl Hall

Hi - pls someone help me before I go nuts!

I've written a servlet in development=true mode that implements an interface
class. How do I tell orion where to find this class?  The interface is in
the same package as the servlet and I've tried the following:

Dropping the interface.class file in the same directory as as the
autocompiled servlet.class
Creating a .jar file with the interface.class file in and dropping that in
both WEB-INF/lib and WEB-INF/classes
Starting the orion server with a java -classpath
%path-to-jar%;%other-paths% com.evermind.server.ApplicationServer instead of
the java -jar orion.jar

But nothing has worked - someone please put me out of my misery!!

cheers
daryl





RE: Simple classpath prob

2001-03-05 Thread cybermaster

Did you set your source-directory in orion-web.xml?
Did you make sure your browser doesn't do any caching?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Daryl Hall
Sent: Monday, March 05, 2001 4:47 AM
To: Orion-Interest
Subject: Simple classpath prob

Hi - pls someone help me before I go nuts!

I've written a servlet in development=true mode that implements an interface
class. How do I tell orion where to find this class?  The interface is in
the same package as the servlet and I've tried the following:

.





Re: Simple classpath prob

2001-03-05 Thread Dan North

Put it in a jar file in a lib somewhere, and add the line:

library path="/path/to/your/lib" /

to $ORION/config/server.xml



At 11:41 05/03/2001 +, Daryl Hall wrote:
Hi - pls someone help me before I go nuts!

I've written a servlet in development=true mode that implements an interface
class. How do I tell orion where to find this class?  The interface is in
the same package as the servlet and I've tried the following:

 Dropping the interface.class file in the same directory as as the
autocompiled servlet.class
 Creating a .jar file with the interface.class file in and 
 dropping that in
both WEB-INF/lib and WEB-INF/classes
 Starting the orion server with a java -classpath
%path-to-jar%;%other-paths% com.evermind.server.ApplicationServer instead of
the java -jar orion.jar

But nothing has worked - someone please put me out of my misery!!

cheers
daryl

--
Dan North
VP Development  -  Cadrion Software Ltd  -  +44 (0)20 7355 5160
CONFIDENTIALITY
This e-mail and any attachments are confidential
and may also be privileged. If you are not the named recipient,
please notify the sender immediately and do not disclose the
contents to another person, use it for any purpose, or store
or copy the information in any medium





Re: Classpath

2001-02-28 Thread Luis Javier Beltran
Title: RE: Classpath



Thanks a lot!

Luis Javier

  Hi, It seems to me that if you start 
  orion like "java -jar orion.jar" there is a problem with setting the 
  classpath. I start orion like this : set SERVER_PATH=.;%JDBC_PATH%;%OTHER_PATHS% java -classpath "%SERVER_PATH%" com.evermind.server.ApplicationServer 
  
  My %SERVER_PATH% has all external jars i use. 
  Bye, Eyal Litman Kamoon software 


Re: Classpath

2001-02-28 Thread Christian Sell

 Hi,
 It seems to me that if you start orion like "java -jar orion.jar" there is
a
 problem with setting the classpath.

the problem is that the Java documentation explicitly says that if the jar
invocation mechanism is used, the classpath is taken from the manifest file
inside the jar, and all other classpath sources are ignored.





Classpath

2001-02-27 Thread Luis Javier Beltran



Hi,

Where should specify the classpath I want to use? 
I'm trying to include some classes in another directory, it can't find them. I 
thought adding it in a batch file before calling orion would do it, but it seems 
that's not the way.

Thanks a lot!

Luis Javier


RE: Classpath

2001-02-27 Thread Eyal Litman (Kamoon IL)
Title: RE: Classpath





Hi,
It seems to me that if you start orion like java -jar orion.jar there is a problem with setting the classpath.
I start orion like this :
set SERVER_PATH=.;%JDBC_PATH%;%OTHER_PATHS%
java -classpath %SERVER_PATH% com.evermind.server.ApplicationServer 


My %SERVER_PATH% has all external jars i use.


Bye,
Eyal Litman
Kamoon software 


-Original Message-
From: Luis Javier Beltran [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 28, 2001 7:09 AM
To: Orion-Interest
Subject: Classpath



Hi,


Where should specify the classpath I want to use? I'm trying to include some classes in another directory, it can't find them. I thought adding it in a batch file before calling orion would do it, but it seems that's not the way.

Thanks a lot!


Luis Javier





CLASSPATH setup

2001-02-23 Thread Peter Peltonen


I'm a beginner with Orion and Java setup with Linux. I would like to know if I
have setup my system correctly.

I have installed the following on my RedHat 6.2 system:

postgresql-jdbc-7.0.2-2
jdk-1.2.2
j2sdkee-1.2.1
orion-1.4.5

For everything work right, I should have the CLASSPATH variable setup right,
yes? I am a bit confused where to setup it, actually.


Java 2 SDK Enterprise Edition
-

Reading the j2sdkee-1.2.1 installation instructions  I added the postgres
jdbc-driver to the J2EE_CLASSPATH variable in
/usr/local/java/j2sdkee1.2.1/bin/userconfig.sh:

--snip--
J2EE_CLASSPATH=/usr/src/j2sdkee1.2.1/lib/j2ee.jar:/usr/src/j2sdkee1.2.1/lib/system/jdbc7.0-1.2.jar
export J2EE_CLASSPATH
--snip--

I tried running the userconfig.sh script but nothing seems to happen. My
J2EE_CLASSPATH variable did not appear to be existing when I ran echo. So,
when is this file read, then? 

And what does this warning mean (quoted from the installation instructions):

"Note: You should remove the driver .jar files from the CLASSPATH environment
variable."

So, what is the relation with J2EE_CLASSPATH and CLASSPATH?

In my setup (see below) J2EE_CLASSPATH is included in CLASSPATH, is this
wrong?



/etc/profile


As running usreconfig.sh did nothing, I configured the variables I needed in
/etc/profile. In my /etc/profile reads:

--snip--
JAVA_HOME=/usr/local/java/jdk1.2.2
J2EE_CLASSPATH=/usr/src/j2sdkee1.2.1/lib/system/jdbc7.0-1.2.jar
CLASSPATH=$JAVA_HOME:$J2EE_CLASSPATH

export JAVA_HOME J2EE_CLASSPATH CLASSPATH
--snip--

So, my current setup is this:

[peter@cayman orion]$ echo $CLASSPATH
/usr/local/java/jdk1.2.2:/usr/src/j2sdkee1.2.1/lib/system/jdbc7.0-1.2.jar

[peter@cayman orion]$ echo $JAVA_HOME
/usr/local/java/jdk1.2.2

[peter@cayman orion]$ echo $J2EE_CLASSPATH
/usr/src/j2sdkee1.2.1/lib/system/jdbc7.0-1.2.jar


Is this alright? Am I missing something etc.?


Regards,
Peter




RE: CLASSPATH setup

2001-02-23 Thread Arved Sandstrom

The one thing that will clear things up for you is to realize that APIs and
implementation are not one and the same. Sun specifies the J2EE APIs;
however, the j2sdkee is a _reference implementation_ of those APIs. In other
words, it does what Orion does, or what other application servers do.

So you don't need both. If you want to use Orion you don't need the j2sdkee
at all. The Orion distribution already includes the J2EE interfaces and any
third-party implementation (including Sun's) that it needs.

A lot of the Sun J2EE documentation is very good. But when it comes to
installation, configuration and server-specific deployment (like using the
deploytool) then refer to the docs that accompany the specific server you
are using.

Hope this helps.

Regards,
Arved Sandstrom

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Peter Peltonen
Sent: Friday, February 23, 2001 8:27 AM
To: Orion-Interest
Subject: CLASSPATH setup



I'm a beginner with Orion and Java setup with Linux. I would like to know if
I
have setup my system correctly.

I have installed the following on my RedHat 6.2 system:

postgresql-jdbc-7.0.2-2
jdk-1.2.2
j2sdkee-1.2.1
orion-1.4.5

For everything work right, I should have the CLASSPATH variable setup right,
yes? I am a bit confused where to setup it, actually.


Java 2 SDK Enterprise Edition
-

Reading the j2sdkee-1.2.1 installation instructions  I added the postgres
jdbc-driver to the J2EE_CLASSPATH variable in
/usr/local/java/j2sdkee1.2.1/bin/userconfig.sh:

--snip--
J2EE_CLASSPATH=/usr/src/j2sdkee1.2.1/lib/j2ee.jar:/usr/src/j2sdkee1.2.1/lib/
system/jdbc7.0-1.2.jar
export J2EE_CLASSPATH
--snip--

I tried running the userconfig.sh script but nothing seems to happen. My
J2EE_CLASSPATH variable did not appear to be existing when I ran echo. So,
when is this file read, then?

And what does this warning mean (quoted from the installation instructions):

"Note: You should remove the driver .jar files from the CLASSPATH
environment
variable."

So, what is the relation with J2EE_CLASSPATH and CLASSPATH?

In my setup (see below) J2EE_CLASSPATH is included in CLASSPATH, is this
wrong?



/etc/profile


As running usreconfig.sh did nothing, I configured the variables I needed in
/etc/profile. In my /etc/profile reads:

--snip--
JAVA_HOME=/usr/local/java/jdk1.2.2
J2EE_CLASSPATH=/usr/src/j2sdkee1.2.1/lib/system/jdbc7.0-1.2.jar
CLASSPATH=$JAVA_HOME:$J2EE_CLASSPATH

export JAVA_HOME J2EE_CLASSPATH CLASSPATH
--snip--

So, my current setup is this:

[peter@cayman orion]$ echo $CLASSPATH
/usr/local/java/jdk1.2.2:/usr/src/j2sdkee1.2.1/lib/system/jdbc7.0-1.2.jar

[peter@cayman orion]$ echo $JAVA_HOME
/usr/local/java/jdk1.2.2

[peter@cayman orion]$ echo $J2EE_CLASSPATH
/usr/src/j2sdkee1.2.1/lib/system/jdbc7.0-1.2.jar


Is this alright? Am I missing something etc.?


Regards,
Peter






RE: CLASSPATH setup

2001-02-23 Thread Jeff Schnitzer

The J2EE sdk is not necessary, and probably should be removed.  It is
the reference implementation of a J2EE server.  You will be using Orion
instead.

Why aren't you using the 1.3 jdk?

Put the postgres jdbc driver in the orion/lib directory.

That should work :-)

Jeff

-Original Message-
From: Peter Peltonen [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 23, 2001 4:27 AM
To: Orion-Interest
Subject: CLASSPATH setup



I'm a beginner with Orion and Java setup with Linux. I would 
like to know if I
have setup my system correctly.

I have installed the following on my RedHat 6.2 system:

postgresql-jdbc-7.0.2-2
jdk-1.2.2
j2sdkee-1.2.1
orion-1.4.5

For everything work right, I should have the CLASSPATH 
variable setup right,
yes? I am a bit confused where to setup it, actually.


Java 2 SDK Enterprise Edition
-

Reading the j2sdkee-1.2.1 installation instructions  I added 
the postgres
jdbc-driver to the J2EE_CLASSPATH variable in
/usr/local/java/j2sdkee1.2.1/bin/userconfig.sh:

--snip--
J2EE_CLASSPATH=/usr/src/j2sdkee1.2.1/lib/j2ee.jar:/usr/src/j2sd
kee1.2.1/lib/system/jdbc7.0-1.2.jar
export J2EE_CLASSPATH
--snip--

I tried running the userconfig.sh script but nothing seems to 
happen. My
J2EE_CLASSPATH variable did not appear to be existing when I 
ran echo. So,
when is this file read, then? 

And what does this warning mean (quoted from the installation 
instructions):

"Note: You should remove the driver .jar files from the 
CLASSPATH environment
variable."

So, what is the relation with J2EE_CLASSPATH and CLASSPATH?

In my setup (see below) J2EE_CLASSPATH is included in 
CLASSPATH, is this
wrong?



/etc/profile


As running usreconfig.sh did nothing, I configured the 
variables I needed in
/etc/profile. In my /etc/profile reads:

--snip--
JAVA_HOME=/usr/local/java/jdk1.2.2
J2EE_CLASSPATH=/usr/src/j2sdkee1.2.1/lib/system/jdbc7.0-1.2.jar
CLASSPATH=$JAVA_HOME:$J2EE_CLASSPATH

export JAVA_HOME J2EE_CLASSPATH CLASSPATH
--snip--

So, my current setup is this:

[peter@cayman orion]$ echo $CLASSPATH
/usr/local/java/jdk1.2.2:/usr/src/j2sdkee1.2.1/lib/system/jdbc7
.0-1.2.jar

[peter@cayman orion]$ echo $JAVA_HOME
/usr/local/java/jdk1.2.2

[peter@cayman orion]$ echo $J2EE_CLASSPATH
/usr/src/j2sdkee1.2.1/lib/system/jdbc7.0-1.2.jar


Is this alright? Am I missing something etc.?


Regards,
Peter






RE: CLASSPATH setup

2001-02-23 Thread SureTicket.com

The way i do it is modify /etc/profile,
there is already PATH variable setuped, so
just setup CLASSPATH in a same manner and
it going to be available for all users.

Hope this helps

-Anton aka sigg-

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Peter Peltonen
Sent: Friday, February 23, 2001 7:27 AM
To: Orion-Interest
Subject: CLASSPATH setup



I'm a beginner with Orion and Java setup with Linux. I would like to know if
I
have setup my system correctly.

I have installed the following on my RedHat 6.2 system:

postgresql-jdbc-7.0.2-2
jdk-1.2.2
j2sdkee-1.2.1
orion-1.4.5

For everything work right, I should have the CLASSPATH variable setup right,
yes? I am a bit confused where to setup it, actually.


Java 2 SDK Enterprise Edition
-

Reading the j2sdkee-1.2.1 installation instructions  I added the postgres
jdbc-driver to the J2EE_CLASSPATH variable in
/usr/local/java/j2sdkee1.2.1/bin/userconfig.sh:

--snip--
J2EE_CLASSPATH=/usr/src/j2sdkee1.2.1/lib/j2ee.jar:/usr/src/j2sdkee1.2.1/lib/
system/jdbc7.0-1.2.jar
export J2EE_CLASSPATH
--snip--

I tried running the userconfig.sh script but nothing seems to happen. My
J2EE_CLASSPATH variable did not appear to be existing when I ran echo. So,
when is this file read, then?

And what does this warning mean (quoted from the installation instructions):

"Note: You should remove the driver .jar files from the CLASSPATH
environment
variable."

So, what is the relation with J2EE_CLASSPATH and CLASSPATH?

In my setup (see below) J2EE_CLASSPATH is included in CLASSPATH, is this
wrong?



/etc/profile


As running usreconfig.sh did nothing, I configured the variables I needed in
/etc/profile. In my /etc/profile reads:

--snip--
JAVA_HOME=/usr/local/java/jdk1.2.2
J2EE_CLASSPATH=/usr/src/j2sdkee1.2.1/lib/system/jdbc7.0-1.2.jar
CLASSPATH=$JAVA_HOME:$J2EE_CLASSPATH

export JAVA_HOME J2EE_CLASSPATH CLASSPATH
--snip--

So, my current setup is this:

[peter@cayman orion]$ echo $CLASSPATH
/usr/local/java/jdk1.2.2:/usr/src/j2sdkee1.2.1/lib/system/jdbc7.0-1.2.jar

[peter@cayman orion]$ echo $JAVA_HOME
/usr/local/java/jdk1.2.2

[peter@cayman orion]$ echo $J2EE_CLASSPATH
/usr/src/j2sdkee1.2.1/lib/system/jdbc7.0-1.2.jar


Is this alright? Am I missing something etc.?


Regards,
Peter






Orion process dies -- Error in servlet 'classpath'

2001-02-05 Thread Neal Kaiser

Recently my orion process (running on Linux) is dying a couple times a day.
This is just a development server, and as far as I know, nobody is hitting
it.
The only pointer I have at the moment is the following error:


2/5/01 1:14 AM forums: Error in servlet 'classpath' destroy()
java.lang.NullPointerException
at
javax.servlet.GenericServlet.getServletContext(GenericServlet.java)
at javax.servlet.GenericServlet.log(GenericServlet.java)
at javax.servlet.GenericServlet.destroy(GenericServlet.java)
at com.evermind.server.http.ServletInstanceInfo.b9(JAX)
at com.evermind.server.http.HttpApplication.wq(JAX)
at com.evermind.server.http.HttpApplication.b9(JAX)
at com.evermind.server.http.em.b9(JAX)
at com.evermind.server.http.en.b9(JAX)
at com.evermind.server.ApplicationServer.b9(JAX)
at com.evermind.server.hg.run(JAX)
at java.lang.Thread.run(Thread.java:484)
2/5/01 1:14 AM forums: 1.4.4 Stopped


I assume that is coming from when Orion is trying to nicely shut down, but
does
anyone know why I'm getting the null pointer, and why it would be shutting
itself down?

Thanks.





AW: Classpath problems

2000-12-01 Thread Alexander Sparkowsky

Russ,

I've allready tried the solution you mentioned but this doesn't really
satisfy me, because it's not a standard way. The strange thing is that it
has allready worked while I was using JBuilder 4 and after switching to
netbeans and building the jars by an ant script it stopped working. I can't
even get back to a working version when switching back to JBuilder. It seems
as if something gets modified when changing the tool but I didn't any
difference.

Very very strange!

Alex

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Im Auftrag von Russ White
Gesendet: Donnerstag, 30. November 2000 20:39
An: Orion-Interest
Betreff: RE: Classpath problems


Hi Alex,

I too had this problem, and solved it by creating a library directory which
I
now have library tags in my orion-applcation.xml files which point to a
class
repository (could just as easily be a jar file).

like this:
in orion-application.xml
(or config/application.xml if you want these classes to be available to all
apps)
library path="../../dev/java/classes"/

then I do not have any jar files or classes at all in my web-inf/class
web-inf/lib directories.

nor do I have any classes or jars in my ejb deployment directory. For my
EJBs
all I need is a directory for the beans and a META-INF directory under that.
I
put the ejb-jar.xml in that directory and that is all. Then the EJBs and the
servlets share the some library.

Really slick.
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Alexander
 Sparkowsky
 Sent: Thursday, November 30, 2000 12:45 PM
 To: Orion-Interest
 Subject: Classpath problems


 I have some problems dealing with the classpathes in orion.

 I have a web module and some ejb module. Some classes are used by the
 web and ejb modules. First I added these classes only to one of  the
 ejb modules and got a NoClassDefFoundError in the servlet. I then
 added the class to the web module. I tried both in a .jar file in
 WEB-INF/lib or as separatefile with no success. Other classes could
 be loaded from both locations without anyproblems!.
 When finally copying all classes to orion/lib my app ran. But this is
 not the way I like to have it.

 Can somebody help?

 Alex









RE: Classpath problems

2000-12-01 Thread Russ White

Yes it is Orion specific (as is this list) , I never claimed otherwise.

I just point it out as a nice feature that makes deploying a breeze.

As an aside, I actually believe that the ability to describe libraries should be
a part of the spec. It would eliminate a lot of confusion.


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of John N. Alegre
 Sent: Thursday, November 30, 2000 8:41 PM
 To: Orion-Interest
 Subject: RE: Classpath problems


 Russ,

 Comment here is that this is an Orion specific solution.  If you want a
 cross server deployable app, as pointed out in the previous post, you must
 duplicate the classes in the EAR file.

 John N Alegre
 Andante Systems

 On 30-Nov-00 Russ White wrote:
  Hi Alex,
 
  I too had this problem, and solved it by creating a library
 directory which I
  now have library tags in my orion-applcation.xml files which point
 to a class
  repository (could just as easily be a jar file).
 
  like this:
  in orion-application.xml
  (or config/application.xml if you want these classes to be available to all
  apps)
  library path="../../dev/java/classes"/
 
  then I do not have any jar files or classes at all in my web-inf/class
  web-inf/lib directories.
 
  nor do I have any classes or jars in my ejb deployment directory.
 For my EJBs
  all I need is a directory for the beans and a META-INF directory under that.
  I
  put the ejb-jar.xml in that directory and that is all. Then the EJBs and the
  servlets share the some library.
 
  Really slick.
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Alexander
  Sparkowsky
  Sent: Thursday, November 30, 2000 12:45 PM
  To: Orion-Interest
  Subject: Classpath problems
 
 
  I have some problems dealing with the classpathes in orion.
 
  I have a web module and some ejb module. Some classes are used by the
  web and ejb modules. First I added these classes only to one of  the
  ejb modules and got a NoClassDefFoundError in the servlet. I then
  added the class to the web module. I tried both in a .jar file in
  WEB-INF/lib or as separatefile with no success. Other classes could
  be loaded from both locations without anyproblems!.
  When finally copying all classes to orion/lib my app ran. But this is
  not the way I like to have it.
 
  Can somebody help?
 
  Alex
 
 
 
 

 --
 E-Mail: John N. Alegre [EMAIL PROTECTED]
 Date: 30-Nov-00
 Time: 19:39:24

 This message was sent by XFMail
 --







Classpath problems

2000-11-30 Thread Alexander Sparkowsky

I have some problems dealing with the classpathes in orion.

I have a web module and some ejb module. Some classes are used by the web and ejb 
modules. First I added these classes only to one of  the ejb modules and got a 
NoClassDefFoundError in the servlet. I then added the class to the web module. I tried 
both in a .jar file in WEB-INF/lib or as separatefile with no success. Other classes 
could be loaded from both locations without anyproblems!.
When finally copying all classes to orion/lib my app ran. But this is not the way I 
like to have it.

Can somebody help?

Alex





Re: Classpath problems

2000-11-30 Thread Daniel G. Koulomzin


According to the J2EE spec, EJB *.jar files need to include ALL necessary
classes. An *.ear file also needs all its available classes in WEB-INF/lib.
Unfortunately, you'll have to put your common classes in both files.
This is very annoying, but it is correct.
-Dan
Alexander Sparkowsky wrote:
I have some problems dealing with the classpathes
in orion.
I have a web module and some ejb module. Some classes are used by the
web and ejb modules. First I added these classes only to one of the
ejb modules and got a NoClassDefFoundError in the servlet. I then added
the class to the web module. I tried both in a .jar file in WEB-INF/lib
or as separatefile with no success. Other classes could be loaded from
both locations without anyproblems!.
When finally copying all classes to orion/lib my app ran. But this
is not the way I like to have it.
Can somebody help?
Alex

--
Daniel G. Koulomzin
Digital Media On Demand
244 Brighton Ave. 3rd Floor
Allston MA 02134



RE: Classpath problems

2000-11-30 Thread John N. Alegre

Russ,

Comment here is that this is an Orion specific solution.  If you want a
cross server deployable app, as pointed out in the previous post, you must
duplicate the classes in the EAR file.

John N Alegre
Andante Systems

On 30-Nov-00 Russ White wrote:
 Hi Alex,
 
 I too had this problem, and solved it by creating a library directory which I
 now have library tags in my orion-applcation.xml files which point to a class
 repository (could just as easily be a jar file).
 
 like this:
 in orion-application.xml
 (or config/application.xml if you want these classes to be available to all
 apps)
 library path="../../dev/java/classes"/
 
 then I do not have any jar files or classes at all in my web-inf/class
 web-inf/lib directories.
 
 nor do I have any classes or jars in my ejb deployment directory. For my EJBs
 all I need is a directory for the beans and a META-INF directory under that.
 I
 put the ejb-jar.xml in that directory and that is all. Then the EJBs and the
 servlets share the some library.
 
 Really slick.
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Alexander
 Sparkowsky
 Sent: Thursday, November 30, 2000 12:45 PM
 To: Orion-Interest
 Subject: Classpath problems


 I have some problems dealing with the classpathes in orion.

 I have a web module and some ejb module. Some classes are used by the
 web and ejb modules. First I added these classes only to one of  the
 ejb modules and got a NoClassDefFoundError in the servlet. I then
 added the class to the web module. I tried both in a .jar file in
 WEB-INF/lib or as separatefile with no success. Other classes could
 be loaded from both locations without anyproblems!.
 When finally copying all classes to orion/lib my app ran. But this is
 not the way I like to have it.

 Can somebody help?

 Alex



 

--
E-Mail: John N. Alegre [EMAIL PROTECTED]
Date: 30-Nov-00
Time: 19:39:24

This message was sent by XFMail
--




help ! classpath to the shared jar files or class files

2000-11-14 Thread Edmund Cheung

I have non-ejb classes ( called share.jar)are used by all ejb jar files and
how do I let Orion know to use this jar file  for the ejb jars files ?
Define the classpath somewhere ?  I have got the error below while deploying
the ejb jar files. Thanks for your help.

I have tried the following ways but failed;
(1) set system classpath
(2) add module
  javaumShare.jar/java
   /module into the appliation.xml
(3) Add library path="../lib/" / into the orion-application.xml

Actually what should fo for those auto generated orion-XXX.xml files. The
user gudie just says that we can modify them . Do we need to relocate them ?
Your help will be great !

D:\orionjava -jar orion.jar
Auto-unpacking D:\orion\user-manager\usermanager.ear... done.
Auto-unpacking D:\orion\user-manager\usermanager\usermanager-web.war...
done.
Auto-deploying usermanager (Assembly had been updated)...
Error loading package at
file:/D:/orion/user-manager/usermanager/ServiceManager.jar, Error loading
class 'servicemanager.session.ServiceManagerBean':
java.lang.NoClassDefFoundError: framework/jms/JmsQueueManager


Thanks  Regards,

Edmund




Re: help ! classpath to the shared jar files or class files

2000-11-14 Thread Sven van 't Veer



Edmund Cheung wrote:
 
 I have non-ejb classes ( called share.jar)are used by all ejb jar files and
 how do I let Orion know to use this jar file  for the ejb jars files ?
 Define the classpath somewhere ?  I have got the error below while deploying
 the ejb jar files. Thanks for your help.
just place them in the /path/to/orion/lib directory and they will be
loaded on startup of Orion

sven

-- 
==
Sven E. van 't Veer  
http://www.cachoeiro.net
Java Developer  [EMAIL PROTECTED]
==




Re: help ! classpath to the shared jar files or class files

2000-11-14 Thread TDSlusser


Just put the jar file in the /lib dir where orion is installed and it will
find them automatically.

Regards,
Ted Slusser
[EMAIL PROTECTED]





Orion Application Classpath

2000-11-02 Thread Chris Livermore

Hi

I am trying to write a jsp page which lists the current
CLASSPATH known to orion. Obviously, if i use
System.getProperty("java.class.path"), i only get "orion.jar" (or
whatever I have in my shell environment when i start orion).

Presumably there is a way of asking Orion to report the classpath,
either for the entire server, or more possibly on a per application
basis. Either is fine for me. I have looked through the Orion API docs,
and i can't see anything obvious that will do what I want.

Can anyone help.


Thanks


Chris
--






Re: EJB classpath problem

2000-10-26 Thread Laurent Cornelis



Your solution will surely works but I don't want to 
mix my jars with Orion jars... It is really i^mpossible to specify an additional 
classpath for EJBs in Orion ?

Thanks anyway ;)

Laurent

  - Original Message - 
  From: 
  wim 
  veninga 
  To: Orion-Interest 
  Sent: Wednesday, October 25, 2000 3:56 
  PM
  Subject: Re: EJB classpath problem
  Hi Laurent 
  Where is your rapids-util.jar file located. 
  I would suggest that you put this in your_orion_dir/lib. 
  I had the same kind of situation with 
  cloudscape (database) and orion. I have a couple of objects that need to be stored in cloudscape but 
  cloudscape couldn't find it. But i had the classes in one of my ejb-jars. So 
  when i put the classes in orion/lib everything worked fine. I think that orions class loader doesn't 
  make the classes in ejb-jar available to the rest of the system. 
  Greetings Wim Veninga. 
  Laurent Cornelis wrote: 
  

Hello, 
I deploy a J2EE application (called 
rapids) with Orion, here is my directory structure after deployment : 
orion/applications/rapids - Contains 
EJBs jar orion/applications/rapids/rapids-web - Contains the Web 
app orion/applications/rapids/rapids-web/WEB-INF/lib/rapids-util.jar 
- A jar file my web 
application and my EJB need 
Somewhere in my web applications, a call 
to WebFacade (One of my EJBs) is done. In this call WebFacade must use a class from rapids-util.jar 
(class ubiquity.rapids.ejb.util.HomeFactory) but here is the exception I 
catch : 
snip 
com.evermind.server.rmi.OrionRemoteException: Transaction was rolled 
back: java.lang.NoClassDefFoundError: 
ubiquity/rapids/ejb/util/HomeFactory at 
WebFacade_StatelessSessionBeanWrapper9.getPublicSatellites(WebFacade_StatelessSessionBeanWrapper9.java:311) 
at 
/pri/choosesatellite.jsp._jspService(/pri/choosesatellite.jsp.java:75)(JSP 
page line 28) at 
com.orionserver.http.OrionHttpJspPage.service(JAX) at 
com.evermind.server.http.HttpApplication.w5(JAX) at 
com.evermind.server.http.JSPServlet.service(JAX) at 
com.evermind.server.http.d1.si(JAX) at com.evermind.server.http.d1.forward(JAX) 
at 
ubiquity.rapids.servlet.RapidsServlet.doPost(RapidsServlet.java) 
at 
javax.servlet.http.HttpServlet.service(HttpServlet.java) 
at 
javax.servlet.http.HttpServlet.service(HttpServlet.java) 
at 
javax.servlet.http.HttpServlet.service(HttpServlet.java) 
at 
com.evermind.server.http.d1.si(JAX) at com.evermind.server.http.d1.forward(JAX) 
at 
com.evermind.server.http.ed.sp(JAX) at com.evermind.server.http.ed.so(JAX) at com.evermind.util.f.run(JAX) 
Nested exception is: 
java.lang.NoClassDefFoundError: 
ubiquity/rapids/ejb/util/HomeFactory at 
ubiquity.rapids.ejb.webfacade.WebFacadeBean.getPublicSatellites(WebFacadeBean.java:153) 
at 
WebFacade_StatelessSessionBeanWrapper9.getPublicSatellites(WebFacade_StatelessSessionBeanWrapper9.java:281) 
at 
/pri/choosesatellite.jsp._jspService(/pri/choosesatellite.jsp.java:75)(JSP 
page line 28) at 
com.orionserver.http.OrionHttpJspPage.service(JAX) at 
com.evermind.server.http.HttpApplication.w5(JAX) at 
com.evermind.server.http.JSPServlet.service(JAX) at 
com.evermind.server.http.d1.si(JAX) at com.evermind.server.http.d1.forward(JAX) 
at 
ubiquity.rapids.servlet.RapidsServlet.doPost(RapidsServlet.java) 
at 
javax.servlet.http.HttpServlet.service(HttpServlet.java) 
at 
javax.servlet.http.HttpServlet.service(HttpServlet.java) 
at 
javax.servlet.http.HttpServlet.service(HttpServlet.java) 
at 
com.evermind.server.http.d1.si(JAX) at com.evermind.server.http.d1.forward(JAX) 
at 
com.evermind.server.http.ed.sp(JAX) at com.evermind.server.http.ed.so(JAX) at com.evermind.util.f.run(JAX) 
 
/snip  
How can I tell to the EJBs where is 
rapids-util.jar ? Please help !!! 
Thanks 
Laurent


Re: EJB classpath problem

2000-10-26 Thread Jason Rimmer

You can specify an additonal paths to jars, etc. via the "library path"
tag in the application.xml config file.  For example, here's my config that
I added a library path tag to find the oracle JDBC jar:

orion-application
!-- snip --

!-- Path to the libraries that are installed on this server.
These will accesible for the servlets, EJBs etc --
library path="../lib" /
library
path="/usr/local/oracle/8i/u01/app/oracle/product/8.1.6/jdbc/lib/classes12.z
ip" /

!-- snip --
/orion-application


--
Jason Rimmer
[EMAIL PROTECTED]


- Original Message -
From: "Laurent Cornelis" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Thursday, October 26, 2000 2:58 AM
Subject: Re: EJB classpath problem


Your solution will surely works but I don't want to mix my jars with Orion
jars... It is really i^mpossible to specify an additional classpath for EJBs
in Orion ?

Thanks anyway ;)

Laurent
  - Original Message -
  From: wim veninga
  To: Orion-Interest
  Sent: Wednesday, October 25, 2000 3:56 PM
  Subject: Re: EJB classpath problem


  Hi Laurent
  Where is your rapids-util.jar file located. I would suggest that you put
this in
  your_orion_dir/lib.

  I had the same kind of situation with cloudscape (database) and orion. I
have a couple of
  objects that need to be stored in cloudscape but cloudscape couldn't find
it. But i had the classes in one of my ejb-jars. So when i put the classes
in orion/lib everything
  worked fine. I think that orions class loader doesn't make the classes in
ejb-jar available
  to the rest of the system.

  Greetings Wim Veninga.

  Laurent Cornelis wrote:

Hello,
I deploy a J2EE application (called rapids) with Orion, here is my
directory
structure after deployment :

orion/applications/rapids - Contains EJBs jar
orion/applications/rapids/rapids-web - Contains the Web app
orion/applications/rapids/rapids-web/WEB-INF/lib/rapids-util.jar - A
jar
file my web application and my EJB need

Somewhere in my web applications, a call to WebFacade (One of my EJBs)
is
done. In this call WebFacade must use a class from rapids-util.jar
(class
ubiquity.rapids.ejb.util.HomeFactory) but here is the exception I catch
:

snip

com.evermind.server.rmi.OrionRemoteException: Transaction was rolled
back:
java.lang.NoClassDefFoundError: ubiquity/rapids/ejb/util/HomeFactory
 at
WebFacade_StatelessSessionBeanWrapper9.getPublicSatellites(WebFacade_Statele
ssSessionBeanWrapper9.java:311)
 at
/pri/choosesatellite.jsp._jspService(/pri/choosesatellite.jsp.java:75)(JSP
page line 28)
 at com.orionserver.http.OrionHttpJspPage.service(JAX)
 at com.evermind.server.http.HttpApplication.w5(JAX)
 at com.evermind.server.http.JSPServlet.service(JAX)
 at com.evermind.server.http.d1.si(JAX)
 at com.evermind.server.http.d1.forward(JAX)
 at ubiquity.rapids.servlet.RapidsServlet.doPost(RapidsServlet.java)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java)
 at com.evermind.server.http.d1.si(JAX)
 at com.evermind.server.http.d1.forward(JAX)
 at com.evermind.server.http.ed.sp(JAX)
 at com.evermind.server.http.ed.so(JAX)
 at com.evermind.util.f.run(JAX)
 Nested exception is:
java.lang.NoClassDefFoundError: ubiquity/rapids/ejb/util/HomeFactory
 at
ubiquity.rapids.ejb.webfacade.WebFacadeBean.getPublicSatellites(WebFacadeBea
n.java:153)
 at
WebFacade_StatelessSessionBeanWrapper9.getPublicSatellites(WebFacade_Statele
ssSessionBeanWrapper9.java:281)
 at
/pri/choosesatellite.jsp._jspService(/pri/choosesatellite.jsp.java:75)(JSP
page line 28)
 at com.orionserver.http.OrionHttpJspPage.service(JAX)
 at com.evermind.server.http.HttpApplication.w5(JAX)
 at com.evermind.server.http.JSPServlet.service(JAX)
 at com.evermind.server.http.d1.si(JAX)
 at com.evermind.server.http.d1.forward(JAX)
 at ubiquity.rapids.servlet.RapidsServlet.doPost(RapidsServlet.java)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java)
 at com.evermind.server.http.d1.si(JAX)
 at com.evermind.server.http.d1.forward(JAX)
 at com.evermind.server.http.ed.sp(JAX)
 at com.evermind.server.http.ed.so(JAX)
 at com.evermind.util.f.run(JAX)


/snip


How can I tell to the EJBs where is rapids-util.jar ? Please help !!!

Thanks

Laurent







Re: EJB classpath problem

2000-10-25 Thread wim veninga



Hi Laurent
Where is your rapids-util.jar file
located. I would suggest that you put this in
your_orion_dir/lib.
I had the same kind of situation with
cloudscape (database) and orion. I have a couple of
objects that need to be stored in
cloudscape but cloudscape couldn't find it. But i had the classes in one
of my ejb-jars. So when i put the classes in orion/lib everything
worked fine. I think that orions class
loader doesn't make the classes in ejb-jar available
to the rest of the system.
Greetings Wim Veninga.
Laurent Cornelis wrote:

Hello,
I deploy a J2EE application (called
rapids) with Orion, here is my directory
structure after deployment :
orion/applications/rapids -> Contains
EJBs jar
orion/applications/rapids/rapids-web
-> Contains the Web app
orion/applications/rapids/rapids-web/WEB-INF/lib/rapids-util.jar
-> A jar
file my web application and my EJB
need
Somewhere in my web applications, a
call to WebFacade (One of my EJBs) is
done. In this call WebFacade must
use a class from rapids-util.jar (class
ubiquity.rapids.ejb.util.HomeFactory)
but here is the exception I catch :
snip>
com.evermind.server.rmi.OrionRemoteException:
Transaction was rolled back:
java.lang.NoClassDefFoundError: ubiquity/rapids/ejb/util/HomeFactory
at WebFacade_StatelessSessionBeanWrapper9.getPublicSatellites(WebFacade_StatelessSessionBeanWrapper9.java:311)
at /pri/choosesatellite.jsp._jspService(/pri/choosesatellite.jsp.java:75)(JSP
page line 28)
at com.orionserver.http.OrionHttpJspPage.service(JAX)
at com.evermind.server.http.HttpApplication.w5(JAX)
at com.evermind.server.http.JSPServlet.service(JAX)
at com.evermind.server.http.d1.si(JAX)
at com.evermind.server.http.d1.forward(JAX)
at ubiquity.rapids.servlet.RapidsServlet.doPost(RapidsServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at com.evermind.server.http.d1.si(JAX)
at com.evermind.server.http.d1.forward(JAX)
at com.evermind.server.http.ed.sp(JAX)
at com.evermind.server.http.ed.so(JAX)
at com.evermind.util.f.run(JAX)
Nested exception is:
java.lang.NoClassDefFoundError: ubiquity/rapids/ejb/util/HomeFactory
at ubiquity.rapids.ejb.webfacade.WebFacadeBean.getPublicSatellites(WebFacadeBean.java:153)
at WebFacade_StatelessSessionBeanWrapper9.getPublicSatellites(WebFacade_StatelessSessionBeanWrapper9.java:281)
at /pri/choosesatellite.jsp._jspService(/pri/choosesatellite.jsp.java:75)(JSP
page line 28)
at com.orionserver.http.OrionHttpJspPage.service(JAX)
at com.evermind.server.http.HttpApplication.w5(JAX)
at com.evermind.server.http.JSPServlet.service(JAX)
at com.evermind.server.http.d1.si(JAX)
at com.evermind.server.http.d1.forward(JAX)
at ubiquity.rapids.servlet.RapidsServlet.doPost(RapidsServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at com.evermind.server.http.d1.si(JAX)
at com.evermind.server.http.d1.forward(JAX)
at com.evermind.server.http.ed.sp(JAX)
at com.evermind.server.http.ed.so(JAX)
at com.evermind.util.f.run(JAX)

/snip>

How can I tell to the EJBs where is
rapids-util.jar ? Please help !!!
Thanks
Laurent





Classpath : Orion On Linux

2000-09-28 Thread Mr Shailesh Joshi

Hi All


I  have installed Orion 1.3.8 on Linux server.

I have  deployed  beans and running  clients successfully.
The  problem  is the server can't  get  the  Driver in  Class.forName("
");
I  have  copied driver  class in the orion-root  directory; set the
classpath .
But still the server is not able to get the class ?

FROM  WHERE  ORION TAKES  THE  CLASSPATH  ?

With regards
   Shailesh





SV: Classpath : Orion On Linux

2000-09-28 Thread Klaus . Myrseth

CLASSPATH variable is worthless in orion...

You have to copy your jar to [orion]/lib directory, then it will be in your
classpath automatically.

Hope this helps :)

Klaus Myrseth
Telenor Mobil AS

-Opprinnelig melding-
Fra: Mr Shailesh Joshi [mailto:[EMAIL PROTECTED]]
Sendt: 28. september 1998 14:14
Til: Orion-Interest
Emne: Classpath : Orion On Linux


Hi All


I  have installed Orion 1.3.8 on Linux server.

I have  deployed  beans and running  clients successfully.
The  problem  is the server can't  get  the  Driver in  Class.forName("
");
I  have  copied driver  class in the orion-root  directory; set the
classpath .
But still the server is not able to get the class ?

FROM  WHERE  ORION TAKES  THE  CLASSPATH  ?

With regards
   Shailesh





Re: Classpath : Orion On Linux

2000-09-28 Thread Etienne Bernard

On Mon, Sep 28, 1998, Mr Shailesh Joshi wrote:
 
 FROM  WHERE  ORION TAKES  THE  CLASSPATH  ?
 
No need to shout.
Put your .jar in orion-root/lib
-- 
Etienne BERNARD [EMAIL PROTECTED]
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!




RE: Classpath : Orion On Linux

2000-09-28 Thread Gordon Tyler
Title: RE: Classpath : Orion  On  Linux





 -Original Message-
 From: Mr Shailesh Joshi [mailto:[EMAIL PROTECTED]]
 
 I have deployed beans and running clients successfully.
 The problem is the server can't get the Driver in 
 Class.forName(
 );
 I have copied driver class in the orion-root directory; set the
 classpath .
 But still the server is not able to get the class ?


You shouldn't be using Class.forName(). You should be defining a DataSource in Orion's configuration and getting that DataSource via its JNDI name and asking that DataSource for a Connection. That's the correct J2EE method of getting a database connection.

 FROM WHERE ORION TAKES THE CLASSPATH ?


Orion's classpath only includes it's own jar files. You can't modify that. It finds your EJBs and servlets and stuff using a different mechanism to the normal Java classpath (as do most EJB servers).

Ciao,
Gordon





RE: Classpath : Orion On Linux

2000-09-28 Thread Stanislav Maximov

I guess you need to put your driver under orion-root/lib directory.

stas@

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]]On Behalf Of Mr 
 Shailesh Joshi
 Sent: Monday, September 28, 1998 4:14 PM
 To: Orion-Interest
 Subject: Classpath : Orion On Linux
 
 
 Hi All
 
 
 I  have installed Orion 1.3.8 on Linux server.
 
 I have  deployed  beans and running  clients successfully.
 The  problem  is the server can't  get  the  Driver in  Class.forName("
 ");
 I  have  copied driver  class in the orion-root  directory; set the
 classpath .
 But still the server is not able to get the class ?
 
 FROM  WHERE  ORION TAKES  THE  CLASSPATH  ?
 
 With regards
Shailesh
 
 




RE: Classpath : Orion On Linux

2000-09-28 Thread Santosh S
Title: RE: Classpath : Orion  On  Linux





hi,


Try putting it in the orion-root/lib directory.


regards
santosh s :)


-Original Message-
From: Mr Shailesh Joshi [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 28, 1998 5:44 PM
To: Orion-Interest
Subject: Classpath : Orion On Linux



Hi All



I have installed Orion 1.3.8 on Linux server.


I have deployed beans and running clients successfully.
The problem is the server can't get the Driver in Class.forName(
);
I have copied driver class in the orion-root directory; set the
classpath .
But still the server is not able to get the class ?


FROM WHERE ORION TAKES THE CLASSPATH ?


With regards
 Shailesh





Re: Classpath : Orion On Linux

2000-09-28 Thread Claudio Miranda


What exactly do you want to do?, loading forName method.

Claudio


Mr Shailesh Joshi wrote:
 
 Hi All
 
 I  have installed Orion 1.3.8 on Linux server.
 
 I have  deployed  beans and running  clients successfully.
 The  problem  is the server can't  get  the  Driver in  Class.forName("
 ");
 I  have  copied driver  class in the orion-root  directory; set the
 classpath .
 But still the server is not able to get the class ?
 
 FROM  WHERE  ORION TAKES  THE  CLASSPATH  ?
 
 With regards
Shailesh




Re: Classpath : Orion On Linux

2000-09-28 Thread James M. Earle III

First, I suspect the driver you are talking about is for JDBC?
Next, if yes, then your application needs to know the path to
it, but typically you will setup a JDBC path statement such
as this:

JDBCDriver=com.inet.tds.TdsDriver

This tells your application to look for the com directory
[the root of the JDBC package] somewhere in classpath.

I can only recommend that you make sure you are setup
properly in light of this information.

Jas



Mr. Shailesh Joshi wrote:

 Hi All

 I  have installed Orion 1.3.8 on Linux server.

 I have  deployed  beans and running  clients successfully.
 The  problem  is the server can't  get  the  Driver in  Class.forName("
 ");
 I  have  copied driver  class in the orion-root  directory; set the
 classpath .
 But still the server is not able to get the class ?

 FROM  WHERE  ORION TAKES  THE  CLASSPATH  ?

 With regards
Shailesh





RE: Classpath : Orion On Linux

2000-09-28 Thread Goel, Deepak

The classpath is not an Orion problem but the issue with the JDK 1.2 and up.
If you deploy Orion with the following command line, the classpath is taken
from the Manifest file in orion.jar:

java -jar orion.jar

If you want that the classpath set in environment settings be used, the
following command can be used:

java com.evermind.server.ApplicationServer

You'll have to make sure that all the files in orion directory are atleast
in the classpath. 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 28, 2000 5:47 AM
To: Orion-Interest
Subject: SV: Classpath : Orion On Linux


CLASSPATH variable is worthless in orion...

You have to copy your jar to [orion]/lib directory, then it will be in your
classpath automatically.

Hope this helps :)

Klaus Myrseth
Telenor Mobil AS

-Opprinnelig melding-
Fra: Mr Shailesh Joshi [mailto:[EMAIL PROTECTED]]
Sendt: 28. september 1998 14:14
Til: Orion-Interest
Emne: Classpath : Orion On Linux


Hi All


I  have installed Orion 1.3.8 on Linux server.

I have  deployed  beans and running  clients successfully.
The  problem  is the server can't  get  the  Driver in  Class.forName("
");
I  have  copied driver  class in the orion-root  directory; set the
classpath .
But still the server is not able to get the class ?

FROM  WHERE  ORION TAKES  THE  CLASSPATH  ?

With regards
   Shailesh





JSP classpath setup

2000-09-08 Thread Jitendra Kothari

Hi Folks,

I am importing java classes that I wrote in JSP pages using @page import...
tag.  However, Orion is not able to find my classes in import.  I have
included my directores in the system classpath.  Looks like Orion does not
use system classpath.  Is there a Orion specific classpath that I should set
in order for JSP pages to recognize my imports. Please let me know. TIA.

-Ben





  1   2   >