Re: intergrating with apache

2005-07-04 Thread Alan Chandler
On Monday 04 July 2005 05:14, ganesan malairaja wrote: i have setup tomcat 4.1.31 with j2sdk 1.4.2_08 .. now i need to know how to integrate apache with tomcat .. as i came across examples for tomcat 3.x.x i am not sure the same procedures can be applied i am using linux enviroment ..

connection refused

2005-07-04 Thread ganesan malairaja
hi guys when i try to access tomcat using //localserver:8080 it says connection refused .. why is this ? how do i solve this ? i need to check whether the default page of tomcat loading or not note that .. i neva do any changes .. i installed tomcat and started it .. when i try to access

Re: connection refused

2005-07-04 Thread Anto Paul
On 7/4/05, ganesan malairaja [EMAIL PROTECTED] wrote: hi guys when i try to access tomcat using //localserver:8080 it says connection refused .. I presume it is http://localhost:8080 or hostname:8080. Check for any firewalls. Check log messages in console. -- rgds Anto Paul

Apache Jakarta-Tomcat using very slow

2005-07-04 Thread Lars Nielsen Lind
Hi. I am using Apache 2.0.54 and Jakarta-Tomcat-5.5.9 with mod_jk 1.2.10, and after some time it is becomming very slow. When I restarts Apache and Jakarta-Tomcat the server regains resources. Any solutions? thanks, Lars Nielsen Lind

Re: connection refused

2005-07-04 Thread ganesan malairaja
sorry guys problem solved when i type catalina.sh start .. i could not access the //localhost:8080 but when i type catalina.sh run .. now i could access the default page.. but is this the corect way to start tomcat thanks i am using tomcat 4.1.xx From: Anto Paul [EMAIL PROTECTED]

Re: connection refused

2005-07-04 Thread ganesan malairaja
sorry guys i think the aparent delay in tomcat is the cause of the problem.. when i close and open back my browser then i can acces the page with out a problem is this a known problem .. anything can be done to overcome this ? thanks .. sorry for waisting ur time and ur inbox space :D

RE: Problem compiling JSPs with Tomcat as Windows Service

