i following the instructions with jsvc included with
tomcat, but when i run the Tomcat.sh script i get the
following in my $CATALINA_HOME\logs\catalina.out
Can't load server.xml
Can't load server.xml
Jan 2, 2004 12:14:04 AM
org.apache.catalina.startup.Catalina start
INFO: Server startup in 0 ms
a
The only place you can count on existing for writing is the tempdir defined
by the servlet container.
File temp = (File)context.getAttribute("javax.servlet.context.tempdir");
Otherwise, you can set up a deployment parameter for your deployer to
configure that specifies a directory for writing.
Do this.
Forget the installer. I never use it anyway. Just grab the zipped or
gzipped archive, extract it to a directory of your choice (I suggest using
a path without spaces to be safe), set JAVA_HOME to the directory where you
have the JDK installed (not the JRE, the full JDK).
Now, you sh
well maybee im not shure but on my server i have to share the file so it can
bee acess by the web
some file must have depend on the app read and write acess and other only
read sharing
[EMAIL PROTECTED]
crazy-wilys webmaster
From: [EMAIL PROTECTED]
Reply-To: "Tomcat Users List" <[EMAIL PROTE
I am storing images to db as a blob. I want to cache the images to files
so I do not hit the db everytime.
Question: How do I write to a file... when I am deploying a war file?
Where am I allowed to write and delete w/ a Servlet 2.4 (again... a war
file).
tia,
.V
-
Is there any one out there I could correspond with concerning
this problem.. Every thing I've tried does not work.. It can't be
that hard. I've missed something some where.
> Well I'm still at it.. Its clear I still have a lot to learn on the
> tomcat xml and workers files... I've turned IIS off a
You need to use jsvc to do this. The source ships in the
$CATALINA_HOME/bin/jsvc.tar.gz file. You need to unpack it and build it for
your system. The documentation is at:
http://jakarta.apache.org/commons/daemon/jsvc.html.
"Nicolas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
Interceptors do the same kind of work in TC 3.x as Valves do in TC 4.x, but
they are structurally very different. Also, I haven't worked with TC 3.2.x
in a very long time (since TC 3.3.x no longer has the RequestInterceptor
interface).
One suggestion is to extend BaseInterceptor instead of implem
Hei
if you change the documentbase for "/" context in manager (or manually if
you are familiar) to wathever the page is you want to display and remove all
other context entries, the only page accesible will be your page.
Happy newyear
Antony
- Original Message -
From: "Jonathan Locke" <[E
Hello Merrill
If you're still working on this tomorrow and you want to share your code I'd be
willing to walk it through.
Howard Watson
Database Administrator
Easter Seals-Goodwill Northern Rocky Mountain
4400 Central Avenue
Great Falls, Montana 59405
(406) 771-3759
[EMAIL PROTECTED]
>>> [EMAIL
When using the 'manager' web app to monitor Tomcat ( url; http://...
/manager/status/all ) the page titled 'Complete Server Status' has a field
on it called 'Error count:' followed by a number. This field exists under
all the section headings. Intuitively, I would assume that the number under
the i
hi
i read that in Tomcat 5 it's possible running the catalina on port 80 as
a non-root user.
like in apache httpd where you can set the user an group in the httpd.conf.
regards nicolas
-
To unsubscribe, e-mail: [EMAIL PROTECTED
Hai ,
I need some details on the Interceptors in Tomcat 3.x servers.
Whether the Interceptors in 3.x is same as Valves in 4.x .
Is it possible to configure our own interceptors to find the processing
time for a request.I tried writing a Interceptor class by implementing
the RequestInterceptor in
13 matches
Mail list logo