[RePost] webapp/path

2003-10-04 Thread Roland Carlsson
Hi!
 In my struts-config.xml i have the following in an action:

forward
  name=error
  path=/mywebapp/jsp/error.jsp/

Is there any way of telling struts to use the webapp-root instead of the
server-root so that I don't have to tell the name of the web-app... a
deployer might wanna deploy several instances of the web-app with different
names so i don't think it is a good idea to have to hard-code the path to
the webapp.

Thanks in advance
Roland Carlsson



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [RePost] webapp/path

2003-10-04 Thread Patrick Willart
Roland, you don't. Struts prepends the webapp-root for it.

-Original Message-
From: Roland Carlsson [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 04, 2003 12:30 AM
To: Tomcat Users List
Subject: [RePost] webapp/path


Hi!
 In my struts-config.xml i have the following in an action:

forward
  name=error
  path=/mywebapp/jsp/error.jsp/

Is there any way of telling struts to use the webapp-root instead of the
server-root so that I don't have to tell the name of the web-app... a
deployer might wanna deploy several instances of the web-app with different
names so i don't think it is a good idea to have to hard-code the path to
the webapp.

Thanks in advance
Roland Carlsson



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [RePost] webapp/path

2003-10-04 Thread Roland Carlsson
No, it doesn't? .. I'm gonna try again to be sure but the result I got when
moving the web-app from development to deployment was that paths got one
level to high. Webapp-root wasn't prefixed into the path.

Is there any configuration I missed?

Thanks in advance
Roland Carlsson

- Original Message - 
From: Patrick Willart [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Saturday, October 04, 2003 9:45 AM
Subject: RE: [RePost] webapp/path


 Roland, you don't. Struts prepends the webapp-root for it.

 -Original Message-
 From: Roland Carlsson [mailto:[EMAIL PROTECTED]
 Sent: Saturday, October 04, 2003 12:30 AM
 To: Tomcat Users List
 Subject: [RePost] webapp/path


 Hi!
  In my struts-config.xml i have the following in an action:
 
 forward
   name=error
   path=/mywebapp/jsp/error.jsp/

 Is there any way of telling struts to use the webapp-root instead of the
 server-root so that I don't have to tell the name of the web-app... a
 deployer might wanna deploy several instances of the web-app with
different
 names so i don't think it is a good idea to have to hard-code the path to
 the webapp.

 Thanks in advance
 Roland Carlsson



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [RePost] webapp/path

2003-10-04 Thread Roland Carlsson
Most strange. I think the problem was the following.

I had deployed a version with an error in the path. When updating the file
was locked (winxp?) so it didn't get updated. Now when removing the web-app
before installing it I got error that a library couldn't be removed so I
stopped tomcat and removed it and then started and installed the web-app
again. Now it seems to work.

Thanks for all help
Regards
Roland Carlsson


- Original Message - 
From: Roland Carlsson [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Saturday, October 04, 2003 10:24 AM
Subject: Re: [RePost] webapp/path


 No, it doesn't? .. I'm gonna try again to be sure but the result I got
when
 moving the web-app from development to deployment was that paths got one
 level to high. Webapp-root wasn't prefixed into the path.

 Is there any configuration I missed?

 Thanks in advance
 Roland Carlsson

 - Original Message - 
 From: Patrick Willart [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Saturday, October 04, 2003 9:45 AM
 Subject: RE: [RePost] webapp/path


  Roland, you don't. Struts prepends the webapp-root for it.
 
  -Original Message-
  From: Roland Carlsson [mailto:[EMAIL PROTECTED]
  Sent: Saturday, October 04, 2003 12:30 AM
  To: Tomcat Users List
  Subject: [RePost] webapp/path
 
 
  Hi!
   In my struts-config.xml i have the following in an action:
  
  forward
name=error
path=/mywebapp/jsp/error.jsp/
 
  Is there any way of telling struts to use the webapp-root instead of the
  server-root so that I don't have to tell the name of the web-app... a
  deployer might wanna deploy several instances of the web-app with
 different
  names so i don't think it is a good idea to have to hard-code the path
to
  the webapp.
 
  Thanks in advance
  Roland Carlsson
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



mod_jk2 and JOnAS

2003-10-04 Thread Peter Nabbefeld

Hi,

I've installed Apache 2.0.47 and the JOnAS/Tomcat (JOnAS 3.3, containing
Tomcat 4.1.27) bundle - but I can't get it working. I've appended the
configuration files and logs. Catalina log says, that a NullPointer occured. Any help
appreciated.

Kind regards

Peter Nabbefeld


jonas_config.zip
Description: Zip compressed data
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Server Locale and Supported Languages

2003-10-04 Thread Adam Hardy
Hi Jeremy,
what version of tomcat are you using, and what OS are you running on? Is 
your friend running on the same?

What does his response.getCharacterEncoding() say?

When you say can't display characters what do you mean? Question 
marks, square blobs?

Regards
Adam
On 10/03/2003 08:31 PM Jeremy Whitlock wrote:
Yoav,
That is a good place to start but that thread dead ended there.
I'll search Google in the mean time.  Anyways, if anyone has an answer
off the top of their heads, let me know.  Thanks, Jeremy
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 03, 2003 12:33 PM
To: Tomcat Users List
Subject: RE: Server Locale and Supported Languages

Howdy,
Is there a difference between his and your JAVA_OPTS?  Maybe this will
help:
http://lists.freebsd.org/pipermail/freebsd-java/2003-July/000545.html
Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
Sent: Friday, October 03, 2003 2:22 PM
To: Tomcat
Subject: Server Locale and Supported Languages
Tomcat List,
  I am trying to help a friend with a problem where his
JSP pages served by Tomcat can't display characters that are of
ISO-8859-1 charset.  I have no problem showing them on my box,
http://65.116.245.3/Jeremy/Charset.jsp , but he still can't get his to
work using the code I am using.  Is there something in Tomcat that can
create/cause this problem?  Thanks,
Jeremy Whitlock --- MCP/MCSA
IT Manager for Star Precision, Inc.
Phone:  (970) 535-4795
Metro:  (303) 926-0559
Fax:  (970) 535-0780
Metro Fax:  (303) 926-0559
http://www.starprecision.com




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

--
struts 1.1 + tomcat 5.0.12 + java 1.4.2
Linux 2.4.20 RH9
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Unable to access JSP page on local host

2003-10-04 Thread anunay ashish
Hi,
I am using TOMCAT to host JSP pages. The directory structure is:
C:\Program Files\Apache Group\Tomcat 4.1\webapps\Tracking_system
The page that I want to access is pageFormat.jsp inside Tracking_system
through the url: http://localhost:8080/Tracking_system/pageFormat.jsp
The web.xml file inside WEB-INF is containing only the following tag:
web-app
/web-app
I am not able to access the page. Sometimes I am able to and sometimes I am
not with the error description coming as:
The requested resource (/Tracking_system/pageFormat.jsp) is not available.


In fact /Tracking_system is also not shown as a directory.

Where am I doing wrong? What is the problem?
Regards,
Anunay Ashish.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Is it a Memory leak???

2003-10-04 Thread Satya Narayan Dash
Hi All,

Last time I posted this question, but did not get any response. Hope, this time I'll 
get.

I am running Apache 2.0.47 and Tomcat 4.1.27 with mod_jk as the connector. I am some 
issues w.r.t the memory consumption. In fact, in apache users forum, the user thinks 
it is an issue with mod_jk.so/dll.

I bombardded Apache with a large no. of JSP/Servlet pages and it ate up a few MBs of 
memory and did not release it,though it stablizes after consuming the memory. Again, 
if I am loading more JSP/Servlet pages, is starts increasing. The increment is in MB 
range, which is quite significant.

Even after killing all the clients, the memory is not getting released. 
The redirections of JSP/Servlet pages is proper and they are getting executed by 
Tomcat (from mod_jk.log).

Can anyone tell me where is the problem??? This happens only in Windows(I have tested 
in Win2k). In linux platform this is absent.

Any help is appreciated.

regards,
Satya.



Is it a Memory leak issue???

2003-10-04 Thread Satya Narayan Dash
Hi All,

Last time I posted this question, but did not get any response. Hope, this time I'll 
get.

I am running Apache 2.0.47 and Tomcat 4.1.27 with mod_jk as the connector. I am some 
issues w.r.t the memory consumption. In fact, in apache users forum, the user thinks 
it is an issue with mod_jk.so/dll.

I bombardded Apache with a large no. of JSP/Servlet pages and it ate up a few MBs of 
memory and did not release it,though it stablizes after consuming the memory. Again, 
if I am loading more JSP/Servlet pages, is starts increasing. The increment is in MB 
range, which is quite significant.

Even after killing all the clients, the memory is not getting released. 
The redirections of JSP/Servlet pages is proper and they are getting executed by 
Tomcat (from mod_jk.log).

Can anyone tell me where is the problem??? This happens only in Windows(I have tested 
in Win2k). In linux platform this is absent.

Any help is appreciated.

regards,
Satya.

Re: Help :- Filters .

2003-10-04 Thread Jacob Kjome
You might want to look into Tomcat-specific Valve's.  Valve's are 
essentially filters, but act at the level of Tomcat instead of at the level 
of each webapp and can be more powerful than filters.  The Tomcat docs 
describe existing valves.  I'd just take a look at one of those valves to 
get an idea of how to write your own...
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/valve.html

Jake

At 10:45 PM 10/3/2003 -0700, you wrote:

 I have configured a filter to do some preService
processing (i,e, before the request is passed onto the
webapp).
I, initially, configured it for a single webapp
(modified the relevant web.xml) and it worked fine.
Now, I want to configure it such that ALL webapps use
this filter. I tried to declare the filter in
%tomcat_home%\conf\web.xml, but this doesn't seem to
work.
Pls help me. How do I go about setting this filter so
that all webapps use it. (without modifying the
web.xml for each and every webapp).
Tahnk you very much.

--Steve.

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


deperatly looking for mod_jk.so for Apache/2.0.40 jakarta-tomcat-4.0.4

2003-10-04 Thread Randy Paries
hello,
 
I have spent two days tried t o build the mod_jk.so for Apache/2.0.40
jakarta-tomcat-4.0.4 on redhat 8
 
if  someone has a binary mod_jk.so for  this config , i would REALLY
REALLY appreciate it
 
Thanks


Re: Is it a Memory leak???

2003-10-04 Thread David Rees
On Sat, October 4, 2003 at 7:19 am, Satya Narayan Dash sent the following

 Last time I posted this question, but did not get any response. Hope, this
 time I'll get.

 I am running Apache 2.0.47 and Tomcat 4.1.27 with mod_jk as the
 connector. I am some issues w.r.t the memory consumption. In fact, in
 apache users forum, the user thinks it is an issue with mod_jk.so/dll.

 I bombardded Apache with a large no. of JSP/Servlet pages and it ate up a
 few MBs of memory and did not release it,though it stablizes after
 consuming the memory. Again, if I am loading more JSP/Servlet pages, is
 starts increasing. The increment is in MB range, which is quite
 significant.

 Even after killing all the clients, the memory is not getting released.
 The redirections of JSP/Servlet pages is proper and they are getting
 executed by Tomcat (from mod_jk.log).

 Can anyone tell me where is the problem??? This happens only in Windows(I
 have tested in Win2k). In linux platform this is absent.

This sounds like normal behavior of the servlet engine.  As JSPs are
called, they are loaded into memory, but they are never un-loaded.  You
will see memory usage climb as more JSPs are called.

-Dave


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



NPE in StandardHostValve.invoke

2003-10-04 Thread Peter Nabbefeld

Hello,

I've Tomcat and Apache httpd using mod_jk2. The catalina log file contains
the following error message:

2003-10-04 16:09:03 CoyoteAdapter An exception or error occurred in the
container during the request processing
java.lang.NullPointerException
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:263)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:360)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:604)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:562)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:679)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
at java.lang.Thread.run(Thread.java:534)

