Re: Orion and Cloudscape
Hi Ishpal, Thanks for the help. I'll try it out later (already have interbase working with orion and interbase is free(opensource since version 6), so the choice is obvious.) Workaround for your error: Use cloudscape with rmijdbc or cloudconnector so you have to start and shutdown the database server and not orion. Ishpal wrote: wim veninga wrote: JavierG wrote: Hi all: Can I make Orion and Clouscape run in the same VM? In that case, how? Wrapping Cloudscape in a servlet and running it within Orion? Any particular measure I should take in that case? All suggestions would be very welcome. Thanks J. Hi Javier, What do you mean with running cloudscape in the same VM. Are you just using cloudscape or do you have a framework (rmijdbc or cloud connector) that you want to run cloudscape in. If you just want to use cloudscape as an embedded db you can use it with orion and run it in the same VM as orion. You have to supply an datasource in datasources.xml and provide a schema for cloudscape and set the cloudscape.system.home property in orion.properties or at the command line when starting orion. Put the cloudscape.jar in the orion/lib directory and the client.jar in the client classpath (for exception etc..) What would be the purpose of wrapping cloudscape in an servlet ? Do you mean that you want to program the acces to the database yourself in the servet? Note I couldn't get cloudscape working with CMP, with BMP there were no problems but with cmp I get an strange error at the client side (object was null but still part of the cache). So if you get cloudscape working with CMP will you please let me know how you did it ? The xml files are supplied as an zip attachment. Hope this helps. Greetings Wim Veninga Name: cloudscapeXML.zip cloudscapeXML.zipType: Zip Compressed Data (application/x-zip-compressed) Encoding: base64 Hello, I can now get Cloudscape running with CMP. You can try the URL as ... url="jdbc:cloudscape:HelloWorldDB;autocommit=false" in the data-sources.xml file... It works pretty cool. The problem now is that when i try to shutdown the server using "admin.jar -shutdown" , the database instance is not shutdown... so next time I get a message like... WARNING: Cloudscape (instance c013800d-00e1-0894-8651-007f0100) is attempting to boot the database /home/ishpal/projects/Cloudscape/system_databases/HelloWorldDB even though cloudscape (instance c013800d-00e1-0880-1eb6-0 Which is scary and I dont want to end up destroying the database... Is there a way I can shutdown the database instance when the server is shutdown Thanks, Ishpal.
Re: Orion and Cloudscape
JavierG wrote: Hi all: Can I make Orion and Clouscape run in the same VM? In that case, how? Wrapping Cloudscape in a servlet and running it within Orion? Any particular measure I should take in that case? All suggestions would be very welcome. Thanks J. Hi Javier, What do you mean with running cloudscape in the same VM. Are you just using cloudscape or do you have a framework (rmijdbc or cloud connector) that you want to run cloudscape in. If you just want to use cloudscape as an embedded db you can use it with orion and run it in the same VM as orion. You have to supply an datasource in datasources.xml and provide a schema for cloudscape and set the cloudscape.system.home property in orion.properties or at the command line when starting orion. Put the cloudscape.jar in the orion/lib directory and the client.jar in the client classpath (for exception etc..) What would be the purpose of wrapping cloudscape in an servlet ? Do you mean that you want to program the acces to the database yourself in the servet? Note I couldn't get cloudscape working with CMP, with BMP there were no problems but with cmp I get an strange error at the client side (object was null but still part of the cache). So if you get cloudscape working with CMP will you please let me know how you did it ? The xml files are supplied as an zip attachment. Hope this helps. Greetings Wim Veninga cloudscapeXML.zip
Orion and Cloudscape
Hi all: Can I make Orion and Clouscape run in the same VM? In that case, how? Wrapping Cloudscape in a servlet and running it within Orion? Any particular measure I should take in that case? All suggestions would be very welcome. Thanks J.
RE: HOWTO Sun's Java Pet Store Orion 1.0 Cloudscape JDBMS win98
Kirk, I just sent an e-mail to [EMAIL PROTECTED] with a normal e-mail attachment (I am using outlook) and it seemed to work, the stuff even showed up in the e-mail archives on the Orion servers. Hope this helps. Regards, Rob Lapensee Director of Technology Delfour Corporation [EMAIL PROTECTED] www.delfour.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kirk Kalvar Sent: Friday, July 07, 2000 9:59 PM To: Orion-Interest Subject: HOWTO Sun's Java Pet Store Orion 1.0 Cloudscape JDBMS win98 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
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
HOWTO Sun's Java Pet Store Orion 1.0 Cloudscape JDBMS win98
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