RE: TomCat's XML parser

2002-02-20 Thread Arnaud Heritier
I'm developping a web app using XML (SAX DOM) and XSLT. I'm using xerces 1.4.4 and Xalan 2.1 in my web-app lib directory without any conflict with Tomcat. arno -Message d'origine- De: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Date: mardi 19 fevrier 2002 23:09 A:Tomcat

Re: Input from a FORM - encoding problem SOLVED

2002-02-20 Thread Nikola Milutinovic
The solution was to set the character encoding on the request (not on the response) object. Aparently, the parameters of the request are fetched on method call, which is a nice thing :-) Thanks to all who helped. And, by the way, IE6 doesn't honour enctype of the FORM, just splashes it's

unsubscribe tomcat-user@jakarta.apache.org

2002-02-20 Thread Mario Fernandez
unsubscribe [EMAIL PROTECTED]

Re: Listening Porblem?

2002-02-20 Thread David Slater
Guess I'm not totally clear on what your intent is. With virtual hosting Apache listens on port 80 of all ip's you configure and forwards the request to the appropriate engine that is listening on a _different_ port. So set Tomcat to listen on 8009 or something instead and it should work. If,

Strange startup problem with Tomcat 4.0.1 + W2K + JDK 1.3.1_02

2002-02-20 Thread Pykäläinen, Eero
I searched the web and archives but found no answer to this. If any of you people could help I would appreciate it very much. Everything has worked fine for several weeks but this morning when I tried to start Tomcat service on my W2K I got the following error message: Could not start the

Re: Strange startup problem with Tomcat 4.0.1 + W2K + JDK 1.3.1_02

2002-02-20 Thread David Slater
The Connector values need to be quoted: Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 etc... The parse error is probably causing all the other startup errors as a result. My gut feeling anyway! Pykäläinen, Eero wrote: I searched the web and archives but found no

How can I register a DTD in a war

2002-02-20 Thread Benoit Segaert
I want to validate a XML with a DTD in a War application. I have my DTD available in the war file. I use a XML file like the following: ?xml version=1.0 encoding=ISO-8859-1 ? !DOCTYPE Application SYSTEM file:///C:/java/jakarta-tomcat-4.0.1/webapps/myapplication/WEB-INF/LdapFramework.dtd

Tomcat -4.01 Catalina not starting service from STARTUP

2002-02-20 Thread Chuck Amadi
Hi , i recieved no advice regarding Connection refused on https://localhost: (http://localhost:8999) as my j-tomcat 3.2.2 is defaulted to 8080. I am using different ports for both j-tomcat. I am aware that on startup my command shell header name does'nt read Catalina it just state''s

mod_webapp and binary data

2002-02-20 Thread Miguel Angel Medina Lopez
Hi all: Anybody knows if the mod_webapp connector still have the bug to transmit (upload) binary files, and if true, when it will be repair? Thank you - Miguel Ángel Medina López Logic Factory: www.logic-factory.com Granada - España

Re: Strange startup problem with Tomcat 4.0.1 + W2K + JDK 1.3.1_02

2002-02-20 Thread David Slater
Hell, just realized that was an error msg, not your config file! I still feel that the parse error is the root of all evil for you with this though. Try making sure there are no tabs or funky chars embedded in the server.xml line and/or restore a known good copy, retype the line, etc. Best

RE: How can I register a DTD in a war

2002-02-20 Thread Jan Søgaard
Hi Benoit Remember that the resources under /WEB-INF/ is not directly accessible for the end user. If you place your DTD in a directory TOMCAT_HOME/webapps/myApplication/ You will have directly access to it, from other applications, accessing the DTD through tomcat. e.g.. I have a dtd placed

Re: Re: Problem in starting up TOMCAT, please help.

2002-02-20 Thread jay n gaba
try checking the log. On Sun, 03 Feb 2002 Ashutosh Shah wrote : Hi everybody, Here is my problem. I loaded Tomcat successfully on a Windows 2000 platform setting the environment variables CATALINA_HOME: c:\jakarta-tomcat-4.0 JAVA_HOME: c:\jdk1.3 CLASSPATH:

