RE: Removal of headers in HttpServletResponse object

2006-07-21 Thread AS/ETO
Hi Martin, Thanks for the feedback but I am afraid that the example did not really solve my problem. As far as I can understand your example only includes adding a header not removing. It also relies on the standard HttpServletResponse methods which does not include a removeHeader method.

NTLM - IllegalStateException

2006-07-21 Thread George Azzopardi
Hi people, We are making use of NTLM to obtain the user credentials from the OS in order to provide single-signon. We successfully implemented this on Apache Tomcat 5. However, we are noticing that the localhost_logtimestamp.txt is reporting the following Exception very frequently. Although it

Re: 404 Error when trying to connect Tomcat Manager

2006-07-21 Thread Foo Shyn
Hi, i was using web at port 8080. But anyway, i found out the root cause. Some guy at the live server side there deleted the manager folder under the server folder. After replacing the folder and the xml file in it. everything runs smooth again. Thanx for the ideas and replies! Regards,

Re: Tomcat shutdowns unexpectedly - Please help

2006-07-21 Thread Arunan Kannan
Hi experts, I have found the solution to this problem. The problem is when we start a tomcat in solaris from a user shell (like telnet) , then when the shell quits, the tomcat might get stopped. The bourne shell gives the shutdown signal when the shell quits, to kill the tomcat process. The

Re: Tomcat shutdowns unexpectedly - Please help

2006-07-21 Thread Bob Hall
--- Arunan Kannan [EMAIL PROTECTED] wrote: I have found the solution to this problem. The problem is when we start a tomcat in solaris from a user shell (like telnet) , then when the shell quits, the tomcat might get stopped. The bourne shell gives the shutdown signal when the shell quits,

Re: FW: Intermittant images using https on tomcat

2006-07-21 Thread Andrew Miehs
Rob wrote: Hi Barry, It's only IE that has the problem. I've checked the URLs and they're fine. Sometimes the images appear and other times they don't, like there's a timeout problem in the https connector or something like that. Images under http work fine - haven't see any broken images

Re: Tomcat shutdowns unexpectedly - Please help

2006-07-21 Thread Arunan Kannan
Hi bob, please let me know where to configure it... should i go for 'nohup start_application' should i make changes in my script to start tomcat with nohup command? thanks, arunan On 7/21/06, Bob Hall [EMAIL PROTECTED] wrote: --- Arunan Kannan [EMAIL PROTECTED] wrote: I have found the

Re: Tomcat shutdowns unexpectedly - Please help

2006-07-21 Thread Arunan Kannan
Hi Bob, after starting the tomcat using the nohup command , tomcat refuses to stay alive once I logged out of telnet session. it seems that starting inside C shell is only solution in solaris... please let me know your thoughts and suggestions. I confirm that nohup is not working fine in this

Re: Tomcat shutdowns unexpectedly - Please help

2006-07-21 Thread Arunan Kannan
Hi Bob, I am sorry. I made some mistakes while adding nohup to start tomcat in my script. Starting tomcat with nohup command is a good solution to this problem. It makes tomcat process immune to SIGHUP as you said. thanks a lot for your help. please let me know your comments. thanks all

RE: Removal of headers in HttpServletResponse object

2006-07-21 Thread AS/ETO
Hi all, I am still struggling with the removal of header problem. I found that the ServletResponse has a reset() method which should delete all headers. I thought maybe I could use this and then reconstruct the response object with only the headers I want. I tried to do call this method in the

Re: Removal of headers in HttpServletResponse object

2006-07-21 Thread Jon Wingfield
You'll probably need to write your own connector! See prepareResponse method: http://svn.apache.org/repos/asf/tomcat/connectors/trunk/http11/src/java/org/apache/coyote/http11/Http11Processor.java

Re: Removal of headers in HttpServletResponse object

2006-07-21 Thread Markus Schönhaber
Geir Øvsttun wrote: I am still struggling with the removal of header problem. I found that the ServletResponse has a reset() method which should delete all headers. I thought maybe I could use this and then reconstruct the response object with only the headers I want. I tried to do call this

