RE: Urgent help with tomcat 4.0 b5

2001-07-10 Thread Greg Trasuk

The parser error is saying that it is finding a servlet-mapping element
inside a description element, which is not valid according to the DTD.
Offhand, I suspect you have an unclosed description element.  Look for a
very subtle typographical error or spelling mistake in your web.xml.
Unfortunately, I find you can look at those things for hours and still miss
minor errors.

Greg Trasuk, President
StratusCom Manufacturing Systems Inc. - We use technology to turn
information into profits on your plant floor.
http://stratuscom.ca

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 8:29 AM
To: [EMAIL PROTECTED]
Subject: Urgent help with tomcat 4.0 b5


Hi there
i downloaded Tomcat 4.0 b5 and installed it on my PC running win98. it works
fine but for some reason i get the following error on the MS DOS window when
i start it:

Starting service Tomcat-Standalone
Apache Tomcat/4.0-b5
PARSE error at line 77 column -1
org.xml.sax.SAXParseException: Element description does not allow
servlet-map
ping -- (#PCDATA)
Starting service Tomcat-Apache
Apache Tomcat/4.0-b5

i get this error ONLY when i add my context to the server.xml... i cant see
whats wrong as i used the same context with tomcat 3.2.2 and it was
fine...here is the context i added:

Context path=/wap
docBase=c:/wapfolder
debug=0
reloadable=true 
/Context

please advise... i give up :-)
thanx
Tim




Re: Urgent Help with Tomcat 4.0

2001-07-09 Thread Michael Misovec

How do I unsubscribe to this list??

Randy Layman wrote:

 First, only use plain email messages, not HTML or Rich Text Format -
 many list readers can't deal with the more complex messages, thus limiting
 your audience.

 Second, it seems to me like you have an old version of servlet.jar
 in your classpath.  If you have Tomcat 3.2 in the classpath this could cause
 the problem.  Also, JBuilder or other IDEs could cause you the problem.

 Randy

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, July 08, 2001 6:42 PM
 To: [EMAIL PROTECTED]
 Subject: Urgent Help with Tomcat 4.0

 Hi there
 i downloaded Tomcat 4.0 b5 and installed it on my PC running win98. it works

 fine but for some reason it does not run the jsp examples in the local host
 or any other jsp pages i created, even though it runs the servlets ok. i get

 the error shown below

 A Servlet Exception Has Occurred

 org.apache.jasper.JasperException: Unable to compile class for
 JSPC:\Tomcat\bin\..\work\localhost\examples\jsp\dates\date_jsp.java:168:
 Incompatible type for method. Explicit cast needed to convert
 java.lang.Throwable to java.lang.Exception.
if (pageContext != null) pageContext.handlePageException(t);
 ^
 1 error

 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
 ...etc

 any suggestions ? thanx Tim




RE: Urgent Help with Tomcat 4.0

2001-07-09 Thread Randy Layman


See http://www.aswethink.com/employees/randy/tomcat/unsubscribe.html



 -Original Message-
 From: Michael Misovec [mailto:[EMAIL PROTECTED]]
 Sent: Monday, July 09, 2001 1:20 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Urgent Help with Tomcat 4.0
 
 
 How do I unsubscribe to this list??
 
 Randy Layman wrote:
 
  First, only use plain email messages, not HTML or 
 Rich Text Format -
  many list readers can't deal with the more complex 
 messages, thus limiting
  your audience.
 
  Second, it seems to me like you have an old version 
 of servlet.jar
  in your classpath.  If you have Tomcat 3.2 in the classpath 
 this could cause
  the problem.  Also, JBuilder or other IDEs could cause you 
 the problem.
 
  Randy
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
  Sent: Sunday, July 08, 2001 6:42 PM
  To: [EMAIL PROTECTED]
  Subject: Urgent Help with Tomcat 4.0
 
  Hi there
  i downloaded Tomcat 4.0 b5 and installed it on my PC 
 running win98. it works
 
  fine but for some reason it does not run the jsp examples 
 in the local host
  or any other jsp pages i created, even though it runs the 
 servlets ok. i get
 
  the error shown below
 
  A Servlet Exception Has Occurred
 
  org.apache.jasper.JasperException: Unable to compile class for
  
 JSPC:\Tomcat\bin\..\work\localhost\examples\jsp\dates\date_jsp
 .java:168:
  Incompatible type for method. Explicit cast needed to convert
  java.lang.Throwable to java.lang.Exception.
 if (pageContext != null) pageContext.handlePageException(t);
  ^
  1 error
 
  at org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
  ...etc
 
  any suggestions ? thanx Tim
 



Urgent Help with Tomcat 4.0

2001-07-08 Thread TIMBMS
Hi there
i downloaded Tomcat 4.0 b5 and installed it on my PC running win98. it works 
fine but for some reason it does not run the jsp examples in the local host 
or any other jsp pages i created, even though it runs the servlets ok. i get 
the error attached to this mail (error.txt). But the strange thing is though, 
even though i get this error, when i view the page source code using netscape 
it shows the result of the jsp processing, for example when i tried the Date 
jsp example i got the error message but the page source contained the date 
resulted from the jsp. i installed the JDK 1.3 and set all the paths 
required... i had tomcat 3.2.2 which was running perfectly, but i need tomcat 
4.0 as it has support for WAP technology which i need for my WAP research 
project. Can u please help me... i do need it urgently...
thanx alot
Tim


