Re: Basic authentication without a secure connection

2009-05-04 Thread André Warnier
Mmmm wait.. I think I am starting to understand what you want. A question first : are the Tomcat server (+Struts) and the php application on the same host ? A second question : does your Tomcat host know the login user-id and password of the users ? In other words, can the host where Tomcat

Re: Database pooling prob

2009-05-04 Thread S Arvind
Thanks everone. The problem i found is completely different. Its vista administaratve rights problem. I corrected that and our rocking tomcat is rocking.. Thanks every one. Arvind S *Many of lifes failure are people who did not realize how close they were to success when they gave up. -Thomas

Re: Tomcat over AJP with Apache in front SSL Issues

2009-05-04 Thread Rainer Jung
On 04.05.2009 03:27, matt617 wrote: when using apache 2.2, tomcat 5.5.20 on top of java 1.5.10+ using Apache with Mod_SSL and Mod_Proxy to connect the Incoming http session through AJP to Tomcat my browser repeatidly prompts me for a ceritficate. 3 times at the beginning, then about 3 times

Re: Tomcat 6.0.18 on Win32 - Enabling Security Manager

2009-05-04 Thread Pid
Chris Brookes wrote: Thanks for your assistance, I will give that a try. I must say that the nature of your questions leaves me with some concern about the content of your guide... Hmmm, I wont bite but I will provide a little more information on what I am doing. www.owasp.org p

Re: Tomcat 6.0.18 on Win32 - Enabling Security Manager

2009-05-04 Thread Nikola Milutinovic
I must say that the nature of your questions leaves me with some concern about the content of your guide... Hmmm, I wont bite but I will provide a little more information on what I am doing. The guide is specifically being written for Tomcat on Windows, which in my searching of the web

Could not load META-INF/services/javax.xml.parsers

2009-05-04 Thread Andreas Vasiliou
Hello, I am trying to develop a web application in Java, using NetBeans 6.5.1. NetBeans installed Tomcat 6.0.18. I am using java 1.6 update 11. In my application I have a thread that loops and reads a configuration file and if it finds any changes in configuration it takes some action. The

Re: Could not load META-INF/services/javax.xml.parsers

2009-05-04 Thread Pid
Andreas Vasiliou wrote: Hello, I am trying to develop a web application in Java, using NetBeans 6.5.1. NetBeans installed Tomcat 6.0.18. I am using java 1.6 update 11. In my application I have a thread that loops and reads a configuration file and if it finds any changes in

RE: Tomcat 6.0.18 on Win32 - Enabling Security Manager

2009-05-04 Thread Martin Gainty
%CATALINA_HOME%\bin\catalina start -security change to Windows %CATALINA_HOME%\bin\catalina.bat start -security Unix %CATALINA_HOME%\bin\catalina.sh start -security make sure you implement java.lang.RuntimePermission ability for each package catalina.properties # # List of comma-separated

RE: IIS 6 Tomcat Connector isapi_redirect-1.2.28.dll not being called 404 2 1260 error

2009-05-04 Thread FOREBACK Dianne
Thank you very much for the reply. I have followed the instructions including step 9. The IIS default website is not in the default IIS location. Wondering if this causes a problem? Thanks again, Dianne -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent:

Re: Comet implimentation

2009-05-04 Thread balachandra maddina
Hi Andreas, Thx for the reply. but im looking towards a hand code solution rather using an additional framework. i have downloaded the comet example that is placed in tomcat wiki which uses an Applet as a client. and trying to understand this better so i can use this with other clients like an

Re: SSL issues with Tomcat - OutOfMemory

2009-05-04 Thread Chris Stewart
Here's an exception from that day: Apr 27, 2009 8:28:50 AM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet Faces Servlet threw exception java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method)

bizarre return messages

2009-05-04 Thread André Warnier
Hi. Is anyone experiencing the same phenomenon ? Since a couple of days, each message I send to the list triggers an acknowledgement as follows : Dear André, Thank you for your inquiry. This is an automated response acknowledging the receipt of your email. Please allow us 2 business days

RE: Tomcat Configuration in Eclipse

