RE: Can't start Orion 1.5.1
Ciao Marcello :) It appears that you still have the old JAXP1.0 XML processor in the classpath. Check program files (win32) or whatever on linux for /Jaxp1.0.1. In particular, the old parser.jar and jaxp.jar. Once you take those out of the classpath, orion should start fine. If you're actually parsing XML in your web app, then take a look at what has changed at: http://java.sun.com/xml/jaxp-1.1/readme.html Hope this helps. -arnox -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Thursday, May 24, 2001 5:20 PM To: Orion-Interest Subject: Can't start Orion 1.5.1 Hello, I downloaded Orion 1.4.5 and it works fine out of the box. Then I autoupdated it to 1.5.1 but it throws the following exception. I tried both updating the configuration files (answering all 'y') and not doing it (answering all 'n'). Also tried with Sun's SDK 1.2.2 and IBM's 1.3.0. Any suggestion ? Thanks for your attention. Marcello java.lang.NoSuchMethodError: org.xml.sax.Attributes: method getQName(I)Ljava/lang/String; not found at org.apache.crimson.tree.AttributeSet.init(AttributeSet.java:139) at org.apache.crimson.tree.XmlDocumentBuilder.startElement(XmlDocumentBuilder.j ava:463) at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1449) at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:499) at org.apache.crimson.parser.Parser2.parse(Parser2.java:304) at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433) at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:1 79) at com.evermind._ug.getJavaxDocument(Unknown Source) at com.evermind.xml.XMLUtils.getDocument(Unknown Source) at com.evermind.xml.XMLConfig._qh(Unknown Source) at com.evermind.xml.XMLConfig._qh(Unknown Source) at com.evermind._iy.run(Unknown Source) at java.lang.Thread.run(Thread.java:498) at com.evermind._ip.run(Unknown Source)
Rephrasing persistence question... HELP
Would anybody dare to guess (or knows!) what criteria is used by Orion to determine what objects in a JSP page are saved when application shuts down? I have a few different objects in a JSP page. They all implement Serializable, but serialization is called only on one type. Why would it not get called on all of them? Consider these two objects both of which would implement Serializable: SomeClass A=new SomeClass (); SomeOtherClassB=new SomeOtherClass(); When you restart/shutdown the app, JSP page will call serialization on object B, but not A. Is it me, or is there a logical explanation for this? Thanks, -arnox P.S. This used to work in version 1.4.5 (all would get saved), but works as described in 1.5.1.
interesting singleton serialization issue (Java / JSP POSSIBLY ORION QUESTION)
ASSUMPTION: It appear that all objects in a JSP file get serialized. Q1: Is there an equivalent of TRANSIENT in JSP, ..since transient doesn't work? Q2: Is there any other way to control serialization? NOTE: I have the singleton class working nicely with a factory class. The problem is that I need a reference to the singleton in the JSP file, ..so it gets serialized twice (ONCE FROM BY THE FACTORY - ONCE BECAUSE IT'S IN JSP FILE, ..NOT SO GOOD). Current fix includes taking the implements Externalizable away from the singleton, but leaving the read/writeExternal functions in the class, so the factory can call them. The only problem is that JSP/Orion reports that the object is not Serializable, ..but in reality the object gets serialized elsewhere (not a bug, just looks wrong). Any suggestions? Thanks, -arnox
Is there a solution to JAXP 1.1? ORION WON'T START!!!
I searched the list, and people have experienced this problem (like myself), but no word from Orion. Ideas? If you try to get Orion working with this latest release from Sun, Orion won't start: G:\orionjava -jar orion.jar java.lang.NoSuchMethodError at org.apache.crimson.tree.AttributeSet.init(AttributeSet.java:139) at org.apache.crimson.tree.XmlDocumentBuilder.startElement(XmlDocumentBuilder.j ava:463) at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1449) at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:499) at org.apache.crimson.parser.Parser2.parse(Parser2.java:304) at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433) at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:1 79) at com.evermind.xml.e.getJavaxDocument(JAX) at com.evermind.xml.XMLUtils.getDocument(JAX) at com.evermind.xml.XMLConfig.ay(JAX) at com.evermind.xml.XMLConfig.ay(JAX) at com.evermind.server.g6.run(JAX) at java.lang.Thread.run(Unknown Source) at com.evermind.util.f.run(JAX) I don't think it's a hard thing to fix and it is a critical bug if you need the latest stuff. Did anybody figure this out? Regards, -arnox
RE: Win2k Pro. is mess... choosing the right database product
It could be that Interbase is a very recent addition to the open source / freeware bunch. Also, prior to version 6, Interbase was missing some essential data types, which made it a bit less approchable. My company is still evaluating Interbase, but so far we haven't found any "issues" and are extremely pleased with the JDBC driver and the performance/features of this product. There appears to be an issue setting different character sets for the JDBC driver in data-sources.xml, but that is probably true for all JDBC drivers and setting their extended parameters (it could be a problem with Orion) and it's not a show stopper for us. At some point in time, we were also evaluating mySQL, but (AT THE TIME) it had no transaction support, JDBC drivers were in flux and no blobs. Personally, I believe that InterBase 6 offers more features then mySQL. Another FREE option appears to come from SAP (http://www.sap.com/solutions/technology/sapdb/) I know nothing about this product, but it comes with a type 4 JDBC driver and a bunch of tools. It would be nice to hear from somebody who know more about it. -arno -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Randahl Fink IsaksenSent: Friday, February 23, 2001 6:27 PMTo: Orion-InterestSubject: RE: Win2k Pro. is mess... choosing the right database product You are probably right in your asumptions. Might I ask why you have chosen to go for PostgreSQL? To me it seems a bit too uncertain to have two pieces of experimental software in one project. Personally I was thinking of switching to either MySQL or Interbase once my system goes on-line. I have used Interbase quite a lot, just not with EJBs, and it is totally free and open source nowadays. I have no experience with MySQL, but as far as I have read on this list, quite many people are fond of it, and it seems that the use of MySQL is a question of once needs for transactions (which MySQL does not support). I am wondering if anyone is using the prepackaged Hypersonic database in production... It has not given me any trouble during this development project... yet... - I would feel MUCH better about using a 10+ years old well-tested database like Interbase, and I simply do not know why more people are not using it. Any comments anyone? Randahl -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED]Sent: 23. februar 2001 18:39To: Orion-InterestSubject: Re: Win2k Pro. is messing up the DB Hello Randahl, First of all, I appreciate your idea. Yes, we came to the near conclusion that it was not orion but it was postgresql. To tell the truth, I believe in orionbut not very much so in postgresql. As a matter of fact, we are using a CVS version of PostgreSQL because the released version of postgresql does not yet support the right join sql statement. To make matters worse, the Linux JDBC driver was not working properly on the timestamp field before I made a modification on the driver. We were totally forgetting all about this. Our Windows developershave had no problems with ODBC drivers so far, out of which we can guess it is not the DB itself but it is the Linux JDBC driver. What are your thoughts? Once again, thank you very much. Simon - Original Message - From: Randahl Fink Isaksen To: Orion-Interest Sent: Friday, February 23, 2001 1:07 AM Subject: RE: Win2k Pro. is messing up the DB I know this is a wild guess, but just to make sure, I would of course do a disk scan on that machine to make sure it is not a hardware problem - these things do happen, I am afraid. Another good thing would be to run the application on a _different_ Win2K Pro. machine to make sure it is not just something which is specific to only her single machine. BTW, I would doubt PostgreSQL more on Win2K than I would doubt Orion. Orion is a java application, which gives it a pretty good chance of running in the same way on different platforms. To the best of my knowledge PostgreSQL on Win2K is a port of the code from another platform, and from reading articles at PostgreSQL's web-site it seems it is not totally stable on Win2K. I have seen at least two posts on this list where people recommends *not* using PostgreSQL from Win NT based systems - not yet, anyway. I have used Orion on Win2K with no problems - but then again I do *not* use PostgreSQL Hope you find a solution Yours Randahl -Original Message-From: [EMAIL
RE: Win2k Pro. is mess... choosing the right database product
Title: Here is the newest version of my data source and database schema files. I posted this info once before,but there have been some minor changes, (thanks to Dirk Ohst), so this is the latest I've got. If you find any problems or fix anything, let us know. Also, if you're having problems with InterBase/Client, makesure they're both setup and running correctly. I've had some difficulties getting the services to behave duringinstallation. Good luck! Regards,-arno Platform/versions: Win2000, SPIOrion, 1.3.5InterClient 1.60 Final Build (InterClient server running as system service)DATA SOURCES data-source class="com.evermind.sql.DriverManagerDataSource" source-location="interbase.interclient.DataSource" connection-driver="interbase.interclient.Driver" schema="database-schemas/InterBase.xml" name="InterBase" location="jdbc/InterBaseCoreDS" xa-location="jdbc/xa/InterBaseXADS" ejb-location="jdbc/InterBaseDS" username="sysdba" password="masterkey" url="jdbc:interbase://localhost/G:/orion/database/InterBase/yourDB.GDB" inactivity-timeout="30" /data-sourceSCHEMA: interbase.xmldatabase-schema name="InterBase" not-null="NOT NULL" null="NULL" primary-key="PRIMARY KEY" max-table-name-lenght="30"type-mapping type="java.lang.String" name="VARCHAR(255)" /type-mapping type="int" name="INTEGER" /type-mapping type="long" name="NUMERIC(20,0)" /type-mapping type="float" name="FLOAT" /type-mapping type="double" name="DOUBLE PRECISION" /type-mapping type="byte" name="NUMERIC(10,0)" /type-mapping type="char" name="CHAR(1)" /type-mapping type="short" name="SMALLINT" /type-mapping type="boolean" name="NUMERIC(1,0)" /type-mapping type="java.util.Date" name="DATE" /type-mapping type="java.util.Time" name="TIME" /type-mapping type="java.util.TimeStamp" name="TIMESTAMP" /type-mapping type="java.io.InputStrem" name="BLOB" /disallowed-field name="password" /disallowed-field name="date" //database-schemaMake sure you have these files in /orion/lib09/06/2000 01:00p 316,852 interclient-core.jar09/06/2000 01:00p 29,352 interclient-res.jar09/06/2000 01:00p 23,565 interclient-utils.jar09/06/2000 01:00p 369,153 interclient.jar04/27/2000 01:47p 162,349 RmiJdbc.jar-Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Vimal PatelSent: Thursday, August 03, 2000 5:44 PMTo: Orion-InterestSubject: Re: Win2k Pro. is mess... choosing the right database productCan you tell me what data-source settings you have to get interbase working with orion and the driver version. I can not get it to work with orion. Also if you could mail the database-schemas for interbase I would really appreciate it.Thanks,Vimal- Original Message -From: Arno GrbacTo: Orion-InterestSent: Saturday, February 24, 2001 1:08 PMSubject: RE: Win2k Pro. is mess... choosing the right database productIt could be that Interbase is a very recent addition to the open source / freeware bunch. Also, prior to version 6, Interbase wasmissing some essential data types, which made it a bit less approchable. My company is still evaluating Interbase, but so farwe haven't found any "issues" and are extremely pleased with the JDBC driver and the performance/features of this product.There appears to be an issue setting different character sets for the JDBC driver in data-sources.xml, but that is probably truefor all JDBC drivers and setting their extended parameters (it could be a problem with Orion) and it's not a show stopper for us.At some point in time, we were also evaluating mySQL, but (AT THE TIME) it had no transaction support, JDBC drivers werein flux and no blobs.Personally, I believe that InterBase 6 offers more features then mySQL. Another FREE option appears to come from SAP(http://www.sap.com/solutions/technology/sapdb/) I know nothing about this product, but it comes with a type 4 JDBCdriver and a bunch of tools. It would be nice to hear from somebody who know more about it.-arno-Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Randahl Fink IsaksenSent: Friday, February 23, 2001 6:27 PMTo: Orion-InterestSubject: RE: Win2k Pro. is mess... choosing the right database productYou are probably right in your asumptions. Might I ask why you have chosen to go for PostgreSQL? To me it seems a bit too uncertain to have two pieces of experimental software in one project. Personally I was thinking of switching to either MySQL or Interbase once my system goes on-line. I have used Interbase quite a lot, just not with EJBs, and it is totally free and open source nowadays. I have no experience with MySQL, but as far as I have read on this list, quite many people are fond of it, and it seems that the use of MySQL is a question of once needs for transactions (which MySQL does not support).I am wondering if anyone is using the prepackaged Hypersonic database in production... It has not given me any trouble during
Orion and Interbase 6
Here it goes: database-schema, FILE: interbase.xml database-schema name="Interbase" not-null="not null" null="default null" primary-key="primary key" max-table-name-lenght="30" type-mapping type="java.lang.String" name="VARCHAR(255)" / type-mapping type="int" name="INTEGER" / type-mapping type="long" name="NUMERIC(20,0)" / type-mapping type="float" name="FLOAT" / type-mapping type="double" name="DOUBLE PRECISION" / type-mapping type="byte" name="NUMERIC(10,0)" / type-mapping type="char" name="CHAR(1)" / type-mapping type="short" name="SMALLINT" / type-mapping type="boolean" name="NUMERIC(1,0)" / type-mapping type="java.util.Date" name="DATE" / type-mapping type="java.util.Time" name="TIME" / type-mapping type="java.util.TimeStamp" name="TIMESTAMP" / type-mapping type="java.io.InputStrem" name="BLOB" / disallowed-field name="password" / disallowed-field name="date" / /database-schema Note: It appears to be working fine. If somebody finds any problems with it, please let me know. database-sources, FILE: data-sources.xml (Interbase entry) data-source class="com.evermind.sql.DriverManagerDataSource" name="InterBase" location="jdbc/InterBaseCoreDS" xa-location="jdbc/xa/InterBaseXADS" ejb-location="jdbc/InterBaseDS" connection-driver="interbase.interclient.Driver" username="sysdba" password="masterkey" url="jdbc:interbase://localhost/d:/database/yourDatabase.gdb" inactivity-timeout="30" / More notes: To locate the actual database, you will have to poke around a bit. You should be able to find it at www.borland.com/interbase, but there are nicer distributions out there (no need to fill out any questionnaires and get spammed by Borland). Unfortunately, I don't remember the links... (somebody may want to post these). A very helpful starting point is: http://www.ibphoenix.com/ibp_contrib_download.html just make sure you don't download any PRE-6.x stuff. Make sure you copy the InterClient JARs to orion\lib (these are interclient.jar, interclient-core.jar, interclient-res.jar, interclient-utils.jar and I believe RmiJdbc.jar). After looking into other JDBC drivers and problems that people were experiencing, I stuck with Borland's JDBC driver. They work fine. As a side note, you should be aware that Interbase uses triggers, so things like AutoNumbers need to be created (you can create you own types!). If you don't want to mess with that, you can use MS Access to design tables, and then use a utility like SQLtoGDB, to transfer the database schema. It is a bit rough, but it can save some time. Also, stick with UPPERCASE table and column names. IB6 can use mixed case, but then you'll have to enclose field names in quotes which severely limits your code portability and makes for some strange looking SQL strings. Hope this gets you started. -arno -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Stanislav Maximov Sent: Wednesday, January 31, 2001 5:27 AM To: Orion-Interest Subject: 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: Trouble installing
Hi Ivan, It appears that you don't have tools.jar in the orion directory. So, just copy tools.jar from you Java distribution into orion directory, and you should be all set. -arnox -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ivan Figueredo Sent: Friday, January 19, 2001 12:51 PM To: Orion-Interest Subject: Trouble installing Hello, I downloaded orion1.3.8.zip. I then did: - D:\orionjava -jar orion.jar -install Enter an admin password to use: ** Confirm admin password: ** Installation done D:\orionjava -jar orion.jar Orion/1.3.8 initialized -- When I browse to 127.0.0.1, I get the "Orion Application Server 1.3.8 - Up and running" page. But when I try to run some of the examples inside the JSP examples, I nothing happens and I get errors. Sorry if this has been asked before... Regards, Ivan
RE: Win 2000 problems with http server
Are you running some kind of application level firewall? For example, running zone alarm pro will do just that. I'm running the same setup and all is fine. The server never goes down, ..well, it's been up for weeks now. Hope this helps. -arno -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of hanasakiSent: Thursday, January 04, 2001 2:30 PMTo: Orion-InterestSubject: Win 2000 problems with http serverI have two computers that are both experiencing the same problem. They are both running Win 2000 Professional with jdk 1.3.0-c Orion starts fine and seems to run ok with/without the console. The Orion gui tools seem to run ok. THE PROBLEM: connecting to the orion http server on port 80 causes the systems to crash and reboot. - tried "-classic" - tried orion 1.3.8 and 1.4 C:\java -version java version "1.3.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C) Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode) C:\
RE: SSL and Orion (urgent)
RSA algorithm is under patent protection in US (until September 20, 2000, ..I believe). That's why Sun cannot ship it with Java. You should be able to download RSA encryption software at: www.cryptix.org (Cryptix 3). That should solve your problem. Follow instructions.. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Porfiriev Sergey Sent: Monday, May 29, 2000 10:19 AM To: Orion-Interest Cc: Orion-Interest Subject: SSL and Orion (urgent) I have troubles installing SSL under Orion I've followed Orions instructions: On the first step i've got following error: D:\Orion\docs\sslkeytool -genkey -keyalg "RSA" -keystore keystore -storepass 123456 -validity 360 keytool error: KeyPairGenerator not available i've installed jce 1.2.1 but it still not working :( How i can solve this? (make SSL work) Best regards, Porfirievmailto:[EMAIL PROTECTED]
RE: Orion-Interest
I got the same results using the Apache JMeter (http://java.apache.org) -arno -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Karl Avedal Sent: Friday, May 19, 2000 7:43 AM To: Orion-Interest Cc: Orion-Interest Subject: Re: Orion-Interest Hello Roy, We observed exactly the same thing on our own tests using the same stress-testing tool, we will find out what the reason is immediately. Regards, Karl Avedal "Lou, Roy" wrote: We are having problems getting Orion to free memory. All we are using is the servlet subset of J2EE. Is there something we have to do to get Orion to free memory I thought the VM's garbage collector ran no matter what. We got a java.lang.OutOfMemoryError at java.lang.Thread.start(Native Method) at com.evermind.util.ThreadPool.a4(JAX, Compiled Code) at com.evermind.util.ThreadPool.launch(JAX, Compiled Code) at com.evermind.server.http.ds.rb(JAX, Compiled Code) at com.evermind.server.http.ds.run(JAX, Compiled Code) when performing a stress test on a simple JSP. It creates a parameter in the session object and then includes another HTML page. The JSP was (modified to no longer use a gif for the background) [[HelloWorld.JSP]] %@ page info=" a hello world example" % html headtitleHello, World/title/head body bgcolor="#ff" %@ include file="dukebanner.htm" % % session.putValue("test", "12345678901234567890123456789012345678901234567890"); System.out.println("add parameter to session object"); % table tr td width="150" nbsp; /td td width="250" align=right h1Hello, World!/h1 /td /tr /table /body /html [[end of HelloWorld.JSP]] The included file (modified to no longer include a gif) is [[DukeBanner.htm]] table border="0" width="400" cellspacing="0" cellpadding="0" tr td height="150" width="150" nbsp; /td td width="250" nbsp; /td /tr tr td width="150" width="150" nbsp; /td td align="right" width="250" h1Duke Replacement for easier debugging/h1 /td /tr /table br [[ end of DukeBanner.htm]] The stress testing tool is located at (click on downloads to get to it) [[MSWAST URL]] http://webtool.rte.microsoft.com/ TIA Roy Lou