RE: Configure SSL under Tomcat 7

2012-03-16 Thread Filip Hanik Mailing Lists
The logs show that you don't have Tcnative installed - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

FW: question on clustering Tomcat 7.0

2012-03-16 Thread charles didonato
I have two tomcat instances on 1 machine, each with a different AJP connector port and manager application port. I have Apache webserver for load balancing. When I undeploy my web app from one of the tomcat instances, it does not fail over to the other tomcat in the cluster and I get a 404 error.

Re: Tomcat 5.5 IIS 7.5 2008 64bit

2012-03-16 Thread Bradford Matthews
https. I went and used the 32 bit isapi, downgraded java to 1.5jdk and it now works On Fri, Mar 16, 2012 at 5:21 PM, Mladen Turk wrote: > On 03/16/2012 06:15 PM, Bradford Matthews wrote: >> >> It is getting 404.0 error. I verified all steps. even added IIS_IUSR >> to the ISAPI folder. > > > well

Re: Tomcat 5.5 IIS 7.5 2008 64bit

2012-03-16 Thread Mladen Turk
On 03/16/2012 06:15 PM, Bradford Matthews wrote: It is getting 404.0 error. I verified all steps. even added IIS_IUSR to the ISAPI folder. well are you or are you not using http:// or https://? Requested URL https://localhost:443/docs/ Any suggestions? Seems you are requesting this ove

Re: Info on PermSize and MaxPermSize

2012-03-16 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 3/16/12 7:44 AM, André Warnier wrote: See previous answers. +1 The procrun page clearly describes how to pass any option directly to the JVM. Yes, it's just a bit confusing because for -XMs and -XMx, there a

Re: Configure SSL under Tomcat 7

2012-03-16 Thread Pid
On 16/03/2012 15:58, ayouB __ wrote: > > Hi every one, > > I'm ayoub and i'm a new member of this mailing list :) > Well, i want to configure SSL under Tomcat 7 so i have followed steps said in > http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html, but when i deploy my > project in tomcat s

Perfoming webapp auth on resource

2012-03-16 Thread Michael-O
Hi folks, this resource [1] mentions that I can instruct my webapp to perform the authentication on the resource, e.g. user credential albeit this resource remains container-managed. How is that supposed to work? I was not able to find an example implementation for this. All I know is that the

Re: Configure SSL under Tomcat 7

2012-03-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ayoub, On 3/16/12 12:50 PM, ayouB __ wrote: > > > [snip] > > > > protocol="org.apache.coyote.http11.Http11AprProtocol" > SSLEnabled="true" maxThreads="150" scheme="https" secure="true" > clientAuth="optional" sslProtocol="TLS"/> It's unusual t

Re: Tomcat, JSP and LDAP

2012-03-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil, On 3/16/12 6:23 AM, Neil Munro wrote: > On 15 March 2012 18:24, Christopher Schultz className="org.apache.catalina.realm.JNDIRealm" > connectionName="uid={0},ou=my company users,dc=mycompany,dc=com " > connectionPassword="userPassword" > con

Re: Tomcat, JSP and LDAP

2012-03-16 Thread Pid
On 16/03/2012 15:11, Neil Munro wrote: > Yeah, sorry, that's fixed too now. My first error is that I have my > server.xml realm almost set up, it's just when I try to load any page > it's protected and can't be loaded, including the login.jsp file. > Didn't even get to the login stage. Did you pos

Re: Tomcat, JSP and LDAP

2012-03-16 Thread Pid
On 16/03/2012 14:56, Neil Munro wrote: > On 16 March 2012 14:41, Pid wrote: >> On 16/03/2012 14:13, Neil Munro wrote: >>> I have since made some minor progress with LDAP query's this login.jsp >>> file as you can see query's for a list of valid users and creates a >>> drop down list to choose from

Re: Info on PermSize and MaxPermSize

2012-03-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 3/16/12 7:44 AM, André Warnier wrote: > See previous answers. +1 The procrun page clearly describes how to pass any option directly to the JVM. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGToo

Re: info regarding automatic restart of webapps when modifying $CATALINA_HOME/conf/web.xml

2012-03-16 Thread Mark DeSpain
Hi Mark T, Thanks for the information about removing the ... entry from $CATALINA_BASE/context.xml. While that prevents a web applications from restarting when modifying the web.xml included with it, it does not prevent restarting of all web applications when modifying the web.xml in the server's

