Re: multiple instances of a servlet?

2001-08-07 Thread Daniel López
Hi Ville, Do you, by any chance, have different names defined for your controller servlet in the web.xml file? I also have my own ControllerServlet framework and I just have a single instance, unless I define more than one name for the same servlet. If you define different web applications you wo

NullPointerException during deployment...

2001-08-07 Thread Alex Paransky
I just spent 3 hours tracking a NullPointerException which occured during deployment of an ejb-jar.xml (Orion 1.5.2 Windows 2000, JDK 1.3.1). For the benefit of everyone else: If you get a NullPointerException without any other messages from orion during deployment, check to make sure that any b

RE: multiple instances of a servlet?

2001-08-07 Thread Kevin Duffey
You are correct..I didn't even consider instance variables such as used for a request counter to any given servlet. Good point. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Joel Shellman > Sent: Tuesday, August 07, 2001 2:43 PM > To: Orion-Intere

Using OpenJMS with orion

2001-08-07 Thread kevin1
I have a pretty simple problem, I think. I want to be able to use orion to process messages coming from a remote server. I tried using MDB's but that does not seem to work. I have written the code for a message listener, and I am wondering how to use it with orion. Can I plug in OpenJMS suppo

RE: Error binding to server...... Exception

2001-08-07 Thread Vijay Pawar
Hi Kesav, You are right there was difference in these two files in my case. Can you please tell how to specify the directory in application.xml so that it will pick up utility classes from the files. I have put all the utility classes under applications\micropay\micropay\WEB-INF\classes directory

Re: ipchains and Orion

2001-08-07 Thread kc
This will probably solve (2) Example: rest of file http://www.orionsupport.com/articles/unixprocess.html KC - Original Message - From: "Darren Gibbons" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Wednesday, August 08, 2001 4:12 AM Subje

Re: multiple instances of a servlet?

2001-08-07 Thread Richard Wu
if you really care performance, you shouldn't use singlethreadmodel in first place. - Original Message - From: "Ville Rinne" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Tuesday, August 07, 2001 7:06 PM Subject: RE: multiple instances of a servlet? > Kevin, let me k

FW: Logging in to server twice does not work.

