Re: Internal Server Error
Please remove [EMAIL PROTECTED] from this mailing list! - Original Message - From: magnus-jowena chua [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Wednesday, April 24, 2002 1:53 AM Subject: Internal Server Error Has anyone encountered this error? Syntax error in source /admin/secure/role_management/roles.jsp.java:13: Superclass com.orionserver.http.OrionHttpJspPage of class /admin/secure/role_management/roles.jsp not found. public class /admin/secure/role_management/roles.jsp extends com.orionserver.http.OrionHttpJspPage Jo
Re: Internal server error
Have you looked at your application log? On Wed, May 30, 2001 at 02:12:41PM +0200, Johan Fredriksson wrote: I get this message every now and then... 500 Internal Server Error java.lang.NullPointerException at com.evermind[Orion/1.5.1 (build 10410)].server.http.JSPBeanInfo._djb(Unknown Source) at com.evermind[Orion/1.5.1 (build 10410)].server.http.JSPPage._bec(Unknown Source) at com.evermind[Orion/1.5.1 (build 10410)]._ah._ybd(Unknown Source) at com.evermind[Orion/1.5.1 (build 10410)]._ah._pcd(Unknown Source) at com.evermind[Orion/1.5.1 (build 10410)].server.http.JSPServlet.service(Unknown Source) at com.evermind[Orion/1.5.1 (build 10410)]._cob._xdd(Unknown Source) at com.evermind[Orion/1.5.1 (build 10410)]._cob._shc(Unknown Source) at com.evermind[Orion/1.5.1 (build 10410)]._iz._rzc(Unknown Source) at com.evermind[Orion/1.5.1 (build 10410)]._iz._ft(Unknown Source) at com.evermind[Orion/1.5.1 (build 10410)]._ip.run(Unknown Source) And I have no idea what is causing it. If I reload the page the error message goes away. Anyone have a clue of where to look for the error and where should I put my try catch so the users don't get this ugly errormessage? Maybe I'll just have to create an errorpage that handles this specific error. Johan -- Adam Cassar Technical Development Manager ___ NetRegistry http://www.netregistry.au.com Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088 PO Box 270 Broadway NSW 2007 Australia
RE: Internal Server Error
- check in your application.log file for that application, the errors will be there - for more detail, set up a mail session and a mail address to email log messages to (in orion-application.xml) - then you get detailed request information as well in the trace -mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Toth [@HOTMAIL], Adam (E-mail) Sent: Tuesday, April 03, 2001 8:24 PM To: Orion-Interest Subject: Internal Server Error Hi, We're testing our web project (JSPs, Servlets and MS SQL 2000 DB). Orion app server version is v1.4.0. The test tool is MSWeb Application Stress v1.1. It's cool and free anyway, take a look: http://webtool.rte.microsoft.com/ The problem is minor, but it would be nice to clarify. During a 10 hour reliability test, some error appears, but only for POST methods. (The testing is replaying a recorded "browsing" by sending the POST and GET requests to the server, so it's like an average user, just no delay between the requests. FYI: Number of hits: 10798682 Requests per Second: 299.88, so it's quite busy). We have two problematic POSTs: Problem#1: URI: POST /login?action=dologout Hit Count:42018 Result Codes Code Description Count -- 200 OK42001 500 Internal Server Error 17 Problem#2: URI: POST /login?action=login-frommain Hit Count:42018 Result Codes Code Description Count -- 200 OK42010 500 Internal Server Error 8 What is interesting that there are no other POSTs in the test, just GETs, so it's somehow seems to be related to the type of the request. We're doing heavy logs during the test using log4j, so we have the complete log in a file. There is no detected problem in the log. The possible System.outs from Orion are lost, since the window it's running has only 999 line buffer. As you probably noticed, these POST methods are going to a servlet, mapped to /login. Other mappings are used of course, so the problem is not related to servlet mapping. Unfortunately I don't know when those logs coming (at once or in random intervals) My questions: - how to store orion logs? - any ideas what is this problem? - is there any way to catch these kind of errors? Any help would be very nice. Thank you in advance, Adam
Re: Internal Server Error
I use this command line for starting orion on a windows machine java -jar -Djdbc.connection.debug=true orion.jar 1 \orionlog\systemout.txt 2 \orionlog\systemerr.txt Johan - Original Message - From: "Toth [@HOTMAIL], Adam (E-mail)" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Tuesday, April 03, 2001 12:23 PM Subject: Internal Server Error Hi, We're testing our web project (JSPs, Servlets and MS SQL 2000 DB). Orion app server version is v1.4.0. The test tool is MSWeb Application Stress v1.1. It's cool and free anyway, take a look: http://webtool.rte.microsoft.com/ The problem is minor, but it would be nice to clarify. During a 10 hour reliability test, some error appears, but only for POST methods. (The testing is replaying a recorded "browsing" by sending the POST and GET requests to the server, so it's like an average user, just no delay between the requests. FYI: Number of hits: 10798682 Requests per Second: 299.88, so it's quite busy). We have two problematic POSTs: Problem#1: URI: POST /login?action=dologout Hit Count:42018 Result Codes Code Description Count -- 200 OK42001 500 Internal Server Error 17 Problem#2: URI: POST /login?action=login-frommain Hit Count:42018 Result Codes Code Description Count -- 200 OK42010 500 Internal Server Error 8 What is interesting that there are no other POSTs in the test, just GETs, so it's somehow seems to be related to the type of the request. We're doing heavy logs during the test using log4j, so we have the complete log in a file. There is no detected problem in the log. The possible System.outs from Orion are lost, since the window it's running has only 999 line buffer. As you probably noticed, these POST methods are going to a servlet, mapped to /login. Other mappings are used of course, so the problem is not related to servlet mapping. Unfortunately I don't know when those logs coming (at once or in random intervals) My questions: - how to store orion logs? - any ideas what is this problem? - is there any way to catch these kind of errors? Any help would be very nice. Thank you in advance, Adam
RE: Internal Server Error
Thank you for the replies! From: Mike Cannon-Brookes Sent: Tuesday, April 03, 2001 13:56 - check in your application.log file for that application, the errors will be there Thanks, it's there, and ehh, I've found an interesting problem. So it was me.. :| In the application log (oriondir\application-deployments\appname\application.log ) I've found a full stacktrace From: Johan Fredriksson Sent: Tuesday, April 03, 2001 14:34 I use this command line for starting orion on a windows machine java -jar -Djdbc.connection.debug=true orion.jar 1 \orionlog\systemout.txt 2 \orionlog\systemerr.txt Thank you also for the reply, but our orion running as a service, so I'm in doubt if it can work. But I'll try it of course. BR, Adam
RE: Internal Server Error
You can also redirect stout to a file. Usage: java -jar orion.jar [switches] -install - installs the server, activates the admin account and rewrites text fi les to match the OS linefeed etc -quiet - surpress standard output -userThreads - enables context lookup support from user-created threads -config - specifies a location to server.xml -console - launches the admin console in-process -validateXML - valides (strictly) the XML files when reading them. -out [file] - specifies a file to route standard output to -err [file] - specifies a file to route error output to -version - Prints the version and exits. -? -help - print (this) help message so java -jar -out stdout.txt -err stderr.txt This should work from a service AFAIK [EMAIL PROTECTED] 04/04/01 01:36am Thank you for the replies! From: Mike Cannon-Brookes Sent: Tuesday, April 03, 2001 13:56 - check in your application.log file for that application, the errors will be there Thanks, it's there, and ehh, I've found an interesting problem. So it was me.. :| In the application log (oriondir\application-deployments\appname\application.log ) I've found a full stacktrace From: Johan Fredriksson Sent: Tuesday, April 03, 2001 14:34 I use this command line for starting orion on a windows machine java -jar -Djdbc.connection.debug=true orion.jar 1 \orionlog\systemout.txt 2 \orionlog\systemerr.txt Thank you also for the reply, but our orion running as a service, so I'm in doubt if it can work. But I'll try it of course. BR, Adam
Re: Internal server error, but no logs
the stuff should be in the logs (first!), though.. -Original Message- From: Sarathy Mattaparti [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Date: Freitag, 28. Juli 2000 08:57 Subject: Re: Internal server error, but no logs its not a bug... you can see the error in netscape... if you want to see the error in internet explorer , you have to change the browser settings tools - internet options - advanced - uncheck "show friendly http error messages" Sarathy Sometimes when getting errors in JSPs, I get HTTP 500 error code, but I cannot find anything in the logs. Is this a bug? Shouldn´t there be anything in the server.log file? /Thanks, Mattias Arbin Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
Re: Internal server error, but no logs
One more thing. I dont even see any exception stack trace in the console window. /Mattias - Original Message - From: "Mattias Arbin" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Thursday, July 27, 2000 9:25 PM Subject: Internal server error, but no logs Sometimes when getting errors in JSPs, I get HTTP 500 error code, but I cannot find anything in the logs. Is this a bug? Shouldn´t there be anything in the server.log file? /Thanks, Mattias Arbin
Re: Internal server error, but no logs
its not a bug... you can see the error in netscape... if you want to see the error in internet explorer , you have to change the browser settings tools - internet options - advanced - uncheck "show friendly http error messages" Sarathy Sometimes when getting errors in JSPs, I get HTTP 500 error code, but I cannot find anything in the logs. Is this a bug? Shouldn´t there be anything in the server.log file? /Thanks, Mattias Arbin Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com