Re: Tomcat 5.5 IIS 7.5 2008 64bit

2012-03-16 Thread Bradford Matthews
It is getting 404.0 error. I verified all steps. even added IIS_IUSR to the ISAPI folder. On Mon, Mar 12, 2012 at 3:07 PM, Mladen Turk wrote: > On 03/12/2012 05:37 PM, Bradford Matthews wrote: >> >>  Here is my steps that I used to install tomcat isapi connector. >> >> >> 5. Edit\conf\server.xml

RE: Configure SSL under Tomcat 7

2012-03-16 Thread ayouB __
Here's all logs of my console : 16 mars 2012 17:05:48 org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_31\bin;C

Re: Configure SSL under Tomcat 7

2012-03-16 Thread Filip Hanik Mailing Lists
ok, check your logs for errors. You must have APR libraries with OpenSSL installed, and you must specify the SSLCertificateFile & SSLCertificateKeyFile attributes. All errors will be in the logs Filip - Original Message - > From: "ayouB __" > To: users@tomcat.apache.org > Sent: Friday,

RE: Configure SSL under Tomcat 7

2012-03-16 Thread ayouB __
Sorry :D i want say server.xml > From: ayb-2...@hotmail.fr > To: users@tomcat.apache.org > Subject: RE: Configure SSL under Tomcat 7 > Date: Fri, 16 Mar 2012 16:50:14 + > > > Here's My service.xml file : > > > > > > > SSLEngine="on" /> > > > > className="org.apache.catalina.co

RE: Configure SSL under Tomcat 7

2012-03-16 Thread ayouB __
Here's My service.xml file : > Date: Fri, 16 Mar 2012 10:41:38 -0600 > From: devli...@hanik.com > To: users@tomcat.apache.org > Subject: Re: Configure SSL under Tomcat 7 > > set SSLEnabled="true" in your element, that turns

RE: IIS 7.0 Worker process crashes on App Pool recycling since ISAPI redirector 1.2.33

2012-03-16 Thread Alex Samad - Yieldbroker
[snip] > > > > Hi > > > > 1.2.32 was doing that for me.. 1.2.33 was meant to fix it, but I can't > > get 1.2.33 to load. > > > > Do you use overlapping recycle and a web garden ? > > > > Alex > > > > Thanks for your reply. > I don't think I'm using a web garden - I just have one application pool

RE: IIS 7.0 Worker process crashes on App Pool recycling since ISAPI redirector 1.2.33

2012-03-16 Thread Konstantin Preißer
Hi Alex, > -Original Message- > From: Alex Samad - Yieldbroker [mailto:alex.sa...@yieldbroker.com] > Sent: Friday, March 16, 2012 5:23 PM > To: Tomcat Users List > Subject: RE: IIS 7.0 Worker process crashes on App Pool recycling since > ISAPI redirector 1.2.33 > > Hi > > 1.2.32 was doin

Re: Configure SSL under Tomcat 7

2012-03-16 Thread Filip Hanik Mailing Lists
set SSLEnabled="true" in your element, that turns on SSL. After that, if you don't have keystoreFile or keystorePass set, it will throw errors Filip - Original Message - > From: "ayouB __" > To: users@tomcat.apache.org > Sent: Friday, March 16, 2012 9:58:49 AM > Subject: Configure SSL

RE: IIS 7.0 Worker process crashes on App Pool recycling since ISAPI redirector 1.2.33

2012-03-16 Thread Alex Samad - Yieldbroker
> -Original Message- > From: Konstantin Preißer [mailto:verlag.preis...@t-online.de] > Sent: Saturday, 17 March 2012 2:31 AM > To: 'Tomcat Users List' > Subject: RE: IIS 7.0 Worker process crashes on App Pool recycling since ISAPI > redirector 1.2.33 > > > > > Any idea what these lines c

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-16 Thread pricyber
I am doing this at the moment. diff /apache-tomcat-6.0.35-src/java/org/apache/tomcat/util/net/SocketProperties.java < socket.setTrafficClass(soTrafficClass); --- > try { > socket.setTrafficClass(soTrafficClass); > } catch (Throwable t) { > //TODO: L

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-16 Thread pricyber
OK. 1. Can you set the address field manually, rather than letting the defaults run? I tried with either "localhost", "127.0.0.1" still doesnt work. Also, can you please log "InetAddress.toString()" immediately before you do the above line? I suspect Inet4 v Inet6 is the culprit. Tried wi

Configure SSL under Tomcat 7

2012-03-16 Thread ayouB __
Hi every one, I'm ayoub and i'm a new member of this mailing list :) Well, i want to configure SSL under Tomcat 7 so i have followed steps said in http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html, but when i deploy my project in tomcat server i don't get : https://loclhost:8080/ i still

