Hi Amy,

I'm getting this error as well, and I think it's my driver from NetDirect.
I've noticed that the driver (using trace stacks) makes a call to get a
connection, and then fails to get that connection.

Also, I'm using synchronized on the methods where I want to make sure the
threads are not getting corrupted because I am also using global class
variables.

Mark Mynatt
[EMAIL PROTECTED]

-----Original Message-----
From: Amy Wan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 29, 2000 4:31 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Strange! 500 Internal Server Error


Hi

I am not sure if it is a requirement to restart JRUN Default server after I
make changes to any JSP page.

I found that after I restart JRun A FEW TIMES, the 500 Internal Error gone
and my JSP pages work fine.

The other funny thing is if I access a JSP page which I have never accessed
before, I will get
EXCEPTION 1 (See below) once and  EXCEPTION 2 when I reload the page.
Then when I restarted JRun Default Server, the page works again.

Therefore, I concluded that it is not my JSP page error.

The third thing is I have this line in my JSP page
response.setIntHeader("Expires", -1);
I got Exception 3 (see below)
The same line works in Resin1.1.3


EXCEPTION 1
[java.lang.NullPointerException]
java.lang.NullPointerException
        at
com.jclark.xsl.om.NameTableImpl.createName(NameTableImpl.java(Compiled
Code))
        at
com.jclark.xsl.om.NameTableImpl.createName(NameTableImpl.java(Compiled
Code))
        at
com.jclark.xsl.om.NameTableImpl$NamespacePrefixMapImpl.expandAttributeName(N
ameTableImpl.java(Compiled Code))
        at com.jclark.xsl.expr.ExprParser.expandName(ExprParser.java)
        at com.jclark.xsl.expr.ExprParser.parseNodeTest(ExprParser.java)
        at com.jclark.xsl.expr.ExprParser.parseStep(ExprParser.java)
        at
com.jclark.xsl.expr.ExprParser.parseRelativeLocationPath(ExprParser.java)
        at
com.jclark.xsl.expr.ExprParser.parseRelativeLocationPath(ExprParser.java)
        at com.jclark.xsl.expr.ExprParser.parsePathExpr(ExprParser.java)
        at com.jclark.xsl.expr.ExprParser.parseUnionExpr(ExprParser.java)
        at com.jclark.xsl.expr.ExprParser.parseUnaryExpr(ExprParser.java)
        at
com.jclark.xsl.expr.ExprParser.parseMultiplicativeExpr(ExprParser.java)
        at com.jclark.xsl.expr.ExprParser.parseAdditiveExpr(ExprParser.java)
        at
com.jclark.xsl.expr.ExprParser.parseRelationalExpr(ExprParser.java)
        at com.jclark.xsl.expr.ExprParser.parseEqualityExpr(ExprParser.java)
        at com.jclark.xsl.expr.ExprParser.parseAndExpr(ExprParser.java)
        at com.jclark.xsl.expr.ExprParser.parseOrExpr(ExprParser.java)
        at com.jclark.xsl.expr.ExprParser.parseExpr(ExprParser.java)
        at
com.jclark.xsl.expr.ExprParser.parseConvertibleExpr(ExprParser.java)
        at com.jclark.xsl.expr.ExprParser.parseNodeSetExpr(ExprParser.java)
        at com.jclark.xsl.tr.SheetImpl$ForEachParser.parse(SheetImpl.java)
        at com.jclark.xsl.tr.SheetImpl.parseActions(SheetImpl.java)
        at com.jclark.xsl.tr.SheetImpl.parseActions(SheetImpl.java)
        at com.jclark.xsl.tr.SheetImpl$TemplateParser.parse(SheetImpl.java)
        at com.jclark.xsl.tr.SheetImpl.parseTopLevel(SheetImpl.java)
        at com.jclark.xsl.tr.SheetImpl$IncludeParser.parse(SheetImpl.java)
        at com.jclark.xsl.tr.SheetImpl$ImportParser.parse(SheetImpl.java)
        at com.jclark.xsl.tr.SheetImpl.parseTopLevel(SheetImpl.java)
        at com.jclark.xsl.tr.SheetImpl$IncludeParser.parse(SheetImpl.java)
        at com.jclark.xsl.tr.SheetImpl$ImportParser.parse(SheetImpl.java)
        at com.jclark.xsl.tr.SheetImpl.parseTopLevel(SheetImpl.java)
        at com.jclark.xsl.tr.SheetImpl$IncludeParser.parse(SheetImpl.java)
        at com.jclark.xsl.tr.SheetImpl$ImportParser.parse(SheetImpl.java)
        at com.jclark.xsl.tr.SheetImpl.parseTopLevel(SheetImpl.java)
        at com.jclark.xsl.tr.SheetImpl.parseSheet(SheetImpl.java)
        at com.jclark.xsl.tr.SheetImpl.<init>(SheetImpl.java)
        at com.jclark.xsl.tr.EngineImpl.createSheet(EngineImpl.java)
        at
