number of documents

2007-06-11 Thread TOM SSEMWOGERERE
I am currently using contineo document management system. When I asked one of the designers about hom many documents can be supported by the contineo document managent system, he told me that it depends on the web server used. For me I use tomcat how can I configure tomcat to support unlimited

Re: Tomcat 6 classloader leak in Commons Pool

2007-06-11 Thread Diego Rodríguez Martín
Hi, Is there any way to fix this leak downgrading the version of commons pool. I have a production enviroment where we have a lot of deploy/undeploy and with this leak we have to stop/start Tomcat very often. Is there a possibility of replacing tomcat-dbcp.jar with the older individual

Re: Tomcat 6 classloader leak in Commons Pool

2007-06-11 Thread David Smith
In older versions of tomcat (5.0.x) there is a factory attribute defining the pool to use. It's unclear from the limited look I did whether that was carried forward to 5.5 and 6.0. --David Diego Rodríguez Martín wrote: Hi, Is there any way to fix this leak downgrading the version of

Re: Tomcat Service Manager for windows

2007-06-11 Thread javahollic
Nice plug, I've just spent 3 hours trying to get another service registered. You've saved me the rest of the day. ^L^ :clap: Bryan Berndt wrote: Hello, I just joined this mailing list to plug a piece of software that has been enormously helpful to the company I work for. I have no idea

Base null error is it with tomcat ?

2007-06-11 Thread sandipp
Hi, I am using tomcat apache-tomcat-5.5.17,Exadel,JDK 1.5.I am depoying my application(war file) to external tomcat by running my ant script. I am getting following error when I try to login to my application. where loginFormBean is my bean name. javax.servlet.ServletException: Base is null:

[OT] RE: Embed license to tomcat

