RE: More understanding on startup.sh and shutdown.sh

2001-08-17 Thread Kennice Low
Hi Rob, Thank you for your helps. when you do set | grep TOMCAT_HOME you should get something like this: TOMCAT_HOME=/var/jakarta-tomcat-3.2.2 Have you set the TOMCAT_HOME and JAVA_HOME environment variables? The error you're getting seems to be that the server's jar file isn't in the

Re: Apache started...

2001-08-17 Thread Roberto B.
You are joking or you say seriously? If I can help you... I would be happy Tell me (exactly..) the list of the things that serve !!! R. - Original Message - From: Pier P. Fumagalli [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 16, 2001 7:08 PM Subject: Re: Apache

Odd Tomcat Behaviour [ArrayOutOfBounds Exception]

2001-08-17 Thread Naden
Hi, Simple question: I have a servlet package running using Tomcat 3.3m4 that is doing some very odd things. Tomcat is running using Apache/1.3.20 on FreeBSD 4.3-RELEASE on a x86. I am using a html form to change the name of a database entry given a certain entry ID. Problem has been

Why and How Tomcat before Apache?

2001-08-17 Thread Roberto B.
I have a Linux/Debian system. I want to use Apache as web-server and Tomcat only for JSP file. Is it true that it is necessary to make start Tomcat before Apache? Why?.. and if it is true.. how?? Thanks! Roberto.

Tomcat 4 doesn't start examples or webdav context

2001-08-17 Thread Willy Faes
Hi, I installed tomcat-4.0b7 on mac OS X and used the default server.xml and web.xml When I start tomcat this is all I get: localhost# ./bin/startup.sh Using CLASSPATH: /usr/local/jakarta-tomcat-4.0/bin/bootstrap.jar Using CATALINA_HOME: /usr/local/jakarta-tomcat-4.0 When I point my browser

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Rui Miguel Seabra
On 17 Aug 2001 11:50:22 +0200, Roberto B. wrote: I have a Linux/Debian system. I want to use Apache as web-server and Tomcat only for JSP file. Is it true that it is necessary to make start Tomcat before Apache? Why?.. and if it is true.. how?? If you include the automatically generated

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Nikola Milutinovic
I have a Linux/Debian system. I want to use Apache as web-server and Tomcat only for JSP file. You can use it for servlets, too. :-) Is it true that it is necessary to make start Tomcat before Apache? Why?.. 1. Tomcat usually builds automatic configuration for including in Apache's

Posting data to a JSP kept residing in Tomcat

2001-08-17 Thread Hiten Hemchand Vira
Hi, I am posting some data using HTTP to a JSP kept in the examples/jsp directory of Tomcat. The code of the JSP is as follows %@ page language=java import=java.io.* % % int len; final int blockSize=1024; byte buf[]=new byte[blockSize]; ServletInputStream sis=request.getInputStream();

Sending data to a servlet

