Re: Problems with clientAuth

2007-04-02 Thread Luis Villa
Hello Martin, Well, at least you are lucky Internet Explorer asks for the certificate, this is what it's supposed to do when using clientAuth=true. What is happening to me is that all works well with clientAuth = false, when changing it to clientAuth=true, Firefox throws this error and IExplorer

Re: Problems with clientAuth

2007-04-02 Thread Luis Villa
Ok, I forgot! I used both keytool and openssl, it seems the problem is not there as Tomcat gives the same error with both. Greetings! 2007/4/2, Luis Villa [EMAIL PROTECTED]: Hello Martin, Well, at least you are lucky Internet Explorer asks for the certificate, this is what it's supposed to

Problem with Tomcat Authorization, JndiLoginModule and openLdap

2007-04-02 Thread Luis Fernandez Martinez
Hello, I'm havin' a problem trying to Authorize admin console (admin webapp) via openLdap to some user. It seems that ldap authenticates the user, but then back to Tomcat, it doesn't authorize to acces the webApp. This is the output of the Tomcat-5.5.23: 02-abr-2007 10:00:34

RE: Problems with clientAuth

2007-04-02 Thread Mirou, Antoine
The problem appears when changing clientAuth to true. Then, when using iexplorer the browser simply can't find the page (or this is what it says), and when using firefox it warns about the certificate, but after accepting the certification it says that 'localhost has received an unexpected or

Tomcat 6.0 Release Notes not found on server?

2007-04-02 Thread wolverine my
Hi! I got the following error when clicked on the Release Notes from the Tomcat 6.0 documentation page: 404 Not Found The requested URL /tomcat-6.0-doc/RELEASE-NOTES.txt was not found on this server. - To start a new topic,

Quality check mod_jk-1.2.22

2007-04-02 Thread Mladen Turk
Hi all, The next version of mod_jk is approaching its release. A code snapshot is available at: http://people.apache.org/~mturk/jk-1.2.22-dev/ It is in the same format as a release download, so easy to build. It would be nice, if we could get some testing feedback from the community. Feel free

Joakim T Monstad is out of the office.

2007-04-02 Thread JMonstad
I will be out of the office starting 04/02/2007 and will not return until 04/03/2007. I will respond to your message when I return.

Re: Tomcat 5.5: Jre or Jdk?

2007-04-02 Thread Rodrigo Ruiz
Hi, AFAIK, Tomcat 5.5 uses the Eclipse compiler, so it does not require a JDK to compile JSPs anymore. However, a JRE comes with only a client virtual machine. If you want to run your Tomcat with a server virtual machine, you will need a full JDK. The -server option usually provides better

is tomcat a competitor of ruby on rails? Or why did davidson praise it so highly - can you compare them?

2007-04-02 Thread Anil Philip
I was surprised when I saw this high praise from James Davidson, creator of Tomcat. “Rails is the most well thought-out web development framework I’ve ever used. And that’s in a decade of doing web applications for a living. I’ve built my own frameworks, helped develop the Servlet API, and have

Re: Tomcat version for 64 bit windows server ??

2007-04-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Venkat, Venky Vasant wrote: Is there a separate version of tomcat for 64-bit windows server? No, Tomcat is pure Java. You need to make sure that you have a 64-bit JVM installed in order to run Tomcat in 64-bit mode. You can also use a 32-bit JVM

[OT] Re: is tomcat a competitor of ruby on rails? Or why did davidson praise it so highly - can you compare them?

2007-04-02 Thread Andrew Miehs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ruby on Rails is a framework. If you do things the way Rails expects you to do things, its quite nice for doing frontends to databases. Just don't expect a performance wonder. No, you don't need to switch, but its definitely another tool worth

Re: Tomcat 6.0.10 Comet question

2007-04-02 Thread Sebastiaan van Erk
Hi, Thanks for the response. To get these adjustments, do I need to download tomcat from a subversion (or CVS) repository? I was also just discovered that in the 6.0.10 version that an exception in the END event causes the END event to called again; this means that an uncaught

Re: is tomcat a competitor of ruby on rails? Or why did davidson praise it so highly - can you compare them?

2007-04-02 Thread Leon Rosenberg
Is it so great? As a long time Java programmer, I wonder. (Dont tell me we need to switch!). forget ruby on rails, sql on rails is what you want! http://www2.sqlonrails.org/ :-) Leon - To start a new topic, e-mail:

Re: Problems with clientAuth

