SV: JDBC connection - Please help

2005-02-21 Thread Roland Carlsson
Hi! It sounds like the driver is not in your deployment. Either you put the driver in your WEB-INF directory of your application or in the tomcat-installdir/common/lib directory. Regards Roland Carlsson Den 05-02-21 08.31, skrev deepak suldhal [EMAIL PROTECTED]: When I write a simple java

Increase in the connections, increases the percentage utilization of CPU

2005-02-21 Thread shyama
Hi All, I had a jsp application which actually deals with sending and receiving datapackets. when Ia accessing the application through a single browser ,the percentage utilization of CPU is around 23% the increase in the connections(through browsers) increasing the percentage utilization of CPU

Sniffing loaclhost traffic for HHTP headers

2005-02-21 Thread Marco Mastrocinque
Hi All, Just a 'silly question,' I downloaded a HTTP sniffing program because I want to get use to reading header information. I'm using Apache Tomcat, on a localhost configuration for development purposes. The sniffing program I downloaded from 'EffeTech,' in the FAQ section states, 'Due

Re: mod_jk CLOSE_WAIT state and 1 byte recv buffer

2005-02-21 Thread Michael Stiller
No one any clues on this issue? I've got about 3000 connections hanging around in CLOSE_WAIT now. Especially that 1 byte hanging in the receive buffer keeps me puzzled. Hi, i have the following problem with mod_jk from tomcat-connectors (1.2.5 - 1.2.8) including 1.2.9 (from cvs).

RE: Sniffing loaclhost traffic for HHTP headers

2005-02-21 Thread Peter Crowther
From: Marco Mastrocinque [mailto:[EMAIL PROTECTED] 'Due to the mechanism of Windows operating system, a sniffer can't capture local-to-local traffic.' Please note I found this out the hard way! The question I have is how do you do it? You use another physical machine to send the requests,

Re: Sniffing loaclhost traffic for HHTP headers

2005-02-21 Thread Jerome Jar
If you only want to see the http headers, a tiny plugin for IE may help you: http://www.blunck.info/iehttpheaders.html On Mon, 21 Feb 2005 21:08:53 +1100, Marco Mastrocinque [EMAIL PROTECTED] wrote: Hi All, Just a 'silly question,' I downloaded a HTTP sniffing program because I want to

Re: mod_jk CLOSE_WAIT state and 1 byte recv buffer

2005-02-21 Thread Mladen Turk
Michael Stiller wrote: No one any clues on this issue? I've got about 3000 connections hanging around in CLOSE_WAIT now. Especially that 1 byte hanging in the receive buffer keeps me puzzled. Did you tried the latest CVS HEAD? It contains the hard close socket by disabling lingering. Further

Re: mod_jk CLOSE_WAIT state and 1 byte recv buffer

2005-02-21 Thread Michael Stiller
On Mon, 2005-02-21 at 11:19 +0100, Mladen Turk wrote: Michael Stiller wrote: No one any clues on this issue? I've got about 3000 connections hanging around in CLOSE_WAIT now. Especially that 1 byte hanging in the receive buffer keeps me puzzled. Did you tried the latest CVS HEAD? I

RE: Sniffing loaclhost traffic for HHTP headers

2005-02-21 Thread James Richardson
Depending on why you want to do this, you might find this useful: Valve className=org.apache.catalina.valves.RequestDumperValve / Its normally commented out in the server.xml, simply uncomment to dump out the requests. Cheers James -Original Message- From: Marco Mastrocinque

HTTP Status 403 (tomcat 5.0.28 JAASRealm)

2005-02-21 Thread Bruno Gonçalves
When I login in my application with a usernamepassword valid I get a HTTP Status 403! I'm using Tomcat 5.0.28 and JAASRealm. I already looked into in my web.xml, and I think is alright. The valid username password: admin / admin Anyone knows what's the problem? Thanks.. web.xml: !-- login

Re: mod_jk CLOSE_WAIT state and 1 byte recv buffer

2005-02-21 Thread Mladen Turk
Michael Stiller wrote: I tried something i checked out from cvs last friday. Use more recent :) The version is tomcat-connectors 1.2.9. The OS ist Fedora Core 3. Seems that I miss the OS. It contains the hard close socket by disabling lingering. Where may i learn about the hard close patch.

