Re: Tomcat Problem

2002-10-04 Thread Andreas Probst
Hi Uma, it seems you installed Tomcat as a service. You could deinstall this service or set it to manual start. Then you should be able to start Tomcat manually from the script. On Sun, 29 Sep 2002 19:30:50 -0500 there was a message from Jacob Kjome (Subject: Re: Need Help ASAP w. Tomcat inst

I need to run a servlet periodically

2002-10-04 Thread Filip Rachunek
Hello, is it possible to have a servlet in Tomcat container which is invoked automatically each gived time period? [e.g. each 10 minutes] And I would also need this special servlet to access other resources of my web application [connection pool, ...]. Thanks. Filip Rachunek __

Tomcat Problem

2002-10-04 Thread Uma Maheswar
Hello, I cannot view the Tomcat Console. I am using Tomcat 4.0 on Win XP. Also, I cannot start the Tomcat from Start - Programmes - Apache Tomcat. I need to go to the Control Panel - Admin Tools - Services and then start the Tomcat over there. Can any one tell me what is wrong? I am also using JD

RE: Where is javax.sql

2002-10-04 Thread Kunal Shah
> > That's in Oracle's JDBC classes file (named > classes12.jar for my > installation), not in Tomcat. Make sure you > install this file for your > Oracle connections to work (put it in your > $TOMCAT_HOME/lib directory). It > can be downloaded from Oracle. > Kenny It is java.sql which gives yo

Re: Getting the name of the context

2002-10-04 Thread Craig R. McClanahan
On Sat, 5 Oct 2002, shanmugampl wrote: > Date: Sat, 05 Oct 2002 09:22:23 +0530 > From: shanmugampl <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Re: Getting the name of the context > > > Thanks for your suggest

RE: download 4.0.3?

2002-10-04 Thread Ricky Leung
Why don't you use 4.0.5? That should be the release that you should be using, which has the most bug fixes and a security fix. With 4.1.12, you might have to do additional testing to ensure that your application is working. > -Original Message- > From: chad kellerman [mailto:[EMAIL PROT

How to avoid the staus code (-1) being sent from Servlet to Applet? Tomcat experts please Help!!

2002-10-04 Thread sunita desai
Hi, To explain my problem, I have a plain Applet-Servlet communication. The servlet just reads an backend socket connection contents and keeps sending every 50 lines of information to the Applet. And the applet after receiving every 50 lines, displays it in TextArea without interpreting the data.A

Re: Getting the name of the context

2002-10-04 Thread shanmugampl
Thanks for your suggestion, but i load the servlet on startup by giving it in the . In the servlets init method i will be initializing some basic parameters. Here I want the name of the context for regestering it. I do not have access to the request object from my init method. How do i get th

Re: JSP Form Problem

2002-10-04 Thread fong
Hi I had got this problems before. I think your jsp may be connect to database. This occur because the apostrophe symbol insert to your sql statement. Fong - Original Message - From: "Seth Brahler" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, October 05, 2002 1:54 AM Sub

Re: Tomcat stop when exit telnet session

2002-10-04 Thread fong
I try both "nohup /etc/init.d/tomcat4 start &" or "nohup /etc/init.d/tomcat4 start" were also work. Thank yours help. - Original Message - From: "Hauck, Joe" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, October 05, 2002 2:03 AM

auto deploy WAR + embedded tomcat

2002-10-04 Thread
Hello Tomcat community! Quick question: What is the proper way to expand WAR files during deploy via the API? Thanks, Patrick _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwi

Re: IIS 5, Mod_jk 2, Tomcat 4.1.12 combination problem with delivery

2002-10-04 Thread David Warnock
Hey guys, As usual free software projects win the day. Many thanks Costin for such a quick bug fix. I look forward to testing the next nightly build of the connector. Dave -- David Warnock, Sundayta Ltd. http://www.sundayta.com iDocSys for Document Management. VisibleResults for Fundraising.

Missing BaseTunnelClient package

2002-10-04 Thread achana
Hi All. I am trying to tunnel between applet and servlet and followed this doco : [code] import java.io.*; public abstract class TunnelLiteClient extends BaseTunnelClient { ...etc... } [/code] Unfortunately javac does not recognise symbol BaseTunnelClient Any packages I need to import ? Where can

Re: Connection Pool Not Reusing Connections

2002-10-04 Thread Thaddeus Gean Cowan Thompson
I upgraded to Tomcat 4.1.12 and added the factory parameter to the Context in server.xml and I started to get Connections from the pool. Thanks Ej. - Thadd On Thu, 3 Oct 2002 [EMAIL PROTECTED] wrote: > > The below web descriptor does not actually use a Connection Pool since > you do not defi

How to access jsp from inside WEB-INF directory [jay]

2002-10-04 Thread Jay Hombal
Hi Friends I am having issue with getting jsp's executing from within a subdirectory from the WEB-INF directory of the Tomcat4.1.12. This works on other servers like orion. we did this as means to protect access to other jsps without establishing sessions thanks jay -- To unsubscribe,

Re: Problem with Tomcat 4.0.2 hanging

2002-10-04 Thread Rob Reed
HOW THE HELL do you guys get off this list.. and yes I have tried sending mail to the unsubscribe address.. does not work. please respond to my email address and NOT the list if you have an answer. One is much appreciated. Thanks, -Rob On Fri, 2002-10-04 at 14:33, [EMAIL PROTECTED] wrote: > No

RE: sendRedirect not working correctly

2002-10-04 Thread Jay Hombal
i think u are not getting the context from the application did u check that? -J -Original Message- From: Tim Moore [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 1:32 PM To: Tomcat Users List Subject: RE: sendRedirect not working correctly > -Original Message- > From

mx4j - JMX - Realm - Help

2002-10-04 Thread Randy Secrist
I have written a modified version of a UserDatabase realm and have been able to get it to work without JMX support under TC 4.1.12. Anything that doesn't use JMX can still authenticate like it would under pre 4.1.x codebase. Next, I would like to get customizations to work with the 4.1.x codebas

mod_jk statically compiled into Apache

2002-10-04 Thread jcosta
Does anyone have a walkthru on this? I want to get the mod_jk connector running in the Apache process. To the best of my knowledge, here's what needs to happen, assuming building Apache 1.3.27 from source: --add the following line to the /apache_version/src/Configuration file: AddModule modules/s

Re: Problem with Tomcat 4.0.2 hanging

2002-10-04 Thread tysonlowery
Nope, its not restricted. I think the problem is that the tomcat threads just hog memory and CPU. But I'm not sure how to solve that one either. - Original Message - From: "Collins, Jim" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Friday, October 04, 2002 3:26

JNDI help

2002-10-04 Thread Fawaz Ahmad
Hello, Can anyone help me with this problem. I have read up on Tomcat JNDI from the Tomcat HowTo webpage and tried to implement it in my servlet. Unfortunately, I can not seem to get it to work. My servlet works fine when i use the original code to access the database: Class.forName("c

RE: sendRedirect not working correctly

2002-10-04 Thread Tim Moore
> -Original Message- > From: Jared Reeve [mailto:[EMAIL PROTECTED]] > Sent: Friday, October 04, 2002 4:20 PM > To: [EMAIL PROTECTED] > Subject: sendRedirect not working correctly > > > > Using Apache Tomcat/4.1.12 > > I have my application under the webapps directory. When I do > a

Tomcat 4.1.12 Servlet Error

2002-10-04 Thread Matt Fury
I believe this is sort of a cross post between Dev and User. Again an error I get with running the Tomcat Service but NOT the Tomcat DOS Command line.. I am getting: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet at java.lang.ClassLoader.defineClass0(Native Method)

Re: sendRedirect not working correctly

2002-10-04 Thread Charles Baker
--- Jared Reeve <[EMAIL PROTECTED]> wrote: > > Using Apache Tomcat/4.1.12 > > I have my application under the webapps directory. > When I do a sendRedirect to "/servlet/MyServlet" I > get an HTTP Status 404 - The requested resource > (/servlet/MyServlet) is not available. The correct > path s

sendRedirect not working correctly

2002-10-04 Thread Jared Reeve
Using Apache Tomcat/4.1.12 I have my application under the webapps directory. When I do a sendRedirect to "/servlet/MyServlet" I get an HTTP Status 404 - The requested resource (/servlet/MyServlet) is not available. The correct path should be "/MyApp/servlet/MyServlet". It appears it is no

ProxyDirContext -tomcat cache question!

2002-10-04 Thread Sankaranarayanan (Ganesh) Ganapathy
Resending it ... as it did not get any response. Can somebody help? Hi All, I see that tomcat maintains a cache of resources for each web application. Basically all web application resource like web.xml , taglibrary files, jsp files, java scripts, images etc seem to loaded in to the web applic

Re: passing authentication credentials from apache to tomcat 4.1.12?

2002-10-04 Thread James Shvarts
try setting tomcatAuthentication="false" on the Ajp13Interceptor in the server.xml file if you want use the web server's authentication. _James On Fri, 4 Oct 2002, Paul Tomsic wrote: > Has anyone does this successfully? > > I am able to successfully have Apache authenticate > against a AuthDB f

download 4.0.3?

2002-10-04 Thread chad kellerman
Hi everyone, I just went to download 4.0.3 and I can't, the url is missing "not found". I was using 4.0.3 on a rh6.2 server now I was going to put it on a rh7.3 server. Figured I use the same version because I am afraid the the {$TOMCAT_HOME}/conf/*.xml files might not work(compatible

RE: Tomcat 4.1 + IIS/isapi_redirect.dll + WebDAV

2002-10-04 Thread Tim Moore
Just to follow up on my own post, the problem was that I was still using the version of isapi_redirect that came with Tomcat 3.3.1. Upgrading to the new JK 1.2.0 version fixed the problem. If anyone's interested in more of the hairy details, email me off list. -- Tim Moore / Blackboard Inc. /

RE: 4.1.13 release date?

2002-10-04 Thread Turner, John
There's no timeline for releases. You should be able to pick up the fix in the nightly build. John > -Original Message- > From: Neil Barton [mailto:[EMAIL PROTECTED]] > Sent: Friday, October 04, 2002 12:07 PM > To: '[EMAIL PROTECTED]' > Subject: 4.1.13 release date? > > > Hi, > > W

RE: Please Help: Getting this exception

2002-10-04 Thread Chuck Carson
Odd. I downgraded to tomcat 4.0.5 and everything works fine. Thanks for the help, Chuck > -Original Message- > From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] > Sent: Friday, October 04, 2002 10:16 AM > To: Tomcat Users List > Subject: Re: Please Help: Getting this exception > >

RE: Connection pool DBCP

2002-10-04 Thread Galbraith, Paul
If you need to be absolutely certain, you can configure DBCP to test every connection before it is checked out. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: October 4, 2002 11:38 AM To: tomcat-user Subject: Connection pool DBCP I have been seen that nobod

Re: passing authentication credentials from apache to tomcat 4.1.12?

2002-10-04 Thread Dennis Muhlestein
set tomcatAuthentication=false in your ajp connector xml. Then it should recognize the apache authorized user. Worked for us. -Dennis On Fri, 2002-10-04 at 12:36, Paul Tomsic wrote: > Has anyone does this successfully? > > I am able to successfully have Apache authenticate > against a AuthDB

Tomcat 4.0.5 and RPM

2002-10-04 Thread Luise Massimo
Hi all, i would know if and when would be available an rpm package with tomcat v4.0.5 ? TIA -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: jk on HP-UX

2002-10-04 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
Have not compiled jk on our hp-ux machines, need to upgrade to perl 5.005 in order to use automake It is interesting that configure reports this checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes but your gcc does not actualy work You might try finding w

new install help, Solaris, Apache, Lucene, Tomcat

2002-10-04 Thread Brian Cuttler
Hello, I am Brian Cuttler and I'm new to the list. I have a Solaris 8 system with Apache HTTP server 1.3 Lucene 1.2 Tomcat 4.1.10 I have the Apache server running with 3 virtual server. I have been able to get Lucene to create an index of one of the servers (the int

Form Based Authentication, getting login and password

2002-10-04 Thread Externo
Sorry by my English. How I can guess login and password strings of an user, from error page (JSP) using "Form Based Authentication of Tomcat"? I need know it to lock the count each 3 error tries (if login is ok but password is bad, insteed). Methods 'getRemoteUser', 'isUserInRole' and 'getUserP

Manager application and JDBCRealm

2002-10-04 Thread Brian Buckley
Hello, Is the Manager application that comes with Tomcat for use with the MemoryRealm only, or can it be used with other types of realms, in particular, the JDBCRealm? If it can be used with the JDBCRealm, how does one configure the JDBCRealm to store the additional descriptive information displ

4.1.13 release date?

2002-10-04 Thread Neil Barton
Hi, We have encountered bug # 13015, while running on Tomcat 4.1.12. According to the bug database this has been fixed in release 4.1.13. Does anyone know when this release will be made available? Thanks Neil

So, what does it take to register a JDBC driver for a connection pool?

2002-10-04 Thread Michael Nicholson
Or is that even necessary? (I would think it is...). I've been trying to get the DBCP-commons going for a while, and finally got it to find the correct resource reference, but it still returns a null datasource. So I started changing things in the server.xml to find out what doesn't cause my

RE: Tomcat stop when exit telnet session

2002-10-04 Thread Mike Jackson
Try "nohup tomcat4 run > startup.log 2>&1 &". There's something in the way that tomcat starts within the catalina.sh file that seems to confuse things. This is also a problem for me on version 3.3 of tomcat, but I run on Unixware not solaris. --mikej -=- mike jackson [EMAIL PROTECTED]

Re: Tomcat stop when exit telnet session

2002-10-04 Thread Milt Epstein
On Fri, 4 Oct 2002, Nancy Crisostomo Martinez wrote: > Jon, I even tried the "&", but it didn't work for me. I don't know > why...but maybe it really works for Fong... What shell are you using? My guess is that's a ksh-type shell. (See the note I sent out about the relation between nohup/& and

RE: Tomcat stop when exit telnet session

2002-10-04 Thread Milt Epstein
On Fri, 4 Oct 2002, jon wingfield wrote: > I've never used solaris8 so the following may be in error, but here > goes. > > On linux using & seems not only to put the process in the background > but also seems to be nohup (no hang up). On hp-ux 10/11 using & > seems only to put the process in the

passing authentication credentials from apache to tomcat 4.1.12?

2002-10-04 Thread Paul Tomsic
Has anyone does this successfully? I am able to successfully have Apache authenticate against a AuthDB file (configured w/ the mod_auth_db) and I'm able to have Tomcat handle *.jsp files successfully, but when I try to request.getRemoteUser() It gives me a NULL any thoughts on this? Is there

Re: Where is javax.sql

2002-10-04 Thread Rick Fincher
javax.sql is in the standard edition JDK as of version 1.4. It wasn't in JDK 1.3 SE. You had to get it from the J2EE version of the JDK or from the JDBC 2.0 or 3.0 standard extensions jar that was distributed by Sun. Many vendors included it in their JDBC driver jars. It contains mostly interf

RE: Tomcat stop when exit telnet session

2002-10-04 Thread Hauck, Joe
In Solaris you can use the nohup command to run a program without ending when the session ends. So for tomcat it would be: nohup $CATALINA_HOME/bin/startup.sh Joe. -Original Message- From: Nancy Crisostomo Martinez [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 1:22 PM To:

JSP Form Problem

2002-10-04 Thread Seth Brahler
I know this is a Tomcat list, but my back is against the wall and I'm hoping someone can help. I just discovered that my form breaks if the user types in an apostrophe. On the process page, i am setting the passed variable to a string. "filelocation" is the name of my text field: String filel

webapps fail to start if jndi realm of one is down (long)

2002-10-04 Thread James Shvarts
Hello all sorry for the long post. i have the following issue: i have several webapps that are loaded tomcat-apache startup and are invoked using mod_webapp. there are several hosts defined in server.xml. there is a jndi realm declared in one of the host tag. the back-end of that is ldap server.

Re: Tomcat-Apache-SSL problem

2002-10-04 Thread haixi liu
Got it to work. Thanks >From: "haixi liu" <[EMAIL PROTECTED]> >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: Tomcat-Apache-SSL problem >Date: Fri, 04 Oct 2002 17:25:20 + > >David, > >No, I did not. > >I am using the auto config file generated by Tomc

RE: exception handling

2002-10-04 Thread Galbraith, Paul
I'm having a similar problem with error-page tag in tomcat 3.2. I believe the tag is supposed to be supported in 3.2, can anyone confirm this, and provide a sample config snippet showing its proper use? -Original Message- From: Felipe Schnack [mailto:[EMAIL PROTECTED]] Sent: October 4,

Re: Tomcat-Apache-SSL problem

2002-10-04 Thread haixi liu
David, No, I did not. I am using the auto config file generated by Tomcat from $CATALINA_HOME/conf/jk/workers.properties. In my http.conf, I just have this line: Include /usr/local/tomcat/conf/auto/mod_jk.conf I think that's the reason why the http works but https doesn't work. I looked at t

RE: Shared JSP taglibs

2002-10-04 Thread Tim Moore
> - All the webapps running in this Tomcat installation must > share the same version of the tag library (or whatever -- it's > not just limited to these), so you have to upgrade them all > together in lockstep. Ah, but that's exactly what I want! :-) We have a fairly atypical situation he

Re: jdbc realm fails to authenticate sometimes

2002-10-04 Thread John M . Hollingsworth
I have found the version of the MySQL connector to be the problem. Versions earlier than 2.0.9 gave me the same problem you're experiencing. The latest version is 2.0.14, I think. John > > From: "Paul Phillips" <[EMAIL PROTECTED]> > Date: 2002/10/02 Wed PM 07:25:40 EDT > To: <[EMAIL PROTECT

Cannot view the console

2002-10-04 Thread Uma Maheswar
Hello, I cannot view the Tomcat Console. I am using Tomcat 4.0 on Win XP. Also, I cannot start the Tomcat from Start - Programmes - Apache Tomcat. I need to go to the Control Panel - Admin Tools - Services and then start the Tomcat over there. Can any one tell me what is wrong? I am also using JD

Re: Tomcat stop when exit telnet session

2002-10-04 Thread Nancy Crisostomo Martinez
Jon, I even tried the "&", but it didn't work for me. I don't know why...but maybe it really works for Fong... jon wingfield wrote: > I've never used solaris8 so the following may be in error, but here goes. > > On linux using & seems not only to put the process in the background but > also se

Re: Please Help: Getting this exception

2002-10-04 Thread Craig R. McClanahan
On Fri, 4 Oct 2002, Chuck Carson wrote: > Date: Fri, 04 Oct 2002 07:35:50 -0700 > From: Chuck Carson <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Please Help: Getting this exception > > > I moved my tomcat server fr

Re: Tomcat and JDK on FreeBSD

2002-10-04 Thread jamie
I have mine set like so: install linux-jdk via port this is needed (i believe) in conjunction with the native 1.3.1 and tied together via the patchset #p7. so you need to make install clean inside linux-jdk and follow directions then inside your /root/.cshrc put the following PATH=/usr/loca

Re: Getting the name of the context

2002-10-04 Thread Craig R. McClanahan
Use request.getContextPath(). Craig On Fri, 4 Oct 2002, shanmugampl wrote: > Date: Fri, 04 Oct 2002 17:20:52 +0530 > From: shanmugampl <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Getting the name of the conte

Re: Shared JSP taglibs

2002-10-04 Thread Craig R. McClanahan
On Fri, 4 Oct 2002, shanmugampl wrote: > Date: Fri, 04 Oct 2002 09:46:32 +0530 > From: shanmugampl <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: Shared JSP taglibs > > I dont think that

Re: Tomcat stop when exit telnet session

2002-10-04 Thread Dan Lipofsky
> You onlu have to run tomcat like this: (I did this in Tomcat 3.3) > nohup tomcat.sh start > nohup.out > > So in the nohup.out file Tomcat will store all the console messages. > In fact, it's a unix "patch"... :-) The syntax I use is nohup tomcat.sh start nohup already redirects everything to

Re: Waht are the applicationss invoke when start Tomcat

2002-10-04 Thread Craig R. McClanahan
On Fri, 4 Oct 2002, randie ursal wrote: > >does anyone have an idea what are the applications that >runs when "catalina.sh run" is executed? > Since catalina.sh is a shell script, can't you just type it out and see what it does? It's not all that complicated ... Craig -- To unsubsc

Tomcat and JDK on FreeBSD

2002-10-04 Thread Vincent Berruchon
Hello, I'm using Tomcat 4.0.3 with FreeBSD 4.6 I've install SUN JDK 1.3.1 but also the SUN JDK 1.4.1 Since the beginning, despite the definition of JAVA_HOME in the /usr/local/jakarta-tomcat4.0.3/catalina.sh (with this line export JAVA_HOME="usr/java/" -->this script use sh) /usr/java a sym

RE: Tomcat stop when exit telnet session

2002-10-04 Thread jon wingfield
I've never used solaris8 so the following may be in error, but here goes. On linux using & seems not only to put the process in the background but also seems to be nohup (no hang up). On hp-ux 10/11 using & seems only to put the process in the background and NOT nohup. So, i surmise that solaris

OT: Does anyone recognize this cra........?

2002-10-04 Thread Steve R Burrus
Hello all, Does anyone recognize this crap???!!! At least I personally think that it is because I know for a fact that I have seen this before, maybe some months ago! Is it some kind of a "scam" or what? I would really like to know before I invest my hard earned $$$ in this! __

Re: Tomcat stop when exit telnet session

2002-10-04 Thread Nancy Crisostomo Martinez
Hi Fong, I had the same behavior but in Tomcat 3.3 with Solaris 8. It was very frustrated for me, but I got a very good solution because I still think that it's not the best. You onlu have to run tomcat like this: (I did this in Tomcat 3.3) nohup tomcat.sh start > nohup.out So in the nohup.out

Re: Tomcat-Apache-SSL problem

2002-10-04 Thread David Mossakowski
Assuming you're using VirtualHost, do you specify the right JkMount paths in VirtualHost sections in your Apache that serve the secure port? d. haixi liu wrote: > Hello, > > I am having a problem accessing my webapps using https protocol. > > My server conf is: Tomcat 4.0.5 + Apache 1.3.26 +

Java web hosting service recommendation

2002-10-04 Thread Vernon Smith
Hi, Can someone recommend Java web hosting service in North American and Asian? What are the typical service such as storage space, bandwidth? Thanks for your input. Vernon Tired of all the SPAM in your inbox? Switch to LYCOS MAIL

RE: Sharing an object between servlets

2002-10-04 Thread Vijay Kandy
I think I have an idea now. Thank you Sexton, Lin and Shapira! -Vijay -Original Message- From: Sexton, George [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 10:26 AM To: Tomcat Users List Subject:RE: Sharing an object between servlets Go to: http://www.mhs

Tomcat-Apache-SSL problem

2002-10-04 Thread haixi liu
Hello, I am having a problem accessing my webapps using https protocol. My server conf is: Tomcat 4.0.5 + Apache 1.3.26 + mod_jk 1.2 + mod_ssl https works if I access static pages like https://myhost/manual/index.html, but does not work with my webapp (https://myhost/mywebapp/index.jsp). Howe

Tomcat stop when exit telnet session

2002-10-04 Thread fong
I install tomcat 4.X in solaris8. I run "/etc/init.d/tomcat4 start &" to start tomcat in telnet session from win2K. That is ok. But when I close the telnet session. This service is also stop. So I can't use tomcat web services. How can I keep it running? Much thanks...

Please Help: Jasper Problems

2002-10-04 Thread Chuck Carson
I am running the binary distibution of Tomcat 4.1.2 on Solaris 8. Each time a JSP page is requested, it generates the following exception: 2002-10-04 08:28:45 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: java/sql/Savepoint

Connection pool DBCP

2002-10-04 Thread [EMAIL PROTECTED]
I have been seen that nobody is able to answer to this question, I presume it's interesting for anybody, for a few days. I wish I knew if DBCP is able to find when db is restarted and reconnect. I'd like to use the jakarta instrument DBCP because all the products of the jakarta communi

Re: Session Invalidate Listener???

2002-10-04 Thread Tim Funk
See Section 10.2 of the Servlet Spec(2.3) about listeners. Especially: javax.servlet.http.HttpSessionListener Frank Diakovasilis wrote: > Does anybody know of a way of being notified before tomcat invalidates a > session, i.e. fire off an event (InvalidateSessionEvent) prior to getting > invalid

RE: Sharing an object between servlets

2002-10-04 Thread Sexton, George
Go to: http://www.mhsoftware.com/caldemo/servlet/login Once you are logged in, choose Edit | Resource Types and click on the right most icon by the word facility. This shows what I was speaking of. You might want to change the date to "09/13/2002" and click on the "Go" button. The ViewGantt ser

Re: Sharing an object between servlets

2002-10-04 Thread peter lin
I've built something similar to this in the past. In my case, I was using a popular enterprise mapping API to generate the maps with points of interest (easy to guess which one). I stored long/lat of a user's recent published locations in the database. IE, the user has some kind of mobile dev

RE: Sharing an object between servlets

2002-10-04 Thread Shapira, Yoav
Hi, >The number of coordinates is huge - in thousands so cant put them in the >URL. OK. Makes sense ;) >I have attempted your second idea. And yes I go to the DB for each request. >The problem with the Singleton is, I donno who should start the class. If >the HTML servlet starts the Singleton,

Session Invalidate Listener???

2002-10-04 Thread Frank Diakovasilis
Does anybody know of a way of being notified before tomcat invalidates a session, i.e. fire off an event (InvalidateSessionEvent) prior to getting invalidated?

RE: Sharing an object between servlets

2002-10-04 Thread Vijay Kandy
Hmmm. I see what you are saying. But how does the HTML servlet write out the image map data? Thank you. -Vijay -Original Message- From: Sexton, George [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 9:48 AM To: Tomcat Users List Subject:RE: Sharing an object

RE: Sharing an object between servlets

2002-10-04 Thread Vijay Kandy
The number of coordinates is huge - in thousands so cant put them in the URL. I have attempted your second idea. And yes I go to the DB for each request. The problem with the Singleton is, I donno who should start the class. If the HTML servlet starts the Singleton, will the object still be acces

RE: Warp connections

2002-10-04 Thread Larsson, Mickael
It does.. Andy..to a point Thanks But.. :) What i am trying to do..is to let the connector.. just serve the *.jsp and servlets from /myapp if there where .jpg .gif .html and so on.. in there tomcat..would also serve that.. And that ..is what i dont want at all.. I am thinkin of the performa

Re: Sharing an object between servlets

2002-10-04 Thread peter lin
Sounds like you want some kind of persistent storage that cross multiple requests. If I am reading you correctly, rather than have one servlet do both the html and png, you've split the functionality into two servlets. Assuming you're using tomcat 4, you should be able to create a light-weight a

exception handling

2002-10-04 Thread Felipe Schnack
I still have problems with error-page tag in tomcat config I added an entry to catch java.lang.Exception. For some reasong, it catches JspException and redirects them to my error page, but ServletExceptions aren't redirected. Anyone know why? I think I'll have to go back to my original idea

RE: Please Help: Getting this exception

2002-10-04 Thread Chuck Carson
Yes, the box is at both the recommended OS and recommended J2SE patches as of 27 sept. I am connecting to Oracle 8.1.7, but I get this exception for even the simplest of servlets. Here is a jsp page that gives me this exception: Test1 <%@ page import="javax.sql.*,java.sql.*,javax.naming.*,java

RE: Sharing an object between servlets

2002-10-04 Thread Sexton, George
I have done what you are attempting. The problem with decoupling as suggested by others is that you end up duplicating the logic to create the image, and the image map. My solution was to have the servlet generate the graphic and save it on the session. The HTML servlet wrote out an image tag to

RE: Please Help: Getting this exception

2002-10-04 Thread Shapira, Yoav
Hi, Very interesting. I've never seen that specific exception before, but the first sentence of your message brings up two questions: 1. Does your solaris box have the proper OS patches for JDK 1.3.1_04? 2. Are you connecting to a DB, and if so, what type JDBC drivers are you using? Yoav Shapir

RE: Sharing an object between servlets

2002-10-04 Thread Shapira, Yoav
Hi, There are many ways you can do this. Here are two examples: 1. Since the HTML servlet embeds the URL of the PNG servlet, why not put the coordinates in the URL? E.g. have the HTML servlet output and then the PNG servlet does String x1 = request.getParameter("x1"); and so forth. 2. Do you

RE: Where is javax.sql

2002-10-04 Thread Chuck Carson
Thanks for the help, I was under the impression it was in servlet.jar, *bonk* Thanks, CC > -Original Message- > From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]] > Sent: Friday, October 04, 2002 7:20 AM > To: Tomcat Users List > Subject: Re: Where is javax.sql > > > That's in

Please Help: Getting this exception

2002-10-04 Thread Chuck Carson
I moved my tomcat server from Linux to Solaris, now using the binary dist of tomcat 4.1.2 and jdk 1.3.1_04. All my apps are giving me this exception: org.apache.jasper.JasperException: java/sql/Savepoint at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja va:2

RE: Sharing an object between servlets

2002-10-04 Thread Barney Hamish
Can't you use a session/request scope object? However it's not clear to me why you need to share the variables between the servlets without having them communicate directly. Hamish > -Original Message- > From: Vijay Kandy [mailto:[EMAIL PROTECTED]] > Sent: Friday, October 04, 2002 4:28 P

Sharing an object between servlets

2002-10-04 Thread Vijay Kandy
Dear All, We are building a map tool - to draw maps and show some data on them. Now, I have this situation. I have a servlet that gets coordinates from the database and draws the map on its OutputStream (the content type is set to png image). There is another servlet (content type is text/html)

Re: Where is javax.sql

2002-10-04 Thread Kenny G. Dubuisson, Jr.
That's in Oracle's JDBC classes file (named classes12.jar for my installation), not in Tomcat. Make sure you install this file for your Oracle connections to work (put it in your $TOMCAT_HOME/lib directory). It can be downloaded from Oracle. Kenny - Original Message - From: "Chuck Carso

Re: Getting the name of the context

2002-10-04 Thread Tim Funk
HttpServletRequest.getContextPath() returns the context path name. jon wingfield wrote: > you could extract it from servletContext.getRealPath("/"); > > -Original Message- > From: shanmugampl [mailto:[EMAIL PROTECTED]] > Sent: 04 October 2002 12:51 > To: [EMAIL PROTECTED] > Subject: Gett

Where is javax.sql

2002-10-04 Thread Chuck Carson
Where is the package at under tomcat 4.1.2? I moved my tomcat apps from Linux to Solaris but none of my oracle connections will work. Thanks, Chuck -- This message contains confidential information and is intended only for the individual named. If you are not the named addressee you

RE: Manager application and JDBCRealm

2002-10-04 Thread Collins, Jim
You can configure them to work with any realm. If you don't want them to use the default realm in server.xml edit manager.xml and admin.xml and place your realm configuration here. Regards Jim. > -Original Message- > From: Brian Buckley [mailto:[EMAIL PROTECTED]] > Sent: 04 October 2002

RE: Getting the name of the context

2002-10-04 Thread jon wingfield
you could extract it from servletContext.getRealPath("/"); -Original Message- From: shanmugampl [mailto:[EMAIL PROTECTED]] Sent: 04 October 2002 12:51 To: [EMAIL PROTECTED] Subject: Getting the name of the context Hi, I have a requirement where i need to know the name of the context

Re: Repost: getClassLoader() returns null

2002-10-04 Thread Volker Leidl
This works, in fact! I could swear I've tried that yesterday, and it threw me tons of NoClassDefFoundErrors, but anyway now it works. Thanks a lot for your help Charlie. Anyway I'm still not quite confident. I still have no idea why I get null from getClassLoader() calls on classes in common/l

Re: Extra Log Information...

2002-10-04 Thread ContestAdmin
ContestAdmin wrote: > Hi all. > > I recently decided to upgrade my system from using > apache jserv to use tomcat. > > I am running Solaris 2.6. > I have apache version 2.0.42 > tomcat version 4.1.12. > > I am attempting to get the two to communicate via > mod_webapp. > > Right now they appear to

apache2.042,tomcat4.1.12,mod_jk2,vhosts

2002-10-04 Thread gabriel marti
Hello, I have configured tomcat with apache using mod_jk2,according to the jk2 how-to. I currently have /gabadoo/*.jsp in my workers2.properties file mapped to my "gabadoo" context in my server.xml file. However, I am not familiar with how to integrate my apache virtual hosts with the workers2

jk on HP-UX

2002-10-04 Thread Dorin Florian Ciuca
Hi, I can't build jk connector on HP-UX. Could someone help me or do you have the binaries for this machine ? I have HP - UX B.11.00 U 9000/800. After I ran configure i got something like this : creating cache ./config.cache checking for a BSD compatible install... scripts/build/unix/inst

Re: tomcat 4.1.12 with jdk1.4.1 on solaris

2002-10-04 Thread peter lin
When I have more conclusive data, I'll post the results that I can. peter Remy Maucherat wrote: > > Interesting, esp since I've noticed some significant improvements > already when going from 1.3 to 1.4.0. You can post more benchmarks if > you want to. > > Remy > > -- > To unsubscribe, e-ma

  1   2   >