Changing servlet directory

2001-10-01 Thread Firestar
Hi, for some reasons i would like to place my servlets and java classes in a separate directory instead of WEB-INF/classes or WEB-INF/lib. I tried to add the classpath of my classes in the catalina.bat script as suggested by some ppl here. However, tomcat throws the following error:

Bean Error

2001-10-01 Thread Isak Rickyanto
Hello I have a bean to manage form registration I think it is because nullpointerexception... (from the error below) at the foo.FormBean1.validate .. right? I read the error say (FormBean1.java.52)... it means that the error code in the line 52 right? the code : it is on line 52:if

AW: Bean Error

2001-10-01 Thread Ralph Einfeldt
You should change if (telepon.equals() || (telepon==null)) { to if ((telepon==null) || telepon.equals()) { Expressions are evaluated from left to right, so if telepon is null you will get a NullPointerException for telepon.equals(). -Ursprüngliche Nachricht- Von: Isak Rickyanto

How to use WebApp + web appl. root other than '$CATALINA_HOME/webapps'

2001-10-01 Thread Aksel Schmidt
Hi list I can figure out how to use the Catalina WebApp module together with applications residing in the '$CATALINA_HOME/webapps' directory. But what am I to give as arguments to the WebAppDeploy when I want to have the web application in another directory? It wouldn't be nice to change the

[TC4] web.xml / Using Jikes Java Compiler

2001-10-01 Thread chris brown
Hello, I've successfully setup Jikes with Tomcat 3 in the past. How do I set it up with Tomcat 4? Is it any different? Thanks, Chris

Ideas for future versions of Tomcat (a bit controversial maybe)?

2001-10-01 Thread chris brown
Hello, I've been trying out JDK 1.4 quite a lot, and like it a lot! I was wondering, given that Tomcat is a reference implementation of the Servlet/JSP APIs, if it would be a good idea to become a very good example of certain new APIs as well. I've suggested a while back that the New scalable

Troubles with binding Tomcat 4.0 to Apache 1.3...

2001-10-01 Thread Christian . Schildt
Hi Ich have troubles with binding Tomcat 4.0 to Apache 1.3... in Windows 2000. There are modules web_app-module_x only for linux and mac on the apache server available. I din not manage to load an so-module in windows although some people say it is possible. In Linux, I get the following

Re: Ideas for future versions of Tomcat (a bit controversial maybe)?

2001-10-01 Thread chris brown
That's one of the against reasons I thought of. Nevertheless, Tomcat 3 and 4 already exist, so that solution is already available to users of such platforms. Furthermore, Tomcat is not the only Servlet/JSP engine out there, so there are still alternatives for these platforms. I'm not generally

Tomcat Security Bind Exception as non ROOT user

2001-10-01 Thread Stuart Subscription
All Attempting to bind the Tomcat (3.2.3) Java based deamon to a port below 1024 other than as the 'Root' user on a Solaris 8 (SPARC) operating system causes Java to throw a Security Bind exception. Any related information on how to solve this issue would be kindly appreciated. ... Stuart

how to Harden the security of standalone tomcat on port 80?

2001-10-01 Thread Stuart Subscription
All Does anybody have guidelines or advice on how to Harden the security of a standalone installation of Tomcat 3.2.3 on Solaris SPARC 8 ? ps. Thank you to those whom have answered previous questions posted to this List. Your help and suggestions have proved invaluable. ... Stuart This

Re: Ideas for future versions of Tomcat (a bit controversial maybe)?

2001-10-01 Thread chris brown
Thanks. I'm aware of the tomcat-dev list, but posted it into the user list as such a change would have a big impact on users. Should get a wider range of comments and ideas this way... -Chris - Original Message - From: GOMEZ Henri [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday,

followsoftlinks

2001-10-01 Thread Bob Kersten
Hi, I've installed Tomcat on FreeBSD using Apache to serve the static HTML files and it seems to work all fine. I've replaced the directory ROOT in the /webapps/ directory with a softlink to the Apache's root dir and that also seems to work. I have to create a contect for each directory in this

[OT] EJB tutorial links/tips?

2001-10-01 Thread Cato, Christopher
Hello. I'm moving from pure servlets to mixed jsp/servlet/beans environment and would appreciate tips pointers to where I can find tutorials or guides for getting started with beans. Regards, Christopher Cato

InitParameters

2001-10-01 Thread Alessandro Di Maria
Hello! I have some problems to read the init-parameters for my servlet. I'm usign tomcat 3.2.3, mod-jk. But tested with tomcat standalone on port 8080. Here's my web.xml, located on TOMCAT_HOME/webapps/test/WEB-INF/ web-app servlet servlet-nameremoteServlet/servlet-name

Tomcat 4 DataSource resource-env-ref problem

2001-10-01 Thread Don Park
I got thru the DataSource casting problem and my app is running now, but I found curious entry in the application log: 2001-10-01 04:03:01 StandardContext[/arcotadmin]: Bind naming operation failed : javax.naming.NamingException: Name {0} is already bound in this Context For some reason,

Re: Changing servlet directory

2001-10-01 Thread Manu KY
Hi, remove your classes from the classpath. follow these steps.: in web.xml add details about your web-app. in tomcat 3.2 it was known as context mapping. just add your context under context manager and set the docBase attribute to the dir where your web-app is installed. Manu Hi, for some

Tomcat4 installer problem

2001-10-01 Thread Edwards, Peter
I think there is a small problem with the windows installer failing to re-install all the web applications. After my initial installation I made a mistake and accidentally deleted the webapps folder. (Stupid I know!) I then re-ran the installer and it offered to update my current installation.

Re: [OT] EJB tutorial links/tips?

2001-10-01 Thread Manu KY
Hi, goto www.java.sun.com and search for JavaBeans. the site has info about tutorials, books ,forums etc. Manu Hello. I'm moving from pure servlets to mixed jsp/servlet/beans environment and would appreciate tips pointers to where I can find tutorials or guides for getting started with beans.

RE: Oracle view compatible with JDBC realm

2001-10-01 Thread Sonnek, Ryan
thanks for the reply. if you're using a view and it's working for you, then during our move from tomcat 3.2.1 to 3.2.3 we may have missed something. i'll be looking into it! Ryan J. Sonnek Programmer/Analyst Brown Printing Company 507.835.0803 mailto:[EMAIL PROTECTED] -Original

Re: Compile Servlet

2001-10-01 Thread Vic Ricker
Sounds like you might not have servlet.jar in your classpath. You might want to try using an IDE like Sun's new Forte 3. The CE version is free. -Vic Isak Rickyanto wrote: Hello all.. I am newbie... I want to compile my servlet , i have set TOMCAT_HOMe, JAVA_HOME and my javac

How to use jspc

2001-10-01 Thread Alex Colic
Hi, thanks for all the help regarding using the jre with tomcat. In my development environment I have been placing all my jsp files into the webapps/myproject/ directory. Now I can see that I need to use the jspc to compile the jsp's so that I can distribute them with Tomcat and the JRE. Can

NullPointerException in getSession

2001-10-01 Thread Daniel Novy - (MGN)
Hi all. Does anyone know a solution to the exception presented below? It happens when I try to get an http session. The interesting thing is that this problem is not deterministic: sometimes it happens and sometimes it does not (obviously, using the same code and the same environment). Any help

has anybody mod_webapp.dll ?

2001-10-01 Thread Christian . Schildt
Hi I don't have Visual C++ to compile it, maybe could somebody send me mod_webapp.dll if he has? There is no mod_webapp for Windows on apache server now. Mit freundlichen Grüßen Christian Schildt Diplom-Betriebswirt (FH) Softwaredeveloper Phone: 089/89013023 Mailto: [EMAIL PROTECTED]

errorpage and attributes

2001-10-01 Thread pero
Hi, I am using an error-page withing my web-app. I am using the page:errorPage=mypage directive to tell my jsps where the error-page is. Everything works fine. The errorpage is reached whenever an exception is raised within a jsp. But I wonder, how can I determine which jsp caused the error? It

RE: has anybody mod_webapp.dll ?

2001-10-01 Thread Jim Urban
Please send me a copy too. Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, October 01, 2001 8:12 AM To: Tomcat-User Subject: has anybody mod_webapp.dll ? Hi I don't have Visual C++ to compile it, maybe could somebody send me mod_webapp.dll if

Servlets and JSP Error Pages

2001-10-01 Thread Brendan McKenna
Hi, Is there a way to route exceptions thrown in servlets to a JSP error page? Brendan -- Brendan McKennaEmail: [EMAIL PROTECTED] Development Strategist Phone: +353-61-338177 Taringold Ltd.

Re: InitParameters

2001-10-01 Thread Bo Xu
I suggest you need to use your servlet-name to invoke your Servlet if you want to use your init-param, it will force your init-param to be included, for example: http://xxx.xxx.xxx.xxx:8080/myapp/servlet/remoteServlet if you use your Servlet class name to invoke your Servlet, for example:

Re: Servlets and JSP Error Pages

2001-10-01 Thread Zsolt Horvath
I think it's easier: Put this line every JSP: 1. %@ page errorPage=errorHandler.jsp% 2. Create an errorhandler JSP. (Example is attached.) Every throwable error will redirect to errorhandler.jsp. bye: horZsolt - Original Message - From: Arnaud Héritier [EMAIL PROTECTED] To: [EMAIL

Using jsp / servlets for main web site?

2001-10-01 Thread Heath Stewart
I've been running apache for years and want to move to an xml-based operation. I found cocoon sported the best features (without having to move to IIS - God help us). I got Jakarta / Tomcat installed and running fine but cocoon2 always bombs out saying, The sitemap handler's sitemap is not

Re: pulling my hair out re: EJB in tomcat

2001-10-01 Thread mlamb
On Fri, 28 Sep 2001 [EMAIL PROTECTED] wrote: Now I just keep getting the java.lang.ClassCastException: javax.naming.NameClassPair on the sample's line: Object ref = jndiContext.lookup(interest/Interest); are you actually getting the classcast there? or on a subsequent line

Tomcat as a service

2001-10-01 Thread Vara Prashanth
Hello all: My third posting...somebody please help! I am using tomcat 3.2.2 but dont have the jk_nt_service file with me. I tried downloading it from the apache site but it redirects me to the tomcat 3.2.3 binaries. Can somebody please tell me if I can use the exe from another version of

Re: NullPointerException in getSession

2001-10-01 Thread Zsolt Horvath
You get this error message in 2 cases: 1. You want to acces the session, but it doesn't exist (use getSession(true)) 2. You want to acces a session value, but it doesn't exist: e.g: request.getSession().getValue(ANYTHING), and ANYTHING variable not in the session. - Original Message

Configuration Problem?

2001-10-01 Thread Jens Khnberger
Hi, I installed tomcat4 as a service. When I start tomcat using startup.bat, my application works fine, but when I start tomcat as a service it doesn't work. I don't get any errors, but in catalina_log tomcat stops after: 2001-09-29 10:41:23 HttpConnector Opening server socket on all host IP

RE: ResultSet

2001-10-01 Thread Claudia Sarmiento
Hi Sio: I'm surprised with your CV, it's very interesting This is the exactly error: Error interno del servlet: javax.servlet.ServletException at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:399) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

tomcat3.0-4.0 conversion problem with JSP's

2001-10-01 Thread Matthew Boeckman
Hello List! I'm having some difficulty in my conversion from Tomcat 3 to Tomcat 4. Although 3 has been stable, we've never been able to get multiple Vhosts running under a single JVM. Fortunately I have that working with Tomcat4.0 for servlets, but now, for some reason, my JSP's are failing.

Re: Session Timeout

2001-10-01 Thread Fiona
Thanks Kim, it worked a treat! At 12:45 28/09/01 +0200, you wrote: You can do something like that: httpSession.setMaxInactiveInterval(yourintervalasintinseconds)); mfg. integris integrierte computersysteme GmbH i.A. Kim Hübel -- mailto:[EMAIL PROTECTED] http://www.integris.de Telefon:

Tomcat 4.0 and Cocoon on NT4.0 Sp6

2001-10-01 Thread Roger Varley
Hi All I've downloaded Cocoon 2.0b2, followed the instruction to build cocoon.war and copied it into the Tomcat/webapps directory. I then shutdown and restarted Tomcat 4.0. When I try to call http://localhost:8080/cocoon I get the following displayed in the browser. What have I done wrong?

Re: Tomcat as a service

2001-10-01 Thread chris brown
Try a different solution: http://www.alexandriasc.com/software/JavaService/index.html I've used it with Tomcat 3 and 4, plus many other applications. It has a lot of useful configuration options, and I've never seen it crash or whatever. You may wish to modify the supplied install tomcat 4

getResourceAsStream() and exploring the archive

2001-10-01 Thread chris brown
The ServletContext.getResourceAsStream() method is quite useful when you know in advance the names of resources to load. However, I'd like to know if there's any way to explore a WAR file (say, specify a setup subfolder in the WAR archive, then look at its contents). This way, any number of

Re: tomcat3.0-4.0 conversion problem with JSP's

2001-10-01 Thread David Smith
I'm guessing you're using mod_webapp?? If so, check the documentation in the INSTALL.txt file for mod_webapp. The directives needed in httpd.conf are very different than for mod_jserv. On the otherhand, if you already have RTFM, then post relavant parts of your httpd.conf so we can see