com.jclark.xsl.sax.XSLProcessorImpl.loadStylesheet(XSLProcessorImpl.java)
        at allaire.jrun.jsp.XT.<init>(XT.java:49)
        at
allaire.jrun.jsp.JSPServlet.getLanguageProcessor(JSPServlet.java:476)
        at allaire.jrun.jsp.JSPServlet.processPage(JSPServlet.java:416)
        at allaire.jrun.jsp.JSPServlet.createServlet(JSPServlet.java:392)
        at allaire.jrun.jsp.JSPServlet.loadPage(JSPServlet.java:201)
        at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java:168)
        at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
        at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
        at
allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.jav
a:88)
        at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
        at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
        at allaire.jrun.jrpp.ProxyEndpoint.run(ProxyEndpoint.java:354)
        at allaire.jrun.ThreadPool.run(ThreadPool.java(Compiled Code))
        at allaire.jrun.WorkerThread.run(WorkerThread.java:74)

EXCEPTION 2

null
java.lang.NullPointerException
        at
com.jclark.xsl.om.NameTableImpl.createName(NameTableImpl.java(Compiled
Code))
        at
com.jclark.xsl.om.NameTableImpl.createName(NameTableImpl.java(Compiled
Code))
        at com.jclark.xsl.tr.EngineImpl.<init>(EngineImpl.java)
        at
com.jclark.xsl.sax.XSLProcessorImpl.loadStylesheet(XSLProcessorImpl.java)
        at allaire.jrun.jsp.XT.<init>(XT.java:49)
        at
allaire.jrun.jsp.JSPServlet.getLanguageProcessor(JSPServlet.java:476)
        at allaire.jrun.jsp.JSPServlet.processPage(JSPServlet.java:416)
        at allaire.jrun.jsp.JSPServlet.createServlet(JSPServlet.java:392)
        at allaire.jrun.jsp.JSPServlet.loadPage(JSPServlet.java:201)
        at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java:168)
        at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
        at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
        at
allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.jav
a:88)
        at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
        at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
        at allaire.jrun.jrpp.ProxyEndpoint.run(ProxyEndpoint.java:354)
        at allaire.jrun.ThreadPool.run(ThreadPool.java(Compiled Code))
        at allaire.jrun.WorkerThread.run(WorkerThread.java:74)

EXCEPTION 3
-1
java.lang.ArrayIndexOutOfBoundsException: -1
        at
allaire.jrun.util.SimpleNumberFormat.formatToBuf(SimpleNumberFormat.java:43)
        at
allaire.jrun.util.SimpleNumberFormat.format(SimpleNumberFormat.java:9)
        at
allaire.jrun.ServletConnection.formatIntegerHeader(ServletConnection.java:35
3)
        at
allaire.jrun.ServletConnection.setIntHeader(ServletConnection.java:358)
        at
jrun__enter_process2ejsp12._jspService(jrun__enter_process2ejsp12.java:82)
        at allaire.jrun.jsp.HttpJSPServlet.service(HttpJSPServlet.java:40)
        at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
        at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
        at
allaire.jrun.servlet.JRunNamedDispatcher.forward(JRunNamedDispatcher.java:34
)
        at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java:174)
        at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
        at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
        at
allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.jav
a:88)
        at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
        at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
        at allaire.jrun.jrpp.ProxyEndpoint.run(ProxyEndpoint.java:354)
        at allaire.jrun.ThreadPool.run(ThreadPool.java(Compiled Code))
        at allaire.jrun.WorkerThread.run(WorkerThread.java:74)

