Hi All,
I am trying to include truezip into my application. but I get the following stack trace.
When I tried using the truezip in a standalone java class it orked but I am unable to make it work with appserver.
{code}type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:830)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:763)
org.apache.jsp.TestDes_jsp._jspService(TestDes_jsp.java:75)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
root cause
java.lang.ExceptionInInitializerError
de.schlichtherle.io.File.init(File.java:818)
de.schlichtherle.io.File.(File.java:471)
de.schlichtherle.io.File.(File.java:452)
org.apache.jsp.TestDes_jsp._jspService(TestDes_jsp.java:63)
note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server logs.
{code}
If I refresh the jsp page it shows the foloowing error
{code}
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:830)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:763)
org.apache.jsp.TestDes_jsp._jspService(TestDes_jsp.java:75)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
root cause
java.lang.NoClassDefFoundError
de.schlichtherle.io.File.init(File.java:818)
de.schlichtherle.io.File.(File.java:471)
de.schlichtherle.io.File.(File.java:452)
org.apache.jsp.TestDes_jsp._jspService(TestDes_jsp.java:63)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server logs.
--------------------------------------------------------------------------------
{code}
I copied the truezip jar to the location
C:\Sun\AppServer\domains\domain1\lib\truezip-6.jar
and I have set the classpath suffix to the path
${com.sun.aas.installRoot}/domains/domain1/lib/truezip-6.jar
I am usng Sun Appserver PE8.2
Can anyone help me on this please
Thanks,
R.Ramesh.
[Message sent by forum member 'rameshjspnet' (rameshjspnet)]
http://forums.java.net/jive/thread.jspa?messageID=332164