Re: "Wrapping" orion around an existing database

2000-07-30 Thread Damian Guy
The 'correct' way would be to create an entity bean for each table that is accessed from your database. If you use container managed persistence you could do something like so: public class News { /** define all container managed fields (database fields) **/ public String title;

ear deployment problem

2000-07-30 Thread Adam Cassar
Greetings, I am having a problem deploying a ear in orion. The ejb appears to deploy however my war get the following error: Error instantiating web-application Error loading web-app 'domain-test-web' at /usr/local/orion/apps/domain-test/domain-test/domain-test-web: /usr/local/orion/apps/doma

"Wrapping" orion around an existing database

2000-07-30 Thread Jason Amy
I'm looking into using orion to talk with a mySQL database that already exists (actually will exist). Is there a 'correct' way to map EJB's to existing tables (or any tools)? Or do I just create EJB's with the same name(s) and have persistent members that match the names of the existing table fi

Re: EJB CLIENT

2000-07-30 Thread Damian Guy
I am having a similar problem. My jndi.properties file seems correct, but when I try: java -classpath blah.. mfg.client.test a javax.naming.NameNotFoundExcpetion is thrown. Any ideas ? TIA, Damian wim veninga wrote: > > Hi David, > > I suppose you have given your application (on the server

Re: java.lang.IllegalArgumentException: shortname notspecified in TLD

2000-07-30 Thread Guilherme Ceschiatti
Thank you very much! It worked. But it's strange because the Sun J2EE do not need the description. Lorin Kobashigawa wrote: > > What does your taglibrary's descriptor file look like? It looks like you > are missing a description in your .tld file. > > The top of it should look something like.

new to orion datasources one simple question

2000-07-30 Thread Robert Balahura
Hi, I am using a JDBC 2.0 driver and configured the data-sources.xml with this driver. I want to know which JNDI location I should be looking up to getConnection() in my application to use connection pooling - these are the choices: location="jdbc/DefaultDS" pooled-location="jdbc/DefaultPooledDS

anyone have get to run Cloudscape "Simple" example !!!

2000-07-30 Thread nirav dani
Hi, I gave many try to run Cloudscape 3.5 database's "Simple" example on my linux box. here is the detail info. on my profile file and output from cloudscape. Testing for presence of Cloudscape-related libraries for embedded environment. FOUND IN CLASS PATH:

Re: graphical console remotely

2000-07-30 Thread Guilherme Ceschiatti
Hi! You can do it if you install an X Server in your Windows. The best one is Exceed, but is VERY expensive. There are also many freewares or sharewares X Servers avaiable for Windows. Brady Moritz wrote: > > Yes, this is the way to do it, Rick Bos pointed me in this direction. Now im > just ah

Re: Multiple datasources and CMP

2000-07-30 Thread Erwin Brinkhuis
Hi Rick, Place the orion-ejb-jar.xml in a /orion folder in your ejb jar file, Orion will then use your jarred orion-ejb-jar.xml file during deployment. Bye, Erwin Brinkhuis - Original Message - From: "Rick Bos" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Sunday,

RE: High volume web app & orion.

2000-07-30 Thread Kevin Duffey
2000..is that all? Orion can easily handle that. If you are running multiple processors on the front-end, (or back-end), it might not be a bad idea..if possible, to run multiple instances of Orion..one for each cpu. Just a thought..not sure if its good to do that or not.

RE: Multiple datasources and CMP

2000-07-30 Thread Rick Bos
Can I put orion-ejb-jar.xml in my development directory ( where path=" " in server.xml points to ), or do I have to go into the application-deployments directory to change it ? I copied orion-ejb-jar.xml to my development directory where my ejb-jar.xml is but changing it there did not seem to

Calling EJB from JSP via a JavaBean

2000-07-30 Thread Holmes, George (TWIi London)
Title: Calling EJB from JSP via a JavaBean Hi, Does anyone know of a way to set-up a JSP that calls a JavaBean that in turn calls an EJB. I have a servlet running that interfaces with the EJB fine, but I really need to push the functionality into  JSP.  I have done this in Sun's Reference

Re: java.lang.IllegalArgumentException: shortname not specified in TLD

2000-07-30 Thread Lorin Kobashigawa
What does your taglibrary's descriptor file look like? It looks like you are missing a description in your .tld file. The top of it should look something like... 1.0 1.1 something Unique identifier a description of the tag library

Re: Multiple datasources and CMP

2000-07-30 Thread Robert Krueger
At 08:43 30.07.00 , Rick Bos wrote: >If I have several datasources, how do I specify which one >a CMP Entity bean is to use ? look at the entity-deployment element in orion-ejb-jar.xml. it has a data-source attribute for that. change it, orion will not modify it on the next redeployment. r

RE: graphical console remotely

2000-07-30 Thread Brady Moritz
Yes, this is the way to do it, Rick Bos pointed me in this direction. Now im just ahving a bit of trouble actually getting it to connect. it keeps giveing me conneciton refused messages. I assume it wants an ormi://ip address location, im not sure my login and pw are correct though. Thanks Brad

Multiple datasources and CMP

2000-07-30 Thread Rick Bos
If I have several datasources, how do I specify which one a CMP Entity bean is to use ?

Virtual Host

2000-07-30 Thread raaf
Hi I don't understand this solution described in FAQ: How do I add virtual hosts to my orion server? In the server.xml file, there's a web-site node, which has a default path of ./default-web-site.xml. To add a new site, you would add a new node of this type, pointing to the new XML file. Addin

Re: graphical console remotely

2000-07-30 Thread Robert Krueger
I think he meant running the client (management console) locally on the windows box connecting to an orion server instance running on the linux server without X. if I haven't misunderstood the concept the console can talk to many remote servers via the ormi protocol (wire protocol of orion's

java.lang.IllegalArgumentException: shortname not specified in TLD

2000-07-30 Thread Guilherme Ceschiatti
Hi! I just installed the Orion application server. I just downloaded it and tried to run a simple app that runs perfectly at Sun's J2EE, but I got this message. How can I fix it? java.lang.IllegalArgumentException: shortname not specified in TLD at java.lang.Throwable.(Throwable.java:96)

HELP: Transaction was rolled back: timed out

2000-07-30 Thread Vidur Dhanda
Hello, I need help in working around this exception. Here's the scenario. In a stateful session bean, a particular method takes several seconds (and maybe even a minute or so) to execute. While executing it _reads_ another entity bean. The session bean is marked "transaction required" and use