Bug report #759 has just been filed.

You can view the report at the following URL:

   <http://znutar.cortexity.com/BugRatViewer/ShowReport/759>

REPORT #759 Details.

Project: Tomcat
Category: Bug Report
SubCategory: New Bug Report
Class: suggest
State: received
Priority: high
Severity: critical
Confidence: public
Environment: 
   Release: 3.2.1
   JVM Release: 1.3.0
   Operating System: NT 4.0
   OS Release: sp6
   Platform: x86

Synopsis: 
[BUG]

Description:
i use: tomcat 3.2.1, xalan 1.2, xerces (that came with xalan), winnt 4.0 (sp6)
i've got following problem, when im using tomcat as a winnt service:
when i start tomcat using startup.bat everything is fine
for an example:
http://localhost:8888/DefaulApplyXSL?URL=/data.xml&xslURL=/style.xsl
and
http://localhost:8888/DefaulApplyXSL?URL=/data.xml
working fine and produce required result
data.xml contain of course the following string:
<?xml-stylesheet type="text/xsl" href="http://localhost:8888/style.xsl"?>

but if i start tomcat as a winnt service
only the following works:
http://localhost:8888/DefaulApplyXSL?URL=/data.xml&xslURL=/style.xsl

if i omit xslURL parameter it produces an error:
==cut here==================================================
Error: 500
Location: /servlet/DefaultApplyXSL
null 
getStylesheet() resulted in ApplyXSLException 
Parsing XML Document from request parameter: http://localhost:8888/data.xml


 java.lang.NullPointerException
        at DefaultApplyXSL.getMedia(DefaultApplyXSL.java:432)
        at DefaultApplyXSL.getStylesheet(DefaultApplyXSL.java:525)
        at ApplyXSL.process(ApplyXSL.java:305)
        at ApplyXSL.doGet(ApplyXSL.java:245)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
        at org.apache.tomcat.core.Handler.service(Handler.java:286)
        at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
        at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
        at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:484)
==cut here==================================================
i think this error somehow connected width tomcat in general
Title: BugRat Report # 759

BugRat Report # 759

Project: Tomcat Release: 3.2.1
Category: Bug Report SubCategory: New Bug Report
Class: suggest State: received
Priority: high Severity: critical
Confidence: public

Submitter: _Anonymous ( [EMAIL PROTECTED] )
Date Submitted: Jan 14 2001, 02:40:01 CST
Responsible: Z_Tomcat Alias ( [EMAIL PROTECTED] )

Synopsis:
[BUG]
Environment: (jvm, os, osrel, platform)
1.3.0, NT 4.0, sp6, x86

Additional Environment Description:

Report Description:
i use: tomcat 3.2.1, xalan 1.2, xerces (that came with xalan), winnt 4.0 (sp6) i've got following problem, when im using tomcat as a winnt service: when i start tomcat using startup.bat everything is fine for an example: http://localhost:8888/DefaulApplyXSL?URL=/data.xml&xslURL=/style.xsl and http://localhost:8888/DefaulApplyXSL?URL=/data.xml working fine and produce required result data.xml contain of course the following string: but if i start tomcat as a winnt service only the following works: http://localhost:8888/DefaulApplyXSL?URL=/data.xml&xslURL=/style.xsl if i omit xslURL parameter it produces an error: ==cut here================================================== Error: 500 Location: /servlet/DefaultApplyXSL null getStylesheet() resulted in ApplyXSLException Parsing XML Document from request parameter: http://localhost:8888/data.xml java.lang.NullPointerException at DefaultApplyXSL.getMedia(DefaultApplyXSL.java:432) at DefaultApplyXSL.getStylesheet(DefaultApplyXSL.java:525) at ApplyXSL.process(ApplyXSL.java:305) at ApplyXSL.doGet(ApplyXSL.java:245) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) at java.lang.Thread.run(Thread.java:484) ==cut here================================================== i think this error somehow connected width tomcat in general

View this report online...
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to