RE: has anybody mod_webapp.dll ? Me too!!

2001-10-01 Thread Haller, Joe
Yes, I am also in need of mod_webapp.dll. Does anyone know if there is an expectation for this to be posted? J. Haller -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, October 01, 2001 6:12 AM To: Tomcat-User Subject: has anybody mod_webapp.dll ?

Re: Using jsp / servlets for main web site?

2001-10-01 Thread David Smith
Is this on the default install of Cocoon2 (no edits, mods, etc, ...)?? If so, I got it to run straight out of the box with out a problem. I'm using RC1 at the moment with TC4, Apache 1.3.19, and mod_webapp.so under Mandrake 8. Presently in a development environment until I can learn enough

Re:Tomcat 4.0 and Cocoon on NT4.0 Sp6

2001-10-01 Thread Jonathan Pierce
You should use the Cocoon rc1a release. It works out of the box with Tomcat 4.0 Jonathan Reply Separator Subject:Tomcat 4.0 and Cocoon on NT4.0 Sp6 Author: [EMAIL PROTECTED] Date: 10/1/2001 4:05 PM Hi All I've downloaded Cocoon 2.0b2, followed

Re: Troubles with binding Tomcat 4.0 to Apache 1.3...

2001-10-01 Thread Michael Lindsey
I'm having the same problem. Linux RedHat 6.2, Apache 1.3.20, Tomcat 4.0, mod_webapp.so 1.0 Synax error on LoadModule line in httpd.conf Does anyone have any idea why this is happening? Mike Lindsey Berkeley [EMAIL PROTECTED] wrote: Hi Ich have troubles with binding Tomcat 4.0 to