Re: Removal of headers in HttpServletResponse object

2006-07-21 Thread Jon Wingfield
Another approach would be to put Apache in front and use mod_headers: http://httpd.apache.org/docs/1.3/mod/mod_headers.html http://httpd.apache.org/docs/2.0/mod/mod_headers.html Note: I've not tried this approach and don't know if you can remove mandatory headers... Jon Wingfield wrote:

Is there an easy way to replace http-processor threads?

2006-07-21 Thread Leon Rosenberg
Hi, I have following situation. I have a pretty complex application with many layers most of them fully independent from the http-specifica. The layers are coupled via interfaces. Now I have the unpleasant situation that i need some information pretty deep in some use cases of the application

RE: Is there an easy way to replace http-processor threads?

2006-07-21 Thread Peter Crowther
From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Now I have the unpleasant situation that i need some information pretty deep in some use cases of the application (like current locale) which I only have at the top (servlet) level. We had the same issue with an app. Provided you remember that

Re: Is there an easy way to replace http-processor threads?

2006-07-21 Thread Leon Rosenberg
Thanx Peter, thats exactly what I needed, and no need to patch anything :-) Regards Leon On 7/21/06, Peter Crowther [EMAIL PROTECTED] wrote: From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Now I have the unpleasant situation that i need some information pretty deep in some use cases of the

Re: Loading TLD from JAR file?

2006-07-21 Thread Tim Funk
If the tld is in the META-INF directory, then you do not need to map it web.xml - it will be loaded by tomcat for you. Then in your JSP - use the mapping in the tld identified by uri, for example: urihttp://java.sun.com/jsp/jstl/core/uri -Tim Mike Wannamaker wrote: Is it possible to have

Re: getSession() thread-safe? User A can see user B's account

2006-07-21 Thread Timothy Collett
On Jul 20, 2006, at 8:36 PM, Dave wrote: Is the following method thread-safe? I use my own way for authentication. After authenticated, a user info is put into session, when logout, call session.invalidate(); Current symptom is: a user info gets into another user's session. So

Re: Tomcat fails to refresh connections when mySQL server on linux is shutdown and restarted

2006-07-21 Thread Christopher Schultz
Seetha, Are you getting the connection anew after restarting the server? It looks like you have this case: T0Connection x = Datasource.getConnection() T1Do some stuff T2Shutdown / restart MySQL T3x.prepareStatement() or other stuff ... FAIL The connection pool will

Re: getSession() thread-safe? User A can see user B's account

