Re: Windows, Runtime.exec() problems [solved]

2005-10-21 Thread David Teran
Well, it was not tomcat, the problem was starting tomcat as windows service, then the process invoked by exec cannot use OLE Automation. regards, David Am 20.10.2005 um 19:15 schrieb David Teran: Hi, thanks for the quick response, no, the firewall is already deactivated. regards, David

Re: context.xml file and war

2005-10-21 Thread Lionel Farbos
Some times ago, I wrote a HowTo deploy on Tomcat 5.5 (with an example) and I put it here : http://issues.apache.org/bugzilla/show_bug.cgi?id=35063 This doc is for Tomcat 5.5 but, perhaps, you'll find your answer for Tomcat 4 ... On Thu, 20 Oct 2005 21:48:13 +0200 Alexander Eller [EMAIL

Re: Windows, Runtime.exec() problems [solved]

2005-10-21 Thread Christoph P. Kukulies
On Fri, Oct 21, 2005 at 08:39:16AM +0200, David Teran wrote: Well, it was not tomcat, the problem was starting tomcat as windows service, then the process invoked by exec cannot use OLE Automation. This reminds me of the situation when I wrote a service that was supposed to interact with the

Re: session problem

2005-10-21 Thread Tim Funk
Cookies might be blocked on the other pc's browser -Tim David Won wrote: I developed a very simple project, there is a jsp page and a servlet. In servlet: session.setAttribute(my,abc); In jsp: String mystring = (String) session.getAttribute(my); This project works perfect in one of my PC,

Re: HHTP 302 redirect issue with Tomcat 5.0.28

2005-10-21 Thread Tim Funk
Check bugzilla. This was reported but I can't remember if the report was resolved as FIXED or INVALID. Keywords to use include mapper -Tim Bray, Ian wrote: Hi, I have a problem with Tomcat 5.0.28 (after upgrading from 4.1.29) responding to a HTTP POST request with a 302 redirect. Requests

mapping multiple paths to one context

2005-10-21 Thread Chandrasekar Krishnan
Hi all, I have a web application under webapps (say app1) and have multiple paths mapped to it (/path1 and /path2) through the two Context elements. I'm upgrading to Tomcat 5.5 and read the documentation that says: Please note that for tomcat 5, unlike tomcat 4.x, it is NOT recommended to place

Re: Tomcat shortcut to webapps on Windows

2005-10-21 Thread Viorel Dragomir
See the context.xml deployed into conf/Catalina/localhost folder or see any file located there. Viorel Dragomir . .. --- - Original Message - From: Faine, Mark [EMAIL PROTECTED] To: Tomcat Users List

Re: Antwort: Re: JAASRealm, Tomcat 5.5 getting HTTP error page 403 Access denied

2005-10-21 Thread Brad O'Hearne
Carsten, This is a confirmed bug -- I've just spent a couple days wrestling with it myself. It is a logged bug and fixed on the trunk. http://issues.apache.org/bugzilla/show_bug.cgi?id=37044 Brad Carsten Schiller wrote: Jukka Uusisalo [EMAIL PROTECTED] wrote on 20.10.2005 17:37:31:

Re: Unable to open Tomcat Manager?

2005-10-21 Thread andy gordon
Just a couple of other thoughts... I presume you are using tomcat 5.5x THere is a default resource definition under global naming resources for an in memory database that points to conf/tomcat-users.xml. Without having testing myself, if it still exists in you server.xml file i am wondering

Re: Unable to open Tomcat Manager?

