Trouble setting up ssl

2011-02-25 Thread Joseph L. Casale
I have setup a keystore as follows: keytool -genkey -alias tomcat -keyalg RSA -dname CN=,OU="Company Name",O=" Company Name ",L=city,ST=province,C=CA \ -keystore /path/keystore -keypass phrase -storepass phrase I then generated a CSR: keytool -certreq -keyalg RSA -alias tomcat -file /path/certreq

RE: Wildcard SSL import from IIS 6 to Tomcat 7?

2011-02-25 Thread Carlton Whitmore
Flip, That was the problem. Thanks. From: Filip Hanik - Dev Lists [devli...@hanik.com] Sent: Friday, February 25, 2011 1:03 PM To: Tomcat Users List Subject: Re: Wildcard SSL import from IIS 6 to Tomcat 7? I would change sslProtocol="PKCS12" to keystore

RE: Sudden change in Tomcat 7.0.6 behaviour

2011-02-25 Thread McGibbney, Lewis John
This help is absolutely great everyone. Thank you very much. After implementing the suggestions I am up and running again. Thanks for now Lewis From: Caldarale, Charles R [chuck.caldar...@unisys.com] Sent: 25 February 2011 20:56 To: Tomcat Users List Subje

Re: How to disable JSR 250 annotations processor ?

2011-02-25 Thread Mark Thomas
On 25/02/2011 21:03, Yevgen Krapiva wrote: > Hi. > > I have a problem deploying Spring based application to Tomcat 6.0.26 / > 7.0.0. > Some of my beans have @PostConstruct annotated methods. > Like: > > @PostConstruct > public void init() { ... } > > The problem is that these methods called twic

How to disable JSR 250 annotations processor ?

2011-02-25 Thread Yevgen Krapiva
Hi. I have a problem deploying Spring based application to Tomcat 6.0.26 / 7.0.0. Some of my beans have @PostConstruct annotated methods. Like: @PostConstruct public void init() { ... } The problem is that these methods called twice - first time by Tomcat annotation processor, second time - by S

RE: Sudden change in Tomcat 7.0.6 behaviour

2011-02-25 Thread Caldarale, Charles R
> From: McGibbney, Lewis John [mailto:lewis.mcgibb...@gcu.ac.uk] > Subject: Sudden change in Tomcat 7.0.6 behaviour > debug="0" crossContext="true" > While fixing the procedural problems that Chris and Konstantin pointed out, also remove the debug attribute from your element - that hasn't bee

Re: Sudden change in Tomcat 7.0.6 behaviour

2011-02-25 Thread Konstantin Kolinko
2011/2/25 McGibbney, Lewis John : > My problem is that today when I undeployed the webapp, then unpackaged my > up-to-date WAR version, any code changes which I make don't seem to be being > reloaded, Whether or not a JSP has to be recompiled depends solely on the timestamp of the class file and

Re: programming question

2011-02-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 2/24/2011 12:08 PM, David Smith wrote: > With tomcat's built-in database pooling, just adding a validation query > to the resource config should be all that's necessary. On each borrow > of a connection, the connection is tested and closed

Re: Sudden change in Tomcat 7.0.6 behaviour

2011-02-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lewis, On 2/25/2011 2:35 PM, McGibbney, Lewis John wrote: > Firstly I think it is important to state that I have included an xml > file within both tomcat dist's under the following > CATALINA_HOME/conf/Catalina/localhost/mywebbapp.xml with the follow

Re: what to do in conf. files

2011-02-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it mat concern, On 2/25/2011 2:57 PM, spr...@gmx.eu wrote: >>> Especially, what are things to deploy jsf_webapp >>> in its real host after developing it in the localhost ? >> >> You will also have to make sure that your URLs are built proper

RE: what to do in conf. files

2011-02-25 Thread spring
> > Especially, what are things to deploy jsf_webapp > > in its real host after developing it in the localhost ? > > You will also have to make sure that your URLs are built properly. If > the string "localhost" appears anywhere in your webapp, > you're probbaly > doing something wrong. Also, i

Re: what to do in conf. files

