RE:
AFAIK, there is an example of message-driven bean in the ATM sample application, which should be in your distribution. To update your Orion to latest version available you can use this command (from Orion directory): java -jar autoupdate.jar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Chia, Pei Yen Sent: Wednesday, February 21, 2001 9:37 AM To: Orion-Interest Subject: Hi, I'm trying to look for examples on MessageDrivenBean and i can't seem to find it at the orion website. Also, the latest downloadable version of orion server from "www.orionserver.com" is version 1.4.5. I gathered from the mailing list that most of you are already using version 1.4.7 ... Can someone please help me on this. Thank you. Regards, Pei Yen
RE: Where are the perfumes bubble bath beads
WebLogic 6.0 tooks up 80 Mbytes. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kemp Randy-W18971 Sent: Friday, February 16, 2001 5:06 PM To: Orion-Interest Subject: Where are the perfumes bubble bath beads Here is a mystery I need help with. If all JSP engines and EJB servers are approximately equal, then what explains the size differences in the following examples? Latest production Orion - 10 MG Latest production Resin - 12.8 MG Latest productions Jboss/Tomcat - 23.3 Mg Latest production Unify Ewave Engine - 18.1 MG Latest production Iplanet 6.1 - Approximately 1 Gig Latest Productions Oracle 9I AS - Approximately 1 Gig In a past commercial for Motel 6, they talk about not having any perfumed bubble bath beads, like the higher priced hotels. So I ask these questions. What could possible take up 1 gig, when all JSP engines and EJB servers are supposed to have similar or identical functionality? Out of curiosity, how much space does Weblogic take up? Where are the perfumed bubble bath beads in the 1 gig space?
RE: orion and mysql?
If somebody using Interbase successfully, please send your database schema and data-sources.xml part to this list. TIA -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Randahl Fink Isaksen Sent: Wednesday, January 31, 2001 10:05 AM To: Orion-Interest Subject: RE: orion and mysql? Well then, is there a simple how-to for setting up Interbase with Orion? - Have you got a database schema which works? R. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Arno Grbac Sent: 30. januar 2001 19:08 To: Orion-Interest Subject: RE: orion and mysql? This doesn't answer your question, but take a serious look at InterBase 6 (IT IS FREE AND OPEN SOURCE!!!). mySQL doesn't have a good locking mechanism yet, ..as well as some missing data types (last time I checked). Good luck, -arno -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Marc Linke Sent: Tuesday, January 30, 2001 11:21 AM To: Orion-Interest Subject: orion and mysql? Hi, is there any simple how-to for setting up mysql with orion available? Or can someone explain me how to do it? thanks
RE: Which version is stable
I will not recommend you using IBM JVM. I myself tryed it and found it very instable and slow. Sun JVM solved both problems fine. (I've tried it on Win2k) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jason Rimmer Sent: Wednesday, January 31, 2001 8:07 AM To: Orion-Interest Subject: Re: Which version is stable The OOPS listing that Juan mentioned earlier is currently running v1.4.5. Granted it's just a bunch of JSPs but so far the server has crashed a few times. Note that I'm running IBM build cx130-2815 JVM. By the way, is there a new version of the IBM v1.3 JVM? I know releases are slipstreamed in. --- Jason Rimmer [EMAIL PROTECTED] - Original Message - From: "Korosh Afshar" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Tuesday, January 30, 2001 9:10 PM Subject: RE: Which version is stable Just last week I deployed an EJB app that used CMP onto 1.4.5 with JDK 1.3. It was slow, slow, slow. I reverted back to 1.3.8 and it was fast. this is for Solaris 2.7. NT 1.3.8 was fast and consistent with 1.3.8 on solaris. k. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kemp Randy-W18971 Sent: Tuesday, January 30, 2001 9:24 AM To: Orion-Interest Subject: RE: Which version is stable At one point in time, they said the same thing of version 1.3.8. I believe what they mean is that the experimental version has now become the stable version. -Original Message- From: Randahl Fink Isaksen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 30, 2001 6:14 AM To: Orion-Interest Subject: Which version is stable I am running Orion 1.3.8 seems to work, but I am thinking of upgrading. But which version should one upgrade to? - According to www.orionserver.com the new 1.4.5 is both stable and experimental... which sounds a bit like "stable and unstable". R.
RE: Servlet Mapping and Access
Also note that this /servlet/ directory is a virtual one. And it could be changed in orion-dir/application-deployments/app-name/web-app-name/orion-web.xml orion-web-app deployment-version="1.4.4" development="true" jsp-cache-directory="./persistence" temporary-directory="./temp" servlet-webdir="/whatever-dir-name-you-need/" Also it could be changed to the "/" so you'll be able to run your servlets from the root of your web-application. Just like in the URLs you tried. Stas. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Santosh Kumar Sent: Wednesday, January 17, 2001 12:12 PM To: Orion-Interest Subject: Re: Servlet Mapping and Access try http://localhost/junitee/servlet/TestServlet - Original Message - From: hartmut wilms [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Wednesday, January 17, 2001 2:17 PM Subject: Servlet Mapping and Access Hi there, I'm really lost. I can't figure out how to access a mapped servlet from a Web-Browser. I tried several URLs, like: - http://localhost/gamsytest/TestServlet - http://localhost/gamsytest/junitee/TestServlet - http://localhost/junitee/TestServlet - ... Accessing JSPs in the example applications works fine. My problem is that I don't understand the relationships between all the orion xml configuration/descriptor files. I know that they are documented, but sometimes some pieces are missing or I don't get enough information. After all I'm a Newbie to Orion. My configuration: server.xml ... application name="gamsytest" path="../applications/junitee-orion.ear" / ... default-web-site.xml ... web-app application="gamsytest" name="gamsytest-web" root="/gamsytest" / ... ??? What values are expected for name and root? web.xml ... servlet servlet-nameTestServlet/servlet-name descriptionServlet that calls the TestRunner bean/description servlet-classcom.itellium.aeservices.junit.htmlui.TestServlet/s ervlet-cla ss /servlet servlet-mapping servlet-nameTestServlet/servlet-name url-pattern/TestServlet/url-pattern /servlet-mapping ... application.xml ... module web web-urijunitee-web.war/web-uri context-root/junitee/context-root /web /module ... What are the relationships between all these name/mapping attributes. I used the web.xml and application.xml with jBOSS and WebLogic without having any problems: http://.../junitee/TestServlet WORKED! Can anybody help me and explain the orion way? Regards Hartmut Wilms
what's up with orionserver.com?
when will it go up again? stas@
RE: Using Webtrends to analyze Orion logs
Title: Yes, we are using Webtrends successfully with Orion. We changed format of the log file to following: access-log format="$ip - $user [$time] quot;$requestquot; $status $size quot;$refererquot; quot;$agentquot;" path="../log/default-web-access.log" / It is stored in /config/default-web-site.xml stas@ -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of John MillerSent: Thursday, November 09, 2000 3:10 PMTo: Orion-InterestSubject: Using Webtrends to analyze Orion logs I want to use Webtrends to analyze orions logs. Has anybody any experience of doing this? If you do I would appreciate any advise you might be able to give.Also, I have noticed that logs to not log browser type, OS etc.. as Apache doeseg:Apache logs like this:193.193.193.193 - - [11/Oct/2000:00:05:01 +0100] "GET /file.html HTTP/1.1" 200 1669 "http://www.whatever.com" "Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)" 0 "-"Orion like this:193.193.193.193 - - [11/Oct/2000:00:05:01 +0100] "GET /file.htm HTTP/1.1"Does anyone know how to get Orion to log the additional information Apache does in particular OS/Browser info and also get authenticated usernames into the logs.Thanks,Johnny[EMAIL PROTECTED]
RE: Bug with Java Code and HTML Comments?
AFAIK, somebody on this list have already complained about this. And this is a bug for sure. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dylan Parker Sent: Wednesday, November 08, 2000 10:35 PM To: Orion-Interest Subject: Bug with Java Code and HTML Comments? All, Something else I just noticed... Java code (scriptlets) within HTML comments is ignored... while JSP Expressions are evaluated... does this not make sense? Or is it just me? Here is a simple example : % int val = 1; % The value is: %=val% !-- The value is: %=val% % val = 5; % -- The value is: %=val% You would think that within the HTML comment you would see that the value is 1.. and you DO =)... but you would also think that the val would then be changed to 5... but it doesn't.. it still equals 1 when we print it out at the end. Here is the Output HTML The value is: 1 !-- The value is: 1 % val = 5; % -- The value is: 1 The java scriptlet has not been evaluated.. this works with other app servers.. an Orion bug or feature? To me Java code should only be ignored it is within JAVA COMMENTS... not HTML COMMENTS. I run into this all the time because I have comments around my JavaScript code... and the JavaScript code I am generating is fairly dynamic. Dylan Parker
log file format
Hello, I have very annoying and urgent problem: I don't know how to use doublequotes in the access-log format=" in the default-web-site.xml file. As a result my log analyzer doesn't recognize the log as valid (after I added agent and referer strings). Thanks in advance. stas@
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: LDAPUserManager?
Joe, just want to tell you, you're doing a great job there! Thank you. stas@ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Joe Walnes Sent: Tuesday, October 24, 2000 6:14 PM To: Orion-Interest Subject: Re: LDAPUserManager? At 11:28 24/10/2000, you wrote: Hello, I read in the mailing list archive some talks about an upcoming LDAPUserManager class? Any ideas when it might be (or it is already?) available? Greetings, Philippe. I am in the process of writing a UserManager how to for Orionsupport which will ultimately contain an LDAPUserManager as a sample. It is only basic and for educational purposes but there should be enough there to get up and running, and hopefully by the time you've read the tutorial you should be able to customize it yourself :) Anyway, the tutorial and soon the UserManager will appear at the URL below. It's slowly appearing. http://www.orionsupport.com/tutorials/usermanager/ -Joe Walnes
RE: Orion Powered Sites
Juan forgot to put http:// into the href of the second site, that's why the link leads to 404 error. The correct link is www.alltrue.com. I'll send Juan a link to my site soon, so there'll be three. :) stas@ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Duffey, Kevin Sent: Friday, October 20, 2000 4:01 AM To: Orion-Interest Subject: RE: Orion Powered Sites I only see two sitest there. The second one is to some page that has some text on it..thats about it. Are there any full B2B or E-commerce sites using Orion yet? I know we will be using it soon. -Original Message- From: Juan Lorandi (Chile) [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 19, 2000 4:25 PM To: Orion-Interest Subject: Orion Powered Sites This is the list of Orion Powered Sites http://www.rifleman.com.ar/orionsites.htm (sorry about it being a freeservers account, I'm working on it)
RE: EJB Help..
Kevin, look inside the news-application example bundled with Orion, lots of things will become clear for you after that. www-dir/WEB-INF/classes directory is for servlet classes, not for EJBs. You'll see how to deploy EJBs in that example and in documentation as well. stas@ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Duffey, Kevin Sent: Friday, October 20, 2000 3:45 AM To: Orion-Interest Subject: RE: EJB Help.. Thanks for the note. One thing..since I compile all of my classes into the www/WEB-INF/classes dir, should I put a META-INF in the /classes dir, and just point the module to the WEB-INF/classes folder? Would that work? Not that I want you to tell me everything, ok..I do, but what exactly do I need to get EJB deployed in that way? My first stab that I want to do is create a login process. I would like to use statless session beans, and also use an entity bean..using CMP. I created 3 classes, Login, LoginBean and LoginHome. I have them in com.mycompany.ejb package. That compiles to www/WEB-INF/classes dir. So do I make application.xml like so: module/www/WEB-INF/classes/module where the com folder starts? Or do I actually have to point them directly to the .class files themselves? If the classes are compiled in a package, I assume I need to point the ejb module setting to the root package right? Furthermore, do I need that ejb.xml file in META-INF? If so, what should it be set to if I am using an expanded dir? Lastly, how the heck to I get the entity bean added..is that a forth class, or a whole set of 3 different classes, one being the entity bean, the other two being like the home and remote objects? It seems kind of silly that I would need 6 classes to do the login process..3 for the session/logic stuff, and 3 for the entity/database mapping. Thanks so much..I appreciate the help. -Original Message- From: Mike Cannon-Brookes [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 19, 2000 3:39 PM To: Orion-Interest Subject: RE: EJB Help.. Kevin, With any *ar file in Orion, you can use a directory instead. eg module ejb./myejbs.jar/ejb /module can just be module ejb./myejbs/ejb /module where ./myejbs is a directory structure which has the same structure (META-INF directories etc) as inside the myejbs.jar Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Duffey, Kevin Sent: Friday, October 20, 2000 5:37 AM To: Orion-Interest Subject: EJB Help.. Hi all, I am trying my hand at EJB with Orion, and I am wondering if there is any way to avoid the hassle of always having to package the ejb classes into a .jar file, and so on. Is there any way at all to develop and deploy ejbs using an expanded dir structure, much like in the development of a .war file..where you have the whole www dir, WEB-INF, etc expanded..but then jar it up and rename it to .war for deployment? It seems rather tedious on ejb development every time a change is made, the whole thing has to be repackaged and deployed. I know there are some tools, such as JBuilder, VisualCafe, etc that do this for you somewhat nicely..but even those take a little bit of time to do it. So, for the purposes of development, where many changes are happening on any regular basis, how can I quickly develop and test ejb, with Orion, or any app server for that matter. I do want the ability for the context.lookup() call to work. The reason is..I have two computers, networked. I want to develop the ejbs on one computer, and have my www stuff on the other hitting them over the network so that i can get some kind of feel of the performance. I have a 4-way switch, so I can develop www stuff, then switch over to the other computer and do some ejb stuff. I will run one instance of Orion on each computer. However, I don't mind also being able to run www and ejb stuff in the same on instance on one computer, as long as the lookup stuff is used the same way, even though the ejb's are running locally. Any pointers on how to set up Orion to do this, including the application.xml module tag (how to point it to the right place instead of the ejb.jar file, for example so that the ejbs will get picked up by the server), web.xml, orion-web.xml, server.xml, etc..anything that needs to be done to get this to work. Thanks so much for any help.
error on bean remove
Hello, I've got this error after I updated two integer properties of the entity bean and removed this bean: Error communicating with EJB-server: javax.ejb.EJBException: Error saving state: Data size bigger than max size for this type: 26790; nested exception is: javax.ejb.EJBException: Error saving state: Data size bigger than max size for this type: 26790 What does this mean? Any workarounds? Linux, Sun JDK 1.2.1, Orion 1.3.8 stas@
RE: How does orionconsole do it?? (remote EJBs)
Hello, is there a typo in provider URL? Should be "ormi:..." instead of "orim:...". stas@ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of James Ho Sent: Sunday, October 08, 2000 11:10 AM To: Orion-Interest Subject: How does orionconsole do it?? (remote EJBs) Hi everyone, I am currently trying to access an remote EJB from a servlet. I had this, in my code.. env.put(Context.INITIAL_CONTEXT_FACTORY,"com.evermind.server.rmi.R MIInitialContextFactory"); env.put(Context.PROVIDER_URL,"orim://remoteserver/stamp"); env.put(Context.SECURITY_PRINCIPAL,"admin"); env.put(Context.SECURITY_CREDENTIALS,"123"); context = new InitialContext(env); When I tried to lookup the EJB, it kept on saying 'domain was null'. WHat happened was that it actually tried to look for 'stamp' in the local orion server (and of course failed). What I wanted to do, is basically like orionconsole.jar, let u add a server in, and then search the EJBs on the server, and mine is web-based. How does orionconsole do it? How come the orion console doesn't need the remote EJBs' home/remote interface?? I have been having a lot of problem with servlets accessing remote EJBs.. :( Any help much appreciated. Thanks heaps... Regards, James.
RE: Using Orion As a Plugin to IIS for Servlets/JSPs
Hello, I think it is not possible - Orion isn't a plug-in, it is a server. If you wish to use another web-server (rather than Orion), you'll also need to use another JSP/Servlet engine, like Resin or something, and use Orion as a app server only. Regards, Stas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of John McGarett Sent: Tuesday, October 03, 2000 2:18 AM To: Orion-Interest Subject: Using Orion As a Plugin to IIS for Servlets/JSPs Hi, Our business requirements dictate that Orion be used in conjunction with other web servers, e.g. IIS. Orion will be our servlet/JSP engine and App Server. That is, all requests will be directed to IIS and it will treat Orion as a plug-in, by sending it Servlet and JSP requests for processing. How can Orion be configured for this task? The Orion FAQ talks about integrating with Apache with Orion being the primary web server but that is not what is desired by us. I have briefly looked at the mail archives but there has been no satisfactory answer to this question and hence this request. Thanks for taking the time to reply. - John - __ Do You Yahoo!? Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free! http://photos.yahoo.com/
RE: URGENT: accidental stops
At 19:58 29.09.00 , you wrote: And indeed after I installed Sun's JDK 1.2.1 the thing just working with no [visible] problems. Thanks a lot, people! you mean 1.3 rc1, don't you? AFAIK orion needs 1.2.2. I told you, it is working with 1.2.1. Orion doesn't need 1.2.2. Installation guide claims that it needs Java2 SDK 1.2, so 1.2.1 fits okay. PS: Funny that the same orion-interest suggested me to use IBM JDK a month ago :) which posting are you referring to? many people reported stability problems with IBM 1.3. the most stable seems to be blackdown 1.2.2 but suns 1.3 rc1 That is not so important. But first JDK I tried was Blackdown's, and I found that it is incredibly slow. So I asked people what JDK they recommend, they referred to IBM's one. And IBM's JDK was fast, but not very stable. Sun's work just fine and preformance is good (at least on my 2xPIII). is an acceptable trade-off between stability and performance for us. robert (-) 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: URGENT: accidental stops
I guess you're right, here is the orion console output I've got recently: "ApplicationServerThread" (TID:0x408bfd90, sys_thread_t:0x87bc148, state:S, native ID:0x600a) prio=5 at java.net.SocketInputStream.socketRead(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java(Compiled Code) ) at com.evermind.server.http.EvermindHttpServletRequest.ay(JAX(Compiled C ode)) at com.evermind.server.http.ea.sg(JAX(Compiled Code)) at com.evermind.util.f.run(JAX) "ApplicationServerThread" (TID:0x402c7cd8, sys_thread_t:0x811d1c8, state:S, native ID:0x4010) prio=5 at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java(Compiled Code)) at com.evermind.util.f.run(JAX) I'll move to Sun's JDK now. Thanks a lot. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Frank Carver Sent: Thursday, September 28, 2000 6:29 PM To: Orion-Interest Subject: Re: URGENT: accidental stops Thursday, September 28, 2000, 12:10:07 PM, you wrote: SM Hello, SM I've very urgent and annoying problem: Orion's web-service (or maybe whole SM app)just stops responding in less than 10-20 hours of not very intensive use SM (development, testing), but the "java -jar orion.jar" process still resides SM in memory. Today I've found that even process died. SM I'm having Intel 2xPIII 512M, Linux Debian, IBM JDK 1.3 and Orion 1.3.7 SM installed. Users of the Resin web server have reported very similar problems on their mailing list (archived at http://www.caucho.com/support/resin-interest/). Research so far seems to show that it is a threading problem in the IBM 1.3.0 JDK, which can happent on all systems, but is much more frequent with SMP. If you can, try with another JVM and see if the problem persists. -- Frank CarverEfficacy Solutions Limitedwww.efsol.com
RE: URGENT: accidental stops
And indeed after I installed Sun's JDK 1.2.1 the thing just working with no [visible] problems. Thanks a lot, people! PS: Funny that the same orion-interest suggested me to use IBM JDK a month ago :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Stanislav Maximov Sent: Friday, September 29, 2000 2:42 PM To: Orion-Interest Subject: RE: URGENT: accidental stops I guess you're right, here is the orion console output I've got recently: "ApplicationServerThread" (TID:0x408bfd90, sys_thread_t:0x87bc148, state:S, native ID:0x600a) prio=5 at java.net.SocketInputStream.socketRead(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java(Compiled Code) ) at com.evermind.server.http.EvermindHttpServletRequest.ay(JAX(Compiled C ode)) at com.evermind.server.http.ea.sg(JAX(Compiled Code)) at com.evermind.util.f.run(JAX) "ApplicationServerThread" (TID:0x402c7cd8, sys_thread_t:0x811d1c8, state:S, native ID:0x4010) prio=5 at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java(Compiled Code)) at com.evermind.util.f.run(JAX) I'll move to Sun's JDK now. Thanks a lot. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Frank Carver Sent: Thursday, September 28, 2000 6:29 PM To: Orion-Interest Subject: Re: URGENT: accidental stops Thursday, September 28, 2000, 12:10:07 PM, you wrote: SM Hello, SM I've very urgent and annoying problem: Orion's web-service (or maybe whole SM app)just stops responding in less than 10-20 hours of not very intensive use SM (development, testing), but the "java -jar orion.jar" process still resides SM in memory. Today I've found that even process died. SM I'm having Intel 2xPIII 512M, Linux Debian, IBM JDK 1.3 and Orion 1.3.7 SM installed. Users of the Resin web server have reported very similar problems on their mailing list (archived at http://www.caucho.com/support/resin-interest/). Research so far seems to show that it is a threading problem in the IBM 1.3.0 JDK, which can happent on all systems, but is much more frequent with SMP. If you can, try with another JVM and see if the problem persists. -- Frank CarverEfficacy Solutions Limitedwww.efsol.com
URGENT: accidental stops
Hello, I've very urgent and annoying problem: Orion's web-service (or maybe whole app)just stops responding in less than 10-20 hours of not very intensive use (development, testing), but the "java -jar orion.jar" process still resides in memory. Today I've found that even process died. I'm having Intel 2xPIII 512M, Linux Debian, IBM JDK 1.3 and Orion 1.3.7 installed. Thanks in advance. PS: There is no info in logs. Just "Server started" entries. stas@
RE: Classpath : Orion On Linux
I guess you need to put your driver under orion-root/lib directory. stas@ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mr Shailesh Joshi Sent: Monday, September 28, 1998 4:14 PM To: Orion-Interest Subject: Classpath : Orion On Linux Hi All I have installed Orion 1.3.8 on Linux server. I have deployed beans and running clients successfully. The problem is the server can't get the Driver in Class.forName(" "); I have copied driver class in the orion-root directory; set the classpath . But still the server is not able to get the class ? FROM WHERE ORION TAKES THE CLASSPATH ? With regards Shailesh
RE: One IP - 3 Sites - 3 Domain Names
This is not correct. It is absolutely possible to have several hosts on one IP address. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Andre Vanha Sent: Thursday, September 28, 2000 2:07 AM To: Orion-Interest Subject: RE: One IP - 3 Sites - 3 Domain Names As far as I know what you're trying to accomplish is impossible. A web server binds to an IP addresses. The domain names are just pointers to the same IP address. So in effect your're trying to run 3 webserver on the same exact IP. You could bind to different ports, but then your URLs would be non-standard. To do this correctly you'll need a different IP for each domain. One possibility that comes to mind, though I have no idea it will work, is to analyze the URL request in your servlet or JSP and attempt to inlcude/forward the appropriate content in your code, depending on what you find. Andre V -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dave Ford Sent: Wednesday, September 27, 2000 1:33 PM To: Orion-Interest Subject: One IP - 3 Sites - 3 Domain Names I have one physical machine with one IP address. This one ip address is associated with three domain names. Each domain name should pull up a different web-site. I currently have 3 web-sites defined in server.xml: web-site path="c:\@web\@OrionConfig\web-site-1.xml" / web-site path="c:\@web\@OrionConfig\web-site-2.xml" / web-site path="c:\@web\@OrionConfig\web-site-3.xml" / I then have three web-site-x.xml files defined. It's not clear what the value of the host and virtual-hosts attributes should be for each of these three files. I have read the docs and the faq but still can't get it to work. I tried this: In web-site-1.xml: web-site host="www.domainName1.com" In web-site-2.xml: web-site host="www.domainName2.com" In web-site-3.xml: web-site host="www.domainName3.com" And this: In web-site-1.xml: web-site host="63.74.110.162" virtual-hosts="www.domainName1.com" In web-site-2.xml: web-site host="63.74.110.162" virtual-hosts="www.domainName2.com" In web-site-3.xml: web-site host="63.74.110.162" virtual-hosts="www.domainName3.com" It is not obvious to me, based on the docs, how to set this up. Any suggestions? Dave Ford
RE: EJB 2.0 O/R Mapping Support in Orion
There is a package in Orion distribution orion-install-dir/applications/atm.ear What version of Orion do you have now? Orion prints it to the console when starts. To update your Orion server to the latest version (now 1.3.5) type java -jar autoupdate.jar and restart Orion. stas@ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Goel, Deepak Sent: Saturday, September 16, 2000 12:50 AM To: Orion-Interest Subject: EJB 2.0 O/R Mapping Support in Orion Hello everyone, I would like to find more about support for EJB 2.0 O/R mapping support in Orion. Somewhere on this list I read that the ATM example is EJB 2.0 but the distribution I have doesn't seem to have that. Also, how can I make sure that the version of Orion I have really supports EJB 2.0 since I also saw some posts about Orion 1.3.1 required to support EJB 2.0. Any help will be greatly appreciated. Thanks, Deepak Goel Project Lead Siemens ICN
RE: Default user name and password? (Newbie)
It is admin/123 by default. But by default this user is deactivated. You need activate it (principals.xml) and restart the server. There are also user/456 and anonymous w/o password. stas@ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Richard Landon Sent: Friday, September 08, 2000 1:40 AM To: Orion-Interest Subject: Default user name and password? (Newbie) What are the user name and password that Orion uses by default. For example I am attempting to run admin.jar -deploy ... and it reports java -jar admin.jar ormi://blazer.youbet.com -deploy -file c:/ElectronicWagerin/build/lib/ewager.ear -deploymentName ewager Security error: Invalid username/password for default (-deploy)
RE: User name and password (Newbie)
See orion/config/principals.xml file. stas@ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Richard Landon Sent: Friday, September 08, 2000 1:54 AM To: Orion-Interest Subject: User name and password (Newbie) Many of the Orion related commands require the username and password So what are they? Simply installed the default, no changes. It prompts for these and refuses to execute anything. Please help.
RE: Why are my posts to this list server not getting posted?
Man, what are you doing? Do you think this list is the right place to talk with yourself? :) All your posts and replies are showing up all right! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Richard Landon Sent: Friday, September 08, 2000 2:45 AM To: Orion-Interest Subject: RE: Why are my posts to this list server not getting posted? Hmm, maybe I'll repost my lost posts? -Original Message- From: Richard Landon Sent: Thursday, September 07, 2000 3:45 PM To: Richard Landon; '[EMAIL PROTECTED]' Subject:RE: Why are my posts to this list server not getting posted? Okay, posts show up but not replies -Original Message- From: Richard Landon Sent: Thursday, September 07, 2000 3:44 PM To: [EMAIL PROTECTED] Cc: Richard Landon Subject:Why are my posts to this list server not getting posted? Made many posts they never show-up. What's the deal with that?
RE: need help getting orion working with cyrillic
Thank you, Karl. Actually I've solved problems with the form data yesterday, but new problem appeared when I've tried to use sendMail tag from utils taglibrary. The cyrillic text sent via this tag appears as a number of question signs in letter body, though I've used mimeType="text/plain; charset=\"windows-1251\"" parameter in sendMail. TIA stas@ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Karl Avedal Sent: Monday, September 04, 2000 10:20 AM To: Orion-Interest Subject: Re: need help getting orion working with cyrillic Hello Stanislav, Have you tried the latest 1.2.9? A few i18n fixes has been done recently. Regards, Karl Avedal Stanislav Maximov wrote: Hello, I've got this problem here: I'm having a database with data stored using cyrillic encoding "windows-1251", Orion shows the data fine if in global-web-application.xml there is a setting - default-charset="windows-1251". But when I submit the windows-1251 text into the form, it appears as something like this: " ???" If I remove default-charset setting from global-web-application.xml, the submit data appears okay, but the data from the database being shown unreadable. Is there some workaround for this? Need the urgent help with this. Thanks in advance! stas@
need help getting orion working with cyrillic
Hello, I've got this problem here: I'm having a database with data stored using cyrillic encoding "windows-1251", Orion shows the data fine if in global-web-application.xml there is a setting - default-charset="windows-1251". But when I submit the windows-1251 text into the form, it appears as something like this: " ???" If I remove default-charset setting from global-web-application.xml, the submit data appears okay, but the data from the database being shown unreadable. Is there some workaround for this? Need the urgent help with this. Thanks in advance! stas@
CMP finder method - findBySomeProperty
Hello, maybe I've missed something, but I thought if I'll implement findByPropertyName method, Orion will create proper finder method which will query the table for this PropertyName value. But when I opened my orion-ejb-jar.xml I saw that my findByProperyName query is equal to findAll method query. Why? What have I missed? Please help. Thanks! stas@
Which JDK to use?
Hello, I've tried Blackdown 1.2.2, but it seems to be not very fast. Could you please suggest me another JDK to use on Linux with Orion 1.0.3? Thanks in advance. stas@
RE: CMP finder method - findBySomeProperty
Do you mean this kinda clause in home interface? public static final String findByParentId_query = "$1 = $parentId"; stas@ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Vincent Serpico Sent: Friday, September 01, 2000 2:03 AM To: Orion-Interest Subject: Re: CMP finder method - findBySomeProperty Stanislav Maximov wrote: Hello, maybe I've missed something, but I thought if I'll implement findByPropertyName method, Orion will create proper finder method which will query the table for this PropertyName value. But when I opened my orion-ejb-jar.xml I saw that my findByProperyName query is equal to findAll method query. Why? What have I missed? Please help. Thanks! stas@ Did you implement the WHERE clause. Orion will create the proper find methods, but it's up to tou to specify the WHERE. -Vince
RE: SIGSEGV 11 with IBMJava2-13
What about Blackdown's one? stas@ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Joel Shellman Sent: Thursday, August 24, 2000 8:52 PM To: Orion-Interest Subject: Re: SIGSEGV 11 with IBMJava2-13 Joel Shellman wrote: Now it seems to be having trouble reliably starting Orion--it seems to just sit there without the "Orion... initilized" line ever showing up. Oh well, I'm going to try JavaSoft's JDK1.3 with JIT disabled and see if the memory leak will go away. To answer my own question, here is what I've found: 1) JavaSoft's JDK 1.3 still has a memory leak even with JIT disabled (this is linux-beta-refresh version, it's beta so I don't hold any hard feelings for them (IBM is another story, though)) 2) IBM with JIT disabled seems to work. The part about it not getting to the "Orion initialized" part is a little odd. We've been using Makefiles to start/stop it. All the makefile does really is run our "run" shell script. But if I run it from make--it doesn't work. If I run it manually from the shell (the same script), then it works. Crazy but at least now we may have a solution. Wish the JIT didn't crash... Thanks for the help, -- Joel Shellman Chief Software Architect The virally-driven B2B marketplace for outsourcing projects http://www.ants.com/90589781
how to get datasource properties
How one could get the properties set in data-sources.xml from his EJB code? stas@
RE: Oracle DS
Thanks, Robert! My mistake was in incorrect oracle url. But now I'm getting this error: com.evermind.server.rmi.OrionRemoteException: Database error: Message file 'oracle.net.mesg.Message' And indeed there is no such class in classes111.zip from 8.1.5. When I put classes111.zip from 8.1.6 onto my orion/lib directory, the error appeared this way: com.evermind.server.rmi.OrionRemoteException: Database error: Message file 'oracle.jdbc.dbaccess.Messages' is missing. stas@ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Robert Krueger Sent: Monday, August 21, 2000 4:12 PM To: Orion-Interest Subject: Re: Oracle DS At 14:38 21.08.00 , you wrote: Hello I can't get my Orion running with Oracle datasource. Could somebody shed some light on this? Maybe some example of data-sources.xml? TIA stas@ data-source name="Procurement Datasource" class="com.evermind.sql.ConnectionDataSource" location="jdbc/ProcurementDS" xa-location="jdbc/xa/ProcurementXADS" ejb-location="jdbc/ProcurementEJBDS" url="jdbc:oracle:thin:@servername:1521:S701A" connection-driver="oracle.jdbc.driver.OracleDriver" schema="database-schemas/oracle.xml" username="user" password="pass" inactivity-timeout="30" / no problems with orion and oracle at all. HTH, robert (-) 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: Oracle DS
Oops, sorry, people. There was a typo in my url. That's why there were these errors. Now another problem occured: my data has been stored in cyrillic charset with ColdFusion. Now when I'm trying to retrieve it with Orion it returns just a mess of symbols instead of cyrillic texts. Any ideas? Is there a place in Orion config where to set correct NLS_LANG? Whatever? TIA stas@ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Stanislav Maximov Sent: Monday, August 21, 2000 9:06 PM To: Orion-Interest Subject: RE: Oracle DS Thanks, Robert! My mistake was in incorrect oracle url. But now I'm getting this error: com.evermind.server.rmi.OrionRemoteException: Database error: Message file 'oracle.net.mesg.Message' And indeed there is no such class in classes111.zip from 8.1.5. When I put classes111.zip from 8.1.6 onto my orion/lib directory, the error appeared this way: com.evermind.server.rmi.OrionRemoteException: Database error: Message file 'oracle.jdbc.dbaccess.Messages' is missing. stas@ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Robert Krueger Sent: Monday, August 21, 2000 4:12 PM To: Orion-Interest Subject: Re: Oracle DS At 14:38 21.08.00 , you wrote: Hello I can't get my Orion running with Oracle datasource. Could somebody shed some light on this? Maybe some example of data-sources.xml? TIA stas@ data-source name="Procurement Datasource" class="com.evermind.sql.ConnectionDataSource" location="jdbc/ProcurementDS" xa-location="jdbc/xa/ProcurementXADS" ejb-location="jdbc/ProcurementEJBDS" url="jdbc:oracle:thin:@servername:1521:S701A" connection-driver="oracle.jdbc.driver.OracleDriver" schema="database-schemas/oracle.xml" username="user" password="pass" inactivity-timeout="30" / no problems with orion and oracle at all. HTH, robert (-) 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
EJB, Servlets, JSP - PLEASE HELP
Hello, everybody! Could somebody give me detailed instructions on how to make EJB, jsp and servlets work together under Orion? I've digged tons of information and after 2 weeks of fighting my EJBs still don't work. Please describe what should I do to use EJB from servlets (dispatched on Orion or on remote servlet engine) or from JSPs. What I did: 1. installed Orion, set port 8070 for web-apps (have httpd already running on port 80) 2. made EJB bean (as part of application with its own web module) and put it to applications/test/test-ejb 3. altered config files: 3.1 config/server.xml - added application name="test" path="../applications/test/" / 3.2 config/default-web-site.xml - added web-app application="test" name="test-web" root="/test" / 3.3 applications/test/META-INF/application.xml looks like: ... display-nameTest/display-name moduletest-ejb/module module web web-uritest-web/web-uri /web /module .. 3.4 applications/test/test-ejb/META-INF/ejb-jar.xml looks like: ejb-jar display-nameTest Package/display-name descriptionSample Test/description enterprise-beans entity display-nameStoryRef/display-name description/description ejb-namecom.nh.StoryRef/ejb-name homecom.nh.StoryRefHome/home remotecom.nh.StoryRef/remote ejb-classcom.nh.StoryRefBean/ejb-class persistence-typeBean/persistence-type primkey-classcom.nh.StoryRefPK/primkey-class reentrantFalse/reentrant /entity /enterprise-beans /ejb-jar 3.5 applications/test/test-web/WEB-INF/web.xml contains: taglib taglib-uriejbtags/taglib-uri taglib-location/WEB-INF/lib/ejbtags.jar/taglib-location /taglib 4. EJB bean resides in applications/test/test-ejb/com/nh/ : StoryRef.class, StoryRefBean.class, StoryRefHome.class, StoryRefPK.class 5. JSP code looks like this: ... ejb:useHome id="home" type="com.nh.StoryRefHome" location="com.nh.StoryRef"/ ejb:useBean id="news" type="com.nh.StoryRef" value="%=home.findByPrimaryKey(new com.nh.StoryRefPK(1))%" / %=news.method2("New String")% ... Execution of this code results an error: javax.servlet.jsp.JspException: NamingException: com.nh.StoryRef not found 6. Trying to lookup the same bean from servlet results the same error. Where am I wrong PS: I'm running Orion on RedHat Linux. Best wishes, Stanislav Maximov _ SW Interactive www.swinteractive.com
ejb-config - HELP!
Hello! The documentation says that to use Orion server as an EJB-server one should uncomment ejb-config tag in server.xml. I've tried to do so, but there were no such tag commented and when I tried to add it, Orion just said that ejb-config taf is invalid and refused to work. Please, help! Thanks in advance. Best wishes, Stanislav Maximov _ SW Interactive www.swinteractive.com