----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Dear all,
I have solved the problem but I don't know whether it is a bug of Jserv
1.0b2 or 1.1.
I change the line
ApJServMount /imservice/servlets /imservice/servlets
to
ApJServMount /imservice/servlets /imserviceservlets
By making corresponding changes for jserv.properties, everything works
fine.
Thanks
yours
kin
Glen Newton wrote:
>
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files. Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> make sure your classpath does not point to any OLD class or jar files,
> and your path points to the right java bin stuff...
>
> > Dear all,
> >
> > My previous configuration is:
> >
> > Jserv 1.0b2 + Apache 1.3.6 + jdk 1.2 on Sun Solaris 2.6. All my code runs
> > without error.
> >
> > Today I upgrade to Jserv 1.1 + Apache 1.3.12 with the same OS and jdk. But
> > I have encountered the following error:
> >
> > --------------------- Error -----------------------------------------------
> > [15/05/2000 23:18:43:452 CST] java.lang.IllegalArgumentException: cookie name:
> > JServSessionIdimservice/servlets
> > at java.lang.Throwable.fillInStackTrace(Native Method)
> > at java.lang.Throwable.fillInStackTrace(Compiled Code)
> > at java.lang.Throwable.<init>(Compiled Code)
> > at java.lang.Exception.<init>(Compiled Code)
> > at java.lang.RuntimeException.<init>(RuntimeException.java:47)
> > at
> > java.lang.IllegalArgumentException.<init>(IllegalArgumentException.java:43)
> > at javax.servlet.http.Cookie.<init>(Compiled Code)
> > at
> > org.apache.jserv.JServServletManager.createSession(JServServletManager.java:958)
> >
> > at
> > org.apache.jserv.JServConnection.getSession(JServConnection.java:1228)
> > at GatewayServlet.doGet(GatewayServlet.java:175)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:499)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
> > at
> > org.apache.jserv.JServConnection.processRequest(JServConnection.java:314)
> > at org.apache.jserv.JServConnection.run(Compiled Code)
> > at java.lang.Thread.run(Compiled Code)
> > --------------------- Error -----------------------------------------------
> >
> > It seems the getSession(true) thrown out the error.
> >
> > I have configure the zone as follow:
> >
> > ApJServMount /imservice/servlets /imservice/servlets
> >
> > and use the same property files as before.
> >
> > Do you have any hint on this error?
> >
> >
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/main/mail.html>
> Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]