error with tomcat HTTP Status 404 The requested resource() is not available

2009-03-23 Thread Tomas Rodriguez
Ok thanks a lot Charles, jus I followed your advise, I created all directory(WEB-INF /lib, web-inf/classes) under my folder d:/examplestomcat, and I created too the file tomas.xml at the directory c:\tomcay6.0\conf\Catalina\localhost\tomas.xml with the Context docBase=d:/examplestomcat, I

How to make Deployed WebApps read-write enabled

2009-03-23 Thread Anand HS
Hi, I use tomcat 6.0.18 on windows 2003 server and have a web-app deployed. Even though the permissions on the deployed webapp folder has read-write, everytime i access tomcat , it is making the folder readonly. There is some code in the application that writes some temporary files into the my

SEVERE: BAD packet singnature 18245

2009-03-23 Thread Saju K K
On configuring nio/ajp I am getting and error org.apache.common.MsgApj p= rocessHeader SEVER: BAD packet singnature 18245 We are using jdk 1.5.0_14/ apache-tomcat-6.0.18 / redhat linux 2.6.9 . I have tried configuring the following one at a time and it is working fine= . In order to have a

Tomcat Error Message

2009-03-23 Thread conandor
Why I keep having this error message whenever I start tomcat. Can anyone tell me why? # cat catalina.out Mar 20, 2009 11:59:43 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Tomcat Native library which allows optimal performance in production environments was

Re: not valid Tomcat installation

2009-03-23 Thread Rainer Frey (Inxmail GmbH)
On Monday 23 March 2009 03:22:05 Martin Gainty wrote: you'll need to install the sysdeo tomcat plugin available from http://www.eclipsetotale.com/tomcatPlugin.html (step by step instructions available at the site) sigh. development of the sysdeo plugin has stopped, the last release is for

Re: SEVERE: BAD packet singnature 18245

2009-03-23 Thread André Warnier
Saju K K wrote: ... Hi. You probably see this yourself looking at your message in the list, but somehow when you posted, your sample configuration files got coded in a funny way, which makes it difficult to read them. I am not a specialist of the matter, but the bad packet signature makes me

Tomcat and Database Problem

2009-03-23 Thread CutKiller
Hi all I have this scenario: |Tomcat| - |Firewall| - |Database| Sometimes the connection to the database is lost. The cause of this fact maybe lives in the Firewall. But, the major problem, resides in Tomcat. He doesn't recognize the connection break. What can i do, for Tomcat knows when the

Re: Tomcat and Database Problem

2009-03-23 Thread Filip Hanik - Dev Lists
use the validationQuery attribute for your connection pool. the validationQuery executes a query against the database before the connection is returned to the application, and validates that the connection actually works Filip CutKiller wrote: Hi all I have this scenario: |Tomcat| -

I couldn't use class-Path in the manifest on a tomcat application

2009-03-23 Thread Daniel Prado
Hi all, It's my fist post in this list and I glad to participate in it. I wonder to Know, if the Class-Path Entry of the Manifest.mf in a web-application-ressource is interpreted by Tomcat. I saw this functionality in BEA WebLogic. I tried in tomcat, but it did not work. There is another

I couldn't use class-Path in the manifest on a tomcat application

2009-03-23 Thread Daniel Prado
Hi all, It's my fist post in this list and I glad to participate in it. I wonder to Know, if the Class-Path Entry of the Manifest.mf in a web-application-ressource is interpreted by Tomcat. I saw this functionality in BEA WebLogic. I tried in tomcat, but it did not work. There is another

RE: Tomcat Data sources and connection pools

2009-03-23 Thread Caldarale, Charles R
From: Mighty Tornado [mailto:mighty.torn...@gmail.com] Subject: Re: Tomcat Data sources and connection pools Tomcat will read the context.xml file in the META-INF directory and get the data source from there? Yes. I also added a resource ref in my web.xml because that's what various

Session lost when app. is redeployed

2009-03-23 Thread Adriano dos Santos Fernandes
Hi! First, I must say that I found in the archives the exact problem I have now, but no solution was presented. My application (built using Apache Wicket), is stateful. When I reload it, or when I restart Tomcat, the session is correctly serialized and restored. Jetty is also able to

