IllegalAccessException for listener

2008-07-21 Thread Fu-Tung Cheng
Hi, I am using tc 6.0.16 with jdk 1.6.0. I get the following error on startup: java.lang.IllegalAccessException: Class org.apache.catalina.core.StandardContext can not access a member of class com.mycom.Myclass with modifiers "private" web.xml: com.mycom.Myclass where Myclass is located

Re: DataSourceRealm documentation

2008-07-21 Thread Sameer Acharya
It means that on whichever database you are using to store your authentication information you need to create a user id and password for Tomcat to connect to it and then read the information. Your database doc. will give instructions on creating user/pass on it. For eg. you can create user/pas

RE: Cannot set up Tomcat as a service

2008-07-21 Thread Caldarale, Charles R
> From: akaii [mailto:[EMAIL PROTECTED] > Subject: Cannot set up Tomcat as a service > > [2008-07-22 10:32:16] [184 javajni.c] [error] The specified > procedure could not be found. > [2008-07-22 10:32:17] [986 prunsrv.c] [error] Failed creating java > C:\Program Files\Java\jre1.6.0_06\bin\java.exe

Cannot set up Tomcat as a service

2008-07-21 Thread akaii
Hi, I can't set up Tomcat as a service, here are the error message in the log : [2008-07-22 10:32:16] [184 javajni.c] [error] The specified procedure could not be found. [2008-07-22 10:32:17] [986 prunsrv.c] [error] Failed creating java C:\Program Files\Java\jre1.6.0_06\bin\java.exe [2008-07-

Re: Multiple websites in tomcat

2008-07-21 Thread Ravi Sharma
Hi Andre, Thanks for reply and sorry for my incomplete reply. So here is what i have done now. First i have reinstalled everything again,So i have fresh environment with apache (version 2.2.3) and tomcat (version 5.5). JK module(1.2.26 ) is already installed in apache, so i don't need to get

Re: DataSourceRealm documentation

2008-07-21 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: DataSourceRealm documentation The OP is not asking about the userid and password clients use to access an app but rather the userid and password Tomcat uses to access the database containing client userid

RE: DataSourceRealm documentation

2008-07-21 Thread Caldarale, Charles R
> From: André Warnier [mailto:[EMAIL PROTECTED] > Subject: Re: DataSourceRealm documentation > > Of course you can pick any name and password value you choose, as long > as that user is given the appropriate role for your application (e.g. > "manager" for the Manager application). The OP is not as

Re: DataSourceRealm documentation

2008-07-21 Thread André Warnier
Carol Cheung wrote: Hi, I'm reading about DataSourceRealm at http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html and step 2 under "Quick Start" is confusing. It says "Configure a database username and password for use by Tomcat ..." What does this mean? What should the username and passw

Re: DataSourceRealm documentation

2008-07-21 Thread Steve Ochani
On 21 Jul 2008 at 17:37, Carol Cheung wrote: Date sent: Mon, 21 Jul 2008 17:37:29 -0400 From: Carol Cheung <[EMAIL PROTECTED]> Subject:DataSourceRealm documentation To: Tomcat Users List Send reply to: Tomcat Users List

RE: Question about the connector Apache x Tomcat

2008-07-21 Thread Steve Ochani
On 21 Jul 2008 at 17:59, Tan, Liao wrote: > Hi, Steve and all > > Then what if we get the mod_jk for our apache (2.2.2.8) (we are > avoinding doing the src)? Do u know where(link) can I find? Depends on what OS you are using but some binary releases can be downloaded from: http://tomcat.apache

RE: DataSourceRealm documentation

2008-07-21 Thread Caldarale, Charles R
> From: Carol Cheung [mailto:[EMAIL PROTECTED] > Subject: DataSourceRealm documentation > > It says "Configure a database username and password for use > by Tomcat ..." > What does this mean? What should the username and password be > and where > should they be located so that they are configured f

DataSourceRealm documentation

2008-07-21 Thread Carol Cheung
Hi, I'm reading about DataSourceRealm at http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html and step 2 under "Quick Start" is confusing. It says "Configure a database username and password for use by Tomcat ..." What does this mean? What should the username and password be and where sho

Re: Question about the connector Apache x Tomcat

2008-07-21 Thread Gabe Wong
Tan, Liao wrote: Hi, All: My team has installed Apache 2.x and configured the connector with Tomcat 4.1.x and when started the apache, it gives the following error: /usr/local/apache2/bin >>./apachectl start httpd: Syntax error on line 471 of /usr/local/apache2/etc/httpd.conf: Syntax error on

RE: Question about the connector Apache x Tomcat

2008-07-21 Thread Tan, Liao
Hi, Steve and all Then what if we get the mod_jk for our apache (2.2.2.8) (we are avoinding doing the src)? Do u know where(link) can I find? Thanks Ingrid -Original Message- From: Steve Ochani [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2008 5:52 PM To: Tomcat Users List Subjec

Re: Disable password checking for Manager app

2008-07-21 Thread dracus
Rainer Jung-3 wrote: > > > What about using a different connector to use the manager webapp? It > wouldn't be to uncommon to let customer traffic in via the AJP > connector, and local admin traffic via the/an http connector. Since that > one wouldn't have the tomcatAuthentication="false", it

Re: Question about the connector Apache x Tomcat

2008-07-21 Thread Steve Ochani
On 21 Jul 2008 at 17:32, Tan, Liao wrote: Date sent: Mon, 21 Jul 2008 17:32:38 -0300 From: "Tan, Liao " <[EMAIL PROTECTED]> Subject:Question about the connector Apache x Tomcat To: users@tomcat.apache.org Send reply to: To

Question about the connector Apache x Tomcat

2008-07-21 Thread Tan, Liao
Hi, All: My team has installed Apache 2.x and configured the connector with Tomcat 4.1.x and when started the apache, it gives the following error: /usr/local/apache2/bin >>./apachectl start httpd: Syntax error on line 471 of /usr/local/apache2/etc/httpd.conf: Syntax error on line 1 of /usr/loc

Re: IIS 6.0 / JK1.2.25 / Tomcat 5.5.20 - "Service temporary unavailable"

2008-07-21 Thread Rainer Jung
Jesse Klaasse schrieb: Last Wednesday, I decided to try to use commons-dbcp (1.2.2) instead of the included naming-factory-dbcp.jar. Besides that, I have removed the "validationQuery" attribute, after reading about some problems with that. Since then, no problems have arised, Tomcat behaved nice

RE: Server.xml Host Configuration

2008-07-21 Thread Caldarale, Charles R
> From: Tomcat User6 [mailto:[EMAIL PROTECTED] > Subject: Server.xml Host Configuration > >appBase="/usr/local/apache-tomcat-6.0.16/webapps/roller" Change appBase to "/usr/local/apache-tomcat-6.0.16/webapps"; appBase must never point directly to a specific webapp. > forum.abc123.com Remov

Re: apache & tomcat on xserve leopard

2008-07-21 Thread Dave
thanks Peter... It is a shame because the gui is so nice. I had another issue before where it was overwriting the files and we needed to add a jrun line in and we just built an include for that and all was well but not working for this. The gui does have proxying on it but its going to the

RE: logging!!

2008-07-21 Thread Caldarale, Charles R
> From: Shahar Cohen [mailto:[EMAIL PROTECTED] > Subject: RE: logging!! > > Can you please tell me which argument supplies this information? Use an appropriate pattern: "There is also support to write information from the cookie, incoming header, the Session or something else in the ServletReque

RE: logging!!

2008-07-21 Thread Shahar Cohen
Hi, I indeed already look at this page but unfortunately I haven't found the 'header content-length' argument there. Can you please tell me which argument supplies this information? Thanks in advanced. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Saturday

Server.xml Host Configuration

2008-07-21 Thread Tomcat User6
Hi All, I am new to configuring Server.xml for tomcat. I am using Tomcat 6.0. I have an application called Roller from apache for blogging purposes. I want to configure its host by forum.abc123.com. I did the configuration as below: forum.abc123.com This application is under the "/

Re: Tomcat PHP install

2008-07-21 Thread Gabe Wong
Hi Ryan, The common practice for such a scenario is to have Apache act as a proxy to Tomcat via mod_proxy or mod_jk. Regards Ryan Ollerenshaw wrote: I am have installed ArcIMS on my server which requires Tomcat to handle all the calls to the default port 80. With Tomcat handling the calls

Re: Multiple websites in tomcat

2008-07-21 Thread André Warnier
Hi Ravi. It is quite difficult to help you if a) you do not provide precise information b) you do not follow precise steps when indicated c) you mix up information when describing a problem Ravi Sharma wrote: Hi Andre, Thanks a lot for your help and time , i really appreciate your patience

Re: Tomcat PHP install

2008-07-21 Thread Ryan Ollerenshaw
I am have installed ArcIMS on my server which requires Tomcat to handle all the calls to the default port 80. With Tomcat handling the calls to port 80 there is no way to have apache running on the same port to handle the PHP calls so i need some way to have Tomcat handle PHP. -Ryan - O

Re: tomcat 5.5 help needed in start-stop

2008-07-21 Thread Deepak Mishra
Any idea wht's going wrong here. Please let me know how to start and stop this server like we do for other daemons. e.g /etc/init.d/httpd start /etc/init.d/httpd stop etc. Any help is appreciated. Thank you. -suman if you installed tomcat through the repositories , you should have got a start

Re: Tomcat PHP install

2008-07-21 Thread Gabe Wong
Hi Ryan, Since you are already using Apache, why burden yourself with serving PHP through Tomcat. It would be so so much easier to serve PHP directly from Apache. Regards Ryan Ollerenshaw wrote: I am trying to get Tomcat and PHP running on the same server. I am using to following tutorial:

tomcat 5.5 help needed in start-stop

2008-07-21 Thread suman
Hello, I install Apache 5.5 on Ubuntu as super user. I also do following: I also create executable tomcat in /etc/init.d with following contents: export JAVA_HOME=/sw/jdk1.5.0_16 export PATH=$JAVA_HOME/bin:$PATH export CATALINA_HOME=/sw/tomcat55 cd $CATALINA_HOME ./bin/jsvc -Dj

Tomcat PHP install

2008-07-21 Thread Ryan Ollerenshaw
I am trying to get Tomcat and PHP running on the same server. I am using to following tutorial: http://wiki.apache.org/tomcat/UsingPhp everything seems to be working but when i load my test.php page i get the following error: java.lang.UnsatisfiedLinkError: libphp4: /usr/lib64/gcj-4.1.2/libphp4

Tomcat 5.0.27 + Mod_Jk2 issue

2008-07-21 Thread sridharmnj
Hi, Firstly my apologies for asking help about a deprecated application (mod_jk2). We have Tomcat5.0.27 + Mod_jk2 setup on the production. One tomcat instance is running with the following port numbers for the existing sites. 8080, 8009, 8005 Now we have reengineered an existing site and create

Capture and replay

2008-07-21 Thread Andrew Hole
Hello! I'm interested to capture and replay Java application events. There is some tool to do that? My java application runs on tomcat container. Thanks a lot

Re: IIS 6.0 / JK1.2.25 / Tomcat 5.5.20 - "Service temporary unavailable"

2008-07-21 Thread Jesse Klaasse
Last Wednesday, I decided to try to use commons-dbcp (1.2.2) instead of the included naming-factory-dbcp.jar. Besides that, I have removed the "validationQuery" attribute, after reading about some problems with that. Since then, no problems have arised, Tomcat behaved nicely. I hope this finally

Re: some concepts needed

2008-07-21 Thread Deepak Mishra
On Mon, 21 Jul 2008 17:29:58 +0530, David Smith <[EMAIL PROTECTED]> wrote: Back in the days before tomcat 3.3, we used to have to put all the jars on the classpath and it was HORRIBLE. Nasty version conflicts and lot's of headaches. Somewhere after the introduction of tomcat 3.3, tomcat s

RE: some concepts needed

2008-07-21 Thread Caldarale, Charles R
> From: David Smith [mailto:[EMAIL PROTECTED] > Subject: Re: some concepts needed > > In short, you shouldn't worry about CLASSPATH. Don't just not worry about it - don't even think about using it. > Just put the jar files where they belong -- typically in > your webapp's WEB-INF/lib folder and w

RE: Unable to run tomcat in Eclipse

2008-07-21 Thread Larry Isaacs
For details about the Tomcat support, see: http://wiki.eclipse.org/WTP_Tomcat_FAQ You might also check the Error Log view to see if any complaints are being logged related to this. Cheers, Larry > -Original Message- > From: KANIKA GUPTA [mailto:[EMAIL PROTECTED] > Sent: Saturday, July

Re: some concepts needed

2008-07-21 Thread David Smith
Back in the days before tomcat 3.3, we used to have to put all the jars on the classpath and it was HORRIBLE. Nasty version conflicts and lot's of headaches. Somewhere after the introduction of tomcat 3.3, tomcat started purposely ignoring the CLASSPATH in favor of it's own classloader archit

Re: some concepts needed

2008-07-21 Thread Deepak Mishra
On Sun, 20 Jul 2008 23:24:45 +0530, David Smith <[EMAIL PROTECTED]> wrote: Tomcat does have a java compiler (jasper) to compile jsp pages to servlets, but it also needs a JVM (java). Setting CLASSPATH is a big no-no. Put any required jars your webapp might need in the proper place. If yo

Re: Apache/mod_jk serves random files from tomcat

2008-07-21 Thread Tim Redding
Hi, > Are Apache and Tomcat on the same system? Yes they are. > Do you have any of the httpd cache modules active? No, none. Tim.. Rainer Jung-3 wrote: > > Tim Redding schrieb: >> I now have logs from both the Apache server and Tomcat. I'm a little >> unsure >> how to interpret thes

Tomcat + SSL+ page cannot be displayed

2008-07-21 Thread Bellamine, Khalil
Hi all, I've configured my tomcat server to use SSL with the explanation in tomcat site (ssl-howto.html). After this configuration when I try https://localhost:8443 in Internet Explorer the page try to open for a long time and then I get "The page cannot be displayed" error. I even tried wi

Re: FW: Rotate stdout_xxx.log without Restart Tomcat

2008-07-21 Thread Alex Mestiashvili
Alexander Diedler wrote: Has nobody any idea about rotating Tomcat logfiles?? Alex -Original Message- From: Alexander Diedler [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2008 9:24 AM To: users@tomcat.apache.org Subject: Rotate stdout_xxx.log without Restart Tomcat Hello, It is

Invalid DOAP file for the Tomcat Project

2008-07-21 Thread Erling Wegger Linde
Hi, http://svn.apache.org/repos/asf/tomcat/site/trunk/docs/doap_Tomcat.rdf is invalid. Try validating it here to see for yourself: http://rdfabout.com/demo/validator/ You should replace: Latest Stable Release 2006-04-14 5.5.17 5.5.16

FW: Rotate stdout_xxx.log without Restart Tomcat

2008-07-21 Thread Alexander Diedler
Has nobody any idea about rotating Tomcat logfiles?? Alex -Original Message- From: Alexander Diedler [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2008 9:24 AM To: users@tomcat.apache.org Subject: Rotate stdout_xxx.log without Restart Tomcat Hello, It is possible to implement a log

RE: apache & tomcat on xserve leopard

2008-07-21 Thread Peter Crowther
> From: Dave [mailto:[EMAIL PROTECTED] > I have a new xserve and it is running both apache and tomcat But it > doesn't seem like they are hooked together. [...] > If I edit the files manually it works fine but the issue is that the > leopard server over writes all the files if you make changes. > T