Re: Java Class is not compiling

2004-07-28 Thread shiv juluru
give servlet.jar path to ur classpath ,that jar file may be in tomcat_root/common/lib folder Sayeed [EMAIL PROTECTED] wrote:Sir I am new to Tomcat. I am now making my first Servlet and trying to creat a class (sayeed). It give me errors as under :

Problem with proper shutdown of tomcat

2004-07-28 Thread dejw
Hi, I have tomcat 4.1.30 installed on linux red hat 9 with java version 1.4.1_03. Sometimes when I shutdown tomcat by using shutdown script it remains java process in memory which I have to kill manually. Only then I can start up tomcat again. What can be the reason of this? I'm using

isapi jk2 adapter

2004-07-28 Thread Alex
made a post a few days ago which never received a reply. part of me honestly believes that someone out there, or developers, at one point in time, have played with virtual hosts. but then again, maybe not. could be fresh new territory. i like surprises. [ environment ] 2 x windows 2000 with

Re: Who knows about ISAPI?

2004-07-28 Thread Alex
What kind of problems are you having? Normally I scan fairly quickly to see if there are any subjects which I might have the ability to help out with. JK2/Isapi, i've spent far too much time on in the past few months. I found a really good tutorial a few months ago relating to the redirector

Re: HttpUrlConnection.getInputStream() returns empty

2004-07-28 Thread David Goodenough
Could you list your operating environment. I have (see my other note) a very similar problem, and I think that by working out which components are common to both of us we can narrow this down much quicker. I am using 5.0.27 Tomcat (I also used 4.1 and got the same problem), I am using JSPs with

Re: Java Class is not compiling

2004-07-28 Thread Sayeed
dear sir and Shivjuluru these are my Paths: set JAVA_HOME=C:\j2sdk1.4.2_04 set CATALINA_HOME=C:\APACHE\TOMCAT set CLASSPATH=C:\Apache\Tomcat\common\lib\servlet.jar but still when I compile my servlet file (sayeed) it give the same erros:

Re: detecting the shutdown of tomcat in a servlet

2004-07-28 Thread Rodrigo Ruiz
There is more than one way :-) - From within a servlet, add a shutdown hook with Runtime.getRuntim().addShutdownHook() - Create a ServletContextListener, and implement the clean stop of your daemon in the listener contextDestroyed() method - Create an initialization servlet, and implement the

Re: Problem with proper shutdown of tomcat

2004-07-28 Thread Rodrigo Ruiz
Maybe you have some non-daemon threads running. This would prevent the JVM from exiting. I would do the following: - Once the java process is frozen, ask it a thread stack dump (I do not remember well, but I think in Linux you must send the process a QUIT signal) - In the trace you should see

Tomcat and citrix

2004-07-28 Thread Gunnar Pörschke
does anyone know if tomcat can handle citrix metaframe ?

Venkateswara Chinni/R6/USEPA/US is out of the office.

2004-07-28 Thread Chinni . Venkateswara
I will be out of the office starting 07/28/2004 and will not return until 09/07/2004. I will be out of the office starting 07/28/2004 and will not return until 09/07/2004. If you need assistance for Express Link, please contact Mark at 214-665-2116. If you need assistance for SDMS, please

Re: JK 1.2.6 compilation obstacles

2004-07-28 Thread TL C
--- TL C [EMAIL PROTECTED] wrote: I not quite sure how to post the questions on the problem I faced with tomcat-connector-jk-1.2.6 to tomcat group mailing list? Hope this is the one. I have serious problem with compilation on Redhat Enterprise AS 3.0. When I tried to compile, I got

Re: Java Class is not compiling

2004-07-28 Thread shiv juluru
ok sayeed, just open ur command prompt and give cmdset classpath=%classpath%;C:\Apache\Tomcat\common\lib\servlet.jar;C:\j2sdk1.4.2_04\lib\tools.jar;C:\j2sdk1.4.2_04\dt.jar;C:\j2sdk1.4.2_04\jre\lib\rt.jar;. now compile ur java file (ex: javac sayeed) if it works,it's may be the problem with

easy debugging

2004-07-28 Thread Vamsee Kanakala
Hello list users, I'm using Tomcat on win2k. There is a window which is always open when Tomcat runs. It shows messages like INFO: etc. Is there a way I can write to this window from inside a servlet? I'm just looking for an easy way to debug my servlets. TIA, Vamsee. -- Because joy is

