RE: Generating descriptors
Hi, My Question is somehow related to this. I hvae got Orion generated the specific xml descriptors (orion-XXX.xml). Then I copied them to my development directory and packaged them in the EAR file, each in the directory of its J2EE standard one. (e.g. orion-ejb-jar.xml was located where ejb-jar.xml should be.) Unfortunately, Orion did not deploy the changes I made to my development version of the orion specific files, but kept the files it had generated. How can I deploy my orion specific descriptors in the EAR file? Any help is appreciated! Thanks, Tibor -Original Message- From: Simon Kelly [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 12:31 AM To: Orion-Interest Subject: RE: Generating descriptors Check out Xdoclet: http://xdoclet.sourceforge.net/ -Original Message- From: The elephantwalker [SMTP:[EMAIL PROTECTED]] Sent: Thursday, January 24, 2002 10:19 AM To: Orion-Interest Subject: RE: Generating descriptors Michael, The Orion assembler tools are not reliable on Orion. However, when you deploy an application, orion will automaticly generate the orion-ejb-jar.xml, orion-application.xml, and orion-web.xml files. These are orion-specific deployment descriptors which you can modify and use as you see fit. As for the j2ee ejb-jar.xml, application.xml, and web.xml files, you will need to generate those on your own, or use jdeveloper, forte for java, netbeans, sun's j2ee tools, or do it by hand (which is what I do). Regards, the elephantwalker -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Michal Palicka Sent: Thursday, January 24, 2002 5:28 AM To: Orion-Interest Subject: Generating descriptors Hello, what tools do you use to generate various descriptors (beans, applications, etc.)? Do you prefer writing descriptors manualy? Could you give me any hints? I tried the EJB Assembler tool, which is a part of Orion, but I could not generate the EJB descriptor. I am able to generate the EJB jar file, but without the descriptor. When I try to save the descriptor I always get the following error: Couldn't save to that location: META-INF. Could you tell me, what are the correct steps to generate an EJB + the corresponding descriptor? Thanks in advance Michal Palicka, Cleverlance
AW: problem creating ejb from one orion in a other orion
Hi, You must enable server-to-server communication via RMI and specify the Third EJB as a remote one in orion-application.xml. See doc: ejb-module path=myEjbs.jar remote=true|false / Check out www.orionsupport.com for further details on server-server communication. HTH, Tibor -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von [EMAIL PROTECTED] Gesendet: Dienstag, 4. Dezember 2001 08:39 An: Orion-Interest Betreff: problem creating ejb from one orion in a other orion hello my problem is the following: i want to perform some little loadbalancing without the loadbalancing tool from orion. the scenario is the following: the client creates a ejb in the first orion server, and this bean makes a lookup to another orion server and creates a second bean on the other server. for now it was impossible to me to create a bean from one orion server into a other orion server. everytime i make a lookup from a ejb to a bean into a other orion server it searches the bean in the same orion server instead of searching the bean into a other orion server. now the codefragment which creates the initialcontext ( this is part of a method into the first ejb ) java.util.Hashtable env = new java.util.Hashtable(); env.put (com.evermind.server.rmi.RMIContext.INITIAL_CONTEXT_FACTORY,c om.evermind.server .rmi.RMIInitialContextFactory); env.put (com.evermind.server.rmi.RMIContext.PROVIDER_URL,ormi://10.2. 0.17/Third); env.put(com.evermind.server.rmi.RMIContext.SECURITY_PRINCIPAL, admin); env.put(com.evermind.server.rmi.RMIContext.SECURITY_CREDENTIAL S,123); Context ic = new InitialContext(env); Object Obj = ic.lookup(Third); now by calling this method i get the following error meassages: java.lang.NullPointerException: domain was null at com.evermind._ce._fcc(Unknown Source) at com.evermind._ce._mr(Unknown Source) at com.evermind.server.rmi.RMIInitialContextFactory.getInitialContext(Un known Source) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6 68) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246 ) at javax.naming.InitialContext.init(InitialContext.java:222) at javax.naming.InitialContext.init(InitialContext.java:198) at loadbalancing.FirstBean.createSecondBean(FirstBean.java:36) at First_StatefulSessionBeanWrapper37.createSecondBean(First_StatefulSes sionBeanWrapper37.java:88) at java.lang.reflect.Method.invoke(Native Method) at com.evermind._dh._gc(Unknown Source) at com.evermind._if.run(Unknown Source) i suppose the error domain was null has it's origin in the fact, that the Third bean i am looking for is not installed in the first orion server, but only in the second one. now, what can i do to create a ejb from a ejb which is lokated into a other orion server like the first one? thanks, johannes rainer
AW: Orion Server with external webserver
Hi, h.put(Context.PROVIDER_URL,ormi://localhost:80/time); Make sure that the RMI port is correct. The default is not 80, but 23791. Check your orion dir/config/rmi.xml file for the port setting. If nothing is specified, use 23791 (or nothing) instead of 80, like ormi://localhost:23791/time. (port 80 for http requests, while you're trying to make an ormi access on Orion). HTH, Tibor Hegyi webmiles AG Ridlerstr. 31b 80339 München Tel. 089/ 12469-461 Fax 089/ 12469 - 222 e-mail: [EMAIL PROTECTED] -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Fredrik Gusting (PAC) Gesendet: Donnerstag, 4. Oktober 2001 09:38 An: Orion-Interest Betreff: Orion Server with external webserver Hi all I've trouble with my connection from my Tomcat webserver to Orion server. In tomcat have set upp a servlet which takes a request from a browser and then do a lookup for my orionserver that contains a small example of an entitybean that simple returns the current time. I've setup everything onmy local machine. Tomcat port 8080, and Orion port 8000. When I try to create my Initialcontext I get LoginException or something. Her is a part of my code public class Dispatcher extends HttpServlet { /**Initialize global variables*/ private static final String CONTENT_TYPE = text/html; private Context context = null; public void init(ServletConfig config) throws ServletException { super.init(config); } /**Process the HTTP Get request*/ public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { try { Properties h = new Properties(); h.put(Context.INITIAL_CONTEXT_FACTORY,com.evermind.server.App licationClientInitialContextFactory); h.put(Context.PROVIDER_URL,ormi://localhost:80/time); h.put(Context.SECURITY_PRINCIPAL, admin); h.put(Context.SECURITY_CREDENTIALS, 123); Context context = new InitialContext(h); // HERE IT CRASHES Object ref = (PerfectTimeHome)context.lookup(PerfectTimeHome); Do I have to configure orion for login, how??? Has anybody got an external webserver to work with orion. Sample of that please! Regards Fredrik Fredrik Gusting(mailto: [EMAIL PROTECTED]) System Designer Ericsson Process Application Consulting Kistagången 4 Phone: +46 8 568 63 189 SE-125 82 Kista Mobile: +46 70 52 63 189
AW: spam?
Sorry I'm totally stupid, please discard my previous mail in this thread. Tibor webmiles AG Ridlerstr. 31b 80339 Munchen Tel. 089/ 12469-461 Fax 089/ 12469 - 222 e-mail: [EMAIL PROTECTED] -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Boris Garbuzov Gesendet: Sonntag, 17. Juni 2001 06:21 An: Orion-Interest Betreff: spam? Guys, what is happening? Too many strange messages. -- Kevin Duffey wrote: Hi Melissa, I didn't get the size for him. To be honest..I cam was working on content and part of my front-end framework the last few times. I will figure this out soon for him and let him know. Next weekend is bad for me to meet too..got two graduations and a special mothers-day/fathers-day dinner for my parents who are in from Florida. But sometime during the week, especially Wednesday night or Thursday would be fine. Site is up. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Scot Weber Sent: Thursday, June 14, 2001 5:27 PM To: Orion-Interest Subject: Re: debug jsp pages and where is the source Wendell, orion-web-app jsp-cache-directory=./persistence servlet-webdir=/servlet development=false-- Change this to true persistence-path=./persistence/state.ser Then . . . Assuming all things are equal and you have a default web app called 'devel-default-web-app' bound to the server you're working with, the persistence (and subsequently the .java files for the .jsp's) will be in the path: /u/orion/application-deployments/default/devel-default-web-app /persistence http://www.mydomain.com/index.jsp will produce the files /u/orion/application-deployments/default/devel-default-web-app/per sistence/index.jsp.java /u/orion/application-deployments/default/devel-default-web-app/per sistence/index.jsp.jspCache peace - scot Wendell Nichols wrote: Well I made the jsp page work by explicitly importing java.lang.String, as opposed to java.lang.* as I had done for other servers. Because this shouldn't bother other servers I'm ok with it. I still need to have access to the jsp.java files for debugging purposes before Orion will be an acceptable server for me... ... snip ... Any help would be appreciated.. Wendell Nichols Amdahl Software Ltd. and Fujitsu Apserv. -- scot weber - [EMAIL PROTECTED] - Given a choice between a folly and a sacrament, one should always choose the folly -- because we know a sacrament will not bring us closer to God and there's always a chance that a folly will. - Erasmus The only man who never makes a mistake is the man who never does anything. - Theodore Roosevelt.
AW: spam?
Boris, I have subscribed to the Orion-Interest mailing list months ago. I regularly receive mails such as this. Today I discovered that my Orion folder HAS DISAPPEARED somehow. Quite strange. As well, the fact you (and maybe others) got this Orion related mail. The mailing list is quite dynamic and vital, there are lots of messages each day. This is why you might have thought this was a spam. The only question is why you got these mails. Tibor webmiles AG Ridlerstr. 31b 80339 Munchen Tel. 089/ 12469-461 Fax 089/ 12469 - 222 e-mail: [EMAIL PROTECTED] -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Boris Garbuzov Gesendet: Sonntag, 17. Juni 2001 06:21 An: Orion-Interest Betreff: spam? Guys, what is happening? Too many strange messages. -- Kevin Duffey wrote: Hi Melissa, I didn't get the size for him. To be honest..I cam was working on content and part of my front-end framework the last few times. I will figure this out soon for him and let him know. Next weekend is bad for me to meet too..got two graduations and a special mothers-day/fathers-day dinner for my parents who are in from Florida. But sometime during the week, especially Wednesday night or Thursday would be fine. Site is up. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Scot Weber Sent: Thursday, June 14, 2001 5:27 PM To: Orion-Interest Subject: Re: debug jsp pages and where is the source Wendell, orion-web-app jsp-cache-directory=./persistence servlet-webdir=/servlet development=false-- Change this to true persistence-path=./persistence/state.ser Then . . . Assuming all things are equal and you have a default web app called 'devel-default-web-app' bound to the server you're working with, the persistence (and subsequently the .java files for the .jsp's) will be in the path: /u/orion/application-deployments/default/devel-default-web-app /persistence http://www.mydomain.com/index.jsp will produce the files /u/orion/application-deployments/default/devel-default-web-app/per sistence/index.jsp.java /u/orion/application-deployments/default/devel-default-web-app/per sistence/index.jsp.jspCache peace - scot Wendell Nichols wrote: Well I made the jsp page work by explicitly importing java.lang.String, as opposed to java.lang.* as I had done for other servers. Because this shouldn't bother other servers I'm ok with it. I still need to have access to the jsp.java files for debugging purposes before Orion will be an acceptable server for me... ... snip ... Any help would be appreciated.. Wendell Nichols Amdahl Software Ltd. and Fujitsu Apserv. -- scot weber - [EMAIL PROTECTED] - Given a choice between a folly and a sacrament, one should always choose the folly -- because we know a sacrament will not bring us closer to God and there's always a chance that a folly will. - Erasmus The only man who never makes a mistake is the man who never does anything. - Theodore Roosevelt.