load-on-startup causes application to be deployed twice in tomcat 5.5.9

2005-05-05 Thread Guy Katz
hi; i have send a couple of emails regarding this but now i am more focused on the problem. my application was deployed twice instead of once on tomcat startup. i saw that the trouble seem to come from the load-on-startup tag in the web.xml (when its absent the problem is gone) is this a known

tomcat 5.5.9 start application twice

2005-05-02 Thread Guy Katz
hi all; upgrading to tomcat 5.5.9 from 5.0.30 i noticed that my application is initialized twice. my context listener is called twice on startup and all other startup resources also (filters, etc). is this a known issue? my application is JSF based (sun RI). thanks in advance.

Avoiding deploying an application twice

2005-05-02 Thread Mott Leroy
e.war May 2, 2005 11:14:01 AM org.apache.catalina.startup.HostConfig deployWARs WARNING: Exception while expanding web application archive appname.war [And repeat ...] That was all the information it would give. I believe this error resulted from tomcat attempting to deploy/unpack the applicatio

Application deployed twice

2005-04-24 Thread R A
If I place the Context tag(see below) in both the server.xml and application context xml, the application is deployed twice: Why is it deployed twice?? If I remove from the server.xml and keep it in the application Context xml, then the path is not recognized

Re: apache + jakarta tomcat twice a time?

2005-04-06 Thread Trond G. Ziarkowski
Hi, not sure I understand your question (twice a time?). If you are wondering if you can have them both running at the same time the answer is yes. To have Tomcat and Apache work together you need mod_jk or mod_proxy. mod_jk can be found here: http://jakarta.apache.org/tomcat/connectors-doc

apache + jakarta tomcat twice a time?

2005-04-05 Thread Tamer Higazi
Hi! I am asking myself if it is possible to run both servers twice a time?! The goal is that different Webapplications with different engines (php, JSP) should run on the server. For any comment, Thank you Tamer - To

twice typing user and password

2005-02-12 Thread P.M
Hi, since today, everytime that i want to access to /admin application of tomcat 5.5.7, i have to type twice username and password... nothing was changed in configuration... so where can it come from ? thx, Maileen __ Do you Yahoo!? Yahoo

Re: context loaded twice

2004-11-18 Thread QM
On Thu, Nov 18, 2004 at 03:02:08PM +0200, Asher Tarnopolski wrote: : tomcat not only prints the report twice, it loads the webapp twice, : because right after the second time i get a nasty exception: To add on to the response you've already received from someone else: Tomcat's depl

Re: context loaded twice

