Help with OR mapping a Set
Hello, In my CMP entity bean, I have a Set whose values will always implement an interface (KMDefinitionFactory). When I try to deploy this, I get an error: Error compiling file:/C:/dev/lib/: Dependent OR class com.epistemic.km.KMDefinitionFactory cannot be abstract unless the ejb-jar.xml has a tag for it Could someone please tell me where I should add the suggested tag? I looked in ejb-jar.xml and orion-ejb-jar.xml but can't find an appropriate place. Thanks, Vidur
Can't understand this exception -- Orion 1.1.9
Hello, Can someone help me understand this exception. It occasionally shows up on the client and there is no details in the application.log. Thanks, Vidur com.evermind.server.rmi.OrionRemoteException: Transaction was rolled back: Error in transaction: javax.transaction.xa.XAException: The connection was closed; nested exception is: javax.transaction.xa.XAException: The connection was closed com.evermind.server.rmi.OrionRemoteException: Transaction was rolled back: Error in transaction: javax.transaction.xa.XAException: The connection was closed at SX_StatelessSessionBeanWrapper0.addDefinition(SX_StatelessSessionBeanWrapper0.java:232) at java.lang.reflect.Method.invoke(Native Method) at com.evermind.server.rmi.ba.run(JAX) at com.evermind.server.rmi.a8.gx(JAX) at com.evermind.server.rmi.a8.run(JAX) at com.evermind.util.e.run(JAX) at connection to mozart/192.168.0.101 as admin at com.evermind.server.rmi.a8.invokeMethod(JAX) at com.evermind.server.rmi.a_.invoke(JAX) at __Proxy2.addDefinition(Unknown Source) at com.epistemic.test.Client.exerciseDefinitionManagement(Client.java:139) at com.epistemic.test.Client.doPortfolio(Client.java:219) at com.epistemic.test.Client.main(Client.java:288) Nested exception is: javax.transaction.xa.XAException: The connection was closed at com.evermind.sql.al.prepare(JAX) at com.evermind.server.f8.g3(JAX) at com.evermind.server.ApplicationServerTransaction.commit(JAX) at com.evermind.server.ApplicationServerTransaction.end(JAX) at SX_StatelessSessionBeanWrapper0.addDefinition(SX_StatelessSessionBeanWrapper0.java:198) at java.lang.reflect.Method.invoke(Native Method) at com.evermind.server.rmi.ba.run(JAX) at com.evermind.server.rmi.a8.gx(JAX) at com.evermind.server.rmi.a8.run(JAX) at com.evermind.util.e.run(JAX) at connection to mozart/192.168.0.101 at com.evermind.server.rmi.OrionRemoteException.g0(JAX) at com.evermind.server.rmi.a8.gv(JAX) at com.evermind.server.rmi.a8.run(JAX) at java.lang.Thread.run(Thread.java:484)
Writing custom Resource Manager
Hello, Is it possible to write a custom resource manager in EJB1.1 and Orion? Much like EJBs can use a DataSource, I would like to write an application specific resource manager. How can I do that? Thanks, Vidur PS. If possible, please cc me the replies.
RE: Orion info site
I think this is what OrionSupport.com is for. They're always looking for maintainers / contributors! > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Alexandre J. > Boudreau > Sent: Sunday, 9 July 2000 10:56 > To: Orion-Interest > Subject: Orion info site > > > > Btw, if anyone else has some info they would like to post, might as well > make an orion information site. It would be my pleasure to host this > information site. > > If anyone is interested in this, suggestions are welcome. > > Alex > > > > Alexandre J. Boudreau > CEO & CTO > Fibro Movement Corp. > > email: [EMAIL PROTECTED] > web : www.fibromovement.com >
Re: HOWTO Sun's Java Pet Store Orion 1.0 Cloudscape JDBMS win98
Kirk, I'm glad to host it on www.northbaydata.com (although I cringe at the thought that people will see the site...a year+ out of date :-)).. Also, [EMAIL PROTECTED] would probably do it too (see http://cupid.suninternet.com). And there is also this site: http://www.znerd.demon.nl/orion-primer/. I wish that Evermind was hosting this stuff though. Brian Kirk Kalvar wrote: I would be happy to only Im do not have a public access website. If someone would like to host please contact me. Thanks, Kirk S. Kalvar -Original Message- From: Raphael Gillett [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 08, 2000 2:47 PM To: [EMAIL PROTECTED] Subject: Re: HOWTO Sun's Java Pet Store Orion 1.0 Cloudscape JDBMS win98 Kirk, Simply provide a link to your website. Very nice of you to do this. Thank you. Raphael Gillett Kirk Kalvar wrote: I developed a how to for jps and Orion 1.0 and tried to post it to orion-interest.There was a zip file included in the post so I dont think it made it.What do I need to do to post the how to and zip as an attachment? The zip file contains the Orion configuration files for jps and the updated estore-patched.ear with the orionsecurityadapter included.The howto.txt has detailed instructions on installing jvm, j2ee, Orion (cloudscape) and jps for win98. Would be good for newbies just getting onboard with orion (like me recently). Thanks, Kirk S. Kalvar -- * Brian Cunningham North Bay Data [EMAIL PROTECTED] 415-451-4879 *
Orion info site
Btw, if anyone else has some info they would like to post, might as well make an orion information site. It would be my pleasure to host this information site. If anyone is interested in this, suggestions are welcome. Alex Alexandre J. Boudreau CEO & CTO Fibro Movement Corp. email: [EMAIL PROTECTED] web : www.fibromovement.com BEGIN:VCARD VERSION:2.1 N:Boudreau;Alexandre;J. FN:Alexandre J. Boudreau ORG:Fibro Movement TEL;WORK;VOICE:514-575-1580 EMAIL;PREF;INTERNET:[EMAIL PROTECTED] REV:2224T064224Z END:VCARD
RE: HOWTO Sun's Java Pet Store Orion 1.0 Cloudscape JDBMS win98
Seems like a perfect fit for orionsupport.com -Original Message- From: Kirk Kalvar [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 08, 2000 3:09 PM To: Orion-Interest Subject: RE: HOWTO Sun's Java Pet Store Orion 1.0 Cloudscape JDBMS win98 I would be happy to only I'm do not have a public access website. If someone would like to host please contact me. Thanks, Kirk S. Kalvar -Original Message- From: Raphael Gillett [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 08, 2000 2:47 PM To: [EMAIL PROTECTED] Subject: Re: HOWTO Sun's Java Pet Store Orion 1.0 Cloudscape JDBMS win98 Kirk, Simply provide a link to your website. Very nice of you to do this. Thank you. Raphael Gillett Kirk Kalvar wrote: I developed a how to for jps and Orion 1.0 and tried to post it to orion-interest.There was a zip file included in the post so I don't think it made it.What do I need to do to post the how to and zip as an attachment? The zip file contains the Orion configuration files for jps and the updated estore-patched.ear with the orionsecurityadapter included.The howto.txt has detailed instructions on installing jvm, j2ee, Orion (cloudscape) and jps for win98. Would be good for newbies just getting onboard with orion (like me recently). Thanks, Kirk S. Kalvar
auto-creating tables & IBM DB2
I have a problem with the auto-create-table feature of Orion 1.0 and IBM DB2 7.1 Personal Edition on a Suse-Linux-Box. Auto-deploying ic-ejb... Auto-creating table: create table Event (id BIGINT not null primary key, ort VARCHAR(255) null, titel VARCHAR(255) null) Warning: Error creating table: [IBM][CLI Driver][DB2/LINUX] SQL0104N An unexpected token "," was found following "rt VARCHAR(255) null". Expected tokens may include: "". SQLSTATE=42601 It seem to be the "null" suffixes on the columns "ort" and "titel" which make the problem. I investigated with the DB2 Command Center. Leaving out the keyword null in both cases lets me create the table without problem. Is this correct sql syntax? I only know "not null", not "null"... Anyway... what can I do? And... Has anybody a db2.xml for orion/config/database-schemas/ ? Thanks for input, -- Benjamin Lorenz {http://,mail@}benjamin-lorenz.com 60323 Frankfurt Voice: +49 179 597 6163 Fax: +49 89 1488 201577
RE: HOWTO Sun's Java Pet Store Orion 1.0 Cloudscape JDBMS win98
I would be happy to only I’m do not have a public access website. If someone would like to host please contact me. Thanks, Kirk S. Kalvar -Original Message- From: Raphael Gillett [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 08, 2000 2:47 PM To: [EMAIL PROTECTED] Subject: Re: HOWTO Sun's Java Pet Store Orion 1.0 Cloudscape JDBMS win98 Kirk, Simply provide a link to your website. Very nice of you to do this. Thank you. Raphael Gillett Kirk Kalvar wrote: I developed a how to for jps and Orion 1.0 and tried to post it to orion-interest.There was a zip file included in the post so I don’t think it made it.What do I need to do to post the how to and zip as an attachment? The zip file contains the Orion configuration files for jps and the updated estore-patched.ear with the orionsecurityadapter included.The howto.txt has detailed instructions on installing jvm, j2ee, Orion (cloudscape) and jps for win98. Would be good for newbies just getting onboard with orion (like me recently). Thanks, Kirk S. Kalvar
Distribution has corrupt server.xml file
When opening server.xml in MS-Notepad the line read as I opened the file in MS-Wordpad and then did a save as text and renamed the resulting server.xml.txt as server.xml All seems to be fine now.
Re: Jikes performance improvement
I'm also interested by this bench, ThM [EMAIL PROTECTED] http://www.idocw.com Frank Apap a écrit : > Has anyone done any benchmarking on how much faster jikes is compared to > using the standard javac compiler? > > - Frank
SSL key generation, yet again
Okay, this is very frustrating. :( I'm using Sun's JDK 1.3.0 for Linux, Orion 1.1.9. Output from java -version: java version "1.3.0beta" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0beta-b07) Java HotSpot(TM) Client VM (build 1.3.0beta-b04, mixed mode) I've tried the SSL-howto steps from www.orionserver.com; if I use -keyalg "RSA", I get this message: keytool error: java.security.NoSuchAlgorithmException: RSA KeyPairGenerator not available That's fairly self-explanatory, although odd. So, being intrepid and all, I simply remove the RSA specification, since this is just a test cert, after all. That allows me to create the keystore. The key password for is left as the same as the keystore password. So I go happily along my way, generating the .csr file with no obvious difficulty. I go to thawte.com, as the howto suggests. My only deviation from the howto is, as mentioned, the elimination of '-keyalg "RSA"' from the keytool invocation. At thawte.com, I post my certificate request via IE5, set validity for 360 days, valid from now, type of certificate is "Test SSL Chained CA Cert", and use the default certificate format. I hit the "Generate Test Certificate" submit button and get a certificate, in PKCS #7 SIGNED DATA format. I take the certificate source, cat it into a .cer file, as the howto suggests. And here's where things start falling apart. % keytool -keystore keystore -import -trustcacerts -file cupid.cer Enter keystore password: 123456 keytool error: java.lang.Exception: Certificate chain in reply does not verify: MD5WITHRSA Signature not available Well, since I don't have RSA in the JDK, I suppose that makes sense. However, there's not a lot I can do about it, since chained certs apparently only use the RSA algorithm; thawte says they ignore any specifications for chained CA certs, using ONLY PKCS #7 for these. I don't know where to get a version of the RSA algorithm for JSSE (I downloaded the JSSE stuff from Sun, but Orion's version looks more recent, so I'm using Orion's). jcert.jar does, in fact, have an MD5RSA algorithm, but I have no idea how to tell Java that, or why it's not realising it on its own. Can anyone help? This is a critical issue for me and I am royally stuck. --- Joseph B. Ottinger [EMAIL PROTECTED] http://cupid.suninternet.com/~joeo HOMES.COM Developer