RE: Can't find servlet

2002-05-16 Thread Ian Roughley
't find servlet Hi, I am registering the servlet in web.xml even then, I am getting an error saying that the servlet not found. do I need to register the servlet anywhere else ? this may be trivial but , could not figure out. Thanks Sri

Can't find servlet

2002-05-16 Thread Krishnan, Sri
Hi, Can someone let me know what are the values I need to specify for the servlet-mapping and url-pattern tags in the web.xml. I am having a problem to see the servlet from my jsp page. Thanks Sri -Original Message- From: Krishnan, Sri Sent: Wednesday, May 15, 2002 5:20 PM To: Orion

Can't find servlet

2002-05-15 Thread Krishnan, Sri
Hi, I am registering the servlet in web.xml even then, I am getting an error saying that the servlet not found. do I need to register the servlet anywhere else ? this may be trivial but , could not figure out. Thanks Sri

RE: Accessing an EJB in Orion App server from a servlet in Iplanet

2002-04-25 Thread nishant usapkar
-Interest Subject: RE: Accessing an EJB in Orion App server from a servlet in Iplanet Hello, I have tried several times with different options 1. If I try Object homeObject = ctx.lookup("java:comp/env/fred/fredBean"); instead of Object homeObject = ctx.lo

RE: Accessing an EJB in Orion App server from a servlet in Iplanet

2002-04-24 Thread Grum Ketema
planet Regards, Grum -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of sbpodila Sent: Wednesday, April 24, 2002 12:20 AM To: Orion-Interest Subject: Re: Accessing an EJB in Orion App server from a servlet in Iplanet Did you got any error or exception while trying to acc

Re: Accessing an EJB in Orion App server from a servlet in Iplanet

2002-04-23 Thread sbpodila
, April 24, 2002 6:54 AM Subject: Accessing an EJB in Orion App server from a servlet in Iplanet > Hello, > > I have been trying to access an EJB deployed in Orion app server from a > servlet deployed in Iplanet. I have > the following code in the servlet > > Hashtable env = new Has

Accessing an EJB in Orion App server from a servlet in Iplanet

2002-04-23 Thread Grum Ketema
Hello, I have been trying to access an EJB deployed in Orion app server from a servlet deployed in Iplanet. I have the following code in the servlet Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory"

RE: PHP servlet

2002-02-22 Thread Fyffe Carl
Subject: PHP servlet Has anyone out there managed to get PHP 4.1.1 to compile as a servlet and work with Orion? It compiles and I can install it, but any attempt to access a PHP document throws an "Unexpected Exception", and you get a couple of screenfuls of backtrace from the JVM. To c

PHP servlet

2002-02-22 Thread Simon Stewart
Has anyone out there managed to get PHP 4.1.1 to compile as a servlet and work with Orion? It compiles and I can install it, but any attempt to access a PHP document throws an "Unexpected Exception", and you get a couple of screenfuls of backtrace from the JVM. To compile PHP use some

global servlet initialization parameters?

2002-02-18 Thread Mark Weaver
is there any way to specify inititialization parameters in orion so that 2-3 different related web applications can all access them with ServletConfig.getInitParameter() or ServletContext.getInitParamter()? tomcat appears to allow this through the use of a default context, but i can't make o

a servlet death...

