RE: Problem with redirection

2007-11-26 Thread bjorn.de.bakker
What do you mean by that? I have a property, which is just the name of a JSP, but for some reason, port 80 is added to the complete URL. We don't know why, it's probably a Tomcat error, but the question is how to solve this. It's not a software or programmatic error, because I created a

ClassNotFoundException when starting with security mode

2007-11-26 Thread Preuss, Jacqueline - ENCOWAY
Hi there, we have a problem with our web application when starting Tomcat in security mode. For some reasons we always get some ClassNotFoundExceptions and we don't know why. The exception is: java.lang.ClassNotFoundException: org.mozilla.javascript.optimizer.OptRuntime

Which license policy ASF or Sun Micro on jsp_2_0.xsd...

2007-11-26 Thread danny.bennett
Hello, I have a question regarding which licensing policy do I follow on the this file : apache-tomcat-5.5.17-src/servletapi/jsr152/src/share/dtd/jsp_2_0.xsd This file seems to have dual license, so which one is in fact valid the ASF or the Sun ??? Thanks for your help. -Danny Copyright

Passing JVM parameters through the GUI in Tomcat 5.0.28

2007-11-26 Thread Karim Zaki
Hi all, I'm trying to pass some parameters to Tomcat 5.0.28. The product I'm installing (Vignette) explains how to do this when you run Tomcat using scripts: set CATALINA_OPTS=-Xmx512M -Dcom.vignette.installDir=vgn-install-dir -Dcom.vignette.workingDir=vgn-working-dir This works perfectly.

Automatic restart?

2007-11-26 Thread Dennis Thrysøe
Hello, I'm getting logFull all threads in use messages now and then, and have a pretty good idea why. But it seems that tomcat decides to shut down / restart the webapp (or more than that) just after this. Is there some mechanism that restarts when all threads are stuck, or after some

Security Manager

2007-11-26 Thread Aziz Yacoub
I'm using security manager with Tomcat 4.1.36 on NetWare 6.5 sp7. The policy file includes: grant { permission java.io.FilePermission \\SERVER1\VOL1\Photos, read, write, delete; }; which as I understand gives full access for \\SERVER1\VOL1\Photos to all web apps. But I still get:

RE: multithreaded with taglibs

2007-11-26 Thread David Cassidy
Errr how will you allow people to access the file over the internet with a file:// protocol ? are you only running the app and the users browser on the same machine ? file://C:\My Documents\image.gif ? Can't see that working over the internet On Sun, 2007-11-25 at 13:56 +0200, Yair

Serving static resources outside webapp in Tomcat 5.5.25

2007-11-26 Thread Félix Pedrera García
Hello, We have a web application (app) running on Tomcat 5.5.9 deployed on the default tomcat webapp directory ([TOMCAT_HOME]/webapps). This application has a context.xml file which defines access to static external resources (image files, video files, etc.) this way: ?xml version=1.0

Rewrite Rules for JSP Site

2007-11-26 Thread Laxmilal Menaria
Hello Everyone, I have created a web site using jsp pages and struts framework, and configured it on https using Tomcat WebServer. After compilation of my java files, it creates war file. And now I have copied files to C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps folder with

Re: multithreaded with taglibs

