JSP and JIKES, take 2

2001-05-21 Thread Tony G
Is Jikes 1.14 compatible with j2re1.3.0_02? Also, aside from rebuilding jakarta-tomcat-3.2.1, is there a simpler way to deploy JSP's without requiring a JDK? One posting to the archives referred to a tc3.JasperOptions interceptor, but I cannot locate such a class. How does one pre-compile

Re: 3.2.1 Dies

2001-05-21 Thread Thom Park
You may have used up all of your free threads. Try increasing the thread pool for the Http connector - see if it improves the longevity of your tomcat instance. -Thom Hunter Hillegas wrote: Well, I am using the scripts and my Tomcat just dies after a few days of heavy load... We're

Re: Catalina + Jbuilder 4.0

2001-05-21 Thread Peter Mutsaers
John == John Menke [EMAIL PROTECTED] writes: John Is there any information on how to setup JBuilder 4.0 to John debug Catalina servlets? Just put bootstrap.jar in your project classpath, and run it (kind of like in the catalina.sh script). Point the Context for your webapp to the

Re: upload 1 GB files

2001-05-21 Thread aswath satrasala
Hi, We would like to restrict the filesystem, different customers can see and different access previlages like read/write, create directories on the filesystem. One of the approaches I am taking is restrict the file system using HTTP. How can I do FTP from a web application? Any pointers is

NT Service Failed

2001-05-21 Thread Ben-Hur Castilho
Hi, I´am having some problems trying to use the jk_nt_service. After adjusting all the configuration files an installing the service as described in then NT-Service-HowTo.html the service cold not be started, returning a error code 2186 when executing teh command net start tomcat.

Two tomcats and two classpaths

2001-05-21 Thread FITZWATER,JAMES (Non-HP-PaloAlto,ex1)
I can setup and run two tomcats fine but I can't get them to use seperate classpaths. They also write to the same work directory. Any thoughts? Thanks, Jim Fitz

RE: 3.2.1 Dies

2001-05-21 Thread Devon Ziegler
Interesting.used up all free threads.increase thread pool. shouldn't users just have to wait for a free thread if they hit the pool limit? Increasing it should let more requests be handled simultaneously, but how would it help longevity? I'm not saying it won't. Just skeptical.

Re: RewritingURL with Tomcat3.2.1

2001-05-21 Thread Tim O'Neil
At 10:30 AM 5/21/2001 -0700, you wrote: Anyone have any problems with Apache's mod re-write and tomcat and ssl? Our web server seems to be completely ignoring the mod re-write rules when in ssl mode... Ah... you have to put the url rewrite in the virtual server definition for ssl... nice.

RE: Two tomcats and two classpaths

2001-05-21 Thread Michael Wentzel
I can setup and run two tomcats fine but I can't get them to use seperate classpaths. They also write to the same work directory. This is because you are running with the same environment vars. You will need to create two separate bat/sh files. take a look at the bat files in bin. The

Load balancing

2001-05-21 Thread Antonio Parolini
Hi there, Where can I find info on loadbalancing tomcat/apache ? we need statefull load balancing (we have user session). Is this possible without posting the user ID in links and forms ? Tony.

RE: error reading request --please help

2001-05-21 Thread Gilles Laborderie
Try to point your browser to http://vader.ics.uci.edu:19000/examples/jsp/source.jsp Gilles -Original Message- From: Vasanth Krishnan Venkatachalam [mailto:[EMAIL PROTECTED]] Sent: Monday, May 21, 2001 12:34 PM To: [EMAIL PROTECTED] Subject: error reading request --please help

Re: 3.2.1 Dies

2001-05-21 Thread Hunter Hillegas
I'll try that. I've not played with those settings. Any suggestions as to a sane amount to set it to? Others out there? Hunter From: Thom Park [EMAIL PROTECTED] Organization: Borland Software Company Reply-To: [EMAIL PROTECTED] Date: Mon, 21 May 2001 13:10:54 -0700 To: [EMAIL PROTECTED]

Re: 3.2.1 Dies

