Empty Cookies dont work in Orion 1.4.5
Cookies set as either empty or null as in the following: cookie1 = new Cookie("Name1",null); cookie2 = new Cookie("Name2",""); ... both fail in Orion 1.4.5. I'm not sure if this is fixed in 1.4.7 or not but it seemed serious enough to report on. Orion correctly SENDS the cookies to the browser but can't handle them when they are returned in subsequent accesses.
Re: Empty Cookies dont work in Orion 1.4.5
Actually, they don't work in 1.4.7 either. This seems like a rather serious bug to me. - Original Message - From: [EMAIL PROTECTED] Date: Thursday, March 15, 2001 8:23 pm Subject: Empty Cookies dont work in Orion 1.4.5 Cookies set as either empty or null as in the following: cookie1 = new Cookie("Name1",null); cookie2 = new Cookie("Name2",""); ... both fail in Orion 1.4.5. I'm not sure if this is fixed in 1.4.7 or not but it seemed serious enough to report on. Orion correctly SENDS the cookies to the browser but can't handle them when they are returned in subsequent accesses.
RE: Colombo Java mystery -- the case of the unrecognized Parser jar
As someone previously pointed out, the CLASSPATH environment variable is ignored when using the -jar option to start a java program. So that might be your problem id you are starting your server that way. Also, I know JRun (2.3.x) ignores the classpath env variable; you are required to set it in a properties file. Maybe it's the same for your server. Also, I have found that, since JAXP is implemented in later versions of xerces I have been able to overwrite the orion supplied xerces.jar file with a later one and delete the parser.jar file without a problem. If anyone knows why this might be a bad idea, please let me know. Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kemp Randy-W18971 Sent: Tuesday, March 13, 2001 9:10 AM To: Orion-Interest Subject: Colombo Java mystery -- the case of the unrecognized Parser jar Here is a Colombo mystery I am wrestling with, called the case of the unrecognized Parser jar. See if anyone has any insights. 1. On windows 2000, I get this message when running Resin or Tomcat (Since their lists don't know, I would see if any Orion experts could answer). (http://localhost:8080/JSP page entry) Error: 500 Internal Servlet Error: javax.servlet.ServletException: org/xml/sax/EntityResolver 2. If I look at my classpath, I have Parser.jar in it. CLASSPATH=.;d:\javaprograms\javasource;c:\jdk1.3\lib\mail.jar;c:\jdk1.3\lib\ acti vation.jar;D:\javajdbcs\jdbc1\mm.mysql.jdbc-1.2c;C:\jdk1.3\lib\tools.jar;D:\ Java ServletProducts\JbossData\addressbook;D:\JavaServletProducts\JbossData\addre ssbo ok\src\java;D:\javajarfiles\ejb.jar;D:\javajarfiles\servlet.jar;D:\javajarfi les\ server.jar\jboss-client.jar;D:\javajarfiles;D:\javajarfiles\jnp-client.jar;D :\Ja vaServletProducts\JbossData\addressbook\src\java\addressbook;D:\javajarfiles \add ressbook-client.jar;D:\javajarfiles\jndi.properties;D:\javajarfiles\Parser.j ar;C :\j2sdkee1.2.1\lib\j2ee.jar;d:\javaservletproducts\orionapp\classes 3. If I examine the Parser.jar command with jar tf Parser.jar, then this is part of my jar file: org/xml/sax/EntityResolver.class So if the Java Columbo were looking at this case, what wisdom would they add that I am missing?
JSP Session setting
I'm not sure if this is the correct place to ask this question but is there a way to turn off the session tracking in the jsp compiling in orion? Currently, no matter how you set the session-tracking tag in the configuration, when jsps are compiled the following line are ALWAYS there: HttpSession session; session = request.getSession(true); It seems that this will hinder performance in a clustered environment where only some of the applications require sessions. Is there a way to turn this off at a page or application level? Thanks Jim
RE: JSP Session setting
Actually, Someone gave me the answer to this. Thanks. It's actually a page directive I missed. I should have thought to look there. Thanks anyway. Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Juan Lorandi (Chile) Sent: Tuesday, March 06, 2001 3:20 PM To: Orion-Interest Subject: RE: JSP Session setting session-config tags in web.xml should do it... HTH JP -Original Message- From: Jim Carroll [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 06, 2001 12:44 PM To: Orion-Interest Subject: JSP Session setting I'm not sure if this is the correct place to ask this question but is there a way to turn off the session tracking in the jsp compiling in orion? Currently, no matter how you set the session-tracking tag in the configuration, when jsps are compiled the following line are ALWAYS there: HttpSession session; session = request.getSession(true); It seems that this will hinder performance in a clustered environment where only some of the applications require sessions. Is there a way to turn this off at a page or application level? Thanks Jim