2007-11-26 Thread ben short
Yair, I created a eshop website that dynamically re sizes images depending on the url. Here is a simple outline of what happens. A new product is created by the shop admin. Images are then uploaded and stored in a database in the uploaded size. When a product page is viewed the controller ( im

Re: Sharing an object between two webapps

2007-11-26 Thread Kaspar Fischer
On 23.11.2007, at 17:43, Caldarale, Charles R wrote: From: Kaspar Fischer [mailto:[EMAIL PROTECTED] Subject: Re: Sharing an object between two webapps The class SharedObjectHolder from my previous post lies inside the JAR webapps/A/WEB-INF/lib/SharedObjectHolder.jar. Move it to shared/lib;

RE: multithreaded with taglibs

2007-11-26 Thread Yair Ben-Meir
You're right about that - it is not for using over the web. Anyway, that's just an example. The main issue is to run the work of the tag in a thread without making the rest of the page wait. -Original Message- From: David Cassidy [mailto:[EMAIL PROTECTED] Sent: Monday, November 26, 2007

RE: multithreaded with taglibs

2007-11-26 Thread Yair Ben-Meir
Hi ben Thanks for your idea. In my case, I can't use it, since the generated img tag must be a static file (a file: url) and not a link to a servlet. That's why the processing must be when generating the html. Thanks Yair -Original Message- From: ben short [mailto:[EMAIL PROTECTED]

Re: Rewrite Rules for JSP Site

2007-11-26 Thread Pid
Laxmilal Menaria wrote: Hello Everyone, I have created a web site using jsp pages and struts framework, and configured it on https using Tomcat WebServer. After compilation of my java files, it creates war file. And now I have copied files to C:\Program Files\Apache Software

Apache Tomcat 6.0.14 classloader

2007-11-26 Thread YEL
Hi list, JVM : 1.6.0 OS : Windows XP Tomcat Version : 6.0.14 The problem: no matter how i set the shared.loader in cataline.properties it does not load the jars in there: here is what i tried so far: shared.loader=${catalina.home}/shared/lib,${catalina.home}/shared/lib/*.jar it did not works

Re: Rewrite Rules for JSP Site

2007-11-26 Thread Laxmilal Menaria
Ok.. Thanks, I have tried to copy all files in root folder and its works On 11/26/07, Pid [EMAIL PROTECTED] wrote: Laxmilal Menaria wrote: Hello Everyone, I have created a web site using jsp pages and struts framework, and configured it on https using Tomcat WebServer. After

RE: multithreaded with taglibs

2007-11-26 Thread Yair Ben-Meir
Well, the output of the jsp isn't html in my case, but something similar, an xml file with references to other files. -Original Message- From: Pid [mailto:[EMAIL PROTECTED] Sent: Monday, November 26, 2007 1:48 PM To: Tomcat Users List Subject: Re: multithreaded with taglibs ben's method

Logging Framework

2007-11-26 Thread Andrew Hole
Hello! My java application writes relevant log of database procedures executions. My goal is to develop a report at intervals of 30 minutes with a summary, including requests slowest, and average time of execution, etc. 2007-11-26 00:00:00379 DEBUG ajp - 8009-10 RequestFilter - Request Started

Tomcat implementation: please help

2007-11-26 Thread Patrick2901
Hi, i'm new to Tomcat, i've downloaded Tomcat (5.5.25 Windows Installer) and am trying to do the Head First Servlets JSP- Book. In the book, it says that one can start Tomcat by entering %bin/startup.sh from the home directory (which is Tomcat 5.5). But in this directory, startup.sh does not

Re: Security Manager

2007-11-26 Thread Martin Gainty
I would opt for absolute path URI such as. file:opt/usr/photo/- instead of the more problematic UNC's it appears you want AllPermission which is granted by Security class with same name ..AllPermission so in $CATALINA_HOME/conf/catalina.policy you can consider a grant on absolute path of

Re: Tomcat implementation: please help

2007-11-26 Thread Martin Gainty
Hello Patrick- Which Operating System are you using to implement Tomcat? M- - Original Message - From: Patrick2901 [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Monday, November 26, 2007 9:16 AM Subject: Tomcat implementation: please help Hi, i'm new to Tomcat, i've downloaded

Re: Tomcat implementation: please help

2007-11-26 Thread Patrick2901
Hi, i'm using Windows XP SP2. Thanks, Patrick mgainty wrote: Hello Patrick- Which Operating System are you using to implement Tomcat? M- - Original Message - From: Patrick2901 [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Monday, November 26, 2007 9:16 AM Subject:

Access to static external resources from a webapp in Tomcat 5.5.25.

2007-11-26 Thread Félix Pedrera García
Hello, For a webapp deployed on Tomcat 5.5.9 to access static external resources (images, videos, etc), which we don't want to be deleted when the application is undeployed, we use the following entry on the context.xml file of the webapp, under the META-INF directory of the web application:

RE: Tomcat 6 virtual host problem please help

2007-11-26 Thread Rocco Scappatura
verify the right version of modules (mod_proxy_ajp.so) are in %APACHE_HOME%/modules folderstart here http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html Im using the module mod_proxy_ajp.so that comes with Apache 2.2.6 which I'm using. The version of Tomcat 5.5 that Im using

Re: Tomcat implementation: please help

2007-11-26 Thread Gary Evesson
Try startup.bat. On Nov 26, 2007 8:01 AM, Patrick2901 [EMAIL PROTECTED] wrote: Hi, i'm using Windows XP SP2. Thanks, Patrick mgainty wrote: Hello Patrick- Which Operating System are you using to implement Tomcat? M- - Original Message - From: Patrick2901 [EMAIL

RE: Tomcat implementation: please help

2007-11-26 Thread Caldarale, Charles R
From: Patrick2901 [mailto:[EMAIL PROTECTED] Subject: Tomcat implementation: please help In the book, it says that one can start Tomcat by entering %bin/startup.sh from the home directory (which is Tomcat 5.5). For some unfathomable reason, the various scripts are not included in the .exe

[HTTPS] more web app each one with a proper certificate

2007-11-26 Thread Raffaele
Hi all! I'm quite a beginner with Tomcat, but really I can't understand what should I do in the following scenario: I'm configuring Tomcat to use https with all my web apps. I have produced a .keystore file with two keys (one for each web app) I have two web app and I would like to use one key

RE: Rewrite Rules for JSP Site

2007-11-26 Thread Caldarale, Charles R
From: Pid [mailto:[EMAIL PROTECTED] Subject: Re: Rewrite Rules for JSP Site Create a new Host (called 'www.lmenaria.com'), define a new appBase path and place your app, renamed ROOT.war into the directory you define as appBase. It's not necessary to create a new Host or appBase. Simply

RE: Passing JVM parameters through the GUI in Tomcat 5.0.28

2007-11-26 Thread Caldarale, Charles R
From: Karim Zaki [mailto:[EMAIL PROTECTED] Subject: Passing JVM parameters through the GUI in Tomcat 5.0.28 -Dcom.vignette.installDir=vgn-install-dir -Dcom.vignette.workingDir=vgn-working-dir You don't really have angle brackets in there, do you? Show us your real parameters. - Chuck

Increase JAVA Heap size when Tomcat start

2007-11-26 Thread Jean-Pierre Astier
Hello all, I want to use a J2ee application (Magnolia), but I need to increase the java heap size when tomcat (5.5.25) start. What is the solution ? Thanks Jean-Pierre - To start a new topic, e-mail:

Re: Increase JAVA Heap size when Tomcat start

2007-11-26 Thread ben short
Look at the catalina.bat or catalina.sh specifically at the JAVA_OPTS environment var On Nov 26, 2007 3:51 PM, Jean-Pierre Astier [EMAIL PROTECTED] wrote: Hello all, I want to use a J2ee application (Magnolia), but I need to increase the java heap size when tomcat (5.5.25) start. What is

RE: Passing JVM parameters through the GUI in Tomcat 5.0.28

2007-11-26 Thread Karim Zaki
Hi Chuck, No. No angle brackets :) Here are the actual parameters: -Dcatalina.base=C:\Tomcat -Dcatalina.home=C:\Tomcat -Djava.endorsed.dirs=C:\Tomcat\common\endorsed -Djava.io.tmpdir=C:\Tomcat\temp -Dcom.vignette.installDir=C:\Vignette\Content\7_3_1

RE: generic way of checking servlet status?

2007-11-26 Thread Caldarale, Charles R
From: Derek Alexander [mailto:[EMAIL PROTECTED] Subject: Re: generic way of checking servlet status? As far as I can see there is no way to check if a Servlet is unavailable using Tomcat's built in MBeans. This does look like a bit of an oversight. If an actual request is made to a

Re: Increase JAVA Heap size when Tomcat start

2007-11-26 Thread Jean-Pierre Astier
Thanks ben, all is ok now jp Le 26 nov. 07 à 16:58, ben short a écrit : Look at the catalina.bat or catalina.sh specifically at the JAVA_OPTS environment var On Nov 26, 2007 3:51 PM, Jean-Pierre Astier [EMAIL PROTECTED] wrote: Hello all, I want to use a J2ee application (Magnolia),

RE: Passing JVM parameters through the GUI in Tomcat 5.0.28

2007-11-26 Thread Caldarale, Charles R
From: Karim Zaki [mailto:[EMAIL PROTECTED] Subject: RE: Passing JVM parameters through the GUI in Tomcat 5.0.28 -Dcom.vignette.workingDir=\\vgn-cma-vm\Vignette\vcm\inst-shared Try moving this to a local file and see if the problem disappears. Also try running this from a command prompt

Re: Tomcat 6 virtual host problem please help

2007-11-26 Thread Gabe Wong
Someone know why the pages that I get via reverse proxy are relative to the real web server and not to the proxy server? eg: ProxyPass / http://localhost:8081/app/ ProxyPassReverse / http://localhost:8081/app/ when I access http://www.example.com (www.example.com resolves to proxy server), I

RE: Is there a quiet or headless install for Tomcat 5?

2007-11-26 Thread Kurt Kavanaugh
Thanks. Respectfully, for us at least, there is a step (2), And that is to have Tomcat setup as a service vs a command line invokation of an executable. Also not knowing what the setup.exe does for the *automatic* install that sets up the service. Also was not sure of any other tasks executed.

Re: Tomcat implementation: please help

2007-11-26 Thread Patrick2901
Thanks for the feedbacks. I've downloaded Tomcat 6.x (zip) and extracted it to: C:\Program Files\Apache Software Foundation\Tomcat. The extraction put an additional directory underneeth (apache-tomcat-6.0.14), that i've deleted, so that my home directory is Tomcat and the subdir's (bin,

Re: Tomcat implementation: please help

2007-11-26 Thread bruno . vilardo
Make sure to create the tomcat variables on windows side. Also, what does your logs says ? Enviado pelo meu BlackBerry -Original Message- From: Patrick2901 [EMAIL PROTECTED] Date: Mon, 26 Nov 2007 08:49:53 To:users@tomcat.apache.org Subject: Re: Tomcat implementation: please help

RE: Tomcat implementation: please help

2007-11-26 Thread Caldarale, Charles R
From: Patrick2901 [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat implementation: please help Then i start Tomcat by launching tomcat/bin/startup.bat. A command prompt window briefly appears. Look in the logs to see what the problem is. If you haven't shut down the previous Tomcat instance

is there a limit to JAVA Heap size ?

2007-11-26 Thread Jean-Pierre Astier
Hello, An other little question !!! Is there a limit to the java heap size var environment ? There is 3 GB off RAM on my server. I've set JAVA_OPTS to -Xms512m -Xmx512m in catalina.sh. Can I increase more than this value ? Thanks

Re: is there a limit to JAVA Heap size ?

2007-11-26 Thread Bruno Vilardo
Jean, I am not a Tomcat Expert, though I know you can set this value to a higher number. I have set once to 1GB. Perhaps the gurus on the forum would answer it clearly to you. HTH Bruno On Nov 26, 2007 3:06 PM, Jean-Pierre Astier [EMAIL PROTECTED] wrote: Hello, An other little question !!!

Re: is there a limit to JAVA Heap size ?

2007-11-26 Thread mgainty
Microsoft allows 3GB capability for User Process Address Space http://www.microsoft.com/technet/sysinternals/information/bootini.mspx Anyone else? M-- - Original Message - Wrom: UZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPB To: Tomcat Users List users@tomcat.apache.org Sent: Monday, November

RE: mod_jk to remote host

2007-11-26 Thread Charlie Wingate
Logs and config files would help here. Substitute out real ips with Xs or fake ones; or just post them. In any event it is difficult for anyone to provide help based on the information you have provided. ~Charlie The significant problems we have cannot be solved at the same level of

Re: ApacheTomcat Connector mod_jk, receiving 0711-244 ERROR when I do a make

2007-11-26 Thread Blumlein,Richard
Hello Rainer, Hope you had a nice Thanksgiving? Does the coredump also occur, if you set JkLogLevel to info or error? Yes I tried changing to info or error and both got the dump. Also removed the statement and it dumped. I get the dump if I leave any of the Jk statements in httpd.conf.

RE: is there a limit to JAVA Heap size ?

2007-11-26 Thread Baron, Bob (LNG-HBE)
First of all, this is a JRE issue, not Tomcat! Depending on your Operating system (Windows, *nix, etc.), whether it's a 32 or 64 bit version, and what JRE you're using, the limit is different. You can get pretty good info from you JRE vendor about how it uses memory - Sun has several good

SSL problem with Tomcat 5.5

2007-11-26 Thread Bob Grabbe
Our web site has had an ssl certificate from Godaddy for the last two years. I'm trying to update the certificate because it just expired. After the expiration, before updating I was able to get to the main page, with a certificate error. After the update of the certificaste I'm not able to get to

servlet-api.jar jsp path is empty

2007-11-26 Thread Steven Crosley
Hi, I was getting this error from my app: Caused by: java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/ TagSupport So I looked in the servlet-api.jar file that was included with my Tomcat 6 download and noticed that the javax/servlet/jsp/ folder is empty. I'm guessing this was by

Re: Using Tomcat for something other than HTTP servlets

2007-11-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sean, Sean Nagle wrote: In a nutshell I am trying to extend G code ( the language of CNC routers ) using servlet technology. What I want to do is create something similar to JSP called GSP (GcodeServerPages). Interesting. Do you want to re-use

Re: mod_jk to remote host

2007-11-26 Thread John Richard Moser
hmm. I replied an hour ago with the logs but it hasn't shown up... testing... Charlie Wingate wrote: Logs and config files would help here. Substitute out real ips with Xs or fake ones; or just post them. In any event it is difficult for anyone to provide help based on the information you

Re: trigger program which installed on client machine

2007-11-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ray, raybristol wrote: I need to trigger a program which installed on client machine when use press a button from a web page, I wonder what's the best way to do it? Any links? As previously discussed (probably many times both on and off this

Re: mod_jk to remote host

2007-11-26 Thread John Richard Moser
here are my configuration files. Logs are compressed. Charlie Wingate wrote: Logs and config files would help here. Substitute out real ips with Xs or fake ones; or just post them. In any event it is difficult for anyone to provide help based on the information you have provided. ~Charlie

Re: servlet-api.jar jsp path is empty

2007-11-26 Thread Martin Gainty
jsp-api.jar comes with TC6 binary distro and is located in $CATALINA_HOME/lib do you not have it? M- - Original Message - From: Steven Crosley [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Monday, November 26, 2007 1:07 PM Subject: servlet-api.jar jsp path is empty

Re: multithreaded with taglibs

2007-11-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yair, Yair Ben-Meir wrote: You're right about that - it is not for using over the web. Anyway, that's just an example. The main issue is to run the work of the tag in a thread without making the rest of the page wait. I think you're hit the nail

Re: mod_jk to remote host

2007-11-26 Thread Martin Gainty
John- you will need to have an ajp (of worker.ajp13.type) connector configured and listening (on worker.ajp13.port) on the *worker.ajp13.host* you have specified in $CATALINA_HOME/conf/workers.properties file http://www.stanford.edu/group/coursework/stanfordoki/apacheChecklist.html M- -

Re: alias for directory

2007-11-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miren, Miren Urkixo wrote: Hello into one apache http server i can to map one directory to oen alias can i make it into tomcat? i only uses into this server tomcat without apache Ken Bowen would tell you: Use UrlRewriteFilter:

Re: ApacheTomcat Connector mod_jk, receiving 0711-244 ERROR when I do a make

2007-11-26 Thread Blumlein,Richard
Hi Rainer, Maybe this will help.. Rich apachectl start (Got the core file). pwd /etc/opt/freeware/apache ls access.conf httpd.conf.org mime.types core httpd.conf.sso srm.conf httpd.conf magicworkers.properties gdb

Re: Security Manager

2007-11-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aziz, Aziz Yacoub wrote: I'm using security manager with Tomcat 4.1.36 on NetWare 6.5 sp7. The policy file includes: grant { permission java.io.FilePermission \\SERVER1\VOL1\Photos, read, write, delete; }; which as I understand gives

Re: Comet servlet synchronization and flush problems

2007-11-26 Thread ffd
Leonardo, Filip, I face the exact same problem (tried with 6.0.13 and 6.0.14 on Vista), with a very similar code. Though I'm writing small packets with very high frequency (speex narrowband audio packets). The NPE shows up after 30 seconds or so in my case. I also did a sync on the response,

Re: servlet-api.jar jsp path is empty

2007-11-26 Thread Steven Crosley
Ah, ok. It is in the jsp-api.jar. Unfortunately, that makes it harder for me to determine why the error is occurring. Thanks, Steven On Nov 26, 2007, at 12:37 PM, Martin Gainty wrote: jsp-api.jar comes with TC6 binary distro and is located in $CATALINA_HOME/lib do you not have it? M-

Re: [HTTPS] more web app each one with a proper certificate

2007-11-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Raffaele, Raffaele wrote: Inside server.xml, I have decommented the xml fragment about https, but I have noticed studying a little the documentation that through keyAlias attribute I can specify a specific alias to be used as valid certificate.

RE: servlet-api.jar jsp path is empty

2007-11-26 Thread Caldarale, Charles R
From: Steven Crosley [mailto:[EMAIL PROTECTED] Subject: Re: servlet-api.jar jsp path is empty Ah, ok. It is in the jsp-api.jar. Unfortunately, that makes it harder for me to determine why the error is occurring. Make sure that jsp-api.jar is not in some other location as well as

Re: SSL problem with Tomcat 5.5

2007-11-26 Thread Martin Gainty
Hi Bob There is a SSL checklist that starts with 1)installing and configuring JSSE (now comes with JDK.1.4 or 1.5) 2)a)create keystore b)import the certificate into just created keystore 3)uncomment the SSL Connector entry in $CATALINA_HOME/conf/server.xml and tweak keystoreFile to point to

Re: mod_jk to remote host

2007-11-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, John Richard Moser wrote: # Worker list worker.list=fubar # Worker settings for fubar worker.fubar.port=8009 worker.fubar.host=10.1.1.21 worker.fubar.type=ajp13 worker.fubar.mount=/fubar /fubar/* This looks good, except that last

Re: mod_jk to remote host

2007-11-26 Thread John Richard Moser
explain what you mean. What I have is... HOST A Host B Tomcat (8080:http) | | Tomcat (8009:ajp) --- Apache (443:https) Apache (80:http) | | Apache (80:http) If I go to Host A on 8080 or 80, I get the same content. On Host B at 80, I get an internal server

Re: mod_jk to remote host

2007-11-26 Thread John Richard Moser
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, John Richard Moser wrote: # Worker list worker.list=fubar # Worker settings for fubar worker.fubar.port=8009 worker.fubar.host=10.1.1.21 worker.fubar.type=ajp13 worker.fubar.mount=/fubar /fubar/* This looks

Re: [HTTPS] more web app each one with a proper certificate

2007-11-26 Thread Hassan Schroeder
On Nov 26, 2007 11:03 AM, Christopher Schultz [EMAIL PROTECTED] wrote: Are you saying that you want to have multiple virtual hosts, each with separate certificates? I don't believe that's possible, not even with any other server. The problem is that the client contacts a particular port

RE: Apache Tomcat 6.0.14 classloader

2007-11-26 Thread Caldarale, Charles R
From: YEL [mailto:[EMAIL PROTECTED] Subject: Apache Tomcat 6.0.14 classloader no matter how i set the shared.loader in cataline.properties it does not load the jars in there: Works fine for me. I moved (not copied) jstl.jar and standard.jar from webapps/examples/WEB-INF/lib to a new

Re: mod_jk to remote host

2007-11-26 Thread John Richard Moser
ok I noticed the logs mentioned ajp13 on localhost:8009 I ssh -L 8009:localhost:8009 to the remote server and change the mount to use worker ajp13 (NOT defined in my workers.properties) and it works! If I change the JkWorkersFile setting Apache refuses to start because it can't find the

Re: servlet-api.jar jsp path is empty

2007-11-26 Thread Steven Crosley
Doesn't look like I have the jsp-api.jar anywhere else. Could there be another reason why it can't find the class? Thanks, Steven On Nov 26, 2007, at 1:05 PM, Caldarale, Charles R wrote: From: Steven Crosley [mailto:[EMAIL PROTECTED] Subject: Re: servlet-api.jar jsp path is empty Ah,

Re: Which license policy ASF or Sun Micro on jsp_2_0.xsd...

2007-11-26 Thread Mark Thomas
[EMAIL PROTECTED] wrote: Hello, I have a question regarding which licensing policy do I follow on the this file : apache-tomcat-5.5.17-src/servletapi/jsr152/src/share/dtd/jsp_2_0.xsd This file seems to have dual license, so which one is in fact valid the ASF or the Sun ??? It should

Re: [HTTPS] more web app each one with a proper certificate

2007-11-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hassan, Hassan Schroeder wrote: Let's clarify -- there's name-based virtual hosting, and IP-based virtual hosting. It's name-based SSL that won't work for the reasons above. IP-based virtual hosting with Tomcat works fine, by configuring a

Re: mod_jk to remote host

2007-11-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, John Richard Moser wrote: I have tested the network on all levels. I custom-wrote the firewall and used nmap and just plain shut the thing off to test if it's interfering. That port is open. :( You mentioned that tcpdump on the target

Re^2: Comet servlet synchronization and flush problems

2007-11-26 Thread ffd
I found the origin of the problem in my case. The problem was neither the synchronization nor the connection gone. It was that the asynchronous writing started too early, before the connection was completely established, speaking losely... When I made sure that the writing starts *after* all

Java file name is displayed when the JSP file is accessed.

2007-11-26 Thread Pavan Singaraju
Hi All, i have a web application which is deployed on Tomcat 5.0.18. Sometimes when i am navigating to a page using menu of my application, it is displaying a java file name with full package name. The java file is a business logic processing location on the application. Why is that happening.

Re: mod_jk to remote host

2007-11-26 Thread Rainer Jung
John Richard Moser wrote: here are my configuration files. Logs are compressed. I had a look at the log file. You are using version 1.2.18. We are at the moment at version 1.2.25 with a very long changelog. Do yourself and us a favour and use the most recent version 1.2.25. For me it

RE: SSL problem with Tomcat 5.5

2007-11-26 Thread Bob Grabbe
Did all that, to no avail. As I said, it was working until the certificate expired, and the new certificate seems to have broken things, although I can't see anything wrong with it. What it looks like, actually, is that the server isn't processing the server.xml entries that redirect http to

Re: Automatic restart?

2007-11-26 Thread Mark Thomas
Dennis Thrysøe wrote: Is there some mechanism that restarts when all threads are stuck, or after some timeout? Is this configurable. In short, there is no such mechanism. Is some other software monitoring Tomcat and restarting it if it fails? Mark

Re: Serving static resources outside webapp in Tomcat 5.5.25

2007-11-26 Thread Mark Thomas
Félix Pedrera García wrote: What has been changed from version 5.5.9 and which is the way to access external static resources from a webapp in Tomcat 5.5.25? The checking for valid context configuration has been tightened. Adding the following, as contents.xml, to your webapps directory should

Re: SSL problem with Tomcat 5.5

2007-11-26 Thread Hassan Schroeder
On Nov 26, 2007 10:04 AM, Bob Grabbe [EMAIL PROTECTED] wrote: Our web site has had an ssl certificate from Godaddy for the last two years. I'm trying to update the certificate because it just expired. After the expiration, before updating I was able to get to the main page, with a certificate

Re: ApacheTomcat Connector mod_jk, receiving 0711-244 ERROR when I do a make

2007-11-26 Thread Rainer Jung
Blumlein,Richard wrote: Hello Rainer, Hope you had a nice Thanksgiving? That's not really tradition in Germany, at least not with turkeys. But yes, had a nice weekend. Does the coredump also occur, if you set JkLogLevel to info or error? Yes I tried changing to info or error and both got

Re: mod_jk to remote host

2007-11-26 Thread John Richard Moser
Rainer Jung wrote: John Richard Moser wrote: here are my configuration files. Logs are compressed. I had a look at the log file. You are using version 1.2.18. We are at the moment at version 1.2.25 with a very long changelog. Do yourself and us a favour and use the most recent version

RE: Serving static resources outside webapp in Tomcat 5.5.25

2007-11-26 Thread Caldarale, Charles R
From: Mark Thomas [mailto:[EMAIL PROTECTED] Subject: Re: Serving static resources outside webapp in Tomcat 5.5.25 Adding the following, as contents.xml, to your webapps directory should work ?xml version=1.0 encoding=UTF-8? Context docBase=/app/resources /Context I think you mean to

Re: mod_jk to remote host

2007-11-26 Thread Rainer Jung
John Richard Moser wrote: Rainer Jung wrote: John Richard Moser wrote: here are my configuration files. Logs are compressed. I had a look at the log file. You are using version 1.2.18. We are at the moment at version 1.2.25 with a very long changelog. Do yourself and us a favour and use

Re: ApacheTomcat Connector mod_jk, receiving 0711-244 ERROR when I do a make

2007-11-26 Thread Rainer Jung
Blumlein,Richard wrote: gdb /usr/sbin/httpd core GNU gdb 6.0 Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the

RE: SSL problem with Tomcat 5.5

2007-11-26 Thread Bob Grabbe
Not sure which logs would help, but I've attached a notepad file with excerpts. I didn't generate a new csr, I figured renewing the cert shouldn't need that. Do I need to go through that or should I be able to just renew it ? What I did after downloading the new certificates was 1. Stop tomcat

Re: SSL problem with Tomcat 5.5

2007-11-26 Thread Hassan Schroeder
On Nov 26, 2007 12:58 PM, Bob Grabbe [EMAIL PROTECTED] wrote: Not sure which logs would help, but I've attached a notepad file with excerpts. What would be best would be catalina.log at startup, showing whether the SSL connector started cleanly. And of course, any log entry relating

Re: SSL problem with Tomcat 5.5

2007-11-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bob, Bob Grabbe wrote: Bob Grabbe Umiversity of Michigan Is that a typo or a joke? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Re: Serving static resources outside webapp in Tomcat 5.5.25

2007-11-26 Thread Mark Thomas
Caldarale, Charles R wrote: From: Mark Thomas [mailto:[EMAIL PROTECTED] Subject: Re: Serving static resources outside webapp in Tomcat 5.5.25 Adding the following, as contents.xml, to your webapps directory should work ?xml version=1.0 encoding=UTF-8? Context docBase=/app/resources

Tomcat 6.0.14 startup on Windows

2007-11-26 Thread Bruce
I am using tomcat6w.exe to setup and configure. I would like to start up Tomcat as a service with an icon on my taskbar. The help says this is possible with the //MS// option. However, there is no explanation or example of where to put the option. I have tried putting it everywhere I think it

RE: SSL problem with Tomcat 5.5

2007-11-26 Thread Bob Grabbe
OK, I've attached a new file with the startup. Unfortunately I'm not seeing anything in any logs that indicate any https requests. Just in case, what's the command to generate a new empty keystore file ? I've seen the notes on the tomcat docs for creating the csr, but I didn't do that this time.

Re: SSL problem with Tomcat 5.5

2007-11-26 Thread Hassan Schroeder
On Nov 26, 2007 1:48 PM, Bob Grabbe [EMAIL PROTECTED] wrote: OK, I've attached a new file with the startup. Unfortunately I'm not seeing anything in any logs that indicate any https requests. mmm. Are you sure nothing else changed, firewall-wise? You might want to turn on the Request Dumper

RE: Tomcat 6.0.14 startup on Windows

2007-11-26 Thread Caldarale, Charles R
From: Bruce [mailto:[EMAIL PROTECTED] Subject: Tomcat 6.0.14 startup on Windows The help says this is possible with the //MS// option. Can't answer that one. When Tomcat starts, I get a command window that needs to be minimized. You appear to have the Allow service to interact with

Re: Tomcat 6 virtual host problem please help

2007-11-26 Thread Rocco Scappatura
Someone know why the pages that I get via reverse proxy are relative to the real web server and not to the proxy server? eg: ProxyPass / http://localhost:8081/app/ ProxyPassReverse / http://localhost:8081/app/ when I access http://www.example.com (www.example.com resolves to proxy

Re: SSL problem with Tomcat 5.5

2007-11-26 Thread Martin Gainty
Good Evening Bob Implementing webapps is similar to setting up a scientific experiment..you need to complete ALL the steps outlined in order or nothing works The SSL checklist that starts with 1)installing and configuring JSSE (now comes with JDK.1.4 or 1.5) 2)a)create keystore Did you create the

Re: Tomcat 6.0.14 startup on Windows

2007-11-26 Thread Bruce
IT WORKS! Thanks for the information. Now, if only I could get the icon on the taskbar, I would be completely happy. But, I'm happy now. Bruce Caldarale, Charles R wrote: From: Bruce [mailto:[EMAIL PROTECTED] Subject: Tomcat 6.0.14 startup on Windows The help says this is possible with

RE: Tomcat 6 virtual host problem please help

2007-11-26 Thread Rocco Scappatura
Such a proxy configuration may require manipulation of the HTML links. Why? I think that this is not feasible! Are the links being created dynamically or are they hard coded with css/style.css instead of /app/css/style.css and so on. Sorry I have no path in style.css.. I wanna show with a

Re: Tomcat 6 virtual host problem please help

2007-11-26 Thread Hassan Schroeder
On Nov 26, 2007 3:26 PM, Rocco Scappatura [EMAIL PROTECTED] wrote: How I have to do so that app does'n create absolute paths relative to the context of the application running under Tomcat? rewrite the app :-) This problems is a clear example of how mod_proxy_* is unusable when application

Confusing Tomcat Error: SEVERE: Error listenerStart

2007-11-26 Thread MassimoH
I am writing a web app in Struts. This was working perfectly until I did an uinstall/reinstall of Apache Tomcat 6.0.14 along with the new RC2 of NetBeans 6.0. Now, when I try to run my web app, I get a generic Tomcat error screen: type Status report message /myapp/ description The requested

Re: SSL problem with Tomcat 5.5

2007-11-26 Thread Schadler Johann
To ensure you have a valid keystore with the included private key and a refer to an alias 'tomcat' I recommend strongly to create a new keystore as described in the reference (see links in other answer mails). At least you can create a self-signed certificate if you don't need one signed by a

  1   2   >