Re: How can I register a DTD in a war

2002-02-20 Thread Benoit Segaert
Thanks Jan, But I would like to avoid the server name http://127.0.0.1: or any access to a specific server. When I use Struts in my application, I have the following config file ?xml version=1.0 encoding=ISO-8859-1 ? !DOCTYPE struts-config PUBLIC -//Apache Software

Security constraints with http-method

2002-02-20 Thread Christopher Chan
Hello, Does anybody know how to use the security constraint to restrict webdav access to authenticated users but let get and post requests get by? Christopher

Manager options...

2002-02-20 Thread Jean-Luc BEAUDET
Hi all ! Well i try hard to get Manager working well through Warp Connector. We use Tomcat 4.0.2/Warp 1.0.2 with Apache 1.3.22. All is correct except a few little things like... Manager ! I really found no way to do it. Error messages like Can't deploy manager cause it's a priviliged

Problem with Cocoon2.0.1

2002-02-20 Thread Stefano Bonnin
I have just installed tomcat 4.0.2 and Cocoon 2.0.1. Steps: * download the file * copy cocoon.war under webapps ... * restart Tomcat Tomcat works correctly but when I try to use Cocoon I get the following error: Apache Tomcat/4.0.2 - HTTP Status 500 - Internal Server Error

Re: Manager options...

