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;
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
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
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
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.
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
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:
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
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,
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.
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
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
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
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
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
If I have several datasources, how do I specify which one
a CMP Entity bean is to use ?
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
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
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)
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
20 matches
Mail list logo