403 Errors

2003-09-03 Thread Tomcat Newbie
I have an annoying problem with my setup. I searched the archives and net for similar documented cases and I thought I found the solution, but it does not seem to work. Any hints or ideas would be appreciated. The problem: random 403 access errors to a number of pages(seemingly with Internet Expl

Inquiry received

2003-09-03 Thread [EMAIL PROTECTED]
Thank you for your inquiry to Alset Support! We will process your request as soon as possible. Please see www.alset.com for complete support information. Alset Support Staff - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

RE: Memory leaks?

2003-09-03 Thread Ralph Einfeldt
In my experience this is not a good recommendation: - -server is less stable than -client in all JDK's that I tried, and this has been confirmed by several list members. - -server won't help much on out of memory errors. The gc is behaving differently, but it can't free more objects, they

Re: j_security_check gets a 404 error

2003-09-03 Thread Bill Barker
You need to add j_security_check to the URIs that get passed to Tomcat. I don't use Jk2 myself, but if your version is recent enough, I believe that you can even use: /*/j_security_check ajp13 If I'm wrong (and that doesn't work), simply put the full path to j_security_check. "Louise Pryor" <

Re: starting tomcat as non-root

2003-09-03 Thread achana
> To get such a beast to appear on port 80 I'm using iptables on linux to > forward from port 80 to port 8080 as described at > http://www.klawitter.de/tomcat80.html May the All Blacks thump the Rose ;-) - To unsubscribe, e-mail:

Re: starting tomcat as non-root

2003-09-03 Thread achana
Tom Parker wrote: > > To get such a beast to appear on port 80 I'm using iptables on linux to > forward from port 80 to port 8080 as described at > http://www.klawitter.de/tomcat80.html > Thanks :-) - To unsubscribe, e-mail: [EMAI

Re: Servlet mappings?

2003-09-03 Thread Bill Barker
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Seems strange that there wouldn't be the option to do this. Is there any > way to write your own default servlet? > To do your own default servlet, you need a mapping like the one for "default" in conf/web.xml: MyDefaultServl

$CATALINA_HOME/shared/lib is *STILL* Ignored....

2003-09-03 Thread Tony LaPaso
Hi all, I posted a similar question a couple days ago but it seems the well-intended responses I received were incorrect. And let me first say that I have RTFMs -- more than once -- and this *SHOULD* work, at least according to TFMs. I'm using TC v5.0.9 on Linux with J2SE 1.4.2_01. Very simply,

Re: tomcat+j2sdk+mysql-connecto+mysql

2003-09-03 Thread Sathyan
Hello Chris Williams, Thanks for your guides. Now its working well. Regards Sathi > Try to isolate the problem. Check that you can get a Connection object by > doing something like the following: > > String driver = ...; > String url = ...; > String userName = ...; > String pw = ...; > Connect

RE: exception in deploying webapp in tomcat4.1

2003-09-03 Thread Shailesh Modi
Hi , Please see attached web.xml for my web-app. It is compliant with servlet specs v2.3 DTD. Now i am installing 4.1.27 and will see if that resolves my problem. Let me know if there is anything wrong with my web.xml Thanks a lot , Shailesh -Original Message- From: Shapira, Yoav [m

Re: Shutting down the server

2003-09-03 Thread Bill Barker
For integration, you should call o.a.c.startup.BootstrapService instead of Bootstrap. Bootstrap blocks its calling thread, so the only way to unblock it is to generate the IP traffic. For BootstrapService, the order of the calls is: 1) init(org.apache.commons.daemon.DaemonContext) 2) start() 3) s

RE: Servlet mappings?

2003-09-03 Thread JStanczak
Seems strange that there wouldn't be the option to do this. Is there any way to write your own default servlet? Thank You, Justin A. Stanczak Web Manager Shake Learning Resource Center Vincennes University (812)888-5813 "Mike Cherichetti \(Renegade Internet\)" <[EMAIL PROTECTED]> 09/03/2003

Re: starting tomcat as non-root

2003-09-03 Thread Tom Parker
On Thu, 2003-09-04 at 13:48, [EMAIL PROTECTED] wrote: > Hi all. > I'm o TC4.0.4 > I know this subject has been discussed many times before. > Are we getting any close to starting tomcat with user "nobody" or > "tomcat" or anything like that on 8080? > Sorry for the repetitiveness su tomcat -c tom

