Access EJB's from a standalone client.

2000-12-21 Thread Martin Andersson
I'm having problem trying to access EJB's from a standalone client. I have no problem using these beans from a JSP-page within Orion but trying to access them from outside Orion doesn't work. Please let me know how to make this happen. I'm currently using version 1.3.8. Merry Christmas :) /M

RE: compound key

2000-12-21 Thread Tim Squires
Ooops, Thanks Stanislas. Don't for get the hashCode and equals methods in the primary key classes -Original Message- From: Stanislas Truffaut Sent: 20 December 2000 17:11 To: Tim Squires Subject: RE: compound key Hi, be carefull a PK class as said in ejb specification must

Re: Stress orion = servlet engine failed arround 200 users

2000-12-21 Thread Marcus Ahnve
We've performed quite a few loadtests with logins, insertion into databases etcetera. The server used for testing has two PII 550 and 768 MB of RAM. As long as there are enough connections to the database (see previous posts about that) we can see very stable performance from Orion. We've had 40

Re: Stress orion = servlet engine failed arround 200 users

2000-12-21 Thread Joseph B. Ottinger
On Thu, 21 Dec 2000, Marcus Ahnve wrote: happy-customer While I'm at it I might as well recommend PureLoad from InnovativeIT. Excellent tool with a nice pricetag - much like Orion. /happy-customer It's always nice to see these! What URL? (I've been looking into a better tool than httpbench

Recursive call to non-reentrant bean error using BMP.

2000-12-21 Thread Stefan Jonsson
Hi all, I get this error message in the application.log file when I set the exclusive-write-access to "false" in the orion-ejb-jar.xml file. It's a BMP bean. 2000-12-21 10:23 Started2000-12-21 10:23 Error in bean TestHome: Error in ejbPassivatecom.evermind.server.rmi.OrionRemoteException:

How to put a internet page to a file.

2000-12-21 Thread cgreen
Hi,all: I want to read a internet page(e:http://www.microsoft.com/) and put the page to a file(e: c:/temp.txt). How to do ? Thanks very much! cgreen

QUESTION: Using the Standalone News Client

2000-12-21 Thread Robert Keith
Hi Everyone, Quick question, one the News Application is installed, I can access it fine using a web browser, but I would also like to see how it works using the standalone client. This is contained in the ear file in a jar file. Do I need to extract it and add it to my classpath before I can

Re: Stress orion = servlet engine failed arround 200 users

2000-12-21 Thread Christian Sell
happy-customer While I'm at it I might as well recommend PureLoad from InnovativeIT. Excellent tool with a nice pricetag - much like Orion. /happy-customer $14900 is a nice pricetag, indeed - depending from whose side you look at it. I dont see the similarities with orion, however (and sure

Re: How to put a internet page to a file.

2000-12-21 Thread Joseph B. Ottinger
This has virtually nothing to do with Orion. However, you can do this in a LOT of ways: "Save As" from your browser, you can use various mirroring tools, you could even use a URLConnection from java.net.* and use one of the java.io classes to write it to your local filesystem... as well as a

OrionSupport

2000-12-21 Thread Joseph B. Ottinger
A week or so ago, I posted a new document to OrionSupport: http://www.orionsupport.com/articles/vision.html In this, titled "In the Future," I try to address what I see OrionSupport being, and what facilities I'd like it to provide. This is a community effort; in addition to lack of knowledge,

RE: How to put a internet page to a file.

2000-12-21 Thread Stephane GINER
hello, here is the code to get http page. you can write it were you want ! best regards //create url objectInputStream l_urlStream; URL l_url = new URL(p_sUrl); //get a connctionHttpURLConnection l_connection = (HttpURLConnection) l_url.openConnection(); l_connection.connect();

Re: javax.naming.NameNotFoundException: agency not found

2000-12-21 Thread Peter Pontbriand
Does anybody know what could cause a javax.naming.NameNotFoundException: my bean name not found? I think my .xml files are fine, and I think this used to work! We've got the same problem - it seems Orion 1.4.4 can't decide whether to make EJB home interfaces available at

CMP-findBy method

2000-12-21 Thread tasneem
Hello everybody I have a problem i hav a CMP bean in which i am doing doing a findBy method to get some info from my table. As per the normal way i have mentioned the query in my home class. After deploying have also found the same query in the orion.ejb.jar xml file but when i run my

A few (newbie) problems with Orion

2000-12-21 Thread revivalatgt revivalatgt
Does anybody know what could cause a javax.naming.NameNotFoundException: my bean name not found? I think my .xml files are fine, and I think this used to work! Also, I'm getting a message: cmp-field 'carrier_id' not found in class eb.carriercompany.CarrierCompanyBean . I'm trying to access

Comunicating between EJBs and Application Client

2000-12-21 Thread Christopher Bartling
I've have what I hope is a really easy question to answer. I have a number of Session beans deployed to Orion (1.4.4 level), and everything works great when communicating from an application client (JSPs and servlets running Apache Tomcat) to the Orion server. Now I want to add some EJB to EJB

RE: Access EJB's from a standalone client.

2000-12-21 Thread David Ekholm
In order to connect a stand-alone client to my EJBs I place a jndi.properties file next to the .class files of the client like this -- java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory

Re: OrionSupport

2000-12-21 Thread Jay Armstrong
Hi Joseph, I don't have anything to contribute just at the moment, but when I get further along with a couple of my projects, I will be happy to contribute. Great site -- I am grateful for your help. Jay Armstrong [EMAIL PROTECTED] At 08:17 AM 12/21/00 -0500, you wrote: A week or so ago, I

Re: CMP-findBy method

2000-12-21 Thread Boris Gertsberg
Your select statement in findBy method MUST include EVERY mapped property of your Entity Bean even if you use partial SQL statement.(i.e:"select T_Hotel.hotel_name,T_Hotel.trans_xid from T_Hotel where T_Hotel.trans_xid=$1") After findBy method found each of your entity beans application

Is anyone using Jakarta Struts v1.0?

2000-12-21 Thread Michael S. Kelly
I've seen people talking about Struts v1.0, but the Struts site still advertises v0.5. What's the real latest version and where does one get it? Also, any early reviews of this tool? -=michael=- == Michael S. Kelly

Re: Distributed Transaction without EJB.

2000-12-21 Thread James Manning
[Scott Stirling] JTS is not officially part of J2EE, so I haven't had to deal with it personally. http://java.sun.com/j2ee/transactions.html This page seems to imply JTS and JTA are both included, esp. since they specifically say that they're RI includes a transaction manager that supports

Strange DataSourceUserManager behavior in 1.4.4

2000-12-21 Thread Werner Bohl
Hi: After a lot of effot I was able to use DataSourceUserManager. It works fine with my jsp's, but my standalone (swing) clients are only validated against XMLUserManager. Anyone has seen this behavior before? TIA, Werner Bohl Organization for Tropical Studies