RE: Shutdown not working under SLES8 and FC2

2005-02-21 Thread Paul ANDERSON
I have had the same problem of Tomcat not terminating and having to be killed by hand. It occurred with Tomcat 5.0.27, JDK1.4.2, RH Enterprise Linux 3 when I enabled JMX via jk2 configuration. I tried 5.0.28 but the same happened using jk2, so I put JMX on a back burner. Now I'm using 5.5.7,

Re: mod_jk CLOSE_WAIT state and 1 byte recv buffer

2005-02-21 Thread Michael Stiller
On Mon, 2005-02-21 at 11:39 +0100, Mladen Turk wrote: Michael Stiller wrote: I tried something i checked out from cvs last friday. Use more recent :) Ok, just running a fresh cvs tree. The problem is *still* there, but it seems that there are fewer sockets hanging around at the moment.

Authenticate JNDIrealm through Client

2005-02-21 Thread bohldan bohldan
I wonder ive started a jndirealm and it works just fine against ldap. I have no problem to login from a webbrowser (BASIC mode). But i want to login from a Java client how do i do that ? _ Chat: Ha en fest på Habbo Hotel

Re: mod_jk CLOSE_WAIT state and 1 byte recv buffer

2005-02-21 Thread Mladen Turk
Michael Stiller wrote: Ok, just running a fresh cvs tree. The problem is *still* there, but it seems that there are fewer sockets hanging around at the moment. Ok, we are getting somewhere :). Ok fixed that. Config is now: ... worker.proc2111.port=12111 worker.proc2111.lbfactor=1

Re: mod_jk CLOSE_WAIT state and 1 byte recv buffer

2005-02-21 Thread Michael Stiller
Did you try to comment the recycle_timeout. ok will do. Also what are you using for testing? ab or... Eh hm it is in production now ;) So we use the clients for testing. 8) Part of a 10 machines cluster. Just checking without the recycle_timeout. Regards, Michael

Re: Name jdbc is not bound in this Context error

2005-02-21 Thread Antony Paul
It seems you still have problem. You can google for the answer. One thing I know is GlobalNamingResources should come inside the Server element and not inside Context element. rgds Antony Paul On Fri, 18 Feb 2005 22:47:06 -0800 (PST), U K Laxmi [EMAIL PROTECTED] wrote: I could able to get

Re: mod_jk CLOSE_WAIT state and 1 byte recv buffer

2005-02-21 Thread Mladen Turk
Michael Stiller wrote: Also what are you using for testing? ab or... Eh hm it is in production now ;) So we use the clients for testing. 8) You are really brave :). Just checking without the recycle_timeout. What happens if you issue 'apachectl restart' ? Can you make 'JkLoglevel trace' and post

SV: Authenticate JNDIrealm through Client

2005-02-21 Thread Roland Carlsson
Hi! Without beeing to sure about this I guess that if you are going to authenticate a user via any kind of client against a tomcat-server you have to talk the language Tomcat talks, and that language is HTTP. So, you have to make your client able to talk http and then send the login-request as an

LD_ASSUME_KERNEL with tanuki wrapper?

2005-02-21 Thread Steven J. Owens
Hi, We're running: fedora tomcat 4.1.30 tanukisoftware.com wrapper # rpm -q fedora-release fedora-release-1-3 # uname -a Linux example.com 2.4.20-021stab022.5.777-enterprise #1 SMP Fri Sep 3 12:45:02 MSD 2004 i686 i686 i386 GNU/Linux We're seeing tomcat crash and

Re: Deploying / Update Web Applications without deploying JSP files

2005-02-21 Thread Edson Watanabe
Dear sirs, I have to deploy a Tomcat app that has several thousands of JSP files (using Struts of course). The application will be run in Tomcat 5.0.28 under J2SDK 1.4.2_07. It's an application that will be deployed as a client application with a browser interface. The customer don't want me to

RE: Tomcat 5.5.7 cannot connect to mysql datasource - what changed?