Re: Custom WebappLoader, Jasper and custom JSP tags

2012-03-16 Thread Johannes Ernst
On Mar 16, 2012, at 5:07, Pid wrote: > On 15/03/2012 23:44, Johannes Ernst wrote: >> I've implemented my own org.apache.catalina.loader.WebappLoader. It consults >> a bunch of JARs held in the file system outside of the WAR. > > Would one of the shared/common classloaders in Tomcat not achieve t

Re: Custom WebappLoader, Jasper and custom JSP tags

2012-03-16 Thread Johannes Ernst
On Mar 16, 2012, at 3:30, Konstantin Kolinko wrote: >> Where is a good breakpoint or debug switch that I could set to see with >> which class path values Jasper and javac are being invoked? > > Why are you asking if the source code is available? Because I'm a little lost in the source code. E

RE: IIS 7.0 Worker process crashes on App Pool recycling since ISAPI redirector 1.2.33

2012-03-16 Thread Konstantin Preißer
> > Any idea what these lines could mean / that caused them? Note that it > seems that after the crash (when a new w3wp.exe is created), pages are > served fine again (though I do not know what happens with request that > are made exactly in the time when IIS resets the app pool). > The crashes an

IIS 7.0 Worker process crashes on App Pool recycling since ISAPI redirector 1.2.33

2012-03-16 Thread Konstantin Preißer
Hi all, I have a system with Windows Server 2008 32 bit, IIS 7.0, Java 1.7.0_03, Tomcat 7.0.26 and the ISAPI redirector. Since I updated the ISAPI redirector from 1.2.32 to 1.2.33, it seems that each time when IIS tries to recycle its application pool, the IIS worker process (w3wp.exe) crashes

Re: Tomcat, JSP and LDAP

2012-03-16 Thread Neil Munro
Yeah, sorry, that's fixed too now. My first error is that I have my server.xml realm almost set up, it's just when I try to load any page it's protected and can't be loaded, including the login.jsp file. Didn't even get to the login stage. On 16 March 2012 15:07, Daniel Mikusa wrote: > > > -

Re: Tomcat, JSP and LDAP

2012-03-16 Thread Daniel Mikusa
- Original Message - From: "Neil Munro" To: "Tomcat Users List" Sent: Friday, March 16, 2012 10:56:56 AM Subject: Re: Tomcat, JSP and LDAP On 16 March 2012 14:41, Pid wrote: > On 16/03/2012 14:13, Neil Munro wrote: >> I have since made some minor progress with LDAP query's this login.

Re: Tomcat, JSP and LDAP

2012-03-16 Thread Neil Munro
On 16 March 2012 14:41, Pid wrote: > On 16/03/2012 14:13, Neil Munro wrote: >> I have since made some minor progress with LDAP query's this login.jsp >> file as you can see query's for a list of valid users and creates a >> drop down list to choose from >> >> > "http://www.w3.org/TR/xhtml1/DTD/xht

Re: Tomcat, JSP and LDAP

2012-03-16 Thread Pid
On 16/03/2012 14:13, Neil Munro wrote: > I have since made some minor progress with LDAP query's this login.jsp > file as you can see query's for a list of valid users and creates a > drop down list to choose from > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> > <%@page > import

Re: Info on PermSize and MaxPermSize

2012-03-16 Thread Geet Chandra
Could you please tell me how to set -XX:MaxPermSize=96m and -XX:PermSize=72m in Window Registry, when I start tomcat as window service, it should pass these value to JVM. Can I execute the following command to register "%EXECUTABLE%" //US//%SERVICE_NAME% ++JvmOptions "-Djava.io.tmpdir=%CATAL