2001-08-07 Thread Christian . Tellefsen
In think the message was lost again, trying one more time. Sorry for the repost... > Does anyone know how to login again when the first attempt fails? > > Logging in twice seems to be impossible. How to reproduce: > > import javax.naming.*; > import java.util.*; > > /** > * InitialContext

RE: ipchains and Orion

2001-08-07 Thread Simon Evans
in response to the redirect question, you need the following line in default-web-site.xml this will tell redirects to use the given host and port -Original Message- From: David Morton [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 07, 2001 1:31 PM To: Orion-Interest Subject: Re: ip

RE: multiple instances of a servlet?

2001-08-07 Thread Ville Rinne
Kevin, let me know how your tests came out. I did some more testing myself and I found it strange that when I created a specific simple test-servlet for this case I didn't manage to get more than one instance of it created. I'll do some more testing tomorrow but there is definitely something stran

JMS and clustering

2001-08-07 Thread Spencer Lu
I've got 2 Orion servers in a cluster-island.  I'd like to have objects running in both servers be able to communicate with each other using JMS.  In order for this to work, does each Orion server still need to start up its own JMS server?  Or do I somehow configure one Orion server to start

RE: multiple instances of a servlet?

2001-08-07 Thread Joel Shellman
Not true. Since the spec says only one instance, the programmer could assume this and utilize instance variables. This would not work as expected (per spec) if there were multiple instances handling requests. It is arguably a bad idea, but there are situations where it might be useful and would wo

Re: CvsWeb

2001-08-07 Thread Tim Endres
> I have the cvs web perl script that we used to use with apache I have tried with no >luck to get it working with orion. > > Has anyone here done this? get some type of cvs web scrip working for orion. > > Thanks.. > Frank I have gotten jCVS Servlet to work (www.jcvs.org), but then it is ser

Re: ipchains and Orion

2001-08-07 Thread David Morton
I recommend using IPTABLES.THIS IS HOW I DO ITworks great...i got ipchains working, but didn't log remoteAddr...probably is a workaround out there, but I recommend iptables (on linux) David Darren Gibbons wrote: > Hi all, > > Apologies if this is the second time for this email -- I

EJB 2.0 relations

2001-08-07 Thread Tzankov, Dobromir
> Hi! > > I have been tying to deploy some EJB 2.0 having 1:many relationships > without much success. > > The postings I found seemed to contain mixed information whether there > should be cmp-field entry for the cmr field in the ejb-jar.xml file or > not. All of the postings were pre-1.52 as

ipchains and Orion

2001-08-07 Thread Darren Gibbons
Hi all, Apologies if this is the second time for this email -- I sent it first while the listserv was down. We're testing Orion running under Linux, and we'd prefer not to run it as root for obvious reasons. I've currently got it running as user 'orion' on port 8000, and am redirecting requests

Re: Roll-BACK question.

2001-08-07 Thread Michael Jara
Title: SV: Roll-BACK question. Referring to the EJB1.1 spec, application exceptions (i.e. any exception that you make, subclassed from Exception) do not roll back transactions.  This is so that EJB can give the application a chance to recover from the exception.  To make the transaction roll

RE: multiple instances of a servlet?

2001-08-07 Thread Duffey, Kevin
Even so, an app server utilizing more instances wont break the spec per se...meaning, a spec built application will still run just fine. I can't imagine that Sun dictates how a vendor must specifical handle instances..that wouldn't break any application. > -Original Message- > From: richa

Auto-reply: Access without using the ACC??

2001-08-07 Thread ORAPOST
I am out of the office until September 5th.  Please contact Mark.Reeves:oracle.com if you require assistance.   Regards Antony   BEGIN:VCARD VERSION:2.1 N:Reynolds;Antony;J FN:Antony J Reynolds ORG:http://www.oracle.com/index.html"; target="_top">http://www.oracle.com/admin/images/oraclelogo.

RE: Oracle JDBC problems on Solaris 8

2001-08-07 Thread Chuck Butkus
My bad!! I had a bad URL for Oracle in my data-sources.xml file. -Original Message- From: Chuck Butkus [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 07, 2001 1:46 PM To: Orion-Interest Subject: Oracle JDBC problems on Solaris 8 I'm having a problem with Orion and the Oracle 9i thin

Re: multiple instances of a servlet?

2001-08-07 Thread richard wu
The following is from spec 2.3: SRV.2.2 Number of Instances For a servlet not implementing SingleThreadModel and not hosted in a distributed environment (the default), the servlet container must use only one instance per serv-let declaration. A servlet declaration is part of the deployment descri

Http Tunneling works in 1.4.5 but not in 1.5.2

2001-08-07 Thread Gust - Techadv
Http Tunneling works in 1.4.5 but not in 1.5.2. Has anyone else run into this? Gust Vasilopoulos

CvsWeb

2001-08-07 Thread Frank Apap
I have the cvs web perl script that we used to use with apache I have tried with no luck to get it working with orion.   Has anyone here done this?  get some type of cvs web scrip working for orion.   Thanks.. Frank

INFO NEEDED ?

2001-08-07 Thread Gurinder Randhawa
How the hell do you unsubscribe ? I've tried different unsubscribe email addresses including this one, and i'm still getting emails ? Anyone ? Thanks Gurinder

Oracle JDBC problems on Solaris 8

2001-08-07 Thread Chuck Butkus
I'm having a problem with Orion and the Oracle 9i thin JDBC driver. I'm going against an Oracle 9.0.1.0.0 DB. The driver works fine in a simple application running on both Solaris 8 and Windows 2000. It also works fine in Orion under Windows 2000. But when I run it in Orion under Solaris 8 I g

RE: multiple instances of a servlet?

2001-08-07 Thread Duffey, Kevin
Keep in mind that every app server is allowed to implement the spec in their own manner. It does sound peculiar, but it is very possible that Orion gets its performance by pooling a few servlet instances even without the single threaded model. I don't know for sure, but that seems logical. B

Re: multiple instances of a servlet?

2001-08-07 Thread richard wu
Isn't the way SingleThreadModel supposed to work? --- Ville Rinne <[EMAIL PROTECTED]> wrote: > We've implemented the request-controller pattern > using a servlet as the entry-point of all our > jsp-pages. For some reason Orion creates multiple > instances of this servlet even though it isn't > im

Re: Roll-BACK question.

2001-08-07 Thread Eddie Post
Title: SV: Roll-BACK question. Thanks Patrick,   Let me check if I understand you correctly: So what I do is: make my own Exception, that extends Exception, and just before I throw my exception I call setRollbackOnly that's it ??   Thanks, Eddie - Original Message - From:

RE: Error binding to server...... Exception

2001-08-07 Thread Kesav Kumar
Then verify the ejb-name in ejb-jar.xml and web.xml where you have referenced the ejb with ejb-ref element.  Both got to be same name.  MpSellerManager must not be bound to JNDI with the same name.  Check your ejb-jar.xml and verify the ejb-name for MpSellerManager matches with your ejb-ref

RE: Concurrency

2001-08-07 Thread David Libke
Greetings, Unfortunately the only way to resolve your concurrency problem is to use an Entity bean containing you list. That way your Session bean acquires in its create and activate methods a reference to the list entity bean and releases it in the passivate and remove methods. Your Entity bean

multiple instances of a servlet?

2001-08-07 Thread Ville Rinne
We've implemented the request-controller pattern using a servlet as the entry-point of all our jsp-pages. For some reason Orion creates multiple instances of this servlet even though it isn't implementing SingleThreadModel and there isn't anything peculiar about it. I have the servlet printi

Re: Test mail

2001-08-07 Thread Vijay Pawar
:-) Don't send blank mails. this list always work fine. Please send only serious issues. This is request to all. If you fired single mail it goes to all who are subscribed the archive list. regards, Vijay --- Karl Avedal <[EMAIL PROTECTED]> wrote: > Testing to see that everything is now ok with t

Re: Error binding to server...... Exception

2001-08-07 Thread Vijay Pawar
Hi Vikas, It's very strange behaviour. I tried to lookup through the Java filei.e. I am looking for all the EJB's at centralized place. Some time lookup by java:comp/env/jndi_name will work some time just jndi_name will work and sometime both will not. :-) I tried it with lot combination. Why

RE: Unusual freezing of Orion - control-c does not kill the process

2001-08-07 Thread APanagos
Title: RE: Unusual freezing of Orion - control-c does not kill the process What database server did you change to ? ap -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tom Bruser Sent: Tuesday, August 07, 2001 3:33 AM To: Orion-Interest Subject: Unu

SV: Roll-BACK question.

2001-08-07 Thread Patrik Andersson
Title: SV: Roll-BACK question. Accordning to the EJB spec you can NEVER let your exceptions extend RemoteException. They must inherit java.lang.Exception either directly or indirectly (although not java.rmi.RemmoteException or java.lang.RuntimeException). Also, prior to throwing your applicati

stub classes

2001-08-07 Thread Vikas Malhotra
Vikas Please fired up following query in Orion Forum   Orion says in documentation that   "Orion dynamically creates the stub classes as it needs them. We want to make system maintenence and development as smooth as possible and compiling stubs is not a necessary step."But if something goes

Roll-BACK question.

2001-08-07 Thread Eddie Post
Hellu, I want to to force a roll-back in my EJB method (I use CMP), under certain curcumstances. I like to do that by trhowing a self-made exception, but this doesn't work, please some help ? What I do ?: I extend an self-made exception on RemoteException (also extended it on the EJBException)

Access without using the ACC??

2001-08-07 Thread Noel Hebert
All, Please forgive if this is a dumb, stupid query. Have read the available docos and read this list. I still have one little query!  Is there some way to write a simple test client that does not require the Application Client Container (ACC)?   If I deploy a simple EJB like a "HelloWorld" Be

Unusual freezing of Orion - control-c does not kill the process

2001-08-07 Thread Tom Bruser
Today I experienced a very unusual freezing of Orion when running an application that worked just fine prior to changing database servers. I have an application that uses several Entity EJB's and one Stateless Session EJB. The Entity EJB's have all their methods marked as 'Supports' for transact

Re: Transaction question

2001-08-07 Thread Eddie Post
Hellu, Does someone knows if Orion supports a default transaction attribute as specified in the EJB 2.0 spec. Thanks Simon, Eddie - Original Message - From: Simon Evans <[EMAIL PROTECTED]> To: Orion-Interest <[EMAIL PROTECTED]> Sent: Monday, August 06, 2001 6:40 PM Subject: RE: Transact