Re: mod_jk gmake recursion error on solaris 10 x86

2008-03-04 Thread ChrisS
takeshi nakashima wrote: Please try: # mkdir /opt/SUNWspro # mkdir /opt/SUNWspro/bin # ln -s /usr/sfw/bin/gcc /opt/SUNWspro/bin/cc It seems that bundled *Apache2* is built by Sun Studio. (But bundled *Apache* is not clear for me...) # grep ^CC /var/apache2/build/libtool CC="/opt/SUNWspro/bin/c

Re: mod_jk gmake recursion error on solaris 10 x86

2008-03-04 Thread ChrisS
takeshi nakashima wrote: Please try: # mkdir /opt/SUNWspro # mkdir /opt/SUNWspro/bin # ln -s /usr/sfw/bin/gcc /opt/SUNWspro/bin/cc It seems that bundled *Apache2* is built by Sun Studio. (But bundled *Apache* is not clear for me...) # grep ^CC /var/apache2/build/libtool CC="/opt/SUNWspro/bin/c

Re: mod_jk gmake recursion error on solaris 10 x86

2008-03-04 Thread takeshi nakashima
Please try: # mkdir /opt/SUNWspro # mkdir /opt/SUNWspro/bin # ln -s /usr/sfw/bin/gcc /opt/SUNWspro/bin/cc It seems that bundled *Apache2* is built by Sun Studio. (But bundled *Apache* is not clear for me...) # grep ^CC /var/apache2/build/libtool CC="/opt/SUNWspro/bin/cc" CC="/opt/SUNWspro/bin/c

Re: mod_jk gmake recursion error on solaris 10 x86

2008-03-04 Thread Partha Goswami
no not , softlink, copy, the file & paste. On Wed, Mar 5, 2008 at 11:58 AM, ChrisS <[EMAIL PROTECTED]> wrote: > ChrisS wrote: > > Partha Goswami wrote: > >> gcc is, located, in /usr/sfw/bin you have to export part, or make > >> soft link, > >> for that... > >> > >> On Wed, Mar 5, 2008 at 11:17 AM

Re: mod_jk gmake recursion error on solaris 10 x86

2008-03-04 Thread ChrisS
ChrisS wrote: Partha Goswami wrote: gcc is, located, in /usr/sfw/bin you have to export part, or make soft link, for that... On Wed, Mar 5, 2008 at 11:17 AM, ChrisS <[EMAIL PROTECTED]> wrote: I am trying to compile mod_jk current on Solaris 10 x86 (intel). After spending a huge amount of

Re: mod_jk gmake recursion error on solaris 10 x86

2008-03-04 Thread Partha Goswami
do one thing,, go /usr/sfw/bin folder, & copy the gcc file & paste it to, /usr/bin then try once again,, btw, which version of s-10 u r using? On Wed, Mar 5, 2008 at 11:46 AM, ChrisS <[EMAIL PROTECTED]> wrote: > ChrisS wrote: > > Partha Goswami wrote: > >> gcc is, located, in /usr/sfw/bin you hav

Re: mod_jk gmake recursion error on solaris 10 x86

2008-03-04 Thread ChrisS
ChrisS wrote: Partha Goswami wrote: gcc is, located, in /usr/sfw/bin you have to export part, or make soft link, for that... On Wed, Mar 5, 2008 at 11:17 AM, ChrisS <[EMAIL PROTECTED]> wrote: I am trying to compile mod_jk current on Solaris 10 x86 (intel). After spending a huge amount of

Re: mod_jk gmake recursion error on solaris 10 x86

2008-03-04 Thread Partha Goswami
ok. use this, # cd /usr/sfw/bin # ln-s gcc /usr/bin then try... & tell me.. On Wed, Mar 5, 2008 at 11:33 AM, ChrisS <[EMAIL PROTECTED]> wrote: > Partha Goswami wrote: > > gcc is, located, in /usr/sfw/bin you have to export part, or make soft > link, > > for that... > > > > On Wed, Mar 5, 2008

Re: mod_jk gmake recursion error on solaris 10 x86

2008-03-04 Thread ChrisS
Partha Goswami wrote: gcc is, located, in /usr/sfw/bin you have to export part, or make soft link, for that... On Wed, Mar 5, 2008 at 11:17 AM, ChrisS <[EMAIL PROTECTED]> wrote: I am trying to compile mod_jk current on Solaris 10 x86 (intel). After spending a huge amount of time, I finally

Re: mod_jk gmake recursion error on solaris 10 x86

