Re: SSL on TOMCAT with keytool

2008-08-28 Thread Alex Mestiashvili
Alexey Eronko wrote: Hello Guys! Don't beat me because I found so much docs about ssl and keystore but I can't get it working with together. I have pem cert,rsa_key and ca cert from my own CA. I don't understand what kind of cert do I need in keystore to make it works on tomcat.

Re: Re: Can't execute servlet project

2008-08-28 Thread sam wun
HI there, According to the tomcat online document, do I have to modify the context.xml file? $CATALINA_HOME/conf/context.xml with the following new setup: Resource name=jdbc/TestDB auth=Container type=javax.sql.DataSource maxActive=100 maxIdle=30 maxWait=1

Re: Can't execute servlet project

2008-08-28 Thread sam wun
Do I need to put mysql driver in the common/lib/ directory in linux? Currently this tomcat server (in linux) has the following jar flies in the common/lib/ folder: linux:~/tomcat/apache-tomcat-5.5.26/common/lib # ls .   commons-el.jar   jasper-compiler.jar  jsp-api.jar 

Re: antioJarLocking not working

2008-08-28 Thread Mark Thomas
Aaron Axelsen wrote: I set the workdir on the global context - I can see that files are being created there, however that same error still exists. For some reason it insists on looking in Tomcat 6\temp-Foo5 Any suggestions? It looks like a bug in the jar. It might be using a non-portable

Re: SSL on TOMCAT with keytool

2008-08-28 Thread Alexey Eronko
The point was that keytool can't import existing private key. If you need to build keystore from existed cert + prv key you need to do this by external java(or smt) program. Key and Cer must be in der format. Example is here : http://www.agentbob.info/agentbob/79-AB.html Alex 2008/8/28

Re: config problem

2008-08-28 Thread supareno
Eric, thanks... i thought to this solution yesterday afternoon and i gave it to the person who's facing to the problem. i don't know if it works today i will see on monday! thanks again Assuming you are running private IP's in your internal network and a public IP on the external network, you

Re: Can't execute servlet project

2008-08-28 Thread Pid
sam wun wrote: Do I need to put mysql driver in the common/lib/ directory in linux? Yes, that's a basic requirement. If I need to have that, where can I download it? The MySQL site - you could probably have guessed that. http://dev.mysql.com/usingmysql/java/ Thanks - Original

Re: Can't execute servlet project

2008-08-28 Thread Pid
sam wun wrote: HI there, According to the tomcat online document, do I have to modify the context.xml file? $CATALINA_HOME/conf/context.xml Not that one, that one affects *all* deployed contexts. Add a context.xml file to your webapp, in the META-INF folder. DBTest/index.jsp

Re: Re: Can't execute servlet project

2008-08-28 Thread sam wun
Hi, I couldn't find an installation document about installing the driver. I;ve downloaded the driver: linux:~/tomcat/apache-tomcat-5.5.26/common/lib # ls mysql-connector-java-5.1.3-rc-bin.jar mysql-connector-java-5.1.3-rc-bin.jar Do you know how to configure tomcat to make use of it?

Securing Tomcat: HELP

2008-08-28 Thread losintikfos
Hi Experts, I am trying to secure my tomcat manager web console from been seen from the internet. For example if i open the browser and type the internet address of the server, it displays the console where ever i am in the world and therefore want to hide it from been displayed to WAN users.

Re: Tomcat 5.5 won't use APR

2008-08-28 Thread Gregor Schneider
Hm, rather quiete here about my problem... Is there anybody on this list who is using Tomcat together with APR on any Linux and could let me know about his/her configs? Gregor -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @

Re: Securing Tomcat: HELP

2008-08-28 Thread Mark Thomas
losintikfos wrote: Hi Experts, I am trying to secure my tomcat manager web console from been seen from the internet. For example if i open the browser and type the internet address of the server, it displays the console where ever i am in the world and therefore want to hide it from been

Re: Tomcat 5.5 won't use APR

