which is the best linux dist. for tomcat?

2002-09-20 Thread Patricio Vera S.
Hello again, I have installed Tomcat on Red Hat Linux but my security area says the best linux distribution is Debian, I don't know Debian, but thinking in the best execution of Tomcat, which is the best? Other data : . I run servlets and JSP over Apache HTTP. Saludos,

Connecting WebDAV with a database

2002-09-20 Thread Carsten Tham
Hi, i'm currently searching for a way to modify the standard WebDAV-Servlet to map DB-Entries into a webdav-filesystem. The default webdav-servlet seems to use the FileDirContext-class to map the servers filesystem (the webapps/webdav-directory) into the webdav-filesystem. I think it should

Re: web.xml and manager application

2002-09-20 Thread info
Hi, I cannot install the Webapp with the manager app since it is not a .war. Do you know if there is a way? If I only try: http://localhost:8080/manager/install?path=/myApp I am getting a FAIL - Invalid application URL null was specified message. thanks, Rainer Hi, I had this on 4.0.4.

Re: Directory Listing

2002-09-20 Thread Dan Lipofsky
In server.xml set suppress=true for StaticInterceptor like below RequestInterceptor className=org.apache.tomcat.request.StaticInterceptor debug=0 suppress=true / - Dan How do I avoid listing the directory files when users type the url in tomcat 3.2.4? Thanks -- To unsubscribe,

RE: which is the best linux dist. for tomcat?

2002-09-20 Thread Turner, John
best is relative, and no Linux distribution is any more secure out of the box than any other. Since Tomcat is written in Java, which operating system you choose is up to you...each one is better or worse than another depending on what you want to do. From the Debian FAQ, on why you should

adding jar file

2002-09-20 Thread Atif Shahab
Hi, I'm trying to add orielly's servelet jar to tomcat. On tomcat3.3 I have in in $TOMCAT/lib/common. Now that I want to migrate over to tomcat4 I'm having trouble getting the jar file to work. I've copied the file in $CATALINA/shared/lib $CATALINA/common/lib WEB-INF/lib of the application

RE: Dumb Question com.justatest.test.MyServlet error

2002-09-20 Thread Oakes, Jeff (HTSC, IT)
I also get resource unavailable when I try something very similar: All I want to do is verify that I can register a servlet. Here's what I did: I added a subdirectory under webapps, called solitaire. I added the following context entry to server.xml: !-- Solitaire registration for home

Re: Directory Listing

2002-09-20 Thread Ravindra K. Bhat
Hi Dan, Thanks. How do I avoid lisitng the directories via apache. I am still able to view the directory lisitng if I use apache access to get in.. thanks Ravi On Fri, 20 Sep 2002, Dan Lipofsky wrote: In server.xml set suppress=true for StaticInterceptor like below RequestInterceptor

Re: web.xml and manager application

2002-09-20 Thread William Wragg
Hi, If the webapp is just in a directory _not_ packaged as a .war file then use: http://localhost:8080/manager/install?path=/myAppwar=file:/path/to/myApp If the webapp is packaged as a .war file use: http://localhost:8080/manager/install?path=/myAppwar=jar:/path/to/myApp.war!/ Hope this helps,

can javascript execute a servlet?

2002-09-20 Thread richdiaz99
i don't want the user's screen to REFRESH each time they click a servlet inside an A tag. Can Javascript execute a servlet? thanks! Rich -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Directory Listing

2002-09-20 Thread Matt Raible
Can you use this on Tomcat 4.0.1+? If so, where do you put it in server.xml? Thanks, Matt -Original Message- From: Dan Lipofsky [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 10:16 AM To: Tomcat Users List Subject: Re: Directory Listing In server.xml set

tomcat start up errors

2002-09-20 Thread Kathleen Flores
Hi All, When I startup tomcat, I receive the following error multiple times...until what seems to be within 3 hours, tomcat stops running. Hence, I need to restart tomcat every 3 hours - what a pai! =) Does anyone know what these error messages mean and how I can prevent this from happening ?

RE: Directory Listing for 4.0.1