RE: easy debugging

2004-07-28 Thread STOCKHOLM, Raymond
The best advise I can give you is to use a proper logging API : Log4J is great : http://logging.apache.org/log4j/docs/ http://logging.apache.org/log4j/docs/download.html Just put your log4j.properties file in the classpath of your webapp (WEB-INF/classes), and log4j will automatically use this

Re: Java Class is not compiling

2004-07-28 Thread Schalk Neethling
Sayeed Try changing: set CLASSPATH=C:\Apache\Tomcat\common\lib\servlet.jar TO set CLASSPATH=C:\Apache\Tomcat\common\lib\servlet-api.jar shiv juluru wrote: ok sayeed, just open ur command prompt and give cmdset

Re: Problem with proper shutdown of tomcat

2004-07-28 Thread shiv juluru
ya i am also agree with rruiz if u getting problems like this ,use killall java in linux Rodrigo Ruiz [EMAIL PROTECTED] wrote: Maybe you have some non-daemon threads running. This would prevent the JVM from exiting. I would do the following: - Once the java process is frozen, ask it a thread

RE: Broken pipe exception with every request!

2004-07-28 Thread Shapira, Yoav
Hi, As the error message hints, a common cause for this exception is the client closing the browser while you're generating the page. People do that often when they run into error pages, e.g. as soon as they see the 404 header. I don't know what the rest of your 404.jsp does, but you should try

RE: Application scope Variable initialize more than onece in my web application that is running on tomcat 5.25

2004-07-28 Thread Shapira, Yoav
Hi, I bet you have the context or init servlet declared twice. Can you post the relevant parts from your server.xml and web.xml? (Or alternatively just comment on my assertion?) To answer some of you specific questions: 07/07/2004 11:04:53 WARN [http-8080-Processor4] Yes, http-8080-Processor4

RE: detecting the shutdown of tomcat in a servlet

2004-07-28 Thread Shapira, Yoav
Hi, Excellent answer by Rodrigo Ruiz. I wanted to correct one tiny part, and for Tomcat it's a theoretical correction only, but since this a common mistake and a blemish on an otherwise great post: load-on-startup servlets are initialized on startup by the container. But that doesn't mean they

RE: easy debugging

2004-07-28 Thread Shapira, Yoav
Hi, Use System.out.println to write to the console. Then take Mr. Stockholm's advice and convert the log4j. Yoav Shapira Millennium Research Informatics -Original Message- From: Vamsee Kanakala [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 8:44 AM To: Tomcat Users List

RE: Problem with proper shutdown of tomcat

2004-07-28 Thread Shapira, Yoav
Hi, Amen! The responses on the list so far have made my day! ;) Yoav Shapira Millennium Research Informatics -Original Message- From: Rodrigo Ruiz [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 6:29 AM To: Tomcat Users List Subject: Re: Problem with proper shutdown of tomcat

RE: tomcat PID creation and monitoring

2004-07-28 Thread Shapira, Yoav
Hi, Nagios is also an excellent tool along these lines. You didn't mention you tomcat version, but recent ones have a switch in $CATALINA_HOME/bin/catalina.sh which writes the PID out to a file of your choice. This will be the actual PID and you don't have to write the script yourself. Yoav

RE: Problem with proper shutdown of tomcat

2004-07-28 Thread Jignesh Patel
Yes there is a problem with shutdown. In linux you can use command killall -9 java to stop deamon java thread. -Jignesh On Wed, 2004-07-28 at 08:59, Shapira, Yoav wrote: Hi, Amen! The responses on the list so far have made my day! ;) Yoav Shapira Millennium Research Informatics

Re: easy debugging

2004-07-28 Thread Thilo Krawietz
Hi Vamsee, there is a log()-Method defined in the HttpServlet Interface. Just call this.log(your debug msg); from within your servlet, then the message should appear HTH, Thilo Hello list users, I'm using Tomcat on win2k. There is a window which is always open when Tomcat runs. It shows

RE: Point Apache at Tomcat Contexts via JkMount

2004-07-28 Thread Matthew Mamet
Re: Tomcat Admin Tool - Point taken. :-P Re: jkMount - If I understand correctly jkMount involves pointing Apache Virtual Hosts at specific jk2 workers. The example from the jakarta site shows: # send all requests ending in .jsp to worker1 JkMount /*.jsp worker1 # send all requests jsp