Re: Can not get SSL Client Certificate

2003-09-03 Thread Bill Barker
Try: X509Certificate [] certs = (X509Certificate [])request.getAttribute("javax.servlet.request.X509Certificate"); "Elif Akten" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > I have been trying to get SSL client certificate during a client > authenticated SSL sess

starting tomcat as non-root

2003-09-03 Thread achana
Hi all. I'm o TC4.0.4 I know this subject has been discussed many times before. Are we getting any close to starting tomcat with user "nobody" or "tomcat" or anything like that on 8080? Sorry for the repetitiveness - To unsubscribe

Install Web Application thru Tomcat Manager (TOMCAT 4.1.18)

2003-09-03 Thread Thana Letchumi
Hi, I have recently installed TOMCAT 4.1.18. I developed a few applications in a differect directory path from the tomcat installation path. Initially, I updated the server.xml with my web application path. But I realize that any update I make to the jar file (located in my application path/WEB

RE: Configuring jk2 for Apache 4.0.23/TomCat 4.0.27

2003-09-03 Thread Raj Dasgupta
Thanks for the help! -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 11:33 AM To: Tomcat Users List Subject: Re: Configuring jk2 for Apache 4.0.23/TomCat 4.0.27 You don't have a shared memory file configured in your properties files,

RE: Servlet mappings?

2003-09-03 Thread Mike Cherichetti \(Renegade Internet\)
I don't think this can be done with mappings. You can put an index.jsp file with only a forward/redirect call in it to transfer control to your servlet. I've done this before, seems to work quite well. Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednes

Servlet mappings?

2003-09-03 Thread JStanczak
I have a web app with multiple servlets. I would like one of those servlets to handle all requests to http://mywebserver/. Basically I want it to do the same thing as the welcome-file in the web.xml. How can I do this? Thank You, Justin A. Stanczak Web Manager Shake Learning Resource Center V

Internationalization Problem

2003-09-03 Thread Chaitanya Pallapothula
Hi I have been working on Internationalization and during that process I encountere this strange problem. My server is sending the right characters(Russian) to the browser. And also I have put this tag "" in the head pasrt of my out put. The problem is browser cannot render the characters corre

RE: restart tomcat everytime I make change to servlet [solved]

2003-09-03 Thread Clive Luk
Hi all, Thank you for all the replies. I have applied the hotfix last night. it WORKS! thanks for all. that was just a bug. i can save my hair for next time. : ) Cheers, Clive -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 11:46 PM To:

Re: Any Recommended Java/Servlet Books

2003-09-03 Thread stuart macpherson
I really like... Wutka, M. (2000) "Java Server Pages and Servlets" QUE [as a primer] and... Ayers et. al. (1999) "Professional Java Server Programming" Wrox [for slightly more advanced topics] HTH stu

Re: servlet mappings

2003-09-03 Thread Yoav Shapira
Howdy, > It used to be that servlet mapping was straight-forward and now it seems to > be obfuscated. For example I want the url They haven't really changed in a long long time ;) > ://Form > This used to work and now it doesn't; Why ! > > I doubt this used to work: review the

RE: Apache/Tomcat Appbase

2003-09-03 Thread Chad Arimura
Thanks Iain. We have a pretty complex virtual host setup already configured in Apache which is why I felt it best to use apache as a front-end. It's also for educational purpose. Cheers, Chad -Original Message- From: Iain McClure [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 0

RE: servlet mappings