RE: I couldn't use class-Path in the manifest on a tomcat application

2009-03-23 Thread Caldarale, Charles R
From: Daniel Prado [mailto:danonn...@gmail.com] Subject: I couldn't use class-Path in the manifest on a tomcat application It's my fist post in this list and I glad to participate in it. Actually, it's your second, since you sent the exact same message before; don't do that. There is

RE: How to make Deployed WebApps read-write enabled

2009-03-23 Thread Caldarale, Charles R
From: Anand HS [mailto:anan...@gmail.com] Subject: How to make Deployed WebApps read-write enabled There is some code in the application that writes some temporary files into the my webapp. That's a really bad idea. The servlet spec requires that the container provide some writable

Re: Tomcat and Database Problem

2009-03-23 Thread CutKiller
Tnks Filip. But i allready try that solution, and the problem continues Filip Hanik - Dev Lists wrote: use the validationQuery attribute for your connection pool. the validationQuery executes a query against the database before the connection is returned to the application, and

RE: error with tomcat HTTP Status 404 The requested resource() is not available

2009-03-23 Thread Caldarale, Charles R
From: Tomas Rodriguez [mailto:admhards...@yahoo.ca] Subject: error with tomcat HTTP Status 404 The requested resource() is not available c:\tomcay6.0\conf\Catalina\localhost\tomas.xml I hope that was tomcat6.0, not tomcay6.0. Context docBase=d:/examplestomcat You're missing the closing

Re: Tomcat and Database Problem

2009-03-23 Thread David Smith
CutKiller wrote: Hi all I have this scenario: |Tomcat| - |Firewall| - |Database| Sometimes the connection to the database is lost. The cause of this fact maybe lives in the Firewall. But, the major problem, resides in Tomcat. He doesn't recognize the connection break. What can i do, for

Tomcat Installation Issue

2009-03-23 Thread Ramamoorthy, Saku
Hello, I am trying to setup tomcat 5.5.27 in one of our test windows server as a tomcat service. The installation is successful and I can access the page http://localost:/index.jsp without problems. However, when I access Configure Tomcat, I am getting An instance of Tomcat5 already

Re: Tomcat and Database Problem

2009-03-23 Thread CutKiller
If I raise the timeout value in the firewall parameters the connection problem was solved but i don't have permissions to do that in real environment. The connections are dead, but this connections stays in tomcat pool with no problems. Tomcat, in a perfect scenario, should recognize the

Re: Tomcat Installation Issue

2009-03-23 Thread Mladen Turk
Ramamoorthy, Saku wrote: Hello, I am trying to setup tomcat 5.5.27 in one of our test windows server as a tomcat service. The installation is successful and I can access the page http://localost:/index.jsp without problems. However, when I access Configure Tomcat, I am getting An

Re: Tomcat and Database Problem

2009-03-23 Thread David Smith
CutKiller wrote: If I raise the timeout value in the firewall parameters the connection problem was solved but i don't have permissions to do that in real environment. The connections are dead, but this connections stays in tomcat pool with no problems. Tomcat, in a perfect scenario,

RE: Tomcat Installation Issue

2009-03-23 Thread Ramamoorthy, Saku
Instead of accessing the shortcut, if I directly access TOMCAT_HOME\bin\tomcat5w.exe, it works. Thanks! Saku Ramamoorthy Oliver Wyman -Original Message- From: Mladen Turk [mailto:mt...@apache.org] Sent: Monday, March 23, 2009 11:03 AM To: Tomcat Users List Subject: Re: Tomcat

Re: Tomcat and Database Problem

2009-03-23 Thread CutKiller
Tnks David. But the validationQuery was set at the Resources Tags. Context path=/testAdmin docBase=testAdmin debug=0 reloadable=true crossContext=true Resource name=jdbc/sp360_main_v2 auth=Container type=javax.sql.DataSource maxActive=100 maxIdle=30

Re: Tomcat and Database Problem

2009-03-23 Thread David Smith
Any indication in the logs of what's happening around the time you get a bad connection? Seems weird to me that the validation query isn't working. --David CutKiller wrote: Tnks David. But the validationQuery was set at the Resources Tags. Context path=/testAdmin docBase=testAdmin

Re: Tomcat and Database Problem

