Re: control ports on windows

2005-07-08 Thread Alan Chandler
On Thursday 07 July 2005 17:25, Tony Smith wrote: Hi, I am running Tomcat 5.0 on Windows. But what I want to do it not link to Tomcat. I would like to know how to control all those ports. For example, I would like to open 8080 but close 8089, etc... Thanks, 1) Don't hijack someone elses

Re: Mapping everything to Tomcat? (mod_jk)

2005-07-08 Thread Alan Chandler
On Friday 08 July 2005 01:53, Luis Torres wrote: Hello Everyone, first post to the list =) I have a test setup with Solaris 9, Apache 2.043, mod_jk and two tomcats (4.131 JDK 1.5.0) To have the Tomcats handling the applications, first I used the following lines but the problem was that my

Re: Tomcat manager using mod_jk?

2005-07-08 Thread Alan Chandler
On Friday 08 July 2005 01:59, Luis Torres wrote: Hello again, Same setup: Solaris 9, Apache 2.043, mod_jk and two tomcats (4.131 JDK 1.5.0) Any of you guys know if there's a way to access the tomcat manager application or something similar when using mod_jk?? Right now the only way I

Tomcat login logout hook ?

2005-07-08 Thread Dongsheng Song
Hello, Can I hook a function after user login before user logout ? Dongsheng Song - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: invalidated session

2005-07-08 Thread Christoph Kutzinski
Yes, you shouldn't rely on finalizers to clean-up session objects. Better do it in your listener. Len Popp wrote: I'm pretty sure that the finalizers are only called when garbage collection reclaims the objects, and that will be some time after the session is invalidated. Possibly a very long

Re: Tomcat login logout hook ?

2005-07-08 Thread Michael Echerer
Dongsheng Song wrote: Hello, Can I hook a function after user login before user logout ? I assume that logout usually goes hand in hand with a session invalidation, then Servlet 2.4. spec is your friend: SRV.10.2.1 Event Types and Listener Interfaces javax.servlet.http.HttpSessionListener

RE: [OT] Recommend a UK Tomcat host

2005-07-08 Thread Raghupathy,Gurumoorthy
http://www.mycgiserver.com/ -Original Message- From: Mark Benussi [mailto:[EMAIL PROTECTED] Sent: 08 July 2005 09:45 To: 'Tomcat Users List' Cc: 'Struts Users Mailing List' Subject: [OT] Recommend a UK Tomcat host Apologies for the repost to the Tomcat list but I am getting desperate.

RE: [OT] Recommend a UK Tomcat host