=>-----Original Message-----
=>From: Scott Stirling [mailto:[EMAIL PROTECTED]]
=>Sent: Tuesday, August 29, 2000 4:14 PM
=>To: [EMAIL PROTECTED]
=>Subject: RE: Strange! 500 Internal Server Error
=>
=>
=>Simplify the JSP so you can reproduce the error with a
=>minimum of code and then
=>post it here.  We'll be able to see if it's a Java error or a
=>JRun bug or what.
=>
=>Scott Stirling
=>Allaire
=>
=>> -----Original Message-----
=>> From: Amy Wan [mailto:[EMAIL PROTECTED]]
=>> Sent: Tuesday, August 29, 2000 5:31 PM
=>> To: '[EMAIL PROTECTED]'
=>> Subject: RE: Strange! 500 Internal Server Error
=>>
=>>
=>> I don't agree it is the Java codes problem. I have the same
=>problem but my
=>> jsp pages work fine when I use Resin 1.1.3 as the servlet engine.
=>>
=>> =>-----Original Message-----
=>> =>From: Allgaier, Adam (MED, Summer Intern)
=>> =>[mailto:[EMAIL PROTECTED]]
=>> =>Sent: Tuesday, August 22, 2000 10:51 AM
=>> =>To: '[EMAIL PROTECTED]'
=>> =>Subject: RE: Strange! 500 Internal Server Error
=>> =>
=>> =>
=>> =>it's a prblem with your Java cods, where you are using the
=>> =>Long.parseLong(string) command.  Perhaps you are trying to parse
=>> =>something with a decimal value? (That's a double)
=>> =>
=>> =>Adam Allgaier
=>> =>GE Medical Systems
=>> =>Global CT, eDevelopment
=>> =>http://www.gemedicalsystems.com
=>> =>
=>> =>
=>> =>-----Original Message-----
=>> =>From: Jennifer O'Neill [mailto:[EMAIL PROTECTED]]
=>> =>Sent: Tuesday, August 22, 2000 12:38 PM
=>> =>To: [EMAIL PROTECTED]
=>> =>Subject: Strange! 500 Internal Server Error
=>> =>
=>> =>
=>> =>I keep getting the following 500 Internal Server error and
=>> =>trace when I
=>> =>try
=>> =>to access the JSP page directly from the machine where JRun /
=>> =>JSP Files
=>> =>are
=>> =>running. If I do this from any other machine it seems to
=>be fine.  All
=>> =>systems I've tried had IE5.0.  Have you guys every seen
=>anything like
=>> =>this?
=>> =>
=>> =>Thanks,
=>> =>Jennifer
=>> =>
=>> =>500 Internal Server Error
=>> =>
=>> =>java.lang.NumberFormatException:
=>> => at java.lang.Long.parseLong(Long.java:331)
=>> => at java.lang.Long.parseLong(Long.java:363)
=>> => at
=>> =>jrun__ic2Resources__script__enduser__ie4__jsp__questionHead2ej
=>> =>sp35._jspS
=>> =>ervi
=>> =>ce(jrun__ic2Resources__script__enduser__ie4__jsp__questionHead
=>> =>2ejsp35.ja
=>> =>va:5
=>> =>6)
=>> => at
=>allaire.jrun.jsp.HttpJSPServlet.service(HttpJSPServlet.java:40)
=>> => at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
=>> => at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
=>> => at
=>> =>allaire.jrun.servlet.JRunNamedDispatcher.forward(JRunNamedDisp
=>> =>atcher.jav
=>> =>a:34
=>> =>)
=>> => at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java:174)
=>> => at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
=>> => at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
=>> => at
=>> =>allaire.jrun.servlet.JRunRequestDispatcher.include(JRunRequest
=>> =>Dispatcher
=>> =>.jav
=>> =>a:126)
=>> => at
=>allaire.jrun.jsp.JRunPageContext.include(JRunPageContext.java:341)
=>> => at
=>> =>jrun__ic2Resources__script__enduser__ie4__jsp__window2ejsp2f._
=>> =>jspService
=>> =>(jru
=>>
=>=>n__ic2Resources__script__enduser__ie4__jsp__window2ejsp2f.java:104)
=>> => at
=>allaire.jrun.jsp.HttpJSPServlet.service(HttpJSPServlet.java:40)
=>> => at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
=>> => at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
=>> => at
=>> =>allaire.jrun.servlet.JRunNamedDispatcher.forward(JRunNamedDisp
=>> =>atcher.jav
=>> =>a:34
=>> =>)
=>> => at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java:174)
=>> => at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
=>> => at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
=>> => at
=>> =>allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequest
=>> =>Dispatcher
=>> =>.jav
=>> =>a:88)
=>> => at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
=>> => at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
=>> => at allaire.jrun.jrpp.ProxyEndpoint.run(ProxyEndpoint.java:354)
=>> => at allaire.jrun.ThreadPool.run(ThreadPool.java:267)
=>> => at allaire.jrun.WorkerThread.run(WorkerThread.java:74)
=>
=>--------------------------------------------------------------
=>----------------
=>Archives: http://www.egroups.com/group/jrun-interest/
=>Unsubscribe:
=>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=list
=>s/jrun_talk
=>or send a message to [EMAIL PROTECTED] with
=>'unsubscribe' in the body.
=>
----------------------------------------------------------------------------
--
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe:
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe'
in the body.

------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the 
body.

Reply via email to