Re: Mapping JSP's to outside of the war or expanded folder

2008-02-18 Thread David Brown
Once the .war is expanded why would you want to map to JSPs outside of the file system package? emerson cargnin wrote .. Hi there We use resin here in my work. Resin allows in its web.xml an element like: path-mapping url-pattern/jsp/*/url-pattern

Tomcat 5.5 clustering - Cluster Session

2008-02-18 Thread Andrew Hole
Hello! I'm getting the following message on Tomcat: 18/Fev/2008 12:07:50 org.apache.catalina.cluster.tcp.ReplicationValvecreatePrimaryIndicator FINE: Context /outpatient: Found session 07EEE91093046F13672F88402F03C5A2.node02 but it isnt a ClusterSession. Why this happen? Thanks a lot AH

Re: Why Tomcat take about 15 minutes to start?

2008-02-18 Thread Markus Schönhaber
jean-frederic clere wrote: Nope, the entropy is collected when starting the listener Listener className=org.apache.catalina.core.AprLifecycleListener SSLEngine=off / Should help. I didn't know that. Thanks for the hint. Regards mks

JASPER libraries incompatibilities

2008-02-18 Thread Hitesh Raghav
Hi, Is there any backward incompatibility in JASPER libraries in Tomcat (v4.x.y, 5.x.y 6.x.y)? If 'YES', could you please share appropriate URL about it. Thanks, -Hitesh

RE: JNDI question/problem

2008-02-18 Thread Caldarale, Charles R
From: Mindaugas Žakšauskas [mailto:[EMAIL PROTECTED] Subject: JNDI question/problem Service ... Connector.../ Context path= docBase=/path/to/my/webapp1 ResourceLink global=foobar name=local_foo type=java.util.Map/ /Context Context path=

RE: Why Tomcat take about 15 minutes to start?

2008-02-18 Thread Mohamed Mohamedin
The same delay approx. -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Monday, February 18, 2008 12:56 AM To: Tomcat Users List Subject: Re: Why Tomcat take about 15 minutes to start? And without the enhydra app? Leon On Feb 17, 2008 9:36 PM, Mohamed Mohamedin

Tomcat 6.0 + myFaces 1.2 -- ClassNotFoundException

2008-02-18 Thread MPF
Hi! I use: Also myFaces 1.2 unter Tomcat 5.x dürfte sowieso nicht laufen, da Tomcat 5.x nicht JSP 1.2 und Servlet Container 2.5 unterstützt? Demnach müsste der Tomcat 6.0 her: Hab das Teil installiert, Classpath und Catalina_Home gesetzt, Sysdeo Plugin (3.2.1) installiert und lt. Release

JAAS Principal propagation from Tomcat to JBoss

2008-02-18 Thread Denis Cossutta
I have the following situation (I try to simplify it): 1. I have a standalone Apache Tomcat server (5.5.26), on which is running a web application: - A Welcome jsp page (Welcome.jsp) and 2 Servlets: CalculatorServlet and MyProtectedServlet - The CalculatorSevlet servlet has to

Problem closing database pool connections

2008-02-18 Thread Petter Olofsson
Hello tomcat users! I have a problem using the connection pool in Tomcat. The function getConnection() throws the following error message: [Error message] When trying to get a Connection an SQLExcpetion occurred: java.sql.SQLException: Already closed. at

What version of Tomcat??

2008-02-18 Thread Michael McQuade
Hi Folks Sorry I'm not very knowledgeable about technical aspects of Tomcat. I am having some problems with an application I am running acting rather weird. So what I want to do is download a newer version of Tomcat to try and rule out some possibilities. Currently I am running

mail host name lost when sending mail with Apache Commons Email

2008-02-18 Thread Björn Þór Jónsson
Hi, I'm having trouble sending mail with Apache Commons Email in Tomcat 6.0. At the top of the stack trace the mail server I'm sending to (that is known to be working ok) is mentioned but further down the trace there are _Caused by_ messages mentioning problems sending to localhost. It seems

How many tomcat processes should there be?

2008-02-18 Thread Jonathan Mast
When I run ps ax on our Linux server, I'm seeing dozens of Tomcat processes running. Is this normal? Shouldn't there be just 1 Tomcat process? Occasionally, we have to restart Apache to kill all those processes, because they are slowing the machine down. thanks

Re: JNDI question/problem

2008-02-18 Thread Mindaugas Žakšauskas
Hi Charles, ...and thanks for your reply. You appear to be trying to define two default contexts (path=), which is obviously incorrect .. Just to be more precise and address your point: - I am running Tomcat without its default apps (manager, root), only my own apps are set up; - when I

Re: Mapping JSP's to outside of the war or expanded folder

2008-02-18 Thread David Brown
In the future to get the gurus to reply supply more info about your systems overall (OS, JDK, TC version, hardware, network topology, etc.). If you are running a NIX box you could possibly create some soft links in the directories you have named below. I have not tried something like that nor

Re: Problem closing database pool connections

2008-02-18 Thread Len Popp
It looks to me like you're bypassing the connection pool and messing up the way it handles connections. You've only shown a snippet of code, so I have a couple of questions: 1. After dconn is returned from getConnection, how and when does it get closed? 2. Does the exception happen every time

RE: [SPAM:] - IIS and Tomcat Redirector. - Email has different SMTP TO: and MIME TO: fields in the email addresses

2008-02-18 Thread doepain
I have the same exact problem with my installation of Tomcat and the ISAPI redirector. I have the Web Service Extension in IIS, mapped to the location of the isapi redirector dll, and set it to allowed? If anyone can follow-up with the post it would be greatly appreciated. Leo Donahue -

Re: What version of Tomcat??

2008-02-18 Thread David Smith
Hi Mike. First, could you fix your system time? Your email came through w/ a time stamp of 5/11/2004, 11:04am. Unless you've found a really cool time machine somewhere and can sent email in to the future, this is just slightly annoying to me. Regarding your question, if your effort is to

Re: using a class from jar file

2008-02-18 Thread polock
I made a mistake I wanted instead of war file I wrote a jar file. So the web application has been already created. My question is if I have to compile a java class that extends one of the classes included in a jar file. Do I have to extract from war file necessary libraries need for the

RE: Mapping JSP's to outside of the war or expanded folder

2008-02-18 Thread philip.coates
We also do this with Velocity (we use Spring MVC rather than JSP) and point our Velocity ResourceLoader to somewhere else on the filesystem (away from any Apache document root so they aren't accessible). This brings benefits of being able to do hot-deploy of content/templates for urgent copy

Re: Remote ip Address

2008-02-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ksh, [EMAIL PROTECTED] wrote: | If you want to swallow output under certain conditions, why not use | a Filter or Valve? Much easier than trying to redirect output. | | Are you referring to filters and valves as defined in the server.xml? | If so,

Re: Why Tomcat take about 15 minutes to start?

2008-02-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohamed, Mohamed Mohamedin wrote: | I am using Tomcat 5.5.25 on SUSE Linux 10.1 (X86-64) and Java 1.5.0_10 from | Sun. | When I run Tomcat using catalina.sh start and watching the log it stop at | INFO: XML validation disabled and take about 15

Re: Problem closing database pool connections

2008-02-18 Thread Petter Olofsson
Hi Len! Thanks for the reply. The dconn was closed by simply calling the close function when I was done with the connection. This is something that has worked in the past so I'm a bit confused when it stopped working now. I have solved the problem now by just returning the connection from the

Re: Remote ip Address

2008-02-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ksh, [EMAIL PROTECTED] wrote: | | Not using the servlet container in any usual way. You could email | the | response somewhere or something like that, or POST it to | another URL or | whatever. I'm not sure why you'd want to do that, | though. | |

Tomcat ISAPI Redirector for IIS

2008-02-18 Thread doepain
No matter what I try where I go I just keep hitting a wall with this ISAPI redirector for IIS/Tomcat. I have been trying to get this to work since 9:00 AM est, and I am losing steam. I tried supplying any useful information for trouble shooting below Error: HTTP Status 404 -

RE: Tomcat ISAPI Redirector for IIS

2008-02-18 Thread Tim Whittington
It looks like you've got more than one thing going on. The debug log refers to a worker named 'ajp13', which is the default name, and not the one you've got configured in your uriworkermap.properties/worker.properties - This usually points to your filter config and the ISAPI extension DLL (the

Re: Problem closing database pool connections

2008-02-18 Thread Len Popp
Yes, it should be OK if you close the pool connection at the appropriate time and don't close the one from getInnermostDelegate - the pool takes care of that one. -- Len On Feb 18, 2008 2:48 PM, Petter Olofsson [EMAIL PROTECTED] wrote: Hi Len! Thanks for the reply. The dconn was closed by

Re: Tomcat ISAPI Redirector for IIS

2008-02-18 Thread mgainty
agreed... if by *Strange* you mean *you dont understand* then I would advise you to take a look at Mladen Turks paper on fronting Tomcat with IIS http://people.apache.org/~mturk/docs/article/ftwai.html I would specifically note the built-in restrictions of Windows Workstation products to managing

Re: Why Tomcat take about 15 minutes to start?

2008-02-18 Thread Neha Agrawal
Hi! i tried two things to improve the startup time for my Tomcat5.5.25 versio ncompiled with native libraries: 1)Djava.security.egd=file:/dev/urandom added this to the Startup script of Tomcat 2) and also compiled APR with /dev/urandom and again compiled Native libraries Still it takes 12

Difficulty with the latest Tomcat 6.x on Windows XP

2008-02-18 Thread perry anderson
I have tried both Tomcat 4.1.x and the latest 6.x on my networked Windows XP desktop at work. It is a government office so there could be plenty of firewalls in effect. The Windows XP firewall however is not operational. The experience that I am having is that in one case, Tomcat seems to start

Using mod_jk with other Java programs

2008-02-18 Thread Daniel Winterstein
Is it possible to use mod_jk to get the Apache2 web server to forward web requests to programs other than Tomcat? E.g. can workers.properties be set to point to a non-Tomcat program? If so, what would that program have to do to interpret the incoming requests? Are the requests still in http

Re: Using mod_jk with other Java programs

2008-02-18 Thread brien colwell
mod_rewrite can also do proxy forwarding, where the web server will route the forwarded resource to the client. Use the P flag. On Feb 18, 2008 2:35 PM, Daniel Winterstein [EMAIL PROTECTED] wrote: Is it possible to use mod_jk to get the Apache2 web server to forward web requests to programs

Re: Tomcat ISAPI Redirector for IIS

2008-02-18 Thread Rainer Jung
Start fixing it by *not* commenting out the worker.list=ajp13w and set your connection pool size to something reasonable (default is 1, start with let's say 50). Then follow Tim's adviceand please also tell us which isapi redirector version you are using. Regards, Rainer doepain schrieb:

Re: Difficulty with the latest Tomcat 6.x on Windows XP

2008-02-18 Thread Hassan Schroeder
On Feb 18, 2008 2:30 PM, perry anderson [EMAIL PROTECTED] wrote: The computer at work is running firewalls of some nature and also has McAfee running on the desktop. Don't know if this has anything to do with it. At this point I don't even know where to check first to even begin to address

Re: Using mod_jk with other Java programs

2008-02-18 Thread Rainer Jung
Hi Daniel, mod_jk uses a special protocol to talk to the backend server. It's called AJP13. Several backends implement the protocol, e.g. Tomcat, Jetty, Glassfish, JBoss, Geronimo (I guess because it includes Tomcat or Jetty). If you are looking for a simple solution, you might also just

Re: Difficulty with the latest Tomcat 6.x on Windows XP

2008-02-18 Thread Martin Gainty
Unless you have some manner of virus running on that computer your browser *should* be able to access localhost specifically put the address http://localhost:8080/manager/index.jsp in your browser's address and you should see the manager application.. Please verify.. M- - Original Message

Re: Difficulty with the latest Tomcat 6.x on Windows XP

2008-02-18 Thread perry anderson
We checked the System logs for Windows it just showed that it tried to execute but failed for some unspecified reason. Also, I installed the latest version of Java, 1.6...04 But will try to check log files where ever I see them... Thanks - Perry On Feb 18, 2008 7:20 PM, Hassan Schroeder [EMAIL

RE: Difficulty with the latest Tomcat 6.x on Windows XP

2008-02-18 Thread Caldarale, Charles R
From: Martin Gainty [mailto:[EMAIL PROTECTED] Subject: Re: Difficulty with the latest Tomcat 6.x on Windows XP Unless you have some manner of virus running on that computer your browser *should* be able to access localhost specifically put the address

Re: Why Tomcat take about 15 minutes to start?

2008-02-18 Thread Neha Agrawal
Hi! i recompiled my APR 1.2.7 with /dev/urandom and hence recompiled Native libraries (because Native library builds with --with-apr-) i did not recompile the jsvc part though I dont have X server installed on the machine. So cannot use Jconsole. I am attaching two outputs displayed by

Hard problem with tomcat 4.1 and jwsdp-1.3

2008-02-18 Thread Alex Florentino
Hi all, I installed java jdk 1.4, tomcat 4.1 and jwsdp-1.3, it are configured and is working ok. I create a servlet that handle SOAP messages, but it have strange result. see my codes... *base servlet class* package test; import java.io.IOException; import java.io.OutputStream; import

Re: Why Tomcat take about 15 minutes to start?

2008-02-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neha, Neha Agrawal wrote: | i tried two things to improve the startup time for | my Tomcat5.5.25 version compiled with native | libraries: Do you mean configured with native libraries? Recompiling Tomcat will not change anything... | Still it

Tomcat6, Apache, and mod_jk configuration

2008-02-18 Thread Da Rock
I'm trying to get all of the above working together peacefully with no success whatsoever. I've got Tomcat working, and Apache has always worked as per usual, but mod_jk will simply not work. I'm running all this on freebsd server, and when I navigate to /webapps on the server I get a 404 error-

RE: JASPER libraries incompatibilities

2008-02-18 Thread Hitesh Raghav
Hi, I've web-app developed to run with Tomcat 4.2. It used to work perfectly fine with Tomcat 4.2. When same web-app is deployed on Tomcat v5.5.x or v6.0.y, it fails by throwing NullPointerException. It works perfectly fine, when we replace JASPER libraries from Tomcat v4.2 (from

[ANN] Apache Tomcat 4.1.37 stable is released

2008-02-18 Thread Mark Thomas
The Apache Tomcat team is proud to announce the immediate availability of Tomcat 4.1.37 stable. This build contains numerous library updates, a small number of bug fixes and two important, one moderate and six low severity security fixes. Apache Tomcat is an implementation of the Java Server