CATALINA_BASE Error ContextConfig.tldScanJar

2002-12-11 Thread Elisabeth Julg
Hi, I have set CATALINA_BASE, but when I start tomcat, I have error. Have you an idea ? Settings : CATALINA_HOME : D:\Programmes\jakarta-tomcat-4.1.16-LE-jdk14 CATALINA_BASE : D:\Base Directory : conf and webapps copied from CATALINA_HOME. (admin.xml and manager.xml changed to point

Tomcat4, Apache2,mod_jk2, inprocess

2002-12-11 Thread Andrew Pealing
I'm attempting (and struggling) to use the inprocess worker. (Using ajp13 works fine) Any ideas from the error messages below as to what's wrong? I guess it's something to do with the vm section of the workers2.properties (below). I'm using jdk1.3.1_02 in RH7.3 When starting Apache, this is

Re: TC 4.1 and VM crash: how to report issue?

2002-12-11 Thread Kristján Bjarni Guðmundsson
I don't recomend using the -server option, the server version is buggy as hell and crashes constantly, you will just have to wait for SUN to get their act together. Aymeric Alibert [EMAIL PROTECTED] wrote on 10.12.2002 22:38:19: We are running a Tomcat 4.0 server in our production

cgi redirect does not work

2002-12-11 Thread Fabien Roy
Hello! I want to use CGI redirections in my application running on Tomcat 4.1 This simple redirect.cgi script: (I did a chmod 755 on the file) $url = http://www.perl.com/; print Location: $url\n\n; exit; does not work when I call it from a HTML page: A

Re: Custom Valves and Administration Tool

2002-12-11 Thread Bill Barker
Jon Eaves [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi again Bill, Aha. I was hoping this wasn't going to be the answer. Oh well. [ snip ] If this is the case, why does the code for the Valve recommend implementing the Lifecycle interface ?

apache-tomcat integration

2002-12-11 Thread Manish Sharma
hello Sir please help me on this issue. i have followed all instruction from this http://jakarta.apache.org/tomcat-old/jakarta-tomcat/src/doc/tomcat-apache-howto.html. but still i could'nt connect apache to tomcat. there is no error log generated by both apache tomcat. i have included auto

Re: apache-tomcat integration

2002-12-11 Thread Kaustuv Sharma
Hi Manish, pls detail the steps u had gone through to connect apache and tomcat..did u set the worker's file?...what platform r u using? Regards, Kaustuv Sharma S.S.NetCom Pvt. Ltd. Dhankheti, Shillong - 3 Ph: 0361-502355 Visit us at www.neline.com

server.dtd

2002-12-11 Thread David Rayroud
Has anyone a dtd file for the server.xml file ? I'm using Tomcat4.1.12, running on SME5.7 Linux Server. Thank you David Rayroud -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Two Sites in Tomcat4.1.12

2002-12-11 Thread Laxmikanth M.S.
Hi all, I want' to create two websites. site1 - www.site1.com site2 - www.site2.com I am using Tomcat alone not apache-tomcat combination can some please tell me the changes to be done in server.xml... how to add two host and default contexts. thanks a lot in advance. laxmikanth

RE: The future of Tomcat and java.nio

2002-12-11 Thread Felipe Schnack
Yes... would be really cool, I took a look at these packages... but I think probably tomcat will implement them in a year or more, 1.3 is being used by a lot of people yet. On Wed, 2002-12-11 at 04:13, Nicholas Orr wrote: You might get a faster reply from developers if you post this in the

Re: Off Topic: SAP DB

2002-12-11 Thread Felipe Schnack
why this db is better than Pgsql, for example? On Tue, 2002-12-10 at 21:43, Peng Tuck Kwok wrote: Yes. working fine for me. Works ok with sun app server as well. Fabio Mengue wrote: Hello, Does anyone here has tested or uses SAP DB (www.sapdb.org) ? I am willing to try it, but

Re: apache-tomcat integration

2002-12-11 Thread Boris Folgmann
Manish Sharma wrote: there is no error log generated by both apache tomcat. i have included auto generated mod_jk.conf into httpd.conf file. i have I've used mod_webapp instead of mod_jk2. It's really hard to find out on the web if mod_webapp has some severe disadvantages in comparision to

Re: Q: SingleThreadModel and Tomcat

2002-12-11 Thread Felipe Schnack
I totally agree, but sometimes you want a single instance of a servlet anyway On Tue, 2002-12-10 at 23:33, Craig R. McClanahan wrote: On Mon, 9 Dec 2002, David Boyer wrote: Date: Mon, 09 Dec 2002 12:19:12 -0600 From: David Boyer [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL

where is stderr sent?

2002-12-11 Thread Fabien Roy
Hi! Where is stderr sent? Where is this defined? I have the following line in my application log (the path is defined in server.xml) 2002-12-11 12:45:42 cgi: runCGI: 1 lines received on stderr And I would like to know what that line is... Thanx Fabien -- To unsubscribe, e-mail:

Re: URGENT : Multiple host in Tomcat

2002-12-11 Thread Jean-Luc BEAUDET
Well, i had had this pb... The best solution, for me, is to ask for yur net Admin to get Aliases for the main DNS entry yu have actually. For example: MyMainHost.MyDomain.com is 192.245.23.45 So get a DNS alias MySecondHost.MyDomain.com with the same IP and so on... In yur Apache's httpd.conf

Re: where is stderr sent? AND ALSO 'System.err'

2002-12-11 Thread Patrick Kosiol
Hi, this is a good question. In Java there is also a System.err. So I am also interested where the Messages were written. How does Tomcat handle those errormessages? Are them be logged in a special file oder easiely given out through the console. Are there differences between Linux and

Re: where is stderr sent? AND ALSO 'System.err'

2002-12-11 Thread Jon Eaves
Hi all, Try these: Logger className=org.apache.catalina.logger.SystemErrLogger / Logger className=org.apache.catalina.logger.SystemOutLogger / Cheers, -- jon Patrick Kosiol wrote: Hi, this is a good question. In Java there is also a System.err. So I am also interested

Re: where is stderr sent? AND ALSO 'System.err'

2002-12-11 Thread Patrick Kosiol
Hi, OK, thats right but where are the messages written to? Into a logFile? Patrick Jon Eaves wrote: Hi all, Try these: Logger className=org.apache.catalina.logger.SystemErrLogger / Logger className=org.apache.catalina.logger.SystemOutLogger / Cheers, -- jon Patrick

Re: where is stderr sent? AND ALSO 'System.err'

2002-12-11 Thread Mike W-M
From the documentation: (http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/logger.html) Standard Error Logger (org.apache.catalina.logger.SystemErrLogger) The Standard Error Logger records all logged messages to whatever stream the standard error output of Catalina is pointed at. The

RE: URGENT : Multiple host in Tomcat

2002-12-11 Thread Laxmikanth M.S.
This is what I am trying to do Host name=www.testhost.com debug=15 appBase=testhost Context path=/ docBase=/usr/local/jakarta-tomcat-4.1.12/testhost/ROOT debug=5 privileged=true Logger

Need help using manager of tomcat

2002-12-11 Thread Sherif D Mohamad
Dear All, I successfully installed tomcat standalone on rehat linux 7.3 and seems working ok, I am trying to use the manager to I can make changes to sites without restarting server When I try the command : http://www.myserver.com/manager/deploy?path=/firsttest I have the following error FAIL -

Tomcat port number

2002-12-11 Thread Laxmikanth M.S.
Hi all, How to change 8080 port number to some other port for tomcat thanx Laxmikanth * Disclaimer: The information in this e-mail and any attachments is confidential / privileged. It is intended solely for the addressee or

Re: URGENT : Multiple host in Tomcat

2002-12-11 Thread Patrick Kosiol
Hi, check this docu: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/http11.html Patrick Laxmikanth M.S. wrote: This is what I am trying to do Host name=www.testhost.com debug=15 appBase=testhost Context path=/

Two Instances

2002-12-11 Thread Laxmikanth M.S.
Hi all, can I have two instances of Tomcat installed in one machine and both the servers should be running. we need to change the port for once instance of tomcat as 9090 instead of 8080 so taht both tomcat will listen at different port. is this possible. My doubts may be silly but since I am

RE: Tomcat port number

2002-12-11 Thread David Rayroud
Hi, You must edit your $TOMCAT_HOME/conf/server.xml. Make a search for 8080 and you must see something like this : Service name=Tomcat-Standalone Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8080

RE: TC 4.1 and VM crash: how to report issue?

2002-12-11 Thread Shapira, Yoav
Hi, Hmm. I've seen more VM crash logs than I care to count, but I've never seen one where it didn't have the internal function name. Interesting. That in itself may give Sun some information. Have you tried the same tests with the alternate thread library (LWP) if it's available for your

RE: Tomcat port number

2002-12-11 Thread Laxmikanth M.S.
ya I got that and changed is it possible to run two instance of tomcat in same machine Regards Laxmikanth M S Off* : 91-80-6610330 extn 1256 Res* : 91-80-5267150 http://www.sonata-software.com Coming together is the beginning, staying together is progress and working together is Success

RE: The future of Tomcat and java.nio

2002-12-11 Thread Shapira, Yoav
Howdy, This is a common, and will become even more prevalent, question. ;) Mr. Schnack's answer explains a big part of it: right now we still have a lot of users using JDK's older than 1.4. A JDK 1.4 requirement is not possible for the 4.x branch of tomcat. For Tomcat 5.x, there may be some

RE: Two Instances

2002-12-11 Thread Ralph Einfeldt
My 10th (or so) repost to this topic: First: Have a look at RUNNING.txt in the tomcat distribution: (4) Advanced Configuration - Multiple Tomcat 4 Instances ... Second: Although the following is for unix and tomcat standalone, this should give you the right direction. We have a

Re: Need help using manager of tomcat

2002-12-11 Thread Boris Folgmann
Sherif D Mohamad wrote: Dear All, I successfully installed tomcat standalone on rehat linux 7.3 and seems working ok, I am trying to use the manager to I can make changes to sites without restarting server When I try the command : http://www.myserver.com/manager/deploy?path=/firsttest I

RE: The future of Tomcat and java.nio

2002-12-11 Thread Rademacher Tobias
Hi Folks, you can wrap a ServletInputStream or ServlertOuputStream with a Channel. Just use: java.nio.Channels.newChannel(inStream); So you are able to use nio into your servlets. I understand that's hard to port form old io to nio. But when you are able to use 1.4+ and you are also able to

Re: Need help using manager of tomcat

2002-12-11 Thread Jon Eaves
Hi all, Provided my memory serves me correctly, you can't use the manager application to deploy. Deploy requires the use of POST, and the ant task is the only way to do that. Use install instead, or the ant deploy task, or copy a context.xml into the webapps dir, or package up a war and put it

Beginner

2002-12-11 Thread eduardofcomelo
I have installed the Tomcat but the examples aren't working very well. Example the numberguess do not work. All the examples are out of work ! What can I do to verify that my tomcat is working ? best regards, Eduardo Melo

Re: Need help using manager of tomcat

2002-12-11 Thread Boris Folgmann
Jon Eaves wrote: Hi all, Provided my memory serves me correctly, you can't use the manager application to deploy. If you're right, the documentation should be changed. But what about the text input fields on /manager/html/list? Is it simply unfinished? The form action missing? --

Re: where is stderr sent? AND ALSO 'System.err'

2002-12-11 Thread Mehdi . Nejad
in short System.err.print (mystring); should - by default anyway - print mystring to $CATALINA_HOME/logs/stderr.log mehdi -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Problem running in Tomcat 4.1.2 - works fine in 4.0

2002-12-11 Thread Jim Henderson
I spent more hours than I care to count wondering what was happening. The posting helped me out too. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 10, 2002 11:56 AM To: 'Tomcat Users List' Subject: RE: Problem running in Tomcat 4.1.2 - works

Re: Beginner

2002-12-11 Thread Denis Haskin
What happens when the examples do not work? Do you get an error message? What is it? dwh eduardofcomelo wrote: I have installed the Tomcat but the examples aren't working very well. Example the numberguess do not work. All the examples are out of work ! -- To unsubscribe, e-mail:

RE: TC 4.1 and VM crash: how to report issue?

2002-12-11 Thread Aymeric Alibert
Actually, I thought I had LWP set for this run. But I can't see any reference to /usr/lib/lwp in the VM crash report , so I might have goofed my Tomcat set-up. I will try again. Thanks. Aymeric [EMAIL PROTECTED] 12/11/02 07:18AM Hi, Hmm. I've seen more VM crash logs than I care to count,

Re: Need help using manager of tomcat

2002-12-11 Thread Jon Eaves
Boris Folgmann wrote: Jon Eaves wrote: Hi all, Provided my memory serves me correctly, you can't use the manager application to deploy. If you're right, the documentation should be changed. Well, maybe. Remember the manager application is talking about the /manager web application and

Re: TC 4.1 and VM crash: how to report issue?

2002-12-11 Thread Aymeric Alibert
I changed the debug flag to 10 in all elements of my server.xml. Looking at the log file, I cannot identifiy any error or warning from Tomcat before it crashes. Here is a sample: ... StandardContext[/residential]: Mapped to servlet 'default' with servlet path '/images/home_hdr.jpg' and path

Monitor Connection Pool

2002-12-11 Thread Sundar Chakravarthy
Is there anyway I could monitor the dbcp connection pool, In tomcat ? Thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Ship java app to windows box

2002-12-11 Thread Steve Stearns
Ola Berg wrote: My question is if it is common to ship java web app to Windows box with tomcat and jdk. Common, I don't know, but it isn't legal (license-wise) to redistribute the JDK (only the JRE), and the JDK is needed for tomcat. The solution to this problem is to distribute the

Re: Monitor Connection Pool

2002-12-11 Thread Tim Funk
AFAIK - no. Sundar Chakravarthy wrote: Is there anyway I could monitor the dbcp connection pool, In tomcat ? Thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Two instances of Tomcat

2002-12-11 Thread Ben Ricker
Remember that with 2 Tomcats, you need DOUBLE the memory. You may be attempting to use more memory then you have in the box. Use 'top' to watch the memory utilization and see if you are filling up on memory to create the spreadsheet thingy. You can control the memory usage of Tomcat using the

RE: Ship java app to windows box

2002-12-11 Thread Greg Trasuk
Check Sun's licensing pages for JDK/JRE. They changed it a few months ago so that you can redistribute tools.jar and a few other things legally. http://java.sun.com/j2se/1.3/jre/README Greg Trasuk, President StratusCom Manufacturing Systems Inc. - We use information technology to solve business

Re: TC 4.1 and VM crash: how to report issue?

2002-12-11 Thread Ben Ricker
Have you tried turning off the HotSpot JIT compiler and trying your test? All other things being equal, this will show you that the problem resides in the interaction between Tomcat and the compiled code. Just a thought... Ben Ricker On Wed, 2002-12-11 at 08:44, Aymeric Alibert wrote: I

RE: Tomcat examples - reply to Carlos

2002-12-11 Thread Carlos Alberto Peláez Ayala
Dear friend, Thank´s for help me. -Mensaje original- De: news [mailto:[EMAIL PROTECTED]]En nombre de Bill Barker Enviado el: miércoles, 11 de diciembre de 2002 1:46 Para: [EMAIL PROTECTED] Asunto: Re: Tomcat examples - reply to Carlos Actually, this is not quite right. There is a bug

RE: Monitor Connection Pool

2002-12-11 Thread Stone, Timothy
Can you elaborate a little more? My guess is that you want to monitor the connection pool as connection objects are used or freed. You might want to look at http://www.javaexchange.com/ and Mark Mnich's DBConnectionBroker. It provides a logging facility that can tell report this information to

What do these errors mean?

2002-12-11 Thread Luca Ventura
Hello everybody! I have installed Tomcat 4.1.12 as Servlet Container and IIS as Web Server in my Windows 2000 machine. I use the ISAPI filter to redirect requests from IIS to Tomcat: in particular I use the JK connector isapi_redirector.dll you can find at:

Re: Two Instances

2002-12-11 Thread Cees van de Griend
On Wednesday 11 December 2002 14:10, Laxmikanth M.S. wrote: Hi all, can I have two instances of Tomcat installed in one machine and both the servers should be running. we need to change the port for once instance of tomcat as 9090 instead of 8080 so taht both tomcat will listen at different

RE: What do these errors mean?

2002-12-11 Thread Wagoner, Mark
The connection reset by peer error simply means the client closed the connection before all of the output was written. This is usually because the user hit the Stop button or navigated to a different page before the first one was fully loaded. This can also happen if a user double-clicks on a

Request/Connection Timeout

2002-12-11 Thread GUNTURU, SRINIVAS [AG-Contractor/1000]
Hi, We are using Tomcat 4.0.4 on Apache. Right now when we have a request that takes longer than 300 seconds(5 minutes), connections are timing out and we are getting various errors. How do we go about increasing this timeout so that the request does not timeout. Unfortunately, The analysis

Re: Beginner

2002-12-11 Thread Cédric Viaud
And what do you get when you type : http://localhost:8080 on a browser on the computer where Tomcat is installed ? Do you see the Tomcat home page ? HTH, Cédric - Original Message - From: Denis Haskin [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, December

RE: Request/Connection Timeout

2002-12-11 Thread Hari Venkatesan
You can set session time outs in Web.xml file Hari -Original Message- From: GUNTURU, SRINIVAS [AG-Contractor/1000] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 10:28 AM To: '[EMAIL PROTECTED]' Subject: Request/Connection Timeout Hi, We are using Tomcat 4.0.4 on

RE: Request/Connection Timeout

2002-12-11 Thread GUNTURU, SRINIVAS [AG-Contractor/1000]
Thanks for the quick response Hari. But, It's not the session that is timing out. It is the request that is timing out though the server is still working on the request. Hope this helps. -Original Message- From: Hari Venkatesan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11,

Hello World

2002-12-11 Thread eduardofcomelo
The Program Hello World is not working properly the QUERY_STRING cames empty to others parameters too. What can I do to get it working properly ? best regards, eduardo melo __ Venha para a VilaBOL! O melhor lugar para

RE: Request/Connection Timeout

2002-12-11 Thread Ralph Einfeldt
I would recommend that you redesign your app. There are request timeouts on several levels (Browsers, proxies, caches, ...), so changing such value just in tomcat may not help you. Just one solution: Encapsulate the processing in bean. Start the processing in a seperate thread. Set the

RE: Request/Connection Timeout

2002-12-11 Thread Hari Venkatesan
In Server.xml file you have connection time out for each of the connector class. Also if you have configured connection pools in server.xml you can increase the maxwait parameter value. Hari -Original Message- From: GUNTURU, SRINIVAS [AG-Contractor/1000] [mailto:[EMAIL PROTECTED]]

RE: where is stderr sent? AND ALSO 'System.err'

2002-12-11 Thread Shatzer, Larry
That is only true if it is running as a service under Windows, with System.err defined for the service. http://www.alexandriasc.com/software/JavaService/documentation.html#Event_Lo gging (This happens to be the service tomcat uses to install and run tomcat as a service under windows, as

RE: Hello World

2002-12-11 Thread Reynir Hübner
Please send the error messages you get. If you are trying to get parameters from url you can use : String param_value = request.getParameter(nameofparameter); Hope it helps -reynir -Original Message- From: eduardofcomelo [mailto:[EMAIL PROTECTED]] Sent: 11. desember 2002 15:42 To:

Re: Request/Connection Timeout

2002-12-11 Thread Tim Funk
Personally - I would ... - first create servlet which starts the computational work in a new thread. - the servlet then redirects to another page which can monitor the progress of the computational work (and does a meta refresh every few seconds) - when the computational work is done - redirect

RE: Request/Connection Timeout

2002-12-11 Thread Sexton, George
As others have said, you need to re-design your app. Personally, I would initiate the computation in a background thread and mail the results to the user as a PDF document. Further, I would use a queue design so that only one computation is running at a time. What will your app do if the user

Re: Request/Connection Timeout

2002-12-11 Thread Boris Folgmann
Hari Venkatesan wrote: You can set session time outs in Web.xml file Hari This is for the automatic cleanup of beans in the session context. This has nothing to do with HTTP timeouts. -- Dipl.-Inf. Boris Folgmann mailto:[EMAIL PROTECTED] Folgmann IT-Consulting http://www.folgmann.de

urgent !!!!problem with availability of port !

2002-12-11 Thread neha shah
Hello sir/mam , the port 8080 that si default for tomcat cani change it to some other port no as it is never free on my school server for that where all do i ahev to amke changes . PLs can u reply asap as i have my demo today and post 8080 is in use . reagrds neha

RE: How to get a File for a certain folder

2002-12-11 Thread Price, Erik
-Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 10, 2002 8:34 PM To: Tomcat Users List Subject: Re: How to get a File for a certain folder [...] For maximum portability, you should use the ServletContext.getResourcePaths() method

RE: urgent !!!!problem with availability of port !

2002-12-11 Thread Reynir Hübner
You change it in server.xml where the HTTP connector is specified. You find server.xml under c:\$tomcathome$\conf\server.xml Hope it helps -reynir -Original Message- From: neha shah [mailto:[EMAIL PROTECTED]] Sent: 11. desember 2002 15:29 To: [EMAIL PROTECTED] Subject: urgent

RE: Request/Connection Timeout

2002-12-11 Thread GUNTURU, SRINIVAS [AG-Contractor/1000]
Thanks to everyone for their responses. I probably should have mentioned a little bit about our application architecture. The client is a Java Applet and all requests to server are made using Java HttpConnection. We have not had this problem when we ran on JRun. At times, we had a request run

Re: urgent !!!!problem with availability of port !

2002-12-11 Thread rsequeira
You can change it to whatever you wish as long as it doesn't conflict with any other. The default port for HTTP is 80. But Tomcat by default (if no changes have been made to server.xml) listens on port 8080. Use netstat -an (and grep for LISTEN if you are on a Unix box). This will tell you which

RE: urgent !!!!problem with availability of port !

2002-12-11 Thread Johnson, Garrett
To chage the port: 1. Open server.xml file in your $TOMCAT_HOME/conf/ directory. 2. Find the section describing the main Tomcat Connector: ...Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=80... 3. Alter the port attribute. -Original Message- From: neha shah

RE: Request/Connection Timeout

2002-12-11 Thread Ralph Einfeldt
Multipart responses are nice, if you can make shure that all clients have a browser that support this. (Like in an intra- or extranet). Have also a look at: http://www.pushlets.com Especially: http://www.pushlets.com/pushlet/examples/basics/index.html -Original Message- From: Tim

RE: Two Sites in Tomcat4.1.12

2002-12-11 Thread Turner, John
Please see the documentation. In addition, server.xml is heavily documented with comments in the file itself. Take the Host element for localhost and copy it. Change the name. Copy the DefaultContext in the localhost Host element. John -Original Message- From: Laxmikanth M.S.

RE: Tomcat port number

2002-12-11 Thread Turner, John
PLEASE READ THE DOCUMENTATION There is a file included with Tomcat called RUNNING.txt that describes multiple Tomcats on one machine. READ IT. John -Original Message- From: Laxmikanth M.S. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 8:20 AM To: Tomcat Users List

Tomcat on Startup

2002-12-11 Thread Peter
To all, What is the best way to start tomcat(4.1.9) on a boot up(Red Hat 8.0)? It would be nice if it were to show up in the Services like http(Apache 2.04). Thanks, Peter __ The NEW Netscape 7.0 browser is now available.

Tomcat/HTTPD Integration

2002-12-11 Thread Johnson, Garrett
Ladies and Gentlemen: I've got 2 problems here: 1. I've got a webapp sitting in the /webapps/ROOT directory, and I'd like to be able to access it using Apache HTTPD instead of Tomcat's built-in server. However, the way it's set up now, simply typing in http://www.myserver.com will bring up my

RE: Tomcat/HTTPD Integration

2002-12-11 Thread Ralph Einfeldt
With such diffent questions it a good idea to split the post in two messages. response.sendRedirect(/start.jsp?param=foo); -Original Message- From: Johnson, Garrett [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 5:23 PM To: 'Tomcat Users List' Subject: Tomcat/HTTPD

RE: Tomcat on Startup

2002-12-11 Thread David Rayroud
Hi, I'm using SME5.7 Server (based on Redhat 8.0), with Tomcat 4.1.12. To make tomcat as a service, I did this command. /sbin/chkconfig --add tomcat4 Try to do this. I'm not sure... Please read the manual of chkconfig David Rayroud -Message d'origine- De : Peter [mailto:[EMAIL

uPortal

2002-12-11 Thread Carlos Alberto Peláez Ayala
Hello, something in the list is using uPortal ?? thank´s. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re[2]: How to get a File for a certain folder

2002-12-11 Thread Jacob Kjome
Hello Erik, No, you won't really have write capability...at least not FileIO write capability. You might be able to update some resource the same way as you might update a file in a jar file at runtime, although I haven't looked into that. The only place you are guaranteed write access is to

Re: urgent !!!!problem with availability of port !

2002-12-11 Thread Jacob Kjome
Hello neha, Switch the port that the http connector for Tomcat in server.xml is pointing to. For instance... Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8081 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443

RE: Monitor Connection Pool

2002-12-11 Thread Noel J. Bergman
Is there anyway I could monitor the dbcp connection pool You might want to subscribe to [EMAIL PROTECTED] If/when DBCP complies with JDBC v3, section 11.2 of the JDBC v3 specification should apply. --- Noel -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

How to access /images?

2002-12-11 Thread Boris Folgmann
Hi! What's the preferred way of accessing e.g. images or other JSPs using absolute pathnames in a JSP? If I use something like img src=/images/pic.gif this does not work if the webapp is not deployed to the root context. There are some methods in ServletContext for path handling, which should be

learning filters

2002-12-11 Thread Price, Erik
I have been learning about servlet programming from Core Servlets. I like this book. But, since subscribing to this list, I have seen mention of filters. In a message from Yoav Shapira I was recommended to use filters to validate form data before passing it to a servlet. This seems to me a

Using response.sendRedirect() with POST

2002-12-11 Thread Johnson, Garrett
Is there any way to encode parameters into a redirected response WITHOUT just encoding them into the URL like this: response.sendRedirect( /errorpage.jsp?errorcode=12 ); I'd like for it to be transparent to the user, using post, or some other invisible method like the request.setAttribute(

Deny access to directory of a web-app

2002-12-11 Thread Luiz Ricardo
Hi everybody, I'd like to know if there's anyway to deny acess to a specific directory of a web-app using only TomCat through config in web.xml. Example, in a web-app test there's a directory called conf (CATALINA_HOME/webapps/test/conf) with some configurations file so I don´t want users

RE: Tomcat on Startup

2002-12-11 Thread Larry Meadors
On one box, I did this: create a symbolic link in /etc/rc3.d named S55tomcat to $CATALINA_HOME/bin/catalina.sh I modified catalina.sh, adding (at the top) 'source /etc/profile' (without the quotes) to get my environment set up. Probably a good idea to add a link in /etc/rc0.d and /etc/rc6.d

Re: learning filters

2002-12-11 Thread Jacob Kjome
Hello Erik, Filters were introduced in the Servlet 2.3 specification. Your book probably only covers Servlet 2.2. Tomcat-4.x.x supports the Servlet 2.3 spec so, Filters are doable. See the following resources for starters... Essentials of Filters

RE: learning filters

2002-12-11 Thread Shapira, Yoav
Howdy, code in the servlet. However, Core Servlets does not describe how to use filters (that I know of). Is there a reference for this technique This article provides a good overview with some examples: http://www.javaworld.com/javaworld/jw-06-2001/jw-0622-filters.html out from using

Re: The future of Tomcat and java.nio

2002-12-11 Thread Jeanfrancois Arcand
The Servlet 2.4 (Tomcat 5) spec clearly say that we have to support JDK 1.3...That's one of the reason why nio is not used. Once 1.4 will be required, then we will evaluate the possibility of using nioGet ready to submit patches at that time :-) -- Jeanfrancois Joe Tomcat wrote: It seems

Re: How to access /images?

2002-12-11 Thread Jacob Kjome
Hello Boris, This issue is much more problematic in servlets. Since you know which directory your .jsp file is relative to your images, I would continue using relative paths. This is what you'd need to do for static html files anyway. For servlets, prepending the context path is probably a

Re: Weird error on Win2k server

2002-12-11 Thread Jeanfrancois Arcand
Billy Ng wrote: Are you sure you have JDK 1.4? Do you have only the JRE or the full JDK? Yes, we do. The installler will call the jdk installer. If you have only the JRE, then that's the problem. Tomcat needs the full JDK version (that include a file called tools.jar).

Re: Deny access to directory of a web-app

2002-12-11 Thread Jacob Kjome
Hello Luiz, Why don't you put your conf directory under WEB-INF? That is restricted by default. Your app will still have complete programmatic access to it, but it won't be accessible via the web which is exactly what you want. Jake Wednesday, December 11, 2002, 10:12:33 AM, you wrote: LR Hi

RE: apache-tomcat : 405 mettod not allowed error: please help

2002-12-11 Thread Anup Ray
Thank you John. I bounced Apache Server today and it worked for me. Thank you again for your help. Anup -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 10, 2002 3:27 PM To: 'Tomcat Users List' Subject: RE: apache-tomcat : 405 mettod not allowed

Re: learning filters

2002-12-11 Thread Jeanfrancois Arcand
A good start will be to read the specs section 6 where filter are explained. http://jcp.org/aboutJava/communityprocess/first/jsr154/ You will certainly learn the basic of filters. -- Jeanfrancois Price, Erik wrote: I have been learning about servlet programming from Core Servlets. I like

Re: learning filters

2002-12-11 Thread Andreas Probst
Hi Erik, now you have already been told, where to look in the first place. I found Hunter's explanation of ServletResponseWrappers etc. not so easy to understand. If you have questions with this, I recommend the following message: From: Andreas Probst [EMAIL PROTECTED] To: Tomcat Users List

Re: CATALINA_BASE Error ContextConfig.tldScanJar

2002-12-11 Thread Jeanfrancois Arcand
Which version of Xerces are you using? If its 2.2.x, then downgrade to 2.1.0. There is a bug with Xerces 2.2.0, 2.2.1, 2.0.2. If you are not using Xerces, please post the entire stack trace. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13282 -- Jeanfrancois ( vive Tomcat francais!)

multiple versions of xerces allowed in one tomcat instance?

2002-12-11 Thread Swanson, Brion
Hello, I have an issue where I'm trying to run Tomcat 4.1.12 with Axis 1.0 and my own webapp. Both Tomcat 4.1.12 and Axis 1.0 prefer Xerces 2 (actually, Axis needs it because it needs the lexical handling that isn't offered by Xerces 1). However, a component in my own webapp (which I didn't

test

2002-12-11 Thread Denise Mangano
I seem to be having some problems posting to this newsgroup, so I am sending this test message... Sorry for the interruption... Denise Mangano Help Desk Analyst Complus Data Innovations, Inc. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

Re: server.dtd

2002-12-11 Thread Jeanfrancois Arcand
There is no such file. If you look inside server.xml, you will see there is no DOCTYPE element. Tomcat do not validate this file when reading it. -- Jeanfrancois David Rayroud wrote: Has anyone a dtd file for the server.xml file ? I'm using Tomcat4.1.12, running on SME5.7 Linux Server. Thank

Config changes for speed?

2002-12-11 Thread Johnson, Garrett
When running Tomcat 4.1 from essentially the default Win2K binary install, what configuration settings should be changed if I've finished debugging and testing, and just want the app. to go as fast as possible? I'm only concerned with speed, I've got the app set up at this point... This is

Re: TC 4.1 and VM crash: how to report issue?

2002-12-11 Thread Jeanfrancois Arcand
You are right. Nothing helfull...Yoav recommendations are probably the way to explore nowYou should file a bug and try to escalate it on the SUN web site. -- Jeanfrancois Aymeric Alibert wrote: I changed the debug flag to 10 in all elements of my server.xml. Looking at the log file, I

  1   2   3   >