RE: (loading servlet at startup) No performance using internet explorer
Title: RE: (loading servlet at startup) No performance using internet explorer I solved the problem. I downloaded the web-app.dtd from java.sun.com. :) regards, Patrik Andersson -Original Message- From: Kit Cragin [mailto:[EMAIL PROTECTED]] Sent: den 7 juni 2000 22:02 To: Orion-Interest Subject: RE: (loading servlet at startup) No performance using internet explorer The following works for me: web-app servlet servlet-nameMy Servlet/servlet-name servlet-classcom.mongoosetech.servlets.MyServlet/servlet-class load-on-startup1/load-on-startup /servlet /web-app I don't know if it matters but the servlet I am loading is derived from GenericServlet not HttpServlet. Also, you might try checking the various logs. - Kit -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Patrik Andersson Sent: Wednesday, June 07, 2000 9:18 AM To: Orion-Interest Subject: No performance using internet explorer How do I have orion load a servlet on startup. I can't seem to get the load-on-startup tag work. I've tried placing it inside servlet/servlet tags and also in the servlet-mapping tag. When I place it in either of the places the site goes down. regards, patrik Andersson
JNDI Problem
Title: JNDI Problem Hi There I've got a JNDI problem...I've written a very small ejb session bean..and sucessfully installed it onto orion...I've written a seperate client (stand alone) and got the initial context working. Whenever I try to lookup my bean, I get the following exception... javax.naming.NamingException: java:comp/env namespace is only available from wit hin a J2EE component at com.sun.enterprise.naming.java.javaURLContext.getComponentContext(jav aURLContext.java:392) at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.j ava:51) at javax.naming.InitialContext.lookup(InitialContext.java:354) at ejbtest.DemoClient.main(DemoClient.java:29) at java.lang.reflect.Method.invoke(Native Method) at com.borland.jbuilder.util.BootStrap.invokeMain(Unknown Source) at com.borland.jbuilder.util.BootStrap.main(Unknown Source) Please help me on this problem Here is my client source: package ejbtest; import javax.ejb.*; import javax.naming.*; import javax.naming.spi.*; import java.rmi.*; import java.util.Properties; import com.evermind.ejb.*; import com.evermind.naming.*; import java.io.*; public class DemoClient { static String user = admin; static String password = admin; static String url = ormi://localhost/; public static void main(String[] args) { System.out.println(\nBegin DemoClient...\n); parseArgs(args); try { // Context ctx = getInitialContext(); DemoHome fssh; System.out.println(Initial context); Context ctx = getInitialContext(); System.out.println(Initial context); System.out.println(Looking up); fssh = (DemoHome) ctx.lookup(java:comp/env/demo); System.out.println(Creating Demo\n); Demo demo = fssh.create(); System.out.println(The result is + demo.demoSelect()); } catch (Exception e) { System.out.println( = Error =); e.printStackTrace(); } System.out.println(\nEnd DemoClient...\n); } static void parseArgs(String args[]) { if ((args == null) || (args.length == 0)) return; for (int i = 0; i args.length; i++) { if (args[i].equals(-url)) url = args[++i]; else if (args[i].equals(-user)) user = args[++i]; else if (args[i].equals(-password)) password = args[++i]; } } static public Context getInitialContext() throws Exception { Properties p = new Properties(); p.put(Context.PROVIDER_URL, url); p.put(host, ormi://localhost/); if (user != null) { System.out.println (user: + user); p.put(Context.SECURITY_PRINCIPAL, user); if (password == null) password = ; p.put(Context.SECURITY_CREDENTIALS, password); p.put(Context.INITIAL_CONTEXT_FACTORY, com.evermind.server.rmi.RMIInitialContextFactory); // p.put(java.naming.factory.initial, com.evermind.server.ApplicationClientInitialContextFactory); } return new InitialContext(p); } } THANK YOU!! MARTIN COETZEE - The talent to make it happen Java Programmer - CCH (FutureJ) Email: [EMAIL PROTECTED] (work) [EMAIL PROTECTED] (personal) Tel: 082-9033416 (Mobile) 082-1319033416 (Fax) 011-8043772 - ext 2219 (Work) Homepage: http://www.crosswinds.net/~martincoetzee/
RE: CLUSTERING ¨?
I too would like to know about this... do reply back to orion-interest. Dean Mao (catch23) -Original Message- From: David Sierra Fernandez [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 07, 2000 1:23 PM To: Orion-Interest Subject: CLUSTERING ¨? I want to know ASAP if orion supports replication and failover for: * home interfaces * stateless beans and what about: * servlets * JNDI * HTTP request * JSPs (I think it is useless to have the beans replicated if the server that fails is the only one which contains the JNDI) THANK YOU VERY MUCH. - David Sierra Fern ndez E.T.S.I. Telecomunicaci¢n Universidad de ValladolidAULA CEDETEL Campus Miguel Delibes E-Mail: [EMAIL PROTECTED] 47011 Valladolid (SPAIN) -- -- Sierr@ --
RE: CLUSTERING ¨?
http://www.orionserver.com/docs/http-clustering-howto.html -Original Message- From: Mao, Dean [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 08, 2000 5:10 AM To: Orion-Interest Subject: RE: CLUSTERING ¨? I too would like to know about this... do reply back to orion-interest. Dean Mao (catch23) -Original Message- From: David Sierra Fernandez [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 07, 2000 1:23 PM To: Orion-Interest Subject: CLUSTERING ¨? I want to know ASAP if orion supports replication and failover for: * home interfaces * stateless beans and what about: * servlets * JNDI * HTTP request * JSPs (I think it is useless to have the beans replicated if the server that fails is the only one which contains the JNDI) THANK YOU VERY MUCH. - David Sierra Fern ndez E.T.S.I. Telecomunicaci¢n Universidad de ValladolidAULA CEDETEL Campus Miguel Delibes E-Mail: [EMAIL PROTECTED] 47011 Valladolid (SPAIN) -- -- Sierr@ --
Applets and Orion
What files do I need to include in my applet if I want it to communicate with Orion? I have included the remote and home interfaces, of course, but I also need some other stuff... med vennlig hilsen Christian Tellefsen Telenor Mobil AS - Planavdelingen
RE: EJB 2.0
An observation and a dumb question. First I looked extensively at application servers and was amazed at how much marketing hype was applied and how little real technical information they contained on how exactly how they conformed to the J2EE standard. Additionally I was looking for a server that also supported a web container. Most of the products I reviewed didn't support this. I have no doubt that Orion will continue to comply with the J2EE standard in its entirety. And the dumb question. Does BEA Weblogic support a web container in its server? Kirk S. Kalvar, Software Engineer DRS Electronic Systems Group -Original Message- From: Nathan Phelps [SMTP:[EMAIL PROTECTED]] Sent: Thursday, June 08, 2000 01:10 To: Orion-Interest Subject: EJB 2.0 BEA Systems website says "BEA Delivers Industry's First Enterprise JavaBeans 2.0 Implementation." Does the Orion team have plans to release a version of Orion with an implementation of EJB 2.0 based upon the latest draft specification?
Orion 1.0 EJB compilation bug
Hi all, Just a quick note on a small bug I've stumbled across in Orion 1.0. Implemented a Home interface method: Collection findByDate(...) And implemented the corresponding implementation class method: ArrayList ejbFindByDate(...) I assume this was a mistake on my part by having a different signature on the findBy method in the implementation class than the home interface class, although I haven't checked the spec to see if it should be valid to return a sub-class in the implementation method. Anyway when trying to deploy this bean Orion 1.0 does not flag a compilation error, rather it drops out with the following exception: (which took a while to resolve because there were alot of beans being deployed and I couldn't tell which one was causing the problem). Auto-deploying theappname-ejb... java.lang.NullPointerException at com.evermind.server.ejb.compilation.ey.aaf(JAX, Compiled Code) at com.evermind.server.ejb.compilation.ew.aae(JAX, Compiled Code) at com.evermind.server.ejb.compilation.ew.init(JAX, Compiled Code) at com.evermind.server.ejb.compilation.ey.init(JAX, Compiled Code) at com.evermind.server.ejb.compilation.e_.zh(JAX, Compiled Code) at com.evermind.server.ejb.compilation.e7.abo(JAX, Compiled Code) at com.evermind.server.ejb.compilation.e_.o6(JAX, Compiled Code) at com.evermind.server.ejb.compilation.e1.o6(JAX, Compiled Code) at com.evermind.server.ejb.compilation.e6.o6(JAX, Compiled Code) at com.evermind.server.ejb.EJBContainer.lj(JAX, Compiled Code) at com.evermind.server.Application.lj(JAX, Compiled Code) at com.evermind.server.Application.e7(JAX, Compiled Code) at com.evermind.server.ApplicationServer.od(JAX, Compiled Code) at com.evermind.server.ApplicationServer.aio(JAX, Compiled Code) at com.evermind.server.ApplicationServer.e7(JAX, Compiled Code) at com.evermind.server.ga.run(JAX, Compiled Code) at java.lang.Thread.run(Thread.java, Compiled Code) at com.evermind.util.e.run(JAX, Compiled Code)
Re: EJB 2.0
Yes, it comes with a HTTP server and also supports JSP and servlet. The only thing discouraging is its price tag. "Kalvar, Kirk" wrote: And the dumb question. Does BEA Weblogic support a web container in its server? Yes, it comes with a HTTP server and also supports JSP and servlet. The only thing discouraging is its price tag.
What JNDI URL I need to specify
Hi, Can somebody tell me, in order to remotely locate the Home interface of an EJB, what JNDI url I need to specify? Also what port number do I specify. TIA Vimal Kansal __ Do You Yahoo!? Yahoo! Photos -- now, 100 FREE prints! http://photos.yahoo.com