Re: Any answer for POST method....
This is waheed from dubai and i am using orion for my development when i tried JSP with POST forms in local machine its working properly when i upload it to remote server which is also a orion server , problem comes, Yes, its not displaying the content fully some times partial display and manytimes blank page(white page) what i can do for this please send me some information regarding the same regards waheed - Original Message - From: Jay Armstrong [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Saturday, March 10, 2001 7:57 PM Subject: Re: Any answer for POST method Waheed, Please explain your question in greater detail. Jay At 11:48 AM 3/10/01 +0400, you wrote: Hi all Is it there any answer for POST method in orion.1.4.0 bye waheed _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
RE: EJBUtils.cloneObject tkes up 40% of the time
At 07:43 13.03.2001 , you wrote: This is probably because orion is trying to keep to the EJB spec where parameters and return values must be passed to a EnterpriseBean must be by value. This way orion doesnt have to implement RMI, but still complies to the spec. This is probably far cheaper than RMI. Noel If you know what you are doing and you can live with the cosequences you can always disable the pass-by-value semantics on a per-ejb basis. Look at the orion-ejb-jar.xml dtd. HTH robert (-) Robert Krger (-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH (-) Brder-Knau-Str. 79 - 64285 Darmstadt, (-) Tel: 06151 665401, Fax: 06151 665373 (-) [EMAIL PROTECTED], www.signal7.de
Exception passing complex tree as argument
I try to pass a complex data tree to create a bean managed persistence entity bean. The tree contains of the root node which contain a vector of nodes. These nodes can also contain a vector of nodes. If the vector of the subsub nodes is empty, it works. If the vector also contains nodes the following exception occurs: C:\Programs\JBuilder\Foundation4.0\jdk1.3\bin\javaw -classpath "R:\shared\ProjectDiary\development\ProjectDiary\zclasses;C:\Programs\orion\jndi.jar;C:\Programs\orion\ejb.jar;C:\Programs\orion\orion.jar;C:\Programs\orion\jdbc.jar;C:\Programs\JBuilder\Foundation4.0\jdk1.3\demo\jfc\Java2D\Java2Demo.jar;C:\Programs\JBuilder\Foundation4.0\jdk1.3\jre\lib\i18n.jar;C:\Programs\JBuilder\Foundation4.0\jdk1.3\jre\lib\jaws.jar;C:\Programs\JBuilder\Foundation4.0\jdk1.3\jre\lib\rt.jar;C:\Programs\JBuilder\Foundation4.0\jdk1.3\jre\lib\sunrsasign.jar;C:\Programs\JBuilder\Foundation4.0\jdk1.3\lib\dt.jar;C:\Programs\JBuilder\Foundation4.0\jdk1.3\lib\tools.jar" at.scch.projectdiary.client.DiaryTestClient com.evermind.server.rmi.OrionRemoteException: Method invocation failed (Invalid return command: 6) at com.evermind.server.rmi.bb.invokeMethod(JAX) at com.evermind.server.rmi.a2.invoke(JAX) at com.evermind.server.rmi.a3.invoke(JAX) at __Proxy1.create(Unknown Source) at at.scch.projectdiary.client.DiaryTestClient.init(DiaryTestClient.java:81) at at.scch.projectdiary.client.DiaryTestClient.main(DiaryTestClient.java:123) Does anybody know whats the problem?? Thanks! --- Thomas Ziebermayr Software Competence Center Hagenberg GmbH Softwarepark Hagenberg, Hauptstraße 99 A-4232 Hagenberg, Austria Tel.: +43 7236 3343 890 http://www.scch.at mailto:[EMAIL PROTECTED]
access log
How do I configure orion to use separate accesslogs for the different applications? The documentation mentions the use of web-site.xml, but sofar I'm only using default-web-site.xml. Where doI put the web-site.xml, and where do I configure orion to read these files? Thanks in advance Johan Fredriksson
Problem in Executing the First Example given in the Orion taglib-tutorial Documentation !!
No No I named it correctly in the reference. That is not the problem. I think the Problem is different which iam not getting it . Please help me !! Thanks... - Original Message - From: Magnus Rydin To: Orion-Interest Sent: Tuesday, March 13, 2001 3:40 PM Subject: SV: Problem in Executing the First Example given in the Orion taglib-tutorial Documentation !! I noticed that lesson 1 says 'mytags.tld' at one location and 'taglib.tld' at another. I will fix this this evening. Could this be the source to your problems? If you have named your taglib file 'taglib.tld' make sure that you use that name when referencing it too. WR -Ursprungligt meddelande-Från: srinivas [mailto:[EMAIL PROTECTED]]Skickat: den 12 mars 2001 17:49Till: Orion-InterestÄmne: Re: Problem in Executing the First Example given in the Orion taglib-tutorial Documentation !! Hi Magnus Rydin, Here is the file which u want to have a look on it. Here is the taglib.tld file , Please check whether it has any errors. Taglib.tld file ?xml version="1.0" encoding="ISO-8859-1" ? !DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd" taglib tlibversion1.0/tlibversion jspversion1.1/jspversion shortnamemt/shortname urihttp://www.orionserver.com/tutorials/uri infoMy first Tag library/info tag namehelloWorld/name tagclasscom.acme.tag.HelloWorldTag/tagclass bodycontentempty/bodycontent infoA Hello world Tag/info /tag /taglib -- end of file CH.Srinivas BabuJava Application DeveloperPh: 006027189333 Extn - 8224Mobile : 0060173837232 - Original Message - From: Magnus Rydin To: Orion-Interest Sent: Monday, March 12, 2001 3:50 PM Subject: SV: Problem in Executing the First Example given in the Orion taglib-tutorial Documentation !! It sounds like your tag library descriptor has faults. Please include your taglib.tld and we can have a look at it. WR -Ursprungligt meddelande-Från: srinivas [mailto:[EMAIL PROTECTED]]Skickat: den 11 mars 2001 20:34Till: Orion-InterestKopia: [EMAIL PROTECTED]Ämne: Problem in Executing the First Example given in the Orion taglib-tutorial Documentation !! Hi, I have downloaded the Helloworld.jsp, taglib.tld and helloworld .java compiled and got helloworld.class . and created the same directory structure as mentioned in the documentation of taglib-tutorial. I could able to compile HelloWorld.java when i run the HelloWorld.jsp , it produces the following error : 500 Internal Server Errorjava.lang.IllegalArgumentException: Error parsing tag-library file:/D:/orion/applications/nbizdev/niagabiz-web/Web-inf/taglib.tld: XML declaration may only begin entities. at javax.servlet.jsp.tagext.TagLibraryInfo.init(TagLibraryInfo.java) at com.evermind.server.http.TagLibraryArchive.init(JAX) at com.evermind.server.http.TagLibraryArchive.r9(JAX) at com.evermind.server.http.d_.r3(JAX) at com.evermind.server.http.HttpApplication.r3(JAX) at com.evermind.server.http.eg.tn(JAX) at com.evermind.server.http.eg.sm(JAX) at com.evermind.server.http.JSPPage.sm(JAX) at com.evermind.server.http.HttpApplication.v4(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 com.evermind.server.http.ed.sp(JAX) at com.evermind.server.http.ed.so(JAX) at com.evermind.util.f.run(JAX) I tried a lot to find out the cause of this problem. But could not succeed. I wasted 2 full days in rectifying this problem. Please help me. this Problem is making me mad...thanks a lot.Srinivas
Re: Orion Load Problems
Hello Daniel, These kind of problems are indeed hard ones to solve, since they appear only under certain circumstances, but the load you specify is not something there should be a problem with. What you can do is try to change the VM options and try the 1.3.1 beta jvm to see if you see any change in the behaviour. You can also try the latest experimental Orion, 1.4.7 available via auto-update. If this is indeed caused by a bug in Orion, it's definately one that needs to be fixed right away so we'd be very happy if you could try another jvm to make it easier for us to locate what goes wrong. A temporary solution if it's extremely urgent, could also be to use load balancing and setting up a small cluster until we have located what's going on. Regards, Karl Avedal Daniel Guillamot wrote: Dear Mailing List: I am relatively new to the Orion webserver, but have had lots of exposure to Apache and it's configuration files. 3 months ago I moved my website, to it's own server, with Orion installed. Orion ran great for 3 months. We ran 3 separate web-site's off of it with their own application-deployments. This past week, one website has had peak load times, where we reach over one million views a day, over 100 000 page impressions during peak hours. It usually happens at around 12pm PST every day. When this happens, Orion stops taking any requests. Only on the one application (web site), the other 2 websites running off of the same orion, the same machine, are fine. The extremely busy one just yields a white screen, waiting for a response, no error or Page Not Found appears, and no System.out logging appears from my servlets, nor does anything show up in the error.log. Even static html's are not loaded during this time. Although only one the one web site, the other 2 on the same machine are fine. The behaviour is triggered during peak times of over 100 000 page views per hour. Orion continues in this stasis manner (no response, error, or output) until it is restarted. The system has 1 gig of RAM, and is running RH6.0 and the Sun JVM 1.3 HotSpot. The -server and -native java parameters are on. Max Connections is 1000, timeout is 10 000. Any ideas? It's starting to become difficult to keep monitoring it and restarting it every day, sometimes twice a day on very busy days. Thanks in advance.
auto-deployment does not clean up the previous application
I was trying to re-deploy my application in a running orion server, and discovered that orion does not terminate (or garbage collect) previously deployed instance within the VM. Is this normal? I have some opened database connections in my previous instance, and they are still open after the application re-deployment. Need a way to clean them up nicely. thanks __ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/
RE: Performance with ORION
There should be one for each active request. -Original Message- From: Ismael Blesa Part [mailto:[EMAIL PROTECTED]] Sent: 12 March 2001 15:58 To: Orion-Interest Subject: Re: Performance with ORION Yes it should create only one instance of each servlet. What I mean is how to specify how many threads the server should create. JRUN has several parameters to configure this, but I have not seen any one on Orion. Mike Cannon-Brookes wrote: It _should_ only create one instance of each servlet. Multiple threads are then used to serve different requests. -mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ismael Blesa Part Sent: Monday, March 12, 2001 8:01 PM To: Orion-Interest Subject: Performance with ORION We have been making some tests with an application that uses a main entry point, this is used to redirect all the request to the correspondant object. We have found that ORION only creates one instance of this servlet and we think that this is causing a bottleneck of our application. Is there a way to configure how many threads to create to serve more requests per second? Thanks PS: Any news about IronFlare?
RE: Customizing CMP deployment
What you want to do is provide your own orion-ejb-jar.xml. place it in your XXX-ejb.jar under orion/orion-ejb-jar.xml It will get copied at deployment time. Orion will fill-in all that is missing but will start with your own copy. You can then specify tables and attributes for your CMP mappings. HTH Daniel -Message d'origine- De : Sergei Batiuk [mailto:[EMAIL PROTECTED]] Envoye : 12 mars, 2001 10:51 A : Orion-Interest Objet : Customizing CMP deployment Is there any way to customize deployment of CMP bean - to indicate the table name in the database to which the entity bean should map its persistence (in case the name of the table is different from the bean name) or the data source to connect to. As far as I know orion-ejb-jar.xml is responsible for these properties, but it has no effect ibefore/i the deployment. Is there an orion-specific (or some other) way to deliver such information to the container?
File not found Error (404 error)
Hi All, Can anybody help ,me in setting a default html so, that when ever a file which is not found in the server is requested this default html is servered by the orion server, (File not found error or 404 error) Thank you in advance waheed _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Colombo Java mystery -- the case of the unrecognized Parser jar
Here is a Colombo mystery I am wrestling with, called the case of the unrecognized Parser jar. See if anyone has any insights. 1. On windows 2000, I get this message when running Resin or Tomcat (Since their lists don't know, I would see if any Orion experts could answer). (http://localhost:8080/JSP page entry) Error: 500 Internal Servlet Error: javax.servlet.ServletException: org/xml/sax/EntityResolver 2. If I look at my classpath, I have Parser.jar in it. CLASSPATH=.;d:\javaprograms\javasource;c:\jdk1.3\lib\mail.jar;c:\jdk1.3\lib\ acti vation.jar;D:\javajdbcs\jdbc1\mm.mysql.jdbc-1.2c;C:\jdk1.3\lib\tools.jar;D:\ Java ServletProducts\JbossData\addressbook;D:\JavaServletProducts\JbossData\addre ssbo ok\src\java;D:\javajarfiles\ejb.jar;D:\javajarfiles\servlet.jar;D:\javajarfi les\ server.jar\jboss-client.jar;D:\javajarfiles;D:\javajarfiles\jnp-client.jar;D :\Ja vaServletProducts\JbossData\addressbook\src\java\addressbook;D:\javajarfiles \add ressbook-client.jar;D:\javajarfiles\jndi.properties;D:\javajarfiles\Parser.j ar;C :\j2sdkee1.2.1\lib\j2ee.jar;d:\javaservletproducts\orionapp\classes 3. If I examine the Parser.jar command with jar tf Parser.jar, then this is part of my jar file: org/xml/sax/EntityResolver.class So if the Java Columbo were looking at this case, what wisdom would they add that I am missing?
The case of the misbehaving Parser.jar
Here is a Colombo mystery I am wrestling with, called the case of the unrecognized Parser jar. Please forgive me if this got sent twice, since I was unsure of the first email See if you have any insights. 1. On windows 2000, I get this message when running Resin or Tomcat (Since their lists ofter no clues, I thought I would tap the Orion experts). Error: 500 Internal Servlet Error: javax.servlet.ServletException: org/xml/sax/EntityResolver 2. If I look at my classpath, I have Parser.jar in it.(http://localhost:8080/JSP page entry) CLASSPATH=.;d:\javaprograms\javasource;c:\jdk1.3\lib\mail.jar;c:\jdk1.3\lib\acti vation.jar;D:\javajdbcs\jdbc1\mm.mysql.jdbc-1.2c;C:\jdk1.3\lib\tools.jar;D:\Java ServletProducts\JbossData\addressbook;D:\JavaServletProducts\JbossData\addressbo ok\src\java;D:\javajarfiles\ejb.jar;D:\javajarfiles\servlet.jar;D:\javajarfiles\ server.jar\jboss-client.jar;D:\javajarfiles;D:\javajarfiles\jnp-client.jar;D:\Ja vaServletProducts\JbossData\addressbook\src\java\addressbook;D:\javajarfiles\add ressbook-client.jar;D:\javajarfiles\jndi.properties;D:\javajarfiles\Parser.jar;C :\j2sdkee1.2.1\lib\j2ee.jar;d:\javaservletproducts\orionapp\classes 3. If I examine the Parser.jar command with jar tf Parser.jar, then this is part of my jar file: org/xml/sax/EntityResolver.class So if the Java Columbo were looking at this case, what wisdom would they add that I am missing?
Hypersonic website / docs
Hi, What's the correct url for the hypersonic website? I thought the official one was hsql.oron.ch, which I'm sure worked until a few weeks ago but doesn't now - I get a forbidden error when accessing it. Interestingly it comes back with www.hypersonicsql.com in the error page, but that site doesn't seem to exist in any form... What gives? Is anyone on this list anything to do with Hypersonic and knows what's happening with the site (it's been this way for a few days, and I've just double-checked that it's not our web proxy) Failing any kind of online help, are there docs buried within the Orion document tree for Hypersonic? I couldn't see anything at all. What I'm actually after is some kind of command-line SQL client - does Hypersonic have one? I know it's got that applet for administration (does that even come as part of the Orion install?) but I don't want to fire up a browser or mess around with appletviewer unless I have to. I do have a homebrew client but it was written against Oracle so I don't know (yet) what'll be involved in getting it to work with Hypersonic... thanks Jules
RE: Colombo Java mystery -- the case of the unrecognized Parser jar
As someone previously pointed out, the CLASSPATH environment variable is ignored when using the -jar option to start a java program. So that might be your problem id you are starting your server that way. Also, I know JRun (2.3.x) ignores the classpath env variable; you are required to set it in a properties file. Maybe it's the same for your server. Also, I have found that, since JAXP is implemented in later versions of xerces I have been able to overwrite the orion supplied xerces.jar file with a later one and delete the parser.jar file without a problem. If anyone knows why this might be a bad idea, please let me know. Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kemp Randy-W18971 Sent: Tuesday, March 13, 2001 9:10 AM To: Orion-Interest Subject: Colombo Java mystery -- the case of the unrecognized Parser jar Here is a Colombo mystery I am wrestling with, called the case of the unrecognized Parser jar. See if anyone has any insights. 1. On windows 2000, I get this message when running Resin or Tomcat (Since their lists don't know, I would see if any Orion experts could answer). (http://localhost:8080/JSP page entry) Error: 500 Internal Servlet Error: javax.servlet.ServletException: org/xml/sax/EntityResolver 2. If I look at my classpath, I have Parser.jar in it. CLASSPATH=.;d:\javaprograms\javasource;c:\jdk1.3\lib\mail.jar;c:\jdk1.3\lib\ acti vation.jar;D:\javajdbcs\jdbc1\mm.mysql.jdbc-1.2c;C:\jdk1.3\lib\tools.jar;D:\ Java ServletProducts\JbossData\addressbook;D:\JavaServletProducts\JbossData\addre ssbo ok\src\java;D:\javajarfiles\ejb.jar;D:\javajarfiles\servlet.jar;D:\javajarfi les\ server.jar\jboss-client.jar;D:\javajarfiles;D:\javajarfiles\jnp-client.jar;D :\Ja vaServletProducts\JbossData\addressbook\src\java\addressbook;D:\javajarfiles \add ressbook-client.jar;D:\javajarfiles\jndi.properties;D:\javajarfiles\Parser.j ar;C :\j2sdkee1.2.1\lib\j2ee.jar;d:\javaservletproducts\orionapp\classes 3. If I examine the Parser.jar command with jar tf Parser.jar, then this is part of my jar file: org/xml/sax/EntityResolver.class So if the Java Columbo were looking at this case, what wisdom would they add that I am missing?
Re: File not found Error (404 error)
Waheed - This sort of thing can be handled in your servlet logic, among a variety of other ways. A good way to learn this stuff is to dig around in some of the existing demo apps, like the ATM demo for instance. Have fun - Ray --- waheed_rahuman [EMAIL PROTECTED] wrote: Hi All, Can anybody help ,me in setting a default html so, that when ever a file which is not found in the server is requested this default html is servered by the orion server, (File not found error or 404 error) Thank you in advance waheed _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com __ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/
Re: Question on EJB Finder
One approach you could take would be to change the array to a list with the java.util.Arrays.asList() call. Then in your select query you would have a list that you could use in your where clause as follows: select * from table where ownerid in ($1); so your call to findByOwner would look like: result = home.findByOwner(java.util.Arrays.asList(integer array)); Jeff Hubbach Nevin Ng wrote: Hi there, I'm now working on the ejb finder methods with orion, I have some basic experience with it already and know how to do some basic declaration such as sub-select finder, etc. I know that orion will map arg1 to $1, arg2 to $2 and so on, but how about if I want to pass an array to the finder? e.g. I have a entity bean that will hold books, each of them will have an owner_id field. Now I want to define a finder call: public Collection findByOwner(Integer[] ownerID) throws RemoteException, FinderException; Then how could I define such argument in orion-ejb-jar.xml?! Regards, Nevin Ng -- Jeff Hubbach Internet Developer New Media Designs, Inc. www.nmd.com
Re: Colombo Java mystery -- the case of the unrecognized Parser jar
Hello Kemp, Try putting Parser.jar in the orion directory, or in the WEB-INF/lib. It seems that Orion doesn't use the CLASSPATH, because I need to put the jar files in the right place for them to work. -- Best regards, Rafaelmailto:[EMAIL PROTECTED]
Re: EJBUtils.cloneObject tkes up 40% of the time
What happens if you set session-deployment copy-by-value='false' in orion-ejb-jar.xml? See: http://www.orionserver.com/docs/orion-ejb-jar.xml.html Kirk Yarina At 08:55 PM 3/12/01 -0500, you wrote: Hello, I had posted a similar message a while back but never got any response. Now, it has become critical. Hopefully, someone can help me understand this. While profiling my server, I'm noticing that the server is spending approximately 40% of the time in com.evermind.server.ejb.EJBUtils.cloneObject() (Apparently, the method serializes/deserializes an Object to clone it). The method is invoked each time a SLSB calls another SLSB that returns a value. Aparently, the to be returned value is cloned before being returned to the caller. Both the SLSB are on the same server and deployed in the same application. The returned value is Cloneable and Serializable. Have I mis-configured something? Has anyone else experienced a similar performance penalty? This has become quite a critical performance issue for me and I would appreciate any feedback. Thanks, Vidur
Re: Hypersonic website / docs
Hypersonic may have died - see http://sourceforge.net/forum/forum.php?forum_id=62074 . Look quick; the hsql mail lists says that the sourceforge project may be shut down soon. There is a tool in the hypersonic demo directory, try: java -cp hsql.jar org.hsql.util.QueryTool You'll probably need to set some parameters (including -test false); it'll print the current values when it starts. Kirk Yarina At 02:38 PM 3/13/01 +, you wrote: Hi, What's the correct url for the hypersonic website? I thought the official one was hsql.oron.ch, which I'm sure worked until a few weeks ago but doesn't now - I get a forbidden error when accessing it. Interestingly it comes back with www.hypersonicsql.com in the error page, but that site doesn't seem to exist in any form... What gives? Is anyone on this list anything to do with Hypersonic and knows what's happening with the site (it's been this way for a few days, and I've just double-checked that it's not our web proxy) Failing any kind of online help, are there docs buried within the Orion document tree for Hypersonic? I couldn't see anything at all. What I'm actually after is some kind of command-line SQL client - does Hypersonic have one? I know it's got that applet for administration (does that even come as part of the Orion install?) but I don't want to fire up a browser or mess around with appletviewer unless I have to. I do have a homebrew client but it was written against Oracle so I don't know (yet) what'll be involved in getting it to work with Hypersonic... thanks Jules
RE: Hypersonic website / docs
Hello, Hypersonic has been end-of-lifed. I would suggest postgresql or some other database engine. Regards, Elephantflyer -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Julian Richardson Sent: Tuesday, March 13, 2001 6:38 AM To: Orion-Interest Subject: Hypersonic website / docs Hi, What's the correct url for the hypersonic website? I thought the official one was hsql.oron.ch, which I'm sure worked until a few weeks ago but doesn't now - I get a forbidden error when accessing it. Interestingly it comes back with www.hypersonicsql.com in the error page, but that site doesn't seem to exist in any form... What gives? Is anyone on this list anything to do with Hypersonic and knows what's happening with the site (it's been this way for a few days, and I've just double-checked that it's not our web proxy) Failing any kind of online help, are there docs buried within the Orion document tree for Hypersonic? I couldn't see anything at all. What I'm actually after is some kind of command-line SQL client - does Hypersonic have one? I know it's got that applet for administration (does that even come as part of the Orion install?) but I don't want to fire up a browser or mess around with appletviewer unless I have to. I do have a homebrew client but it was written against Oracle so I don't know (yet) what'll be involved in getting it to work with Hypersonic... thanks Jules
RE: Hypersonic website / docs
I heard that the original author was not longer actively developing the product, and someone was temporary taking over the administration and maintenance. Because of the state of disruption with hypersonic, I recommend to look at Enhydra's InstandDB, if you wish a Java based RDMS, else look at databases like Mysql, postgresql, Sap4 (sp?), or Boreland's database. -Original Message- From: Julian Richardson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 13, 2001 8:38 AM To: Orion-Interest Subject: Hypersonic website / docs Hi, What's the correct url for the hypersonic website? I thought the official one was hsql.oron.ch, which I'm sure worked until a few weeks ago but doesn't now - I get a forbidden error when accessing it. Interestingly it comes back with www.hypersonicsql.com in the error page, but that site doesn't seem to exist in any form... What gives? Is anyone on this list anything to do with Hypersonic and knows what's happening with the site (it's been this way for a few days, and I've just double-checked that it's not our web proxy) Failing any kind of online help, are there docs buried within the Orion document tree for Hypersonic? I couldn't see anything at all. What I'm actually after is some kind of command-line SQL client - does Hypersonic have one? I know it's got that applet for administration (does that even come as part of the Orion install?) but I don't want to fire up a browser or mess around with appletviewer unless I have to. I do have a homebrew client but it was written against Oracle so I don't know (yet) what'll be involved in getting it to work with Hypersonic... thanks Jules
Re: Hypersonic website / docs
Hypersonic SQL is a discontinued product now, it is no longer maintained by it's creator and as far as I know no one is continuing it. Ramiro Diaz Trepat Opetra
RE: Orion Load Problems
I have experienced a similiar issue and was thinking it was most likely the JVM (SUN J2SE 1.3.0 Hotspot Server). Anyone had any luck with running Orion with JRocket. Looking at the Volano report(http://www.volano.com/report.html) it would appear to scale the best. I've attempted to run it with orion and had no success. IBM JVM also appears to scales better than the Sun JVM but I've had some stabilty issue when trying out this JVM, it gave up the ghost about every 4 hours on my machine. -Original Message- From: Karl Avedal [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 13, 2001 2:47 AM To: Orion-Interest Subject: Re: Orion Load Problems Hello Daniel, These kind of problems are indeed hard ones to solve, since they appear only under certain circumstances, but the load you specify is not something there should be a problem with. What you can do is try to change the VM options and try the 1.3.1 beta jvm to see if you see any change in the behaviour. You can also try the latest experimental Orion, 1.4.7 available via auto-update. If this is indeed caused by a bug in Orion, it's definately one that needs to be fixed right away so we'd be very happy if you could try another jvm to make it easier for us to locate what goes wrong. A temporary solution if it's extremely urgent, could also be to use load balancing and setting up a small cluster until we have located what's going on. Regards, Karl Avedal Daniel Guillamot wrote: Dear Mailing List: I am relatively new to the Orion webserver, but have had lots of exposure to Apache and it's configuration files. 3 months ago I moved my website, to it's own server, with Orion installed. Orion ran great for 3 months. We ran 3 separate web-site's off of it with their own application-deployments. This past week, one website has had peak load times, where we reach over one million views a day, over 100 000 page impressions during peak hours. It usually happens at around 12pm PST every day. When this happens, Orion stops taking any requests. Only on the one application (web site), the other 2 websites running off of the same orion, the same machine, are fine. The extremely busy one just yields a white screen, waiting for a response, no error or Page Not Found appears, and no System.out logging appears from my servlets, nor does anything show up in the error.log. Even static html's are not loaded during this time. Although only one the one web site, the other 2 on the same machine are fine. The behaviour is triggered during peak times of over 100 000 page views per hour. Orion continues in this stasis manner (no response, error, or output) until it is restarted. The system has 1 gig of RAM, and is running RH6.0 and the Sun JVM 1.3 HotSpot. The -server and -native java parameters are on. Max Connections is 1000, timeout is 10 000. Any ideas? It's starting to become difficult to keep monitoring it and restarting it every day, sometimes twice a day on very busy days. Thanks in advance.
Using the mailing list
Dear orion webmasters, Tell me please how to correctly post a message to the mailing list and how to reply to a message. Each time I mail a message to [EMAIL PROTECTED] I get the following message: The person you have tried to contact is no longer employed at Netch Technologies. You may wish to contact us at [EMAIL PROTECTED] instead, or visit us on the web, http://www.netch.se/ . This message is probably caused by one of the following recipient adresses: [EMAIL PROTECTED] [EMAIL PROTECTED] If you feel this message is in error, mail [EMAIL PROTECTED] to get in touch with the mail administrator. regards, /netch/ The original message follows: ... Am I missing anything? WBR, Sergei Batiuk.
Using another EJB as part of the Primary Key Class
Hi everyone, Can one specify another EJB Entity object as part of the primary key for one ejb? Here is a imaginary example: TreeEJB has a one to many relationship to AppleEJB And I have a primary key for AppleEJB which contains TreeEJB and a AppleID In my application when I tried to do something similar to the figurative example above I got: Apple_ORSet295.java:294: Exception java.rmi.RemoteException must be caught, or it must be declared in the throws clause of this method. I can't quite model this as a dependent relationship because I might be refering this AppleEJB from other EJB. Now my question: is this a bug or is it something I should not be doing? how else could I model that an apple must be unique within its tree? suggestions? Thanks, Christian
Re: How about the latest xerces.jar and xalan.jar? - memory leak
Dear all, Just a warning to anyone using xerces in their web app. The current version of xerces shipped with orion sort of leaks memory (xerces issue, not orions). org.w3c.Document objects continue to hold a reference to any org.w3c.traversal.TreeWalker objects created so if the TreeWalker goes out of scope it's not garbage collected. The latest release of Xerces, Document doesn't hold a reference to TreeWalker. In a scenario where: 1. your web app through a servlet or jsp loads a xml config file as a static variable 2. on subsequent posts or gets creates a TreeWalker to go over the Document you will be *leaking memory* unless you manually call removeTreeWalker in a xerces specific way. If orion shipped the latest xerces/xalan then this problem would go away and we'd have access to better transformation libraries, etc. We've tried replacing xerces.jar with the latest version. It fixes the memory leak problem but xalan falls over Greg. - Original Message - From: "Ted R. Rice" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Saturday, March 10, 2001 4:58 AM Subject: RE: How about the latest xerces.jar and xalan.jar? i've experience similar issues with orion 1.4.7 and saxon 6.2.1. if you update the versions of xerces to 1.3 and xalan to 2.0, you will get the MethodNotFound error when doing any javax.xml package calls. only way i got around it was: 1. remove jaxp.jar from the orion dir 2. open up xalan.jar and remove all the javax.xml classes additionally, we use UTF-8 encoding on all of XML/XSLT files to support localization. if you set the default-charset in the global-web-applicaiton.xml to be UTF-8 it will not work as it complains about unrecognized UTF-8 characters in the XML files. hoewever, the second you remove the default-charset it works perfectly. everything i've mentioned was never a problem until 1.4.7. none of our code has changed and it never had an issue with the default-charset, jaxp, or xalan/xerces. ted rice -Original Message- From: Duffey, Kevin Sent: Fri 3/9/2001 9:42 AM To: Orion-Interest Cc: Subject: How about the latest xerces.jar and xalan.jar? Orion team (and whoever else is interested), I am working on a small framework that uses Saxon and requires the latest xerces.jar file. I just did an autoupdate and it downloaded xerces.jar into the orion folder (I deleted the one that was there because of the problem I am about to describe). When I started my app, the MethodNotFound error I got when I left the 589KB version of xerces.jar in the Orion folder came back. So two things. First, can you please add the latest xerces 1.3.0. Its 1.5MB in size, but it adds a lot of new functionality that some of us are now using. Secondly, why is it when xerces.jar is in the Orion folder, Orion does NOT use the version I have in the WEB-INF/lib folder? I thought (sorry if I don't recall what the specs say on this) that libraries in the WEB-INF/lib of a web-app override the ones in a server dir? Thanks.
Custom Error Pages
I am trying to write a custom error page for some of my errors, but I can't manage to print the stack trace nicely. Does anyone have an example they can point me to of an error page that prints errors nicely (source code)? Thanks in advance Scott
Re: Hypersonic website / docs
mysql. - Original Message - From: "elephantwalker" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Tuesday, March 13, 2001 1:45 PM Subject: RE: Hypersonic website / docs Hello, Hypersonic has been end-of-lifed. I would suggest postgresql or some other database engine. Regards, Elephantflyer -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Julian Richardson Sent: Tuesday, March 13, 2001 6:38 AM To: Orion-Interest Subject: Hypersonic website / docs Hi, What's the correct url for the hypersonic website? I thought the official one was hsql.oron.ch, which I'm sure worked until a few weeks ago but doesn't now - I get a forbidden error when accessing it. Interestingly it comes back with www.hypersonicsql.com in the error page, but that site doesn't seem to exist in any form... What gives? Is anyone on this list anything to do with Hypersonic and knows what's happening with the site (it's been this way for a few days, and I've just double-checked that it's not our web proxy) Failing any kind of online help, are there docs buried within the Orion document tree for Hypersonic? I couldn't see anything at all. What I'm actually after is some kind of command-line SQL client - does Hypersonic have one? I know it's got that applet for administration (does that even come as part of the Orion install?) but I don't want to fire up a browser or mess around with appletviewer unless I have to. I do have a homebrew client but it was written against Oracle so I don't know (yet) what'll be involved in getting it to work with Hypersonic... thanks Jules
bmp/jdbc and irc problems
hello ~ when i use bmp for persisting data to the database, it appears that i have to open a connection to the db and persist the bean's data. are there any connection pools or anything available within the app server that i can utilize for this? or is cmp the only way to take advantage of any built in connection pooling in the app server? i believe ejb 2.0 provides some support for this using DataSources/jndi but i am not sure. can someone else shed some more light on this topic? tia ~ --- Nimret Sandhu http://nimret.dhs.org
Re: Hypersonic website / docs
You can download the latest build here http://softseek.zdnet.com/Linux/Programming/Java/D2_47448_index.html There is some discussion about its future at http://sourceforge.net/forum/forum.php?forum_id=62073 Andrew - Original Message - From: "elephantwalker" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Tuesday, March 13, 2001 10:45 AM Subject: RE: Hypersonic website / docs Hello, Hypersonic has been end-of-lifed. I would suggest postgresql or some other database engine. Regards, Elephantflyer -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Julian Richardson Sent: Tuesday, March 13, 2001 6:38 AM To: Orion-Interest Subject: Hypersonic website / docs Hi, What's the correct url for the hypersonic website? I thought the official one was hsql.oron.ch, which I'm sure worked until a few weeks ago but doesn't now - I get a forbidden error when accessing it. Interestingly it comes back with www.hypersonicsql.com in the error page, but that site doesn't seem to exist in any form... What gives? Is anyone on this list anything to do with Hypersonic and knows what's happening with the site (it's been this way for a few days, and I've just double-checked that it's not our web proxy) Failing any kind of online help, are there docs buried within the Orion document tree for Hypersonic? I couldn't see anything at all. What I'm actually after is some kind of command-line SQL client - does Hypersonic have one? I know it's got that applet for administration (does that even come as part of the Orion install?) but I don't want to fire up a browser or mess around with appletviewer unless I have to. I do have a homebrew client but it was written against Oracle so I don't know (yet) what'll be involved in getting it to work with Hypersonic... thanks Jules
RE: Hypersonic website / docs
Hypersonic is dead...see at http://sourceforge.net/forum/forum.php?forum_id=68224 . Instantdb is the only thing close. The open-source developers of the Interbase project have revolted and taken their code with them (hinting at lack of co-operation from Inprise). They can be found at http://firebird.sourceforge.net/fb_main.html . the project nam is now (obviously) Firebird. SAPdb is Oracle crap, frozen at v.7, with _lots_ of additional libraries and no support (and damn few updates). Find it at http://www.sap.com/solutions/technology/sapdb/ . For my money, if you cant find a decent db for your project at SourceForge or Freshmeat, go with Sybase ASA or IBM UDB and pay for it. Otherwise, write your own. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kemp Randy-W18971 Sent: Tuesday, March 13, 2001 10:55 AM To: Orion-Interest Subject: RE: Hypersonic website / docs I heard that the original author was not longer actively developing the product, and someone was temporary taking over the administration and maintenance. Because of the state of disruption with hypersonic, I recommend to look at Enhydra's InstandDB, if you wish a Java based RDMS, else look at databases like Mysql, postgresql, Sap4 (sp?), or Boreland's database. -Original Message- From: Julian Richardson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 13, 2001 8:38 AM To: Orion-Interest Subject: Hypersonic website / docs Hi, What's the correct url for the hypersonic website? I thought the official one was hsql.oron.ch, which I'm sure worked until a few weeks ago but doesn't now - I get a forbidden error when accessing it. Interestingly it comes back with www.hypersonicsql.com in the error page, but that site doesn't seem to exist in any form... What gives? Is anyone on this list anything to do with Hypersonic and knows what's happening with the site (it's been this way for a few days, and I've just double-checked that it's not our web proxy) Failing any kind of online help, are there docs buried within the Orion document tree for Hypersonic? I couldn't see anything at all. What I'm actually after is some kind of command-line SQL client - does Hypersonic have one? I know it's got that applet for administration (does that even come as part of the Orion install?) but I don't want to fire up a browser or mess around with appletviewer unless I have to. I do have a homebrew client but it was written against Oracle so I don't know (yet) what'll be involved in getting it to work with Hypersonic... thanks Jules