Re: Support of WAR files.
Does anyone know if or when OrionServer will support .war files? Orion currently supports .war files and the latest version supports .ear files as well (the first server I've seen that does). -Joe Walnes
rebind error in JNDI
Orion Folks: I have some EJBeans that work with the orion.jar file that came with the 8.2 distribution posted 12/22/1999. I downloaded the orion.jar on 12/23/1999 (it says it is 8.3 and is 851,933 bytes). When I run the same EJBeans using the 8.3 orion.jar I get a JNDI exception that says use rebind cause the name already exists. (The detailed exception is below.) My code does use the rebind method! Are there known problems with the 8.3 orion.jar??? -Gary javax.naming.NameAlreadyBoundException: Use rebind to override at com.evermind.server.rmi.RMIContext.dr(JAX) at ev.dr(JAX) at ev.rebind(JAX) at javax.naming.InitialContext.rebind(InitialContext.java:377) at com.ddi.tophat.services.NextPKServerBean.putNextPKCollectionInJNDI(NextPKServerBean.java:146) at com.ddi.tophat.services.NextPKServerBean.getNextPKFor(NextPKServerBean.java:76) at SessionBeanWrapper4.getNextPKFor(SessionBeanWrapper4.java:66) at com.ddi.tophat.ejb.AbstractEntityBean.createNewPrimaryKey(AbstractEntityBean.java:478) at com.ddi.tophat.ejb.AbstractEntityBean.ejbCreate(AbstractEntityBean.java:63) at EntityHomeWrapper11.create(EntityHomeWrapper11.java:447) at java.lang.reflect.Method.invoke(Native Method) at aq.d_(JAX) at aq.run(JAX) at c.run(JAX) com.ddi.tophat.services.NextPKServerBean: Error in rebind(nextPKs): javax.naming.NameAlreadyBoundException: Use rebind to override __ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com
JNDI system properties
Hi, I am trying to run the EJB Session Bean example, and I am wondering if this is the correct way to launch the CartClient.class. I have the JNDI properties file in my bean directory, and my bean is deployed, but I can't get my CartClient to work. Do I have to do anything else to specify the JNDI properties? BTW, where are java.naming.* files located - are they in a jar or what? java -Djava.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory -Djava.naming.provider.url=ormi://localhost -Djava.naming.security.principal=admin -Djava.naming.security.credentials=123 CartClient thanks, Dan __ Get Your Private, Free Email at http://www.hotmail.com
Specifying how many beans to pool?
Does anyone know how you tell the Orion server how many instances of a particular EJB to be made available in the pool, when the server starts up? Seems like each bean would have this parameter as a part of the ejb-jar.xml file, but I can't find any information for this. Thanks in advance. Mike Fontenot - Object Systems Architect Polygon Network, Inc. Golden, Colorado