Hi there,
I am having issues with Cross-Origin Resource Sharing (CORS).
I use Tomcat 7.0.57 with deegree-webservices 3.3.13 on both a Windows
Server 2013 and Windows Pro SP1 on my localhost.
I have a html with javascript-code and want to send requests with AJAX to a
WFS running on the Tomcat Serve
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
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
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?
>
---
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
i see, i will check for the problem usage i have only see the log i will
wait to see if request doesn t get answer again.
thanks
> Aha. And the other symptom should have changed too: as long as the
> messages are only info level messages, I would not expect any observable
> problem about applicatio
Hi, since few weeks i have a strange problem, sometimes tomcat stop
working and then come back (the site is unreachable and come back few mn
after)
In the log i have :
[Tue Nov 21 15:03:11 2006] [error] ajp_service::jk_ajp_common.c (1758):
Error connecting to tomcat. Tomcat is probably not started
unfotrtunately i didn t have any more the complete trace i will wait for
tomcat to do it again , i just now that i had this sort of log in the same
time with the other error :
com.mysql.jdbc.CommunicationsException: Communications link failure due to
underlying exception:
** BEGIN NESTED EXCEPTIO
> [EMAIL PROTECTED] wrote:
>> Hi, i use tomcat 5.5.20, when i start tomcat all is fine all works but
>> after some time i am getting this message :
>> java.sql.SQLException: No operations allowed after connection closed
>>
>> and the only way right now i have find is to restart tomcat, what could
>
Hi, i use tomcat 5.5.20, when i start tomcat all is fine all works but
after some time i am getting this message :
java.sql.SQLException: No operations allowed after connection closed
and the only way right now i have find is to restart tomcat, what could be
the cause of this message? i don't unde
10 matches
Mail list logo