RE: usebean not working --Accessing Bean From JSP -- irritating problem

2004-09-24 Thread Vekemans Tom
Close your jsp:setProperty tags properly: / instead of Tom -Original Message- From: Dinesh Keesara [mailto:[EMAIL PROTECTED] Sent: vendredi 24 septembre 2004 6:48 To: [EMAIL PROTECTED] Subject: jsp:usebean not working --Accessing Bean From JSP -- irritating problem the following code

RE: GSI Web Services with tomcat 5

2004-09-24 Thread Drinkwater, GJ (Glen)
Hi It was the laster. The connectors have changed from 4 to 5 and therefore the custmised solution does not work for 5. There are not obstacles stopping myself from trying to reimplement the solution but the fact that GSI delegation is complicated and it would need to be very secure in a web

Re: getParameter() should be case insensitive?

2004-09-24 Thread Harry Mantheakis
Dave You had me worried there, for a moment... Surprisingly, the servlet spec is quite clear on this issue: getParameter() is not valid for GET requests (which was totally unexpected). Servlet Spec 2.3, Section SRV.4.1: I read the specs again, and then I realised that you are getting

Re: [Solved]: Load Balancing Configuration

2004-09-24 Thread Alex
beautiful! glad i could help save you some time and suffering :) On Thu, 23 Sep 2004, Fournier, Pete wrote: Date: Thu, 23 Sep 2004 13:15:20 -0400 From: Fournier, Pete [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject:

RE: jk2 over non-default port

2004-09-24 Thread Alex
what type of problems does 2.0.51 have?? On Thu, 23 Sep 2004, Kyle Adams wrote: Date: Thu, 23 Sep 2004 13:50:49 -0400 From: Kyle Adams [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: jk2 over non-default port Ding ding ding! That was

strange Tomcat message - PANIC

2004-09-24 Thread Radek Liebzeit
Hi, our Tomcat server crashed. Last message that we received in catalina.out was this: : )STATUS - - TPL error 0 errno 4 : PANIC - TPEUTIL sql_env_t::get_connection_handle acquire coninfo_mutex_lock failed PID 15987 Before it, we were receiving only standard messages. Thank You for

Re: Mod_jk installation problems

2004-09-24 Thread Shaun Campbell
Eugene Only trouble is my mod_jk.conf is being auto generated by Tomcat at startup and I don't know why it is trying to LoadModule jk_module instead of jk2_module. Also, I don't know why it !mod_jk2.c instead of mod_jk2.c. Perhaps I'll not bother wiht the auto generated file and carefully follow

Deploying webapps as / and not subdirectories

2004-09-24 Thread Stephan Paukner
Hi! We are using a (J2EE-based) CMS, where clients have their sites as subdirectories under .../webapps, i.e. a single webapp means a single virtual host. On our older server (Suse 8.0) they were deployed using mod_webapp, the Apache VirtualHosts each had a line like 'WebAppDeploy abc tomcat

Using request.getLocale() inside of the sessionListener event

2004-09-24 Thread Ben Bookey
Dear List, We are using a sessionlistener to count users. Is it possible for us to use the request object somehow inside of the sessionCreated event? We want to determine the client.locale and then store this in the session object. This would therefore mean, we can determine the language GUI

Tomcat Deployer throws NoClassDefFoundError for DigesterFactory

2004-09-24 Thread Mikko Hämäläinen
Hi, I'm trying to run the Tomcat Deployers (Tomcat 5.0.28, Ant 1.6.2, Windows 2000 Pro Cygwin shell) default Ant script for my web application. For some reason, the validator-task fails every time with a NoClassDefFoundError. If I comment the task out, everything works fine. I've set the

Re: Using request.getLocale() inside of the sessionListener event

2004-09-24 Thread Tim Funk
No. The request is not accessible inside the sessionevent. What you probably need to do is write a filter that sets that value in the session (if a session exists). -Tim Ben Bookey wrote: Dear List, We are using a sessionlistener to count users. Is it possible for us to use the request object

Re: Deploying webapps as '/' and not subdirectories

2004-09-24 Thread Stephan Paukner
On Fri, September 24, 2004 10:44, Stephan Paukner said: We are using a (J2EE-based) CMS, where clients have their sites as subdirectories under .../webapps, i.e. a single webapp means a single virtual host. On our older server (Suse 8.0) they were deployed using mod_webapp, the Apache

Error compiling JSP's Tomcat 5.0.27 2sdk1.4

2004-09-24 Thread Anthony Colebourne
Hi, exception org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:520) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)