2005-10-21 Thread Paul Singleton
Caldarale, Charles R wrote: ... Note that you cannot manually edit tomcat-users.xml while Tomcat is running, since Tomcat rewrites it at some point (probably at termination, but I haven't verified that). Does anyone else find that 5.5.9 rewrites it with these permissions under Linux?

RE: Tomcat shortcut to webapps on Windows

2005-10-21 Thread Faine, Mark
There is an admin.xml, balancer.xml and manager.xml, admin and manager do not apply as they will be located in server/webapps and balancer.xml has only a single line that doesn't look to me that it should preclude it from running from a shortcut. (doesn't matter I don't need it anyway). The

SSL and Tomcat - can't secure individula pages

2005-10-21 Thread Greg Brownell
All, My whole site, all pages, are redirected to port 443 - everything is secure. I only wanted the *.htm and the single file login.jsp to use https. I have set up tomcat 5.5.9 with SSL as follows: server.xml: !-- Define a non-SSL HTTP/1.1 Connector on port (8080 changed to 9123 --

~ mod_jk Random Errors

2005-10-21 Thread jack rodriguez
I have installed Apache 2.0.52 on a seperate machine along with mod_jk connector 1.2.14 to connect to another machine running Tomcat 5.5.9. I have had some success on getting mod_jk to work but during times of load mod_jk errors saying it does not have a connection to the tomcat server. After

classpath in tomcat

2005-10-21 Thread Raviteja Veerla
Hi all, I am having an interesting problem. I have an java api that looks for some config files in a folder which is in the system classpath. to serve this purpose, i have added the path of this folder to the line. set CLASSPATH=%JAVA_HOME%\lib\tools.jar;C:\TestCases\Conf in setclasspath.bat in

ActiveX question

2005-10-21 Thread Satyavrat A. Prabhune
Hi, Does any Apache product support embedding ActiveX into HTML? I searched for activex on apache site and it returned me zero results! Thanks, Satyavrat. - Yahoo! FareChase - Search multiple travel sites in one click.

Tomcat webapps problem.

2005-10-21 Thread Saha Rabindra N
This question is regarding Tomcat web server on Unix. I am using Tomcat4.1.18 on HP-UX to run some jsp pages. Those jsp pages use some jar files which should be placed in '$CATALINA_HOME/webapps/appname/WEB-INF/lib' folder. But when I place those jar files in webapps lib folder, the

Re: Configuring Tomcat for Multiple versions

2005-10-21 Thread Hassan Schroeder
Bliesner, Christopher P wrote: I am trying to setup multiple versions of Tomcat on the same server. What changes do I need to perform to the server.xml file to make this happen? Different port and/or IP on the Connector elements should do it. If you're using different IPs, of course, that

Re: Tomcat 5.5.12 - Why does app undeploy when war file deleted

2005-10-21 Thread Jay Thompson
OK...I've answered my own question...but just in case someone else needs the answer... ...the Tomcat 4 Host attribute named liveDeploy has been renamed autoDeploy in Tomcat 5, and the Tomcat 4 attribute named autoDeploy has been renamed deployOnStartup in Tomcat 5. (from www.onjava.com).

Tomcat4 webapps problem.

2005-10-21 Thread Saha Rabindra N
Hi, This question is regarding Tomcat web server on Unix. I am using Tomcat4.1.18 on HP-UX to run some jsp pages. Those jsp pages use some jar files which should be placed in '$CATALINA_HOME/webapps/appname/WEB-INF/lib' folder. But when I place those jar files in webapps lib folder,

RE: Tomcat4 webapps problem.

2005-10-21 Thread George Sexton
Its probably JDBC drivers and you're using JNDI. JNDI and related JDBC drivers can't reside in the application class loader. George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 -Original Message- From: Saha Rabindra N [mailto:[EMAIL PROTECTED] Sent:

RE: session problem

2005-10-21 Thread Mauricio Fernandez A.
No, I never had that problem, it was just an idea, I was reviewing my app and that is the way I have my servlets a jsp`s Mauricio Fernández A. Ingeniero de Sistemas U. Autónoma de Manizales -Mensaje original- De: David Won [mailto:[EMAIL PROTECTED] Enviado el: viernes, 21 octubre, 2005

RE: Server Access Log and Request Information

2005-10-21 Thread John Laughton
Or if you are using commons logging %@ page import=org.apache.commons.logging.Log % %@ page import=org.apache.commons.logging.LogFactory % . % Log log = LogFactory.getLog(yourJsp1Name.class); log.info(this message was writed from yourJsp1Name.jsp); % This way you will have all the record

j_security_check returns 400 response with valid login

2005-10-21 Thread Chris Birch
Hi, I'm currently experiencing an error that only occurs with IE6 (sp1 and sp2) on Windows (tested on Win98 and WinXP). When trying to access a tomcat resource protected by security contstraints, the login form is correctly displayed, however, when using Internet Explorer a correct username

Re: Unable to open Tomcat Manager?

2005-10-21 Thread andy gordon
Confine to a certain directory: yes since that is a context. i noticed the connection url you are using is different than mine. Mine is from the 5.5. doc and includes the password and user name in it.I am presuming the database with your users and users_roles tables is named ERP. I am also

Re: hacking the tomcat DefaultServlet

2005-10-21 Thread Maurice Yarrow
Hi Tim Yes, as I described in one of my letters, I have used the getRequestDispatcher, but when I do, images don't cache in IE under https, no matter what I am forward'ing to or include'ing to, whether it is in my web app context or outside of it. I have a META-INF/context.xml with

Tomcat in the development envrionment (avoiding undepoly / deploy)

2005-10-21 Thread Bruce E. Stemplewski
I have just installed Tomcat on my XP local workstation. I just starting working with PHP using Ecplise. The only way I can get Tomcat to recognize changes to my development directory and files is to undeploy the directory and deploy the directory again. Is there any way to avoid this?

Re: Tomcat in the development envrionment (avoiding undepoly / deploy)

2005-10-21 Thread Bruce E. Stemplewski
Bruce E. Stemplewski wrote: I have just installed Tomcat on my XP local workstation. I just starting working with PHP using Ecplise. The only way I can get Tomcat to recognize changes to my development directory and files is to undeploy the directory and deploy the directory again. Is