Tomcat 4.0 and clustering

2001-10-04 Thread Amit Bakore
Hi, We have developed a Media Component Archival system , which stores everything in XML format. For this application we are using Apache 1.3.20 w/ Tomcat 3.2.3 combination. We are also using search engine to index our components. We are interested to make our application *distributed* to suppo

Must servlets be inside WEB-INF/classes pr /lib?

2001-10-04 Thread Firestar
Hi, I'm using TC 4.0, and my servlets (due to some constraints) must be placed in a separate folder, e.g. E:\myclasses\servlets instead of the recommended Servlet Deployment structure, i.e. WEB-INF/classes or WEB-INF/lib. Is this possible in TC? I know in JRun it is possible to do so by specify

## Reduce Tomcat Real memory used ##

2001-10-04 Thread Sam
Hi everybody, I want to minimize the tomcat RSS memory. (./startup.sh) I use "ps -A v too check the data. == PID TTY STAT TIME MAJFL TRS DRS RSS %MEM COMMAND 15614 ?S 0:01356152 2679 1852 1.4 /usr/local/sbin/snmpd 11168 ?S

inetinfo.exe mem error, works only on 8080,TomCat 3.2.3, IIS 5, Win2k Adv Server

2001-10-04 Thread rwong 1
Hi, I installed TomCat 3.2.3 and isapi_redirect.dll, registry setup etc. ISAPI filter has a green arrow showing (means working) But when I request JSP pages, I get a inetinfo.exe mem error. I know it has to do with IIS because TomCat works for localhost:8080/mypage.jsp (8080 is the port# for To

Tomcat 4.0 standalone webserver.

2001-10-04 Thread Danny Heinen
Hi, I use the Tomcat 4.0 standalone webserver for an Intranet application. I currently don't need that much performance, and thus don't need the Apache webserver. I generate log files (with log4J) in my application context, making them available for the administrator, by using the browser. At th

Re: Forward Request alogn with Parameters

2001-10-04 Thread simon
Just found something in the API docs that might be of help: getRequestDispatcher public RequestDispatcher getRequestDispatcher(java.lang.String path) Returns a RequestDispatcher object that acts as a wrapper for the resource located at the given path. A RequestDispatcher object can be used to fo

RE: Forward Request alogn with Parameters

2001-10-04 Thread Thys De [EMAIL PROTECTED]
If i remember getServletContext has been deprecated and now returns a null .. -Original Message- From: Brian Richards [mailto:[EMAIL PROTECTED]] Sent: Friday, October 05, 2001 3:32 AM To: [EMAIL PROTECTED] Subject: Forward Request alogn with Parameters I get a null pointer exception at

RE: Question on FORM based authentication in Tomcat 4.0

2001-10-04 Thread Craig R. McClanahan
On Fri, 5 Oct 2001, Willie Vu wrote: > Date: Fri, 5 Oct 2001 12:14:27 +0800 > From: Willie Vu <[EMAIL PROTECTED]> > To: Craig R. McClanahan <[EMAIL PROTECTED]>, [EMAIL PROTECTED] > Subject: RE: Question on FORM based authentication in Tomcat 4.0 > > Thanks for your prompt reply Craig. > > Your

RE: Question on FORM based authentication in Tomcat 4.0

2001-10-04 Thread Willie Vu
Thanks for your prompt reply Craig. Your advice leads me to another question. OK, say I don't do that. I let Tomcat handle the login for me. However, you can bookmark the login page that Tomcat forwards them to. In this case, there is no way to stop users from access the login page directly.

password protecting pages in a directory

2001-10-04 Thread Rob Smyth
I'm putting all my admin content management pages into a directory inside root. Is there anyway I can password protect those pages? i.e. password protect the directory? winmail.dat

inetinfo.exe mem error, works only on 8080,TomCat 3.2.3, IIS 5, Win2k Adv Server

2001-10-04 Thread rwong 1

Re: Question on FORM based authentication in Tomcat 4.0

2001-10-04 Thread Craig R. McClanahan
On Fri, 5 Oct 2001, Willie Vu wrote: > Date: Fri, 5 Oct 2001 11:27:59 +0800 > From: Willie Vu <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED], [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Question on FORM based authentication in Tomcat 4.0 > > I would like to achieve the following: >

Cookies not working in Tomcat why?

2001-10-04 Thread Jovie Castaneda
Hope to have some inputs from you. I'm having trouble implementing cookies in Tomcat I wrote the following codes Cookie cookie1 = new Cookie("User_ID", Integer.toString(userid)); Cookie cookie2 = new Cookie("MerchantID", Integer.toString(merchantID)); Cookie cookie3 = new Cookie("SecurityLevel",

Question on FORM based authentication in Tomcat 4.0

2001-10-04 Thread Willie Vu
I would like to achieve the following: - allow user to login directly without first accessing a protected area. After successful login, I want to forward the user to a default mypage.jsp. To do the above, I have to detect if login page is accessed directly. If so, I need to force in the default

Does anyone have an EAPI mod_webapp? (was Re: mod_webapp connector on linux - HELP!)

2001-10-04 Thread Keith Lea
- Original Message - From: "David Ward" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 04, 2001 7:07 PM Subject: Re: mod_webapp connector on linux - HELP! > PS: I'm still looking forward to seeing a mod_webapp-eapi.so release... me too!!! has anyone gotten it to com

SSL, Apache and Tomcat

2001-10-04 Thread Charles Baker
I'm setting up apache and tomcat to process some credit card info and other personal data via verisign. For the moment, Apache and tomcat live on the same box. Do I need just one certificate or two? I will read more on apache and ssl, but there isn't much to the tomcat-ssl howto... = - [EMAIL

Re: Forward Request alogn with Parameters

2001-10-04 Thread Dmitri Colebatch
It looks like the request dispatcher isn't being found. try using "/vieworder.jsp" or whatever the location relevant to your base is. cheers dim On Thu, 4 Oct 2001, Brian Richards wrote: > I get a null pointer exception at dispatcher.forward() am i doing something > wrong? > > thanks > > br

How to make Apache's docroot a tomcat webapp?

2001-10-04 Thread Charles Baker
I want apache's docroot to point to a webapp directory containing static content as well as servlets and jsp's. I only have one site on this machine. do i still need to set up a virtual server in httpd.conf like this: DocumentRoot /web/host1 ServerName host1.apache.org J

Forward Request alogn with Parameters

2001-10-04 Thread Brian Richards
I get a null pointer exception at dispatcher.forward() am i doing something wrong? thanks brian request.setAttribute("custName",custName); request.setAttribute("custStreet",custStreet); request.setAttribute("custZip",custZip); request.setAttribute("custEmail",custEmail); request.setAttribute("

Passing Envs var from Apache 1.3 to Tomcat4

2001-10-04 Thread Kashyap Vaswani
How do you get the environment variable passed from Apache 1.3 to Tomcat 4.0. We had a way earlier in Tomcat 3.2 with mod_jk.so to specify JkEnvVar in the httd.conf file of Apache. What is the equivalent of this with Tomcat 4 and mod_webapp.so ? Regards, Kashyap __

RE: HELP PLS

2001-10-04 Thread Jovie Castaneda
Yepp got it thanls a lot it owrked now :) -Original Message- From: John Michael Luy [mailto:[EMAIL PROTECTED]] Sent: Friday, October 05, 2001 9:51 AM To: [EMAIL PROTECTED] Subject: Re: HELP PLS i think you need to include in your classpath tools.jar which is usually found in jdk/lib. a

RE: HELP PLS

2001-10-04 Thread menonv
missing tools.jar > -Original Message- > From: Jovie Castaneda [SMTP:[EMAIL PROTECTED]] > Sent: Friday, October 05, 2001 12:40 AM > To: [EMAIL PROTECTED] > Subject: HELP PLS > > How do i solve this prob in Tomcat when im accessing JSP sample codes? :( > > java.lang.NoClassDefFoun

Re: HELP PLS

2001-10-04 Thread John Michael Luy
i think you need to include in your classpath tools.jar which is usually found in jdk/lib. also remember to set your JAVA_HOME to your jdk directory. - Original Message - From: "Jovie Castaneda" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 05, 2001 7:40 AM Subject: H

HELP PLS

2001-10-04 Thread Jovie Castaneda
How do i solve this prob in Tomcat when im accessing JSP sample codes? :( java.lang.NoClassDefFoundError: sun/tools/javac/Main at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:128) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:238)

Re: mod_jk & Tomcat 4.0

2001-10-04 Thread Remy Maucherat
> That begs the question - is that going to use the mod_webapp stuff as well? No. > Can one use the mod_webapp without the ajp13 connector. Yes. Remy

RE: Forward to different website.

2001-10-04 Thread Dmitri Colebatch
On Fri, 5 Oct 2001, menonv wrote: > Doesn't the request dispatcher work within the context of the > application/container? Shouldn't you be using sendRedirect instead? correct. > > > -Original Message- > > From: Bob Byron [SMTP:[EMAIL PROTECTED]] > > Sent: Friday, October 0

Re: Forward to different website.

2001-10-04 Thread David Wall
You can't forward across contexts, I don't think. You can response.sendRedirect() to any URL if that's all you need. David - Original Message - From: "Bob Byron" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 04, 2001 4:11 PM Subject: Forward to different website.

RE: Forward to different website.

2001-10-04 Thread menonv
Doesn't the request dispatcher work within the context of the application/container? Shouldn't you be using sendRedirect instead? > -Original Message- > From: Bob Byron [SMTP:[EMAIL PROTECTED]] > Sent: Friday, October 05, 2001 12:11 AM > To: [EMAIL PROTECTED] > Subject: Forward to

RE: mod_jk & Tomcat 4.0

2001-10-04 Thread menonv
That begs the question - is that going to use the mod_webapp stuff as well? Can one use the mod_webapp without the ajp13 connector. Didn't see anything about using ajp13 anywhere. Vinay > -Original Message- > From: Remy Maucherat [SMTP:[EMAIL PROTECTED]] > Sent: Friday, October 05, 2001

Re: mod_jk & Tomcat 4.0

2001-10-04 Thread Remy Maucherat
> Vinay, > > Sorry to follow this from one list to another, but I found the > tomcat4-mod_jk link: > http://jakarta.apache.org/~hgomez/ajp13-tc4.0/ The AJP 1.3 JAR will be distributed with Tomcat 4.0.1. It won't be enabled by default (since it lacks some real world testing), but there will be a c

Simple log question

2001-10-04 Thread Andrew Standley
Hi, I posted a long winded question but have a much simpler one now too! I use perl to post up to a web site. The Apache log file says it got it. I define a virtual host and this should pass it on to Tomcat. The perl program says "internal server error". I have two Tomcat's runni

Forward to different website.

2001-10-04 Thread Bob Byron
I need to forward to a different website entirely from inside my servlet. I tried using the following code: RequestDispatcher rd = getServletContext().getRequestDispatcher("//otherwebsite.com/page.html"); rd.forward(request, response); But it didn't seem to want to forward anywhere. I

Re: mod_webapp connector on linux - HELP!

2001-10-04 Thread David Ward
Actually, you DON'T have to define your context(s) within VirtualHost directives. I was finally able to get mod_webapp working against standalone catalina (but not with jboss/catalina). What I had to do was this: 1) drop mod_webapp.so in my modules directory 2) make sure ServerName localhost w

Re: mod_jk & Tomcat 4.0

2001-10-04 Thread David Ward
Vinay, Sorry to follow this from one list to another, but I found the tomcat4-mod_jk link: http://jakarta.apache.org/~hgomez/ajp13-tc4.0/ However, you're right - mod_webapp (warp connections) is the preferred interface to use with catalina, not mod_jk (ajp12/13 connections). And, hopefully no

tomcat + apache + virtual host - context problem -- help !!

2001-10-04 Thread Andrew Standley
Hi, We have one sun box with two IPs, not name-based. I want to run one apache, one tomcat but two tomcat web apps. They live in /export/home/usrlocal/tomcat/webapps/ . Both have servlets and jsp. The servlets live under /usr/local/tomcat/webapps/cusweb/WEB-INF/classes/nz/co/ecnetwork/customs

Re: mod_webapp connector on linux - HELP!

2001-10-04 Thread John Cartwright
James, I'm confused about what goes in the section. Do my WebAppConnection and WebAppDeploy go there? Can you point me to an example - something like "Tomcat4-Apache.HowTo" Thanks! -- john James Williamson wrote: > > > Actually, I am not setting up virtual hosts like you are, so the > > mo

RE: mod_jk & Tomcat 4.0

2001-10-04 Thread menonv
Got it ... They mod_webapps are available at http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0/bin/ Regards, Vinay > -Original Message- > From: menonv [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, October 04, 2001 10:54 PM > To: [EMAIL PROTECTED]; Tomcat Developer List >

Starting Tomcat at bootup

2001-10-04 Thread Benjamin Bostow
I need to start Tomcat when the server is booting up, before Apache is stated. I am running on Red Hat 6.2.

Re: HttpServletRequest

2001-10-04 Thread pducuron \(charter\)
check the source code http://jakarta.apache.org/builds/jakarta-servletapi-4/nightly/src/ - Original Message - From: "A.L." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 04, 2001 3:21 PM Subject: HttpServletRequest > My problem isn't directly related to Tomcat, bu

Serialization

2001-10-04 Thread John J Brecht
Despite the fact that serialver shows all the objects that my app uses to be serializable, i still get a NotSerializableException when I shut down tomcat. 2001-10-04 15:32:15 StandardManager[/DLServlet] Cannot serialize session attribute searchResults for session 84F5340285B3698849421230B8D9B2C3

Re: Web App Config with XML

2001-10-04 Thread Will Stranathan
I think the Struts Digester is a pretty good example - but I kinda' doubt it's exactly what you're looking for. Will Stranathan Hunter Hillegas wrote: > Anyone have a good example of using an XML file to configure a Web app (i.e. > having an XML full of external data the Web app needs to start

HttpServletRequest

2001-10-04 Thread A.L.
My problem isn't directly related to Tomcat, but understanding how tomcat works may help me. I am trying to modify the header of an Http request. Specifically I am trying to modify the Authentication info. I have been unable to find any useful information on how to change this data. What i am

changing tomcat port

2001-10-04 Thread Henry
i am using apache 1.3.20 +tomcat3.2.3 everything works fine when tomcat is running at port 8080 when I change tomcat to work at port 80 by changing TOMCAT_HOME\conf\server.xml ... it works for static files (html), but tomcat will crash whenever i point to jsp/serlet, and the errorlog is shown b

building mod_jk for apache 1.3 on AIX 4.3.3

2001-10-04 Thread Matthew . Smith
I am attempting to use the build-unix.sh included with tomcat 3.3 release to call the apxs command and build the mod_jk module. I receive the following error: apxs:Break: Command failed with rc=16711680 I modified the build-unix.sh file as indicated below, but I don't have a directory named ai

no conf/auto directory

2001-10-04 Thread Brett Crossley
I am trying to integrate JBoss-2.4.1_Tomcat-3.2.3 to Apache. This was a question about why I don't have a mod_jk.conf-auto file. I still don't have the file, and I also don't have an auto directory under conf. Has anyone ever seen this before? The How-to makes it sound like all this should be eng

RE: Urgent: Tomcat-3.2.3 doesn't compile pages jsp

2001-10-04 Thread Durham David Cntr 805CSS/SCBE
Do you have your workers file configured properly? -Original Message- From: Mapoteca Rio [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 04, 2001 1:32 PM To: [EMAIL PROTECTED] Subject: Re: Urgent: Tomcat-3.2.3 doesn't compile pages jsp Thanks, Sriram. I execute o apachectl status and

WebappClassLoader: Resource .class' is missing ??

2001-10-04 Thread Chuck . Irvine
We just recently upgraded to Tomcat 4.0. To enable class reloading for our webapp, I inserted: into the server.xml file. Reloading seems to work about 75% of the time. Other times we get a message of the form: WebappClassLoader: Resource '/WEB-INF/classes/com/sprint/fms/servlet/GetCktW

RE: Question about WAR and application deployment

2001-10-04 Thread Jose Escobar
I am locally, and I did the install as I specified before: http://localhost:8181/manager/install?path=/test&war=file:///C:/Program Files/Apache Tomcat 4.0/webapps/test/ And if I go to http://localhost:8181/test/ServletName it says file not found error What should be inside a .war file? Thanx i

Re: Chaning location of initial web page

2001-10-04 Thread Charles Baker
Well, I hope I'm getting this right. Any directory( or *.war or *.tar.gz or *.jar file) right under webapps that has the proper structure will be automatically loaded as a context. What does your server.xml say about the root, '/', context? What if you change the root directory to another name and

RE: Question about WAR and application deployment

2001-10-04 Thread Durham David Cntr 805CSS/SCBE
If you use a file URL then it assumes that you are pointing to the file or directory on the machine (server). That means you have to put the application on the server first, FTP, or some other means. If you're working locally it's much easier. If you use some other url for the war parameter as

RE: Issue with running the tests

2001-10-04 Thread Jon Earle
Thanks for the tip Larry! Cheers! Jon -Original Message- From: Larry Isaacs [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 02, 2001 1:05 PM To: '[EMAIL PROTECTED]' Subject: RE: Issue with running the tests There was an improvement in Ant 1.4 that is incompatible with the GTest curre

Question about WAR and application deployment

2001-10-04 Thread Jose Escobar
Can anyone please tell me what is a local web application archive? Another thing after I create this: http://localhost:8181/manager/install?path=/test&war=file:///C:/Program Files/Apache Tomcat 4.0/webapps/test/ Where do I store the class files and how do I invoke them? Thanx in advance, Jose

RE: Will tomcat sessions work with IE6?

2001-10-04 Thread Brandon Cruz
Actually, I just found out that the IE6 we were using was the last beta release before the final version. Haven't had a chance to try the actual final release yet, from everyone's comments though, I assume it works. -Original Message- From: Jonathan Eric Miller [mailto:[EMAIL PROTECTED]]

Re: How to install tomcat 4.0 as Windows 2000 service?

2001-10-04 Thread Jens Kühnberger
I also tried to install the EXE Version of tomcat 4 on Windows 2000 as a service, but when I start the service tomcat seem to hang up. I get the following error message when I shut down the service after some time : Stopping service Tomcat-Standalone Catalina.stop: LifecycleException: HTTP con

Help: JNDI InitialContext failure with Tomcat 3.2.3 and JBoss 2.4.1

2001-10-04 Thread Alistair Bayley
[ Sent this once already but it didn't appear on the list so here we go again... ] I'm getting this in my tomcat.log when creating the jndi InitialContext: javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory. Root exception is java.lang.Cl

Re: Will tomcat sessions work with IE6?

2001-10-04 Thread Jonathan Eric Miller
If you use the default privacy settings for IE6, it should work fine. As you noted, third party cookies are blocked by default. However, the cookie that Tomcat uses for session IDs isn't a third party cookie. Jon - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent

Re: Will tomcat sessions work with IE6?

2001-10-04 Thread Jonathan Eric Miller
- Original Message - From: "Reynir Hübner" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 02, 2001 4:29 PM Subject: RE: Will tomcat sessions work with IE6? > I´ve also made few tests on this, sessions are being created both when > user is logged on and not. > > the o

Re: Urgent: Tomcat-3.2.3 doesn't compile pages jsp

2001-10-04 Thread Mapoteca Rio
Hi, Jack I have had this configuration in files described. I have one solaris 2.8 with apache 1.3.12 and tomcat3.2.3 and mod_jk that works very well. But, in my client, with this same cofiguration, doesn't work. I have to go there tomorrow and i don't know what i can do. thanks mapoteca-rio

Re: Urgent: Tomcat-3.2.3 doesn't compile pages jsp

2001-10-04 Thread Jack Lauman
Try the following, your're 'server-info' report does not indicate that mod_jk is configured: Make sure you have something like the following the Apache httpd.conf file: Include /usr/java/tomcat/conf/mod_jk-auto.conf JkWorkersFile /usr/java/tomcat/conf/workers.properties JkLogFile /usr/java/tomca

Re: How to install tomcat 4.0 as Windows 2000 service?

2001-10-04 Thread Will Stranathan
If you use the EXE version of the Tomcat installer, check the checkbox that says "Install Tomcat as a Service". Will Stranathan On Thu, 4 Oct 2001 19:40:39 +0200 [EMAIL PROTECTED] wrote: > Can anyone help me how to install tomcat 4.0 as service > on windows 2000? > > Thanks > > Andreas Spiel

Re: Urgent: Tomcat-3.2.3 doesn't compile pages jsp

2001-10-04 Thread Mapoteca Rio
Thanks, Sriram. I execute o apachectl status and verify that mod_jk has been loaded. Do you have another suggestion? att. mapoteca-rio --- Sriram Narayanan <[EMAIL PROTECTED]> wrote: > Umm.. perhaps that's apache returning the contents > of the page ? > > I guess Tomcat's responding on port 80

Writing to .jhtml file

2001-10-04 Thread Kiran
Hello I have a pretty weird problem in here! I'm using Tomcat 3.2.2 with apache and my application is mostly Servlets. At one of the places i need to print some information to a .jhtml file but i'm unable to, using tomcat! The same thing was working pretty fine with Apache Jserv previously b

Re: Driver fails to load on two webapps

2001-10-04 Thread Brian Richards
Thanks for all the replies I got from everyone. Some extra bits of information. I'm not using a connection pool in one application but I am using a pool in the other (Jive www.jivesoftware.com). I'm gonna try out the different scenrios and see if anything else works. I'll report my findings whe

tomcat security

2001-10-04 Thread Henry
i am wondering if Tomcat has security features for its jsp/servlet so i don't need to do RSA encoding myself in taglibs...

Problem with log directories

2001-10-04 Thread aaron . titus
I have set up a new context at the system path: /home/web/live_site Within this path I have created: conf/ webapps/ work/ logs/ It finds and autoloads the contexts under webapps, and writes the generated .conf files to the /home/web/live_site/conf directory, but the tomcat.log, jasper.log and

How to install tomcat 4.0 as Windows 2000 service?

2001-10-04 Thread andreas . spielvogel
Can anyone help me how to install tomcat 4.0 as service on windows 2000? Thanks Andreas Spielvogel

RE: Driver fails to load on two webapps

2001-10-04 Thread Craig R. McClanahan
On Thu, 4 Oct 2001, Brett Knights wrote: > Date: Thu, 4 Oct 2001 09:57:08 -0700 > From: Brett Knights <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: RE: Driver fails to load on two webapps > > > > > Might i try moving the jar to WEB-INF\classes instead of W

Re: Question

2001-10-04 Thread David Ward
Didn't you just answer your own question? ;) LOL! OK, on a more serious note, you should look into having your clients bundle their servlets into war files - it will make it much easier for you to manage. If you don't know what a war file is, you should probably read some documentation. You

now chat at javasoft about tomcat

2001-10-04 Thread Mauricio Nuñez
now chat at javasoft about tomcat

Flash Presentation w/ Tomcat 4.0

2001-10-04 Thread Haller, Joe
We have a Flash presentation that is included on a main JSP page for our webapp. The first time the page is accessed, the browser will hang - definitely because of the presence of the Flash presentation. If you then refresh the page, the presentation loads and all is well. Is would be inconve

jsp tools

2001-10-04 Thread Henry
sorry for a less relavant question: what tools are you using for writing jsp? i mean that does the graphics layout WISWIG way, also free of charge (does jakarta project has this kind of tool included?)

still missing mod_jk.conf-auto

2001-10-04 Thread Brett Crossley
Still no luck. Does this work for everyone else when doing the default install? Am I looking for the mod_jk.conf-auto in the right place? I assumed it would just show up in my conf directory after the server started. I am starting Tomcat under JBoss, does that make a difference? [Brett Crossley]

Question

2001-10-04 Thread Jose Escobar
If I have a client that wants to run servlets, what do I need to do in order for his servlets to work? Thanx, Jose PD: I'm using Tomcat 4.0

RE: Driver fails to load on two webapps

2001-10-04 Thread Brett Knights
> > Might i try moving the jar to WEB-INF\classes instead of WEB-INF\lib ? Wouldn't work. Jars are only loaded from the lib directory. As you did I ended up with my driver jar file in a common directory (lib/common for tc3.3) I have a connection pool manager (bitmechanic) and I keep its jar in

Re: clientAuth problems

2001-10-04 Thread Craig R. McClanahan
On Thu, 4 Oct 2001, Phil Spencer wrote: > > javax.servlet.ServletException: Class com.csfs.spencer.phil.GetRemoteUser > is not a Servlet 99% of the time this is caused by having a "servlet.jar" or "j2ee.jar" file in your Java system extensions directory ($JAVA_HOME/jre/lib/ext). This messes

Re: Changing Tomcat Port 8080

2001-10-04 Thread Héctor Garcia Peris
At 13:16 04/10/01 -0400, you wrote: >There is a confliced between programs on port 8080. I need to change >Tomcat to listen to another port other than 8080. The other aplication >requires Apache to use port 8080. Can anyone tell me how to change the >port number that Tomcat uses? Look at the s

RE: Changing Tomcat Port 8080

2001-10-04 Thread Brett Crossley
Look for the following in your server.xml file. That file will be in [TOMCAT_HOME]/conf change the 8080 to the port you want. Brett. -Original Message- From: Benjamin Bostow [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 04, 2001 1:16 PM T

Changing Tomcat Port 8080

2001-10-04 Thread Benjamin Bostow
There is a confliced between programs on port 8080. I need to change Tomcat to listen to another port other than 8080. The other aplication requires Apache to use port 8080. Can anyone tell me how to change the port number that Tomcat uses?

RE: Problem accessing servlets on Netscape

2001-10-04 Thread Phil Spencer
I had this problem once. In my case it turned out to be slightly incorrect syntax for a stylesheet. IE thought it was OK, Netscape belched. Try writing the offending page content to a file and opening it locally. A binary chop on the content of the file should isolate the problem quickly Phil --

Re: Chaning location of initial web page

2001-10-04 Thread Yoav Shapira
Hi, You can always use HTML or JSP forwarding, along the lines of: Or something like JSP Forwarder Good luck, Yoav Ryan Brown wrote: > We are having a alot of trouble changing the location of the first page that > displays on Tomcat 3.2.3 server. If i start the server and then p

Problem accessing servlets on Netscape

2001-10-04 Thread Kiran
Hi I'm pretty new to Tomcat and so would really appreciate some help. I have an application consisting of java servlets running on Apache/tomcat. It works fine on IE but when i try accessing the servlets from Netscape it brings up the contents of the original file! Can anyone please help me

Chaning location of initial web page

2001-10-04 Thread Ryan Brown
We are having a alot of trouble changing the location of the first page that displays on Tomcat 3.2.3 server. If i start the server and then point my browser to http://localhost:8080/ it brings up the following file: d:\jakarta-tomcat-3.2.3\webapps\root\index.html how do I change this so that it

clientAuth problems

2001-10-04 Thread Phil Spencer
I'm having difficulty with client authorisation. Actually I suppose thse are two separate problems. Problem 1 = With tomcat 3.x (various versions) I can enable SSL without clientAuth and everything works fine. However when I enable clientAuth the web browser (Netscape Navigator 4.07) says

Re: Tomcat 4.0 - HttpSessionListener lockup in sessionDestroyed()

2001-10-04 Thread pixel
Will do Being somewhat green to Tomcat and the new Servlet API, I just wanted to make sure I wasn't missing something obvious before officially considering this as a 'bug' Craig R. McClanahan wrote: >In order to avoid this problem report getting lost, *please* report it in >our bug tracki

Multiple WEB-INF

2001-10-04 Thread Brent Johnson
I saw some posts in the mailing list archives about this but haven't really found the solution. I've got a "development" location and a "staging" location where I keep all my JSP files (and XML using Cocoon). I've then got virtual host entries for both sites. The problem is, I'd like to separat

RE: Writing to files from Servlets

2001-10-04 Thread Jim Urban
Tim, You could try this: String contextPath = new String(getServletContext().getRealPath("/")); Then append your file name. Jim -Original Message- From: Timothy Fisher [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 04, 2001 10:07 AM To: [EMAIL PROTECTED] Subject: Writing to files f

Re: Odd exception

2001-10-04 Thread Frank Lawlor
The line 2001-10-04 02:45:40 - Ctx() : Exception in R( + /index.jsp + null) - indicates that it is looking for index.jsp at a level parallel to you context. Normally you would expect to see R(/contextRoot + /index.jsp ...). Since /contextRoot/../index.jsp doesn't exist, that may be causing the nu

How to develop custom user authentication for Tomcat based onSecurityCheck ?

2001-10-04 Thread Thierry Delaitre
Hello, We have developed a JSP based application based on tomcat 3.2.3. This application requires different level of administration and requires users to login. We would like to develop a custom authentication module for authenticating users against NIS login/password database. I've already deve

RE: missing mod_jk.conf-auto

2001-10-04 Thread Brett Crossley
I did not. I added it under the tag, but it did not make a difference. Is that IIS as in Internet Information Server? (microsoft?) I am running apache. -Original Message- From: Craig Tataryn [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 04, 2001 10:53 AM To: [EMAIL PROTECTED] Subjec

RE: Driver fails to load on two webapps

2001-10-04 Thread Brett Knights
Sorry, I hadn't read your subsequent post. Are you using a connection pool? If so what happens when you try to use connections where you try to connect from each web app as a different user? Also what do you see when you set a LogWriter for the DriverManager? It should show you the drivers that

Re: Writing to files from Servlets

2001-10-04 Thread Alexandre Victoor
You can use the property tomcat.home to build an absolute path that correspond to your "working" directory. You can also try to use the static method Class.getLocation() Alex At 08:06 04/10/2001 -0700, you wrote: >I have a servlet in which I save some data to a file. >I open the file just usi

Re: Tomcat 4.0 - HttpSessionListener lockup in sessionDestroyed()

2001-10-04 Thread Craig R. McClanahan
In order to avoid this problem report getting lost, *please* report it in our bug tracking system: http://nagoya.apache.org/bugzilla/ Craig McClanahan On Thu, 4 Oct 2001, Scott Ahten wrote: > Date: Thu, 04 Oct 2001 10:14:21 -0400 > From: Scott Ahten <[EMAIL PROTECTED]> > Reply-To: [EMAIL PR

Re: Problem in solaris

2001-10-04 Thread Alex Sanderson
There is no specific time that tomcat will run the destroy method of a servlet. I am sorry but I do not know enough about oracle configuration to help you with connection timeouts in oracle. - Original Message - From: "Héctor Garcia Peris" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent:

Re: Changin Content-type header for JSP pages

2001-10-04 Thread Craig R. McClanahan
On Thu, 4 Oct 2001 [EMAIL PROTECTED] wrote: > Date: Thu, 4 Oct 2001 09:54:22 +0100 (BST) > From: [EMAIL PROTECTED] > Reply-To: [EMAIL PROTECTED] > To: Tomcat-User List <[EMAIL PROTECTED]> > Subject: Changin Content-type header for JSP pages > > I'm developing an application using Tomcat 3.2 (an

RE: Netscape-tomcat redirector help

2001-10-04 Thread Sunil Thakker
Hi Wesley, What version of tomcat did u configure with netscape 6.0? I have downloaded and installed netscape 6.0 and now trying to install tomcat ... Thanks Sunil --- Wesley Gamble <[EMAIL PROTECTED]> wrote: > Sunil, > > I successfully got Tomcat working with iPlanet 6.0 > by using the > nsa

Re: Quick question?

2001-10-04 Thread Craig R. McClanahan
On Thu, 4 Oct 2001, James Turner wrote: > Date: Thu, 4 Oct 2001 00:14:17 -0400 > From: James Turner <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Quick question? > > Do you happen to know what directory Turbine tries to load > TurbineResources.properties f

Duplicate indices in 4.0

2001-10-04 Thread Yoav Shapira
Hi there, I have a servlet in my webapp that I'd like loaded on server startup, after the Tomcat servlets (default, invoker, jsp, cgi-bin, etc.). Expected behavior: My understanding was that if in my webapp/WEB-INF/web.xml I have something like MyServlet 1 Then MyServlet will be loade

AW: Please help

2001-10-04 Thread Dieter Kaltenbach
hi, here are two links depending on the tomcat version. http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-iis-howto.html http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-iis-howto.html Dieter. -Ursprüngliche Nachricht- Von: Jose Escobar [mailto:[EMAIL PROTECTED]] Gesendet: D

Writing to files from Servlets

2001-10-04 Thread Timothy Fisher
I have a servlet in which I save some data to a file. I open the file just using the file name, with no path information. By default, I notice the file is being put into the TOMCAT_HOME/bin directory. How can I change the default "working" directory to be that of the current web application? Th

Please help

2001-10-04 Thread Jose Escobar
Can anyone please tell me where to look for information or what document on jakarta's webpage to read for information on how to implement tomcat on iis. Thank You Jose

  1   2   >