Re: Servlet accessing

2001-10-11 Thread Huynh Ha
Hi! You can use servlet-mapping tag to do it. ... servlet-mapping servlet-namemyServlet/servlet-name url-pattern/myservlet/url-pattern /servlet-mapping ... Bye! Huynh Ha

RE: Error Accessing an EJB through a Bean

2001-10-11 Thread Owen Fellows
Don't know if this is the problem but its possible. When you use the client the classes you reference are the ones on the server with ejb. When you use the other server you are referencing old version of the classes and so you get a class cast exception. Make sure the classes are the same.

Re: Error Accessing an EJB through a Bean

2001-10-11 Thread Lachezar Dobrev
Hello. INLINE. We created a Bean to access an EJB from JSPs. First we tested the Bean from a Java Client and everything worked fine. Then we copied the Bean to the Orion server and tried to acces the EJB by using a JSP that instanciates the Bean that accesses the EJB. But we can not

Re: Servlet accessing

2001-10-11 Thread Morten Wilken
you need to set up the name you want associated with the servlet in your application's web.xml file... look at the docs for that :-) morten wilken -Original Message- From: Naveen Kamrudeen [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Date: 11. oktober 2001 05:13 Subject:

Remote EJB call with declarative security

2001-10-11 Thread Alberto Vilches
Hello Orion-Interest, I have a full J2EE application and I want to call a remote ejb in another orion with the same application. I use J2EE standard declarative security (by role-mapping) in the EJBs. I dont have a client-application.xml, I have a war (with web.xml with ejb/refs)

RE: Synchronized session bean?

2001-10-11 Thread Curt Smith
Simply put if there's $5 left in the bank, you wouldn't want to have a user withdraw $5 with two different web browsers if they hit submit at the same time... so we kinda want it to be like there's only one teller window, and the servlets have to wait their turn. A poster already

Re: Synchronized session bean?

2001-10-11 Thread El Jeffo
** Okay guys, I've updated this email with a decent example I hope ** Access to each session bean instance is serialized, but the spec doesn't specifically allow you to say there may only be one instance of a particular session bean class. ** so in otherwords, pretty much it achieves the

Re: Problems with CMP/MySQL

2001-10-11 Thread Marcus Ahnve
I've just (10 minutes ago) been through this. You need to set type-mapping type=boolean name=char(1)/. The MySQL online documentation says that bit and bool gets converted to char(1), but in reality they where set to tinyint(1), which Orion for some reason could not use. The above solution

Orion on Linux, Follow-up Question

2001-10-11 Thread Jimbo Jones
My previous problem, starting Orion on linux, was due to the fact that I was calling upon the wrong JVM (even though I thought I had my path set correctly). That is resolved. Now I have another problem that seems more linux-related than Orion-related, but perhaps some of you know the

RE: Error Accessing an EJB through a Bean

2001-10-11 Thread Cugier (extern)
We got it to work, thanks to the help of Simon Knott and Lachezar Dobrev. The reason was that the class file of the EJB was in multiple archive files. Simon also added a - in my opinion - good explanation why it didn't work to his reply. I will post here now with his permission, as he replied

WebLogic To Orion

2001-10-11 Thread Greg Flores
We have migrated a current production application from Weblogic to Orion in antest to come up with an alternative platform and have come across some issues. Most of the issues we have been able to resolve except for one involving ssl and I.E. Whenwe bring our application up inI.E. and

RE: Orion on Linux, Follow-up Question

2001-10-11 Thread Montebove Luciano
Hi Jimbo, You can find some responses here http://www.orionsupport.com/articles/unixprocess.html Luciano -Original Message- From: Jimbo Jones [mailto:[EMAIL PROTECTED]] Sent: giovedì 11 ottobre 2001 15.34 To: Orion-Interest Subject: Orion on Linux, Follow-up Question My previous

call-timeout value