Examples in Tomcat 4.0

2001-10-01 Thread Kelly Kleinfelder
I installed the tomcat binaries on a Solaris 7 machine. The only configuration changes I made are: 1) changed the http port from 8080 to 7007 and 2) added JAVA_HOME=/opt/jdk to startup.sh I can get the servlet examples to run, but when I try to access the jsp examples I get a Document Contained

RE: has anybody mod_webapp.dll ? Me too!!

2001-10-01 Thread phillip mastroianni
I have build the mod_webapp.dll, but I seem to be having difficulty with Apache recognizing it. I keep getting an statement ... cannont load mod_webapp.dll, cannont find in directory. I have even gone to the effort of putting the full path to the .dll in the httpd.conf file. So, I may have

Re: getResourceAsStream() and exploring the archive

2001-10-01 Thread Craig R. McClanahan
On Mon, 1 Oct 2001, chris brown wrote: Date: Mon, 1 Oct 2001 17:22:05 +0200 From: chris brown [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: getResourceAsStream() and exploring the archive The ServletContext.getResourceAsStream() method is quite useful when

Re: Using jsp / servlets for main web site?

2001-10-01 Thread Heath Stewart
Out of the box, huh? I untar'ed tomcat (already have jdk 1.3.1 and jsse 1.0.2 installed) and got that setup and tested it - no problems. I untar'ed cocoon2 (latest) and did: ./build.sh --Dinclude.webapps.libs=yes -Dinstall.war=$CATALINA_HOME/webapps install This worked okay. I restarted tomcat

Examples of using mod_webapp with multiple virtual hosts?

2001-10-01 Thread Ron Lussier
Can someone send an example of configuring mod_webapp to work with multiple virtual hosts, all using the same IP number? I'm trying to get mod_webapp to work with OS X, and failing entirely. Coyote --- ron lussier / lenscraft fine art giclee prints [EMAIL PROTECTED]

Re: tomcat3.0-4.0 conversion problem with JSP's

2001-10-01 Thread Matthew Boeckman
thanks for the reply. I re-read the install.txt file which is so generic as to be confusing. Eventually I setup a seperate jsp WebAppDeploy directive, but had to was the AddType/AddHandler stuff to get the jsp's to execute... now All of them are throwing exceptions, which i suspect has something

Re: tomcat as service!

2001-10-01 Thread Bruce Carson
Vara, The binaries appear to be forward compatable. One interesting difference is that you have to use forward slashes in the newer version - the backslash directory separator no longer works when specifying the path to your configuration (wrapper.properties)file. A benefit of the newer

Re: Using jsp / servlets for main web site?

2001-10-01 Thread David Smith
The build command looks right. It's the same one I used. The only weirdness I experienced is that Cocoon 2 (beta 2 at least) would core dump the JVM with a seg fault. I fixed that with 'ulimit -s 2048' because Sun JDK 1.3.1 has a bug in it when stack size is set to 'unlimited' under linux.

Re: Tomcat Hanging

2001-10-01 Thread David Frankson
Do a thread dump on the hanging process. Its CTRL-BREAK on a windows machine, I'm not sure of the Solaris equivalent command. It will likely show a few objects waiting indefinitely for some resource. In my experience it has always been my own code that trips up tomcat. Dave -

RE: Tomcat crashes after some requests

2001-10-01 Thread Wesley E. Ribeiro
Ok, thank you all who answered. I'll try a new driver and see if it makes a difference. I've seen the driver list on Sun's page, but since we have a limited time to try and decide, which product do you (or anyone else with experience in this field) recommend ? I'm particularly interested in

Browser continues to run after response received

2001-10-01 Thread Kia Lewis
Hi, I hope I'm posting to the correct list, but here goes! I'm running Tomcat 3.2.3 standalone with IE 5.5 and I'm using Struts 1.0. I have a jsp which contains 2 IFrames which also contain jsp's. I use a javascript to submit one of the pages in the IFrame. The iframe page calls an Action

RE: Browser continues to run after response received

2001-10-01 Thread Jay Burgess
Only because we had a different browser problem that was fixed by the latest IE Service Pack release, I thought I mention that IE 5.5 SP2 is the latest version. In case you're not running the latest, it might be worth verifying your problem against it. Jay -Original Message- From:

RE: Browser continues to run after response received

2001-10-01 Thread Kia Lewis
Unfortunately this isn't the case. I'm using IE 5.5 with SP2. -Original Message- From: Jay Burgess [mailto:[EMAIL PROTECTED]] Sent: Monday, October 01, 2001 3:32 PM To: [EMAIL PROTECTED] Subject: RE: Browser continues to run after response received Only because we had a different

Re: Using jsp / servlets for main web site?

2001-10-01 Thread Heath Stewart
I just started over from scratch and have everything working right except for c2. I've google'd the 'net as much as I can google and haven't found a solution. I've tried several things people have done to get it working (like below), but to no avail: Here's what I've done so far (from the

Re: Using jsp / servlets for main web site?

2001-10-01 Thread Heath Stewart
BTW, here's the log message I get over and over again: 2001-10-01 14:56:09 DEBUG (2001-10-01) 14:56.09:234 [] (/cocoon/docs/s amples/referer/a/a.xml) HttpProcessor[8080][0]/DefaultLogKitManager: Logger for ca tegory root.xslt returned Heath Stewart Systems Administrator / Developer

Re: Using jsp / servlets for main web site?

2001-10-01 Thread David Smith
OK, there should be more info in the logs at webapps/cocoon/WEB-INF/logs. Check it out and maybe post relevant parts to the cocoon-users list to see what they say since this isn't a Tomcat issue any more. Plus that list probably has one or two of the developers around who can offer expert

Default ContentType for JSP

2001-10-01 Thread Plamen Petkov
Hi, [FreeBSD/Apache 1.3.20/Tomcat 4.0] How to set a kinda default Content Type of response in a JSP page ? I am not talknig about META ... content type setting, wich is an HTML issue. JSP-servlet translation always result in a servlet code with: ...

Help, anyone have a set-up up for Tomcat

2001-10-01 Thread Alex Colic
Hi, I distribute Tomcat with my apps. I am trying to create a set-up for Tomcat. I need something better than the zip file. Anyone have a set-up that installs the jdk/jre and Tomcat, adds the environment variables etc. Thanks for any help. Alex Colic

Is tomcat4 and jdk1.4beta2 okay?

2001-10-01 Thread Ali Manji
I recently upgraded my JDK to use jdk1.4 beta 2 and am running tomcat 4.0 the most recent release driver and I am haviing trouble running any of the shipped samples (like numberguess jsp). The error I get is just below, is this a known problem? A Servlet Exception Has Occurred Root Cause:

Hekp regarding Heap Settings

2001-10-01 Thread Mohbe, Sameer
Hi Everyone, Gentlemen i need some help regarding the Heap seetings in JVM. The environment is Linux 7-Tomcat -JDK1.3 .Right now the Heap settings are set to default)i.e. Minimim=1 and Max=64MB. How do we change the settings ,i know its using JVM Commands but where shd we

