Re: HTTP/1.1 400 Bad Request --- Tomcat 5.0.28/IIS6 (Win2003)/JK-1.2.15

2006-09-01 Thread Piero Cavalieri
That was only the GET. The complete headers was so: GET /geonetwork/srv/en/main.search?extended=offremote=offattrset=geoany=hitsPerPage=10 HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel,

Re: Why cannot I put JSVC into a shell script to run

2006-09-01 Thread Warren Pace
Pat, Send us your entire script. Also, which Linux, Tomcat, and Java are you using? That'll help us, too. warren From: Patrick Wang [EMAIL PROTECTED] Date: 2006/08/31 Thu PM 05:41:32 EDT To: users@tomcat.apache.org Subject: Why cannot I put JSVC into a shell script to run Hi, I

Deployment and virtual hosts

2006-09-01 Thread Marcelo Chryssovergis
Hello! I´m having a problem to deploy an aplication that is configured as a virtual domain in server.xml. When I deploy the application it works fine IF I use the default url. But when I use my subdomain (x.y.com) , the application is not deployed!! I have to restart tomcat, and then the

mod_jk validate failed / factory failed error

2006-09-01 Thread Jongjin Choi
Can anyone give me a hint what makes the following mod_jk error. I use isapi_redirect.dll 1.2.14 with IIS 6.0 on Windows 2003. The log is : [Fri Aug 18 14:57:31 2006] [error] jk_worker.c (158): validate failed for ajp13 [Fri Aug 18 14:57:31 2006] [error] jk_worker.c (256): failed to create

Re: mod_jk validate failed / factory failed error

2006-09-01 Thread Mladen Turk
Jongjin Choi wrote: Can anyone give me a hint what makes the following mod_jk error. I use isapi_redirect.dll 1.2.14 with IIS 6.0 on Windows 2003. Syntax error. retries=0 BTW, 1.2.15 is broken. Use at least 1.2.16 Regards, Mladen

Re: mod_jk validate failed / factory failed error