2009-03-23 Thread CutKiller
No errors... :( For example when i sign in on the App, appears one error on tomcat log... A 403 something... David Smith-2 wrote: Any indication in the logs of what's happening around the time you get a bad connection? Seems weird to me that the validation query isn't working.

Re: Tomcat and Database Problem

2009-03-23 Thread CutKiller
If helps, the connection state is connection reset CutKiller wrote: No errors... :( For example when i sign in on the App, appears one error on tomcat log... A 403 something... David Smith-2 wrote: Any indication in the logs of what's happening around the time you get a

Re: Tomcat and Database Problem

2009-03-23 Thread David Smith
Are you sure the validation query is active in the connection pool? There aren't any other Context ... / elements in other xml fragments superseding the one below? Seems a litle strange that your firewall would should down a connection in the tiny (microseconds) sliver of time between the

RE: Session lost when app. is redeployed

2009-03-23 Thread Caldarale, Charles R
From: Adriano dos Santos Fernandes [mailto:adrian...@uol.com.br] Subject: Session lost when app. is redeployed Don't you think that telling us the version of Tomcat you're using, the JRE/JDK level, platform, etc., just might be useful information? The problem is when I redeploy the

Upgrading to Java 1.5

2009-03-23 Thread Jonathan Mast
I'm working in a Java 1.4.2, Apache 1.3.33, Tomcat 5.5, Linux environment. I want to migrate to Java 1.5. Is it possible to do this vis-a-vis Tomcat by just altering what the /usr/local/java link points to? Or will I need to do more under-the-hood changes?

RE: Upgrading to Java 1.5

2009-03-23 Thread Caldarale, Charles R
From: Jonathan Mast [mailto:jhmast.develo...@gmail.com] Subject: Upgrading to Java 1.5 I want to migrate to Java 1.5. Is it possible to do this vis-a-vis Tomcat by just altering what the /usr/local/java link points to? You'll also need to remove the compatibility package that you

Re: Session lost when app. is redeployed

2009-03-23 Thread Adriano dos Santos Fernandes
Caldarale, Charles R escreveu: From: Adriano dos Santos Fernandes [mailto:adrian...@uol.com.br] Subject: Session lost when app. is redeployed Don't you think that telling us the version of Tomcat you're using, the JRE/JDK level, platform, etc., just might be useful information?

Tomcat SSL

2009-03-23 Thread Ramamoorthy, Saku
Hello, I am trying to enable SSL in the test server. I have followed the SSL - Howto documentation and created the keystore file and modified server.xml (please see below) connector for SSL. When I try to access using https, the application times out after a while. There are no errors in the

RE: Tomcat SSL

2009-03-23 Thread Caldarale, Charles R
From: Ramamoorthy, Saku [mailto:saku.ramamoor...@oliverwyman.com] Subject: Tomcat SSL Any ideas why SSL is not working? Do you have APR installed? (Check for tcnative-1.dll in Tomcat's bin directory.) If so, the SSL config is completely different:

RE: Session lost when app. is redeployed

2009-03-23 Thread Caldarale, Charles R
From: Adriano dos Santos Fernandes [mailto:adrian...@uol.com.br] Subject: Re: Session lost when app. is redeployed What cause session lost is redeploy. There is no redeploy in the Tomcat manager. What is the exact procedure you're doing? - Chuck THIS COMMUNICATION MAY CONTAIN

Re: Upgrading to Java 1.5

2009-03-23 Thread Jonathan Mast
Thanks Chuck, one more thing. I know this is very basic, but let me ask: Will the java 1.5 installer do anything under-the-hood that could prevent the v1.4.2 JDK from working? I plan doing a lot of back and forth testing between the JDKs so they must both able to run. On Mon, Mar 23, 2009 at

RE: Upgrading to Java 1.5

2009-03-23 Thread Caldarale, Charles R
From: Jonathan Mast [mailto:jhmast.develo...@gmail.com] Subject: Re: Upgrading to Java 1.5 Will the java 1.5 installer do anything under-the-hood that could prevent the v1.4.2 JDK from working? I suppose that depends on the installer being used. I've certainly had multiple functional

Tomcat 5.5.27 Pool/DBCP Locks and Configuration issues

2009-03-23 Thread Shaun Farrugia
Hey everyone, Few questions on Tomcat 5.5.27 running on BEA JRockit 1.4.2_11, SQL Server 2005 jtds 1.2.2 1) What version of commons dbcp and commons pool does Tomcat 5.5.27 use? I know that it uses it's own sources in the naming-factory-dbcp.jar but I'm not sure what version commons this

can I use org.apache.tomcat.dbcp.dbcp.BasicDataSource ?

2009-03-23 Thread Edoardo Panfili
Hy, can I use org.apache.tomcat.dbcp.dbcp.BasicDataSource in place of org.apache.commons.dbcp.BasicDataSource? If yes I can avoid to put commons-pool and commons-dbcp in my webapp lib folder. Looking at Tomcat build.xml seems that the two names refers to the same thing. thank you Edoardo

Re: [OT] of very off topic marketing question

2009-03-23 Thread Bill Davidson
Peter Crowther wrote: From: André Warnier [mailto:a...@ice-sa.com] Peter Crowther wrote: I'm also particularly amused by the topmost set of bars in figure 2, given how proud the perl-ites are of their RE library and performance ;-). You didn't expect for a minute that this would remain

RE: can I use org.apache.tomcat.dbcp.dbcp.BasicDataSource ?

2009-03-23 Thread Caldarale, Charles R
From: Edoardo Panfili [mailto:edoa...@aspix.it] Subject: can I use org.apache.tomcat.dbcp.dbcp.BasicDataSource ? can I use org.apache.tomcat.dbcp.dbcp.BasicDataSource in place of org.apache.commons.dbcp.BasicDataSource? You do that by letting Tomcat manage the connection pool:

Re: can I use org.apache.tomcat.dbcp.dbcp.BasicDataSource ?

2009-03-23 Thread Edoardo Panfili
On 23-03-2009 22:42, Caldarale, Charles R wrote: From: Edoardo Panfili [mailto:edoa...@aspix.it] Subject: can I use org.apache.tomcat.dbcp.dbcp.BasicDataSource ? can I use org.apache.tomcat.dbcp.dbcp.BasicDataSource in place of org.apache.commons.dbcp.BasicDataSource? You do that by letting

RE: can I use org.apache.tomcat.dbcp.dbcp.BasicDataSource ?

2009-03-23 Thread Caldarale, Charles R
From: Edoardo Panfili [mailto:edoa...@aspix.it] Subject: Re: can I use org.apache.tomcat.dbcp.dbcp.BasicDataSource ? I am using opejpa and it seems to need an explicit connection-pool. I have no experience with OpenJPA, but I would caution against direct use of Tomcat's internal classes,

Web App consuming Passive Secure Token Service

2009-03-23 Thread Angel Java Lopez
Hi people! I'm searching for a simple example of a Web Application, hosted in Tomcat, acting as the Service Provider, that consumes a non-java based Identity Provider using Passive Secure Token Service, producing a SAML 2.0/1.x token. I have a Passive STS Identity Provider, running with

Re: can I use org.apache.tomcat.dbcp.dbcp.BasicDataSource ?

2009-03-23 Thread Edoardo Panfili
Caldarale, Charles R ha scritto: From: Edoardo Panfili [mailto:edoa...@aspix.it] Subject: Re: can I use org.apache.tomcat.dbcp.dbcp.BasicDataSource ? I am using opejpa and it seems to need an explicit connection-pool. I have no experience with OpenJPA, but I would caution against direct use

mysite.com:8080 not loading - install problem?

2009-03-23 Thread sraisz
I've installed Tomcat5.5 on Debian but when I try to load the test page at mysite.com:8080 (in this case bbtdev.com:8080) I get a Page Load Error: The connection to the server was reset while the page was loading. I also tried port 8180. I think I am missing a step. Can anyone help? -- View

Re: mysite.com:8080 not loading - install problem?

2009-03-23 Thread Jordan Michaels
what does the following command give you? # netstat -ltpn This should let you know if tomcat is listening to any ports or not. Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Open BlueDragon Steering Committee Adobe Solution Provider sraisz wrote: I've installed

Re: mysite.com:8080 not loading - install problem?

2009-03-23 Thread sraisz
Jordan Michaels wrote: what does the following command give you? # netstat -ltpn This should let you know if tomcat is listening to any ports or not. Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Open BlueDragon Steering Committee Adobe Solution

Re: Web App consuming Passive Secure Token Service

2009-03-23 Thread Lucas Galfaso
Hi, The first place I would look for is https://opensso.dev.java.net/ If it is not there, then close-to-for-sure that it cannot be done ;-) Regards, Lucas On Mon, Mar 23, 2009 at 7:09 PM, Angel Java Lopez ajlopez2...@gmail.com wrote: Hi people! I'm searching for a simple example of

RE: mysite.com:8080 not loading - install problem?

2009-03-23 Thread Caldarale, Charles R
From: sraisz [mailto:sra...@gmail.com] Subject: Re: mysite.com:8080 not loading - install problem? There is no entry for tomcat on any port. Where do I fix this? 1) Did you start the Tomcat process with the startup.sh script? 2) Are you using a real Tomcat downloaded from tomcat.apache.org,

