Tomcat log in linux

2002-08-26 Thread neal
In Windows, when you run Tomcat, a DOS command line window pops up and you see real-time messages from Tomcat. If something isn't going right ... you see those messages. Is there something analogous in Linux/Tomcat? I'm trying to get the dumb thing running but I'm not seeing any debug info and

Servlet output returned as a file

2002-08-26 Thread Nehemia Litterat
Hi The servlet I am writing is working 100% the problem is that the servlet output which goes to java.io.PrintWriter out = response.getWriter(); is returned as a file. The browser insted of showing the html is asking me to save it to disk. When I am looking at the file everything is

Re: Servlet output returned as a file

2002-08-26 Thread J . Schweizer
Helloo Nehemia, I suggest setting the ContentType of the response to something that fit's your data. response.setContentType(text/html); Otherwise some Browsers (Netscape 6.2 for example) treat no content as binary a.f.a.i.k Hope that helps, Jan

RE: Servlet output returned as a file

2002-08-26 Thread neal
What did you set the Content-type as? It should be test to html/text. If it is set to a type not supported by your browser it may ask you to save it as a file. Neal -Original Message- From: Nehemia Litterat [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 12:03 AM To: [EMAIL

Re: startup/shutdown Tomcat on Linux

2002-08-26 Thread Yousef Shemisa
Neal, Assuming you're running a bash-like (sh, bash, ksh) shell then you would execute the Linux analogs of shutdown.bat or startup.bat, which are named shutdown.sh and startup.sh respectively. So you would type the following from the console (no brackets in actual input): [cd $CATALINA_HOME

Re: Tomcat Installation on linux

2002-08-26 Thread Jhair Tocancipa Triana
- == khozaima shakir [EMAIL PROTECTED] writes: - Should a startup window open? It didn't open. No, if you are running tomcat from a shell. Or did you run it from a Windows emulator? - When I try to shutdown the tomcat, it gives segmentation fault. How do you shutdown the tomcat?

unpacking war files?

2002-08-26 Thread Cyrill Zadra
Hi I'm using tomcat 4.0.4. My ant building Script creates a war file and put it to the in the subdirectory geonet of the webapps directory. But now the Tomcat don't automaticallly unpack this war file. In the server.xml configuration file I insert a new Context entry Context path=/geonet

Re: unpacking war files?

2002-08-26 Thread J . Schweizer
Hi Cyrill, put the .war right into the webapps/ directory (not into a subdirectory) and I believe it will deploy. that will be webapps/geonet.war if it doesn't deploy try deleting the geonet directory first. Hope that helps, Jan

Can't restart Linux

2002-08-26 Thread neal
I can't get tomcat to restart in linux. I run the ./bin/startup.sh file and it lists a fe env variables ... no errors. This seems to imply that its starting ... but yet I never get a response back from the server. It was working fine until I added a couple of host and connector nodes to the

Re: unpacking war files?

2002-08-26 Thread Cyrill Zadra
Hi Thanks a lot. I actuallay already tried that way, but instead to put all the files to the geonet directory it stored it in the weapps directory. But now it works! Cyrill [EMAIL PROTECTED] wrote: Hi Cyrill, put the .war right into the webapps/ directory (not into a subdirectory) and I

RE: Can't restart Linux

2002-08-26 Thread Jacob Vennervald Madsen
In the server.xml change all debug=XX attributes from 0 to 10 and look in the log files when you run the startup.sh script. I can't remember which file to look in but just try all of them. You will probably see an error in one of these files. Jacob -Original Message- From: neal

RE: Can't restart Linux

2002-08-26 Thread neal
Alright. Did that. It generated a log file catalina_2002-8-26. But all it says in it is HttpConnector Opening server socket on all host IP addresses. :-\ No errors seem to have been reported The really interested behavior here ... is that the web browser never really comes back. It just

RE: Can't restart Linux

2002-08-26 Thread neal
Actually, I found another file that contained all the system err out info - logs/catalina.out. I was able to resolve the problem with this debug info. Thanks for the tip! :) Neal -Original Message- From: neal [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 2:24 AM To: Tomcat

Max Http Connection on Tomcat4.0

2002-08-26 Thread Adziashvili, Itzik
Hi all, I am trying to determine the maximum number of simultaneous Http connections to Catalina. In order to do so I have written a simple served that - Accepts a request (overrides only the service ) - Reads some data from the request (128 bytes) - Sleeps for 20 secs - Writes random

RE: startup/shutdown Tomcat on Linux

2002-08-26 Thread Chris Campbell
or if it is an option you might want to install the 4.0.4 rpm, it seems to install the rc.d scripts for you automatically Just use the .sh counterparts to the .bat files you used on Windows. If you want Tomcat to start when the system comes up (or, to use some jargon, enters the proper

RE: startup/shutdown Tomcat on Linux

2002-08-26 Thread Chris Campbell
hi neal with tomcat4.0.4 there are no default webapps. (Prior to this there was a root context pre-configured) If you are getting a page that says 'There is no context available to process this request' or something, then it's running. If you are getting the standard 'The page cannot be

Re: Tomcat Installation on linux

2002-08-26 Thread khozaima shakir
Hi Jhair, yes, I am running tomcat from shell. About shoutdown, I shutdown tomcat by : shutdown.sh Thanks Shakir From: Jhair Tocancipa Triana [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Tomcat Installation on linux Date:

RE: Tomcat log in linux

2002-08-26 Thread Turner, John
No, there is nothing analogous to the command line window that pops up in Windows in Linux when starting tomcat. Windows is a poor operating system for running services. Linux/UNIX is a proper operating system for running services...there is no need to startup another process to run tomcat on

RE: Can't restart Linux

2002-08-26 Thread Turner, John
Please give us more information. Be specific. What URL is not giving a response? What do the logs say? After you run startup.sh, what is the output of ps -ef |grep java? John Turner [EMAIL PROTECTED] -Original Message- From: neal [mailto:[EMAIL PROTECTED]] Sent: Monday, August

apache-tomcat

2002-08-26 Thread Adar Wesley
Hi Group ! I have a tomcat connected to apache. I would like to use apache for static content and tomcat for dynamic. Any ideas how to do that ? Any references ? Tal Moshaiov Log-On [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

AW: apache-tomcat

2002-08-26 Thread carsten . pieper
Hi Tal, never done it myself but here is a best practices Making Tomcat Work with Apache: http://dcb.sun.com/practices/howtos/tomcat_apache.jsp Hope that helps, Carsten -Ursprüngliche Nachricht- Von: Adar Wesley [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 26. August 2002 15:14 An:

RE: apache-tomcat

2002-08-26 Thread Turner, John
If you have tomcat connected to apache, you can see this in action by checking the JkMount directives in your httpd.conf. Use JkMount to notify apache which URLs should be sent to tomcat. John Turner [EMAIL PROTECTED] -Original Message- From: Adar Wesley [mailto:[EMAIL PROTECTED]]

Re: unpacking war files?

2002-08-26 Thread Jacob Kjome
You have to deploy your.war file to a directory on your own if you have a defined context pointing to a directory with the same name as a .war file. It is actually stated in the docs that the auto deployment of the.war file will *not* happen in this case, however, I'm not entirely sure why?

Re: apache-tomcat

2002-08-26 Thread Jacob Kjome
If you use mod_jk, you can auto-generate the config files that need to be included at the end of your httpd.conf file Put this immediatey after the opening Server ... element: Listener className=org.apache.ajp.tomcat4.config.ApacheConfig

Re: AW: apache-tomcat

2002-08-26 Thread Glenn Nielsen
That article is for using mod_webapp as the connector between Tomcat 4 and Apache. I wouldn't necessarily consider that a best practice. I have found mod_jk 1.2 a better solution for my needs. With mod_jk 1.2 I use the Apache mod_jk config directive JkAutoAlias. This automatically maps Apache

RE: javax directory

2002-08-26 Thread Reis, Tom
Would that in the classpath for java or for the Tomcat. -Original Message- From: Goverdhan Nookala [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 22, 2002 1:23 PM To: 'Tomcat Users List' Subject: RE: javax directory you need to set the servlet.jar or j2ee.jar file in classpath

RE: javax directory

2002-08-26 Thread jeff . guttadauro
The classpath used when you do your Java compiling. Tomcat is not involved at all at this stage in the game. Reis, Tom

connect Apache + Tomcat on different hosts

2002-08-26 Thread Bauer, Christopher
Hi! Is it possible to have Apache on one host (Solaris 8) and tomcat on another (Win NT 4) connected via mod_jk? If yes, how can I achieve this? Thanks in advance! Kind Regards Christopher --- Christopher Bauer Dresdner Bank AG

RE: Let me try this again: tomcat returns cached file rather than updated file

2002-08-26 Thread Wise, Bowden (Research)
Mike: These are not JSP files, its just a regular file (its actually an XML file), that is being downloaded from a webapp directory via tomcat using a java URL connection from a servlet. Non-jsp files are not stored in work directory. -Original Message- From: Mike Jackson

Re: connect Apache + Tomcat on different hosts

2002-08-26 Thread Peter Choe
modify the workers.properties file and change the host name of the ajp13 connector to the tomcat server. At 09:48 AM 8/26/2002, Bauer, Christopher wrote: Hi! Is it possible to have Apache on one host (Solaris 8) and tomcat on another (Win NT 4) connected via mod_jk? If yes, how can I achieve

Re: Static pages dir inside webapps

2002-08-26 Thread Jeff Forbeck
D - I am a newbie, but may be able to help. The $CATALINA_HOME\webapps\[your app] is the directory I store static pages. This is the area for public files where WEB-INF stores protected documents. Adding a special subdir called [your app]\static\ worked for me. Of course, I forgot to restart

JDBCRealm - difference between no user/password and SQLException

2002-08-26 Thread Michael Remijan
Hi all, Using the JDBCReal, you specify in web.xml what page to goto if there is an error form-error-page.../form-error-page. However, I believe that this page is used for both non fatal situations, like the the username/password doesn't exist, and for fatal situations, like if if the

RE: connect Apache + Tomcat on different hosts

2002-08-26 Thread Turner, John
I believe all you have to change is the worker.ajp13.host line in workers.properties to the correct hostname, which would be the hostname of the machine running tomcat. John Turner [EMAIL PROTECTED] -Original Message- From: Bauer, Christopher [mailto:[EMAIL PROTECTED]] Sent:

Re: Tomcat Installation on linux

2002-08-26 Thread Randall R Schulz
Shakir, Where did you get that command from? Here's what you did: You truncated your shutdown.sh script. The : is the no-op command that is used when one wants to use side-effects (such as I/O redirection) without running a command. The is similar to that of the DOS/CMD.exe/Command.com in

Strange message compiling a JSP in Tomcat 4.0.4

2002-08-26 Thread Nome real
Hi all, I'm using Tomcat 4.0.4 with Security Manager, Sun JDK 1.3.1_04 , trying to run a JSP. I receive the following error: org.apache.jasper.JasperException: Unable to compile class for JSPerror: An error has occurred in the compiler; please file a bug report

changing workers in mod_jk

2002-08-26 Thread Adar Wesley
Hi Group ! when generating mod_jk.conf using tomcat run -jkconf I always get workers named ajpxx, can I change that ? I'd like the mod_jk.conf to be created with workers_named ajpxx_blah. Ciao Tal Log-On [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Re: Tomcat log in linux

2002-08-26 Thread Randall R Schulz
Neal, On Unix (-like) systems, I'll usually start a separate terminal window (I assume you've got an X Window System display connected to the Unix system you're using) and start Tomcat there so I can monitor the standard output. This achieves the same results as the window created by Windows

RE: javax directory

2002-08-26 Thread Reis, Tom
I do have the servlet.jar set in the classpath and I still have the same problem. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 8:56 AM To: Tomcat Users List Subject: RE: javax directory The classpath used when you do your Java

RE: connect Apache + Tomcat on different hosts

2002-08-26 Thread Bauer, Christopher
Hi Peter! Thanks for the reply. I am still confused about the worker.home and workers.java_home properties in the worker.properties file. This configuration file is placed on the unix host, where apache runs. Tomcat runs on my local dev maschine (NT). Should I use the local path for both?

Context management and virtual host

2002-08-26 Thread Q. Werty
I'am looking for a way to manage all contexts installed on my server. I've got numerous virtual hosts and I'like NOT to install manager context in all virtual hosts. How can I do? - Is it possible to install a cross-host context in Tomcat? - I saw the administration interface in Tomcat 4.1 beta.

JWSDP-TOMCAT - how to install Running a bookStore example

2002-08-26 Thread Sundar Manyapu
Hi Friends, I am facing the following problem when i am trying to build, install and run the example. Here is the link what i am trying. http://java.sun.com/webservices/docs/1.0/tutorial/doc/JSTL2.html upto step 3 it is ok. when i try to run ant install i am facing the problem. Here is the

JWSDP-TOMCAT - how to install Running a bookStore example

2002-08-26 Thread Sundar Manyapu
Hi Friends, I am facing the following problem when i am trying to build, install and run the example. Here is the link what i am trying. http://java.sun.com/webservices/docs/1.0/tutorial/doc/JSTL2.html upto step 3 it is ok. when i try to run ant install i am facing the problem. Here is the

Re: changing workers in mod_jk

2002-08-26 Thread Milt Epstein
On Mon, 26 Aug 2002, Adar Wesley wrote: Hi Group ! when generating mod_jk.conf using tomcat run -jkconf I always get workers named ajpxx, can I change that ? I'd like the mod_jk.conf to be created with workers_named ajpxx_blah. I don't know how to change what's in the automatically

RE: connect Apache + Tomcat on different hosts

2002-08-26 Thread Peter Choe
just modify the workers.properties file on the server running the apache. look for the ajp13 connector properties and change: workers.ajp13.home=www.tomcatserver.com and make sure the ajp13 on your tomcat server in the server.xml file is enabled. At 10:22 AM 8/26/2002, you wrote: Hi Peter!

RE: connect Apache + Tomcat on different hosts

2002-08-26 Thread Milt Epstein
On Mon, 26 Aug 2002, Bauer, Christopher wrote: Hi Peter! Thanks for the reply. I am still confused about the worker.home and workers.java_home properties in the worker.properties file. This configuration file is placed on the unix host, where apache runs. Tomcat runs on my local dev

RE: connect Apache + Tomcat on different hosts

2002-08-26 Thread Milt Epstein
On Mon, 26 Aug 2002, Peter Choe wrote: just modify the workers.properties file on the server running the apache. look for the ajp13 connector properties and change: workers.ajp13.home=www.tomcatserver.com That should be host, not home. and make sure the ajp13 on your tomcat server in the

Re: CGI FORM entry empty with TOMCAT standalone

2002-08-26 Thread Stephan Orme
See earlier postings on CGI's I don't think included CGI's work in Tomcat Standalone. I haven't been able to confirm this. Here's my earlier post: I'm using Tomcat 4.0.4 to serve dynamic and static pages. I can get includes to work and I can get CGI's to work but I can't get included CGI's to

Bugzilla down, can't submit tomcat bug

2002-08-26 Thread Michael
I've emailed the contact listed on the error page but the email bounces back. I'm not sure what I can do to report a tomcat bug. -- http://issues.apache.org/bugzilla/post_bug.cgi Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete

RE: Strange message compiling a JSP in Tomcat 4.0.4

2002-08-26 Thread Adziashvili, Itzik
Do you have the stack trace? -Original Message- From: Nome real [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 4:19 PM To: Tomcat Users List Subject: Strange message compiling a JSP in Tomcat 4.0.4 Hi all, I'm using Tomcat 4.0.4 with Security Manager, Sun JDK 1.3.1_04 ,

Re: Tomcat Installation on linux

2002-08-26 Thread khozaima shakir
Hi Randall, Sorry, guess the way i typed was misleading, i typed just shutdown.sh at command prompt. The directory that I was in when I type in startup.sh or shutdown.sh is user/userName/jakarta-tomcat-4.0.4/bin The output i get on shutdown is -- Segmentation fault Shakir From: Randall R

RE: Bugzilla down, can't submit tomcat bug

2002-08-26 Thread Andrew Conrad
Bugzilla seems to be working for me. I read your msg concerning differentiation between SQLException's and user login failure. I don't think it's possible, and I don't think it's a bug. Mainly because not all Realm's use SQLExceptions. I think you would have to modify the Realm interface and

Re: Tomcat Installation on linux

2002-08-26 Thread Michael E. Locasto
try 'sh ./catalina.sh start' from jakarta-tomcat-4.0.4/bin regards, michael - Original Message - From: khozaima shakir [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 26, 2002 11:23 AM Subject: Re: Tomcat Installation on linux Hi Randall, Sorry, guess the way i typed

Re: Context management and virtual host

2002-08-26 Thread Craig R. McClanahan
There is no current support for a manager webapp that works cross-host. The people I know using multiple virtual hosts haven't had any problems with the notion of installing manager in each host (usually with a unique username/password if you allow the virtual host users to manage their own

Re: Strange message compiling a JSP in Tomcat 4.0.4

2002-08-26 Thread Michael E. Locasto
Nome, Although I'm not sure exactly what the problem is, this has happened to me before when I've replaced some class files or jars that a JSP uses while Tomcat was running, and then updated the JSP so Tomcat had to recompile it. A restart of Tomcat fixed the problem. regards, Michael -

Re: Tomcat Installation on linux

2002-08-26 Thread Randall R Schulz
Shakir, Sorry for the misunderstanding. That's pretty odd. It's typical nowadays on Unix systems to omit . from the PATH, so unless you've added . (or an empty PATH element, which is to say a leading colon or two colons in a row), you need to enter ./shutdown or a full path name

Re: Context management and virtual host

2002-08-26 Thread Q. Werty
I agree there's no problem with installing the manager application in each virtual host. I just don't want to do this because I don't want to publish this context to anyone, even with credentials. I would be ready to this on our production server if I could restrict manager context access to some

Re: Tomcat Installation on linux

2002-08-26 Thread Peter T. Abplanalp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Aug 26, 2002 at 11:23:16AM -0400, khozaima shakir wrote: Hi Randall, Sorry, guess the way i typed was misleading, i typed just shutdown.sh at command prompt. The directory that I was in when I type in startup.sh or shutdown.sh is

Re: Tomcat Installation on linux

2002-08-26 Thread Randall R Schulz
Hi, At 08:48 2002-08-26, Peter T. Abplanalp wrote: On Mon, Aug 26, 2002 at 11:23:16AM -0400, khozaima shakir wrote: Hi Randall, Sorry, guess the way i typed was misleading, i typed just shutdown.sh at command prompt. The directory that I was in when I type in startup.sh or shutdown.sh

RE : Bugzilla down, can't submit tomcat bug

2002-08-26 Thread Michael
Did you actually submit a bug? I tried several times on Friday, Saturday, and again today and each time it takes about 5 minutes to time out. The bug I want to submit is for the CATALINA_BASE variable.. When I use it my web app is not accessible. I've posted a few messages about it but haven't

RE: Context management and virtual host

2002-08-26 Thread Andrew Conrad
Use the Remote Address Valve Context path=/manager Valve className=org.apache.catalina.valves.RemoteAddrValve allow=127.0.0.1 / /Context More info is here - http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/valve.html - Andrew -Original Message- From: Q. Werty

Re: Tomcat Installation on linux

2002-08-26 Thread Peter T. Abplanalp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Aug 26, 2002 at 09:07:31AM -0700, Randall R Schulz wrote: Hi, hello. sh -x shutdown.sh shutdown.txt 21 The real point is to include the standard error in the output captured in shutdown.txt good point. And really, a .txt suffix?

Re: Context management and virtual host

2002-08-26 Thread Craig R. McClanahan
On Mon, 26 Aug 2002, Q. Werty wrote: Date: Mon, 26 Aug 2002 17:48:10 +0200 From: Q. Werty [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [utf-8] tomcat-user [EMAIL PROTECTED] Subject: Re: Context management and virtual host I agree there's no problem with installing

RE: Context management and virtual host

2002-08-26 Thread Q. Werty
OK, I haven't saw this. Thanks a lot Use the Remote Address Valve Context path=/manager Valve className=org.apache.catalina.valves.RemoteAddrValve allow=127.0.0.1 / /Context More info is here - http://jakarta.apache.org/tomcat/tomcat-4.0- doc/config/valve.html - Andrew

Re: Context management and virtual host

2002-08-26 Thread Q. Werty
OK, thanks a lot too. On Mon, 26 Aug 2002, Q. Werty wrote: Date: Mon, 26 Aug 2002 17:48:10 +0200 From: Q. Werty [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [utf-8] tomcat-user [EMAIL PROTECTED] Subject: Re: Context management and virtual host I agree

Re: mod_jk error

2002-08-26 Thread Carsten Burstedde
Hi Nicholas, I have always assumed these error messages were caused by the browser closing the connection -- generally because the user has clicked on something else or pressed STOP. (Of course, a double-click can exhibit the same way.) The servlet doesn't know that the user is no longer

Re: startup/shutdown Tomcat on Linux

2002-08-26 Thread micael
sh startup.sh sh is the shell. At 10:04 PM 8/25/2002 -0700, you wrote: How do you start and shutdown Tomcat on Linux? I'm (obvioulsy) a windows person. I am attempting to get my app running on Linux. From the /bin directory I attempted to call shutdown.bat. This didn't work so I restarted

Re: Tomcat log in linux

2002-08-26 Thread micael
Have you even opened the command line in Linux? At 11:46 PM 8/25/2002 -0700, you wrote: In Windows, when you run Tomcat, a DOS command line window pops up and you see real-time messages from Tomcat. If something isn't going right ... you see those messages. Is there something analogous in

RE: Can't restart Linux

2002-08-26 Thread neal
Turns out it was my bad. I had edited a roles in the tomcat users xml file and omotted a quotation mark - thus tomcat wasn't able to parse the XML. It was confusing though becuase the debug info wasn't forthcoming. Jacob's suggestion to set the debug levels though seems to have helpd. That and

creating virtual hosts - HOW TO?

2002-08-26 Thread neal
I am attempting to create multiple discreet web apps, each of whom can listen to their own URLs for page requests. Here's an example of what I've done for each webApp (virtual host): Host name=www.hotel.us appbase=webapps/hotel debug=10 Context path=/hotel

Tomcat 4.x body tags not exposing variables?

2002-08-26 Thread Ryan Daigle
I'm having a problem with Tomcat 4.x and body tags. I am trying to migrate from a JBoss/Tomcat4.x environment to a Tomcat 4.1.9 setup. I say this because the tags in question function as I would expect with the JBoss setup but not the Tomcat setup. Here is the situation. I have a tag that

RE: Tomcat log in linux

2002-08-26 Thread micael
There is top and ps aux. At 07:54 AM 8/26/2002 -0400, you wrote: No, there is nothing analogous to the command line window that pops up in Windows in Linux when starting tomcat. Windows is a poor operating system for running services. Linux/UNIX is a proper operating system for running

Re: creating virtual hosts - HOW TO?

2002-08-26 Thread Jacob Kjome
Hello neal, Your appBase attribute on the Host ... element plus your docBase on your Context ... element implies that you have the following directory structure: $TOMCAT_HOME/webapps/hotel/hotel Note that the docBase for a particular webapp looks for the named directory inside the appBase.

[TC 4.1] Defining jsp reloading using conf/web.xml

2002-08-26 Thread Andrew Conrad
The conf/web.xml seems to define two parameters ( development, reloading ) for the JSP page compiler that do not seem to work. Can anyone confirm that these work for them, or has the Context reloadable=true / replaced this type of configuration? Example: !-- fragment from conf/web.xml ---

Tomcat-connector....

2002-08-26 Thread Michael Delamere
Hi, I know that this is a never ending story but just one thing Why is there a special effort being made in creating the directory structure, yet when I get to the final folder it´s empty!? For example: http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.0

RE: Tomcat-connector....

2002-08-26 Thread Turner, John
H...not sure what the complaint is here. The binaries are here (mod_jk, tomcat 3 and 4 compatible): http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1/bin/linux/i38 6/ And the source is here: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/src/ Let us know

Re: Tomcat-connector....

2002-08-26 Thread Michael Delamere
that´s more than sufficient. I was looking at the wrong place! Mind you, it makes sense to look under builds/jakarta-tomcat-connectors/jk/ :-) Thanks a bunch, Michael - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday,

RE: creating virtual hosts - HOW TO?

2002-08-26 Thread neal
Jacob, Cool thanks! I just had to play with those settings but in principal you're right on the money! Here's what finally worked: Host name=www.hotel.us appbase=webapps/hotel debug=10 Context path= docBase= debug=10 / /Host Cheers! Neal -Original

env variable keeps resetting on restart of server

2002-08-26 Thread neal
Does anyone know why my JAVA_HOME environment variable won't keep when I restart the server (Linux)? Here's how I set it (note I set TOMCAT_HOME the same way and it hasn't been a problem): JAVA_HOME=/usr/java/j2sdk1.4.0_01; export JAVA_HOME Thanks. Neal -- To unsubscribe, e-mail:

RE: env variable keeps resetting on restart of server

2002-08-26 Thread Turner, John
If you are setting it after you login, it only holds for that login session. If you logout or restart the server, it is gone. If you need it to stick around, you can put it in /etc/profile if you want it to apply to every person who logs in, or put it in your .profile ($HOME/.profile) file so

Tomcat4.0 with and Apache2

2002-08-26 Thread Raj Mettai
Hello, We're attempting to connect Tomcat 4.0 to Apache 2.0 but are having problems. All of the existing documention focuses on connecting Apache 1.3 to Tomcat 4.0, but there is nothing we have seen that discusses connecting Tomcat 4.0 to Apache 2.0 and there are enough differences between

Re: env variable keeps resetting on restart of server

2002-08-26 Thread Dan Lipofsky
If you are setting it after you login, it only holds for that login session. If you logout or restart the server, it is gone. If you need it to stick around, you can put it in /etc/profile if you want it to apply to every person who logs in, or put it in your .profile ($HOME/.profile) file

RE: Tomcat4.0 with and Apache2

2002-08-26 Thread Turner, John
If your documentation is telling you to use mod_proxy to connect apache to tomcat, burn that documentation. You want to use mod_jk or mod_webapp with tomcat and apache. mod_jk is more robust at this juncture, and there are good resources available to explain how to get mod_jk working with

RE: Tomcat4.0 with and Apache2

2002-08-26 Thread Milhomem, Marcus
Hi, I am planing to use tomcat4.0 with Apache2 using the mod_proxy, because I think that it ahs more scalability as you can after sometime move the tomcat to other machine. But as I saw your e-mail, saying to burn What Integration do you tinhk it´s better and why? thank you

RE: Tomcat4.0 with and Apache2

2002-08-26 Thread Turner, John
Sorry, perhaps that was too harsh. You don't need mod_proxy to put tomcat on a separate machine from apache. mod_jk supports load-balancing (http://www.ubeans.com/tomcat for a HOWTO), and if you just want tomcat on a separate machine without load-balancing, you change the host parameter in

Re: env variable keeps resetting on restart of server

2002-08-26 Thread micael
Neal, you never give the info we need at the start. Where have you set the JAVA_HOME variable? /etc/profile? At 11:29 AM 8/26/2002 -0700, you wrote: Does anyone know why my JAVA_HOME environment variable won't keep when I restart the server (Linux)? Here's how I set it (note I set TOMCAT_HOME

'Caching' of JSP pages

2002-08-26 Thread Bill Leath
I am running Tomcat 4.1 on Linux 7.2. When I edit a jsp page, I continue to see the old page even after: using the 'reload' command of the 'Manager' app, and using the 'reload' and 'install' commands. Where is the compiled version of the page being cached? and How can I get it it to re-compile

RE: RE : Bugzilla down, can't submit tomcat bug

2002-08-26 Thread Andrew Conrad
I haven't submitted a bug, but new bugs are appearing. Example - http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12046 The date is 2002-08-26 17:06 - Andrew -Original Message- From: Michael [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 12:09 PM To: 'Tomcat Users

RE: env variable keeps resetting on restart of server

2002-08-26 Thread neal
Thanks John, I did not realize this. I'll make this change. :) Neal -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 11:32 AM To: 'Tomcat Users List' Subject: RE: env variable keeps resetting on restart of server If you are setting it

process: invoke java.lang.NoSuchMethodError

2002-08-26 Thread Jill Veronda
I am using Tomcat 4.0.4, Apache 1.3.12, JDK 1.3.1 on Windows 2000 Server. When trying to run a jsp file I get the error: 2002-08-26 12:02:36 Ajp13Processor[8009][2] process: invoke java.lang.NoSuchMethodError at

Re: creating virtual hosts - HOW TO?

2002-08-26 Thread Craig R. McClanahan
I'd try putting the appBase (not appbase !!!) for your virtual host somewhere *other* than the webapps subdirectory -- that is just going to cause confusion for the default host. Second, the docBase directory for a Context is resolved relative to the directory of the parent appBase, so you'd end

RE: creating virtual hosts - HOW TO?

2002-08-26 Thread Craig R. McClanahan
On Mon, 26 Aug 2002, neal wrote: Date: Mon, 26 Aug 2002 11:15:17 -0700 From: neal [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED], Jacob Kjome [EMAIL PROTECTED] Subject: RE: creating virtual hosts - HOW TO? Jacob, Cool

RE: creating virtual hosts - HOW TO?

2002-08-26 Thread neal
Aah. Good catch. Yeah, you're right ... that's what its doing. Alright. I will definitely change that. Cheers. Neal -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 12:45 PM To: Tomcat Users List Cc: Jacob Kjome Subject: RE:

RE: Tomcat4.0 with and Apache2

2002-08-26 Thread Raj Mettai
Hi, I am running both Apache2.0 and Tomcat4.0 on solaris8, I have downloaded binaries of tomcat4 and I have compiled Apache from source code.It didnot do --enable-module=so while configuring apache, that means do I have to re-configure apache again. My modules directory under apache doesn't

RE: i can't acces absolute symbolic link created with ln -s command on LINUX

2002-08-26 Thread Liu, Xiaoyan
Any ideas on this bug? I posted exactly the same question before and got no response. jsp:include seems not working with symlinked directory. It works on 4.0 version, but stops working on 4.1 version. Is it a tomcat bug or coyote bug? I thought [4.1.9] build with bug fix for #10949 will solve

How does Tomcat and/or servlets handle HTTP chunked reads?

2002-08-26 Thread Will Hartung
I'm just curious how Tomcat handles HTTP requests that only want a portion of the content. I'm specifically interested in things like PDF files, which is the most common client of chunked data. I suppose its solely up to the Servlet to figure out that the request wants a chunk of data (from the

postgresql jndi jdbc getConnection() problem

2002-08-26 Thread adam kramer
I saw one other post on the archives about this but it has no resolution. I have set up Tomcat 4.0.4 to use the jndi resource factory to use pgsql jdbc connection pooling (fake pooling). Whenever I call the second line of this code: Context ctx = (Context) new

Internal Sever Error

2002-08-26 Thread Vanna, Gabrielle
Hi Everyone, I recently installed the Tomcat 4.0.3 on a windows 2000 sever machine running with Microsoft IIS. I needed to do this to run a war file that controls a web-base application of documentum (our current content management system). After I installed Tomcat the test serlvets and

Design Questions..

2002-08-26 Thread Michael Hanna
I created a simple servlet that will use a JDBC driver and access a table in a postgresql database. It will display the table in HTML formatted output. This is great but I'd like to extend it's functionality. I'd like to have a way so that the user can Add, Delete and Update the table via

Re: javax directory

2002-08-26 Thread Irina Lishchenko
On Thursday 22 August 2002 20:21, you wrote: I am trying to compile a application that uses import javax.servlet.*; import javax.servlet.http.HttpServlet; in the code. When I attempt to compile this code I receive errors stating that it could not find these symbols. I noticed that they are

Re: Design Questions..

2002-08-26 Thread Michael E. Locasto
Michael, I'm sure everyone else is gonna tell you this too, but here are some pointers from just glancing over the code. - set up your db connection in the init() method, not doGet(). doGet() is executed every time the servlet is called with an HTTP GET. So, effectively, you are loading the

  1   2   >