Re: Can't call an EJB from Within another EJB
Remember that your EJB-REF tage are scoped within each bean, so that the same tag name can refer to different things, depending upon which bean it is defined in. So, my guess is that you didn't include an EJB-REF tag *in the bean definition* for the bean you want to reference. If thats not the problem, post your deployment descriptor for us to look at. Jim --On Wednesday, October 25, 2000 11:21 AM -0600 J Davis [EMAIL PROTECTED] wrote: We have gotten our Orion server(1.3.8) to work with EJBs on a singular level(i.e. we can call EJB A, B or C and it works fine.) But If one of our EJB's tries to call another(i.e. A calls B) A throws a naming exception that it can't find the EJB reference when doing a jndi lookup. Is there a dependency tag or something within one of the XML files that denotes EJB dependencies on one another? I'm sure this is something simple, but it is getting annoying.
MightyWords has a report that doesn't paint Orion very well. And is wrong in part.
Hiya, Just got a report from MightyWords. "The Concise Guide to Enterprise Java Bean Servers" by Subodh Atal, Ph.D. 71 pages. Quite interesting reading, and Orion rates as one of the 22 servers rated. Unfortunately Orion doesn't get the attention it deserves. And the doc is partly wrong is a few areas, particularly in the clustering arena in Orions case. I suggest that Orion staff get in touch with the suppliers (http://www.app-serv.com) and request a copy, review it and respond. (And to this group is poss ;-) It's a document that could have an impact on their sales as many companies may be using it to decide on a server. Sorry I can't include the doc. It's serialed, PDF and unmarkable (for pasting). Oh yeah... And it belongs to the company I work for... :-) Kimberley Scott Senior Web Developer Peakhour Pty Ltd http://smartoffice.com.au - just built. needs work. http://peakhour.com.au - corporate site http://www.geocities.com.au/kimmie_scott -me
Re: EJB classpath problem
Your solution will surely works but I don't want to mix my jars with Orion jars... It is really i^mpossible to specify an additional classpath for EJBs in Orion ? Thanks anyway ;) Laurent - Original Message - From: wim veninga To: Orion-Interest Sent: Wednesday, October 25, 2000 3:56 PM Subject: Re: EJB classpath problem Hi Laurent Where is your rapids-util.jar file located. I would suggest that you put this in your_orion_dir/lib. I had the same kind of situation with cloudscape (database) and orion. I have a couple of objects that need to be stored in cloudscape but cloudscape couldn't find it. But i had the classes in one of my ejb-jars. So when i put the classes in orion/lib everything worked fine. I think that orions class loader doesn't make the classes in ejb-jar available to the rest of the system. Greetings Wim Veninga. Laurent Cornelis wrote: Hello, I deploy a J2EE application (called rapids) with Orion, here is my directory structure after deployment : orion/applications/rapids - Contains EJBs jar orion/applications/rapids/rapids-web - Contains the Web app orion/applications/rapids/rapids-web/WEB-INF/lib/rapids-util.jar - A jar file my web application and my EJB need Somewhere in my web applications, a call to WebFacade (One of my EJBs) is done. In this call WebFacade must use a class from rapids-util.jar (class ubiquity.rapids.ejb.util.HomeFactory) but here is the exception I catch : snip com.evermind.server.rmi.OrionRemoteException: Transaction was rolled back: java.lang.NoClassDefFoundError: ubiquity/rapids/ejb/util/HomeFactory at WebFacade_StatelessSessionBeanWrapper9.getPublicSatellites(WebFacade_StatelessSessionBeanWrapper9.java:311) at /pri/choosesatellite.jsp._jspService(/pri/choosesatellite.jsp.java:75)(JSP page line 28) at com.orionserver.http.OrionHttpJspPage.service(JAX) at com.evermind.server.http.HttpApplication.w5(JAX) at com.evermind.server.http.JSPServlet.service(JAX) at com.evermind.server.http.d1.si(JAX) at com.evermind.server.http.d1.forward(JAX) at ubiquity.rapids.servlet.RapidsServlet.doPost(RapidsServlet.java) 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.d1.si(JAX) at com.evermind.server.http.d1.forward(JAX) at com.evermind.server.http.ed.sp(JAX) at com.evermind.server.http.ed.so(JAX) at com.evermind.util.f.run(JAX) Nested exception is: java.lang.NoClassDefFoundError: ubiquity/rapids/ejb/util/HomeFactory at ubiquity.rapids.ejb.webfacade.WebFacadeBean.getPublicSatellites(WebFacadeBean.java:153) at WebFacade_StatelessSessionBeanWrapper9.getPublicSatellites(WebFacade_StatelessSessionBeanWrapper9.java:281) at /pri/choosesatellite.jsp._jspService(/pri/choosesatellite.jsp.java:75)(JSP page line 28) at com.orionserver.http.OrionHttpJspPage.service(JAX) at com.evermind.server.http.HttpApplication.w5(JAX) at com.evermind.server.http.JSPServlet.service(JAX) at com.evermind.server.http.d1.si(JAX) at com.evermind.server.http.d1.forward(JAX) at ubiquity.rapids.servlet.RapidsServlet.doPost(RapidsServlet.java) 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.d1.si(JAX) at com.evermind.server.http.d1.forward(JAX) at com.evermind.server.http.ed.sp(JAX) at com.evermind.server.http.ed.so(JAX) at com.evermind.util.f.run(JAX) /snip How can I tell to the EJBs where is rapids-util.jar ? Please help !!! Thanks Laurent
SV: HELP! orion + Linux + native threads
Post it in bugzilla so the orion team gets the notice. Klaus -Opprinnelig melding- Fra: Richard E. Sansom [mailto:[EMAIL PROTECTED]] Sendt: 25. oktober 2000 19:42 Til: Orion-Interest Emne: Re: HELP! orion + Linux + native threads Sorry for including that other stuff at the end of my original message, by the way... Here's some more information: no problems under jakarta-tomcat (3.1) either, so it's beginning to look more and more like an Orion problem of some kind. I would really appreciate a word from the Orion guys on this one. Thanks, again. -Rich --- "Richard E. Sansom" [EMAIL PROTECTED] wrote: Attached is a simple servlet that uses the request and response input and output streams to read a text based message and simply echo the message back to the requestor. This thing runs fine when I stress it under Forte (hit it a billion times, looking for performance and memory problems) but under Orion (1.3.8, but I also tried it under the 1.4.0 version), I run out of native threads just under 1000 requests into my test (I expect we're bumping up against the 1024 magic number). Am I doing something wrong or is it a known problem? Again, the Forte servlet runner, which is no performance leader, didn't have any problems at all running under the same O/S (Redhat 7.0 - I know...) and JDK (Sun 1.3.0). Please help, I spent the better part of all night trying to figure this one out. Thanks. -Rich --- "Juan Lorandi (Chile)" [EMAIL PROTECTED] wrote: Last week I bailed out of SprintA 2000, because variable length fields don't grow... Bugzilla #127 Say, you have an Object/Serializable field in a CMP bean... It's mapped to either a nvarchar(S), or a varbinary(S) Whenever the serializable version of the object is bigger than S (look above) SprintA fails miserably However, I have not successfully confirmed that it's a SprintA problem, but I surely can make varbinarys grow using ADO, so must be a bug in the german product (SprintA 2000) HTH (before it's too late), Rifle -Original Message- From: Kurt Hoyt [mailto:[EMAIL PROTECTED]] Sent: Miércoles, 25 de Octubre de 2000 10:06 To: Orion-Interest Subject: RE: Ok. I feel dumb. Data Sources and MS SQL. I hate to be the bearer of bad news, but you'll have to spring for a type 4 JDBC driver. We bought the one from Inet Software called "Sprinta 2000". The price was reasonable and it performs comparably with the best of them. That's how we got Orion and SQL Server 7 and Win2K to work together. Kurt in Atlanta -Original Message- From: Kimberley Scott [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 24, 2000 9:16 PM To: Orion-Interest Subject: Ok. I feel dumb. Data Sources and MS SQL. Hiya, Feeling real stupid here. I'm examining data sources and getting totally confused. Maybe I'm just burnt out. Haven't had a holiday in five years. Sigh. Back to business. We're *forced* to use Microsoft SQL 7 and Win2K. How do I set up the datasource xml file to handle this? I can't seem to find anything on this in the email lists on in the docs. The only drivers I have are the ODBC bridges (The invisible hidden MS one and the standard Sun one) and I'm not paying for a Type IV driver at the outrageous prices I've been presented with from BEA and the like. Has anyone done this before or can point me in the right direction? A tired developer who's feeling very old and dim... Kimberley Scott Senior Web Developer Peakhour Pty Ltd http://smartoffice.com.au - just built. needs work. ASP/COM Sigh. What can I say? http://peakhour.com.au - corporate site http://www.geocities.com/kimmie_scott -me Richard E. Sansom [EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ ATTACHMENT part 2 application/x-unknown name=TestServlet.java Richard E. Sansom [EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/
Re: Anyone using Forte + JPDA + Orion
Hi Rob, java -Djava.compiler=NONE -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5000 com.evermind.server.ApplicationServer From Sun's JPDA doc / Connection and Invocation Deatils: "The -Xnoagent and -Djava.compiler=NONE options are not required; however, for compatibility, these options are accepted and ignored." So, what is left is: java -Xdebug runjdwp:transport=dt_socket,server=y,suspend=y,address=5000 com.evermind.server.ApplicationServer Does it make a difference, with regard to debugging, if using -jar orion.jar instead of com.evermind.server.ApplicationServer? note that we use suspend=y From the JPDA doc: "True if the target VM is to be suspended immediately before the main class is loaded; false otherwise." So in my opion it doesn't help when using an application server and the method I want to debug isn't invoked directly by its main thread. Also, if the .class files were compiled with netbeans it works ok, if they there compiled with jdk1.2.2_005 (NT) then they will not allow you to put a watch point on a variable (you will not be able to see it's contents). What do you mean by "files were compiled with netbeans"? Do I have to use the "internal compiler"? Well, on thing I recognized: The breakpoint doesn't seem to be invoked when I copied the compiled .class file to its destination under orion. I had to compile it directly to this directory. Lars
SV: Orion as NT4 Service
Is it the opesource project: jsrvany? (http://jsrvany.sourceforge.net) There isnt any JNT stuff out there that i can find... Klaus -Opprinnelig melding- Fra: Duffey, Kevin [mailto:[EMAIL PROTECTED]] Sendt: 26. oktober 2000 01:26 Til: Orion-Interest Emne: RE: Orion as NT4 Service We are using JNT, a free service runner for java applications that properly handles the log-off command. I forget the url, but if you do a search at excite or something, I am sure you will find it. We were using run_as_service, or srvany, neither of which properly worked. -Original Message- From: Todd Renner [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 25, 2000 6:48 AM To: Orion-Interest Subject: Orion as NT4 Service Hi, We've setup orion (1.2.9) to be an NT service as specified at orionsupport.com. But whenever we log off the machine the server stops with no errors. I recall some discussion on this awhile ago, but all I could find in the archives pertained to Unix.We've tried several different scenarios, diff. users, reboot and not logging in etc. but with no success. Anybody have some suggestions as to what to try? Were using sunjdk1.3, hotspot server, nt40.Thanks. Todd Renner [EMAIL PROTECTED]
Orion/SSL and InternetExplorer
Hi, has anyone else also strange problems with Orion/SSL and M$ IE 4.x/5.x? it seems, that the configured timeout value was completly ignored - after 1-2 min, the session was lost! this does not happen with netscape or not using SSL. thanks klaus PS: is the Orion-Team completly on holidays? since a few days i send some requests to [EMAIL PROTECTED] [priority:CMR...] but no response! -- Klaus Thiele - Personal Informatik AG mailto:[EMAIL PROTECTED] "There's got to be more to life than compile-and-go."
SV: How does one change the database that the EJB is connecting to during runtime ?
Bean managed entity beans with pooled connections. Make yourself a ConnectionFactory object that does jndi lookups based on what user settings and do your query after that. This will, as long as the db.schema is identical work without modifying your sql Klaus -Opprinnelig melding- Fra: Christian Kvalheim [mailto:[EMAIL PROTECTED]] Sendt: 26. oktober 2000 10:56 Til: Orion-Interest Emne: How does one change the database that the EJB is connecting to during runtime ? Hey.. I'm in the middle of developing the next version of our software platform for quality management and I have run into the following problem. The current development platform is ASP/COM but we are moving to J2EE and orionserver as our platform of choice. This is the problem When a user connects to the application, he chooses the company that he belongs to. This sets the context of the program to point to the database of that company and all operations are performed on that database. This if Company A has the database 'COMPANYA' and Company B has the database 'COMPANYB' users belonging to company A will be using the data in COMPANYA when performing EJB transactions, While Users in Company B will use COMPANYB when performing EJB transactions. Now the problem lies in my tellin the EJB to use database COMPANYB when a user from company B logs on and COMPANYA whem a user from company A logs on. Of course we are talking about hundreds and hopefully thousands of databases over time, so the context must be possible to switch easily. Can I do this someway with EJB, without resulting to the situation of modifying SQL sentences. Christian Kvalheim Qm plus __ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/
Re: EJB classpath problem
You can specify an additonal paths to jars, etc. via the "library path" tag in the application.xml config file. For example, here's my config that I added a library path tag to find the oracle JDBC jar: orion-application !-- snip -- !-- Path to the libraries that are installed on this server. These will accesible for the servlets, EJBs etc -- library path="../lib" / library path="/usr/local/oracle/8i/u01/app/oracle/product/8.1.6/jdbc/lib/classes12.z ip" / !-- snip -- /orion-application -- Jason Rimmer [EMAIL PROTECTED] - Original Message - From: "Laurent Cornelis" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Thursday, October 26, 2000 2:58 AM Subject: Re: EJB classpath problem Your solution will surely works but I don't want to mix my jars with Orion jars... It is really i^mpossible to specify an additional classpath for EJBs in Orion ? Thanks anyway ;) Laurent - Original Message - From: wim veninga To: Orion-Interest Sent: Wednesday, October 25, 2000 3:56 PM Subject: Re: EJB classpath problem Hi Laurent Where is your rapids-util.jar file located. I would suggest that you put this in your_orion_dir/lib. I had the same kind of situation with cloudscape (database) and orion. I have a couple of objects that need to be stored in cloudscape but cloudscape couldn't find it. But i had the classes in one of my ejb-jars. So when i put the classes in orion/lib everything worked fine. I think that orions class loader doesn't make the classes in ejb-jar available to the rest of the system. Greetings Wim Veninga. Laurent Cornelis wrote: Hello, I deploy a J2EE application (called rapids) with Orion, here is my directory structure after deployment : orion/applications/rapids - Contains EJBs jar orion/applications/rapids/rapids-web - Contains the Web app orion/applications/rapids/rapids-web/WEB-INF/lib/rapids-util.jar - A jar file my web application and my EJB need Somewhere in my web applications, a call to WebFacade (One of my EJBs) is done. In this call WebFacade must use a class from rapids-util.jar (class ubiquity.rapids.ejb.util.HomeFactory) but here is the exception I catch : snip com.evermind.server.rmi.OrionRemoteException: Transaction was rolled back: java.lang.NoClassDefFoundError: ubiquity/rapids/ejb/util/HomeFactory at WebFacade_StatelessSessionBeanWrapper9.getPublicSatellites(WebFacade_Statele ssSessionBeanWrapper9.java:311) at /pri/choosesatellite.jsp._jspService(/pri/choosesatellite.jsp.java:75)(JSP page line 28) at com.orionserver.http.OrionHttpJspPage.service(JAX) at com.evermind.server.http.HttpApplication.w5(JAX) at com.evermind.server.http.JSPServlet.service(JAX) at com.evermind.server.http.d1.si(JAX) at com.evermind.server.http.d1.forward(JAX) at ubiquity.rapids.servlet.RapidsServlet.doPost(RapidsServlet.java) 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.d1.si(JAX) at com.evermind.server.http.d1.forward(JAX) at com.evermind.server.http.ed.sp(JAX) at com.evermind.server.http.ed.so(JAX) at com.evermind.util.f.run(JAX) Nested exception is: java.lang.NoClassDefFoundError: ubiquity/rapids/ejb/util/HomeFactory at ubiquity.rapids.ejb.webfacade.WebFacadeBean.getPublicSatellites(WebFacadeBea n.java:153) at WebFacade_StatelessSessionBeanWrapper9.getPublicSatellites(WebFacade_Statele ssSessionBeanWrapper9.java:281) at /pri/choosesatellite.jsp._jspService(/pri/choosesatellite.jsp.java:75)(JSP page line 28) at com.orionserver.http.OrionHttpJspPage.service(JAX) at com.evermind.server.http.HttpApplication.w5(JAX) at com.evermind.server.http.JSPServlet.service(JAX) at com.evermind.server.http.d1.si(JAX) at com.evermind.server.http.d1.forward(JAX) at ubiquity.rapids.servlet.RapidsServlet.doPost(RapidsServlet.java) 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.d1.si(JAX) at com.evermind.server.http.d1.forward(JAX) at com.evermind.server.http.ed.sp(JAX) at com.evermind.server.http.ed.so(JAX) at com.evermind.util.f.run(JAX) /snip How can I tell to the EJBs where is rapids-util.jar ? Please help !!! Thanks Laurent
RE: Anyone using Forte + JPDA + Orion
Lars, Does it make a difference, with regard to debugging, if using -jar orion.jar instead of com.evermind.server.ApplicationServer? I always use com.evermind.server.ApplicationServer, I never tried -jar orion.jar What do you mean by "files were compiled with netbeans"? Do I have to use the "internal compiler"? if I build the entire system with the jdk1.2.2_006 from javasoft, then debug with netbeans I get: menuSelCodeQuery = Name unknwo: menuSelCodeQuery within the watch variable, and I cannot see the value inside the variable if I then tell netbeans to "build all" it changes to: menuSelCodeQuery = (com.Delfour.ejb_app.sql.query.MenuSelCodeQuery) instance of com.Delfour.ejb_app.sql.query.MenuSelCodeQuery(id=784) and I can see the contents of the variable I have it set to fastjavac compilation, I did not try other compile options From the JPDA doc: "True if the target VM is to be suspended immediately before the main class is loaded; false otherwise." So in my opion it doesn't help when using an application server and the method I want to debug isn't invoked directly by its main thread. I tried it with suspend=n and it works as well Hope this helps. Rob Lapensee Director of Technology Delfour Corporation [EMAIL PROTECTED] www.delfour.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Lars Heller Sent: Thursday, October 26, 2000 4:37 AM To: Orion-Interest Subject: Re: Anyone using Forte + JPDA + Orion Hi Rob, java -Djava.compiler=NONE -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5000 com.evermind.server.ApplicationServer From Sun's JPDA doc / Connection and Invocation Deatils: "The -Xnoagent and -Djava.compiler=NONE options are not required; however, for compatibility, these options are accepted and ignored." So, what is left is: java -Xdebug runjdwp:transport=dt_socket,server=y,suspend=y,address=5000 com.evermind.server.ApplicationServer Does it make a difference, with regard to debugging, if using -jar orion.jar instead of com.evermind.server.ApplicationServer? note that we use suspend=y From the JPDA doc: "True if the target VM is to be suspended immediately before the main class is loaded; false otherwise." So in my opion it doesn't help when using an application server and the method I want to debug isn't invoked directly by its main thread. Also, if the .class files were compiled with netbeans it works ok, if they there compiled with jdk1.2.2_005 (NT) then they will not allow you to put a watch point on a variable (you will not be able to see it's contents). What do you mean by "files were compiled with netbeans"? Do I have to use the "internal compiler"? Well, on thing I recognized: The breakpoint doesn't seem to be invoked when I copied the compiled .class file to its destination under orion. I had to compile it directly to this directory. Lars
RE: Orion as NT4 Service
I used google.com and found it right away. http://www.eworksmart.com/JNT/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 26, 2000 4:55 AM To: Orion-Interest Subject: SV: Orion as NT4 Service Is it the opesource project: jsrvany? (http://jsrvany.sourceforge.net) There isnt any JNT stuff out there that i can find... Klaus -Opprinnelig melding- Fra: Duffey, Kevin [mailto:[EMAIL PROTECTED]] Sendt: 26. oktober 2000 01:26 Til: Orion-Interest Emne: RE: Orion as NT4 Service We are using JNT, a free service runner for java applications that properly handles the log-off command. I forget the url, but if you do a search at excite or something, I am sure you will find it. We were using run_as_service, or srvany, neither of which properly worked. -Original Message- From: Todd Renner [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 25, 2000 6:48 AM To: Orion-Interest Subject: Orion as NT4 Service Hi, We've setup orion (1.2.9) to be an NT service as specified at orionsupport.com. But whenever we log off the machine the server stops with no errors. I recall some discussion on this awhile ago, but all I could find in the archives pertained to Unix.We've tried several different scenarios, diff. users, reboot and not logging in etc. but with no success. Anybody have some suggestions as to what to try? Were using sunjdk1.3, hotspot server, nt40.Thanks. Todd Renner [EMAIL PROTECTED]
RE: Orion/SSL and InternetExplorer
It's appearently a problem with the SSL implementaion (Sun code). Make sure in your $ORION/config/[name]-web-site.xml you set the shared="true" for your web app. default-web-app application="default" name="AppName" shared="true"/ BTW: This is in the mail list archives, atleast a half dozen times. -Original Message- From: Klaus Thiele [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 26, 2000 5:45 AM To: Orion-Interest Subject: Orion/SSL and InternetExplorer Hi, has anyone else also strange problems with Orion/SSL and M$ IE 4.x/5.x? it seems, that the configured timeout value was completly ignored - after 1-2 min, the session was lost! this does not happen with netscape or not using SSL. thanks klaus PS: is the Orion-Team completly on holidays? since a few days i send some requests to [EMAIL PROTECTED] [priority:CMR...] but no response! -- Klaus Thiele - Personal Informatik AG mailto:[EMAIL PROTECTED] "There's got to be more to life than compile-and-go."
RE: Can't call an EJB from Within another EJB
It was the EJB-REF Tag. I missed that the first time through the docs. Thankx goes to Jim and Sven! Greg -Original Message- From: Jim Archer [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 26, 2000 12:16 AM To: Orion-Interest Cc: J Davis Subject: Re: Can't call an EJB from Within another EJB Remember that your EJB-REF tage are scoped within each bean, so that the same tag name can refer to different things, depending upon which bean it is defined in. So, my guess is that you didn't include an EJB-REF tag *in the bean definition* for the bean you want to reference. If thats not the problem, post your deployment descriptor for us to look at. Jim --On Wednesday, October 25, 2000 11:21 AM -0600 J Davis [EMAIL PROTECTED] wrote: We have gotten our Orion server(1.3.8) to work with EJBs on a singular level(i.e. we can call EJB A, B or C and it works fine.) But If one of our EJB's tries to call another(i.e. A calls B) A throws a naming exception that it can't find the EJB reference when doing a jndi lookup. Is there a dependency tag or something within one of the XML files that denotes EJB dependencies on one another? I'm sure this is something simple, but it is getting annoying.
First approach to ORION EJB.
Hi all, I am trying to deploy my first Orion EJB but I'm really confused. Theses are the step I have done so far: - I've created the home and remote interfaces and the bean itself. I've copied them into a directory called d:\src and I've compiled them. - I've created the application.xml and ejb-jar.xml files and I've put them in the d:\src\META-INF directory. - I've updatethe server.xml file in /orion/config/with the following line: application name="first-ejb" path="d:\src" auto-start="true" / When I restart the orion application server it shows a message saying that it's made the deployment correctly (or that's what I think it says). The message is: Auto-deploying first-ejb (New server version detected)... Orion/1.3.8. initialized Now I want to create a servlet which use that ejb. How do I have to make it? Do I have to make it like the orion-primer example? Have I deployed the ejb properly? Thanks in advance.
First approach to ORION EJB.
Hi all, I am trying to deploy my first Orion EJB but I'm really confused. Theses are the step I have done so far: - I've created the home and remote interfaces and the bean itself. I've copied them into a directory called d:\src and I've compiled them. - I've created the application.xml and ejb-jar.xml files and I've put them in the d:\src\META-INF directory. - I've updatethe server.xml file in /orion/config/with the following line: application name="first-ejb" path="d:\src" auto-start="true" / When I restart the orion application server it shows a message saying that it's made the deployment correctly (or that's what I think it says). The message is: Auto-deploying first-ejb (New server version detected)... Orion/1.3.8. initialized Now I want to create a servlet which use that ejb. How do I have to make it? Do I have to make it like the orion-primer example? Have I deployed the ejb properly? Thanks in advance.
Re: How does one change the database that the EJB is connecting to during runtime ?
Hi Christian, Are you going to use Bean Managed Persistence or Container Managed Persistence. If you are going to use Bean Managed Persistence you can load a datasource to DB_CompanyA when company A user logs in and when a user of company b logs in you can load a datasource to DB_CompanyB. When you are going to use Container Managed Persistence I don't know if you can do this other that create different beans for the different company's. Hope this will help. Greetings Wim Veninga. Christian Kvalheim wrote: Hey.. I'm in the middle of developing the next version of our software platform for quality management and I have run into the following problem. The current development platform is ASP/COM but we are moving to J2EE and orionserver as our platform of choice. This is the problem When a user connects to the application, he chooses the company that he belongs to. This sets the context of the program to point to the database of that company and all operations are performed on that database. This if Company A has the database 'COMPANYA' and Company B has the database 'COMPANYB' users belonging to company A will be using the data in COMPANYA when performing EJB transactions, While Users in Company B will use COMPANYB when performing EJB transactions. Now the problem lies in my tellin the EJB to use database COMPANYB when a user from company B logs on and COMPANYA whem a user from company A logs on. Of course we are talking about hundreds and hopefully thousands of databases over time, so the context must be possible to switch easily. Can I do this someway with EJB, without resulting to the situation of modifying SQL sentences. Christian Kvalheim Qm plus __ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/
RE: Auto-generated Primary Keys
As far as I know this utility can be used on any app server - it contains no Orion specific code. Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bernard Gaughran Sent: Thursday, October 26, 2000 11:38 PM To: Orion-Interest Subject: Auto-generated Primary Keys I am need to find out if it is possible for an CMP Entity Bean to be created without the primary key value actually being specified by the client that is creating the entity. I am aware of typical Database vendors such as Oracle and SQL Server that provide the ability to create a table with a primary key that is automatically created by the database when a record is inserted. Is there something similar in the EJB specification that allows the creation of a CMP Entity Bean by a client, *WITHOUT* the need for the client to specify the actual value of the primary key? I am aware of the utility in Orion (http://www.orionsupport.com/articles/ejbuniquecounter.html), that generates unique identifiers for beans, but I am required to develop my application that is application-server dependant. All help on this item would be GREATLY appreciated. Bernard Gaughran / Development Team Leader / e: mailto:[EMAIL PROTECTED] Dublin / New York / http://www.nua.ie Ph: + 353 1 218 7600 Fax: + 353 1 283 9820 Nua Ltd - Profit from Knowledge ___
Servlet Caching Bug?
We've experienced what we believe to be a bug with Orion in terms of Servlet Caching. The situation is detailed here: 1. We've setup a servlet as a filter for xml, by editing orion's global-web-application.xml thusly: servlet-chaining servlet-name="XSLPainterServlet" mime-type="text/xml"/ servlet servlet-nameXSLPainterServlet/servlet-name servlet-classcom.apama.xsl.XSLPainterServlet/servlet-class /servlet 2. Additionaly, we've edited orion's application.xml thusly: library path="../../dev/ApplyXSLServlet"/ and a jar file is placed in this directory containing the XSLPainterServlet file. We've tested this with an XML file and it works fine. The problem is when we recompile the class file and rebuild the JAR file while Orion is running, the new servlet is not used. Orion continues to use the old servlet in memory. Is there anyway to hot-redeploy servlets without explicitly restarting orion? Thanks, Ted Rice
RE: ORION running under Solaris Environment
One thing we have found is the Solaris JDK 1.3 is very, very slow running Orion (less than half the speed of a MHz equivalent PC running Windows). You'll want to use the last production JDK 1.2.2 (it's either _06 or _05a). It performs much better. Now the question is why is the Solaris 1.3 the only one that is slower than the platform's JDK 1.2? On Linux and NT 1.3 is considerably faster. Stephen Drye BellHowell MMT -Original Message- From: Ismael Blesa Part [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 25, 2000 1:39 PM To: Orion-Interest Subject: Re: ORION running under Solaris Environment Hi David, You can do whatever you want, the hardware requiriments are not very big, and on a development environment normally you won't have a lot of users. You could have the more powerful machine like a main server when all the developments could be tested. Another possibility is that you could have your development on Windows or Linux and your test server on Solaris. David Sierra Fernandez wrote: 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@ --
ejb2 1:1 mapping to different table?
I've done a 1:1 mapping in Orion using ejb 2.0. The dependent object gets mapped into the same table as the ejb. Can I move the dependent object out of the table and into its own table (for clarity, reporting, etc.)? Can orion-ejb-jar.xml do that? If so, does anyone have an example that I can cheat from? The only issue I see is needing a key/foreign key pair which is not needed when they share a table. -tim
RE: calling native code from ejb
On Wed, 25 Oct 2000, Kurt Hoyt wrote: Actually, its the first. You are not allowed to call native code from an EJB. From the EJB Spec 1.1, Section 18.1.2, Programming Restrictions (page 274): * The enterprise bean must not attempt to load a native library. damn ok, I read the specs and you guys (someone else, Tony, also directed me to the specs) are right. but what to do if I need to use classes that call native methods? the specs says after the above sentence reproduced above: "This function is reserved for the EJB Container." what does this mean? thanks, luis Kurt in Atlanta -Original Message- From: Duffey, Kevin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 25, 2000 7:28 PM To: Orion-Interest Subject: RE: calling native code from ejb I can think of only two possible reasons. One, you are not allowed to call native code from EJB, and two, your native code is causing some sort of problem. The first..I am not sure if that is the case or not. The second seems more likely to me..something might be wrong in your call to JNI, the native code may be causing the exception which your java code is reporting, etc. Sorry..I don't know much else about it. -Original Message- From: Luis M Bernardo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 25, 2000 2:56 PM To: Orion-Interest Subject: calling native code from ejb hello, I have no experience calling native code from java applications but I managed to write my first stateless seesion bean that uses a java class that calls native methods. when use a client to invoke a method in the bean I get the following error: C:\orionjava -Djava.library.path=u:\bernardo\javaqt\unlic\com\thi\quanttools -j ar orion.jar Orion/1.3.8 initialized # # An EXCEPTION_ACCESS_VIOLATION exception has been detected in native code outsi de the VM. # Program counter=0x10001c48 # # # An EXCEPTION_ACCESS_VIOLATION exception has been detected in native code outsi de the VM. # Program counter=0x10001c48 # can someone suggest what the problem is. can I call native methods from ejbs? thanks.
OOPS
Overwhelming Orion Powered Sites (had to fit the acronym ;-) http://orion.irth.net Hosted by Jason Rimmer It has a submission form for sites, Jason and I have been filling in some, some where inserted by the original contributors It's a moderated entry system, so within 24 hours from submission the site will appear JP
Re: Obtaining an SSL Certificate
Hi, I've successfully installed a 40-bit Versign Cert. There was no 128-bit "Javasoft" Cert available from Verisign. Does anyone know of a 128-bit Cert that works with Orion. Thanks, Paul [EMAIL PROTECTED] Re: Obtaining an SSL Certificate From: Dale Bronk Subject: Re: Obtaining an SSL Certificate Date: Tue, 29 Aug 2000 05:03:39 -0700 Did you get a 40-bit or 128-bit cert? Orion informed me we can use 128-bit if we get the domestic JSSE from Sun. Dale
Re: Orion/SSL and InternetExplorer
Hi, thanks for the quick answer. but this has no effect :( It's appearently a problem with the SSL implementaion (Sun code). Make sure in your $ORION/config/[name]-web-site.xml you set the shared="true" for your web app. default-web-app application="default" name="AppName" shared="true"/ BTW: This is in the mail list archives, atleast a half dozen times. -Original Message- From: Klaus Thiele [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 26, 2000 5:45 AM To: Orion-Interest Subject: Orion/SSL and InternetExplorer [...] it seems, that the configured timeout value was completly ignored - after 1-2 min, the session was lost! [...] -- Klaus Thiele - Personal Informatik AG mailto:[EMAIL PROTECTED] "There's got to be more to life than compile-and-go."
FW: Auto-generated Primary Keys
Please excuse the typo! "application-server dependant" should read "application-server independant" !!! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bernard Gaughran Sent: 26 October 2000 2:38 PM To: Orion-Interest Subject: Auto-generated Primary Keys I am need to find out if it is possible for an CMP Entity Bean to be created without the primary key value actually being specified by the client that is creating the entity. I am aware of typical Database vendors such as Oracle and SQL Server that provide the ability to create a table with a primary key that is automatically created by the database when a record is inserted. Is there something similar in the EJB specification that allows the creation of a CMP Entity Bean by a client, *WITHOUT* the need for the client to specify the actual value of the primary key? I am aware of the utility in Orion (http://www.orionsupport.com/articles/ejbuniquecounter.html), that generates unique identifiers for beans, but I am required to develop my application that is application-server dependant. All help on this item would be GREATLY appreciated. Bernard Gaughran / Development Team Leader / e: mailto:[EMAIL PROTECTED] Dublin / New York / http://www.nua.ie Ph: + 353 1 218 7600 Fax: + 353 1 283 9820 Nua Ltd - Profit from Knowledge ___
Re: ejb2 1:1 mapping to different table?
We just had this exact same thing come up. I talked to an Orion person and he said that that is not supported right now. Sorry. He wasn't sure when it would be implemented--saying it was on the priority list but not at the top. Joel Shellman Chief Software Architect http://www.ants.com/90589781 - Original Message - From: "Tim Drury" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Thursday, October 26, 2000 7:57 AM Subject: ejb2 1:1 mapping to different table? I've done a 1:1 mapping in Orion using ejb 2.0. The dependent object gets mapped into the same table as the ejb. Can I move the dependent object out of the table and into its own table (for clarity, reporting, etc.)? Can orion-ejb-jar.xml do that? If so, does anyone have an example that I can cheat from? The only issue I see is needing a key/foreign key pair which is not needed when they share a table. -tim
Re: FW: Auto-generated Primary Keys
just search the archives of ejb-interest. this is an faq and you'll find lots of suggestions. we use the RMI UID generation algorithm in our ejbs which is OK if not using a cluster (in fact we don't really care about the likelyhood of a rolled back transaction because of a conflict because it' s negligible for us and we don't have a problem with that error if it means every 1th user might see an error screen, so what?). regards, robert At 16:45 26.10.00 , you wrote: Please excuse the typo! "application-server dependant" should read "application-server independant" !!! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bernard Gaughran Sent: 26 October 2000 2:38 PM To: Orion-Interest Subject: Auto-generated Primary Keys I am need to find out if it is possible for an CMP Entity Bean to be created without the primary key value actually being specified by the client that is creating the entity. I am aware of typical Database vendors such as Oracle and SQL Server that provide the ability to create a table with a primary key that is automatically created by the database when a record is inserted. Is there something similar in the EJB specification that allows the creation of a CMP Entity Bean by a client, *WITHOUT* the need for the client to specify the actual value of the primary key? I am aware of the utility in Orion (http://www.orionsupport.com/articles/ejbuniquecounter.html), that generates unique identifiers for beans, but I am required to develop my application that is application-server dependant. All help on this item would be GREATLY appreciated. Bernard Gaughran / Development Team Leader / e: mailto:[EMAIL PROTECTED] Dublin / New York / http://www.nua.ie Ph: + 353 1 218 7600 Fax: + 353 1 283 9820 Nua Ltd - Profit from Knowledge ___ (-) Robert Krüger (-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH (-) Brüder-Knauß-Str. 79 - 64285 Darmstadt, (-) Tel: 06151 665401, Fax: 06151 665373 (-) [EMAIL PROTECTED], www.signal7.de
RE: Auto-generated Primary Keys
Mike, is this Shareware/Opensource? Who owns the code? Bernard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mike Cannon-Brookes Sent: 26 October 2000 4:02 PM To: Orion-Interest Subject: RE: Auto-generated Primary Keys As far as I know this utility can be used on any app server - it contains no Orion specific code. Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bernard Gaughran Sent: Thursday, October 26, 2000 11:38 PM To: Orion-Interest Subject: Auto-generated Primary Keys I am need to find out if it is possible for an CMP Entity Bean to be created without the primary key value actually being specified by the client that is creating the entity. I am aware of typical Database vendors such as Oracle and SQL Server that provide the ability to create a table with a primary key that is automatically created by the database when a record is inserted. Is there something similar in the EJB specification that allows the creation of a CMP Entity Bean by a client, *WITHOUT* the need for the client to specify the actual value of the primary key? I am aware of the utility in Orion (http://www.orionsupport.com/articles/ejbuniquecounter.html), that generates unique identifiers for beans, but I am required to develop my application that is application-server dependant. All help on this item would be GREATLY appreciated. Bernard Gaughran / Development Team Leader / e: mailto:[EMAIL PROTECTED] Dublin / New York / http://www.nua.ie Ph: + 353 1 218 7600 Fax: + 353 1 283 9820 Nua Ltd - Profit from Knowledge ___
orion-interest@orionserver.com
- ¶àÒ»·Ý¾ªÏ²£¬ÉÙÒ»µã·çÏÕ http://ecard.etang.com/progt/index.asp?s1=1s2=1
can client see dependent objects (ejb2) ?
I save successfully saved an ejb w/ dependent object into the database. But when I try to pull the ejb back (w/dependent object), the client throws an exception saying it cannot find the dependent object class. Client code snippet: system.out.println(contact.getName()); // this works Address a = contact.getAddress(); // this throws exception The ejb attributes print out on the screen fine, but when I try to get the Address dependent object the *client* throws this exception: java.lang.ClassNotFoundException: Address_Dependent0 Now, I think the problem is obvious. My class is called "Address" and Orion compiled the class on the server and called it "Address_Dependent0". Obviously, the client isn't going to see that. My question: Can the client not see dependent objects at all? Should I write another Address class and copy all the dependent Address class attributes into it? Is this addressed in the spec (I didn't see it)? I hope this is how it is supposed to work, I sure hope they change it - it seems a huge waste of time to have to write 2 classes for each dependent object. -tim
Re: SV: HELP! orion + Linux + native threads
Thanks - I did so. Bug 142. I guess I was hoping it wasn't a bug - how's that for wishful thinking? I suppose it's likely that it's something that I'm doing, but I'm not sure why Resin, Tomcat, and Forte don't seem to have the problem. -Rich --- [EMAIL PROTECTED] wrote: Post it in bugzilla so the orion team gets the notice. Klaus -Opprinnelig melding- Fra: Richard E. Sansom [mailto:[EMAIL PROTECTED]] Sendt: 25. oktober 2000 19:42 Til: Orion-Interest Emne: Re: HELP! orion + Linux + native threads Sorry for including that other stuff at the end of my original message, by the way... Here's some more information: no problems under jakarta-tomcat (3.1) either, so it's beginning to look more and more like an Orion problem of some kind. I would really appreciate a word from the Orion guys on this one. Thanks, again. -Rich --- "Richard E. Sansom" [EMAIL PROTECTED] wrote: Attached is a simple servlet that uses the request and response input and output streams to read a text based message and simply echo the message back to the requestor. This thing runs fine when I stress it under Forte (hit it a billion times, looking for performance and memory problems) but under Orion (1.3.8, but I also tried it under the 1.4.0 version), I run out of native threads just under 1000 requests into my test (I expect we're bumping up against the 1024 magic number). Am I doing something wrong or is it a known problem? Again, the Forte servlet runner, which is no performance leader, didn't have any problems at all running under the same O/S (Redhat 7.0 - I know...) and JDK (Sun 1.3.0). Please help, I spent the better part of all night trying to figure this one out. Thanks. -Rich --- "Juan Lorandi (Chile)" [EMAIL PROTECTED] wrote: Last week I bailed out of SprintA 2000, because variable length fields don't grow... Bugzilla #127 Say, you have an Object/Serializable field in a CMP bean... It's mapped to either a nvarchar(S), or a varbinary(S) Whenever the serializable version of the object is bigger than S (look above) SprintA fails miserably However, I have not successfully confirmed that it's a SprintA problem, but I surely can make varbinarys grow using ADO, so must be a bug in the german product (SprintA 2000) HTH (before it's too late), Rifle -Original Message- From: Kurt Hoyt [mailto:[EMAIL PROTECTED]] Sent: Miércoles, 25 de Octubre de 2000 10:06 To: Orion-Interest Subject: RE: Ok. I feel dumb. Data Sources and MS SQL. I hate to be the bearer of bad news, but you'll have to spring for a type 4 JDBC driver. We bought the one from Inet Software called "Sprinta 2000". The price was reasonable and it performs comparably with the best of them. That's how we got Orion and SQL Server 7 and Win2K to work together. Kurt in Atlanta -Original Message- From: Kimberley Scott [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 24, 2000 9:16 PM To: Orion-Interest Subject: Ok. I feel dumb. Data Sources and MS SQL. Hiya, Feeling real stupid here. I'm examining data sources and getting totally confused. Maybe I'm just burnt out. Haven't had a holiday in five years. Sigh. Back to business. We're *forced* to use Microsoft SQL 7 and Win2K. How do I set up the datasource xml file to handle this? I can't seem to find anything on this in the email lists on in the docs. The only drivers I have are the ODBC bridges (The invisible hidden MS one and the standard Sun one) and I'm not paying for a Type IV driver at the outrageous prices I've been presented with from BEA and the like. Has anyone done this before or can point me in the right direction? A tired developer who's feeling very old and dim... Kimberley Scott Senior Web Developer Peakhour Pty Ltd http://smartoffice.com.au - just built. needs work. ASP/COM Sigh. What can I say? http://peakhour.com.au - corporate site http://www.geocities.com/kimmie_scott -me Richard E. Sansom [EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ ATTACHMENT part 2 application/x-unknown name=TestServlet.java === Richard E. Sansom [EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ Richard E. Sansom [EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/
RE: Auto-generated Primary Keys
IMHO, that counter bean would work with other application servers. There is no Orion specific code inside. stas@ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bernard Gaughran Sent: Thursday, October 26, 2000 7:46 PM To: Orion-Interest Subject: FW: Auto-generated Primary Keys Please excuse the typo! "application-server dependant" should read "application-server independant" !!! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bernard Gaughran Sent: 26 October 2000 2:38 PM To: Orion-Interest Subject: Auto-generated Primary Keys I am need to find out if it is possible for an CMP Entity Bean to be created without the primary key value actually being specified by the client that is creating the entity. I am aware of typical Database vendors such as Oracle and SQL Server that provide the ability to create a table with a primary key that is automatically created by the database when a record is inserted. Is there something similar in the EJB specification that allows the creation of a CMP Entity Bean by a client, *WITHOUT* the need for the client to specify the actual value of the primary key? I am aware of the utility in Orion (http://www.orionsupport.com/articles/ejbuniquecounter.html), that generates unique identifiers for beans, but I am required to develop my application that is application-server dependant. All help on this item would be GREATLY appreciated. Bernard Gaughran / Development Team Leader / e: mailto:[EMAIL PROTECTED] Dublin / New York / http://www.nua.ie Ph: + 353 1 218 7600 Fax: + 353 1 283 9820 Nua Ltd - Profit from Knowledge ___
RE: calling native code from ejb
I have gotten around this problem by having a session ejb do a remote procedure call using xml-rpc. This allows me to perform rpc on another class that may utilize JNI, or even to access the native code directly if it supports xml-rpc. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Luis M Bernardo Sent: Thursday, October 26, 2000 11:07 AM To: Orion-Interest Subject: RE: calling native code from ejb On Wed, 25 Oct 2000, Kurt Hoyt wrote: Actually, its the first. You are not allowed to call native code from an EJB. From the EJB Spec 1.1, Section 18.1.2, Programming Restrictions (page 274): * The enterprise bean must not attempt to load a native library. damn ok, I read the specs and you guys (someone else, Tony, also directed me to the specs) are right. but what to do if I need to use classes that call native methods? the specs says after the above sentence reproduced above: "This function is reserved for the EJB Container." what does this mean? thanks, luis Kurt in Atlanta -Original Message- From: Duffey, Kevin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 25, 2000 7:28 PM To: Orion-Interest Subject: RE: calling native code from ejb I can think of only two possible reasons. One, you are not allowed to call native code from EJB, and two, your native code is causing some sort of problem. The first..I am not sure if that is the case or not. The second seems more likely to me..something might be wrong in your call to JNI, the native code may be causing the exception which your java code is reporting, etc. Sorry..I don't know much else about it. -Original Message- From: Luis M Bernardo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 25, 2000 2:56 PM To: Orion-Interest Subject: calling native code from ejb hello, I have no experience calling native code from java applications but I managed to write my first stateless seesion bean that uses a java class that calls native methods. when use a client to invoke a method in the bean I get the following error: C:\orionjava -Djava.library.path=u:\bernardo\javaqt\unlic\com\thi\quanttools -j ar orion.jar Orion/1.3.8 initialized # # An EXCEPTION_ACCESS_VIOLATION exception has been detected in native code outsi de the VM. # Program counter=0x10001c48 # # # An EXCEPTION_ACCESS_VIOLATION exception has been detected in native code outsi de the VM. # Program counter=0x10001c48 # can someone suggest what the problem is. can I call native methods from ejbs? thanks.
Orian and Castor JDO
Any one using Castor JDO with Orion? Thanks in advance for the reply- Regards, Newbie
Re: Obtaining an SSL Certificate
I have it working with netscape 128bit from Verisign, --BUT-- make sure that you have the US version of the JSSE that supports 128bit encryption (you have to go and download this). sach On Thu, 26 Oct 2000, Paul Knepper wrote: Hi, I've successfully installed a 40-bit Versign Cert. There was no 128-bit "Javasoft" Cert available from Verisign. Does anyone know of a 128-bit Cert that works with Orion. Thanks, Paul [EMAIL PROTECTED] Re: Obtaining an SSL Certificate From: Dale Bronk Subject: Re: Obtaining an SSL Certificate Date: Tue, 29 Aug 2000 05:03:39 -0700 Did you get a 40-bit or 128-bit cert? Orion informed me we can use 128-bit if we get the domestic JSSE from Sun. Dale
Re: Orion as NT4 Service
Kevin, Were you able to get a gracefull shutdown if Orion is run as service installed by JNT ? If so could you please specify JNT command line to install the service ? I'm interested in part following Dshutdown.method= ? jnt "/InstallAsService:OrionWebServer" "/SDd:\Orion" -Dshutdown.method= "?" -jar orion.jar Thanks ~boris "Duffey, Kevin" wrote: We are using JNT, a free service runner for java applications that properly handles the log-off command. I forget the url, but if you do a search at excite or something, I am sure you will find it. We were using run_as_service, or srvany, neither of which properly worked. -Original Message- From: Todd Renner [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 25, 2000 6:48 AM To: Orion-Interest Subject: Orion as NT4 Service Hi, We've setup orion (1.2.9) to be an NT service as specified at orionsupport.com. But whenever we log off the machine the server stops with no errors. I recall some discussion on this awhile ago, but all I could find in the archives pertained to Unix.We've tried several different scenarios, diff. users, reboot and not logging in etc. but with no success. Anybody have some suggestions as to what to try? Were using sunjdk1.3, hotspot server, nt40.Thanks. Todd Renner [EMAIL PROTECTED]
RE: Clustering Advice, Software or Hardware
Hi there, First, you definitely want to use the application specific clustering, with a load-balancer feeding to two or more, per island. If your not familiar with Orion clustering, your in for a nice surprise..its VERY easy to do. Orion even comes with its own software load-balancer that is "Orion aware" and as you add more Orion app servers, they automagically appear on the server that the Orion load-balancer is running on. You even see all incoming requests, what server they went to, when a computer is added or taken away, etc. There is a nice doc on the orion site, I forget the URL, that explains a good deal on how to easily set up clustering. I have tried it and it works. The thing to know, however is that HttpSession data (the stuff that the "state" of a client is stored in via a session), needs to be failed over, so that if one server goes down, they are still connected via the session data. If the HttpSession objects were not failed over, when a server went down, everything in the clients "cart" (if say you were building a cart system), would be gone. On our site, people have to log in. We store an object in the HttpSession session for each client that indicates if they are logged in or not. If the server they were on went down, they would no longer be logged in, even if a load-balancer was in place and fed them to another server. The idea behind Session fail-over is that you set up an island of web servers..and in that island all HttpSession data is copied to each of the servers. Therefore, if I am a new client and hit your ip (a load-balancer for example), my request is sent to any one of x number of servers in a specific island (a cluster). My HttpSession is created and its "replicated" to all the servers in the island. Therefore, if you have 3 machines, each machine gets not only its data, but the data of the other two servers..so memory requirements go up a bit on each machine. With Orion, because of the way it clusters, I would put 3 servers per island, with two islands, for "minimum optimum fail-over". You don't have to put fast machines..a single $1200 PIII or AMD Athlon based pc with 500MHz cpus are fine. I ran a simple "login" load-test with 25 users on my PIII650 workstation with Orion, with the Interbase database server running on it as well, and I was able to achieve 4milliion pages per day. Ofcourse..it helps that it is on my local box, but even if the database was on a different machine, I would achieve similar results. And this with only 2 database connections in the pool! Imagine the performance you can get from a 3-server cluster of 500Mhz PCs with 1GB of memory each. Anyways, you can cluster with 2 servers per island, but I recommend 3 simply because if one goes down, you still have a cluster. I wouldn't go with 4..instead I would set up two islands, each with 2 computers if you can only use 4 servers. You can easily add a machine to the island too. The reason being..the more servers you have in an island, the more memory each will need to handle the HttpSession objects of the other servers in the island. Therefore, I think 3 is perfect, each with 1GB (or more) of memory. These days, you can buy nice Dell servers for about $4K each with 900Mhz cpus, 1GB memory, Ultra SCSI 160 hds, etc. Hope that helps. Feel free to ask questions.. -Original Message- From: Neal Kaiser [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 25, 2000 2:04 PM To: Orion-Interest Subject: Clustering Advice, Software or Hardware We are soon going to develop a J2EE app using Orion and I want it to have 2 webservers for failsafe and load balancing. In the past I've used load balancing routers, like the Web Server Director. Has anyone had good experience with clustering in a production environment? What are the pros and cons of hardware vs software clustering? Thanks, Neal
RE: Can't call an EJB from Within another EJB
I HAVE THE SAME PROBLEM!!! I was about to write an email to the list..hopefully someone else can answer this. Its pissing me off. My problem is that EJB A uses EJB B, but my servlet, when it tries to get EJB A, throws the naming exception. The code in EJB A hasn't even ran yet..and the stack trace says it can't find EJB B! That is strange to me on why if the code in EJB A that uses B isn't even running yet..just when the object is trying to be found, that it says it can't find EJB B. Must be some mechanism of EJB containers that makes sure they all exist. My EJB A does a JNDI call to java:comp/env/ejb/Test and that should work according to the ejb book I have. That is how a session bean uses an entity bean supposedly. From what I read, a session bean (or I suppose any ejb) must use a JNDI lookup for every bean it wants to use. God forbid if I had a bean that needed to use 50 other beans! Isn't there a way to simplify this process? Also, it appears EJB 1.1 entity CMP stuff is very limited..VERY limited. I can't have any type of joins. How then is a join done? Does EJB A (session) that uses two entities, with entity A having a join to entity B..does this have to be done in code? You have to get all the entities of both A and B, then in code do a loop through all As and on each iteration do a loop through all B's and if the fields of both that are in the "query" match, store that in a vector, then return that result? That seems like a whole lot of code just to do a simple one to many join of two tables. It's enough to make me use standard JDBC sql, instead of entity CMP. -Original Message- From: J Davis [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 25, 2000 10:21 AM To: Orion-Interest Subject: Can't call an EJB from Within another EJB We have gotten our Orion server(1.3.8) to work with EJBs on a singular level(i.e. we can call EJB A, B or C and it works fine.) But If one of our EJB's tries to call another(i.e. A calls B) A throws a naming exception that it can't find the EJB reference when doing a jndi lookup. Is there a dependency tag or something within one of the XML files that denotes EJB dependencies on one another? I'm sure this is something simple, but it is getting annoying.
RE: can client see dependent objects (ejb2) ?
I believe you must use a Dependent Value class to get dependent objects .. the idea with dependents is that they are tightly associated with an entity, and the entity should use them and expose in it's own interface .. see the ejb spec 9.3.1 on granularity, and dependent objects and value objects in 9.7.x jd -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tim Drury Sent: Thursday, October 26, 2000 1:05 PM To: Orion-Interest Subject: can client see dependent objects (ejb2) ? I save successfully saved an ejb w/ dependent object into the database. But when I try to pull the ejb back (w/dependent object), the client throws an exception saying it cannot find the dependent object class. Client code snippet: system.out.println(contact.getName()); // this works Address a = contact.getAddress(); // this throws exception The ejb attributes print out on the screen fine, but when I try to get the Address dependent object the *client* throws this exception: java.lang.ClassNotFoundException: Address_Dependent0 Now, I think the problem is obvious. My class is called "Address" and Orion compiled the class on the server and called it "Address_Dependent0". Obviously, the client isn't going to see that. My question: Can the client not see dependent objects at all? Should I write another Address class and copy all the dependent Address class attributes into it? Is this addressed in the spec (I didn't see it)? I hope this is how it is supposed to work, I sure hope they change it - it seems a huge waste of time to have to write 2 classes for each dependent object. -tim
Re: Obtaining an SSL Certificate
Is there any specific 'type' of certificate you requested from Verisign? We are in desperate need to get 128 bit running on our production site, but so far, I have only gotten the 40 bit test cert from thawte to work correctly. I could not get keytool to successfully import the test cert that verisign gives. Any help would be appreciated. James Birchfield Ironmax a better way to buy, sell and rent construction equipment 5 Corporate Center 9960 Corporate Campus Drive, Suite 2000 Louisville, KY 40223 |+ || Sach Jobb | || [EMAIL PROTECTED] | || Sent by: | || owner-orion-interest@orion| || server.com| ||| ||| || 10/26/00 02:08 PM | || Please respond to | || Orion-Interest| ||| |+ -| | | | To: Orion-Interest [EMAIL PROTECTED] | | cc: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED] | | Subject: Re: Obtaining an SSL Certificate | -| I have it working with netscape 128bit from Verisign, --BUT-- make sure that you have the US version of the JSSE that supports 128bit encryption (you have to go and download this). sach On Thu, 26 Oct 2000, Paul Knepper wrote: Hi, I've successfully installed a 40-bit Versign Cert. There was no 128-bit "Javasoft" Cert available from Verisign. Does anyone know of a 128-bit Cert that works with Orion. Thanks, Paul [EMAIL PROTECTED] Re: Obtaining an SSL Certificate From: Dale Bronk Subject: Re: Obtaining an SSL Certificate Date: Tue, 29 Aug 2000 05:03:39 -0700 Did you get a 40-bit or 128-bit cert? Orion informed me we can use 128-bit if we get the domestic JSSE from Sun. Dale
Re: Can't call an EJB from Within another EJB
My EJB A does a JNDI call to java:comp/env/ejb/Test and that should work according to the ejb book I have. That is how a session bean uses an entity bean supposedly. From what I read, a session bean (or I suppose any ejb) must use a JNDI lookup for every bean it wants to use. God forbid if I had a bean that needed to use 50 other beans! Isn't there a way to simplify this process? Write a helper class so you can just do: HelperClass.getMyEntityBean1(int id); or something related to that. If you had one method that accessed 50 different other beans... or rather, if you even had 50 different beans, you have a rather huge complicated system. Most systems probably have on the order of 10 beans or so. Also, it appears EJB 1.1 entity CMP stuff is very limited..VERY limited. I Yes, EJB 1.1 CMP IS very limited. That's what 2.0 is hopefully going to do a great deal to help. However, you can do custom finder queries in Orion so you can specify the entire finder SQL in the orion-ejb-jar.xml file. You can make your finders as complex as you like using that. -joel shellman
Re: Obtaining an SSL Certificate
Actually, after installing the newer version of the JSSE, I was able to get the test certificate form Verisign to work properly, running 128 bit. Even after setting the shared attribute to true, IE still seems to renew the session every 2 minutes or so, but Netscape seems to do fine. I think IE is trying to be to 'smart', and after so much idle time, it re-negotiates with the server, and new session is created. Any thoughts on how to defeat this? Thanks for the info on JSSE! James Birchfield Ironmax a better way to buy, sell and rent construction equipment 5 Corporate Center 9960 Corporate Campus Drive, Suite 2000 Louisville, KY 40223 |+ || [EMAIL PROTECTED] | || Sent by: | || owner-orion-interest@orion| || server.com| ||| ||| || 10/26/00 04:12 PM | || Please respond to | || Orion-Interest| ||| |+ -| | | | To: Orion-Interest [EMAIL PROTECTED] | | cc: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], | | [EMAIL PROTECTED] | | Subject: Re: Obtaining an SSL Certificate | -| Is there any specific 'type' of certificate you requested from Verisign? We are in desperate need to get 128 bit running on our production site, but so far, I have only gotten the 40 bit test cert from thawte to work correctly. I could not get keytool to successfully import the test cert that verisign gives. Any help would be appreciated. James Birchfield Ironmax a better way to buy, sell and rent construction equipment 5 Corporate Center 9960 Corporate Campus Drive, Suite 2000 Louisville, KY 40223 |+ || Sach Jobb | || [EMAIL PROTECTED] | || Sent by: | || owner-orion-interest@orion| || server.com| ||| ||| || 10/26/00 02:08 PM | || Please respond to | || Orion-Interest| ||| |+ -| | | | To: Orion-Interest [EMAIL PROTECTED] | | cc: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED] | | Subject: Re: Obtaining an SSL Certificate | -| I have it working with netscape 128bit from Verisign, --BUT-- make sure that you have the US version of the JSSE that supports 128bit encryption (you have to go and download this). sach On Thu, 26 Oct 2000, Paul Knepper wrote: Hi, I've successfully installed a 40-bit Versign Cert. There was no 128-bit "Javasoft" Cert available from Verisign. Does anyone know of a 128-bit Cert that works with Orion. Thanks, Paul [EMAIL PROTECTED] Re: Obtaining an SSL Certificate From: Dale Bronk Subject: Re: Obtaining an SSL Certificate Date: Tue, 29 Aug 2000 05:03:39 -0700 Did you get a 40-bit or 128-bit cert? Orion informed me we can use 128-bit if we get the domestic JSSE from Sun. Dale
What is the default transaction-attribute?
Hi.. If a transaction-attribute is not specified, which the default? The EJB spec doesn't seem to mention one, so I assume it is container specific? Markus -- Markus Holmberg | Give me Unix or give me a typewriter. [EMAIL PROTECTED] | http://www.freebsd.org/
RE: Servlet Caching Bug?
Yes, put your servlet in the /WEB-INF/classes directory of your web application. library is for classes loaded at startup and for use in every application, these will not get reloaded. (Eg in months and months of using Orion, I've never once needed a library tag) Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ted Rice Sent: Friday, October 27, 2000 12:02 AM To: Orion-Interest Subject: Servlet Caching Bug? We've experienced what we believe to be a bug with Orion in terms of Servlet Caching. The situation is detailed here: 1. We've setup a servlet as a filter for xml, by editing orion's global-web-application.xml thusly: servlet-chaining servlet-name="XSLPainterServlet" mime-type="text/xml"/ servlet servlet-nameXSLPainterServlet/servlet-name servlet-classcom.apama.xsl.XSLPainterServlet/servlet-class /servlet 2. Additionaly, we've edited orion's application.xml thusly: library path="../../dev/ApplyXSLServlet"/ and a jar file is placed in this directory containing the XSLPainterServlet file. We've tested this with an XML file and it works fine. The problem is when we recompile the class file and rebuild the JAR file while Orion is running, the new servlet is not used. Orion continues to use the old servlet in memory. Is there anyway to hot-redeploy servlets without explicitly restarting orion? Thanks, Ted Rice
Transaction not rolled back if exception thrown from ejbCreate method
Heya.. Throwing an system exception from an ejbCreate method with a "Required" transaction-attribute should result in the container rolling back the transaction. However, this doesn't seem to be the case with Orion 1.4.0. Is Orion doing the right thing (not rolling back) or not? My interpretation of the EJB 1.1 spec is that it *should* rollback the transaction automatically. Markus -- Markus Holmberg | Give me Unix or give me a typewriter. [EMAIL PROTECTED] | http://www.freebsd.org/
Deploying J2EE RI ConverterApp on Orion
First off, I'm an Orion newbie, so I'm probably doing something stupid. I'm trying to deploy the ConverterApp example distributed with the J2EE RI from Sun (described in Chapter 2 of its User Guide). I added this line to server.xml: application name="Converter" path="/my/path/ConverterApp.ear" / To run the ConverterClient with the J2EE RI, I had to include in the classpath the ConverterAppClient.jar file that was created when I deployed the application. But I didn't think I'd need to do that with Orion since it builds the stubs on demand. I [naively] figured all I had to do was set the JNDI properties on the client command line properly and everything would just magically work! But instead I got the following error. $ java -Djava.naming.factory.initial=com.evermind.server.ApplicationClientInitialContextFactory -classpath $HO\ ME/usr/orion/orion.jar:. ConverterClient Caught an unexpected exception! javax.naming.NamingException: META-INF/application-client.xml resource not found at com.evermind.server.ApplicationClientInitialContextFactory.getInitialContext(JAX, Compiled Code) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java, Compiled Code) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java, Compiled Code) at javax.naming.InitialContext.init(InitialContext.java, Compiled Code) at javax.naming.InitialContext.init(InitialContext.java, Compiled Code) at ConverterClient.main(ConverterClient.java, Compiled Code) Why does Orion require an application-client.xml file? Assuming I figure out what that file should look like, do I really have to wrap it and the client class up in a jar file just to run a simple test??? Thanks for any light you can shed.
Re: Obtaining an SSL Certificate
We are using the Netscape 128 bit key. You have to download the domestic version of the JSSE from java.sun.com, and use that keytool to generate the cert request. Then you should be able to get it to work. Make sure the information in the cert request is accurate tho. We had to try several times to re-request the certificate. -Lkb At 04:12 PM 10/26/00 -0400, [EMAIL PROTECTED] wrote: Is there any specific 'type' of certificate you requested from Verisign? We are in desperate need to get 128 bit running on our production site, but so far, I have only gotten the 40 bit test cert from thawte to work correctly. I could not get keytool to successfully import the test cert that verisign gives. Any help would be appreciated. James Birchfield Ironmax a better way to buy, sell and rent construction equipment 5 Corporate Center 9960 Corporate Campus Drive, Suite 2000 Louisville, KY 40223 |+ || Sach Jobb | || [EMAIL PROTECTED] | || Sent by: | || owner-orion-interest@orion| || server.com| ||| ||| || 10/26/00 02:08 PM | || Please respond to | || Orion-Interest| ||| |+ --- --| | | | To: Orion-Interest [EMAIL PROTECTED] | | cc: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED] | | Subject: Re: Obtaining an SSL Certificate | --- --| I have it working with netscape 128bit from Verisign, --BUT-- make sure that you have the US version of the JSSE that supports 128bit encryption (you have to go and download this). sach On Thu, 26 Oct 2000, Paul Knepper wrote: Hi, I've successfully installed a 40-bit Versign Cert. There was no 128-bit "Javasoft" Cert available from Verisign. Does anyone know of a 128-bit Cert that works with Orion. Thanks, Paul [EMAIL PROTECTED] Re: Obtaining an SSL Certificate From: Dale Bronk Subject: Re: Obtaining an SSL Certificate Date: Tue, 29 Aug 2000 05:03:39 -0700 Did you get a 40-bit or 128-bit cert? Orion informed me we can use 128-bit if we get the domestic JSSE from Sun. Dale /** * @author: Lorin Kobashigawa-Bates [EMAIL PROTECTED] * @title: CodeMonkey / COO - Robot6 Inc. * @phone: 415.345.8872 * @addr: 1177 Polk St. San Francisco, CA 94109 */
RE: Obtaining an SSL Certificate
What about the many posts here about using SSL in a clustered environment? Many posts say the session times out in 1 to 2 minutes. Is that a bug of Orion? Have you experienced that? -Original Message- From: Lorin Kobashigawa [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 26, 2000 2:56 PM To: Orion-Interest Subject: Re: Obtaining an SSL Certificate We are using the Netscape 128 bit key. You have to download the domestic version of the JSSE from java.sun.com, and use that keytool to generate the cert request. Then you should be able to get it to work. Make sure the information in the cert request is accurate tho. We had to try several times to re-request the certificate. -Lkb At 04:12 PM 10/26/00 -0400, [EMAIL PROTECTED] wrote: Is there any specific 'type' of certificate you requested from Verisign? We are in desperate need to get 128 bit running on our production site, but so far, I have only gotten the 40 bit test cert from thawte to work correctly. I could not get keytool to successfully import the test cert that verisign gives. Any help would be appreciated. James Birchfield Ironmax a better way to buy, sell and rent construction equipment 5 Corporate Center 9960 Corporate Campus Drive, Suite 2000 Louisville, KY 40223 |+ || Sach Jobb | || [EMAIL PROTECTED] | || Sent by: | || owner-orion-interest@orion| || server.com| ||| ||| || 10/26/00 02:08 PM | || Please respond to | || Orion-Interest| ||| |+ - -- --| | | | To: Orion-Interest [EMAIL PROTECTED] | | cc: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED] | | Subject: Re: Obtaining an SSL Certificate | - -- --| I have it working with netscape 128bit from Verisign, --BUT-- make sure that you have the US version of the JSSE that supports 128bit encryption (you have to go and download this). sach On Thu, 26 Oct 2000, Paul Knepper wrote: Hi, I've successfully installed a 40-bit Versign Cert. There was no 128-bit "Javasoft" Cert available from Verisign. Does anyone know of a 128-bit Cert that works with Orion. Thanks, Paul [EMAIL PROTECTED] Re: Obtaining an SSL Certificate From: Dale Bronk Subject: Re: Obtaining an SSL Certificate Date: Tue, 29 Aug 2000 05:03:39 -0700 Did you get a 40-bit or 128-bit cert? Orion informed me we can use 128-bit if we get the domestic JSSE from Sun. Dale /** * @author: Lorin Kobashigawa-Bates [EMAIL PROTECTED] * @title: CodeMonkey / COO - Robot6 Inc. * @phone: 415.345.8872 * @addr: 1177 Polk St. San Francisco, CA 94109 */
Re: Servlet Caching Bug?
library is for classes loaded at startup and for use in every application, these will not get reloaded. (Eg in months and months of using Orion, I've never once needed a library tag) The only purpose I've put it to is the jdbc classes for oracle and our organisations class tree so that these don't need to be in the orion structure. -- Aaron Scott-Boddendijk INTAZ Limited +64 7 838 3371 Voice +64 7 838 3372 Fax
RE: re Performance test...
No entity beans..not even using EJB on this particular test. It will be a few weeks before I get the clustered test posted. Business needs are consistently coming in and we don't have time to do much else. But as soon as I can I will post those results. -Original Message- From: Mark [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 26, 2000 5:21 PM To: Orion-Interest Subject: re Performance test... Kevin, quick question on your login test. Does your application use EntityBeans to represent your users (and therefore are you calling EntityBean.ejbFind() to load from Oracle?). Or are you using another mechanism to represent users within your application? Many thanks for posting this info, it's extremely helpful! --Mark Hi all, Well, using a pretty nifty (and very expensive) testing tool, I was able to do some "minor" testing on a login process of our site. Using Orion, Oracle 8i database, and e-load test suite, here are some numbers that I got: 25 users - 15 connections in the pool pages per second - 43 pages per day - 3.75 million transactions per second - 14.5 transactions per day - 1.26 million 25 users - 30 connections in the pool pages per second- 26.4 pages per day - 2.28 million transactions per second - 8.81 transactions per day - 761333 25 users - 5 connections in the pool pages per second - 51.95 pages per day - 4.48 million transactions per second - 17.32 transactions per day- 1.49 million The test is simple. It uses the browser built into the e-test suite software and "automates" the login process of our site. I ran the test on a PIII650, with 512MB RAM. The database is running on a SUN E450 serve with 512MB RAM. The test simply sends a post submitted form with the login name and password to a controller servlet that then hits the database using a connection via the pool, and logs in the user. All logins were valid, I did not test invalid login names/passwords. Just thought I would share these numbers. Next week I will be setting up a two-server farm, using the load-balancer software that Orion includes in their download. Each server will be dual PIII550 with 512MB RAM and SCSI III RAID hd setup (Actually, they are IBM NetFinitiy 4000R units). The load balancer will run on a slow PII300 workstation with 128MB RAM (I hope this is good enough). They will be failed over and load-balanced, and I will test the performance on those and post the results here. The only thing I am not sure of is if different testing software performs about the same..or are there dramatically different results. If anyone wants me to attempt to test their site, I'll give it a go from here..but its over a T1 connection, where as my test is done locally on a LAN, so I am sure the results are more skewed.
findByPrimaryKey..what should be a primar key?
Hi all, I am a little confused on one thing..if I create an entity such as name, address1, address2, city, state, zip, home phone, fax, cell And a "profile" page shows those fields..and I can store that as an entity in the database. The problem is..what if I want the ability to search on ALL of those fields? Do I need to define the PK class with all of the fields too? I am not sure exactly to corelation between an SQL Query where I could put in a "where x = z and x2 = z2" to allow searching on more than one field, when dealing with entity beans and primary keys to pull up searches. Can someone explain how I would allow a search on every field of an entity bean? Thanks.