Re: Increasing Tomcat/Java memory

2006-03-28 Thread Harald Henkel
Thanks for all the replies, but I think the problem was really only that I didn't set the memory size correctly for Tomcat Service in WinXP (with environment var CATALINA_OPTS instead of registry values) and the export really needed more than the default 64M memory (or that what was remaining of th

Logs not getting generated in tomcat 5.5.12

2006-03-28 Thread GUNJAN SINGH
hi I'm using j2sdk1.4.2_09 version and tamcat 5.5.12 and myeclipse as an IDE. The problem is that logs are not getting generated under apache-tomcat-5.5.12/logs directory. The server is starting properly and i have added the required campatibility jars. Can any one tell me the reason as

Re: How to have mod_jk NOT forward certain jsp's?

2006-03-28 Thread Molot
2006/3/29, Long <[EMAIL PROTECTED]>: > - Original Message - > From: "michael thomas" <[EMAIL PROTECTED]> > > Hello, > > > > Is there a way to get mod_jk not to forward certain > > jsp's? Specifically, we are using cvsweb on Apache, > > and it creates URL's like the following: > > > > http:

Re: How to have mod_jk NOT forward certain jsp's?

2006-03-28 Thread Long
- Original Message - From: "michael thomas" <[EMAIL PROTECTED]> > Hello, > > Is there a way to get mod_jk not to forward certain > jsp's? Specifically, we are using cvsweb on Apache, > and it creates URL's like the following: > > http://www.site.com/cgi-bin/cvsweb.cgi/source/jsp/backoff

j_security_check error

2006-03-28 Thread VIKASS NAGPAL
Hi I have a single signon page after clicking on the single signon button I am getting the /control/j_security_check resource not available error. Can anyone help me in resolving this error. Thanks, With regards, Vikas Nagpal. __ Do You Yahoo!? Tir

How to have mod_jk NOT forward certain jsp's?

2006-03-28 Thread michael thomas
Hello, Is there a way to get mod_jk not to forward certain jsp's? Specifically, we are using cvsweb on Apache, and it creates URL's like the following: http://www.site.com/cgi-bin/cvsweb.cgi/source/jsp/backoffice.jsp Since it ends in .jsp, JkMount is forwarding it: JkMount /*.jsp app01 However

Re: Where does the output of -verbose:gc get written

2006-03-28 Thread David Kerber
It's in the jakarta_service_mmdd.log file, in your tomcat logs directory. Turbett, Tim wrote: I'm running Tomcat as a windows service. I want to study what's going on with the JVM memory. I add the -verbose:gc Java option, and start Tomcat. What directory and file contains the GC inf

Where does the output of -verbose:gc get written

2006-03-28 Thread Turbett, Tim
I'm running Tomcat as a windows service.  I want to study what's going on with the JVM memory.  I add the -verbose:gc Java option, and start Tomcat.   What directory and file contains the GC information?   Tim Turbett  Pegasystems  101 Main Street    Voice: (617) 374-960

RE: InputBuffer and Posting Data

2006-03-28 Thread Vikram Goyal
It's funny you should say that. maxHttpHeaderSize is the incorrect parameter to use in this case, but I noticed that by changing the size of this header parameter, I was able to send larger files, although not consistently. But what I don't understand is how this parameter is affecting the size

RE: InputBuffer and Posting Data