BTW: Tomcat is running from the JOnAS-3-3-Tomcat bundle (including Tomcat
4.1.27).

I would think, that there is some wrong configuration in server.xml. After
checking the source code, I think that 'context.getLoader()' is null (the
context is checked right before, and 'Thread.currentThread()' should never be
zero). Perhaps I've not the appropriate rights for anonymous access? Any idea?

Kind regards

Peter Nabbefeld


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat hanging!! About to change container!! Please help!!

2003-10-04 Thread David Rees
On Fri, October 3, 2003 at 1:02 pm, Remy Maucherat sent the following
 Interesting stuff about the logger.

 Anyway, in the dump, there's, as usual, only one connector listening on
 its server socket. And, as usual, it is Sun JDK 1.4.1 or 1.4.2 on Linux.
 I think there are way too many coincidences in these reports.
 I wonder what's the market share is today on Linux, but I don't even
 remember the last time I heard about stability issues with the IBM JDK.

It's also interesting that it seems that a number of these reports are
coming from Redhat 9 machines.

I would confirm that the machine is running all the latest errata updates
from Redhat (especially the glibc updates which have a number of thread
fixes) and at the same time also upgrade to the latest 1.4.2 JDK from Sun
(build 1.4.2_01-b06) if he doesn't want to try the latest from IBM.