2006-09-01 Thread Jongjin Choi
Thanks for your quick response. I have another question. In tomcat-connector document (http://tomcat.apache.org/connectors-doc/config/workers.html) , I can not find any clue of syntax error about 'retries=0'. Isn't zero valid value when I don't want to retry? What value should I use when I don't

Re: mod_jk validate failed / factory failed error

2006-09-01 Thread Mladen Turk
Jongjin Choi wrote: Thanks for your quick response. It feel that the syntax error ('retries=0') is NOT the direct reason of 'validate failed for XXX' or 'factory failed lb for XXX' error, because the error shows up occasionally. Right, you should have at least a warning in the log that

Re: mod_jk validate failed / factory failed error

2006-09-01 Thread Jongjin Choi
On 9/1/06, Mladen Turk [EMAIL PROTECTED] wrote: Jongjin Choi wrote: Thanks for your quick response. It feel that the syntax error ('retries=0') is NOT the direct reason of 'validate failed for XXX' or 'factory failed lb for XXX' error, because the error shows up occasionally. Right, you

Re: mulit-byte character username in DataSoureRealm

2006-09-01 Thread Toshiaki Kikuchi
Hi Mark, Thank you for your help. This is the information I need! -Kikuchi Mark Thomas wrote: Toshiaki Kikuchi wrote: Hi, I would like to use username with multi-byte character(Shift-JIS) in FORM BASED Authentication of DataSourceRealm. But it does not work. username with ascii

Handling file downloads?

2006-09-01 Thread Matthias Klein
Hi everyone, What is the best method of handling files that are to be offered for download? I have a web application that uses JSF as presentation framework. This web app is available as both stand-alone application in Tomcat as well as portlet deployed within a portlet container that

RE: tomcat not finding servlet....

2006-09-01 Thread Propes, Barry L
Have you checked to see how your servlets are mapped in the web.xml file? i.e. servlet servlet-namechngctrl.ChangeControlApprovalServlet/servlet-name servlet-classchngctrl.ChangeControlApprovalServlet/servlet-class /servlet servlet-mapping

Re: Handling file downloads?

2006-09-01 Thread Bruce Miller
Matthias Klein wrote: Hi everyone, What is the best method of handling files that are to be offered for download? I have a web application that uses JSF as presentation framework. This web app is available as both stand-alone application in Tomcat as well as portlet deployed within a

Tomcat Startup Error

2006-09-01 Thread Zach Calvert
I have a problem with Tomcat and I cannot figure out what is going on. I am using Tomcat 4.1.31. When running bootstrap.jar's main, I get Starting service Tomcat-Standalone Apache Tomcat/4.1.31 Catalina.start: LifecycleException: Context startup failed due to previous errors

Problem with Mod_JK 1.2.15 and 1.2.18

2006-09-01 Thread Marcio Camurati
Hi everyone, We have a application that run at the Tomcat container. This application was made at the Tomcat 4.1 using the Mod_jk 1.2.12 with this configuration the application run perfectly without any problem, at this days we want to make an upgrade at the servers to use the new Mod_Jk

RE: Why cannot I put JSVC into a shell script to run

2006-09-01 Thread Patrick Wang
Samuel: Thanks for the reply, you are correct. The same command line doesnot work when I put into a shell command. I used the command netstat to see if Tomcat has started since it listen to the port. Command from console works, starting shell script not working without an error shown up on the

Tomcat 5.5 setting two JSESSIONID cookies in same response

2006-09-01 Thread David Cotter
I send a request into my web app and the response contains two JSESSIONID cookies. This doesn't cause a problem on most browsers but on some OpernWave mobile browsers the two identicle cookies seems to be cause the browser not to return the cookie is subsequent request thereby dropping the

training for java in NYC?

2006-09-01 Thread joon yoo
Hi, Sorry for the off-topic post. One of my programmers who helps maintain our tomcat 5.5 install asked about getting training in java, specifically J2EE/J2SE/J2ME among other things. If anyone knows where to find good courses in training for java in Manhattan, that'd be awesome. Thanks for

Re: Why cannot I put JSVC into a shell script to run

2006-09-01 Thread Pascal Bleser
Patrick Wang wrote: Thanks for the reply, you are correct. The same command line doesnot work when I put into a shell command. I used the command netstat to see if Tomcat has started since it listen to the port. Rather use lsof -i instead of netstat + having to grep the output: if lsof

Re: training for java in NYC?

2006-09-01 Thread Steve Ochani
On 1 Sep 2006 at 12:02, joon yoo wrote: Hi, Sorry for the off-topic post. One of my programmers who helps maintain our tomcat 5.5 install asked about getting training in java, specifically J2EE/J2SE/J2ME among other things. If anyone knows where to find good courses in training for java

RE: Why cannot I put JSVC into a shell script to run

2006-09-01 Thread Patrick Wang
Pascal: Thanks for the detailed explanation, The procedure I used to launch jsvc Login in SERVER using root account through SSH. Go to TOMCAT directory, Run startTomcat.sh, nothing happened. Then run command cat startTomcat.sh and copy/paste the command to the console, hit enter. Tocmat

RE: training for java in NYC?

2006-09-01 Thread Tracy Nelson
| -Original Message- | From: Steve Ochani [mailto:[EMAIL PROTECTED] | | I get catalogs from www.learningtree.com , they have j2ee, jsf, struts | training. They have classes in NYC | | I don't know how good they are though, I haven't attended any of their | training. I took a course on

RE: Why cannot I put JSVC into a shell script to run

2006-09-01 Thread Patrick Wang
I got an error code in Catalina.err java.lang.ClassNotFoundException: org.apache.catalina.startup.Bootstrap at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at

Re: Tomcat 5.5 setting two JSESSIONID cookies in same response

2006-09-01 Thread David Cotter
This turns out to be because I call session.invalidate() and then request.getSession(true). I don't have to do this so it's fine. Don't know if two JSESSIONIDs is valid behaviour. Regards, David On 9/1/06, David Cotter [EMAIL PROTECTED] wrote: I send a request into my web app and the response

Regarding SSL (http-https) installation or importing the trusted certificate

2006-09-01 Thread keyur sheth
Hi everybody, I am trying to convert the tomcat container from http to https. But I want to do it by installing the trusted certificate. So I wanted to know how would you install the trusted certificate into your keystore. First of all I created

Re: training for java in NYC?

2006-09-01 Thread joon yoo
Thanks, I was looking through their site and wondering what quality instructors they had. Hopefully the java instructors will have worked at Sun. joon On 9/1/06, Tracy Nelson [EMAIL PROTECTED] wrote: | -Original Message- | From: Steve Ochani [mailto:[EMAIL PROTECTED] | | I get

Tomcat 5.5.17 role-name*/role-name behavior change

2006-09-01 Thread brian bay
I recently upgraded from tomcat 5.0.28 to 5.5.17. I have security set up on all my apps to allow any user that can authenticate against ldap access to the application So in 5.0.28, I defined role-name*/role-name to allow all role names. In 5.5.17 the behavior changes on the role-name

Re: Problem with Mod_JK 1.2.15 and 1.2.18

2006-09-01 Thread fredk2
i think you need this in your httpd.conf mod_jk related configuration section: JkOptions +FlushPackets Rgds, Fred Marcio Camurati wrote: Hi everyone, We have a application that run at the Tomcat container. This application was made at the Tomcat 4.1 using the Mod_jk 1.2.12 with this

Tomcat as a Service

2006-09-01 Thread Anca Barbuc
Hi, I am having a problem with starting Tomcat as a service. Here are some of the details of the environment: Tomcat 5 OS: MS Windows Server 2003 SP 1 Ram: 960 JDK: jdk1.5.0_07 If i start it manually with the starttom.bat it works. If I go and try

Re: Tomcat as a Service

2006-09-01 Thread Filip Hanik - Dev Lists
I would suggest you use http://people.apache.org/~fhanik/wrapper.html with that kit, comes a script called TomcatService.bat, this is the same as you would have started it as a service and you can troubleshoot. This also lets you control a few more options and settings, as well as generate

RE: Tomcat as a Service

2006-09-01 Thread Propes, Barry L
you have to take the command line and cram it into one .bat file to start, then make that .bat file a service. -Original Message- From: Anca Barbuc [mailto:[EMAIL PROTECTED] Sent: Friday, September 01, 2006 1:41 PM To: users@tomcat.apache.org Subject: Tomcat as a Service Hi, I am

Clustering with mod_jk

2006-09-01 Thread Edoardo Causarano
Hello List, scenario: - 4 node tc 5.0.28 vertical cluster ( :-| same server... still testing, but it could have been 8) listening on ajp Connector address=x.x.x.x port=8009 maxProcessors=150 minProcessors=50 protocol=AJP/1.3

Re: Clustering with mod_jk

2006-09-01 Thread Filip Hanik - Dev Lists
since you are using prefork, you must set cachesize=1 for your workers.properties file. However, you have 4096 MaxClients, in order to serve this up in tomcat, your JK connector should have maxProcessors=4096. An alternative, and safe solution, although much less performance, is to set

Re: Problem with Mod_JK 1.2.15 and 1.2.18

2006-09-01 Thread Marcio Camurati
Hi, Fred I forget to say at the post that I use it (JkOptions +FlushPackets) at my httpd.conf and it fix the flush call, but don't get a exception only when I shutdown the container. I found this post of another person about the same problem

Re: Clustering with mod_jk

2006-09-01 Thread Edoardo Causarano
Using mpm_worker gave less impressive results; I'd say about 1/2, a much worse load average (way more than 5), and lots of swap. Seems like prefork works better on linux and I'm surprised. Anyway, assuming that I got the maxProcessors wrong I should have seen queues building up @ 150*4

Apache 80 Tomcat 8080

2006-09-01 Thread Jim Weir
I can broswe my html site with www.myhtml.com.. I can't get to my Tomcat deployed webapps without adding 8080 on the end, This is my workers.properties entry, [uri:/mysite/*] info=MySite.org ...http-vhosts.conf entry, VirtualHost *:80 Directory /usr/opt/tomcat/webapps/mysite Options

CGI Parameter Passing

2006-09-01 Thread Randy Schuster
jakarta-tomcat-5.0.18 running on Solaris 8 Sparc I have CGI turned on http://ir13.accuvoice.com/cgi-bin/test-cgi works fine However passing a parameter bombs http://ir13.accuvoice.com/cgi-bin/test-cgi?xyq=pdq Throws a HTTP 500 page with the following tomcat log. 2006-09-01 14:36:33

RE: Apache 80 Tomcat 8080

2006-09-01 Thread Propes, Barry L
in the server.xml file, (in the conf dir) see if you have a line like this: !-- Define a non-SSL HTTP/1.1 Connector on port 8080 -- Connector className=org.apache.catalina.connector.http.HttpConnector port=8080 minProcessors=5 maxProcessors=75

Re: Clustering with mod_jk

2006-09-01 Thread Filip Hanik - Dev Lists
it is a mod_jk issue, it uses permanent connections, that is how it was designed. setting MaxRequestsPerClient to 1, will kill the child, hence kill the mod_jk connection, this way, you can have maxProcessorsMaxClients otherwise, they must match Filip Edoardo Causarano wrote: Using

Re: Tomcat 5.5.17 role-name*/role-name behavior change

2006-09-01 Thread brian bay
SOLVED! Well since no one else seems to care about ldap authentication and user roles, I guess I'll reply to myself.. Apparently backwards compatiblity is built into the source code for tomcat. To work around the problem of role-name*/role-name you need to got and grab the tomcat source code,

Re: Tomcat 5.5 setting two JSESSIONID cookies in same response

2006-09-01 Thread Darryl Miles
David Cotter wrote: This turns out to be because I call session.invalidate() and then request.getSession(true). I don't have to do this so it's fine. Don't know if two JSESSIONIDs is valid behaviour. In the case of the sample quoted the new one will just overwrite it. There are a few minor

Migration from jk2 to jk, problems with uri context

2006-09-01 Thread james edwards
I am moving to jk (1.2.18) from jk2 am having problems with the workers.properties file. I have separate apache and tomcat servers. Here is my working jk2 (workers2.properties) config: [logger] level=ERROR [config:] file=${serverRoot}/conf/workers2.properties debug=0 debugEnv=0 [uriMap:]

Re: Migration from jk2 to jk, problems with uri context

2006-09-01 Thread brian bay
I have this working with tomcat 5.5.17 and apache2, jk1 You need mod_jk.so in apache/modules..for me /usr/lib/apache2/modules/mod_jk.so In apache home ---create workers.properties workers.tomcat.home=/path/to/tomcat ps=/ workers.list=worker1 worker.ajp13.type=ajp13

Re: Tomcat 5.5.17 role-name*/role-name behavior change

2006-09-01 Thread Bill Barker
It would have been easier to change server.xml, to something like: Realm allRolesMode=strictAuthOnly .. / brian bay [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] SOLVED! Well since no one else seems to care about ldap authentication and user roles, I guess I'll reply to

Re: Regarding SSL (http-https) installation or importing the trusted certificate

2006-09-01 Thread Bill Barker
RTFM: http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html keyur sheth [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi everybody, I am trying to convert the tomcat container from http to https. But I want to do it by installing the trusted certificate. So

Re: Tomcat 5.5.17 role-name*/role-name behavior change

2006-09-01 Thread brian bay
I would have responded sooner, but I've been to busy banging my head against my desk.. :-) Much easier indeed, and better.. thanks for the heads up! I wish I had posted this question earlier.. I understand that it's hard to keep documentation up-to-the-minute on every change, but this seems