What happened to the library-path entry in server.xml?
Dave Ford
Smart Soft - The Developer Training Company
http://www.smart-soft.com
-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
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
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 exam
/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
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.
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
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
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
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
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
]
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
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
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="
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
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
: 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
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
p
Hi People,
The /config/application.xml definesa general
library path for theServer.
library path="../lib" /
Is it possible to:
1) Add to this. If so what is the syntax? (';' as a
path separator within the same quotes?)
2) I would like to have custom lib paths for each
app. Can th
PROTECTED]]On Behalf Of Miles
DaffinSent: Thursday, October 12, 2000 10:19 PMTo:
Orion-InterestSubject: Library path.
Hi People,
The /config/application.xml definesa
general library path for theServer.
library path="../lib" /
Is it possible to:
1) Add to this.
What happened to the library-path entry in server.xml.
I see it mentioned in the mailing list, but it is not in
application-server.dtd.
How else do I set the classpath for Orion ?
In particular I want to locate .properties files in my servlets.
and I've tried setting the library path in the config/application.xml file.
library path="../lib" /
I'm obviously missing something simple, help!
Thanks
Tom
Tom Wnuk
[EMAIL PROTECTED]
[EMAIL PROTECTED]
winmail.dat
22 matches
Mail list logo