Re: mysite.com:8080 not loading - install problem?

2009-03-23 Thread michel
the 'ps' command should tell you if Tomcat is even running ... - Original Message - From: Caldarale, Charles R chuck.caldar...@unisys.com To: Tomcat Users List users@tomcat.apache.org Sent: Monday, March 23, 2009 8:40 PM Subject: RE: mysite.com:8080 not loading - install problem?

RE: mysite.com:8080 not loading - install problem?

2009-03-23 Thread sraisz
Caldarale, Charles R wrote: From: sraisz [mailto:sra...@gmail.com] Subject: Re: mysite.com:8080 not loading - install problem? There is no entry for tomcat on any port. Where do I fix this? 1) Did you start the Tomcat process with the startup.sh script? First time, no. This time I

Re: [OT] of very off topic marketing question

2009-03-23 Thread Joseph Millet
Right, I apologize too, never had to work with php multi-threading and looking at it existing framework wrappings don't look this good at first glance as it's only meant either for compiled code or command line exec, for C-like expected behaviour. Some Frameworks such as Copix provide script

RE: mysite.com:8080 not loading - install problem?

2009-03-23 Thread Caldarale, Charles R
From: sraisz [mailto:sra...@gmail.com] Subject: RE: mysite.com:8080 not loading - install problem? First time, no. This time I did and got this: li68-75:/usr/share/tomcat5.5/bin# ./startup.sh Using CATALINA_BASE: /usr/share/tomcat5.5 Using CATALINA_HOME: /usr/share/tomcat5.5 Using