2001-08-17 Thread ehugonnet
Hi, I'm trying to open a connection to a servlet an exchange data with it. I have Apache 1.3.20 redirecting to Tomcat3.2.3 via mod_j but I've got several issue. i'm opening the connection by a java.net.Socket sending : GET /UBSSoap HTTP/1.1 Host:192.168.0.93:80 Content-type:text/xml

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Roberto B.
I use Tomcat 4.. where and which are the configuration file ? I use the the command startup.sh in the tomacat_home dir. to start Tomcat 4 Do I have to insert this command in rc* ? Roberto. - Original Message - From: Nikola Milutinovic [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL

YOUR OFFICE IN TURKEY

2001-08-17 Thread Yigit Ozkan
If you or your company would like to do business in Turkey, please read the following, if not, then sorry for the disturbance. This is a one time message. There will be no further messages. CAMPAIGN ONLY TO USD 100 YOU WILL HAVE AN OFFICE IN TURKEY FOR THE REMAINING OF THE YEAR 2001 The

RE: tomcat 3.2.3 apache 1.3.20 integartion problem in solaris 7

2001-08-17 Thread Rob S.
I believe there is a readme included with the distrbution? If not, check the documentation on the Jakarta Tomcat website. http://jakarta.apache.org/tomcat/index.html - r -Original Message- From: Chockalingam.S [mailto:[EMAIL PROTECTED]] Sent: Friday, August 17, 2001 12:34 AM To:

RE: problem in loading jar files in WEB-INF\lib directory

2001-08-17 Thread Rob S.
Sounds like you could learn a lot from reading the Application Developer's Guide that comes packaged with tomcat in the /doc directory. It's also available online at: http://jakarta.apache.org/tomcat/index.html - r -Original Message- From: Paresh Deshpande [mailto:[EMAIL PROTECTED]]

RE: More understanding on startup.sh and shutdown.sh

2001-08-17 Thread Rob S.
export CLASSPATH=$TOMCAT_HOME/lib/servlet.jar:$TOMCAT_HOME/lib/jasper.jar ---end of profile--- Is there any error on the setting ? There should be nothing tomcat-internal-related in your CLASSPATH. Tomcat sets the CLASSPATH for you, by

RE: Odd Tomcat Behaviour [ArrayOutOfBounds Exception]

2001-08-17 Thread Rob S.
Can you paste the stack trace? - r -Original Message- From: Naden [mailto:[EMAIL PROTECTED]] Sent: Friday, August 17, 2001 5:17 AM To: [EMAIL PROTECTED] Subject: Odd Tomcat Behaviour [ArrayOutOfBounds Exception] Hi, Simple question: I have a servlet package running

RE: solaris mod_jk

2001-08-17 Thread Larry Isaacs
Just an FYI. For Tomcat 3.3 source downloads, the xxx.zip file will contain source files which contain CRLF's. The xxx.tar.gz is the identical content, but with source files containing just LF's. Download the one that works best for your system. Larry -Original Message- From: John

RE: problem in loading jar files in WEB-INF\lib directory

2001-08-17 Thread Paresh Deshpande
Hi Rob, thanks for your reply, Rob. I was waiting for the reply for quite a while :)). It is not specifically mentioned in the docs how the class files in WEB-INF\classes are loaded. Neither is it mentioned whether the jar file in the WEB-APP\lib folder will be automatically picked in classpath.

RE: More understanding on startup.sh and shutdown.sh

2001-08-17 Thread Larry Isaacs
Hi Kennice, $TOMCAT_HOME/webapps/ROOT/WEB-INF/classes shouldn't be in your CLASSPATH since it is part of a web application. If it is there to get something to work, what goes wrong when it isn't there. Larry -Original Message- From: Kennice Low [mailto:[EMAIL PROTECTED]] Sent:

Fwd: REMOTE_HOST not showing up in Tomcat3.2

2001-08-17 Thread Mark Diggory
Hello, Is there something I have to configure in mod_jk to get the remote host information to resolve. Its apparently available in Apache but seems to not show up in Tomcat when I do request.getRemoteHost(). How, is this setup / configured? thank you, Mark Diggory

web.xml

2001-08-17 Thread Zsolt Horvath
Hi ! How can I set more than 1 context-parameter in the WEB.XML file. I do this: context-param param-nameserverIp/param-name param-value192.168.2.3/param-value descriptionMT web application/description param-namejobType_1/param-name param-value01./param-value

Re: problem in loading jar files in WEB-INF\lib directory

2001-08-17 Thread Rob S.
Hiya, Did you read the appdev guide? I believe it discusses the significance of the WEB-INF folder, among other things. - r On Fri, 17 Aug 2001 17:19:12 +0530 [EMAIL PROTECTED] wrote: Hi Rob, thanks for your reply, Rob. I was waiting for the reply for quite a while :)). It is not

Re: web.xml

2001-08-17 Thread Dmitri Colebatch
try context-param param-nameserverIp/param-name param-value192.168.2.3/param-value descriptionMT web application/description /context-param context-param param-namejobType_1/param-name param-value01./param-value descriptionMT web

Re: Tomcat port 8080, Apache port 80, jsp?