Tomcat 5.0.27 / JavaServer Faces

2004-07-28 Thread Betto McRose G,
I deleted all in work/localhost/ and re-run the server... it works ! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Tomcat and citrix

2004-07-28 Thread Shapira, Yoav
Hi, I don't know, but what are the requirements for handling citrix metaframe ? Yoav Shapira Millennium Research Informatics -Original Message- From: Gunnar Pörschke [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 6:46 AM To: 'Tomcat Users List' Subject: Tomcat and citrix

AW: Tomcat and citrix

2004-07-28 Thread Gunnar Pörschke
A web server needed... Or: is there a forward like jk2 mod for this: www.mydomain.com - tomcat www.mydomain.com/mycontent - tomcat content www.mydomain.com/citrix - apache/iis whatever webserver listening on port xyz with their content e.g. www.mydomain.com:xyz/Citrix Could I make clear what

RE: not able to create my context path

2004-07-28 Thread Benjamin Armintor
If that's a verbatim copy of your Context elements, make sure that the closing tag is /Context, not /context. Otherwise, the document is not well-formed XML, and won't be parsed by the Tomcat Digester. Benjamin J. Armintor Operations Systems Specialist ITS-Systems: Mainframe Group University

DataSource

2004-07-28 Thread Bussie, Andre D
By adding the resource-ref tag to the web.xml and including the ResourceLink tag in the Context of the server.xml it allieviated the issues of the datasource not bound to the Context. However, I received another error listed below 2004-07-28 08:59:49 StandardWrapperValve[jsp]:

RE: Tomcat and citrix