2006-03-28 Thread Vikram Goyal
Sorry Jon. Buf.length is the size of the buffer that I want to post. I have confirmed that this is being sent correctly. But as I said earlier, on the server side 8K is the maximum size of this data that is read. Vikram -Original Message- From: Jon Wingfield [mailto:[EMAIL PROTECTED] Sen

Re: tomcat 5.0 vs. 5.5? tomcat 5.5 has been bad!

2006-03-28 Thread Vamsidhar
I am assuming you have been using logger to log stack traces in case of errors in tomcat 5.0. This was deprecated in 5.0 and completely removed in 5.5. So, If you have logger defined for engine, host, or context to record the stack traces in a file in your application this will not work on tomcat

Re: tomcat 5.0 vs. 5.5? tomcat 5.5 has been bad!

2006-03-28 Thread dean
On number 1 5.0 logs the entire stack trace, so you can jump to the line number. On 5.5, no such stack trace in any file. Also, I searched a few lists and many people had questions on what was wron when they saw that error. I think the cause is the lack of informationit should at the very l

XMLSignature

2006-03-28 Thread Martin Gainty
Sorry for the O/T post but does Anyone know where XMLSignature lives? Thanks, Martin

Re: tomcat 5.0 vs. 5.5? tomcat 5.5 has been bad!

2006-03-28 Thread Remy Maucherat
On 3/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Anyone have much experience with running on these. On tomcat 5.5, I have > ran into many problems > 1. exception fron ServletContextListener.contextInitialized causes the > vague error of "Error listenerStart" with no details. Most people

How to populate session after authenticate

2006-03-28 Thread Terence M. Bandoian
Hi- As I understand it, HttpServletRequest.getRemoteUser() returns the user name entered if HTTP authentication (RFC2617) is used. According to the JavaDoc, its return value is "Same as the value of the CGI variable REMOTE_USER." -Terence M. Bandoian > Subject: > Re: How to populate session aft

RE: Ant Deploy Task Problem

2006-03-28 Thread Warren
I made the changes suggested and it works like a charm. As far as switching to Linux, I wouldn't want to do that, I enjoy banging my head up against the wall. Thanks all, > -Original Message- > From: Warren [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 28, 2006 11:14 AM > To: users@tom

Re: Ant Deploy Task Problem

2006-03-28 Thread dean
I found the following solution which worked great Change conf/context.xml from this to this worked great, or you can switch to Linux and not have to do anything :). later, dean > I get a "FAIL - Application already exists at path" message when I use the > deploy task after I have used the

tomcat 5.0 vs. 5.5? tomcat 5.5 very unstable

2006-03-28 Thread dean
I have been running into problem after problem it seems with 5.5.16. Does anyone know the stability differences between 5.0 and 5.5. Here are some examples so far(I think there are more but it has been so hardgoing in 5.5) 1. exception from ServletContextListener results in vague error of Error

Auto Login Using Realms - Is It Possible?

2006-03-28 Thread Neal
It seems to me that Tomcat security realms may be a bit inflexible. It seems easy to set it up to require login for protected resources, but it seems difficult to programmatically integrate and affect login state otherwise. I would like to accomplish a couple of very common authentication sce

tomcat 5.0 vs. 5.5? tomcat 5.5 has been bad!

2006-03-28 Thread dean
Anyone have much experience with running on these. On tomcat 5.5, I have ran into many problems 1. exception fron ServletContextListener.contextInitialized causes the vague error of "Error listenerStart" with no details. Most people on lists I have seen don't even know it was caused by Exception