2005-07-08 Thread Mark Benussi
Thanks Gurumoorthy But they are not based in the UK and hence I will have a nightmare with support. -Original Message- From: Raghupathy,Gurumoorthy [mailto:[EMAIL PROTECTED] Sent: 08 July 2005 09:52 To: 'Tomcat Users List' Subject: RE: [OT] Recommend a UK Tomcat host

RE: [OT] Recommend a UK Tomcat host

2005-07-08 Thread Darren Carman
Not sure if they use tomcat or not (the tomcat piccie is displayed in one of their images) but you could ask. I am not with them any more but had 1st class service while I was. http://www.positive-internet.com/products.html -Original Message- From: Mark Benussi [mailto:[EMAIL

[OT] Recommend a UK Tomcat host

2005-07-08 Thread Mark Benussi
Apologies for the repost to the Tomcat list but I am getting desperate. Can anyone recommend a UK based Tomcat hosting solution? I have been let down by my current ISP (nameonthe.net) which has gone out of business. Your help is greatly appreciated. TIA Mark

Creating a MySQL datasource (DBCP) into TOMCAT 4.1.31

2005-07-08 Thread Patrick Gelin
Hi, I succeded to create a datasource for TOMCAT 5.5.7 and 5.5.9 but I have to deploy my webapp into TOMCAT 4.1.31 and it's not the same configuration parameters... It seems to be all right but if I debug with Eclipse ide I see my DataSource is null... I followed TOMCAT 4.1 JNDI DataSource

Re: How do you set up JMX remote for Tomcat 5.5.9?

2005-07-08 Thread teknokrat
you need to set -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9998 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false check the last two as I can't remember the precise syntax. if youwant password authentication read the doc andy

Re: [OT] Recommend a UK Tomcat host

2005-07-08 Thread Tim Diggins
I was just about to recommend postive-internet. They are very good - customer support is good, and they are real tecchies - they understand respond well if you give a technical support query in technical language (often not the case!). I've really only heard good things about them, and have

CSJakharia: Difference between Tocmat 5.5.2 and Tomcat 4.1

2005-07-08 Thread Chirag
I am undergoing Project development in Tomcat 5.5.2 which has to be converted for another Client in Tomcat 4.1 but I have no idea regarding the improvements/Difference between Both the version and so am confused to say how much time would be required If any one knows the difference or any Link by

Using Single Sign on to access another webapp.

2005-07-08 Thread Ben Bookey
Dear List, We are using Tomcat 4.1.xx. We are NOT using the built in security framework which comes with TC. In the login.jsp page the user/password is validated by an external organisation wide process, which returns simply true or false. If the user is valid, the user is forwarded to the

Re: [OT] Recommend a UK Tomcat host

2005-07-08 Thread Mark Benussi
: ) Just had a sales conversation with them and yes the hike in price is a bit daft. A dedicated server is an option but only if I can get enough of nameonthe.nets previous customers over to them. If ANYONE reading this knows of any customers effected by this ISP's downfall can they let

Re: Make webapp jars downloadable

2005-07-08 Thread Andrea Aime
Peter Crowther wrote: Tomcat explicitly prevents access from a client to any file under WEB-INF; Tomcat also insists on picking up its jars from WEB-INF/lib, and as far as I know it's not possible to change that. My suggestion would be to write a few lines of code that copy the jar files you

Re: Using Single Sign on to access another webapp.

2005-07-08 Thread Christoph Kutzinski
Check this for a way to implement this with Tomcat (you must use 5.5 ore higher, though): http://weblogs.java.net/blog/wholder/archive/2005/02/session_session.html Or this is a solution I found with an external authentication server:

Re: Using Single Sign on to access another webapp.

2005-07-08 Thread Tim Funk
One way to do SSO is to utilize a cookie (lets call it SSO, and to be really secure - it should only be transfered over https). The existence of a cookie says the person might be logged in. The value of the cookie needs to be checked. The value of the cookie shold NOT be the user id. It can

Re: Using Single Sign on to access another webapp.

2005-07-08 Thread Ivan Rodriguez
Take a look at http://tp.its.yale.edu/tiki/tiki-index.php?page=CentralAuthenticationService Tim Funk escribió: One way to do SSO is to utilize a cookie (lets call it SSO, and to be really secure - it should only be transfered over https). The existence of a cookie says the person might be

Tomcat 4.1.37 and 5.0.2?? differences

2005-07-08 Thread Mark Benussi
I am having to change my ISP and was wondering what the main differences were with these two servers. Are Servlet filters supported and more importantly what J2EE does it typically run on? TIA to the legend list that is making my nightmare week a bit better.

RE: Tomcat 4.1.37 and 5.0.2?? differences