RE: jk2 over non-default port

2004-09-24 Thread Cox, Charlie
CAN-2004-0811 (cve.mitre.org) Charlie -Original Message- From: Alex [mailto:[EMAIL PROTECTED] Sent: Friday, September 24, 2004 4:00 AM To: Tomcat Users List Subject: RE: jk2 over non-default port what type of problems does 2.0.51 have?? On Thu, 23 Sep 2004, Kyle Adams

RE: getParameter() should be case insensitive?

2004-09-24 Thread Shapira, Yoav
Hi, I didn't mean to imply any of this discussion is invalid, or even boring: it's both valid and interesting. The points I wanted to make are two: - We Tomcat developers are required to adhere to the Servlet Spec. In some cases we can provide functionality beyond the Spec, at our discretion,

RE: GSI Web Services with tomcat 5

2004-09-24 Thread Shapira, Yoav
Hi, It was the laster. The connectors have changed from 4 to 5 and therefore the custmised solution does not work for 5. There are not obstacles stopping myself from trying to reimplement the solution but the fact that GSI delegation is complicated and it would need to be very secure in a web

RE: strange Tomcat message - PANIC

2004-09-24 Thread Shapira, Yoav
Hi, This message seems to originate from your JDBC driver. sql_env_t::get_connection_handle acquire is the giveaway. Are you using a type 4 driver? Yoav Shapira Millennium Research Informatics -Original Message- From: Radek Liebzeit [mailto:[EMAIL PROTECTED] Sent: Friday, September

RE: Very slow response times w/non-ssl apps?

2004-09-24 Thread Shapira, Yoav
Hi, You might also want to ask this on the Apache httpd user list. Yoav Shapira Millennium Research Informatics -Original Message- From: Steve Forsyth [mailto:[EMAIL PROTECTED] Sent: Thursday, September 23, 2004 6:11 PM To: [EMAIL PROTECTED] Subject: Very slow response times w/non-ssl

RE: Tomcat Deployer throws NoClassDefFoundError for DigesterFactory

2004-09-24 Thread Shapira, Yoav
Hi, Is the DigesterFactory class on the classpath for the validator-task? Yoav Shapira Millennium Research Informatics -Original Message- From: Mikko Hämäläinen [mailto:[EMAIL PROTECTED] Sent: Friday, September 24, 2004 5:24 AM To: [EMAIL PROTECTED] Subject: Tomcat Deployer throws

Use Tomcat to access Other Directories On Server (outside of webapps/) With Authentication

2004-09-24 Thread Matt Mejaski
Hi all, I'm currently developing a web app, and I'm currently using Apache HTTP Server as well as Tomcat. Tomcat is my Java and JSP Servlet container. Apache HTTP Server is (obviously) a server to serve my static pages (that are changed from the Java code). Currently, in Apache, I have some

RE: Tomcat 5.0 contexts

2004-09-24 Thread Luc Foisy
Is something wrong with my logger declaration? It does not seem to be creating the logs that I specified. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, September 23, 2004 4:26 PM To: Tomcat Users List Subject: RE: Tomcat 5.0 contexts Hi, Tomcat 5.0

RE: Tomcat 5.0 contexts

2004-09-24 Thread Shapira, Yoav
Hi, Is something wrong with my logger declaration? It does not seem to be creating the logs that I specified. Ahh, I didn't even look at that. I think it looks fine. Try specifying a known absolute directory rather than a relative one (logs) to see if that makes a difference. Heads-up --

Error migrating to 5.0.x

2004-09-24 Thread Curley, Thomas
Hi All Exiting Tomcat 4.1.30 / New 5.0.28 I just installed 5.0 created a data source using admin and copied my webapp to the webapps dir (also changed the catalina_home). I'm using struts and get the following error Appreciate any ideas on this Thomas org.apache.jasper.JasperException:

RE: strange Tomcat message - PANIC

2004-09-24 Thread Radek Liebzeit
Hi, I see. We are using two JDBC drivers. One for MySQL and one for Progress. How can I recognize one that is source of this message? I think that problem is with the Progress driver because of previous experience with this driver. It causes Tomcat crash sometimes but with full message to the

Re: Use Tomcat to access Other Directories On Server (outside of webapps/) With Authentication

2004-09-24 Thread QM
On Fri, Sep 24, 2004 at 09:20:06AM -0400, Matt Mejaski wrote: : [snip re: using Apache] : Currently, in Apache, I have some Alias'es to point to other directories on : the server (i.e. Alias /MyStuff C:\MyStuff), and then, I use a .htaccess : file to control access to /MyStuff. : : Now, I was

RE: strange Tomcat message - PANIC

2004-09-24 Thread Caldarale, Charles R
From: Radek Liebzeit [mailto:[EMAIL PROTECTED] Subject: RE: strange Tomcat message - PANIC : )STATUS - - TPL error 0 errno 4 : PANIC - TPEUTIL sql_env_t::get_connection_handle acquire coninfo_mutex_lock failed PID 15987 What JDK level and platform are you running on? I suspect

RE: jk2 over non-default port

2004-09-24 Thread Kyle Adams
From the download page, http://httpd.apache.org/download.cgi (odd that it's not on the front page): Important: Version 2.0.51 has a problem processing Satisfy directives that may allow access to otherwise restricted areas. Please apply the patch to fix this problem before using this version. A

basic authentication and custom 401 error page

2004-09-24 Thread Angelov, Rossen
Hi, We are running our applications on Tomcat 4 and 5. On both versions we are having problems with the basic authentication. The problem is that I haven't found a way to overwrite the default 401 error page with a custom page. If I add an error-page element in web.xml for error 401

RE: Tomcat 5.0 contexts

2004-09-24 Thread Luc Foisy
Thank you. I did get my context to load from Catalina/localhost/qbs.xml INFO: Processing Context configuration file URL file:/home/tomcat/conf/Catalina/localhost/qbs.xml It does not seem to be honoring the logger, even when I use an absolute directory. If it matters, Using RedHat 9.0, jdk

Re: basic authentication and custom 401 error page

2004-09-24 Thread Gaurav Vaish
Hi Ross, Simply adding an error page will not do. You need to have a servlet that will set the status of the response-page as 403 (HttpServletResponse.SC_UNAUTHORIZED) Look at the code-implementation of Security-Filter. It's good. http://sf.net/projects/securityfilter HTH Happy

Apache front to Tomcat/Cocoon

2004-09-24 Thread Richard Lewis
Hi there, This problem has been bugging me for days and I've tried both the Apache (httpd) mailing list and the Cocoon mailing list but no one seems to be able to solve it. I've got two Cocoon (2.1) webapps running under Tomcat (4.1) on my server (Debian, j2sdk1.4-sun, Apache 2.0). My network

Re: Tomcat 5.0 contexts

2004-09-24 Thread QM
On Fri, Sep 24, 2004 at 10:37:51AM -0400, Luc Foisy wrote: : I did get my context to load from Catalina/localhost/qbs.xml : INFO: Processing Context configuration file URL : file:/home/tomcat/conf/Catalina/localhost/qbs.xml Did you edit that file (qbs.xml) or the one in your WAR file's

Re: Tomcat dies at 167M

2004-09-24 Thread emmett
It's possible that you are out of file descriptors. Find and use 'lsof' (ls open files) running it against that process. I've seen Java report OOM when it can not allocate a file because a File is nothing more than another object associated with the resource. If this is the case you will have to

RE: Apache front to Tomcat/Cocoon

2004-09-24 Thread Cox, Charlie
This is a problem with your htpd.conf configuration(I'm not sure what) and you will find more people who can help you on the apache httpd users list. -Original Message- From: Richard Lewis [mailto:[EMAIL PROTECTED] Sent: Friday, September 24, 2004 11:38 AM To: [EMAIL PROTECTED]

RE: Tomcat 5.0 contexts

2004-09-24 Thread Luc Foisy
I edited that file. I do not have a WAR. I just put the directory in the webapps directory. There is not a context.xml file in that context directory. -Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: Friday, September 24, 2004 11:38 AM To: Tomcat Users List Subject: Re: Tomcat

Info re: use of CGI servlet in Tomcat, JDK version

2004-09-24 Thread zorgalina
Hello, This is not a question so much as a notice; I'm working on Windows OS, and had JDK 1.3 set up as JAVA_HOME. I'm using Tomcat 5.0.19 and wanted to run perl scripts so set up CGI servlet by commenting-in appropriate sections of conf/web.xml, and renaming servlets-cgi.jar, putting my

Tomcat 5, JDK 1.5 beta, and MissingResourceException oddness - seeking suggestions

2004-09-24 Thread David Ramsey
I was looking at a recent Tiger beta and after installing it, I began to get MissingResourceExceptions for my property files which have always lived in WEB-INF/classes. Thinking I might have a Tiger bug, I uninstalled the 1.5 JRE and the 1.5 JDK, rebooted my Win2000 machine, and tried restarting

RE: Info re: use of CGI servlet in Tomcat, JDK version

2004-09-24 Thread Mark Thomas
A JDK 1.4 requirement is a bug and most likely my fault. I'll look at this now. Thanks for bringing this to my attention. Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 24, 2004 7:40 PM To: Tomcat Users List Subject: Info re: use

registering DNS

2004-09-24 Thread vaneet
Dear all, I bought this domain name months ago. I am running Tomcat 5.0. I have an internet connection having dynamic IP. So, i installed No-ip which gives me a fixed IP. I redirected my domain name: for e.g. http://www.export4u.co.uk to export.servepics.com (No -ip space) I manageed to

Jni Error on Startup [error] workerEnv.initChannel() init failed for channel.jni:jni

2004-09-24 Thread Curles, Michael L
Trying to run Apache 2.0.50 mod_jk2 Tomcat 5.0.28 on Windows 2000 as in-process... Receive the following in Apache error log. Any ideas on what I may be missing/doing wrong? [error] workerEnv.initChannel() init failed for channel.jni:jni [Fri Sep 24 15:40:11

RE: cannot deploy the war file..Tomcat 4.1.30 --- please suggest...

2004-09-24 Thread Shilpa Nalgonda
Hi i am not able to deploy the war file on Linux box , i am using Tomcat4.1.30 The way i deploy it is, i copy the war file under tomcat/webapp directory... And when i restart the server the war file is not being exploded...and i get below error in logs... 2004-09-24 15:58:03

Re: registering DNS

2004-09-24 Thread zorgalina
we assume you're not using apache, only Tomcat 5.0 - you redirected queries to www.export4u.co.uk to export.servepics.com by modifying conf/server.xml, right? Can you browse to the manager.html or any test pages that Tomcat serves? (is Tomcat running) What is the status/result if you try

Thread dump for Windows Service

2004-09-24 Thread Robert Herold
I've installed tomcat as a Windows service. Is there any way to trigger the JVM to produce a thread dump? I understand how to do so when Tomcat is run in a console window (cntl-break), but in this case it has to be run as a service. Thanks for any pointers... -- bob -- Robert Herold

zorgalina@springmail.com

2004-09-24 Thread vaneet
Dear zorgalina, I am able to run the webapp at home i.e. locally. Tomcat 5.0 is running fine and i can see my webapps loading and working fine. My domain name: http://www.export4u.co.uk (redirected to micsexport.servepics.com ) opens locally. i can see it redirecting to serve pics on

Which version of Tomcat and Apache for my UNIX sparc Computer?

2004-09-24 Thread Daxin Zuo
My computer: #uname -a SunOS sunbox 5.8 Generic_108528-17 sun4u sparc SUNW, Sun-Blade-100 I see the latest Apache for my computer is httpd-2.0.43-sparc-sun-solaries2.8.tat.gz What Tomcat and Tomcat-connector should I use with this version of Apache? Please help. Thanks.

RE: Tomcat 5.0 contexts

2004-09-24 Thread jthompson
You need to specify swallowOutput=true on your context tag to get a separate Tomcat log, eg: Context docBase=/webapps/printerparts path=/printerparts reloadable=true swallowOutput=true Regards, John [EMAIL PROTECTED] Ph (09) 372-5010 |-+--- | |