2002-02-15 Thread daniele rizzi
Dear Sirs, I've got a servlet dying of premature death; worse still, this crashes even the application server and seems there are no hints of what happened. Where could I start to look into? thanks for any hint daniele rizzi ([EMAIL PROTECTED]) ps. I'm working with oc4j v1 (or ol

Re: automatic invocation of servlet as the root-service

2002-02-02 Thread Tom Gallaway
Please take off your email list. Technologent - Original Message - From: "Jeff Schnitzer" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Thursday, January 31, 2002 8:01 AM Subject: RE: automatic invocation of servlet as the root-servi

Re: automatic invocation of servlet as the root-service

2002-02-02 Thread Curt Smith
> How to setup virtual hosting with Orion: > > http://kb.atlassian.com/content/orionsupport/articles/vhosts.html Thanks Scott, great tutorial on virtual hosting with orion! Ya gotta love Orion, the orion developers, all the folks from Atlassian, Elephantwalker and mail list contributors!!

Re: automatic invocation of servlet as the root-service

2002-02-01 Thread Scott Farquhar
; >> >> The drawback of this method is, that now _only_ the servlet can be >> invoked within this instance of orion - nothing else! But for our >> purposes this is just fine. >> > It would be great if the J2EE /web.xml specs supported virtual hosting. > I.E.

Re: automatic invocation of servlet as the root-service

2002-02-01 Thread Curt Smith
> > > > >The drawback of this method is, that now _only_ the servlet can be >invoked within this instance of orion - nothing else! But for our >purposes this is just fine. > It would be great if the J2EE /web.xml specs supported virtual hosting. I.E. URL based rout

Re[2]: automatic invocation of servlet as the root-service

2002-02-01 Thread Robert Virkus
Hello Igor, Brent & Jeff (and everyone else ;-), thanks again for your quick reply! - and thanks for your http-redirect help! Now I found another simple solution for setting up a servlet as a root of a web-application. I just define my servlet in the web.xml and map it to the url-pat

Re: automatic invocation of servlet as the root-service

2002-02-01 Thread Maximilian Eberl
for correct syntax Max - Original Message - From: "Robert Virkus" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Wednesday, January 30, 2002 10:06 AM Subject: automatic invocation of servlet as the root-service > Hello everybody! >

RE: automatic invocation of servlet as the root-service

2002-01-31 Thread Smith Jason
Sounds like you should use a filter! Check out the filter tutorials at orionserver.com. /Jason -Original Message- From: Robert Virkus [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31, 2002 9:27 PM To: Orion-Interest Cc: Orion-Interest Subject: Re: automatic invocation of servlet

RE: automatic invocation of servlet as the root-service

2002-01-31 Thread Jeff Schnitzer
Create a default.jsp with either: or <% response.sendRedirect("your/servlet/path"); %> depending on which fits your preference best. I find that the redirect is a bit better for debugging because jsp:forward munges any errors. I never managed to configure Orion to use

RE: automatic invocation of servlet as the root-service

2002-01-31 Thread brent . parsons
Hi Here is what I would try. Setup a context for your app (Servlet) Setup a defautl/welcome type pages for the root of your web server, say redir.html. Have that page do a redirect to the servlet resource using the standard HTML meta tag. http://your-site/your-servlet-resource

Re: automatic invocation of servlet as the root-service

2002-01-31 Thread Robert Virkus
Hello Igor & everyone out there, thanks for your help, I set the servlet-webdir to "" in the orion-web.xml and set the welcome file in the WEB-INF/web.xml to my desired servlet ( com.scaraboo.servlet.Loadbalancer ) but if I surf to the root (eg. http://127.0.0.1), I j

servlet-mapping

2002-01-31 Thread Dan Ascheman
_ Chat with friends online, try MSN Messenger: http://messenger.msn.com

automatic invocation of servlet as the root-service

2002-01-31 Thread Robert Virkus
Hello everybody! I hope someone can give me a hint for my problem: I want to try to use a servlet as the root of my web-application, so I want the servlet/com.company.mystuff.MyServlet - servlet called, when I do not specify any file in my http-request. So I want to map my servlet to the root

RE: Servlet reload problem

2002-01-29 Thread Nusairat, Joseph F.
Title: RE: Servlet reload problem Are u using code that is calling another servlet? Or is this servlet being called from another one. Cause if the servlet is being called by another one you'd have to move both over both Joseph Faisal Nusairat, Sr. Applications Developer WorldCom tel

Re: Servlet reload problem

2002-01-29 Thread Jeff Hubbach
touching web.xml works for me, the container reloads the new servlet classes. Jeff. On Tue, 29 Jan 2002 17:00:20 +0100 Paul van Beukering <[EMAIL PROTECTED]> wrote: > restart orion > > -Original Message- > From: Tommi Penttilä [mailto:[EMAIL PROTECTED]] > Sent: di

RE: Servlet reload problem

2002-01-29 Thread Paul van Beukering
restart orion -Original Message- From: Tommi Penttilä [mailto:[EMAIL PROTECTED]] Sent: dinsdag 29 januari 2002 12:20 To: Orion-Interest Subject: Servlet reload problem My servlet-classes won't reload. After I recompile changed servlet and http-GET it via orion's (1.5.3) web

Servlet reload problem

2002-01-29 Thread Tommi Penttilä
My servlet-classes won't reload. After I recompile changed servlet and http-GET it via orion's (1.5.3) web-interface, orionconsole reports that Servlet was initialized, but I get the same result on browser than before compiling. I did put orion-web-app/@development=true on the web-

Sending Cookies to an ASP Page from a Servlet

2001-12-06 Thread APapada
Hi, I'm writing a servlet that is to redirect the user to a remote website. This remote website requires me to send three cookies. Unfortunately, I cannot seem to send a cookie using the response.sendRedirect method. The following is a test servlet that I wrote to test sending co

Urgent :: How to access JMS service from Servlet/JSP

2001-11-19 Thread Lomesh Contractor
, for that I am using JMS. For each changes I am calling servlet and that servlet will in turn contact to other two servers for reflection of changes. Now, I am using property file( as in attachment) that have each servers required(Contact) information. Now, while initialization of server I

Re: Re[2]: Urgent :: How to access JMS service from Servlet/JSP

2001-11-13 Thread Vani H.S.
Thank you very much. I sincerely appreciate your help. Best regards, Vani >From: "Sergey G. Aslanov" <[EMAIL PROTECTED]> >Reply-To: Orion-Interest <[EMAIL PROTECTED]> >To: Orion-Interest <[EMAIL PROTECTED]> >Subject: Re[2]: Urgent :: How to access JMS ser

Re: Trouble with session between JSP and Servlet

2001-11-13 Thread Lachezar Dobrev
Hello. I had the same problem. It was because of the browser. JSP location: http://myserver.com/Init.jsp The JSP redirected to the Servlet after it does it's job. BUT! The redirection went to: http://www.myserver.com/servlet/MyServlet The browser (IE) did not reco

Re[2]: Urgent :: How to access JMS service from Servlet/JSP

2001-11-12 Thread Sergey G. Aslanov
av Kumar <[EMAIL PROTECTED]> >>Reply-To: Orion-Interest <[EMAIL PROTECTED]> >>To: Orion-Interest <[EMAIL PROTECTED]> >>Subject: Re: Urgent :: How to access JMS service from Servlet/JSP >>Date: Mon, 12 Nov 2001 01:47:03 -0800 >> >>You don&

Re: Urgent :: How to access JMS service from Servlet/JSP

2001-11-12 Thread Vani H.S.
L PROTECTED]> >Subject: Re: Urgent :: How to access JMS service from Servlet/JSP >Date: Mon, 12 Nov 2001 01:47:03 -0800 > >You don't need application-client.xml if you want to access JMS from >servlets. > >You have to write your queueconnection and q

Re: Urgent :: How to access JMS service from Servlet/JSP

2001-11-12 Thread Kesav Kumar
Queue Container Once you have the resource-ref entries in web.xml from your servlet write the following Context ctx = new InitialContext(); QueueConnection con = (QueueConnection)ctx.lookup("java:comp/env/jms/theQueueConnectionFactory"); Queue queue = (Queue)ctx.lookup("java:comp/env/jm

Urgent :: How to access JMS service from Servlet/JSP

2001-11-11 Thread Lomesh Contractor
Hi Steve, Well, I am able to run a standalone client that accesses JMS service, but when I access that service using servlet it shows following error:: javax.naming.NamingException: META-INF/application-client.xml resource not found (see J2EE spec, application-c lient chapter for

Re: Urgent :: How to Call EJB from Servlet

2001-10-24 Thread Klaus Thiele
Home.class); [...] hope that helps. klaus Am Mittwoch, 24. Oktober 2001 11:22 schrieben Sie: > Hi, > > I am not able to call EJB from servlet, though I am able to call EJB > from standalone application client. > > So, What I have to configure and which xml files I

Re: Urgent :: How to Call EJB from Servlet

2001-10-24 Thread Michael Simons
Lomesh Contractor wrote: > Hi, > > I am not able to call EJB from servlet, though I am able to call EJB from >standalone application client. > > So, What I have to configure and which xml files I need to change. > > If you can send me sample x

Urgent :: How to Call EJB from Servlet

2001-10-24 Thread Lomesh Contractor
Hi, I am not able to call EJB from servlet, though I am able to call EJB from standalone application client. So, What I have to configure and which xml files I need to change. If you can send me sample xml (Configuration) files, that would be great help for

servlet load-on-startup and orion shutdown

2001-10-23 Thread Romen Law
ello, If I use the load-on-startup in web.xml under my startup servlet, orion will correctly start it up automatically. What I found strange was that when this is done I cannot shutdown orion any more by using admin.jar or ctrl-C. If I comment out the load-on-startup line, everything will be

RE: Can't get 2nd web module's servlet-map to register

2001-10-23 Thread Prashant Gaikwad
Derek, Why aren't you using DB pool feature provided by orion instead of creating a new pool. cheers -Original Message- From: Derek Lee [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 23, 2001 10:01 AM To: Orion-Interest Subject: RE: Can't get 2nd web module's

RE: Can't get 2nd web module's servlet-map to register

2001-10-23 Thread Curt Smith
An interesting requirement of J2EE is that external clients need to run in current working directory where there's a subdirectory and file of: META-INF/application-client.xml This file has familiar syntax of declaring the beans you'll bind to, resources and env vars. You'll need to declare your

RE: Can't get 2nd web module's servlet-map to register

2001-10-22 Thread Derek Lee
Hi All, I have created my own DBPool on Orion. I have a startUp class also to bind the DBPool object using JNDI. But when I start the orion server the following is the error I've got : javax.naming.NamingException: META-INF/application-client.xml resource not found (see J2EE spec, applic

Can't get 2nd web module's servlet-map to register

2001-10-22 Thread Curt Smith
ests directed to the registered servlet for that URL in that module's web.xml... I have an exploaded deployment tree and one application.xml. ejb ../otf/ejb ^ webtest ^M ../otf/web^M In each of webtest and ../otf/web I have WEB-INF/web.xml and declare diffe

Re: Presentation & Business tier JSP-Servlet Deployment

2001-10-19 Thread Sebastiano Pilla
At 11.52 19/10/2001, Prashant Gaikwad wrote: >Now requirment says that the presentation JSP's will be deployed on Apcahe >web server and servlets-java beans holding bisuness workflow logic to be >deployed on J2EE container i.e OC4J or Orion. Why this requirement? Be very careful not to mistake Ap

Presentation & Business tier JSP-Servlet Deployment

2001-10-19 Thread Prashant Gaikwad
Hello friends I'm developing a system which contains JSP's that hold presentation code and business code is governed by servlets-java bean combination. The web server is Oracle HTTP server(uses apache) which is part of Oracle 9iAS. Now requirment says that the presentation JSP's will

Number of connections a servlet allows

2001-10-16 Thread Vincent Faidherbe
Is there a method to limit the number of connections a specific serlvet accepts ? -- Vincent Faidherbe icogs "Do you think C++ is lovable? Unless you're into SM (Software Masochism), probably not." (JLG)

Re: Servlet JDBC character conversion problem

2001-10-15 Thread Jacky Cheung
In Oracle, you can use UTF-8 to store data to avoid conversion problem. Jacky - Original Message - From: "Eduardo San Martin B." <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Tuesday, October 16, 2001 8:36 AM Subject: Re: Servlet J

Re: Servlet JDBC character conversion problem

2001-10-15 Thread Eduardo San Martin B.
java.lang.String, which > eventually is "Español", and m_Id is a long with the primary key > of the record I want to update. > > If I paste this code into a JSP, then I get the desired > result, BUT, if I paste and run the code from a Servlet (exactly > the same code), t

RE: Servlet JDBC character conversion problem

2001-10-15 Thread J.D. Bertron
Others may have a better answer. You should try a System.out.println() of your m_Idioma in the code to see what it looks like when it gets to your servlet. I suspect you submit this value from an HTML Form and somehow the string is being encoded in one way by the browser and decoded in

Servlet JDBC character conversion problem

2001-10-15 Thread Gustavo Comba
long with the primary key of the record I want to update. If I paste this code into a JSP, then I get the desired result, BUT, if I paste and run the code from a Servlet (exactly the same code), then my "Español" becomes "Espaýol"... I've tried almost everything, I&#

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 2

Re: Servlet accessing

2001-10-11 Thread Huynh Ha
Hi! You can use tag to do it. ... myServlet /myservlet ... Bye! Huynh Ha

Servlet accessing

2001-10-10 Thread Naveen Kamrudeen
Hi, I have a servlet deployed in Orion Server. To call the server I need to specify http://localhost/servlet/myServlet. The problem is I dont want the /servlet thing that means like http://localhost/myServlet how do I do this. I tried changing web.xml file in web-inf directory still it is

Servlet expiration

2001-10-03 Thread Kipnis, Adam
Does anyone know how to configure Orion so the servlet container never expires initialized servlets? Adam Kipnis JAMDAT Mobile [EMAIL PROTECTED] 310.636.3126 "Why document? If it was hard to write, it should be hard to understand!" -Me

Re: DB Logger Servlet

2001-09-26 Thread Lance Lavandowska
wska www.Brainopolis.com - Original Message - From: "Robert S. Sfeir" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Wednesday, September 26, 2001 1:38 PM Subject: DB Logger Servlet > Before I go re invent the wheel, I was wondering if

DB Logger Servlet

2001-09-26 Thread Robert S. Sfeir
Before I go re invent the wheel, I was wondering if anyone knew of a FREE servlet which would stream access log requests from the log file which Orion generates, and insert them (normalized of course) in DB tables so we can run immediate reports on the data. I'm hoping it would not

RE: Calling EJB From a Servlet..

2001-09-12 Thread Lou Farho
The servlet is running on orion so you don't need to elaborate on the context. This should get your ejb: Context context = new InitialContext(); // Get home interface CommandHome cHome = (CommandHome)context.lookup("Command");

Auto-reply: RE: Calling EJB From a Servlet..

2001-09-12 Thread ORAPOST
S2 OJA=0D=0AUK URL:http://www.oracle.com EMAIL;PREF;INTERNET:[EMAIL PROTECTED] EMAIL;INTERNET:[EMAIL PROTECTED] EMAIL;INTERNET:[EMAIL PROTECTED] REV:20010601T130645Z END:VCARD smime.p7s Hi, The Elephant walker. Sure the error says domain was null, but the situation is that the servlet

RE: Calling EJB From a Servlet..

2001-09-11 Thread Prashant Gaikwad
Hi, The Elephant walker. Sure the error says domain was null, but the situation is that the servlet is just an another stand-alone program (not part of deployed Hello Session Bean) residing in D:\Oracle\iSuites\j2ee\home\default-web-app\WEB-INF\classes\trg\HelloServlet directory and

Re: Calling EJB From a Servlet..

2001-09-11 Thread Kesav Kumar
al Message - From: "Prashant Gaikwad" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Tuesday, September 11, 2001 3:26 AM Subject: Calling EJB From a Servlet.. > HI Friends, > I'm having a serious problem in my code and am unable to &

RE: Calling EJB From a Servlet..

2001-09-11 Thread David Libke
Prashant, You cannot initialize the context within the servlet. Use web.xml with the following entries with your values: theName theValue The description theContextParam com.the.TypeOfResource CONTAINER|SERVLET

RE: Calling EJB From a Servlet..

2001-09-11 Thread The elephantwalker
First, if the servlet and ejb are in the same application, you don't need to use properties to initialize your contextbut if you did, it looks like you left off the domain in the properties. Regards, the elephantwalker -Original Message- From: [EMAIL PROTECTED] [mailto:[

Calling EJB From a Servlet..

2001-09-11 Thread Prashant Gaikwad
HI Friends, I'm having a serious problem in my code and am unable to understand. I've deployed a simple Hello bean on the orion container and want to access it from a servlet. I have the servlet in D:\Oracle\iSuites\j2ee\home\default-web-app\WEB-INF\classes\trg\He

RE: Calling a EJB application with in the Default servlet Context

2001-09-07 Thread Kesav Kumar
Two ponints to cosider.   1) Are you deploying EJB and servlets under same application?  My guess is you are trying to use default servlet context then did you deploy the EJB in application.xml?   2) Is your JNDI name of the EJB is matching with the ejb-ref name in the web-xml?   Kesav

Calling a EJB application with in the Default servlet Context

2001-09-07 Thread ZHotmail
Hi , I have a simple Hello world EJB is deployed in my orion server  and now i want to access this application ,   I have written a Servlet client for accessing this application , I want to put this servlet in the default servlet context i.e /servlet/HelloServlet , I do not want to create a

Servlet Chaining

2001-09-05 Thread Stephen Raj
Hi All, I have 2 servlets that are chained. It works fine with Java Web Server. How do I deploy them to OC4J. I have tried giving the second servlet(HelloOracleWorld) in the orion-web.xml like deployment-version="1.0.2.2" jsp-cache-directory="./persistence" temporary-direct

Re: multiple instances of a servlet?

2001-08-09 Thread Rafael Alvarez
Here is a clue: -- Servlet 2.2 Specs: For a servlet not implementing SingleThreadModel and not hosted in a distributed environment (the default), the servlet container must use only one instance per servlet declaration. A servlet declaration is part of the

Re: multiple instances of a servlet?

2001-08-08 Thread Ville Rinne
Daniel, So far I've just been running it on a test-platform using just the default web-application. I haven't defined any additional names for it. However, Richard Wu's mail where he pasted this from the spec: "For a servlet not implementing SingleThreadModel and not hos

Re: multiple instances of a servlet?

2001-08-08 Thread Ville Rinne
Subject: Re: multiple instances of a servlet? > 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]>

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

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:

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 inst

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

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: multiple instances of a servlet?

