Re: Help with Windows IIS

2001-04-22 Thread Ivan
Why dont you try anonter name for the app / context besides ROOT - Original Message - From: "John Lusk" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, April 21, 2001 11:02 PM Subject: Help with Windows IIS I am just loading my server with Tomcat. I got all the examples to

Re: AutoRefreshing of apps

2001-04-22 Thread Jeremy C
I have downloaded the latest build (Milestone) which was Tomcat-dev-4.0-b3 ... installed it, issued the startup command, viewed the HelloWorld Servlet Example, changed the source to read "h1Hello, Jeremy!/h1", recompile ... and it still said Hello, World! I restart the server, then view the

Starting Tomcat with user nobody

2001-04-22 Thread Curtis Spencer
Does anyone have a good startup script that will start tomcat with the user nobody rather than root. I don't know if this is a security risk or not but I feel alittle uncomfortable starting with root. Do I have to change file permissions to ensure that 'nobody' can access certain files.

[tc3.3] configuring logging

2001-04-22 Thread Jeff Turner
Hi, I have a few questions about Tomcat3.3 server.xml configuration, and logging in particular. First, is there *any* documentation of the various server.xml tags? A DTD perhaps? One of the nicest things about tc4.0 is how clean and obvious server.xml has become. By contrast, 3.3 is a mess,

Re: Starting Tomcat with user nobody

2001-04-22 Thread Jan Labanowski
http://www.ccl.net/cca/software/UNIX/apache/ On Sat, 21 Apr 2001, Curtis Spencer wrote: Does anyone have a good startup script that will start tomcat with the user nobody rather than root. I don't know if this is a security risk or not but I feel alittle uncomfortable starting with root.

Sunday and the brain is numb