Re: Tag Problems when Compiling Against New Servlet.jar

2001-10-01 Thread Craig R. McClanahan
These are exactly the errors you would get if you didn't have servlet.jar in your compile classpath at all -- double check your CLASSPATH to ensure that you're pointing at the right place. Craig On Mon, 1 Oct 2001, Hunter Hillegas wrote: Date: Mon, 01 Oct 2001 12:15:12 -0700 From: Hunter

RE: has anybody mod_webapp.dll ? Me too!!

2001-10-01 Thread GOMEZ Henri
Why not take a look at mod_jk with TC 4.0 ? http://jakarta.apache.org/~hgomez/ajp13-tc4.0/ - Henri Gomez ___[_] EMAIL : [EMAIL PROTECTED](. .) PGP KEY : 697ECEDD...oOOo..(_)..oOOo... PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6

tomcat 4 jsvc

2001-10-01 Thread Dom
Does anybody knows how to start tomcat 4 as non root on port 80 under linux using jsvc ? I get an error code 2 Dom

RE: Tomcat 3.2.2 crashes with JDBC

2001-10-01 Thread Vara Prashanth
Hello all: This is a follow up to the problem I was having with MS access driver and Java. I just migrated my database from Access to MS SQL 2000 and stress tested the system. I am still getting an error which causes tomcat to crash. I dont quite know how to analyse the error file language! so