2001-08-17 Thread Shawn Evans
No error messages in the Apche or tomcat logs - Original Message - From: Pier P. Fumagalli [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 16, 2001 5:29 PM Subject: Re: Tomcat port 8080, Apache port 80, jsp? Shawn Evans at [EMAIL PROTECTED] wrote: I read Installing

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Barnabas Yohannes
I cannot answer your why question, because, I am not one of the developers of apache or tomcat. But here is the answer to your how question: *To stop and start your tomcat: cd /usr/local/tomcat bin/shutdown.sh bin/startup.sh *Exit from tomcat and go to your apache server: su

RE: problem in loading jar files in WEB-INF\lib directory

2001-08-17 Thread Paresh Deshpande
thanks Rob, got the particular information : When you install an application into Tomcat (or any other 2.2-compatible server), the classes in the WEB-INF/classes/ directory, as well as all classes in JAR files found in the WEB-INF/lib/ directory, are added to the class path for your particular

RE: How can I find number of 'open files'

2001-08-17 Thread Martin van den Bemt
There is a profiler available for the jdk which spits out a nice overview of all the instances of classes that are used.. Maby that can help you check the correctnes of the code and see the bottlenecks (it also says how much memory it uses..).. Just saw a report on that one day, so you have to

Tomcat Tutorial Please!!!

2001-08-17 Thread Jagadish Gopi
Hi Friends, Can you please direct me to a good tutorial for tomcat coz somehow I didn't get complete information from official documentation. Please reply back Jags

RE: Why and How Tomcat before Apache?

2001-08-17 Thread Martin van den Bemt
this is for tomcat 3.3 : Start tomcat first so requests, so tomcat has the time to fire up. Then start apache and serving request will be ok right away. For production servers I restart them both anyway, but for development : just restart tomcat when you need it and don't look at apache.. This

Re: Tomcat Tutorial Please!!!

2001-08-17 Thread Alex Speed
What do you want information on in particular, since the Tomcat docs which come with it are pretty comprehensive.. Alex - Original Message - From: Jagadish Gopi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 17, 2001 2:49 PM Subject: Tomcat Tutorial Please!!! Hi

RE: Odd Tomcat Behaviour [ArrayOutOfBounds Exception]

2001-08-17 Thread Martin van den Bemt
I thought this was fixed in the cvs version of tomcat (don't know if it made 3.3 b1.. (I was having a lot of these messages too, but after the fix everything was ok.. (don't know the stacktrace, but it looks the same). Mvgr, Martin -Original Message- From: Rob S. [mailto:[EMAIL

RE: REMOTE_HOST not showing up in Tomcat3.2

2001-08-17 Thread Martin van den Bemt
It should return an ip address if the host is not found.. so if you don't have a connection to the internet, the host lookup fails (taking quite a long time I must add) and will show the ip address. (at least that is working for me like that..) Mvgr, Martin -Original Message- From:

Re: problem in loading jar files in WEB-INF\lib directory

2001-08-17 Thread Rob S.
Then, the only question remaining is classes in my jar file are not being loaded for some reason. While loading the servlet, somewhere midway, the classes in WEB-INF\lib directory are not being loaded. strange isn't it? How do you know the classes are not being loaded? What kind of error

Re: Tomcat Tutorial Please!!!

2001-08-17 Thread Rob S.
What *specifically* do you feel you aren't getting? This way, I can try to accomodate you by putting it in. - r On Fri, 17 Aug 2001 09:49:39 -0400 [EMAIL PROTECTED] wrote: Hi Friends, Can you please direct me to a good tutorial for tomcat coz somehow I didn't get complete information from

mod_webapp -- NT4, Tomcat 4.0.7, Apache 1.3.20, JDK 1.3.1

2001-08-17 Thread Shawn Evans
I read Installing mod_webapp and using it with Apache 1.3 written in mod_webapp, and I have been unsuccessful in getting it to work. Here is my configuration: Win NT4.0 sp6 Apache 1.3.20 d:\webserver\Apache Tomcat 4.0.7b d:\webserver\Tomcat-4.0.7 First, I copied 'mod_webapp.so' and

RE: problem in loading jar files in WEB-INF\lib directory

2001-08-17 Thread Paresh Deshpande
hey rob, my servlet calls a class which tries to instantiate JNDI's InitialContext by passing env Hashtable... env.put(Context.INITIAL_CONTEXT_FACTORY, com.sun.jndi.fscontext.RefFSContextFactory); initialContext = new InitialContext(env); the class

RE: Tomcat Tutorial Please!!!

2001-08-17 Thread Jagadish Gopi
Hi Friends, Thanx for replying Friends. I am new to this tomcat. Let me ask you few things.. 1) Is encodeURL supported in tomcat. 2) How are sessions maintained. (I am using Tomcat 3.2) 3) If I am using only tomcat without webserver, How do I make it accessible from the 'World'(net). what all

Re: problem in loading jar files in WEB-INF\lib directory

2001-08-17 Thread Rob S.
Alright my friend, I'm about to make your day. There's a but with the JNDI classloader in that it doesn't delegate to its parent classloader the task of loaded the intial context factory. This means that, while the web-app classloader knows where your class is, the JNDI one DOESN'T and isn't

Re: Tomcat Tutorial Please!!!

