Re: Classpath and library path ERROR ??? --> PLEASE again ???
Title: SV: Classpath and library path ERROR ??? --> PLEASE again ??? I found it, I found it, I foundt it .. :) I was busy making a correct ear file for Ray, such that he could have a look at it on his server and . certainly it worked I tracked down the problem which is the following: I have a ... nl/unwired directory three with symbolic links to the projects/classes, like: /home/development/lib/java/nl/unwired/util whereby util is a symbolic link to the development dir that contains the Util classes. There also exists (sgs was the project I was having problems with): /home/development/lib/java/nl/unwired/sgs/um /home/development/lib/java/nl/unwired/sgs/sms /home/development/lib/java/nl/unwired/sgs/iso which are symbolic links to the sgs development dir, the distribution dir, generated by ant that contains the classes. The distribution dir is used to make the final ear file. The $ORION_HOME/config/application.xml dir contains the path /home/development/lib/java in a library tag, such that it can find all needed files. Now what happens, if I remove this ...nl/unwired/sgs dir, it WORKS !!!(I don't know which subdir is exactly causing the problem). Anyway, orion has trouble handling links to the dir that contains the same classes as in the sgs.ear deployed file. But what does this has to do with not been able to find the jar file ??? I can't really understand the problem, whereas I am sure this is the problem as I tested it very well. Does anyone has an explanation for this ??? (should this be reported as a bug ??) Thanks for all the advice and help ofcourse, Ed :)
Re: Classpath and library path ERROR ??? --> PLEASE again ???
Thanks Ray, But I am still having bad luck. When I include the lib tag, as you have in my orion-application.xml: 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: > > > > 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. > > > >
Re: Classpath and library path ERROR ??? --> PLEASE again ???
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: -- . ... ( 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 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 : > > > > 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 thi
Re: Classpath and library path ERROR ??? --> PLEASE again ???
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: 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 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 > 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 :( > > > > &g
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 : 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 > 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: > > > > . > > > > > > > > > > > > > > > > > > > > >
Re: Classpath and library path ERROR ??? --> PLEASE again ???
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 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 > 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: > > > > . > > > > > > > > > > > > > > > > > > > > > > > > > > > > --- > > > > I also tried the orion-web.xml: > > > > > > > > deployment-version="1.5.1" > > development="true" > > jsp-cache-d
Re: Classpath and library path ERROR ??? --> PLEASE again ???
Title: SV: 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 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 > 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: > > > > . > > > > > > > > > > > > > > > > > > > > > > > > > > > > --- > > > > I also tried the orion-web.xml: > > > > > > > > deployment-version="1.5.1" > > development="true" > > jsp-cache-directory="./persistence" > > temporary-directory="./temp" > > servlet-webdir="/servlets/" > > > > > > > > > ... > > > > > > 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 i
SV: Classpath and library path ERROR ??? --> PLEASE again ???
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 > 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: > > > > . > > > > > > > > > > > > > > > > > > > > > > > > > > > > --- > > > > I also tried the orion-web.xml: > > > > > > > > deployment-version="1.5.1" > > development="true" > > jsp-cache-directory="./persistence" > > temporary-directory="./temp" > > servlet-webdir="/servlets/" > > > > > > > > > ... > > > > > > 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: > > > > > > > > > > > > > > > The main orion-application element is: > > > > > > > (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: > > > > > > > > > > > > > > > This should be the first element in your orion-web-app > > element. > > > > regards, > > > > the elephantwalker > > > > > > > > > > > > > > > > > >
Re: Classpath and library path ERROR ??? --> PLEASE again ???
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: > >. > > > > > > > > > > > > > >--- > >I also tried the orion-web.xml: > > > deployment-version="1.5.1" > development="true" > jsp-cache-directory="./persistence" > temporary-directory="./temp" > servlet-webdir="/servlets/" > > > > >... > > >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: > > > > > > >The main orion-application element is: > >(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: > > > > > > >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
RE: Classpath and library path ERROR ??? --> PLEASE again ???
this tag works for me: 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 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: . --- I also tried the orion-web.xml: ... 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: The main orion-application element is: 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: 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): - --- 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 i
Re: Classpath and library path ERROR ??? --> PLEASE again ???
i speicify my CLASSPATH thru applications.xml's 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: > > . > > > > > > > > > > > > > > --- > > I also tried the orion-web.xml: > > > deployment-version="1.5.1" > development="true" > jsp-cache-directory="./persistence" > temporary-directory="./temp" > servlet-webdir="/servlets/" > > > > > ... > > > 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: > > > > > > > The main orion-application element is: > > (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: > > > > > > > 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): > - > > > > --- > > 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 === __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
RE: Classpath and library path ERROR ??? --> PLEASE again ???
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 ???
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: . --- I also tried the orion-web.xml: ... 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: The main orion-application element is: 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: 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): - --- 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
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: . --- I also tried the orion-web.xml: deployment-version="1.5.1" development="true" jsp-cache-directory="./persistence" temporary-directory="./temp" servlet-webdir="/servlets/"> ... 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: > The main orion-application element is: 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: > 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): - --- 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
Re: Classpath and library path ERROR ??? --> PLEASE again ???
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 ???
Thanks for the info. I tried the app w/ orion on both linux (kernel 2.4.0) and Solaris (2.6), and got the same UnsatisfiedLinkError. On linux I'm using IBMJava2-1.3.0, and on Solaris Sun's 1.2.2_hotspot. On both platforms, the app works with Apache/Jserv. Any ideas? Ye --- elephantwalker <[EMAIL PROTECTED]> wrote: > 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: > > > > > > > > > > > > > > The main orion-application element is: > > > > > > (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: > > > > > > > > > > > > > > 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): > > - > > > > > > > > --- > > > > 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 pe
RE: Classpath and library path ERROR ??? --> PLEASE again ???
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: > > > > > > > The main orion-application element is: > > (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: > > > > > > > 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): > - > > > > --- > > 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/
RE: Classpath and library path ERROR ??? --> PLEASE again ???
The dtd for orion-application.xml says about library: > The main orion-application element is: 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: > 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): - --- 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
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): - --- 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