Re: Reusing compiled JSPs on another machine
Hi Dude, Compile your jsp page into a servlet, then make your servlet appear as a jsp page, by doing the following in your web.xml. The Servlet is made to look as a JSP page with the following web.xml: !DOCTYPE webapp SYSTEM "http://java.sun.com/j2ee/dtds/web-app_1_2.dtd" webapp servlet servlet-name HelloWorld /servlet-name servlet-class HelloWorld.class /servlet-class /servlet servlet-mapping servlet-name HelloWorld /servlet-name url-pattern /HelloWorld.jsp /url-pattern /servlet-mapping session-config session-timeout 1 /session-timeout /session-config /webapp - Original Message - From: "Matt Krevs" [EMAIL PROTECTED] Date: Tuesday, November 28, 2000 5:06 pm Subject: Reusing compiled JSPs on another machine We often deploy our web app on multiple machines Currently this is a painful process as we have to hit each page on eachmachine (we run a script to do this) so the pages are compiled when the testers test the app. I have played around with compiling the pages one 1 machine and copying the compiled code onto other machines. However the pages on the other machine ignore the copied source code and recompile. Anyone know what I can do so I can "compile once - deploy anywhere"? Thanks
JMS - JNDI - JMS - JNDI set up.
Hi Folks, I am wondering, how is it possible to configure Orion server to use a different JMS server ?, has anyone attempted this ? had any luck ? I am thinking is it possible to configure Orions JNDI service to transparently use the different JMS servers JNDI service or to make them work as one some how ? if not what would the other option be, just connecting to a different JNDI service directly from orion ? if anyone can give me any suggestions or if anyone has had success in doing this, please enlighten me :). Thanks in advance. With Kind Regards Alex Chudnovsky.
Re: referencing Counter in counter.jar - how?
HI, newId = CounterUtils.getNextID("java:comp/env/Counter","Photo"); should be newId = CounterUtils.getNextID("java:comp/env/ejb/Counter","Photo"); You have even defined it right in your descriptor :).. Alex. :) - Original Message - From: Stefan Arentz [EMAIL PROTECTED] Date: Wednesday, September 27, 2000 11:26 pm Subject: referencing Counter in counter.jar - how? I'm stuck with the following error: javax.ejb.CreateException: Naming Exception: Counter not found in Photo Bean From PhotoBean.java I do: newId = CounterUtils.getNextID("java:comp/env/Counter","Photo"); application.xml contains: module ejbcounter.jar/ejb /module ejb-jar contains: entity descriptionPhoto/description display-namePhoto Entity Bean/display-name ... ejb-ref ejb-ref-nameejb/Counter/ejb-ref-name ejb-ref-typeEntity/ejb-ref-type homecom.evermind.ejb.CounterHome/home remotecom.evermind.ejb.Counter/remote ejb-linkcom.evermind.ejb.Counter/ejb-link /ejb-ref /entity And counter.jar is in the root of the application directory: drwxr-xr-x 4 stefan staff92 Sep 27 03:10 META-INF -rw-r--r-- 1 stefan staff 6865 Sep 27 03:09 counter.jar drwxr-xr-x 4 stefan staff 264 Sep 27 01:13 photos-ejb drwxr-xr-x 32 stefan staff 1044 Sep 27 12:23 photos-web So what's going on here? I can't figure ou why this doesn't work. This is Orion 1.3.8. Stefan
Re: Orion Hosting Service
Robert, To be honest, this is something that i havent tried :).. And probably wont for the time being heh.. As far as I know, your absolutly right it will take down the server but there again, perhaps the latest versions of orion have new functionality in this regard. Alex Try www.netpike.com If you see no info on the site about orion, just email them and ask. I am hosting my web site there at the moment using orion. Alex. how do they handle the System.exit(0) problem? can you call that from a jsp? maybe I missed that but I once noticed that it is possible to take the server down doing that and also remember hearing someone mention that. can that be configured? regards, robert
Re: Orion Hosting Service
Try www.netpike.com If you see no info on the site about orion, just email them and ask. I am hosting my web site there at the moment using orion. Alex. - Original Message - From: Guilherme Ceschiatti [EMAIL PROTECTED] Date: Monday, September 18, 2000 7:50 am Subject: Orion Hosting Service Hi! Anybody knows an hosting service with Orion Server support? []s Guilherme Ceschiatti [EMAIL PROTECTED]
Re: Looking for Fellow Programmers
- Original Message - From: "Christian Sell" [EMAIL PROTECTED] Date: Thursday, September 14, 2000 2:22 am Subject: Re: Looking for Fellow Programmers hey, I dont think the initial offer is a problem (what better place to meet J2EE programmers), but why dont you carry on your dealings via private email? I could not agree with you more!
Re: client factory problem!
Dude, - orion.jar - ejb.jar - jndi.jar - jaxp.jar - parser.jar - jdbc.jar - mail.jar You need to include all of them believe it or not, but orions team is working on the client.jar at the moment which will make this task easier :). java.naming.factory.initial=com.evermind.server.ApplicationClientInitial ContextFactory java.naming.provider.url=ormi://localhost/yourApp java.naming.security.principal=log java.naming.security.credentials=pass - Original Message - From: cuenot jerome [EMAIL PROTECTED] Date: Tuesday, September 12, 2000 7:42 pm Subject: client factory problem! Hello all, I've got a problem : When I start a client class which connects to the Orion Server, I haven't got the correct Factory class in the jndi.properties of my JRE. Moreover, I don't know which Orion classes implement the InitialContextinterface. Jerome.
referential integrity and ejb's
To inforce referential integrity with ejb's are there any implications if i do a look up in the ejbcreate and throw a createException, or would this be better suited to using a session bean. Alex.
Re: Autoencoding URLs
In your creating a dynamic url you have to use response.encodeURL("url in here") yourself, Orion will auto encode static urls, and it can even auto encode static absolute urls as far as i know if you set it right in the descriptors, but it does not auto encode dynamic ones, so that is your solution. :) Alex Chudnovsky. - Original Message - From: "Werff, M.R. van der" [EMAIL PROTECTED] Date: Tuesday, September 5, 2000 11:04 pm Subject: Autoencoding URLs Hi, I'm trying to support browsers that don't have cookies enabled. The autoencoding of Orion works fine in most cases. It automatically appends;jsessionid=EDGKOOGMNHNH to most URLs. It even works on URLs with a parameter: password.jsp?oper=modify becomes password.jsp?oper=modify;jsessionid=EDGKOOGMNHNH. So far so good. It does not work when I'm creating the links from information from a session bean: "%=user.getKaName(ka)% In that case I'm ending up with: management.jsp?id=midip without the ;jsessionid=EDGKOOGMNHNH part, and so the user is required to login again when accessing this link. Any help is appreciated. Cheers, Martin. Martin van der Werff KPN Research, PO Box 15000, 9700 CD Groningen, The Netherlands Tel (+31 50 58) 21005, Fax (+31 50) 3122415 [EMAIL PROTECTED]
Security Roles
Could someone please explain to me how security roles work in orion. How can I specify my Jsp pages in a particular web application to take on a particular role ? I believe you need to use the UserManager for this, but is there any information available on the user Manager ?? I do have form authorization working, but the problem is that I have modelled it on orions code, but do not have an understanding of how it actually works.. If anyway can please enlighten me on security roles in orion it would be very much appreciated. Alex.
Re: list problems?
Perhaps your seeing double :) ? heh - Original Message - From: "J.T. Wenting" [EMAIL PROTECTED] Date: Wednesday, September 6, 2000 3:23 am Subject: list problems? I am currently receiving 2 copies of each message... Jeroen T Wenting [EMAIL PROTECTED] ICQ UIN #9191966 It's the end of the world as we know it and I feel fine (Michael Stipe)
Re: RE: Security Roles
Is it possible for you to include any source code to show how its actually done, I have had a look through the api,but it all seems rather overwhelming :). Thanks alot in advance. Alex Chudnovsky - Original Message - From: Juan Pablo Lorandi [EMAIL PROTECTED] Date: Wednesday, September 6, 2000 3:28 am Subject: RE: Security Roles To impersonate a role, you must use the RoleManager of your app (java:comp/RoleManager) The orion api is the only known source of information on the Security Managers HTH, JP -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 05, 2000 1:31 PM To: Orion-Interest Subject: Security Roles Could someone please explain to me how security roles work in orion. How can I specify my Jsp pages in a particular web application to take on a particular role ? I believe you need to use the UserManager for this, but is there any information available on the user Manager ?? I do have form authorization working, but the problem is that I have modelled it on orions code, but do not have an understanding of how it actually works.. If anyway can please enlighten me on security roles in orion it would be very much appreciated. Alex.