2001-04-22 Thread Andrew Stubbs
Okay - pleasewill somebody spot the obvious mistake for me- I cant see it The servlet is called newlist 1) Mailman starts and give the following 2001-04-22 03:00:54 - Ctx( /mailadmin/servlet ): XmlReader - init /mailadmin/servlet /www/listserv/mailadmin2001-04-22 03:00:54 - Ctx(

Re: Starting Tomcat with user nobody

2001-04-22 Thread Jan Labanowski
Now... The short answer... {:-)} 1) nobody is not a good user since it does not usually have shell associated (check your /etc/passwd). It is better to create user (e.g., tomcat) with all things which user needs. 2) When you decided on the user and created it (say it is user tomcat

where to install Oreilly com servlet extensions ?

2001-04-22 Thread Christoph Kukulies
Where do I have to install the O'Reilly Multipart servlet utitlities so Tomcat sees them? I'm getting java.lang.NoClassDefFoundError: com/oreilly/servlet/MultipartRequest at Upload.doGet(Upload.java:42) when trying a small example which was posted the other day. -- Chris Christoph

RE: where to install Oreilly com servlet extensions ?

2001-04-22 Thread Filip Hanik
the latest o'reilly is packaged as a war file, all you have to do is to drop the war file into webapps, and you are good to go Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect [EMAIL PROTECTED] www.filip.net -Original Message- From: Christoph Kukulies

Re: where to install Oreilly com servlet extensions ?

2001-04-22 Thread Christoph Kukulies
On Sun, Apr 22, 2001 at 10:19:22AM -0700, Filip Hanik wrote: the latest o'reilly is packaged as a war file, all you have to do is to drop the war file into webapps, and you are good to go Ah, thanks. I found that putting the com/oreilly tree into /usr/local/build/tomcat/classes/ and it works.

Re: file upload servlet

2001-04-22 Thread Christoph Kukulies
On Fri, Apr 20, 2001 at 06:58:26PM +0200, Ralph Einfeldt wrote: For a pure HTML solution you need two things: a form with at least one file input tag: form enctype="multipart/form-data" action=%= response.encodeUrl("'path-to-your-servlet'") % method="post" input type="file"

Re: file upload servlet

2001-04-22 Thread Anne Dirkse
My guess is that you have an extra somewhere (or that you missed the at action=%=) Anne Christoph Kukulies wrote: On Fri, Apr 20, 2001 at 06:58:26PM +0200, Ralph Einfeldt wrote: For a pure HTML solution you need two things: a form with at least one file input tag: form

Re: file upload servlet

2001-04-22 Thread Christoph Kukulies
On Sun, Apr 22, 2001 at 11:05:44AM -0700, Anne Dirkse wrote: My guess is that you have an extra somewhere (or that you missed the at action=%=) The trailing = looks like being added by the mailer. It seems to me that I'm missing something more essential. I'm running tomcat 3.2 beta. The

Re: file upload servlet

2001-04-22 Thread Rhett Savage
i'm a little surprised to see the action of this form wrapped by response.encodeUrl() - is that in fact the ordinary way to do business? i'm aware of the reasons for doing this in ordinary hrefs, but i'd wondered if it would be necessary in a form action...? rhett On Sun, 22 Apr 2001, Christoph

Re: file upload servlet

2001-04-22 Thread Anne Dirkse
Christoph -- You do need the trailing = after % Here's why: What you are trying to send from your HTML form is something like this: form enctype="multipart/form-data" action="/servlets/servlet/Upload" method="post" input type="file" name="FileData" value="" size="52" maxlength="255" input

mod_jk.conf configuration: Access servlets from apache server with url servername/servlets/servlet-class

2001-04-22 Thread Lian, Xiaobu (Alice) (Xiaobu (Alice))
I have installed mod_jk, and put "include /usr/local/tomcat/conf/mod_jk.conf-auto" in httpd.conf. So I can run tomcat 3.2.1 and apache 1.3.19 on hp-ux 11.00. I have a configuration question and hope somebody can give me a clue. Our existing servlet classes are in /home/someDir/servlets/

Accesing MySQL database through Applets

2001-04-22 Thread Dana Marcusanu
I am using Tomcat version 3.2.1. I am trying to connect to a data base from an applet and I am getting the following error: 2001-04-22 05:41:00 - Ctx( /examples ): 404 R( /examples + /jsp/student/org/gjt/ mm/mysql/Driver.class + null) null My driver is in: C:\tomcat\jakarta-tomcat-3.2.1\lib My

FW: Tomcat Windows 2000

2001-04-22 Thread test test
-Original Message- From: test test Sent: Thursday, 19 April 2001 15:45 To: '[EMAIL PROTECTED]' Subject: Tomcat Windows 2000 hello Can anybody please tell me how I can get Tomcat to work with Windows 2000 (using IIS web server). I have searched the user

Accessing HTML files in the apache root from servlets

2001-04-22 Thread Matthias Hupp
Greetings everyone, I am going mad over this: I have a servlet directory structure in my apache virtual host document root. Servlets can be reached by typing "www.../servlet/ServletName. I am trying to access a html file from that servlet as input data, it could be just any type of text file.

RE: Accessing HTML files in the apache root from servlets

2001-04-22 Thread Iain Lowe
You could try FileReader in = new FileReader(this.getServletContext().getRealPath("/inputfile.html")) or something along those lines. Hope this helps :) -Original Message- From: Matthias Hupp [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 22, 2001 8:45 PM To: [EMAIL PROTECTED]

RE: Tomcat Windows 2000

2001-04-22 Thread Craig O'Brien
More information is needed if anyone is to help you. The documentation in the tomcat download is very good. Tomcat works well with Windows 2000 and IIS and many other operating systems. Tomcat is 100% java. If you haven't found the documentation it is in the doc directory. Print it out and

Re: JSP IDE

2001-04-22 Thread Anthony Scott
Ivan wrote: No offense, but you wanted linux, you got it - Original Message - From: "Evdin Ursan" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 20, 2001 3:09 AM Subject: JSP IDE Hi ALL, I have a very important question for you! Please, could someone tell me

RE: Accessing HTML files in the apache root from servlets

2001-04-22 Thread Craig O'Brien
If you are ever in doubt, use the complete path to your html file. (http://www.yourdomain/yourpage.html) That should always work. Otherwise you may have a mapping problem with your mod_jk or ..? You can access your graphics like this as well, ... Hell, even put your graphics on a different

Re: How to make DbConnectionBroker from javaexchange.com to work with Mysql?

2001-04-22 Thread Jason
Hi Jeff, it works now! It's the path of the logfile causing the problem. Thanx Jason Jason wrote: Hi Jeff, this is the example from DbConnectionBroker. I follow your advise to modify this program but get "javaNullPointer exception" when calling "conn =

RE: AutoRefreshing of apps

2001-04-22 Thread Warren Crossing
hey Jeremy, I've been using tomcat 4.2 for the last 6 months. I am yet to see it reload a war or unload and reload a servlet. I'm have been through the yet to jump into the source code and see if its been disabled. I figure reloading is not part of the j2ee spec so maybe its fallen of

RE: AutoRefreshing of apps

2001-04-22 Thread Warren Crossing
yeah, well it feels like 6 years.. =) thanks.. ...( checking more code ) ... whats the deal with reloadable anyway?? all the docs says its just a flag on the context.. the code for StandardClassLoader looks reasonable.. can anyone actually say.. "hey i've got StandardClassLoader log writes

RE: AutoRefreshing of apps

2001-04-22 Thread CPC Livelink Admin
I believe the message I see on the stdout is RELOAD!! And poof my servlets/classes are reloaded most of the time. Occasionally I get a humorous message about the possibility never happening - Who put this code here? When I see that I smile and restart tomcat. -Original Message-

multiple accounts

2001-04-22 Thread Brent and Maria
Hello tomcat users, This is a re-post. I got one answer, but I am looking for another way. I am trying to set up tomcat-apache on a linux machine. There are several accounts on the machine and all of them need to use tomcat. I want everyone's work in their own place and nobody else to

RE: multiple accounts

2001-04-22 Thread Warren Crossing
hi, i guess you create multiple hosts running on seperate ports. probably best for tomcat 4. in tomcat 3.2 you can specify a -f switch at command line to point tomcat to the server.xml file. regards, warren. -Original Message- From: Brent and Maria [mailto:[EMAIL PROTECTED]] Sent:

RE: multiple accounts

2001-04-22 Thread Brent and Maria
Thanks Warren, Just to clarify, are you saying to create a server.xml file for each user? If so, how would I use the -f switch for say 10 different users? Is Tomcat 4 stable for production? Thanks again for your help, Brent At 08:37 PM 4/22/2001 , you wrote: hi, i guess

RE: Tomcat Windows NT IIS

2001-04-22 Thread test test
Craig Thank you for your advice. I have been through the instructions on IIS (tomcat-iis-howto.html). However, I still cannot get the examples to work under IIS (they work fine with Tomcat), I have been through the trouble shooting section with no luck. I have not added any contexts as I

RE: multiple accounts

2001-04-22 Thread Warren Crossing
come closer and i will tell you all i know. i have all our developers running their own process instance of tomcat, its a load but you know its up and down all day so i figure that the best way.. 1 tomcat per developer.. /usr/local/tomcat3.2/bin/tomcat -f ${USER_HOME}/conf/server.xml start

RE: multiple accounts

2001-04-22 Thread Brent and Maria
Warren, That helps incredibly. That was what I was looking for. What exactly is catalina? Is this part of tomcat 4.2? Is it worth upgrading? If a tomcat process for a certain developer goes down, do they have to come to you, or can you have a script that they can execute for

Trouble in Mapping URL! HELP!!

2001-04-22 Thread bobby
I am using Apache 1.3.13,and want to map URL "http://localhost/new" to my directory: /home/mydir/newI had appended below into /etc/httpd/httpd.conf Alias /new "/home/mydir/new"Directory "/home/mydir/new" Options Indexes FollowSymLinks Allow from all/Directory But when I attempted

Re: multiple accounts

2001-04-22 Thread Jan Labanowski
You have to define what you mean by: nobody else to be able to get to it (home directory/ or webapps/userName/). If you want people not to be able to see other people work, the answer is that only tomcat running as root can see everybodys stuff, when their directory permssions are 700, but

RE: multiple accounts

2001-04-22 Thread Warren Crossing
yeah brent, our developers have a script to stop and start and restart tomcat. but keep in mind to choose ports above 1024 on unix due to permission restricitions. um catalina is the webserver engine codename for tomcat.. ohh i dont really know. regards, warren -Original Message-

RE: Tomcat Windows NT IIS

2001-04-22 Thread Craig O'Brien
Good, So you have tomcat running and can view the JSP and Servlet examples using port 8080. (localhost:8080/) Do not add any contexts yet. First you want to get the isapi_redirect.dll installed so that you can call the examples directly without referencing the port. If you haven't downloaded

Re: multiple accounts

2001-04-22 Thread Brent and Maria
Thanks Jan, You covered what I was looking for. Brent At 09:26 PM 4/22/2001 , you wrote: You have to define what you mean by: nobody else to be able to get to it (home directory/ or webapps/userName/). If you want people not to be able to see other people work, the

Re: [tc3.3] configuring logging

2001-04-22 Thread Boris Niyazov
Read JSP spec. You should use application.log(...) in your JSP pages. HTH * * Boris NiyazovPh: 212-854-4094 Fax: 212-854-1749 * * Systems Manager Email: [EMAIL PROTECTED] * * Columbia

Install Tomcat in Linux VS Solaris Intel question

2001-04-22 Thread Jason
Hi everyone, I installed two Tomcat. The first Tomcat/Apache/mod_jk is on Redhat 6.2 and the second is on Solaris 2.7 Intel. In Solaris Intel, I installed a lot of things before installing tomcat. For example, I had to install ant(like Make) in order to build tomcat from source. In

AW: file upload servlet

2001-04-22 Thread Ralph Einfeldt
If you don't want to loose the session if the client disabled cookies you have to encode the url, otherwise the servlet that receives the post will see a new session. -Ursprüngliche Nachricht- Von: Rhett Savage [mailto:[EMAIL PROTECTED]] Gesendet: Sonntag, 22. April 2001 21:26 An:

2 Critical Problems with Tomcat 3.2.x

2001-04-22 Thread Andrew McDonald
Hi there, First I'd like to thank the developers for a great product. Tomcat is a nice piece of software. And like all great OSS, very easy to raise a purchase order for ;) Thanks guys. Unfortunately I have run into a couple of serious show-stoppers when deploying TC in production. A bit of

mod_jserv does not build on Unix

2001-04-22 Thread S Uma
Hello, I am a new user of tomcat on Unix. I need to use Tomcat with Apache. I tried to build mod_jserv on Unix and it gave the following error. Can't locate strict.pm in @INC (@INC contains: /Applications/App_Dirs/perl5/lib/PA-RISC1.1/5.00404 /Applications/App_Dirs/perl5/lib

Help with Windows IIS

2001-04-22 Thread John Lusk
I am just loading my server with Tomcat. I got all the examples to run correctly with IIS 5.0. I am now trying to set up my own application. I went though all the configurations I could find on the Jakarta site. I made a virtual directory for IAP in IIS. I opened the server.xml and added