2006-07-21 Thread Christopher Schultz
DAve, Current symptom is: a user info gets into another user's session. So sometimes User A can see User B's info. The way to get session: is it thread-safe? public static HttpSession getHttpSession(boolean create) { FacesContext context = FacesContext.getCurrentInstance(); return

Re: NTLM - IllegalStateException

2006-07-21 Thread Christopher Schultz
George, We are making use of NTLM to obtain the user credentials from the OS in order to provide single-signon. We successfully implemented this on Apache Tomcat 5. However, we are noticing that the localhost_logtimestamp.txt is reporting the following Exception very frequently. Although it

Re: Is there an easy way to replace http-processor threads?

2006-07-21 Thread Christopher Schultz
Leon, As far as I see I have two opportunuties: 1. To alter all interfaces in all layers and add a CallContext parameter which would contain additional information gathered in the top level and evaluated on demand or 2. Have this CallContext object in somewhere in the VM, where I can access

Re: cluster SimpleTcpCluster in 5.5.17

2006-07-21 Thread Filip Hanik - Dev Lists
Are you saying that the message below keeps repeating itself? over and over again? what does your full log say? Filip Jean-frederic Clere wrote: Hi, I have trying to get the SimpleTcpCluster running but I only get: +++ INFO: Replication member

Re: getSession() thread-safe? User A can see user B's account

2006-07-21 Thread Dave
Hi Chris, I am using JSF (apache faces). The way to get Session or HttpServletRequest from a backing bean is through FacesContext. Backing beans are not servlet, so can not access HttpServletRequest directly. After synchronizing the method, I still got the same problem. It is

Re: Is there an easy way to replace http-processor threads?

2006-07-21 Thread Leon Rosenberg
Thank you Christopher, but Peter made the same (ThreadLocal) proporsal a bit earlier in the thread. However, as for the other point concerning interface change, I'm not looking for a quick solution but rather redesign our current architecture. The 'hidden' parameter transfer may be not a best

Re: getSession() thread-safe? User A can see user B's account

2006-07-21 Thread Dave
Hi Tim, It is very strange. I do not understand how a User object in Session A gets into Session B. It seems that after a session is expired or invalidated, that session is attached to another user's request. Just one guess. Please share more when you find anything. Thanks,

Re: getSession() thread-safe? User A can see user B's account

2006-07-21 Thread Timothy Collett
On Jul 21, 2006, at 9:50 AM, Dave wrote: Hi Tim, It is very strange. I do not understand how a User object in Session A gets into Session B. It seems that after a session is expired or invalidated, that session is attached to another user's request. Just one guess. Please share

Re: getSession() thread-safe? User A can see user B's account

2006-07-21 Thread Christopher Schultz
Dave, I am using JSF (apache faces). The way to get Session or HttpServletRequest from a backing bean is through FacesContext. Backing beans are not servlet, so can not access HttpServletRequest directly. After synchronizing the method, I still got the same problem. Synchronization is not

Re: Removal of headers in HttpServletResponse object

2006-07-21 Thread Martin Gainty
Good Morning Geir- So following the provided exampe if you setup a loop to response.getHeader to obtain each and every header value (enumerated here at) http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html and perform a response.setHeader() (except for the Date Header field which of course is

Re: getSession() thread-safe? User A can see user B's account

2006-07-21 Thread Christopher Schultz
Dave, It is very strange. I do not understand how a User object in Session A gets into Session B. It seems that after a session is expired or invalidated, that session is attached to another user's request. I think what's going on is that you have a global session, instead of individual

Re: Is there an easy way to replace http-processor threads?

2006-07-21 Thread Christopher Schultz
Leon, For example, if I need the current user's country somewhere deep in the BL I could change all interfaces inbetween and add the country (or locale) parameter, but than I have one of nine methods having this parameter. If I am consequent, I'd have to add standard parameters like current

Re: Removal of headers in HttpServletResponse object

2006-07-21 Thread Christopher Schultz
Geir, If this does not produce desired outcome I would look into Jon Wingfield's suggestion of -writing your own connector (which will specifically write its own response) -using mod_headers to modify the outgoing headers.. I think that option #2 makes the most sense, as this was

Re: getSession() thread-safe? User A can see user B's account

2006-07-21 Thread Timothy Collett
On Jul 21, 2006, at 10:12 AM, Christopher Schultz wrote: I think what's going on is that you have a global session, instead of individual sessions. User A is not seeing User B's session: everyone is seeing the /same/ session. From my earlier experiments, I believe that is *not* what is

Re: getSession() thread-safe? User A can see user B's account

2006-07-21 Thread Pid
Are you storing/defining these user details outside the doPost or doGet methods of any of the servlets used to access them? the only way that these details will (should, could) be shared across different user sessions are if the session hasn't been properly invalidated or cleared, and the user

Re: getSession() thread-safe? User A can see user B's account

2006-07-21 Thread Christopher Schultz
Timothy, I think what's going on is that you have a global session, instead of individual sessions. User A is not seeing User B's session: everyone is seeing the /same/ session. From my earlier experiments, I believe that is *not* what is happening, at least in my case. I took the

Re: getSession() thread-safe? User A can see user B's account

2006-07-21 Thread Timothy Collett
On Jul 21, 2006, at 10:27 AM, Christopher Schultz wrote: I still don't understand how JSF knows which session you are requesting. I'm sorry that I don't know a thing about JSF. That's OK, 'cause I'm not using JSF ;-) I'm just using Tomcat, and going on the assumption that when a session

RE: getSession() thread-safe? User A can see user B's account

2006-07-21 Thread Peter Crowther
From: Christopher Schultz [mailto:[EMAIL PROTECTED] Dave, It is very strange. I do not understand how a User object in Session A gets into Session B. It seems that after a session is expired or invalidated, that session is attached to another user's request. I think what's going on

How do I know the java version I need for Tomcat5.5

2006-07-21 Thread Mary Tata
Hi, I'm having problems with the installation of Tomcat 5.5. I'm using Ubuntu, and it gives me the following error: Exception in thread main java.lang.NoClassDefFoundError: while resolving class: org.apache.catalina.startup.Bootstrap at

Re: getSession() thread-safe? User A can see user B's account

2006-07-21 Thread Len Popp
On 7/21/06, Christopher Schultz [EMAIL PROTECTED] wrote: Dave, I am using JSF (apache faces). The way to get Session or HttpServletRequest from a backing bean is through FacesContext. Backing beans are not servlet, so can not access HttpServletRequest directly. After synchronizing the

RE: How do I know the java version I need for Tomcat5.5

2006-07-21 Thread Peter Crowther
Um. That's the GNU JVM. Does the problem still occur on Sun's JVM? http://home.concepts.nl/~bergmans/linux/install_applications_on_ubuntu.h tml#java may help - never tried it myself, I don't run Ubuntu. - Peter -Original Message- From: Mary Tata [mailto:[EMAIL

Re: getSession() thread-safe? User A can see user B's account

2006-07-21 Thread Mario Ivankovits
Hi! I still don't understand how JSF knows which session you are requesting. I'm sorry that I don't know a thing about JSF. Without going into any details, but JSF simply has a facesServlet which get the session from the request and puts it in its internal structures. So it simply takes

Re: getSession() thread-safe? User A can see user B's account

2006-07-21 Thread Christopher Schultz
Timothy, I still don't understand how JSF knows which session you are requesting. I'm sorry that I don't know a thing about JSF. That's OK, 'cause I'm not using JSF ;-) Oh, sorry. I thought you had indicated that fact. IF you're using straight-up servlet stuff, then I can certainly help.

Re: getSession() thread-safe? User A can see user B's account

2006-07-21 Thread Martin Gainty
YS proposed a fix which will specifically fix the ThreadCleaner http://mail-archives.apache.org/mod_mbox/tomcat-users/200306.mbox/[EMAIL PROTECTED] HTH, Martin -- * This email message and any files transmitted with it contain

Re: Tomcat Crashing -- how do I read the resulting hs_err_pid11598.log?

2006-07-21 Thread Kim Albee
Darryl, Yes I have the PID error file -- I just need to know how to read it. What was put into the catalina.out file is what I included in the original post -- I do have the PID error files also. Do you know how I would read them? Thanks, Kim :-) On 7/20/06, Darryl Miles [EMAIL PROTECTED]

