RE: How can I tell Jetty to put compiled JSP classes in a specifi c Di rectory
Ikonne, Ike <Ike_Ikonne <at> stercomm.com>
2004-01-06 00:54:04 GMT
Hi Greg,
Firstly, thanks for your quick response. Anyway, I am running Jetty in an
embedded
fashion and I am using JarResource to deployed my war file dynamically.
So, are you saying that it would be already too late for Jetty to use the
../WEB-INF/work
associated with my WAR File?
Also, could I use System.SetProperty("java.io.tmpdir", myTempdir) just
before I start
to deploy my WAR so that Jetty might be forced to use ../WEB-INF/work
associated with the
WAR file?
By the way, I am using Jetty 4.2.12
Thanks,
Ike
-----Original Message-----
From: Greg Wilkins [mailto:gregw <at> mortbay.com]
Sent: Monday, January 05, 2004 5:51 PM
To: Ikonne, Ike
Cc: jetty-support <at> lists.sourceforge.net
Subject: Re: How can I tell Jetty to put compiled JSP classes in a
specifi c Di rectory
Ike,
firstly there is a mistake in the doco and my emails. It is java.io.tmpdir
not java.io.tempdir.
Which version of Jetty are you using?
Have you tried creating a work direction in jetty.home an seeing if that
is used?
Are you running your WAR files packed or unpacked? If you run your webapp
packed, then the WEB-INF/work file cannot be used. If you let jetty do
the unpacking, it needs to workout the temp directory first, so it can
unpack to it, so it is too late for the WEB-INF/work directory.
So try deploying your webapp already unpacked.
cheers
Ikonne, Ike wrote:
> Hi Greg,
>
> I have tried your suggestion for resolving tempdir issue for jsp, but I am
> still have some problem with it.
>
> In my WAR file, I have added additonal directory WEB-INF/work, and when it
> is deployed,
> I can see that it created ../WEB-INF/work, but Jetty won't use
> it, instead it still uses "java.io.tempdir". So, my question is, what am
I
> doing
> wrong?
>
> Ike
>
> -----Original Message-----
> From: Greg Wilkins [mailto:gregw <at> mortbay.com]
> Sent: Tuesday, December 16, 2003 12:01 AM
> To: jetty-support <at> lists.sourceforge.net
> Subject: Re: How can I tell Jetty to put compiled JSP classes in a
> specific Di rectory
>
>
>
>
> I've been working on the on-line FAQ and I really hope that it answers
> this question for you now. If not please say so....
>
> http://jetty.mortbay.org/jetty/faq/
>
> regards
>
>
> Ikonne, Ike wrote:
>
>>Hi all,
>>
>>
>>I have posted this question before but did not receive any response yet,
>>so I thought I might try again. Here is my question:
>>
>>
>>I have an embedded Jetty in my application, I would like to tell Jetty
>>where to put compiled JSP classes, is there a method that would enable
>>me to accomplsih that?
>>
>>Thanks,
>>
>>Ike
>>
>>
>>-------------------------------------------------------
>>This SF.net email is sponsored by: IBM Linux Tutorials.
>>Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
>>Free Linux Tutorials. Learn everything from the bash shell to sys admin.
>>Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
>>_______________________________________________
>>Jetty-support mailing list
>>Jetty-support <at> lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/jetty-support
>>
>
>
--
--
Greg Wilkins<gregw <at> mortbay.com> Phone/fax: +44 7092063462
Mort Bay Consulting Australia and UK. http://www.mortbay.com
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Jetty-support mailing list
Jetty-support <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jetty-support