2007-06-11 Thread Peter Crowther
From: Li [mailto:[EMAIL PROTECTED] As a developer, sometimes it's difficult to decide whether should follow my heart or boss ... If you're thinking that regularly, it's probably time to find a new boss... - Peter

Running Tomcat (6.0.10) as a windows service

2007-06-11 Thread GHOSTRIDER
Hello fellow Tomcatters... I'm trying to set up Tomcat to start with Windows and run as a Windows service, with no success so far... I've tried to do that with the Tomcat Properties dialog in the dropdown Startup Type: I have set it to automatic but it does not retain that setting .. I click

Re: number of documents

2007-06-11 Thread Pid
TOM SSEMWOGERERE wrote: I am currently using contineo document management system. When I asked one of the designers about hom many documents can be supported by the contineo document managent system, he told me that it depends on the web server used. For me I use tomcat how can I configure

Re: Running Tomcat (6.0.10) as a windows service

2007-06-11 Thread Johnny Kewl
Yes, it doesnt hold the setting. Open Control Panel - Admin Tools - Services Do it from the windows service... should work - Original Message - From: GHOSTRIDER [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Monday, June 11, 2007 2:33 PM Subject: Running Tomcat (6.0.10) as a

Re: Programmatically Determine JVM Version used by Tomcat

2007-06-11 Thread bachuba
Thanks, this is just what I was looking for. Mark H. Wood wrote: Well, that was silly. The Tomcat HTML Manager already provides the JRE version at the bottom of the page, if you wanted to manually check it. To check by script, you could use the plain Manager: [EMAIL PROTECTED] ~ $

making a directory we accesible

2007-06-11 Thread Murtuza
I have a directory on my Linux file system, which only has some text files. I want to make its content web accessible without copying this directory directly under tomcat installation. so suppose all my files are in /home/mydir1/mydir/test.txt, I should be able to access them as

Re: Running Tomcat (6.0.10) as a windows service

2007-06-11 Thread GHOSTRIDER
Hey Johnny... Good to hear from you again.. we spoke some months back as I recall.. Thanks for that suggestion, I should have thought of it [:-s I've gone into the services snap in and set that to auto I'll know on next re-start :-p Thanks again.. Have a cool summer.. Rod GHOSTRIDER My Home

RE: making a directory we accesible

2007-06-11 Thread Caldarale, Charles R
From: Murtuza [mailto:[EMAIL PROTECTED] Subject: making a directory we accesible so suppose all my files are in /home/mydir1/mydir/test.txt, I should be able to access them as localhost:8080/mydir/test.txt. Create a file named $TOMCAT_HOME/conf/Catalina/localhost/mydir.xml and put just

RE: making a directory we accesible

2007-06-11 Thread Murtuza
I am using tomcat 6 and it doesn't have this directory structure, thanks for the reply. Caldarale, Charles R wrote: From: Murtuza [mailto:[EMAIL PROTECTED] Subject: making a directory we accesible so suppose all my files are in /home/mydir1/mydir/test.txt, I should be able to access

Reloading keystore - how to register a new TrusStore Manager for Tomcat?

2007-06-11 Thread Ronald Spiers
Hi, I am preparing a self enrollment webapp for generating client certificates and adding them to the server keystore. I know that Tomcat won't reload keystore unless the server is restarted, so I did look for alternatives, and the JSSE guide explains an approach to this in the section Creating

RE: making a directory we accesible

2007-06-11 Thread Caldarale, Charles R
From: Murtuza [mailto:[EMAIL PROTECTED] Subject: RE: making a directory we accesible I am using tomcat 6 and it doesn't have this directory structure Even Tomcat 6 has a conf directory. Under conf, there should be a Catalina directory, although it may not be created until it's needed.

RE: making a directory we accesible

2007-06-11 Thread Murtuza
Thanks! it diud work I had to create folder under /conf Caldarale, Charles R wrote: From: Murtuza [mailto:[EMAIL PROTECTED] Subject: RE: making a directory we accesible I am using tomcat 6 and it doesn't have this directory structure Even Tomcat 6 has a conf directory. Under

RE: Reloading keystore - how to register a new TrusStore Manager for Tomcat?

2007-06-11 Thread Mark Claassen
Humm. I don't think this is how the certificate system is supposed to be used. The intention is that the truststore handles certificates authorities you trust. For an example, let's switch to the browser. Browsers generally trust Verisgn and Thwart out of the box. You can see these

Re: Reloading keystore - how to register a new TrusStore Manager for Tomcat?

2007-06-11 Thread Ronald Spiers
Hi Mark, thans a lot for your comments. The problem is that I found a way to generate via API a PKCS12 keystore for my client, but it won't be based on my server's certificate. I could not find a way to auto-enroll users using openssl and Java, I mean control openssl commands from Java to

Re: Invalid Content-Length error for the size greater than

2007-06-11 Thread Daniel Dang
Bill, As your comment earlier I did open a bug here is a link: http://issues.apache.org/bugzilla/show_bug.cgi?id=42608 I don't know It's a right place to open this DR and those developers have time to do anything with it. apache-tomcat is a new baby to me and I am not familiar with mod_jk

RE: Reloading keystore - how to register a new TrusStore Manager for Tomcat?

2007-06-11 Thread Mark Claassen
I would have thought that the Java APIs would have allowed you to do this. As far as openssl in concerned, it is just command line stuff, so you can always use the Runtime.exec() to run openssl. I think there is a -dname option for openssl so you can just put the cert request answers on the

RE: Using Javac instead of JDT to compile JSPs

2007-06-11 Thread Mark Claassen
Thanks, that seems to have work! -Original Message- From: Lakshmi Venkataraman [mailto:[EMAIL PROTECTED] Sent: Friday, June 08, 2007 7:41 PM To: Tomcat Users List Subject: RE: Using Javac instead of JDT to compile JSPs I have been successfully using something other than Jasper in my

Re: Reloading keystore - how to register a new TrusStore Manager for Tomcat?

2007-06-11 Thread Pulkit Singhal
Hello, I am not sure what you are asking for here. You say that you fond some instructions on Creating Your Own X509TrustManager ... thats good. 1) Given that you have these instructions, whats the issue at hand? Conceptually (and without even looking at any content other than the title) I would

ClassCastException..probably a classpath pb

2007-06-11 Thread lmk
Hi! Im trying to deploy a custom jass login module into tomcat server.this module need a web service request for authentication. the same code works fine where it's executed locally on Eclipse, but, when I deploy a jar on server/lib folder for tomcat. i have the exception : AxisFault

Re: Reloading keystore - how to register a new TrusStore Manager for Tomcat?

2007-06-11 Thread Martin Gainty
use keytool to import the correct provider http://ws.apache.org/xmlrpc/ssl.html and then implement the keystore to point to this new file http://tomcat.apache.org/tomcat-3.2-doc/tomcat-ssl-howto.html M-- This email message and any files transmitted with it contain confidential information

Re: Reloading keystore - how to register a new TrusStore Manager for Tomcat?

2007-06-11 Thread Ronald Spiers
Hi Pulkit, assuming that I can create the trustManager, I am not sure about how to register it with Tomcat, and if I need to implement more interfaces, etc. In short, I suspect other people already solved this problem, and since it will be my first time, I am trying to obtain their feedback and

ROOT.xml fails to install context (tomcat 6.0.14)

2007-06-11 Thread hanasaki
I have an unpacked WAR at the docBase in the below ROOT.xml ROOT.xml is in: ./conf/Catalina/localhost/ROOT.xml ** The issue is that host doesnt seem to be found... tomcat links like http://localhost:8080/examples work fine. == telnet to the server / by hand == telnet localhost 8080

Re: ROOT.xml fails to install context (tomcat 6.0.13)

2007-06-11 Thread hanasaki
oops.. had the wrong server version (it is 6.0.13) not .14 hanasaki wrote: I have an unpacked WAR at the docBase in the below ROOT.xml ROOT.xml is in: ./conf/Catalina/localhost/ROOT.xml ** The issue is that host doesnt seem to be found... tomcat links like

Re: making a directory we accesible

2007-06-11 Thread Johnny Kewl
This is when I wish I was on linux so I could try it, but Chuck will be able to tell us anyway. What would happen if the user made a linux sym-link under the tomcat ROOT folder to /home/mydir1/mydir/ as mydir would that work? - Original Message - From: Caldarale, Charles R

Re: ClassCastException..probably a classpath pb

2007-06-11 Thread Martin Gainty
Please post this question to axis users group [EMAIL PROTECTED] Bon Chance/ Martin-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error,

Thread Pool

2007-06-11 Thread Siraj Haider
I am using tomcat version:5.5.20 java version:1.6.0-b105 os version: intel solaris 5.10 scenario is: my java program call a servlet which return to my java program using sendData and then goes into a loop to perform other functions. Now after i get the control back in my java program i try to

Tomcat 6.0.13 Application Context Clustering

2007-06-11 Thread randy hoffman
Hi, I can't seem to get application context clustering to work using a context.xml file inside of my webapp's META-INF directory. Tomcat seems to ignore the className=org.apache.catalina.ha.context.ReplicatedContext parameter inside my Context element in the context.xml. However, session

Re: Erratic HTTP response behavior

2007-06-11 Thread Matt Cosentino
In a previous discussion it was said that the problem was fixed in 5.5.17, so maybe the problem was reintroduced somehow. - Original Message From: Matt Cosentino [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Friday, June 8, 2007 6:12:28 PM Subject: Re: Erratic

Re: Thread Pool

2007-06-11 Thread Martin Gainty
Siraj-- Try setting your thread object as a daemon? thread.setDaemon(true) http://java.sun.com/j2se/1.5.0/docs/api/ M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have

Re: Thread Pool

2007-06-11 Thread Dima Retov
May be your servlet should close connection after data is sent. and/or your program should close connection with server before second request. If your program connection keeps open because of keep alive then second request is sent via old connection that is assigned to servlet that have not

Re: ROOT.xml fails to install context (tomcat 6.0.13)

2007-06-11 Thread Pid
hanasaki wrote: oops.. had the wrong server version (it is 6.0.13) not .14 hanasaki wrote: I have an unpacked WAR at the docBase in the below ROOT.xml ROOT.xml is in: ./conf/Catalina/localhost/ROOT.xml ** The issue is that host doesnt seem to be found... tomcat links like

Re: Thread Pool

2007-06-11 Thread Siraj Haider
Hello, Now I have changed my servlet. I have created a new class ResultFetcher extended by thread and now I am doing the checking part inside that Thread.run() method. and calling the new class like this : ResultFetcher rf = new ResultFetcher(something); rf.setDaemon(true);

Re: Running Tomcat (6.0.10) as a windows service

2007-06-11 Thread GHOSTRIDER
BTW Johnny, I meant to ask you in my reply, are there any drawbacks that you are aware of having Tomcat start and run as a service ? ie: majorly long boot-up times or anything like that. I have'nt tried it yet.. since going into the MMC and switching it to auto.. Thanks again, Rod On 6/11/07,

Re: re-used Response instances causing me grief?

2007-06-11 Thread Jeff Amiel
Shortly after this, while pouring through the tomcat issues repository, I stumbled across this: http://issues.apache.org/bugzilla/show_bug.cgi?id=41772 After reading, I became more convinced that re-used response objects was at the heart of my issue. I searched high-and low through my user

Re: ClassCastException..probably a classpath pb

2007-06-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 lmk, lmk wrote: I'm trying to deploy a custom JAAS login module into tomcat server. This module need a web service request for authentication. The same code works fine where it's executed locally on Eclipse, but, when I deploy a jar on

Re: Thread Pool

2007-06-11 Thread Johnny Kewl
Doesnt seem right, Client makes a request, Tomcat gets request, starts a thread and returns response, then client makes another request and it hangs until thread is complete, if I understand correctly. I think it should work... I think its something like the header size is wrong, or the client

Re: [OT] Thread Pool

2007-06-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Siraj, Siraj Haider wrote: Hello, Now I have changed my servlet. I have created a new class ResultFetcher extended by thread and now I am doing the checking part inside that Thread.run() method. and calling the new class like this :

Re: [OT] Thread Pool

2007-06-11 Thread Johnny Kewl
Ha, well spotted... Chris Yes should look like this... runner = new Thread(this); runner.start(); Yes, thats why connection is holding... is this group good or what ;) - Original Message - From: Christopher Schultz [EMAIL PROTECTED] To: Tomcat Users List

Re: [OT] Thread Pool

2007-06-11 Thread Siraj Haider
Thanks alot all for the help, yes it was my bad... I was not calling run() method instead of calling start{} method... regards -Siraj Johnny Kewl wrote: Ha, well spotted... Chris Yes should look like this... runner = new Thread(this); runner.start(); Yes, thats why

Re: ClassCastException..probably a classpath pb

2007-06-11 Thread lmk
I put axis jar inside server/lib directory. I tried to set classpath on the manifest file but it seems impossible to set axis jars inside the login module jar. its the appropriate location? thanks Christopher Schultz-2 wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 lmk, lmk

Re: re-used Response instances causing me grief?

2007-06-11 Thread Mark Thomas
Jeff Amiel wrote: Any advice or thoughts would be appreciated. Bit of a long shot but it could be re-use of a RequestDispatcher. Prior to 5.5.21 RD's were not thread-safe so if an RD is cached and re-used that might explain what you see. Mark

Re: ClassCastException..probably a classpath pb

2007-06-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 lmk, lmk wrote: I put axis jar inside server/lib directory. I tried to set classpath on the manifest file but it seems impossible to set axis jars inside the login module jar. its the appropriate location? JAR manifests are ignored when

Issue with JK connector vs. IIS 6

2007-06-11 Thread Bob Bateman
Hi all, I'm giving trouble bringing up an installation of Tomcat 5.5.23 via IIS 6 and the JK1 connector. I have tracked the problem down to something about the IIS 5.0 Isolation Mode. If I enable Isolation Mode, all is well with my config: the connector logs requests and mapping, requests are

RE: Issue with JK connector vs. IIS 6

2007-06-11 Thread Bob Bateman
A few more observations to add: when the problem occurs (not in Isolation Mode) the connector shows as loaded OK (green up-arrow in IIS) but does not generate any system event messages or isapi logfile messages. I do see messages in both places when running correctly in Isolation Mode. On the

Re: Reloading keystore - how to register a new TrusStore Manager for Tomcat?

2007-06-11 Thread Bill Barker
Ronald Spiers [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi Pulkit, assuming that I can create the trustManager, I am not sure about how to register it with Tomcat, and if I need to implement more interfaces, etc. In short, I suspect other people already solved this problem,

RE: .htaccess + Tomcat

2007-06-11 Thread reym
Hi there, Thanks for the response. I have tried that, and it works if I directly type in https://www.mywebsite.comin the browser (I'm using IE7). This is how my server.xml file looks like for the non-SSL HTTP and SSL HTTP respectively: !-- Define a non-SSL HTTP/1.1 Connector on port 8080 --

Re: Invalid Content-Length error for the size greater than

2007-06-11 Thread Bill Barker
Daniel Dang [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Bill, As your comment earlier I did open a bug here is a link: http://issues.apache.org/bugzilla/show_bug.cgi?id=42608 I don't know It's a right place to open this DR and those developers have time to do anything with

Re: .htaccess + Tomcat

2007-06-11 Thread Bill Barker
reym [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi there, Thanks for the response. I have tried that, and it works if I directly type in https://www.mywebsite.comin the browser (I'm using IE7). This is how my server.xml file looks like for the non-SSL HTTP and SSL HTTP

Re: Reloading keystore - how to register a new TrusStore Manager for Tomcat?

2007-06-11 Thread Ronald Spiers
Hi Bill: Indeed. Mark's comments put me on the track again, searching for something simpler and more direct than calling openssl or subclassing a provider, and I found this article, which demonstrates how to create a client certificate and sign it using a self-signed root certificate, like the

RE: ROOT.xml fails to install context (tomcat 6.0.13)

2007-06-11 Thread Caldarale, Charles R
From: Pid [mailto:[EMAIL PROTECTED] Subject: Re: ROOT.xml fails to install context (tomcat 6.0.13) == ROOT.xml == Context docBase=/project Ignore the docBase attribute, it doesn't work when the context is configured like this. Not true. Use of docBase is quite appropriate

RE: ROOT.xml fails to install context (tomcat 6.0.14)

2007-06-11 Thread Caldarale, Charles R
From: hanasaki [mailto:[EMAIL PROTECTED] Subject: ROOT.xml fails to install context (tomcat 6.0.14) ** The issue is that host doesnt seem to be found... What does the above statement mean? What host isn't found? Who or what doesn't find it? - Chuck THIS COMMUNICATION MAY CONTAIN

RE: making a directory we accesible

2007-06-11 Thread Caldarale, Charles R
From: Johnny Kewl [mailto:[EMAIL PROTECTED] Subject: Re: making a directory we accesible What would happen if the user made a linux sym-link under the tomcat ROOT folder to /home/mydir1/mydir/ as mydir would that work? That should work (haven't tried it), but I find symlinks to be