Re: Tomcat, JSP and LDAP

2012-03-16 Thread Neil Munro
I have since made some minor progress with LDAP query's this login.jsp file as you can see query's for a list of valid users and creates a drop down list to choose from http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> <%@page import="javax.naming.*,javax.naming.directory.*,java.util.Arra

Re: Custom WebappLoader, Jasper and custom JSP tags

2012-03-16 Thread Pid
On 15/03/2012 23:44, Johannes Ernst wrote: > I've implemented my own org.apache.catalina.loader.WebappLoader. It consults > a bunch of JARs held in the file system outside of the WAR. Would one of the shared/common classloaders in Tomcat not achieve the same thing - what is unique about the probl

Re: Tomcat, JSP and LDAP

2012-03-16 Thread Pid
On 16/03/2012 10:23, Neil Munro wrote: > On 15 March 2012 18:24, Christopher Schultz > wrote: > Neil, > > On 3/15/12 1:05 PM, Neil Munro wrote: >>> connectionURL="ldap://my.ldap.server.com"; alternateURL="ldap://my.ldap.server.com"; userPattern="uid={0},ou=my company users,dc=mycom

Re: Info on PermSize and MaxPermSize

2012-03-16 Thread André Warnier
Geet Chandra wrote: On Fri, Mar 16, 2012 at 1:24 PM, André Warnier wrote: Geet Chandra wrote: ... ... Here is code snippet for registering as Windows service "%EXECUTABLE%" //IS//%SERVICE_NAME% --Install="C:\Program Files\\non<**Product>\tomcat\b\bin\tomcat6.**exe" --Jvm=auto --StartM

Re: Info on PermSize and MaxPermSize

2012-03-16 Thread André Warnier
Geet Chandra wrote: .. One more question, I would like to ask, Like ""%EXECUTABLE%" //US//%SERVICE_NAME% ++JvmOptions " Djava.io.tmpdir=%CATALINA_BASE%\temp" --JvmMs 256 --JvmMx 512 " How can I set JAVA_OPTS=-Xms256m -Xmx512m using ""%EXECUTABLE%" //US//%SERVICE_NAME% ++JvmOptions " Dj

Re: How to leave this list?

2012-03-16 Thread Konstantin Kolinko
2012/3/16 Purvis Robert (NHS CONNECTING FOR HEALTH) : > I got no error message. I tried about 5 times (just tried again), emailing to > users-unsubscr...@tomcat.apache.org as it says in the footer to this list's > emails. Did your message have subject and some text in the body? Otherwise it cou

Re: How to leave this list?

2012-03-16 Thread Giles Coochey
On 16/03/2012 10:49, Purvis Robert (NHS CONNECTING FOR HEALTH) wrote: I got no error message. I tried about 5 times (just tried again), emailing to users-unsubscr...@tomcat.apache.org as it says in the footer to this list's emails. Rob Are you sure that you are subscribed with the email tha

RE: How to leave this list?

2012-03-16 Thread Purvis Robert (NHS CONNECTING FOR HEALTH)
I got no error message. I tried about 5 times (just tried again), emailing to users-unsubscr...@tomcat.apache.org as it says in the footer to this list's emails. Rob -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: 16 March 2012 10:24 To: Tomcat Users L

Re: Info on PermSize and MaxPermSize

2012-03-16 Thread Geet Chandra
On Fri, Mar 16, 2012 at 1:24 PM, André Warnier wrote: > Geet Chandra wrote: > ... > > ... > > > >>>Here is code snippet for registering as Windows service >> "%EXECUTABLE%" //IS//%SERVICE_NAME% --Install="C:\Program >> Files\\non<**Product>\tomcat\b\bin\tomcat6.**exe" --Jvm=auto >> --StartMod

Re: Custom WebappLoader, Jasper and custom JSP tags

2012-03-16 Thread Konstantin Kolinko
2012/3/16 Johannes Ernst : > > On Mar 15, 2012, at 17:38, Konstantin Kolinko wrote: > Moreover Jasper has to pass a classpath to an external Java compiler (ecj or javac). The classpath is constructed and passed to Jasper as String. >>> >>> Could you point me to where in the code it d

Re: How to leave this list?