2005-07-04 Thread Peter Crowther
From: Trevor Quinn [mailto:[EMAIL PROTECTED] When I deploy a web application to a Windows 2K server running Tomcat 5.0.28 and JDK 1.5, I see Unable to compile JSP errors on every JSP page, but only when Tomcat is running as a Windows service. When I run Tomcat from the console window,

mod_jk and errors on Apache version 2.0.54

2005-07-04 Thread Donald Lowe
I am having a problem with connections between Apache2 and tomcat. Could some one point me to a tutorial on setting up the Apache tomcat connectors with the following units. Or if you have had this problem please advise on how to sort it out. Apache version 2.0.54 Tomcat 5.5.7

RE: Jsp Pre-compilation

2005-07-04 Thread Nils Liebelt
Yeboo, The pathes needed to be absolute. Thanks for the help. Sorry for the late reply. Gruss Nils mtgglf -Original Message- From: Bernhard Slominski [mailto:[EMAIL PROTECTED] Sent: Thursday, June 30, 2005 3:18 PM To: 'Tomcat Users List' Subject: AW: Jsp Pre-compilation Hi Nils,

Re: how do i prevent tomcat5 from adding trailing slash?

2005-07-04 Thread Edmund Urbani
Bill Barker wrote: Edmund Urbani [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] hi! i ran into some trouble with tomcat5 and its slash adding behaviour. there's this MS WebFolder client (M$ for WebDAV), that does not seem to be able to cope with status 302 redirects in some

tomcat 5.5 and jdk 5.0 jsp compiler question

2005-07-04 Thread Werner Punz
Hi I am moving a project developed for tomcat 5.0 to 5.5, I run into a small JDK 5.0 related problem, for some strange kind of reason the internal tomcat compiler does not accept autoboxing: example error occurred at line: 95 in the jsp file: /inc/page_header.jsp Generated servlet error: Type

Adding support for JSPs in Apache

2005-07-04 Thread Morten W. Petersen
Hi, I'm adding support for JSPs on our server, so we can host a human rights search engine (http://www.hurisearch.org/) which is powered by Fast search technology. I assume that it's possible to get JSP pages running in the same manner as PHP pages do on Apache, and I'm wondering if there's a

Re: tomcat 5.5 and jdk 5.0 jsp compiler question

2005-07-04 Thread Werner Punz
Never mind I found the answer on the archive... http://marc.theaimsgroup.com/?l=tomcat-userm=111660999324714w=2 additionally to that, you have to add the tools.jar to your classpath otherwise the javac compiler cannot be triggered. That is it basically. Werner Werner Punz wrote: Hi I am

Webapp security by IP range

2005-07-04 Thread Cope, Jared
Hi, I was wondering if it is possible to apply some webapp security that will kick in for connections made from a certain IP range, and will not kick in for another set of IP ranges. The scenario is that I want users on our Intranet subnet to not have to authenticate, but if users visit the site

Tcp connection on tomcat 5.5

2005-07-04 Thread simdis
Hello everyone, I'm developing a Java application that is based on a protocol different form HTTP but that is based on TCP/IP. I'd like to deploy my application on Tomcat but i don't know how to set the Connector filed in server.xml. I need a connector that is different than http connector or

Handling exceptions declaratively

2005-07-04 Thread Carlos Bracho
Hello everybody. I am trying to handling exceptions declaratively, here is part of my the web.xml file: error-page exception-typeladw.model.UserNotFoundException/exception-type location/error.jsp/location /error-page error-page exception-typeladw.model.IlegalAccessException/exception-type

Logging (Log4J) with Tomcat 4.1.x

2005-07-04 Thread Peter Verhoye
Hi all, I must be getting stupid or so but the logging in my webapp doesn't work anymore. I've the log4j.properties file in WEB-INF/classes log4j.jar is in WEB-INF/lib My properties are: # # Configures Log4j as the Tomcat system logger # # # Configure the logger to output info level

RE: Handling exceptions declaratively

2005-07-04 Thread Allistair Crossley
Hi, doPost/doGet throw ServletException. I think the problem lies in that you are wrapping your exception but this does not translate to the exception actually being of class UserNotFoundException. You'd need to actually throw your own exception which could extend ServletException for example.

Re: Apache Jakarta-Tomcat using very slow

2005-07-04 Thread Mark Winslow
Sounds like some sort of memory/trash collector thrashing. Do you have enough memory? Does it run slowly when you run just static web pages and not your app? It could be some funky code in your app. --- Lars Nielsen Lind [EMAIL PROTECTED] wrote: Hi. I am using Apache 2.0.54 and

RE: Apache Jakarta-Tomcat using very slow

2005-07-04 Thread Lars Nielsen Lind
It is the whole machine that hangs - it runs very slowly - and so does all of the webpages. So when I am trying to see the logfiles before stopping the server it takes a lot of time for the server just to open the different screen windows. Thanks, Lars Nielsen Lind -Original Message-

Re: Apache Jakarta-Tomcat using very slow

2005-07-04 Thread Daniel Fanjul
It sounds a garbage collection problem. What VM are you using? What is the max memory assigned to the heap of the VM? What are the free/total memory? 2005/7/4, Lars Nielsen Lind [EMAIL PROTECTED]: It is the whole machine that hangs - it runs very slowly - and so does all of the webpages.

Re: Logging (Log4J) with Tomcat 4.1.x

2005-07-04 Thread Anoop kumar V
A log4j mailing list might give u a more effective answer Try and change the appender to be ConsoleAppender (please check the name) - see if the output displays on the tomcat console.Then u can debug from there... HTH, Anoop On 7/4/05, Peter Verhoye [EMAIL PROTECTED] wrote: Hi all, I

Re: Logging (Log4J) with Tomcat 4.1.x

2005-07-04 Thread Daniel Fanjul
log4j lib must bin in the Tomcat's common/lib 2005/7/4, Anoop kumar V [EMAIL PROTECTED]: A log4j mailing list might give u a more effective answer Try and change the appender to be ConsoleAppender (please check the name) - see if the output displays on the tomcat console.Then u can

Re: Logging (Log4J) with Tomcat 4.1.x

2005-07-04 Thread devisch . w
Can you delete me of the mailingList please!!! Wouter Anoop kumar V

Tomcat JDK 1.5 and osx bug

2005-07-04 Thread Werner Punz
Does anyone know how to get around this bug, I have the same problem, but I do not really want to remove the files in the extensions dir, too many files I use are affected from that one: http://lists.apple.com/archives/Java-dev/2005/May/msg00760.html Basically the bug is, that jasper assumes

Re: Automatic Realm login?

2005-07-04 Thread Mark Winslow
OK, I found something that seems to work. In my login page I check for certain conditions and if they exist I execute the following: response.sendRedirect(j_security_check?j_username=userj_password=password); I guess much simpler than trying to mess with session, realm, authenticator code.

Re: Tomcat JDK 1.5 and osx bug

2005-07-04 Thread Mark Winslow
Rebuild the files as zip? --- Werner Punz [EMAIL PROTECTED] wrote: Does anyone know how to get around this bug, I have the same problem, but I do not really want to remove the files in the extensions dir, too many files I use are affected from that one:

Re: Automatic Realm login?

2005-07-04 Thread Chirag
The same requirement I also have Which I have put forward to the tomcat-user USerGroup through the following link http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg155207.html I hope someone comes with any way of achieving this Thanks in advance CSJakharia Is there a way to

Re: Tomcat JDK 1.5 and osx bug

2005-07-04 Thread Werner Punz
not possible, since those are binaries and prebuilt by osx... Werner Mark Winslow wrote: Rebuild the files as zip? --- Werner Punz [EMAIL PROTECTED] wrote: Does anyone know how to get around this bug, I have the same problem, but I do not really want to remove the files in the

Re: Logging (Log4J) with Tomcat 4.1.x

2005-07-04 Thread Peter Verhoye
log4j lib must bin in the Tomcat's common/lib There are multiple webapps deployed on the server. Will adding log4j to common/lib not activate log for all of them? BB Peter 2005/7/4, Anoop kumar V [EMAIL PROTECTED]: A log4j mailing list might give u a more effective answer Try

Re: Automatic Realm login?

2005-07-04 Thread Chirag
The Following Error Comes when I try to use the method which you suggest. I am working on Tomcat 5.5.2 What are you working on? Bye for now CSJakharia HTTP Status 408 - The time allowed for the login process has been exceeded. If you wish to continue you must either click back twice and

Re: Issue with redirect..

2005-07-04 Thread Mark Thomas
Create an as simple as possible JSP that demonstrates this problem. It should be simple enough to post the JSP to the list. Mark Kannan Shastri wrote: Hi, I am running a JSF application on Tomcat 5.0.25...the problem is, i need to redirect using response.sendRedirect(url) , and i am

Re: Webapp security by IP range

2005-07-04 Thread Mark Thomas
Cope, Jared wrote: I was wondering if it is possible to apply some webapp security that will kick in for connections made from a certain IP range, and will not kick in for another set of IP ranges. How about: - deploy the app twice under different contexts - use a remote address filter valve

plugin-like structure

2005-07-04 Thread Xavier Méhaut
Hello, I would like to build a Tomcat application which can be accessed through http://myWebAddress:8080/MyAppli/index.jsp but which the directory structure should be (as we used to have in eclipse) like the following one : MyAppli/ org.toto.common/ WEB-INF/

Problem in Startup

2005-07-04 Thread Tewari,kuldeep
Hi, I have tomcat 5.0 installed in my machine. but suddenly it started giving these messages during the startup. I guess, this all started happening after I installed Sun Java System Application Server 8.1 in my machine. Please help. Jul 5, 2005 10:15:41 AM java.util.jar.Attributes read

Re: plugin-like structure

2005-07-04 Thread Laurent FALLET
There is a way to do this in Tomcat. I'm a beginner in Tomcat's administration but I know there are some ways to do this. In tomcat conf file, server.xml, create some host / tags (there is already one by default for localhost). Then I would say that if the content of your webapp is depending of