2001-08-07 Thread Duffey, Kevin
e- > From: richard wu [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 07, 2001 11:58 AM > To: Orion-Interest > Subject: Re: multiple instances of a servlet? > > > The following is from spec 2.3: > > SRV.2.2 Number of Instances > For a servlet not implement

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

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 lo

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

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 h

Passing JSP Paramters to a Servlet

2001-07-26 Thread Nusairat, Joseph F.
    Ok i dont know what i am doing wrong. But i have a jsp that gets  a username and passsword I then pass it to  a servlet which acceses an entity bean   Now the servlet and entity bean on all wrapped up in an ear.   My problem is i cant seem to pull any of hte parameters from the

RE: Servlet

2001-07-26 Thread Philip Van Bogaert
I think that the servlets inside the orion root-dir translated jsps are. Greetz   -Original Message-From: Jens Frank [mailto:[EMAIL PROTECTED]]Sent: donderdag 26 juli 2001 13:56To: Orion-InterestSubject: Servlet Hello.. When I run my servlet it should store a file in the

Re: Servlet

2001-07-26 Thread Juan Fuentes
> Jens Frank wrote: > > Hello.. When I run my servlet it should store a file in the > c:\orion\default-web-app\WEB-INF\classes directory but instead it > stores it in c:\orion. > Why does it do this? Can I change it? Some kind of option? Try using the ServletC

Servlet

2001-07-26 Thread Jens Frank
Hello.. When I run my servlet it should store a file in the c:\orion\default-web-app\WEB-INF\classes directory but instead it stores it in c:\orion. Why does it do this? Can I change it? Some kind of option?   Please answear me..   Best Regards Jens Frank

java.security.AccessControlException from Servlet

2001-07-19 Thread Rice, Ted
Has anyone experienced an AccessControlException while creating and binding an RMI Server from a Servlet. The particular action it fails on seems to be random. Sometimes, it's setting a Property and at other times it fails when binding the RMI Server to a port. Here is my java.policy

RE: "Error instantiating web-application" - after adding a Servlet Fi lter.

2001-07-17 Thread Kesav Kumar
Title: RE: "Error instantiating web-application" - after adding a Servlet Fi lter. Try using the normal Servlet2.3 Filters. Kesav Kumar Kolla Voquette Inc 650 356 3740(W) 510 889 6840(R) Voquette...Delivering Sound Information -Original Message- From: Larry Linville J

"Error instantiating web-application" - after adding a Servlet Filter.

2001-07-17 Thread Larry Linville Jr.
I'm sure that this is probably something really simple... but here goes. I'm trying to add a servlet filter to an existing (working) deployment just to see how servlet filters are deployed in Orion; however, after adding my filter I'm getting the below error when going to my de

Re: Test Post to Servlet Doesn't Work.

2001-07-05 Thread Milton S
e(); > > > > > > return (con.getInputStream()); > > > } > > > /sendPostMessage > > > > > > private static final String toEncodedString(Properties args) > > > { > > > StringBuffer buf = new StringBuffer(

Re: Test Post to Servlet Doesn't Work.

2001-07-05 Thread Boris Erukhimov
s.nextElement(); > > String value = args.getProperty(name); > > buf.append(URLEncoder.encode(name) + "=" + URLEncoder.encode(value)); > > if (names.hasMoreElements()) > > buf.append("&"); > > } >

Re: Test Post to Servlet Doesn't Work.

2001-07-05 Thread Milton S
); > String value = args.getProperty(name); > buf.append(URLEncoder.encode(name) + "=" + URLEncoder.encode(value)); > if (names.hasMoreElements()) > buf.append("&"); > } > return buf.toString(); > } > toEncodedString > &