2001-08-17 Thread Rob S.
http://jakarta.apache.org/tomcat/index.html has all the answers you seek my friend. - r On Fri, 17 Aug 2001 10:20:50 -0400 [EMAIL PROTECTED] wrote: Hi Friends, Thanx for replying Friends. I am new to this tomcat. Let me ask you few things.. 1) Is encodeURL supported in tomcat. 2) How are

Re: problem in loading jar files in WEB-INF\lib directory

2001-08-17 Thread Rob S.
Ugh, mispellings and whatnot aside =) each time I come across a little gotcha like that, I email it to myself and stick it in my Wacky Java Experiences folder. That code snippet is the result of searching the mailing list archives and the java.sun.com forums and some other places I probably

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Roberto B.
Ok ! but.. do you know the way to make this in automatic ( with scripts at system start ) ?? - Original Message - From: Barnabas Yohannes [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 17, 2001 3:39 PM Subject: Re: Why and How Tomcat before Apache? I cannot answer your

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Rob S.
How do i make something automatically startup in *nix? This is more of a *nix question than a Tomcat question, really. You're better off searching the Internet or reading your *nix admin book. - r On Fri, 17 Aug 2001 16:43:41 +0200 [EMAIL PROTECTED] wrote: Ok ! but.. do you know the way to

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Rui Miguel Seabra
Just hack apachectl script to launch tomcat just before apache, and to shut it down right aftwards. On 17 Aug 2001 16:43:41 +0200, Roberto B. wrote: Ok ! but.. do you know the way to make this in automatic ( with scripts at system start ) ?? - Original Message - From: Barnabas

Using JDBCRealm without COOKIES enabled

2001-08-17 Thread Luis Andre Zattar
Hi Can anyone please tell me how to use JDBCRealm without COOKIES enabled but using URL SESSION. I had a problem try and I receive these messages: 2001-08-17 11:46:17 - ContextManager: Before Body 8z2331xuk2 2001-08-17 11:46:25 - ContextManager: AccessInterceptor: checking

Re: REMOTE_HOST not showing up in Tomcat3.2

2001-08-17 Thread Denis Haskin
It's a known bug. See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=208. dwh -Original Message- From: Mark Diggory [mailto:[EMAIL PROTECTED]] Sent: Friday, August 17, 2001 5:06 PM To: [EMAIL PROTECTED] Subject: Fwd: REMOTE_HOST not showing up in Tomcat3.2 Hello, Is there

RE: Why and How Tomcat before Apache?

2001-08-17 Thread Martin van den Bemt
I will see if I can find time this weekend to throw together a simple example / manual.. You seem to know Debian, so you can change that accordingly.. I'll send it to you when I'm done.. (maby someone can add the solaris part and maby other linux disto's..) nice for a tomcat-unix howto or

Re: Why and How Tomcat before Apache?

2001-08-17 Thread David Cassidy
unless you want to run your tomcat as root ( Very unwise ) makesure that you use a 'su' command in your call to tomcat's start script... David Rui Miguel Seabra wrote: Just hack apachectl script to launch tomcat just before apache, and to shut it down right aftwards. On 17 Aug 2001

Help Starting [Tomcat 3.2.2 Solaris] with Apache

2001-08-17 Thread Nance, Michael
I am still having trouble starting tomcat and apche together. Sometimes the connector will start and sometimes it won't. To start I include a copy of the tomcat- auto file that I renamed in httpd.conf. I have this at the last line of my file Include

RE: Why and How Tomcat before Apache?

2001-08-17 Thread Martin van den Bemt
Please tell me what is dangerous about running tomcat as root? I've taken the following security measures : port 8007 and 8009 is blocked from the outside (firewall) tomcat is not running on 8080 and only allowing communications from localhost (127.0.0.1). The only potential problem is that if a

Tomcat 3.2.3 and IIS5

2001-08-17 Thread Jack Rudnick
I just wanted to post a followup to my previous question. I have followed the Tomcat + IIS howto on posted on the tomcat site exactly (as I previously stated). This time I attempted it on a clean Win2000 box with no service packs, I used JDK 1.3.1, tomcat 3.2.3 and the isapi_redirect.dll. It

JDBCRealm and SimpleRealm conflicts

2001-08-17 Thread Chris Gross
I've got a RequestIntercepter and JDBCRealm setup in Tomcat. I've noticed that I need to comment out the SimpleRealm intercepter in order for this to work but I'm not sure why. My application is going to be a commercial app that I will distribute to customers and I am concerned that a customer

Re: Why and How Tomcat before Apache?

2001-08-17 Thread David Cassidy
Ah what the hell try this ... ( works for me !) Watch out for the line wraps ! - 8 -- snip #!/bin/sh # Init file for Jakarta Tomcat # # chkconfig: 345 98 00 # description: Jakarta tomcat daemon # # processname: # config: /usr/local/tomcat/conf/server.xml RETVAL=0

Re: Why and How Tomcat before Apache?

2001-08-17 Thread David Cassidy
check out if you can do a rm -rf * from within java... Don't know if you can, don't know how well the JVM will protect you but I run mine as a different user. Do you run your apache as root ? David Martin van den Bemt wrote: Please tell me what is dangerous about running tomcat as root?

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Roberto B.
Perfect!! R. - Original Message - From: Martin van den Bemt [EMAIL PROTECTED] To: [EMAIL PROTECTED]; Rob S. [EMAIL PROTECTED] Sent: Friday, August 17, 2001 4:54 PM Subject: RE: Why and How Tomcat before Apache? I will see if I can find time this weekend to throw together a simple

Cookies and IE5.5

2001-08-17 Thread David Oxley
I am trying to set a cookie that can be picked up from a different server to the one setting it. They both belong to the same domain (daves.domain.com and daves2.domain.com). The first server sets the cookie and redirects to the second server where the cookie is read. On IE5.5 and above the

RE: mod_webapp -- NT4, Tomcat 4.0.7, Apache 1.3.20, JDK 1.3.1

2001-08-17 Thread David Oxley
Isn't the .so file only for unix. You need mod_webapp.dll Dave -Original Message- From: Shawn Evans [mailto:[EMAIL PROTECTED]] Sent: 17 August 2001 15:12 To: [EMAIL PROTECTED] Subject: mod_webapp -- NT4, Tomcat 4.0.7, Apache 1.3.20, JDK 1.3.1 I read Installing mod_webapp and using

Context does not initialise

2001-08-17 Thread Willy Faes
Sorry that I rephrase my question but I still have the same problem. I installed Tomcat-4.0B7 without a problem. But when I start tomcat it seems that only the http server starts. When I click on the examples it gives the following error: HTTP Status 503 - This application is not currently

Re: How can I find number of 'open files'

2001-08-17 Thread Pier P. Fumagalli
Ivan Markovic at [EMAIL PROTECTED] wrote: I had a problem a while back with 'too many open files'. So I checked and fix some bugs in my code and increased the limit (Solaris running on Sun Netra T1). But now the problem is back. I suspect it is a problem with my code. How can I find out

Tomcat before Apache

2001-08-17 Thread Roberto B.
I use Linux/Debian as root, Apache 1.3 and Tomcat 4 b6 I want to start automatically Tomcat before Apache. I made this things : 1) I created this script named tomcat: #! /bin/sh TOMCAT_HOME=/usr/tomcat4b6 # Test tomcat.sh if [ ! -x $TOMCAT_HOME/bin/tomcat.sh ] then echo Tomcat not found

RE: Cookies and IE5.5

2001-08-17 Thread Martin van den Bemt
If it returns null, then I read something about that this week.. Maby searching on of the archives for cookies helps you find the problem / solution... Also tomcat version could be important and the exception (if any..) Mvgr, Martin -Original Message- From: David Oxley [mailto:[EMAIL

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Roberto B.
Yes.. as root! R. - Original Message - From: David Cassidy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 17, 2001 5:08 PM Subject: Re: Why and How Tomcat before Apache? check out if you can do a rm -rf * from within java... Don't know if you can, don't know how well

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Rui Miguel Seabra
On 17 Aug 2001 17:18:15 +0200, Roberto B. wrote: Perfect!! - Original Message - From: Martin van den Bemt [EMAIL PROTECTED] To: [EMAIL PROTECTED]; Rob S. [EMAIL PROTECTED] Sent: Friday, August 17, 2001 4:54 PM Subject: RE: Why and How Tomcat before Apache? I will see if I can find

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Roberto B.
Do I have to insert this script in my rc2.d dir. and link it in init.d ? R. - Original Message - From: David Cassidy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 17, 2001 5:06 PM Subject: Re: Why and How Tomcat before Apache? Ah what the hell try this ... ( works for

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Jan Labanowski
Before you dwelve into connecting Tomcat and Apache, you need to know what is the TCP socket, and what is TCP server and TCP client. In the case of connection mod_jk connector between Apache and Tomcat, Tomcat is the TCP server and Apache is the TCP client. And for this to work nicely, you need

RE: Why and How Tomcat before Apache?

2001-08-17 Thread Martin van den Bemt
check out if you can do a rm -rf * from within java... Yep works cool.. It saves a lot of work if I'm the admin, integrator and programmer at the same time ;-)), so those things don't slip through (we have a small team of programmers and all things are tested first.. a nice form to type in rm

Re: Cookies and IE5.5

2001-08-17 Thread Tim O'Neil
At 08:28 AM 8/17/2001, you wrote: I am trying to set a cookie that can be picked up from a different server to the one setting it. They both belong to the same domain (daves.domain.com and daves2.domain.com). The first server sets the cookie and redirects to the second server where the cookie is

Re: Why and How Tomcat before Apache?

2001-08-17 Thread David Cassidy
better you than me I take it you are the only one in the wide wide world who can upload a cgi program to your site... Roberto B. wrote: Yes.. as root! R. - Original Message - From: David Cassidy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 17, 2001 5:08

RE: Why and How Tomcat before Apache?

2001-08-17 Thread Martin van den Bemt
yep ;-)) -Original Message- From: Roberto B. [mailto:[EMAIL PROTECTED]] Sent: Friday, August 17, 2001 5:41 PM To: [EMAIL PROTECTED] Subject: Re: Why and How Tomcat before Apache? Do I have to insert this script in my rc2.d dir. and link it in init.d ? R. - Original

Re: Why and How Tomcat before Apache?

2001-08-17 Thread David Cassidy
The usual thing is to save it to init.d and then link to the rc[235].d of your choice. If you've got redhat you can use the chkconfig program on it. Note though that you'll need to add a user 'tomcat' and make sure that at least the conf and logs directories are availible for writing by that

RE: Tomcat before Apache

2001-08-17 Thread Martin van den Bemt
If you created the bash script not in vi, but eg adjusted stuff in write and saved it, you need to fix the lineendings.. (there is a util for that which was added again on rh7.1, but I forgot the name).. You can test if this is the problem by moving the script to eg tomcat_old do a vi tomcat and

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Roberto B.
I use the webapp connector between Apache and Tomcat 4. Where are the config file that generate Tomcat? - Original Message - From: Jan Labanowski [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 17, 2001 5:40 PM Subject: Re: Why and How Tomcat before Apache? Before you

Re: Why and How Tomcat before Apache?

2001-08-17 Thread David Cassidy
Martin van den Bemt wrote: check out if you can do a rm -rf * from within java... Yep works cool.. It saves a lot of work if I'm the admin, integrator and programmer at the same time ;-)), so those things don't slip through (we have a small team of programmers and all things are tested

RE: Tomcat Tutorial Please!!!

2001-08-17 Thread Jagadish Gopi
Rob, are you sure for all those things that I have asked, I can find in that link Can anyone direct me to a good tutorial please. -Original Message- From: Rob S. [mailto:[EMAIL PROTECTED]] Sent: Friday, August 17, 2001 10:25 AM To: [EMAIL PROTECTED] Subject: Re: Tomcat Tutorial

Re: Tomcat/4.0-b7: ERROR reading java.io.FileInputStream@2d263f

2001-08-17 Thread Cyril Bouteille
Craig, I upgraded to Apache Tomcat/4.0-b7, but am still having the same error: ERROR reading java.io.FileInputStream@2d263f At Line 25 /web-app/servlet/ What is the entire stack trace? Unfortunately, no stack trace is showing up, even with -debug. That is the only message. What does

Re: Tomcat before Apache

2001-08-17 Thread David Cassidy
dos2unix ... Or use vi ... Martin van den Bemt wrote: If you created the bash script not in vi, but eg adjusted stuff in write and saved it, you need to fix the lineendings.. (there is a util for that which was added again on rh7.1, but I forgot the name).. You can test if this is the

Re: Apache started...

2001-08-17 Thread Pier P. Fumagalli
Roberto B. at [EMAIL PROTECTED] wrote: You are joking or you say seriously? Totally serious... If I can help you... I would be happy Tell me (exactly..) the list of the things that serve !!! A copy of the mod_webapp.so binary and the output of the ldd /your/path/to/mod_webapp.so command...

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Pier P. Fumagalli
Roberto B. at [EMAIL PROTECTED] wrote: Is it true that it is necessary to make start Tomcat before Apache? Why?.. To appropriately set up connections and configurations... and if it is true.. how?? $CATALINA_HOME/bin/catalina start $APACHE_HOME/bin/apachectl start Easy... Pier

Re: Tomcat 4 doesn't start examples or webdav context

2001-08-17 Thread Pier P. Fumagalli
Did you modify the Examples application in any way? Because it's weird. I have 3 MacOS/X 10.0.4 boxes and never had one single problem... Pier Willy Faes at [EMAIL PROTECTED] wrote: Hi, I installed tomcat-4.0b7 on mac OS X and used the default server.xml and web.xml When I start

Re: Tomcat port 8080, Apache port 80, jsp?

2001-08-17 Thread Pier P. Fumagalli
I'll have to check in the MSDN documentation what error 2140 stands for... Pier Shawn Evans at [EMAIL PROTECTED] wrote: No error messages in the Apche or tomcat logs - Original Message - From: Pier P. Fumagalli [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August

Re: mod_webapp -- NT4, Tomcat 4.0.7, Apache 1.3.20, JDK 1.3.1

2001-08-17 Thread Pier P. Fumagalli
Shawn, it's pointless to post the same message over and over... If me (or someone other don't reply) there is a reason... Pier Shawn Evans at [EMAIL PROTECTED] wrote: I read Installing mod_webapp and using it with Apache 1.3 written in mod_webapp, and I have been unsuccessful in getting

Re: mod_webapp -- NT4, Tomcat 4.0.7, Apache 1.3.20, JDK 1.3.1

2001-08-17 Thread Pier P. Fumagalli
Since Apache 1.3.20 also under windows modules are called .so and not .dll (it was confusing!) Pier David Oxley at [EMAIL PROTECTED] wrote: Isn't the .so file only for unix. You need mod_webapp.dll Dave -Original Message- From: Shawn Evans [mailto:[EMAIL PROTECTED]] Sent:

Re: Tomcat before Apache

2001-08-17 Thread Pier P. Fumagalli
Roberto B. at [EMAIL PROTECTED] wrote: I use Linux/Debian as root, Apache 1.3 and Tomcat 4 b6 I want to start automatically Tomcat before Apache. I made this things : 1) I created this script named tomcat: #! /bin/sh TOMCAT_HOME=/usr/tomcat4b6 # Test tomcat.sh if [ ! -x

seperate servers

2001-08-17 Thread John Comitas
I am trying to set up 2 seperate servers. One to run apache and the other to run tomcat. How do I point my jsp requests from the apache server to the tomcat server? John email - [EMAIL PROTECTED] __ FREE voicemail, email, and fax...all in one

Re: Tomcat before Apache

2001-08-17 Thread Pier P. Fumagalli
Guys. If you wanted to scare the hell out of me, you succeeded... ARE WE GOING TO SUGGEST TO OUR USERS TO RUN TOMCAT AS ROOT? ARE YOU ALL NUTS? Ok, it's good code, but I wouldn't trust not even my mother with root access on my machine... Starting it from the RC scripts will mean that TOMCAT is

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Craig R. McClanahan
On Fri, 17 Aug 2001, Roberto B. wrote: I use the webapp connector between Apache and Tomcat 4. Where are the config file that generate Tomcat? You don't need any generated config files for mod_webapp -- that's part of the real beauty of it :-). When you declare a particular web

RE: problem in loading jar files in WEB-INF\lib directory

2001-08-17 Thread Craig R. McClanahan
On Fri, 17 Aug 2001, Rob S. wrote: Sounds like you could learn a lot from reading the Application Developer's Guide that comes packaged with tomcat in the /doc directory. It's also available online at: http://jakarta.apache.org/tomcat/index.html The most up-to-date version of this

Re: seperate servers

2001-08-17 Thread Jason Koeninger
workers.properties You can set the IP address and port number of the Tomcat server through the worker definitions. Best Regards, Jason Koeninger JJ Computer Consulting http://www.jjcc.com On Fri, 17 Aug 2001 09:55:49 -0700, John Comitas wrote: I am trying to set up 2 seperate servers. One

RE: problem in loading jar files in WEB-INF\lib directory

2001-08-17 Thread Craig R. McClanahan
On Fri, 17 Aug 2001, Paresh Deshpande wrote: Hi Rob, thanks for your reply, Rob. I was waiting for the reply for quite a while :)). It is not specifically mentioned in the docs how the class files in WEB-INF\classes are loaded. Neither is it mentioned whether the jar file in the

