RE: Getting USERNAME/PASSWORD from HTTP headers

2002-05-23 Thread Donie Kelly
OK fillup, I'll do that :( Donie -Original Message- From: Phillip Morelock [mailto:[EMAIL PROTECTED]] Sent: 23 May 2002 21:27 To: Tomcat Users List Subject:Re: Getting USERNAME/PASSWORD from HTTP headers there have been several discussions here of problems with

index.jsp not getting sent via mod_jk to tomcat??

2002-05-23 Thread Miller, Andy
I guess this is actually more of an apache question, but i'm using mod_jk to get my apache2 webserver to use Tomcat 4.03. All is good, except that I have a default page configured in apache to index.jsp (via DirectoryIndex directive in httpd.conf), i've got mod_jk configured to foward .jsp to

Re: index.jsp not getting sent via mod_jk to tomcat??

2002-05-23 Thread Phillip Morelock
i've got a ghetto-fabulous solution -- just put an index.html there with a 0-delay refresh or a javascript refresh. I actually do it with a php script that sends a redirect header instead, because for some reason apache's default index.php thing will still work (if you have PHP installed, that

nsapi_redirector.so failed

2002-05-23 Thread Craig Vermillion
Hi, I recently built the nsapi_redirector.so per the instructions on my Solaris sparc machine. The Make went fine and didn't throw any errors but when I installed it in the iPlanet web server obj.conf I receive the following error on start up. [https-tc-wls-test]: start failed. (2: unknown

JDBC trouble

2002-05-23 Thread Mauricio Tia Ni Gong Lin
Hi everybody, When I try to access the PostgreSQL DataBase using Tomcat 4.0.3 the following error message is displayed at the browser: -- Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error type: Exception report message: Internal Server Error description: The server encountered an

RE: index.jsp not getting sent via mod_jk to tomcat??

2002-05-23 Thread Miller, Andy
Darn, thought I was on to something there. I setup an alias thusly: Alias / e:/mycodebase/index.jsp But it just returned my index.jsp, unprocessed, to the browser... bummer -Original Message- From: Phillip Morelock [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 3:47 PM To:

Re: JDBC trouble

2002-05-23 Thread Phillip Morelock
chances are you have a syntax error in your jsp it's calling this an attribute -- which means you probably forgot to close a tag or something, maybe a semicolon. fillup On 5/23/02 1:57 PM, Mauricio Tia Ni Gong Lin [EMAIL PROTECTED] wrote: Hi everybody, When I try to access the

Re: index.jsp not getting sent via mod_jk to tomcat??

2002-05-23 Thread Phillip Morelock
is that in response to my sort of solution? sounds like you're messing with httpd.conf, which I liken to mad science when you involve tomcat connectors ;) fillup On 5/23/02 2:02 PM, Miller, Andy [EMAIL PROTECTED] wrote: Darn, thought I was on to something there. I setup an alias thusly:

serving servlets from jar files

2002-05-23 Thread Young Neil
I'm using Tomcat 4.0.3 and I'm having a problem getting it to find servlets that are in jar files. All the documentation seems to point me in the same direction, yet it still does not work for me. I installed the bin distribution without any mod's...on both Linux and Win2k and running this test

Urgent: can not connect tomcat-apache web server because too many open files

2002-05-23 Thread DC Yin
Hi, everyone, I run application that need to connect tomcat-apache web server. But I meet the problem as the following: Exception in: R(/LiveAlarmDisplay + /servlet/LiveAlarmDisplay + null) - org.omg.CORBA.INITIALIZE: java.net.SocketException: Too many open files minor code: 0 completed: No

RE: index.jsp not getting sent via mod_jk to tomcat??

2002-05-23 Thread Miller, Andy
I know your 'ghetto' solutions will work. They are my last resort. thanks -Original Message- From: Phillip Morelock [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 4:06 PM To: Tomcat Users List Subject: Re: index.jsp not getting sent via mod_jk to tomcat?? is that in

Re: serving servlets from jar files

2002-05-23 Thread Phillip Morelock
servlet servlet-nameDateServlet/servlet-name servlet-classcom.test.date.DateServlet.class/servlet-class /servlet take off .class fillup On 5/23/02 2:07 PM, Young Neil [EMAIL PROTECTED] wrote: I'm using Tomcat 4.0.3 and I'm having a problem getting it to find servlets that are in jar

Re: JNDI, DataSource and Cannot create resource instance

2002-05-23 Thread Ben Walding
IRWIN,KEITH (HP-Corvallis,ex1) wrote: Folks-- I've been beating myself to death over this issue (and have read as many of the archives on both this, the postgres-jdbc and google resources) and never even get to the point where those solutions work: Here's the story: I'm using postgresql jdbc

RE: JNDI, DataSource and Cannot create resource instance

2002-05-23 Thread IRWIN,KEITH (HP-Corvallis,ex1)
[EMAIL PROTECTED] wrote: [..summarized..] Trouble with JNDI, Tyrex, 4.0.3 RPM version, DataSource JNDI lookup returning Cannot create resource instance From: Ben Walding [mailto:[EMAIL PROTECTED]] I had this problem the other day and I looked into it quite closely. It appears that

RE: index.jsp not getting sent via mod_jk to tomcat??

2002-05-23 Thread Avery Buffington
If you've got a line that reads: DirectoryIndex index.jsp in the config then that should work as far as apache is concerned. I'm assuming that you restarted apache after making the change to httpd.conf. If this is within the context of a virtual host then you may need to add the DirectoryIndex

ArrayBoundsException with AJP13 Connector

2002-05-23 Thread Bo Min Jiang
Hi, Having given up on using mod_webapp on Win2K for the time being, I decided to give the AJP13 connector a try. I believe that I configured the server.xml, httpd.conf, and workers.properties correctly, but when I try to access http://localhost:8009, Tomcat throws the following error:

RE: ArrayBoundsException with AJP13 Connector

2002-05-23 Thread Whitcomb, Roger
Who's listening on port 8009? Is it Apache or Tomcat or the mod_jk connector? Can you supply portions the changed portions of httpd.conf, server.xml and workers.properties? Normally, the Tomcat side of the AJP13 connector is listening on 8009, so trying to access this port from the browser

Linux - high cpu usage/seg faults

2002-05-23 Thread Joakim Ryden
Hey guys - I just installed tomcat 4.0.3 on two identical (software wise) spanking new servers. One is working a treat and the other is completely hosed. :( I'm using the IBMJava2-131 jdk on both machines - the one machine having problems is an SMP machine. They are both running RedHat 7.2 -

RE: http status 500 internal error when loading localhost:8080

2002-05-23 Thread Lynne Gurney
Tomcat 4.0 jdk1.3 -Original Message- From: Whitcomb, Roger [mailto:[EMAIL PROTECTED]] Sent: 23 May 2002 20:19 To: Tomcat Users List Subject: RE: http status 500 internal error when loading localhost:8080 What version of Tomcat are you running? And what version of the Java SDK? Roger

RE: Linux - high cpu usage/seg faults

2002-05-23 Thread Avery Buffington
have you tried the latest 1.3.1 sdk from ibm (www.ibm.com/java)? The build date on the latest is 4-10-2002 so if you installed the current sdk from the redhat disk then you've may have an older version. I've had some wierd problems that I chased around and around and finally an sdk upgrade

DBCP - BasicDatasource?

2002-05-23 Thread Jacob Kjome
I've got a question about setting up a connection pool using DBCP. Back when I was testing the nightly build from 20020404, I could swear I was getting back a PooledDataSource. Now with todays build (20020523), I am getting back a BasicDatasource. The code that I have looks like

I've searched the archives, still no answer: init() is beingcalled twice

2002-05-23 Thread Rick Mann
I've pored over the archives looking for an answer to this problem. A lot of people seem to experience the problem, and there have been suggestions about what might be causing the problem, but none have panned out. I'm running Tomcat 4.0.4b3 (how do I tell for sure?) on Mac OS X 10.1.4. I have

Re: Linux - high cpu usage/seg faults

2002-05-23 Thread Joakim Ryden
Good suggestion! I am running that version though - I'm gonna test with some other jdk's and see what gives. Will report back. Thanks for your reply! --Jo From: Avery Buffington [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] Date: Thu, 23 May 2002 17:38:55 -0500 To:

Can't Find JavaBean

2002-05-23 Thread Parra, Rod M
To All, I'm in the process of learning JSP (through a Wrox book), so pardon such an elementary problem. When I invoke my JSP page Tomcat can't find my JavaBean. This is how I call the JSP page: http://localhost:8080/begjsp-ch04/carPage2.jsp I get the following error:

tomcat and jce

2002-05-23 Thread Dennis Muhlestein
I've searched the list far and wide for solutions to the jce issues with tomcat. Basically old posts say to installing sunjce in the JAVA_HOME/jre/lib/ext dir and modifying java.security to allow the use of SunJCE. For me, this isn't working with Tomcat 4.0.3. Does it work for anyone else?

RE: Use Worker MPM with mod_webapp

2002-05-23 Thread Steve Wong
Before having the error_log for you to see. It's really troublesome for me to make Apache and mod_webapp in Solaris8. In Linux, it is really fine. In solaris 8, I have Gnu's ld and gcc installed. And I also have solaris's ld there. Solaris's ld is in /usr/ccs/bin And Gnu's ld is in

RE: Use Worker MPM with mod_webapp

2002-05-23 Thread Steve Wong
The Cannot mix error is like this: Finishing up checking for APR compilation flags... configure: error: Cannot mix gcc and native cc -Original Message- From: Steve Wong Sent: Friday, May 24, 2002 10:08 AM To: Tomcat Users List Subject: RE: Use Worker MPM with mod_webapp Before

Default Webapp

2002-05-23 Thread Mark Udstrand
Is there a way to set a default web app under Tomcat? For example, if I package a website in mysite.war, it is installed into webapps/mysite. In order to use this application, the user must use the url www.mywebsite.net/mysite (assuming that your welcome file is present). I would like to

Re: Default Webapp

2002-05-23 Thread thorsten frank
At 09:28 PM 23/05/2002 -0500, you wrote: Is there a way to set a default web app under Tomcat? yes For example, if I package a website in mysite.war, it is installed into webapps/mysite. In order to use this application, the user must use the url www.mywebsite.net/mysite (assuming that

Re: Default Webapp

2002-05-23 Thread Mark Udstrand
Something is amiss... I tried making that change previously, and once again with your suggestion. When I change the docBase to mysite, Tomcat returns a 404 error when attempting to use www.mywebsite.net. If I use www.mywebsite.net/mysite it works fine Any ideas. - Original Message

Apache 2.0.36 and Tomcat 4.0.3 on NT 4.0

2002-05-23 Thread Ron
Hi, Trying to use mod_jk.dll, however Apache refuses to start: Cannot load D:/Apache/Apache2/modules/mod_jk.dll into server: the specified module could not be found. mod_jk.dll is in exactly the above location. Tried renaming it to .so (and changing the LoadModule line), with no luck. I

Re: Default Webapp

2002-05-23 Thread thorsten frank
hi, At 09:51 PM 23/05/2002 -0500, you wrote: Something is amiss... I tried making that change previously, and once again with your suggestion. When I change the docBase to mysite, Tomcat returns a 404 error when attempting to use www.mywebsite.net. If I use www.mywebsite.net/mysite it works

Re: Default Webapp

2002-05-23 Thread Mark Udstrand
Found the problem, it was with the welcome file list in my web.xml. M. - Original Message - From: thorsten frank [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, May 23, 2002 10:05 PM Subject: Re: Default Webapp hi, At 09:51 PM 23/05/2002 -0500, you wrote:

mod_webapp configuration

2002-05-23 Thread cmoon
I would like to setup mod_webapp and am having problems with the configuration. The following is a list of URL's that need to be handled by Tomcat and Apache will serve the rest. http://localhost/asperin/* http://localhost/servlet/* http://localhost/AspTC/* http://localhost/asperin.html (This

RE: Use Worker MPM with mod_webapp

2002-05-23 Thread Steve Wong
Here is what I see in the error_log [Fri May 24 12:18:08 2002] [notice] Apache/2.0.36 (Unix) configured -- resuming normal operations [Fri May 24 12:18:23 2002] [error] (null) [Fri May 24 12:18:23 2002] [error] (null) [Fri May 24 12:18:23 2002] [error] [Fri May 24 12:19:36 2002] [error] Cannot

RE: Use Worker MPM with mod_webapp

2002-05-23 Thread Steve Wong
Even try in Linux platform, still failed. I am using Gnu make 3.79.1, Gnu ld 2.10.91, gcc 2.96 in Red Hat 7.1 My Apache is: Server version: Apache/2.0.36 Server built: May 24 2002 12:24:46 Server's Module Magic Number: 20020329:1 Architecture: 32-bit The error_log is as follows: [Fri May 24

Re: Linux - high cpu usage/seg faults

2002-05-23 Thread Phillip Morelock
try the sun jdk and find if there's a difference, would be the first thing on my list. Should be an easy sniff test or whatever. fillup On 5/23/02 3:09 PM, Joakim Ryden [EMAIL PROTECTED] wrote: Hey guys - I just installed tomcat 4.0.3 on two identical (software wise) spanking new

Re: Can't Find JavaBean

2002-05-23 Thread Phillip Morelock
Hey there, Don't worry about this at all -- have seen this question probably ten times in the last month. You seem to be doing everything correctly. I don't remember any of the solutions, but here's what **I** do and it never fails. ALWAYS always always (in my opinion) jar your classes, and

Re: Mod Webapp?

2002-05-23 Thread Nikola Milutinovic
since I couldn't find very much info about mod_jk, and was having problems, I decided to use mod_webapp to connect apache 1.3.23 and tomcat 4.0.3 (on a fresh install of redhat 7.0). it worked great when I first installed it, then I rebooted the box. tomcat starts fine, when I try

Re: Mod Webapp?

2002-05-23 Thread Nikola Milutinovic
Interestingly enough, I don't have the 'AddModule mod_webapp.c' statement in my httpd.conf. I am using Apache 2, however - I don't know if that makes a difference. Apache 2 doesn't have two different module directives. Apache 1.x had directives to load the module into runtime

Compiled mod_webapp.so request

2002-05-23 Thread Simon Li
Dear, Does anyone have compiled mod_webapp.so which runs on glibc 2.1.x on RH6.2 system? My deployment envirnment would be apache1.3.x+tomcat4.0.1, please help. PS. 1) I can't use the pre-compiled binary come from the dist of tomcat: Cannot load /etc/httpd/modules/mod_webapp.so into server:

<    1   2