Re: Test Post to Servlet Doesn't Work.

2001-07-05 Thread Boris Erukhimov
URLEncoder.encode(value)); if (names.hasMoreElements()) buf.append("&"); } return buf.toString(); } toEncodedString Hope it helps ~boris Milton S wrote: > > Orion Interest Group, > > I have written a Java class to test server t

Test Post to Servlet Doesn't Work.

2001-07-04 Thread Milton S
Orion Interest Group, I have written a Java class to test server to server communication for a servlet running on Orion 1.5.2. Nothing seems to happen when I run the class while the same URL sent from the address/location edit box on a browser works perfectly. The host URL I am using is "

Re: (my) problem locating a textfile from a Servlet

2001-06-26 Thread Tim Endres
es (yes I know JNDI is a better way -but its lowest common > functionality) - and these files I want to access in my servlet code. > > Following servlet code does not find these files running in orion while > working fine with tomcat 3.2.

(my) problem locating a textfile from a Servlet

2001-06-26 Thread Regele, Manfred
access in my servlet code. Following servlet code does not find these files running in orion while working fine with tomcat 3.2. For a beginner: whats the correct way to load such files

servlet as rmi client

2001-06-24 Thread junk
I'm trying to use a servlet running in Orion's servlet container as an RMI client (connecting to a remote object registered with in the standard rmiregistry (Sun Java SDK 1.3)) but keep getting the following error: java.security.AccessControlException: access denied (java.net.Socket

Re: Aaarrrghhh!! CSS and Servlet again

2001-06-22 Thread Robert Koberg
> What happens it your www.site1.com decides to > deploy the application as www.site1.com/app1...? The context path is set in the > deployment descriptor, not in the code. You really should make your code > independent of the deployment descriptor even if it just happens to be that your > curren

Re: Aaarrrghhh!! CSS and Servlet again

2001-06-22 Thread john_haasbeek
Interest <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] To: Orion-Interest <[EMAIL PROTECTED]> cc: Subject: Re: Aaarrrghhh!! CSS and Servlet again Hi John, I see why you are doing that but I don't agree it is a good way to go, at least for me. It looks like you are a corp

