Re: how to contribute to tomcat documentation?

2011-03-02 Thread Ognjen Blagojevic
On 2.3.2011 7:56, Daniel Baktiar wrote: if i want to contribute to the documentation of tomcat, where should i start? i saw a lot of contributions are welcomed, patches are welcomed, but cannot find the end of thread: the where to start 1. Checkout Tomcat

Re: how to contribute to tomcat documentation?

2011-03-02 Thread Mark Thomas
On 02/03/2011 10:06, Ognjen Blagojevic wrote: On 2.3.2011 7:56, Daniel Baktiar wrote: if i want to contribute to the documentation of tomcat, where should i start? i saw a lot of contributions are welcomed, patches are welcomed, but cannot find the end of thread: the where to start 1.

Tomcat and SSL

2011-03-02 Thread jvr
Hi, It's my first time using tomcat I'm trying to make, applet-servlet communication via SSL. I can do it via http but, at the moment of trying via SSL, I'm receiving an IOException: Couldn't open a URLConnection, error: https://www.domain.net/applservlet/greeting I'm connecting to

Re: Tomcat and SSL

2011-03-02 Thread Mark Thomas
On 02/03/2011 10:59, jvr wrote: If I go to http://www. domain.net:4848/applservlet/greeting with the browser I could see the servlet. But If I go to https://www. domain.net:8443/applservlet/greeting I'm being redirected to PLESK. Then there is an issue with your hosting environment. It

RE: Tomcat and SSL