2012-03-16 Thread Konstantin Kolinko
2012/3/16 Purvis Robert (NHS CONNECTING FOR HEALTH) : > Can anyone tell me how to leave this email list? I have tried sending an > email to the unsubscribe address, but that has not worked. Was the mail lost, or there was some specific error message? There are more detailed instructions here: ht

Re: Tomcat, JSP and LDAP

2012-03-16 Thread Neil Munro
On 15 March 2012 18:24, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Neil, > > On 3/15/12 1:05 PM, Neil Munro wrote: >> > connectionURL="ldap://my.ldap.server.com"; >> alternateURL="ldap://my.ldap.server.com"; userPattern="uid={0},ou=my >> company users,dc=mycom

Re: Writing a custom resource factory

2012-03-16 Thread Felix Schumacher
Am 16.03.2012 09:34, schrieb 1983-01...@gmx.net: Am 16.03.2012 08:24, schrieb Felix Schumacher: > Am 15.03.2012 21:54, schrieb Michael-O: >> Hi folks, >> >> I'd like to write a custom ldap resource factory as same as a data >> source factory. The getObjectInstance method shall return >> Initial

Re: Info on PermSize and MaxPermSize

2012-03-16 Thread Geet Chandra
On Fri, Mar 16, 2012 at 1:24 PM, André Warnier wrote: > Geet Chandra wrote: > ... > > ... > > > >>>Here is code snippet for registering as Windows service >> "%EXECUTABLE%" //IS//%SERVICE_NAME% --Install="C:\Program >> Files\\non<**Product>\tomcat\b\bin\tomcat6.**exe" --Jvm=auto >> --StartMod

Re: Writing a custom resource factory

2012-03-16 Thread 1983-01-06
> Am 16.03.2012 08:24, schrieb Felix Schumacher: > > Am 15.03.2012 21:54, schrieb Michael-O: > >> Hi folks, > >> > >> I'd like to write a custom ldap resource factory as same as a data > >> source factory. The getObjectInstance method shall return > >> InitialDirContext object. I have written a moc

How to leave this list?

2012-03-16 Thread Purvis Robert (NHS CONNECTING FOR HEALTH)
Can anyone tell me how to leave this email list? I have tried sending an email to the unsubscribe address, but that has not worked. This message may contain confidential informati

Re: info regarding automatic restart of webapps when modifying $CATALINA_HOME/conf/web.xml

2012-03-16 Thread Mark Thomas
Mark DeSpain wrote: >We're using some revision of Tomcat 7.0... I don't recall the >specific version, but I can look it up if it is relevant. Normally, the answer to that question would be yes. In this case, you are in luck. >Apparently when someone modifies $CATALINA_HOME/conf/web.xml, Tomc

Re: info regarding automatic restart of webapps when modifying $CATALINA_HOME/conf/web.xml

2012-03-16 Thread André Warnier
Mark DeSpain wrote: Greetings! Just trying to do some research regarding a behavior my team observed today. We're using some revision of Tomcat 7.0... I don't recall the specific version, but I can look it up if it is relevant. Apparently when someone modifies $CATALINA_HOME/conf/web.xml, Tomc

Re: Info on PermSize and MaxPermSize

2012-03-16 Thread André Warnier
Geet Chandra wrote: ... ... Here is code snippet for registering as Windows service "%EXECUTABLE%" //IS//%SERVICE_NAME% --Install="C:\Program Files\\non\tomcat\b\bin\tomcat6.exe" --Jvm=auto --StartMode=jvm --StopMode=jvm --StartClass=org.apache.catalina.startup.Bootstrap --StartParams=star

Re: Writing a custom resource factory

2012-03-16 Thread Felix Schumacher
Am 16.03.2012 08:24, schrieb Felix Schumacher: Am 15.03.2012 21:54, schrieb Michael-O: Hi folks, I'd like to write a custom ldap resource factory as same as a data source factory. The getObjectInstance method shall return InitialDirContext object. I have written a mock factory and noticed that

Re: Writing a custom resource factory

2012-03-16 Thread Felix Schumacher
Am 15.03.2012 21:54, schrieb Michael-O: Hi folks, I'd like to write a custom ldap resource factory as same as a data source factory. The getObjectInstance method shall return InitialDirContext object. I have written a mock factory and noticed that the output is cached by Tomcat. So the object is