2002-02-20 Thread Christopher Chan
Create a user in conf/tomcat-users.xml and give the use a manager role instead of tomcat and so on. Then try to login again. - Original Message - From: Jean-Luc BEAUDET [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, February 20, 2002 7:02 PM Subject: Manager

CA guidance

2002-02-20 Thread Andrew
Hi, I'm using jdk1.4 final and I want to use SSL with Tomcat for CLIENT-CERT authentification. I've created self-signed certificate by keytool but how I can issue certificates for my company based on this(without third party CA)? Thanks in advice. -- To unsubscribe: mailto:[EMAIL

RE: Tomcat as an NT service again...

2002-02-20 Thread Randy Layman
This probably won't come as a surprise to you, but the problem is your classpath. The error you posted indicates that Tomcat can't load the XML parser. I would check the JavaService syntax for setting the classpath and then verify that jaxp and parser are at the path indicated.

Re: Manager options...

2002-02-20 Thread Jean-Luc BEAUDET
Christopher Chan a écrit : Create a user in conf/tomcat-users.xml and give the use a manager role instead of tomcat and so on. Then try to login again. - Original Message - From: Jean-Luc BEAUDET [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, February

RE: Tomcat in an academic development enviroment

2002-02-20 Thread Randy Layman
-Original Message- From: Zoko, Anthony [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 8:32 PM To: [EMAIL PROTECTED] Subject: Tomcat in an academic development enviroment 1) How do I isolate student applications into there own process space to prevent them from

RE: cannot compile JSP in tomcat 4.02 + JSDK 1.4

2002-02-20 Thread Randy Layman
It would seem that you are running Java with a 1.3 or before version of the JVM, but using 1.4 version of the classes. If possible, I would remove all versions of Java that are not 1.4, or at least get them out of your PATH environment variable. Double check your

Re: win98+classpath

2002-02-20 Thread Chuck Amadi
Hakan Kutucu wrote: Hi everybody, I have succesed to install tomcat at windows 2000. But I couldn't run at windows98. I think some classpath definitions are wrong. Which configurations should I do in autoexec.bat and how? Thanks. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional

Tomcat -4.0.1 Don't think my two connectors have instantiated Please Help

2002-02-20 Thread Chuck Amadi
Hey Please can someone verify that my Connector instances are ok. I have already port 8080 utilised for tomcat3.2.2 Thus when i use https://localhost:/ i get a connection refused error on 127.0.01. Plus http://localhost:8999 can't access 127.0.01. I get the Yellow lock key , But on

Please Somebody help me

2002-02-20 Thread Vishal Mukherjee
Please some boby help me I have installed tomcat 3.2.3 on IIS4 and had configured it as per the instruction. The JSP pages work proberly from http://localhost/examples or http://localhost/jsp but from other mc it does not thou the html works. I think i have not given proper context. What

RE: classes visibility in the WEB-INF dir

2002-02-20 Thread Larry Isaacs
The stack trace doesn't show any classes coming from your com or dir directories under WEB-INF/classes. Is this the same problem? Where are each of the kitabe classes located? Cheers, Larry -Original Message- From: Amine AMAR [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19,

RE: error-page tag in web.xml

2002-02-20 Thread Larry Isaacs
Tomcat is following the spec in this case. The handling for exceptions is defined to be separate from the handling for status errors such as 404. So exception-type applies to the exeception handling and error-code applies to the status error handling. The spec doesn't state that the exception

Re: Tomcat in an academic development enviroment

2002-02-20 Thread Tom Oinn
Randy Layman wrote: -Original Message- From: Zoko, Anthony [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 8:32 PM To: [EMAIL PROTECTED] Subject: Tomcat in an academic development enviroment 1) How do I isolate student applications into there own process

classpath-problem??

2002-02-20 Thread Øyvind Vestavik
I'm building a servlet which is accessing a dbxm/Windice database via a separat class (loginTest.java). Connecting to Xindice means I have to use classes contained in 'xmldb.jar' and 'dbxml.jar'. These jar files are referenced from my classpath. Both the class (loginTest.java) and the servlet

Re: I'll nearly gave up!!!

2002-02-20 Thread chad kellerman
Ok, but don't quote me on this. I have been trying to do the same thing. The documentation seems vague when it comes to Virtual Hosts and Tomcat 4.0. It also seems that a few people have this working but are not sure whether its right or not. It stemms from lots of trial and error.

RE: isapi_redirect.dll vs isapi_redirector.dll

2002-02-20 Thread Larry Isaacs
isapi_redirect.dll is the name of the Dll build from sources found in Tomcat 3.x versions. isapi_redirector.dll is the name of the Dll in jakarta-tomcat-connectors. Feature wise, the isapi_redirect.dll in Tomcat 3.3.1 Beta 1 is very similar to the isapi_redirector.dll in J-T-C. The primary

Re: Manager options...

2002-02-20 Thread Christopher Chan
maybe you should lose the slash at the end of /manager/. (try /manager) Is the name of your webappconnection Warp_conn? Christophe - Original Message - From: Jean-Luc BEAUDET [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, February 20, 2002 8:42 PM Subject:

Anybody have any idea where to find some more comprehensive doc on tomcat?

2002-02-20 Thread Christopher Chan
Can anybody please tell me where I can more information on the security constraint configuration? I want to let http methods get and post in without user authentication but I want to restrict options, propfind, head, put and other webdav methods to authenticated users only. I mean, if I just

Re: Tomcat as an NT service again...

2002-02-20 Thread Mike Welch
Randy Layman wrote: This probably won't come as a surprise to you, but the problem is your classpath. The error you posted indicates that Tomcat can't load the XML parser. I would check the JavaService syntax for setting the classpath and then verify that jaxp and parser are at

Re: classpath-problem??

2002-02-20 Thread Christopher Chan
try putting the jar files for the database driver in the WEB-INF/lib directory of your webapp and see if that works if they are not already there. Christopher - Original Message - From: Øyvind Vestavik [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, February

RE: classpath-problem??

2002-02-20 Thread Larry Isaacs
It's not that the container can't see the class, but that a class is being loaded that depends on XMLDBException. That class is being loaded in a classloader that can't see XMLDBExceptions. Unfortunately, this problem class that depends on XMLDBException may be many levels of dependency from the

Re: Tomcat in an academic development enviroment

2002-02-20 Thread Frank
You might think about using pws or some other mini server along with tomcat on each students machine. This might not be practical, I don't know, but it would work as a development environment, then you could hook them up to IIS for the final test. Just a thought. [EMAIL PROTECTED] wrote:

Configuring Tomcat+apache

2002-02-20 Thread Allan Kamau
Perhaps this question has already been answered, but I couldn't find it. Can anyone tell me how to configure apache+TC4. Send me a url to the HOWTO I will be more than glad. Allan Kamau. __ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002

Configuring Tomcat/apache service with mod_jk

2002-02-20 Thread Julien OIX
I've been trying Tomcat/Apache with mod_webapp and now I'd like to compare with mod_jk I'm using a RedHat 7.1 with these RPM's: apache-1.3.22-1.7.1 (with mod_throttle-3.1.2-3 mod_put-1.3-2 mod_bandwidth-2.0.3-2) tomcat4-4.0.2-2 mod_jk-1.3-1.0-1.4.0.2 #A part of httpd.conf LoadModule

RE: classpath-problem??

2002-02-20 Thread Øyvind Vestavik
I found that it worked when I placed the jar-files in the JAVA-HOME/jre/lib/ext. I'm still uncertain of hoe this will work when packaging in a war file, but thanks to for all replies. Øyvind Øyvind Vestavik Øvre Møllenberggt 44b 7014 Trondheim [EMAIL PROTECTED] 41422911 On Wed, 20 Feb 2002,

Tomcat + Solaris = ??

2002-02-20 Thread Scott Shorter
Hi all, I've searched the archives and found questions on this topic, but few answers. I've developed a web app using Tomcat 4.0.1 on my Win2K box (with no other web server), and the time has come to port it to Solaris. There seem to be issues of processes and permissions regarding this. I am

Re: Manager options...

2002-02-20 Thread Jean-Luc BEAUDET
Christopher Chan a écrit : maybe you should lose the slash at the end of /manager/. (try /manager) Is the name of your webappconnection Warp_conn? Christophe - Original Message - From: Jean-Luc BEAUDET [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday,

Re: Manager options...

2002-02-20 Thread Yoav Shapira
Hi, Sorry to bump in late in the thread, maybe this was already raised, but in your server.xml, did you specify the privileged=true attribute for the Manager context? Yoav If i enter http://myserver/managerstuff/list it then ask for login/password - OK and then generates an exeption

web hosting companies

2002-02-20 Thread chad kellerman
Hello, Does anyone now of any good webhosting companies that support tomcat? Chad -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

RE: classpath-problem??

2002-02-20 Thread Larry Isaacs
This indicates that something already in your jre/lib/ext directory directly or indirectly has a dependency on your two jars. You may be able to move that jar to be with the other two, in addition to moving the two jars to be with the other in jre/lib/ext. The risk of moving them to jre/lib/ext

How to get windows login user with IIS-Tomcat

2002-02-20 Thread Frederic Calvo
Hi, does anyone know how i can get thewindows login session username with in the servlet ? Thanks a lot. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Re: Manager options...

2002-02-20 Thread Jean-Luc BEAUDET
Yoav Shapira a écrit : Hi, Sorry to bump in late in the thread, maybe this was already raised, but in your server.xml, did you specify the privileged=true attribute for the Manager context? Yoav If i enter http://myserver/managerstuff/list it then ask for login/password - OK and

RE: Manager options...

2002-02-20 Thread Cox, Charlie
you should probably file a bug report as it appears to be a problem with manager through the connector as opposed to something with just the manager app. This way one of the developers is sure to look at it. Charlie -Original Message- From: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]]

RE: session timeout

2002-02-20 Thread KC Berg
I'm not sure how to do it in the config file but here it is in code... int hour = 60 * 60; hour = hour * 4; session.setMaxInactiveInterval(hour); this sets the inactivity timeout which is what I think you want. -Original

RE: Tomcat + Solaris = ??

2002-02-20 Thread John Wadkin
If I log in as root and start TomCat, then TomCat's user will be root. Ditto if I log in as fred or bert. If, for example, root owns all TC files (i.e. everything under TomCatHome) then you will run into problems trying to run TC as anybody other than root. Change the ownership of TomCat to the

Re: Manager options...

2002-02-20 Thread Jean-Luc BEAUDET
Cox, Charlie a écrit : you should probably file a bug report as it appears to be a problem with manager through the connector as opposed to something with just the manager app. This way one of the developers is sure to look at it. Charlie -Original Message- From: Jean-Luc

How to access a remote file?

2002-02-20 Thread Jack Li
Hello, How to access a remote file? I have a network drive F: for a D: driver on another machine mass. When I try to read a file on in driver F, it denies. Thanks, Jack Li -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list:

RE: Manager options...

2002-02-20 Thread John Wadkin
Works fine on my Solaris 8, TC 4.0.1, Apache 1.3 system. httpd.conf: WebAppConnection warpConnection warp servername:8008 WebAppDeploy manager warpConnection /manager server.xml !-- Tomcat Manager Context -- Context path=/manager docBase=manager debug=0 privileged=true/ One

RE: How to access a remote file?

2002-02-20 Thread Barney Hamish
Check what account you're starting tomcat under or what account the Tomcat service is being run under. Does that account have access to the drive you're trying to access. -Original Message- From: Jack Li [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 4:45 PM To: '[EMAIL

Re: Manager options...

2002-02-20 Thread Jean-Luc BEAUDET
Cox, Charlie a écrit : you should probably file a bug report as it appears to be a problem with manager through the connector as opposed to something with just the manager app. This way one of the developers is sure to look at it. Charlie -Original Message- From: Jean-Luc

RE: Manager options...

2002-02-20 Thread Ricky Leung
look at the web.xml file under $CATALINA_HOME/conf, there's a sample web.xml file there that explains how to setup timeouts in your webapp. Just copy and paste into your webapp's web.xml. Remember the tag ordering is crucial in xml. -Original Message- From: [EMAIL PROTECTED]

RE: Please Somebody help me

2002-02-20 Thread BBui
Have you tried this? Host name=yoursite url Context path= docBase=webapps/your tomcat virtual folder / Context path=/examples

RE: How to access a remote file?

2002-02-20 Thread KC Berg
Your instance of tomcat needs to run as a user that has permissions to access that network drive. In typical cases you want to create a windows domain user for tomcat and let your server to run as that user. This will allow you to configure permissions for that instance of tomcat. There are other

RE: session timeout

2002-02-20 Thread Ricky Leung
look at the web.xml file under $CATALINA_HOME/conf, there's a sample web.xml file there that explains how to setup timeouts in your webapp. Just copy and paste into your webapp's web.xml. Remember the tag ordering is crucial in xml. -Original Message- From: Jagan [mailto:[EMAIL

RE: Manager options...

2002-02-20 Thread Ricky Leung
sorry, post the answer to the wrong thread. -Original Message- From: Ricky Leung [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 10:51 AM To: Tomcat Users List Subject: RE: Manager options... look at the web.xml file under $CATALINA_HOME/conf, there's a sample web.xml

RE: Manager options...

2002-02-20 Thread Ricky Leung
http://jakarta.apache.org/site/bugs.html for bug entering info -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jean-Luc BEAUDET Sent: Wednesday, February 20, 2002 10:50 AM To: Tomcat Users List Subject: Re: Manager options... Cox, Charlie a écrit :

Form based login not redirected

2002-02-20 Thread EDV Systembetrieb
Hi everybody, I think, I have the same problem Anil Paul described on 06 Feb. 2002. I have a servlet for FileUpload. Authentication is made by form based login (on TC 3.3 and Apache) Everythink works fine until the users has entered his Logininformations. The Logfiles show, that he is

Re: Configuring Tomcat/apache service with mod_jk

2002-02-20 Thread Dieter Lunn
It can't find your worker.properties file where you said it will be. On February 20, 2002 08:57 am, you wrote: I've been trying Tomcat/Apache with mod_webapp and now I'd like to compare with mod_jk I'm using a RedHat 7.1 with these RPM's: apache-1.3.22-1.7.1 (with mod_throttle-3.1.2-3

Re: Manager options...

2002-02-20 Thread Jean-Luc BEAUDET
Thank yu for the answer, john. I verified again and again, but... John Wadkin a écrit : Works fine on my Solaris 8, TC 4.0.1, Apache 1.3 system. I'm actually runnin' SOLARIS _ TC 4.0.2/Warp 1.0.2 Apache 1.3.22 full dso httpd.conf: WebAppConnection warpConnection warp servername:8008

Re: I'll nearly gave up!!!

2002-02-20 Thread chad kellerman
Let me see your Virtual Hosts section in the httpd.conf file. There might be something funky there. chad On Wed, 20 Feb 2002 11:15:20 -0500 Frank [EMAIL PROTECTED] wrote: Hey thanks. This helped me tweak my setup and get rid of the badhostname error. This works, but only locally. The

Re: classes visibility in the WEB-INF dir

2002-02-20 Thread Amine AMAR
Hi, Sorry for misleading you. my directories are kitabe and com. The pb comes from the kitabe directory. the 'dir' was just for the exemple. here after the whole log file - 2002-02-20 15:56:15 WebappLoader[/ketabe]: Deploying class repositories to work

For Test only

2002-02-20 Thread Jean-Luc BEAUDET
Don't pay attention. Test only message. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Tomcat initiates new session when linking to different webapp

2002-02-20 Thread christian_weiler
Hi! I tried to link from a jsp1 of webapp1 to a jsp2 of webapp2. In jsp2 I tried to access session attributes which are set in jsp1 - but the attributes were gone! If I try the same within one webapp everything works fine! Q: Is it possible to configure Tomcat V3.2.3 so that the session-object

Multiple Tomcat-servers on a single machine

2002-02-20 Thread Anders Gunnare
Hello World, How shall I do if I would like to have multiple Tomcat-servers on a single machine? I have tried to read the doc, but I can't understand how I practically shall do the work... For example, 5 different UNIX-users shall have 5 different Tomcat-servers, one user=one Tomcat-server.

RE: Manager options...

2002-02-20 Thread John Wadkin
The only differences I can see are: You use Manger and /managerstuff whereas I use manager and /manager - could this have something to do with it? Not sure! You use localhost I use the actual server name - again, not sure if this has anything to do with it... You don't have a host in your

Re: Manager options...

2002-02-20 Thread Jean-Luc BEAUDET
John Wadkin a écrit : The only differences I can see are: You use Manger and /managerstuff whereas I use manager and /manager - could this have something to do with it? Not sure! You use localhost I use the actual server name - again, not sure if this has anything to do with it... You

RE: Manager options...

2002-02-20 Thread John Wadkin
Attached my server.xml - there a couple of contexts including manager. All are declared within the host tag. I've just used manager now to restart a context - worked fine. It's definitely using the Warp connector! I can't think of anything else other than the web.xml for manager - is it there and

RE: Tomcat initiates new session when linking to different webapp

2002-02-20 Thread KC Berg
I think you should look at the tomcat help that talks about cross context. The documentation describes how this is done. I think in your server.xml you can set a parameter in your context tag, which represents your web app, to give it cross context this should maintain the session across all apps

RE: Tomcat in an academic development enviroment

2002-02-20 Thread Zoko, Anthony
Thanks for all the suggestions! One of the considerations in keeping a central development server vs. having students work on lab machines is that we have a sizable distance learning population and supporting all these students with setting up servers on their home machines would be a nightmare.

Re: Multiple Tomcat-servers on a single machine

2002-02-20 Thread Dan Lipofsky
We do this where I work. The only thing you need to do is modify the server.xml file so that each server is listening on different ports. Look for the Connector ../Connector entries. There is the basic HTTP socket, the HTTPS socket (which you can just leave commented out if you don't need

RE: Multiple Tomcat-servers on a single machine

2002-02-20 Thread Ion Larranaga
I think that you have two possibilities to do what you want: - You could set up one instance of Tomcat with X different contexts, so that each user has his own. Servlets from different users would have different physical directories, so each user would have a different working directory.

RE: Manager options...

2002-02-20 Thread Ricky Leung
I think name=Apache in Engine has to be the same as what ServerName is defined in http.conf in apache. -Original Message- From: John Wadkin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 12:13 PM To: 'Tomcat Users List' Subject: RE: Manager options... Attached my

RE: reloading classes - rephrase

2002-02-20 Thread tamir
Hi again, I still have some questions about the reloading classes mechanizem... I checked tomcat 3.3.1-b1, for a few days, and I still couldn't make my mind clear about when classes are refreshed and when not. When I compiled classes to web-inf/classes, they were refreshed all the time!!!.

Tomcat directories not indexing

2002-02-20 Thread Ramón Prades
Hello I'm running Apache 1.3.20 and Tomcat 4.0.1 on a Unix box (AIX 4.3.3). Both seem to be working fine, execept for a minor problem: When I connect to http://ip_address:8080/ instead of getting Tomcat's homepage I get http://localhost/index.html, and so I see my homemage on my PC. Now, when

Context JSP

2002-02-20 Thread Liming Xu
Hi all, I'm using tomcat 4.0, and I have setup a context /test under server.xml I have two file, blank.html and blank.jsp under /test. Both file are blank html files. but the problem is if I access http://localhost:8080/test/blank.jsp , it tells me message Servlet jsp is currently

RE: Multiple Tomcat-servers on a single machine

2002-02-20 Thread Charles N. Harvey III
I have a question relating to this... We run around 6 sites each of which has a www and a java directory. We will be moving everything to tomcat very soon. The web servers I will have seperately from the tomcat servers with the ajp (mod_jk) connector connecting the machines. Apache has virtual

RE: Manager options...

2002-02-20 Thread John Wadkin
Oh boy :) You must have missed the great debate thread on engines, hosts and name. It was debated as to whether an engine needs a host. I set the defaulthost attribute and specified a host. Is this necessary? The doc's aren't clear. The default server.xml has a confusing comment about setting

RE: classes visibility in the WEB-INF dir

2002-02-20 Thread Larry Isaacs
Are all kitabe classes located in your /ketabe/WEB-INF/classes directory? Also, to you know what the link is between what kitabe.dal.home.AuthorHome.findByName() is doing around line 60 and kitabe.SearchUtilities? Cheers, Larry -Original Message- From: Amine AMAR [mailto:[EMAIL

RE: Manager options...

2002-02-20 Thread Ricky Leung
yeah, I did miss it, hope I am not restarting it. -Original Message- From: John Wadkin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 12:46 PM To: 'Tomcat Users List' Subject: RE: Manager options... Oh boy :) You must have missed the great debate thread on engines, hosts

RE: Context JSP More Info

2002-02-20 Thread Liming Xu
I just turned out the log file and I found Wrapper cannot find servlet class org.apache.jasper.servlet.JspServlet or a class it depends on at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:807) at

RE: reloading classes - rephrase

2002-02-20 Thread Larry Isaacs
Does override an existing jar refer to replacing a jar with a newer version of the jar or adding a class in WEB-INF/classes to override the class in a jar? The first should work. Adding a new class won't work because the DependClassLoader only checks for out of date against the file, jar or

Re: Manager options...

2002-02-20 Thread Jean-Luc BEAUDET
Ricky Leung a écrit : yeah, I did miss it, hope I am not restarting it. Well, well. I did missed it too. But... Unfortunately i'm still stuck. Just to say, i'm only needin' the Tomcay-Apache part of the conf, and all seems well in my config, exept the host declaration in This Engine...

Re: Manager options...

2002-02-20 Thread Jean-Luc BEAUDET
John Wadkin a écrit : Attached my server.xml - there a couple of contexts including manager. All are declared within the host tag. I've just used manager now to restart a context - worked fine. It's definitely using the Warp connector! I can't think of anything else other than the web.xml

Re: Manager options...

2002-02-20 Thread Jean-Luc BEAUDET
John Wadkin a écrit : Oh boy :) You must have missed the great debate thread on engines, hosts and name. It was debated as to whether an engine needs a host. I set the defaulthost attribute and specified a host. Is this necessary? The doc's aren't clear. The default server.xml has a

Re: classes visibility in the WEB-INF dir

2002-02-20 Thread Amine AMAR
Hi, Yes, all kitabe classes are in /ketabe/WEB-INF/classes directory. Line 60 in kitabe.dal.home.AuthorHome.findByName() contain only a call for the constructor of kitabe.SearchUtilities (SearchUtilities su = new SearchUtilities();) Regards, Amine - Original Message - From: Larry

URGENT!!!! encodeURL()

2002-02-20 Thread Emerson
Please, these is really urgent... How do I encode a URL without HttpServletResponse at hand??? I need to read a URL from a service, but i have to encode it, changing spaces to %20, how do i do it??? have anyone done that Please, I really have to end this by today Emerson Cargnin

RE: URGENT!!!! encodeURL()

2002-02-20 Thread Randy Layman
java.net.URLEncoder/java.net.URLDecoder -Original Message- From: Emerson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 1:44 PM To: Tomcat Users List Subject: URGENT encodeURL() Please, these is really urgent... How do I encode a URL without

Re: TC URGENT!!!! encodeURL()

2002-02-20 Thread Kirby Vandivort
are you wanting something other than URLEncoder.encode() ? On Wed, Feb 20, 2002 at 03:43:43PM -0300, Emerson wrote: Please, these is really urgent... How do I encode a URL without HttpServletResponse at hand??? I need to read a URL from a service, but i have to encode it, changing spaces

Re: TC URGENT!!!! encodeURL()

2002-02-20 Thread Emerson
thank you very much : ))) how easy it was : ) At 12:39 20/2/2002 -0600, you wrote: are you wanting something other than URLEncoder.encode() ? On Wed, Feb 20, 2002 at 03:43:43PM -0300, Emerson wrote: Please, these is really urgent... How do I encode a URL without HttpServletResponse at

one more question on server.xml Host section

2002-02-20 Thread chad kellerman
I almost got it. I think. I am using apache 1.3 webapp and tomcat 4. My virtaul host sectionis configured like this: VirtualHost jakarta.gotc.net User jak Group jakartagrp ServerName jakarta.gotc.net ServerAdmin [EMAIL PROTECTED] DocumentRoot /home/jak/jakarta-www TransferLog

Mapping a servlet to respond to /??????????

2002-02-20 Thread Donie Kelly
Hi I want you map a servlet to some URL that contains an ID which is 10 digits. If nothing is specified then I want index.jsp to load. eg: servlet-mapping servlet-namemyservlet/servlet-name url-pattern/??/url-pattern /servlet-mapping

RE: Mapping a servlet to respond to /??????????

2002-02-20 Thread Luke Studley
I think if you read the Spec you can only use 2 sorts of patterns: *.xxx xxx/x/xx* I.e prefix or postfix. These are not regular expressions. I might be wrong - look at the servlet spec. Luke -Original Message- From: Donie Kelly [mailto:[EMAIL PROTECTED]] Sent: 20 February 2002

RE: classes visibility in the WEB-INF dir

2002-02-20 Thread Larry Isaacs
Do you know if any bean or servlet in the ketabe web application successfully loads kitabe.SearchUtilities. If you are not sure, you could try: % kitabe.SearchUtilities su = new kitabe.SearchUtilities() % on a test JSP page in ketabe and see if it compiles. Cheers, Larry -Original

Re: Starting Tomcat 4.0.2 with Apache 1.3.23 using J2SDK 1.3.1

2002-02-20 Thread Dieter Lunn
I still haven't solved my little dilemma On February 19, 2002 03:04 pm, you wrote: I am having trouble starting Tomcat. I run the startup.sh script and it displays the vars but when I try and connect it isn't running. I can get it started by running catalina.sh debug but I don't want to run

Re: Starting Tomcat 4.0.2 with Apache 1.3.23 using J2SDK 1.3.1

2002-02-20 Thread chad kellerman
I can offer a little help. What os are you running? If you are on a unix ( which it looks like) variation run ps -ef | grep java. If it reurns something your are running. If not there is something else wrong. Send in the output of the startup.sh Did k the logs? I think cataline.out will

  1   2   >