2003-09-03 Thread Roehl, Dan
Thanks!! -Original Message- From: Schalk [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 4:45 PM To: 'Tomcat Users List' Subject: RE: servlet mappings If you want to read a great article on web.xml check out: http://developer.java.sun.com/developer/Books/javaserverpages/ser

Tomcat as an in-process Servlet container?

2003-09-03 Thread Carlos Cajina - Hotmail
Hi everyone. I've followed the steps in http://www.greenfieldresearch.ca/technical/jk2_config.html for configuring Apache and Tomcat to communicate using JNI. Everything works fine but there's just one thing that I can't figure out: When using channelSocket as the communication channel between

Re: Apache Tomcat Performance Handbook

2003-09-03 Thread Christopher Williams
The book was never published and Wrox have gone bust, I believe. - Original Message - From: "Flat Juas" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 03, 2003 10:49 PM Subject: Apache Tomcat Performance Handbook > Hi! > > > I'm looking for the "Apache Tomcat

Re: error building tomcat 4.1.27 from source on solaris

2003-09-03 Thread Iain McClure
Sounds like your missing the servlet.jar with the servlet API classes in it. I had a similar problem building mod_jk2 from a source download as it doesn't include it. However, I've not had this problem building Tomcat 4.1.27 on RedHat. You could try downloading the relevant servlet.jar separately

Apache Tomcat Performance Handbook

2003-09-03 Thread Flat Juas
Hi! I'm looking for the "Apache Tomcat Performance Handbook", but in every shop I check it's out of print. There are no used copies in ebay neither. Where can I get a copy of this book (I don't mind if it's a used one) or buy a pdf version of it ? Can you recommend me other books about tomcat pe

RE: servlet mappings

2003-09-03 Thread Schalk
If you want to read a great article on web.xml check out: http://developer.java.sun.com/developer/Books/javaserverpages/servlets_javas erver/ Kind Regards Schalk Neethling Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email

Re: crash on startup: java.util.zip.ZipException: Permission denied

2003-09-03 Thread Joseph Shraibman
I've discovered the problem is that I have a symlink to bsh-1.3b2.jar (beanshell) in shared/lib. I don't know why that is a problem but it is. I tried both 1.3.0 and 2.0b1 and they both have the problem, but 1.2b7 does not Joseph Shraibman wrote: I've been running tomcat 4.1.18 on rh9 with jdk

Re: Apache/Tomcat Appbase

2003-09-03 Thread Iain McClure
Sounds OK to me if you're simply using Tomcat to handle *.jsp files. However, you'll still need a "work" directory configured in Tomcat to compile the pages into, and separate config files etc. for Tomcat. A reason for keeping them separate would be to simplify servlet/jsp deployment into the Tom

JSP not working in Tomcat 5

2003-09-03 Thread Steve Kelem
I'm trying to deploy a bot from the book "Programming Spiders, Bots, and Aggregators in Java". It's the "translate" program in chapter 4, which is supposed to translate a page into pig latin. Whenever I run it in Tomcat, I get a connection timed out message, even though I told my socket not to t

Re: Easy Question regarding shared objects :)

2003-09-03 Thread Jeff Tulley
Easy question, wrong list. You might ought to try apache-httpd-users, or apache-modules. or one of the like. This list of for Tomcat, which does not necessarily use the Apache HTTP server. Jeff Tulley ([EMAIL PROTECTED]) (801)861-5322 Novell, Inc., The Leading Provider of Net Business Solutions

Re: JKMount, virtual hosts, and avoiding the webapp name

2003-09-03 Thread John Turner
Mike Curwen wrote: So it's gonna be something like: The Apache Vhost: JKMount /*.jsp tomcat1 JKMount /fooservlet tomcat1 DocumentRoot /home/webhome/atm/htdocs/ ServerName www.foo.com ServerAlias foo.com ErrorLog /var/log/atm/error_log CustomLog /var/log/atm/access_log combin

error building tomcat 4.1.27 from source on solaris

2003-09-03 Thread Ziying Sherwin
We tried to install tomcat 4.1.27 on our Solaris 2.8 platform using j2sdk 1.4.0. Unfortunately, the installation does not go very smoothly. After installed lots of required packages like jmx, jaxp, we finally started tomcat build. The compilation failed with the following error messages: build-

Re: servlet mappings

2003-09-03 Thread Roehl, Dan
It used to be that servlet mapping was straight-forward and now it seems to be obfuscated. For example I want the url ://Form Here is my web.xml file from my webapp\aeform\WEB-INF http://java.sun.com/dtd/web-app_2_3.dtd";> aeform AE form controller.

Apache/Tomcat Appbase

2003-09-03 Thread Chad Arimura
I'm new to tomcat so this question might not make sense. Is it a security risk (or a bad practice) to make the appbase of both apache httpd and Tomcat the same? To me, it seems logical because then I can serve .jsp files through Tomcat, and all other content through httpd without having to put t

Shutting down the server

2003-09-03 Thread Jimm
Hello everybody, today, we were trying to integrating tomcat in an other application, by reflecting the bootstrap classes, like the script in bin/ do. My question is now, if it's possible to shutdown the server by calling stop instead of start on the same object ( org.apache.tomcat.catalina.st