2005-02-21 Thread Richard Mixon (qwest)
Shakeel, Thanks for the suggestion but we were already using DBCP 1.2.1. I downloaded it and tried it again, but get the same error. Any other ideas why the username would not be passed correctly when creating the datasource/pool? -Original Message- From: Shakeel Ahmad [mailto:[EMAIL

RE: Tomcat 5.5.7 cannot connect to mysql datasource - what changed?

2005-02-21 Thread Shakeel Ahmad
Try to hard code user name as the error shows '' as a user name. Also you can write a simple stand alone java program other than your web application to figure out exact problem. More things more problems. Less things quick findings, might help. By the way is your new MySQL communicating to you

RE: Tomcat 5.5.7 cannot connect to mysql datasource - what changed?

2005-02-21 Thread Richard Mixon (qwest)
I am able to connect fine using the mysql client - either locally or remotely. It is just with the web application using the JDBC driver that it is not working. Yes, maybe I'm at the point of having to do a simple JDBC application to figure this out - though it seems silly given my application

Class GtorActionServlet is not a Servlet

2005-02-21 Thread Adrian Wilford
Hi, I am having a problem with Tomcat - I am running JBOSS 4.0.1 using Tomcat as the web container, and I am getting this odd Exception thrown, it says that my class (which definitely extends Servlet) is not a Servlet ?!?!? I see that a ClassCastException is the root cause. Anyone have any

Re: Class GtorActionServlet is not a Servlet

2005-02-21 Thread Michael Greer
Could you post the class itself? Perhaps it does _not_ implement servlet (most likely scenario). On Feb 21, 2005, at 9:41 AM, Adrian Wilford wrote: Hi, I am having a problem with Tomcat - I am running JBOSS 4.0.1 using Tomcat as the web container, and I am getting this odd Exception thrown, it

Re: Class GtorActionServlet is not a Servlet

2005-02-21 Thread Adrian Wilford
Well you are correct, it does not directly extend HTTPServlet, it extends the Struts ActionServlet (which extends HttpServlet). This Servlet worked previously, until I tried to package the war inside an ear file and move the classes into a common jar file inside the ear. (I have added a web

Problem with using xerces 2.6.2 in embedded tomcat 5.5

2005-02-21 Thread Vy Ho
I have class not found exception: Exception in thread AWT-EventQueue-0 javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:104) at

HttpServletInputStream is corrupting data?

2005-02-21 Thread Varley, Roger
Hi I don't think that this is a Tomcat problem per-se, but it involves Tomcat so I'm asking here in the hope that someone else has seen this before. An external program reads XML from a file on disk into a ByteArrayOutputStream to calculate the length of the data. The byte array is extracted

RE: HttpServletInputStream is corrupting data?

2005-02-21 Thread Benson Margulies
I'd worry about character encoding if I were you. I bet someone is transcoding. -Original Message- From: Varley, Roger [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 11:00 AM To: Tomcat Users List (E-mail) Subject: HttpServletInputStream is corrupting data? Hi I don't think

RE: HttpServletInputStream is corrupting data?

2005-02-21 Thread Varley, Roger
I'd worry about character encoding if I were you. I bet someone is transcoding. I'd thought about that, but if it was an encoding issue, wouldn't I expect the same problem regardless of whether I routed the request through IIS first or sent it directly to Tomcat? The XML header specifies

Re: moving all classes to shared

2005-02-21 Thread QM
On Sat, Feb 19, 2005 at 06:38:03PM -0800, Oleg wrote: : If I have 200 users deployed on tomcat with 99% using identical : classes, would it be ok to move all classes to shared/classes : directory? Will that give better memory usage? Also, can I later add : the classes that are different directly

RE: Sniffing loaclhost traffic for HHTP headers

2005-02-21 Thread sven morales
Hi, I have been recommending the TCPMON tool from Apache Axis project, its an applet. This allows you to see the the request response between client and Tomcat. Also with nmap you can make a proxy and capture data flowing, I just cant find my note that has this tip at the moment. aka_sergio

[OT] getOutputStream() has already been called for this response - ignored content-disposition header

2005-02-21 Thread Allistair Crossley
Hi Guys, I hope this not entirely off-topic. Just the other day I started getting a getOutputStream() has already been called for this response error when I was calling a servlet that sends back a CSV file (uses Content-Disposition also to cause a popup save prompt). This had been working

Re: multiple login-config for one webapp

2005-02-21 Thread Mark Thomas
You may only have one login-config per webapp. Mark Thiwanka Wimalasuriya wrote: dear all, the servlet spec 2.4 says (page 109 of servlet-2_4-fr-spec.pdf from http://www.jcp.org/aboutJava/communityprocess/final/jsr154/ ) However, the deployment descriptor instance file must not contain multiple

Re: moving all classes to shared

2005-02-21 Thread Oleg
Well regarding #1 from what I understand the class in webapp web-inf will take priority, however, I can see how #2 can be a problem, but, does it only work one way? Meaning a class in sared/classes will not see webapp/web-inf/classes, so down the hierarchy, however, it will work just fine going

Facing problems in tomcat configuration - on XP Professional

2005-02-21 Thread raghavendra datt
Hi all, I am new to this mailing list. for the past one week i was trying to run tomcat on my XP Professional OS but in vein. I downloaded the latest JDK and downloaded tomcat 4.1 version and has set the CATALINA_HOME and JAVA_HOME respectively. when I start the server its getting started

RE: Facing problems in tomcat configuration - on XP Professional

2005-02-21 Thread Peter Crowther
From: raghavendra datt [mailto:[EMAIL PROTECTED] I am new to this mailing list. for the past one week i was trying to run tomcat on my XP Professional OS but in vein. I downloaded the latest JDK and downloaded tomcat 4.1 version and has set the CATALINA_HOME and JAVA_HOME

RE: Facing problems in tomcat configuration - on XP Professional

2005-02-21 Thread raghavendra datt
Yeah.. both machines are on service pack 2.. and I dont see any firewall in XP Pro machine. Can you please tell me how to figure out whether firewall is running or not? Do you think changing port would solve the problem.. Thanks for the instant reply, Raghavendra --- Peter Crowther [EMAIL

jk vs. jk2

2005-02-21 Thread Matt
If jk2 is abandoned, why would I use it over jk_1.2.8? Platform reasons? Feature reasons? Performance reaosns? Other? Anyone? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Facing problems in tomcat configuration - on XP Professional

2005-02-21 Thread Tony
There is a Windows Firewall (Control Panel, Windows Firewall) which is probably preventing hackers from attacking strange ports like 8080. -Original Message- From: raghavendra datt [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 1:30 PM To: Tomcat Users List; Oleg Subject:

Re: Facing problems in tomcat configuration - on XP Professional

2005-02-21 Thread Hassan Schroeder
raghavendra datt wrote: Can you please tell me how to figure out whether firewall is running or not? To check whether that port is being blocked: C:\telnet localhost 8080 You'll see either tomcat responding or something (firewall, or ...) preventing access :-) HTH! -- Hassan Schroeder

Re: moving all classes to shared

2005-02-21 Thread QM
On Mon, Feb 21, 2005 at 11:21:01AM -0800, Oleg wrote: : Well regarding #1 from what I understand the class in webapp web-inf : will take priority, however, I can see how #2 can be a problem, but, : does it only work one way? Meaning a class in sared/classes will not : see webapp/web-inf/classes,

Re: jk vs. jk2

2005-02-21 Thread QM
On Mon, Feb 21, 2005 at 02:57:48PM -0500, Matt wrote: : If jk2 is abandoned, why would I use it over jk_1.2.8? : Platform reasons? Feature reasons? Performance reaosns? Other? : Anyone? Depends on how you define use -- continue using an existing JK2 install -- either because you're in the

Re: jk vs. jk2

2005-02-21 Thread Matt
Thanks! This is a new install, so that sums it up. I'll stick with jk_1.2.8 for Tomcat 5.5. Of course, the only hurdle now is an explicit example of exactly how to ADD a docbase (say, C:\MYwebapps\MYexamples\) that Tomcat will see and not 404 or blank page, while still having

Re: Class GtorActionServlet is not a Servlet

2005-02-21 Thread Michael Greer
I would manually declare that class to be implementing the Servlet interface. Can't hurt (can it?) if it already does so by its ancestry. At least it is quick to add and test. On Feb 21, 2005, at 10:28 AM, Adrian Wilford wrote: HTTPServlet

RE: Facing problems in tomcat configuration - on XP Professional

2005-02-21 Thread Tony
Start, Control Panel, Windows Firewall (That's assuming that you've got it set up to show you the viruses (file extensions, system files, system and hidden files, etc) and to not show stuff as web-enabled whatever. SP2 will almost certainly have set up and enabled a firewall. There may be

Re: jk vs. jk2

2005-02-21 Thread Nikola Milutinovic
Matt wrote: If jk2 is abandoned, why would I use it over jk_1.2.8? Platform reasons? Feature reasons? Performance reaosns? Other? Anyone? Well, for one, it works and I have a ready to run config files. Nix. - To unsubscribe,

log4j.properties not found in tomcat

2005-02-21 Thread Brian McGovern
I have a wierd problem. Tomcat on W2k barks FileNotFound Exceptions for the log4j.properties file when i execute a servlet that instantiates log4j. Strangely enough the actual file that i create and log to with log4j.properties file logs out just fine even though stdout.log said that it

Re: jk vs. jk2

2005-02-21 Thread Matt
So does jk_1.2.8, so, for new installs, why would I use it? The overwhelming answers that I've gotten offline have been don't bother, so that seems to be the best answer. Thanks, -Matt On Mon, 21 Feb 2005, Nikola Milutinovic wrote: Matt wrote: If jk2 is abandoned, why would I use it over

RE: Sniffing loaclhost traffic for HHTP headers

2005-02-21 Thread Subir Sengupta
You should be able to telnet to the Tomcat server and send it a request. The response including headers will be visible in your telnet session. Subir -Original Message- From: Marco Mastrocinque [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 2:09 AM To:

Re: Cluster and Connection Pooling problem

2005-02-21 Thread Peter Johnson
Define the connection pool in either META-INF/context.xml (if using a WAR) or ${catalina_home}/conf/engine/host/app.xml And the link by the usual resource ref in the web.xml Remember that the JDBC drivers need to be in common/lib PJ Sumpter, Chuck wrote: Environment = Tomcat 5.5.7, Java

RE: Tomcat 5.5.7 cannot connect to mysql datasource - what changed? New approach

2005-02-21 Thread Richard Mixon (qwest)
Sorry to repost - but, except for some great suggestions from Shakeel, I have not made much progress on this. To my way of thinking this seems maddenly simple - either a config error or possibly bug. But what? So my first place to start is to try and see where it is that the userName property get

Tomcat: who is knocking on my door?

2005-02-21 Thread Dola Woolfe
First, I'm sure this is documented so can anyone point me to the documentation on how to determine the client application. Second, does Tomcat itself do anything different depending on who's making the request. I sometimes notice that IE's requests are fielded faster than wget's requests.

Re: moving all classes to shared

2005-02-21 Thread Oleg
Hmm, quick question, do you know of a reason why this ould not work for Struts, I did it and for some reason I get an error org.apache.struts.action.RequestProcessor - ERROR - No action instance for path /selectTiles could be created this class was moved to shared. Thansk, Oleg On Mon, 21 Feb

Re: Tomcat: who is knocking on my door?

2005-02-21 Thread Michael Greer
Front it with apache and restrict access by user agent. -Michael Greer On Feb 21, 2005, at 5:55 PM, Dola Woolfe wrote: First, I'm sure this is documented so can anyone point me to the documentation on how to determine the client application. Second, does Tomcat itself do anything different

[SECURITY ISSUE] Using allowLinking with deprecated HTTP 1.1 connector

2005-02-21 Thread Mark Thomas
All, A security issue has come to light where a mal-formed request may result in JSP source code disclosure. This issue only applies if all of the following are true: 1. You are using any Tomcat 4 version = 4.1.15 2. You are using the deprecated HTTP 1.1 connector

Re: Tomcat: who is knocking on my door?

2005-02-21 Thread QM
On Mon, Feb 21, 2005 at 02:55:53PM -0800, Dola Woolfe wrote: : First, I'm sure this is documented so can anyone point : me to the documentation on how to determine the client : application. Check for the User-Agent header. (I may have made a typo on the name, but if you iterate through the

Re: moving all classes to shared

2005-02-21 Thread Wendy Smoak
From: Oleg [EMAIL PROTECTED] Hmm, quick question, do you know of a reason why this ould not work for Struts, I did it and for some reason I get an error org.apache.struts.action.RequestProcessor - ERROR - No action instance for path /selectTiles could be created this class was moved to

?? Yet Another Tomcat Documentation Bug ??

2005-02-21 Thread Tony LaPaso
If you go here: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html#Automatic%20Application%20Deployment The first bullet point starts out: Any XML file in the $CATALINA_HOME/conf/[engine_name]/[host_name] directory is assumed... I believe this should say, Any XML file in the

RE: Tomcat 5.5.7 cannot connect to mysql datasource - what changed? New approach [SOLVED]

2005-02-21 Thread Richard Mixon (qwest)
OK, yes it turned out to be one of those dumb configuration errors - BUT also a difference in how Tomcat 5.5.7 (or maybe is is Commons DBCP 1.2.1) behaves under Windows versus Linux. I had camelcased the username property in the context.xml Resource tag as userName. This worked under Windows,

Re: Fwd: JDBC connection - Please help

2005-02-21 Thread Edmon Begoli
Deepak, This '' and null error means that the Tomcat is not finding the JDBC JNDI resource. This is how to fix this on Tomcat 5.5: Make sure that you have a Resource element properly configured in your context.xml that is in $CATALINA_HOME/conf/ directory. Resource name=jdbc/TestDB

?? Does META-INF/context.xml Work ??

2005-02-21 Thread Tony LaPaso
All, I'm using TC 5.0.30. I'm looking at this quote regarding META-INF/context.xml from the TC docs (http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html): Instead, put them in the META-INF/context.xml directory of your WAR file or the conf directory as described above. These

Re: ?? Does META-INF/context.xml Work ??

2005-02-21 Thread Peter Johnson
the META-INF is only valid within a WAR file. PJ Tony LaPaso wrote: All, I'm using TC 5.0.30. I'm looking at this quote regarding META-INF/context.xml from the TC docs (http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html): Instead, put them in the META-INF/context.xml directory of

RE: Facing problems in tomcat configuration - on XP Professional

2005-02-21 Thread raghavendra datt
I verified. No fire wall is enabled in my machine. also I tried changing port to something else (8789) and still am getting the page can not be diplayed error. I dont understand what is preventing from accessing port. i tried giving telnet localhost 8789 and its not connecting to it.. what else

loading JNI .so file with tomcat 5.5.4

2005-02-21 Thread vaheesan selvarajah
Hi folks, Correct me if I sound stupid here :) I am trying to load a simple JNI based .so lib file with Tomcat 5.5.4.(on linux) I am trying to load the .so file within the JSP page. I am not sure if this is allowed. I have tried all the following methods.. 1. putting the .so file in

Re: Facing problems in tomcat configuration - on XP Professional

2005-02-21 Thread Jason Bainbridge
On Mon, 21 Feb 2005 19:21:54 -0800 (PST), raghavendra datt [EMAIL PROTECTED] wrote: I verified. No fire wall is enabled in my machine. also I tried changing port to something else (8789) and still am getting the page can not be diplayed error. I dont understand what is preventing from

Re: Name jdbc is not bound in this Context error

2005-02-21 Thread U K Laxmi
As just moved the GlobalNamingResources inside the main server in my server.xml residing in TOMCAT_HOME/conf directory. When i restart tomcat 5.5.7 it's throwing up following exception. INFO: Starting Servlet Engine: Apache Tomcat/5.5.7 Feb 22, 2005 11:51:46 AM

Re: log4j.properties not found in tomcat

2005-02-21 Thread Michael Greer
Where do you put log4j.properties currently? -Michael Greer On Feb 21, 2005, at 5:02 PM, Brian McGovern wrote: I have a wierd problem. Tomcat on W2k barks FileNotFound Exceptions for the log4j.properties file when i execute a servlet that instantiates log4j. Strangely enough the actual file

RE: ?? Yet Another Tomcat Documentation Bug ??

2005-02-21 Thread Caldarale, Charles R
From: Tony LaPaso [mailto:[EMAIL PROTECTED] Subject: ?? Yet Another Tomcat Documentation Bug ?? The first bullet point starts out: Any XML file in the $CATALINA_HOME/conf/[engine_name]/[host_name] directory is assumed... I believe this should say, Any XML file in the

RE: Facing problems in tomcat configuration - on XP Professional

2005-02-21 Thread Tony
By verified, do you mean that you found Windows firewall and it was disabled? or that you didn't find Windows firewall? Control panel, Security Center might give you another way in. Also, spaces WITHIN names can create almost as much havok as spaces AFTER names. -Original Message- From:

Re: Name jdbc is not bound in this Context error

2005-02-21 Thread Antony Paul
By default server.xml contains have a GlobalNamingResources. You have to add your resources in there. rgds Antony Paul On Mon, 21 Feb 2005 19:56:23 -0800 (PST), U K Laxmi [EMAIL PROTECTED] wrote: As just moved the GlobalNamingResources inside the main server in my server.xml residing in

Tomcat 5.5.7 - error trying to replicate session on Linux

2005-02-21 Thread Richard Mixon (qwest)
OK, we still have one more issue with our Tomcat cluster as we move to our Linux environment. For some reason, both instances (jvmRoute=srv1 and jvmRoute=srv2) see each other at startup. We see that they each join the cluster just fine. But when the first request comes through we get an exception

Re: log4j.properties not found in tomcat

2005-02-21 Thread Jacob Kjome
You have to understand that any relative path is going to be resolved relative to the location where the JVM started. If you started Tomcat via the service rather than the batch files, then the VM would be run, by default, from C:\winnt\System32. So, when you supplied

Re: Name jdbc is not bound in this Context error

2005-02-21 Thread U K Laxmi
I tried without GlobalNamingResources. No luck. When googled, i found that if we include GlobalNamingResource tag, then it will be available in all web context. After spending enough time on that, now i coded all database related stuff in JSP in the way we do in stand alone application. I mean -

Re: volunteering to enhance docs for mod_jk local_worker_only (server quiescence)

2005-02-21 Thread Michael Greer
Mladen, Built new jk from CVS. How to I access the lovely status page? /jkstatus as in jk2? Do have to enable it? Docs do not seem to be updated yet. Looking forward to playing with it! thanks, -Michael Greer On Feb 19, 2005, at 2:44 PM, Mladen Turk wrote: Michael Greer wrote: Mladen , That

RE: Facing problems in tomcat configuration - on XP Professional

2005-02-21 Thread raghavendra datt
Sorry guys.. I got the problem.. Actually firewall was disabled but, norton antivirus was blocking the port.. now, its working... Thanks for all your sugestions I learnt a lot today --- [EMAIL PROTECTED] wrote: By verified, do you mean that you found Windows firewall and it was disabled? or

Re: volunteering to enhance docs for mod_jk local_worker_only (server quiescence)

2005-02-21 Thread Michael Greer
Ah, I extrapolated from the jk2 docs: workers.properties: worker.status.type=status httpd.conf: JkMount /jkstatus/* status Nice! -Michael Greer On Feb 22, 2005, at 1:01 AM, Michael Greer wrote: Mladen, Built new jk from CVS. How to I access the lovely status page? /jkstatus as in

Re: Name jdbc is not bound in this Context error

2005-02-21 Thread Robert F Hall
U K, It works as you said, but there are a couple of things I'll recommend: First, you should move your Connection, ResultSet and Statement declarations before the try {} block and add a finally {} block where you check for null values and close the resources if not null. Connection conn =

Re: Name jdbc is not bound in this Context error

2005-02-21 Thread Antony Paul
If you followed the tomcat docs you will have no problem in DBCP getting to work. Going for Globalnamingresources is needed if you need to access it will all applications. Try to configure it as per the doc in following URL.

problem with ssl

2005-02-21 Thread Thavarajah Kurinchikumaran
Hi all, I am using tomcat as my local server. I removed some keystore files which I created earlier using the keytool delete command . Then I created new keystore file using the command below keytool -genkey -keyalg RSA -alias tomcat -keystore .keystore But when I browse the secure page via

Re: Name jdbc is not bound in this Context error

2005-02-21 Thread U K Laxmi
Sure to do the changes you mentioned. Pls do send the config file for connection pooling and also guidelines for how to use it in my program. It will be a great help. I'm developing web based application for using it inhouse. Later part of time, it may grow to a big MRP application based on the

Tomcat 5.5 working, BUT not outside of webapps/

2005-02-21 Thread Matt
Is this simply not possible? I have tried extrapolating form the docs (which seems to work fine under webapps/ or $CATALINA_HOME) but anything outside of it fails as badly as the other works perfectly, even if I try to swap-out webapps/ for an otuside docbase using the HOST tag already present.

Re: Name jdbc is not bound in this Context error

2005-02-21 Thread U K Laxmi
Yes i read and did as per the document. When it didn't work, i followed the suggetions given to many users in the mailing lists in the internet and now i guess i messed up. Actually in the error, it says, no suitable driver found. I'm using Ms Access as it's free. Do we have any free driver

Re: ?? Yet Another Tomcat Documentation Bug ??

2005-02-21 Thread Tony LaPaso
Yea, I know, I saw that note. It's in the Host element description but references to $CATALINA_HOME (which should be $CATALINA_BASE) are all over the place -- not just under Host documentation. What's more, a reader could easily think that the note you mentioned *only* referred to the Host

Re: problem with ssl

2005-02-21 Thread Antony Paul
You can check whether the keystore is properly created using the following command keytool -list -alias tomcat rgds Antony Paul On 22 Feb 2005 12:24:05 +0600, Thavarajah Kurinchikumaran [EMAIL PROTECTED] wrote: Hi all, I am using tomcat as my local server. I removed some keystore files

Re: Class GtorActionServlet is not a Servlet

2005-02-21 Thread Adrian Wilford
Hi, This does not help - the class now implements Servlet, and also extends ActionServlet - still get Tomcat saying that this class is not a Servlet. import java.io.File; import javax.servlet.Servlet; import javax.servlet.ServletConfig; import javax.servlet.ServletException; import

Re: Name jdbc is not bound in this Context error

2005-02-21 Thread Antony Paul
I dont whether MS Access is considered as RDBMS. For serious development it is not recommended. Using ODBC have several problems. I will recommend PostgreSQL. Now it runs very well on Windows. But requires Windows 2000 or higher. You can find it at

Re: Tomcat 5.5 working, BUT not outside of webapps/

2005-02-21 Thread Michael Greer
Why don't you show us your config file. This behavior work fine for me with 5.5.7, with Apache mod_jk. On Feb 22, 2005, at 1:20 AM, Matt wrote: Is this simply not possible? I have tried extrapolating form the docs (which seems to work fine under webapps/ or $CATALINA_HOME) but anything

Re: Name jdbc is not bound in this Context error

2005-02-21 Thread U K Laxmi
Thank you for the replies. Ms Access is not a relational databaase. It's just DBMS. I didn't know that PostGreSQL is a open source RDBMS system. All the sqls, table creation etc.. works similar to Oracle or any other RDBMS? I'm working on windows 2000 machine. --- Antony Paul [EMAIL PROTECTED]

Re: Name jdbc is not bound in this Context error

2005-02-21 Thread Antony Paul
Most SQL is same and it supports a subset of SQL 92 and SQL 99 standards. Every RDBMS vendor have some proprietory code which dont work in other databases. There is one RDBMS Firebird(http://firebird.sourceforge.net/). The site claims that it is more like Oracle. rgds Antony Paul On Mon, 21

Re: Name jdbc is not bound in this Context error

2005-02-21 Thread U K Laxmi
Thanks for the replies. What do u mean by the following in ur erlier mail. Did you defined your newly created context web in server.xml or at TOMCAT_HOME\conf\Catalina\localhost\some name.xml Does it mean i need to create a new xml file in TOMCAT_HOME\conf\Catalina\localhost?

Re: Name jdbc is not bound in this Context error

2005-02-21 Thread Antony Paul
You can name it the name of the context(web). The content should be similar to any other file there. I am giving a sample Context docBase=${catalina.home}/webapps/web antiResourceLocking=false antiJARLocking=false /Context rgds Antony Paul On Mon, 21 Feb 2005 23:18:55 -0800 (PST), U