ÐÏࡱáþÿ  
þÿÿÿýÿÿÿþÿÿÿþÿÿÿþÿÿÿþÿÿÿ

Root
 Entry
ÀF`J–ÇÁ  
€WordDocumentCompObjnþÿÿÿñMN”•œžŸàáâ'(†‡ˆÞßà+,-qrs²³´vû÷óïëçãßÛ×ÓÏËÇÿ»·³¯«§£Ÿ›—“‹‡ƒ{wsokg]a
  ]a ]a ]a ]a ]a ]a ]a ]a ]a ]a 
]a ]a ]a ]a ]a ]a ]a ]a ]a ]a 
]a ]a ]a ]a ]a ]a ]a ]a ]a ]a 
]a ]a ]a ]a ]a ]a ]a 
vwxÎÏÐ#$rst¼½¾    
 h i j Ã Ä Å 


g
h
i
±
²
³
RSTû÷óïëçãßÛ×ÓÏËÇÿ»·³¯«§£Ÿ›—“‹‡ƒ{wsokg]a  
 ]a ]a ]a ]a ]a ]a ]a ]a ]a ]a 
]a ]a ]a ]a ]a ]a ]a ]a ]a ]a 
]a ]a ]a ]a ]a ]a ]a ]a ]a ]a 
]a ]a ]a ]a ]a ]a ]a 
T¦§¨ôõöHIJ˜™šâãä8
9
:
Œ

Ž
Ü
Ý
Þ
'({|}ÌÍÎö÷û÷óïëçãßÛ×ÓÏËÇÿ»·³¯«§£Ÿ›—“‹‡ƒ{ws]a
   ]a ]a ]a ]a ]a ]a ]a ]a ]a ]a 
]a ]a ]a ]a ]a ]a ]a ]a ]a ]a 
]a ]a ]a ]a ]a ]a ]a ]a ]a ]a 
]a ]a ]a ]a 
#ñN•žá'‡ß,r³wÏ#s½
   i Ä 
h
²
S§õI™ã

Urgent Help with Tomcat 4.0

2001-07-08 Thread TIMBMS
Subj:   Help with Tomcat 4.0 b5 
Date:   08/07/01 19:09:10 GMT Daylight Time 
From:   TIMBMS  
To: [EMAIL PROTECTED]  



Hi there
i downloaded Tomcat 4.0 b5 and installed it on my PC running win98. it works 
fine but for some reason it does not run the jsp examples in the local host 
or any other jsp pages i created, even though it runs the servlets ok. i get 
the error shown at the end of this mail. But the strange thing is though, 
even though i get this error, when i view the page source code using netscape 
it shows the result of the jsp processing, for example when i tried the Date 
jsp example i got the error message but the page source contained the date 
resulted from the jsp. i installed the JDK 1.3 and set all the paths 
required... i had tomcat 3.2.2 which was running perfectly, but i need tomcat 
4.0 as it has support for WAP technology which i need for my WAP research 
project. Can u please help me... i do need it urgently...
thanx alot
Tim

here is the error message:
---

A Servlet Exception Has Occurred

org.apache.jasper.JasperException: Unable to compile class for 
JSPC:\Tomcat\bin\..\work\localhost\examples\jsp\dates\date_jsp.java:168: 
Incompatible type for method. Explicit cast needed to convert 
java.lang.Throwable to java.lang.Exception.
 if (pageContext != null) pageContext.handlePageException(t);
 ^
1 error

 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
 at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:523)
 at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServ

let.java:175) ...etc
 


Urgent HELP with Tomcat 4.0

2001-07-08 Thread TIMBMS
Hi there
i downloaded Tomcat 4.0 b5 and installed it on my PC running win98. it works 
fine but for some reason it does not run the jsp examples in the local host 
or any other jsp pages i created, even though it runs the servlets ok. i get 
the error shown at the end of this mail. But the strange thing is though, 
even though i get this error, when i view the page source code using netscape 
it shows the result of the jsp processing, for example when i tried the Date 
jsp example i got the error message but the page source contained the date 
resulted from the jsp. i installed the JDK 1.3 and set all the paths 
required... i had tomcat 3.2.2 which was running perfectly, but i need tomcat 
4.0 as it has support for WAP technology which i need for my WAP research 
project. Can u please help me... i do need it urgently...
thanx alot
Tim

here is the error message:
---

A Servlet Exception Has Occurred

org.apache.jasper.JasperException: Unable to compile class for 
JSPC:\Tomcat\bin\..\work\localhost\examples\jsp\dates\date_jsp.java:168: 
Incompatible type for method. Explicit cast needed to convert 
java.lang.Throwable to java.lang.Exception.
 if (pageContext != null) pageContext.handlePageException(t);
 ^
1 error

 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
 ...etc



Urgent Help with Tomcat 4.0

2001-07-08 Thread TIMBMS
Hi there
i downloaded Tomcat 4.0 b5 and installed it on my PC running win98. it works 
fine but for some reason it does not run the jsp examples in the local host 
or any other jsp pages i created, even though it runs the servlets ok. i get 
the error shown below

A Servlet Exception Has Occurred

org.apache.jasper.JasperException: Unable to compile class for 
JSPC:\Tomcat\bin\..\work\localhost\examples\jsp\dates\date_jsp.java:168: 
Incompatible type for method. Explicit cast needed to convert 
java.lang.Throwable to java.lang.Exception.
 if (pageContext != null) pageContext.handlePageException(t);
 ^
1 error

 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
 ...etc

any suggestions ? thanx Tim