Re: JDBCRealm and SimpleRealm conflicts

2001-08-17 Thread Craig R. McClanahan
In 3.2, realms are global so it is an either/or choice. 3.3 or 4.0 let you have realm per virtual host or realm per webapp. Craig On Fri, 17 Aug 2001, Chris Gross wrote: I've got a RequestIntercepter and JDBCRealm setup in Tomcat. I've noticed that I need to comment out the SimpleRealm

IIS Redirector

2001-08-17 Thread Bruce_Carson
We have been using Tomcat 3.2 /IIS4 for some time. I am trying to figure out a way to be able to have the redirector dynamically reconfigure the contexts it will service. IIS Management console allows virtual directories to be added to IIS, and the changes are reflected immediately, without

Re: Context does not initialise

2001-08-17 Thread Craig R. McClanahan
What OS? What JDK? This works for most people, but somebody reported something similar on MacOSX this morning. Craig On Fri, 17 Aug 2001, Willy Faes wrote: Sorry that I rephrase my question but I still have the same problem. I installed Tomcat-4.0B7 without a problem. But when I start

Re: Tomcat/4.0-b7: ERROR reading java.io.FileInputStream@2d263f

2001-08-17 Thread Craig R. McClanahan
On Fri, 17 Aug 2001, Cyril Bouteille wrote: Craig, I upgraded to Apache Tomcat/4.0-b7, but am still having the same error: ERROR reading java.io.FileInputStream@2d263f At Line 25 /web-app/servlet/ What is the entire stack trace? Unfortunately, no stack trace is showing up,

