Re: SOAP on TOMCAT 5.0

2005-09-20 Thread Hardik Tank
hi, u will get unsupported major.minor version 48.0 error when ur code has been compiled using higher version of JDK (may be 1.5) and u r running it using lower version of JDK/JRE (may be 1.4) check ur setup and JRE/JDK once again. rgds, Hardik Tank --- [EMAIL PROTECTED] wrote: Hi Guys,

RE: Remote Address Valve Lets Everything Through

2005-09-20 Thread KEREM ERKAN
Hi Mark, Is it possible that you may have mistyped allow=xxx.xxx.xxx.xxx as allow=xxx.xxx.xxx.xxx in your configuration? If you did not accidentally delete the () from the right hand side of allow when sending to the list, that may be your problem. -Original Message- From: Mark Leone

How can iredirect a request from one apache to other apache.

2005-09-20 Thread Rohit Maheshwari
Hi All, I have the configuration like below User---Apache ( mod_ssl)---Apache (mod_ssl)---Weblogic Server I want to redirect the request sent to one apache to other apache which in turn sends the request to the Weblogic server. So please help me out on how can I redirect the user request from

tomcat detecting http header

2005-09-20 Thread Stanislav
Hi! My name is Stanislav and I'm first time user this mailing list. I'm using JBoss 4.0.2 (Tomcat 5.5, i believe), Struts, J2EE 1.4 and I'm having problem with detecting HTTP header inside my application. I'm using code like: getHeader(REMOTE_ADDR); and getting null. My question is: does i

SSL problem for webservices

2005-09-20 Thread Peter Betz
Hi, I am having a problem here. I am using Jakarta Tomcat V5.5 (part of jboss-4.0.2) and j2sdk1.4.2_08 on a Redhat Linux server. I have been trying to perform secure HTTPS webservices calls from an external web-server but have thus far been unsuccessful. The local client test environment

war classpath problem

2005-09-20 Thread lio tomcat
Hello world, My war and i have some problem for loading some class that are embedded in jars in myWar/WEB-INF/lib... I tried to solve this by writing a proper myWar/META-INF/MANIFEST.MF with no success. It simply ignores it. I don't have anymore idea. May you give me some clue? At list a

Re: war classpath problem

2005-09-20 Thread lio tomcat
forgot to tell about my env : jboss3.2.2/jbossweb-tomcat41.sar On 9/20/05, lio tomcat [EMAIL PROTECTED] wrote: Hello world, My war and i have some problem for loading some class that are embedded in jars in myWar/WEB-INF/lib... I tried to solve this by writing a proper

RE: Resizing JPEG Images

2005-09-20 Thread Arup Vidyerthy
Hi, You have quite a few options. There are lots third party libs out there that can do this for you. Last couple of projects I have used JAI and ImageMagick/JMagick to do this. Look them up. Hope this helps. Arup -Original Message- From: Justin Jaynes [mailto:[EMAIL PROTECTED]

Re: Resizing JPEG Images

2005-09-20 Thread David Delbecq
java.awt classses? :) Le Mardi 20 Septembre 2005 10:40, Arup Vidyerthy a écrit : Hi, You have quite a few options. There are lots third party libs out there that can do this for you. Last couple of projects I have used JAI and ImageMagick/JMagick to do this. Look them up. Hope this

RE: tomcat detecting http header

2005-09-20 Thread Jason Bell
Hi, When developing web app code I tend to enumerate on the headers coming in. Have a look at: public java.util.Enumeration getHeaderNames(); So: // get the header names Enumeration ee = request.getHeaderNames(); // then iterate through them for(;ee.hasMoreElements();){ String header =

Re: Cluster and notifications to nodes