2005-07-08 Thread Peter Crowther
From: Mark Benussi [mailto:[EMAIL PROTECTED] Subject: Tomcat 4.1.37 and 5.0.2?? differences I am having to change my ISP and was wondering what the main differences were with these two servers. http://jakarta.apache.org/tomcat/index.html 5.0.x is servlet spec 2.4 / JSP 2.0, like 5.5.

Re: [OT] UK tomcat hosting recommendations?

2005-07-08 Thread Paul Singleton
Mark Benussi wrote: Having some fun with my current ISP and was wondering if any of you have UK tomcat recommendations? My technical needs are pretty small; just tomcat 5.0+ installed with mysql 4.0+ etc. My main non-technical requirement is a good UK based support, and any recommendations

RE: Tomcat 4.1.37 and 5.0.2?? differences

2005-07-08 Thread Mark Benussi
Thanks Peter thats perfect. I cant see any magor techincal differences. Original Message Follows From: Peter Crowther [EMAIL PROTECTED] Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: RE: Tomcat 4.1.37 and 5.0.2??

Re: Tomcat 4.1.37 and 5.0.2?? differences

2005-07-08 Thread Rahul Akolkar
From: Peter Crowther [EMAIL PROTECTED] snip/ From: Mark Benussi [mailto:[EMAIL PROTECTED] Subject: Tomcat 4.1.37 and 5.0.2?? differences snap/ Are Servlet filters supported Yes, on both, I believe. Additionally, after the move, you will be able to apply filters to RequestDispatcher

Re: Tomcat 4.1.37 and 5.0.2?? differences

2005-07-08 Thread Mark Benussi
Thanks Rahul but in case it wasnt clear I am downgrading from 5 to 4. Original Message Follows From: Rahul Akolkar [EMAIL PROTECTED] Reply-To: Rahul Akolkar [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: Tomcat 4.1.37 and 5.0.2?? differences Date:

Re: CSJakharia: Difference between Tocmat 5.5.2 and Tomcat 4.1

2005-07-08 Thread Rahul Akolkar
On 7/8/05, Chirag [EMAIL PROTECTED] wrote: I am undergoing Project development in Tomcat 5.5.2 which has to be converted for another Client in Tomcat 4.1 but I have no idea regarding the improvements/Difference between Both the version and so am confused to say how much time would be required

Re: Tomcat 4.1.37 and 5.0.2?? differences

2005-07-08 Thread Rahul Akolkar
On 7/8/05, Mark Benussi [EMAIL PROTECTED] wrote: Thanks Rahul but in case it wasnt clear I am downgrading from 5 to 4. snip/ Oh, sure, its a two-way street. Then, the obvious statement to make would be, you'd be in a spot if your webapps rely on bits that are servlet 2.4 modulo servlet 2.3 or

Re: Apache + Tomcat with Mod_jk

2005-07-08 Thread Justin Crabtree
Shailendra Gatade wrote: Hi All, I am trying to connect Apache 2 ( Linux ) with Tomcat 5.0 ( Win2K ) using mod_jk. I'm facing several problems regarding this ... Initially i was using mod_jk2.so which is deprecated and also not recomended for Production Environment. I am not able to

Re: Silent runtime replace of a class

2005-07-08 Thread Gal Robert
Thanky you very much, for your long answer. It seems, your theory is absolutely correct, I even found an article with detailed information about setting up a high availability Tomcat; here it is: http://www.javaworld.com/javaworld/jw-12-2004/jw-1220-tomcat.html --robert Peter Crowther wrote:

RE: Silent runtime replace of a class

2005-07-08 Thread Peter Crowther
From: Gal Robert [mailto:[EMAIL PROTECTED] Thanky you very much, for your long answer. No problem. It seems, your theory is absolutely correct, I even found an article with detailed information about setting up a high availability Tomcat; here it is:

JNDI DataSource configuration

2005-07-08 Thread Peter . Zoche
Hi! I am trying to connect my web-app running under tomcat 5.5.9 to connect to a postgresql database. I read the JNDI Datasource HOW-TO on http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-h owto.html. I would like to have an application-specific resource

Re: JNDI DataSource configuration

2005-07-08 Thread Joe Plautz
I'm not sure about 5.5.x, but in 5.0.x and earlier it was put in META-INF. Joe [EMAIL PROTECTED] wrote: Hi! I am trying to connect my web-app running under tomcat 5.5.9 to connect to a postgresql database. I read the JNDI Datasource HOW-TO on

Fw: How to creating concurrent call in batch file

2005-07-08 Thread feilong
Hallo, I want to write a batch file under windows to call 6 instances concurrently to test whether the program is thread-safe. Below is the shell script for linux to create parallel call, it works. But if I use the same syntax, i.e. to connect java call in batch file under windows, it only

Re: generate image by servlet for large amount of requests

2005-07-08 Thread Tony Smith
Any ideas? --- Tony Smith [EMAIL PROTECTED] wrote: Let's think about maps.yahoo.com. I do not know how they handle millions of request and generate the map pictures quickly. If I use a servlet, in the post or get method I use: BufferedImage mapImage =

Re: generate image by servlet for large amount of requests

2005-07-08 Thread Christoph Kutzinski
Yes, a good idea would be not to hijack someone elses discussion thread and start a new one instead. Then probably more people will read your question. Regarding your original question: no idea Tony Smith wrote: Any ideas? --- Tony Smith [EMAIL PROTECTED] wrote: Let's think about

SSLCipherSuite and Tomcat 5.5.9

2005-07-08 Thread Mandar Vaidya
Hello, Is there any way to define SSLCipherSuite under Tomcat 5.5.9 ( without Apache ) ? Thanks and Regards, Mandar Vaidya - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: SSLCipherSuite and Tomcat 5.5.9

2005-07-08 Thread Mark Thomas
Mandar Vaidya wrote: Is there any way to define SSLCipherSuite under Tomcat 5.5.9 ( without Apache ) ? See http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html You want the ciphers attribute. Mark - To

RE: SSLCipherSuite and Tomcat 5.5.9

2005-07-08 Thread Mandar Vaidya
Thank you Mark...under connector section, I've included ciphers=ALL:!ADH:!aNULL:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM Will this work ? Tomcat server came up fine without any errors after restart. Thanks and Regards, Mandar -Original Message- From: Mark Thomas [mailto:[EMAIL

Re: Apache + Tomcat with Mod_jk

2005-07-08 Thread Steve Ochani
Shailendra Gatade wrote: Hi All, I am trying to connect Apache 2 ( Linux ) with Tomcat 5.0 ( Win2K ) using mod_jk. I'm facing several problems regarding this ... Initially i was using mod_jk2.so which is deprecated and also not recomended for Production Environment. I am not

Re: SSLCipherSuite and Tomcat 5.5.9

2005-07-08 Thread Mark Thomas
Mandar Vaidya wrote: Thank you Mark...under connector section, I've included ciphers=ALL:!ADH:!aNULL:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM Will this work ? I don't think so. The ciphers need to be named as per the cipher suites in JSSE. See

Problem with development cycle (5.5.9)

2005-07-08 Thread Carlos A. Carnero Delgado
Hello, I've been developing on the 4.x series and the 5.0.x series for a while, using more or less the Jakarta suggested Ant build.xml script and their source organization (I think it's a de facto standard along with Blueprint's.) Anyway, I started testing a new workflow using J2SDK 5 and the

RE: SSLCipherSuite and Tomcat 5.5.9

2005-07-08 Thread Mandar Vaidya
Thanks Mark. Mandar -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Friday, July 08, 2005 12:41 PM To: Tomcat Users List Subject: Re: SSLCipherSuite and Tomcat 5.5.9 Mandar Vaidya wrote: Thank you Mark...under connector section, I've included

Re: generate image by servlet for large amount of requests

2005-07-08 Thread Michael Jouravlev
On 7/7/05, Tony Smith [EMAIL PROTECTED] wrote: Let's think about maps.yahoo.com. I do not know how they handle millions of request and generate the map pictures quickly. For simpler and more formal images like bar charts you can return javascript and render image in browser. Michael.

Tomcat JSVC Errors

2005-07-08 Thread Wasik, Paul
Hello, I'm rather new to Tomcat. I have configured Tomcat 5.0.28 to launch under a non-privileged user account using the jsvc launcher. Tomcat works fine except I am finding the following errors in my Tomcat logs. I'm running this on Red Hat EL3 Linux server. I'm running the Sun JDK 1_5_0_03.

re: is this issue in the faq still correct wrt Tomcat 5.5.9?

2005-07-08 Thread James Black
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Why does the memory usage increase when I redeploy a web application? Because the Classloader (and the Class objects it loaded) cannot be recycled. They are stored in the permanent heap generation by the JVM, and when you redepoy a new class loader

newbie can't start tomcat

2005-07-08 Thread dsimmons
I have been googling the archives and anyplace else I can think of for my particular problem, for about three days, without success. ANY help would be greatly appreciated. I suspect a simple path problem or a missing component, but honestly I've been through about a half-dozen

RE: newbie can't start tomcat

2005-07-08 Thread Mandar Vaidya
Hi Doug, I believe you don't have to start it as ./bin/startup.sh Go to bin directory and then execute ./startup.sh See if it helps you. Thanks, Mandar -Original Message- From: dsimmons [mailto:[EMAIL PROTECTED] Sent: Friday, July 08, 2005 4:23 PM To:

Re: newbie can't start tomcat

2005-07-08 Thread Luis Torres
It may not be the best solution because you may have a special attachment to Java 1.4 but since you are running Solaris you can install JDK 1.5 anywhere (even /export/home) without it colliding with the overall SO Java installation. So why not use JDK 1.5, set your JAVA_HOME to your new Java

How to query Tomcat for the number of peers in the cluster without using the JMX

2005-07-08 Thread Edmon Begoli
Since I may not be allowed to enable JMX on the production, but we would still like to query host Tomcat for the number of peers in the cluster can someone please share how can this be accomplished using the Tomcat API, and what jars, if any, I would need to have in the lib directory of my web

Tomcat 5.5.9 - When JSPs change, gives error org.apache.xerces.jaxp.SAXParserFactoryImpl could not be instantiated

2005-07-08 Thread Craig Dixon
I've encountered a strange problem with my JSPs in Tomcat. Whenever I change one of them, then try to access it from the browser, I get the following error: HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from

Datasource works in Tomcat 5.5.4 but not 5.5.9

2005-07-08 Thread Craig Dixon
I am encountering a very strange problem when trying to use a datasource in Tomcat. I got Tomcat 5.5.4 to access the datasource by using the following in TomcatHome\conf\Catalina\localhost\webAppContext.xml Context path=/appName docBase=appName debug=5 reloadable=true crossContext=true

symmetric crypt algorithm

2005-07-08 Thread Carlos Bracho
It's a java question more than a tomcat question Do you know where can I find a symmetric crypt algorithm implementation in java?? like blowfish, idea or des?? regards -- -- Carlos J, Bracho M.

Re: symmetric crypt algorithm

2005-07-08 Thread Patrick Thomas
There's a great website out there called google. I'm told that it has answers to lots of questions like this. Try there before asking a lot of busy people to do the looking for you. Good hunting, PST On 7/8/05, Carlos Bracho [EMAIL PROTECTED] wrote: It's a java question more than a tomcat

Re: Problem with development cycle (5.5.9)

2005-07-08 Thread Robert Parsons
Hi Carlos, I had exactly the same problem as you. To fix it I put a 'context.xml' in my 'public_html/META-INF' folder. The contents of the file looked like this: ?xml version=1.0 encoding=UTF-8? Context reloadable=true docBase=/opt/myapp/src/build path=/myapp !-- nothing here -- /Context

Re: Tomcat JSVC Errors

2005-07-08 Thread Bill Barker
At a first guess, compare the version of libgcc for jsvc and libjvm.so. I remember that java -version tells you the second one on Lynux. Otherwise, you can use 'ldd'. You can also use 'ldd' to get the first. Wasik, Paul [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello,

Problem using org.apache.catalina.startup.Bootstrap

2005-07-08 Thread Stuart
Hi, I am trying to start Tomcat using my own script and am getting the following error (Please help!): /cygdrive/c/j2sdk1.4.2_07/bin/java -classpath .\;c:\data\stuart\npshome\var\prop erties\lsms;c:\jakarta-tomcat-5.0.28\bin\bootstrap.jar;c:\j2sdk1.4.2_07\lib\ tool s.jar