Re: Tomcat Crashing -- how do I read the resulting hs_err_pid11598.log?

2006-07-21 Thread Kim Albee
Martin -- How do I tell when the memory allocation happens? what do I look for in the logfiles? I sent the output that was put into the catalina.out file with the original post -- there is nothing prior to that as far as errors in processing in the catalina.out file. thanks, Kim :-) On

JSP class loader

2006-07-21 Thread Nikita Belov
Hi All, I work on application which allows user to deploy/undeploy large number of the JSP pages to AppServer (JBoss 4.03sp1 + Tomcat 5.5). Standard Tomcat class loader caches classes for all deployed JSP internally and never clean its cache. This brings JVM to PermGen overflow error after

Re: Tomcat Crashing -- how do I read the resulting hs_err_pid11598.log?

2006-07-21 Thread Martin Gainty
the hs_err_pid*.log is reminiscent of the Command and Control buttons on the bridge of the Starship Enterprise In other words you cant tell what the different colored buttons mean unless you read the 1000 page manual beforehand (or in our case can talk to James Gosling!) so here goes..

Re: JSP class loader

2006-07-21 Thread Christopher Schultz
Nikita, I work on application which allows user to deploy/undeploy large number of the JSP pages to AppServer (JBoss 4.03sp1 + Tomcat 5.5). Standard Tomcat class loader caches classes for all deployed JSP internally and never clean its cache. This brings JVM to PermGen overflow error after

