JavaMail
Hi, Does anyone know of any products (other than Orion) using and being distributed with Sun's reference implementation of the JavaMail API (mail.jar and activation.jar)? Is anyone aware of any licensing issues for distributing these jars freely? Thanks. Sumit
RE: ...need urgent help!
What do you mean by a connection to Orion? A servlet or an EJB component. You can make http connections to a servlet or JSP running in Orion. Let me know if you need help with that. I haven't tried invoking EJBs from standalone clients. -Original Message- From: Tobias Streckel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 25, 2001 8:39 AM To: Orion-Interest Subject: ...need urgent help! Hello, how can I make an coded connection between orion an my standalone java client? I think I must use the jce but how? Thanks Tobi
userThreads option in orion
HI: I am trying to start a background thread in the init method of one of my servlets in Orion. At one point, on orion start up, I got a message saying that thread was out of application scope and the orion server should be started with the -userThreads option. Does anyone know what the implications of this are and why we would need to start orion with this option? Thanks. Sumit
sendRedirect with Netscape
I just noticed some interesting behavior while using a sendRedirect in a servlet (in Orion) and using Netscape as my browser. If I put something (I was using a Hashtable) in the http session in one servlet and redirected the response to another servlet(same server, same context), I lose what is in the http session. In other words, I get a null value when I try to retrieve the object, in the current servlet, that I had put in the session in the servlet that I redirected from. Anything retrieved in the same servlet as it was put in, works fine. In IE, I can get retrieve the object in both servlets. Soes anyone know if this is expected behavior and why? Thanks. Sumit
RE: sendRedirect with Netscape
Thanks for the response. I haven't tried going back and forth between the servlets. Cookies are enabled in the browser. I got around the problem by using the RequestDispatcher and forwarding requests. But I will try your ideas about the session creation time and going back to servlet1 to figure out what exactly is going on. My feeling, however, is that Netscape is not sending back the same cookie with redirects even if the server is the same. -Original Message- From: Dave Smith [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 19, 2000 5:25 PM To: 'Nijhawan, Sumit'; '[EMAIL PROTECTED]' Subject: RE: sendRedirect with Netscape Are you sure both servlets see the same session. Try printing the session creation time in both servlets and seeing if it is the same across the redirect. Can you put an object in the session in servlet1, redirect to servlet2 and then go back to servlet1 and see if it is still there? Do you have cookies disabled in Netscape? If so are you using URL rewriting? Dave Smith Senior Team Leader Aristocrat Technologies Australia Pty Ltd mailto:[EMAIL PROTECTED] -Original Message- From: Nijhawan, Sumit [mailto:[EMAIL PROTECTED]] Sent: Thursday, 20 July 2000 2:50 To: Orion-Interest Subject: sendRedirect with Netscape I just noticed some interesting behavior while using a sendRedirect in a servlet (in Orion) and using Netscape as my browser. If I put something (I was using a Hashtable) in the http session in one servlet and redirected the response to another servlet(same server, same context), I lose what is in the http session. In other words, I get a null value when I try to retrieve the object, in the current servlet, that I had put in the session in the servlet that I redirected from. Anything retrieved in the same servlet as it was put in, works fine. In IE, I can get retrieve the object in both servlets. Soes anyone know if this is expected behavior and why? Thanks. Sumit