Setting Context's URI Encoding?

2005-06-20 Thread KwonNam Son
With tomcat 5.0.28, I set Connector URIEncoding=/ for all the web contexts' GET method URI Encoding. I want all the web contexts except just one context have the same URIEncoding Is it possible? How can I set the URIEncoding per Context?

Re: Tomcat, windows and more memory

2005-06-20 Thread Charl Gerber
This article (thanks for the link) finishes with: If Tomcat 4.x is tarted from the Start Menu under Windows, CATALINA_OPTS has no effect. Please run Tomcat_home\bin\startup.bat. I take it if you run Tomcat 4.x from the Start Menu, you there is no way to set options then? *sigh* --- Sergey

RE: Use JSPC

2005-06-20 Thread Akoulov, Alexandre [IT]
Hi Mino, that is what we do: a) generate java files with JspC compiler b) compile java files with javac compiler c) copy class files to the required location (ie class directory under WEB-INF ) Hope it helps, Sasha. -Original Message- From: Giacomino Raccuia [mailto:[EMAIL PROTECTED]

How to make tomcat work on a remote server?

2005-06-20 Thread sai krishna
Hello, Im a newbie to tomcat. I was trying to install on a remote server. I could install it on the localhost perfectly I can see it when I connect through lynx localhost:8080 I can see default tomcat page. But when I was trying its IP from a remote place http://IP-Address:8080 Im

Re: How to make tomcat work on a remote server?

2005-06-20 Thread Anand Vijay
Hi Check hosts file for access. regards Vijay sai krishna said the following on 20/06/2005 12:24 PM: Hello, Im a newbie to tomcat. I was trying to install on a remote server. I could install it on the localhost perfectly I can see it when I connect through lynx localhost:8080 I can see

RE: Use JSPC

2005-06-20 Thread Charl Gerber
And remember to update your web.xml with the servlet and servlet mapping elements for the generated classes. It looks a bit daunting at first, but the examples on the Tomcat site will be a good help and once done, it it actually quite straigtforward. Its done automatically by an ant script, in

Re: How to make tomcat work on a remote server?

2005-06-20 Thread Aleksandar Valchev
On Monday 20 June 2005 10:00, Anand Vijay wrote: Hi Check hosts file for access. Or check for firewall that blocks traffic on port 8080 if hosts file is correct. regards Vijay sai krishna said the following on 20/06/2005 12:24 PM: Hello, Im a newbie to tomcat. I was trying to install

Re: How to make tomcat work on a remote server?

2005-06-20 Thread sai krishna
I think you I didnt make myself enough clear? I repeat here. Im able to access in localhost all the jsp files and able to run them.But when im aceesing it through internet, I should see the jsp examples running, but im unable to execute them. what should I do to run them, like what should be

RE: How to make tomcat work on a remote server?

2005-06-20 Thread Raghupathy,Gurumoorthy
Well Points you need to tell us 1. Is apache on the same machine as tomcat ? what is the name of machine ( ip address ) of apache what is the name of machine ( ip address ) of tomcat 2. how are you accessing apache (

Cannot Front tomcat 5.5.9 with Apache 2.0.54, ajp13 on Solaris 10

2005-06-20 Thread pierre . lebrun
Hi, I'm stuck while trying to front tomcat 5.5.9 with Apache 2.0.54 and ajp13 on Solaris 10. I followed docs from tomcat website and the excellent best practices from Mladen Turk with no more success. mod_jk says it cannot find a worker for the worker name of httpd.conf and return error 500

RE: How to make tomcat work on a remote server?

2005-06-20 Thread sai krishna
Yes tomcat and apache are running on the same server Im trying to access jsp pages through apache using mod_jk2 connector now. and `hostname` gives someother host existing on the same server, and apache IP is default configured to this hostname. Im trying to access jsp files by putting them in

RE: How to make tomcat work on a remote server?

2005-06-20 Thread Raghupathy,Gurumoorthy
Well I only know mod_jk ... Not mod_jk2 ... -Original Message- From: sai krishna [mailto:[EMAIL PROTECTED] Sent: 20 June 2005 12:11 To: Tomcat Users List Subject: RE: How to make tomcat work on a remote server? Yes tomcat and apache are running on the same server Im trying to access

RE: How to make tomcat work on a remote server?

2005-06-20 Thread sai krishna
Ok, explain for mod_jk, I can configure it and have it here. mod_jk2 is not a requirement here. Iwas trying to run tomcat with apache --- Raghupathy,Gurumoorthy [EMAIL PROTECTED] wrote: Well I only know mod_jk ... Not mod_jk2 ... -Original Message- From: sai krishna

RE: How to make tomcat work on a remote server?

2005-06-20 Thread Raghupathy,Gurumoorthy
Send me your httpd.conf / worker.properties / server.xml Regardds Guru -Original Message- From: sai krishna [mailto:[EMAIL PROTECTED] Sent: 20 June 2005 12:30 To: Tomcat Users List Subject: RE: How to make tomcat work on a remote server? Ok, explain for mod_jk, I can configure it

Re: Compression doesn't work :(

2005-06-20 Thread smmarrt
I tried setting various attributes on Connector, now trying to set only compression=force. To determine if compression takes place I use Firefox 1.0.4, Internet Explorer 6.0 SP1 and WebClient. WebClient allows me to send custom headers to server and see its raw response, when using ordinary

RE: How to make tomcat work on a remote server?

2005-06-20 Thread sai krishna
I gave them already. Here they are again server.xml is as following Server port=8005 shutdown=SHUTDOWN debug=0 !-- Define an Apache-Connector Service -- Service name=Tomcat-Apache !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --

Re: Compression doesn't work :(

2005-06-20 Thread smmarrt
Of course, I add Accept-Encoding: gzip smmarrt пишет: I tried setting various attributes on Connector, now trying to set only compression=force. To determine if compression takes place I use Firefox 1.0.4, Internet Explorer 6.0 SP1 and WebClient. WebClient allows me to send custom headers

User authentication using Realms

2005-06-20 Thread Gagnon, Joseph M \(US SSA\)
I've finally (with lots of help) figured out how to do form-based user authentication of a simple test JSP webapp. So far, so good ... it seems to be working. However, the database is a list of roles and users currently defined in conf/tomcat-users.xml. While this worked fine while I was

RE: Tomcat, windows and more memory

2005-06-20 Thread Caldarale, Charles R
From: Charl Gerber [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat, windows and more memory I take it if you run Tomcat 4.x from the Start Menu, you there is no way to set options then? *sigh* The JVM options are kept in the registry when Tomcat runs as a service. I don't know about Tc 4,

AW: Tomcat, windows and more memory

2005-06-20 Thread Sklarek, Dirk
Hi, the Java Service Wrapper from tanukisoftware http://wrapper.tanukisoftware.org/doc/english/introduction.html is a good choice for running tomcat as a service. It is easy to use and very stable. Regards Dirk -Ursprüngliche Nachricht- Von: Caldarale, Charles R [mailto:[EMAIL

Cannot Front tomcat 5.5.9 with Apache 2.0.54, ajp13 on Solaris 10

2005-06-20 Thread pierre . lebrun
Hi, I'm stuck while trying to front tomcat 5.5.9 with Apache 2.0.54 and ajp13 on Solaris 10. I followed docs from tomcat website and the excellent best practices from Mladen Turk with no more success. mod_jk says it cannot find a worker for the worker name of httpd.conf and return error 500

Re: User authentication using Realms

2005-06-20 Thread Frank W. Zammetti
Glad to hear you got it working so far! :) Is your DSN name literally Simple JSP? If so, I suggest trying something without a space in it... I have a feeling it might not work with spaces in the name. Note that the exception you are getting is actually coming from Access, it is simply being

Re: Differences between service startup and batch startup

2005-06-20 Thread Jason Bainbridge
On 6/20/05, John Lindley [EMAIL PROTECTED] wrote: I have noticed a difference between starting Tomcat 5.0.28 using the service and the batch file. When I run startup.bat, everything seems to be running fine. I have an ODBC node defined, connecting to an Access database, and I have no

Cannot Front tomcat 5.5.9 with Apache 2.0.54, ajp13 on Solaris 10

2005-06-20 Thread pierre . lebrun
Hi, I'm stuck while trying to front tomcat 5.5.9 with Apache 2.0.54 and ajp13 on Solaris 10. I followed docs from tomcat website and the excellent best practices from Mladen Turk with no more success. mod_jk says it cannot find a worker for the worker name of httpd.conf and return error 500

Register custom CharsetProvider by a webapplication

2005-06-20 Thread Christoph Kutzinski
Hi, I'm trying to install a custom CharsetProvider (UTF7) with my web application (i.e. deliver a JAR with a META-/services/java.nio.charset.spi.CharsetProvider entry in WEB-INF/lib) However the CharsetProvider isn't recognized when it comes to parsing (i.e. calling

java.util.logging.ConsoleHandler.formatter

2005-06-20 Thread tc_newbie
Is it possible to change message format of messages written to standard out/err? I've tried the following, with no luck (no changes). Tomcat 5.5.9/JSK1.5.0 on Windows XP. My formatter code is below... I built the jar using Eclipse 3.1 and tried putting it in both Tomcat5.5\common\lib and

Tomcat con pooling to Oracle RAC

2005-06-20 Thread Frank W. Zammetti
Does anyone have any experience configuring Tomcat to connect to an Oracle RAC cluster? I have an application that currently works in a test environment, where it connects to a single Oracle server. Now I'm moving it to a QA environment, where there is a 3-node Oracle cluster using RAC. I'm

got an error for a admi-entry

2005-06-20 Thread Christian Stalp
Hello out there. I have the really weirdest Tomcat-installation ever!!! I installed it for a new time on Debian-Linux. With the stable Debian-Packages! But then I try to make a new entry into the tomcat-users.xml: [code] ?xml version='1.0' encoding='utf-8'? tomcat-users role rolename=tomcat/

RE: mod_jk works as localhost only

2005-06-20 Thread Randall Svancara
Just another side note to this thread. I was applying the SELinux Security Policy patch to my fedora core 3 box today and it broke my apache + mod_jk + tomcat installation. The fedora team must of changed the Security Enhanced Linux Policy preventing mod_jk connecting to an external tomcat

follow simboilic links when requesting an html page using tomcat 5.0.25

2005-06-20 Thread Ariel Pessah
Hi all, Does any body knows how can I configure Tomcat to follow symbolic links when showing a page on Linux ? I am trying to load an html page which is actually a symbolic link to a different html page in a different location but I get a not found error. Also even when the requested html is

Re: Tomcat con pooling to Oracle RAC

2005-06-20 Thread Patrick Thomas
Hi Frank, With the caveat that I don't use RAC, it looks like you're doing things right from a JDBC/Tomcat perspective, but I thought I'd bring one point just to clarify for you and any lurkers: JDBC doesn't use TNS at all; it only cares about the host, port and SID as specified in the connection

Re: Tomcat con pooling to Oracle RAC

2005-06-20 Thread Frank W. Zammetti
Yep, I had a coworker suggest using the OCI driver as well... seems you can just drop the TNS string into the URL parameter in server.xml... I couldn't get it to work, but I suspect it was just a minor typo or something, the theory seems dead-on. I would up just writing the connection string to

looking for java filter to block systematic downloading

2005-06-20 Thread Jose Blanco
I'm looking for a Java filter, designed to be used with Tomcat, to identify an IP address that appears to be rapidly downloading according to heuristics that I can setup, and block. There is a module like this for Apache that I am working with called mod_bwshare. Is there one for tomcat?

Re: got an error for a admi-entry

2005-06-20 Thread Steve Ochani
Hi, You don't have the admin rolename defined. On 20 Jun 2005 at 18:17, Christian Stalp wrote: Hello out there. I have the really weirdest Tomcat-installation ever!!! I installed it for a new time on Debian-Linux. With the stable Debian-Packages! But then I try to make a new entry into the

RE: Cannot Front tomcat 5.5.9 with Apache 2.0.54, ajp13 on Solari s 10

2005-06-20 Thread Phillip Qin
Please do not post same question three times. Jk works with apache 2.0.54 and tomcat 5.5.9. I hope this is not a typo in your workers.properties. worker.ajp13w.port=8009k Change this JkAutoAlias /usr/local/jakarta-tomcat-5.5.9/webapps/ROOT to JkAutoAlias

RE: Ghost Java Processes while Running Tomcat

2005-06-20 Thread Phillip Qin
Do you use Tomcat Manager to deploy/undeploy your web app? -Original Message- From: Gonçalo Gaiolas [mailto:[EMAIL PROTECTED] Sent: June 18, 2005 9:01 AM To: tomcat-user@jakarta.apache.org Subject: Ghost Java Processes while Running Tomcat Hi everyone, I have Tomcat deployed in a

Re: follow simboilic links when requesting an html page using tomcat 5.0.25

2005-06-20 Thread Darek Czarkowski
Add Resources className=org.apache.naming.resources.FileDirContext allowLinking=true / To the context DarekC On Mon, 2005-06-20 at 10:03, Ariel Pessah wrote: Hi all, Does any body knows how can I configure Tomcat to follow symbolic links when showing a page on Linux ? I am trying to load

RE: mod_jk works as localhost only

2005-06-20 Thread Randall Svancara
Ok, well, I am posting this information to this list in this thread because we kind of got started down the path of SELinux. Fedora Core3 comes with a feature called Security Enhanced Linux. This is a security feature that you may or may not want to have on your server. I chose to enable it, so

Installing SSL

2005-06-20 Thread Stephen Caine
All, I have reviewed the man pages and java.sun.com docs for keytool. I have used keytool to import a certificate from a Certificate authority. Keytool seems to be lacking the option to import an entire prexisting private/public key pair into a JKS format keystore. Specifically I have

RE: Installing SSL

2005-06-20 Thread Ikonne, Ike
Hi all, You may use KeyTool GUI version 1.6. This has been a life-saver to me. It works with different KeyStore formats and also lets you Import Key Pairs. Google for it, it is a windows-based keytool gui. Ike -Original Message- From: Stephen Caine [mailto:[EMAIL PROTECTED]

Re: Installing SSL

2005-06-20 Thread Stephen Caine
Ike, You may use KeyTool GUI version 1.6. This has been a life-saver to me. It works with different KeyStore formats and also lets you Import Key Pairs. Google for it, it is a windows-based keytool gui. Thank you. I'll try this out. Hopefully, they have a version for OS X. Stephen

Re: where can i see log trace logAbandoned

2005-06-20 Thread Patrick Thomas
*bump*... I too would love someone to shed some light on this subject. Cheers, PST On 6/19/05, Anand Vijay [EMAIL PROTECTED] wrote: hi all When i say logAbandoned = true in data-source of struts-config.xml , it still does',nt trace abandoned connection .How can i achieve this and where

Is there a kind of EJB container in Tomcat?

2005-06-20 Thread Kevin Kang \(CSS\)
Hi, all Who knows whether there is a kind of container for EJB development in Tomcat, or any relative Tomcat sub-project in Apache org. thanks. Best Regards Kevin Kang MSN: [EMAIL PROTECTED] [EMAIL PROTECTED]

Re: Is there a kind of EJB container in Tomcat?

2005-06-20 Thread Gurumoorthy
http://www.openejb.org/ for tomcat ... but why dont you use jboss ? it comes with tomcat - Original Message - From: Kevin Kang (CSS) [EMAIL PROTECTED] To: Tomcat User Mailing List tomcat-user@jakarta.apache.org Sent: Tuesday, June 21, 2005 1:25 AM Subject: Is there a kind of EJB

RE: Is there a kind of EJB container in Tomcat?

2005-06-20 Thread Kevin Kang \(CSS\)
Thanks. I still have an issue about OpenEJB. 1. Is it an independent EJB Server for Tomcat? Is it necessary to install in Tomcat as a module or something else? Jboss is a good suggestion. Best Regards Kevin Kang MSN: [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message- From:

Re: Is there a kind of EJB container in Tomcat?

2005-06-20 Thread Gurumoorthy
well if you ask me I use the following architechture For DEV / SIT / UAT 1. Web container seperate tomcat ( DEV / SIT / UAT using virtual host) 2. EJB container jboss 3.2 ( seperate instance ) 3. Apache front to tomcat ... . For production 1. Web container seperate tomcat ( 3 instance

Re: Is there a kind of EJB container in Tomcat?

2005-06-20 Thread Wendy Smoak
From: Kevin Kang (CSS) [EMAIL PROTECTED] I still have an issue about OpenEJB. 1. Is it an independent EJB Server for Tomcat? Is it necessary to install in Tomcat as a module or something else? This page gives various options for configuring OpenEJB with Tomcat:

Re: Is there a kind of EJB container in Tomcat?

2005-06-20 Thread David Johnson
Have you considered alternatives to EJB? Hibernate is very nice, free, works with POJO's (Plain Old Java Objects), is easier to use than EJB 1 or 2, and is the basis for the upcoming EJB 3 standard. On Tue, 2005-06-21 at 08:25 +0800, Kevin Kang (CSS) wrote: Hi, all Who knows whether

error, any help appreciated

2005-06-20 Thread Alex Korneyev
Hello, i see this error in tomcat.4.1.30's catalina.out i host about 30 different domains, how can i find out which one of those domains is causing an error? Jun 21, 2005 12:06:17 AM org.apache.commons.digester.Digester error SEVERE: Parse Error at line 2 column 10: Document

Re: error, any help appreciated

2005-06-20 Thread Sivaram Kumar
please check you server.xml file. - Original Message - From: Alex Korneyev [EMAIL PROTECTED] Cc: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Tuesday, June 21, 2005 1:55 PM Subject: error, any help appreciated Hello, i see this error in tomcat.4.1.30's catalina.out

Tomcat Version detection

2005-06-20 Thread Steve Vanspall
Hi there, I am running tomcat under linux, unfortunately can't remember whether it is 4.1.24 or 4.1.31, which made me relise, I don't know how to find out. When i look at the logs it jsut says Tomcat 4.1 unlike on windows where it actually gives the full version number. So where would i look