log rotation

2006-07-21 Thread Mirou, Antoine
Hello, What is the easiest way to do a log rotation with tomcat ? For example, I'd like to rotate catalina.out on a daily basis and have up to 5 versions kept. How can I do it ? Antoine Mirou Ce message et toutes les pièces jointes (ci-après le « message ») sont confidentiels et établis à

Re: log rotation

2006-07-21 Thread David Smith
catalina.out is the redirected output of tomcat -- not a product of log4j or commons-logging. As such you're best bet is to have a cron job stop tomcat, rename the file and then restart it at say 6:00am when the internet hits the lowest ebb of demand. That method should be safe for all OS's.

RE: Intermittant images using https on tomcat

2006-07-21 Thread Propes, Barry L
I wonder if you need to go into the Connections tab under Tools | (Internet) Options in the IE browser then click on the LAN settings to adjust something there? Maybe with a proxy or SSL connection? Either that or in the Advanced Settings tweak something? -Original Message- From: Rob

Load Balance not working for mod_jk???

2006-07-21 Thread Patrick Wang
Hi: Here is my situation: Linux Fedora 4.0 Apache 2.0.54 Tomcat 5.0.28 Mod_JK 1.2.14. JVM 1.5.0 I started 2 tomcat Instances listening on port 8009/8010, verified using JSVC nlp. They 2 instances shared the same code base but has their own webapp and server.xml/web.xml etc. Here is he

Re: Load Balance not working for mod_jk???

