Re: AW: how to virtual hosting with apache 13.x, tomcat 4.0.3, mod_webapp

2002-06-06 Thread Nikola Milutinovic
Works for me... I have about 10 virtual hosts sharing the same connection. That's a good thing to know, I'll modify my HOW-TO. Thanks. Nix.

AW: Improper timing using Calendar class (JSP/servlet)

2002-06-06 Thread Ralph Einfeldt
Date deprecated ? Until 1.4 this class is not deptrecated (and I guess it will not be in future versions). Only all constructors and methods that try to treat the Date as an calendar are deprecated. It still valid to use Date with time in ms and to do math with that. -Ursprüngliche

Re: AW: Improper timing using Calendar class (JSP/servlet)

2002-06-06 Thread Phillip Morelock
Only all constructors and methods that try to treat the Date as an calendar are deprecated. It still valid to use Date with time in ms and to do math with that. Sorry, my mistake. That's what I get for shooting off the old mouth without a full understanding. I learned long ago this class

Active Directory

2002-06-06 Thread Chris Shen
i know this is kind of off the topic, but i am trying to write to an Active Directory using jndi in jsp. However, i have no idea how the active directory schema works. i am just trying to look up users. does anyone have any idea on things such as what the base DN should be, objectClass, and so

AW: Socrates (slightly off topic)

2002-06-06 Thread Ralph Einfeldt
Some open + free solutions: - ab a part of the apeche web server http://httpd.apache.org/docs/programs/ab.html the best result you get with the version that is delivered with apache 2.* - jMeter a part of the jakarta project http://jakarta.apache.org/jmeter/index.html Just free: (No

Re: catalina-ant ReloadTask fails

2002-06-06 Thread Alexander ten Bruggencate
On Thu, 2002-06-06 at 05:36, Remy Maucherat wrote: As I understand thing, the reload task just tells TomCat to reload the war file that is in the webapp directory. It is still your responsiblity to get the WAR file to the webapp directory. It's a shame it doesn't support a file

RE: using tomcat with IIS

2002-06-06 Thread Steven Sporen
Hi, Apparently the answer to this is to install an ISAPI filter into IIS which routes the requests through to Tomcat on port 8080. Sounds like a hack to me, the .jsp compiler should to flexible enough to be compiled on win32 as an ISAPI filter then it would function the same as any other

need X running tomcat

2002-06-06 Thread Michael Reutter
Hi! I'm running tomcat 3.3.1 on a linux box! my servlets need some fonts to generate some images. Now I have to do the following to start tomcat: (no X is running) login as root startx export DISPLAY=myserver:0 tomcat.sh start or start xdm login as root tomcat.sh start 1. Am I on the right

Re: catalina-ant ReloadTask fails

2002-06-06 Thread Alexander ten Bruggencate
On Thu, 2002-06-06 at 09:14, Alexander ten Bruggencate wrote: Is it just me or is DeployTask 100% the same as IntallTask? (I get the same results) right now if a web application has changed i have to do a RemoveTask and after that a IntallTask. I would rather have a ReloadTask that

Re: Popular question

2002-06-06 Thread @Basebeans.com
Subject: Re: Popular question From: Bruno V [EMAIL PROTECTED] === I know what you mean ... a start point could be http://bruno.vernay.free.fr/HowTo/Apache-tomcat/bWebServer/references.html I would like to do more, but I have little time and I guess Tomcat peoples too. PS: if someone know

Re: Improper timing using Calendar class (JSP/servlet)

2002-06-06 Thread James Williamson
Trenton D. Adams wrote: IMNSHO? In My N?? S?? Honest Opinion -Original Message- From: Phillip Morelock [mailto:[EMAIL PROTECTED]] Sent: June 5, 2002 11:38 PM To: Tomcat Users List Subject: Re: Improper timing using Calendar class (JSP/servlet) This is the right way to

AW: Improper timing using Calendar class (JSP/servlet)

2002-06-06 Thread Ralph Einfeldt
Although it might be a personal view I thing this is a valid opinion. Listening to this list for a while I got the impression that using declarations inside %! % is a thing, that can lead to much trouble. Most people that are new to multithreaded programming or the architecture of a servlet

Re: Problem in Thai language

2002-06-06 Thread tom themust
Thanks Barker, It's work now. Tom. Bill Barker [EMAIL PROTECTED] wrote: Try request.setContentType(text/html; charset=UTF-8). Substitute /UTF-8/thai-char-set/ as necessary. - Original Message - From: tom themust To: Sent: Wednesday, June 05, 2002 9:55 PM Subject: Problem in Thai