2002-09-20 Thread Ravindra K. Bhat
In the web xml file under $CATALINA_HOME/conf change the default servlet settings to: servlet servlet-namedefault/servlet-name servlet-classorg.apache.catalina.servlets.DefaultServlet/servlet-class init-param param-namedebug/param-name param-value0/param-value /init-param init-param

encoding problem

2002-09-20 Thread Nikola Stefanovski
hello. i'm working with cyrillic characters and i can't get them to show ok. i'm working on win2000 and i've tried tomcat versions 3.2.3, 3.3a and 4.0.1. the page directive is specified as: %@ page contentType=text/html; charset=windows-1251 pageEncoding=windows-1251% this makes the static

Jasper Bug, or just a rule I wasn't aware of?

2002-09-20 Thread Jeff
Is there an official rule against creating a BodyTag-implementing class like the following example, or did I just find a bug in Jasper/Tomcat/elsewhere? !-- the tld specifies that result is a mandatory attribute of type String, and the meltdown tag's handler class is MeltdownTag --

Re: Tomcat 4.1.10 don't compile jsp under w2k

2002-09-20 Thread Remy Maucherat
Patricio Vera S. wrote: Hello, I'm trying to setup tomcat 4.1.x on my w2k, but I have problem when call to jsp page, it seems like the path separator is not valid because in the log I have the next entry : 2002-09-20 11:47:27 Error compiling file:

Stuck with embedded tomcat

2002-09-20 Thread Chris Halverson
Everything seems to initialize just fine but when I try to access something as simple as an index.html file I get nothing. My WEB-INF/web.xml files are fine. There were previous posts but no resolution posted. Chris Weaver did you ever figure out why things didn't work? Chris Halverson JDK

RE: installing and running tomcat 4.1 on linux

2002-09-20 Thread Yaogeng Cheng
Hi, John: I tried your howto instructions, and it seems a very good instruction. I installed tomcat4.0.4 without installing apache1.3.26. I tried http://MyServer:8080/examples, the page comes up. However, most jsp Executables (Numberguess, Date, Snoop ) does not work. All the servlets work

RE: tomcat start up errors

2002-09-20 Thread Sexton, George
In order for you to get the help you would really like, it would be helpful if you could read this article and repost your question. http://www.tuxedo.org/~esr/faqs/smart-questions.html George Sexton MH Software, Inc. Voice: 303 438 9585 http://www.mhsoftware.com -Original Message-

Re: AW: How can I achieve thread safe for context attributes?