2009-05-04 Thread Martin Gainty
Please download and install tomcat sysdeo for eclipse plugin from http://www.eclipsetotale.com/tomcatPlugin.html and follow all the configuration instructions from readme.html Martin __ Disclaimer and Confidentiality/Verzicht und

Re: Prevent Hot Linking

2009-05-04 Thread Hassan Schroeder
On Mon, May 4, 2009 at 6:03 AM, Andre-John Mas aj...@sympatico.ca wrote: I have seen some site block images from being loaded if the referrer is not the site in question. I don't know if this is possible with Tomcat? Easily done with a Filter, except that: 1) The referrer header is not

Re: How to make request parameters available to a login.jsp?

2009-05-04 Thread André Warnier
Sid Sidney wrote: Hi, I have posted this question in many different forum, but I still have not found an answer. Perhaps, I will in this list. Not being the Tomcat expert, I don't know how Tomcat (in its different versions) handles this, but you may be encountering the following issue : A

Re: Could not load META-INF/services/javax.xml.parsers

2009-05-04 Thread Andreas Vasiliou
What do you mean by asking where I put the file? If you mean the path, I have the following: *private static final String propertyFileLocation = D:/ProjectConf/IDbConf.xml;* File file = new File(DbConfiguration.propertyFileLocation); if (file.exists()) { try {

RE: Tomcat over AJP with Apache in front SSL Issues

2009-05-04 Thread Robin Wilson
We had a similar problem when our certificate was invalid. We updated our certificate and the problem went away. I suspect, if you are not using a valid certificate (from a real Certificate Authority - like VeriSign, or Thawte, etc.), you would need to install the certificate you used on the

Upgrade Tomcat 4.1.18 to 4.1.39

2009-05-04 Thread jab0326
Hi, I am new to Tomcat. We have an application written in 4.1.18. At a minimum I would like to upgrade to version 4.1.39. The application runs on Windows 2000 sp4. Is there an upgrade exe that can be run? Or, could you point me to a good page that would walk me through the process? Both?

Re: bizarre return messages

2009-05-04 Thread André Warnier
ados1...@gmail.com wrote: Yes. I am also facing the same issue and I do not know why this messages comes up everytime. Thanks for the confirmation. I've been scanning my laptop inside and out, thinking it had caught the swine flu.. (And Imre, sorry for suspecting you ;-), apparently it is

Re: unable to start tomcat4 on unix

2009-05-04 Thread André Warnier
bhavik shah wrote: hi experts, I am getting the following error message when i tried to start the tomcat4 on unix server I checked the bootstrap.jar file is there in tomcat/bin directory. I would appreciate if you would let me know how to troubleshoot the issue. That is such an old Tomcat

How to make request parameters available to a login.jsp?

2009-05-04 Thread Sid Sidney
Hi, I have posted this question in many different forum, but I still have not found an answer. Perhaps, I will in this list.  I have a secured resource in Tomcat. My resources are secured via FORM authentication (j_security_check). The secured resources are requested from an external page like

error in starting the tomcat 4 on unix system

2009-05-04 Thread bhavik shah
hi experts, I am getting the following error message when i tried to start the tomcat4 on unix server I checked the bootstrap.jar file is there in tomcat/bin directory. I would appreciate if you would let me know how to troubleshoot the issue. Exception during startup processing

RE: How to make request parameters available to a login.jsp?

2009-05-04 Thread Martin Gainty
can we see doGet and doPost for ActionServlet.java thanks Martin __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité This message is confidential. If you should not be the intended receiver,

Re: unable to start tomcat4 on unix

2009-05-04 Thread bhavik shah
HI Andre, it is an old tomcat running for many years on HP unix server i usually start the server by ./starup.sh command. the only change i did was i deleted bunch of drl file from the bin directory which was generated over the period of time ( i deleted some drl before and it didnt crashed) those

Re: I have a problem with Apache, Tomcat

2009-05-04 Thread nohacks
Hi Chris, I downloaded the new version of mod_jk http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/linux/jk-1.2.28/i586/ [ ] mod_jk-1.2.28-httpd-2.2.X.so 21-Mar-2009 23:53 676K I am still having the same issues as you can see... Any ideal

Re: Prevent Hot Linking

2009-05-04 Thread Andre-John Mas
On 19-Apr-2009, at 12:22, Graeme Kidd wrote: Thanks André, urlrewrite seems a suficiant solution for now as I only want to block people if they try and acess the file from outside my domain. If my understanding is correct blocking by IP although harder to fake would prevent them no

Re: bizarre return messages

2009-05-04 Thread Pid
André Warnier wrote: Hi. Is anyone experiencing the same phenomenon ? Yes. Some muppet at their institution has subscribed a group email address, with an autoresponder, to this list. I am sending an email to them every time I get one back to see how long it takes them to get the hint, (like

How does the Tomcat Manager guess at user name?

2009-05-04 Thread Matt Brown
The Sessions Administration page within the Tomcat Manager (i.e., /manager/html/sessions?path=/) has two columns for Guessed Locale and Guessed User name. Does anyone know how the manager app guesses at these two values? My app stores the user's username (and locale) in session, but both are

RE: bizarre return messages

2009-05-04 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: bizarre return messages Is anyone experiencing the same phenomenon ? Since a couple of days, each message I send to the list triggers an acknowledgement as follows : Seems to have stopped for the moment (perhaps the people in Alberta

Re: Basic authentication without a secure connection

2009-05-04 Thread Tokajac
Answer on the FIRST question: I want to have Struts and php applications on separate hosts (if possible). If not, I will consider possibility for putting them on same host... SECOND: Tomcat application is using j_security_check, not Basic authentication. User-id and password are kept in

Re: OT: GoDaddy Hosting and Tomcat

2009-05-04 Thread George Sexton
Martin Gainty wrote: if someone elses webapp does a system.exit(1) does that impact your JVM process ? As pointed out, if you run Tomcat with the security manager, then that can't happen. It would throw a security exception. since diskspace,memory and servers are dirt cheap what

Re: unable to start tomcat4 on unix

2009-05-04 Thread bhavik shah
Hi Andre, I found the issuemy setenv.sh was deleted while deleting the other files...restore it and started .it worked fine now thanks On 5/4/09, bhavik shah bhavik...@gmail.com wrote: HI Andre, it is an old tomcat running for many years on HP unix server i usually start

Re: bizarre return messages

2009-05-04 Thread ados1...@gmail.com
Yes. I am also facing the same issue and I do not know why this messages comes up everytime. On Mon, May 4, 2009 at 8:04 AM, André Warnier a...@ice-sa.com wrote: Hi. Is anyone experiencing the same phenomenon ? Since a couple of days, each message I send to the list triggers an

Tomcat Configuration in Eclipse

2009-05-04 Thread ados1...@gmail.com
Hi, I am trying to configure TOMCAT Webserver in Eclipse and am not able to do that. Guidance on the matter would be highly appreciated. Also, how can I access local jsp page which is on the WebApps folder in Webserver from Browser ? Thanks, Ados

RE: SSL issues with Tomcat - OutOfMemory

2009-05-04 Thread Caldarale, Charles R
From: Chris Stewart [mailto:cstewart...@gmail.com] Subject: Re: SSL issues with Tomcat - OutOfMemory Apr 27, 2009 8:28:50 AM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet Faces Servlet threw exception java.lang.OutOfMemoryError: unable to create

unable to start tomcat4 on unix

2009-05-04 Thread bhavik shah
hi experts, I am getting the following error message when i tried to start the tomcat4 on unix server I checked the bootstrap.jar file is there in tomcat/bin directory. I would appreciate if you would let me know how to troubleshoot the issue. Exception during startup processing

Re: bizarre return messages

2009-05-04 Thread Sid Sidney
Yup, I got this today. --- On Mon, 5/4/09, André Warnier a...@ice-sa.com wrote: From: André Warnier a...@ice-sa.com Subject: bizarre return messages To: Tomcat Users List users@tomcat.apache.org Date: Monday, May 4, 2009, 10:04 AM Hi. Is anyone experiencing the same phenomenon ? Since a couple

Re: Re: Servlets that use response.getOutputStream(): do they play nicely with Tomcat's error pages?

2009-05-04 Thread Dave Cherkassky
Chris, you are 100% right. I got caught up in my own assumptions. When I examined Tomcat's generated java class, I saw code like this: out.print( ); My typical naming convention is to use out as a variable for OutputStream. But of course that's not the case here -- out is a Writer!

RE: GZIP Comrpession Problem

2009-05-04 Thread Glen Goodwin
As suggested I did a completely clean install and retried this bug. Everything worked as normal. So I apologize for wasting everyone's time. Yet for the life of me I cannot figure out what configuration change I might have made that could have caused compression to be limited to 48k. But who

Re: Tomcat Configuration in Eclipse

2009-05-04 Thread ados1...@gmail.com
Thank you Sir, My issue has been resolved. I really appreciate efforts that group member's are putting in to guide Tomcat Community. Regards, Ados On Mon, May 4, 2009 at 8:05 AM, Martin Gainty mgai...@hotmail.com wrote: Please download and install tomcat sysdeo for eclipse plugin from

RE: OT: GoDaddy Hosting and Tomcat

2009-05-04 Thread Martin Gainty
yes a SecurityException would be thrown when a catalina.policy grant happens for RuntimePermission violations such as what you see in this catalina.policy # List of comma-separated packages that start with or equal this string # will cause a security exception to be thrown when # passed to

Re: I have a problem with Apache, Tomcat

2009-05-04 Thread André Warnier
Hi Chris too, and hi nohacks. I was not quite convinced by Chris's explanation, so I tested this by myself. Apache httpd 2.2.3 mod_jk 1.2.18 (quite old) Tomcat 5.5.27 In my case, URI's starting with /starweb are being redirected to Tomcat by mod_jk (corresponding to the OP's case /myapp).

Re: Tomcat Configuration in Eclipse

2009-05-04 Thread ados1...@gmail.com
Hello, With the help of Plugin Tomcat is being configured in Eclipse. But now when I am trying to run my jsp page on Tomcat server than it is not running and am getting following message : Several ports (8005, 8080, 8009) required by Tomcat v4.1 Server at localhost are already in use. The server

RE: How to make request parameters available to a login.jsp?

2009-05-04 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: How to make request parameters available to a login.jsp? Except that it (usually) breaks down if the original request was a POST. Because then, the server would have needed to remember, not only the URI of the original request,

RE: How to make request parameters available to a login.jsp?

2009-05-04 Thread Sid Sidney
What should I be looking in the ActionServlet.java??? Since control is not here yet?  I'm not trying to be rude, but not sure how that would help.  The same problem happens when I request a jsp file.  --- On Mon, 5/4/09, Martin Gainty mgai...@hotmail.com wrote: From: Martin Gainty

RE: How to make request parameters available to a login.jsp?

2009-05-04 Thread Sid Sidney
Tomcat does remembers the original POST data. I know because once a user successfuly sings in, the original POST data is available  either from a jsp or servlet. The problem is that it is not available within the login.jsp page.  --- On Mon, 5/4/09, Caldarale, Charles R

RE: Tomcat Configuration in Eclipse

2009-05-04 Thread Martin Gainty
netstat -ab will display which binary or process (with pid) that is bound to the port Martin __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité This message is confidential. If you should

Re: Tomcat Configuration in Eclipse

2009-05-04 Thread ados1...@gmail.com
I am using Windows XP and so netstat -ab will not work with it. On Mon, May 4, 2009 at 12:08 PM, Martin Gainty mgai...@hotmail.com wrote: netstat -ab will display which binary or process (with pid) that is bound to the port Martin __

Re: Tomcat Configuration in Eclipse

2009-05-04 Thread Sid Sidney
I would check and make sure that Tomcat is not being started as a service in your machine. --- On Mon, 5/4/09, ados1...@gmail.com ados1...@gmail.com wrote: From: ados1...@gmail.com ados1...@gmail.com Subject: Re: Tomcat Configuration in Eclipse To: Tomcat Users List users@tomcat.apache.org Date:

RE: Tomcat Configuration in Eclipse

2009-05-04 Thread BRZEZINSKI, PAUL
On XP try: netstat -a -o -- Paul J. Brzezinski Integration Engineering - GM EDS, an HP company     Phone:+1-248-365-9615(8-355) P paul.brzezin...@hp.com -Original Message- From: ados1...@gmail.com [mailto:ados1...@gmail.com] Sent: Monday, May 04, 2009 2:11 PM To: Tomcat Users List

Re: Tomcat Configuration in Eclipse

2009-05-04 Thread ados1...@gmail.com
When I type at CMD prompt :: C:\netstat -a-o C:\netstat -ab I get following message : netstat is not recognized as an internal or external command, operable program or batch file On Mon, May 4, 2009 at 12:15 PM, BRZEZINSKI, PAUL paul.brzezin...@hp.comwrote: On XP try: netstat -a -o

RE: Tomcat Configuration in Eclipse

2009-05-04 Thread BRZEZINSKI, PAUL
Try: %windir%\system32\netstat -a -o -- Paul J. Brzezinski Integration Engineering - GM EDS, an HP company     Phone:+1-248-365-9615(8-355) P paul.brzezin...@hp.com -Original Message- From: ados1...@gmail.com [mailto:ados1...@gmail.com] Sent: Monday, May 04, 2009 2:20 PM To: Tomcat

Re: Tomcat Configuration in Eclipse

2009-05-04 Thread ados1...@gmail.com
Thank you Sir, This command was working fine and now I am able to see the list of local ports which are busy. There is one local port 8005 which is in listening state using TCP Protocol having PID 4 and I guess that becuase of this Tomcat Server is not starting properly On Mon, May 4, 2009 at

Re: Basic authentication without a secure connection

2009-05-04 Thread André Warnier
Hi. So now we're making progress. Unfortunately, I don't think that there is a simple solution. I think that the easiest solution to implement in this case, would be : - remove the authentication filter you have at the Tomcat level. - put an Apache httpd front-end to /both/ your Struts

Re: I have a problem with Apache, Tomcat

2009-05-04 Thread Rainer Jung
On 04.05.2009 19:50, André Warnier wrote: Hi Chris too, and hi nohacks. I was not quite convinced by Chris's explanation, so I tested this by myself. Apache httpd 2.2.3 mod_jk 1.2.18 (quite old) Tomcat 5.5.27 In my case, URI's starting with /starweb are being redirected to Tomcat by

Re: Tomcat Configuration in Eclipse

2009-05-04 Thread ados1...@gmail.com
I checked machine startup options and tomcat is not started as a service in my machine On Mon, May 4, 2009 at 12:12 PM, Sid Sidney pvcsv...@yahoo.com wrote: I would check and make sure that Tomcat is not being started as a service in your machine. --- On Mon, 5/4/09, ados1...@gmail.com

Re: Extra Threads in background

2009-05-04 Thread David.Meldrum
This may be the key to duplicate Thread. I am not really confident in my server.xml so here it is. Note that I have two hosts one for localhost and the other for the domain southchurch.atx.cx Is that correct? Could that cause the application to run twice? Server.xml ?xml version='1.0'

Re: Tomcat Configuration in Eclipse

2009-05-04 Thread André Warnier
ados1...@gmail.com wrote: I checked machine startup options and tomcat is not started as a service in my machine Then something else is running and using port 8005. You can either try to stop that process, or else change the port 8005 in Tomcat's server.xml file, to something else (8006 ?).

Re: How to make request parameters available to a login.jsp?

2009-05-04 Thread André Warnier
Sid Sidney wrote: Tomcat does remembers the original POST data. I know because once a user successfuly sings in, the original POST data is available either from a jsp or servlet. The problem is that it is not available within the login.jsp page. Why would you need that strange thing ? ;-)

Re: bizarre return messages

2009-05-04 Thread Mark Thomas
Sid Sidney wrote: Yup, I got this today. Just checked the list of subscribed users and the only e-mail address from this domain has just won an unsubscription from the users list. As a special bonus, I threw in a permanent subscription to the deny list for free. Mark --- On Mon, 5/4/09,

Re: Tomcat Configuration in Eclipse

2009-05-04 Thread Xie Xiaodong
Hello, Maybe you could just simply reboot your computer and try to start Tomcat again. 2009/5/4 André Warnier a...@ice-sa.com ados1...@gmail.com wrote: I checked machine startup options and tomcat is not started as a service in my machine Then something else is running and using port

RE: Tomcat Configuration in Eclipse

2009-05-04 Thread Martin Gainty
assumed op had full suite of unix tools and cygwin thanks ed, Martin __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité This message is confidential. If you should not be the intended

Re: Filtering URL via tomcat

2009-05-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ravi, On 5/1/2009 7:36 PM, Ravi Sharma wrote: I wanted to server these pages only to registered user of my site so i put one filter in web.xml of my application filter filter-nameDownLoadSecurityFilter/filter-name

Re: SSL issues with Tomcat - OutOfMemory

2009-05-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, On 5/4/2009 9:52 AM, Chris Stewart wrote: Here's an exception from that day: Apr 27, 2009 8:28:50 AM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet Faces Servlet threw exception

Re: Browser shows source of .jsp file. Why?

2009-05-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 4/27/2009 10:11 AM, David Rush wrote: The controller servlet is using three rd = req.getRequestDispatcher(something.jsp); rd.include(req,resp); blocks (with essentially header, main content, and footer .jsp files) to assemble the

Re: Extra Threads in background

2009-05-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 5/1/2009 1:23 PM, David.Meldrum wrote: Chris, This is a good point. What I am discovering is that while I was calling a terminate method on the Thread in the ContextListener.contextDestroyed() method, my thread lives for quite while,

Re: Extra Threads in background

2009-05-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 5/4/2009 2:41 PM, David.Meldrum wrote: Host name=southchurch.ath.cx appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false !-- Access Log Valve turned off

Re: Servlets that use response.getOutputStream(): do they play nicely with Tomcat's error pages?

2009-05-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 5/1/2009 5:34 PM, Mark Thomas wrote: Long story short. Old error handling: Reset the response. Leave usingWriter flag alone. New error handling: Reset the buffer. Reset usingWriter flag. Gotcha. You're right: I hadn't read /everything/

How to eliminate stack traces from Tomcat responses?

2009-05-04 Thread B D
Hi, I run a Spring web service application under Tomcat 5.5.25 and need to eliminate stack traces from all error responses. For Tomcat 3.2 you could add showDebugInfo=false to server.conf but this is not an option for 5.5. Defining error-page in web.xml to handle all exceptions

Re: Servlets that use response.getOutputStream(): do they play nicely with Tomcat's error pages?

2009-05-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, On 5/4/2009 12:36 PM, Dave Cherkassky wrote: My typical naming convention is to use out as a variable for OutputStream. But of course that's not the case here -- out is a Writer! Yup. Now, upgrade! ;) You can tell your politicians that TC

Re: Tomcat Configuration in Eclipse

2009-05-04 Thread ados1...@gmail.com
My port 8005 which is needed by Tomcat Server is busy and now I am trying to kill PID 5716 which is currently occupying that port. I have used tskill 5716 and taskkill 5716 but this commands are recognized as internal and external command, operable file or batch file and so was not sure of how to

RE: Tomcat Configuration in Eclipse

2009-05-04 Thread BRZEZINSKI, PAUL
Try: %windir%\system32\taskkill /pid 5716 -- Paul J. Brzezinski Integration Engineering - GM EDS, an HP company     Phone:+1-248-365-9615(8-355) P paul.brzezin...@hp.com -Original Message- From: ados1...@gmail.com [mailto:ados1...@gmail.com] Sent: Monday, May 04, 2009 4:26 PM To:

Re: I have a problem with Apache, Tomcat

2009-05-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 5/4/2009 1:50 PM, André Warnier wrote: I was not quite convinced by Chris's explanation, so I tested this by myself. [snip] So, despite my initial scepticism (for which I apologise), Chris turns out to be right. Sometimes it's goog

Re: Tomcat Configuration in Eclipse

2009-05-04 Thread ados1...@gmail.com
Trying this command %windir%\system32\taskkill /pid 5716, am getting following message This Application has failed to start because framedyn.dll was not found. Re-Installing the application may fix this problem. On Mon, May 4, 2009 at 2:28 PM, BRZEZINSKI, PAUL paul.brzezin...@hp.comwrote:

Re: Doubt in threads

2009-05-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arvind, On 5/2/2009 3:37 AM, S Arvind wrote: Is there any possibility that tomcat 6 process threads will increase even in the idle state without working on any request. since if i check the tomcat thread by *ps -C java -L -o

Re: Basic authentication without a secure connection

2009-05-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tokajac, On 5/3/2009 2:06 PM, Tokajac wrote: User should access the application directly (not proxying). On http://hc.apache.org/httpclient-3.x/tutorial.html as I see header is created for programatic access and not via browser. Is it possible

Re: Upgrade Tomcat 4.1.18 to 4.1.39

2009-05-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim, On 5/4/2009 10:48 AM, jab0326 wrote: I am new to Tomcat. We have an application written in 4.1.18. At a minimum I would like to upgrade to version 4.1.39. The application runs on Windows 2000 sp4. Is there an upgrade exe that can be

RE: Tomcat Configuration in Eclipse

2009-05-04 Thread BRZEZINSKI, PAUL
See this Microsoft KB article regarding the error you receive when trying to run taskkill... http://support.microsoft.com/kb/319114 -- Paul J. Brzezinski Integration Engineering - GM EDS, an HP company     Phone:+1-248-365-9615(8-355) P paul.brzezin...@hp.com -Original Message-

RE: Upgrade Tomcat 4.1.18 to 4.1.39

2009-05-04 Thread Caldarale, Charles R
From: jab0326 [mailto:james.br...@gmail.com] Subject: Upgrade Tomcat 4.1.18 to 4.1.39 We have an application written in 4.1.18. At a minimum I would like to upgrade to version 4.1.39. I would think that effort would border on the trivial - but I've never run a Tomcat that old. Is there

RE: Tomcat Configuration in Eclipse

2009-05-04 Thread BRZEZINSKI, PAUL
Alternatively, you can/should be able to run/start/launch taskmgr [CTRL-ALT-DEL]. I cannot recall if Task Manager in WinXP allows/shows the PID by default. Click on the Processes tab. Click on the View menu, then choose Select Columns... On the resulting pop-up window, select PID (Process

Re: How to make request parameters available to a login.jsp?

2009-05-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sid, On 5/4/2009 9:26 AM, Sid Sidney wrote: The secured resources are requested from an external page like this: form method=post action=http://localhost:8080/testApp/secured/userHome.do; name=userHomeForm input type=hidden name=mydata

Re: Basic authentication without a secure connection

2009-05-04 Thread Joseph Millet
There's one thing you may do: implement an authentication web service on tomcat's side. Make a wsdl service running on it accepting request on whether given encrypted session id is a valid one, service does check either a running session use that id and simply replies OK or KO. But that means

RE: IIS 6 Tomcat Connector isapi_redirect-1.2.28.dll not being called 404 2 1260 error

2009-05-04 Thread FOREBACK Dianne
I also deleted the registry keys for this setup, deleted the virtual directory, took off the web extensions, removed the filter and tried setting up again. Still no progress. Thank you very much for the reply. I have followed the instructions including step 9. The IIS default website is not

Re: Tomcat Configuration in Eclipse

2009-05-04 Thread ados1...@gmail.com
Thank you Paul for the indepth knowledge of windows dll...I am working on it right now and will update on it's output soon. On Mon, May 4, 2009 at 2:58 PM, BRZEZINSKI, PAUL paul.brzezin...@hp.comwrote: Alternatively, you can/should be able to run/start/launch taskmgr [CTRL-ALT-DEL]. I cannot

RE: How does the Tomcat Manager guess at user name?

2009-05-04 Thread Caldarale, Charles R
From: Matt Brown [mailto:matt.br...@citrixonline.com] Subject: How does the Tomcat Manager guess at user name? Does anyone know how the manager app guesses at these two values? Might be easiest for you to look at the code yourself. In 6.0.18, the file of interest is:

Re: How to make request parameters available to a login.jsp?

2009-05-04 Thread Sid Sidney
Our application serves many different clients. Every page in our application (including the login.jsp and errorLogin.jsp) is configured to look like our clients predetermined look and feel.   We use this property to distinguish which look and feel to display. --- On Mon, 5/4/09, Christopher

Re: Tomcat Configuration in Eclipse

2009-05-04 Thread ados1...@gmail.com
Now when I tried to free port 8080,8010 and 8006 than I observe that on all this port javaw.exe is running which I suppose is needed for Tomcat Server so now important thing to notice is that javaw.exe is already running than why Tomcat Server is not able to work... On Mon, May 4, 2009 at 3:32

Re: Tomcat Configuration in Eclipse

2009-05-04 Thread André Warnier
ados1...@gmail.com wrote: Now when I tried to free port 8080,8010 and 8006 than I observe that on all this port javaw.exe is running which I suppose is needed for Tomcat Server so now important thing to notice is that javaw.exe is already running than why Tomcat Server is not able to work...

RE: Tomcat 6.0.18 on Win32 - Enabling Security Manager

2009-05-04 Thread Chris Brookes
Yeah the OWASP guide was pretty good, there was one there for Tomcat 5.5, that was part of the base for my guide along with a couple of other key resources The DISA Tomcat checklist titled Web Checklist Tomcat Version 6 Release 1.5 at http://iase.disa.mil/stigs/checklist/ was also pretty good.

Re: Tomcat Configuration in Eclipse

2009-05-04 Thread ados1...@gmail.com
Seen the ports but not sure on what exactly is javaw.exe and how is it related to Tomcat On Mon, May 4, 2009 at 5:18 PM, André Warnier a...@ice-sa.com wrote: ados1...@gmail.com wrote: Now when I tried to free port 8080,8010 and 8006 than I observe that on all this port javaw.exe is running

RE: Tomcat Configuration in Eclipse

2009-05-04 Thread BRZEZINSKI, PAUL
Javaw.exe -- javaw.exe belongs to Java from Sun Microsystems, Inc.. The javaw.exe command is identical to java.exe, except that with javaw.exe there is no associated console window. This implies you can't get it to display the version with -version since there is no console to display it on.

Re: How to make request parameters available to a login.jsp?

2009-05-04 Thread Sid Sidney
Hi Andre, I agree it sounds strange, but there is a legitimate business requirement for this data to be available in the login page. As I stated in an earlier reply, We use this data to personalize the look and feel of our application based on this data.   This used to work in earlier versions

Re: How to make request parameters available to a login.jsp?

2009-05-04 Thread Sid Sidney
One thing I've just found out is that if I enable the  valve RequestDumperValue/valve The post data becomes available to the login.jsp.  Valve className=org.apache.catalina.valves.RequestDumperValve/ I'm going to have to look more at this. --- On Mon, 5/4/09, Sid Sidney pvcsv...@yahoo.com

Memory Question

2009-05-04 Thread Matt Corban
Where does Tomcat store the memory usage that it displays in the Server Status under the Manager console? I was thinking about writing a shell script to keep track of the memory usage over time (such as the free memory, total memory and max memory) and store it in a file. Thanks, Matt

RE: Tomcat Configuration in Eclipse

2009-05-04 Thread Caldarale, Charles R
From: BRZEZINSKI, PAUL [mailto:paul.brzezin...@hp.com] Subject: RE: Tomcat Configuration in Eclipse The javaw.exe command is identical to java.exe, except that with javaw.exe there is no associated console window. This implies you can't get it to display the version with -version since

RE: Memory Question

2009-05-04 Thread Caldarale, Charles R
From: Matt Corban [mailto:mcor...@tcservices.biz] Subject: Memory Question Where does Tomcat store the memory usage that it displays in the Server Status under the Manager console? Tomcat doesn't store that info - it's kept by the JVM; look at the java.lang.Runtime API spec. More detailed

Re: Tomcat Configuration in Eclipse

2009-05-04 Thread ados1...@gmail.com
I have checked my Tomcat Server and it is not started yet and so it is confusing to see it working w/o starting it. -Ados On 5/4/09, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: BRZEZINSKI, PAUL [mailto:paul.brzezin...@hp.com] Subject: RE: Tomcat Configuration in Eclipse The