2004-07-28 Thread Shapira, Yoav
Hi, Well, Tomcat certainly is a web server, and can certainly handle requests by itself... Yoav Shapira Millennium Research Informatics -Original Message- From: Gunnar Pörschke [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 9:26 AM To: 'Tomcat Users List' Subject: AW: Tomcat

Upgrade TC5

2004-07-28 Thread David Liles
We are currently running version 5.0.19 and have been experiencing a gradual memory leak on our MS Windows 2000 IIS web server. (TC is installed on our IIS box). Last night we upgraded the ISAPI connector from version 2.0.2 to 2.0.4 and was wondering if upgrading to TC 5.0.27 would help

RE: jasper exception in jsp -- please help..

2004-07-28 Thread Shilpa Nalgonda
org.apache.jasper.JasperException: /BillingInfo.jsp(1,16) quote symbol expected I am getting the above error, i am using struts tags in my BillingInfo.jsp. Below is my BillingInfo.jsp... %@ page contentType=text/html;charset=UTF-8 language=java % %@ taglib uri=/WEB-INF/struts-html.tld

RE: Upgrade TC5

2004-07-28 Thread Shapira, Yoav
Hola, Without knowing the cause of your memory leak, it's hard to tell whether an upgrade will help. That said, it's usually a good idea to use the latest stable version of any given product, especially if you test it beforehand with your application. As for the service upgrade process: I'm not

Re: jasper exception in jsp -- please help..

2004-07-28 Thread David Smith
Hmm the jsp appears to be alright. What's in your application.properties file for properties used in the html:errors/ tag? Shilpa Nalgonda wrote: org.apache.jasper.JasperException: /BillingInfo.jsp(1,16) quote symbol expected I am getting the above error, i am using struts tags in my

RE: jasper exception in jsp -- please help..

2004-07-28 Thread Shilpa Nalgonda
this is my application.properties file.. == # -- standard errors -- errors.header=UL errors.prefix=LI errors.suffix=/LI errors.footer=/UL # -- validator -- errors.invalid={0} is invalid. errors.maxlength={0} can not be greater than {1}

Re: jasper exception in jsp -- please help..

2004-07-28 Thread David Smith
Well... worth a shot. This appears to be the stock, standard application.properties file. Got me. I even ran this snippet through an XML validator and other than missing tr.../tr around the row for lastname and a missing /html ending tag, everything is good. Maybe check the original file

RE: jasper exception in jsp -- please help..

2004-07-28 Thread Shilpa Nalgonda
yeah, that helped just by adding closing html and missing tr tags...thanks for ur help. -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 10:33 AM To: Tomcat Users List Subject: Re: jasper exception in jsp -- please help.. Well... worth a

Re: jasper exception in jsp -- please help..

2004-07-28 Thread David Smith
Cool. I would never have suspected missing tags to cause that error. Glad to help. --David Shilpa Nalgonda wrote: yeah, that helped just by adding closing html and missing tr tags...thanks for ur help. -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, July

Venkateswara Chinni/R6/USEPA/US is out of the office.

2004-07-28 Thread Chinni . Venkateswara
I will be out of the office starting 07/28/2004 and will not return until 09/07/2004. I will be out of the office starting 07/28/2004 and will not return until 09/07/2004. If you need assistance for Express Link, please contact Mark at 214-665-2116. If you need assistance for SDMS, please

getting Naming exception with struts...please help...

2004-07-28 Thread Shilpa Nalgonda
I am using struts in my web application, My application is trying to create a new user in the database when the user clicks on the submit button giving teh user information. And i am getting connection not found error. below is the error stack trace... WARNING: Unhandled Exception thrown: class

RE: jasper exception in jsp -- please help..

2004-07-28 Thread Sternbergh, Cornell
Missing tags/end tags can wreak havoc on a page. When I first got started on this, I admit to being a tad sloppy. Hey, it worked in BrandXBrowser, move on. Well, not good... Now I try to express everything, if doc says such-and-such tag is assumed or default or something I put it in

JVM memory size changing dramatically

2004-07-28 Thread Futchi
Hi all, I am running tomcat 5 on Win2003 server, my single app. has several threads running in the background (threads loading and writing data, detecting URL connections). Tomcat starting-up with 80 up 90 MB memory size as Win2003 shows in the Tasks Manager, it keeps running stable

Goodbye and Thanks

2004-07-28 Thread Adam Buglass
As I come to the end of my current contract and this e-mail address will in all probability be decommissioned shortly I will soon unsubscribe from this list ( hopefully with more success than others - you can take no news as goodnews ;-) ) I just wanted to say thanks for the help, support (and

RE: Goodbye and Thanks

2004-07-28 Thread Sternbergh, Cornell
And good luck to you, Adam... Cornell -Original Message- From: Adam Buglass [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 11:09 To: Tomcat Users List Subject: Goodbye and Thanks As I come to the end of my current contract and this e-mail address will in all probability be

RE: Goodbye and Thanks

2004-07-28 Thread Shapira, Yoav
Hola, Good luck and see you around ;) Yoav Shapira Millennium Research Informatics -Original Message- From: Adam Buglass [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 11:09 AM To: Tomcat Users List Subject: Goodbye and Thanks As I come to the end of my current contract and

RE: JVM memory size changing dramatically

2004-07-28 Thread Shapira, Yoav
Hi, Windows needs additional space for other things (including possibly idle thread cleanup) and swaps your process into a paging area temporarily. It's fairly standard practice, and as you noted results in no errors, so don't worry about it. Yoav Shapira Millennium Research Informatics

RE: getting Naming exception with struts...please help...

2004-07-28 Thread Shilpa Nalgonda
Can someone please help on this error... -Original Message- From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 11:03 AM To: Tomcat Users List Subject: getting Naming exception with struts...please help... I am using struts in my web application, My

RE: JVM memory size changing dramatically

2004-07-28 Thread Safadi, Mazin
But windows has enough space, 2GB memory, Dual processors, this app. is running but still Tomcat does not receive hits, what will happen if the server has up to 500 visitors concurrently, How windows will handle this? How to make sure that JVM will not goes down? -Original

RE: JVM memory size changing dramatically

2004-07-28 Thread Dale, Matt
Only you can answer these questions by testing your application with something like Jmeter. Devise tests that replicate user behaviour and increase the load until it breaks. Then you will be able to see what it can handle and how windows copes with the load. Ta Matt -Original

RE: DataSource

2004-07-28 Thread Aris Javier
Hello! just restart tomcat and your done... =) aris -Original Message- From: Bussie, Andre D [mailto:[EMAIL PROTECTED] Sent: Wed 7/28/2004 9:35 PM To: [EMAIL PROTECTED] Cc: Subject:DataSource By adding the resource-ref tag to the web.xml and including the

Re: JVM memory size changing dramatically

2004-07-28 Thread Peter Lin
as others have stated, the only way to know is to stress test your app. even without running a test, I can tell you IIS5 running on a dual CPU box cannot handle 500 concurrent requests for dynamic pages. 500 concurrent requests for static files isn't a problem. Depending on the kind of

Re: JVM memory size changing dramatically

2004-07-28 Thread Reynir Þór Hübner
Hi, The only good way of knowing what your setup is capable of, is testing. if you do not reach the 500 concurrent visitors mark in simulation testings (using JMeter or some ohter stress tool) you will probably not be able to serve 500 real concurrent users. Be sure to run the test over night,

RE: JVM memory size changing dramatically

2004-07-28 Thread Futchi
I don't think it's related to the IIS5, my web server is Tomcat5. how many concurrent requests related to my hardware (JVM) and tomcat threading. I have MySql server 4.0.16 (max_connections=300), and Tomcat5 both running on the same machine. -Original Message- From: Peter Lin

Re: JVM memory size changing dramatically

2004-07-28 Thread Peter Lin
keep in mind that even if you set the max connections to 300, it doesn't mean it can realiably handle 300 concurrent queries with good performance. I would use JMeter to stress test the database with real queries. Once you get a picture of how the queries scale in relation to the number of

DataSource -- help please

2004-07-28 Thread Bussie, Andre D
I restarted Tomcat and I'm still receiving the following error 2004-07-28 12:56:27 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null', cause:

5.0.19 - production release?

2004-07-28 Thread Sunitha Kumar
Folks: I wanted to find out if 5.0.19 is a production release, or just a alpha/beta? thanks, -sunitha - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: 5.0.19 - production release?

2004-07-28 Thread Dale, Matt
It was a production release but is far from the latest. Ta Matt -Original Message- From: Sunitha Kumar [mailto:[EMAIL PROTECTED] Sent: 28 July 2004 18:26 To: [EMAIL PROTECTED] Subject: 5.0.19 - production release? Folks: I wanted to find out if 5.0.19 is a production release, or just a

RE: 5.0.19 - production release?

2004-07-28 Thread Shapira, Yoav
Hi, 5.0.19 is a production or stable release as we call it. There have been a couple of stable releases since then (and several alpha/beta ones). 5.0.27 is the latest stable release. Yoav Shapira Millennium Research Informatics -Original Message- From: Sunitha Kumar [mailto:[EMAIL

JasperException in custom tag processing

2004-07-28 Thread Jonathan Oddy
Dear All, I am in the process of porting/migrating a working web app from JRun 4 to Tomcat 5 and have come across a custom tag processing problem that I am ignorant about how to solve. I've looked through the tomcat docs and a number of mail archives but haven't found anything pertinent to this

Document

2004-07-28 Thread tomcat-user
Important notice! Se eliminó Norton AntiVirus1.txt Description: plain/text - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Venkateswara Chinni/R6/USEPA/US is out of the office.

2004-07-28 Thread Chinni . Venkateswara
I will be out of the office starting 07/28/2004 and will not return until 09/07/2004. I will be out of the office starting 07/28/2004 and will not return until 09/07/2004. If you need assistance for Express Link, please contact Mark at 214-665-2116. If you need assistance for SDMS, please

Re: Tomcat 5.0.27 / JavaServer Faces

2004-07-28 Thread Betto McRose G,
I cannot understand what you're asking man :( the tomcat started again to serve, but the faces jar gets me error alwyas - Original Message - From: Hiroshi Iwatani [EMAIL PROTECTED] To: Betto McRose G, [EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 3:00 PM Subject: Re: Tomcat 5.0.27 /

Re: JVM memory size changing dramatically

2004-07-28 Thread Dennis Dai
Can't remember where I read it but it's something like this on NT/2k/XP/2k3 family: Windows is using the physical memory as cache to cache the real app image in the swap file. So if your app has been idle for a while, it's very likely to be swap out of the physical memory. This is regardless

Logging, Analysis and Forwarding

2004-07-28 Thread SH Solutions
Hi I have 3 questions: 1. How can I enable redirection of errorLogs, accessLogs AND stdout/stderr into MONTHLY files with tomcat 5.0.27+? 2. Is there any freeware tool to analyse tomcats accessLogs? 3. Is there an easy way to forward host/test/... to http://127.0.0.1:8080/test/ (there is

struts problem..action forward not working...please help...

2004-07-28 Thread Shilpa Nalgonda
I am writing a struts application...I have configued struts-config such that when the user submit billing info, the data is inserted into database and returns result.jsp page. when i run my aplication the billing info is created in database but the result page is displayed blank. Is there any in

Re: struts problem..action forward not working...please help...

2004-07-28 Thread David Liles
try: return (mapping.findForward(success)); [EMAIL PROTECTED] 07/28/04 02:44PM I am writing a struts application...I have configued struts-config such that when the user submit billing info, the data is inserted into database and returns result.jsp page. when i run my aplication the billing

RE: Point Apache at Tomcat Contexts via JkMount

2004-07-28 Thread Matthew Mamet
Has anyone had time to think on this? Any thoughts or advice is greatly appreciated. Thx From: Matthew Mamet [mailto:[EMAIL PROTECTED] Sent: Wed 7/28/2004 9:10 AM To: Tomcat Users List Subject: RE: Point Apache at Tomcat Contexts via JkMount Re: Tomcat Admin

Re: Logging, Analysis and Forwarding

2004-07-28 Thread Robert Bateman
On Wednesday 28 July 2004 03:47 pm, SH Solutions wrote: 3. Is there an easy way to forward host/test/... to http://127.0.0.1:8080/test/ (there is apache in 8080, tomcat on 80). I read that filters could do so, but found no example... I used a simple HTML Redirect to accomplish this. I

Re: Broken pipe exception with every request!

2004-07-28 Thread Michael Mehrle
Good input, but the site is not being accessed by anyone but me right now and I sure did NOT cancel the page load. So, this is being caused by something else... Michael - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday,

Cannot create JDBC driver of class

2004-07-28 Thread Bussie, Andre D
What's triggers this error message I've been trying to connect to a datasource via JNDI on Tomcat 5.0.19 for the past couple of days and it seems like when I fix one problem I run into another. Does anyone know what causes this error message? org.apache.commons.dbcp.SQLNestedException: Cannot

RE: Cannot create JDBC driver of class

2004-07-28 Thread Wilson, Allen
I not sure but when I did this for mysql and got this error. It was due to the version of the driver that I used. The version that I had was lower than what the java libraries was expecting. You may want to check the driver to see what version of Java it works with. Allen -Original

RE: struts problem..action forward not working...pleasehelp...

2004-07-28 Thread Shilpa Nalgonda
I changed to success instead of result, but i have another problem javax.servlet.ServletException: org/apache/jsp/result_jsp (wrong name: org/apache/jsp/Result_jsp) In the beginning i had path as result.jsp in forward element of struts config file. But i have named the jsp as Result.jsp. But

Rewriting URLs in Tomcat

2004-07-28 Thread Jacob Weber
Is it possible to have Tomcat interpret one URL, e.g. http://www.mysite.com/dir/dir/file to really load another one, e.g. http://www.mysite.com/otherdir/otherfile.do I think Apache can do this with mod_rewrite; is there a Tomcat equivalent? I need this to maintain backward compatibility for

Stopping takes ages

2004-07-28 Thread Christina Androne
Hello everybody Does anybody has a clue on why stopping the Tomcat takes ages? And why some pages are never returned to the client although the servlets send the output in less then a second? Thank you, Christina - To

why do we get ...javax.servlet.ServletException: org/apache/jsp/result_jsp (wrong name:org/apache/jsp/Result_jsp)

2004-07-28 Thread Shilpa Nalgonda
-Original Message- From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 5:16 PM To: Tomcat Users List Subject: RE: struts problem..action forward not working...pleasehelp... I changed to success instead of result, but i have another problem

RE: Rewriting URLs in Tomcat

2004-07-28 Thread Robert Harper
Have you tried the HttpServletResponse .sendRedirect( String url ) method? Robert S. Harper 801.265.8800 ex. 255 -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jacob Weber Sent: Wednesday, July 28, 2004 3:07 PM To: [EMAIL PROTECTED] Subject: Rewriting URLs in

Re: Rewriting URLs in Tomcat

2004-07-28 Thread Tim Funk
At http://funkman.home.comcast.net/ I have a project called ServletUtils. You can use either RedirectFilter or ForwardFilter. They both can use regex's. -Tim Jacob Weber wrote: Is it possible to have Tomcat interpret one URL, e.g. http://www.mysite.com/dir/dir/file to really load another one, e.g.

Re: why do we get ...javax.servlet.ServletException: org/apache/jsp/result_jsp (wrong name:org/apache/jsp/Result_jsp)

2004-07-28 Thread Wendy Smoak
From: Shilpa Nalgonda [EMAIL PROTECTED] javax.servlet.ServletException: org/apache/jsp/result_jsp (wrong name: org/apache/jsp/Result_jsp) In the beginning i had path as result.jsp in forward element of struts config file. But i have named the jsp as Result.jsp. But inorder to correct it i

RE: why do we get ...javax.servlet.ServletException: org/apache/jsp/result_jsp (wrong name:org/apache/jsp/Result_jsp)

2004-07-28 Thread Shilpa Nalgonda
thanks it works -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 5:42 PM To: Tomcat Users List Subject: Re: why do we get ...javax.servlet.ServletException: org/apache/jsp/result_jsp (wrong name:org/apache/jsp/Result_jsp) From: Shilpa

can't register jmx for protocol

2004-07-28 Thread Christina Androne
Hello Has anybody encounter this and knows what's to be done about it? I found this in one of the logs: CoyoteConnector Coyote can't register jmx for protocol This started happening after I messed out the server.xml file or someone messed up my deployment machine. I've googled for this error

Re: can't register jmx for protocol

2004-07-28 Thread Christina Androne
Christina Androne wrote: Has anybody encounter this and knows what's to be done about it? I found this in one of the logs: CoyoteConnector Coyote can't register jmx for protocol What I forgot to add is that apparently the effect of this error is that the browsers are never returned a response

Re: can't register jmx for protocol

2004-07-28 Thread Christina Androne
Christina Androne wrote: Christina Androne wrote: Has anybody encounter this and knows what's to be done about it? I found this in one of the logs: CoyoteConnector Coyote can't register jmx for protocol This other error shows up too: 2004-07-29 01:42:32

Re: can't register jmx for protocol

2004-07-28 Thread Christina Androne
Christina Androne wrote: Christina Androne wrote: Has anybody encounter this and knows what's to be done about it? I found this in one of the logs: CoyoteConnector Coyote can't register jmx for protocol This other error shows up too: 2004-07-29 01:42:32

[5.0.27] change to setContentType() causing problem in UTF-8 servlet, plz help

2004-07-28 Thread Rick
Hi all, I have a servlet that gets a bunch of data from the DB and returns in the form of XML, in UTF-8. This has been working with all the 5x versions until 5.0.27. It seems to be caused specifically by the change listed in the change log. org.apache.cayote.tomcat5.CayoteResponse.java

Re: DataSource -- help please

2004-07-28 Thread Koon Yue Lam
Hi, I think the exception already told you what going wrong according to: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-resources-howto.html the url should be: parameter nameurl/name valuejdbc:HypersonicSQL:database/value /parameter so if your database call testDB the url

Re: Rewriting URLs in Tomcat

2004-07-28 Thread Jacob Weber
Tim Funk [EMAIL PROTECTED] wrote: At http://funkman.home.comcast.net/ I have a project called ServletUtils. You can use either RedirectFilter or ForwardFilter. They both can use regex's. Robert Harper [EMAIL PROTECTED] wrote: Have you tried the HttpServletResponse .sendRedirect( String url )

Re: can't register jmx for protocol

2004-07-28 Thread Bill Barker
This message is totally harmless. It happens when you've removed the ServerLifecycleListener from your server.xml file. The only thing that it means is that the admin webapp won't work. Tomcat should otherwise function normally. Christina Androne [EMAIL PROTECTED] wrote in message news:[EMAIL

Re: Upgrade TC5

2004-07-28 Thread Bill Barker
broken-record Tomcat 5.0.19 has a known memory leak when using the JkCoyote Connector. Upgrading will remove the leak, as will setting: request.registerRequests=false in your jk2.properties file. /broken-record David Liles [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] We are

Mysterious null pointer exception

2004-07-28 Thread Vamsee Kanakala
Hello list users, Maybe this is not the best place to ask a general servlet doubt, but I'm hoping someone can point out the mistake I'm making. I'm attaching a servlet file (FetchEmployeeServlet.java), which for some strange reason, gives a Null-Pointer Exception when accessing a function.