CORS-Filter for all webapps?

2015-02-24 Thread Geod Master
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

Re: tomcat crash with application when doesn't found file

2007-02-13 Thread master
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.txt

Re: tomcat crash with application when doesn't found file

2007-02-13 Thread master
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?

Re: tomcat crash with application when doesn't found file

2007-02-13 Thread master
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

Re: tomcat crash with application when doesn't found file

2007-02-13 Thread master
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, not

Re: tomcat stop working for some minute regulary

2006-11-22 Thread master
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 application

tomcat stop working for some minute regulary

2006-11-21 Thread master
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

Re: sql connection error

2006-11-15 Thread master
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

sql connection error

2006-11-14 Thread master
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

Re: sql connection error

2006-11-14 Thread master
[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 be the