2004-11-18 Thread Jardin Xavier
- From: "Asher Tarnopolski" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 18, 2004 2:02 PM Subject: context loaded twice > hi, > a strange thing i can't find a sollution for. > > i have a web app that runs in tomcat's root (

context loaded twice

2004-11-18 Thread Asher Tarnopolski
random number generator class java.security.SecureRandomStandardManager[/]: Seeding of random number generator has been completedStandardWrapper[/ efault]: Loading container servlet defaultSTART INIT tomcat not only prints the report twice, it l

RE: Preventing contexts from being loaded twice

2004-10-27 Thread Shapira, Yoav
nting contexts from being loaded twice > >Hi List, > >I'm installing a context using the new Tomcat 5 Catalina/localhost/.xml >method. > >$TOMCAT_HOME/conf/Catalina/localhost/myapp.xml > >e="true"> >snip > >The problem: > >The

Preventing contexts from being loaded twice

2004-10-27 Thread E.P. Frederick
Hi List, I'm installing a context using the new Tomcat 5 Catalina/localhost/.xml method. $TOMCAT_HOME/conf/Catalina/localhost/myapp.xml snip The problem: The context is being loaded twice, also being installed at /myapp since it's located at $TOMCAT_HOME/webapps/myapp. I

RE: type in twice for basic authentication???

2004-10-04 Thread Mark Thomas
t: Monday, October 04, 2004 2:12 PM > To: Tomcat Users List > Subject: RE: type in twice for basic authentication??? > > > Hi, > Does 4.1.30 behave better? Or 5.0.27? > > (5.0.28 has http://issues.apache.org/bugzilla/show_bug.cgi?id=31372 > which might affect this use-

RE: type in twice for basic authentication???

2004-10-04 Thread Shapira, Yoav
t: Monday, October 04, 2004 1:59 AM >To: Tomcat Users List >Subject: RE: type in twice for basic authentication??? > >Tomcat 4.1.27 -- please help! > > >- Original message - >From: "Mark Thomas" <[EMAIL PROTECTED]> >To: "'Tomcat Users List'&

RE: type in twice for basic authentication???

2004-10-03 Thread Stephen Charles Huey
Tomcat 4.1.27 -- please help! - Original message - From: "Mark Thomas" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Date: Sat, 2 Oct 2004 10:03:49 +0100 Subject: RE: type in twice for basic authentication??? What ve

Re: RE: type in twice for basic authentication???

2004-10-02 Thread steve
Due to increasing levels of spam, this email address no longer receives email. To contact us, please go to http://takanomi.com/contact.php. [If you publish an ezine or newsletter to which we are subscribed, or own an affiliate program or service of which we are a member, please visit the abo

RE: type in twice for basic authentication???

2004-10-02 Thread Mark Thomas
What version of tomcat? > -Original Message- > From: Stephen Charles Huey [mailto:[EMAIL PROTECTED] > Sent: Friday, October 01, 2004 11:38 PM > To: Tomcat Users List > Subject: Re: type in twice for basic authentication??? > > Yeah, I need some major help on this

Re: type in twice for basic authentication???

2004-10-01 Thread Stephen Charles Huey
at). - Original message - From: "Stephen Charles Huey" <[EMAIL PROTECTED]> To: "Tomcat User" <[EMAIL PROTECTED]> Date: Fri, 01 Oct 2004 17:10:32 -0500 Subject: type in twice for basic authentication??? When my web app pops up a basic authentication box, I type in

type in twice for basic authentication???

2004-10-01 Thread Stephen Charles Huey
When my web app pops up a basic authentication box, I type in the username and password, and then it bounces back with blank text boxes asking for it again. Every time when I type them in a second time it then lets me in! What's going on? Here's what I have in my server.xml:

Re: application deploys twice

2004-08-20 Thread Michael Echerer
Jignesh Patel wrote: Hi All, We are using tomcat5.0.19 and struts1.1. Whenever we deploys our application it deploys twice. We couldn't able to identify the reason, why this is happening. Can anybody give insight to us. We are not deploying war file as well as we are not deploying in serv

Re: application deploys twice

2004-08-20 Thread QM
On Fri, Aug 20, 2004 at 05:16:54PM -0400, Jignesh Patel wrote: : Whenever we deploys our application it deploys twice. : We couldn't able to identify the reason, why this is happening. 1/ Please post a *new* message to the list when you have a new question. Replying to old posts -- even i

RE: application deploys twice

2004-08-20 Thread Shapira, Yoav
air Crossley > >> -Original Message- >> From: Shapira, Yoav [mailto:[EMAIL PROTECTED] >> Sent: 20 August 2004 14:14 >> To: Tomcat Users List; [EMAIL PROTECTED] >> Subject: RE: application deploys twice >> >> >> >> Hi, >>

RE: application deploys twice

2004-08-20 Thread Allistair Crossley
age- > From: Shapira, Yoav [mailto:[EMAIL PROTECTED] > Sent: 20 August 2004 14:14 > To: Tomcat Users List; [EMAIL PROTECTED] > Subject: RE: application deploys twice > > > > Hi, > The usual reason for this is a server with autoDeploy on (which is the > default) and

RE: application deploys twice

2004-08-20 Thread Shapira, Yoav
4 5:17 PM >To: Tomcat Users List >Subject: application deploys twice > >Hi All, >We are using tomcat5.0.19 and struts1.1. > >Whenever we deploys our application it deploys twice. >We couldn't able to identify the reason, why this is happening. > >Can anybody give ins

RE: application deploys twice

2004-08-20 Thread Nitschke Michael
as to solve the problem because it cost me nearly one day. mfg Michael Nitschke -Original Message- From: Jignesh Patel [mailto:[EMAIL PROTECTED] Sent: Friday, August 20, 2004 11:17 PM To: Tomcat Users List Subject: application deploys twice Hi All, We are using tomcat5.0.19 and stru

application deploys twice

2004-08-20 Thread Jignesh Patel
Hi All, We are using tomcat5.0.19 and struts1.1. Whenever we deploys our application it deploys twice. We couldn't able to identify the reason, why this is happening. Can anybody give insight to us. We are not deploying war file as well as we are not deploying in server we are setting co

RE: Need to start Tomcat 4.1 twice

2004-08-13 Thread Jitesh Sinha
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) -Original Message- From: Jitesh Sinha [mailto:[EMAIL PROTECTED] Sent: Friday, August 13, 2004 12:25 PM To: Tomcat Users List Subject: RE: Need to start Tomcat 4.1 twice Today I tried to see the logs and it contains following error : 2004

RE: Need to start Tomcat 4.1 twice

2004-08-12 Thread Jitesh Sinha
-Original Message- From: Jitesh Sinha [mailto:[EMAIL PROTECTED] Sent: Thursday, August 05, 2004 2:48 PM To: Tomcat Users List Subject: RE: Need to start Tomcat 4.1 twice Any pointers for this? -Original Message- From: Jitesh Sinha [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 03, 2004

RE: Help, why is my servlet calling init twice?

2004-08-11 Thread Shapira, Yoav
ist >Subject: Re: Help, why is my servlet calling init twice? > >On Tue, Aug 10, 2004 at 05:16:24PM -0500, Randy Paries wrote: >: If I remove the tag from the web.xml, then the first >time >: I call the servlet the init gets only called once > >What's your evidence tha

Re: Help, why is my servlet calling init twice?

2004-08-10 Thread QM
On Tue, Aug 10, 2004 at 05:16:24PM -0500, Randy Paries wrote: : If I remove the tag from the web.xml, then the first time : I call the servlet the init gets only called once What's your evidence that init() is being called twice? I'm after log messages, etc. Are you sure the enti

RE: Help, why is my servlet calling init twice?

2004-08-10 Thread Benjamin Armintor
This just means that Tomcat has instantiated your servlet class twice. The tag only indicates the order that the servlets should be started in. Benjamin J. Armintor Operations Systems Specialist ITS-Systems: Mainframe Group University of Texas - Austin tele: (512) 232-6562 email: [EMAIL

Help, why is my servlet calling init twice?

2004-08-10 Thread Randy Paries
Hello, I am hoping someone can shed some light on this I am using Tomcat jakarta-tomcat-5.0.24 on RH9 When I have 1 set in my web.xml My init in the servlet that I have this set for gets called twice. It is so bizarre. But, in my devel env it does not (XP, tomcat 5, intellij) If I remove

RE: Need to start Tomcat 4.1 twice

2004-08-05 Thread Shapira, Yoav
AM >To: Tomcat Users List >Subject: RE: Need to start Tomcat 4.1 twice > >Any pointers for this? > >-Original Message- >From: Jitesh Sinha [mailto:[EMAIL PROTECTED] >Sent: Tuesday, August 03, 2004 11:58 AM >To: Tomcat Users List >Subject: Need to start Tom

RE: Need to start Tomcat 4.1 twice

2004-08-05 Thread Jitesh Sinha
Any pointers for this? -Original Message- From: Jitesh Sinha [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 03, 2004 11:58 AM To: Tomcat Users List Subject: Need to start Tomcat 4.1 twice Hello all, I am facing a strange problem.I need to start my Tomcat server twice.After first start

Need to start Tomcat 4.1 twice

2004-08-02 Thread Jitesh Sinha
Hello all, I am facing a strange problem.I need to start my Tomcat server twice.After first start when I try to access anything I get the error Requested Resource not available.After second start everything works fine.Any ideas why that will happen? Thanks, -Jitesh --

Re: Reading the servlet input stream twice

2004-06-18 Thread Justin Ruthenbeck
The cleanest, most standards-compliant way of doing what you're asking is through the HttpServletRequestWrapper. Make sure you've duely considered QM's comments about the getParameter() methods. justin At 01:41 PM 6/18/2004, you wrote: Dear All, I use Tomcat 4.1.xx I am implementing page tracki

Re: Reading the servlet input stream twice

2004-06-18 Thread Erik Earle
look at the org.apache.catalina.valve.RequestDumperValve Original Message Follows From: QM <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: Tomcat Users List <[EMAIL PROTECTED]>,[EMAIL PROTECTED] Subject: Re: Reading the servlet inpu

Re: Reading the servlet input stream twice

2004-06-18 Thread QM
On Fri, Jun 18, 2004 at 04:41:54PM -0400, [EMAIL PROTECTED] wrote: : I am implementing page tracking on a project. : I am coming across a problem, when I want to write a copy of the parameters : or contents of a POST request to the database. : [snip] : Is there anyway of getting a copy of a POST r

Reading the servlet input stream twice

2004-06-18 Thread [EMAIL PROTECTED]
Dear All, I use Tomcat 4.1.xx I am implementing page tracking on a project. I am coming across a problem, when I want to write a copy of the parameters or contents of a POST request to the database. I have tried using HttpServletRequest.getInputStream () but this cleans out the input stream and me

Tomcat twice !

2004-06-14 Thread Boulay Arnaud
Hello again ! I have a trouble with Tomcat 4.1.29 on Linux : after a delay where Tomcat running well, an other instance is created and both of them are blocked ! It's something special because in logic way, the socket is open by the first instance and so the other may not be started. Any idea ? -

Re: contextInitialized being called exactly twice

2004-06-11 Thread Graham Smith
I don't have a WAR at hand to check whether this only happens with directories but I would expect it to be a problem for both. I can see why it is being deployed twice when autoDeploy="true" as that is the job of the auto deployer (although I think it should check to see i

RE: contextInitialized being called exactly twice

2004-06-11 Thread Shapira, Yoav
: Friday, June 11, 2004 12:02 AM >To: Tomcat Users List >Subject: RE: contextInitialized being called exactly twice > >Hi Yoav, > On the same note, I was experiencing the same frustration, but I >was not deploying any WAR. Could this be the reason for my 2 * >execution

RE: contextInitialized being called exactly twice

2004-06-10 Thread Paul Wallace
xt is deployed, and the context is deployed twice because you have autoDeploy on AND an explicit context declaration in your server.xml/conf directory/WAR. Turn autoDeploy off and see what happens. (This would explain the static counter being 1: the counter is static once per classloader repository, you

RE: contextInitialized being called exactly twice

2004-06-10 Thread Shapira, Yoav
gt;-Original Message- >From: Graham Smith [mailto:[EMAIL PROTECTED] >Sent: Thursday, June 10, 2004 3:07 PM >To: Tomcat Users List >Subject: Re: contextInitialized being called exactly twice > >Hi, > >Thanks for the help. I took a break for an hour or so (after workin

Re: contextInitialized being called exactly twice

2004-06-10 Thread Graham Smith
ion in the server.xml () then it calls contextInitialization twice. Test 2 if autoDeploy="false" and I have no context in the server.xml file it calls contextInitialization only once but the software is then deployed with the wrong context Test 3 if I rename the webapp (from webapps/

RE: contextInitialized being called exactly twice

2004-06-10 Thread Shapira, Yoav
Hi I bet it's being called once for each time the context is deployed, and the context is deployed twice because you have autoDeploy on AND an explicit context declaration in your server.xml/conf directory/WAR. Turn autoDeploy off and see what happens. (This would explain the static co

contextInitialized being called exactly twice

2004-06-10 Thread Graham Smith
Hi, I am absolutely stumped by this problem. For some reason that I can't fathom the contextInitialized method on a ServletContextListener I have in one of my web applications is being called twice. Normally this isn't a problem since it only causes the load process to take longer b

Re: contextInitialized called twice during webapp deployment

2004-04-24 Thread Brett Randall
On Mon, 19 Apr 2004, Brett Randall wrote: Can anyone advise - what would cause a listener's contextInitialized() to be called exactly twice during the deployment of a webapp? I am using Tomcat included in the Java Web Services Developer Pack v1.3. The double call of contextInitia

Re: contextInitialized called twice during webapp deployment

2004-04-19 Thread Milt Epstein
On Mon, 19 Apr 2004, Brett Randall wrote: > Can anyone advise - what would cause a listener's > contextInitialized() to be called exactly twice during the > deployment of a webapp? > > I am using Tomcat included in the Java Web Services Developer Pack > v1

contextInitialized called twice during webapp deployment

2004-04-19 Thread Brett Randall
Can anyone advise - what would cause a listener's contextInitialized() to be called exactly twice during the deployment of a webapp? I am using Tomcat included in the Java Web Services Developer Pack v1.3. The double call of contextInitialized() happens for both my servlets, and the ex

Re: Application loading twice

2004-04-02 Thread Nikola Milutinovic
Shapira, Yoav wrote: Hi, It's probably because you have autoDeploy set to true AND an explicit context with a different path for your webapp. So tomcat deploys it twice, one with your explicit context and once via autoDeploy with a path="/" + the app name, i.e. "/myApp"

RE: Application loading twice

2004-04-02 Thread Shapira, Yoav
Hi, It's probably because you have autoDeploy set to true AND an explicit context with a different path for your webapp. So tomcat deploys it twice, one with your explicit context and once via autoDeploy with a path="/" + the app name, i.e. "/myApp". Pick one, in your

Application loading twice

2004-04-02 Thread Chris
Hello, Particulars: tomcat 5.0.19, fedora core 1, java 1.4.2 When starting tomcat my application loads twice, and I don't know why. The engine portion of my server.xml is as follows: This causes my application to be served out not only on www.myApp.com

The same request coming into TC twice?

2004-02-20 Thread Robert Priest
Hello, We are running TC 4.1 with the ISAPI filter (isapi_redirector2.dll) on a Windows 2000 Server machine. We have this HTML form filled with information ( nothing special, a few input fields and such). When this form is submitted however, TC receives two posts with the SAME information. We

RE: [OT] avoiding getOutputStream() being called twice

2004-02-05 Thread Robert Priest
] avoiding getOutputStream() being called twice Hi! Robert Priest wrote: > How can I pass a byte[] down to my client, without calling > "response.getOutputStream" explicitly? > > Here is my problem: > > I want to pass a file down to the client via a jsp page. At fi

RE: [OT] avoiding getOutputStream() being called twice

2004-02-05 Thread Robert Priest
call getOutputStream on top of that. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 11:23 AM To: Tomcat Users List Subject: RE: [OT] avoiding getOutputStream() being called twice Howdy, >How can I pass a byte[] down to my cli

Re: [OT] avoiding getOutputStream() being called twice

2004-02-05 Thread Philipp Taprogge
Hi! Robert Priest wrote: How can I pass a byte[] down to my client, without calling "response.getOutputStream" explicitly? Here is my problem: I want to pass a file down to the client via a jsp page. At first glance, I can't tell you why you get this error, but IMHO you could save yourself a l

RE: [OT] avoiding getOutputStream() being called twice

2004-02-05 Thread Shapira, Yoav
Howdy, >How can I pass a byte[] down to my client, without calling >"response.getOutputStream" explicitly? Can't. >Which works for me. However, I am in danger of getting the >"getOutputStream() called twice" error. Doesn't always happen, but >som

[OT] avoiding getOutputStream() being called twice

2004-02-05 Thread Robert Priest
Which works for me. However, I am in danger of getting the "getOutputStream() called twice" error. Doesn't always happen, but sometimes it does. I don't want to use the JspWriter "out" because writers use character streams. And everytime I use a character stream my files end

Re: Sorry for posting twice. Tomcat not recognizing JDB drivers - 4.1.29!-Please Help

2003-12-10 Thread Ben Souther
Put the driver in: TOMCAT_HOME/common/lib You will also need to change the extension to ".jar". On Wednesday 10 December 2003 08:57 am, [EMAIL PROTECTED] wrote: > sorry about posting it twice. It seem a long delay in getting the mails > through. > > > Th

RE:Sorry for posting twice. Tomcat not recognizing JDB drivers - 4.1.29!-Please Help

2003-12-10 Thread GuptaD
sorry about posting it twice. It seem a long delay in getting the mails through. Thanks & Regards, Divya -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 10 December 2003 12:25 To: [EMAIL PROTECTED] Subject: Tomcat not recognizing JDB drivers - 4.

Re: tomcat submits twice?

2003-11-10 Thread Justin Ruthenbeck
At 07:01 AM 11/10/2003, you wrote: Hi, I know the forum has a lot of questions about requests being submitted twice. I have implemented some of the solutions mentioned in there but the problem still persists. I have implemented a javascript solution which greys out the submit button rendering

tomcat submits twice?

2003-11-10 Thread Guru Mandavia
Hi, I know the forum has a lot of questions about requests being submitted twice. I have implemented some of the solutions mentioned in there but the problem still persists. I have implemented a javascript solution which greys out the submit button rendering it unclickable on the first

RE: [inbox] RE: Preloaded servlet runs init twice

2003-11-05 Thread Shapira, Yoav
ox] RE: Preloaded servlet runs init twice > >Hello, Shapira,! >You wrote to "Tomcat Users List" <[EMAIL PROTECTED]> on Wed, 5 >Nov 2003 09:07:19 -0500: > > SY> Howdy, > > >> This is known issue. > > SY> A known issue? It's a repeating ca

Re: [inbox] RE: Preloaded servlet runs init twice

2003-11-05 Thread IvanLatysh
Hello, Shapira,! You wrote to "Tomcat Users List" <[EMAIL PROTECTED]> on Wed, 5 Nov 2003 09:07:19 -0500: SY> Howdy, >> This is known issue. SY> A known issue? It's a repeating case of user error, there's nothing SY> wrong with tomcat in this case. I didn't told that it is an error. It is a

RE: Preloaded servlet runs init twice

2003-11-05 Thread Shapira, Yoav
Howdy, >This is known issue. A known issue? It's a repeating case of user error, there's nothing wrong with tomcat in this case. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and

Re: Preloaded servlet runs init twice

2003-11-04 Thread IvanLatysh
problem is that the init() method is run twice. If I remove mtc> the definition for the web application, the preloaded mtc> servlet only runs init() once (but then I can access it because mtc> there is no path mapping.) This is known issue. You can create an empty folder, for example web

Preloaded servlet runs init twice

2003-11-04 Thread mitch-tomcatuser.418c12
Tomcat 4.1.27 Windows XP JDK 1.3 In a secondary instance of Tomcat (CATALINA_BASE=c:\myapp) I have a servlet defined to preload 1 The problem is that the init() method is run twice. If I remove the definition for the web application, the preloaded servlet only runs init() once (but then

Re: contextInitialized() called twice

2003-10-06 Thread Jean-Paul Le Fèvre
paragraph : I define l3sdb as the default (and the only one) web app for this host. In this case the ServletContextListener is initialized twice (a static variable shows that the listener is *created* twice). If I change the context configuration to : the listener is correctly

Re[2]: contextInitialized() called twice

2003-10-04 Thread Anton Tagunov
Hello Jean-Paul! JPLF> It does not depend on the detail of the configuration : I have JPLF> tested many different approaches. The problem occurs when JPLF> there is one default host and one virtual host. Please, could you still post the simplest set of configuration files you can figure that tri

RE: contextInitialized() called twice

2003-10-03 Thread Shapira, Yoav
ject: Re: contextInitialized() called twice > > >It does not depend on the detail of the configuration : I have >tested many different approaches. The problem occurs when >there is one default host and one virtual host. > >-- >__

Re: contextInitialized() called twice

2003-10-03 Thread Jean-Paul Le Fèvre
It does not depend on the detail of the configuration : I have tested many different approaches. The problem occurs when there is one default host and one virtual host. -- ___ Jean-Paul Le Fèvre * Mail : [EMAIL PROTECTED] -

RE: contextInitialized() called twice

2003-10-03 Thread Shapira, Yoav
Le Fèvre [mailto:[EMAIL PROTECTED] >Sent: Friday, October 03, 2003 11:15 AM >To: [EMAIL PROTECTED] >Subject: contextInitialized() called twice > > >My Tomcat configuration defines 3 hosts : it is the same >machine known under 3 different names. Basically there is one context by >

contextInitialized() called twice

2003-10-03 Thread Jean-Paul Le Fèvre
My Tomcat configuration defines 3 hosts : it is the same machine known under 3 different names. Basically there is one context by host. I have a listener for one of my context but this listener is initialized twice. I do not understand why ! Actually the method contextInitialized() is called

RE: Separate xml context snippet for web app causes it to be loaded twice

2003-09-30 Thread dhay
uot; <[EMAIL PROTECTED]> To:"Tomcat Users List" <[EMAIL PROTECTED]> cc: Subject:RE: Separate xml context snippet for web app causes it to be loaded twice Howdy, It's not being deployed twice: two apps are being deployed, Kiosk and kiosk. That subtle diff

RE: Separate xml context snippet for web app causes it to be loaded twice

2003-09-30 Thread dhay
ED]> cc: Subject:RE: Separate xml context snippet for web app causes it to be loaded twice Howdy, It's not being deployed twice: two apps are being deployed, Kiosk and kiosk. That subtle difference is your problem. Make sure the context XML file has the same name as the d

RE: Separate xml context snippet for web app causes it to be loaded twice

2003-09-30 Thread Shapira, Yoav
Howdy, It's not being deployed twice: two apps are being deployed, Kiosk and kiosk. That subtle difference is your problem. Make sure the context XML file has the same name as the docBase, it's case-sensitive. Yoav Shapira Millennium ChemInformatics >-Original Message-

Separate xml context snippet for web app causes it to be loaded twice

2003-09-30 Thread dhay
/config/host.html#Automatic%20Application%20Deployment Unfortunately this seems to cause the webapp ("Kiosk") to be deployed twice. Can anyone explain why this is happening, please? (contents of localhost.log and tomcat's server.xml is below). many thanks, David localhost.log: 2

RE: init servlet loaded twice

2003-09-19 Thread Shapira, Yoav
rvlet. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Chris Rolfe [mailto:[EMAIL PROTECTED] >Sent: Thursday, September 18, 2003 5:16 PM >To: Tomcat Users List >Subject: Re: init servlet loaded twice > >I've noticed that load-on-startup also ca

Re: init servlet loaded twice

2003-09-18 Thread Chris Rolfe
s" after all. Chris on 9/18/03 12:38 PM, Phillip Qin wrote: > I was looking at my webapp log this afternoon. I use tomcat + log4j + > struts. In the log, I found that my InitServlet was loaded twice. One under > Thread-xxx, the other under HostConfig[localhost]. Could

RE: init servlet loaded twice

2003-09-18 Thread Shapira, Yoav
Howdy, That's proper behavior by tomcat. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Phillip Qin [mailto:[EMAIL PROTECTED] >Sent: Thursday, September 18, 2003 4:04 PM >To: 'Tomcat Users List' >Subject: RE: init servlet loaded twice

RE: init servlet loaded twice

2003-09-18 Thread Phillip Qin
Yeah. If I start tomcat, my init Servlet only loads once (main thread). If I deploy my webapp, my ini Servlet loads twice. So it is caused by tomcat manager app. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: September 18, 2003 4:00 PM To: Tomcat Users List

RE: init servlet loaded twice

2003-09-18 Thread Shapira, Yoav
Subject: RE: init servlet loaded twice > >One. Is it because of using tomcat manager app? > >-Original Message- >From: Shapira, Yoav [mailto:[EMAIL PROTECTED] >Sent: September 18, 2003 3:41 PM >To: Tomcat Users List >Subject: RE: init servlet loaded twice > > >

RE: init servlet loaded twice

2003-09-18 Thread Phillip Qin
One. Is it because of using tomcat manager app? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: September 18, 2003 3:41 PM To: Tomcat Users List Subject: RE: init servlet loaded twice Howdy, How many declarations do you have for that servlet in your web.xml

RE: init servlet loaded twice

2003-09-18 Thread Shapira, Yoav
Howdy, How many declarations do you have for that servlet in your web.xml? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Phillip Qin [mailto:[EMAIL PROTECTED] >Sent: Thursday, September 18, 2003 3:39 PM >To: '[EMAIL PROTECTED]' >Subject:

init servlet loaded twice

2003-09-18 Thread Phillip Qin
I was looking at my webapp log this afternoon. I use tomcat + log4j + struts. In the log, I found that my InitServlet was loaded twice. One under Thread-xxx, the other under HostConfig[localhost]. Could any body please explain? PQ

RE: JSP seems to be executing twice and we are getting duplicaterecords in our database

2003-08-04 Thread Adrian Beech
y the responding JSP is processing duplicate requests to insert the data twice? I understand your suggestions and points. I don't however understand why the problem is occuring as in our case the additional execution of the JSP doesn't appear to be initiated by the user -- i.e. multiple cli

RE: JSP seems to be executing twice and we are getting duplicate records in our database

2003-08-04 Thread Bill Lunnon
helps Bill -Original Message- From: Adrian Beech [mailto:[EMAIL PROTECTED] Sent: Monday, 4 August 2003 8:45 PM To: [EMAIL PROTECTED] Subject: JSP seems to be executing twice and we are getting duplicate records in our database Hi folks, We have a weird problem where a JSP seems to be

JSP seems to be executing twice and we are getting duplicate records in our database

2003-08-04 Thread Adrian Beech
Hi folks, We have a weird problem where a JSP seems to be executing twice and we are getting duplicate records in our database. The data is coming from a HTML form and upon submit a subsequent JSP page is called that performs the SQL insert, etc. We are also getting duplicate log messages so

contextDestroyed being called twice ???

2003-07-15 Thread Mufaddal Khumri
I have defined a listener class that implements: public void contextDestroyed(ServletContextEvent sce) { ... } The problem is this method is being called twice when i use the tomcat admin manager to reload the webapplication by clicking on the Reload link. Why does this happen ? Is this

HttpServlet.init() Method called twice.

2003-07-11 Thread Sudhir Movva
Hi! I have a servlet which is loaded when tomcat is started. The servlet uses the resource, which is configured in the server.xml, to get a database connection. I have two weird problems here. 1. The init method in my servlet is called twice. First time it is able to get the connection and load

Bug ? Init is called twice in SingleThreadModel

2003-07-09 Thread Hal Lander
I modified my init method as suggested by Yoav. The new init() and its output are shown below. The addresses printed are different so it appears I have two instances of my servlet. Bill said that "instance-pooling for STM Servlets" is normal behaviour. I was expecting that, since I am the only p

Re: Bug ? Init is called twice in SingleThreadModel

2003-07-02 Thread Bill Barker
Servlet, and hence multiple calls to init. "Hal Lander" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > The init method of my servlet is called twice if my class implements the > SingleThreadModel. > Full details are given below. If I remove "implements Singl

RE: Bug ? Init is called twice in SingleThreadModel

2003-07-02 Thread Shapira, Yoav
Howdy, >The init method of my servlet is called twice if my class implements the >SingleThreadModel. >Full details are given below. If I remove "implements SingleThreadModel" >init is called only once - as I would expect. > >Is this a bug? >Any help would b

Bug ? Init is called twice in SingleThreadModel

2003-07-02 Thread Hal Lander
The init method of my servlet is called twice if my class implements the SingleThreadModel. Full details are given below. If I remove "implements SingleThreadModel" init is called only once - as I would expect. Is this a bug? Any help would be appreciated. Hal. THE S

Re: how to unsubscribe - tried twice!

2003-06-10 Thread John Turner
nal Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: Tue 6/10/2003 10:20 AM To: Tomcat Users List Cc: Subject: Re: how to unsubscribe - tried twice! I haven't been following this thread but have you tried the following address? [EMAIL PROTECTED] On Wed, 11 Jun 2

RE: how to unsubscribe - tried twice!

2003-06-10 Thread Kevin Baynes
Try it from another account, like Yahoo! or hotmail. ~akb | -Original Message- | From: Keith Adams [mailto:[EMAIL PROTECTED] | Sent: Tuesday, June 10, 2003 1:43 PM | To: Tomcat Users List | Subject: RE: how to unsubscribe - tried twice! | | | Jason | | Somebody else made that

RE: how to unsubscribe - tried twice!

2003-06-10 Thread Keith Adams
6/10/2003 10:20 AM To: Tomcat Users List Cc: Subject: Re: how to unsubscribe - tried twice! I haven't been following this thread but have you tried the following address? [EMAIL PROTECTED] On Wed, 11 Jun 20

Re: how to unsubscribe - tried twice!

2003-06-10 Thread Jason Bainbridge
On Wed, 11 Jun 2003 01:20, Jason Bainbridge wrote: > I haven't been following this thread but have you tried the following > address? > > [EMAIL PROTECTED] If that fails have a look at the first header, in Outlook open the message, then View/Options the ReturnPath will then show, which email addr

Re: how to unsubscribe - tried twice!

2003-06-10 Thread Jason Bainbridge
PM > To: 'Tomcat Users List' > Cc: > Subject: Re: how to unsubscribe - tried twice! > > > > I _belief_ you have to have it in the To: line. > So > --- > To: [EMAIL PROTECTED] > Subject: anything >

  1   2   3   >