I started the upgrade from v4 to 5 from the very beginning. Everything went smoothly and I updated the JRE.
I am now getting this error when I try to visit the ebase server ip in my browser. This error seems to only be related to jsp. When you visit <myserverip>, I use JSP to redirect to my eBase login page which is <myserverip>/ufs/ufsmain?formid=LOGIN. If I type the URL into the browser directly, eBase does display the login page.
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: java.lang.ClassNotFoundException: org.apache.jsp.index_jsp
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:177)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
root cause
java.lang.ClassNotFoundException: org.apache.jsp.index_jsp
java.net.URLClassLoader.findClass(Unknown Source)
org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:132)
org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:63)
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:172)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.27 logs.
Apache Tomcat/7.0.27
500 error
Moderators: Jon, Steve, Ian, Dave
-
- Moderator
- Posts: 184
- Joined: Tue Sep 11, 2007 8:58 am
Hi Segi,
Please check the timestamp of the compiled jsp in folder UfsServer\tomcat\work\Catalina\localhost\ufs\org\apache\jsp
I suspect it will be a date prior to your upgrade.
Delete contents of this folder and try again. If you see a new one being created here (the complied jsp) but it still fails, please let me have your jsp code.
Regards,
Hovik
Please check the timestamp of the compiled jsp in folder UfsServer\tomcat\work\Catalina\localhost\ufs\org\apache\jsp
I suspect it will be a date prior to your upgrade.
Delete contents of this folder and try again. If you see a new one being created here (the complied jsp) but it still fails, please let me have your jsp code.
Regards,
Hovik
0 x
-
- Ebase User
- Posts: 649
- Joined: Mon Dec 09, 2013 6:37 pm
I delete this contents of this folder and the problem persists.
This is my JSP:
EDIT: The code doesn't display properly here even when wrapped with tags so I paste it here http://pastebin.com/H8sFzWNC
As you can see, it does nothing more than a simple redirect. Since this is running locally, I use my local IP address here but normally it redirects to my production eBase server
I seem to be getting this error for any JSP
This is my JSP:
EDIT: The code doesn't display properly here even when wrapped with
Code: Select all
As you can see, it does nothing more than a simple redirect. Since this is running locally, I use my local IP address here but normally it redirects to my production eBase server
I seem to be getting this error for any JSP
0 x
-
- Ebase User
- Posts: 37
- Joined: Wed Mar 13, 2013 11:33 am
- Contact:
Rather than using a meta tag, you could use a simpler redirect instead:
https://gist.github.com/anonymous/0c369f01d23834ae42a0
The / in the URL refers to the root of the current webapp context so it would redirect to http://hostname/ufs/ufsmain?formid=HR
This doesn't help with the ClassNotFoundException error you're getting but its a cleaner way to do a redirect in jsp
https://gist.github.com/anonymous/0c369f01d23834ae42a0
The / in the URL refers to the root of the current webapp context so it would redirect to http://hostname/ufs/ufsmain?formid=HR
This doesn't help with the ClassNotFoundException error you're getting but its a cleaner way to do a redirect in jsp
0 x
-
- Moderator
- Posts: 184
- Joined: Tue Sep 11, 2007 8:58 am
Who is online
Users browsing this forum: No registered users and 2 guests