2008-08-28 Thread Mark Thomas
Gregor Schneider wrote: Hm, rather quiete here about my problem... Is there anybody on this list who is using Tomcat together with APR on any Linux and could let me know about his/her configs? Is the right listener defined in web.xml? Mark

Tomcat won't start

2008-08-28 Thread Benny Lipsicas
jackarta_service log says: [...] [2008-08-28 05:56:52] [info] Starting service... [2008-08-28 05:56:52] [174 javajni.c] [error] The specified module could not be found. [2008-08-28 05:56:52] [994 prunsrv.c] [error] Failed creating java C:\Program Files\Java\jre1.6.0_07\bin\client\jvm.dll

Re: Securing Tomcat: HELP

2008-08-28 Thread losintikfos
Thanks for your reply Mark! unfurtunatly the url sent to me contains only language reference which i am not familier with. Do you know the original command and where to put, to enforce the security? I am using Tomcat 6 markt-2 wrote: losintikfos wrote: Hi Experts, I am trying to

Fwd: Tomcat won't start - solved

2008-08-28 Thread Benny Lipsicas
Solution found here: http://www.icurtain.co.uk/blog.php?article=92 When tomcat generates something similar to the following log output chances are its missing the Windows C dll MSVCR71.dllhttp://www.icurtain.co.uk/assets/msvcr71.zip- Tomcat needs this to initialise java when the service starts.

Re: Can't execute servlet project

2008-08-28 Thread David Smith
The jndi resource howto page link I posted should have mentioned the .jar file get's placed in tomcat's common/lib. --David sam wun wrote: Hi, I couldn't find an installation document about installing the driver. I;ve downloaded the driver: linux:~/tomcat/apache-tomcat-5.5.26/common/lib

Re: errors in deploying war file to tomcat 5.5

2008-08-28 Thread Konstantin Kolinko
Hi, sam wun! It is https://issues.apache.org/bugzilla/show_bug.cgi?id=44463 The problem is in the manager application, not in yours. The commons-io*.jar should be placed into {your tomcat 5.5 installation folder}/server/webapps/manager/WEB-INF/lib Best regards, Konstantin Kolinko 2008/8/23

Re: Can't execute servlet project

2008-08-28 Thread David Smith
The docs should have been clear the context.xml to modify would exist in one of a couple of places: - context.xml file in DbTest/META-INF - DbTest.xml in $CATALINA_HOME/conf/Catalina/localhost Also username/password for the db connection should *NOT* be the root/admin user/password for your

Re: Tomcat 5.5 won't use APR

2008-08-28 Thread Gregor Schneider
Hi Mark, On Thu, Aug 28, 2008 at 1:15 PM, Mark Thomas [EMAIL PROTECTED] wrote: Is the right listener defined in web.xml? hm, what do you mean by right listener? and what web.xml? I figure you mean $catalina_home/conf/web.xml? As a how-two I used the tomcat-docs as described here

Re: Tomcat 5.5 won't use APR

2008-08-28 Thread Mark Thomas
Gregor Schneider wrote: Hi Mark, On Thu, Aug 28, 2008 at 1:15 PM, Mark Thomas [EMAIL PROTECTED] wrote: Is the right listener defined in web.xml? hm, what do you mean by right listener? and what web.xml? I figure you mean $catalina_home/conf/web.xml? As a how-two I used the tomcat-docs

Why GlassFish

2008-08-28 Thread sam wun
Hi, Just a quick question, I found that Tomcat is quite capable with servlet application, but lack of EJB support. Is GlassFish designed to fill the gaps to support EJB application only? Thanks

mod_jk help!