2001-10-11 Thread Daniele Arduini
Hi all, from orionserver documentation I read: orion-ejb-jar enterprise-beans session-deployment ... call-timeout - The time (long millis in hex) to wait for an EJB if it is busy (before throwing a RemoteException, treating

Problems with orion and db2 on linux

2001-10-11 Thread Sven Lüdtke
Hi, I'm trying to get the news-example that comes with orion to work on a linux machine using IBM DB2 (v7.1, Fixpack 4) as a data-source. Deploying auto-creating tables work just fine, but invoking the application in a brwoser with http://myhost:8080/news/; results in following exception:

FW: How to get the RoleManager (resend)

2001-10-11 Thread David Potts
-Original Message- From: David Potts Sent: 11 October 2001 10:02 To: 'Orion-Interest' Subject: RE: How to get the RoleManager inline -Original Message- From: Mike Cannon-Brookes [mailto:[EMAIL PROTECTED]] That won't help - I think shared sessions only work

RE: WebLogic To Orion

2001-10-11 Thread The elephantwalker
Greg, In your *web-site.xml files, you will need to set shared=true in your default-web-app and web-app tags. The bug you have encountered is an IE bug. Do not evaluate version 1.3.8, its too old. use version 1.5.2 Regards, the elephantwalker -Original Message-From:

Re: Synchronized session bean?

2001-10-11 Thread El Jeffo
Ah... this is very interesting! Much thanks, and if you know of a good book that might address many of these problems with other alternate solutions, please, do let me know. Jeff UPDATE account set balance = ? where column_version_num = ? ; I call stment.setString (1,

Re: WebLogic To Orion

2001-10-11 Thread Ed Brown
Quoting Greg Flores [EMAIL PROTECTED]: We have migrated a current production application from Weblogic to Orion in an test to come up with an alternative platform and have come across some issues. Most of the issues we have been able to resolve except for one involving ssl and I.E. When

problem using primary key class with orion

2001-10-11 Thread Jack C. Miller
I am having some difficulty getting orion to use my primary key class during deployment. I have an EJB AnyPerson with which I use a primary key class AnyPersonKey that has a public java.lang.String primaryKey field. During deployment, I get a compilation error that looks like the CMP isn't

RE: WebLogic To Orion

2001-10-11 Thread Greg Flores
Yes we do. The problem seems to be associated with I.E. When we use Netscape, we encounterno issues. Greg Flores -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED]Sent: Thursday, October 11, 2001 12:58 PMTo:

Re: WebLogic To Orion

2001-10-11 Thread Nick Newman
Greg, This has been covered in previous postings. Here's a quote from one of them (start quote) This is a configuration problem... at least it was in earlier versions. You must make sure to include the attribute 'secure=true' in the web-site tag of your secure-web-site.xml file. Also, make

Syntax of distributable/ tag?

2001-10-11 Thread Steve Best
What is the correct syntax for the distributable / tag, I have placed it in out web.xml file every way I can think of and I keep getting errors. Thanks Steve

RE: Syntax of distributable/ tag?

2001-10-11 Thread The elephantwalker
distributable / should be placed after the display name. What errors are you getting? All session context variables need to be serielizable ... is this the error you are getting? regards, the elephantwalker www.elephantwalker.com -Original Message-From: [EMAIL PROTECTED]

RE: problem using primary key class with orion

2001-10-11 Thread Alex Paransky
And if you are using EJB 2.0 style CMP, hopefully, the primaryKey is defined as: public abstract String getPrimaryKey(); public abstract void setPrimaryKey(String key); or as a public String primaryKey; in a 1.0 style CMP. Methods. Right? -AP_ -Original Message- From: [EMAIL

Re: WebLogic To Orion

2001-10-11 Thread Michael J. Cannon
Why Orion? Because from day-to-day, no matter how many CPUs, no matter what the BEA Sales Executive's outstanding Mercedes lease payment, no matter what...Orion is USD$1500 / physical server license for deployed applications and every developer seat is free...because IT management need never