Re: Error 500 messages
Yes, for example: %@ page buffer='128kb' % -Tim Adile Abbadi wrote: Hi Tim, Thanx for this again - sorry to be a pain - but this is good info - so the bugger size value is a jsp page directive? I'll check into it - but if you can confirm I would appreciate it. Thanx Adile -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: July 24, 2005 7:46 AM To: Tomcat Users List Subject: Re: Error 500 messages The response is being comitted before the erro is being thrown. You need to set the buffer size to be larger. Its a page directive. -Tim Adile Abbadi wrote: Hi Tim, Thank you very much - that has helped - however I discovered that the problem still exists if I have an include within an include - ie. I have an include called this jsp:include page=navmenu.jsp flush=false Inside that include I have another include also with flush set to false - and I still get a blank page - however if I remove the includes within the include then the exception is visible. Any ideas on this? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Error 500 messages
Hi Tim, Thanx for this again - sorry to be a pain - but this is good info - so the bugger size value is a jsp page directive? I'll check into it - but if you can confirm I would appreciate it. Thanx Adile -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: July 24, 2005 7:46 AM To: Tomcat Users List Subject: Re: Error 500 messages The response is being comitted before the erro is being thrown. You need to set the buffer size to be larger. Its a page directive. -Tim Adile Abbadi wrote: Hi Tim, Thank you very much - that has helped - however I discovered that the problem still exists if I have an include within an include - ie. I have an include called this jsp:include page=navmenu.jsp flush=false Inside that include I have another include also with flush set to false - and I still get a blank page - however if I remove the includes within the include then the exception is visible. Any ideas on this? Cheers Adile -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: July 22, 2005 12:42 PM To: Tomcat Users List Subject: Re: Error 500 messages flush=false -Tim Adile Abbadi wrote: Hi Tim, Thanx for the information - I forgot about that. I guess the question is why did it work in Tomcat 3 and not Tomcat 4 and second is there a workaround to get it to work? Adile -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: July 22, 2005 12:20 PM To: Tomcat Users List Subject: Re: Error 500 messages This line jsp:include page=top.html flush=true will commit the response and send html back to the client. Once that is done - no error messages will be sent back to the client and you will end up with a blank screen. -Tim Adile Abbadi wrote: Hi Rob, Thanx for this - this is great - I may have to use this because I think I have truly found a bug in Tomcat as this issue is not happening on my Tomcat 3 server. I did a bit more investigation and I found some interesting things. This is going to be a long email with code and stuff but whoever wants to read it please do - because the results are weird. I created the following simple JSP page %@ page language=java import=javax.crypto.*,java.sql.*,java.net.*,dbc.DBConnectionManager % %^M String query = select * from patient_info where ref_client = 38 and pat_lname like '%SM'ITH%';; DBConnectionManager connMgr; connMgr = DBConnectionManager.getInstance(); Connection Conn = connMgr.getConnection(podb); Statement SQLS = Conn.createStatement(); ResultSet rs = SQLS.executeQuery(query); String col1 = null; String col2 = null; while(rs.next()) { col1 = rs.getString(pat_id); col2 = rs.getString(pat_fname); % %=col1%: %=col2%br br % } rs.close(); SQLS.close(); connMgr.freeConnection(podb,Conn); % As you can see I did a syntax error in the query and the error comes to the screen as expected javax.servlet.ServletException: ERROR: syntax error at or near ITH at character 74 I said that's weird so I tried to compare my complicated JSP files to what I have here to see what is different (if I did something wrong) and I found this If I add an include at certain parts of the page - I see the result I was talking about. For example if I do this: jsp:include page=top.html flush=true %@ page language=java import=javax.crypto.*,java.sql.*,java.net.*,dbc.DBConnectionManager % %^M String query = select * from patient_info where ref_client = 38 and pat_lname like '%SM'ITH%';; DBConnectionManager connMgr; connMgr = DBConnectionManager.getInstance(); Connection Conn = connMgr.getConnection(podb); Statement SQLS = Conn.createStatement(); ResultSet rs = SQLS.executeQuery(query); String col1 = null; String col2 = null; while(rs.next()) { col1 = rs.getString(pat_id); col2 = rs.getString(pat_fname); % %=col1%: %=col2%br br % } rs.close(); SQLS.close(); connMgr.freeConnection(podb,Conn); % I get the error page as I should - however If I move the include to below the %@ page language=java - I get a blank page!! Now here is where it gets weirder - if I force a java syntax error like as follows (I corrected the query): jsp:include page=top.html flush=true %@ page language=java import=javax.crypto.*,java.sql.*,java.net.*,dbc.DBConnectionManager % %^M String query = select * from patient_info where ref_client = 38 and pat_lname like '%SMITH%';; DBConnectionManager connMgr; connMgr = DBConnectionManager.getInstance(); Connection Conn = connMgr.getConnection(podb); Statement SQLS = Conn.createStatement(); ResultSet rs = SQLS.executeQuery(query); String col1 = null; String col2 = null; if (col1.equals(yes) { //test } while(rs.next
Re: Error 500 messages
The response is being comitted before the erro is being thrown. You need to set the buffer size to be larger. Its a page directive. -Tim Adile Abbadi wrote: Hi Tim, Thank you very much - that has helped - however I discovered that the problem still exists if I have an include within an include - ie. I have an include called this jsp:include page=navmenu.jsp flush=false Inside that include I have another include also with flush set to false - and I still get a blank page - however if I remove the includes within the include then the exception is visible. Any ideas on this? Cheers Adile -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: July 22, 2005 12:42 PM To: Tomcat Users List Subject: Re: Error 500 messages flush=false -Tim Adile Abbadi wrote: Hi Tim, Thanx for the information - I forgot about that. I guess the question is why did it work in Tomcat 3 and not Tomcat 4 and second is there a workaround to get it to work? Adile -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: July 22, 2005 12:20 PM To: Tomcat Users List Subject: Re: Error 500 messages This line jsp:include page=top.html flush=true will commit the response and send html back to the client. Once that is done - no error messages will be sent back to the client and you will end up with a blank screen. -Tim Adile Abbadi wrote: Hi Rob, Thanx for this - this is great - I may have to use this because I think I have truly found a bug in Tomcat as this issue is not happening on my Tomcat 3 server. I did a bit more investigation and I found some interesting things. This is going to be a long email with code and stuff but whoever wants to read it please do - because the results are weird. I created the following simple JSP page %@ page language=java import=javax.crypto.*,java.sql.*,java.net.*,dbc.DBConnectionManager % %^M String query = select * from patient_info where ref_client = 38 and pat_lname like '%SM'ITH%';; DBConnectionManager connMgr; connMgr = DBConnectionManager.getInstance(); Connection Conn = connMgr.getConnection(podb); Statement SQLS = Conn.createStatement(); ResultSet rs = SQLS.executeQuery(query); String col1 = null; String col2 = null; while(rs.next()) { col1 = rs.getString(pat_id); col2 = rs.getString(pat_fname); % %=col1%: %=col2%br br % } rs.close(); SQLS.close(); connMgr.freeConnection(podb,Conn); % As you can see I did a syntax error in the query and the error comes to the screen as expected javax.servlet.ServletException: ERROR: syntax error at or near ITH at character 74 I said that's weird so I tried to compare my complicated JSP files to what I have here to see what is different (if I did something wrong) and I found this If I add an include at certain parts of the page - I see the result I was talking about. For example if I do this: jsp:include page=top.html flush=true %@ page language=java import=javax.crypto.*,java.sql.*,java.net.*,dbc.DBConnectionManager % %^M String query = select * from patient_info where ref_client = 38 and pat_lname like '%SM'ITH%';; DBConnectionManager connMgr; connMgr = DBConnectionManager.getInstance(); Connection Conn = connMgr.getConnection(podb); Statement SQLS = Conn.createStatement(); ResultSet rs = SQLS.executeQuery(query); String col1 = null; String col2 = null; while(rs.next()) { col1 = rs.getString(pat_id); col2 = rs.getString(pat_fname); % %=col1%: %=col2%br br % } rs.close(); SQLS.close(); connMgr.freeConnection(podb,Conn); % I get the error page as I should - however If I move the include to below the %@ page language=java - I get a blank page!! Now here is where it gets weirder - if I force a java syntax error like as follows (I corrected the query): jsp:include page=top.html flush=true %@ page language=java import=javax.crypto.*,java.sql.*,java.net.*,dbc.DBConnectionManager % %^M String query = select * from patient_info where ref_client = 38 and pat_lname like '%SMITH%';; DBConnectionManager connMgr; connMgr = DBConnectionManager.getInstance(); Connection Conn = connMgr.getConnection(podb); Statement SQLS = Conn.createStatement(); ResultSet rs = SQLS.executeQuery(query); String col1 = null; String col2 = null; if (col1.equals(yes) { //test } while(rs.next()) { col1 = rs.getString(pat_id); col2 = rs.getString(pat_fname); % %=col1%: %=col2%br br % } rs.close(); SQLS.close(); connMgr.freeConnection(podb,Conn); % An error will get thrown to the screen org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 2 in the jsp file: /testdb.jsp /var/lib/tomcat4/work/Standalone
RE: Error 500 messages
Hi Rob, Thanx for this - this is great - I may have to use this because I think I have truly found a bug in Tomcat as this issue is not happening on my Tomcat 3 server. I did a bit more investigation and I found some interesting things. This is going to be a long email with code and stuff but whoever wants to read it please do - because the results are weird. I created the following simple JSP page %@ page language=java import=javax.crypto.*,java.sql.*,java.net.*,dbc.DBConnectionManager % %^M String query = select * from patient_info where ref_client = 38 and pat_lname like '%SM'ITH%';; DBConnectionManager connMgr; connMgr = DBConnectionManager.getInstance(); Connection Conn = connMgr.getConnection(podb); Statement SQLS = Conn.createStatement(); ResultSet rs = SQLS.executeQuery(query); String col1 = null; String col2 = null; while(rs.next()) { col1 = rs.getString(pat_id); col2 = rs.getString(pat_fname); % %=col1%: %=col2%br br % } rs.close(); SQLS.close(); connMgr.freeConnection(podb,Conn); % As you can see I did a syntax error in the query and the error comes to the screen as expected javax.servlet.ServletException: ERROR: syntax error at or near ITH at character 74 I said that's weird so I tried to compare my complicated JSP files to what I have here to see what is different (if I did something wrong) and I found this If I add an include at certain parts of the page - I see the result I was talking about. For example if I do this: jsp:include page=top.html flush=true %@ page language=java import=javax.crypto.*,java.sql.*,java.net.*,dbc.DBConnectionManager % %^M String query = select * from patient_info where ref_client = 38 and pat_lname like '%SM'ITH%';; DBConnectionManager connMgr; connMgr = DBConnectionManager.getInstance(); Connection Conn = connMgr.getConnection(podb); Statement SQLS = Conn.createStatement(); ResultSet rs = SQLS.executeQuery(query); String col1 = null; String col2 = null; while(rs.next()) { col1 = rs.getString(pat_id); col2 = rs.getString(pat_fname); % %=col1%: %=col2%br br % } rs.close(); SQLS.close(); connMgr.freeConnection(podb,Conn); % I get the error page as I should - however If I move the include to below the %@ page language=java - I get a blank page!! Now here is where it gets weirder - if I force a java syntax error like as follows (I corrected the query): jsp:include page=top.html flush=true %@ page language=java import=javax.crypto.*,java.sql.*,java.net.*,dbc.DBConnectionManager % %^M String query = select * from patient_info where ref_client = 38 and pat_lname like '%SMITH%';; DBConnectionManager connMgr; connMgr = DBConnectionManager.getInstance(); Connection Conn = connMgr.getConnection(podb); Statement SQLS = Conn.createStatement(); ResultSet rs = SQLS.executeQuery(query); String col1 = null; String col2 = null; if (col1.equals(yes) { //test } while(rs.next()) { col1 = rs.getString(pat_id); col2 = rs.getString(pat_fname); % %=col1%: %=col2%br br % } rs.close(); SQLS.close(); connMgr.freeConnection(podb,Conn); % An error will get thrown to the screen org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 2 in the jsp file: /testdb.jsp /var/lib/tomcat4/work/Standalone/localhost/podims/testdb_jsp.java:57: ')' expected if (col1.equals(yes) { However if I try to force a null pointer error by correcting my syntax error - I get a blank screen! If remove the include I get the null pointer error no problem. The other behaviour I noticed as well is that as I said before if the include is above the %@ page language piece it works fine - only if its an html - if its another jsp file - I get a blank screen as well. So has anyone else seen this behaviour - is there a fix or a work around - should I got back to Tomcat 3?? I'm going to try your suggestion Rob and see if that helps at all, but to me its seems like an issue with the JSP compiler. Cheers Adile -Original Message- From: Rob Hills [mailto:[EMAIL PROTECTED] Sent: July 21, 2005 9:36 PM To: tomcat-user@jakarta.apache.org Subject: RE: Error 500 messages Hi Adile, I did say it was untested, and I've spotted a problem in my code already (why are bugs so invisible BEFORE you press the send button??!!) On 22 Jul 2005 at 9:41, Rob Hills wrote: Something like the following (untested) in your error.jsp should do the trick: % if (exception == null) { % H1A null exception was encountered/H1 % } else { if (exception instanceof SQLException) { Exception e = exception; // WRONG the line
Re: Error 500 messages
This line jsp:include page=top.html flush=true will commit the response and send html back to the client. Once that is done - no error messages will be sent back to the client and you will end up with a blank screen. -Tim Adile Abbadi wrote: Hi Rob, Thanx for this - this is great - I may have to use this because I think I have truly found a bug in Tomcat as this issue is not happening on my Tomcat 3 server. I did a bit more investigation and I found some interesting things. This is going to be a long email with code and stuff but whoever wants to read it please do - because the results are weird. I created the following simple JSP page %@ page language=java import=javax.crypto.*,java.sql.*,java.net.*,dbc.DBConnectionManager % %^M String query = select * from patient_info where ref_client = 38 and pat_lname like '%SM'ITH%';; DBConnectionManager connMgr; connMgr = DBConnectionManager.getInstance(); Connection Conn = connMgr.getConnection(podb); Statement SQLS = Conn.createStatement(); ResultSet rs = SQLS.executeQuery(query); String col1 = null; String col2 = null; while(rs.next()) { col1 = rs.getString(pat_id); col2 = rs.getString(pat_fname); % %=col1%: %=col2%br br % } rs.close(); SQLS.close(); connMgr.freeConnection(podb,Conn); % As you can see I did a syntax error in the query and the error comes to the screen as expected javax.servlet.ServletException: ERROR: syntax error at or near ITH at character 74 I said that's weird so I tried to compare my complicated JSP files to what I have here to see what is different (if I did something wrong) and I found this If I add an include at certain parts of the page - I see the result I was talking about. For example if I do this: jsp:include page=top.html flush=true %@ page language=java import=javax.crypto.*,java.sql.*,java.net.*,dbc.DBConnectionManager % %^M String query = select * from patient_info where ref_client = 38 and pat_lname like '%SM'ITH%';; DBConnectionManager connMgr; connMgr = DBConnectionManager.getInstance(); Connection Conn = connMgr.getConnection(podb); Statement SQLS = Conn.createStatement(); ResultSet rs = SQLS.executeQuery(query); String col1 = null; String col2 = null; while(rs.next()) { col1 = rs.getString(pat_id); col2 = rs.getString(pat_fname); % %=col1%: %=col2%br br % } rs.close(); SQLS.close(); connMgr.freeConnection(podb,Conn); % I get the error page as I should - however If I move the include to below the %@ page language=java - I get a blank page!! Now here is where it gets weirder - if I force a java syntax error like as follows (I corrected the query): jsp:include page=top.html flush=true %@ page language=java import=javax.crypto.*,java.sql.*,java.net.*,dbc.DBConnectionManager % %^M String query = select * from patient_info where ref_client = 38 and pat_lname like '%SMITH%';; DBConnectionManager connMgr; connMgr = DBConnectionManager.getInstance(); Connection Conn = connMgr.getConnection(podb); Statement SQLS = Conn.createStatement(); ResultSet rs = SQLS.executeQuery(query); String col1 = null; String col2 = null; if (col1.equals(yes) { //test } while(rs.next()) { col1 = rs.getString(pat_id); col2 = rs.getString(pat_fname); % %=col1%: %=col2%br br % } rs.close(); SQLS.close(); connMgr.freeConnection(podb,Conn); % An error will get thrown to the screen org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 2 in the jsp file: /testdb.jsp /var/lib/tomcat4/work/Standalone/localhost/podims/testdb_jsp.java:57: ')' expected if (col1.equals(yes) { However if I try to force a null pointer error by correcting my syntax error - I get a blank screen! If remove the include I get the null pointer error no problem. The other behaviour I noticed as well is that as I said before if the include is above the %@ page language piece it works fine - only if its an html - if its another jsp file - I get a blank screen as well. So has anyone else seen this behaviour - is there a fix or a work around - should I got back to Tomcat 3?? I'm going to try your suggestion Rob and see if that helps at all, but to me its seems like an issue with the JSP compiler. Cheers Adile - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Error 500 messages
Hi Tim, Thanx for the information - I forgot about that. I guess the question is why did it work in Tomcat 3 and not Tomcat 4 and second is there a workaround to get it to work? Adile -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: July 22, 2005 12:20 PM To: Tomcat Users List Subject: Re: Error 500 messages This line jsp:include page=top.html flush=true will commit the response and send html back to the client. Once that is done - no error messages will be sent back to the client and you will end up with a blank screen. -Tim Adile Abbadi wrote: Hi Rob, Thanx for this - this is great - I may have to use this because I think I have truly found a bug in Tomcat as this issue is not happening on my Tomcat 3 server. I did a bit more investigation and I found some interesting things. This is going to be a long email with code and stuff but whoever wants to read it please do - because the results are weird. I created the following simple JSP page %@ page language=java import=javax.crypto.*,java.sql.*,java.net.*,dbc.DBConnectionManager % %^M String query = select * from patient_info where ref_client = 38 and pat_lname like '%SM'ITH%';; DBConnectionManager connMgr; connMgr = DBConnectionManager.getInstance(); Connection Conn = connMgr.getConnection(podb); Statement SQLS = Conn.createStatement(); ResultSet rs = SQLS.executeQuery(query); String col1 = null; String col2 = null; while(rs.next()) { col1 = rs.getString(pat_id); col2 = rs.getString(pat_fname); % %=col1%: %=col2%br br % } rs.close(); SQLS.close(); connMgr.freeConnection(podb,Conn); % As you can see I did a syntax error in the query and the error comes to the screen as expected javax.servlet.ServletException: ERROR: syntax error at or near ITH at character 74 I said that's weird so I tried to compare my complicated JSP files to what I have here to see what is different (if I did something wrong) and I found this If I add an include at certain parts of the page - I see the result I was talking about. For example if I do this: jsp:include page=top.html flush=true %@ page language=java import=javax.crypto.*,java.sql.*,java.net.*,dbc.DBConnectionManager % %^M String query = select * from patient_info where ref_client = 38 and pat_lname like '%SM'ITH%';; DBConnectionManager connMgr; connMgr = DBConnectionManager.getInstance(); Connection Conn = connMgr.getConnection(podb); Statement SQLS = Conn.createStatement(); ResultSet rs = SQLS.executeQuery(query); String col1 = null; String col2 = null; while(rs.next()) { col1 = rs.getString(pat_id); col2 = rs.getString(pat_fname); % %=col1%: %=col2%br br % } rs.close(); SQLS.close(); connMgr.freeConnection(podb,Conn); % I get the error page as I should - however If I move the include to below the %@ page language=java - I get a blank page!! Now here is where it gets weirder - if I force a java syntax error like as follows (I corrected the query): jsp:include page=top.html flush=true %@ page language=java import=javax.crypto.*,java.sql.*,java.net.*,dbc.DBConnectionManager % %^M String query = select * from patient_info where ref_client = 38 and pat_lname like '%SMITH%';; DBConnectionManager connMgr; connMgr = DBConnectionManager.getInstance(); Connection Conn = connMgr.getConnection(podb); Statement SQLS = Conn.createStatement(); ResultSet rs = SQLS.executeQuery(query); String col1 = null; String col2 = null; if (col1.equals(yes) { //test } while(rs.next()) { col1 = rs.getString(pat_id); col2 = rs.getString(pat_fname); % %=col1%: %=col2%br br % } rs.close(); SQLS.close(); connMgr.freeConnection(podb,Conn); % An error will get thrown to the screen org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 2 in the jsp file: /testdb.jsp /var/lib/tomcat4/work/Standalone/localhost/podims/testdb_jsp.java:57: ')' expected if (col1.equals(yes) { However if I try to force a null pointer error by correcting my syntax error - I get a blank screen! If remove the include I get the null pointer error no problem. The other behaviour I noticed as well is that as I said before if the include is above the %@ page language piece it works fine - only if its an html - if its another jsp file - I get a blank screen as well. So has anyone else seen this behaviour - is there a fix or a work around - should I got back to Tomcat 3?? I'm going to try your suggestion Rob and see if that helps at all, but to me its
Re: Error 500 messages
flush=false -Tim Adile Abbadi wrote: Hi Tim, Thanx for the information - I forgot about that. I guess the question is why did it work in Tomcat 3 and not Tomcat 4 and second is there a workaround to get it to work? Adile -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: July 22, 2005 12:20 PM To: Tomcat Users List Subject: Re: Error 500 messages This line jsp:include page=top.html flush=true will commit the response and send html back to the client. Once that is done - no error messages will be sent back to the client and you will end up with a blank screen. -Tim Adile Abbadi wrote: Hi Rob, Thanx for this - this is great - I may have to use this because I think I have truly found a bug in Tomcat as this issue is not happening on my Tomcat 3 server. I did a bit more investigation and I found some interesting things. This is going to be a long email with code and stuff but whoever wants to read it please do - because the results are weird. I created the following simple JSP page %@ page language=java import=javax.crypto.*,java.sql.*,java.net.*,dbc.DBConnectionManager % %^M String query = select * from patient_info where ref_client = 38 and pat_lname like '%SM'ITH%';; DBConnectionManager connMgr; connMgr = DBConnectionManager.getInstance(); Connection Conn = connMgr.getConnection(podb); Statement SQLS = Conn.createStatement(); ResultSet rs = SQLS.executeQuery(query); String col1 = null; String col2 = null; while(rs.next()) { col1 = rs.getString(pat_id); col2 = rs.getString(pat_fname); % %=col1%: %=col2%br br % } rs.close(); SQLS.close(); connMgr.freeConnection(podb,Conn); % As you can see I did a syntax error in the query and the error comes to the screen as expected javax.servlet.ServletException: ERROR: syntax error at or near ITH at character 74 I said that's weird so I tried to compare my complicated JSP files to what I have here to see what is different (if I did something wrong) and I found this If I add an include at certain parts of the page - I see the result I was talking about. For example if I do this: jsp:include page=top.html flush=true %@ page language=java import=javax.crypto.*,java.sql.*,java.net.*,dbc.DBConnectionManager % %^M String query = select * from patient_info where ref_client = 38 and pat_lname like '%SM'ITH%';; DBConnectionManager connMgr; connMgr = DBConnectionManager.getInstance(); Connection Conn = connMgr.getConnection(podb); Statement SQLS = Conn.createStatement(); ResultSet rs = SQLS.executeQuery(query); String col1 = null; String col2 = null; while(rs.next()) { col1 = rs.getString(pat_id); col2 = rs.getString(pat_fname); % %=col1%: %=col2%br br % } rs.close(); SQLS.close(); connMgr.freeConnection(podb,Conn); % I get the error page as I should - however If I move the include to below the %@ page language=java - I get a blank page!! Now here is where it gets weirder - if I force a java syntax error like as follows (I corrected the query): jsp:include page=top.html flush=true %@ page language=java import=javax.crypto.*,java.sql.*,java.net.*,dbc.DBConnectionManager % %^M String query = select * from patient_info where ref_client = 38 and pat_lname like '%SMITH%';; DBConnectionManager connMgr; connMgr = DBConnectionManager.getInstance(); Connection Conn = connMgr.getConnection(podb); Statement SQLS = Conn.createStatement(); ResultSet rs = SQLS.executeQuery(query); String col1 = null; String col2 = null; if (col1.equals(yes) { //test } while(rs.next()) { col1 = rs.getString(pat_id); col2 = rs.getString(pat_fname); % %=col1%: %=col2%br br % } rs.close(); SQLS.close(); connMgr.freeConnection(podb,Conn); % An error will get thrown to the screen org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 2 in the jsp file: /testdb.jsp /var/lib/tomcat4/work/Standalone/localhost/podims/testdb_jsp.java:57: ')' expected if (col1.equals(yes) { However if I try to force a null pointer error by correcting my syntax error - I get a blank screen! If remove the include I get the null pointer error no problem. The other behaviour I noticed as well is that as I said before if the include is above the %@ page language piece it works fine - only if its an html - if its another jsp file - I get a blank screen as well. So has anyone else seen this behaviour - is there a fix or a work around - should I got back to Tomcat 3?? I'm going to try your suggestion Rob and see if that helps at all, but to me its seems like an issue with the JSP compiler. Cheers Adile
RE: Error 500 messages
Hi Tim, Thank you very much - that has helped - however I discovered that the problem still exists if I have an include within an include - ie. I have an include called this jsp:include page=navmenu.jsp flush=false Inside that include I have another include also with flush set to false - and I still get a blank page - however if I remove the includes within the include then the exception is visible. Any ideas on this? Cheers Adile -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: July 22, 2005 12:42 PM To: Tomcat Users List Subject: Re: Error 500 messages flush=false -Tim Adile Abbadi wrote: Hi Tim, Thanx for the information - I forgot about that. I guess the question is why did it work in Tomcat 3 and not Tomcat 4 and second is there a workaround to get it to work? Adile -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: July 22, 2005 12:20 PM To: Tomcat Users List Subject: Re: Error 500 messages This line jsp:include page=top.html flush=true will commit the response and send html back to the client. Once that is done - no error messages will be sent back to the client and you will end up with a blank screen. -Tim Adile Abbadi wrote: Hi Rob, Thanx for this - this is great - I may have to use this because I think I have truly found a bug in Tomcat as this issue is not happening on my Tomcat 3 server. I did a bit more investigation and I found some interesting things. This is going to be a long email with code and stuff but whoever wants to read it please do - because the results are weird. I created the following simple JSP page %@ page language=java import=javax.crypto.*,java.sql.*,java.net.*,dbc.DBConnectionManager % %^M String query = select * from patient_info where ref_client = 38 and pat_lname like '%SM'ITH%';; DBConnectionManager connMgr; connMgr = DBConnectionManager.getInstance(); Connection Conn = connMgr.getConnection(podb); Statement SQLS = Conn.createStatement(); ResultSet rs = SQLS.executeQuery(query); String col1 = null; String col2 = null; while(rs.next()) { col1 = rs.getString(pat_id); col2 = rs.getString(pat_fname); % %=col1%: %=col2%br br % } rs.close(); SQLS.close(); connMgr.freeConnection(podb,Conn); % As you can see I did a syntax error in the query and the error comes to the screen as expected javax.servlet.ServletException: ERROR: syntax error at or near ITH at character 74 I said that's weird so I tried to compare my complicated JSP files to what I have here to see what is different (if I did something wrong) and I found this If I add an include at certain parts of the page - I see the result I was talking about. For example if I do this: jsp:include page=top.html flush=true %@ page language=java import=javax.crypto.*,java.sql.*,java.net.*,dbc.DBConnectionManager % %^M String query = select * from patient_info where ref_client = 38 and pat_lname like '%SM'ITH%';; DBConnectionManager connMgr; connMgr = DBConnectionManager.getInstance(); Connection Conn = connMgr.getConnection(podb); Statement SQLS = Conn.createStatement(); ResultSet rs = SQLS.executeQuery(query); String col1 = null; String col2 = null; while(rs.next()) { col1 = rs.getString(pat_id); col2 = rs.getString(pat_fname); % %=col1%: %=col2%br br % } rs.close(); SQLS.close(); connMgr.freeConnection(podb,Conn); % I get the error page as I should - however If I move the include to below the %@ page language=java - I get a blank page!! Now here is where it gets weirder - if I force a java syntax error like as follows (I corrected the query): jsp:include page=top.html flush=true %@ page language=java import=javax.crypto.*,java.sql.*,java.net.*,dbc.DBConnectionManager % %^M String query = select * from patient_info where ref_client = 38 and pat_lname like '%SMITH%';; DBConnectionManager connMgr; connMgr = DBConnectionManager.getInstance(); Connection Conn = connMgr.getConnection(podb); Statement SQLS = Conn.createStatement(); ResultSet rs = SQLS.executeQuery(query); String col1 = null; String col2 = null; if (col1.equals(yes) { //test } while(rs.next()) { col1 = rs.getString(pat_id); col2 = rs.getString(pat_fname); % %=col1%: %=col2%br br % } rs.close(); SQLS.close(); connMgr.freeConnection(podb,Conn); % An error will get thrown to the screen org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 2 in the jsp file: /testdb.jsp /var/lib/tomcat4/work/Standalone/localhost/podims/testdb_jsp.java:57: ')' expected if (col1.equals(yes) { However
Error 500 messages
Hi all, I've got a very simple question to ask and I'm sure someone out there can help me. Ok I just migrated from Tomcat 3 to Tomcat 4 and everything is working great except one little thing. But a little background before I go on. Apache/Tomcat4 configuration - using libapache-mod_jk as the connector. Running on Linux JDK1.4 My app is built in JSP with JavaBeans in the background. Most of JSP's are built as follows Container JSP file --jsp includes doing different thing like load session variables or nav menus, etc. Alright so here is the issue - in Tomcat 3 - whenever an error occurred such as a null pointer, or other exception - the error would output right to the JSP page itself and I could see it on the screen. Now in Tomcat 4 it outputs the error to the log. This is all fine and dandy but it makes it hell to try and fix issues having to sift through log files to figure out what the problem is. Now I have tried to build a simple test.jsp file and force it to through an exception and that works fine (gives me the standard apache/tomcat error 500 screen) - but for some reason in the more complicated jsp pages - I can't get the exception to come to the screen. So any ideas?? Thanx Adile Mr. Adile Abbadi-MacIntosh - Chief Technical Officer A: Suite 500 - 400 Crowfoot Cres NWCalgary, Alberta, CanadaT3G 5H6 P: 403.693.2609 F: 403.693.2604 E: [EMAIL PROTECTED] C: 403.383.5285
Re: Error 500 messages
It might be easier than you think to output the error right onto the page itself. But would it help if you see the errors (+ other things) on the tomcat console?? It will certainly help in your debugging. To do that edit the server.xml in the conf directory and remove lines similar to this: Logger className=org.apache.catalina.logger.FileLogger prefix=catalina_log. suffix=.txt timestamp=true/ The only problem I have seen when I do this is that a lot of information prints out on to the console and makes it cluttered - but my hope is that when you get an error/exception you will be able to notice it in the console amidst all the other debugging info. Also ensure that the debug has the value 0 in the host tag. This will reduce the amount of debugging info. Another point I wish to make is that when there is an error tomcat just writes one file I am not sure which files you mention that tomcat writes The easiest thing I do and it works too is that - everything is outputted into my one output file catalina.out and I use tail -f catalina.out to see what is going on - of course this works only on *nix servers (pity windows!!)... HTH, Anoop On 7/21/05, Adile Abbadi [EMAIL PROTECTED] wrote: Hi all, I've got a very simple question to ask and I'm sure someone out there can help me. Ok I just migrated from Tomcat 3 to Tomcat 4 and everything is working great except one little thing. But a little background before I go on. Apache/Tomcat4 configuration - using libapache-mod_jk as the connector. Running on Linux JDK1.4 My app is built in JSP with JavaBeans in the background. Most of JSP's are built as follows Container JSP file --jsp includes doing different thing like load session variables or nav menus, etc. Alright so here is the issue - in Tomcat 3 - whenever an error occurred such as a null pointer, or other exception - the error would output right to the JSP page itself and I could see it on the screen. Now in Tomcat 4 it outputs the error to the log. This is all fine and dandy but it makes it hell to try and fix issues having to sift through log files to figure out what the problem is. Now I have tried to build a simple test.jsp file and force it to through an exception and that works fine (gives me the standard apache/tomcat error 500 screen) - but for some reason in the more complicated jsp pages - I can't get the exception to come to the screen. So any ideas?? Thanx Adile Mr. Adile Abbadi-MacIntosh - Chief Technical Officer A: Suite 500 - 400 Crowfoot Cres NW Calgary, Alberta, Canada T3G 5H6 P: 403.693.2609 F: 403.693.2604 E: [EMAIL PROTECTED] C: 403.383.5285 -- Thanks and best regards, Anoop - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Error 500 messages
Hi Anoop thanx for your help - first in regards to the file that the log is writing to I'm referring to a log file I created for my context in the XML supporting that context using the FileLogger (similar to as you have below). Now I did a little more experimenting and discovered something interesting - as I said I can get an exception to be thrown to the page in a simple JSP file (I made it do a null pointer for example) and I can get it do pretty any other exception as well. Now what I did is I took one my more complicated JSP pages, made a copy and made a few changes to force some exceptions - now here is the weird thing - some exceptions are thrown to the screen and some are not. For example I had a ResultSet DB object and I made a syntax error and I got an Error 500 screen to come up as follows (note I took out the extra stuff to shorten the email) org.apache.jasper.JasperException: Unable to compile class for JSP /var/lib/tomcat4/work/Standalone/localhost/podims/mod_pat_test_jsp.java:118: ')' expected while(SQLR.next() { I also got it do a null pointer exception: org.apache.jasper.JasperException Root Cause java.lang.NullPointerException However I tried to get it to do a syntax error in the query - and I end up with a blank page. The catalina log shows nothing, but my context log shows the following (clown is the word I used to screw up the query) javax.servlet.ServletException: ERROR: syntax error at or near CLOWN at character 260 --Root Cause-- java.sql.SQLException: ERROR: syntax error at or near CLOWN at character 260 Its almost as it the page refuses to compile with this error. Any ideas - is it a configuration thing? Thanx Adile -Original Message- From: Anoop kumar V [mailto:[EMAIL PROTECTED] Sent: July 21, 2005 6:32 PM To: Tomcat Users List Subject: Re: Error 500 messages It might be easier than you think to output the error right onto the page itself. But would it help if you see the errors (+ other things) on the tomcat console?? It will certainly help in your debugging. To do that edit the server.xml in the conf directory and remove lines similar to this: Logger className=org.apache.catalina.logger.FileLogger prefix=catalina_log. suffix=.txt timestamp=true/ The only problem I have seen when I do this is that a lot of information prints out on to the console and makes it cluttered - but my hope is that when you get an error/exception you will be able to notice it in the console amidst all the other debugging info. Also ensure that the debug has the value 0 in the host tag. This will reduce the amount of debugging info. Another point I wish to make is that when there is an error tomcat just writes one file I am not sure which files you mention that tomcat writes The easiest thing I do and it works too is that - everything is outputted into my one output file catalina.out and I use tail -f catalina.out to see what is going on - of course this works only on *nix servers (pity windows!!)... HTH, Anoop On 7/21/05, Adile Abbadi [EMAIL PROTECTED] wrote: Hi all, I've got a very simple question to ask and I'm sure someone out there can help me. Ok I just migrated from Tomcat 3 to Tomcat 4 and everything is working great except one little thing. But a little background before I go on. Apache/Tomcat4 configuration - using libapache-mod_jk as the connector. Running on Linux JDK1.4 My app is built in JSP with JavaBeans in the background. Most of JSP's are built as follows Container JSP file --jsp includes doing different thing like load session variables or nav menus, etc. Alright so here is the issue - in Tomcat 3 - whenever an error occurred such as a null pointer, or other exception - the error would output right to the JSP page itself and I could see it on the screen. Now in Tomcat 4 it outputs the error to the log. This is all fine and dandy but it makes it hell to try and fix issues having to sift through log files to figure out what the problem is. Now I have tried to build a simple test.jsp file and force it to through an exception and that works fine (gives me the standard apache/tomcat error 500 screen) - but for some reason in the more complicated jsp pages - I can't get the exception to come to the screen. So any ideas?? Thanx Adile Mr. Adile Abbadi-MacIntosh - Chief Technical Officer A: Suite 500 - 400 Crowfoot Cres NW Calgary, Alberta, Canada T3G 5H6 P: 403.693.2609 F: 403.693.2604 E: [EMAIL PROTECTED] C: 403.383.5285 -- Thanks and best regards, Anoop - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.9.2/54 - Release Date: 7/21/05 -- No virus found in this outgoing
RE: Error 500 messages
Hi Adile, On 21 Jul 2005 at 19:09, Adile Abbadi wrote: Now I did a little more experimenting and discovered something interesting - as I said I can get an exception to be thrown to the page in a simple JSP file (I made it do a null pointer for example) and I can get it do pretty any other exception as well. Now what I did is I took one my more complicated JSP pages, made a copy and made a few changes to force some exceptions - now here is the weird thing - some exceptions are thrown to the screen and some are not. For example I had a ResultSet DB object and I made a syntax error and I got an Error 500 screen to come up as follows (note I took out the extra stuff to shorten the email) org.apache.jasper.JasperException: Unable to compile class for JSP Note, you will always get a stacktrace if Tomcat can't compile a JSP - I believe this is appropriate as this is a developer error rather than a runtime error. However I tried to get it to do a syntax error in the query - and I end up with a blank page. The catalina log shows nothing, but my context log shows the following (clown is the word I used to screw up the query) javax.servlet.ServletException: ERROR: syntax error at or near CLOWN at character 260 --Root Cause-- java.sql.SQLException: ERROR: syntax error at or near CLOWN at character 260 Its almost as it the page refuses to compile with this error. No, it has compiled OK or else you'd get the same kind of message as you did previously. I suspect the reason you get a blank page is that for reason's I've never been able to discover, SQL Exceptions are nested and the last error (the one shown on your error page) is always empty :-( to see the true error(s), you have to write some code that works its way back through the nested SQL Exceptions, printing out the message for each as you go. Something like the following (untested) in your error.jsp should do the trick: % if (exception == null) { % H1A null exception was encountered/H1 % } else { if (exception instanceof SQLException) { Exception e = exception; while (e != null) { % PError Code: %=e.getErrorCode()%/P PMessage: %=e.getMessage()%/P % e = e.getNextException(); } } else { // non-sql error handling here... } } HTH, Rob Hills www.netpaver.com.au Western Australia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Error 500 messages
Hi Adile, I did say it was untested, and I've spotted a problem in my code already (why are bugs so invisible BEFORE you press the send button??!!) On 22 Jul 2005 at 9:41, Rob Hills wrote: Something like the following (untested) in your error.jsp should do the trick: % if (exception == null) { % H1A null exception was encountered/H1 % } else { if (exception instanceof SQLException) { Exception e = exception; // WRONG the line above should read: SQLException e = (SQLException)exception; while (e != null) { % PError Code: %=e.getErrorCode()%/P PMessage: %=e.getMessage()%/P % e = e.getNextException(); } } else { // non-sql error handling here... } } HTH, Rob Hills www.netpaver.com.au Western Australia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Rob Hills MBBS, Grad Dip Com Stud, MACS Senior Consultant Netpaver Web Solutions Tel:(08) 9485 2555 Mob:(0412) 904 357 Fax:(08) 9485 2555 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Redirecting to another site when Error 500 occurs
Hi I am running a site served by Apache and Tomcat, When tomcat dies and gives a 500 error i want to redirect to an external site.. I thought the way of doing this was via httpd.conf for Apache.. so i added ErrorDocument 500 http://my.external.site/ to httpd.conf However it doesn't redirect when tomcat is stopped (and you therefore get a error 500) ... i added a redirect for error 404's and these do go to the external site on a 404. So is there something in tomcat or the way its linked to apache that is causing the redirect not to work? thanks Edd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: IIS Tomcat Web Log Error 500 Misleading?
This may not be the answer but I've always read that there's a limit on the number of characters in a GET request. I don't use many GETS so have never run into it. But that's the first thing I thought of when I saw the length of the query string... Ken -Original Message- From: Kan-Lee Liou [mailto:[EMAIL PROTECTED] Sent: Monday, July 19, 2004 8:32 AM To: [EMAIL PROTECTED] Subject: IIS Tomcat Web Log Error 500 Misleading? I have IIS 5.0 and Tomcat 5.0.19 installed on my machine and I have no problems running it to server JSP pages. However, our web master complained that IIS created a lot of Errors 500 in the web logs. I tested it on my local machine and I can create the errors in the logs, but I don't see them in the browser. I suspect they are some timeout and retry effort between IIS and Tomcat by isapi_redirector2.dll. In the following partial log, you can find that for the same JSESSIONID, it logged several GET's (200, success), a couple POST's (500, Internal Server Errors, 4th and 5th line items), and then a POST (200, success, 6th line item). I did try to refresh the web pages several times quickly in order to create these errors in the log file, but I did not see any error on my screen. -- 2004-07-14 18:23:07 127.0.0.1 GET /jakarta/isapi_redirector2.dll 200 4117 959 0 JSESSIONID=7ECBDF34DD859002F06970330B5031EC HTTP://localhost/itswindstorm/wpi8/wpi8_start.jsp?searchAddNum=1106searchSt reet=Second+StreetsearchCity=SweenysearchCounty=BRAZORIAerrorMsg=%3cb%3eC annot+find+any+address+matching+your+criteria.+%3cbr%3e%0d%0a%09%09%09Please +refine+your+search+criteria.%3c%2fb%3e 2004-07-14 18:23:07 127.0.0.1 GET /jakarta/isapi_redirector2.dll 200 112 641 0 JSESSIONID=7ECBDF34DD859002F06970330B5031EC http://localhost/itswindstorm/wpi8/wpi8_start.jsp?searchAddNum=1106searchSt reet=Second+StreetsearchCity=SweenysearchCounty=BRAZORIAerrorMsg=%3cb%3eC annot+find+any+address+matching+your+criteria.+%3cbr%3e%0d%0a%09%09%09Please +refine+your+search+criteria.%3c%2fb%3e 2004-07-14 18:23:07 127.0.0.1 GET /jakarta/isapi_redirector2.dll 200 112 640 0 JSESSIONID=7ECBDF34DD859002F06970330B5031EC http://localhost/itswindstorm/wpi8/wpi8_start.jsp?searchAddNum=1106searchSt reet=Second+StreetsearchCity=SweenysearchCounty=BRAZORIAerrorMsg=%3cb%3eC annot+find+any+address+matching+your+criteria.+%3cbr%3e%0d%0a%09%09%09Please +refine+your+search+criteria.%3c%2fb%3e 2004-07-14 18:23:07 127.0.0.1 POST /jakarta/isapi_redirector2.dll 500 89 937 19750 JSESSIONID=7ECBDF34DD859002F06970330B5031EC http://localhost/itswindstorm/wpi8/wpi8_start.jsp?searchAddNum=1106searchSt reet=Second+StreetsearchCity=SweenysearchCounty=BRAZORIAerrorMsg=%3cb%3eC annot+find+any+address+matching+your+criteria.+%3cbr%3e%0d%0a%09%09%09Please +refine+your+search+criteria.%3c%2fb%3e 2004-07-14 18:23:17 127.0.0.1 POST /jakarta/isapi_redirector2.dll 500 89 937 20937 JSESSIONID=7ECBDF34DD859002F06970330B5031EC http://localhost/itswindstorm/wpi8/wpi8_start.jsp?searchAddNum=1106searchSt reet=Second+StreetsearchCity=SweenysearchCounty=BRAZORIAerrorMsg=%3cb%3eC annot+find+any+address+matching+your+criteria.+%3cbr%3e%0d%0a%09%09%09Please +refine+your+search+criteria.%3c%2fb%3e 2004-07-14 18:23:19 127.0.0.1 POST /jakarta/isapi_redirector2.dll 200 510 776 9969 JSESSIONID=7ECBDF34DD859002F06970330B5031EC http://localhost/itswindstorm/wpi8/wpi8_start.jsp?searchAddNum=1106searchSt reet=Second+StreetsearchCity=SweenysearchCounty=BRAZORIAerrorMsg=%3cb%3eC annot+find+any+address+matching+your+criteria.+%3cbr%3e%0d%0a%09%09%09Please +refine+your+search+criteria.%3c%2fb%3e 2004-07-14 18:23:19 127.0.0.1 GET /jakarta/isapi_redirector2.dll 200 4117 798 0 JSESSIONID=7ECBDF34DD859002F06970330B5031EC http://localhost/itswindstorm/wpi8/wpi8_start.jsp?searchAddNum=1106searchSt reet=Second+StreetsearchCity=SweenysearchCounty=BRAZORIAerrorMsg=%3cb%3eC annot+find+any+address+matching+your+criteria.+%3cbr%3e%0d%0a%09%09%09Please +refine+your+search+criteria.%3c%2fb%3e --- Our web master insisted that a good application should not create Error 500 in the log. Have you seen similar things in your web logs? Do you know how to get rid of those 500 errors? Thanks. KL
IIS Tomcat Web Log Error 500 Misleading?
I have IIS 5.0 and Tomcat 5.0.19 installed on my machine and I have no problems running it to server JSP pages. However, our web master complained that IIS created a lot of Errors 500 in the web logs. I tested it on my local machine and I can create the errors in the logs, but I don't see them in the browser. I suspect they are some "timeout and retry" effort between IIS and Tomcat by isapi_redirector2.dll. In the following partial log, you can find thatfor the same JSESSIONID, it logged several GET's (200, success),a couple POST's (500, Internal Server Errors, 4th and 5th line items), and then a POST (200, success, 6th line item). I did try to refresh the web pages several times quickly in order to create these errors in the log file, but I did not see any error on my screen. -- 2004-07-14 18:23:07 127.0.0.1 GET /jakarta/isapi_redirector2.dll 200 4117 959 0 JSESSIONID=7ECBDF34DD859002F06970330B5031EC HTTP://localhost/itswindstorm/wpi8/wpi8_start.jsp?searchAddNum=1106searchStreet=Second+StreetsearchCity=SweenysearchCounty=BRAZORIAerrorMsg=%3cb%3eCannot+find+any+address+matching+your+criteria.+%3cbr%3e%0d%0a%09%09%09Please+refine+your+search+criteria.%3c%2fb%3e2004-07-14 18:23:07 127.0.0.1 GET /jakarta/isapi_redirector2.dll 200 112 641 0 JSESSIONID=7ECBDF34DD859002F06970330B5031EC http://localhost/itswindstorm/wpi8/wpi8_start.jsp?searchAddNum=1106searchStreet=Second+StreetsearchCity=SweenysearchCounty=BRAZORIAerrorMsg=%3cb%3eCannot+find+any+address+matching+your+criteria.+%3cbr%3e%0d%0a%09%09%09Please+refine+your+search+criteria.%3c%2fb%3e2004-07-14 18:23:07 127.0.0.1 GET /jakarta/isapi_redirector2.dll 200 112 640 0 JSESSIONID=7ECBDF34DD859002F06970330B5031EC http://localhost/itswindstorm/wpi8/wpi8_start.jsp?searchAddNum=1106searchStreet=Second+StreetsearchCity=SweenysearchCounty=BRAZORIAerrorMsg=%3cb%3eCannot+find+any+address+matching+your+criteria.+%3cbr%3e%0d%0a%09%09%09Please+refine+your+search+criteria.%3c%2fb%3e2004-07-14 18:23:07 127.0.0.1 POST /jakarta/isapi_redirector2.dll 500 89 937 19750 JSESSIONID=7ECBDF34DD859002F06970330B5031EC http://localhost/itswindstorm/wpi8/wpi8_start.jsp?searchAddNum=1106searchStreet=Second+StreetsearchCity=SweenysearchCounty=BRAZORIAerrorMsg=%3cb%3eCannot+find+any+address+matching+your+criteria.+%3cbr%3e%0d%0a%09%09%09Please+refine+your+search+criteria.%3c%2fb%3e2004-07-14 18:23:17 127.0.0.1 POST /jakarta/isapi_redirector2.dll 500 89 937 20937 JSESSIONID=7ECBDF34DD859002F06970330B5031EC http://localhost/itswindstorm/wpi8/wpi8_start.jsp?searchAddNum=1106searchStreet=Second+StreetsearchCity=SweenysearchCounty=BRAZORIAerrorMsg=%3cb%3eCannot+find+any+address+matching+your+criteria.+%3cbr%3e%0d%0a%09%09%09Please+refine+your+search+criteria.%3c%2fb%3e2004-07-14 18:23:19 127.0.0.1 POST /jakarta/isapi_redirector2.dll 200 510 776 9969 JSESSIONID=7ECBDF34DD859002F06970330B5031EC http://localhost/itswindstorm/wpi8/wpi8_start.jsp?searchAddNum=1106searchStreet=Second+StreetsearchCity=SweenysearchCounty=BRAZORIAerrorMsg=%3cb%3eCannot+find+any+address+matching+your+criteria.+%3cbr%3e%0d%0a%09%09%09Please+refine+your+search+criteria.%3c%2fb%3e2004-07-14 18:23:19 127.0.0.1 GET /jakarta/isapi_redirector2.dll 200 4117 798 0 JSESSIONID=7ECBDF34DD859002F06970330B5031EC http://localhost/itswindstorm/wpi8/wpi8_start.jsp?searchAddNum=1106searchStreet=Second+StreetsearchCity=SweenysearchCounty=BRAZORIAerrorMsg=%3cb%3eCannot+find+any+address+matching+your+criteria.+%3cbr%3e%0d%0a%09%09%09Please+refine+your+search+criteria.%3c%2fb%3e--- Our web master insisted that a "good" application should not create Error 500 in the log. Haveyou seen similar things in your web logs? Do you know how to get rid of those 500 errors? Thanks. KL
RE: Error 500 from ISAPI_REDIRECTOR2.DLL
Allistair- How about your jk2.properties file? You have a matching shm in there? I also recall seeing something funny recently about a size of 100 not working, but 1048576 does. Bill -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Thursday, February 12, 2004 11:08 AM To: TOMCAT USER (E-mail) Subject: Error 500 from ISAPI_REDIRECTOR2.DLL Hi Guys I had my IIS 5 to TC 5.0.16 all working with JK2 ISAPI and then I decided to move that installation to 5.0.18 today and it's all gone pear shaped and no idea why OK specifics... The Error in the IIS Access Logs 2004-02-12 15:58:47 150.150.153.86 - 150.150.100.247 80 GET /jakarta/isapi_redirector2.dll - 500 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.0) This is a good start ... I can see an error 500. IIS is running quite happily and tested. Move on to ISAPI setup in IIS IIS ISAPI Setup === The ISAPI dll is setup and called Tomcat to point to the isapi_redirector2.dll in my Tomcat 5.0.18/win32/bin folder. There is a green up arrow indicating it is ok. Also have setup a virtual dir to the same directory which allows execute of scripts and ISAPI filters. Fine. So nothing appears wrong at my IIS side of things. Move to Tomcat. Tomcat == workers2.properties in D:\Tomcat 5.0.18\conf specifies the following; [shm:] info=Shared memory file. Required for multiprocess servers file=D:\Tomcat 5.0.18\work\jk2.shm size=100 [channel.socket:localhost:8009] info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol tomcatId=localhost:8009 [uri:/*.do] info=iQ2 context=/ [uri:/*.jsp] info=iQ2 context=/ All OK .. same as before except for the file=D:\Tomcat 5.0.18\work\jk2.shm line which used to be file=D:\Tomcat 5.0.16\work\jk2.shm I make sure in server.xml that an AJP port is open on 8009 and restart Tomcat. I note that 8009 is opened on init. I also note however that the SHM file as specified in the workers2.props does not exist under Tomcat 5.0.18\work whereas in my other working version it was. Not sure if that is a red herring?? So, now I make sure my registry is ok Registry SOFTWARE Apache Software Foundation Jakarta Isapi Redirector 2.0 extensionUri = /jakarta/isapi_redirector2.dll logLevel = debug serverRoot = D:\Tomcat 5.0.18 workersFile = serverRoot = D:\Tomcat 5.0.18\conf\workers2.properties Finally === Everything looks good to me. Bring Tomcat down and then IIS. Start Tomcat, test that it is ok by going direct to HTTP port 8080. Then start IIS. And back to Error 500. The browser hangs indefinately but the IIS log shows the error I posted at the top. Run out of ideas on this!? Anyone? I restart IIS with Tomcat up for good measure. FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Error 500 from ISAPI_REDIRECTOR2.DLL
There is nothing in the jk2.properties file. However, your suggestion to change the SHM value has done the trick!!? If it works .. :) Thanks! -Original Message- From: Bill Haake [mailto:[EMAIL PROTECTED] Sent: 12 February 2004 16:27 To: Tomcat Users List Subject: RE: Error 500 from ISAPI_REDIRECTOR2.DLL Allistair- How about your jk2.properties file? You have a matching shm in there? I also recall seeing something funny recently about a size of 100 not working, but 1048576 does. Bill -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Thursday, February 12, 2004 11:08 AM To: TOMCAT USER (E-mail) Subject: Error 500 from ISAPI_REDIRECTOR2.DLL Hi Guys I had my IIS 5 to TC 5.0.16 all working with JK2 ISAPI and then I decided to move that installation to 5.0.18 today and it's all gone pear shaped and no idea why OK specifics... The Error in the IIS Access Logs 2004-02-12 15:58:47 150.150.153.86 - 150.150.100.247 80 GET /jakarta/isapi_redirector2.dll - 500 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.0) This is a good start ... I can see an error 500. IIS is running quite happily and tested. Move on to ISAPI setup in IIS IIS ISAPI Setup === The ISAPI dll is setup and called Tomcat to point to the isapi_redirector2.dll in my Tomcat 5.0.18/win32/bin folder. There is a green up arrow indicating it is ok. Also have setup a virtual dir to the same directory which allows execute of scripts and ISAPI filters. Fine. So nothing appears wrong at my IIS side of things. Move to Tomcat. Tomcat == workers2.properties in D:\Tomcat 5.0.18\conf specifies the following; [shm:] info=Shared memory file. Required for multiprocess servers file=D:\Tomcat 5.0.18\work\jk2.shm size=100 [channel.socket:localhost:8009] info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol tomcatId=localhost:8009 [uri:/*.do] info=iQ2 context=/ [uri:/*.jsp] info=iQ2 context=/ All OK .. same as before except for the file=D:\Tomcat 5.0.18\work\jk2.shm line which used to be file=D:\Tomcat 5.0.16\work\jk2.shm I make sure in server.xml that an AJP port is open on 8009 and restart Tomcat. I note that 8009 is opened on init. I also note however that the SHM file as specified in the workers2.props does not exist under Tomcat 5.0.18\work whereas in my other working version it was. Not sure if that is a red herring?? So, now I make sure my registry is ok Registry SOFTWARE Apache Software Foundation Jakarta Isapi Redirector 2.0 extensionUri = /jakarta/isapi_redirector2.dll logLevel = debug serverRoot = D:\Tomcat 5.0.18 workersFile = serverRoot = D:\Tomcat 5.0.18\conf\workers2.properties Finally === Everything looks good to me. Bring Tomcat down and then IIS. Start Tomcat, test that it is ok by going direct to HTTP port 8080. Then start IIS. And back to Error 500. The browser hangs indefinately but the IIS log shows the error I posted at the top. Run out of ideas on this!? Anyone? I restart IIS with Tomcat up for good measure. FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Internal Server Error 500
Asif, I have apache running on linux with tomcat on NT. Servlets work fine but when I try to load a JSP from the examples It give Internal Server Error 500 Context not configured. Is it an Apache error message or a Tomcat error message? What do you get in your Apache (or Tomcat) log file when this happens? Linux 9.0 Right. Which one :) It's very possible that the port over which Apache is trying to communicate with Tomcat is blocked by firewalls on either machine, or on an intermediate network link (like a router or h/w firewall). You should look into that, too. -chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Internal Server Error 500
Hi, I have apache running on linux with tomcat on NT. Servlets work fine but when I try to load a JSP from the examples It give Internal Server Error 500 Context not configured. Linux 9.0 Apache 2.0 Tomcat 4.1.27 Any help is appreciated. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Internal Server Error 500
Is your JAVA_HOME evironment variable set? Have you installed a full j2sdk or are you running with just a JRE? On Friday 28 November 2003 08:28 am, you wrote: Hi, I have apache running on linux with tomcat on NT. Servlets work fine but when I try to load a JSP from the examples It give Internal Server Error 500 Context not configured. Linux 9.0 Apache 2.0 Tomcat 4.1.27 Any help is appreciated. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Sometimes HTTP ERROR: 500 General error, Why?
Howdy, Not enough information for us to help ;) What errors are in your logs? If the HTTP error page you get from tomcat or IIS? Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2003 4:25 PM To: Tomcat Users List Subject: Sometimes HTTP ERROR: 500 General error, Why? Hi, sometimes I get the following error: HTTP ERROR: 500 General error RequestURI=/pmhelp/frameinhalt.jsp after pressing the reload-button of the browser it works without an error. What may be the Problem? My Configuration is: Tomcat 4.1.27 - IIS 5 - isapi_redirector2 -- Gratis: Nokia Handy (bei Abschluss eines 24 Monats Vertrages) + d-Box 1 + PREMIERE START ! Hier bestellen http://www.freenet.de/tipp/shopping/handy_aktion/index.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Sometimes HTTP ERROR: 500 General error, Why?
Hi, sometimes I get the following error: HTTP ERROR: 500 General error RequestURI=/pmhelp/frameinhalt.jsp after pressing the reload-button of the browser it works without an error. What may be the Problem? My Configuration is: Tomcat 4.1.27 - IIS 5 - isapi_redirector2 -- Gratis: Nokia Handy (bei Abschluss eines 24 Monats Vertrages) + d-Box 1 + PREMIERE START ! Hier bestellen http://www.freenet.de/tipp/shopping/handy_aktion/index.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Random, either Error 500: The system cannot find the file specif ied or images missing - Win2k : Tomcat 4.1.24 : IIS 5 : JDK 1.41
Environment: Win 2k Server IIS 5.0 - proxy using isapi_redirector2.dll - Tomcat 4.1.24 JDK 1.4.1 Note: This is an internal application and is not accessed through a proxy server or firewall. The uri I have specified in the workers2.properties file is [uri:/myapp/*] The Problem: Five percent of the time, users experience missing pages,images, css or js files. When the page is not displayed, users see a Page cannot be displayed IE error. (With friendly error messages turned off, the actual error seems to be The system cannot find the file specified) Looking through the log files, I see that the dll is returning a 500 error to the user. When looking through the tomcat logs, I see no such thing. Could this be an ISAPI plugin problem? Any suggestions on where to begin debugging this problem? If the users go directly to tomcat (running on port 8080) these problems disappear. There are some known problems with IIS and isapi pluggins, but I cant tell if this is related. Anyone else experience Any help would be appreciated. Regards, Joshua This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return email and delete this communication and destroy all copies. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Very strange behavior, please, HELP (GenericServlet problem, error 500)
- did you do the Servlet mapping in web.xml? - Editing CLASSPATH in Tomcat's script only makes things worse. Classloader is smart enough to load all the necessay jars. - my CLASSPATH only contains tools.jar and .; - my PATH only contains $JAVA_HOME and %ANT_HOME/bin -Original Message- From: Pavel Senko [mailto:[EMAIL PROTECTED] Sent: June 5, 2003 3:36 PM To: [EMAIL PROTECTED] Subject: Very strange behavior, please, HELP (GenericServlet problem, error 500) Hi All, I've got Tomcat 4.1.18 + Apache 1.39 (Solaris, Sparc); Tomcat itself works OK (shows examples, docs and all stuff). When I try to execute one servlet, it gives me error 500 (see error text below). I've put into CLASSPATH everything *.jar (then restarted Tomcat and Apache), copied all the jars into tomcat/common/lib but the errors still apprears. I've also edited catalina.sh and hardcoded CLASSPATH there just to be sure Tomcat wouldn't miss it for some mistique reason. Still no progress. Here is CLASSPATH: /usr/java1.2/jre/lib/exactvm.jar:/usr/java1.2/jre/lib/rt.jar:/usr/java1.2/li b/dt.jar:/usr/java1.2/jre/lib/ext/javax/servlet:/usr/java1.2/jre/lib/ext:/us r/java1.2/lib/tools.jar:/usr/java1.2/lib/dt.jar:/usr/java1.2/src.jar:/metric s/tomcat/common/lib/naming-resources.jar:/metrics/tomcat/common/lib/naming-f actory.jar:/metrics/tomcat/common/lib/naming-common.jar:/metrics/tomcat/comm on/lib/mail.jar:/metrics/tomcat/common/lib/jta.jar:/metrics/tomcat/common/li b/jndi.jar:/metrics/tomcat/common/lib/jdbc2_0-stdext.jar:/metrics/tomcat/com mon/lib/jasper-runtime.jar:/metrics/tomcat/common/lib/jasper-compiler.jar:/m etrics/tomcat/common/lib/commons-pool.jar:/metrics/tomcat/common/lib/commons -logging-api.jar:/metrics/tomcat/common/lib/commons-dbcp.jar:/metrics/tomcat /common/lib/commons-collections.jar:/metrics/tomcat/common/lib/ant.jar:/metr ics/tomcat/common/lib/activation.jar:/metrics/tomcat/common/lib/chart.ext.ja r:/metrics/tomcat/common/lib/chart.jar:/usr/java:.:/metrics/tomcat/common/li b/servlet.jar:/metrics/tomcat/common/lib:/metrics/tomcat/common/lib/chartSer ver.jar I've seen the similar errors topics where the advice include tools.jar into CLASSPATH seems to be working. I'm kind of new in Servlets, so I don't really know what to dig. Any advice will be appreciated. Thanks, Pavel. here it is, the error: HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Cannot allocate servlet instance for path /servlet/com.objectplanet.chart.ChartServlet at java.lang.Throwable.fillInStackTrace(Native Method) at java.lang.Throwable.fillInStackTrace(Compiled Code) at java.lang.Throwable.(Compiled Code) at java.lang.Exception.(Compiled Code) at javax.servlet.ServletException.(ServletException.java:132) at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java :435) at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(Compiled Code) at org.apache.catalina.core.StandardContext.invoke(Compiled Code) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995
RE: Very strange behavior, please, HELP (GenericServlet problem, error 500)
Howdy, I'm so tired of typing this explanation ;( Your error is not a ClassNotFoundException. It's a NoClassDefFoundError. They are different. It happens because you have multiple copies of servlet.jar in your classpath. One of this copies, likely the one /usr/java1.2, is old. Your manipulations of the classpath are wrong and have just worsened your situation. Wipe out your tomcat installation. Do a clean one. Don't modify the CLASSPATH in your environment. Don't modify the CLASSPATH in catalina.sh. Don't add anything to common/lib. Just put the jars you need in your webapp's WEB-INF/lib directory. Make sure to NOT put servlet.jar there. You must only have one servlet.jar, the one that comes with tomcat, throughout your entire tomcat installation. Yoav Shapira Millennium ChemInformatics -Original Message- From: Pavel Senko [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 3:36 PM To: [EMAIL PROTECTED] Subject: Very strange behavior, please, HELP (GenericServlet problem, error 500) Hi All, I've got Tomcat 4.1.18 + Apache 1.39 (Solaris, Sparc); Tomcat itself works OK (shows examples, docs and all stuff). When I try to execute one servlet, it gives me error 500 (see error text below). I've put into CLASSPATH everything *.jar (then restarted Tomcat and Apache), copied all the jars into tomcat/common/lib but the errors still apprears. I've also edited catalina.sh and hardcoded CLASSPATH there just to be sure Tomcat wouldn't miss it for some mistique reason. Still no progress. Here is CLASSPATH: /usr/java1.2/jre/lib/exactvm.jar:/usr/java1.2/jre/lib/rt.jar:/usr/java1 .2/l ib/dt.jar:/usr/java1.2/jre/lib/ext/javax/servlet:/usr/java1.2/jre/lib/e xt:/ usr/java1.2/lib/tools.jar:/usr/java1.2/lib/dt.jar:/usr/java1.2/src.jar: /met rics/tomcat/common/lib/naming- resources.jar:/metrics/tomcat/common/lib/naming- factory.jar:/metrics/tomcat/common/lib/naming- common.jar:/metrics/tomcat/common/lib/mail.jar:/metrics/tomcat/common/l ib/j ta.jar:/metrics/tomcat/common/lib/jndi.jar:/metrics/tomcat/common/lib/j dbc2 _0-stdext.jar:/metrics/tomcat/common/lib/jasper- runtime.jar:/metrics/tomcat/common/lib/jasper- compiler.jar:/metrics/tomcat/common/lib/commons- pool.jar:/metrics/tomcat/common/lib/commons-logging- api.jar:/metrics/tomcat/common/lib/commons- dbcp.jar:/metrics/tomcat/common/lib/commons- collections.jar:/metrics/tomcat/common/lib/ant.jar:/metrics/tomcat/comm on/l ib/activation.jar:/metrics/tomcat/common/lib/chart.ext.jar:/metrics/tom cat/ common/lib/chart.jar:/usr/java:.:/metrics/tomcat/common/lib/servlet.jar :/me trics/tomcat/common/lib:/metrics/tomcat/common/lib/chartServer.jar I've seen the similar errors topics where the advice include tools.jar into CLASSPATH seems to be working. I'm kind of new in Servlets, so I don't really know what to dig. Any advice will be appreciated. Thanks, Pavel. here it is, the error: HTTP Status 500 - --- - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Cannot allocate servlet instance for path /servlet/com.objectplanet.chart.ChartServlet at java.lang.Throwable.fillInStackTrace(Native Method) at java.lang.Throwable.fillInStackTrace(Compiled Code) at java.lang.Throwable.(Compiled Code) at java.lang.Exception.(Compiled Code) at javax.servlet.ServletException.(ServletException.java:132) at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet .jav a:435) at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:1 80) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic atio nFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil terC hain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal ve.j ava:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. invo keNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal ve.j ava:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. invo keNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 480) at org.apache.catalina.core.ContainerBase.invoke(Compiled Code) at org.apache.catalina.core.StandardContext.invoke(Compiled Code) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav a:18 0) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. invo keNext(StandardPipeline.java:643
Re: Error 500 - Can't find my classes in WEB-INF/classes
Yea! I put my classes inside of a package within WEB-INF/classes Problem solved. Thanks, -- *** * Rick Roberts* * Advanced Information Technologies, Inc. * *** Tim Funk wrote: See Don't use packageless classes and declare all imported classes! http://tomcatfaq.sourceforge.net/classnotfound.html -Tim Rick Roberts wrote: I have some beans and support classes in WEB-INF/classes. Tomcat 3.2 found them OK. I just got Tomcat 4.1 running but having trouble getting my JSP pages to find my beans / servlets in WEB-INF/classes. In this case, ConnectionBean.class is in WEB-INF/classes/ but I don't know how to tell Tomcat to find it there. --- org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 2 in the jsp file: /viewResult.jsp Generated servlet error: [javac] Compiling 1 source file [javac] /var/tomcat4/work/Standalone/localhost/sqledit/viewResult_jsp.java:47: cannot resolve symbol [javac] symbol : class ConnectionBean [javac] location: class org.apache.jsp.viewResult_jsp [javac] ConnectionBean conn = null; [javac] ^ - What am I missing? Thanks, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module
Hi, I haven't seen this error before, do you have a connector set to receive the request in tomcat/conf/server.xml ? It must be open on port 8009, what hapenes if you do : C:\ telnet localhost 8009 It's seems to me that the workers, and IIS filter is working correctly at least according to the log file, but there may be nothing configured to receive the request in tomcat. Or maybe even tomcat Is not running at all ? hope it helps -reynir -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: 29. maí 2003 11:48 To: TOMCAT USER (E-mail) Subject: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module Hi, I have been charged with getting IIS 5 talking to Tomcat 4.1.24 I have completed all the instructions and have the isapi filter running and spitting out its log information to a log file in tomcat and so on, so I know that JSP requests are getting into the isapi filter OK. However, when I request my test jsp http://intranet/taglibs/index.jsp I get the error... The specified module could not be found. Looking in the IIS log I see an error 500 code for this response 2003-05-29 11:27:35 150.150.100.247 - 150.150.100.247 80 GET /tomcat/isapi_redirector.dll - 500 Mozilla/4.0+(compatible;+MSIE+5.5;+Windows+NT+5.0) And in the isapi log the request gives [Thu May 29 12:27:35 2003] [jk_isapi_plugin.c (696)]: HttpFilterProc started [Thu May 29 12:27:35 2003] [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host redirection of /intranet/taglibs/index.jsp [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/intranet/taglibs/index.jsp' [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Thu May 29 12:27:35 2003] [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default redirection of /taglibs/index.jsp [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/taglibs/index.jsp' [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (502)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match testWorker - /taglibs/ [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (558)]: jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match testWorker - *.jsp [Thu May 29 12:27:35 2003] [jk_isapi_plugin.c (775)]: HttpFilterProc [/taglibs/index.jsp] is a servlet url - should redirect to testWorker [Thu May 29 12:27:35 2003] [jk_isapi_plugin.c (838)]: HttpFilterProc check if [/taglibs/index.jsp] is points to the web-inf directory My workers.properties file is worker.list=testWorker worker.testWorker.port=8009 worker.testWorker.host=localhost worker.testWorker.type=ajp13 My uriworkermap.properties is /taglibs/*=testWorker /taglibs/*.jsp=testWorker /taglibs/servlet/*=testWorker FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module
My server.xml contains !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/ !-- Define an AJP 1.3 Connector on port 8009 -- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ when I request http://localhost:8080/taglibs/index.jsp it works, so Tomcat is running. Telnet to 8009 gives me a blank screen. -Original Message- From: Reynir Hübner [mailto:[EMAIL PROTECTED] Sent: 29 May 2003 14:29 To: Tomcat Users List Subject: RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module Hi, I haven't seen this error before, do you have a connector set to receive the request in tomcat/conf/server.xml ? It must be open on port 8009, what hapenes if you do : C:\ telnet localhost 8009 It's seems to me that the workers, and IIS filter is working correctly at least according to the log file, but there may be nothing configured to receive the request in tomcat. Or maybe even tomcat Is not running at all ? hope it helps -reynir -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: 29. maí 2003 11:48 To: TOMCAT USER (E-mail) Subject: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module Hi, I have been charged with getting IIS 5 talking to Tomcat 4.1.24 I have completed all the instructions and have the isapi filter running and spitting out its log information to a log file in tomcat and so on, so I know that JSP requests are getting into the isapi filter OK. However, when I request my test jsp http://intranet/taglibs/index.jsp I get the error... The specified module could not be found. Looking in the IIS log I see an error 500 code for this response 2003-05-29 11:27:35 150.150.100.247 - 150.150.100.247 80 GET /tomcat/isapi_redirector.dll - 500 Mozilla/4.0+(compatible;+MSIE+5.5;+Windows+NT+5.0) And in the isapi log the request gives [Thu May 29 12:27:35 2003] [jk_isapi_plugin.c (696)]: HttpFilterProc started [Thu May 29 12:27:35 2003] [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host redirection of /intranet/taglibs/index.jsp [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/intranet/taglibs/index.jsp' [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Thu May 29 12:27:35 2003] [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default redirection of /taglibs/index.jsp [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/taglibs/index.jsp' [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (502)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match testWorker - /taglibs/ [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (558)]: jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match testWorker - *.jsp [Thu May 29 12:27:35 2003] [jk_isapi_plugin.c (775)]: HttpFilterProc [/taglibs/index.jsp] is a servlet url - should redirect to testWorker [Thu May 29 12:27:35 2003] [jk_isapi_plugin.c (838)]: HttpFilterProc check if [/taglibs/index.jsp] is points to the web-inf directory My workers.properties file is worker.list=testWorker worker.testWorker.port=8009 worker.testWorker.host=localhost worker.testWorker.type=ajp13 My uriworkermap.properties is /taglibs/*=testWorker /taglibs/*.jsp=testWorker /taglibs/servlet/*=testWorker FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module
Ok, according to this you've got 2 connectors on port 8009 ? That's one to many ... -reynir -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: 29. maí 2003 13:38 To: Tomcat Users List Subject: RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module My server.xml contains !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/ !-- Define an AJP 1.3 Connector on port 8009 -- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ when I request http://localhost:8080/taglibs/index.jsp it works, so Tomcat is running. Telnet to 8009 gives me a blank screen. -Original Message- From: Reynir Hübner [mailto:[EMAIL PROTECTED] Sent: 29 May 2003 14:29 To: Tomcat Users List Subject: RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module Hi, I haven't seen this error before, do you have a connector set to receive the request in tomcat/conf/server.xml ? It must be open on port 8009, what hapenes if you do : C:\ telnet localhost 8009 It's seems to me that the workers, and IIS filter is working correctly at least according to the log file, but there may be nothing configured to receive the request in tomcat. Or maybe even tomcat Is not running at all ? hope it helps -reynir -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: 29. maí 2003 11:48 To: TOMCAT USER (E-mail) Subject: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module Hi, I have been charged with getting IIS 5 talking to Tomcat 4.1.24 I have completed all the instructions and have the isapi filter running and spitting out its log information to a log file in tomcat and so on, so I know that JSP requests are getting into the isapi filter OK. However, when I request my test jsp http://intranet/taglibs/index.jsp I get the error... The specified module could not be found. Looking in the IIS log I see an error 500 code for this response 2003-05-29 11:27:35 150.150.100.247 - 150.150.100.247 80 GET /tomcat/isapi_redirector.dll - 500 Mozilla/4.0+(compatible;+MSIE+5.5;+Windows+NT+5.0) And in the isapi log the request gives [Thu May 29 12:27:35 2003] [jk_isapi_plugin.c (696)]: HttpFilterProc started [Thu May 29 12:27:35 2003] [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host redirection of /intranet/taglibs/index.jsp [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/intranet/taglibs/index.jsp' [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Thu May 29 12:27:35 2003] [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default redirection of /taglibs/index.jsp [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/taglibs/index.jsp' [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (502)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match testWorker - /taglibs/ [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (558)]: jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match testWorker - *.jsp [Thu May 29 12:27:35 2003] [jk_isapi_plugin.c (775)]: HttpFilterProc [/taglibs/index.jsp] is a servlet url - should redirect to testWorker [Thu May 29 12:27:35 2003] [jk_isapi_plugin.c (838)]: HttpFilterProc check if [/taglibs/index.jsp] is points to the web-inf directory My workers.properties file is worker.list=testWorker worker.testWorker.port=8009 worker.testWorker.host=localhost worker.testWorker.type=ajp13 My uriworkermap.properties is /taglibs/*=testWorker /taglibs/*.jsp=testWorker /taglibs/servlet/*=testWorker FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e
RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module
I commented out each in turn and it does not matter which I use the error still happens :( It's ridiculous because I have followed every single set of instructions to the very letter and it does not work. Someone out there must know what The specified module could not be found. which is what I get in Internet Explorer when I request my JSP through IIS. The IIS logs still show Error 500 for the ISAPI dll. -Original Message- From: Reynir Hübner [mailto:[EMAIL PROTECTED] Sent: 29 May 2003 15:02 To: Tomcat Users List Subject: RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module Ok, according to this you've got 2 connectors on port 8009 ? That's one to many ... -reynir -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: 29. maí 2003 13:38 To: Tomcat Users List Subject: RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module My server.xml contains !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/ !-- Define an AJP 1.3 Connector on port 8009 -- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ when I request http://localhost:8080/taglibs/index.jsp it works, so Tomcat is running. Telnet to 8009 gives me a blank screen. -Original Message- From: Reynir Hübner [mailto:[EMAIL PROTECTED] Sent: 29 May 2003 14:29 To: Tomcat Users List Subject: RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module Hi, I haven't seen this error before, do you have a connector set to receive the request in tomcat/conf/server.xml ? It must be open on port 8009, what hapenes if you do : C:\ telnet localhost 8009 It's seems to me that the workers, and IIS filter is working correctly at least according to the log file, but there may be nothing configured to receive the request in tomcat. Or maybe even tomcat Is not running at all ? hope it helps -reynir -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: 29. maí 2003 11:48 To: TOMCAT USER (E-mail) Subject: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module Hi, I have been charged with getting IIS 5 talking to Tomcat 4.1.24 I have completed all the instructions and have the isapi filter running and spitting out its log information to a log file in tomcat and so on, so I know that JSP requests are getting into the isapi filter OK. However, when I request my test jsp http://intranet/taglibs/index.jsp I get the error... The specified module could not be found. Looking in the IIS log I see an error 500 code for this response 2003-05-29 11:27:35 150.150.100.247 - 150.150.100.247 80 GET /tomcat/isapi_redirector.dll - 500 Mozilla/4.0+(compatible;+MSIE+5.5;+Windows+NT+5.0) And in the isapi log the request gives [Thu May 29 12:27:35 2003] [jk_isapi_plugin.c (696)]: HttpFilterProc started [Thu May 29 12:27:35 2003] [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host redirection of /intranet/taglibs/index.jsp [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/intranet/taglibs/index.jsp' [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Thu May 29 12:27:35 2003] [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default redirection of /taglibs/index.jsp [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/taglibs/index.jsp' [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (502)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match testWorker - /taglibs/ [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (558)]: jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match testWorker - *.jsp [Thu May 29 12:27:35 2003] [jk_isapi_plugin.c (775)]: HttpFilterProc [/taglibs/index.jsp] is a servlet url - should redirect to testWorker [Thu May 29 12:27:35 2003] [jk_isapi_plugin.c (838)]: HttpFilterProc check if [/taglibs/index.jsp] is points to the web-inf directory My workers.properties file is worker.list=testWorker worker.testWorker.port=8009 worker.testWorker.host=localhost worker.testWorker.type=ajp13 My
RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module
Hi, I am not sure if that's what's happening here... I've had problems with IIS it self, sometimes it's enough to restart IIS, and sometimes I need to restart the hardware. One thing that comes to mind... Did you create the /jakarta virtual directory under IIS and have it pointing to the dll ?? F.Y.I. I've made 2 how-too-pages on the IIS jk and jk2 installation most simple installation possible. You might want to try out the other (jk2). Check out http://www.reynir.net/tomcat/tomcat_IIS_service.html for JK or http://www.reynir.net/tomcat/tomcat_IIS_service_jk2.html for JK2 installation instructions, that work. Hope it helps -reynir -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: 29. maí 2003 14:13 To: Tomcat Users List Subject: RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module I commented out each in turn and it does not matter which I use the error still happens :( It's ridiculous because I have followed every single set of instructions to the very letter and it does not work. Someone out there must know what The specified module could not be found. which is what I get in Internet Explorer when I request my JSP through IIS. The IIS logs still show Error 500 for the ISAPI dll. -Original Message- From: Reynir Hübner [mailto:[EMAIL PROTECTED] Sent: 29 May 2003 15:02 To: Tomcat Users List Subject: RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module Ok, according to this you've got 2 connectors on port 8009 ? That's one to many ... -reynir -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: 29. maí 2003 13:38 To: Tomcat Users List Subject: RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module My server.xml contains !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/ !-- Define an AJP 1.3 Connector on port 8009 -- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ when I request http://localhost:8080/taglibs/index.jsp it works, so Tomcat is running. Telnet to 8009 gives me a blank screen. -Original Message- From: Reynir Hübner [mailto:[EMAIL PROTECTED] Sent: 29 May 2003 14:29 To: Tomcat Users List Subject: RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module Hi, I haven't seen this error before, do you have a connector set to receive the request in tomcat/conf/server.xml ? It must be open on port 8009, what hapenes if you do : C:\ telnet localhost 8009 It's seems to me that the workers, and IIS filter is working correctly at least according to the log file, but there may be nothing configured to receive the request in tomcat. Or maybe even tomcat Is not running at all ? hope it helps -reynir -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: 29. maí 2003 11:48 To: TOMCAT USER (E-mail) Subject: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module Hi, I have been charged with getting IIS 5 talking to Tomcat 4.1.24 I have completed all the instructions and have the isapi filter running and spitting out its log information to a log file in tomcat and so on, so I know that JSP requests are getting into the isapi filter OK. However, when I request my test jsp http://intranet/taglibs/index.jsp I get the error... The specified module could not be found. Looking in the IIS log I see an error 500 code for this response 2003-05-29 11:27:35 150.150.100.247 - 150.150.100.247 80 GET /tomcat/isapi_redirector.dll - 500 Mozilla/4.0+(compatible;+MSIE+5.5;+Windows+NT+5.0) And in the isapi log the request gives [Thu May 29 12:27:35 2003] [jk_isapi_plugin.c (696)]: HttpFilterProc started [Thu May 29 12:27:35 2003] [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host redirection of /intranet/taglibs/index.jsp [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/intranet/taglibs/index.jsp' [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Thu May 29 12:27:35 2003] [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default
RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module
hi, yes I do have a jakarta virtual directory under default web which points to the isapi dll. I have just tried jk2 but the isapi dll does not start under IIS (i.e it is a red arrow). Only the other isapi module (that still does not work) turns green. I will look at your explanations. -Original Message- From: Reynir Hübner [mailto:[EMAIL PROTECTED] Sent: 29 May 2003 15:15 To: Tomcat Users List Subject: RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module Hi, I am not sure if that's what's happening here... I've had problems with IIS it self, sometimes it's enough to restart IIS, and sometimes I need to restart the hardware. One thing that comes to mind... Did you create the /jakarta virtual directory under IIS and have it pointing to the dll ?? F.Y.I. I've made 2 how-too-pages on the IIS jk and jk2 installation most simple installation possible. You might want to try out the other (jk2). Check out http://www.reynir.net/tomcat/tomcat_IIS_service.html for JK or http://www.reynir.net/tomcat/tomcat_IIS_service_jk2.html for JK2 installation instructions, that work. Hope it helps -reynir -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: 29. maí 2003 14:13 To: Tomcat Users List Subject: RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module I commented out each in turn and it does not matter which I use the error still happens :( It's ridiculous because I have followed every single set of instructions to the very letter and it does not work. Someone out there must know what The specified module could not be found. which is what I get in Internet Explorer when I request my JSP through IIS. The IIS logs still show Error 500 for the ISAPI dll. -Original Message- From: Reynir Hübner [mailto:[EMAIL PROTECTED] Sent: 29 May 2003 15:02 To: Tomcat Users List Subject: RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module Ok, according to this you've got 2 connectors on port 8009 ? That's one to many ... -reynir -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: 29. maí 2003 13:38 To: Tomcat Users List Subject: RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module My server.xml contains !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/ !-- Define an AJP 1.3 Connector on port 8009 -- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ when I request http://localhost:8080/taglibs/index.jsp it works, so Tomcat is running. Telnet to 8009 gives me a blank screen. -Original Message- From: Reynir Hübner [mailto:[EMAIL PROTECTED] Sent: 29 May 2003 14:29 To: Tomcat Users List Subject: RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module Hi, I haven't seen this error before, do you have a connector set to receive the request in tomcat/conf/server.xml ? It must be open on port 8009, what hapenes if you do : C:\ telnet localhost 8009 It's seems to me that the workers, and IIS filter is working correctly at least according to the log file, but there may be nothing configured to receive the request in tomcat. Or maybe even tomcat Is not running at all ? hope it helps -reynir -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: 29. maí 2003 11:48 To: TOMCAT USER (E-mail) Subject: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module Hi, I have been charged with getting IIS 5 talking to Tomcat 4.1.24 I have completed all the instructions and have the isapi filter running and spitting out its log information to a log file in tomcat and so on, so I know that JSP requests are getting into the isapi filter OK. However, when I request my test jsp http://intranet/taglibs/index.jsp I get the error... The specified module could not be found. Looking in the IIS log I see an error 500 code for this response 2003-05-29 11:27:35 150.150.100.247 - 150.150.100.247 80 GET /tomcat/isapi_redirector.dll - 500 Mozilla/4.0+(compatible;+MSIE+5.5;+Windows+NT+5.0) And in the isapi log the request gives [Thu May 29 12:27:35 2003] [jk_isapi_plugin.c (696)]: HttpFilterProc started [Thu May 29 12:27:35 2003] [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host
SOLVED RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module
OK, I have solved this with Reynir's JK2 isapi tutorial. JK1 was not having any of it. To get the Tomcat examples working I created workers2.properties a la [shm] file=c:\Program Files\Apache Group\Tomcat 4.1\logs\jk2.log size=1048576 # Example socket channel, override port and host. [channel.socket:intranet:8009] port=8009 host=127.0.0.1 # define the worker [ajp13:intranet:8009] channel=channel.socket:intranet:8009 # Uri mapping [uri:/examples/*.jsp] [uri:/examples/*] worker=ajp13:intranet:8009 # define the worker [status:status] # Uri mapping [uri:/jkstatus/*] worker=status:status Added the reg entries for 2.0 and created the Virtual directory and ISAPI filter to point to the isapi_redirector2.dll Seems much healthier! -Original Message- From: Reynir Hübner [mailto:[EMAIL PROTECTED] Sent: 29 May 2003 15:15 To: Tomcat Users List Subject: RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module Hi, I am not sure if that's what's happening here... I've had problems with IIS it self, sometimes it's enough to restart IIS, and sometimes I need to restart the hardware. One thing that comes to mind... Did you create the /jakarta virtual directory under IIS and have it pointing to the dll ?? F.Y.I. I've made 2 how-too-pages on the IIS jk and jk2 installation most simple installation possible. You might want to try out the other (jk2). Check out http://www.reynir.net/tomcat/tomcat_IIS_service.html for JK or http://www.reynir.net/tomcat/tomcat_IIS_service_jk2.html for JK2 installation instructions, that work. Hope it helps -reynir -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: 29. maí 2003 14:13 To: Tomcat Users List Subject: RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module I commented out each in turn and it does not matter which I use the error still happens :( It's ridiculous because I have followed every single set of instructions to the very letter and it does not work. Someone out there must know what The specified module could not be found. which is what I get in Internet Explorer when I request my JSP through IIS. The IIS logs still show Error 500 for the ISAPI dll. -Original Message- From: Reynir Hübner [mailto:[EMAIL PROTECTED] Sent: 29 May 2003 15:02 To: Tomcat Users List Subject: RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module Ok, according to this you've got 2 connectors on port 8009 ? That's one to many ... -reynir -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: 29. maí 2003 13:38 To: Tomcat Users List Subject: RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module My server.xml contains !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/ !-- Define an AJP 1.3 Connector on port 8009 -- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ when I request http://localhost:8080/taglibs/index.jsp it works, so Tomcat is running. Telnet to 8009 gives me a blank screen. -Original Message- From: Reynir Hübner [mailto:[EMAIL PROTECTED] Sent: 29 May 2003 14:29 To: Tomcat Users List Subject: RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module Hi, I haven't seen this error before, do you have a connector set to receive the request in tomcat/conf/server.xml ? It must be open on port 8009, what hapenes if you do : C:\ telnet localhost 8009 It's seems to me that the workers, and IIS filter is working correctly at least according to the log file, but there may be nothing configured to receive the request in tomcat. Or maybe even tomcat Is not running at all ? hope it helps -reynir -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: 29. maí 2003 11:48 To: TOMCAT USER (E-mail) Subject: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module Hi, I have been charged with getting IIS 5 talking to Tomcat 4.1.24 I have completed all the instructions and have the isapi filter running and spitting out its log information to a log file in tomcat and so on, so I know that JSP requests are getting into the isapi filter OK. However, when I request my test jsp http://intranet/taglibs/index.jsp I get the error... The specified module could not be found. Looking
Error 500 - Can't find my classes in WEB-INF/classes
I have some beans and support classes in WEB-INF/classes. Tomcat 3.2 found them OK. I just got Tomcat 4.1 running but having trouble getting my JSP pages to find my beans / servlets in WEB-INF/classes. In this case, ConnectionBean.class is in WEB-INF/classes/ but I don't know how to tell Tomcat to find it there. --- org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 2 in the jsp file: /viewResult.jsp Generated servlet error: [javac] Compiling 1 source file [javac] /var/tomcat4/work/Standalone/localhost/sqledit/viewResult_jsp.java:47: cannot resolve symbol [javac] symbol : class ConnectionBean [javac] location: class org.apache.jsp.viewResult_jsp [javac] ConnectionBean conn = null; [javac] ^ - What am I missing? Thanks, -- *** * Rick Roberts* * Advanced Information Technologies, Inc. * *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Error 500 - Can't find my classes in WEB-INF/classes
See Don't use packageless classes and declare all imported classes! http://tomcatfaq.sourceforge.net/classnotfound.html -Tim Rick Roberts wrote: I have some beans and support classes in WEB-INF/classes. Tomcat 3.2 found them OK. I just got Tomcat 4.1 running but having trouble getting my JSP pages to find my beans / servlets in WEB-INF/classes. In this case, ConnectionBean.class is in WEB-INF/classes/ but I don't know how to tell Tomcat to find it there. --- org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 2 in the jsp file: /viewResult.jsp Generated servlet error: [javac] Compiling 1 source file [javac] /var/tomcat4/work/Standalone/localhost/sqledit/viewResult_jsp.java:47: cannot resolve symbol [javac] symbol : class ConnectionBean [javac] location: class org.apache.jsp.viewResult_jsp [javac] ConnectionBean conn = null; [javac] ^ - What am I missing? Thanks, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module
Title: RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module Did you build the ispai redirector yourself? The isapi_redirector2.dll I built it has dependencies on libapr. The missing libapr.dll is what caused the specified module could not be found error. Putting the two DLLs in the same directory is sufficient. The isapi_redirector2.dll I downloaded from (I can't remember) seems to have libapr statically linked, because libapr.dll is not required for it. The JK[2] documentation is extremely fragile. PJDM -- Peter Mayne Technology Consultant Spherion Technology Solutions Level 1, 243 Northbourne Avenue, Lyneham, ACT, 2602 T: 61 2 62689727 F: 61 2 62689777 -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED]] Sent: Friday, 30 May 2003 12:13 AM To: Tomcat Users List Subject: RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module I commented out each in turn and it does not matter which I use the error still happens :( It's ridiculous because I have followed every single set of instructions to the very letter and it does not work. Someone out there must know what The specified module could not be found. which is what I get in Internet Explorer when I request my JSP through IIS. The IIS logs still show Error 500 for the ISAPI dll. The information contained in this email and any attachments to it: (a) may be confidential and if you are not the intended recipient, any interference with, use, disclosure or copying of this material is unauthorised and prohibited; and (b) may contain personal information of the recipient and/or the sender as defined under the Privacy Act 1988 (Cth). Consent is hereby given by the recipient(s) to collect, hold and use such information and any personal information contained in a response to this email, for any reasonable purpose in the ordinary course of Spherion's business, including forwarding this email internally or disclosing it to a third party. All personal information collected by Spherion will be handled in accordance with Spherion's Privacy Policy. If you have received this email in error, please notify the sender and delete it. (c) you agree not to employ or arrange employment for any candidate(s) supplied in this email and any attachments without first entering into a contractual agreement with Spherion. You further agree not to divulge any information contained in this document to any person(s) or entities without the express permission of Spherion. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module
Hi, I have been charged with getting IIS 5 talking to Tomcat 4.1.24 I have completed all the instructions and have the isapi filter running and spitting out its log information to a log file in tomcat and so on, so I know that JSP requests are getting into the isapi filter OK. However, when I request my test jsp http://intranet/taglibs/index.jsp I get the error... The specified module could not be found. Looking in the IIS log I see an error 500 code for this response 2003-05-29 11:27:35 150.150.100.247 - 150.150.100.247 80 GET /tomcat/isapi_redirector.dll - 500 Mozilla/4.0+(compatible;+MSIE+5.5;+Windows+NT+5.0) And in the isapi log the request gives [Thu May 29 12:27:35 2003] [jk_isapi_plugin.c (696)]: HttpFilterProc started [Thu May 29 12:27:35 2003] [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host redirection of /intranet/taglibs/index.jsp [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/intranet/taglibs/index.jsp' [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Thu May 29 12:27:35 2003] [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default redirection of /taglibs/index.jsp [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/taglibs/index.jsp' [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (502)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match testWorker - /taglibs/ [Thu May 29 12:27:35 2003] [jk_uri_worker_map.c (558)]: jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match testWorker - *.jsp [Thu May 29 12:27:35 2003] [jk_isapi_plugin.c (775)]: HttpFilterProc [/taglibs/index.jsp] is a servlet url - should redirect to testWorker [Thu May 29 12:27:35 2003] [jk_isapi_plugin.c (838)]: HttpFilterProc check if [/taglibs/index.jsp] is points to the web-inf directory My workers.properties file is worker.list=testWorker worker.testWorker.port=8009 worker.testWorker.host=localhost worker.testWorker.type=ajp13 My uriworkermap.properties is /taglibs/*=testWorker /taglibs/*.jsp=testWorker /taglibs/servlet/*=testWorker FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Error 500 - Internal servlet error - unable to compile class for jsp
Hi All, I am hoping someone might be able to explain the problem I have come across. I am new to Tomcat and have just installed Tomcat4112 on a Windows2000 machine with IIS5 and j2sdk1.4.0. I am trying to run a webapp but keep getting the above error. I am running Tomcat as an NT service so decide to stop this and start it up from the bat file. When running like this I was able to view the jsp pages without a problem, there was no longer any errors. I then shutdown Tomcat and restart the NT service and then had the ability to see the pages without the error. However any page that had not been accessed while I was running Tomcat from the startup.bat still came up with the compile error. Why do I need to view each page while running Tomcat from the startup script before they can be viewed without the unable to compile class for jsp error with the NT service? Any pointers would be me much appreciated. Regards Sarah - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Error 500, no context configured
Hi, I'm installing an apache+tomcat server. Apache work with all the regular content on port 80 and tomcat work only with secure transaction on port 443. My problem is that I receive an error 500 in my browser : no context configured to process this request. In my log file, I have MAPPING configuration error for request URI. I have searched google,tomcat mailing-list archive and the manual. Nothing help me enough to solve the problem. There is a part of my server.xml file : !-- Beginning of server.xml-- ?xml version=1.0 encoding=UTF-8? Server debug=0 port=8083 shutdown=SHUTDOWN Service name=Tomcat-Standalone Connector acceptCount=10 className=org.apache.catalina.connector.http.HttpConnector connectionTimeout=6 debug=0 maxProcessors=75 minProcessors=5 port=8080 enableLookups=true redirectPort=443/ Connector className=org.apache.catalina.connector.http.HttpConnector port=443 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0 scheme=https secure=true Factory className=org.apache.catalina.net.SSLServerSocketFactory clientAuth=false protocol=TLS/ /Connector !-- I Define an AJP 1.3 Connector on port 8009 in the futur, i will use this connector to connect apache for static html page and ssl connection (don't remove that) cherif on 22-02-2003 -- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0 enableLookups=true redirectPort=443/ Engine debug=0 defaultHost=localhost name=Standalone Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=localhost_log. suffix=.txt timestamp=true/ Valve className=org.apache.catalina.valves.AccessLogValve prefix=catalina_access_log. suffix=.txt pattern=common/ Host appBase=/usr/local/java/host debug=0 name=localhost unpackWARs=true Context debug=0 docBase=/usr/local/java/host/defaultroot path=/mot useNaming=true workDir=/usr/local/java/host/work/mot reloadable=true Environment name=maxExemptions type=java.lang.Integer value=15/ Parameter name=context.param.name value=context.param.value override=false/ Resource name=jdbc/mySQLDS auth=Container type=javax.sql.DataSource/ ResourceParams name=jdbc/mySQLDS parameternameuser/namevalue*USERNAME*/value/parameter parameternamepassword/namevalue*PASSWORD*/value/parameter parameter namedriverClassName/name !--org.gjt.mm.mysql.Driver -- valuecom.mysql.jdbc.Driver/value /parameter parameter namedriverName/name valuejdbc:mysql://localhost:3306/host/value /parameter /ResourceParams /Context /Host /Engine /Service /Server !--End of server.xml-- I noticed that if I changed the name attribute in the Host tag for the ServerName i.e. test.domain.com. I don't have any errors but no pages are loaded. I tried the server with many addresses like https://server.domain.com/ https://server.domain.com/mot/login.jsp and it is not working. The version of all softwares are the following: tomcat 4.1.18 jdk 1.4 apache 1.3.27 open_ssl 0.9.6b-28 running under redhat 7.2 Thanks for your convenience and concern -- Vincent M. [EMAIL PROTECTED] This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to which they are addressed. If you have received this email in error please notify the Plan B Strategies Network Administrator by email at [EMAIL PROTECTED] and destroy all copies of the original message. Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Error 500 when trying to run /manager app.
Hello, I am getting an error 500 ServletException Root Cause: java.lang.SecurityException: Servlet of class org.apache.catalina.servlets.ManagerServlet is privileged and cannot be loaded by this web application Is this because I am using the wrong username / password? I have gone to tomcat-users.xml and it looks like: tomcat-users user name=tomcat password=tomcat roles=tomcat / user name=administrator password=password roles=manager / user name=role1 password=tomcat roles=role1 / user name=both password=tomcat roles=tomcat,role1 / /tomcat-users I am trying to log in as the administrator user that I added. What else do I have to do? Andoni. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Error 500 when trying to run /manager app.
Add the role as well ?xml version='1.0' encoding='utf-8'? tomcat-users role rolename=tomcat/ role rolename=role1/ role rolename=manager/ role rolename=admin/ user username=tomcat password=tomcat roles=tomcat/ user username=both password=tomcat roles=tomcat,role1/ user username=role1 password=tomcat roles=role1/ user username=admin password=admin roles=admin,manager,role1,tomcat/ /tomcat-users -Original Message- From: Andoni [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 20. Februar 2003 13:15 To: Tomcat Users List Subject: Error 500 when trying to run /manager app. Hello, I am getting an error 500 ServletException Root Cause: java.lang.SecurityException: Servlet of class org.apache.catalina.servlets.ManagerServlet is privileged and cannot be loaded by this web application Is this because I am using the wrong username / password? I have gone to tomcat-users.xml and it looks like: tomcat-users user name=tomcat password=tomcat roles=tomcat / user name=administrator password=password roles=manager / user name=role1 password=tomcat roles=role1 / user name=both password=tomcat roles=tomcat,role1 / /tomcat-users I am trying to log in as the administrator user that I added. What else do I have to do? Andoni. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Error 500 when trying to run /manager app.
Where is this role tag documented? I don't see it anywhere in the docs. I have the app. appearing on the screen now and I am about to start testing it but I have not installed any role tags and there are none in the file. Are they necessary? What do they do? Andoni. - Original Message - From: Roberts, Eric [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, February 20, 2003 3:39 PM Subject: RE: Error 500 when trying to run /manager app. Add the role as well ?xml version='1.0' encoding='utf-8'? tomcat-users role rolename=tomcat/ role rolename=role1/ role rolename=manager/ role rolename=admin/ user username=tomcat password=tomcat roles=tomcat/ user username=both password=tomcat roles=tomcat,role1/ user username=role1 password=tomcat roles=role1/ user username=admin password=admin roles=admin,manager,role1,tomcat/ /tomcat-users -Original Message- From: Andoni [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 20. Februar 2003 13:15 To: Tomcat Users List Subject: Error 500 when trying to run /manager app. Hello, I am getting an error 500 ServletException Root Cause: java.lang.SecurityException: Servlet of class org.apache.catalina.servlets.ManagerServlet is privileged and cannot be loaded by this web application Is this because I am using the wrong username / password? I have gone to tomcat-users.xml and it looks like: tomcat-users user name=tomcat password=tomcat roles=tomcat / user name=administrator password=password roles=manager / user name=role1 password=tomcat roles=role1 / user name=both password=tomcat roles=tomcat,role1 / /tomcat-users I am trying to log in as the administrator user that I added. What else do I have to do? Andoni. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Error 500 when trying to run /manager app.
See MemoryRealm: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html John -Original Message- From: Andoni [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 10:57 AM To: Tomcat Users List Subject: Re: Error 500 when trying to run /manager app. Where is this role tag documented? I don't see it anywhere in the docs. I have the app. appearing on the screen now and I am about to start testing it but I have not installed any role tags and there are none in the file. Are they necessary? What do they do? Andoni. - Original Message - From: Roberts, Eric [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, February 20, 2003 3:39 PM Subject: RE: Error 500 when trying to run /manager app. Add the role as well ?xml version='1.0' encoding='utf-8'? tomcat-users role rolename=tomcat/ role rolename=role1/ role rolename=manager/ role rolename=admin/ user username=tomcat password=tomcat roles=tomcat/ user username=both password=tomcat roles=tomcat,role1/ user username=role1 password=tomcat roles=role1/ user username=admin password=admin roles=admin,manager,role1,tomcat/ /tomcat-users -Original Message- From: Andoni [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 20. Februar 2003 13:15 To: Tomcat Users List Subject: Error 500 when trying to run /manager app. Hello, I am getting an error 500 ServletException Root Cause: java.lang.SecurityException: Servlet of class org.apache.catalina.servlets.ManagerServlet is privileged and cannot be loaded by this web application Is this because I am using the wrong username / password? I have gone to tomcat-users.xml and it looks like: tomcat-users user name=tomcat password=tomcat roles=tomcat / user name=administrator password=password roles=manager / user name=role1 password=tomcat roles=role1 / user name=both password=tomcat roles=tomcat,role1 / /tomcat-users I am trying to log in as the administrator user that I added. What else do I have to do? Andoni. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Error 500 when trying to run /manager app.
I don't see the role tag documented anywhere. Sorry if I missed it. It is included in the book I have but all the docs on the site seem to have tomcat-users.xml files without it. I have just included it in my tomcat 4.0.4 server and now it won't start java apps so I'm going to try removing it again. Please let me know if it applies to 4.0.x anyway. Andoni. - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, February 20, 2003 3:57 PM Subject: RE: Error 500 when trying to run /manager app. See MemoryRealm: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html John -Original Message- From: Andoni [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 10:57 AM To: Tomcat Users List Subject: Re: Error 500 when trying to run /manager app. Where is this role tag documented? I don't see it anywhere in the docs. I have the app. appearing on the screen now and I am about to start testing it but I have not installed any role tags and there are none in the file. Are they necessary? What do they do? Andoni. - Original Message - From: Roberts, Eric [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, February 20, 2003 3:39 PM Subject: RE: Error 500 when trying to run /manager app. Add the role as well ?xml version='1.0' encoding='utf-8'? tomcat-users role rolename=tomcat/ role rolename=role1/ role rolename=manager/ role rolename=admin/ user username=tomcat password=tomcat roles=tomcat/ user username=both password=tomcat roles=tomcat,role1/ user username=role1 password=tomcat roles=role1/ user username=admin password=admin roles=admin,manager,role1,tomcat/ /tomcat-users -Original Message- From: Andoni [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 20. Februar 2003 13:15 To: Tomcat Users List Subject: Error 500 when trying to run /manager app. Hello, I am getting an error 500 ServletException Root Cause: java.lang.SecurityException: Servlet of class org.apache.catalina.servlets.ManagerServlet is privileged and cannot be loaded by this web application Is this because I am using the wrong username / password? I have gone to tomcat-users.xml and it looks like: tomcat-users user name=tomcat password=tomcat roles=tomcat / user name=administrator password=password roles=manager / user name=role1 password=tomcat roles=role1 / user name=both password=tomcat roles=tomcat,role1 / /tomcat-users I am trying to log in as the administrator user that I added. What else do I have to do? Andoni. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Error 500 when trying to run /manager app.
Yes, it applies to 4.0.x: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html http://jakarta.apache.org/tomcat/tomcat-4.0-doc/realm-howto.html Sorry, I'm really not clear what you are asking. The manager docs specifically state that you must manually add a role of manager to any username that wishes to access the manager app (and likewise, admin to access the admin app). Shipping Tomcat with a default username with the role of manager already added for you is insecure. John -Original Message- From: Andoni [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 11:16 AM To: Tomcat Users List Subject: Re: Error 500 when trying to run /manager app. I don't see the role tag documented anywhere. Sorry if I missed it. It is included in the book I have but all the docs on the site seem to have tomcat-users.xml files without it. I have just included it in my tomcat 4.0.4 server and now it won't start java apps so I'm going to try removing it again. Please let me know if it applies to 4.0.x anyway. Andoni. - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, February 20, 2003 3:57 PM Subject: RE: Error 500 when trying to run /manager app. See MemoryRealm: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html John -Original Message- From: Andoni [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 10:57 AM To: Tomcat Users List Subject: Re: Error 500 when trying to run /manager app. Where is this role tag documented? I don't see it anywhere in the docs. I have the app. appearing on the screen now and I am about to start testing it but I have not installed any role tags and there are none in the file. Are they necessary? What do they do? Andoni. - Original Message - From: Roberts, Eric [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, February 20, 2003 3:39 PM Subject: RE: Error 500 when trying to run /manager app. Add the role as well ?xml version='1.0' encoding='utf-8'? tomcat-users role rolename=tomcat/ role rolename=role1/ role rolename=manager/ role rolename=admin/ user username=tomcat password=tomcat roles=tomcat/ user username=both password=tomcat roles=tomcat,role1/ user username=role1 password=tomcat roles=role1/ user username=admin password=admin roles=admin,manager,role1,tomcat/ /tomcat-users -Original Message- From: Andoni [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 20. Februar 2003 13:15 To: Tomcat Users List Subject: Error 500 when trying to run /manager app. Hello, I am getting an error 500 ServletException Root Cause: java.lang.SecurityException: Servlet of class org.apache.catalina.servlets.ManagerServlet is privileged and cannot be loaded by this web application Is this because I am using the wrong username / password? I have gone to tomcat-users.xml and it looks like: tomcat-users user name=tomcat password=tomcat roles=tomcat / user name=administrator password=password roles=manager / user name=role1 password=tomcat roles=role1 / user name=both password=tomcat roles=tomcat,role1 / /tomcat-users I am trying to log in as the administrator user that I added. What else do I have to do? Andoni. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Error 500 when trying to run /manager app.
Sorry, let me clarify: In the documents you have linked below I see reference to the tomcat-users.xml file and in it the tags: !-- NOTE: By default, no user is included in the manager role required to operate the /manager web application. If you wish to use this app, you must define such a user - the username and password are arbitrary. -- tomcat-users user name=tomcat password=tomcat roles=tomcat / user name=administrator password=password roles=manager / user name=role1 password=tomcat roles=role1 / user name=both password=tomcat roles=tomcat,role1 / /tomcat-users But nowhere to I see mention of the role rolename=manager / tag. In fact when I go to add this tag to my tomcat 4.0.4 installation things start to go wrong. I think my other problem was to do with multiple hosts. You have to have a manager application set up for each host I think? Do you not? Andoni. - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, February 20, 2003 4:24 PM Subject: RE: Error 500 when trying to run /manager app. Yes, it applies to 4.0.x: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html http://jakarta.apache.org/tomcat/tomcat-4.0-doc/realm-howto.html Sorry, I'm really not clear what you are asking. The manager docs specifically state that you must manually add a role of manager to any username that wishes to access the manager app (and likewise, admin to access the admin app). Shipping Tomcat with a default username with the role of manager already added for you is insecure. John -Original Message- From: Andoni [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 11:16 AM To: Tomcat Users List Subject: Re: Error 500 when trying to run /manager app. I don't see the role tag documented anywhere. Sorry if I missed it. It is included in the book I have but all the docs on the site seem to have tomcat-users.xml files without it. I have just included it in my tomcat 4.0.4 server and now it won't start java apps so I'm going to try removing it again. Please let me know if it applies to 4.0.x anyway. Andoni. - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, February 20, 2003 3:57 PM Subject: RE: Error 500 when trying to run /manager app. See MemoryRealm: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html John -Original Message- From: Andoni [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 10:57 AM To: Tomcat Users List Subject: Re: Error 500 when trying to run /manager app. Where is this role tag documented? I don't see it anywhere in the docs. I have the app. appearing on the screen now and I am about to start testing it but I have not installed any role tags and there are none in the file. Are they necessary? What do they do? Andoni. - Original Message - From: Roberts, Eric [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, February 20, 2003 3:39 PM Subject: RE: Error 500 when trying to run /manager app. Add the role as well ?xml version='1.0' encoding='utf-8'? tomcat-users role rolename=tomcat/ role rolename=role1/ role rolename=manager/ role rolename=admin/ user username=tomcat password=tomcat roles=tomcat/ user username=both password=tomcat roles=tomcat,role1/ user username=role1 password=tomcat roles=role1/ user username=admin password=admin roles=admin,manager,role1,tomcat/ /tomcat-users -Original Message- From: Andoni [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 20. Februar 2003 13:15 To: Tomcat Users List Subject: Error 500 when trying to run /manager app. Hello, I am getting an error 500 ServletException Root Cause: java.lang.SecurityException: Servlet of class org.apache.catalina.servlets.ManagerServlet is privileged and cannot be loaded by this web application Is this because I am using the wrong username / password? I have gone to tomcat-users.xml and it looks like: tomcat-users user name=tomcat password=tomcat roles=tomcat / user name=administrator password=password roles=manager / user name=role1 password=tomcat roles=role1 / user name=both password=tomcat roles=tomcat,role1 / /tomcat-users I am trying to log in as the administrator user that I added. What else do I have to do? Andoni. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED
RE: Error 500 when trying to run /manager app.
Not sure about 4.0.4. It has to be getting the roles from somewhere, otherwise how does your existing tomcat-users.xml file know what tomcat or role1 is? I only have access to 4.1.x versions of tomcat-users.xml, and they look like this: tomcat-users role rolename=tomcat/ role rolename=role1/ role rolename=manager/ role rolename=admin/ user username=tomcat password=tomcat roles=tomcat/ user username=both password=tomcat roles=tomcat,role1/ user username=role1 password=tomcat roles=role1,manager/ user username=admin password=admin roles=admin,manager/ /tomcat-users Yes, if you wish to deploy a manager app per virtual host, you must do so. Not sure how it works in 4.0.4 (it might be broken). In 4.1.x, all you do is make a copy of manager.xml and drop it into the appropriate appBase ($CATALINA_HOME/appBase) for that host. John -Original Message- From: Andoni [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 11:35 AM To: Tomcat Users List Subject: Re: Error 500 when trying to run /manager app. Sorry, let me clarify: In the documents you have linked below I see reference to the tomcat-users.xml file and in it the tags: !-- NOTE: By default, no user is included in the manager role required to operate the /manager web application. If you wish to use this app, you must define such a user - the username and password are arbitrary. -- tomcat-users user name=tomcat password=tomcat roles=tomcat / user name=administrator password=password roles=manager / user name=role1 password=tomcat roles=role1 / user name=both password=tomcat roles=tomcat,role1 / /tomcat-users But nowhere to I see mention of the role rolename=manager / tag. In fact when I go to add this tag to my tomcat 4.0.4 installation things start to go wrong. I think my other problem was to do with multiple hosts. You have to have a manager application set up for each host I think? Do you not? Andoni. - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, February 20, 2003 4:24 PM Subject: RE: Error 500 when trying to run /manager app. Yes, it applies to 4.0.x: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html http://jakarta.apache.org/tomcat/tomcat-4.0-doc/realm-howto.html Sorry, I'm really not clear what you are asking. The manager docs specifically state that you must manually add a role of manager to any username that wishes to access the manager app (and likewise, admin to access the admin app). Shipping Tomcat with a default username with the role of manager already added for you is insecure. John -Original Message- From: Andoni [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 11:16 AM To: Tomcat Users List Subject: Re: Error 500 when trying to run /manager app. I don't see the role tag documented anywhere. Sorry if I missed it. It is included in the book I have but all the docs on the site seem to have tomcat-users.xml files without it. I have just included it in my tomcat 4.0.4 server and now it won't start java apps so I'm going to try removing it again. Please let me know if it applies to 4.0.x anyway. Andoni. - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, February 20, 2003 3:57 PM Subject: RE: Error 500 when trying to run /manager app. See MemoryRealm: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html John -Original Message- From: Andoni [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 10:57 AM To: Tomcat Users List Subject: Re: Error 500 when trying to run /manager app. Where is this role tag documented? I don't see it anywhere in the docs. I have the app. appearing on the screen now and I am about to start testing it but I have not installed any role tags and there are none in the file. Are they necessary? What do they do? Andoni. - Original Message - From: Roberts, Eric [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, February 20, 2003 3:39 PM Subject: RE: Error 500 when trying to run /manager app. Add the role as well ?xml version='1.0' encoding='utf-8'? tomcat-users role rolename=tomcat/ role rolename=role1/ role rolename=manager/ role rolename=admin/ user username=tomcat password=tomcat roles=tomcat/ user username=both password=tomcat roles=tomcat,role1/ user username=role1 password=tomcat roles=role1/ user username=admin password=admin roles=admin,manager,role1,tomcat/ /tomcat-users
RE: Error 500
There happens a NullPointerException in line 47 of eshop.share.LoginCommand. Without the source of that class (or at least a relevant snippet) we can't help you much. -Original Message- From: Lindomar [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 6:03 PM To: Tomcat Users List Subject: Re: Error 500 First, thanks for all messages. Well, i'm using j2sdk 1.4, Tomcat 4.1.1, Win NT 4, my app access DB2. java.lang.NullPointerException at eshop.share.LoginCommand.execute(LoginCommand.java:47) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Error 500 - OK
Ok Ralph. I didn't sad that this class is calling from a command of websphere, then my application jsp stay ready. The problem was from macro, not from form, how i was thinking. Thanks for all. - Original Message - From: Ralph Einfeldt [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, February 04, 2003 06:39 Subject: RE: Error 500 E-mail Premium BOL Antivírus, anti-spam e até 100 MB de espaço. Assine já! http://email.bol.com.br/ There happens a NullPointerException in line 47 of eshop.share.LoginCommand. Without the source of that class (or at least a relevant snippet) we can't help you much. -Original Message- From: Lindomar [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 6:03 PM To: Tomcat Users List Subject: Re: Error 500 First, thanks for all messages. Well, i'm using j2sdk 1.4, Tomcat 4.1.1, Win NT 4, my app access DB2. java.lang.NullPointerException at eshop.share.LoginCommand.execute(LoginCommand.java:47) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Error 500
Sometime appears this exception: HTTP Status 500 - Internal Server Error type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. --- Has anyone any comments about this exception. Thanks again.
RE: Error 500
Without further informations from your log files nobody can help you. it's also a good idea to say a bit mor about your environment. -Original Message- From: Lindomar [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 3:10 PM To: Tomcat Users List Subject: Error 500 HTTP Status 500 - Internal Server Error message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Error 500
Am Montag, 3. Februar 2003 15:09 schrieb Lindomar: Sometime appears this exception: HTTP Status 500 - Internal Server Error --- - type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. --- Has anyone any comments about this exception. Tomcat has. In it's logfile catalina.out. With kind regards / mit freundlichem Gruß Holger Klawitter -- Holger Klawitter http://www.klawitter.de [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Error 500
There could be many reasons, please post your full error message.. Madhav -Original Message- From: Lindomar [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 3:10 PM To: Tomcat Users List Subject: Error 500 Sometime appears this exception: HTTP Status 500 - Internal Server Error type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. --- Has anyone any comments about this exception. Thanks again.
Re: Error 500
First, thanks for all messages. Well, i'm using j2sdk 1.4, Tomcat 4.1.1, Win NT 4, my app access DB2. I searched anything in log, but don't have anything write about this error. LoginCommand and AdminServlet, as showing in error message, are my class, they are controls for beans and jsp. LoginCommand only receives two parameters, and they aren't empty. But this exception, don't appears with frequency, sometimes when i test a page a lot of. This is a curiosity mine, know why this. Full description of error: java.lang.NullPointerException at eshop.share.LoginCommand.execute(LoginCommand.java:47) at eshop.share.AdminServlet.service(AdminServlet.java:40) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2397) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1040) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1151) at java.lang.Thread.run(Thread.java:536) =
Re: Error: 500 / Internal Servlet Error:
oh there is a little difference with the error message on server-side trace though, especially at the beginning. Here is the server-side message: 2003-01-27 02:16:42 - Ctx( ): Exception in: R( + /helloworld.jsp + null) - javax.servlet.ServletException: try to access method org/apache/tomcat/logging/Logger.realLog(Ljava/lang/String;)V from class org/apache/jasper/servlet/JspServlet at org.apache.jasper.servlet.JspServlet.service(JspServlet.java) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java) at org.apache.tomcat.core.Handler.service(Handler.java) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java) at org.apache.tomcat.core.ContextManager.service(ContextManager.java) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java) at java.lang.Thread.run(Thread.java:484) Root cause: java.lang.IllegalAccessError: try to access method org/apache/tomcat/logging/Logger.realLog(Ljava/lang/String;)V from class org/apache/jasper/servlet/JspServlet at org.apache.jasper.servlet.JspServlet.service(JspServlet.java) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java) at org.apache.tomcat.core.Handler.service(Handler.java) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java) at org.apache.tomcat.core.ContextManager.service(ContextManager.java) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java) at java.lang.Thread.run(Thread.java:484) According to the FAQ, i looked at the JSP code... but it should be ok (afaik, since it's my forst JSP code). Any advice would be appreciated. Thanks in advance. BTW, how to get all those messages into directly into a log file? -- Pierre-Philipp -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Error: 500 / Internal Servlet Error:
Hi all, i just installed tomcat on a NetBSD box, and it works fine for some HTML files (the only thing i changed for now into tomcat/conf/ is the default port: 80 instead of 8080). But when i try some JSP files, like http://java.sun.com/products/jsp/html/jspbasics.fm1.html i get this error message on console and even into the http client: Error: 500 Location: /helloworld.jsp Internal Servlet Error: javax.servlet.ServletException: try to access method org/apache/tomcat/logging/Logger.realLog(Ljava/lang/String;)V from class org/apache/jasper/servlet/JspServlet at org.apache.jasper.servlet.JspServlet.service(JspServlet.java) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java) at org.apache.tomcat.core.Handler.service(Handler.java) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java) at org.apache.tomcat.core.ContextManager.service(ContextManager.java) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java) at java.lang.Thread.run(Thread.java:484) Root cause: java.lang.IllegalAccessError: try to access method org/apache/tomcat/logging/Logger.realLog(Ljava/lang/String;)V from class org/apache/jasper/servlet/JspServlet at org.apache.jasper.servlet.JspServlet.service(JspServlet.java) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java) at org.apache.tomcat.core.Handler.service(Handler.java) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java) at org.apache.tomcat.core.ContextManager.service(ContextManager.java) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java) at java.lang.Thread.run(Thread.java:484) Any advice would be appreciated. Thanks in advance. -- Pierre-Philipp -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat 4.1.18 - Error 500
Sir/Madam, I have installed Tomcat 4.1.18 under Windows2000 Professional version. I made a normal setup (didn't select the NT service in Tomcat installer). The installation was clean but http://localhost:8080/ is also giving the error 500. Can you pls help me in fixing the error. Also do I have to set the JAVA_HOME and CATALINA_HOME manually after installation? Regards, Suman Following is the error: HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Compiling 1 source file D:\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\index_jsp.java:266: handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext cannot be applied to (java.lang.Throwable) if (pageContext != null) pageContext.handlePageException(t); ^ 1 error at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:340) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:352) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:474) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:184) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530) at java.lang.Thread.run(Thread.java:484) Apache Tomcat/4.1.18
RE: custom error 500 page for missing applications
error-page error-code500/error-code location/errors/500.html/location /error-page add this lines to the web.xml -Original Message- From: hans albers [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 19, 2002 3:24 PM To: [EMAIL PROTECTED] Subject: custom error 500 page for missing applications What do I have to do to set up a custom error page for http status error 500? I want to the user that there's no application in this context. (Tomcat 4.1.x) Thanks for your help, Hans _ Fotos - MSN Fotos das virtuelle Fotoalbum. Allen Freunden zeigen oder einfach ausdrucken: http://photos.msn.de/support/worldwide.aspx -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: custom error 500 page for missing applications
* Galbayar Dorjgotov [EMAIL PROTECTED] [1248 08:48]: error-page error-code500/error-code location/errors/500.html/location /error-page add this lines to the web.xml Yeah, you'd think so, wouldn't you? But have you tried this? I had trouble with this on 4.1.12. I think 500s might be a special case, because they mean your servlet died. Might be worth trying error-page exception-typeyour.Exception/exception-type location/500.jsp/location /error-page -- Rasputin :: Jack of All Trades - Master of Nuns -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
custom error 500 page for missing applications
What do I have to do to set up a custom error page for http status error 500? I want to the user that there's no application in this context. (Tomcat 4.1.x) Thanks for your help, Hans _ Fotos - MSN Fotos das virtuelle Fotoalbum. Allen Freunden zeigen oder einfach ausdrucken: http://photos.msn.de/support/worldwide.aspx -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Custom Error 500 Page Is Not Displayed
Hi, I have an installation of Tomcat 4.0.6 running on Win 2k Advanced Server, JDK 1.3.1_01 using IIS 5.0 as web server. I have set-up custom error pages in web.xml for both 404 and 500 to display helpful messages relevant to the application I've built. Any 404s are nicely displayed using the 404 error page defined in web.xml, but any 500s are not and I get the Tomcat default Internal Server error displayed, which isn't nice for my users. I can't understand why the 404 works and 500 doesn't. Should the type of error that is coming back, e.g. an undefined variable or NullPointerException affect the error page I've chosen being displayed? If it's a NullPointerException that's a runtime error, but an undefined variable is a compile time error does this affect the redirection to the error page I've added? I hope I'm not missing something basic because all examples, FAQs and other sites I've visited show that I'm doing the right thing and the fact that the 404 works further proves that. Any help is greatly appreciated. Ian -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Custom Error 500 Page Is Not Displayed
Hi Ian, I am pretty new in this area so I can't help with your question but if you don't mind I have question for you. I recently installed Tomcat 4.1.12 and at startup I am getting error you are talking about. The page cannot be displayed HTTP 500 - Internal server error Internet Explorer So, I am not able to see Tomcat home page. If you can help or give me some clue/idea I will appreciate that. Thanks, Tomislav - Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, December 09, 2002 6:04 AM Subject: Custom Error 500 Page Is Not Displayed Hi, I have an installation of Tomcat 4.0.6 running on Win 2k Advanced Server, JDK 1.3.1_01 using IIS 5.0 as web server. I have set-up custom error pages in web.xml for both 404 and 500 to display helpful messages relevant to the application I've built. Any 404s are nicely displayed using the 404 error page defined in web.xml, but any 500s are not and I get the Tomcat default Internal Server error displayed, which isn't nice for my users. I can't understand why the 404 works and 500 doesn't. Should the type of error that is coming back, e.g. an undefined variable or NullPointerException affect the error page I've chosen being displayed? If it's a NullPointerException that's a runtime error, but an undefined variable is a compile time error does this affect the redirection to the error page I've added? I hope I'm not missing something basic because all examples, FAQs and other sites I've visited show that I'm doing the right thing and the fact that the 404 works further proves that. Any help is greatly appreciated. Ian -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Error 500 in Internet Explorer
Tomislav, Error 500 is a Server error, for example if your page contains some bad Java in a scriptlet then the page won't compile and the server will return to you a server error. If you are seeing this it could be that the server is unable to compile your page or some such server related issue. Are you getting this error when you try to hit a specific page that you have written? What exactly is the error? If you're not trying to access a page that you've written yourself, what page is it? From the error message you've given me, you're not getting much back from Internet Explorer to help you, I.E. hides error messages from users, but you want to look at the whole error message. In the advanced settings of Internet Explorer (Tools-Internet Options-Advanced) you should uncheck the Show Friendly HTTP Error Messages option. This will give you the full error that Tomcat is sending back to your browser and that will help you understand what is going on further. Hopefully this will tell you that you've misspelt something on your page and you can correct that and it will run fine. I hope this helps. Ian -Original Message- From: Tomislav Miladinovic [EMAIL PROTECTED] Sent: 09 December 2002 17:42 To: Tomcat Users List [EMAIL PROTECTED] Subject:Re: Custom Error 500 Page Is Not Displayed Hi Ian, I am pretty new in this area so I can't help with your question but if you don't mind I have question for you. I recently installed Tomcat 4.1.12 and at startup I am getting error you are talking about. The page cannot be displayed HTTP 500 - Internal server error Internet Explorer So, I am not able to see Tomcat home page. If you can help or give me some clue/idea I will appreciate that. Thanks, Tomislav - Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, December 09, 2002 6:04 AM Subject: Custom Error 500 Page Is Not Displayed Hi, I have an installation of Tomcat 4.0.6 running on Win 2k Advanced Server, JDK 1.3.1_01 using IIS 5.0 as web server. I have set-up custom error pages in web.xml for both 404 and 500 to display helpful messages relevant to the application I've built. Any 404s are nicely displayed using the 404 error page defined in web.xml, but any 500s are not and I get the Tomcat default Internal Server error displayed, which isn't nice for my users. I can't understand why the 404 works and 500 doesn't. Should the type of error that is coming back, e.g. an undefined variable or NullPointerException affect the error page I've chosen being displayed? If it's a NullPointerException that's a runtime error, but an undefined variable is a compile time error does this affect the redirection to the error page I've added? I hope I'm not missing something basic because all examples, FAQs and other sites I've visited show that I'm doing the right thing and the fact that the 404 works further proves that. Any help is greatly appreciated. Ian -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Server error 500 with large files and jk2
I'm running tomcat 4.1 with apache 2 and jk2 connector. I have a servlet that builds dynamic image files and serves them back through apache web server. Everything works fine with small files (2k-4k). When I have larger files I get a server error 500 on the web server. I tried a static image file and got the same error. If I access the servlet or the static file directly from tomcat, not through apache and jk2 it works fine. any ideas? thanks
error 500 - bug ?
Included servlet error: 500 Hi, I keep getting the following error. The problem occurs when I changed (even one letter) in any file - is it a bug or my mistake (what is in this case rather not possible). Thanks for help. Pawe Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile class for JSPerror: Can't write: /var/tomcat/work/agent.pzuzycie.com.pl_8080/p_00025otected/pzu/_0002fprotect ed_0002fpzu_0002fgora_00032_0002ejspgora2_jsp_1.class 1 error at org.apache.jasper.compiler.Compiler.compile(Compiled Code) at org.apache.jasper.servlet.JspServlet.doLoadJSP(Compiled Code) at org.apache.jasper.servlet.JasperLoader.loadJSP(Compiled Code) at org.apache.jasper.servlet.JspServlet.loadJSP(Compiled Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(Compi led Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Compiled Code) at org.apache.jasper.servlet.JspServlet.serviceJspFile(Compiled Code) at org.apache.jasper.servlet.JspServlet.service(Compiled Code) at javax.servlet.http.HttpServlet.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.doService(Compiled Code) at org.apache.tomcat.core.Handler.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.service(Compiled Code) at org.apache.tomcat.facade.RequestDispatcherImpl.include(Compiled Code) at org.apache.jasper.runtime.PageContextImpl.include(Compiled Code) at p_00025otected.pzu._0002fprotected_0002fpzu_0002findex_0002ejspindex_jsp_4._ jspService(Compiled Code) at org.apache.jasper.runtime.HttpJspBase.service(Compiled Code) at javax.servlet.http.HttpServlet.service(Compiled Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Compiled Code) at org.apache.jasper.servlet.JspServlet.serviceJspFile(Compiled Code) at org.apache.jasper.servlet.JspServlet.service(Compiled Code) at javax.servlet.http.HttpServlet.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.doService(Compiled Code) at org.apache.tomcat.core.Handler.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.service(Compiled Code) at org.apache.tomcat.core.ContextManager.internalService(Compiled Code) at org.apache.tomcat.core.ContextManager.service(Compiled Code) at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection (Compiled Code) at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code) at java.lang.Thread.run(Compiled Code)
Does anybody know ?- error 500
Included servlet error: 500 Hi, I keep getting the following error. The problem occurs when I changed (even one letter) in any file - is it a bug or my mistake (what is in this case rather not possible). Thanks for help. Pawe Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile class for JSPerror: Can't write: /var/tomcat/work/agent.pzuzycie.com.pl_8080/p_00025otected/pzu/_0002fprotect ed_0002fpzu_0002fgora_00032_0002ejspgora2_jsp_1.class 1 error at org.apache.jasper.compiler.Compiler.compile(Compiled Code) at org.apache.jasper.servlet.JspServlet.doLoadJSP(Compiled Code) at org.apache.jasper.servlet.JasperLoader.loadJSP(Compiled Code) at org.apache.jasper.servlet.JspServlet.loadJSP(Compiled Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(Compi led Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Compiled Code) at org.apache.jasper.servlet.JspServlet.serviceJspFile(Compiled Code) at org.apache.jasper.servlet.JspServlet.service(Compiled Code) at javax.servlet.http.HttpServlet.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.doService(Compiled Code) at org.apache.tomcat.core.Handler.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.service(Compiled Code) at org.apache.tomcat.facade.RequestDispatcherImpl.include(Compiled Code) at org.apache.jasper.runtime.PageContextImpl.include(Compiled Code) at p_00025otected.pzu._0002fprotected_0002fpzu_0002findex_0002ejspindex_jsp_4._ jspService(Compiled Code) at org.apache.jasper.runtime.HttpJspBase.service(Compiled Code) at javax.servlet.http.HttpServlet.service(Compiled Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Compiled Code) at org.apache.jasper.servlet.JspServlet.serviceJspFile(Compiled Code) at org.apache.jasper.servlet.JspServlet.service(Compiled Code) at javax.servlet.http.HttpServlet.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.doService(Compiled Code) at org.apache.tomcat.core.Handler.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.service(Compiled Code) at org.apache.tomcat.core.ContextManager.internalService(Compiled Code) at org.apache.tomcat.core.ContextManager.service(Compiled Code) at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection (Compiled Code) at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code) at java.lang.Thread.run(Compiled Code) Pawe Skorupski PZU YCIE SA Biuro Ekonomiczno Aktuarialne Wydzia Aktuarialny * 0-22 582 3670 * [EMAIL PROTECTED]
RE: Does anybody know ?- error 500
Two stabs in the dark: Does the user running tomcat have write permissions to the work directory? Out of disk space on the /var/tomcat/work/ filesystem? -Original Message- From: Skorupski Pawe ,(PZUZ) [mailto:[EMAIL PROTECTED]] Sent: 03 October 2002 11:05 To: '[EMAIL PROTECTED]' Subject: Does anybody know ?- error 500 Included servlet error: 500 Hi, I keep getting the following error. The problem occurs when I changed (even one letter) in any file - is it a bug or my mistake (what is in this case rather not possible). Thanks for help. Pawe Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile class for JSPerror: Can't write: /var/tomcat/work/agent.pzuzycie.com.pl_8080/p_00025otected/pzu/_0002fprotect ed_0002fpzu_0002fgora_00032_0002ejspgora2_jsp_1.class 1 error at org.apache.jasper.compiler.Compiler.compile(Compiled Code) at org.apache.jasper.servlet.JspServlet.doLoadJSP(Compiled Code) at org.apache.jasper.servlet.JasperLoader.loadJSP(Compiled Code) at org.apache.jasper.servlet.JspServlet.loadJSP(Compiled Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(Compi led Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Compiled Code) at org.apache.jasper.servlet.JspServlet.serviceJspFile(Compiled Code) at org.apache.jasper.servlet.JspServlet.service(Compiled Code) at javax.servlet.http.HttpServlet.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.doService(Compiled Code) at org.apache.tomcat.core.Handler.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.service(Compiled Code) at org.apache.tomcat.facade.RequestDispatcherImpl.include(Compiled Code) at org.apache.jasper.runtime.PageContextImpl.include(Compiled Code) at p_00025otected.pzu._0002fprotected_0002fpzu_0002findex_0002ejspindex_jsp_4._ jspService(Compiled Code) at org.apache.jasper.runtime.HttpJspBase.service(Compiled Code) at javax.servlet.http.HttpServlet.service(Compiled Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Compiled Code) at org.apache.jasper.servlet.JspServlet.serviceJspFile(Compiled Code) at org.apache.jasper.servlet.JspServlet.service(Compiled Code) at javax.servlet.http.HttpServlet.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.doService(Compiled Code) at org.apache.tomcat.core.Handler.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.service(Compiled Code) at org.apache.tomcat.core.ContextManager.internalService(Compiled Code) at org.apache.tomcat.core.ContextManager.service(Compiled Code) at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection (Compiled Code) at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code) at java.lang.Thread.run(Compiled Code) Pawe Skorupski PZU YCIE SA Biuro Ekonomiczno Aktuarialne Wydzia Aktuarialny * 0-22 582 3670 * [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Does anybody know ?- error 500
I did clear one of the temporary directories in var/tomcat/work/ filesystem and now I got next error. What's wrong now ? Thanks for help. Pawe org.apache.jasper.JasperException: Unable to rename class file /var/tomcat/work/agent.pzuzycie.com.pl_8080/p_00025otected/_0002fprotected_0 002fpanel_0002ejsppanel_jsp_0.class to /var/tomcat/work/agent.pzuzycie.com.pl_8080/_0002fprotected_0002fpanel_0002e jsppanel.class at org.apache.jasper.compiler.Compiler.compile(Compiled Code) at org.apache.jasper.servlet.JspServlet.doLoadJSP(Compiled Code) at org.apache.jasper.servlet.JasperLoader.loadJSP(Compiled Code) at org.apache.jasper.servlet.JspServlet.loadJSP(Compiled Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(Compi led Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Compiled Code) at org.apache.jasper.servlet.JspServlet.serviceJspFile(Compiled Code) at org.apache.jasper.servlet.JspServlet.service(Compiled Code) at javax.servlet.http.HttpServlet.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.doService(Compiled Code) at org.apache.tomcat.core.Handler.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.service(Compiled Code) at org.apache.tomcat.core.ContextManager.internalService(Compiled Code) at org.apache.tomcat.core.ContextManager.service(Compiled Code) at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection (Compiled Code) at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code) at java.lang.Thread.run(Compiled Code) -Original Message- From: jon wingfield [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 12:21 PM To: Tomcat Users List Subject: RE: Does anybody know ?- error 500 Two stabs in the dark: Does the user running tomcat have write permissions to the work directory? Out of disk space on the /var/tomcat/work/ filesystem? -Original Message- From: Skorupski Pawe ,(PZUZ) [mailto:[EMAIL PROTECTED]] Sent: 03 October 2002 11:05 To: '[EMAIL PROTECTED]' Subject: Does anybody know ?- error 500 Included servlet error: 500 Hi, I keep getting the following error. The problem occurs when I changed (even one letter) in any file - is it a bug or my mistake (what is in this case rather not possible). Thanks for help. Pawe Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile class for JSPerror: Can't write: /var/tomcat/work/agent.pzuzycie.com.pl_8080/p_00025otected/pzu/_0002fprotect ed_0002fpzu_0002fgora_00032_0002ejspgora2_jsp_1.class 1 error at org.apache.jasper.compiler.Compiler.compile(Compiled Code) at org.apache.jasper.servlet.JspServlet.doLoadJSP(Compiled Code) at org.apache.jasper.servlet.JasperLoader.loadJSP(Compiled Code) at org.apache.jasper.servlet.JspServlet.loadJSP(Compiled Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(Compi led Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Compiled Code) at org.apache.jasper.servlet.JspServlet.serviceJspFile(Compiled Code) at org.apache.jasper.servlet.JspServlet.service(Compiled Code) at javax.servlet.http.HttpServlet.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.doService(Compiled Code) at org.apache.tomcat.core.Handler.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.service(Compiled Code) at org.apache.tomcat.facade.RequestDispatcherImpl.include(Compiled Code) at org.apache.jasper.runtime.PageContextImpl.include(Compiled Code) at p_00025otected.pzu._0002fprotected_0002fpzu_0002findex_0002ejspindex_jsp_4._ jspService(Compiled Code) at org.apache.jasper.runtime.HttpJspBase.service(Compiled Code) at javax.servlet.http.HttpServlet.service(Compiled Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Compiled Code) at org.apache.jasper.servlet.JspServlet.serviceJspFile(Compiled Code) at org.apache.jasper.servlet.JspServlet.service(Compiled Code) at javax.servlet.http.HttpServlet.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.doService(Compiled Code) at org.apache.tomcat.core.Handler.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.service(Compiled Code) at org.apache.tomcat.core.ContextManager.internalService(Compiled Code) at org.apache.tomcat.core.ContextManager.service(Compiled Code) at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection (Compiled Code) at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled
RE: Does anybody know ?- error 500
Not sure. The previous response was just to highlight likely causes. If you have freed up space on the filesystem then it may be a file permissions problem. The user (currently) executing tomcat may not have permissions to create files or directories below /var/tomcat/work. Diagnostic stuff to do: Use the unix df utility to check free space on the filesystem Use the unix ll (or ls -l) command to look at the owning user and permissions assigned to the tomcat work directory Use the unix top utility to find the user that started tomcat (or find the process using ps) Sorry if i'm giving you obvious advice but i've not seen errors like these before. Jon Last resort: If you are feeling brave you may want to delete the work directory and restart tomcat. -Original Message- From: Skorupski Pawe ,(PZUZ) [mailto:[EMAIL PROTECTED]] Sent: 03 October 2002 12:46 To: 'Tomcat Users List' Subject: RE: Does anybody know ?- error 500 I did clear one of the temporary directories in var/tomcat/work/ filesystem and now I got next error. What's wrong now ? Thanks for help. Pawe org.apache.jasper.JasperException: Unable to rename class file /var/tomcat/work/agent.pzuzycie.com.pl_8080/p_00025otected/_0002fprotected_0 002fpanel_0002ejsppanel_jsp_0.class to /var/tomcat/work/agent.pzuzycie.com.pl_8080/_0002fprotected_0002fpanel_0002e jsppanel.class at org.apache.jasper.compiler.Compiler.compile(Compiled Code) at org.apache.jasper.servlet.JspServlet.doLoadJSP(Compiled Code) at org.apache.jasper.servlet.JasperLoader.loadJSP(Compiled Code) at org.apache.jasper.servlet.JspServlet.loadJSP(Compiled Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(Compi led Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Compiled Code) at org.apache.jasper.servlet.JspServlet.serviceJspFile(Compiled Code) at org.apache.jasper.servlet.JspServlet.service(Compiled Code) at javax.servlet.http.HttpServlet.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.doService(Compiled Code) at org.apache.tomcat.core.Handler.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.service(Compiled Code) at org.apache.tomcat.core.ContextManager.internalService(Compiled Code) at org.apache.tomcat.core.ContextManager.service(Compiled Code) at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection (Compiled Code) at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code) at java.lang.Thread.run(Compiled Code) -Original Message- From: jon wingfield [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 12:21 PM To: Tomcat Users List Subject: RE: Does anybody know ?- error 500 Two stabs in the dark: Does the user running tomcat have write permissions to the work directory? Out of disk space on the /var/tomcat/work/ filesystem? -Original Message- From: Skorupski Pawe ,(PZUZ) [mailto:[EMAIL PROTECTED]] Sent: 03 October 2002 11:05 To: '[EMAIL PROTECTED]' Subject: Does anybody know ?- error 500 Included servlet error: 500 Hi, I keep getting the following error. The problem occurs when I changed (even one letter) in any file - is it a bug or my mistake (what is in this case rather not possible). Thanks for help. Pawe Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile class for JSPerror: Can't write: /var/tomcat/work/agent.pzuzycie.com.pl_8080/p_00025otected/pzu/_0002fprotect ed_0002fpzu_0002fgora_00032_0002ejspgora2_jsp_1.class 1 error at org.apache.jasper.compiler.Compiler.compile(Compiled Code) at org.apache.jasper.servlet.JspServlet.doLoadJSP(Compiled Code) at org.apache.jasper.servlet.JasperLoader.loadJSP(Compiled Code) at org.apache.jasper.servlet.JspServlet.loadJSP(Compiled Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(Compi led Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Compiled Code) at org.apache.jasper.servlet.JspServlet.serviceJspFile(Compiled Code) at org.apache.jasper.servlet.JspServlet.service(Compiled Code) at javax.servlet.http.HttpServlet.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.doService(Compiled Code) at org.apache.tomcat.core.Handler.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.service(Compiled Code) at org.apache.tomcat.facade.RequestDispatcherImpl.include(Compiled Code) at org.apache.jasper.runtime.PageContextImpl.include(Compiled Code) at p_00025otected.pzu._0002fprotected_0002fpzu_0002findex_0002ejspindex_jsp_4._ jspService(Compiled Code) at org.apache.jasper.runtime.HttpJspBase.service(Compiled Code
Re: error 500 - bug ?
Greetings, When does this error happen? When accessing that one changed JSP page or all the pages? Does restarting the server help? Does this problem appear after you change a jsp filename to something else? Does this problem go away after you restart? You may also try to shut down tomcat then remove all compiled JSP files and sessions then start back up. Powodzenia :), d. Skorupski Pawe ,(PZUZ) wrote: Included servlet error: 500 Hi, I keep getting the following error. The problem occurs when I changed (even one letter) in any file - is it a bug or my mistake (what is in this case rather not possible). Thanks for help. Pawe Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile class for JSPerror: Can't write: /var/tomcat/work/agent.pzuzycie.com.pl_8080/p_00025otected/pzu/_0002fprotect ed_0002fpzu_0002fgora_00032_0002ejspgora2_jsp_1.class 1 error at org.apache.jasper.compiler.Compiler.compile(Compiled Code) at org.apache.jasper.servlet.JspServlet.doLoadJSP(Compiled Code) at org.apache.jasper.servlet.JasperLoader.loadJSP(Compiled Code) at org.apache.jasper.servlet.JspServlet.loadJSP(Compiled Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(Compi led Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Compiled Code) at org.apache.jasper.servlet.JspServlet.serviceJspFile(Compiled Code) at org.apache.jasper.servlet.JspServlet.service(Compiled Code) at javax.servlet.http.HttpServlet.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.doService(Compiled Code) at org.apache.tomcat.core.Handler.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.service(Compiled Code) at org.apache.tomcat.facade.RequestDispatcherImpl.include(Compiled Code) at org.apache.jasper.runtime.PageContextImpl.include(Compiled Code) at p_00025otected.pzu._0002fprotected_0002fpzu_0002findex_0002ejspindex_jsp_4._ jspService(Compiled Code) at org.apache.jasper.runtime.HttpJspBase.service(Compiled Code) at javax.servlet.http.HttpServlet.service(Compiled Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Compiled Code) at org.apache.jasper.servlet.JspServlet.serviceJspFile(Compiled Code) at org.apache.jasper.servlet.JspServlet.service(Compiled Code) at javax.servlet.http.HttpServlet.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.doService(Compiled Code) at org.apache.tomcat.core.Handler.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.service(Compiled Code) at org.apache.tomcat.core.ContextManager.internalService(Compiled Code) at org.apache.tomcat.core.ContextManager.service(Compiled Code) at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection (Compiled Code) at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code) at java.lang.Thread.run(Compiled Code) -- David Mossakowski [EMAIL PROTECTED] Instinet Corporation 212.310.7275 Disclaimer This message is intended only for the use of the Addressee and may contain information that is PRIVILEGED and/or CONFIDENTIAL or both. This email is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this email is not an intended recipient, you have received this email in error and any review, dissemination, distribution or copying is strictly prohibited. If you have received this email in error, please notify the sender immediately by return mail and permanently deleting the copy you received. Thank you. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat 4.0.4 - Error 500
I have approx 25 applications deployed on a stand-alone Tomcat 4.0.4 instance. These apps retrieve data from a DB2 database via jsp's using a set of custom tags. I have had three instances so far since the apps went live on 8/28 when all the apps start returning a 500 Error with this message. java.lang.NullPointerException at java.lang.String.equals(String.java(Compiled Code)) The only log entry I found is in the localhost_log.2002-09-19.txt StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception java.lang.NullPointerException at java.lang.String.equals(String.java(Compiled Code)) Restarting Tomcat fixes the problem. I would greatly appreciate any pointers that would help me resolve this problem. Thanks Raj -- This electronic mail and any files transmitted with it are confidential and are intended solely for the use of individual or entity to whom they are addressed. If you are not the intended recipient or the person responsible for delivering the electronic mail to the intended recipient, be advised that you have received this electronic mail in error and that any use, dissemination, forwarding, printing, or copying of this electronic mail is strictly prohibited. If you have received this electronic mail in error, please immediately notify the sender by return mail. ==
Re: Tomcat 4.0.4 - Error 500
You might have to print the full stack of the NullPointerException to find out which class could be creating this exception. -- padhu Natarajan, Raj wrote: I have approx 25 applications deployed on a stand-alone Tomcat 4.0.4 instance. These apps retrieve data from a DB2 database via jsp's using a set of custom tags. I have had three instances so far since the apps went live on 8/28 when all the apps start returning a 500 Error with this message. java.lang.NullPointerException at java.lang.String.equals(String.java(Compiled Code)) The only log entry I found is in the localhost_log.2002-09-19.txt StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception java.lang.NullPointerException at java.lang.String.equals(String.java(Compiled Code)) Restarting Tomcat fixes the problem. I would greatly appreciate any pointers that would help me resolve this problem. Thanks Raj -- This electronic mail and any files transmitted with it are confidential and are intended solely for the use of individual or entity to whom they are addressed. If you are not the intended recipient or the person responsible for delivering the electronic mail to the intended recipient, be advised that you have received this electronic mail in error and that any use, dissemination, forwarding, printing, or copying of this electronic mail is strictly prohibited. If you have received this electronic mail in error, please immediately notify the sender by return mail. == -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat 4.0.4 - Error 500
How would I do that ? Is it a setting in Tomcat ? -Original Message- From: Padhu Vinirs [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 19, 2002 3:57 PM To: Tomcat Users List Subject: Re: Tomcat 4.0.4 - Error 500 You might have to print the full stack of the NullPointerException to find out which class could be creating this exception. -- padhu Natarajan, Raj wrote: I have approx 25 applications deployed on a stand-alone Tomcat 4.0.4 instance. These apps retrieve data from a DB2 database via jsp's using a set of custom tags. I have had three instances so far since the apps went live on 8/28 when all the apps start returning a 500 Error with this message. java.lang.NullPointerException at java.lang.String.equals(String.java(Compiled Code)) The only log entry I found is in the localhost_log.2002-09-19.txt StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception java.lang.NullPointerException at java.lang.String.equals(String.java(Compiled Code)) Restarting Tomcat fixes the problem. I would greatly appreciate any pointers that would help me resolve this problem. Thanks Raj --- --- This electronic mail and any files transmitted with it are confidential and are intended solely for the use of individual or entity to whom they are addressed. If you are not the intended recipient or the person responsible for delivering the electronic mail to the intended recipient, be advised that you have received this electronic mail in error and that any use, dissemination, forwarding, printing, or copying of this electronic mail is strictly prohibited. If you have received this electronic mail in error, please immediately notify the sender by return mail. === === -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Error: 500
Hello, I am using Apache 1.3.14 and Tomcat as a Servlet Server and I am getting the following error: Error: 500 Location: /servlet/What Internal Servlet Error: java.lang.NoClassDefFoundError: org/apache/xerces/dom/NamedNodeMapImpl at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at What.printVer(What.java:88) at What.doGet(What.java:47) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574) at org.apache.tomcat.core.Handler.invoke(Handler.java:322) at org.apache.tomcat.core.Handler.service(Handler.java:235) at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833) at org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Ajp13Interceptor.java:341) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516) at java.lang.Thread.run(Unknown Source) I am a newbie with this web server stuff, so any direction as to how to troubleshoot this problem is very much appreciated. The error_log file does not have any entries, but the access_log file has the following: 10.100.138.65 - - [30/Aug/2002:10:48:48 -0700] GET /servlet/What HTTP/1.1 401 483 10.100.138.65 - koosau [30/Aug/2002:10:48:53 -0700] GET /servlet/What HTTP/1.1 500 1254 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Error 500 need help
***i'm getting an error i can't solve. during the build process i get a message that states this: [javadoc] /Jakarta/jakarta-tomcat-4.0.4-src/jasper/src/share/org/apache/jasper/compile r/SunJavaCompiler.java:65:package sun.tools.javac does not exist import sun.tools.javac.Main; ^ the build is successful but the jsp examples generate the error below any one have a solution?? i'm using j2sdk1.4.0_01 on read hat linux 7.2. i'm assuming that i get this error because of the message above. Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. Exception javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:94 6) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:214) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:475) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: 1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125 ) at java.lang.Thread.run(Thread.java:536) root cause java.lang.NoClassDefFoundError: org/w3c/dom/ranges/DocumentRange at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:130) at org.apache.xerces.parsers.AbstractDOMParser.setDocumentClassName(AbstractDOM Parser.java:347) at org.apache.xerces.parsers.AbstractDOMParser.reset(AbstractDOMParser.java:417 ) at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:151) at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:253) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:20 1) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:86) at org.apache.jasper.parser.ParserUtils.parseXMLDocument(ParserUtils.java:201) at org.apache.jasper.compiler.TldLocationsCache.processWebDotXml(TldLocationsCa che.java:165) at org.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache.java:138) at org.apache.jasper.EmbededServletOptions.(EmbededServletOptions.java:350) at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:265) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91 8) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655)
Re: Error 500 need help
it looks like you have an xml parser conflict ( tomcat's xerces and the jdk's xml parser ). either download tomcat4-LE-jdk14 or reorder your xml parser's jar files in your classpath ( ie put xml-apis.jar, xercesImpl.jar first in your CLASSPATH). check xerces' documentation for further info. good look ***i'm getting an error i can't solve. during the build process i get a message that states this: [javadoc] /Jakarta/jakarta-tomcat-4.0.4-src/jasper/src/share/org/apache/jasper/compile r/SunJavaCompiler.java:65:package sun.tools.javac does not exist import sun.tools.javac.Main; ^ the build is successful but the jsp examples generate the error below any one have a solution?? i'm using j2sdk1.4.0_01 on read hat linux 7.2. i'm assuming that i get this error because of the message above. Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. Exception javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:94 6) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:214) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:475) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: 1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125 ) at java.lang.Thread.run(Thread.java:536) root cause java.lang.NoClassDefFoundError: org/w3c/dom/ranges/DocumentRange at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:130) at org.apache.xerces.parsers.AbstractDOMParser.setDocumentClassName(AbstractDOM Parser.java:347) at org.apache.xerces.parsers.AbstractDOMParser.reset(AbstractDOMParser.java:417 ) at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:151) at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:253) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:20 1) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:86) at org.apache.jasper.parser.ParserUtils.parseXMLDocument(ParserUtils.java:201) at org.apache.jasper.compiler.TldLocationsCache.processWebDotXml(TldLocationsCa che.java:165) at org.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache.java:138)
RE: Error 500 need help
i tried the trick and it didn't work. i still get the same error message. it looked more like a java issue to me. have any more suggestions? what i doing here is building tomcat straight from source and i have the most recent src version off the jakarta website. -Original Message- From: Carlos Ferreira [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 12:44 PM To: [EMAIL PROTECTED] Subject: Re: Error 500 need help it looks like you have an xml parser conflict ( tomcat's xerces and the jdk's xml parser ). either download tomcat4-LE-jdk14 or reorder your xml parser's jar files in your classpath ( ie put xml-apis.jar, xercesImpl.jar first in your CLASSPATH). check xerces' documentation for further info. good look ***i'm getting an error i can't solve. during the build process i get a message that states this: [javadoc] /Jakarta/jakarta-tomcat-4.0.4-src/jasper/src/share/org/apache/jasper/compile r/SunJavaCompiler.java:65:package sun.tools.javac does not exist import sun.tools.javac.Main; ^ the build is successful but the jsp examples generate the error below any one have a solution?? i'm using j2sdk1.4.0_01 on read hat linux 7.2. i'm assuming that i get this error because of the message above. Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. Exception javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:94 6) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:214) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:475) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: 1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125 ) at java.lang.Thread.run(Thread.java:536) root cause java.lang.NoClassDefFoundError: org/w3c/dom/ranges/DocumentRange at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:130) at org.apache.xerces.parsers.AbstractDOMParser.setDocumentClassName(AbstractDOM Parser.java:347) at org.apache.xerces.parsers.AbstractDOMParser.reset(AbstractDOMParser.java:417 ) at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:151) at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:253
error 500
When I call this method (org.jdom.Element.getChildren()Ljava/util/List;) directly in the servlet, it works, however when I call it from a another class that is called by the servlet, I get this: java.lang.NoSuchMethodError: org.jdom.Element.getChildren()Ljava/util/List; at Param.parseStartingDocumentFilesFile(Param.java:604) at lsapack.(lsapack.java:42) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:42) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:30) at java.lang.reflect.Constructor.newInstance(Constructor.java:263) at java.lang.Class.newInstance0(Class.java:301) at java.lang.Class.newInstance(Class.java:254) at org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:268) at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289) at org.apache.tomcat.core.Handler.service(Handler.java:254) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501) at java.lang.Thread.run(Thread.java:539) -Brian
Error 500? ClassNotFound - org.apache.jsp.frames ?
Hi, I've just tried running a site I develop on 4.1.7 beta, and it's stopped working. It worked on 4.0.3 just fine. The error I'm getting is (root cause) java.lang.ClassNotFoundException: org.apache.jsp.frames$jsp. Trace provided below. Very dull. Can anyone suggest what I should look for in my code, or if this is a known current bug? Many thanks, Dan Stack trace :- org.apache.jasper.JasperException: Unable to compile class for JSP at org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:515) at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.jav a:144) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:1 87) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher. java:684) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch er.java:432) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher .java:356) at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:425) at org.apache.jsp.newcarscontroller$jsp._jspService(newcarscontroller$jsp.java: 81) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 02) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2350) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:171 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne ction(Http11Protocol.java:380) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:533) at java.lang.Thread.run(Thread.java:536) root cause java.lang.ClassNotFoundException: org.apache.jsp.frames$jsp at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:209) at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:131) at
Error: 500 (Response has already been committed) !!!
I have this message: Error: 500 Location: /anydirectory/jsp/anyfolder/anyfile.jsp Internal Servlet Error: java.lang.IllegalStateException: Response has already been committed at org.apache.tomcat.core.HttpServletResponseFacade.sendError(HttpServletResponseFacade.java:157) at org.apache.jasper.runtime.JspServlet.unknownException(JspServlet.java:299) at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:377) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160) at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338) at java.lang.Thread.run(Thread.java:479) I never see this message Before. Nothing about JSP is running, all JSP gadget have a similar message. The Only thing that I do was reboot the server !! I need help Regards Hank
RE: Error: 500 (Response has already been committed) !!!
I have seen this when trying to write headers on an already flushed response (hence committed). By moving my header writes up above the data write for the post response, i avoided the problem. I think this only came up when i went from tomcat 4 to 4.0.4, but its been awhile now. dave -Original Message- From: Henry Penaranda [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002 12:35 PM To: [EMAIL PROTECTED] Subject: Error: 500 (Response has already been committed) !!! I have this message: Error: 500 Location: /anydirectory/jsp/anyfolder/anyfile.jsp Internal Servlet Error: java.lang.IllegalStateException: Response has already been committed at org.apache.tomcat.core.HttpServletResponseFacade.sendError(HttpServletRespon seFacade.java:157) at org.apache.jasper.runtime.JspServlet.unknownException(JspServlet.java:299) at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:377) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC onnectionHandler.java:160) at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338 ) at java.lang.Thread.run(Thread.java:479) I never see this message Before. Nothing about JSP is running, all JSP gadget have a similar message. The Only thing that I do was reboot the server !! I need help Regards Hank -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Error: 500 (Response has already been committed) !!!
Another cause can be demonstrated with the following scriptlet code ... if (session.getAttribute(articles) == null) { response.sendRedirect(controllerServlet/home); } if (session.getAttribute(siteState) == null) { response.sendRedirect(controllerServlet/home); } The second if is tested even if the first if is true. If the second if is true another sendRedirect is attempted causing the error. It should be coded as ... if (session.getAttribute(articles) == null) { response.sendRedirect(controllerServlet/home); return; } if (session.getAttribute(siteState) == null) { response.sendRedirect(controllerServlet/home); return; } Steve -Original Message- From: Dave Been [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002 2:34 PM To: 'Tomcat Users List' Subject: RE: Error: 500 (Response has already been committed) !!! I have seen this when trying to write headers on an already flushed response (hence committed). By moving my header writes up above the data write for the post response, i avoided the problem. I think this only came up when i went from tomcat 4 to 4.0.4, but its been awhile now. dave -Original Message- From: Henry Penaranda [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002 12:35 PM To: [EMAIL PROTECTED] Subject: Error: 500 (Response has already been committed) !!! I have this message: Error: 500 Location: /anydirectory/jsp/anyfolder/anyfile.jsp Internal Servlet Error: java.lang.IllegalStateException: Response has already been committed at org.apache.tomcat.core.HttpServletResponseFacade.sendError(HttpServletRespon seFacade.java:157) at org.apache.jasper.runtime.JspServlet.unknownException(JspServlet.java:299) at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:377) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC onnectionHandler.java:160) at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338 ) at java.lang.Thread.run(Thread.java:479) I never see this message Before. Nothing about JSP is running, all JSP gadget have a similar message. The Only thing that I do was reboot the server !! I need help Regards Hank -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Error 500, mod_jk issue
We're running Tomcat 4.0.3 on RedHat w/ Apache 1.3 via the mod_jk connector. We received an Error 500, which usually indicates that Tomcat is no longer running. However in this case it was, it hadn't crashed. A quick survey of the logs found these... In catalina.out: Ajp13Connector[8011] No processor available, rejecting this connection In mod_jk.log: [Wed Jun 12 13:37:04 2002] [jk_ajp13_worker.c (381)]: Error ajp13_process_callback - write failed Anyone seen this before? Our native connector binary might be a bit old. The name of the precompiled binary we're using is mod_jk-3.3-ap13-eapi.so. Any ideas? Should we be using the mod_jk-01.so binary from the 4.0.3 build? Thanks, Nick Wesselman Digital Visions, Inc. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: ISAPI_REDIRECTOR.DLL problem: Error 500
Hi, Here are some additional hints for running Tomcat 4.03 with IIS5 on W2k: -I used jakarta-redirector.dll from: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/bin/win32/ (Don't download it with Netscape) -Make sure the registry key matches the name (was jakarta-redirect.dll before) -Make sure you allow Script/Execute access for the virtual directory jakarta -When testing, make sure you enter a URL that is actually mapped (my uriworkermap.properties contained /examples/* so I had to test with localhost/examples/jsp to see a result, localhost/examples wouldn't work) Hope that helps somebody Best Regards Markus -Original Message- From: george moudry [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Date: Sun, 21 Apr 2002 21:40:01 -0700 Subject: Re: ISAPI_REDIRECTOR.DLL problem: Error 500 for anyone having problems with ISAPI_REDIRECTOR.DLL in Tomcat4: As I wrote before, IIS5 + isapi_redirect.dll + Tomcat 4.0.3 was failing. Now I installed Tomcat3.3 from source alongside Tomcat4.0, pointed IIS at the old version of isapi/tomcat, and everything is miraculously working fine. /george george moudry wrote: Hello there. First - Do you know where is the current source code for isapi dll? I only found old source in tomcat 3.3. Next, my problem: I am trying to use Tomcat 4.0.3 with IIS. Both individually function fine. But when ask IIS to give me http://192.168.1.101/examples/;, I get error 500. (see below for log entry). Meanwhile http://192.168.2.101:8080/examples/; (tomcat's port) works fine. Darn. An hour ago, I was doing much better, I was getting The specified module cannot be found. Naively, I went into tomcat's server.xml to turn logging high, and now everything is broken and I only get error 500s. Thanks for any ideas. george los angeles PS. any way to sniff these AJP packets? === ### details: IIS is running on 80 (but some neighbors are continuously trying bad things), and Tomcat is on 8080. My machine: WIndows 2000 SP2 My JDK: Java2 SDK, SE version 1.4.0 ### Content of C:\Tomcat40\logs\localhost_examples_log.2002-04-19.txt (not much action here) ... 2002-04-19 00:01:49 StandardWrapper[/examples:invoker]: Loading container servlet invoker 2002-04-19 00:01:49 invoker: init 2002-04-19 00:01:49 jsp: init Content of C:\Tomcat40\logs\iis_redirect.log: (many attempts to redirect here) ... [Fri Apr 19 00:04:08 2002] [jk_ajp_common.c (1222)]: Into jk_worker_t::init [Fri Apr 19 00:04:08 2002] [jk_worker.c (187)]: wc_create_worker, done [Fri Apr 19 00:04:08 2002] [jk_worker.c (238)]: build_worker_map, removing old ajp13 worker [Fri Apr 19 00:04:08 2002] [jk_worker.c (250)]: build_worker_map, done [Fri Apr 19 00:04:08 2002] [jk_worker.c (111)]: wc_open, done 1 [Fri Apr 19 00:04:08 2002] [jk_isapi_plugin.c (657)]: HttpFilterProc started [Fri Apr 19 00:04:08 2002] [jk_isapi_plugin.c (705)]: In HttpFilterProc Virtual Host redirection of /192.168.1.101/examples/hello.txt [Fri Apr 19 00:04:08 2002] [jk_uri_worker_map.c (447)]: Into jk_uri_worker_map_t::map_uri_to_worker [Fri Apr 19 00:04:08 2002] [jk_uri_worker_map.c (464)]: Attempting to map URI '/192.168.1.101/examples/hello.txt' [Fri Apr 19 00:04:08 2002] [jk_uri_worker_map.c (478)]: jk_uri_worker_map_t::map_uri_to_worker, Found an exact match ajp13 - /192.168.2.101/examples/hello.txt [Fri Apr 19 00:04:08 2002] [jk_isapi_plugin.c (721)]: HttpFilterProc [/examples/hello.txt] is a servlet url - should redirect to ajp13 [Fri Apr 19 00:04:08 2002] [jk_isapi_plugin.c (784)]: HttpFilterProc check if [/examples/hello.txt] is points to the web-inf directory [Fri Apr 19 00:04:26 2002] [jk_isapi_plugin.c (657)]: HttpFilterProc started [Fri Apr 19 00:04:26 2002] [jk_isapi_plugin.c (705)]: In HttpFilterProc Virtual Host redirection of /192.168.1.101/examples/ [Fri Apr 19 00:04:26 2002] [jk_uri_worker_map.c (447)]: Into jk_uri_worker_map_t::map_uri_to_worker [Fri Apr 19 00:04:26 2002] [jk_uri_worker_map.c (464)]: Attempting to map URI '/192.168.1.101/examples/' [Fri Apr 19 00:04:26 2002] [jk_uri_worker_map.c (570)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Fri Apr 19 00:04:26 2002] [jk_isapi_plugin.c (711)]: In HttpFilterProc test Default redirection of /examples/ [Fri Apr 19 00:04:26 2002] [jk_uri_worker_map.c (447)]: Into jk_uri_worker_map_t::map_uri_to_worker [Fri Apr 19 00:04:26 2002] [jk_uri_worker_map.c (464)]: Attempting to map URI '/examples/' [Fri Apr 19 00:04:26 2002] [jk_uri_worker_map.c (489)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 - /examples/ [Fri Apr 19 00:04:26 2002] [jk_isapi_plugin.c (721)]: HttpFilterProc [/examples/] is a servlet url - should redirect
Re: ISAPI_REDIRECTOR.DLL problem: Error 500
for anyone having problems with ISAPI_REDIRECTOR.DLL in Tomcat4: As I wrote before, IIS5 + isapi_redirect.dll + Tomcat 4.0.3 was failing. Now I installed Tomcat3.3 from source alongside Tomcat4.0, pointed IIS at the old version of isapi/tomcat, and everything is miraculously working fine. /george george moudry wrote: Hello there. First - Do you know where is the current source code for isapi dll? I only found old source in tomcat 3.3. Next, my problem: I am trying to use Tomcat 4.0.3 with IIS. Both individually function fine. But when ask IIS to give me http://192.168.1.101/examples/;, I get error 500. (see below for log entry). Meanwhile http://192.168.2.101:8080/examples/; (tomcat's port) works fine. Darn. An hour ago, I was doing much better, I was getting The specified module cannot be found. Naively, I went into tomcat's server.xml to turn logging high, and now everything is broken and I only get error 500s. Thanks for any ideas. george los angeles PS. any way to sniff these AJP packets? === ### details: IIS is running on 80 (but some neighbors are continuously trying bad things), and Tomcat is on 8080. My machine: WIndows 2000 SP2 My JDK: Java2 SDK, SE version 1.4.0 ### Content of C:\Tomcat40\logs\localhost_examples_log.2002-04-19.txt (not much action here) ... 2002-04-19 00:01:49 StandardWrapper[/examples:invoker]: Loading container servlet invoker 2002-04-19 00:01:49 invoker: init 2002-04-19 00:01:49 jsp: init Content of C:\Tomcat40\logs\iis_redirect.log: (many attempts to redirect here) ... [Fri Apr 19 00:04:08 2002] [jk_ajp_common.c (1222)]: Into jk_worker_t::init [Fri Apr 19 00:04:08 2002] [jk_worker.c (187)]: wc_create_worker, done [Fri Apr 19 00:04:08 2002] [jk_worker.c (238)]: build_worker_map, removing old ajp13 worker [Fri Apr 19 00:04:08 2002] [jk_worker.c (250)]: build_worker_map, done [Fri Apr 19 00:04:08 2002] [jk_worker.c (111)]: wc_open, done 1 [Fri Apr 19 00:04:08 2002] [jk_isapi_plugin.c (657)]: HttpFilterProc started [Fri Apr 19 00:04:08 2002] [jk_isapi_plugin.c (705)]: In HttpFilterProc Virtual Host redirection of /192.168.1.101/examples/hello.txt [Fri Apr 19 00:04:08 2002] [jk_uri_worker_map.c (447)]: Into jk_uri_worker_map_t::map_uri_to_worker [Fri Apr 19 00:04:08 2002] [jk_uri_worker_map.c (464)]: Attempting to map URI '/192.168.1.101/examples/hello.txt' [Fri Apr 19 00:04:08 2002] [jk_uri_worker_map.c (478)]: jk_uri_worker_map_t::map_uri_to_worker, Found an exact match ajp13 - /192.168.2.101/examples/hello.txt [Fri Apr 19 00:04:08 2002] [jk_isapi_plugin.c (721)]: HttpFilterProc [/examples/hello.txt] is a servlet url - should redirect to ajp13 [Fri Apr 19 00:04:08 2002] [jk_isapi_plugin.c (784)]: HttpFilterProc check if [/examples/hello.txt] is points to the web-inf directory [Fri Apr 19 00:04:26 2002] [jk_isapi_plugin.c (657)]: HttpFilterProc started [Fri Apr 19 00:04:26 2002] [jk_isapi_plugin.c (705)]: In HttpFilterProc Virtual Host redirection of /192.168.1.101/examples/ [Fri Apr 19 00:04:26 2002] [jk_uri_worker_map.c (447)]: Into jk_uri_worker_map_t::map_uri_to_worker [Fri Apr 19 00:04:26 2002] [jk_uri_worker_map.c (464)]: Attempting to map URI '/192.168.1.101/examples/' [Fri Apr 19 00:04:26 2002] [jk_uri_worker_map.c (570)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Fri Apr 19 00:04:26 2002] [jk_isapi_plugin.c (711)]: In HttpFilterProc test Default redirection of /examples/ [Fri Apr 19 00:04:26 2002] [jk_uri_worker_map.c (447)]: Into jk_uri_worker_map_t::map_uri_to_worker [Fri Apr 19 00:04:26 2002] [jk_uri_worker_map.c (464)]: Attempting to map URI '/examples/' [Fri Apr 19 00:04:26 2002] [jk_uri_worker_map.c (489)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 - /examples/ [Fri Apr 19 00:04:26 2002] [jk_isapi_plugin.c (721)]: HttpFilterProc [/examples/] is a servlet url - should redirect to ajp13 [Fri Apr 19 00:04:26 2002] [jk_isapi_plugin.c (784)]: HttpFilterProc check if [/examples/] is points to the web-inf directory -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
ISAPI_REDIRECTOR.DLL problem: Error 500
Hello there. First - Do you know where is the current source code for isapi dll? I only found old source in tomcat 3.3. Next, my problem: I am trying to use Tomcat 4.0.3 with IIS. Both individually function fine. But when ask IIS to give me http://192.168.1.101/examples/;, I get error 500. (see below for log entry). Meanwhile http://192.168.2.101:8080/examples/; (tomcat's port) works fine. Darn. An hour ago, I was doing much better, I was getting The specified module cannot be found. Naively, I went into tomcat's server.xml to turn logging high, and now everything is broken and I only get error 500s. Thanks for any ideas. george los angeles PS. any way to sniff these AJP packets? === ### details: IIS is running on 80 (but some neighbors are continuously trying bad things), and Tomcat is on 8080. My machine: WIndows 2000 SP2 My JDK: Java2 SDK, SE version 1.4.0 ### Content of C:\Tomcat40\logs\localhost_examples_log.2002-04-19.txt (not much action here) ... 2002-04-19 00:01:49 StandardWrapper[/examples:invoker]: Loading container servlet invoker 2002-04-19 00:01:49 invoker: init 2002-04-19 00:01:49 jsp: init Content of C:\Tomcat40\logs\iis_redirect.log: (many attempts to redirect here) ... [Fri Apr 19 00:04:08 2002] [jk_ajp_common.c (1222)]: Into jk_worker_t::init [Fri Apr 19 00:04:08 2002] [jk_worker.c (187)]: wc_create_worker, done [Fri Apr 19 00:04:08 2002] [jk_worker.c (238)]: build_worker_map, removing old ajp13 worker [Fri Apr 19 00:04:08 2002] [jk_worker.c (250)]: build_worker_map, done [Fri Apr 19 00:04:08 2002] [jk_worker.c (111)]: wc_open, done 1 [Fri Apr 19 00:04:08 2002] [jk_isapi_plugin.c (657)]: HttpFilterProc started [Fri Apr 19 00:04:08 2002] [jk_isapi_plugin.c (705)]: In HttpFilterProc Virtual Host redirection of /192.168.1.101/examples/hello.txt [Fri Apr 19 00:04:08 2002] [jk_uri_worker_map.c (447)]: Into jk_uri_worker_map_t::map_uri_to_worker [Fri Apr 19 00:04:08 2002] [jk_uri_worker_map.c (464)]: Attempting to map URI '/192.168.1.101/examples/hello.txt' [Fri Apr 19 00:04:08 2002] [jk_uri_worker_map.c (478)]: jk_uri_worker_map_t::map_uri_to_worker, Found an exact match ajp13 - /192.168.2.101/examples/hello.txt [Fri Apr 19 00:04:08 2002] [jk_isapi_plugin.c (721)]: HttpFilterProc [/examples/hello.txt] is a servlet url - should redirect to ajp13 [Fri Apr 19 00:04:08 2002] [jk_isapi_plugin.c (784)]: HttpFilterProc check if [/examples/hello.txt] is points to the web-inf directory [Fri Apr 19 00:04:26 2002] [jk_isapi_plugin.c (657)]: HttpFilterProc started [Fri Apr 19 00:04:26 2002] [jk_isapi_plugin.c (705)]: In HttpFilterProc Virtual Host redirection of /192.168.1.101/examples/ [Fri Apr 19 00:04:26 2002] [jk_uri_worker_map.c (447)]: Into jk_uri_worker_map_t::map_uri_to_worker [Fri Apr 19 00:04:26 2002] [jk_uri_worker_map.c (464)]: Attempting to map URI '/192.168.1.101/examples/' [Fri Apr 19 00:04:26 2002] [jk_uri_worker_map.c (570)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Fri Apr 19 00:04:26 2002] [jk_isapi_plugin.c (711)]: In HttpFilterProc test Default redirection of /examples/ [Fri Apr 19 00:04:26 2002] [jk_uri_worker_map.c (447)]: Into jk_uri_worker_map_t::map_uri_to_worker [Fri Apr 19 00:04:26 2002] [jk_uri_worker_map.c (464)]: Attempting to map URI '/examples/' [Fri Apr 19 00:04:26 2002] [jk_uri_worker_map.c (489)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 - /examples/ [Fri Apr 19 00:04:26 2002] [jk_isapi_plugin.c (721)]: HttpFilterProc [/examples/] is a servlet url - should redirect to ajp13 [Fri Apr 19 00:04:26 2002] [jk_isapi_plugin.c (784)]: HttpFilterProc check if [/examples/] is points to the web-inf directory -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: ERROR 500
My imagination tells me that you have a servlet file named the same way but in a different case internally.. what I am trying to say is that you probably have the files : DatabaseServlet.java it compiles ok with javac and you have the file : DatabaseServlet.class but in the DatabaseServlet.java file : public class Databaseservlet extends HttpServlet { ... So internally it's named differently Hope it helps -reynir -Original Message- From: Halil AKINCI [mailto:[EMAIL PROTECTED]] Sent: 19. apríl 2002 10:56 To: Jakarta TomCat Subject: ERROR 500 Hi, I'm using a HTML form to run my servlet. I'm using this HTML page to send a parameter to my servlet, and servlet will receive this parameter, connect a MS access database, execute a query and send results. When I want to run my application I received following error message. What is wrong? Any ideas or suggestions would be appreciated. --- Error: 500 Location: /database/servlet/DatabaseServlet Internal Servlet Error: java.lang.NoClassDefFoundError: DatabaseServlet (wrong name: DatabaseServlet/DatabaseServlet) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java, Compiled Code) at org.apache.tomcat.util.depend.DependClassLoader12.defineClassCompat(Unkn own Source) at org.apache.tomcat.util.depend.DependClassLoader.loadClassInternal1(Unkno wn Source) at org.apache.tomcat.util.depend.DependClassLoader12$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at org.apache.tomcat.util.depend.DependClassLoader12.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code) at org.apache.tomcat.facade.ServletHandler.getServlet(Unknown Source) at org.apache.tomcat.facade.ServletHandler.preInit(Unknown Source) at org.apache.tomcat.facade.ServletHandler.init(Unknown Source) at org.apache.tomcat.facade.ServletHandler.service(Unknown Source) at org.apache.tomcat.core.ContextManager.internalService(Unknown Source) at org.apache.tomcat.core.ContextManager.service(Unknown Source) at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unk nown Source) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source) at java.lang.Thread.run(Thread.java:472) -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Ynt: ERROR 500
I checked it, but it is correct... public class DatabaseServlet extends HttpServlet { ... - Original Message - From: Reynir Hübner [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, April 19, 2002 2:02 PM Subject: RE: ERROR 500 My imagination tells me that you have a servlet file named the same way but in a different case internally.. what I am trying to say is that you probably have the files : DatabaseServlet.java it compiles ok with javac and you have the file : DatabaseServlet.class but in the DatabaseServlet.java file : public class Databaseservlet extends HttpServlet { ... So internally it's named differently Hope it helps -reynir -Original Message- From: Halil AKINCI [mailto:[EMAIL PROTECTED]] Sent: 19. apríl 2002 10:56 To: Jakarta TomCat Subject: ERROR 500 Hi, I'm using a HTML form to run my servlet. I'm using this HTML page to send a parameter to my servlet, and servlet will receive this parameter, connect a MS access database, execute a query and send results. When I want to run my application I received following error message. What is wrong? Any ideas or suggestions would be appreciated. --- Error: 500 Location: /database/servlet/DatabaseServlet Internal Servlet Error: java.lang.NoClassDefFoundError: DatabaseServlet (wrong name: DatabaseServlet/DatabaseServlet) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java, Compiled Code) at org.apache.tomcat.util.depend.DependClassLoader12.defineClassCompat(Unkn own Source) at org.apache.tomcat.util.depend.DependClassLoader.loadClassInternal1(Unkno wn Source) at org.apache.tomcat.util.depend.DependClassLoader12$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at org.apache.tomcat.util.depend.DependClassLoader12.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code) at org.apache.tomcat.facade.ServletHandler.getServlet(Unknown Source) at org.apache.tomcat.facade.ServletHandler.preInit(Unknown Source) at org.apache.tomcat.facade.ServletHandler.init(Unknown Source) at org.apache.tomcat.facade.ServletHandler.service(Unknown Source) at org.apache.tomcat.core.ContextManager.internalService(Unknown Source) at org.apache.tomcat.core.ContextManager.service(Unknown Source) at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unk nown Source) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source) at java.lang.Thread.run(Thread.java:472) -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: ERROR 500
Ok, let's see, according to the : Location: /database/servlet/DatabaseServlet the fully qualified name of the servlet is database.servlet.DatabaseServlet as the /servlet/* path is mapped onto invoker servlet this may cause problems(?). to execute the servlet in that package / path you must have the URI /servlet/database/servlet/DatabaseServlet now I am only trying to make an educated guess on what is wrong. it may have something to do with where you put your servlet, in the web-application. the path for servlets is : webapp/WEB-INF/classes/ so the path to your servlet should be : webapp/WEB-INF/classes/database/servlet/DataBaseServlet or in the according path within a jarfile. hope it helps -reynir - Original Message - From: Reynir Hübner [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, April 19, 2002 2:02 PM Subject: RE: ERROR 500 My imagination tells me that you have a servlet file named the same way but in a different case internally.. what I am trying to say is that you probably have the files : DatabaseServlet.java it compiles ok with javac and you have the file : DatabaseServlet.class but in the DatabaseServlet.java file : public class Databaseservlet extends HttpServlet { ... So internally it's named differently Hope it helps -reynir -Original Message- From: Halil AKINCI [mailto:[EMAIL PROTECTED]] Sent: 19. apríl 2002 10:56 To: Jakarta TomCat Subject: ERROR 500 Hi, I'm using a HTML form to run my servlet. I'm using this HTML page to send a parameter to my servlet, and servlet will receive this parameter, connect a MS access database, execute a query and send results. When I want to run my application I received following error message. What is wrong? Any ideas or suggestions would be appreciated. --- Error: 500 Location: /database/servlet/DatabaseServlet Internal Servlet Error: java.lang.NoClassDefFoundError: DatabaseServlet (wrong name: DatabaseServlet/DatabaseServlet) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java, Compiled Code) at org.apache.tomcat.util.depend.DependClassLoader12.defineClassCompat(Unkn own Source) at org.apache.tomcat.util.depend.DependClassLoader.loadClassInternal1(Unkno wn Source) at org.apache.tomcat.util.depend.DependClassLoader12$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at org.apache.tomcat.util.depend.DependClassLoader12.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code) at org.apache.tomcat.facade.ServletHandler.getServlet(Unknown Source) at org.apache.tomcat.facade.ServletHandler.preInit(Unknown Source) at org.apache.tomcat.facade.ServletHandler.init(Unknown Source) at org.apache.tomcat.facade.ServletHandler.service(Unknown Source) at org.apache.tomcat.core.ContextManager.internalService(Unknown Source) at org.apache.tomcat.core.ContextManager.service(Unknown Source) at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unk nown Source) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source) at java.lang.Thread.run(Thread.java:472) -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: ERROR 500
It seems like your DatabaseServlet.class is not in your Web-inf/classese. zlin -Original Message- From: Halil AKINCI [SMTP:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 5:56 AM To: Jakarta TomCat Subject: ERROR 500 Hi, I'm using a HTML form to run my servlet. I'm using this HTML page to send a parameter to my servlet, and servlet will receive this parameter, connect a MS access database, execute a query and send results. When I want to run my application I received following error message. What is wrong? Any ideas or suggestions would be appreciated. -- - Error: 500 Location: /database/servlet/DatabaseServlet Internal Servlet Error: java.lang.NoClassDefFoundError: DatabaseServlet (wrong name: DatabaseServlet/DatabaseServlet) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java, Compiled Code) at org.apache.tomcat.util.depend.DependClassLoader12.defineClassCompat(Unknow n Source) at org.apache.tomcat.util.depend.DependClassLoader.loadClassInternal1(Unknown Source) at org.apache.tomcat.util.depend.DependClassLoader12$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at org.apache.tomcat.util.depend.DependClassLoader12.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code) at org.apache.tomcat.facade.ServletHandler.getServlet(Unknown Source) at org.apache.tomcat.facade.ServletHandler.preInit(Unknown Source) at org.apache.tomcat.facade.ServletHandler.init(Unknown Source) at org.apache.tomcat.facade.ServletHandler.service(Unknown Source) at org.apache.tomcat.core.ContextManager.internalService(Unknown Source) at org.apache.tomcat.core.ContextManager.service(Unknown Source) at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unkno wn Source) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source) at java.lang.Thread.run(Thread.java:472) -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
internal error 500
Iam new to this group.I get this error frequently when I try to display a WML card in NOKIA WAP TOOL KIT.I use tomcat as my server.can any one help me? I have spent lot of time in this problem. karthik -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: internal error 500
LOOK at the Jetspeed project, they have wap support in there it's a portal page, but may you can get some ideas... http://jakarta.apache.org/jetspeed/index.html todd http://www.wiserlabz.com collaborative effort to promote Novell and Open Source solutions KARTHIK M wrote: Iam new to this group.I get this error frequently when I try to display a WML card in NOKIA WAP TOOL KIT.I use tomcat as my server.can any one help me? I have spent lot of time in this problem. karthik -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Error 500, Examples work
I ran into this a while back. Attribute page has no value!? ...quite a bizarre error, isn't it? I think that what I found out about this was that it happens for particularly large jsp pages (not large in terms of lots of HTML output but in terms of having lots of code in them) for some unknown reason. I believe that the solution was either to increase the heap size (using -Xms and -Xmx in the java command parameters) and/or to specify that java was running in server mode (I forget where that is done now - anyone?). HTH, -Jeff Heiko LettmannTo: [EMAIL PROTECTED] h.lettmann@acc: irsoft.de Subject: Error 500, Examples work 03/13/99 03:04 PM Please respond to Tomcat Users List These are the error messages I get when I try to open a *jsp file: org.apache.jasper.compiler.ParseException: /zeit.jsp(3,15) Attribute page has no value at org.apache.jasper.compiler.JspReader.parseAttributeValue(JspReader.java:563) at org.apache.jasper.compiler.JspReader.parseTagAttributesBean(JspReader.java:6 16) at org.apache.jasper.compiler.Parser$Bean.accept(Parser.java:654) at org.apache.jasper.compiler.Parser.parse(Parser.java:1145) at org.apache.jasper.compiler.Parser.parse(Parser.java:1103) at org.apache.jasper.compiler.Parser.parse(Parser.java:1099) at org.apache.jasper.compiler.ParserController.parse(ParserController.java:213) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:210) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe rvlet.java:177) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:189) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext
Error 500, Examples work
These are the error messages I get when I try to open a *jsp file: org.apache.jasper.compiler.ParseException: /zeit.jsp(3,15) Attribute page has no value at org.apache.jasper.compiler.JspReader.parseAttributeValue(JspReader.java:563) at org.apache.jasper.compiler.JspReader.parseTagAttributesBean(JspReader.java:6 16) at org.apache.jasper.compiler.Parser$Bean.accept(Parser.java:654) at org.apache.jasper.compiler.Parser.parse(Parser.java:1145) at org.apache.jasper.compiler.Parser.parse(Parser.java:1103) at org.apache.jasper.compiler.Parser.parse(Parser.java:1099) at org.apache.jasper.compiler.ParserController.parse(ParserController.java:213) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:210) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe rvlet.java:177) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:189) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: 1012) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107 ) at java.lang.Thread.run(Thread.java:536) I am using Tomcat 4.03, Apache 1.32 and J2sdk1.4.0. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Error 500
Saludos , Ignacio J. Ortega -Mensaje original- De: btquah [mailto:[EMAIL PROTECTED]] Enviado el: viernes 18 de enero de 2002 6:14 Para: [EMAIL PROTECTED] Asunto: Error 500 hi, When I run my jsp program, a list of errors pop-up as below Error: 500 Location: /edentalpro/sendmail.jsp Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile class for JSP/usr/local/tomcat/jakarta-tomcat-3.2.4/work/localhost_8080% 2Fedentalpro/_0002fsendmail_0002ejspsendmail_jsp_0.java:14: Package javax.mail not found in import. import javax.mail.*; ^ /usr/local/tomcat/jakarta-tomcat-3.2.4/work/localhost_8080%2Fe dentalpro/_0002fsendmail_0002ejspsendmail_jsp_0.java:15: Package javax.mail.internet not found in import. import javax.mail.internet.*; ^ 2 errors at org.apache.jasper.compiler.Compiler.compile(Compiler.java:282) at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612) at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader1 2.java:146) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfN ecessary(JspServlet.java:258) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service (JspServlet.java:268) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet .java:429) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper .java:405) at org.apache.tomcat.core.Handler.service(Handler.java:287) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextM anager.java:806) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752) at org.apache.tomcat.service.http.HttpConnectionHandler.processCo nnection(HttpConnectionHandler.java:213) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoin t.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPo ol.java:501) at java.lang.Thread.run(Thread.java:479) Do you know what is going wrong? Actually I have upload the mail.jar as well as activation.jar to WEB-INF/lib and also ../jakarta-tomcat-3.2.4/lib. But both are not working.. Any idea or suggestions would be greatly appreciated. Best Regards, Boon Thian QUAH Software Engineer CMS Solutions Sdn.Bhd -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Error 500
hi, When I run my jsp program, a list of errors pop-up as below Error: 500 Location: /edentalpro/sendmail.jsp Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile class for JSP/usr/local/tomcat/jakarta-tomcat-3.2.4/work/localhost_8080%2Fedentalpro/_0002fsendmail_0002ejspsendmail_jsp_0.java:14: Package javax.mail not found in import. import javax.mail.*; ^ /usr/local/tomcat/jakarta-tomcat-3.2.4/work/localhost_8080%2Fedentalpro/_0002fsendmail_0002ejspsendmail_jsp_0.java:15: Package javax.mail.internet not found in import. import javax.mail.internet.*; ^ 2 errors at org.apache.jasper.compiler.Compiler.compile(Compiler.java:282) at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612) at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:258) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:268) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405) at org.apache.tomcat.core.Handler.service(Handler.java:287) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501) at java.lang.Thread.run(Thread.java:479) Do you know what is going wrong? Actually I have upload the mail.jar as well as activation.jar to WEB-INF/lib and also ../jakarta-tomcat-3.2.4/lib. But both are not working.. Any idea or suggestions would be greatly appreciated. Best Regards, Boon Thian QUAH Software Engineer CMS Solutions Sdn.Bhd
Included servlet error: 500
Hi, I am running Tomcat 3.2.3 on a Linux machine. My web application is running just fine, however every morning when I come into work, Tomcat needs to be restarted because when I load the page, this error appears: Included servlet error: 500 Location: /apps/home.jsp Error Location: /appps/include/header.jsp Internal Servlet Error: javax.servlet.ServletException: Error during query: Unexpected Exception: java.sql.SQLException at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContext) Root cause: java.sql.SQLException: Error during query: Unexpected exception: java.sql.SQLException at org.gft.mm.mysql.Connection.execSQL(Connection.java:807) ... At first I thought the database connection was being lost, however I set it to time out after 15 seconds, and the connection did re-initialized properly. Any help would be much appreciated. Thank you, Ree Migliozzi -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Tomcat and IIS Error 500
I have installed Tomcat 4.0 on a client machine running Win 2K Server. IIS is also installed and running on this server. I followed the instructions for attaching Tomcat to IIS as listed on the Tomcat web site. I also added my application to the uriworkermap.properties file. After following all the instructions, I rebooted the server and Tomcat and IIS both started. I can access my app via port 8080. If I try to access it through IIS I get an error 500. Any ideas what is causing this? Thanks, Jim Urban Product Manager Netsteps Inc. Suite 505E 1 Pierce Pl. Itasca, IL 60143 Voice: (630) 250-3045 x2164 Fax: (630) 250-3046 -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Tomcat and IIS Error 500
Could you tell me your configuration of your servlet, and the error message? Rgds, Andy. At 08:47 14/12/2001 -0600, you wrote: I have installed Tomcat 4.0 on a client machine running Win 2K Server. IIS is also installed and running on this server. I followed the instructions for attaching Tomcat to IIS as listed on the Tomcat web site. I also added my application to the uriworkermap.properties file. After following all the instructions, I rebooted the server and Tomcat and IIS both started. I can access my app via port 8080. If I try to access it through IIS I get an error 500. Any ideas what is causing this? Thanks, Jim Urban Product Manager Netsteps Inc. Suite 505E 1 Pierce Pl. Itasca, IL 60143 Voice: (630) 250-3045 x2164 Fax: (630) 250-3046 -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]