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 
> 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  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 Gordon,

> "Gordon Reynolds (cyonara)" <[EMAIL PROTECTED]> wrote:
> 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.
THX for your answer. I'm putting only my jar's in the WEB-INF/lib.
Placing inside of META-INF/lib sounds not goot to me, because, I love the idea to have 
for each module inside of my Enterprise Application an own library path, such as in 
the WEB-INF/lib for my war's.

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:
> 
> 
> 
> 
> 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







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  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:




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  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






[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  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