RE: Problem in deploying application on Tomcat 4 and 5

2004-07-14 Thread Shapira, Yoav

Hi,
See the packageless links at
http://jakarta.apache.org/tomcat/faq/classnotfound.html.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Arnab Chakravarty [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 14, 2004 9:34 AM
To: Tomcat Users List
Subject: Problem in deploying application on Tomcat 4 and 5

Hi,

I have migrated an existing application from tomcat 3.3 to tomcat 4.0
and 5.0. When I started the tomcat, I was thrown a lot of errors
related
to the tags in the tld file.

I corrected those errors and finally got this error thrown: (Pasted
below)

Stack Trace --

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 JSPNote:
sun.tools.javac.Main has been deprecated.

D:\jakarta-tomcat-5.0.25\work\Catalina\localhost\cnams\public\Login$jsp
.
java:11: class org.apache.jsp.Login$jsp must be declared abstract. It
does not define java.util.List getIncludes() from class
org.apache.jasper.runtime.HttpJspBase.
public class Login$jsp extends HttpJspBase {
 ^

D:\jakarta-tomcat-5.0.25\work\Catalina\localhost\cnams\public\Login$jsp
.
java:21: Class org.apache.jasper.runtime.JspException not found in
throws.
public final void _jspx_init() throws
org.apache.jasper.runtime.JspException {
  ^

D:\jakarta-tomcat-5.0.25\work\Catalina\localhost\cnams\public\Login$jsp
.
java:35: Class org.apache.jasper.runtime.JspException not found in try.
try {
^
3 errors, 1 warning

   org.apache.jasper.compiler.Compiler.compile(Compiler.java:284)

org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546)

org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(
J
spServlet.java:177)

org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServl
e
t.java:189)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382
)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:810)


note The full stack trace of the root cause is available in the Apache
Tomcat/5.0.25 logs.

-- End of StackTrace

Now, while browsing the source code for both tomcat 4.0 and 5.0, I
could
not find the  JspException.java  file, although they are supposed to
be part of it. The jar files also do not contain the file.

I need some pointers about fixing the problem. Importantly, where is
this file anyways?

Thanks in advance,
Arnab

-
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]



RE: Problem in deploying application on Tomcat 4 and 5

2004-07-14 Thread Arnab Chakravarty
Hi,

The link was helpful and did get the much awaited login page. Now there
are some other problems with the rendering of jsp pages, but yes, the
problem did resolve.

Thanks,
Arnab

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 14, 2004 7:12 PM
To: Tomcat Users List
Subject: RE: Problem in deploying application on Tomcat 4 and 5


Hi,
See the packageless links at
http://jakarta.apache.org/tomcat/faq/classnotfound.html.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Arnab Chakravarty [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 14, 2004 9:34 AM
To: Tomcat Users List
Subject: Problem in deploying application on Tomcat 4 and 5

Hi,

I have migrated an existing application from tomcat 3.3 to tomcat 4.0
and 5.0. When I started the tomcat, I was thrown a lot of errors
related
to the tags in the tld file.

I corrected those errors and finally got this error thrown: (Pasted
below)

Stack Trace --

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 JSPNote:
sun.tools.javac.Main has been deprecated.

D:\jakarta-tomcat-5.0.25\work\Catalina\localhost\cnams\public\Login$jsp
.
java:11: class org.apache.jsp.Login$jsp must be declared abstract. It
does not define java.util.List getIncludes() from class
org.apache.jasper.runtime.HttpJspBase.
public class Login$jsp extends HttpJspBase {
 ^

D:\jakarta-tomcat-5.0.25\work\Catalina\localhost\cnams\public\Login$jsp
.
java:21: Class org.apache.jasper.runtime.JspException not found in
throws.
public final void _jspx_init() throws
org.apache.jasper.runtime.JspException {
  ^

D:\jakarta-tomcat-5.0.25\work\Catalina\localhost\cnams\public\Login$jsp
.
java:35: Class org.apache.jasper.runtime.JspException not found in try.
try {
^
3 errors, 1 warning

   org.apache.jasper.compiler.Compiler.compile(Compiler.java:284)

org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546)

org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(
J
spServlet.java:177)

org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServl
e
t.java:189)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382
)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:810)


note The full stack trace of the root cause is available in the Apache
Tomcat/5.0.25 logs.

-- End of StackTrace

Now, while browsing the source code for both tomcat 4.0 and 5.0, I
could
not find the  JspException.java  file, although they are supposed to
be part of it. The jar files also do not contain the file.

I need some pointers about fixing the problem. Importantly, where is
this file anyways?

Thanks in advance,
Arnab

-
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]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]