2007-04-02 Thread Luis Villa
Ok, now I'm getting mad :S IExplorer keeps saying the page can't be found (it doesn't ask for the certificate), and Firefox throws a -12271 error (I don't know if that is close enought to the error you said, Antoine. Anyway, nothing has changed since the last 12229 error (I left the computer off

Re: Tomcat 6.0.10 Comet question

2007-04-02 Thread Rémy Maucherat
On 4/2/07, Sebastiaan van Erk [EMAIL PROTECTED] wrote: Hi, Thanks for the response. To get these adjustments, do I need to download tomcat from a subversion (or CVS) repository? Yes. I was also just discovered that in the 6.0.10 version that an exception in the END event causes the END

Deactivating XML-validation

2007-04-02 Thread Stefan Günther
Hello, starting tomcat takes about 4 minutes on our server (dual xeon, 4 GB RAM). During this time our firewall reports attempts from this server to access urls that start with eos.apache.org, but http access to the internet is blocked for this machine. According to a number of posting

Re: Tomcat 6.0.10 Comet question

2007-04-02 Thread Rémy Maucherat
On 4/2/07, Rémy Maucherat [EMAIL PROTECTED] wrote: I was also just discovered that in the 6.0.10 version that an exception in the END event causes the END event to called again; this means that an uncaught RuntimeException could potentially cause Tomcat to go into a loop of an infinite

Fwd: Setting Connector's attribute and consuming SOAP request in embedded tomcat

2007-04-02 Thread Dipesh Khakhkhar
Hi, No messages for this question. I am not sure whether my question did reach to list or not. I would appreciate any pointer in this direction. Thanks! -- Forwarded message -- From: Dipesh Khakhkhar [EMAIL PROTECTED] Date: Mar 30, 2007 6:44 PM Subject: Setting Connector's

Re: connection pool

2007-04-02 Thread Daniel Stephens
sorry if someone has already mentioned this, but you will probably have to add the testOnborrow Parameter. So that also means you have to use the ValidationQuery, etc... but it(the pool) should try to restablish a connection at that point. testOnBorrow will cause some more overhead, but it might

Re: Filter class not found problem

2007-04-02 Thread Pulkit Singhal
Hello Frank, It seems to me that the error is not so much about the Filter you want to load but the fact that it can't find the javax/servlet/Filter class which is (I think) supposed to be part of the servlet-api.jar ... I know you said that its bundled but try moving that jar around. Or at

Authenticating a drop-in web-app

2007-04-02 Thread Russ Sherk
Hi, I was looking into using Tomcat's (5.x) authentication for our web-app. The web-app will be deployed in a single WAR file so the customers can drop it into their existing Tomcat installation. The authentication needs to be done via our custom JAAS implementation which is packaged in a jar.

Re: [OT] Re: is tomcat a competitor of ruby on rails? Or why did davidson praise it so highly - can you compare them?

2007-04-02 Thread Joe Riopel
No, you don't need to switch, but its definitely another tool worth looking at, even if the product isn't as good as the hype. You might also was to check out grails while you're at it. http://grails.codehaus.org/ - To start a

Re: Tips needed: restarting tomcat without risk of java.net.BindException

2007-04-02 Thread Filip Hanik - Dev Lists
its an asynchronous call, all shutdown.sh does, is connect to the shutdown port and issue the shutdown command, when shutdown.sh returns, there is no guarantee that the java process has been shutdown, that depends on the webapplications installed Filip brycenesbitt wrote: Odd. I call

path Attribute for Context Element

2007-04-02 Thread Stefan Duffner
Hi, I try to add a new webapplication to a Tomcat in version 5.5.23. I add an own context.xml, which contains some jndi configuration for the tomcat connection pool. I deployed this webapplication into my application directory as subdirectory named appl. This works fine, my application is

Re: path Attribute for Context Element

2007-04-02 Thread David Smith
Stefan Duffner wrote: Hi, I try to add a new webapplication to a Tomcat in version 5.5.23. I add an own context.xml, which contains some jndi configuration for the tomcat connection pool. I deployed this webapplication into my application directory as subdirectory named appl. This works

JNDI Datasource Problem

2007-04-02 Thread Melih Onvural
I've read through every archive that I can find, and I've tried every suggestion that I've seen including the tutorials on the Tomcat site. I'm using 5.5.x, and I can't connect to the database. This is killing me. I've pasted my server.xml, context.xml, and web.xml files here. Any help would be

Re: JNDI Datasource Problem

2007-04-02 Thread Melih Onvural
Also, the error message itself is: javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: java.sql.SQLException: No driver found for jdbc/TestDB org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:276) and I have

Re: JNDI Datasource Problem

2007-04-02 Thread Rashmi Rubdi
Is the Context associated with a Host? I tried and example as shown here: http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html and it works fine. I think the same instructions work for Tomcat 5.5.x as well. My server.xml Host name=connectionpooling

Re: JNDI Datasource Problem

2007-04-02 Thread Rashmi Rubdi
Also what does your JDBC code look like? (Please post small relevant snippets) - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat 6.0.10 hangs on startup when APR enabled

2007-04-02 Thread Stefan Armbruster
Hi, the machine is diskless, so entropy for /dev/random might not be enough. cat /dev/random dummy results in a empty dummy file even if it runs for several minutes. cat /proc/sys/kernel/random/entropy_avail returns 23. Anyway, I do not need SSL stuff here. Is there a way to compile libtcnative

Re: JNDI Datasource Problem

2007-04-02 Thread Melih Onvural
I tried it both ways. Once my resource wasn't defined globally at all, but it was defined under the Context. Next, my resource was defined only globally and not under the context. Is that the problem? Should it be global and under the context? I'm using the test.jsp file and the

Re: Authenticating a drop-in web-app

2007-04-02 Thread Nicholas Sushkin
Russ, Updating your tomcat installation with custom components is most likely out of scope of Tomcat's application deployment. Perhaps you can offer your customers a customized tomcat installation kit with your JAAS jar preinstalled. On Monday 02 April 2007 13:19, Russ Sherk wrote: Hi, I

Tomcat 6 web root directory

2007-04-02 Thread Hoa Doan
Hi, I am trying to direct Tomcat to my own web root director, and I know you can do that by changing the host tag in server.xml. But Tomcat wont read any of my web file unless they are in a folder name 'ROOT'. Kind of confusing but here is an example of what i did. My host tag in

Re: Tomcat 5.5: Jre or Jdk?

2007-04-02 Thread Hoa Doan
What is the -server option and how to you turn it on? I thought when you install Tomcat it will ask where the JRE is not the JDK so why do you need to install JDK. Rodrigo Ruiz [EMAIL PROTECTED] wrote: Hi, AFAIK, Tomcat 5.5 uses the Eclipse compiler, so it does not require a JDK to compile

Precompiling JSP pages getting cannot be found: org/apache/tomcat/logging/Logger error

2007-04-02 Thread Venkatesh Jayaraman \(jvenky\)
Hello Pre compiling the JSP pages we get following error A class needed by class org.apache.jasper.JspC cannot be found: org/apache/tomcat/logging/Logger Which tomcat jar has this class defined? Any help? -Venky

Re: Precompiling JSP pages getting cannot be found: org/apache/tomcat/logging/Logger error

2007-04-02 Thread Rashmi Rubdi
Did you search on Google for answers? Add commons-logging.jar to the lib folder and make sure it is in the classpath of your build file. -Rashmi - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail:

Re: JNDI Datasource Problem

2007-04-02 Thread Rashmi Rubdi
If you try the example exactly without any variations, it should work. It worked for me. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Tomcat version for 64 bit windows server ??

2007-04-02 Thread Len Popp
Don't you also need a 64-bit version of the Windows service wrapper? (e.g. tomcat5w.exe for version 5.x) I'm assuming that if you're running Tomcat on a Windows server, you'll want to run it as a service, not from a batch file. -- Len On 4/2/07, Christopher Schultz [EMAIL PROTECTED] wrote:

Re: Tomcat 6 web root directory

2007-04-02 Thread Filip Hanik - Dev Lists
Host name=somehost appBase=c:/www.web Context path= docBase=c:/www.web/myapp/ /Host Filip Hoa Doan wrote: Hi, I am trying to direct Tomcat to my own web root director, and I know you can do that by changing the host tag in server.xml. But Tomcat wont read any of my web file unless they are

Re: Filter class not found problem

2007-04-02 Thread Frank W. Zammetti
Yes I agree, that's what I thought the problem was too, I was just working through eliminating any problems on my part (which is probably still the cause, but seemingly in a less than obvious way now)... I confirmed the Filter class is in servlet-api.jar, and it's in javax/servlet... I also

java.security.AccessControlException

2007-04-02 Thread theseros
I'm new at this but I've been trying to figure this out for days. I'm trying to deploy an open-source webapp and I'm running into this permission problem: Exception sending context initialized event to listener instance of class org.openmrs.web.Listener java.security.AccessControlException:

Re: Deactivating XML-validation

2007-04-02 Thread Mark Thomas
Stefan Günther wrote: According to a number of posting tomcat tries a xml validation duing startup by searching for a file on eos.apache.org. I have checked /etc/tomcat5/server.xml and found a line dealing with xml validation: This is www.apache.org xmlValidation=false xmlNamespace=false

Request for recommendations on connector to use with Apache-2.2.x and Tomcat5.5+

2007-04-02 Thread Bill Doster
University of Michigan is planning to run a tomcat application (on Linux) using Apache-2.2.x and Tomcat-5.5+t hat will servicing around 100K users. We'd appreciate hearing from sites that have already gained experience with such a configuration. Web searches provide a number of helpful

sessionhelp

2007-04-02 Thread Mark Goking
Hi. When logging in to web applications with roles you set in web-xml and server.xml which db it will connect for validation. In my case, I wish to manually create a jsessionid and log the user in the web app without using j_security_check. Is this possible? Beccause I have 2 tables with

Re: Tomcat 5.5: Jre or Jdk?

2007-04-02 Thread Edoardo Panfili
Hoa Doan wrote: What is the -server option and how to you turn it on? I thought when you install Tomcat it will ask where the JRE is not the JDK so why do you need to install JDK. Rodrigo Ruiz [EMAIL PROTECTED] wrote: Hi, AFAIK, Tomcat 5.5 uses the Eclipse compiler, so it does not require a