RE: JKMount, virtual hosts, and avoiding the webapp name

2003-09-03 Thread Mike Curwen
inlined replies... > -Original Message- > From: John Turner [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 03, 2003 3:28 PM > To: Tomcat Users List > Subject: Re: JKMount, virtual hosts, and avoiding the webapp name > > > > But how do I match up the requests from apache'

Inquiry received

2003-09-03 Thread [EMAIL PROTECTED]
Thank you for your inquiry to Alset Support! We will process your request as soon as possible. Please see www.alset.com for complete support information. Alset Support Staff - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

Easy Question regarding shared objects :)

2003-09-03 Thread Raj Dasgupta
I have a shared object (mod_sm.so) I need to compile with Apache. Where do I add this file so it is included when I compile? Thanks Raj - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

Using jndi to get a DBCP BasicDataSource give ClassCastException

2003-09-03 Thread Angus Mezick
I am having problems with the GlobalNamingResources. If I put my two DB resource entries into the GlobalNamingResources section and just use Resource-Links to access them I cannot cast from DataSource to BasicDataSource.. I need to do this to use this line in my monitoring app: (I can still use th

Re: JKMount, virtual hosts, and avoiding the webapp name

2003-09-03 Thread John Turner
Mike Curwen wrote: I define an Apache Virtual Host in httpd.conf: JKMount /ATM tomcat1 JKMount /ATM/* tomcat1 I wouldn't do /ATM without a wildcard or something after it. DocumentRoot /home/webhome/atm/htdocs/ ServerName www.foo.com ServerAlias foo.com ErrorLog /var/log/atm/err

RE: adding a servlet to my webapp

2003-09-03 Thread Schalk
If you want to read a great article on web.xml check out: http://developer.java.sun.com/developer/Books/javaserverpages/servlets_javas erver/ Kind Regards Schalk Neethling Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email

JKMount, virtual hosts, and avoiding the webapp name

2003-09-03 Thread Mike Curwen
I'm not sure I'm configuring things quite correctly, because it seems to me I should be able to do this with one less token... Apache 2 TC 4.1.24 JK My workers.properties: worker.list=tomcat1 worker.tomcat1.port=11009 worker.tomcat1.host=localhost worker.tomcat1.type=ajp13 I define an Apache V

Re: Memory leaks?

2003-09-03 Thread Jim Lynch
OK, that's probably what's going on. I know I should close Statements and Connections and do normally but I'm fairly certain I've some out there dangling. I didn't know you had to close ResultSets, however. Glad to know that. Thanks, Jim. Paul wrote: > > Docs indicate that leaving a stmt or r

Re: adding a servlet to my webapp

2003-09-03 Thread Jason Jesso
Perfect. That works. Thanks Jon Wingfield wrote: Given your initial post your class HelloWorld was in jasonTest/WEB-INF/classes/foo So either HelloWorld must be in a package foo. ie the first code line of the Helloworld source is: package foo; or you need to put HelloWorld.class in jasonTest/

Re: jdbcodbc database connection problem (access-DB,jsp,tomcat,eclipse)!

2003-09-03 Thread Bruno Armand
Hello Jon, In the file tomcat../log/stdout, this error information can be found: " SQLException: SQLState: IM002 Nachricht: [Microsoft][ODBC Driver Manager] Der Datenquellenname wurde nicht gefunden, und es wurde kein Standardtreiber angegeben. Anbieter: 0 there was error " By testing myself, i r

Re: adding a servlet to my webapp

2003-09-03 Thread Jon Wingfield
Given your initial post your class HelloWorld was in jasonTest/WEB-INF/classes/foo So either HelloWorld must be in a package foo. ie the first code line of the Helloworld source is: package foo; or you need to put HelloWorld.class in jasonTest/WEB-INF/classes http://jakarta.apache.org/tomcat/tomc

RE: adding a servlet to my webapp

2003-09-03 Thread Roehl, Dan
I am having a similar issue with URL mapping This used to work: Any tips? would like URL pattern to be ://Form aeform AE form controller. AeFormServlet formController.AeFormServlet invoker /servlet/* THIS NO WORKY ANYMO

Re: adding a servlet to my webapp

2003-09-03 Thread Justin Ruthenbeck
At 12:36 PM 9/3/2003, you wrote: My guess is that this is right then: HelloWorld HelloWorld HelloWorld /servlet/foo/HelloWorld Do I need the "mypackage" thing? From your ls output that you gave originally, it looks like you've got HelloWorld in a package called foo

RE: adding a servlet to my webapp

2003-09-03 Thread Schalk
Jason HelloWorld HelloWorld Kind Regards Schalk Neethling Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.co.za :: -Original Message- :: From: Jason Jess

Re: adding a servlet to my webapp

2003-09-03 Thread Jason Jesso
My guess is that this is right then: http://java.sun.com/dtd/web-app_2_3.dtd";> HelloWorld HelloWorld HelloWorld /servlet/foo/HelloWorld Do I need the "mypackage" thing? With what I have above I get a "HTTP Status 500 - root cause java.lang.ClassNotFoundExc

Re: jdbcodbc database connection problem (access-DB,jsp,tomcat,eclipse)!

2003-09-03 Thread Jon Wingfield
Very difficult to tell ;) Do you have any errors in the tomcat logs? Does your debug in the SQLException catch clause get written to std out or catalina.out? If a SQLException did get thrown during the inserts/select the output would be: Not quite sure how that would be rendered in a brows

setting the field focus with a servlet

2003-09-03 Thread Luke Vanderfluit
Hi, I am working on a servlet that checks a form content without using javascript. Does anyone know if there is a way to set the focus to a particular field using java? thanks for any help :-) kind regards, Luke -- "when my computer smiles, I'm happy" =

Re: Memory leaks?

2003-09-03 Thread Paul
Docs indicate that leaving a stmt or rs object open can cause memory leaks. Found the following in the tomcat docs somewhere, i think: Here is an example of properly written code to use a db connection obtained from a connection pool: Connection conn = null; Statement stmt = null; // Or Prep

Re: adding a servlet to my webapp

2003-09-03 Thread Justin Ruthenbeck
Jason, John was pointing out that you're missing the which basically says, "For a URL that looks like X, send the request to servlet Y." You've also got a malformed value. Something like this should work... HelloWorld mypackage.HelloWorld HelloWorld /serv

Re: adding a servlet to my webapp

2003-09-03 Thread John Turner
Yes, exactly. The way you have it now is trying to use the Invoker servlet. You are missing the servlet mapping in web.xml, as explained in option #3 of this post which is linked from the FAQ section: http://marc.theaimsgroup.com/?l=tomcat-user&m=103945394724196&w=2 John Jason Jesso wrote: B

RE: Which is the best way to install an application with connecti on p ooling

2003-09-03 Thread Hookom, Jacob
I'm trying to accomplish a similar thing with an AS/400 db over JNDI. I have my context setup in my meta-inf and from stack traces; I see that DBCP is the one launching the error, so I know that the context binding is loading successfully. The problem is that DBCP is throwing and exception that t

Re: adding a servlet to my webapp

2003-09-03 Thread Jason Jesso
But, I don't want to use the "invoker". I want to be able to specify the servlet itself in web.xml. The invoker is "evil" according to the link you gave me. John Turner wrote: You have to map your servlet in web.xml. FAQ: http://jakarta.apache.org/tomcat/faq/misc.html#invoker John Jason

RE: How to get tomcat to autostart on linux

2003-09-03 Thread batristain
Thanks for the info -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 11:04 AM To: Tomcat Users List Subject: Re: How to get tomcat to autostart on linux Courtesy of Oscar Carrillo: http://daydream.stanford.edu/tomcat/install_web_servic

Re: adding a servlet to my webapp

2003-09-03 Thread John Turner
You have to map your servlet in web.xml. FAQ: http://jakarta.apache.org/tomcat/faq/misc.html#invoker John Jason Jesso wrote: When I go to my servlet I get "HTTP Status 404 - /jasonTest/servlet/foo/HelloWorld" The url is: http://neptune/jasonTest/servlet/foo/HelloWorld My config is as follows:

Re: jdbcodbc database connection problem (access-DB,jsp,tomcat,eclipse)!

2003-09-03 Thread Bruno Armand
Now, i correct all the errors (As you see n the code below), but the jsp-page ist displayed, but without anything written (from html or database.). Can you know why please? Thank! --- Jon Wingfield <[EMAIL PROTECTED]> schrieb: > try > <%= rs.getString(i) %> > instead of > <% = rs.getString(i) %

adding a servlet to my webapp

2003-09-03 Thread Jason Jesso
When I go to my servlet I get "HTTP Status 404 - /jasonTest/servlet/foo/HelloWorld" The url is: http://neptune/jasonTest/servlet/foo/HelloWorld My config is as follows: (What is wrong here??) I have a webapp defined in server.xml as === docBase="jasonTest"

Re: Any Recommended Java/Servlet Books

2003-09-03 Thread John Turner
Archives, this has come up before. John Jim Si wrote: Hello Everyone, Could anyone tell me some good reference books related to java servlets? In addition, any java books related to the Multimedia like showing pictures, playing videos and etc. Thank you. -

Re: Any Recommended Java/Servlet Books

2003-09-03 Thread epyonne
Core Servlets. - Original Message - From: "Jim Si" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, September 03, 2003 11:32 AM Subject: Any Recommended Java/Servlet Books > Hello Everyone, > > Could anyone tell me some good reference books related to j

RE: Any Recommended Java/Servlet Books

2003-09-03 Thread Schalk
Core SERVLETS and JavaServerPages by Marty Hall published by Sun and JSP, Servlets, MySQL by David Harms published by mandtbooks.com Kind Regards Schalk Neethling Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL

Any Recommended Java/Servlet Books

2003-09-03 Thread Jim Si
Hello Everyone, Could you mention some good reference book related to java servlets? In addition, any java books related to the Multimedia like showing pictures, playing videos and etc. Thank you. - To unsubscribe, e-mail: [E

RE: Memory leaks?

2003-09-03 Thread Richard Hill
Try passing the jvm the -server option -Original Message- From: Jim Lynch [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 9:57 AM To: tomcat Subject: Memory leaks? I seemed to have read that java/tomcat isn't supposed to have memory leaks, but something seems to be running

Re: Tomcat 4.1.27 : error in FORM authentication

2003-09-03 Thread Fabio Bazzani
I'm sorry I was not so detailed in my problem description. I've just done all that you said ! I made a link to a jsp page which was included in a security constraint in web.xml. When I click on my link before getting my page, Tomcat give me the login.jsp to authenticate. The authentication fail !!

Re: Configuring jk2 for Apache 4.0.23/TomCat 4.0.27

2003-09-03 Thread Marco Tedone
Did you added the .dll under modules? (Sorry if this it's a stupid question) Marco - Original Message - From: "Raj Dasgupta" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 03, 2003 4:10 PM Subject: Configuring jk2 for Apache 4.0.23/TomCat 4.0.27 > After adding jk

Re: tomcat 4.1.27: cannot shutdown tomcat !!

2003-09-03 Thread Filip Hanik
"connect" is not a hostname, looks like there is something wrong with your networking on that machine, not Tomcat Filip - Original Message - From: "Fabio Bazzani" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, September 03, 2003 9:29 AM Subject: tomcat 4.

Any Recommended Java/Servlet Books

2003-09-03 Thread Jim Si
Hello Everyone, Could anyone tell me some good reference books related to java servlets? In addition, any java books related to the Multimedia like showing pictures, playing videos and etc. Thank you. - To unsubscribe, e-mail

Memory leaks?

2003-09-03 Thread Jim Lynch
I seemed to have read that java/tomcat isn't supposed to have memory leaks, but something seems to be running me out of memory and I don't know what. After a number of edit/undeploy/compile/deploy iterations I get the following: javax.servlet.ServletException: Servlet execution threw an exception

newbie question

2003-09-03 Thread Gustavo A. Baratto
I can see tomcat 4.1.27 working fine (including executing the examples) when I go to http://localhost:8080 and to http://localhost/jkstatus, but I am having problems connecting apache2 to tomcat through mod_jk2. I am getting 500 error when I go to http://localhost/examples Another thing... I do

RE: Tomcat 4.1.27 : error in FORM authentication

2003-09-03 Thread Mike Curwen
> -Original Message- > From: Fabio Bazzani [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 03, 2003 11:15 AM > To: Tomcat Users List > Subject: Tomcat 4.1.27 : error in FORM authentication > > > I'm working with JDK 1.4.0 and tomcat 4.1.27. > I configured JDBCRealm in server.xml

Re: Can't stop tomcat with shutdown.bat - bug 17193

2003-09-03 Thread John Turner
I defer to Yoav, as it is entirely possible (though not probable) that I am on crack. But the thread referenced is most definitely talking about mod_jk. John Jon Skeet wrote: The release that Yoav is referencing is a new mod_jk, which is an Apache DSO module, not a JAR file. So yes, I guess

tomcat 4.1.27: cannot shutdown tomcat !!

2003-09-03 Thread Fabio Bazzani
I'm working with JDK 1.4.0 and tomcat 4.1.27. I'm in advanced development and unexpectedly I cannot shutdown Tomcat. I spent all day to try undertand the why ? shell error message: Stopping service Tomcat-Standalone java.net.NoRouteToHostException: No route to host: connect at java.net.Pl

apache httpd hung in "W" Sending Reply

2003-09-03 Thread Nicholas Ide
I have tomcat 4.1.27 front ended by apache 2.0.47 and mod_jk connector. Occasionally I run out of apache slots because all the slots are apparently hung while Sending Reply. (W status from serverstatus screen). These connections appear to all be stuck in a dialog with tomcat. If I restart tomcat

Struts App Execution

2003-09-03 Thread news-jakarta
I am using Apache 2 and Tomcat 4.1.24 connected with jk2. I installed the struts example webapp, but I can't seem to get Tomcat to execute the .do files (I get the apache 404 screen). What simple step am I missing? The struts docs only seem to cover up to Tomcat 3.1 (for tomcat/apache setup). M

RE: File upload Bug?

2003-09-03 Thread Allen Hadden
I had this (or a similar problem) a long time ago. It only occurred when connecting to IIS via HTTPS (SSL). Also, my problem was with isapi_redirector.dll, not isapi_redirector2.dll. It might be the same issue, though. It was some sort of timing problem with the ISAPI redirector. I hacked a

Tomcat 4.1.27 : error in FORM authentication

2003-09-03 Thread Fabio Bazzani
I'm working with JDK 1.4.0 and tomcat 4.1.27. I configured JDBCRealm in server.xml for a FORM authentication. When I authenticate I get a 400 error code: message : Invalid direct reference to form login page description : The request sent by the client was syntactically incorrect (Invalid direct

Re: Problem with my first webapp

2003-09-03 Thread John Turner
oops, that should be: out.println("" + myVar = ""); My bad. John John Turner wrote: $CATALINA_HOME/webapps/myApp $CATALINA_HOME/webapps/myApp/hello.jsp $CATALINA_HOME/webapps/myApp/WEB-INF $CATALINA_HOME/webapps/myApp/WEB-INF/classes $CATALINA_HOME/webapps/myApp/WEB-INF/lib $CATALINA_HOME/weba

RE: Can't stop tomcat with shutdown.bat - bug 17193

2003-09-03 Thread Jon Skeet
> The release that Yoav is referencing is a new mod_jk, which > is an Apache DSO module, not a JAR file. So yes, I guess you will be able > to sub in the new DSO as soon as you can build one or find a binary, but don't > confuse it with a JAR file. In that case I can't see how it's going to he

Help!! Deployment issue

2003-09-03 Thread Joe Zendle
I am about to deploy a struts app in production. I have been doing development using port 8080 and a Context path of "/aup-reports" and a docPath of "aup-reports". My app uses BASIC authentication with a JDBC Realm into postgres. Everything works fine in this configuration with 4.1.24 and 4.1.27 an

Re: How to get tomcat to autostart on linux

2003-09-03 Thread Carlos Cajina - Hotmail
Hi Bobbie. Please see http://daydream.stanford.edu/tomcat/install_web_services.html#java At the end of the HOW-TO you'll find what you need... Good luck!!! - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 03, 2003 8:52 AM Subject

RE: Problem with my first webapp

2003-09-03 Thread Shapira, Yoav
Howdy, >Can somebody provides me a complete tree with a simple application to >start working on ? I think it would be a good idea if somebody >'tar/gzip' the directory strutcure found in this page : >http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/sample/ >so a beginner is able to start wi

RE: Antwort: Problem with my first webapp

2003-09-03 Thread Damien
Le mer 03/09/2003 à 16:01, Shapira, Yoav a écrit : > Howdy, > > >Le mer 03/09/2003 à 14:50, [EMAIL PROTECTED] a écrit : > >> are you sure your build.xml is correct, my builds do not output the file > >> contents... > > > >I have downloaded an example build.xml, so I think it is correct. > > That'

Re: How to get tomcat to autostart on linux

2003-09-03 Thread Filip Hanik
you can create a script in /etc/init.d/ or in /etc/rc.local simply put export TOMCAT_HOME=blablabla export CATALINA_HOME=$TOMCAT_HOME $CATALINA_HOME/bin/startup.sh Filip - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 03, 2003 7:52 AM

Re: Problem with my first webapp

2003-09-03 Thread John Turner
$CATALINA_HOME/webapps/myApp $CATALINA_HOME/webapps/myApp/hello.jsp $CATALINA_HOME/webapps/myApp/WEB-INF $CATALINA_HOME/webapps/myApp/WEB-INF/classes $CATALINA_HOME/webapps/myApp/WEB-INF/lib $CATALINA_HOME/webapps/myApp/WEB-INF/web.xml hello.jsp: <% String myVar = new String("Hello World"); out.p

Re: File upload Bug?

2003-09-03 Thread Remy Maucherat
Tom Lyle wrote: I've just realised something. The machine thats running Tomcat 4.1.27 is serving the pages with IIS and isapi_redirector2.dll, when i connect directly to Tomcat via port 8080 it works fine. Right, i've just searched the archives and found 2 people posting (much more elequently) the

RE: File upload Bug?

2003-09-03 Thread Tom Lyle
im on Windows 2000 server. It seems to be a bug in isapi_redirect2.dll. Any thoughts anyone? > -Original Message- > From: Andy Eastham [mailto:[EMAIL PROTECTED] > Sent: 03 September 2003 16:23 > To: Tomcat Users List > Subject: RE: File upload Bug? > > > Tom, > > I found that the O'Reilly

Re: Configuring jk2 for Apache 4.0.23/TomCat 4.0.27

2003-09-03 Thread John Turner
You don't have a shared memory file configured in your properties files, or if you do, it isn't accessible or writable. John Raj Dasgupta wrote: After adding jk2 to my apache's httpd.conf, I see these errors on startup. Any ideas on what this error indicates? [Wed Sep 03 10:35:32 2003] [err

Re: Which is the best way to install an application with connection p ooling

2003-09-03 Thread John Turner
If you are using a WAR file, put your entire Context block into a file called (your-webapp).xml and stick it in META-INF. Whatever is legal in a Context block in server.xml is also legal there. Then you can deploy the WAR file using the manager app froma remote system. The admin and manager

Re: Antwort: Re: Antwort: Problem with my first webapp

2003-09-03 Thread Damien
Le mer 03/09/2003 à 16:03, [EMAIL PROTECTED] a écrit : > and you are sure you have a web application (structure and web.xml)? > perhaps you should post some additional information (files of you webapp > and build.xml) > Here is the structure : [EMAIL PROTECTED] tomcat-test]$ ll -R .: total 40

Re: jdbcodbc database connection problem (access-DB,jsp,tomcat,eclipse)!

2003-09-03 Thread Jon Wingfield
try <%= rs.getString(i) %> instead of <% = rs.getString(i) %> Bruno Armand wrote: Please i try since one week to become this program without error, but without success. Perrhaps can you help me! I write a jsp-file for calling and saving data from an access existing database which i connect with a

Re: $CATALINA_BASE/temp

2003-09-03 Thread Samuel Le Berrigaud
Fred Kreek wrote: At 10:46 03/09/03, you wrote: Hi everybody, I'm using tomcat 4.1.27 on a Linux system. It works very well ! But I had a little problem of disk space because of the $CATALINA_BASE/temp that grows up very fast in size. In that folder I found some file s like "jar_cahe*tmp".

RE: File upload Bug?

2003-09-03 Thread Andy Eastham
Tom, I found that the O'Reilly classes were totally unreliable on Solaris with binary uploads and mod_webapp. However, I They work fine on windows and Linux, and luckily I've not needed them on a Solaris deployment. I think decided it was actually caused by a bug in Solaris mod_webapp - are you

Re: Problem with my first webapp

2003-09-03 Thread Damien
Can somebody provides me a complete tree with a simple application to start working on ? I think it would be a good idea if somebody 'tar/gzip' the directory strutcure found in this page : http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/sample/ so a beginner is able to start with a clean pro

  1   2   >