Re: Aaarrrghhh!! CSS and Servlet again

2001-06-22 Thread Robert Koberg
promotion process. of course there are other ways to do it... Thanks for the discussion, Rob - Original Message - From: <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Thursday, June 21, 2001 3:34 PM Subject: Re: Aaarrrghhh!! CSS and Servlet again &g

Re: Orion handling only servlet/jsp requests

2001-06-22 Thread kevin1
Well, kinda. I'm not using apache... I'm using Zeus. Orion is not the first server in the chain -- it is being added on to an existing system. The reverse proxy info on orionsupport.com is good, but it is kind of Apache specific.

Re: Orion handling only servlet/jsp requests

2001-06-21 Thread SCOTT FARQUHAR
web server as the primary web server. I'd like to forward all servlet requests to Orion. What changes in Orion's setup need to be made to either: 1. Have orion output to another web server 2. Have orion handle all servlet/jsp requests It seems to me that 2 would be easier -- but I a

Re: Aaarrrghhh!! CSS and Servlet again

2001-06-21 Thread john_haasbeek
In a typical web application server, there can be applications deployed to several contexts within the container. Each context is differentiated using a URL prefix, e.g.: http://myhost/webstore http://myhost/benefits-admin Webstore and benefits-admin represent different Servlet contexts

  1   2   3   4   5   6   >