2006-07-21 Thread Mladen Turk
Patrick Wang wrote: Here is my httpd.conf JkMount /ucdiscovery/* worker1 JkMount /ucdiscovery worker1 JkMount /simple/* worker2 JkMount /simple worker2 Things work beautifully. But as soon as I put the worker.list=router And change the JkMount to router, nothing works. Did you changed

Re: log rotation

2006-07-21 Thread Martin Gainty
Ditto if you're looking for a universal rotator(independent of the log vendor source) suggest Implementing some sort flavor of cron job to do the rotating..such as http://www.interhack.net/projects/rotatelog/ M- * This email

RE: Load Balance not working for mod_jk???

2006-07-21 Thread Patrick Wang
Thanks for the comments, I checked this carefully several times to make sure only router appear in the worker list and JkMount router only. Pat -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: Friday, July 21, 2006 10:27 AM To: Tomcat Users List Subject: Re: Load

Re: Load Balance not working for mod_jk???

2006-07-21 Thread Mladen Turk
Patrick Wang wrote: Thanks for the comments, I checked this carefully several times to make sure only router appear in the worker list and JkMount router only. Then turn on the debug log level for mod_jk, and post the startup log messages. Anyhow, at least 1.2.15 is suggested. (1.2.14 is

BOOBIES!

2006-07-21 Thread Harris, Thomas
I have been trying to determine how to configure Tomcat 5.5.17 to have a shared appBase on multiple webapps, but have a different set of JSPs for each web app. I've followed the Wiki's CreateVirtualHosts page to configure multiple webapps that use exactly the same WAR file. But, I would like to

RE: BOOBIES!

2006-07-21 Thread Mead, Jennifer L - VSCM
Could this person (inject other undesirable word) please consider the fact that women are in the user's group also. Jennifer -Original Message- From: Harris, Thomas [mailto:[EMAIL PROTECTED] Sent: Friday, July 21, 2006 10:59 AM To: users@tomcat.apache.org Subject: BOOBIES! I have

Re: mod_jk.so problems going from Apache 2.0.55 to Apache 2.2.2

2006-07-21 Thread Sant
Can any one of you send me the copy of mod_jk.so for windows for apache2.2.2. my email address: [EMAIL PROTECTED] thanks. sanjeev -- View this message in context: http://www.nabble.com/mod_jk.so-problems-going-from-Apache-2.0.55-to-Apache-2.2.2-tf1660137.html#a5437728 Sent from the Tomcat -

RE: BOOBIES!

2006-07-21 Thread Mike Wannamaker
I believe the subject was posted under different subject heading with no response and he's trying to get people looking at it, which I'm sure he will now. That said, some proper netiquette is appreciated in forums. I believe that I'm doing something similar, but using a different approach. I too

RE: BOOBIES!

2006-07-21 Thread Oscar Mechanic
Yes I agree 100% please ensure as we live in the age of equality to use Subject WILLIES in your post. On Fri, 2006-07-21 at 14:09 -0400, Mike Wannamaker wrote: I believe the subject was posted under different subject heading with no response and he's trying to get people looking at it, which

Shared code but different pages on different virtual hosts? WAS: RE: BOOBIES!

2006-07-21 Thread Harris, Thomas
I wanted to have multiple web applications defined, all using the same core Java code, but each having different JSP and tag file folders. I tried following the example in the Tomcat Wiki at http://wiki.apache.org/tomcat/CreateVirtualHosts, but it assumes all the web apps have the same JSP and

Re: Shared code but different pages on different virtual hosts? WAS: RE: BOOBIES!

2006-07-21 Thread Avi Deitcher
Thomas, It seems more trouble than it is worth. I can think of two ways that make sense to do this: 1) Bundle all the common components in a jar or series of jars, and put them in with each separate webapp, or in /shared/lib, then use separate JSPs for each 2) Have common *everything*, but define

RE: Shared code but different pages on different virtual hosts? W AS: RE: BOOBIES!

2006-07-21 Thread Mike Wannamaker
Can't you just put the jar files into tomcat/shared/lib Mike Wannamaker Senior Software Developer Hummingbird Ltd. 552 Princess St, Kingston, ON, K7L 1C7 Tel: (613) 548-4355 x4535 Fax (613) 548-7801 E-Mail: Mike Wannamaker www.hummingbird.com IMPORTANT NOTICE: This communication is

RE: Shared code but different pages on different virtual hosts? W AS: RE: BOOBIES!

2006-07-21 Thread Sharma, Siddharth
Jar up the common code into one or more libraries. Put them somewhere (possibly at the enterprise app level) and add each jar in each webapp's MANIFEST file. -Original Message- From: Harris, Thomas [mailto:[EMAIL PROTECTED] Sent: Friday, July 21, 2006 2:19 PM To: Tomcat Users List

RE: Shared code but different pages on different virtual hosts? WAS: RE: BOOBIES!

2006-07-21 Thread Harris, Thomas
If I create a single jar and put it into shared/lib, then if I need to support more than one version of the core code, I can't. With each webapp/virtual host alias list specifying which WAR file to use, it'll allow me to run two versions of the core code at one time, with different sets of sites

Re: mod_jk.so problems going from Apache 2.0.55 to Apache 2.2.2

2006-07-21 Thread Mladen Turk
Sant wrote: Can any one of you send me the copy of mod_jk.so for windows for apache2.2.2. my email address: [EMAIL PROTECTED] thanks. http://tomcat.apache.org/dev/dist/win32/ Regards, Mladen. - To start a new topic, e-mail:

RE: Shared code but different pages on different virtual hosts? WAS: RE: BOOBIES!

2006-07-21 Thread Harris, Thomas
That means that for each change of the core code, I have to copy a jar to each of 40 web apps. That's what I've been trying to avoid... A maintenance nightmare. I want a single copy of each version of the core code (in a WAR file, or something) sitting on it's own, and each of the web apps refers

Re: Shared code but different pages on different virtual hosts? WAS: RE: BOOBIES!

2006-07-21 Thread Avi Deitcher
Ah, you are concerned about updates, a not-unreasonable concern. Well, you could get *really* fancy with classloaders and checking versions, then store the single jar, versionized, in /shared/lib, then declare your version in web.xml as a context param or within JNDI for that context. Another

RE: Shared code but different pages on different virtual hosts? W AS: RE: BOOBIES!

2006-07-21 Thread Sharma, Siddharth
Why can't you just put the jars in the WEB-INF/lib of each webapp then? Then you can have a different version of the jar for each webapp. Unless of course, tomcat uses the same classloader to load classes for all webapps. -Original Message- From: Harris, Thomas [mailto:[EMAIL PROTECTED]

RE: Shared code but different pages on different virtual hosts? W AS: RE: BOOBIES!

2006-07-21 Thread Sharma, Siddharth
No you don't copy. My suggestion was to have one physical jar(s) referenced in the manifest of all webapps. -Original Message- From: Harris, Thomas [mailto:[EMAIL PROTECTED] Sent: Friday, July 21, 2006 2:40 PM To: Tomcat Users List Subject: RE: Shared code but different pages on

Re: Shared code but different pages on different virtual hosts? W AS: RE: BOOBIES!

2006-07-21 Thread Avi Deitcher
Ah, that is nice and simple. Put versionized by name jars in /shared/lib/, but reference the specific versions in the manifest? But how do you ensure that the jars won't be loaded anyways? Sharma, Siddharth wrote: No you don't copy. My suggestion was to have one physical jar(s) referenced in

RE: Load Balance not working for mod_jk???

2006-07-21 Thread Patrick Wang
Thanks for the info. The latest binary download 1.2.15 for Linux on tomcat website indicate the latest version is 1.2.14. Attach a log, it looks like the balance worker router is found, why it tried to connect port 8007, it suppose to delegate the work to TOMCAT_INSTANCE1 which listen on port

RE: Shared code but different pages on different virtual hosts? W AS: RE: BOOBIES!

2006-07-21 Thread Sharma, Siddharth
Another way could be to deploy a single webapp in a single Tomcat instance so there are no classloading issues. But of course that will create as many VMs as there are webapps. -Original Message- From: Sharma, Siddharth Sent: Friday, July 21, 2006 3:04 PM To: 'Tomcat Users List'

Re: Shared code but different pages on different virtual hosts?

2006-07-21 Thread Martin Gainty
Thomas- For all shared web applications place your jar in $CATALINA_BASE/shared/lib to share for all webapps http://tomcat.apache.org/tomcat-4.1-doc/class-loader-howto.html Martin -- * This email message and any files

Setting heap once the tomcat JVM is started

2006-07-21 Thread sajid khan
Hi All, Can we set the JVM heap size after the Tomcat has started ? I mean to say configure heap at runtime Thanks

Re: log rotation

2006-07-21 Thread Garthfield Carter
I just knocked up this script for you. Add a cron job to run this at midnight: #!/bin/bash # Path to catalina logs directory CATALINA_LOG_DIR=/usr/local/jakarta-tomcat/logs # Today's data DATE=`date +%Y-%m-%d` # Create backup of catalina.out cat $CATALINA_LOG_DIR/catalina.out

Re: Setting heap once the tomcat JVM is started

2006-07-21 Thread Filip Hanik - Dev Lists
since the heap is a Java VM configuration, not a Tomcat setting, you would have to consult your VM vendors documentation. The short answer would be no. Filip sajid khan wrote: Hi All, Can we set the JVM heap size after the Tomcat has started ? I mean to say configure heap at runtime Thanks

RE: Load Balance not working for mod_jk???

2006-07-21 Thread Patrick Wang
Things worked after I modify the workers.properties to use Worker.router.balanced_workers Instead of Worker.router.balance_workers Based on the TOMCAT documentation the balance_workers should be used instead of the balanced_workers after MOD_JK version 1.2.7. Did anybody know how to check the

Re: Setting heap once the tomcat JVM is started

2006-07-21 Thread Garthfield Carter
I concur. I don't think it's possible at run-time. This would be a nightmare for hosting providers who set an upper limit knowing that user's could give their instances any amount of memory they required. Garthfield Filip Hanik - Dev Lists wrote: since the heap is a Java VM configuration,

Security Manager

2006-07-21 Thread Ryan Daly
Has anyone seen any issues while running with the security manager and it complaining that it doesn't have permission to do something when in fact the permission is in the policy file? I'm seeing the following error Caused by: java.security.AccessControlException: access denied

RE: Security Manager

2006-07-21 Thread Propes, Barry L
I think I got something like that a couple of days ago; I'll retry it to verify. -Original Message- From: Ryan Daly [mailto:[EMAIL PROTECTED] Sent: Friday, July 21, 2006 3:53 PM To: Tomcat Users List Subject: Security Manager Has anyone seen any issues while running with the security

Re: Tomcat Crashing -- how do I read the resulting hs_err_pid11598.log?

2006-07-21 Thread Kim Albee
OS = Fedora Core 3 Linux with all updates from yum. Java version = 1.5.0_03 Tomcat version 5.0.30 ok -- here is the jvm.cfg: # # @(#)jvm.cfg 1.8 04/02/02 # # Copyright 2003 Sun Microsystems, Inc. All rights reserved. # SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. # # # # #

mod_jk vs. mod_proxy_ajp

2006-07-21 Thread Edmon Begoli
I am seeing more and more blog entries and articles suggesting using mod_proxy_ajp over mod_jk. I have two questions on this subject: Can someone from this list please provide some practical examples and real stories on why should one use mod_proxy over mod_jk? Is mod_proxy meant as a future

Re: Tomcat Crashing -- how do I read the resulting hs_err_pid11598.log?

2006-07-21 Thread Martin Gainty
Kim- Did you see this catch this bit of legalese in tiny print Fedora Core 4 users are advised not to use the Java RPM provided by Sun. It contains Provides that conflict with names used in packages provided as part of Fedora Core 4. Because of this, Sun Java might disappear from an installed

Re: BOOBIES!

2006-07-21 Thread Michael Jouravlev
Right, equality and stuff. Female audience, at least its non-lesbian part, apparently has not been catered for. This is easy to fix. Will COCKS be good enough? Thomas, have you explored CATALINA_HOME and CATALINA_BASE, they may point to different directories. I haven't tried your setup, but

Re: different server.xmls

2006-07-21 Thread Mark Thomas
Pratap Parne wrote: can we configure tomcat in such a way that we have only one tomcat in the memory and have different server.xmls.one server.xml doent conflict with the other. No. One instance in memory = one configuration. Two configurations = two instances. You can, of course, have a

RE: Re: BOOBIES!

2006-07-21 Thread cknell
http://www.globaladrenaline.com/hbs/images/QN---Blue-Footed-Boobie-1.jpg -- Charles Knell [EMAIL PROTECTED] - email -Original Message- From: Michael Jouravlev [EMAIL PROTECTED] Sent: Fri, 21 Jul 2006 15:41:41 -0700 To: Tomcat Users List users@tomcat.apache.org Subject:

Re: Tomcat Crashing -- how do I read the resulting hs_err_pid11598.log?

2006-07-21 Thread Kim Albee
Martin, That's all interesting, but we're not running Fedora Core 4 -- we are running Fedora Core 3. Secondly, I've got this identical environment running in production without incident. This environment on this server used to run without incident until we had to replace the memory, and now it

Re: Tomcat Crashing -- how do I read the resulting hs_err_pid11598.log?

2006-07-21 Thread Bob Hall
--- Kim Albee [EMAIL PROTECTED] wrote: That's all interesting, but we're not running Fedora Core 4 -- we are running Fedora Core 3. Secondly, I've got this identical environment running in production without incident. This environment on this server used to run without incident until we

List etiquette

2006-07-21 Thread Wendy Smoak
On 7/21/06, Mead, Jennifer L - VSCM [EMAIL PROTECTED] wrote: Could this person (inject other undesirable word) please consider the fact that women are in the user's group also. Jennifer, I quite agree. This has no place on an Apache project mailing list (or any professional forum, for that