2005-09-20 Thread Eino Lilius
Hi Peter and others, Thank you for the instructions, I got it working! :) I have still one question: how will I get the received message passed to my web application (message is received by Catalina)? (is there a way to add that listener to my web application or does it have to be defined in the

Re: Not able to access the home page of Apache with mod-ssl

2005-09-20 Thread Mark
Could IE be configured so that it is going through a proxy? On 9/19/05, Rohit Maheshwari [EMAIL PROTECTED] wrote: Hi All, I am setting up Apache 2.0.54 with mod_ssl. I have configured virtual host as rohit.com. When I tried to access the home page of Apache with firefox I am able to

RE: Not able to access the home page of Apache with mod-ssl

2005-09-20 Thread Rohit Maheshwari
I created a virtual host with the same name as of domain name in the certificate now able to access the home page of apache over https with Internet Explorer. Thanks and Regards , Rohit BEA Weblogic Support -Original Message- From: Mark [mailto:[EMAIL PROTECTED] Sent: Tuesday,

tomcat does not find my web application

2005-09-20 Thread Mbah Tenjoh-Okwen
World, When i create a folder my container does not recognize my index.html file in the top level directory nor is it able to find my servlet classes. But when i duplicate the servlet-examples folder and rename it(say servlet-examplesCopied), tomcat recognizes

Problems with Tomcat 4.1.12 hanging

2005-09-20 Thread Leonard O'Halloran
Hi all, I am using currently using Tomcat 4.1.12 for an application I have developed. I have a report that displays a large list of records retrieved from a database. The report is generated using a JSP. This operation seems to take a very long time and I assumed initially the

Re: tomcat does not find my web application

2005-09-20 Thread David Delbecq
Le Mardi 20 Septembre 2005 12:55, Mbah Tenjoh-Okwen a écrit : World, When i create a folder my container does not recognize my index.html file in the top level directory nor is it able to find my servlet classes. But when i duplicate the servlet-examples folder and rename

Re: Remote Address Valve Lets Everything Through

2005-09-20 Thread Mark Leone
KEREM ERKAN wrote: Hi Mark, Is it possible that you may have mistyped allow=xxx.xxx.xxx.xxx as allow=xxx.xxx.xxx.xxx in your configuration? If you did not accidentally delete the () from the right hand side of allow when sending to the list, that may be your problem. Thanks for the

Re: Remote Address Valve Lets Everything Through

2005-09-20 Thread Tim Funk
Not: valve Try: Valve -Tim Mark Leone wrote: KEREM ERKAN wrote: Hi Mark, Is it possible that you may have mistyped allow=xxx.xxx.xxx.xxx as allow=xxx.xxx.xxx.xxx in your configuration? If you did not accidentally delete the () from the right hand side of allow when sending to the list,

Re: Error with Error Document defined (really need ideas)

2005-09-20 Thread Yassine ELassad
directBOX Reply --- From: Yassine ELassad ([EMAIL PROTECTED]) To: tomcat-user@jakarta.apache.org Date: 19.09.2005 17:57:50 hello every one i have a strange issue again with tomcat :) here is the problem: i defined an error 404 document unnder the web.xml lie the

Re: Multiple SSL certificate on tomcat

2005-09-20 Thread Arthur D'Alessandro
You may have multiple certs, but each cert must be contained within it's own keystore file.. You also must have each cert on it's own host IP, as noted below, each cert is bound to 443 on 10.1.1.1 http://10.1.1.1 and 10.1.1.2... snipplet from server.xml: Connector port=443 maxThreads=100

RE: SOAP on TOMCAT 5.0

2005-09-20 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: SOAP on TOMCAT 5.0 java.lang.UnsupportedClassVersion error: org/w3c/dom/Node (unsupported major.minor version 48.0) This is the version of a class file you're trying to load - 48.0 corresponds to JRE/JDK 1.4, so that would indicate

Re: jdbc driver

2005-09-20 Thread Kito Holliday
Thanks for the quick reply... Yes the .jar file is in common/lib. I fear the problem lies in the server.xml since jndi is binding datasource jdbc/TestDB to org.hsql.jdbcDriver On Mon, 19 Sep 2005, andy gordon wrote: is the MySQL Connector Jar file in the $CATALINA_HOME/common/lib directory?

Starting options

2005-09-20 Thread Krzysztof Graczyk
Hi! I have a question about starting options of Tomcat server. Is there any starting option (from command line - org.apache.catalina.startup.Bootstrap start) or java virtual machine option that makes Tomcat to look for configuration file in other directories than $CATALINA_BASE or

RE: Resizing JPEG Images

2005-09-20 Thread Ben Kim
Wonder if this fits your needs, but ginp uses something similar. http://culnane.navidat.com/dc/ginp/index.jsp Features - Thumbnails are created and stored on the file system. - Pictures are sized to the browser window size to reduce bandwidth. Regards, Ben Kim Developer http://benix.tamu.edu

Re: Resizing JPEG Images

2005-09-20 Thread Derek Conniffe
Hi Justin, I've written beans like that many times (image resizing, cropping, etc). Its a doddle with JAI. If you want some code examples email me. Derek Ben Kim wrote: Wonder if this fits your needs, but ginp uses something similar. http://culnane.navidat.com/dc/ginp/index.jsp

RE: How can iredirect a request from one apache to other apache.

2005-09-20 Thread Caldarale, Charles R
From: Rohit Maheshwari [mailto:[EMAIL PROTECTED] Subject: How can iredirect a request from one apache to other apache. I have the configuration like below User---Apache ( mod_ssl)---Apache (mod_ssl)---Weblogic Server And what does this have to do with Tomcat? - Chuck THIS

Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04

2005-09-20 Thread NoKideen
Hi all, I'm new in this mailling list I'm currently end up ways to solve problem out of memory in tomcat this is startup script in my Linux Fedora Core 2 CATALINA_OPTS= -Djava.awt.headless=true -server -Xss128k -Xincgc -Xms256m -Xmx256m CPU is on 1Giga Memory and the problem out of memory,

RE: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04

2005-09-20 Thread Allistair Crossley
You'll almost likely find that the reload via Ant does not free up all resources and so each time you perform a reload you'll be leaking some memory resulting in OOME after a week. 3 things to do; Get a profiler to see where you may be losing memory. Ensure no resource/references are held

Re: Resizing JPEG Images

2005-09-20 Thread Michael Wirz
Hello, This is what I use for the given problem. I found it on the web and it fits my needs, so perhaps you'd like to use it as well Best wishes from near Munich, Germany, Michael Wirz import com.sun.image.codec.jpeg.*; import java.awt.*; import java.awt.image.*; import java.io.*; public

RE: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04

2005-09-20 Thread Phillip Qin
I would recommend you upgrade to 5.5.9 if you use struts. -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: September 20, 2005 9:56 AM To: Tomcat Users List Subject: RE: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04 You'll almost likely find that the

RE: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04

2005-09-20 Thread Caldarale, Charles R
From: Allistair Crossley [mailto:[EMAIL PROTECTED] Subject: RE: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04 3 things to do; Get a profiler to see where you may be losing memory. Ensure no resource/references are held onto, dispose references correctly Hard restart Tomcat when

Re: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04

2005-09-20 Thread NoKideen
On Tuesday 20 September 2005 20:56, Allistair Crossley wrote: You'll almost likely find that the reload via Ant does not free up all resources and so each time you perform a reload you'll be leaking some memory resulting in OOME after a week. 3 things to do; Get a profiler to see where you

RE: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04

2005-09-20 Thread Allistair Crossley
A listener that calls LogManager.shutdown(); LogFactory.releaseAll(); Introspector.flushCaches(); on contextDestroyed might also help if you are using certain apis like log4j, struts. Allistair. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]

RE: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04

2005-09-20 Thread Peter Crowther
From: NoKideen [mailto:[EMAIL PROTECTED] usually I use String to collect output first and out.print() those String example : String a=; a+=Test 1; a+=Test 2; // very long , and almost 1 page out.println(a); can this cause out of memory problem ? It won't help much - you'll

Re: Tomcat 5.5.9 and IIS 5/6

2005-09-20 Thread Gregg D Bolinger
Thanks Dave. It does have that line. I missed it on the copy and paste. :) Gregg On 9/19/05, David Thielen [EMAIL PROTECTED] wrote: For worker.properties.minimal you need (you're missing the first line): worker.list=ajp13w worker.ajp13w.type=ajp13 worker.ajp13w.host=localhost

Re: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04

2005-09-20 Thread Mark
2 notes. When using Java 1.5, StringBuilder class is supposed to be better according to documentation. Also, what has worked for me, is that if any of the strings can be generated ahead of time, do so in a static block and convert the strings to byte[]. This not only eliminates redundant

Re: Starting options

2005-09-20 Thread Tim Funk
See catalina.sh for options you can set on startup. CATALINA_TMPDIR - should allow you to set your temp directory. -Tim Krzysztof Graczyk wrote: Hi! I have a question about starting options of Tomcat server. Is there any starting option (from command line -

Re: tomcat detecting http header

2005-09-20 Thread Jon Wingfield
Of course, you could just call request.getRemoteAddr(); Tomcat is a Servlet Specification container. You don't get headers with CGI naming conventions. Check out the api documentation: http://java.sun.com/j2ee/1.4/docs/api/index.html It's the packages starting with javax.servlet that will be

Re: Remote Address Valve Lets Everything Through

2005-09-20 Thread midnightjava
Tim Funk Tue, 20 Sep 2005 04:59:13 -0700 Not: valve Try: Valve -Tim I've been making pretty good advances in java development skills, but I'm still working on the alphabet thing. Now I see, some letters are bigger than others, and the computers often attach great significance to the

Re: Starting options

2005-09-20 Thread Krzysztof Graczyk
Tim Funk wrote: See catalina.sh for options you can set on startup. CATALINA_TMPDIR - should allow you to set your temp directory. Thanks for reply, but this doesn't solve the problem. Work directory is still written in $CATALINA_BASE, also log files are written in /tmp. I would like to

RE: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04

2005-09-20 Thread Sonja Löhr
I know this problem very well, since I worked on a very memory-consuming app where I coulnd't even reload twice. It has nothing to do with ant, and i think I also had such a case with tomcat 5.5 (now working on normal webapps ;-) Cautiously, I would never reload via manager (or perhaps once) in

RE: Starting options

2005-09-20 Thread Arup Vidyerthy
Sorry for being nosy but can I ask you exactly why do you want these directories in different palces so that I can understand your problem a little more? -Original Message- From: Krzysztof Graczyk [mailto:[EMAIL PROTECTED] Sent: 20 September 2005 15:44 To: Tomcat Users List Subject:

Re: Mod_jk setup problems

2005-09-20 Thread Don Boling
Thanks Mark, I this helped a lot ... I'll insert comments as well... ;) Mark Eggers wrote: A couple of things here. I'll try to insert comment where appropriate. --- Don Boling [EMAIL PROTECTED] wrote: I can't seem to get anything to successfully pass though the mod_jk connector to the

Re: Starting options

2005-09-20 Thread Krzysztof Graczyk
Arup Vidyerthy wrote: Sorry for being nosy but can I ask you exactly why do you want these directories in different palces so that I can understand your problem a little more? Yea, I have to change configuration scripts (server.xml and ROOT.xml), from external application, but it must

Tomcat SSL : check CRL

2005-09-20 Thread Antony GUILLOTEAU
I've read all I can on the web and I have not found informations about how check CRL when Tomcat is configured in client authentication. All response given say that I must use an Apache Server but I want keep my tomcat standalone. Thanks for your response. Antony GUILLOTEAU

Re: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04

2005-09-20 Thread NoKideen
On Tuesday 20 September 2005 21:11, Sonja Löhr wrote: I know this problem very well, since I worked on a very memory-consuming app where I coulnd't even reload twice. It has nothing to do with ant, and i think I also had such a case with tomcat 5.5 (now working on normal webapps ;-) what

Re: Custom tags and scope

2005-09-20 Thread Rahul Akolkar
Hi, I do not have a lot of experience in programming custom tags. Now, having programmed a couple of tags, I think it is kind of strage that I cannot narrow the scope of variables defined in the taghandler down to the body of the custom tag. It would for me clearly gain the purpose of code

Mixing Form-based authentication with Public Resources

2005-09-20 Thread Marquez, Omar
Hi, Im using Tomcat Form-based Authentication with a JDBC realm, this is working ok for all my pages that are protected trough web.xml with security-constraint web-resource-collection web-resource-nameAll System/web-resource-name url-pattern*.do/url-pattern

Re: Mixing Form-based authentication with Public Resources

2005-09-20 Thread Tim Funk
No solution. You can filter prefix, or suffix, but not both. -Tim Marquez, Omar wrote: Hi, Im using Tomcat Form-based Authentication with a JDBC realm, this is working ok for all my pages that are protected trough web.xml with security-constraint web-resource-collection

Re: Starting options

2005-09-20 Thread Tim Funk
I'm surprised the CATALINA_TMPDIR trick is not working. As for changing (server.xml and ROOT.xml) - I think you are stuck with those in the situation you are describing. -Tim Krzysztof Graczyk wrote: Arup Vidyerthy wrote: Sorry for being nosy but can I ask you exactly why do you want

tomcat does not find my web application

2005-09-20 Thread Mbah Tenjoh-Okwen
hello Im using tomcat 5.5.9 and when i create a folder(mine)under webbaps (tomcat/webapps/mine)i cant even get to its index.html file by typing http://localhost:8080/mine; in my browser.The container says The requested resource (/kopie/) is not available (ie i get a 404 http error report).

RE: tomcat does not find my web application

2005-09-20 Thread Caldarale, Charles R
From: Mbah Tenjoh-Okwen [mailto:[EMAIL PROTECTED] Subject: tomcat does not find my web application when i create a folder(mine)under webbaps (tomcat/webapps/mine)i cant even get to its index.html file by typing http://localhost:8080/mine; in my browser.The container says The requested

RE: tomcat detecting http header

2005-09-20 Thread Murugan Pal
You can also add this routine within a code block at higher trace levels. This way you can turn on this routine for debugging or logging purposes and don't have to incur additional overheads during runtime. Murugan Hi, When developing web app code I tend to enumerate on the headers

Can we Trust Runtime.freeMemory() information on tomcat

2005-09-20 Thread NoKideen
hi, Can we trust information about Free memory available to tomcat using Runtime.freeMemory() ? so if those memory won't go nearer to 0 (zero) it won't have problem Out of Memory ? - To unsubscribe, e-mail: [EMAIL PROTECTED]

Can the Tomcat authentication module use an ASP.NET security token?

2005-09-20 Thread Tracy Spratt
I have a Tomcat app (MM Flex app) that is called from an asp.net application which is secured by forms (cookie-based) authentication. (NOT NTLM / Windows Integrated) I don't want the user to have to log in again. I have a programmatic solution in mind, but it is going to be comparitively ugly.

Re: Tomcat 5.5.9 and IIS 5/6

2005-09-20 Thread Gregg D Bolinger
Ok, it all works. I have no clue what I did, but I just started over from scratch and now it all works very well. Thanks for all the help Dave. Gregg On 9/20/05, Gregg D Bolinger [EMAIL PROTECTED] wrote: Thanks Dave. It does have that line. I missed it on the copy and paste. :) Gregg

Re: Mod_jk setup problems

2005-09-20 Thread Mark Eggers
Glad I was able to help a little bit. In my experience (Linux,Solaris,Win/2K), 8080 should always work if you have the Connector configured. If you can't get to http://localhost:8080/jsp-examples/ running, then there is something else amiss. In your httpd.conf file, I still didn't see something

Unable to start context - Mail session not bound...

2005-09-20 Thread Darryl L. Pierce
I have a context which includes a mail session. However, when I startup Tomcat (version 5.0.28 on Windows XP) and it loads the context, I get an error message saying: 11:09:53,556 ERROR ContextLoader:177 - Context initialization failed org.springframework.beans.factory.BeanCreationException:

Re: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04

2005-09-20 Thread Sonja Löhr
Unfortunately, I can't give you an answer - it my well be that my code IS somehow suboptimal, but if the application runs, all is well, it is just that reload (I'm not sure about start and stop now) over the manager app. To be honest, I always waited for the next tomcat release to magically make

File Upload problem with cgi perl script

2005-09-20 Thread Ron Cozad
I am only getting the first 3k of an upload file. If the file is less than 3k, the multipart boundaries are structured properly, otherwise, I never get the end of the file or the ending boundary. I did binmode(STDIN); but still not getting the whole file. Running Tomcat 4.1.31 and IE

WARNING: Error registering contexts

2005-09-20 Thread Dom Cara
Dear Tomcat, Operating system: SunOS 5.8 JDK: j2sdk1.4.2_01 Tomcat: 5.0.28 Logged in as root, upon startup, I am getting the following exception from my tomcat container: Sep 20, 2005 1:59:17 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-5028 Sep 20,

RE: 5.5.9 Build Script Error Help !!!

2005-09-20 Thread Bovy, Stephen J
BUILD FAILED C:\ESI\jakarta-tomcat-5.5.9-src\build.xml:49: The following error occurred while executing this line: C:\ESI\jakarta-tomcat-5.5.9-src\jakarta-tomcat-5\build.xml:1811: The following e rror occurred while executing this line:

Charset configurations for JSP pages

2005-09-20 Thread T P
Hello, How to configure the character sets on JSP pages/HTTP replies so that browser connecting to tomcat displays pages correctly? Currently i'm using Tomcat-5.0.28. I am unable to find any decent documentation on this. I have JSP pages with character set ISO-8859-1 on disk. I reinstalled

Re: Charset configurations for JSP pages

2005-09-20 Thread Mark Thomas
T P wrote: There are bunch of parameters and finding the right combination does not seem to be trivial. For example there seems to be the following parameters, for which it is hard to find extensive documentation: On jsp page %page%-directive: contentType pageEncoding Read the spec. On

Re: org.apache.catalina.valves.RemoteHostValve issue

2005-09-20 Thread Tony Tomcat
-- Forwarded message -- From: Mark Thomas [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Date: Wed, 17 Aug 2005 08:03:45 +0100 Subject: Re: org.apache.catalina.valves.RemoteHostValve issue Tony Tomcat wrote: Does the RemoteHostValve work? There are

Endereço Cancelado / Canceled Address

2005-09-20 Thread davidr
English below - Desculpe, mas este endereço de email se tornou inviável devido ao SPAM. Favor re-enviar para o endereço [EMAIL PROTECTED] Atenciosamente, David --- I'm sorry, but this email address has become unusable due to SPAM.

RE: CVS and Build Script ????

2005-09-20 Thread Bovy, Stephen J
I have downloaded the build script and executed the build, I am getting the following errors: [jasper2] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(De faultExecutor.java:40) [jasper2] at org.apache.tools.ant.Project.executeTargets(Project.java:1068 ) [jasper2]

Re: org.apache.catalina.valves.RemoteHostValve issue

2005-09-20 Thread Mark Thomas
Tony Tomcat wrote: Actually.. according to the documentation the RemoteHostValve and RemoteAddrValve both do the same thing.. They both say... Concrete implementation of RequestFilterValve that filters based on the string representation of the remote client's IP address. The javadoc is

Re: org.apache.catalina.valves.RemoteHostValve issue

2005-09-20 Thread Tony Tomcat
ok. got off my lazy butt and looked at the code. RemoteHostValve uses request.getRequest().getRemoteHost() so just the javadoc needs updating for RemoteHostValve.java. I'm sure this was just a copy of RemoteAddrValve. ;-) Now i just need to figure out how to configure my tomcat to return

Re: org.apache.catalina.valves.RemoteHostValve issue

2005-09-20 Thread Mark Thomas
Tony Tomcat wrote: ok. got off my lazy butt and looked at the code. RemoteHostValve uses request.getRequest().getRemoteHost() so just the javadoc needs updating for RemoteHostValve.java. I'm sure this was just a copy of RemoteAddrValve. ;-) Looks like it. I have just committed a fix to CVS.

To release sockets I have to stop Tomcat service

2005-09-20 Thread michele munro
Dear Tomcat Users, I'm using the Tomcat Manager to mantain some deployed Servlet applications on Unix a machine. I have the following question: I have a servlet application that when I start it via Tomcat Manager the application establishes 32 pemenent connections to mysql database.

RE: Error with Error Document defined (really need ideas)

2005-09-20 Thread Jason Bell
Your config file suggests that you expect Tomcat to load the .html files to a path on your server. The specified files should be relevent to your web application. So more than likely it will look something like: location/NotFound.html/location If memory serves me Tomcat, according to your

RE: Build 5.5.9 three simple newbie questions ?????

2005-09-20 Thread Bovy, Stephen J
I have set my proxy in the build.properties file per directions on the jakarta build faq: # - Proxy setup - # Uncomment if using a proxy server. proxy.host=caproxy.ca.com proxy.port=80 proxy.use=on But I am still getting the following:

RE: Cutomized SingleSignOn Valve Help Please

2005-09-20 Thread Bovy, Stephen J
I have created a new version of the singlesignon valve with a new class name SingleSignOn - ThreadSignOn It compiles successfully, but I do not know how to package and/or deploy ?? Please Help should I create a Jar package with a new customized mbean-descriptor.xml ?? And then deploy in

Tomcat 5.5 and Apache 2.0

2005-09-20 Thread Stephen Carville
I am at my wits end... I've inherited the Apache and Tomcat setup and so far I cannot even get then to talk to each other. I rebuilt mod_jk.so from source. I copied over what was supposed to be a working server.xml, read documentation, and edited things until my eyes are watering and I still

need final / in url

2005-09-20 Thread David Thielen
Hi; The url www.windward.net/forums fails while www.windward.net/forums/ succeeds. My uriworkermap has: /forums/*=ajp13w I understand that isapi_redirect sees the first as a filename - but shouldn't it also look for it as a servlet? Thanks - dave

Re: Tomcat 5.5 and Apache 2.0

2005-09-20 Thread Stephen Carville
Oops I forgot the basics: System: Redhat ES3 Release 4 Kernel: 2.4.21-27.ELsmp Glibc: 2.3.2 Java: 1.5.0_04-b05 Tomcat: 5.5.9 Platform: Dell 2850 CPU: Intel Xeon 3.40GHz Memory: 4G Stephen Carville wrote: I am at my wits end... I've inherited the Apache and Tomcat setup and so far I cannot

logging and tomcat

2005-09-20 Thread daniel steel
hi, ours is a simple jsp / bean classes rendered over tomcat. we still still in tomcat 3.xx version, in the process of migrating to tomcat 5 ( which is a long project) and would have a handle to all the calls. so at the moment, i have to log what users are doing and i was thinking a non

RE: Create Valve and Deploy How to Help Please ????

2005-09-20 Thread Bovy, Stephen J
I have created a new Valve in the authenticator package called ThreadSignOn I added a descritpion for it to the mbean description xml file. I re-built and verified that my new valve and the new description is in catalina.jar But When I refference my new valve nothing happens it does not work

Asking again: Need multiple virtual directories for isapi_redirector

2005-09-20 Thread David Thielen
Hi; I want to make sure this is correct: If you want to run Tomcat against multiple websites, not just the default website, this is what I have had to do. This is on Windows 2003/IIS 6.0. I removed isapi_redirector.dll from the default web site ISAPI Filters and put it in the parent Web Sites

Asking again: index.jsp and virtual directories

2005-09-20 Thread David Thielen
Hi; I am running on Windows 2003/IIS 6.0 tomcat. I have a single IP address for all of my websites (I have several) and then use the request header to determine which website to return. IIS does this very nicely. I want to have index.jsp in each of these websites. How can I set it up so that

Asking again: What is correct for workers.properties.minimal

2005-09-20 Thread David Thielen
Hi; I'm running Tomcat 5.5 on Windows 2003/IIS 6.0 using isapi_redirect The isapi_redirect.exe installer creates a worker.properties.minimal of: worker.list=wlb,jkstatus worker.ajp13w.type=ajp13 worker.ajp13w.host=localhost worker.ajp13w.port=8009

Re: need final / in url

2005-09-20 Thread Mladen Turk
David Thielen wrote: The url www.windward.net/forums fails while www.windward.net/forums/ succeeds. My uriworkermap has: /forums/*=ajp13w try: /forums|/*=ajp13w This will actually create two maps: /forums=ajp13w /forums/*=ajp13w Regards, Mladen.