2008-03-04 Thread Partha Goswami
gcc is, located, in /usr/sfw/bin you have to export part, or make soft link, for that... On Wed, Mar 5, 2008 at 11:17 AM, ChrisS <[EMAIL PROTECTED]> wrote: > I am trying to compile mod_jk current on Solaris 10 x86 (intel). After > spending a huge amount of time, I finally get it to compile and th

mod_jk gmake recursion error on solaris 10 x86

2008-03-04 Thread ChrisS
I am trying to compile mod_jk current on Solaris 10 x86 (intel). After spending a huge amount of time, I finally get it to compile and this is the output I receive. bash-3.00#./configure --with-apxs=/usr/apache/bin/apxs checking build system type... i386-pc-solaris2.10 checking host system type

weird log output

2008-03-04 Thread Lessie Z. Mitch
Running TC5.5.23 as lone web server on RHE4 box My apps are starting fine, logs are nice and clean, and then… this weird string appears within a few seconds: ßsnipà Mar 4, 2008 10:58:23 PM org.apache.coyote.http11.Http11BaseProtocol start INFO: Starting Coyote HTTP/1.1 on http-80 Mar

Re: Tomcat on Win2K3 Registry Edit.

2008-03-04 Thread Terence M. Bandoian
Hi- In Tomcat 4 on XP, I've been able to set Java options in HKLM \ SYSTEM \ CurrentControlSet \ Services \ Apache Tomcat 4.1 \ Parameters A similar key is created with Tomcat 5 but I have not used it and there are no apparent defaults set: HKLM \ SYSTEM \ CurrentControlSet \ Services \

Re: Getting the URL of a DataSource

2008-03-04 Thread Phil Steitz
On Mon, Mar 3, 2008 at 2:08 PM, Katilie, John <[EMAIL PROTECTED]> wrote: > All, this may be a dumb question but I've exhausted my research and just > wondering what other users out there are doing. > > I would like to get the URL for a DataSource to display for debugging > and/or > Informationa

RE: ssl.SessionId Cache keeps growing

2008-03-04 Thread Jeff MAURY
As Tomcat is using JSSE, there is a way to control the size of the SSL session's cache. Define a property called javax.net.ssl.sessionCacheSize with a non zero value: it will lower the total number of entries in the cache. By default, it is 0 so no sizing is performed. The defaut value of the sslt

RE: Why Tomcat hang for a while before starting

2008-03-04 Thread Caldarale, Charles R
> From: Mohamed Mohamedin [mailto:[EMAIL PROTECTED] > Subject: Why Tomcat hang for a while before starting > > "main" prio=1 tid=0x401161f0 nid=0x70ed runnable > [0x7fdc1000..0x7fdc35d0] > at java.io.UnixFileSystem.list(Native Method) > at j

Why Tomcat hang for a while before starting

2008-03-04 Thread Mohamed Mohamedin
Dear All, I have problems with very slow staring up time of tomcat (about 15 minutes). I have tried many solutions but still the same result. I have took this thread dump using "kill -3 tomcatpid" while the 15 minutes of no response and here is the dump: Full thread dump Java HotSpot(TM) 64

Re: Logging individual web applications

2008-03-04 Thread Adam Gordon
Neha- First, I assume you meant to say the WEB-INF/classes directory as that's where the log4j.properties file needs to be placed for a given web app. Second, you probably don't want to set the rootLogger to DEBUG as any libraries you use could potentially be affected by this and if you've e

Re: Overwritten or ignored ContentType by setContentType

2008-03-04 Thread Mark Thomas
André Schulte wrote: Why is the ContentType overwritten or maybe ignored by invoking the setContentType("application/xhtml+xml; charset=ISO-8859-1") ? Looking at the source, there are two possibilities: 1. The response has already been committed 2. The servlet is being included in another respo

Re: problems with mod_jk and https requests

2008-03-04 Thread Rainer Jung
Rafael Rossetto schrieb: Eran, Ensure that you correctly configured the ssl.conf for the JkMount directives. ... and also add all JkMounts to your ssl VirualHost. Regards, Rafael On 3/4/08, eranc <[EMAIL PROTECTED]> wrote: Hi, I have a web application running in tomcat 5.5 and usin

Re: mod_jk question

2008-03-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sury, In addition to what Rainer has said... Sury Balasubramanian wrote: | I am getting an 404 when i try to | access any tomcat url..http://leonardo/examples (for e.g.) [snip] | JkMount /examples/* worker1 Your JkMount line matches /examples/

Re: problems with mod_jk and https requests

2008-03-04 Thread Rafael Rossetto
Eran, Ensure that you correctly configured the ssl.conf for the JkMount directives. Regards, Rafael On 3/4/08, eranc <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a web application running in tomcat 5.5 and using Apache 2.0 with > mod_jk to forward the requests to tomcat. > Everything is

problems with mod_jk and https requests

2008-03-04 Thread eranc
Hi, I have a web application running in tomcat 5.5 and using Apache 2.0 with mod_jk to forward the requests to tomcat. Everything is working fine for http requests but not for https requests which are not forwarded correctly. When I go to the root of apache or a PHP application that I have instal

Re: best practices for WAR deployment in a cluster?

2008-03-04 Thread Ronald Klop
On Tue Mar 04 16:53:40 CET 2008 Tomcat Users List wrote: I apologize if this has been asked before or if it's mentioned in a FAQ (that I haven't found yet) but what are the best practices for deploying webapps across a cluster? The situation I will soon have is 6 application servers running T