Re: Tomcat Tutorial Please!!!

2001-08-17 Thread Rob S.
Rob, are you sure for all those things that I have asked, I can find in that link You have to READ them. Your questions are not address in question-and-answer form of course! If you read the docs or examine config files that the docs discuss, you'll find these things stated in one form

Re: Tomcat 4 doesn't start examples or webdav context

2001-08-17 Thread Rob S.
Did you modify the Examples application in any way? Because it's weird. I have 3 MacOS/X 10.0.4 boxes and never had one single problem... omg! I've figured out why Cali is running out of power! =) - r

Re: Why and How Tomcat before Apache?

2001-08-17 Thread David Smith
That's an unsettling feeling. Never trust incoming form data, but if Tomcat is running as a less priveledged user, the potential damage from malformed form data is reduced. I personally would never run a web app as root just for the black hole of security issues dealing with the outside

Re: Context does not initialise

2001-08-17 Thread Willy Faes
Craig, I just reinstalled tomcat and it works fine. Sorry to bother. Thanks, Willy On Friday, August 17, 2001, at 07:17 PM, Craig R. McClanahan wrote: What OS? What JDK? This works for most people, but somebody reported something similar on MacOSX this morning. Craig On Fri, 17 Aug

RE: Tomcat 3.2.3 and IIS5