2011-03-02 Thread jvr
I make a correction for code written previously: ... URL urlServlet = new URL(https://www.domain.net:8443/applservlet/greeting;); connection = urlServlet.openConnection(); ... Then I don't have to configure tomcat with SSL Configuration HOW-TO as stand-alone web server, although I

Re: @DenyAll does nothing

2011-03-02 Thread Mark Thomas
On 02/03/2011 06:54, Michael McCutcheon wrote: I'm using Tomcat 7.0.8. I have a servlet with a doGet method that has a @DenyAll annotation applied to it. However, when I run the servlet, it seems to make no difference, and doGet is still called. It was my understanding that @DenyAll

How to setup webapp specific parameter for virtual host in Tomcat?

2011-03-02 Thread joe.k
Hi everybody, I would like to have this setup in Tomcat: 1. virtual host 2. webapp resides directly in ROOT and is autoDeployed 3. I need to pass some specific webapp parameter in Tomcat configuration (outside war) 1st I have this scenario: Host name=my.domain.com appBase=vhosts/my.domain.com

RE: How to setup webapp specific parameter for virtual host in Tomcat?

2011-03-02 Thread Martin Gainty
docBase The value of this field must NOT be set when the Context is configured using a META-INF/context.xml file as it will be inferred by the automatic deployment process. Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni

RE: How to setup webapp specific parameter for virtual host in Tomcat?

2011-03-02 Thread Caldarale, Charles R
From: Martin Gainty [mailto:mgai...@hotmail.com] Subject: RE: How to setup webapp specific parameter for virtual host in Tomcat? docBase The value of this field must NOT be set when the Context is configured using a META-INF/context.xml file as it will be inferred by the

RE: Tomcat and SSL

2011-03-02 Thread Caldarale, Charles R
From: jvr [mailto:jvr...@gmail.com] Subject: RE: Tomcat and SSL Then I don't have to configure tomcat with SSL Configuration HOW-TO as stand-alone web server If you're intending to have Tomcat service SSL requests, then you do have to configure it to for such. Note that the configuration

RE: How to setup webapp specific parameter for virtual host in Tomcat?

2011-03-02 Thread Caldarale, Charles R
From: jo...@centrum.cz [mailto:jo...@centrum.cz] Subject: How to setup webapp specific parameter for virtual host in Tomcat? Host name=my.domain.com appBase=vhosts/my.domain.com unpackWARs=true autoDeploy=true Context docBase=/ reloadable=true Parameter name=serverRole value=dev

Re: @DenyAll does nothing

2011-03-02 Thread Michael McCutcheon
On 3/2/2011 4:12 AM, Mark Thomas wrote: On 02/03/2011 06:54, Michael McCutcheon wrote: I'm using Tomcat 7.0.8. I have a servlet with a doGet method that has a @DenyAll annotation applied to it. However, when I run the servlet, it seems to make no difference, and doGet is still called. It was

RE: Tomcat and SSL

2011-03-02 Thread jvr
Sorry, But maybe I'm not doing the correct question. On SSL Configuration HOW-TO of Tomcat documentation: SSL and Tomcat It is important to note that configuring Tomcat to take advantage of secure sockets is usually only necessary when running it as a stand-alone web server. When running Tomcat

Re: server running website

2011-03-02 Thread Joel
On 2/23/2011 4:18 PM, Joel wrote: sackett-research-lab2b:~ joel$ sudo find /opt/Tomcat -type f -exec \ grep function2.basiceng.umr.edu {} \; Oops: I forgot the -l switch on grep... it's not giving you any file names :) sackett-research-lab2b:~ joel$ sudo find /opt/Tomcat -type f -exec

Re: server running website

2011-03-02 Thread Joel
Ignore that half complete message. One of mac's annoying keyboard shortcuts sent that for me :) (don't ask me how, I really don't know how it happened)

Re: weird memory

2011-03-02 Thread Rodrigo Asensio
I'm asking to the guy who built the package. Now... what do you recommend to start tomcat in port 80 in linux and what if I have to do a cluster deployment of tomcat+myapps. What do you suggest ? thank you Rodrigo ---

RE: weird memory

2011-03-02 Thread Caldarale, Charles R
From: Rodrigo Asensio [mailto:rasen...@gmail.com] Subject: Re: weird memory Now... what do you recommend to start tomcat in port 80 in linux and what if I have to do a cluster deployment of tomcat+myapps. You've got multiple, unrelated questions in there, that you shouldn't be asking in

How to debug WAR package?

2011-03-02 Thread ganu MailList
I use a WAR package on tomcat to create a web service, this WAR package call JNI dll to do something. Now I want to debug this WAR package and JNI dll,How can I do it ? Visual Studio support debug JNI dll ?

Re: @DenyAll does nothing

2011-03-02 Thread Mark Thomas
On 02/03/2011 14:53, Michael McCutcheon wrote: However, I downloaded the Servlet 3.0 spec and used the exact examples from the security chapter, and it still seems to ignore the annotations completely: I copied these right from the spec: @ServletSecurity(@HttpConstraint(transportGuarantee

[SECURITY] Tomcat 7 ignores @ServletSecurity annotations

2011-03-02 Thread Mark Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 As reported on the users list [1], both Tomcat 7.0.8 and the latest Tomcat 7 code from svn appear to ignore @ServletSecurity annotations. Assuming this issue is confirmed, it may lead to authentication bypass and information disclosure. The exact

Glashfish release is really fast...

2011-03-02 Thread Tony Anecito
Hi Guys, Just to distract you from 32-bit vs 64-bit conversation Glashfish 3.1 was released yesterday and its performance is the best I have seen for a J2EE servlet container. They reported a 30% + improvement in almost every area and a less than 4 seconds startup that's even better than

Re: IIS7/isapi/tomcat performance

2011-03-02 Thread Tony Anecito
As stated in my message I was using the -server option for the server jvm. -Tony - Original Message From: David kerber dcker...@verizon.net To: Tomcat Users List users@tomcat.apache.org Sent: Tue, March 1, 2011 2:23:45 PM Subject: Re: IIS7/isapi/tomcat performance On 3/1/2011 4:07

Re: How to debug WAR package?

2011-03-02 Thread David kerber
On 3/2/2011 11:31 AM, ganu MailList wrote: I use a WAR package on tomcat to create a web service, this WAR package call JNI dll to do something. Now I want to debug this WAR package and JNI dll,How can I do it ? Visual Studio support debug JNI dll ? Are you debugging the .war, or the

Re: Glashfish release is really fast...

2011-03-02 Thread Mark Thomas
On 02/03/2011 17:02, Tony Anecito wrote: Hi Guys, Just to distract you from 32-bit vs 64-bit conversation Glashfish 3.1 was released yesterday and its performance is the best I have seen for a J2EE servlet container. They reported a 30% + improvement in almost every area and a less

Re: IIS7/isapi/tomcat performance

2011-03-02 Thread David kerber
On 3/2/2011 12:03 PM, Tony Anecito wrote: As stated in my message I was using the -server option for the server jvm. -Tony My bad; I missed that. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: IIS7/isapi/tomcat performance

2011-03-02 Thread Tony Anecito
I do not know what the My bad limit per day is but I am sure you are fine. :] -Tony - Original Message From: David kerber dcker...@verizon.net To: Tomcat Users List users@tomcat.apache.org Sent: Wed, March 2, 2011 10:20:57 AM Subject: Re: IIS7/isapi/tomcat performance On 3/2/2011

Error in Tomcat when redeploying the Web application

2011-03-02 Thread Keshav Arora
Hi All, We have been using Tomcat version 6.0.29 to deploy our webapp and everything works great. In our development environment we can deploy/undeploy our web app multiple times without getting any errors in Tomcat. Recently we switched to Tomcat 7.0.8 and every time we redeploy our application

Tomcat Using Oracle v$session.program, Thin vs OCI Driver

2011-03-02 Thread Dan Denton
Hello all... We have some tomcat instances that we'd like to identify by querying the v$session.program field the oracle database they connect to. We found examples that work when using the thin client, but when using the OCI driver it stops working. Does anyone know of resource configuration

RE: How to setup webapp specific parameter for virtual host in Tomcat?

2011-03-02 Thread joe.k
Hi Charles, thank you for your reply. Based on your answer I tried to remove docBase attribute in ROOT.xml and it started to work ! :-) The thing why it didn't come to my mind before is the fact that I thought docBase attribute was mandatory attribute, as long as it's marked bold in

Re: Tomcat and SSL

2011-03-02 Thread Peter Crowther
On 2 March 2011 15:56, jvr jvr...@gmail.com wrote: My question: If I'm not using JK Connector is mandatory configure tomcat as stand-alone server? or, although I'm not using JK Connector I could consider Apache like the primary web server? If you are not *somehow* forwarding requests

Re: [OT] IIS7/isapi/tomcat performance

2011-03-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tony, On 3/1/2011 6:27 PM, Tony Anecito wrote: I believe the effect of compression is relative. In other words for a big program with lots of 64-bit pointers and 64-bit longs it is helps but for small programs it does not. A long in Java is

Re: [OT] IIS7/isapi/tomcat performance

2011-03-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 3/1/2011 6:09 PM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: [OT] IIS7/isapi/tomcat performance I don't understand why communicating a 64-bit value over a 64-bit bus

Cleaning up after tomcat jdbc-pool?

2011-03-02 Thread Nicholas Sushkin
Hi, Filip, Is there a recommended way to clean up after the pool? I am getting the following error message and I wonder if I need to add some code to prevent memory leak. 2011-03-02 22:20:20,786 ERROR [http-8081-1] org.apache.catalina.loader.WebappClassLoader - The web application [/…]

Re: [OT] IIS7/isapi/tomcat performance

2011-03-02 Thread Tony Anecito
Actually according to the IBM porting guide longs are different byte lengths depending upon what frame of reference they are speaking to. On page 4 of the following port guide: http://public.dhe.ibm.com/software/dw/jdk/64bitporting/64BitJavaPortingGuide.pdf It states:For Windows, on 32-bit

Re: [SECURITY] Tomcat 7 ignores @ServletSecurity annotations

2011-03-02 Thread Michael McCutcheon
On 3/2/2011 8:49 AM, Mark Thomas wrote: As reported on the users list [1], both Tomcat 7.0.8 and the latest Tomcat 7 code from svn appear to ignore @ServletSecurity annotations. Assuming this issue is confirmed, it may lead to authentication bypass and information disclosure. The exact details

Re: [OT] IIS7/isapi/tomcat performance

2011-03-02 Thread Tony Anecito
On the wiki Java long is 64-bits not sure what a Long is. So IBM is thinking C,C++ a long is 32bits which is what the paper meant. So I as wrong. Regards, -Tony - Original Message From: Tony Anecito adanec...@yahoo.com To: Tomcat Users List users@tomcat.apache.org Sent: Wed, March

RE: [OT] IIS7/isapi/tomcat performance

2011-03-02 Thread Caldarale, Charles R
From: Tony Anecito [mailto:adanec...@yahoo.com] Subject: Re: [OT] IIS7/isapi/tomcat performance On page 4 of the following port guide: http://public.dhe.ibm.com/software/dw/jdk/64bitporting/64BitJavaPortingGuide.pdf It states:For Windows, on 32-bit systems, integers, longs and pointers

RE: [SECURITY] Tomcat 7 ignores @ServletSecurity annotations

2011-03-02 Thread Caldarale, Charles R
From: Michael McCutcheon [mailto:michael.mccutch...@att.net] Subject: Re: [SECURITY] Tomcat 7 ignores @ServletSecurity annotations On 3/2/2011 8:49 AM, Mark Thomas wrote: If code changes are required to address this, they will be included in the next release of Tomcat 7, 7.0.10. The