----------------------------------------------------------------
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!!!
----------------------------------------------------------------
Hi David
I'm no expert (in otherwords "what I am about to say may be wrong"), but
shouldn't you have :
ApJServMount /login /servlets/login
Instead of
>ApJServMount /login servlets/login
And similarly:
zones=root,login
Instead of
>In Jserv.properties:
>zones=servlets/login
I know nothing about Solaris but it just looks strnage to me.
Chris
>Hi,
>
> I recently set up a newer version of JServ on a new Solaris
>box. I'm now running Solaris 2.5, JServ1.1.1 and Apache 1.3.12,
>which is pretty up to date as oppossed to 2.7, 1.0 and 1.3.6 before.
>I'm in the process of porting my servlets and I came across a small
>problem, namely:
>
>[20/06/2000 09:27:13:783 GMT+01:00] login: init
>[20/06/2000 09:27:14:143 GMT+01:00] java.lang.IllegalArgumentException: cookie name:
>JServSessionIdservlets/login
> at org.apache.jserv.JServServletManager.createSession(Compiled Code)
> at org.apache.jserv.JServConnection.getSession(Compiled Code)
> at login.service(Compiled Code)
> at javax.servlet.http.HttpServlet.service(Compiled Code)
> at org.apache.jserv.JServConnection.processRequest(Compiled Code)
> at org.apache.jserv.JServConnection.run(Compiled Code)
> at java.lang.Thread.run(Compiled Code)
>
>This hadn't happened to me before - it seems that the zone path is being
>attached to the normal JServSessionId cookie name. The line where the
>problem occurs in the login servlet is:
>
>HttpSession session = req.getSession(true);
>
>-----------------------------------------------------
>In JServ.conf the applicable zone line is:
>ApJServMount /login servlets/login
>
>In Jserv.properties:
>zones=servlets/login
>
>servlets/login.properties = /usr/local/jserv/etc/login.properties
>
>In login.properties the repository is set and also
>session.useCookies=true
>
>
>Any ideas why it's parsing the zone path to the cookie name (or rather
>attempting to). Is this a new feature? Any solutions/help would be
>greatly appreciated.. thanks.
>
>David
>
>
>
>
>--
>--------------------------------------------------------------
>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]