Re: mod_jk question

2008-03-04 Thread Rainer Jung
Sury Balasubramanian wrote: Hello all, I am having trouble with Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8g mod_autoindex_color mod_jk/1.2.26 PHP/5.2.5 redirecting tomcat requests to the tomcat worker. I am getting an 404 when i try to access any tomcat url..http://leonardo/examples (

mod_jk question

2008-03-04 Thread Sury Balasubramanian
Hello all, I am having trouble with Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8g mod_autoindex_color mod_jk/1.2.26 PHP/5.2.5 redirecting tomcat requests to the tomcat worker. I am getting an 404 when i try to access any tomcat url..http://leonardo/examples (for e.g.) My webdav works ok,

best practices for WAR deployment in a cluster?

2008-03-04 Thread Julian Dunn
I apologize if this has been asked before or if it's mentioned in a FAQ (that I haven't found yet) but what are the best practices for deploying webapps across a cluster? The situation I will soon have is 6 application servers running Tomcat 5.5 and the manager webapp, each able to mount a filer

Re: Using a custom method of session-id propagation

2008-03-04 Thread Peter Stavrinides
The problem is that the server needs to be the one generating the session id for a number of reasons, i.e.: ensuring it is always unique and set correctly, and its best left that way... so I think you're walking down a dark alley and its not likely that the API would ever allow this as it opens

Re: Using a custom method of session-id propagation

2008-03-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tom, Tom van Wietmarschen wrote: | I've been looking at a way to do this but I can't find a solution, | filters seem to be too late in the chain: a request object is already | created and there is no way to even instantiate a session object from a |

Using a custom method of session-id propagation

2008-03-04 Thread Tom van Wietmarschen
L.S., I was wondering if it is possible to write a custom method of propagating the session ID between HTTP requests. Specifically: we want to store the session id in a X-ourcompanyname-sessionid header (we use a custom http client so we can modify that to send the sessionid back in a header). T

Re: APR-https failed (the server.xml is correct definitely)

2008-03-04 Thread Rémy Maucherat
On Tue, Mar 4, 2008 at 3:43 AM, Hanks Wang (hanwan) <[EMAIL PROTECTED]> wrote: > Hi guys, > > [ISSUE RESOLVED] > > I change back to Tomcat5.5 and everything works well now. write it here > in case someone meet same issue in future. The configuration did change in Tomcat 6.0. Rémy --

Re: Compilation issue on solaris 10

2008-03-04 Thread Edd
On Mon, Mar 03, 2008 at 09:42:44AM -0600, Caldarale, Charles R wrote: > > From: Edd [mailto:[EMAIL PROTECTED] > > Subject: Compilation issue on solaris 10 > > > > I require a custom build from source this time. > > Why do you think that? Tomcat is pure Java (other than the APR bit, > which you

Re: Manager undeploy task only stops webapp

2008-03-04 Thread Diego Rodríguez Martín
Hi, I've found the problem. As you said, it was a problem of configuration. I defined the docbase and also was using localwar parameter in ant task with the same dir as docbase. Removing the localwar parameter in ant task solved the problem Many thanks Diego Caldarale, Charles R

Tomcat 6 Valves Development

2008-03-04 Thread amit kumar
Hi, I am looking for some reference material or tutorial over net on how to begin with development of my own tomcat 6 valves. I have started looking at a book which is for tomcat 5 and it seems to import following from catalina.jar import org.apache.catalina.HttpResponse; import org.apache.catalin

Overwritten or ignored ContentType by setContentType

2008-03-04 Thread André Schulte
Hello, I use the Tomcat 6.016 on unix Following Problem. I set the contenttype in the Response setContentType("application/xhtml+xml; charset=ISO-8859-1") and log directly the Contenttype but it is null by calling getContentType() Why is the ContentType overwritten or maybe ignored by invoking