RE: tomcat 4 jsvc

2001-10-01 Thread GOMEZ Henri
Typo : s/roto/root/ it's root not roto :) - Henri Gomez ___[_] EMAIL : [EMAIL PROTECTED](. .) PGP KEY : 697ECEDD...oOOo..(_)..oOOo... PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 -Original Message- From: GOMEZ Henri

PLEASE HELP: HTTP Forwarding or proxy??

2001-10-01 Thread Developer
My system is as below: Internet - Machine1 - Firewall - Machine2 -Machine2 needs to be behind the firewall because it accepts socket communictions. -Machine2 ALSO runs a webserver that needs to be accessed from the Internet. THE PROBLEM - A machine on the Internet CANNOT see

Re: mod_webapp deploy

2001-10-01 Thread Dom
Hi Manri !! So the answer was only to embed my virtual host and context in : Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache debug=0 It works now !! how did you gess that ??? Dom - Original Message - From: Manri Offermann [EMAIL PROTECTED] To: [EMAIL

Fw: Tomcat 4 Apache Windows2000

2001-10-01 Thread Sonideft Solar
Anyone know where a person could find a copy of libapr.dll. The documentation says that I need it to load mod_webapp.so. It is probably right as I get an error loading it now. The following is from the install.txt file: For Windows your LoadModule directive looks like: LoadModule webapp_module

Tomcat 4.0 specification compliance

2001-10-01 Thread ewright
Hi There, How compliant is Tomcat 4.0 with the Servlet 2.3 and JSP 1.2 specifications? the Jakarta site specifies that: Version 4.0 implements the final released versions of the Servlet 2.3 and JSP 1.2 specifications I guess that I am wondering at the use of the wording implements I have

Taglibs Jasper CompileException

2001-10-01 Thread James Adams
I am getting a weird exception message when I try to use a taglib. I hope somebody reading this forum can enlighten me. This is my first foray into using taglibs. I have a JSP which has the following lines of code in place to use my taglib: %@ taglib uri=/WEB-INF/errorMessages-taglib.tld

RE: I Am So Dumb I Cannot Get Tag Libs to Work

2001-10-01 Thread Vel Periasamy
Do you have your web.xml entries right? Try isolating the problem, specify /WEB-INF/gs_tags.tld for the uri attribute in the taglib directive and see what happens. Hope this helps. -Velmurugan Periasamy http://www.aegis.net -Original Message- From: Hunter Hillegas [mailto:[EMAIL

RE: I Am So Dumb I Cannot Get Tag Libs to Work

2001-10-01 Thread Vel Periasamy
If you are using JSP 1.2, the tags should be tlib-version and jsp-version instead of tlibversion and jspversion (these are JSP 1.1 tags) -Velmurugan Periasamy. http://www.aegis.net -Original Message- From: Hunter Hillegas [mailto:[EMAIL PROTECTED]] Sent: Monday, October 01, 2001 6:44

tomcat4 and JDBCRealm problem

2001-10-01 Thread Epling, Bob
Hi all, I have tomcat4 set up on my winnt machine and it works fine with basic Memory realm authentication. I followed the steps in setting up a JDBCRealm using mysql and I get the following error when starting Tomcat: Starting service Tomcat-Standalone Apache Tomcat/4.0 Catalina.start:

RE: Tomcat 3.2.2 crashes with JDBC

2001-10-01 Thread Vara Prashanth
Hello all: This is a follow up to the problem I was having with MS access driver and Java. I just migrated my database from Access to MS SQL 2000 and stress tested the system. I am still getting an error which causes tomcat to crash. I dont quite know how to analyse the error file language! so

i can't connect apache to tomcat 4 :(

2001-10-01 Thread Keith Lea
I just installed tomcat 4.0 on redhat linux 2.2.16-22, apache 1.3.12, and I can't figure out how to get it connected to apache! it works to browse to kano.net:8080/examples but not to kano.net/examples. help please :) here's server.xml: Server port=8005 shutdown=SHUTDOWN debug=0 [..

Coding Tags the Right Way

2001-10-01 Thread Hunter Hillegas
I have the Manning book, JSP Tag Libraries which I've been using to help develop some of my first tags. For their iterator tags that work with beans, they use a lot of reflection. I've not used reflection much in projects before this but I seem to remember from my education that reflection is a

Any reason to use Apache w/ Tomcat for webapp with all dynamic web pages?

2001-10-01 Thread David M. Karr
If you're committed to a project where virtually all of the pages will be dynamically generated, through JSP most likely, and you're committed to using Tomcat, is there ANY good reason to use Apache, in addition to Tomcat? I surveyed the FAQ, and I didn't notice this question being specifically

configuring tomcat/apache

2001-10-01 Thread Chandramouli
How do i configure apache to dynamically load contexts from tomcat. Regards Chandra

RE: get Servlet Context Name

2001-10-01 Thread Deacon Marcus
Hi, Depends on what exactly you need. You could use .getRealPath(/) to get a String like /tomcat/webapps/my-web-app/, then you can parse it to isolate the my-web-app part. Personally, I use a Filter (but load-on-webapp-init Servlet will do) that takes a parameter like webapp=webapp.com and stores

Re: Any reason to use Apache w/ Tomcat for webapp with all dynamic web pages?

2001-10-01 Thread David Wall
Hey David, Don't know if you remember me from GTE NMO or not... Hope all's well with you and BEST. Apache supports HTTP 1.1 whereas the last I heard, Tomcat was only HTTP 1.0, so each request comes over it's own connection rather than sharing as with Apache. This means that Apache is still a

Re: Tomcat 4.0 specification compliance

2001-10-01 Thread Craig R. McClanahan
On Mon, 1 Oct 2001 [EMAIL PROTECTED] wrote: Date: Mon, 1 Oct 2001 15:28:44 -0700 From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Tomcat 4.0 specification compliance Hi There, How compliant is Tomcat 4.0 with the Servlet 2.3 and JSP 1.2

Re: tomcat4 and JDBCRealm problem

2001-10-01 Thread Craig R. McClanahan
The fact that you are getting a SQLException (rather than a ClassNotFoundException) implies that the problem is *not* in locating the driver - it is in the parameters you are specifying to establish the database connection. Double (and triple) check your values for the connectionName,

Re: get Servlet Context Name

2001-10-01 Thread Craig R. McClanahan
On Mon, 1 Oct 2001, chiuming wrote: Date: Mon, 1 Oct 2001 18:19:09 -0700 (PDT) From: chiuming [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: get Servlet Context Name hi, any way I can get a servlet context ( web application )'s name with in a servlet? on

Re: Any reason to use Apache w/ Tomcat for webapp with all dynamicweb pages?

2001-10-01 Thread Craig R. McClanahan
On 1 Oct 2001, David M. Karr wrote: Date: 01 Oct 2001 18:20:07 -0700 From: David M. Karr [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Any reason to use Apache w/ Tomcat for webapp with all dynamic web pages? If you're committed to a project where

RE: Any reason to use Apache w/ Tomcat for webapp with all dynamicweb pages?

2001-10-01 Thread Craig R. McClanahan
On Mon, 1 Oct 2001, John Dell wrote: Date: Mon, 1 Oct 2001 18:43:55 -0700 From: John Dell [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Any reason to use Apache w/ Tomcat for webapp with all dynamic web pages? Even in the most dynamic sites, I

Re: Any reason to use Apache w/ Tomcat for webapp with all dynamicweb pages?

2001-10-01 Thread Craig R. McClanahan
On Mon, 1 Oct 2001, David Wall wrote: Apache supports HTTP 1.1 whereas the last I heard, Tomcat was only HTTP 1.0, Tomcat 4 supports HTTP/1.1 in stand-alone mode (including persistent connections). Craig McClanahan

Re: Any reason to use Apache w/ Tomcat for webapp with all dynamic web pages?

2001-10-01 Thread David Wall
* If you have Apache already installed, and don't want users to use a non-port-80 URL for JSP/servlet based applications. Very true, otherwise you need to run Tomcat as root. Also, Apache itself has some nice features, like mod_rewrite that can be helpful to handles changes in structure and

Re: Any reason to use Apache w/ Tomcat for webapp with all dynamic web pages?

2001-10-01 Thread David Wall
* If you have lots of static content that can be served from a directory other than the webapp's context path (right now, current Tomcat versions serve static content within the webapp directory faster stand-alone than they do behind Apache). Craig, what happens if the images are IN

RE: get Servlet Context Name

2001-10-01 Thread chiuming
could you tell me more how to make a filter? are you meaning init-parameter in web.xml? inorder to call getRealPath(/), I think I must have a request. anyway I can get the path(context) name during servlet init() stage? thanks again. --- Deacon Marcus [EMAIL PROTECTED] wrote: Hi, Depends on

Re: Any reason to use Apache w/ Tomcat for webapp with all dynamicweb pages?

2001-10-01 Thread Craig R. McClanahan
On Mon, 1 Oct 2001, David Wall wrote: Date: Mon, 1 Oct 2001 20:18:37 -0700 From: David Wall [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED], David Wall [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Any reason to use Apache w/ Tomcat for webapp with all dynamic web pages? * If

Re: Any reason to use Apache w/ Tomcat for webapp with all dynamicweb pages?

2001-10-01 Thread Craig R. McClanahan
On Mon, 1 Oct 2001, David Wall wrote: Date: Mon, 1 Oct 2001 20:26:44 -0700 From: David Wall [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED], David Wall [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Any reason to use Apache w/ Tomcat for webapp with all

RE: get Servlet Context Name

2001-10-01 Thread Craig R. McClanahan
On Mon, 1 Oct 2001, chiuming wrote: Date: Mon, 1 Oct 2001 20:45:19 -0700 (PDT) From: chiuming [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: get Servlet Context Name could you tell me more how to make a filter? are you meaning init-parameter in

RE: get Servlet Context Name

2001-10-01 Thread Thys De [EMAIL PROTECTED]
Have you tried restarting the Apache server ? -Original Message- From: chiuming [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 02, 2001 5:45 AM To: [EMAIL PROTECTED] Subject: RE: get Servlet Context Name could you tell me more how to make a filter? are you meaning init-parameter in

AW: Tomcat 3.2.2 crashes with JDBC

2001-10-01 Thread Ralph Einfeldt
You are still using the JdbcOdbc bridge to connect to the database. So what others said about the stability of it, is still true, no matter which database you connect to. The cheapest solutions (in terms of license fees) I know: http://www.freetds.org/download.html (Not feature