2008-08-28 Thread WillF
I am currently using mod_jk as the connector and I have Apache as a front for tomcat5 by adding something like JkMount /helloworld/* ajp13 to the httpd.conf So when I go to www.domain.com/helloworld/ it forwards the request to tomcat and looks for the webapp who's context path is helloworld.

Re: Why GlassFish

2008-08-28 Thread Robert Koberg
On Aug 28, 2008, at 9:31 AM, sam wun wrote: Hi, Just a quick question, I found that Tomcat is quite capable with servlet application, but lack of EJB support. Is GlassFish designed to fill the gaps to support EJB application only? As Pythagoras said, just say no to beans.

IPv6 support for Tomcat 5.0.28

2008-08-28 Thread Kao, Richard T
Hi, I have been trying to figure out if Tomcat 5.0.28 will support an IPv6 only network. I have read a few messages that mention that during startup tomcat will still try to bind to 127.0.0.1, but there was no resolution to the problem. So does anyone know if Tomcat 5.0.28 will work in an

Re: mod_jk help!

2008-08-28 Thread Rainer Jung
WillF wrote: I am currently using mod_jk as the connector and I have Apache as a front for tomcat5 by adding something like JkMount /helloworld/* ajp13 to the httpd.conf So when I go to www.domain.com/helloworld/ it forwards the request to tomcat and looks for the webapp who's context path is

Re: mod_jk help!

2008-08-28 Thread WillF
What are some best practices surrounding explicitly specifying context path? I remember reading somewhere that said it is ignored and should not be used? Is there any truth to this? Instead of mod_jk do you think mod_proxy would make things easier for something like this? Rainer Jung-3 wrote:

Re: mod_jk help!

2008-08-28 Thread Rainer Jung
WillF wrote: What are some best practices surrounding explicitly specifying context path? E.g. naming the war file like the context path, replacing '/' by '#'. Or using a context descriptor (the xml file that's called context.xml inside your webapp/META-INF resp. my#webapp#something.xml

Tomcat, APR and OpenSSL

2008-08-28 Thread Gregor Schneider
And the story continues OS: Debian Etch Tomcat: 5.5.20 Java: 1.5.0_10-b03 Happily having setup TC Native and APR, now I'm trying to configure SSL Since I'm using the APR, Tomcat uses OpenSSL instead of the JSSE-implementation - ok, got that: I created my connector in

Tomcat 5.5, connection pooling with commons-dbcp 1.2.1

2008-08-28 Thread jerrycat
I have configured my web app to use tomcat's connection pooling. and also I have modfied the default value of the factory attribute: factory=org.apache.commons.dbcp.BasicDataSourceFactory Here is the context.xml Context Resource name=jdbc/testDB

Re: Tomcat 5.5, connection pooling with commons-dbcp 1.2.1

2008-08-28 Thread David Smith
When getting the DataSource (Or BasicDataSource in my case) from tomcat's JNDI/JDBC service does Tomcat manage the connection pooling itself. Essentially yes. You still have to be sure you close your database objects, but the rest is done by DBCP. Do I just need to retrieve the DataSource

Re: Tomcat 5.5, connection pooling with commons-dbcp 1.2.1

2008-08-28 Thread jerrycat
No, I have commons-dbcp.1.2.2 jar in the lib directory of all of my web app as well. Should I remove the commons-dbcp1.2.2.jar from the web apps and put the jar files in the common/lib directory. The jar files are: commons-dbcp-1.2.2 commons-pool-1.3 I assume that the naming-factory-dbcp.jar

tomcat ssl problems with funambol 7.0.4 bundle

2008-08-28 Thread Harondel J. Sibble
Okay, working to get the Funambol linux server bundle to work with ssl for syncing email with my pda/cellphone https://www.forge.funambol.org/download/ It uses tomcat and I've followed the instructions here https://wiki.objectweb.org/sync4j/Wiki.jsp?page=HowtouseHttps

Re: Tomcat 5.5, connection pooling with commons-dbcp 1.2.1

2008-08-28 Thread David Smith
Yes, remove all copies except one and that one should be in the common/lib directory. It has to be in common/lib to essentially be visible to both tomcat internal code as well as all the webapps. There can't be a copy anywhere else in tomcat because ... well I'll let the classloader

Re: Tomcat 5.5, connection pooling with commons-dbcp 1.2.1

2008-08-28 Thread Rainer Jung
David Smith wrote: Yes, remove all copies except one and that one should be in the common/lib directory. It has to be in common/lib to essentially be visible to both tomcat internal code as well as all the webapps. There can't be a copy anywhere else in tomcat because ... well I'll let

Re: Why GlassFish

2008-08-28 Thread Johnny Kewl
- Original Message - From: sam wun [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, August 28, 2008 3:31 PM Subject: Why GlassFish Hi, Just a quick question, I found that Tomcat is quite capable with servlet application, but lack of EJB support. Is

Re: Tomcat 5.5, connection pooling with commons-dbcp 1.2.1

2008-08-28 Thread jerrycat
Thanks, that really helped. David Smith-2 wrote: Yes, remove all copies except one and that one should be in the common/lib directory. It has to be in common/lib to essentially be visible to both tomcat internal code as well as all the webapps. There can't be a copy anywhere else in

Re: Setting up Comet on Tomcat 6

2008-08-28 Thread drgb88
Filip: I set up the server.xml with the connector and web.xml as you have indicated, but I am unable to get any comet response. I am using tomcat 6.0.16, and it does not seem to recognize the tomcatAuthentication or keepAliveTimeout attributes, and it complains about listeners.ContextListener

Re: antioJarLocking not working

2008-08-28 Thread Aaron Axelsen
The jar's its probably having issues with are jruby-complete-1.1.3.jar and jruby-rack-0.9.1.jar since those are the ones that were getting locked. Any suggestions on anything else I can try to attempt to resolve it? -- Aaron Mark Thomas wrote: Aaron Axelsen wrote: I set the workdir on the

ClassNotFoundException when moving from Java 1.5 to 1.6

2008-08-28 Thread Jeff
I have an app currently running on Tomcat 5.5.26/CentOS 4.6/jre1.5.0_16. This configuration is working just fine. But if I run Tomcat with jre1.6.0_07, my application gets a ClassNotFoundException when I try to use it. The application starts up OK, but throws the exception upon first use. If I

Unable to find valid Certification Path to Requested Target

2008-08-28 Thread Craig Regester
Good afternoon, I am trying to quickly implement SSL ability into our existing Apache Tomcat 5.5.23 installation (JDK 1.5.0_12 as base) and have gotten reasonably far but have run into a bit of a wall. I can navigate to https://www.sslhost.com/webapp/ and get the index page and it shows the

Balancing solution which allows graceful partial node migrations

2008-08-28 Thread Nikola Milutinovic
Hi all. This is just a question out of curiousity. Is there a balancer solution that can allow for controlled migration/upgrade of nodes? To explain, suppose you have Apache/mod_jk and you have N Tomcats in balance over that setup, same web application on all of them. Now, suppose you would

Re: antioJarLocking not working

2008-08-28 Thread Johnny Kewl
- Original Message - From: Aaron Axelsen [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, August 28, 2008 10:19 PM Subject: Re: antioJarLocking not working The jar's its probably having issues with are jruby-complete-1.1.3.jar and jruby-rack-0.9.1.jar

Re: antioJarLocking not working

2008-08-28 Thread Mark Thomas
Johnny Kewl wrote: - Original Message - From: Aaron Axelsen [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, August 28, 2008 10:19 PM Subject: Re: antioJarLocking not working The jar's its probably having issues with are jruby-complete-1.1.3.jar

Re: Balancing solution which allows graceful partial node migrations

2008-08-28 Thread Rainer Jung
Nikola Milutinovic wrote: Hi all. This is just a question out of curiousity. Is there a balancer solution that can allow for controlled migration/upgrade of nodes? To explain, suppose you have Apache/mod_jk and you have N Tomcats in balance over that setup, same web application on all of them.

ERROR Starting 2nd instance of Tomcat

2008-08-28 Thread Eduardo Ponce de León
I am trying to run a 2nd instace of tomcat. For this, ive duplicated the tomcat folder and modified the server.xml files with different ports. I've also created a startup script, but when I run the script I am getting this error... Can anyone help please!! [EMAIL PROTECTED] tomcat5-test]#

Re: Issue in connecting to tomcat via Apache

2008-08-28 Thread Larry J Prikockis
You don't specify exactly what you mean by it fails, but assuming you're saying that requests to Apache aren't getting passed along to Tomcat, your answer is right here: (from httpd.conf) # Send everything for context /examples to worker named worker1 (ajp13) #JkMount /examples/* worker1 if

Re: Issue in connecting to tomcat via Apache

2008-08-28 Thread Vasanth Kumar ravi
Hi Larry, Thanks for the headsup. Well I tried using the commented line earlier but it failed. So I tried again by commenting out the JMount parameter. I was trying to access the URL : http://localhost/examples with a JKMount details as follows.. JkMount /examples/* worker1. It did not

Re: Issue in connecting to tomcat via Apache

2008-08-28 Thread Vasanth Kumar ravi
Martin, I m trying to access the folder /examples on the localhost which is actualy hosted in the TOMCAT. http://localhost/examples . The tomcat is running on port 8080 and the httpd is running on 8000. When I access the same folder using the port like http://localhost:8080/examples is

Re: Issue in connecting to tomcat via Apache

2008-08-28 Thread Vasanth Kumar ravi
All, A brief on wat i did. 1. Downloaded the httpd 2.2.8 and tomcat 6.0.16 versions. 2. Httpd installation ./configure --with-included-apr --prefix=install directory Listening on port 8000 3. Tomcat installation Modified the catalina.sh file to point to the tomcat home/jdk home

Servlet Memory Leak

2008-08-28 Thread Nathan Thatcher
I have a fairly small memory leak in a servlet (Tomcat 6.0) running on a Windows 2003 server. I have been looking into memory profiling to help me find the leak but nothing seems to be or do what I need. Simply put I want a list of all of the objects/primitives (and if possible their values) that

Re: ERROR Starting 2nd instance of Tomcat

2008-08-28 Thread Len Popp
Where does that In the config file come from? It's not in a Tomcat script, is it? -- Len On Thu, Aug 28, 2008 at 18:54, Eduardo Ponce de León [EMAIL PROTECTED] wrote: I am trying to run a 2nd instace of tomcat. For this, ive duplicated the tomcat folder and modified the server.xml files with

Re: Servlet Memory Leak

2008-08-28 Thread Juha Laiho
Nathan Thatcher wrote: I have a fairly small memory leak in a servlet (Tomcat 6.0) running on a Windows 2003 server. I have been looking into memory profiling to help me find the leak but nothing seems to be or do what I need. Simply put I want a list of all of the objects/primitives (and if

Re: ERROR Starting 2nd instance of Tomcat

2008-08-28 Thread David Smith
Ok ... taking a second look at this, why on earth are you using the command 'tomcat5-test start In the config file' to start tomcat? In particular, 'In the config file' phrase has no place on the command line. --David Eduardo Ponce de León wrote: I am trying to run a 2nd instace of

Re: Why GlassFish

2008-08-28 Thread DIGLLOYD INC
Disclaimer: I am a Glassfish developer, working for Sun. So you can ignore whatever I say. :) I run Tomcat for my server (diglloyd.com), for specific reasons. Glassfish is a terrific product and so is Tomcat. Which is better depends on the goal, as with any product. Glassfish URL:

Get! YahooAutoMailer $9.95 - Auto-Post to Unlimited Yahoo Groups

2008-08-28 Thread [EMAIL PROTECTED]
Automatic Posting to Google Groups.Did you know Yahoo Groups is THE MOSTnbsp; USED INTERNET GROUP Today!nbsp;How About MSN GROUPS and GOOGLE GROUPS?nbsp; nbsp;These are the BIG 3 Of Group Advertising. http://www.forex-futures-trading.info/mailer.html