2011-02-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ahmet, On 2/25/2011 1:37 PM, ahmet temiz wrote: > Are there anythings I have to do in configuration files to > change from development stages to production stage ? Unless you've done foolish things in development, production configuration should not

Where are my compiled jsp's?

2011-02-25 Thread spring
Hi, I have an expanded webapp moved into a directory out of tomcats webapps-dir. I have changed the docbase in server.xml (I know, bad practice). But now the compiled jsp's are no longer in tomcats work directory. Where are they now? Thank you ---

Re: programming question

2011-02-25 Thread Mark Eggers
- Original Message (edited) From: Michael Ludwig János Löbb schrieb am 24.02.2011 um 11:24 (-0500): > On Feb 24, 2011, at 10:58 AM, David kerber wrote: > > On 2/24/2011 10:49 AM, János Löbb wrote: > >> > >> What is the very basic structure of a web application that is > >> connected to

Sudden change in Tomcat 7.0.6 behaviour

2011-02-25 Thread McGibbney, Lewis John
Hello list, I have been running my webapp on two tomcat servers located on two workstations versions 7.0.8 and 7.0.6. The workstations are in no way linked, I have merely been developing code and testing on both tomcat installations. After every coding session, I package my app into a WAR and k

RE: programming question

2011-02-25 Thread Martin Gainty
michael is correct..if your db goes down there is nowhere to persist your data objects to and there is nowhere to query the data from Have you considered writing to a database cluster? MySQL Clustering: http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-replication.html Oracle RAC: http://ww

Re: Exception in hibernate3 relating to timeout

2011-02-25 Thread Mark Eggers
- Original Message (edited) From: Filip Hanik - Dev Lists Use a different connection pool that can properly handle your timeouts when idle. http://people.apache.org/~fhanik/jdbc-pool/ http://people.apache.org/~fhanik/jdbc-pool/jdbc-pool.html Filip On 02/24/2011 11:31 PM, abhishek jain

Re: Response.SendRedirect problems

2011-02-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 2/25/2011 4:11 AM, Konstantin Kolinko wrote: >>> It concerns the servlet response.sendRedirect(...) method. >>> >>> When using the response.sendRedirect("/myexample") in my java class, i do >>> n= >>> ot want the servlet engine to recon

Re: programming question

2011-02-25 Thread Michael Ludwig
János Löbb schrieb am 24.02.2011 um 11:24 (-0500): > On Feb 24, 2011, at 10:58 AM, David kerber wrote: > > On 2/24/2011 10:49 AM, János Löbb wrote: > >> > >> What is the very basic structure of a web application that is > >> connected to a database through a connection pool, but would not > >> req

Re: Wildcard SSL import from IIS 6 to Tomcat 7?

2011-02-25 Thread Filip Hanik - Dev Lists
I would change sslProtocol="PKCS12" to keystoreType="PKCS12" On 02/25/2011 11:10 AM, Carlton Whitmore wrote: Filip, When I try to access https://www.disabilityrightstx.org:8443 I get the standard Page can't be displayed message. Here is what I found in the Catalina logs: Feb 25, 2011 9:53:

Re: loading an xsl file in javascript

2011-02-25 Thread Michael Ludwig
robert.jen...@surecomp.com schrieb am 23.02.2011 um 16:59 (+0200): > xml.loadXML(xml.transformNode(xsl)); if transforming the xml using the > xml already loaded.. so the source xml is from the target object Check out transformNodeToObject(clonedDom), that should be more efficient. Doesn't have an

what to do in conf. files

2011-02-25 Thread ahmet temiz
hello Are there anythings I have to do in configuration files to change from development stages to production stage ? Especially, what are things to deploy jsf_webapp in its real host after developing it in the localhost ? kind regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi

Re: [OT] Memory Leak in Tomcat

2011-02-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeffrey, On 2/25/2011 11:13 AM, Jeffrey Janner wrote: > Thanks for adding some more well-thought-out reasoning to this > discussion. You've pointed out some issues that the rest of us had > addressed, or even thought about, and pointing out that real

Re: [OT] Memory Leak in Tomcat