2001-05-21 Thread Hunter Hillegas
How can I check to see if I have a lot of dead threads? Hunter From: Devon Ziegler [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Mon, 21 May 2001 16:43:04 -0400 To: [EMAIL PROTECTED] Subject: RE: 3.2.1 Dies Interesting.used up all free threads.increase thread pool.

RE: NT Service Failed

2001-05-21 Thread Ronald G. Louzon
Have you verified with the Services item on the NT Control Panel that the service is actually installed? -Original Message- From: Ben-Hur Castilho [mailto:[EMAIL PROTECTED]] Sent: Monday, May 21, 2001 4:35 PM To: '[EMAIL PROTECTED]' Subject: NT Service Failed Hi, I´am having

RE: admin question

2001-05-21 Thread Venkatesh Sangam
Hi Dan, I actually tried as u said .. but it says java_Home not initialized even though I have done this by setting ghthe system environment variable .. do you know how to set java_home programatically ?? From: Posey, Dan [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: '[EMAIL PROTECTED]'

RE: error reading request --please help

2001-05-21 Thread Vasanth Krishnan Venkatachalam
i tried that...status quo On Mon, 21 May 2001, Gilles Laborderie wrote: Try to point your browser to http://vader.ics.uci.edu:19000/examples/jsp/source.jsp Gilles -Original Message- From: Vasanth Krishnan Venkatachalam [mailto:[EMAIL PROTECTED]] Sent: Monday, May 21, 2001

RE: error reading request --please help

2001-05-21 Thread Michael Wentzel
i tried that...status quo On Mon, 21 May 2001, Gilles Laborderie wrote: Try to point your browser to http://vader.ics.uci.edu:19000/examples/jsp/source.jsp Start from the bottom up. Get it working for http://vader.ics.uci.edu:19000/ first so you know if tomcat is running at all

Packaged TAGLIB

2001-05-21 Thread Robert Petersen
I am having a problem when I try to package up my tag libraries. They seem to work when the are not packaged. When I try to access a page that uses my custom tags I get an exception that states: org.apache.jasper.JasperException: File /util not found The full exception is at the end. The jsp

Problem running tomcat 4 in apache 1.3.19

2001-05-21 Thread Martin van den Bemt
Hi, After a struggle to get tomcat 4 running on my systen (running on Linux with jdk 1.3.1), I tried to configure tomcat 4 to run with apache. After following (some) of the instructions in the server.xml and other sources I got the web_webapp.so actually compiled and running in apache ( which

Swapping the default servlet

2001-05-21 Thread Miles Elam
Can you change the default handler from org.apache.catalina.servlets.DefaultServlet to some other servlet or is there something special about it? The setup that I'm working toward is one where TUX* is the entry point and Tomcat/Cocoon2 is the dynamic content. I have set up TUX already in that

Aliasing urls in Tomcat (without using Apache)

2001-05-21 Thread Graeme Miller
We need a way of aliasing urls in tomcat 3.2.1 so we don't have to set up Apache for local development on our workstations. eg /mytest needs to resolve to the servlet context /myproject/mytest Is there a way of doing this in Tomcat (perhaps in the server.xml or web.xml?) without involving

RE: Aliasing urls in Tomcat (without using Apache)

2001-05-21 Thread Martin van den Bemt
Kill apache, run tomcat on port 80 instead of port 8080. and then change your server.xml to something like this : RequestInterceptor className=org.apache.tomcat.request.InvokerInterceptor debug=0 prefix=/servlet/ / RequestInterceptor

modify html error page in Tomcat

2001-05-21 Thread Andrew Chou
Hi, This might be a newbie question but is it possible for tomcat to return a customized html error page such as 404 File Not Found? I'd like to do that just like in IIS where you can specify customized error page for each return code. Thanks for your help!

RE: modify html error page in Tomcat

2001-05-21 Thread Martin van den Bemt
I don't exactly (depends on your exact scenerio) , but it is possible to redirect apache error pages to servlets. (see httpd.conf) Mvgr, Martin -Original Message- From: Andrew Chou [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 22, 2001 12:45 AM To: [EMAIL PROTECTED] Subject: modify

RE: error reading request --please help

2001-05-21 Thread Vasanth Krishnan Venkatachalam
Hi, i've started tomcat run. when i point my browser to http://vader.ics.uci.edu:19000 i get a message in the window where tomcat is running. so obviously tomcat is detecting something, but it's generating this error: ContextManager: Error reading request, ignored - java.lang

RE: Aliasing urls in Tomcat (without using Apache)

2001-05-21 Thread Graeme Miller
Think you might have missed the intent of our email. If I understand you correctly you are basically telling us that we can make /context and /my_directory do the same thing, but we were after how to point /my_directory at /context/my_directory We know this is possible to do this is using Apache

Apache w/ HTTPS - connection problems

2001-05-21 Thread Shiv Kumar
Hi all This is a problem Im facing with Apache + Mod_SSL (for HTTPS). Consider this scenario : |-| |-| +-+ |-| +-+ | A | T | |-| | A || | p | o | |-| | p | C |

Re: resultset Question

2001-05-21 Thread Manish
Kevin Fonner wrote: I want to grab just the first record in a Query of my database. I thought that this would be pretty simple??? Acording to my books they said that after executing... /resultSet = statement.executeQuery(SELECT * FROM userfolders WHERE username=\' + userName + \');/

Use Apache htpasswd generated password file in Tomcat's servlets

2001-05-21 Thread Henry DU
I want to use password file ( generated by htpasswd program ) in my form-based servlets. I can process the user login information (user/password) from web page. But how can I use the htpassword since it was encrypted? Is it possible to decode the htpassword file for APACHE web server and use

RE: modify html error page in Tomcat

2001-05-21 Thread Andrew Chou
Martin, Thanks for the help. Howerver, I have only Tomcat 3.2.1 running without Apache web server. Is there any other place I should look into? I did not find any helpful info in the User's Guide. I was hoping there is a place I can simply tell Tomcat where my HTML error file is. Thanks! I

Re: Apache w/ HTTPS - connection problems

2001-05-21 Thread Milt Epstein
On Mon, 21 May 2001, Shiv Kumar wrote: Hi all This is a problem Im facing with Apache + Mod_SSL (for HTTPS). Consider this scenario : |-| |-| +-+ |-| +-+ | A | T | |-| | A ||

Scratch...

2001-05-21 Thread Guido Medina
Hi, I have running Tomcat 3.2.1 on a real server but it get more and more memory and at the end the system slow so much that you must killall java processes 'cause you cannot even restart tomcat 'cause doesn't restart, this happens using mod_jk under apache seems that the garbage collector is

RE: modify html error page in Tomcat

2001-05-21 Thread William Kaufman
Look at the error-page element in web.xml; the DTD is in the JSDK spec, and at http://java.sun.com/j2ee/dtds/web-app_2_2.dtd -- Bill K. -Original Message- From: Andrew Chou [mailto:[EMAIL PROTECTED]] Sent: Monday, May

RE: error reading request --please help

2001-05-21 Thread Vasanth Krishnan Venkatachalam
I just noticed one more thing: when i try to telnet to that port on the command line, I'm connected and then right away disconnected, and the same error message appears in tomcat's window: telnet open vader 19000 Trying 128.195.1.4... Connected to vader.ics.uci.edu. Escape character is '^]'.

Re: 3.2.1 Dies

2001-05-21 Thread Thom Park
I wasn't able to check for dead threads - My symptom was that the tomcat process would 'hang' and no longer process connections. I never got it to crash per se, but it sure stopped on me real good... Increasing the pool size resolved the problem, specifically the following parameters (neatly

Re: Redhat 7.1 ApacheTomcat How-to (long)

2001-05-21 Thread Neil Jolly
On May 21, 2001 12:22 pm, you wrote: Hello Neil, I've tried what you recommend and everything works fine but I still have a little problem. Apache and Tomcat work well but separately (not together). I have two httpd.conf files, /etc/httpd/conf/httpd.conf This one is probably not being

Re: Redhat 7.1 ApacheTomcat How-to (long)

2001-05-21 Thread Guido Medina
You must especified in the second example also the port: http://localhost:/examples Guido. - Original Message - From: Neil Jolly [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 21, 2001 7:36 PM Subject: Re: Redhat 7.1 ApacheTomcat How-to (long) On May 21, 2001 12:22 pm,

Re: Apache w/ HTTPS - connection problems

2001-05-21 Thread Guido Medina
I guest but I'm not sure that you must do it the same way you do for a normal connection: I meant: virtual_host: 443 ApJServMount /*.jsp localhost:8007/ ... ... /virtual_host And in the server.xml don't use SSL...use it through apache... Guido. - Original Message - From:

quick clean jserv to tomcat/modjk migration?

2001-05-21 Thread thibaut colar
Hi, I would like to upgrade some of our servers from apache / jserv to tomcat 3.3 (and 4 soon) + mod-jk because we want good jsp reloading, faster apjv13 protocol, Velocity ... Now the question is: Is it possible to migrate those server without much down time, Some of those server are on quite

JSP requires tools.jar in JDK 1.3?

2001-05-21 Thread Wai-Yip Tung
Does JSP requires tools.jar in JDK 1.3? I intend to embed tomcat with our product. The issue is JRE is redistributable but it does not contain tools.jar. tools.jar itself doesn't seems to be redistributable. Has anyone got into this issue and has there any workaround? Thank you for information,

Re: Redhat 7.1 ApacheTomcat How-to (long)

2001-05-21 Thread Neil Jolly
On May 21, 2001 05:33 pm, you wrote: You must especified in the second example also the port: http://localhost:/examples Not if you've got apache, and tomcat working correctly together with your /examples context correctly setup. You can then access all of tomcats examples from

Re: quick clean jserv to tomcat/modjk migration?

2001-05-21 Thread Jan Labanowski
Migration from jserv and servlet spec 2.0 IS NOT EASY!!! (unless you have 2 servlets and one html page). So you cannot do it quick. If you have disk space, you can just COPY all stuff you have to new directories, and install apache and tomcat to run on other ports that what you use now (probably

Re: error reading request --please help

2001-05-21 Thread Gordon Jones
Are you sure that telnet connections are allowed on this server. Perhaps the default is secure shell only (ssh) On Monday, May 21, 2001, at 07:21 , Vasanth Krishnan Venkatachalam wrote: I just noticed one more thing: when i try to telnet to that port on the command line, I'm connected and

Re: error reading request --please help

2001-05-21 Thread Vasanth Krishnan Venkatachalam
they are allowed. if i run apache web server on that same port i can telnet to it and get webpages. On Mon, 21 May 2001, Gordon Jones wrote: Are you sure that telnet connections are allowed on this server. Perhaps the default is secure shell only (ssh) On Monday, May 21, 2001, at 07:21 ,

Packaged TAGLIB

2001-05-21 Thread Robert Petersen
I am having a problem when I try to package up my tag libraries. They seem to work when the are not packaged. When I try to access a page that uses my custom tags I get an exception that states: org.apache.jasper.JasperException: File /util not found The full exception is at the end. The jsp

Page not found or DNS error on IE

2001-05-21 Thread Toru Hosaka
Hi all, I installed Tomcat 3.2.2 b5 + mod_jk(ajp12) with Apache 1.3.19. JSP and Servlet are working fine except I have the error Page not found so often on IE, when jump into JSP pages. (for NC or NN they say No content or No data...) I search ML archives and there seems no conclusion for

JNI Problems - java.lang.UnsatisfiedLinkError

2001-05-21 Thread Brian Oliver
I've been through almost all of the tomcat-user archives, faqs and documentation, but still I can not make a simple JNI call from a JSP. The problem, as I found in most of the archives is an java.lang.UnsatisfiedLinkError exception. Here are some details. 1. Windows 2000, JDK1.3.1, Tomcat

Re: JSP requires tools.jar in JDK 1.3?

2001-05-21 Thread egcs12md
Yes, JSP requires tools.jar in JDK 1.3 for compile java files, but you can use jikes instead. - Original Message - From: Wai-Yip Tung [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 22, 2001 8:19 AM Subject: JSP requires tools.jar in JDK 1.3? Does JSP requires

Re: JSP requires tools.jar in JDK 1.3?

2001-05-21 Thread Valeriy Molyakov
Hi ! How it to use? What it is more effective? - Original Message - From: egcs12md [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 22, 2001 5:42 AM Subject: Re: JSP requires tools.jar in JDK 1.3? Yes, JSP requires tools.jar in JDK 1.3 for compile java files, but you can

Re: Images not showing on Win2000

2001-05-21 Thread Richard Draucker
You didn't say how you're creating your pages. If you're using out.println statements, be sure to put quotes around the image name like so, out.println(img src=\hello test.jpg\); On Mon, 21 May 2001, you wrote: I get the same under NT. Obviously it is a bug, when I have my static content

Tomcat Run Problem, Please help immediately................

2001-05-21 Thread Tanmay Ghorai
Hi, I am triying to run Tomcat on Windows 95 but I get one error: It seems I don't have the class named org/apache/tomcat/startup/Tomcat, since I get the error listed below when I try to execute the comand 'tomcat run' E:\tanmay_tomcat\jakarta-tomcat\bintomcat run Using classpath:

Re: Use Apache htpasswd generated password file in Tomcat's servlets

2001-05-21 Thread Wolle
Hello Henry, To decode the password is the wrong way, You have to build the passwort with the given login. Then you have to compare it with the htpasswd file. You could simple build a crypt(3) encrypted passsword with the external class from www.cryptix.com. There is a methode called crypt. You

Class, Bean Directory Structure

2001-05-21 Thread Jon Shoberg
So now that I have Apache, Tomcat, mod_jk running happily I have a question about directory structure. My directories are as follows .. ../../apachegroup/tomcat/jakarta | +webapps | +myapp |

<    1   2