Sharing httpsession among several applications
Hi people. When talking about secure applications, you have recommended to set the shared attribute to true. In that way, session is shared between the secure and non-secure parts of an application. My scenario is several applications deployed on the same orion server. Is it possible to share the httpSession among them using the shared flag in default-web-site.xml? Thanks -- ·· Juan Fuentes Nieto Essi Projects [EMAIL PROTECTED]t +34 977 221 182 http://www.essiprojects.com f +34 977 230 170 ··
Re: java.lang.OutOfMemoryError
Be sure of cleaning all your ejbs when you remove them. Set all attributes and global variables to null. We have had a very similar problem, and this was one of the reasons. mars wrote: Dear orion user : I got a problem I have a Orion Appcation Server Run on Linux run the http service and https service then after a few hours I got the message in server.log *-- java.lang.OutOfMemoryError no stack trace available *-- and the https service down but http service still running is the memory low to use or any possable cause? !!!my server have 1GB Ram!!! -- ·· Juan Fuentes Nieto Essi Projects [EMAIL PROTECTED]t +34 977 221 182 http://www.essiprojects.com f +34 977 230 170 ··
Memory grows with Entity EJBs
Hi people, We've observed a very strange problem. When using Entity Beans, memory does not seem to be released when the EJB is removed. We are tracing a J2EE application with OptimizeIt, and we have seen that EJBS are created but NEVER released, even if a call the the Garbage Collector is done. That makes that the used memory increases exponentially until orion sends Out of memory errors. What are we doing wrong? Please help, that is very important for us. Thanks in advance -- ·· Juan Fuentes Nieto Essi Projects [EMAIL PROTECTED]t +34 977 221 182 http://www.essiprojects.com f +34 977 230 170 ··
Re: Memory grows with Entity EJBs
Juan Fuentes wrote: Hi people, We've observed a very strange problem. When using Entity Beans, memory does not seem to be released when the EJB is removed. We are tracing a J2EE application with OptimizeIt, and we have seen that EJBS are created but NEVER released, even if a call the the Garbage Collector is done. That makes that the used memory increases exponentially until orion sends Out of memory errors. What are we doing wrong? Please help, that is very important for us. We have tried to set the max-instances attribute in orion-ejb-jar.xml to 50, but when this is reached, orion continues creating more instances, without deleting any of them. For your information, we are using orion 1.5.2. Thanks -- ·· Juan Fuentes Nieto Essi Projects [EMAIL PROTECTED]t +34 977 221 182 http://www.essiprojects.com f +34 977 230 170 ··
Downloading files with MS IE
I have a JSP to download files. It works great with NS but fails with IE. At first, it seems to work, because the Explorer opens a window to select if I want to open the file, or save it to disk. But once I push the OK button, IE shows an error telling that server cannot be reached (or something similar, I have a Spanish version of the Explorer) Thanks -- ·· Juan Fuentes Nieto Essi Projects [EMAIL PROTECTED]t +34 977 221 182 http://www.essiprojects.com f +34 977 230 170 ··
Re: Downloading files with MS IE
I'm using IE 5.00.2314.100315. I'll try the form tip, anyway. Luis Javier Beltrán wrote: I had the same problem weeks ago, it happens with IE6 right? I didn't find a solution, but I have an alternative that works fine. This problem ocurred when I called the JSP manually, I mean by writing the URL in the address bar. So one day accidentally I used a form to invoke the JSP and the problem was gone! I haven't figured out yet the cause of this problem, but it only happens in IE6, as I've made tests with IE5, NN and Opera and I have no problem. Hope this helps Luis Javier - Original Message - From: Juan Fuentes [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Wednesday, March 06, 2002 12:53 PM Subject: Downloading files with MS IE I have a JSP to download files. It works great with NS but fails with IE. At first, it seems to work, because the Explorer opens a window to select if I want to open the file, or save it to disk. But once I push the OK button, IE shows an error telling that server cannot be reached (or something similar, I have a Spanish version of the Explorer) Thanks -- ·· Juan Fuentes Nieto Essi Projects [EMAIL PROTECTED]t +34 977 221 182 http://www.essiprojects.com f +34 977 230 170 ·· -- ·· Juan Fuentes Nieto Essi Projects [EMAIL PROTECTED]t +34 977 221 182 http://www.essiprojects.com f +34 977 230 170 ··
Initial Context Factories
Hi list. We're playing with several orions, connecting applications running in a server with the ones in another. Is there any document which explains _exactly_ the purpose of every Context Factory ?? . com.evermind.server.rmi.RMIInitialContextFactory . com.evermind.server.ApplicationClientContextFactory . com.evermind.server.ApplicationContextFactory . ... By now, we are using a testerror estrategy. But we'd like to know why one works and not the others. Thanks. -- ·· Juan Fuentes Nieto Essi Projects [EMAIL PROTECTED]t +34 977 221 182 http://www.essiprojects.com f +34 977 230 170 ··
Re: Orion crashes JVM
Thanks to all of you for your help We have been looking into the system, and we discovered that the system has an important lack of memory. It's running an Oracle with 100 processes, and orion, with only 256 MB. We are expecting to have more memory and try again. Thanks Geoff Soutter wrote: If you are on windows, try pressing Ctrl-Break on the Orion window (can't remember the kill number on unix). The JVM will print out a stack dump of all the threads. That should help you to see if there is a deadlock or something like that. Geoff -- ·· Juan Fuentes Nieto Essi Projects [EMAIL PROTECTED]t +34 977 221 182 http://www.essiprojects.com f +34 977 230 170 ··
Orion crashes JVM
Hi list! After few moments of orion (1.5.2) been started, the cpu usage of the JVM that runs orion drops to 0%. Obviously, orion stops answering requests. We are trying to find the problem. Don't know if it's in our application (it runs OK in other machines with the same orion server), in the orion itself, or even in the operating system. Any idea?? Thanks. -- ·· Juan Fuentes Nieto Essi Projects [EMAIL PROTECTED]t +34 977 221 182 http://www.essiprojects.com f +34 977 230 170 ··
j_security_check not found
Hi list, Recently, I have updated to 1.5.2, and sometimes I get the error: 404 Not found with the URL /myapp/j_security_check. To re-create the problem: 1. Work on the application 2. Log out 3. The app must show you the initial login form 4. Restart orion 5. Type your login and password, and submit the form 6. You got it! 404 Not Found 7. Go to the starting page (protected with login form) 8. Orion shows the login form 9. Fill in the login form, and submit it 10. OK. You can work in the app. The problem is that some of our apps call j_security_check directly to validate users, but it seems this is not possible with orion 1.5.2 (it worked with previous versions) Thanks in advance. Greetings. -- ·· Juan Fuentes Nieto Essi Projects [EMAIL PROTECTED]t +34 977 221 182 http://www.essiprojects.com f +34 977 230 170 ··
Precompiling JSPs with ?jsp_precompile
Hi, I'm doing a java program to precompile all the JSPs of my web application. It seems to work correctly, but al the compilations finish with the same result: htmlheadtitlePrecompilation succeeded/title/headbodyh1Precompilation succeeded./h1/body/html It doesn't matter if the JSP is correct or not, the result is always Precompilation succeded. Then, when I request the JSP from the browser, the syntax error appears. I'd like to precompile JSPs not only to load them fast, but also to check them for syntax errors. Is posible this with the precompilation feature? Thanks. -- ·· Juan Fuentes Nieto Essi Projects [EMAIL PROTECTED]t +34 977 221 182 http://www.essiprojects.com f +34 977 230 170 ··
Re: redirecting console output to log file
Nimmons, Buster wrote: Is there a setting anywhere to redirect the output from the console of the machine running orion to a log file. You have two possibilities: - Use the redirection: java -jar orion.jar logfile.log 21 - Check orion.jar options: java -jar orion.jar -? You can redirect stdout or stderr to any file, like this: java -jar orion.jar -out orion.out -err orion.err -- ·· Juan Fuentes Nieto Essi Projects [EMAIL PROTECTED]t +34 977 221 182 http://www.essiprojects.com f +34 977 230 170 ··
Several Error pages
Hi all, I'd like to set up more than one error page for a exception, depending on the URL of the jsp/servlet where the exception has been throwned. As an example: - If url=/app1/dir1/*.jsp - Error page = /app1/dir1/error.jsp - If url=/app1/dir2/*.jsp - Error page = /app1/dir2/error.jsp As you can see there is only one web application, so there is one web.xml Thanks in advance -- ·· Juan Fuentes Nieto Essi Projects [EMAIL PROTECTED]t +34 977 221 182 http://www.essiprojects.com f +34 977 230 170 ··
DTD and XML Validation
Looking at the log files, we have realised that orion is downloading (from the same server) all DTD files referenced by XML files, while we are not validating XML files against DTDs. How could I disable this download? Thanks a lot. -- ·· Juan Fuentes Nieto Essi Projects [EMAIL PROTECTED]t +34 977 221 182 http://www.essiprojects.com f +34 977 230 170 ··
Aliases in Orion
Hi list! Does orion have any tag like the Apache's Alias?? Thanks -- ·· Juan Fuentes Nieto Essi Projects [EMAIL PROTECTED]t +34 977 221 182 http://www.essiprojects.com f +34 977 230 170 ··
Re: Aliases in Orion
Juan Fuentes wrote: Hi list! Does orion have any tag like the Apache's Alias?? Maybe using the virtual-directory tag ?? Thanks -- ·· Juan Fuentes Nieto Essi Projects [EMAIL PROTECTED]t +34 977 221 182 http://www.essiprojects.com f +34 977 230 170 ·· -- ·· Juan Fuentes Nieto Essi Projects [EMAIL PROTECTED]t +34 977 221 182 http://www.essiprojects.com f +34 977 230 170 ··
CMP and BLOB fields
Hi list! I have a CMP with a BLOB field and it does not work. I've read in the list archives that the EJB specifications explain that a CMP cannot have BLOB fields. I've changed the BLOB by a LONG RAW, and it has started to work. What's the difference between a BLOB and a LONG RAW? If the correct one is LONG RAW, why the Serializable objects are mapped to BLOBs instead of LONG RAWs? I'm using orion 1.4.5 with Oracle Thanks -- ·· Juan Fuentes Nieto Essi Projects [EMAIL PROTECTED]t +34 977 221 182 http://www.essiprojects.com f +34 977 230 170 ··
Different JSESSIONID
Hi list, We're having a problem with http session. We call a servlet twice in a session, but the second one sends a different JSESSIONID. Although the original session is not expired, and the application continues working. As the second time that servlet is called it gets a different session, it cannot access to the attributes in the session. How is it possible, and how could I solve this problem?? TIA -- ·· Juan Fuentes Nieto Essi Projects [EMAIL PROTECTED]t +34 977 221 182 http://www.essiprojects.com f +34 977 230 170 ··
Apache as front-end (orionsupport.com)
Hi list, I'm trying to put an Apache server as a front-end for orion, and it seems to work. But if I set the frontend element in default-web-site.xml, as explained in www.orionsupport.com, it stops working. Any solution?? Regards... -- ·· Juan Fuentes Nieto Essi Projects [EMAIL PROTECTED]t +34 977 221 182 http://www.essiprojects.com f +34 977 230 170 ··
Error (de-)serializing object
I'm getting this error when deserializing a HashMap. The API says that java.util.HashMap implements Serializable ?! java.rmi.RemoteException: Error (de-)serializing object: java.util.HashMap$1; nested exception is: java.io.NotSerializableException: java.util.HashMap$1 Thanks -- ·· Juan Fuentes Nieto Essi Projects [EMAIL PROTECTED]t +34 977 221 182 http://www.essiprojects.com f +34 977 230 170 ··
XSLT Processing
Hi, Is it possible to tell the Orion's XSLT Processor to send debug info to System.out / System.err ?? The error messages that appear in the browser are quite cryptic. Thanks -- ·· Juan Fuentes Nieto Essi Projects [EMAIL PROTECTED]t +34 977 221 182 http://www.essiprojects.com f +34 977 230 170 ··
Directory Listing
I have an application with directory-browing=allow. When I request for a directory, orion displays a page with the directory list. How could I write a JSP/Servlet to customize this list ?? TIA -- ·· Juan Fuentes Nieto Essi Projects [EMAIL PROTECTED]t +34 977 221 182 http://www.essiprojects.com f +34 977 230 170 ··
Re: Orion JNDI Problem
We have the same problem, but when new InitialContext(env) is called. No ejb is referenced, but I get an error about another an ejb-ref that is not part of the app. javax.naming.NamingException: No location specified and no suitable instance of the type 'com.evermind.ejb.ChipFormat' found for the ejb-ref ejb/ChipFormat at com.evermind._xa._ij(Unknown Source) at com.evermind._jfb._heb(Unknown Source) at com.evermind.server.rmi.RMIContext._rcd(Unknown Source) at com.evermind.server.rmi.RMIContext._ov(Unknown Source) at com.evermind.server.rmi.RMIContext.lookup(Unknown Source) at com.evermind._cf._np(Unknown Source) at com.evermind._cf.lookup(Unknown Source) at com.evermind._xa._ij(Unknown Source) at com.evermind._ec.lookup(Unknown Source) at com.evermind._cf._np(Unknown Source) at com.evermind._cf.lookup(Unknown Source) at javax.naming.InitialContext.lookup(Unknown Source) at __jspPage4_processMicroarrayRawData_jsp._jspService(__jspPage4_processMicroarrayRawData_jsp.java:62) at com.orionserver.http.OrionHttpJspPage.service(Unknown Source) at com.evermind._ah._rad(Unknown Source) at com.evermind.server.http.JSPServlet.service(Unknown Source) at com.evermind._cxb._abe(Unknown Source) at com.evermind._cxb._uec(Unknown Source) at com.evermind._io._twc(Unknown Source) at com.evermind._io._gc(Unknown Source) at com.evermind._if.run(Unknown Source) Thanks, Jennifer Regards -- ·· Juan Fuentes Nieto Essi Projects [EMAIL PROTECTED]t +34 977 221 182 http://www.essiprojects.com f +34 977 230 170 ··
ORION + XML/XSLT + NS 4.72
Hi all, I have a problem with XML and the XSLT translation. In some pages I get this error: --- Source XML Error: Stopping after fatal error: An invalid XML character (Unicode: 0x0) was found in the prolog of the document. --- The strange this is that it only happens when using Netscape 4.72. It works well with IE and NS 4.72+. Could someone explain why this happens?? If the XSLT process is done in the server, how can affect the version and type of the browser ?? Thanks. -- ·· Juan Fuentes Nieto Essi Projects [EMAIL PROTECTED]t +34 977 221 182 http://www.essiprojects.com f +34 977 230 170 ··
Re: Autocopy of deployment files
OK, Jeff. It works Thanks Jeff Hubbach wrote: Juan, Prior to 1.4.8 (I'm pretty sure on this, but it might be 1.5.2), the orion-ejb-jar.xml files are deployed from an orion subdirectory of the jar file. ie: ejb-jar.xml - META-INF - ejb-jar.xml - orion - orion-ejb-jar.xml - your package heirarchy - your class files Jeff. -- Jeff Hubbach Internet Developer New Media Designs, Inc. www.nmd.com -- ·· Juan Fuentes Nieto Essi Projects [EMAIL PROTECTED]t +34 977 221 182 http://www.essiprojects.com f +34 977 230 170 ··
Autocopy of deployment files
Hi list, I have my orion-application.xml file located in META-INF. When orion deploys the application it copies the file in the correct directory inside application-deployments. But, where should I put the orion-ejb-jar.xml files? I put them in the META-INF directory inside the EJBs, but they don't get copied. Note: I'm using orion 1.4.5 (I'm not expecting Update to version XXX answers) Thanx -- ·· Juan Fuentes Nieto Essi Projects [EMAIL PROTECTED]t +34 977 221 182 http://www.essiprojects.com f +34 977 230 170 ··
Re: JDOM and orion 1.5.2
Tommy Eriksson wrote: Hi, I have a problem that is driving me crazy. I have been using orion 1.3.8 and jdom for some time now and it works fine (except that it sometimes hangs for a while). When I updated orion to 1.5.2 I got the a problem with JDOM complaining about SAX Parser not found. I think this is because JDOM uses xerces and orion have changed from xerces to crimson. I have tride moving xerces.jar to {jre}\lib\ext, but then orion won't even start. So I think that orion reqiuires crimson to be the first XML Parser in the class path and JDOM requires xerces to be the first XML Parser in the class path. So my questions are: 1) Has anyone got JDOM to work with orion 1.5.2? 2) Does anyone have any Idea on how to get JDOM to work with orion 1.5.2? /Tommy We're having the same problem. I've tried to put xerces.jar in the classpath declaration of orion.jar's MANIFEST.MF, but it continues failing. Can JDOM beta 6 work with crimson instead of xerces? Thanks -- ·· Juan Fuentes Nieto Essi Projects [EMAIL PROTECTED]t +34 977 221 182 http://www.essiprojects.com f +34 977 230 170 ··
-userThreads true
Hi list! We're in troubles with the userThreads parameter. In this message, posted some months ago: --- From: cuenot jerome Subject: Re: userThreads + calling EJBs from outside orion. Date: Tue, 17 Oct 2000 00:14:42 -0700 hello Greg, for used the -userThreads flag you must started orion with this command: java -jar orion.jar -userThreads true Jerome. --- I've tried this, and the only result is an error message: (jfuentes):~/test/orion$ java -jar orion.jar -userThreads true Unknown switch: true, type java -jar orion.jar -? for help Any new ideas ?? Which is the correct syntax for the -userThreads parameter. TIA PS. We've got the same problem as Greg had: http://www.mail-archive.com/orion-interest@orionserver.com/msg05416.html -- Juan Fuentes [EMAIL PROTECTED]
Re: How to provide own security mechinism
Christian Sell wrote: Therese the UserManager and RoleManager classes that you can use resp. provide your own replacement for. They are described in the docs that come with orion. OK. But as far as I know, these interfaces are part of the orion server. How could I implement them in a server-independent way? Thanks. -- Juan Fuentes [EMAIL PROTECTED]
DataSourceUserManager: Deleting users
Hi folks! I use orion 1.3.8 and DataSourceUserManager to authenticate users. It works OK, but after deleting a user, the server recognizes that user. Is this a bug? I've set the property "staleness" to 1, so info has to be refetched every time a user has to be authenticated. Any suggestion?? Bye! -- Juan Fuentes [EMAIL PROTECTED]