2011-02-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 2/25/2011 10:47 AM, André Warnier wrote: > [Thread hijacking] is more annoying, because quite a few people have their > client set > to display messages "by thread" (a hierarchical display where messages > neatly appear under the ones they

Re: [OT] Memory Leak in Tomcat

2011-02-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, On 2/25/2011 4:54 AM, chris derham wrote: > It is far simpler to craft a fairly simple jsp > page, that allows posting arbitrary SQL to the same jsp, which then asks > tomcat for a connection, and then runs the SQL and displays the results. Tr

RE: Wildcard SSL import from IIS 6 to Tomcat 7?

2011-02-25 Thread Carlton Whitmore
Filip, When I try to access https://www.disabilityrightstx.org:8443 I get the standard Page can't be displayed message. Here is what I found in the Catalina logs: Feb 25, 2011 9:53:00 AM org.apache.catalina.startup.Catalina start SEVERE: Catalina.start: LifecycleException: Protocol handler init

Re: Wildcard SSL import from IIS 6 to Tomcat 7?

2011-02-25 Thread Filip Hanik - Dev Lists
Define "not working". Do you get an error in the logs? Filip 'On 02/25/2011 10:24 AM, Carlton Whitmore wrote: I setup my SSL wildcard on IIS 6 and exported the cert file to some other IIS servers. Now I'd like to set it up on a Tomcat 7 server. This server already has a standard SSL cert runn

Re: Exception in hibernate3 relating to timeout

2011-02-25 Thread Filip Hanik - Dev Lists
Use a different connection pool that can properly handle your timeouts when idle. http://people.apache.org/~fhanik/jdbc-pool/ http://people.apache.org/~fhanik/jdbc-pool/jdbc-pool.html Filip On 02/24/2011 11:31 PM, abhishek jain wrote: hi, I am not sure if i am ringing the correct list, but i a

Wildcard SSL import from IIS 6 to Tomcat 7?

2011-02-25 Thread Carlton Whitmore
I setup my SSL wildcard on IIS 6 and exported the cert file to some other IIS servers. Now I'd like to set it up on a Tomcat 7 server. This server already has a standard SSL cert running. I tried these instructions, but couldn't get it working. http://www.lazynetworkadmin.com/knowledgebase-main

Re: Problem with overriding parameters via context.xml

2011-02-25 Thread Mark Thomas
On 25/02/2011 16:14, chris derham wrote: > Oliver said that the defect I was asking about was 50700. This appears to > have been fixed now. So when is the next release of tomcat scheduled? I > searched the tomcat pages, but can't see a page listing anticipated launch > dates. I know open source pro

Re: Problem with overriding parameters via context.xml

2011-02-25 Thread chris derham
On Fri, Feb 4, 2011 at 4:58 PM, Oliver Doepner wrote: > > Hi, > > This looks like a symptom of this: > > Bug 50700 – Context parameters are being overridden with parameters from > the > web application deployment descriptor > https://issues.apache.org/bugzilla/show_bug.cgi?id=50700 > > Please vot

RE: [OT] Memory Leak in Tomcat

2011-02-25 Thread Jeffrey Janner
Chris - Thanks for adding some more well-thought-out reasoning to this discussion. You've pointed out some issues that the rest of us had addressed, or even thought about, and pointing out that real security is always about more than just the simplified checkbox requirements that some security wo

Re: [OT] Memory Leak in Tomcat

2011-02-25 Thread André Warnier
chris derham wrote: All, I've only been on this mailing list for a couple of weeks, so am still not quite sure of the etiquette. I know people get upset about top posting I think that's more a matter of personal preference. It makes it a bit harder sometimes to connect a response with the orig

Re: [OT] Memory Leak in Tomcat

2011-02-25 Thread chris derham
All, I've only been on this mailing list for a couple of weeks, so am still not quite sure of the etiquette. I know people get upset about top posting or replying to an existing email and changing the subject only. Not sure about the intricacies of when people should attempt to help others on the

Re: Response.SendRedirect problems

2011-02-25 Thread Konstantin Kolinko
>> It concerns the servlet response.sendRedirect(...) method. >> >> When using the response.sendRedirect("/myexample") in my java class, i do >> n= >> ot want the servlet engine to reconstruct >> an absolute URL, before sending the response to the browser. That is not possible, because of how HTTP