2001-08-17 Thread Larry Isaacs
A quick check of the mod_jk source shows that these error messages are a bug. They are always output, even when no error occurs. This has been fixed in Tomcat 3.3 and I assume jakarta-tomcat-connectors. I would recommend shutting down IIS and Tomcat, delete Tomcat's and isapi_redirect's log

Re: Tomcat 4 doesn't start examples or webdav context

2001-08-17 Thread Pier P. Fumagalli
Rob S. at [EMAIL PROTECTED] wrote: Did you modify the Examples application in any way? Because it's weird. I have 3 MacOS/X 10.0.4 boxes and never had one single problem... omg! I've figured out why Cali is running out of power! =) Nope, you didn't... I live in London (UK!) :) :) :)

Working: mod_webapp -- NT4, Tomcat 4.0.7, Apache 1.3.20, JDK 1.3.1

2001-08-17 Thread Shawn Evans
Sorry if it seems as if I reposted it, I was having trouble with the office machine, so I sent it out under a new subject, since it was different than the one I posted before... when I ran Apache from the command line with the webapp modified conf here is what I get. D:\webserver\ApacheApache

RE: Tomcat 3.2.3 and IIS5

2001-08-17 Thread Jack Rudnick
I have just figured out my problem... IIS and WIN2K permissions on the isapi_redirect.dll the appropriate IIS users did NOT have the correct permissions apparently (where does it say anything about this in the tomcat-iis howto!??! It dosn't, you have to figure this one out on your own) Jack

WEB-INF/lib not used?

2001-08-17 Thread Noel L Yap
I've just created a new web app. I'm able to bring up a trivial JSP so I'm pretty sure I've done something right. However, when I try to do an import within the JSP (eg import com.epicentric.common.*) I get Package com.epicentric.common not found in import. even though the jar file is installed

  1   2   >