RE: Tomcat 5.5.27 Pool/DBCP Locks and Configuration issues

2009-03-23 Thread Caldarale, Charles R
From: Shaun Farrugia [mailto:sfarru...@fry.com] Subject: Tomcat 5.5.27 Pool/DBCP Locks and Configuration issues 1) What version of commons dbcp and commons pool does Tomcat 5.5.27 use? Looking at build.properties.default in the 5.5.27 source, you can see the following:

RE: mysite.com:8080 not loading - install problem?

2009-03-23 Thread sraisz
Caldarale, Charles R wrote: From: sraisz [mailto:sra...@gmail.com] Subject: RE: mysite.com:8080 not loading - install problem? First time, no. This time I did and got this: li68-75:/usr/share/tomcat5.5/bin# ./startup.sh Using CATALINA_BASE: /usr/share/tomcat5.5 Using CATALINA_HOME:

Re: SEVERE: BAD packet singnature 18245

2009-03-23 Thread Saju K K
Hi, Thanks for you comments , I am using only one connector with tomcat( NIO connector) , In that case also i get the same error . Saju awarnier wrote: Saju K K wrote: ... Hi. You probably see this yourself looking at your message in the list, but somehow when you posted, your

Re: SEVERE: BAD packet singnature 18245

2009-03-23 Thread Bill Barker
Saju K K saju.kandat...@nokia.com wrote in message news:22656151.p...@talk.nabble.com... On configuring nio/ajp I am getting and error org.apache.common.MsgApj p= rocessHeader SEVER: BAD packet singnature 18245 We are using jdk 1.5.0_14/ apache-tomcat-6.0.18 / redhat linux 2.6.9 . I