-Dave

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



configuration of page encoding in tomcat 5

2003-10-04 Thread Adam Hardy
I'm testing the character encoding configuration in tomcat 5 in the 
deployment descriptor.

I'm using Struts - Tiles servlets and normal JSPs.

I'm using the locale-encoding-mapping-list/ and the jsp-config/ .

If I leave out the pageEncoding page directive from the JSPs and I leave 
out the page-encoding tag from the jsp-config, with the 
configuration below, the returned content-type http header is purely 
'text/html' with no character set.

I.e. tomcat ignores the locale-encoding-mapping-list/

Is this intentional? Is the locale-encoding-mapping-list/ overriden by 
the JSP page, which has no page encoding set?



I've got the following config:

  jsp-config
jsp-property-group
  description
Trial run
  /description
  display-nameGeronimo!/display-name
  url-pattern/WEB-INF/general/*/url-pattern
  el-ignoredfalse/el-ignored
  scripting-invalidfalse/scripting-invalid
  is-xmlfalse/is-xml
/jsp-property-group
  /jsp-config
  locale-encoding-mapping-list
locale-encoding-mapping
  localeen/localeencodingISO-8859-1/encoding
/locale-encoding-mapping
locale-encoding-mapping
  localede/localeencodingISO-8859-15/encoding
/locale-encoding-mapping
  /locale-encoding-mapping-list
I'm using

wget -S --header='Accept-Language: de' http://localhost:8080/home.do

to read the headers, if that makes any difference.

Adam

--
struts 1.1 + tomcat 5.0.12 + java 1.4.2
Linux 2.4.20 RH9
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Unable to access JSP page on local host

2003-10-04 Thread Tim Funk
1 - Try reinstalling tomcat without spaces in the path
2 - Webapps don't show up as a directory under /
3 - Does localhost_log_{date}.txt say anything about the webapp? It should.
-Tim

anunay ashish wrote:
Hi,
I am using TOMCAT to host JSP pages. The directory structure is:
C:\Program Files\Apache Group\Tomcat 4.1\webapps\Tracking_system
The page that I want to access is pageFormat.jsp inside Tracking_system
through the url: http://localhost:8080/Tracking_system/pageFormat.jsp
The web.xml file inside WEB-INF is containing only the following tag:
web-app
/web-app
I am not able to access the page. Sometimes I am able to and sometimes I am
not with the error description coming as:
The requested resource (/Tracking_system/pageFormat.jsp) is not available.
In fact /Tracking_system is also not shown as a directory.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Is it a Memory leak???

2003-10-04 Thread Tim Funk
The JVM does not release memory back to the OS. It just keeps it in its own 
internal heap of free memory.

-Tim

Satya Narayan Dash wrote:

Hi All,

Last time I posted this question, but did not get any response. Hope, this time I'll get.

I am running Apache 2.0.47 and Tomcat 4.1.27 with mod_jk as the connector. I am some issues w.r.t the memory consumption. In fact, in apache users forum, the user thinks it is an issue with mod_jk.so/dll.

I bombardded Apache with a large no. of JSP/Servlet pages and it ate up a few MBs of memory and did not release it,though it stablizes after consuming the memory. Again, if I am loading more JSP/Servlet pages, is starts increasing. The increment is in MB range, which is quite significant.

Even after killing all the clients, the memory is not getting released. 
The redirections of JSP/Servlet pages is proper and they are getting executed by Tomcat (from mod_jk.log).

Can anyone tell me where is the problem??? This happens only in Windows(I have tested in Win2k). In linux platform this is absent.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Is it a Memory leak issue???

2003-10-04 Thread Goehring, Chuck Mr., RCI - San Diego
Satya,

Roomer was the Java compiler leaks memory when it compiles(as for JSPs).  Solution is 
to compile offline.   Don't know what versions or if even true, but I've seen it 
mentioned several times.  Search the archives at http://marc.theaimsgroup.com.

Chuck

-Original Message-
From: Satya Narayan Dash [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 04, 2003 7:20 AM
To: [EMAIL PROTECTED]
Subject: Is it a Memory leak issue???


Hi All,

Last time I posted this question, but did not get any response. Hope, this time I'll 
get.

I am running Apache 2.0.47 and Tomcat 4.1.27 with mod_jk as the connector. I am some 
issues w.r.t the memory consumption. In fact, in apache users forum, the user thinks 
it is an issue with mod_jk.so/dll.

I bombardded Apache with a large no. of JSP/Servlet pages and it ate up a few MBs of 
memory and did not release it,though it stablizes after consuming the memory. Again, 
if I am loading more JSP/Servlet pages, is starts increasing. The increment is in MB 
range, which is quite significant.

Even after killing all the clients, the memory is not getting released. 
The redirections of JSP/Servlet pages is proper and they are getting executed by 
Tomcat (from mod_jk.log).

Can anyone tell me where is the problem??? This happens only in Windows(I have tested 
in Win2k). In linux platform this is absent.

Any help is appreciated.

regards,
Satya.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Is it a Memory leak issue???

2003-10-04 Thread Filip Hanik
read up on the Jasper section in the tomcat docs, on how to set the fork
flag.

also, you can precompile you JSPs,
http://cvs.apache.org/~fhanik/precompile.html

Filip

- Original Message -
From: Goehring, Chuck Mr., RCI - San Diego
[EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]; Satya Narayan
Dash [EMAIL PROTECTED]
Sent: Saturday, October 04, 2003 2:51 PM
Subject: RE: Is it a Memory leak issue???


Satya,

Roomer was the Java compiler leaks memory when it compiles(as for JSPs).
Solution is to compile offline.   Don't know what versions or if even true,
but I've seen it mentioned several times.  Search the archives at
http://marc.theaimsgroup.com.

Chuck

-Original Message-
From: Satya Narayan Dash [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 04, 2003 7:20 AM
To: [EMAIL PROTECTED]
Subject: Is it a Memory leak issue???


Hi All,

Last time I posted this question, but did not get any response. Hope, this
time I'll get.

I am running Apache 2.0.47 and Tomcat 4.1.27 with mod_jk as the connector.
I am some issues w.r.t the memory consumption. In fact, in apache users
forum, the user thinks it is an issue with mod_jk.so/dll.

I bombardded Apache with a large no. of JSP/Servlet pages and it ate up a
few MBs of memory and did not release it,though it stablizes after consuming
the memory. Again, if I am loading more JSP/Servlet pages, is starts
increasing. The increment is in MB range, which is quite significant.

Even after killing all the clients, the memory is not getting released.
The redirections of JSP/Servlet pages is proper and they are getting
executed by Tomcat (from mod_jk.log).

Can anyone tell me where is the problem??? This happens only in Windows(I
have tested in Win2k). In linux platform this is absent.

Any help is appreciated.

regards,
Satya.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RH9's Apache 2 and Tomcat 4

2003-10-04 Thread Dave Thomas
We have an application that we have been suing Apache 1.3 with Tomcat
3.3 with for a while and I would like to test out using our app with
Tomcat 4 and RedHats default install of Apache 2. I have found a few
'how tos' on the subject but they all seem to be a bit dated and do not
apply to the current release of Tomcat and mod_jk2. Can anyone suggest
any docs or offer any info on this subject?

Also, how if the performance for Tomcat 4 vs Tomcat 3?

Thanks for any info,
Dave Thomas
[EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: RH9's Apache 2 and Tomcat 4

2003-10-04 Thread Chong Yu Meng
Hi Dave,

Do NOT use the default Apache that comes with RH9 ! According to some 
reports, there are some serious bugs inside it. I'm using RH9, but my 
Apache comes from Falsehope.com 
(http://ftp.falsehope.com/home/gomez/apache2/). It takes a bit of 
tweaking, but you can get the Falsehope rpm to play nice with Tomcat.

Regards,
pascal chong
Dave Thomas wrote:

We have an application that we have been suing Apache 1.3 with Tomcat
3.3 with for a while and I would like to test out using our app with
Tomcat 4 and RedHats default install of Apache 2. I have found a few
'how tos' on the subject but they all seem to be a bit dated and do not
apply to the current release of Tomcat and mod_jk2. Can anyone suggest
any docs or offer any info on this subject?
Also, how if the performance for Tomcat 4 vs Tomcat 3?

Thanks for any info,
Dave Thomas
[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Apache2+ mod_jk2+ MultipleTomcats 4.1.X in Load Balancing and Context Switching

2003-10-04 Thread Abhijit Aklujkar
The attachmet just contains the step by step guidelines to achieve the 
configuration.
I sent this as an attachment because the ascii diagram explaning the 
scenario diffuses when I post it from hotmail.

You are welcome with questions if any...I will be glad to help you out.

-Abhijit

_
Buy now! Receive a gold coin on Dhan Teras. 
http://server1.msn.co.in/features/general/dhanteras/index.asp Celebrate 
prosperity!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]