Re: big image only appear at half

2006-12-07 Thread mast
Hmm nope already try it s not a memory problem :( it seem that s the 3 factor toghether : apache 2.2.3 (maybe the same with other apache) tomcat 5.5.20 mod_jk and tomcat native library (i have try many version) when all of this are together i get this problem, if someone has the same

tomcat switches off all the time

2006-12-07 Thread Andreas Hess
I`m trying to install the tomcat 5.5.12 version on my computer, but I can not run tomcat automatically by changing the service-properties from manual to automatic. The tomcat service switches off after about 0.5 minutes. Even if i restart the computer, tomcat does not switch on again

RE: tomcat switches off all the time

2006-12-07 Thread Narayanaswamy, Mohan
Is there any firewall running in your machine? -Original Message- From: Andreas Hess [mailto:[EMAIL PROTECTED] Sent: Thursday, December 07, 2006 5:20 PM To: users@tomcat.apache.org Subject: tomcat switches off all the time I`m trying to install the tomcat 5.5.12 version on my computer,

Re: RE: tomcat switches off all the time

2006-12-07 Thread Andreas Hess
yes, I`m using the Windows Firewall... does a firewall have any influence on the activity of the tomcat-service? Original-Nachricht Datum: Thu, 7 Dec 2006 14:57:56 +0530 Von: Narayanaswamy, Mohan [EMAIL PROTECTED] An: Tomcat Users List users@tomcat.apache.org Betreff: RE:

Re: Is jsp designed for use by large websites

2006-12-07 Thread Andre Prasetya
Is SJAS 9 really using tomcat inside ? its already 2.5 and the behaviour is slightly different like the getContextPath(), and other function which returns null at tomcat 5.5 has a return value at SJAS 9. Log log = Utility.getLogger(this); ServletContext context =

Re: RE: RE: tomcat switches off all the time

2006-12-07 Thread Andreas Hess
Unfortunately the tomcat still switches off although I turned of the firewall. Original-Nachricht Datum: Thu, 7 Dec 2006 15:10:37 +0530 Von: Narayanaswamy, Mohan [EMAIL PROTECTED] An: Tomcat Users List users@tomcat.apache.org Betreff: RE: RE: tomcat switches off all the time

RE: RE: RE: tomcat switches off all the time

2006-12-07 Thread Narayanaswamy, Mohan
Do you find any clue from the Tomcat Logs? Regards, Mohan -Original Message- From: Andreas Hess [mailto:[EMAIL PROTECTED] Sent: Thursday, December 07, 2006 5:53 PM To: Tomcat Users List Subject: Re: RE: RE: tomcat switches off all the time Unfortunately the tomcat still switches off

RE: Is jsp designed for use by large websites

2006-12-07 Thread Peter Crowther
From: Leon Rosenberg [mailto:[EMAIL PROTECTED] I'd too like to know which communities are out-innovating java? My first like-for-like example would be .Net - and for those who don't think this is a community compared to Java, note that both have large companies supporting them. To anticipate

Tomcat 5.0.28 installed under LINUX - access to file system limited to tomcat user

2006-12-07 Thread Ekkehard.PETRI
Hello I have an installation of tomcat version 5.0.28 where tomcat runs under a user tomact on LINUX. My jsp application should read files from a directory. Read access to directory and files is limited to group sdf and file owner asd: drwxrws--- 17 asd sdf data

Re: Tomcat 5.0.28 installed under LINUX - access to file system limited to tomcat user

2006-12-07 Thread Martin Gainty
Ekkehard A quick clarification please..Are any of these directories sym-linked? M- --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and

RE: Tomcat 5.0.28 installed under LINUX - access to file system limited to tomcat user

2006-12-07 Thread Ekkehard.PETRI
Dear Martin, Indeed, they are. Thank you Ekkehard -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Thursday, December 07, 2006 3:21 PM To: Tomcat Users List Subject: Re: Tomcat 5.0.28 installed under LINUX - access to file system limited to tomcat user

Tomcat Manager deletion

2006-12-07 Thread Remy.Coqueugniot
Hi tomcat users, On a win32 environment, I've installed many Tomcat instances for one Tomcat home. Ex: -Service 1: set CATALINA_HOME=C:\tomcat55 set CATALINA_BASE=C:\tomcat_appliA -Service 2: set CATALINA_HOME=C:\tomcat55 set CATALINA_BASE=C:\tomcat_appliB For each of those instances, I've

Re: Server side forward across different webapps?

2006-12-07 Thread IT Desk
Yes, you can do this. You have to get the ServletContext of the other web app. Use your current servletContext and call getContext() with the uripath of the other web app. Use the returned context to get a RequestDispatcher. Use the RequestDispatcher as you would normally. See the servlet

RE: Server side forward across different webapps?

2006-12-07 Thread Caldarale, Charles R
From: IT Desk [mailto:[EMAIL PROTECTED] Subject: Re: Server side forward across different webapps? You have to get the ServletContext of the other web app. Use your current servletContext and call getContext() with the uripath of the other web app. Note that you must set the crossContext

tomcat5.5 service not find jre1.5.0, but startup.bat does

2006-12-07 Thread sb4
Under Windows XP Home, jre1.5.0, tomcat5.5, Oracle9i, JBuilder9 with jdk 1.4, StarTeam: My problem is with tomcat5.5 installed as a Windows service. It doesn't start. It logs the message: This release of Apache Tomcat was packaged to run on J2SE 5.0 or later I interpret that to mean it

How to set app as default context in Tomcat?

2006-12-07 Thread kkus
I am using Tomcat 5.5.20 and my app in XP. I need set my app as default context so I will only use url localhost:8080 instead of localhost:8080/app. The way I found is to set a context in Host of server.xml. But this led to my app loaded twice when it started. Meanwhile 5.5.20 has discouraged use

Is this possibe? mod_jk ==SSL== AJP/1.3

2006-12-07 Thread dfelicia
Can traffic between mod_jk and Tomcat's AJP connector be encrypted (without using ssh/stunnel)? I see SSL mentioned in the doc for AJP, but it's clear as mud: http://tomcat.apache.org/tomcat-5.5-doc/config/ajp.html So, in Apache, I am using SSL and mod_jk. I set these parameters per the

RE: Server side forward across different webapps?

2006-12-07 Thread Michael Hencin
Along this line of thought, I have one webapp. webApp1 and a second, I supply called webApp2. Is there a way, that I can lookup the context of webapp2, knowing that the customer may change the name of that webapp2 at deployment time? I cant rely on the webapp2 name, since a user could change that.

RE: How to set app as default context in Tomcat?

2006-12-07 Thread Caldarale, Charles R
From: kkus [mailto:[EMAIL PROTECTED] Subject: How to set app as default context in Tomcat? I am using Tomcat 5.5.20 and my app in XP. I need set my app as default context so I will only use url localhost:8080 instead of localhost:8080/app. The default app must be named ROOT. This is

Re: Is this possibe? mod_jk ==SSL== AJP/1.3

2006-12-07 Thread Martin Gainty
unless of course the Cert is self-signed with keytool I would remove all the certs from classpath and start with a 'True Certificate' signed by Verisign or Thawte M- --- This e-mail message (including attachments, if any)

Re: How to set app as default context in Tomcat?

2006-12-07 Thread Martin Dubuc
The way I am handling this, and it is probably not very clean, but it works for me, is to define an index.html file in webapps/ROOT with this content: html meta http-equiv=Refresh content=0; url=/app /html On 12/7/06, kkus [EMAIL PROTECTED] wrote: I am using Tomcat 5.5.20 and my app in

Re: Is this possibe? mod_jk ==SSL== AJP/1.3

2006-12-07 Thread fredk2
hi: As far as have seen there is no SSL support for AJP/1.3 - the trafic is in clear between the Apache and tomcat using mod_jk. I guess with apache 2 you can use mod_proxy and ssl to a tomcat using the http connector with ssl. If you have apache and tomcat on separate servers you might have

Timeout on request to response

2006-12-07 Thread Richard Doust
I'm having an issue using Apache with mod_jk (ajp13) to Tomcat under JBoss having to do with a request that is taking longer than one of those pieces thinks is reasonable to produce a result for the client. I have found an attribute of the Connector called connectionTimeout specified in

Auto-redeployment for a default web application

2006-12-07 Thread K. Chi Bui
I have appBase and docBase as different folders. The docBase contains the war files. We want to deploy one of the WAR file as a default application (i.e. with the context path of empty string ). Things seems to deployed okay on startup. (Even though it is deployed twice, I do not have the

RE: Auto-redeployment for a default web application

2006-12-07 Thread Caldarale, Charles R
From: K. Chi Bui [mailto:[EMAIL PROTECTED] Subject: Auto-redeployment for a default web application We want to deploy one of the WAR file as a default application (i.e. with the context path of empty string ). I just answered this question a couple of hours ago. Check this thread in the

Re: Auto-redeployment for a default web application

2006-12-07 Thread K. Chi Bui
I've tried using ROOT.war. Again, it is deployed fine on Tomcat startup. But it is not redeployed when u update the ROOT.war in either docBase and appBase directories. One interesting thing here is Apache suggests that we should not have docBase underneath appBase (or pointing these

Re: Tomcat 5.0.28 installed under LINUX - access to file system limited to tomcat user

2006-12-07 Thread Li
You dont have to become group member or owner to read. For secure reason, normally we create a group, only owner can write and execute for example, and only group member can read. If your reading access related to JDK or tomcat classpath etc. You have to create secure policy file and start tomcat

Re: Is this possibe? mod_jk ==SSL== AJP/1.3

2006-12-07 Thread dfelicia
As far as have seen there is no SSL support for AJP/1.3 - the trafic is in clear between the Apache and tomcat using mod_jk. I guess with apache 2 you can use mod_proxy and ssl to a tomcat using the http connector with ssl. Thanks for the reply, Fred. I feared that was the answer. The problem

Re: Auto-redeployment for a default web application

2006-12-07 Thread Mark Thomas
K. Chi Bui wrote: One interesting thing here is Apache suggests that we should not have docBase underneath appBase Where are you getting this from? If the docs say this they need fixing as this is absolutely not the case. The rule is appBase must not *equal* docBase. I have my WARs in

Re: mod_jk failover and preferring localhost

2006-12-07 Thread daneturner
I just tested with mod_jk 1.2.19 and it still seems as though the distance parameter is being ignored. Output from the status/monitor.page shows mod_jk alternating between tomcats with different distance values in workers.properties. How can I troubleshoot this further? Here's my

Re: Is this possibe? mod_jk ==SSL== AJP/1.3

2006-12-07 Thread Hassan Schroeder
On 12/7/06, dfelicia [EMAIL PROTECTED] wrote: mod_proxy is ... It also doesn't offer load-balancing, Not true; see http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html I've used this recently (with mod_proxy_ajp) and it worked fine. :-) FWIW, -- Hassan Schroeder

Re: mod_jk failover and preferring localhost

2006-12-07 Thread Rainer Jung
Short answer for your question: the two lines you tried to use as a distance configuration both have typos: workers.localhost.distance=10 workers.localhost.distance=20 workers - worker localhost - ritin (once) I just did a quick test with 1.2.20 (there should no be change wrt. distance

Re: Auto-redeployment for a default web application

2006-12-07 Thread K. Chi Bui
I have two different folders for appBase and docBase. I have my .wae files in the docbase and of course this is set in the Context tag. But having the war in the docBase, how can I tell Tomcat to redeploy them because they are not in 'appBase'? This is my main question. Mark Thomas

Re: Auto-redeployment for a default web application

2006-12-07 Thread K. Chi Bui
When using automatic deployment, the |docBase| defined by an XML Context http://tomcat.apache.org/tomcat-4.1-doc/config/context.html file should be outside of the |appBase| directory. If this is not the case difficulties may be experienced deploying the web application or the application may

Re: Auto-redeployment for a default web application

2006-12-07 Thread Mark Thomas
K. Chi Bui wrote: I have two different folders for appBase and docBase. I have my .wae files in the docbase and of course this is set in the Context tag. So, to be clear: - your host has an appBase directory - you have placed appname.xml files in the appBase, one per WAR file - you have a

Re: Auto-redeployment for a default web application

2006-12-07 Thread Mark Thomas
K. Chi Bui wrote: When using automatic deployment, the |docBase| defined by an XML Context http://tomcat.apache.org/tomcat-4.1-doc/config/context.html file should be outside of the |appBase| directory. If this is not the case difficulties may be experienced deploying the web application or

Re: mod_jk failover and preferring localhost

2006-12-07 Thread daneturner
Rainer Jung-3 wrote: Short answer for your question: the two lines you tried to use as a distance configuration both have typos: workers.localhost.distance=10 workers.localhost.distance=20 workers - worker localhost - ritin (once) Ouch. How stupid. Thanks for the correction.

Re: tomcat5.5 service not find jre1.5.0, but startup.bat does

2006-12-07 Thread Len Popp
Run the Configure Tomcat program (tomcat5w.exe). Click on the Java tab. It'll show you what JVM it's using. If it's wrong, turn off Use default and select the correct JVM. -- Len On 12/7/06, sb4 [EMAIL PROTECTED] wrote: Under Windows XP Home, jre1.5.0, tomcat5.5, Oracle9i, JBuilder9 with jdk

RE: Is jsp designed for use by large websites

2006-12-07 Thread JiaDong Huang
I believe SJAS 9 must be still using Tomcat. No reason for Sun to change the Servlet/JSP container. Agree? I can not comment about the stability of SJAS 9 as I am still using EJB2 - I did a quick try and realize I have to upgrade my EJB facility to EJB3. Would appreciate your findings! Dong

Web Service Request not passing through Mod_Jk

2006-12-07 Thread Peter Neu
Hello, I have a strange problem with mod_jk. Until now I never had trouble with mod_jk but lately I need to pass web service requests through to an Axis server running on tomcat (5.5.9). The strange thing is the pass-through works if the web service client resides on the same machine as apache