ORION running under Solaris Environment
I want to build my development department with Orion under Sun Solaris. I want advise about: * How it should be implemented: one server with Orion inside it and terminals running that instance of Orion or Orion installed in all of the workstations * What are the hardware requirements in both alternatives( workstations and server I'd prefer if you are concret, I say, especific machines like Ultra 1,2 ... workstations like Sparc 20,... and memory requirements... TIA. - David Sierra Fern ndez Valladolid (SPAIN) -- -- Sierr@ --
ALTERNATIVES TO JDK1.3
Could you tell me if there is an alternative compiler to jdk 1.3? I'm looking for other compilers but they should compile all my middleware components (servlets, JSPs,EJBs,JavaBeans) TIA -- Sierr@ --
HARDWARE FOR J2EE apps
I would be very gratefull if anyone with experience tell me what it's the appropiate hardware to develope ejbs, servlets and jsps, and what it's the appropiate in order to run an app with a great load of concurrent users. I wanna know your opinion about what to choose Unix(solaris,HP,..) or Win (intel) for both development and real app. TIA. - David Sierra Fern ndez -- -- Sierr@ --
LDAP
Hi all, I know that a ejb can make a request to an URL, send an e-mail, and manage other actions defined in methods of its superclasses. I want to know if it is possible to make a request to another port different to http port or STMP port?. I would like to make a request to port 389 (ILS). This port is the default port in almost all LDAP servers. If it is not possible, I will have to use ASP. Any ideas would be appreciated. TIA - David Sierra Fern ndez Ingeniero Tecnico de Telecomunicaci¢n PARQUE TECNOLOGICO DE BOECILLO (CEDETEL) AULA RETECAL (CEDETEL) Universidad de Valladolid Campus Miguel Delibes E-Mail: [EMAIL PROTECTED] 47011 Valladolid (SPAIN) -- -- Sierr@ --
Re: posting fourth time but did not got any answer
In web.xml, nested in servlet tag you have a tag called load-on-startup where you specify the priority number which your servlet will have. a value of -1 will not load on startup your servlet. Hope this helps. - David Sierra Fern ndez Ingeniero Tecnico de Telecomunicaci¢n AULA RETECAL (CEDETEL) Universidad de Valladolid Campus Miguel Delibes E-Mail: [EMAIL PROTECTED] 47011 Valladolid (SPAIN) -- -- Sierr@ -- On Sat, 12 Aug 2000, Khan Kamran wrote: Hi all, I want to know how i can run my servlet at orion server startup and shutdown. Ples help Thanks Kamran
Re: posting fourth time but did not got any answer
you're totally rigth, Chris - David Sierra Fern ndez Ingeniero Tecnico de Telecomunicaci¢n AULA RETECAL (CEDETEL) Universidad de Valladolid Campus Miguel Delibes E-Mail: [EMAIL PROTECTED] 47011 Valladolid (SPAIN) -- -- Sierr@ -- On Wed, 16 Aug 2000, Christian Sell wrote: -1 in web.xml means that the preload sequence is unimportant. Preload does however still happen. To achieve load-on-server-startup, using web.xml is not enough, since this only causes the servlet to be loaded when the application is started, which may not be before it is accessed the first time. Therefore, the same setting must be applied at the application level, too (web-site.xml) -Original Message- From: David Sierra Fernandez [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Cc: Orion-Interest [EMAIL PROTECTED] Date: Mittwoch, 16. August 2000 16:28 Subject: Re: posting fourth time but did not got any answer In web.xml, nested in servlet tag you have a tag called load-on-startup where you specify the priority number which your servlet will have. a value of -1 will not load on startup your servlet. Hope this helps. - David Sierra Fern ndez Ingeniero Tecnico de Telecomunicaci¢n AULA RETECAL (CEDETEL) Universidad de Valladolid Campus Miguel Delibes E-Mail: [EMAIL PROTECTED] 47011 Valladolid (SPAIN) -- -- Sierr@ -- On Sat, 12 Aug 2000, Khan Kamran wrote: Hi all, I want to know how i can run my servlet at orion server startup and shutdown. Ples help Thanks Kamran
Re: Begging for Help: EJB Deployment in Orion Server 1.0
First of all you have to create a J2EE directory estructure: application --- META-INF/application.xml | module.jar | module.war and then follow the instructions in Orion docs "How to deploy an app" You have to create yourself application.xml. Read in docs about the estructure of this file but basically you only have to declare the modules you use in the app. Hope this helps or at least push you a bit. - David Sierra Fern ndez Ingeniero Tecnico de Telecomunicaci¢n AULA RETECAL (CEDETEL) Universidad de Valladolid Campus Miguel Delibes E-Mail: [EMAIL PROTECTED] 47011 Valladolid (SPAIN) -- -- Sierr@ -- On Mon, 7 Aug 2000, Ray Harrison wrote: Hello: (I am quite new - forgiveness and patience please!) I am working with Monson-Haefel's EJB book and am trying to figure out a way to deploy the example EJBs to the Orion Server (1.0). I have seen a number of postings on the subject (deployment of EJBs) but have seen few, if any, answers. I would like to ask for, nay beg for, some answers. I am quite new at EJBs but making rapid progress and would like to continue learning w/o being bogged down by the well-known poor docs of Orion. I have successfully deployed EJBs in Sybase's Jaguar CTS (I guess it's EA Server, now). Does ANYONE have suggestions on deployment of EJBs. Has anyone successfully deployed the Monson-Haefel EJBs in Orion? I have the JAR file and the ejb-jar.xml file. I take the these and do what, exactly? Any help is greatly appreciated __ Do You Yahoo!? Kick off your party with Yahoo! Invites. http://invites.yahoo.com/
EJB-Passivate
Please this is driving us right crazy these days. We are all the time going around in circles. Our application creates several instances of the same entiy bean. The first bean it creates is OK but, before it begins to create the second one, the server makes a ejb store of the first instance we create. This is correct with the spec because the instance is in ready state but... then what the server does is to make a ejb-passivate which is also correct because the spec say this: "If the instance state has been updated by a transaction, the container must first invoke the ejbStore() method on the instance before it invokes the ejbPassivate() on it" This situation is exactly what happens in my app but then ... when it's passivating it throws an error: NOTA-ejbPassivate com.evermind.transaction.MarshallingXAException at com.evermind.server.ejb.EntityEJBObject.g2(JAX) at com.evermind.server.ApplicationServerTransaction.commit(JAX, Compiled Code) at com.evermind.server.ApplicationServerTransaction.end(JAX) at StatefulSessionBeanWrapper4.introducirNotaAg(StatefulSessionBeanWrapp er4.java, Compiled Code) at java.lang.reflect.Method.invoke(Native Method) at com.evermind.server.rmi.a9.run(JAX) at com.evermind.server.rmi.a7.gw(JAX, Compiled Code) at com.evermind.server.rmi.a7.run(JAX, Compiled Code) at com.evermind.util.e.run(JAX, Compiled Code) NOTA-unsetEntityContext:Entramos en el método I think this is related with transactions but I'm not sure because we have deployed in J2EE sun's implementations and it works properly. Perhaps this helps: In all our remote methods we set required. What means that..."the container invokes this method with an unspecified transaction context". (spec about ejbPassivate()) I would be very gratefull if someone could give me a push !! TIA. - David Sierra Fern ndez Ingeniero Tecnico de Telecomunicaci¢n AULA RETECAL (CEDETEL) Universidad de Valladolid Campus Miguel Delibes E-Mail: [EMAIL PROTECTED] 47011 Valladolid (SPAIN) -- -- Sierr@ --
Problems with a servlet
I'm testing a simple app that invokes a servlet through a html page. I deployed the app without problems and when I invoke the html it works fine but I when I try to access the servlet I get always an error. I don't know if I'm copying the classes in the correct place ( i think so) but i'm not sure. The servlets are in WEB-INF/classes but I can't connect. I invoke the servlet with: form method = get action="AdderAlias" The definition of my servlet is: servlet servlet-nameTheAdder/servlet-name display-nameTheAdder/display-name servlet-classAdderServlet/servlet-class /servlet servlet-mapping servlet-nameTheAdder/servlet-name url-patternAdderAlias/url-pattern /servlet-mapping With this I get an navigator error "HTTP 404 - file not found If I change to url-pattern/AdderAlias/url-pattern i get a server error: 500 Internal Server Error java.lang.NoClassDefFoundError: Adder at AdderServlet.doGet(AdderServlet.java:49) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at com.evermind.server.http.de.o6(JAX) at com.evermind.server.http.de.forward(JAX) at com.evermind.server.http.dl.pc(JAX, Compiled Code) at com.evermind.server.http.dl.pb(JAX, Compiled Code) at com.evermind.util.e.run(JAX, Compiled Code) I tried to set the tags: servlet-webdir="/classes/" classpath path="./path/to/classes/" / in orion-web.xml but with no success. Could someone mail me a short definition of how he does success implementing a servlet !!! THANK YOU VERY MUCH. - David Sierra Fern ndez Ingeniero Tecnico de Telecomunicaci¢n AULA RETECAL (CEDETEL) Universidad de Valladolid Campus Miguel Delibes E-Mail: [EMAIL PROTECTED] 47011 Valladolid (SPAIN) -- -- Sierr@ --
CAN'T ACCESS TO A SERVLET
I'm testing a simple app that invokes a servlet through a html page. I deployed the app without problems and when I invoke the html it works fine but I when I try to access the servlet I get always an error. I don't know if I'm copying the classes in the correct place ( i think so) but i'm not sure. The servlets are in WEB-INF/classes but I can't connect. I invoke the servlet with: form method = get action="AdderAlias" The definition of my servlet is: servlet servlet-nameTheAdder/servlet-name display-nameTheAdder/display-name servlet-classAdderServlet/servlet-class /servlet servlet-mapping servlet-nameTheAdder/servlet-name url-patternAdderAlias/url-pattern /servlet-mapping With this I get an navigator error "HTTP 404 - file not found If I change to url-pattern/AdderAlias/url-pattern i get a server error: 500 Internal Server Error java.lang.NoClassDefFoundError: Adder at AdderServlet.doGet(AdderServlet.java:49) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at com.evermind.server.http.de.o6(JAX) at com.evermind.server.http.de.forward(JAX) at com.evermind.server.http.dl.pc(JAX, Compiled Code) at com.evermind.server.http.dl.pb(JAX, Compiled Code) at com.evermind.util.e.run(JAX, Compiled Code) I tried to set the tags: servlet-webdir="/classes/" classpath path="./path/to/classes/" / in orion-web.xml but with no success. Could someone mail me a short definition of how he does success implementing a servlet !!! THANK YOU VERY MUCH. - David Sierra Fern ndez Ingeniero Tecnico de Telecomunicaci¢n AULA RETECAL (CEDETEL) Universidad de Valladolid Campus Miguel Delibes E-Mail: [EMAIL PROTECTED] 47011 Valladolid (SPAIN) -- -- Sierr@ --
EJB-Passivate
Please this is driving us right crazy these days. We are all the time going around in circles. Our application creates several instances of the same entiy bean. The first bean it creates is OK but, before it begins to create the second one, the server makes a ejb store of the first instance we create. This is correct with the spec because the instance is in ready state but... then what the server does is to make a ejb-passivate which is also correct because the spec say this: "If the instance state has been updated by a transaction, the container must first invoke the ejbStore() method on the instance before it invokes the ejbPassivate() on it" This situation is exactly what happens in my app but then ... when it's passivating it throws an error: NOTA-ejbPassivate com.evermind.transaction.MarshallingXAException at com.evermind.server.ejb.EntityEJBObject.g2(JAX) at com.evermind.server.ApplicationServerTransaction.commit(JAX, Compiled Code) at com.evermind.server.ApplicationServerTransaction.end(JAX) at StatefulSessionBeanWrapper4.introducirNotaAg(StatefulSessionBeanWrapp er4.java, Compiled Code) at java.lang.reflect.Method.invoke(Native Method) at com.evermind.server.rmi.a9.run(JAX) at com.evermind.server.rmi.a7.gw(JAX, Compiled Code) at com.evermind.server.rmi.a7.run(JAX, Compiled Code) at com.evermind.util.e.run(JAX, Compiled Code) NOTA-unsetEntityContext:Entramos en el método I think this is related with transactions but I'm not sure because we have deployed in J2EE sun's implementations and it works properly. Perhaps this helps: In all our remote methods we set required. What means that..."the container invokes this method with an unspecified transaction context". (spec about ejbPassivate()) I would be very gratefull if someone could give me a push !! TIA. - David Sierra Fern ndez Ingeniero Tecnico de Telecomunicaci¢n AULA RETECAL (CEDETEL) Universidad de Valladolid Campus Miguel Delibes E-Mail: [EMAIL PROTECTED] 47011 Valladolid (SPAIN) -- -- Sierr@ --
Re: user and password defaults ??
The password of admin is set when you install orion, I mean... after running it you should do: java jar orion.jar install and then it displys this and ask for the admin password. This password is an installation password, it's not a user of principals: Enter an admin password to use: spain Confirm admin password: spain Installation done This is for admin.jar, instead, if you want to execute a java application you should specify the user in jndi.properties and then refill the passwd when orion ask for it. this user and password should be defined in principals.xml Hope this helps... - David Sierra Fern ndez Ingeniero Tecnico de Telecomunicaci¢n AULA RETECAL (CEDETEL) Universidad de Valladolid Campus Miguel Delibes E-Mail: [EMAIL PROTECTED] 47011 Valladolid (SPAIN) -- -- Sierr@ -- On Tue, 1 Aug 2000, Daniel Beauregard wrote: I am trying to run admin.jar but no matter what i put in for admin or password it gives me an invalid user/password exception... same when i try to use clients to access my ormi://localhost rmi server, which i set up to have user="admin" pass="123" and none of these work?? Please help Thanks Daniel
EJB COMPILATION
When I compile my beans I use a similar bat that in J2EE server implementation: set ORION=C:\orion set CPATH=.;%ORION%\orion.jar;%ORION%\ejb.jar;%ORION%\jndi.jar; javac -classpath %CPATH% AgendaSClient.java Am I correct or should I use a different classpath Any other way of compilate my beans or servlets??? The same when I run a client: set ORION=C:\orion set CPATH=.;%ORION%\orion.jar;%ORION%\ejb.jar;%ORION%\jndi.jar; java -classpath %CPATH% AgendaSClient Am I correct or should I include other files??? THANK YOU !! - David Sierra Fern ndez Ingeniero Tecnico de Telecomunicaci¢n AULA RETECAL (CEDETEL) Universidad de Valladolid Campus Miguel Delibes E-Mail: [EMAIL PROTECTED] 47011 Valladolid (SPAIN) -- -- Sierr@ --
REFRESH !
I've heard something today in the list about refreshing an application. I think someone has comment that if you make any change to application.xml or orion-application.xml (I don't know which) orion server makes automatically a redeploy of the application whitout restarting the server !!! Is this correct??? if so..how much time does it takes to detect de changes??? I also would like to know how Orion handles Servlet and JSP refreshing.. I mean... if I change a servlet or a JSP ... what does orion do??? does it make a checking just after any invocation or does it make only periodic checkings ??? I think this issues are very important THANK YOU VERY MUCH !!! - David Sierra Fern ndez Ingeniero Tecnico de Telecomunicaci¢n AULA RETECAL (CEDETEL) Universidad de Valladolid Campus Miguel Delibes E-Mail: [EMAIL PROTECTED] 47011 Valladolid (SPAIN) -- -- Sierr@ --
EJB MAKER
Anyone has used the ejbmaker graphical tool??? I think it is used to map a entity bean to a table in a DB or to generate the code of a entity bean but i'm not sure??? I fill in the fields with a example entity bean but I don't know what to do with the resulting file Any ideas ? THANK YOU To ORION TEAM: Where are the promissed improvements in doc?? Are you on holidays?? - David Sierra Fern ndez Ingeniero Tecnico de Telecomunicaci¢n AULA RETECAL (CEDETEL) Universidad de Valladolid Campus Miguel Delibes E-Mail: [EMAIL PROTECTED] 47011 Valladolid (SPAIN) -- -- Sierr@ --
EJB COMPILATION
When I compile my beans I use a similar bat that in J2EE server implementation: set ORION=C:\orion set CPATH=.;%ORION%\orion.jar;%ORION%\ejb.jar;%ORION%\jndi.jar; javac -classpath %CPATH% AgendaSClient.java Am I correct or should I use a different classpath Any other way of compilate my beans or servlets??? THANK YOU !! - David Sierra Fern ndez Ingeniero Tecnico de Telecomunicaci¢n AULA RETECAL (CEDETEL) Universidad de Valladolid Campus Miguel Delibes E-Mail: [EMAIL PROTECTED] 47011 Valladolid (SPAIN) -- -- Sierr@ --
Re: Entity beans and database
Uhh boys , I think I can help a bit I agree that the problem is that you're working behind the server but ... the solution is to do something in order to it understantd what are you doing. I suggest you make a "commit" commnad in SQL every time you modify something in the database through SQL sure it will work and the server will understand the changes PLease I would be very grateful if you mail back to tell us wheter I'm correct or not. - David Sierra Fern ndez Ingeniero Tecnico de Telecomunicaci¢n AULA RETECAL (CEDETEL) Universidad de Valladolid Campus Miguel Delibes E-Mail: [EMAIL PROTECTED] 47011 Valladolid (SPAIN) -- -- Sierr@ -- On Thu, 20 Jul 2000, Nick Newman wrote: Hi Rick, The EJB spec says that once the entity bean is loaded from the database, the container (Orion) doesn't have any responsibility to keep track of any possible changes to the database. So what you are doing is basically sneaking behind Orion's back. The consequences of this depend on the circumstances, I believe. Here's my best guess ... Suppose the server had not been busy for quite a while. Under these conditions Orion would have written all its entity beans back to the DB and removed them from memory. If you now empty the DB, then all the entity beans are gone (in the sense that trying to find one from its primary key will fail). If the server is extremely busy when you emtied the DB, then all the entity beans may well have been in memory, and they will get recreated in the DB when Orion writes them out. Hope that helps. Nick Newman, SCIENTECH At 04:14 PM 7/20/00 -0400, you wrote: If I have entity beans associated with a table in a database, and I delete all the records in the database outside of the application server, ( .ie using the database command interactive SQL program ) what happens to the entity beans. ? When I try to recreate a record that I erased outside of the application server, I am told that the entity already exists. Thanks.
ENVIRONMENT
I'm creating a complete web app and I know how to access from my code to env-entry, ejb-ref and resource-ref but I want to know how to access to a: init-param and context-param an the differnces in code between them. I haven't found any reference in J2EE spec nor Servlets esp. Is there any difference between accessing from a servlets or JSP, or accessing from an EJB I would appreciate your help. Thanks. - David Sierra Fern ndez Ingeniero Tecnico de Telecomunicaci¢n AULA RETECAL (CEDETEL) Universidad de Valladolid Campus Miguel Delibes E-Mail: [EMAIL PROTECTED] 47011 Valladolid (SPAIN) -- -- Sierr@ --
MAPPING
How does Orion maps a java array to a oracle database? Does it creates a new table and store the values in the array or does it serialize all the values and store them as a single one??? THANK YOU very much. - David Sierra Fern ndez Ingeniero Tecnico de Telecomunicaci¢n AULA RETECAL (CEDETEL) Universidad de Valladolid Campus Miguel Delibes E-Mail: [EMAIL PROTECTED] 47011 Valladolid (SPAIN) -- -- Sierr@ --
RE: config tool
.!! (2.1.20+) Which version is that??? I have surf to Orion site and I just found the stable release 1.0.3b and beta release 1.1.24... Where we can find such a release 2.1.20+ ? Thanks - 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@ -- On Tue, 18 Jul 2000, Dave Smith wrote: If you have a late version (2.1.20+) java -cp %CLASSPATH%;orion.jar com.evermind.gui.server.ServiceConsole It is still a bit rough but looks very promising. Dave Smith Senior Team Leader Aristocrat Technologies Australia Pty Ltd mailto:[EMAIL PROTECTED] -Original Message- From: Brady Moritz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 19 July 2000 13:50 To: Orion-Interest Subject: config tool Hi, I saw on the orion site that a configuration manager is being developed (a gui for managing orionserver)... does anything like this already exist, or can I perhaps find a beta for the orion's version somewhere? BTW, Im new here, had this server recommended to me and am trying it out. Kinda tricky figuring out the initial setup, but I like it overall so far. Thanks Brady Moritz Moritz Designs -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Steven Punte Sent: Monday, July 17, 2000 6:46 PM To: Orion-Interest Subject: Example of Principals.xml and web.xml for simple access control? Dear Orion Community: I LOVE the Orion Server I HATE the Orion documentation. We'll I guess that is a bit of an oversimplification. Does anyone have an example they could post of a principals.xml and web.xml file that achieve simple access control of users to a directory? The principals.xml and web.xml make so much more sense after one has their first working example. Sorry for being such a wimp! STeve Punte e-Business Software Architect Technologent Inc [EMAIL PROTECTED]
PARAMETERS
I'm looking for code examples or a guide where I cuold find how get the init parameters, context parameters, resources references, an so on from the enterprise beans, JSPs and servlets. - David Sierra Fern ndez Ingeniero Tecnico de Telecomunicaci¢n AULA RETECAL (CEDETEL) Universidad de Valladolid Campus Miguel Delibes E-Mail: [EMAIL PROTECTED] 47011 Valladolid (SPAIN) -- -- Sierr@ --
RE: Auto creating table
Sorry ! It was in application .xml. I thought that you can select what tables to create and what not, but you have to take the decision for all the tables in your application. Have a look at orion doc --- application.xml ;-) - 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@ -- On Fri, 7 Jul 2000, Rick Bos wrote: I don't see an auto-create element in the entity bean !ELEMENT entity (description?, display-name?, small-icon?, large-icon?, ejb-name, home, remote, ejb-class, persistence-type, prim-key-class, reentrant, cmp-field*, primkey-field?, env-entry*, ejb-ref*, security-role-ref*, resource-ref*) !-- from http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd -Original Message- From: David Sierra Fernandez [SMTP:[EMAIL PROTECTED]] Sent: July 7, 2000 12:16 PM To: Rick Bos Cc: Orion-Interest Subject:Re: Auto creating table You have to edit the deployment descriptor ejb-jar.xml and set to false the autocreate option of the beans you don't want to create tables. - 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@ -- On Fri, 7 Jul 2000, Rick Bos wrote: How do I turn off auto creating a table for an entity bean ? I am not using any of the GUI tools that come with Orion, just the command line. Thanks,
Re: AW: Update: Performance Scalability
Hi Tom, I would like to know exactly the diference between ejb-location and pooled-location. ...and other thing...but I thing that Orion team is the only one who can answer me... How does ORion manage the connection pools??? I mean that Orion only let you set the max-number of connections but I want to know how many connection does it create at the begining, the number of connection that it creates when the initial ones are busy, if these extra connections (out of initials) are destroyed after a certain time whithout using them, an so on This is very important because imagine that your application has a lot of clients and inmediatly you start the server you gonna have 200 hundred clients.. in this situation it cuold be great tha the server creates at least 250 connections at start. Now imagine that you have a hot peak of affluence and you run out of connection (250 all busy) you will need more but because the extension of your application, it would be a great idea to create extra connections but in groups of 25, and destroy or not destroy them in a timeout depends on your decision. All this with the security that they will not be over a certain number of connections that you set and could cause a fall in your database. Now imagine the opposite situaion, you have a small application whith perhaps only two clients connected to the DB at the same time, it would be a lose of resource if your server creates 100 connections at start, the best could be to create only 2. And if this connections are busy it would be awfull to create a extra group of 20 connections at the same time because probably youwill only need one or two extra connections. Here you can see how you can take advantage of connection pooling. I'm sure that Orion manages the connection pools eficently but If the problem was the connection pools and weblogic let you set all this values, Have you thought that perhaps your configuration in weblogic is not the best for your applicaction? Repect to the Orion team...It would be very interesting to know something more about how Orion manages connection pooling. THANKS ALL. - 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@ -- On Tue, 4 Jul 2000, Jens Stutte wrote: Hi Kirk, i assume he confused (like me some time ago) the different jndi names for the database connections. In a data-source you specify different locations, which will be treated differently by the server. The "location" is a 'naked' standard JDBC connection without pooling or anything. The "ejb-location" provides server specific wrapper classes for the connections, which provide such things as pooling, transaction handling for EJBs etc. I don't know the specific purpose of the "xa-location" and when to use it. Anyway, from within EJBs you should always use the "ejb-location". Regards, Jens Stutte PS: Example of a data-source: data-source name="BaseDB" class="com.evermind.sql.ConnectionDataSource" location="jdbc/BaseDB" xa-location="jdbc/xa/BaseXADB" ejb-location="jdbc/BaseEJBDB" inactivity-timeout="60" url="jdbc:informix-sqli://beatnix.net-media.de:1536/BaseDB:INFORMIXSERVER=on _beatnix" connection-driver="com.informix.jdbc.IfxDriver" username="informix" password="topsecret" / -Ursprüngliche Nachricht- Von:Kirk Kalvar [mailto:[EMAIL PROTECTED]] Gesendet am:Dienstag, 4. Juli 2000 17:19 An: Orion-Interest Betreff:RE: Update: Performance Scalability Tom: Could you be more specific? You weren't accessing the db connection pool, but what did you do to fix it? Thanks in Advance, Kirk S. Kalvar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 04, 2000 9:27 AM To: Orion-Interest Subject: Update: Performance Scalability All, In a previous message I expressed my concern about performance as compared with Weblogic 5.1. With assistance from Karl Avedal, I made some changes to my application and am very pleased to announce that Orion is approximately 2x faster than Weblogic 5.1. I wasn't using the DB connection pool and it is a pleasure to work with a product that does conform and support the latest J2EE specification.
FAIL-OVER
I would like to know if Orion supports fail-over for each one of this elements: -Home instances -Stateless Session Beans - CMP and BMP entity beans -Servlets -JSPs -HTTP request - JNDI Please answer back ASAP.I'm in a hurry. - 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: Corba from Orion
I think Orion supports RMI across servers but it doesn't supports RMI over IIOP. I'm afraid you'll have to wait until a next release of Orion supports the latest EJB 2.0, which requires RMI/IIOP protocol. - 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@ -- On Wed, 28 Jun 2000, Peter Delahunty wrote: Can you call CORBA objects from within Orion using rmi/iiop
RE: admin -shutdown
I've tried it and I have always the same result: C:\orionjava -jar admin.jar ormi://localhost:23791 admin 123 -shutdown Error: java.lang.SecurityException: Invalid username/password for default (admin ) C:\orionjava -jar admin.jar ormi://localhost:23791 david sierra -shutdown Error: java.lang.SecurityException: Invalid username/password for default (david ) C:\orionjava -jar admin.jar ormi://localhost david sierra -shutdown Error: java.lang.SecurityException: Invalid username/password for default (david ) C:\orionjava -jar admin.jar ormi://localhost/ david sierra -shutdown Error: java.lang.SecurityException: Invalid username/password for default (david ) What does this funny error mean ?? I think that probably today Karl Avedal and Mike are sick, because the don't talk clearly to us. The same happens with fail-over, connection pools and hot deploy, orion team has ignored my questions about those things because they are not interested in it. You should answer our questions. I do think that Orion is a good product but after betting for it, we have to be very sure what we are going to get. Think about it... Orion team. - 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@ -- On Wed, 28 Jun 2000, KirkYarina wrote: Have you tried java -jar admin.jar ormi://localhost/ admin pwd -shutdown i.e. no port. "/" after localhost? Kirk Yarina At 09:36 AM 6/28/00 -0500, you wrote: This issue is frustrating to me. You'd think something as fundamental as shutting down the server would work--it did in 0.9. I really like Orion, but I just can't recommend it to my employer if such fundamental features don't work. Ideally you won't be shutting down the server very often, however when you are configuring and testing you do it a lot. This issue has received a lot of traffic on this list, but I have yet to hear anyone for the Orion Team explain either a) what we're doing wrong to cause this error, or b) that it is indeed a bug in the software and it will be fixed in release 1.x. I understand Orion is hard to beat for the price, but I'd gladly pay more for a server I can shutdown! Nathan Phelps snip? Kirk Yarina [EMAIL PROTECTED]
FAIL-OVER
I would like to know if Orion supports fail-over for each one of this elements: -Home instances -Stateless Session Beans - CMP and BMP entity beans -Servlets -JSPs -HTTP request - JNDI Please answer back ASAP.I'm in a hurry. - 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@ --
DEPLOYING A PRE-WRITTEN BEAN
Imagine I want to deploy a bean that I've packed in a JAR file. I know how to deploy a complete application but what should I do to deploy an application with only a JAR file I think the only thing I gotta do is to insert in server.xml the line: application name="myapp" path="../applications/myapp.ear" / Am I oblide to make an ear file to deploy my beans?? Thanks. - 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@ --
EJBs at runtime
*I want to know if it is possible to deploy applications with the server running. *and... undeploy application without stopping the server. *Could be possible in Orion stop a single bean or a single jar?? or do we have to stop and deploy the whole appplication??? I've seen another servers where you can control at the dessired level. 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@ --
Connection POOLs
I've seen that you have the posibilty to bind to the JNDI a pooled version of your database. Is this a connection pool? If I'm correct... where you can configure the features of the pool: min connections,capacity increment. If it is not possible to configure I would like to know how Orion manages this kind of issues. Thanks. ASAP - 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@ --
Connection Pools 2
I missed something. The tag max-connections refers to max number of connections in a pooled version or in a default version If it is in a pooled version, How many connections does Orion create at the begining?? Karl, I think you could improve the doc, explaining how does Orion do the things:clustering, security, connection pools,... - 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@ --
supported IDE's
Which IDE's (like Visual Cafe...) does orion support??? Does Orion supports JDBC 2.0??? thanks. - 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@ --
OBJECTS IN ENTITYS
I have a doubt: I have an enity bean but I want that I field of that entity to be a complex object. Is this possible from the point of view of the specification??? , and from the point of view of Orion? Other question: ¨What is the influence of having lots of entity beans in my application? ¨Is negative? THANK YOU - 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@ --
PORTABILITY PROBLEMS !!!
I tried to deploy ATM example in Sun's J2EE implementation server, but it didn't recognize ear file. I tried to create the ear file mayself but when I tried to include the war and jar files, this last was also not recognize as a valid file. Then I tried to create both files begining from the .class files but It does not work anyway. For last I tried to compile again the classes but I got the following error: AccountOwnerManagerEJB.java:8: Package com.evermind.security not found in import . import com.evermind.security.*; ^ UserManagementSessionEJB.java:7: Package com.evermind.security not found in impo rt. import com.evermind.security.*; If the standard file is the jar, Why Orion include especific files in the code? Does this not break the comatibility? How I can deploy an Orion application in other servers to test performance? THANK YOU. - 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: PORTABILITY PROBLEMS !!!
Thank you. I agree with you in the power of that API, and now I understand the concept of this API. With it we can create users and groups dinamically from the inside of the applications without the need to edit the deployment descriptor or using an administrive server console. In that way... a good approach to compatibility could be to write the application as normal and then write a class which implements the security API so if we want to move to another server, we don't have to rewirte the beans and we only should rewrite the secutiy class with the implementation of the security API of the new server. Am I correct? - 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@ -- On Fri, 16 Jun 2000, Mike Cannon-Brookes wrote: The ATM example uses the Orion User Authentication API which is container specific as the spec is currently very 'grey' in this area. In my experience this is the biggest problem when trying to develop portable applications. The Orion UA API is great (excellent, easy to use and very well structured once you work it out!) but it is non standard - all containers have their own API. If you want portability, roll your own user management API (but this is a pain as it won't hook nicely into app server functions). Such is life on the edge. Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of David Sierra Fernandez Sent: Friday, 16 June 2000 10:41 To: Orion-Interest Subject: PORTABILITY PROBLEMS !!! I tried to deploy ATM example in Sun's J2EE implementation server, but it didn't recognize ear file. I tried to create the ear file mayself but when I tried to include the war and jar files, this last was also not recognize as a valid file. Then I tried to create both files begining from the .class files but It does not work anyway. For last I tried to compile again the classes but I got the following error: AccountOwnerManagerEJB.java:8: Package com.evermind.security not found in import . import com.evermind.security.*; ^ UserManagementSessionEJB.java:7: Package com.evermind.security not found in impo rt. import com.evermind.security.*; If the standard file is the jar, Why Orion include especific files in the code? Does this not break the comatibility? How I can deploy an Orion application in other servers to test performance? THANK YOU. - 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@ --
THREADS
My team had a problem some time ago with another server, and I want to know if it is a problem of that server of if it is defined in that way at spec. The situation was: We create a very simple entity bean in which we implement a method that drives us to a infinite loop. We create an instance of that bean and we call the create method.. at this point we call the test method (loop) and then we try to create another instance but the bean didn't not allow to create another instance even from another thread. I consider normal that a server blocks an instance that is being used, but to block the entity bean itself... I consider this behaviour excesive. Is a matter of that server or is in this way at spec? If it's normal, what happen if I have a method that last 2 seconds to compute? would i have my entity blocked during this whole time? THANKS. - 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: Orion UserManager
Hi, Pedro (o deberia decir hola!) I think your method is: getGroups(int start, int max) and returns java.utils.List in com.evermind.security.UserManager class You can have a look at orion/docs/api/index.html --- UserManager (Where can you from, Pedro? I think you are also spanish) - 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@ -- On Fri, 16 Jun 2000, Pedro Garcia Lopez wrote: Hi, How can I get the members of a group using Orion APIs ? Regards
Re: Easy deployment of .war files?
YEs Dorwin, it's very easy. If you hace a complete application in a .war file, you only have to follow the steps in "Hot-to setting up an Application" in Orion docs, that implies to write a couple of lines in two property files. But the most important thing is that you have to bear in mind that in those war files that you find in Internet, there shouldn't be any property particular for any other server that orion. In your war files there only cuold be standard properties and orion proerties. You can read "web-application.xml" and orion-web-application.xml" in orion docs. The same to move the war files in Orion to other servers, you have to eliminate the specific properties in order to make the war work in other server. - 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@ -- On Mon, 12 Jun 2000, Shields, Dorwin T. wrote: Hi, I've been using tomcat and recently began using orion. I was wondering if there was an easy way to deploy war files (read w/o creating an .ear file)? There are a lot of projects on the web that simply exist as .war files. Thanks, Dorwin
Re: Problem running JSP files
Try this... You also have to include your application in orion/config/server.xml: application name="webstats" path="../applications/webstats/" / and include your application in that directory. Remember that "path" is the physical route to your application, meanwhile "root" is the virtual path that you have to write in the URL. - 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@ -- On Fri, 9 Jun 2000 [EMAIL PROTECTED] wrote: Hi there I've managed to install the Orion server (version 1.0) and get the examples running. Now I want to use some of my old JSP files and JavaBeans (not EJBs). All the JSP files are in a directory called 'webstats', which I have copied into the Orion directory. I made some changes to the default-web-site.xml file: -- ?xml version="1.0"? !DOCTYPE web-site PUBLIC "Orion Web-site" " http://www.orionserver.com/dtds/web-site.dtd" web-site host="[ALL]" port="80" display-name="Default Orion WebSite" !-- The default web-app for this site, bound to the root -- default-web-app application="default" name="defaultWebApp" / web-app application="webstats" name="WebStats" root="/webstats" / !-- Access Log, where requests are logged to -- access-log path="../log/default-web-access.log" / /web-site -- The tried calling a page with http://localhost/webstats/login.jsp and I get this error --- Error instantiating web-application No application named 'webstats' found in the server -- So I think haven't told it where to find the webstats directory . how do I do this?
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@ --
Unsubscribe
Unsubscribe - 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@ --
HARDWARE
By now, I'm only developing EJBs but in a short time we want to implement a real application and I want to know more or less the harware requirements for a high load production enviroment with orion. Suppose 1000 pages/sec 500.000 pages/day. MEmory, proccesor, number of CPUs PLease if you have succed in areal application, tell me. 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: Orion in high load production environment
Hullo, Orion users: I'd like to know a short description of the hardware used with Orion to get this performance of load handling: number of servers, features of the servers (RAM, cache, processor,... ) OS, DataBase... Thank you very much, special to Daniel Ockeloen. -- Sierr@ -- On Mon, 21 Feb 2000, Daniel Ockeloen wrote: ASHWINJM wrote: Hi All, Has anyone here used / is using Orion in production with over 100,000 hits/day? I'm evaluating several products right now, and would like to know this group's opinion on Orion's capabilities as far as load handling goes. Regards, Ashwin Yep, www.vpro.nl has been running orion for many moons now and is allways above 100k hits (say between 300k and 400k) since its a tv broadcasters site it also has peaks (when a show is on air) to higher numbers say 1M. We don't really expect problems with orion in this area. Daniel Ockeloen.