cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erwin Burgstaller <...@knapp.co.at>
Subject Missing session.getMaxInactiveInterval
Date Mon, 02 Apr 2001 13:43:55 GMT

Can someone tell me, what's wrong with my installation? If I try to use 
xsession:[get|set]-max-inactive-interval I get:

Cocoon 1.8.3-dev

                                            Error found handling the request.

      java.lang.Exception: XSP Java Compiler: Compilation failed for 
_user_kommt_herein.java
      288: Method getMaxInactiveInterval() not found in interface 
javax.servlet.http.HttpSession.
                session.getMaxInactiveInterval()


The reason seems to be, that JSDK2.0/lib/jsdk.jar has an incomplete 
HttpSession class. But without jsdk.jar the JVM does not really start:


java.lang.AbstractMethodError: org/apache/jserv/JServContext.getServletName
        at 
org.apache.jserv.JServServletManager.load_init(JServServletManager.java:589)
        at 
org.apache.jserv.JServServletManager.loadServlet(JServServletManager.java:498)
        at 
org.apache.jserv.JServConnection.processRequest(JServConnection.java:269)
        at org.apache.jserv.JServConnection.run(JServConnection.java:188)
        at java.lang.Thread.run(Thread.java:498)


My classpath:

wrapper.classpath=/opt/JSDK2.0/lib/jsdk.jar
wrapper.classpath=/usr/lib/apache/ApacheJServ.jar

wrapper.classpath=/opt/IBMJava2-13/lib/tools.jar
wrapper.classpath=/usr/lib/java/mm.mysql.jar

wrapper.classpath=/opt/apache-xml/xml-cocoon/lib/ant_1_3.jar
wrapper.classpath=/opt/apache-xml/xml-cocoon/lib/bsf.jar
wrapper.classpath=/opt/apache-xml/xml-cocoon/lib/bsfengines.jar
wrapper.classpath=/opt/apache-xml/xml-cocoon/lib/fop_0_15_0.jar
wrapper.classpath=/opt/apache-xml/xml-cocoon/lib/sax-bugfix.jar
wrapper.classpath=/opt/apache-xml/xml-cocoon/lib/servlet_2_2.jar
wrapper.classpath=/opt/apache-xml/xml-cocoon/lib/stylebook-1.0-b2.jar
wrapper.classpath=/opt/apache-xml/xml-cocoon/lib/turbine-pool.jar
wrapper.classpath=/opt/apache-xml/xml-cocoon/lib/w3c.jar
wrapper.classpath=/opt/apache-xml/xml-cocoon/lib/xalan_1_2_2.jar
wrapper.classpath=/opt/apache-xml/xml-cocoon/lib/xerces_1_2_3.jar

wrapper.classpath=/opt/apache-xml/xml-cocoon/build/cocoon.jar


Which jsdk do I have to use?

Erwin

-- 
Erwin Burgstaller
KNAPP Logistics Automation                (ber@knapp.co.at / +43 316 495-618)

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message