RE: Auto Login Using Realms - Is It Possible? :(

2006-03-28 Thread Neal
Oh. I'm not sure I follow (a) how you new I responded to a thread or (b) how it cuases a problem. I removed all the text of the previous thread and even changed the subject name. It should've been a new thread I thought. :( Well, I guess I'll do it as you suggested moving forward. Do I need

Re: Auto Login Using Realms - Is It Possible? :(

2006-03-28 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread. Thi

Auto Login Using Realms - Is It Possible? :(

2006-03-28 Thread Neal
It seems to me that Tomcat security realms may be a bit inflexible. It seems easy to set it up to require login for protected resources, but it seems difficult to programmatically integrate and affect login state otherwise. I would like to accomplish a couple of very common authentication scen

Re: Running Two Web Sites in Tomcat 5

2006-03-28 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread. Thi

How to pass basic auth credentials from one tomcat server to another - SSO

2006-03-28 Thread Vivek Mohan
My scenario is something like this: There's an entry server webapp (tomcat 4.0 installation) which takes in the username/password from the user for basic authentication, authenticates the user and makes available links to various other webapps on different tomcat (4.0)installations. These can be on

RE: Ant Deploy Task Problem

2006-03-28 Thread Jim Freeby
I had the same problem with Tomcat, Windows and a Struts webapp. I updated my META-INF/context.xml as follows: and now undeploy can properly remove the webapp directory. Apparently there is a problem with windows locking resources, so that undeploy cannot delete the directory. -Ori

Re: Ant Deploy Task Problem

2006-03-28 Thread Kevin Klinemeier
Hi Warren, I had the same problem, and I feel that it's a bug: http://issues.apache.org/bugzilla/show_bug.cgi?id=39061 -Kevin On 3/28/06, Warren <[EMAIL PROTECTED]> wrote: > > I get a "FAIL - Application already exists at path" message when I use the > deploy task after I have used the undeploy

Ant Deploy Task Problem

2006-03-28 Thread Warren
I get a "FAIL - Application already exists at path" message when I use the deploy task after I have used the undeploy task. The undeploy task does work by itself, but it still leaves the directory structure /appname/WEB-INF/lib and the strut.jar. The deploy task will work when I shut down Tomcat, r

Re: How to set a default or root application?

2006-03-28 Thread Nic Daniau
What Marc said is probably true but what about all these poor users who don't use javascrip, hum? I also noticed that with Tomcat, the new context deployment method does not work: if you put your context.xml into META-INF, it's supposed to load it, and it works... except when your context is ROOT!

Re: Context startup order

2006-03-28 Thread Nic Daniau
I wouldn't bet on that, plus it would be a short term fix as it's meant to become a deprecated use of server.xml in future releases That said, I don't have the answer but I'm sure it's in the source if you take the time to go through it... On 28/03/06, Vivek Mohan <[EMAIL PROTECTED]> wrote: > > D

Re: how to install Tomcat 5.5.15 or 16 in Windows 2003?

2006-03-28 Thread Nic Daniau
ar... not sure about the "Tomcat actually does not install anything I think" bit, and JAVA_HOME is not required either... it's a param of the service config... you might want to read my post on "*running two instances of tomcat*" starting with "OK here we go", that might get you started with a Win

Re: NoClassDefFoundError in SystemLogHandler during Bootstrap in binary version

2006-03-28 Thread Cody Caughlan
Yes, I belatedly realized this. I undefined my classpath and am letting Tomcat build it in catalina.sh (not thats working, though). On 3/28/06, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: > >Classpath: /usr/local/apache-tomcat-5.5.16/bin: > > /usr/local/apache-tomcat-5.5.16/server/lib: >

Re: NoClassDefFoundError in SystemLogHandler during Bootstrap in binary version

2006-03-28 Thread Filip Hanik - Dev Lists
Classpath: /usr/local/apache-tomcat-5.5.16/bin: /usr/local/apache-tomcat-5.5.16/server/lib: /usr/local/apache-tomcat-5.5.16/common/lib: /usr/local/jdk1.5.0_06/lib:/usr/local/jdk1.5.0_06/jre/lib/ext this is not a valid classpath. you need to specify each JAR that you want included. only for .cla

Re: NoClassDefFoundError in SystemLogHandler during Bootstrap in binary version

2006-03-28 Thread Cody Caughlan
I looked at the Tomcat source code and that class should be in /server/lib/tomcat-util.jar. Which should be in the bootstrap classpath. For fun's sake I added that to the classpath environment variable building routine in catalina.sh and it still didnt work. /Cody On 3/27/06, Farrow, Marc <[EMAIL

RE: How to set a default or root application?

2006-03-28 Thread Farrow, Marc
Here is a work around if you want to use it. Change your default page (usually index.html or index.jsp) under your "/" context (ROOT) to redirect to the http://domain.com/Application using Javascript. window.location.replace(http://domain.com/Application); OR You can just set up y

How to set a default or root application?

2006-03-28 Thread Gamigin Gamigin
I deploy an application to my Tomcat server via .war file. It works perfectly but I must use: http://domain.com/Application I want to make this the default application so the user can use: http://domain.com My hosting provider told me to edit the conf/server.xml and find this element: An

Re: Context starts twice

2006-03-28 Thread Vivek Mohan
This can happen if you have a separate context path configured for your webapp and its present in your appbase. If thats the case, then Tomcat will try to load the webapp twice, once for the different context path and once for the presence of the war or folder in appbase. This is a known feature(or

Re: Context startup order

2006-03-28 Thread Vivek Mohan
Do you have all the contexts mentioned in one server.xml? or do you have separate context xmls for your separate contexts? If its the former case, then I guess, the order in which you mention the contexts in server.xml is going to be the order of starting them up by Tomcat. -- Vivek. On 3/28/06,

Re: how to install Tomcat 5.5.15 or 16 in Windows 2003?

2006-03-28 Thread Anoop kumar V
Did you try the non-exe install?? Tomcat actually does not install anything I think - it is mostly just a decompress of files and the setting of references to environment variables like JAVA_HOME etc.. setting of shortcuts on the start menu. initialising the service. So there should be a zippe

Re: First time with Tomcat

2006-03-28 Thread Jean-François Lebeau
Sorry, it was a Xp-Firewall issue. Thanks anyway! Jean-François Lebeau From: Franck Borel <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: Tomcat Users List Subject: Re: First time with Tomcat Date: Tue, 28 Mar 2006 09:05:22 +0200 Hi Jean-Francois, in fact that is the most stable

Re: multiple sessions being created with Tomcat Proxy and session is null

2006-03-28 Thread Mike Sabroff
Do you have any mappings for your servlet in a web.xml? I have always mapped my servlets in my web.xml, then made a JkMount the same as that mapping i.e. http://java.sun.com/dtd/web-app_2_3.dtd";> admincontrol com.bla.servlet.AdminServlet 4 admincont

RE: DefaultContext with JNDI resource in admin web-app

2006-03-28 Thread Farrow, Marc
Not sure if this is related to your specific error, but you need to add a resource link in the context.xml to the application. The resource (datasource) is defined globally, but you still need to point your app to that resource. webappname.xml snippet: -Original Message- Fr

Context startup order

2006-03-28 Thread Cord Awtry
All, I have several contexts that run on one server. I've slogged through documentation and googled until I can google no more, but I've been unable to find a way to specify an order to start them up (there's one in particular that I want to start first). Does anyone know of a way to

DefaultContext with JNDI resource in admin web-app

2006-03-28 Thread Todd Hill
When I try to add a JNDI lookup resource (DataSource) to the DefaultContext node in the server.xml file, I always get a "Error retrieving attribute debug" message (see attached screenshot). I have the server.xml is configured as follows:

RE: mod_jk 1.2.15 - is this a solution for High Availability Clustering?

2006-03-28 Thread Fictorie, H (kpn.com opr development)
What we use is (Solaris 8, Apache 2.0.55, mod_jk.1.2.15): worker.worker1.type=ajp13 worker.worker1.host=a.b.c.d worker.worker1.port=xyz worker.worker1.lbfactor=50 worker.worker1.cache_timeout=600 worker.worker1.recycle_timeout=600 worker.worker1.socket_timeout=62 worker.worker1.sticky_session=1 wo

Re: Tomcat, Security and RMI

2006-03-28 Thread Mike Sabroff
I have not used RMI since '98 and I know it has gone through some changes since then. It use to be that RMIC created stubs and skeletons fore marshalling the data and class structure. (That is not the case anymore is it?) But, when I did this...even though the stub was on one side and th skelet

multiple sessions being created with Tomcat Proxy and session is null

2006-03-28 Thread [EMAIL PROTECTED]
Greetings: I am looking for help with an issue that I cannot find the answer to on the web or list-archives. My issue is this: I use Tomcat 5.5 and jdk 1.5 on linux. 1)I have a custom jsp tag that puts string data in a Session attribute when the jsp page loads (via pageRequest.getSession().set

Re: SSL Using APR Connectors under Linux not working

2006-03-28 Thread Remy Maucherat
On 3/28/06, Armand Rock <[EMAIL PROTECTED]> wrote: > Thanks for the help...it works now...kind of... > Http is no longer functioning 100% of the time (random images seem to not > display anymore... > getting rid of the APR changes fixes the problem... > I'm going to have to take a look and see if t

Re: InputBuffer and Posting Data

2006-03-28 Thread Lothar Krenzien
Look for the value of "maxHttpHeaderSize" in your server.xml in the CATALINA_HOME/conf diretory. I had a similar problem. > -Ursprüngliche Nachricht- > Von: "Tomcat Users List" > Gesendet: 28.03.06 16:24:20 > An: Tomcat Users List > Betreff: Re: InputBuffer and Posting Data > What i

Re: SSL Using APR Connectors under Linux not working

2006-03-28 Thread Markus Schönhaber
Armand Rock wrote: > Thanks for the help...it works now...kind of... > Http is no longer functioning 100% of the time (random images seem to not > display anymore... > getting rid of the APR changes fixes the problem... > I'm going to have to take a look and see if there are any known bugs with > t

RE: SSL Using APR Connectors under Linux not working

2006-03-28 Thread Armand Rock
Thanks for the help...it works now...kind of... Http is no longer functioning 100% of the time (random images seem to not display anymore... getting rid of the APR changes fixes the problem... I'm going to have to take a look and see if there are any known bugs with the APR connectors under linux o

Re: InputBuffer and Posting Data

2006-03-28 Thread Jon Wingfield
What is buf.length? Is it the actual length of the data you want to post or is it 8k? The data you receive on the Tomcat side may be truncated by the Connector if the body data is longer than the value set for the Content-Length header. HTH, Jon Vikram Goyal wrote: Hi all, I am trying

Re: First time with Tomcat

2006-03-28 Thread Jean-François Lebeau
Yeah i'm running Apache 2, PHP and MySQ. I tried what you said, but if I remove the 8080 connectors, I can't access to Tomcat main page anymore, even on the PC running it.. Can you explain a bit more? Jean-François Lebeau From: Franck Borel <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List"

Subject: Single sign-on with multiple Tomcats served via one Apache httpd server

2006-03-28 Thread Nic Daniau
Hi there! Configuration: a. Apache httpd 2.0 server (IP0, port 80) with some content served from /cms b. Worker to a Tomcat 4.1 running on a separate box (IP1:8080) mapped to /app1 c. Anpother worker to another Tomcat 5.5 running on separate box (IP2:8080) mapped to /app2 Both Tomcats are using t

Re: How to populate session after authenticate

2006-03-28 Thread Nic Daniau
I use request.getUserPrincipal().getName() to get the username, does it work for you? Never quite understood what this getRemoteUser method was... if someone knows, I'm interested! On 28/03/06, Dave <[EMAIL PROTECTED]> wrote: > > I am using JBoss. The servlet Form authentication is nice, but I ne

Re: Running Two Web Sites in Tomcat 5

2006-03-28 Thread Corobitsyn Roman
You must RTFM http://tomcat.apache.org/tomcat-5.5-doc/ http://tomcat.apache.org/tomcat-5.5-doc/connectors.html http://httpd.apache.org/docs http://httpd.apache.org/docs/2.2/vhosts/name-based.html SA> Hi, I am to host two websites in Tomcat 5. What should I do. This is the SA> scenario. SA> I have

Re: failing webapp affects other sites

2006-03-28 Thread Edmund Urbani
feghoul mohamed wrote: hello why using mod_jk2 this version is not yet supported ? it's an older config. the system was originally set up before the "use jk2 or go back to jk" discussion. i might switch to mod_jk, if this helps solve the issue i've experienced. Edmund --

Re: failing webapp affects other sites

2006-03-28 Thread feghoul mohamed
hello why using mod_jk2 this version is not yet supported ? --- Edmund Urbani <[EMAIL PROTECTED]> wrote: > > hi! > > the config: > apache httpd 2.0 + mod_jk2 + several tomcat > instances > > the problem: > one of the webapps in a tomcat failed. the > application continued to > accept request

Running Two Web Sites in Tomcat 5

2006-03-28 Thread Shakeel Ahmad
Hi, I am to host two websites in Tomcat 5. What should I do. This is the scenario. I have two domain names: 1- www.gosmile.com 2- www.gosmiletv.com But I have a single IP address. I want to configure this in a way that both the URLs above are resolved to my single IP, but the web

troubles with Tomcat IIS-redirector help

2006-03-28 Thread feghoul mohamed
hello everybody I recently installed Tomcat V4.1.31 on my windows 2K Server machine with IIS 6.0. I'm trying to use the redirector to direct content from a host IIS webserver, to the Tomcat processor (again, these are on the same machine). I have been unable to get it working... Please help in a

failing webapp affects other sites

2006-03-28 Thread Edmund Urbani
hi! the config: apache httpd 2.0 + mod_jk2 + several tomcat instances the problem: one of the webapps in a tomcat failed. the application continued to accept requests, but they just hanged without a response. after a while the number of hanging request reached the MaxClients number specified

How to populate session after authenticate

2006-03-28 Thread Dave
I am using JBoss. The servlet Form authentication is nice, but I need something more flexible. Users are allowed to login on any unprotected page and stay in the same page after lgoin. I have database table to store username and password. After verifying username and password, what i