2002-09-20 Thread Vernon Wu
Thanks Ralph for the solutation. I, however, wonder whether the server will be slow down a lot after the servlet context is synchronized for the operation. The context is the center object in the servlet. 9/20/2002 12:17:09 AM, Ralph Einfeldt [EMAIL PROTECTED] wrote: synchronized (cxt) {

Re: mod_jk2, virtual hosts, JkUriSet

2002-09-20 Thread Dom
Hi I'm using JkUriSet statements as in http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg66171.html with my RH7.3, j2sdk1.4.1 fcs, Apache 2.0.40 and TC 4.1.10 with virtual hosts and they works fine. By the way, is there a way to compile mod_jk2 for Apache 1.3.26 ? The make builds

RE: tomcat start up errors

2002-09-20 Thread Kathleen Flores
Okay, so to append to my original email - my system environment is... tomcat v3.2.3 and apache v.1.3.26 both running on one server - a sun box with solaris 9 os. I hope that's better...sorry! Best Regards, Kat ERG Group -- The contents

RE: mod_jk2, virtual hosts, JkUriSet

2002-09-20 Thread Turner, John
There's a mod_jk2.so on my website for Apache 1.3.26: http://www.johnturner.com/howto I haven't had a chance to test it, so caveat emptor. John -Original Message- From: Dom [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 1:35 PM To: Tomcat Users List Subject: Re:

Re: Directory Listing

2002-09-20 Thread rsequeira
See the Directory element in httpd.conf. The Indexes option dictates whether or not the directory is listed. To suppress directory listings, Declare a Directory element for that folder in httpd.conf. Don't add the Indexes option. RS

RE: installing and running tomcat 4.1 on linux

2002-09-20 Thread Turner, John
most JSPs do not work? Some work and some don't? John -Original Message- From: Yaogeng Cheng [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 1:22 PM To: 'Tomcat Users List' Subject: RE: installing and running tomcat 4.1 on linux Hi, John: I tried your howto

Re: Re[2]: Context path

2002-09-20 Thread rsequeira
Since the request object isn't available in the init(), adding an init param with the context name would help. RS Andreas Probst

Re: web.xml and manager application

2002-09-20 Thread info
Hi, If the webapp is just in a directory _not_ packaged as a .war file then use: http://localhost:8080/manager/install?path=/myAppwar=file:/path/to/myApp thanks for your answere. Well it is not working with me I am getting an error: FAIL - Encountered exception

RE: installing and running tomcat 4.1 on linux

2002-09-20 Thread Yaogeng Cheng
I should have said that no jsp works. However, some executalbes such like ErrorPage will call a html first, so it work, but when I click submit, it throws the same error message. Thanks Yaogeng -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Friday, September

RE: installing and running tomcat 4.1 on linux

2002-09-20 Thread Turner, John
Something has to be messed up. Installing Tomcat stand-alone is a simple 5 step process: - download Tomcat - unpack Tomcat - set CATALINA_HOME - start Tomcat - verify examples You installed the JDK? You have JAVA_HOME set? Did you use an RPM or the binary install? Did you build from

Re: mod_jk2, virtual hosts, JkUriSet

2002-09-20 Thread Dom
Hi John Your website shows mod_jk2.so for Apache 1.3.26, TC 4.1.10 and RH 7.2, but not RH 7.3 ! Dom - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Friday, September 20, 2002 7:37 PM Subject: RE: mod_jk2, virtual hosts, JkUriSet

RE: installing and running tomcat 4.1 on linux

2002-09-20 Thread Yaogeng Cheng
I have JDK1.3.1 installed. I used binary install just as your instruction outlined. In catalina.sh, I include the following lines. export PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/jdk1.3.1/bin export JAVA_HOME=/usr/jdk1.3.1 export CATALINA_HOME=/usr/local/jakarta-tomcat-4.0.4 My

RE: installing and running tomcat 4.1 on linux

2002-09-20 Thread Turner, John
Sorry, I don't have an answer. I don't modify catalina.sh...my guess is something is not being found correctly. I set JAVA_HOME and CATALINA_HOME in /etc/profile. John -Original Message- From: Yaogeng Cheng [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 2:09 PM To:

RE: mod_jk2, virtual hosts, JkUriSet

2002-09-20 Thread Turner, John
I highly doubt it makes any difference. Isn't it worth downloading and trying it? If it works, let me (us) know. John -Original Message- From: Dom [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 2:08 PM To: Tomcat Users List Subject: Re: mod_jk2, virtual hosts,

RE: installing and running tomcat 4.1 on linux

2002-09-20 Thread Yaogeng Cheng
Thanks, John. I will look around and see if I can figure it out. I will let you know if work it out. Yaogeng -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 11:13 AM To: 'Tomcat Users List' Subject: RE: installing and running tomcat 4.1

RE: Tomcat 4.1.10 don't compile jsp under w2k

2002-09-20 Thread Adam Greene
Make sure that you have a copy of the tools.jar in the [TOMCAT]\common\lib, where [TOMCAT] is your tomcat install directory. (In the classpath might work as well). That is what solved it for me. -Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED]] Sent: Friday, September

SSL question - from an apache guy

2002-09-20 Thread neal
I have an apache guru here trying to help me set up SSL on Tomcat. He has the following questions I was hoping someone could help us with: How do we define our certificate? How does tomcate know how to call the certificate? Does it use a keystore file or does use an atrribute (aka cert=), or

RE: SSL question - from an apache guy

2002-09-20 Thread Turner, John
Tomcat SSL HOWTO: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/ssl-howto.html In general, you use the keytool utility. John -Original Message- From: neal [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 2:24 PM To: Tomcat Users List Subject: SSL question - from an

Identical configs on two machines - yet one won't run my servlet

2002-09-20 Thread Brett . REASOR
I have two machines, one Windows 2000 Server, and one Windows 2000 Pro. The server has Tomcat 3.3.1 using the jk module with Apache 2.0.40. I need to upgrade to Tomcat 4.1.10 So I installed Tomcat Apache on a windows 2000 box and made sure everything worked. I installed Tomcat 4.1 on the

THX unusual problem after installing mod_jk.so ???

2002-09-20 Thread achana
OK Bounced Linux, went out for lunch, came back... Works now... No doubt I will be back on this forum, but THX yet again... -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: tomcat start up errors

2002-09-20 Thread Sexton, George
Ahh, but you didn't say what JVM... Seriously, the more complete the initial message is the more likely you are to get a quick, accurate answer. It looks to me like these errors are coming from mod_jk trying to connect to Tomcat, so they appear to be a symptom of another problem. Is the Java

Re: Tomcat 4.1.10 don't compile jsp under w2k

2002-09-20 Thread Patricio Vera S.
Wows! it's works! thanks. Saludos, Patricio Vera S. - Original Message - From: Adam Greene [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, September 20, 2002 2:21 PM Subject: RE: Tomcat 4.1.10 don't compile jsp under w2k Make sure that you have a copy of

404 not found error

2002-09-20 Thread Terri Sterr
I am running tomcat 4.1.10, apache 1.3.26 on aix 433. I believe I have successfully compiled the 4.1.10 connector, mod_jk.so, but I'm having the following problem. http://localhost:8080/examples works just fine. http://localhost/examples works just fine.

Re: Re[2]: Dumb Question ../servlet/com.justatest.test.MyServleterror

2002-09-20 Thread john-paul delaney
Thanks for confirming that Jacob... I was beginning to doubt that I had understood the web app. deployment strategy. Nevertheless, an internal server error is returned when I use the url you suggested: Cannot allocate servlet instance for path /jat/servlet/com.justatest.test.InitSnoop. And

RE: can javascript execute a servlet?

2002-09-20 Thread adi
Hello, javascript can execute aservlet. You need to call the servlet url and get the data back into a javscript object. This is an example how i did it with IE: script language=javascript dnld=document.getElementById('linesintable'); dnld.startDownload(servlet_url,getdata); function

RE: SSL question - from an apache guy

2002-09-20 Thread neal
I was just reading through the documentation again myself looking for disconnects between what the manual says and what we're experiencing. It seems that the file being generated by keytool is of the format name.keystore and my friend is copying that over to .keystore. I'm thinking maybe this

Re: Jasper Bug, or just a rule I wasn't aware of?

2002-09-20 Thread Craig R. McClanahan
On Fri, 20 Sep 2002, Jeff wrote: Date: Fri, 20 Sep 2002 13:01:50 -0400 From: Jeff [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Jasper Bug, or just a rule I wasn't aware of? Is there an official rule against creating a

RE: Re[2]: Dumb Question ../servlet/com.justatest.test.MyServlet error

2002-09-20 Thread Anand Sharma
John: Are you saying that your directory structure (where the servlet .class file resides) looks like the following: TOMCAT_HOME/webapps/your-app-name/WEB-INF/classes/com/justatest/test /InitSnoop.class If so, then I will be surprised. If you've something like

RE: 404 not found error

2002-09-20 Thread Turner, John
Looks like your mapping (JkMount) for /examples is fine, but the mapping for /servlets is not. Here's the /examples section from my httpd.conf, for Tomcat 4.1.10, mod_jk, and Apache 2.0.40 (1.3.26 shouldn't be any different): # Static files Alias /examples /usr/local/tomcat/webapps/examples

RE: SSL question - from an apache guy

2002-09-20 Thread Turner, John
Sorry, a pointer to the HOWTO is all I'm good for, I don't use Tomcat stand-alone, so my SSL is done with Apache. When you say copying that over, what do you mean? Over to where? John -Original Message- From: neal [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 2:53 PM

RE: mod_jk2, virtual hosts, JkUriSet

2002-09-20 Thread Dmitry Letin
Hi Dom, did you actually put this verbatim into httpd.conf: JkUriSet worker ajp13? Do you try to connect to the same tomcat from different virtual hosts or each virtual host connects to a separate tomcat instance? Dmitry -Original Message- From: Dom [mailto:[EMAIL PROTECTED]] Sent:

RE: SSL question - from an apache guy

2002-09-20 Thread neal
Apparently the keystore file wasn't at the root of the user directory like the SLL instructions said it would be (it was also named keystore.name rather than .keystore unlike the direction said it would be). So, we renamed it name.keystore and moved it to the root user directory to be

mod_jk2, virtual hosts, JkUriSet directive

2002-09-20 Thread Dmitry Letin
Hi, Has anybody managed to successfully connect apache virtual hosts to different instances of tomcat using mod_jk2? I spent several days looking at all available documentation, mail archives and a bit of source code but could not make a working solution. I have no problem of connecting to a

RE: How to block listings on a SPECIFIC directory

2002-09-20 Thread adi
Thanks for that one. Just one more question: I assume there is some kind of overhead doing this all the requests will be streamed through the filter etc. It a serious problem? Adi -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 19, 2002 2:10 PM To:

RE: SSL question - from an apache guy

2002-09-20 Thread neal
Actually, sorry ... just spoke with my friend ... apparently he told keytool to put the file in his present working directory. Then we just moved it to root. My bad ... -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 12:03 PM To:

Setup a context for Tomcat 4.0.3

2002-09-20 Thread Chiming Huang
Hi, I would like to put my webapp out side of ~\tomcat\webapps directory. I know I need to setup a context in the ~\tomcat\conf\server.xml to point to my webapp directory. And it is working fine. Base on the environment stated above, my question is: Is there a way to configure Tomcat so

Need Help With TOMCAT.

2002-09-20 Thread Avinash Singh
Dear Team Tomcat, My Name is Avinash Singh, I a Java Developer and current developing a web application for a small organization. This web application will be used by 10-15 users, may be 2-5 concurrent users. I am in the process of installing and configuring the TOMCAT 4.1.10. I need your

TC 404 Servlet Registration?

2002-09-20 Thread Oakes, Jeff (HTSC, IT)
I can run the examples fine. But when I make my own test case I can run the html, but keep getting the message xxx not available, where xxx is the servlet reference to my servlet. It is in web.xml, and the class file is located in WebApps/MyHome/WEB-INF/classes . Any suggestions, or location

Incorrect on display Traditional Chinese in JSP

2002-09-20 Thread Daniel
Hi, I have problem with Tomcat 4.1.10, there is incorrect display Traditional Chinese in my IE. The output would be ??? when I want to use internationalization Although I have insert page contentType=text/html; charset=big5, the problem still the same ! Thank you for your time,

Problem with url patterns II

2002-09-20 Thread adi
Hello, I encountered a very strange problem with servlet mappings. I have the following entry in my web.xml file : servlet servlet-nameMyDefaultServlet/servlet-name servlet-classorg.apache.catalina.servlets.DefaultServlet/servlet-class init-param param-namedebug/param-name

Re: mod_jk2, virtual hosts, JkUriSet

2002-09-20 Thread Matt Sales
Hello all, I'm having the same problem, and I've been banging my head against it on and off for about a week with no more success than anyone else... Essentially, we're all trying to map the root of different virtual hosts to a different context within tomcat, right? I started looking elsewhere

RE: Re[2]: Dumb Question ../servlet/com.justatest.test.MyServleterror

2002-09-20 Thread john-paul delaney
Are you saying that your directory structure (where the servlet .class file resides) looks like the following: TOMCAT_HOME/webapps/your-app-name/WEB-INF/classes/com/justatest/test /InitSnoop.class Yes. Firstly, I needed to know if I was reading the docs correctly - it works for

RE: Setup a context for Tomcat 4.0.3

2002-09-20 Thread Turner, John
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/host.html Check the section marked Automatic Application Deployment. Not sure how well it works on 4.0.3. John -Original Message- From: Chiming Huang [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 19, 2002 4:20 PM To:

Re: Setup a context for Tomcat 4.0.3

2002-09-20 Thread rsequeira
You could update the appBase attribute to point to a different directory than webapps. Or you could specify the absolute path in the docBase attribute of the Context element to override the appBase. This way you could have a context outside of webapps. Also read up on auto-deploying of web

RE: Dumb Question com.justatest.test.MyServlet error

2002-09-20 Thread john-paul delaney
Thanks Andreas... at first I didn't want to use any web.xml entries as this was just a test directory to run the examples of the oreilly book. I just wanted to compile the examples and run them without messing with web.xml. Nevertheless, I took your advice but I get the same server exceptions

RE: Need Help With TOMCAT.

2002-09-20 Thread Turner, John
Comments inline -Original Message- From: Avinash Singh [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 19, 2002 5:21 PM To: [EMAIL PROTECTED] Subject: Need Help With TOMCAT. I need your help with following :- # 1 I have downloaded jakarta-tomcat-4.1.10.exe, I wanted

RE: tomcat start up errors

2002-09-20 Thread Kathleen Flores
Thank you for your reply... When this happens, the java process is not running tomcat. And I just verified that the only connector in server.xml is the AJPconnector. Thanks again, Kat

mod_jk or mod_jk2 or mod_webapp for virtual hosts on tomcat.

2002-09-20 Thread Eugene Gluzberg
Hi, I am planning to link VirtualHosts under apache 1.3 to different tomcat servers (all tomcat 4.1.10) runnning on different machines. I am planning to link vhost1 to tomcat1, and vhost2 to tomcat2, etc... Should I user mod_jk2, or mod_jk or mod_webapp for this? which is better, and easier

Cache problem

2002-09-20 Thread Max
Hi i think i have a newbee problem ... i use Tomcat 4.1.10, Apache 2 and mod_jk2 my browser put jsp file in its cache ... a simple file test.jsp wich contains only : %= new java.util.Date() %br a href=test.jspretry/a every retry give the same date ... what the mistake ? tks

RE: mod_jk2, virtual hosts, JkUriSet

2002-09-20 Thread Dmitry Letin
Yes, I guess it'll work to use mod_rewrite to map to different contexts in tomcat, but it will be limited only to a single tomcat or to a cluster of tomcat instances with exactly the same distributable webapps installed on each tomcat in the cluster. I wonder what developers of jk2 think about

SSL - error!

2002-09-20 Thread neal
I am getting this error: java.io.IOException: keystore was tampered with, or password was incorrect Does anyone know what this is about? I searched on Deja (aka Google groups) and found a thread suggesting it may be a password issues, that Tomcat will only with with a passcode of changeit.

Re: Incorrect on display Traditional Chinese in JSP

2002-09-20 Thread Vernon Wu
With %@ page contentType='text/html; charset=UTF-8' %, Chinese character can be displayed in my jsp files. 9/20/2002 2:14:04 AM, Daniel [EMAIL PROTECTED] wrote: -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

tomcat 4 and sessions - clear as mud

2002-09-20 Thread Jason . D . Karney
Hi all, I am struggling to understand how Tomcat 4 creates and invalidates sessions. In the app I'm writing, I used to use a straightforward method of inserting a String into the session when the user was logged in, and removing it when the user logged out. This was only a work-around for the

Re: SSL - error!

2002-09-20 Thread Mehmet Birgi
If the password is not changeit, you have to define it explicitly in the server.xml file. Also, the keystore password *must* be the same as the password for the certificate in the keystore. - Original Message - From: neal [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent:

jboss-tomcat and apache integration.

2002-09-20 Thread Nani Jon
Hello: I have the jboss-3.0.0_tomcat-4.0.3 bundle which I am trying to integrate with apache2, the latest version. I followed all the steps based on one of the HOWTOs. I have placed the mod_jk2.dll in the /conf directory of apache. I have created a workers2.properties file with the following

Re: mod_jk2, virtual hosts, JkUriSet

2002-09-20 Thread Dom
I've downloaded and tried it using SuperSnoop.jsp in one of my virtual host Funny result : see the attached html doc With Apache 2.0.40 my compiled mod_jk2.so, the result was ok Dom - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED]

RE: SSL - error!

2002-09-20 Thread neal
We have done the following to out connector: keystorePass=password keystoreFile=the location of out keystore.name and we are getting the following error: java.io.IOException: java.io.IOException: keystore was tampered with, or password was incorrect. Does anyone know a solution or know what's

Tomcat 4.1 Jasper error in Win2K

2002-09-20 Thread John M . Hollingsworth
I am running Windows 2000 with JDK 1.4.0_01 build b03 with J2EE 1.3.1 on the system. I recently tried to install Tomcat 4.1. I can now get the root web app to load, but when I go to any other web apps, I get back an HTTP 500 error. When I go to the work directory of the app (I've been

RE: Apache2 and Tomcat4 on different boxes

2002-09-20 Thread Raj Mettai
Hi, Atlast, It's working, Apache is talking to remote tomcat on a different machine. The problem was on tomcat configuration,I had defaultHost defined as localhost on Engine tag and actual hostName on Host tag, Once I have changed the defaultHost on Engine tag to actual DNS name, every thing

RE: SSL different in 3.3 v 4.1?

2002-09-20 Thread neal
I am trying to get SSL to work in v 4.1 ... no luck so far. BUT I ran across someone having the same error working with 3.3 and he posted a corrected server.xml connector example. In it, his connector's class name is: org.apache.tomcat.service.PoolTcpConnector but in the 4.0 example

Re: mod_jk2, virtual hosts, JkUriSet

2002-09-20 Thread Dom
Same tomcat from different virtual hosts in same Apache httpd.conf : VirtualHost ixemel.net ... Location /examples JkUriSet worker ajp13 /Location /VirtualHost I also tried : workers2.properties : [lb:lb] info=Default load balancer. debug=0 # Example socket channel,

SSL: keystore.name

2002-09-20 Thread neal
The file generated from keytool was keystore.name ... not *.keystore. Could this be the reason we are getting the follwing error: java.io.IOException: keystore was tampered with, or password was If so, why did this happen and what is the solution? Thanks. Neal -- To unsubscribe,

4.1.10: Equivalent to load-on-startup

2002-09-20 Thread Gavin, Rick
Hi All, I have a servlet that reads in a property file and stores properties in a static class. I want the servlet called when the webapp starts.. web.xml - servlet servlet-nameSettings/servlet-name servlet-classSettingsServlet/servlet-class

404 Examples Resource Not FoundI

2002-09-20 Thread Frank
I Just installed Catalina 4.1.10 on my Max X Darwin Kernel out off the command line) and it seems to be operating correctly, except, I can not access my /examples/jsp/ or /examples/servlets/ directories. It I get a 404 error saying HTTP Status 404 - /examples/jsp/ type Status report

Re: mod_jk2, virtual hosts, JkUriSet

2002-09-20 Thread Dom
Sorry I had forgoten LoadModule jk2_module ... But once corrected, I've got [warn] Loaded DSO libexec/mod_jk2.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI) Create config for main host Syntax error on line 139 of

Re: mod_jk2, virtual hosts, JkUriSet

2002-09-20 Thread Dom
about httpd.conf : VirtualHost ixemel.net ... Location /examples JkUriSet worker ajp13 /Location /VirtualHost In my case, it is VirtualHost ixemel.net ... Location /examples JkUriSet worker ajp13:localhost:8009 /Location /VirtualHost - Original Message

RE: Apache2 and Tomcat4 on different boxes

2002-09-20 Thread Venkat Reddy Valluri
Hi Raj, you did Excellent job, can you pl explain me how you did, can you answer for following questions 1) I installed Apache 2.0.40 on Machine 'A' and built mod_jk.so module (./configure --with-apxs=/usr/local/apache2/bin/apxs --with-java-home=/usr/java/j2sdk1.4.0_01), It was

WebDav support -- what am I doing wrong?

2002-09-20 Thread Thomas T. Veldhouse
I am trying to setup webdav support for my webapp, but I am not succeeded, not even a little. I can not get tomcat to listen for WebDav requests and trying to access it from DreamWeaver has not worked. I have tried: http://host:8080/WebDAV/mywebapp/ No good. I have the following in that

Re: Apache2 and Tomcat4 on different boxes

2002-09-20 Thread achana
Hi All. Same here : got Apache2 and Tomcat404 collaborating thru mod_jk.20 today. The new web-server has Apache2 and the old app-server has Apache 1.3.16 ( I cannot change anything on the app-server), so I hope that won't throw mod_jk.so Also I am copying in the opposite direction to yours : from

IIS over SSL + Tomcat authentication problem

2002-09-20 Thread ikoziak
We have Tomcat 4.1.10 running behind IIS using ajp13 redirector. There are protected resources in the app., thus we use security-constraints in web.xml and FORM based authentication. Everything works well while IIS is configured in non-SSL mode (i.e. http://...) - the application sends back

RE: Apache2 and Tomcat4 on different boxes

2002-09-20 Thread Raj Mettai
Hi Venkat, Here it goes. Machine A (Apache), Machine B (tomcat) —- httpd.conf changes... —- Below # LoadModule foo_module modules/mod_foo.so Add following lines # # Load mod_jk # LoadModule jk_module

Re: Apache2 and Tomcat4 on different boxes

2002-09-20 Thread Raj Mettai
FQDN - full qualified domain name (ex: jakarta.apache.org) [EMAIL PROTECTED] 09/20/02 05:02AM Hi All. Same here : got Apache2 and Tomcat404 collaborating thru mod_jk.20 today. The new web-server has Apache2 and the old app-server has Apache 1.3.16 ( I cannot change anything on the

Re: WebDav support -- what am I doing wrong?

2002-09-20 Thread Thomas T. Veldhouse
Responding to my own post. I am able to view the files in my webapp. I had to use the URL http://host:8080/mywebapp/ Apparently DreamWeaver adds the webdav onto the end of it by default. However, I am not able to write to the app. I have read-only set to false. I have a role setup and have

Filters in Tomcat

2002-09-20 Thread Samuel Cheung
Hi, Could someone please tell me if I can activate/deactivate filters in Tomcat dynamically after the servlet is running? Thank you. Sam -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: mod_jk2, virtual hosts, JkUriSet

2002-09-20 Thread Dmitry Letin
I finally found the bug (or whatever it is) that caused problems: in source file jk/native2/server/apache2/mod_jk2.c in line 680 (I have revision 1.49) that reads: uriEnv = workerEnv-uriMap-mapUri(env, workerEnv-uriMap,NULL,r-uri); NULL should be replaced to r-server-server_hostname

Re: mod_jk2, virtual hosts, JkUriSet

2002-09-20 Thread Atif Shahab
I just set jk2 + apache2 + tomcat4 + virtualhosts using unixsockets *** httpd.conf VirtualHost xxx.xxx.xxx.xxx ServerAdmin [EMAIL PROTECTED] DocumentRoot /document/root/htdocs ServerName virtualhost1.mycompany.com ErrorLog /document/root/logs/error_log CustomLog

FW: mod_jk2, virtual hosts, JkUriSet

2002-09-20 Thread Short, Dave
Mod_jk2.zip -Original Message- From: Short, Dave To: 'Dmitry Letin ' Sent: 9/21/02 12:56 AM Subject: RE: mod_jk2, virtual hosts, JkUriSet I have not tried Dmitry's change yet, but attached is the W2K, Tomcat 4.1.10 and Apache 2.0.40 version (compiled tonight 09/20/2002). For those

Re: mod_jk2, virtual hosts, JkUriSet

2002-09-20 Thread Robert L Sowders
Hello, I'm glad you got it working. Have you posted a bug at http://www.mail-archive.com/tomcat-dev%40jakarta.apache.org/ I'm sure the developers of JK2 would be interested in your patch? You might have already, their web site has not been updating for awhile now. rls Dmitry Letin

[4.1.11] New test milestone released

2002-09-20 Thread Remy Maucherat
A new test milestone of Tomcat 4.1 has just been released. Please help test this upcoming Tomcat release for compliance issues and other problems. Downloads: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/test/v4.1.11/ Significant changes over 4.1.10 include: - Jasper tag support

<    1   2