RE: Tomcat deployment question

2007-04-19 Thread Lakshmi Venkataraman
I have finally a working configuration. Please refer to the bottom of this email for the directory structure. In server.xml I changed appBase=webapps (original value) htdocs.xml is renamed as ROOT.xml as Rashmi suggested with docBase=${catalina.home}/htdocs Then I am able to type

Re: problems configuring mod_jk

2007-04-19 Thread Rainer Jung
Your worker.list entry is only a comment :( Faheem Mitha wrote: Hi, I'm trying to set up Apache to talk to Tomcat using the mod_jk connector. However, I get the following error in the log, /var/log/apache2/mod_jk.log jk_handler::mod_jk.c (1986): Could not find a worker for worker

Redirection problem after login

2007-04-19 Thread Sly_cardinal
Hi, I've seen this mentioned in a couple of places, unfortunately without resolution: A successful login, after attempting to access secure content, redirects the user to the previous page instead of the requested page. Login from an index page works as expected - it only occurs when

RE: How to create a kind of alias in tomcat

2007-04-19 Thread BENTOUHAMI MB Malek \(DCL\)
Thank you Johnny, I found a solution that consists to add welcome-file-list welcome-file/PLATFORM/FRENCH/EWICHART/JAVA/L1.html/welcome-file /welcome-file-list In the web.xml file I have to find a solution to point the name of the application to an alias. Rgds,

Re: Tomcat 5.5.17 and IPv6 configuration

2007-04-19 Thread Johnny Kewl
Hi SAVERIO, I just had IPv6 installed on a dev machine so I can make sure my code works with IPv6... like for example when you install IPv6 on XP and then http://localhost:8080 it comes into tomcat as a [::1] address, bet thats going to catch a few guys... I also figured out a way that you

Re: How to create a kind of alias in tomcat

2007-04-19 Thread Johnny Kewl
Yes... I imagined thats what you had... but you said you also wanted users the get through with http://10.124.40.29:9090/organigramme to the same page... How did you do that?? - Original Message - From: BENTOUHAMI MB Malek (DCL) [EMAIL PROTECTED] To: Tomcat Users List

loadbalancer + 2 tomcat

2007-04-19 Thread andrew00x
I have made loadbalancer on Apache2.0.54 + 2 Tomcats. Workers configured like this: ps=/ worker.list=balancer worker.tomcatA.port=8009 worker.tomcatA.host=host1 worker.tomcatA.type=ajp13 worker.tomcatA.lbfactor=1 #worker.tomcatA.activation=D

Re: Context.xml in tomcat 5.5

2007-04-19 Thread Avinash Kumar
thanks, In my web application context .xml is under TOMCAT_HOME\conf\context.xml their is not META-INF so do i need to create a META-INF directoru nd shift the context.xml i can modify it from where it is On 4/19/07, Andre Prasetya [EMAIL PROTECTED] wrote: the one at

RE: How to create a kind of alias in tomcat

2007-04-19 Thread BENTOUHAMI MB Malek \(DCL\)
I think I have to add an alias to context file orgewi.xml. I will try this afternoon and give you feedbacks. -Message d'origine- De : Johnny Kewl [mailto:[EMAIL PROTECTED] Envoyé : jeudi 19 avril 2007 10:23 À : Tomcat Users List Objet : Re: How to create a kind of alias in tomcat

JasperException: Array index out of range

2007-04-19 Thread Konrád Gábor
I use JBuilder 8 with Tomcat 4.1.30, and I run my WEB application in the JBuilder IDE. When the application is running I get the following error. Can anyone help me to solve this problem? Thank you in advance Gabor Konrad ApplicationDispatcher[/my-app]: Servlet.service() for servlet debugjsp

Jasper5 And Fedora Core 6, build-classpath problems [repost]

2007-04-19 Thread stephen.hindmarch
[Reposted after getting my wrist slapped by Mark] I am trying to use Jasper on Fedora Core 6 to precompile some of my jsp but I come across the following classpath builder errors when trying run the jasper script:- $ /usr/bin/jasper5.sh /usr/bin/build-classpath: error: Could not find

Re: Tomcat 5.5.17 and IPv6 configuration

2007-04-19 Thread SAVERIO FERRARO
Hi johnny, i think that is a id-scope problem. when i ping6 a remote computer i just run ping ipv6_local_link_address%4 and it runs corectly!!! i have just tried to conect with telnet ipv6_local_link_address%4 8080 and it run good! but when i put http://[ipv6_local_link_address%4]:8080 in url

Re: Context.xml in tomcat 5.5

2007-04-19 Thread Andre Prasetya
there are 2 context.xml : the global one at tomcat_home and the local one at the webapp. if you want a local one, create the folder META-INF outside WEB-INF, meaning that META-INF is not inside WEB-INF if you're using eclipse wtp, you may put the META-INF under WebContent folder. undder folder

Re: Context.xml in tomcat 5.5

2007-04-19 Thread Avinash Kumar
Hi, u wrote for example you need a DataSource (connection pool) that is shared for all application. you can configure a context.xml inside META-INF of your web app if it is shared by all application then sud i configure a context.xml inside META-INF of my web app..then ud it b common to

Re: Context.xml in tomcat 5.5

2007-04-19 Thread Andre Prasetya
there are 2 places you can configure the connection pooling at global and at local. for your case its global. yes it is at server.xmlbut you have to put an entry at context.xml so that the web.xml recognise it example GlobalNamingResources !-- Test entry for demonstration purposes --

Re: Context.xml in tomcat 5.5

2007-04-19 Thread Avinash Kumar
Thanks a Lot Sir, I more thing i got to ask regarding this is dat in tomcat 4.1 we dont have this context.xml file separately so if we do JNDI connection Pooling for all the web application present then where to set the context entries as we set in context.xml in tomcat 5.5 ,as because in

RE: Classloader leak

2007-04-19 Thread Gross, Keith
I'll need to strip the application of some confidential bits but since my test case only required the menu page that shouldn't be a problem. Once I have a test case were would you like it placed? -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 17,

Re: Classloader leak

2007-04-19 Thread Mark Thomas
Gross, Keith wrote: I'll need to strip the application of some confidential bits but since my test case only required the menu page that shouldn't be a problem. Once I have a test case were would you like it placed? Please create a bugzilla entry for it and add the war as an attachment.

Re: Jasper5 And Fedora Core 6, build-classpath problems [repost]

2007-04-19 Thread Mark Thomas
[EMAIL PROTECTED] wrote: So what I am wondering is have I missed off installing a compatibility package or is there a mistake in the jasper package that should either create these links or change the names required in the script? For reference the packages concerned are

Re: Max number of contexts

2007-04-19 Thread Diego Rodríguez Martín
Hi again, I have been evaluating the architecture described below (one kernel with lightweight webapps registered by ContextListener), but I'm still worried about memory. You said that memory will be the main limitation, but what I would like to know is how many memory overhead produces a

Re: Tomcat 5.5.17 and IPv6 configuration

2007-04-19 Thread Johnny Kewl
Yes... that because the crazy person that designed IP6 used an URL escape character... When you leave spaces in a URL say like http://123.123.123.123?mything=ure thing after the browser has got hold of it it becomes http://123.123.123.123?mything=ure%20thing See its encoding the

Re: problems configuring mod_jk

2007-04-19 Thread Faheem Mitha
On Thu, 19 Apr 2007, Rainer Jung wrote: Your worker.list entry is only a comment :( This does look like it in the email, but it is probably some artifact of the cutting and pasting process. To make sure, I've added a blank line after every comment. Anyway, that is not the problem. Any

Global Footer Accross All Webapps

2007-04-19 Thread Simon Stone
I am trying to find a way to put some html text on the bottom of all pages across all webapps. So what i would like to acheive is when any page is displayed to a visitor at the bottom of the page, MY text is added without changing the files within the webapp's themselves. Basically a global

RE: 404 and originally requested URL

2007-04-19 Thread Simon Stone
Have you tried using the request.getHeader(Referer) to get the page that sent the previous request Propes, Barry L [GCG-NAOT] wrote: did you check your logs? Did they tell you anything? -Original Message- From: Guilhem SEMPERE [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 18,

Re: Global Footer Accross All Webapps

2007-04-19 Thread Brantley Hobbs
You could easily do it with tiles. An alternative would be to use a filter and append your footer to the output stream. B. Simon Stone wrote: I am trying to find a way to put some html text on the bottom of all pages across all webapps. So what i would like to acheive is when any page is

Re: Global Footer Accross All Webapps

2007-04-19 Thread Brantley Hobbs
Doh. My coffee hasn't kicked in yet: I just noticed that you want one for every webapp, not just a single one. I wonder if you can do it with a valve. That's a tomcat specific thing, IIRC, so you might not be able to port that to some other container in the future. B. Simon Stone

Re: Tomcat 5.5.17 and IPv6 configuration

2007-04-19 Thread SAVERIO FERRARO
hi johnny, the problem has been resolved!!! I have set a global ipv6 address on the two computers, then I've set ipv6 routes on the computers because i have only a hub between the machine. They work!!! NOW,in Internet Explorer url, the %25ID or %ID doesn't need. Saverio From: Johnny

Re: sending smtp mail failure

2007-04-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 MT, Mighty Tornado wrote: It was churning for a long time and still didn't manage to send the email. But it left me this exception: [snip] Caused by: javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465,

Re: error-page directive in 5.5.20 - resending

2007-04-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eqbal, Eqbal wrote: I have an error-page directive in a webapp's web.xml to display a custom error page on 404/500 errors. . It works on my local machine which has Tomcat 5.5.17, but it does not work on my server which has 5.5.20 installed. Any

CAS Filter Authentification

2007-04-19 Thread Aurélien Allienne
Hi, I'm using a CAS Filter to authenticate user in Tomcat Administration and Manager. But I have a problem. I accept the certificate but I am not redirected to the CAS login page. I have write this in the web.xml of the admin webapps : !-- CAS filter -- filter filter-nameCAS

Re: Tomcat 5.5.17 and IPv6 configuration

2007-04-19 Thread Johnny Kewl
Ah... did you configure one machine as a router... or every single machines IP6 routing table? Did you find a good link somewhere... I'd like to understand this... I cant imagine that MS expects normal humans to configure routing tables thx - Original Message - From: SAVERIO

Re: Getting a project deployed

2007-04-19 Thread John Calsbeek
Yeah, this isn't my webserver. I'm not excited about pulling out an existing Apache setup... On 4/18/07, Rashmi Rubdi [EMAIL PROTECTED] wrote: It is most likely that the project is not configured properly. We can fix the 404 error by properly configuring your project for Tomcat alone. For

RE: Classloader leak

2007-04-19 Thread Gross, Keith
Ok the problem has been created and the example war attached. http://issues.apache.org/bugzilla/show_bug.cgi?id=42172 -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 7:18 AM To: Tomcat Users List Subject: Re: Classloader leak

Re: Getting a project deployed

2007-04-19 Thread Rashmi Rubdi
Ok, if you insist on having an Apache Httpd (even though you may or may not need it), someone on this list might help you further configure it. But I just wanted to say a few things... my reply is below... On 4/19/07, John Calsbeek [EMAIL PROTECTED] wrote: Yeah, this isn't my webserver. I'm

HowTo forward user name from apache via mod_jk to tomcat

2007-04-19 Thread Peter Neu
Hello, I'm doing user authentication on the apache server and forward then to tomcat. I know this is not the best way but I can't change it for now. :o( Until recently that was all but now I need to pass the user name to the tomcat server as well. Is there any way to do this? For authentication

Re: HTTP Status 503 - occurs once - only when i stop and start server

2007-04-19 Thread risky57
ok, ive restarted it, waited for a minute or more then tried opening the browser and didn't get that problem. but ive put a sleep for a minute for the first instance everytime i restart and this worked. i don't understand why id have to wait that long. and also why if i restart and launch a

Re: HTTP Status 503 - occurs once - only when i stop and start server

2007-04-19 Thread risky57
Does anyone know how to get more feedback from tomcat embedded? at the moment it tells me in started. but i know usually in regular tomcat there is a lot more info. Rashmi Rubdi-2 wrote: Hi there, Have you set-up your projects in a way that it overloads Tomcat? Or is there something

connection_pool_size seems not to have any incidence

2007-04-19 Thread boulot BOULOT
Hi, I have some Application Servers (tomcat) and 1 web server (httpd apache). (Linux RedHtat 3) Apache works with the worker mpm. There is an Apache Tomcat connector to link the web server to the ASs. I'm trying to limit the number of connection from the web server to the ASs, using the

Re: connection_pool_size seems not to have any incidence

2007-04-19 Thread Rainer Jung
A pool size of 1 for a thread count of 20 per process is somewhat strange. But OK, you could insist on this wish. Yes, it should be configurable like that. Start apache with JkLogLevel debug and check the log file about messages concerning the pool size. You don't need to produce any traffic

Jakarta Tomcat Connector on IIS

2007-04-19 Thread Swaroop George
I have an IIS server sitting in the DMZ and I need to be able to redirect all incoming requests to a Tomcat server in the in the internal network. I know that isapi_redirect.dll is the way to go about it. My question is 1) Does the DMZ server need a Tomcat installation for the redirect to work?

Re: HowTo forward user name from apache via mod_jk to tomcat

2007-04-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, Peter Neu wrote: I'm doing user authentication on the apache server and forward then to tomcat. I know this is not the best way but I can't change it for now. :o( Until recently that was all but now I need to pass the user name to the

RE: Jakarta Tomcat Connector on IIS

2007-04-19 Thread Peter Crowther
From: Swaroop George [mailto:[EMAIL PROTECTED] I have an IIS server sitting in the DMZ and I need to be able to redirect all incoming requests to a Tomcat server in the in the internal network. [...] But somehow my isapi filter shows as Not Loaded. Am I missing anything in the entire

Re: Tomcat 5.5.17 and IPv6 configuration

2007-04-19 Thread SAVERIO FERRARO
hi johnny, i want to explain you better. in an ipv6 network you can ping a machine with an ipv6 address but you have to specified the index of interface (e.g. index 4 for interface Local Area Connection). So if you want to ping: ping ipv6address%4 The IE and mozzilla doesn't know %4 or

Re: Jakarta Tomcat Connector on IIS

2007-04-19 Thread Swaroop George
Jakarta Tomcat Connector version - jk-1.2.22 for win64 http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win64/jk-1.2.22/ia64/ IIS 6.0 running on Windows 2003 On 4/19/07, Peter Crowther [EMAIL PROTECTED] wrote: From: Swaroop George [mailto:[EMAIL PROTECTED] I have an IIS

JSP not recompiling properly

2007-04-19 Thread Propes, Barry L
Hi, I've noticed that one of my JSPs seems to not be changing properly. I deleted the java and class files created in the work subdirectory where it's created upon being called. But it still calls the same data, and new string variables I've added and other parameters don't show. I had

RE: JSP not recompiling properly

2007-04-19 Thread Propes, Barry L
ok, very very odd. Java and Tomcat were doing their part, but for some reason, even though my JSP seemed to be saved on the surface, it wasn't getting updated accordingly through the OS or other system parts! Was still showing a last modified date of 3/16 even though I'd done substantial

Re: HowTo forward user name from apache via mod_jk to tomcat

2007-04-19 Thread Rainer Jung
In this case, why not simply use (mini test jsp): User: %=request.getRemoteUser()% :) Honestly: mod_jk forwards quote some information apache has to tomcat, because mod_jk knows it's a reverse proxy situation. Besides the SSL info mentioned on the apache page of mod_jk reference guide, there

Re: Getting a project deployed

2007-04-19 Thread John Calsbeek
On 4/19/07, Rashmi Rubdi [EMAIL PROTECTED] wrote: Check the configuration of the above aliasing. Normally URL Rewriting is done in a sequence, the first matching path pattern is applied, so it helps to check all patterns and see which is the first one that's being applied. The alias looks like

Re: HowTo forward user name from apache via mod_jk to tomcat

2007-04-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, Rainer Jung wrote: In this case, why not simply use (mini test jsp): User: %=request.getRemoteUser()% Oh, hey, that's a lot better. No config or anything ;) I didn't realize that REMOTE_USER was already being forwarded without further

SOLUTION: Tomcat 5.5.17 and IPv6 configuration

2007-04-19 Thread Johnny Kewl
OK... just want to get this documented because SAVERIO and I went around in circles on this thing... Problem started as TOMCAT doesnt work with IPv6 on XP SP2 You install IPv6... as you would any other protocol... ie right click on Local Area Connection and Install and select the IPv6 stack.

Re: Tomcat 5.5.17 and IPv6 configuration

2007-04-19 Thread Johnny Kewl
Hi SAVERIO, Yes just posted my findings. thanks very much, I think you got it with the Global address, but you should not have to set up routes on a local subnet routing if its still normal should only be on a router box... they have a million different protocols for self

Re: problems configuring mod_jk

2007-04-19 Thread Faheem Mitha
On Thu, 19 Apr 2007, Rainer Jung wrote: Debugging: via JkLogLevel debug, try to check, if your configured objects appear in the debug log and of course you are free to post the log. Hi Rainer, Thanks for your message. The relevant output from /var/log/apache2/mod_jk.log is appended below:

RE: Jasper5 And Fedora Core 6, build-classpath problems [repost]

2007-04-19 Thread stephen.hindmarch
I have raised bug 237140 on the Fedora bugzilla which can be tracked at https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237140 for those who are interested. I will report back to this list if I get any joy. -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: 19

Re: error-page directive in 5.5.20 - resending

2007-04-19 Thread Eqbal
Yes. It does not go to my custom page. It instead shows the default Tomcat messages. I also tried the changes suggested by Rashmi earlier but doesn't seem to work. Thanks. --- Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eqbal, Eqbal wrote:

JSTL and Tomcat 6.0.10 ConditionalTagSupport class missing?

2007-04-19 Thread Greg Vilardi
I have a problem porting one of my webapps from 5.0.28 to 6.0.10. I've reduced the problem to the testcase in this message. Briefly, the following test case produces the exception shown below it. The class referenced in the error does appear in the old JSTL jar that we are using. However it is

Re: problems configuring mod_jk

2007-04-19 Thread Mladen Turk
Well, will you uncomment the worker.list directive or not? If you choose not to then it will always give you the log like this. Faheem Mitha wrote: wc_get_worker_for_name::jk_worker.c (111): did not find a worker ajp13_worker This means that the ajp13_worker is not listed in worker.list=

performance with apache and tomcat

2007-04-19 Thread Eqbal
Hello, We are planning on using Tomcat as the Servlet container for one of our production systems. I would like to know if there are any performance issues using it together with Apache webserver 2.0 and the ajp connector (using mod_rewrite). Is performance expected to be better if we double up

Reload an individual class

2007-04-19 Thread cifroes
Hi all, I have an application composed of many JSPs, Javabeans, java classes, etc... I want to be able to alter one class and Tomcat to reload it. I changed my context.xml to have Context reloadable=true but my problem is that this reloads the whole web application. That means that while

Re: problems configuring mod_jk

2007-04-19 Thread Faheem Mitha
On Thu, 19 Apr 2007, Mladen Turk wrote: Well, will you uncomment the worker.list directive or not? If you choose not to then it will always give you the log like this. The worker.list directive was always uncommented. When I sent the original message, I think there was some kind of error

How Do I know when Tomcat Embedded has started?

2007-04-19 Thread risky57
Currently the output ends with INFO: Starting Coyote HTTP/1.1 on http-8080 how do i get output to tell me that Tomcat has started? check to see if it has started? like in regular tomcat, when its complete, it says something like started in 11s or something similar. i want something to

enable debug logging

2007-04-19 Thread cifroes
Hi all, I'm looking at Apache Tomcat source code and I'm seeing stuff like log.debug(...). How can i turn on the logging of these messages and where (which file) will they appear? Thanks in advance, -- cifroes - To start a

RE: Tomcat deployment question

2007-04-19 Thread Lakshmi Venkataraman
Please refer to the directory structure in the original message or At the bottom of this email. Given that directory structure, I have working configuration with appBase=webapps in server.xml (seems like a dummy value since we don't have anything in that directory). In

RE: IDE

2007-04-19 Thread Nelson, Tracy M.
| From: David Short [mailto:[EMAIL PROTECTED] | Sent: Tuesday, 17 April, 2007 11:35 | | NetBeans uses the embedded Tomcat 5.5.17 by default. How can a newly | installed Tomcat 5.5.20 be configured to be used as the default? Right-click on your project in the Projects tab, click Properties,

Re: performance with apache and tomcat

2007-04-19 Thread Leon Rosenberg
unless you explicitely need the httpd I wouldn't put it in front of tomcat, since besides less performance and security issues (last one like a month (?) ago with mod_jk) it doesn't bring you any benefits. Without knowing your requests (duration, resources they consume etc) its hard to make any

https - http redirect by tweaking config files only?

2007-04-19 Thread Edmund Mitchell
Hello all, For ridiculous reasons, I need to redirect some users from https port 8443 - http port . Hoping to do it without any code, which would force us to go through a longer qa cycle, hence the config file only. Seemed simple, but I can't get it to work. We're no longer using https,

RE: Tomcat deployment question

2007-04-19 Thread Caldarale, Charles R
From: Lakshmi Venkataraman [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat deployment question Please refer to the directory structure in the original message or At the bottom of this email. Given that directory structure, I have working configuration with appBase=webapps in server.xml

I get this error message while starting tomcat

2007-04-19 Thread peri
Hi, I'm a new user on tomcat. I'm using tomcat on my local machine for some application. I use tomcat version 4.1 MySql version 4.1.22 as database and eclipse 3.2 as ide. while I start tomcat on eclipse I got this error messsage: INFO: Initializing, config='ApplicationResources', returnNull=true

Re: JSTL and Tomcat 6.0.10 ConditionalTagSupport class missing?

2007-04-19 Thread Rashmi Rubdi
Hi Greg, This question really belongs to the JSTL mailing list. -Rashmi - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

How to use tomcat system path in log4j.properties

2007-04-19 Thread Vinit N
Hi I am getting FileNotFoundException log4j: Setting property [append] to [true]. log4j: setFile called: /log/reguser_log.html, true log4j: Parsed reguser options. log4j: Finished configuring. org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from

RE: performance with apache and tomcat

2007-04-19 Thread Gary Evesson
Unless of course you need mod_rewrite. We also handle millions a day with exactly this set up. Gary Evesson Decentrix Inc -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 1:30 PM To: Tomcat Users List Subject: Re: performance with apache

RE: performance with apache and tomcat

2007-04-19 Thread Eqbal
We will need to use SSL. What causes any performance overhead in using apache with Tomcat, considering they will be on the same server? --- Gary Evesson [EMAIL PROTECTED] wrote: Unless of course you need mod_rewrite. We also handle millions a day with exactly this set up. Gary Evesson

java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest

2007-04-19 Thread David Kerber
Running tomcat 5.5.15 on Windows server 2003. Why would I get the subject error when I'm deep into my code, and not near the top when I first use it? I'm getting this in a class that is buried several layers deep in a utility jar file. The servlet that calls this class is working fine, I

Re: How to use tomcat system path in log4j.properties

2007-04-19 Thread Vinit N
I am using jakarta-tomcat-5.0.28 and I did'nt set CATALINA_HOME system variable ... Vinit N wrote: Hi I am getting FileNotFoundException log4j: Setting property [append] to [true]. log4j: setFile called: /log/reguser_log.html, true log4j: Parsed reguser options. log4j: Finished

RE: performance with apache and tomcat

2007-04-19 Thread Gary Evesson
There are a few things that can get you: Make sure you have sufficient threads available for the mod_jk connector on the Apache side. Port 8009 by default. The default value is frighteningly low and not up to any real load. Make sure that the machine has enough memory. That is the biggest issue

Re: How to use tomcat system path in log4j.properties

2007-04-19 Thread Vinit N
Hey guys...please help me ? Vinit N wrote: Hi I am getting FileNotFoundException log4j: Setting property [append] to [true]. log4j: setFile called: /log/reguser_log.html, true log4j: Parsed reguser options. log4j: Finished configuring.

Re: How to use tomcat system path in log4j.properties

2007-04-19 Thread Rashmi Rubdi
Hi Vinit, This error is not related to Tomcat. It is basic Java related error and belongs to the Java Forums: is java.io.FileNotFoundException: class path resource [hello.xml] cannot be opened because it does not exist According to the error message, something in your code or in Spring

Re: tomcat context

2007-04-19 Thread Orlando Reis
Just deploy the context to anywhere you want it... jar xvf potatos.war Then as Andoni said: context path=bananas docBase=/path_contexts_directory/directory_where_you_extrated_the_war_file ... !-- Other stuff if necessary! -- /context Is that it? Orlando On 4/17/07, José Perdigão

Re: I get this error message while starting tomcat

2007-04-19 Thread Rashmi Rubdi
Hi Perihan, On 4/19/07, peri [EMAIL PROTECTED] wrote: Hi, I'm a new user on tomcat. I'm using tomcat on my local machine for some application. I use tomcat version 4.1 MySql version 4.1.22 as database and eclipse 3.2 as ide. while I start tomcat on eclipse I got this error messsage: INFO:

Re: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest

2007-04-19 Thread Rashmi Rubdi
Hi David, On 4/19/07, David Kerber [EMAIL PROTECTED] wrote: Check if you have servlet-api.jar in: C:\Program Files\Apache Software Foundation\Tomcat 5.5\common\lib\ Running tomcat 5.5.15 on Windows server 2003. Why would I get the subject error when I'm deep into my code, and not near the

Re: enable debug logging

2007-04-19 Thread Rashmi Rubdi
Hi cifroes, There's a file called logging.properties in the conf folder , which specifies where the log files will appear. According to the properties file, all Tomcat logs appear in the logs folder somewhere under Tomcat's folder. -Rashmi On 4/19/07, cifroes [EMAIL PROTECTED] wrote: Hi

Re: performance with apache and tomcat

2007-04-19 Thread Leon Rosenberg
On 4/19/07, Eqbal [EMAIL PROTECTED] wrote: We will need to use SSL. Can't you loadbalancer do it? Tomcat can serve SSL as well, but its tricky to get the keys to work properly. However, serving 800 parallel connections with SSL could be really tricky on one server. What causes any

Re: Applet Help

2007-04-19 Thread jub jub jedi
sorry, I read the wrong number... Tomcat 5.5 Rashmi Rubdi-2 wrote: On 4/17/07, jub jub jedi [EMAIL PROTECTED] wrote: Ok... I have Windows XP Home Edition, Java version 1.6.0, Tomcat version 2.0 (I think) Are you sure about the version of Tomcat, may be its 4.x, 5.x, 6.x ? Tomcat

mod_jk and image/png responses

2007-04-19 Thread John Cartwright
Hello All, I have a servlet which generates and returns an PNG, setting the mimetype with setContentType(image/png). Everything works fine when Tomcat directly handles the request. However, when using mod_jk to pass the requests through Apache, the mime type of the response seems to be

Re: JasperException: Array index out of range

2007-04-19 Thread Rashmi Rubdi
Hi Konrád , This error: StandardWrapperValve[action]: Servlet.service() for servlet action threw exception org.apache.jasper.JasperException: Array index out of range: 0 indicates that there's some code that is accessing the wrong index of an Array , either the index is less than 0 or

Re: https - http redirect by tweaking config files only?

2007-04-19 Thread Rashmi Rubdi
On 4/19/07, Edmund Mitchell [EMAIL PROTECTED] wrote: Anyone know how to make this happen? Thanks for your help! I'm just guessing that bay be a Filter can do the job, there are pre-written URL Rewrite filters if you don't want to write one. Edmund -Rashmi

Re: sending smtp mail failure

2007-04-19 Thread Mighty Tornado
I have ZoneAlarm running, but normally Zone Alarm notifies me if a program from within is trying to access the internet and let's me block it or let it go. Is it possible that ZA is blocking not my request to connect to the smtp server but the server's reply? On 4/19/07, Christopher Schultz

Re: Applet Help

2007-04-19 Thread jub jub jedi
Tomcat 5.5.23, Java 1.6.0 dimitryous wrote: In order for us to help you do that please: http://localhost:port/ and tell us what you get out of this URL. The version of Tomcat is located at the upper left corner of your screen. On WinXP, you get your java version in Config panel/java

RE: Tomcat deployment question

2007-04-19 Thread Lakshmi Venkataraman
Thanks Chuck! See my comments inline starting with Lakshmi: -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 12:58 PM To: Tomcat Users List Subject: RE: Tomcat deployment question From: Lakshmi Venkataraman [mailto:[EMAIL

Re: How Do I know when Tomcat Embedded has started?

2007-04-19 Thread Bill Barker
risky57 [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Currently the output ends with INFO: Starting Coyote HTTP/1.1 on http-8080 how do i get output to tell me that Tomcat has started? check to see if it has started? Assuming that you are using the Embedded class (as opposed

RE: Jasper compiler very slow

2007-04-19 Thread Berglas, Anthony
Thanks for the replies. But I suspect that there is something very odd going on, and possibly preventable. There is just no way that any reasonably written code could take that long to compile JSP. I have checked that it is CPU bound. Maybe there is some O(n^4) algorithm in there, but I cannot

Wildcard for server alias?

2007-04-19 Thread Jeremy Cowgar
Is it possible to do a wildcard on the server alias? I have something like username.hostname.com instead of hostname.com/~username/ ... I have a wildcard in DNS so I do not define each host. In the current apache version of the app, I have ServerAlias *.hostname.com which works great.

Re: SOLUTION: Tomcat 5.5.17 and IPv6 configuration

2007-04-19 Thread Johnny Kewl
Small correction ipconfig if ... is wrong ipv6 if ... will give u the interfaces And its a Win32 APACHE ipv6 enabled WEB server I'm looking for... one on apache.org is not ipv6 enabled. Dont confise this with TOMCAT... Tomcat 5.5.17 and above are DEFINITELY ipv6 enabled.

CAS Filter Authentification

2007-04-19 Thread Aurélien Allienne
Hi, I'm using a CAS Filter to authenticate user in Tomcat Administration and Manager. But I have a problem. I accept the certificate but I am not redirected to the CAS login page. I have write this in the web.xml of the admin webapps : !-- CAS filter -- filter filter-nameCAS