Well of course but when you have many people using the server, such
problem could be very bad , as an admin of the server you can't just
verify each one code and can only touch the server :)
> If your code is badly constructed you can cause the server to fail to
> start properly. Fix your code, no
[EMAIL PROTECTED] wrote:
Yes but my question is why a simple servlet can cause the server to stop ?
is there a way to protect the tomcat server ?
i know i probably make a mistake in the code but it shouldn t affect the
server like that.
If your code is badly constructed you can cause the server
Yes but my question is why a simple servlet can cause the server to stop ?
is there a way to protect the tomcat server ?
i know i probably make a mistake in the code but it shouldn t affect the
server like that.
> whereabouts, in the init method?
>
> can you post the servlet code?
>
> have you pro
whereabouts, in the init method?
can you post the servlet code?
have you properly enclosed it in a try { ... } catch(IOException ioe) {}?
it sounds like your code is causing the servlet to stop tomcat starting
up by throwing an uncaught exception.
p
[EMAIL PROTECTED] wrote:
the line of
the line of the code is in a servlet i call mysite.com/myservlet
(but i don t have the exact line on me ) i will search it
>> the code i use is :
>> Source myfiletxt = new StreamSource(new File("/home/mast/myfile.txt"));
>
> And where is this line of code, in a servlet, a listener, where?
>
---
[EMAIL PROTECTED] wrote:
When i mean crash the server it s simply that the tomcat server stop,
after the message file not found, the tomcat server simply stop (when i do
a ps it isn't there anymore)
the code i use is :
Source myfiletxt = new StreamSource(new File("/home/mast/myfile.txt"));
And
When i mean crash the server it s simply that the tomcat server stop,
after the message file not found, the tomcat server simply stop (when i do
a ps it isn't there anymore)
the code i use is :
Source myfiletxt = new StreamSource(new File("/home/mast/myfile.txt"));
whell the "/home/mast/myfile.tx
5.20 and i have install it not much
time ago, the message i copy you was from the catalina.out.
- Original Message - From: "Stefan" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Monday, February 12, 2007 11:43 PM
Subject: Re: tomcat crash with application whe
ect: Re: tomcat crash with application when doesn't found file
mast schrieb:
HI, today i have test an application, and i have put a wrong path for the
file i would like to read, but the thing that surprise me is that it
crash the tomcat server.
The only things in log
mast schrieb:
HI, today i have test an application, and i have put a wrong path for
the file i would like to read, but the thing that surprise me is that
it crash the tomcat server.
The only things in log is :
(Location of error unknown)java.io.FileNotFoundException: /home/myfile
(No such file
10 matches
Mail list logo