Re: Automatic restart?

2007-11-26 Thread Dennis Thrysøe
On 26Nov, 2007, at 21:30, Mark Thomas wrote: 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?

RE: multithreaded with taglibs

2007-11-26 Thread Yair Ben-Meir
Thanks chris, The generated output of the JSP is not html and not for an explorer... that's why it has to be generated along the JSP work. Btw - i thought of something: maybe the img tag will run a thread, return an outout to the page with some new image name, and release the jsp to continue. The

RE: Tomcat 6.0.14 startup on Windows

2007-11-26 Thread zhongliang zhang
C:\apache-tomcat-6.0.14\bin>tomcat6 //IS//Tomcat6 --DisplayName="Apache Tomcat 6 " --Install="c:\apache-tomcat-6.0.14\bin\tomcat6.exe" --Jvm=auto --StartMode=jvm --StopMode=jvm --StartClass=org.apache.catalina.startup.Bootstrap --StartParams =start --StopClass=org.apache.catalina.startup.Bootstr

Re: SSL problem with Tomcat 5.5

2007-11-26 Thread Dave
In my case, apache is in the front as a load balancer (JK module). I read an instruction that says SSL is only needed between client and Apache, but SSL is not configured between apache and tomcat. I am using JBOSS 4.2.2. In my environment, the security between apache and tomcat is a concer

Re: Tomcat 6.0.14 startup on Windows

2007-11-26 Thread Bruce
Thank you for the tip. I'll try it. Bill Barker wrote: "Bruce" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] 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/

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 > > Doesn't look like I have the jsp-api.jar anywhere else. Could there > be another reason why it can't find the class? Make sure CLASSPATH isn't set. You can turn on -verbose:class, but that w

Re: Tomcat 6.0.14 startup on Windows

2007-11-26 Thread Bill Barker
"Bruce" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >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

Re: Tomcat 6 virtual host problem please help

2007-11-26 Thread Hassan Schroeder
On Nov 26, 2007 5:22 PM, Rocco Scappatura <[EMAIL PROTECTED]> wrote: > > ?? That article doesn't mention mod_rewrite at all, so I'm not sure > > what it has to do with anything... > > Im trying to use mod_proxy_html Ah, I was reading mod_proxy_http -- never heard of this one, and it doesn't seem t

RE: Confusing Tomcat Error: "SEVERE: Error listenerStart"

2007-11-26 Thread Caldarale, Charles R
> From: MassimoH [mailto:[EMAIL PROTECTED] > Subject: Confusing Tomcat Error: "SEVERE: Error listenerStart" > > 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. Try installing an undbundled Tomcat from tomcat.apache.

Re: Tomcat 6 virtual host problem please help

2007-11-26 Thread Rocco Scappatura
> ?? That article doesn't mention mod_rewrite at all, so I'm not sure > what it has to do with anything... Im trying to use mod_proxy_html >> But I have to find: >> >> - mod_proxy_html.so for windows >> - it's prerequisites (libxml2.so) > > ..and AFAIK you don't need either of those to use mod_re

Re: Tomcat 6 virtual host problem please help

2007-11-26 Thread Hassan Schroeder
On Nov 26, 2007 4:39 PM, Rocco Scappatura <[EMAIL PROTECTED]> wrote: > Your wishes has taken effect! Infact, I ve tried the solution. > > http://www.apachetutor.org/admin/reverseproxies ?? That article doesn't mention mod_rewrite at all, so I'm not sure what it has to do with anything... > But I

Re: Tomcat 6 virtual host problem please help

2007-11-26 Thread Rocco Scappatura
>> 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 to be proxed contains lynks create dynamically? Or is

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 t

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 res

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 > applica

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

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 th

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 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

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 w

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: 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. I

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: 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 >> >> >> > > I think you mean to place the above element i

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 iD8DBQFHSzYC9CaO5/Lv0PARAr

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 specifi

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 2

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 con

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: 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 > > > I think you mean to place the above element in conf/Catalina/[hostname]/contents.xml

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 1.2

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 t

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 > certifi

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 shoul

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: 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 https.

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 looks

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^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 t

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: [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

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 ??? I

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, ok.

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 file

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: [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 por

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 goo

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 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

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 jus

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 To

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 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: 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, an

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 under

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 /usr/sbin/ht

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: http://tuckey

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- - Origi

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 nai

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" Sent: Monday, November 26, 2007 1:07 PM Subject: servlet-api.jar jsp path is empty > Hi, > > I was

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: 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 list

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 ha

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-us

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

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

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 articles

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. Interes

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 thinking

mod_jk to remote host

2007-11-26 Thread John Richard Moser
Hi I have a mod_jk connector that works on localhost. I am trying to change the host to the remote IP address and configure it on another server (port 8009 is open) but I'm getting nowhere. The error log consistently says the worker name=tomcat_ajp does not exist but I put it in worker.list

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" Sent: Monday, November 26, 2007 12:08 PM Sub

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 questio

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: 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 inst

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 T

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, common,.

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. Se

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: 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: 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: 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 d

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 -Dcom.vignette.workingDir=\\vgn-cma-vm\Vignett

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. > > Wha

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: users@tomcat.apache.or

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= > -Dcom.vignette.workingDir= You don't really have angle brackets in there, do you? Show us your real parameters. - Chuck THIS COMMUNICATION MAY CON

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 or appBase. Simply

[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 w

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 .

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:

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

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 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: > Sent: Monday, November 26, 2007 9:16 AM > Subject: Tomcat imple

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: Sent: Monday, November 26, 2007 9:16 AM Subject: Tomcat implementation: please help > > Hi, > i'm new to Tomcat, i've downloaded Tomcat (5.5.25 W

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 opt/usr/ph

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 e

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 20

Re: generic way of checking servlet status?

2007-11-26 Thread Derek Alexander
Have considered this a bit further, seems the first step would be to mark the Servlet as unavailable by ensuring init throws an UnavailableException. But then what? As far as I can see there is no way to check if a Servlet is unavailable using Tomcat's built in MBeans. Is this true? Derek Alexan

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

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. A

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

  1   2   >