Re: Improper timing using Calendar class (JSP/servlet)

2002-06-06 Thread Phillip Morelock
On 6/6/02 12:55 AM, James Williamson [EMAIL PROTECTED] wrote: I'm sorry Fillup, this is what raised my earlier (trollish) post, you often seem to be feeding this list with invalid information or from what I can gather your highly personal perspective on what's right or wrong. Fair enough! I

about session

2002-06-06 Thread Anibal Constante Brito
I have code in login.jsp. jsp:useBean id=login scope=session class=jsptutorial.Login / I thing that this object keep in memory to session remain(I have some doubt in this things), but how can I in login.java put some object in the memory for all session like above. Best Regards. Owen. -- To

AW: need X running tomcat

2002-06-06 Thread Ralph Einfeldt
Better user Xvfb. Depending on the distribution you use you can place a start script like this in /etc/init.d or /etc/rc.d/init.d to start xvfb. XVFB=/usr/X11R6/bin/Xvfb XVFBARGS=:99 -screen 0 1024x768x24 -fbdir /var/run -ac PIDFILE=/var/run/xvfb.pid case $1 in start) echo -n Starting

AW: need X running tomcat

2002-06-06 Thread Ralph Einfeldt
Alternativly use JDK 1.4 with the headless option to create the images. -Ursprüngliche Nachricht- Von: Michael Reutter [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 6. Juni 2002 09:52 An: Tomcat Users List Betreff: need X running tomcat my servlets need some fonts to

RE: need X running tomcat

2002-06-06 Thread Wouter Boers List
Which JVM do you use? If I'm correct, this bug in the JVM is supposed to be fixed in JVM 1.4. Wouter -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: donderdag 6 juni 2002 10:47 To: Tomcat Users List Subject: AW: need X running tomcat Better user Xvfb.

Restricting Access to Web Resources

2002-06-06 Thread Urtzi Larrazabal
Hi friends, I am trying to protect my application with an authentification but I don't know why my security constraint is ignored. When I access to the application I'm not prompted for a user and a password. Does anyone know what am I doing wrong? #cd webapps/Myaplicaion/WEB-INF #more

RE: about session

2002-06-06 Thread chris . karema
something like HttpSession session = request.getSession(); session.setAttribute(login,new jsptutorial.Login()) -Original Message- From: Anibal Constante Brito [mailto:[EMAIL PROTECTED]] Sent: 06 June 2002 09:51 To: Tomcat Subject: about session I have code in login.jsp. jsp:useBean

AW: need X running tomcat

2002-06-06 Thread Ralph Einfeldt
It was not a bug, but a missing feature. Yes it is solved from 1.4 on, if you use an additional headless option. -Ursprüngliche Nachricht- Von: Wouter Boers List [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 6. Juni 2002 10:54 An: 'Tomcat Users List' Betreff: RE: need X running

Init object in contextServlet

2002-06-06 Thread Aline
Hi, Can anyone tell me how to create an object instance and put it in the servlet context at the beginning of a web application. Is it in the web.xml that I must declare it? thanks. Aline Webcaster T +33 (0)3 28 36 25 23 F +33 (0)3 20 13 06 04 http://www.oeilpouroeil.fr

Re: Init object in contextServlet

2002-06-06 Thread Phillip Morelock
Hey, Write a servlet that does this. Extend javax.servlet.http.HttpServlet override the init method. in this init method, do whatever it is you're doing. In web.xml, declare this servlet like usual and put in a load-on-startup tag. servlet servlet-nameDataInitServlet/servlet-name

Automatic start from /etc/rc3.d ???

2002-06-06 Thread Jean-Luc BEAUDET
Hi all, Using SOLARIS 2.8, Tomcat 4.0.2 on a SUN 220R Server Well my Tomcat engine is runnin' under a special user, let's say wildcat. I'm looking for a way to automatically start this engine at system boot, like i do with Apache. Apache has a special way - start by root and change user to

Re: Automatic start from /etc/rc3.d ???

2002-06-06 Thread Phillip Morelock
su -c see man su Oh, wait, I see that you know that already -- For me I had to symlink to tomcat.sh and init will automatically call it with start and stop arguments: tomcat.sh start and on shutdown: tomcat.sh stop which is essentially what startup.sh and shutdown.sh do. This worked for me

Re: Automatic start from /etc/rc3.d ???

2002-06-06 Thread Phillip Morelock
Oh and you'll probably want to define: JAVA_HOME CATALINA_HOME (or TOMCAT_HOME as appropriate) directly inside of tomcat.sh or catalina.sh cheers fillup On 6/6/02 3:17 AM, Phillip Morelock [EMAIL PROTECTED] wrote: su -c see man su Oh, wait, I see that you know that already -- For

Re: Automatic start from /etc/rc3.d ???

2002-06-06 Thread Alexander ten Bruggencate
On Thu, 2002-06-06 at 12:05, Jean-Luc BEAUDET wrote: Hi all, Well my Tomcat engine is runnin' under a special user, let's say wildcat. I'm looking for a way to automatically start this engine at system boot, like i do with Apache. Jean-Luc :O) here's my /etc/rc.d/initd/tomcat script.

CrossContext. Is there a easier solution?

2002-06-06 Thread Christian J. Dechery
As I can see, and for what I've tried to acomplish, this CrossContext thing is no picnic. It isn't easy to apply or use. Isn't there a easier of doing this? For instance, if I have a webserver and I want all the webapps to look in only one dir for images... how would I do that? .:|

Re: CrossContext. Is there a easier solution?

2002-06-06 Thread Phillip Morelock
For instance, if I have a webserver and I want all the webapps to look in only one dir for images... how would I do that? Actually, in this case at least, it should not matter. The browser downloads the html page, and then sends subsequent requests back to the server for images. You could

run as tomcat user

2002-06-06 Thread Urtzi Larrazabal
Hi friends ! I have installed Tomcat 3.3 on a Solaris 8 and I would like to know what sould I do to run as Tomcat user. If I run as root all works well but if I run as another user it doesn't work. Does anyone know the permisions that I must apply? Regards, Urtzi Larrazabal -- To

Re: run as tomcat user

2002-06-06 Thread Phillip Morelock
What port are you running the service on? binding to ports ( 1024 ) require root access, meaning port 80 if that's what you're using. Tomcat defaults to 8080, which a normal user can bind to. maybe you already knew this? in which case, please describe your environment a little better.

RE: Restricting Access to Web Resources

2002-06-06 Thread John Burgess
I believe the URL you want is /* i.e. the /MyApp is assumed since you are defining the constraint in the MyApp context Best Wishes John Burgess [EMAIL PROTECTED] Tel: 01865 718666 Fax: 01865 718600 -Original Message- From: Urtzi Larrazabal [mailto:[EMAIL PROTECTED]] Sent: Thursday,

RE: new tomcat user: migrating app from resin

2002-06-06 Thread John Burgess
It would seem as if you don't have a web-app /web-app wrapping all the entries in you web.xml. If so it should be trivial to put it in Best Wishes John Burgess [EMAIL PROTECTED] Tel: 01865 718666 Fax: 01865 718600 -Original Message- From: Scott Dudley [mailto:[EMAIL PROTECTED]]

Re: CrossContext. Is there a easier solution?

2002-06-06 Thread James Williamson
Christian, If you're on a Un*x platform why not just create sym. links? Regards, James Williamson www.nameonthe.net Christian J. Dechery wrote: As I can see, and for what I've tried to acomplish, this CrossContext thing is no picnic. It isn't easy to apply or use. Isn't there a easier

AW: CrossContext. Is there a easier solution?

2002-06-06 Thread Ralph Einfeldt
There are serveral options: - Define a context with the name images and use something like /images/common/img1.gif to reference them from the other contexts. - The dirty solution for linux: mkdir -p /webcommon/images ln -s /webcommon/images /webapp1/images ln -s /webcommon/images

RE: Restricting Access to Web Resources

2002-06-06 Thread Urtzi Larrazabal
ohh!! you are right ! But now, when I try to access to my aplication I am prompted for a user and a password,and if I introduce tomcat user and tomcat password I can't access. Where must be defined the users with access permisions, I mean where must I especify the role-nametomcat/role-name ??

Re: Active Directory

2002-06-06 Thread Markus Kirsten
Check with your Active Directory documentation how to make AD accessible from a LDAP client. Then just access the AD tree as a normal LDAP tree. Good hunting! Markus On torsdag, juni 6, 2002, at 09:17 , Chris Shen wrote: i know this is kind of off the topic, but i am trying to write to an

RE: Active Directory

2002-06-06 Thread Douglas, Rory
You should have a look at how your specific AD setup using ADSIEdit, it comes with Win2K Support Tools. Generally though, it will be something like: Base/Root DN is: dc=mycompany,dc=com below that there will be a Container (cn) called Users. You can place/lookup users in there. Note that your

web application outside tomcat/webapps dir

2002-06-06 Thread D Bamud
My Platform Tomcat 4.0.3/Windows2000/JDK1.3.1. I am new to Tomcat4.0.3 %CATALINA_HOME%\webapps is the base directory for containing web applications. Is it mandatory to put my web applications in this directory? Can I put my web application in say C:\mydir and configure Tomcat so that it could

RE: Servlet / Tomcat question

2002-06-06 Thread Shapira, Yoav
Howdy, If your web-application is called MyApp, and your servlet class is com.mycompany.myclass, you'd access it as http://myserver.mydomain:myport/MyApp/servlet/com.mycompany.myclass If you deployed to the ROOT web app, so that your context is the root context, you would remove the /MyApp/ part

Error-Handling

2002-06-06 Thread Jens Thielen
Hi, is is possible to show the user an error/info-page while tomcat is starting? I'm using tomcat 3.3 with Apache/1.3.22 (Unix) Jens dmc news Sie wollen wissen wie gut Ihr Multimedia-Dienstleister ist? dmc belegt unter den größten 50 Dienstleistern Platz 3, in der Empfehlbarkeit Platz 2 und

RE: web application outside tomcat/webapps dir

2002-06-06 Thread chris . karema
in server.xml, add element - where appropriate Context path=/myapp docBase=C:/mydir debug=0 privileged=false/ the 'docBase' attribute is key -Original Message- From: D Bamud [mailto:[EMAIL PROTECTED]] Sent: 06 June 2002 14:34 To: [EMAIL PROTECTED] Subject: web application outside

Re: Automatic start from /etc/rc3.d ???

2002-06-06 Thread Jean-Luc BEAUDET
Phillip Morelock a Ýcrit : su -c see man su Oh, wait, I see that you know that already -- For me I had to symlink to tomcat.sh and init will automatically call it with start and stop arguments: tomcat.sh start and on shutdown: tomcat.sh stop which is essentially what startup.sh

Re: Automatic start from /etc/rc3.d ???

2002-06-06 Thread Jean-Luc BEAUDET
Alexander ten Bruggencate a Ýcrit : On Thu, 2002-06-06 at 12:05, Jean-Luc BEAUDET wrote: Hi all, Well my Tomcat engine is runnin' under a special user, let's say wildcat. I'm looking for a way to automatically start this engine at system boot, like i do with Apache. Jean-Luc

Re: AW: need X running tomcat

2002-06-06 Thread Michael Reutter
Am Donnerstag, 6. Juni 2002 11:05 schrieben Sie: It was not a bug, but a missing feature. Yes it is solved from 1.4 on, if you use an additional headless option. thanks - works great!!! michi -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

Re: run as tomcat user

2002-06-06 Thread Edam Cheeseman
just checking - are you sure Tomcat is running as root? with 3.3 on linux the tomcat.sh script automatically calls the su command to change the user to tomcat before starting - is this not the same on solaris? From: Urtzi Larrazabal [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL

Mod_jk Configuration

2002-06-06 Thread pjcrump
Mandrake 7.2 I want to compile mod_jk to hook Apache tomcat together and I'm having no luck. Anybody have any good URL's with instructions on how to Compile mod_jk? Thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Restricting Access to Web Resources

2002-06-06 Thread John Burgess
In the default tomcat setup (I'm assuming you're using 4.0.3) the memory realm is declared in server.xml. This reads users, passwords and roles from tomcat-users.xml also in the conf directory. Best Wishes John Burgess [EMAIL PROTECTED] Tel: 01865 718666 Fax: 01865 718600 -Original

can't build jakarta-tomcat-4.0/webapps/tomcat-docs/

2002-06-06 Thread Robert Priest
I guess i need to specify to use trax or xalan, and not the xslp stuff. where? I did not see an entry in the j-t-4.0/build.properties (.sample) file? build-main: [style] DEPRECATED - xslp processor is deprecated. Use trax or xalan instead . [style] java.lang.NoClassDefFoundError:

RE: Mod_jk Configuration

2002-06-06 Thread Cameron Purdy
Try this article for help with mod_jk: http://www.ubeans.com/tomcat/index.html BTW - Now Tangosol Coherence 1.1.3 includes out-of-the-box support for HTTP session replication for Tomcat 4. Drop in two JAR files, change one line of configuration

Tomcat 3.3 and LDAP

2002-06-06 Thread Urtzi Larrazabal
I would like to know if Tomcat 3.3 has the JNDIRealm feature to authentificate users with LDAP. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Tomcat 3.3 and LDAP

2002-06-06 Thread Ryan
Urtzi, Yes it does, after you set up tomcat look at http://localhost/tomcat-docs/realm-howto.html towards the bottom are really good instructions on how to set up a JNDI Realm. Ryan --- Urtzi Larrazabal [EMAIL PROTECTED] wrote: I would like to know if Tomcat 3.3 has the JNDIRealm feature

Access-Control for Tomcat-Webserver (Version 4.0.1)

2002-06-06 Thread Bührle, Martin, FCI1
Hi List, we have built up a closed Intranet for our employees with an TOmcat (4.0.1), Apache and WARP-Connector - Configuration and Apache access-control, using the LOCATION - directive from Apache. Our Intranet - Content is served by a Tomcat-servlet. The only problem we have, is that you

RE: Url rewrite

2002-06-06 Thread Shapira, Yoav
Howdy, You can map servlets in your web.xml to almost any URL pattern you want. If your webapp is installed under the ROOT context, add the following into your web.xml: servlet servlet-namefooServlet/servlet-name servlet-classfooName/servlet-class /servlet servlet-mapping

HELP : WebappLoader and URL.setURLStreamHandlerFactory

2002-06-06 Thread Mike Niemaz
Hi, Is there a way not to set the stream handler factory in Tomcat4.x? I'm using the ibm webdav package which does it as well and, as you probably know, only one factory handler is allowed (true?) per JVM so I thought of recompiling Tomcat but first I'm having

RE: Access-Control for Tomcat-Webserver (Version 4.0.1)

2002-06-06 Thread Wagoner, Mark
Since you are using WARP exclusively, you can remove the Tomcat-Standalone service from your server.xml file. After you restart Tomcat, it will no longer be listening for HTTP requests. -Original Message- From: Bührle, Martin, FCI1 [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 06,

Apache 1.3, Tomcat 3.2.3 SSL woes

2002-06-06 Thread Noyce, Ben W.
Greetings everyone, We are running into some interesting scenarios with Apache 1.3, Tomcat 3.2.3, and SSL. Hoping for some insight, we turn to you... Setting: We are running Apache 1.3 with mod_ssl on top of Linux Red Hat 7.+. Tomcat 3.2.3 is configured without SSL support. Our mod_jk.so

RE: Socrates (slightly off topic)

2002-06-06 Thread Trenton D. Adams
Great, thanks. I'll try those out as well. -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: June 6, 2002 1:19 AM To: Tomcat Users List Subject: AW: Socrates (slightly off topic) Some open + free solutions: - ab a part of the apeche web server

RE: Socrates (slightly off topic)

2002-06-06 Thread Trenton D. Adams
Great, thanks. Didn't even know about wget or curl. I'll try them out. -Original Message- From: Phillip Morelock [mailto:[EMAIL PROTECTED]] Sent: June 6, 2002 12:03 AM To: Tomcat Users List Subject: Re: Socrates (slightly off topic) If not, anyone know of any good testing programs

AW: Access-Control for Tomcat-Webserver (Version 4.0.1)

2002-06-06 Thread Bührle, Martin, FCI1
Hi Mark, I cannot remove the standalone-service, because I need it for testing. Due to a bug I am not able to see changes out of my CMS-Servlet via WARP-Connector and Apache immediately. I just can see it under Port 8080 / Tomcat-Standalone-Server until I restart Tomcat in the night. We will

RE: Tomcat 3.3 and LDAP

2002-06-06 Thread Larry Isaacs
No. Only Tomcat 4 provides JNDIRealm support. Cheers, Larry -Original Message- From: Urtzi Larrazabal [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 06, 2002 11:56 AM To: Tomcat Users List (E-mail) Subject: Tomcat 3.3 and LDAP I would like to know if Tomcat 3.3 has the

Urgent : Pl help : Getting the manager app to work with tomcat 4.0.3 and IIS 5.0

2002-06-06 Thread Sankaranarayanan (Ganesh) Ganapathy
Hi All, I have setup IIS and tomcat successfully - I can get to the example webapps. But when I try to access the manager app I get the message - Access to the specified resource is denied. The jakarta virtual directory has read and execute premission and the anonymous acces is enabled.

Help! I am so stuck. Tomcat NT credential

2002-06-06 Thread BBui
Hi all, When Tomcat is installed on W2K, what NT Security Role does it use to access files? How can I tell Tomcat4 to use NT Security? Thanks very much. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018

RE: Help! I am so stuck. Tomcat NT credential

2002-06-06 Thread Geoff Peters
You can either use the tomcat-users.xml file to define users, passwords and roles (located in the conf folder in the root of Tomcat), or use a realm to authenticate to a database, either way there is really good documentation on it at the jakarta tomcat site, it took me about 15 min to have an

RE: Help! I am so stuck. Tomcat NT credential

2002-06-06 Thread BBui
Hi, Thanks for responding so quickly. How about using NT User Group to authenticate access to JSP files inside a secured directory? (I will read the paper now but I thought I should ask.) Thanks again. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -Original

Urgent : Pl help : Getting the manager app to work with tomcat 4.0.3 and IIS 5.0

2002-06-06 Thread Sankaranarayanan (Ganesh) Ganapathy
Can somebody help, I am clueless as to how fix it, I have searched the net exhaustively! Has any one got this to work? Hi All, I have setup IIS and tomcat successfully - I can get to the example webapps. But when I try to access the manager app I get the message - Access to the specified

Switching isapi configuration from jk to jk2

2002-06-06 Thread Robert Priest
Switching isapi configuration: jk to jk2? Using: tc 4.0.3 IIS 5.0 W2k Server Hello, I was wondering if you guys can help me to configure my tomcat installation to use jk2 vs jk. Can you tell me if the following steps are complete and correct, and fill in any missing info? 1. copy

RE: Help! I am so stuck. Tomcat NT credential

2002-06-06 Thread Geoff Peters
Not sure (haven't done it) - but that sounds like standard folder security issue, just set up a user or user group with the User Manager in windows, and change folder permissions on the server, but as far as making NT security mesh with Tomcat, I am unfamiliar with that - Tomcat uses the

RE: Help! I am so stuck. Tomcat NT credential

2002-06-06 Thread TMotte
I think you most likely will need a COM-Java bridge. For example: http://www.linar.com/jintegra/doc/jsp2com/ [EMAIL PROTECTED]

RE: Help! I am so stuck. Tomcat NT credential

2002-06-06 Thread Geoff Peters
DO you have a database with users and passwords? Or if you simply have a couple of users and won't need to add / remove lots of users frequently I would recommend using the tomcat-users.xml file, it does the job easily.. Geoff -Original Message- From: [EMAIL PROTECTED]

RE: Help! I am so stuck. Tomcat NT credential

2002-06-06 Thread Reynir Hübner
Hi, It's possible to understand your question in two different ways, so I answer in two different ways. First answer : If you are running tomcat as a service you should be able to see which user it is that runs it (from the services dialog). If you are not running it as service it is

RE: Access-Control for Tomcat-Webserver (Version 4.0.1)

2002-06-06 Thread Wagoner, Mark
Sorry, I guess I should have read your question more closely. :o/ If you are on Linux you can block the request using IPTables when the source is outside your intranet. Otherwise, you may have to write a filter that examines the server port and requesting IP address. -Original

4.0.1 - 4.0.3 class not found

2002-06-06 Thread Shapira, Yoav
Hi, I have a webapp that works in Tomcat v4.0.1. It uses JAXP, Crimson, Xalan, so all those jars are in WEB-INF/lib. I left the Xerces.jar as some parts of the webapp use Xerces. I just installed Tomcat v4.0.3 in a separate directory. I copied my web-app into it, same jars into WEB-INF/lib,

Re: no notification when incorrect classes are specified in web.xml

2002-06-06 Thread Craig R. McClanahan
On Thu, 6 Jun 2002, tek1 wrote: Date: Thu, 06 Jun 2002 01:56:55 -0400 From: tek1 [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: no notification when incorrect classes are specified in web.xml does anyone know which catalina class is

AW: Access-Control for Tomcat-Webserver (Version 4.0.1)

2002-06-06 Thread Bührle, Martin, FCI1
Can You give me an hint how to configure the IPTables or where to read about this? Thanks. Gruesse Martin Buehrle _ Martin Buehrle, FCI1 EADS - European Aeronautic Defence and Space Company LFK-Lenkflugkoerpersysteme GmbH

apache 1.3.24 + mod_webapp + tomcat 4 gives me Document contains noData.

2002-06-06 Thread Kfir Ozer
I have Linux debian with apache 1.3.24 installed. i have mod_webapp plugin cvs compiled and tomcat4 debian package installed. now tomcat4 itself works. my httpd.conf file includes: VirtualHost *:80 ServerName ufk.2y.net WebAppConnection warpConnection warp localhost:8008 WebAppDeploy ROOT

RE: Access-Control for Tomcat-Webserver (Version 4.0.1)

2002-06-06 Thread Wagoner, Mark
Here are a couple: http://netfilter.samba.org/documentation/ http://www.linuxguruz.org/iptables/howto/iptables-HOWTO.html Note that IPTables is for kernel version 2.4.x, 2.2.x used IPChains (you can find documentation on IPChains at these sites also). HTH -Original Message- From:

Pl help : I am stuck : Getting the manager app to work with tomcat 4.0.3 and IIS 5.0

2002-06-06 Thread Sankaranarayanan (Ganesh) Ganapathy
Can somebody help, I am clueless as to how fix it, I have searched the net exhaustively! Has any one got this to work? Hi All, I have setup IIS and tomcat successfully - I can get to the example webapps. But when I try to access the manager app I get the message - Access to the specified

RE: Pl help : I am stuck : Getting the manager app to work with tomcat 4.0.3 and IIS 5.0

2002-06-06 Thread BBui
Have you looked in the Catalina.policy file? I think somewhere in there you should have a grant statement to that manager directory. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -Original Message- From: Sankaranarayanan (Ganesh) Ganapathy [mailto:[EMAIL

Re: Access-Control for Tomcat-Webserver (Version 4.0.1)

2002-06-06 Thread Phillip Morelock
and while you're at it, you should block 8005 as someone else pointed out very intelligently the other day. 8005 is tomcat's control port (i don't know the official name). If you type: telnet nameoftomcatserver 8005 Once you connect, type SHUTDOWN and hit return. Tomcat will shut down. So

Re: Access-Control for Tomcat-Webserver (Version 4.0.1)

2002-06-06 Thread James Williamson
Actually, you shouldn't need to, on my box it only binds itself itself to the loopback interface. If you're on a Un*x box try a netstat -lp -t to see the interface(s) it's listening on, hopefully you should see something like this: tcp0 0 localhost:8005 *:*

file upload using POST

2002-06-06 Thread Ushakov, Sergey N
Sorry, I'm sure my question is a FAQ, but I still can't find an answer. Does Jakarta/Tomcat have a standard facility for file upload processing using POST? I have searched the Tomcat 4 docs, but did not find any trace. JGuru mentions the org.apache.tomcat.request.ParseMime class, but it seems

RE: Pl help : I am stuck : Getting the manager app to work with tomcat 4.0.3 and IIS 5.0

2002-06-06 Thread Sankaranarayanan (Ganesh) Ganapathy
Thanx for the response. The manager app does work with tomcat in standalone mode. IT doesnt work only when I have tomcat talking to IIS. The example app does work in this mode, only the manager app that is configured to do basic authentication doesnt work. IIS does seem to forward the

Re: Access-Control for Tomcat-Webserver (Version 4.0.1)

2002-06-06 Thread Phillip Morelock
good to know! fillup On 6/6/02 11:17 AM, James Williamson [EMAIL PROTECTED] wrote: Actually, you shouldn't need to, on my box it only binds itself itself to the loopback interface. If you're on a Un*x box try a netstat -lp -t to see the interface(s) it's listening on, hopefully you

RE: file upload using POST

2002-06-06 Thread Reynir Hubner
hi, Tomcat does not have any standard facility for fileuploads (at least not last time I looked). You need a multipart request parser. As you mentioned O'reilly provides something called MultiPartRequest or something like that. You should be able to download it from their site. I dont know

Re: file upload using POST

2002-06-06 Thread Phillip Morelock
Seems that most people use Jason Hunter's MultipartRequest . Is it the best choice for Tomcat? That's what I personally use. fillup On 6/6/02 11:26 AM, Ushakov, Sergey N [EMAIL PROTECTED] wrote: Sorry, I'm sure my question is a FAQ, but I still can't find an answer. Does Jakarta/Tomcat

New User Needs Help! java.lang.NoClassDefFoundError

2002-06-06 Thread bob McLaughlin
I have a apache (1.3.24) and tomcat(3.3.1) on Win2K. I have Apache and tomcat installed, and configured (i think) to the instructions in the docs. The servlet examples work fine, however I can not run the jsp examples. Enclosed is the error I'm seeing. Any Ideas? Bob Error: 500 Location:

tomact not staring

2002-06-06 Thread puneet sachar
what ever is neede ...i have set all java homes and catalina home.. and its picking it up also but when it is abt to satrt the tomcat amessage come.. bad command of file name seriously is tomcat 4.0.4 is for Nt users cos its written in startup.bat file .. NT users... plz help me Puneet

RE: Pl help : I am stuck : Getting the manager app to work with tomcat 4.0.3 and IIS 5.0

2002-06-06 Thread Cox, Charlie
You need to define the manager app under the 'Tomcat-Apache' service as well as under 'Tomcat-Standalone' Charlie -Original Message- From: Sankaranarayanan (Ganesh) Ganapathy [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 06, 2002 2:27 PM To: Tomcat Users List Subject: RE: Pl

RE: tomact not staring

2002-06-06 Thread Shapira, Yoav
Howdy, We're going to need a bit more than that to help you ;) 1) How do you know the tomcat script is picking up your environment variable settings? 2) 4.0.4 is beta. I'd suggest starting out with a stable release, e.g. 4.0.3. 3) Is there any output at all to the tomcat logs, e.g.

Re: Automatic start from /etc/rc3.d ???

2002-06-06 Thread Kevin HaleBoyes
The original message is at the end... I'm using RedHat linux but I suspect the solution is very similar. I've created a user tomcat4 in the already existing apache group. Login is disabled for this user for security reasons. The jakarta-tomcat-4.0.3 directory is owned by root with 777 perms on

Re: file upload using POST

2002-06-06 Thread Dennis Muhlestein
jakarta struts project has file upload capability but I haven't ever looked at it. They have an example war file too. -Dennis On Thu, 2002-06-06 at 12:26, Ushakov, Sergey N wrote: Sorry, I'm sure my question is a FAQ, but I still can't find an answer. Does Jakarta/Tomcat have a standard

RE: Switching isapi configuration from jk to jk2

2002-06-06 Thread Robert Priest
Besides my other questions, does the registry entry still remain the same? [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\2.0] -Original Message- From: Robert Priest [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 06, 2002 1:12 PM To: 'Tomcat Users

Tomcat 4.0 keeps shutting itself down

2002-06-06 Thread Antoine Fagan
Tomcat 4 works fine when the service is running, but will time out at random during the day or night when not in use. If there is a timeout setting for this installation please let us know. We have the following environment: Solaris 8 OS, Oracle 8i Database Server, Tomcat 4.0. -- To

Help: Tomcat 4.0.3 with Windows 2000

2002-06-06 Thread Young-Jin Lee
Hi, I have a problem using Tomcat 4.0.3. I started using Tomcat 4.0.3 as a standalone web server on my windows2000 machine, but I'm experiencing an odd problem. I modified server.xml very little. All I did was (1) to use port 80 instead of 8080, and (2) to turn on the servlet reloading by

RE: Pl help : I am stuck : Getting the manager app to work with tomcat 4.0.3 and IIS 5.0

2002-06-06 Thread Sankaranarayanan (Ganesh) Ganapathy
I am using the AJP connector. I dont have the 'Tomcat-Apache' service at all as I dont connect thru WARP. Has anybody got this working at all? Somebody should know this, pl help! Thanx Ganesh -Original Message- From: Cox, Charlie [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 06,

Classpaths

2002-06-06 Thread Muñoz Ordenes Andrés (Casa Matriz)
Hi... How can i do for add classes to Tomcat Classpath?... i have an application with a X class that isn't linked cause i can't move it into lib's directory... :( Regards Atte. Andrés Muñoz O. Fono: 690 3155 _ Andrés Muñoz Ordenes Ingeniero de Software CODELCO Jazz

Re: Tomcat 4.0.3 Apache 1.3.x and Mod_WebApp on MacOSX

2002-06-06 Thread Alexander Hartner
Apologies. I have added the following to httpd.conf #Adding Web application in Tomcat 4.0.3 WebAppConnection conn warp localhost:8008 WebAppDeploy ROOT conn /tomcat WebAppDeploy examples conn /tomcat/examples WebAppDeploy manager conn /tomcat/manager WebAppDeploy

Re: Tomcat 4.0.3 Apache 1.3.x and Mod_WebApp on MacOSX

2002-06-06 Thread Pier Fumagalli
Alexander Hartner [EMAIL PROTECTED] wrote: Apologies. I have added the following to httpd.conf #Adding Web application in Tomcat 4.0.3 WebAppConnection conn warp localhost:8008 WebAppDeploy ROOT conn /tomcat WebAppDeploy examples conn /tomcat/examples WebAppDeploy

running Tomcat on port 80 as non root

2002-06-06 Thread @Basebeans.com
Subject: running Tomcat on port 80 as non root From: Aymeric Alibert [EMAIL PROTECTED] === I am trying to find a workaround to the fact that Tomcat cannot run as non-root on port 80 on UNIX. It seems that our firewall can redirect the request from port 80 to port 8080. This way, tomcat can run

  1   2   >