Jakarta crashes after 900+ simultaneous connection

2001-08-09 Thread Santosh Pasi
Hi everyone, We are doing some stress testing. My problem is that when number of connections reaches around 940..980, jakarta crashes with following messages- SIGSEGV 11* segmentation violation si_signo [11]: SIGSEGV 11* segm

AW: request replication

2001-08-09 Thread Ralph Einfeldt
I'm not shure if I unstood your description. Especially the relation between the jsp and the servlet. Is the jsp just a page that holds an anchor to the servlet, or do you have a jsp that forwards to a servlet? If the second option is true, I have no idea. If the first option is true, this mig

Tips b4 installing Tomcat on IIS5/Win2k ?

2001-08-09 Thread Laurian Gridinoc
Hi all, I would like to know if there are special tips&tricks not documented about installing Tomcat on IIS5 / Win2k; the messages in archive are a bit puzzling... Thanks, -- Laurian Gridinoc Chief Web Developer GRAPEFRUIT DESIGN ---

Re: Redirection and Load Balancing

2001-08-09 Thread George Shafik
Magic Paul! Just a correction on the version of Apache we are running - 1.3.12 and still trialing 1.3.19. > worker.worker1.host=localhost # never tried a remote machine, but you Point of confusion Are you running your tomcats (JVMs) on separate servers ? If so how do you determine when "lo

xalan and problem with locating custom libraries

2001-08-09 Thread Dmitry Beransky
Hi, I need to use XSLT from inside jsp. I decided to go with Xalan/Xerces and in order to make them work under Tomcat (3.2.2), I replaced jaxp.jar and parser.jar with xalan.jar and xerces.jar in tomcat's lib directory. Everything works fine, until in my stylesheets I try to make use of cus

Re: How to execute a dynamic JSP from a Servlet WITHOUT sending it to disk first ?

2001-08-09 Thread Jim Seach
Fernando, Why do you need to create the JSP page itself dynamically? Couldn't you just create one or several JSP pages, then in your servlet, get the data, put it into request attributes, and call the proper JSP page to display the data? The JSP page would then take the data from the request at

Re: Absolute URL

2001-08-09 Thread Craig R. McClanahan
On Thu, 9 Aug 2001, Wang, Jianming wrote: > Hi, > > Is there a way to know a resource's absolute URL? I have a image, say > img1.gif. I want to reference it using > http://www.something:port/appName/graphics/img1.gif in jsp page. How can I > get all these information to create the url? I

Tomcat and Apache

2001-08-09 Thread Bob Wilson
How can you tell if you have both Apache(1.3.20) and Tomcat(3.2.3) talking to one another correctly?? I installed everything as per the documentation on Apache and Tomcat using mod_jk.so and NOT mod_jserv. I am also using the mod_jk.conf-auto suggestion and made the appropriate changes to do

Re: jdbcRealm problem

2001-08-09 Thread Taavi Tiirik
> From: Francois Bronsard > ... > The trace of the session state that authetication was successful, > yet, the system keeps asking for username and password and finally > fails. Any idea what could be wrong? Make sure you comment out SimpleRealm interceptor if you use JDBCRealm. I accidentally l

Absolute URL

2001-08-09 Thread Wang, Jianming
Hi, Is there a way to know a resource's absolute URL? I have a image, say img1.gif. I want to reference it using http://www.something:port/appName/graphics/img1.gif in jsp page. How can I get all these information to create the url? I use tomcat 3.2 and it doesn't support ServletContext.getS

problem bringing up pages

2001-08-09 Thread Nicholson, Robert .
Hi, I have been through every document I could find on your site, but I haven't found what I need yet. Here is what the problem is. I have set up Tomcat 3.2.3 on my W2K SP2 machine. I have installed IIS 5.0, and used your document located at http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat

RE: How to execute a dynamic JSP from a Servlet WITHOUT sending it to disk first ?

2001-08-09 Thread Andrey Aristarkhov
Hi, it's not good practice since it well be heavy processor load. Actually JSP being transformed to servlet, and JspServlet forward incoming request to it. JSP is not an interpriter. JSP page need to be compiled into servlet each time its (JSP) source changes on disk if it's the first request to

RE: Tomcat Server Setup question

2001-08-09 Thread Martin van den Bemt
You have to point a systmwide environment variable to your java installation directory eg : JAVA_HOME=/usr/local/java . While you are at it : some of the java software require jdk_home to be set ;-). Don't point this to the bin directory btw.. just to the root of the installation directory Hope t

Re: Tomcat Server Setup question

2001-08-09 Thread Beth Kelly
Set the JAVA_HOME variable within the tomcat.bat file. That may be a hack, but thats the way I did it. Kyle Wayne Kelly (504)391-3985 http://www.cs.uno.edu/~kkelly - Original Message - From: "Michael Reeves" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 09, 2001 3:07

RE: ajp12[1]: cannot scan servlet headers (500)

2001-08-09 Thread Martin van den Bemt
You cannot connect to that port via a browser.. That is only for internal communications with apache or other webservers. So it cannot serve http request directly from your browser. As far as I know you have to restart the webserver and tomcat. Mvgr, martin > -Original Message- > From: S

Tomcat Server Setup question

2001-08-09 Thread Michael Reeves
Hi, I'm beyond newbie, meaning, painfully unaware of how to do this. I've been reading for days the User Guide and all the supporting documents at the Jakarta website for days and still can't figure out where/why I'm not doing this correctly. I'm attempting to install the Tomcat to run with Apa

ajp12[1]: cannot scan servlet headers (500)

2001-08-09 Thread Singh, Rakesh
Hi Folks: When I use the url http://localhost/jserv/ to test ApacheJserv 1.1.2 Status I do see ApacheJServ 1.1.2 Status Welcome to the dynamic status page of the ApacheJServ servlet engine. All these pages are dynamically created to show you the status of your servlet execution environment, b

Re: URL rewriting

2001-08-09 Thread Bo Xu
YueMa wrote: > Hi there, > How can I config Tomcat to use URL rewriting as session tracking > mechanism? > > Thanks! good email for you :-) http://mikal.org/interests/java/tomcat/archive/view?mesg=35357 http://mikal.org/interests/java/tomcat/archive/view?mesg=35358 Bo Aug.09, 2001

How to execute a dynamic JSP from a Servlet WITHOUT sending it to disk first ?

2001-08-09 Thread L.Fernando
Hi All, I have the following problem: Based on some database data, one Servlet dynamicly generates an JSP page text inside an string buffer. The question is: How to execute that "page" without having to write it to disk before dispatching it ? I mean, how to send that string buffer (with my "pa

RE: Redirection and Load Balancing

2001-08-09 Thread Paul Nock
We're running Linux, Tomcat 3.n (currently 3.2.2), and Apache 1.3.19 (and also 1.3.12). We did rebuild binaries, but didn't really need to. The only weird thing we did was so the hardware load balancer in front of our servers kept cookie and/or jsessionid sessions on the same physical hardware s

Re: Configure to use mod_jk

2001-08-09 Thread Denis Haskin
Tomcat-apache.conf is not used when you're using the jk connectors. Use mod_jk.conf instead (if mod_jk.conf is not there, look for mod_jk.conf-auto as a starting point). dwh Mike Givens wrote: > How do I get the tomcat-apache.conf file to load the mod_jk module > instead of the mod_jserv mod

Re: JDBC

2001-08-09 Thread Tim O'Neil
At 01:47 PM 8/9/2001, you wrote: >Does Tomcat have all the necessary JDBC drivers installed to successfully >connect to a mysql database? I will be installing Tomcat on Linux Mandrake >8with Apache shortly. And I will be developing JSP programs that use MySql. Michael; You can get a driver for

RE: JDBC

2001-08-09 Thread William Kaufman
Tomcat doesn't do JDBC. Tomcat comes with optional classes (like JDBCRealm) which do, but those are extensions. So the answer is, it comes with all the JDBC drivers it needs, which is none. If _your_ code uses JDBC, _you'll_ need to get the driver(s) you want yourself.

Re: JDBC

2001-08-09 Thread Jeff Kilbride
No. You need to download the mysql drivers from http://mmmysql.sourceforge.net/ Put the jar file in your classpath and you're set. Thanks, --jeff - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 09, 2001 1:47 PM Subject: JDBC > Does Tomcat

RE: Configure to use mod_jk

2001-08-09 Thread Martin van den Bemt
Maby I'm mixing up versions, so forgive me for that.. In the server.xml you can uncomment the line containing ApacheConfig and from the TOMCAT_HOME/conf/jk you can include the auto generated apache include file (named mod_jk.conf-auto. Don't have any experience on solaris though, but this will pro

Configure to use mod_jk

2001-08-09 Thread Mike Givens
How do I get the tomcat-apache.conf file to load the mod_jk module instead of the mod_jserv module? I'm running tomcat3.2.3 and Apache 1.3.12 on Solaris. Mike

JDBC

2001-08-09 Thread Michael Johnson
Does Tomcat have all the necessary JDBC drivers installed to successfully connect to a mysql database? I will be installing Tomcat on Linux Mandrake 8with Apache shortly. And I will be developing JSP programs that use MySql. Thanks, Michael Johnson --

About JDBC Realm

2001-08-09 Thread Rosas, Jesus M (CORP, DDEMESIS)
I have a doubt about JDBC Realm. Can I use this just like a connection pool like Weblogic or Websphere??? How can I do that?? Thanks in advance. Ddemesis GDC __ Jesús Rosas Medina IT Security Ingenieros Programadores Asociados, S.C.

RE: TomCat!!TomCat!!

2001-08-09 Thread Jagadish Gopi
Thanx alot Martin for replying. -Original Message- From: Martin van den Bemt [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 09, 2001 3:49 PM To: [EMAIL PROTECTED] Subject: RE: TomCat!!TomCat!! > > HI Everyone, > I am new to TomCat and am really interested in knowing lot about this.

RE: TomCat!!TomCat!!

2001-08-09 Thread Martin van den Bemt
> > HI Everyone, > I am new to TomCat and am really interested in knowing lot about this. Join the club ;=) > I actually want to try this on some of our present system(Servlets), where > there are some url redirection, sessions and so on. > My doubt is > 1) will Tomcat work fine without a webserv

Re: problem make webapp module for apache

2001-08-09 Thread Pier P. Fumagalli
Steffen Haase at [EMAIL PROTECTED] wrote: > Steffen Haase wrote: > >> ...now I've got the following error messages > > I corrected the compile command in apache-1.3/Makefile and execute make clean > and make. I've got the following errors RRRGH :( IT DOESN'T MAKE ANY SENSE :( :( (ok, I

TomCat!!TomCat!!

2001-08-09 Thread Jagadish Gopi
HI Everyone, I am new to TomCat and am really interested in knowing lot about this. I actually want to try this on some of our present system(Servlets), where there are some url redirection, sessions and so on. My doubt is 1) will Tomcat work fine without a webserver, what i mean is will servlet

Re: problem make webapp module for apache

2001-08-09 Thread Steffen Haase
Steffen Haase wrote: > ...now I've got the following error messages I corrected the compile command in apache-1.3/Makefile and execute make clean and make. I've got the following errors --- Compiling sources in /tmp/src/jakarta-tomcat-connectors/webapp/apache-1.3... make[1]: Entering directory

Re: problem make webapp module for apache

2001-08-09 Thread Steffen Haase
"Pier P. Fumagalli" wrote: > That's definitely weird... If you have mod_so, LD_SHLIB _should_ be defined. > Can you put "gcc" in your Makefile near APXS_LD_SHLIB, and see what happens. > I really don't understand why this is happening... I compiled and installed apache 2.0.22 as well. everything

Re: URL rewriting

2001-08-09 Thread Craig R. McClanahan
On Thu, 9 Aug 2001, YueMa wrote: > Hi there, > How can I config Tomcat to use URL rewriting as session tracking > mechanism? > URL rewriting is not something a servlet container does for you -- it's something you have to do in your HTML output yourself. For example, in a JSP page if you crea

RE: request replication

2001-08-09 Thread Martin van den Bemt
I'm seeing some messages regarding multiple request from internet exploder. Do you have the same problem with nutscrape? A couple of messages back I also read that all messages regarding multiple request from exploder are closed, because it wasn't reproducable. Maby you can give this a go on nutsc

Re: Cookie Exception: java.lang.IllegalArgumentException

2001-08-09 Thread Jeff Kilbride
Hi Larry, I can put some logging statements in and see if I can find out more about what's going on. However, I think the call creating the new cookie should at least be wrapped in a try/catch to prevent the exception from blowing that particular request. I'll do that and submit it to the Dev lis

RE: Problem in Intigration Apache & Tomcat

2001-08-09 Thread Martin van den Bemt
there are some people actively working on updating the documentation. (esp. Rob). Please share your experience in writing and help in that area ;-) and I totally agree with Pier on this.. Mvgr, Martin > -Original Message- > From: Denis Haskin [mailto:[EMAIL PROTECTED]] > Sent: Thursday

Re: problem make webapp module for apache

2001-08-09 Thread Pier P. Fumagalli
Steffen Haase at [EMAIL PROTECTED] wrote: > Hi Pier, > > "Pier P. Fumagalli" wrote: > >> I'm looking at your Makefiles, and somehow there's something I don't >> understant... It seems that your httpd is not configured to support DSO >> modules. Can you check that the output of "httpd -l" includ

URL rewriting

2001-08-09 Thread YueMa
Hi there, How can I config Tomcat to use URL rewriting as session tracking mechanism? Thanks!

Looking for a small job? OXON. UK

2001-08-09 Thread phil_k
Hi Anyone Interested in installing and configuring a HTTP server to run an intranet application using JDBC\ODBC and JSP1.2. Any Tomcat 4.x would do , to serve upto 20 workstations both Macs & PC's The target box for the HTTP sever is running windows ME. Please respond to [EMAIL PROTECTED] TIA

Re: can't open, can't be found

2001-08-09 Thread Ling Wang
Thanks Randy for your help. I think it might be the import class not found in the AdmPreviewPage.jsp I just got off the list, looks like I should get on again... Thanks again. Ling On Thu, 9 Aug 2001, Ling Wang wrote: > Hi Michael and MindTerm??? > > Thank you so much for you response.

Re: problem make webapp module for apache

2001-08-09 Thread Steffen Haase
Hi Pier, "Pier P. Fumagalli" wrote: > I'm looking at your Makefiles, and somehow there's something I don't > understant... It seems that your httpd is not configured to support DSO > modules. Can you check that the output of "httpd -l" includes "mod_so.c"? cheiron:/usr/local/httpd/bin # ./httpd

RE: can't open, can't be found

2001-08-09 Thread Randy Layman
Here's your problem: Root cause: > java.lang.NumberFormatException: null > at java.lang.Integer.parseInt(Integer.java, Compiled Code) > at java.lang.Integer.parseInt(Integer.java, Compiled Code) > at > user._0002fuser_0002fAdmPreviewPage_0002ejspAdmPreviewPage_jsp_0._jsp

Re: [MOD_REWRITE] Why...

2001-08-09 Thread Denis Haskin
Uh... the solution is the 2 items in my response (load mod_jk before mod_rewrite, put [PT] on RewriteRules). dwh Loïc Lefèvre wrote: >Indeed, phew I finally found someone with the same hemm...problem ;) > >Did you find a solution? >Did you try to "patch" Tomcat? ;) >

Re: problem make webapp module for apache

2001-08-09 Thread Pier P. Fumagalli
Steffen Haase at [EMAIL PROTECTED] wrote: > Hi Pier, > > "Pier P. Fumagalli" wrote: > >> Don't worry... This is a patch that should make your module compile: > > I can compile, thats not the problem. I can't linking the mod_webapp.so That patch fixed the double definition of -DLINUX in the co

Re: can't open, can't be found

2001-08-09 Thread Ling Wang
Hi Michael and MindTerm??? Thank you so much for you response. I appreciate very much. We use path="/cms" docbase="/"webapps/cms" I can run the example jsp's I think I can load static content html we are on solaris 8 and Tomca 3.2.3 JDK 1.2.2 We just installed tomcat, I want to

Re: can't open, can't be found

2001-08-09 Thread MindTerm
Dear Ling, If you want somebody to help you, please give more detail information. Do your jsp files placed in webapps/projectname/jsp/*.jsp ??? M.T --- Ling Wang <[EMAIL PROTECTED]> wrote: > > When I try to run some .jsp files under webapps, I > got can't open and not > found message. >

RE: can't open, can't be found

2001-08-09 Thread Michael Wentzel
> When I try to run some .jsp files under webapps, I got can't > open and not > found message. > > Anyone knows why or give a guess? A "little" more information would be helpful: Are the jsp's in a specific context? Can you run the example jsp's? Can you load static content(.html)? Are you run

Re: Problem in Intigration Apache & Tomcat

2001-08-09 Thread mmcguinn
Dennis, Well said. On Thu, 9 Aug 2001, Denis Haskin wrote: > Chill out, Pier. I suspect the initial poster was not a native English > speaker, so the lack of politeness was accidental, I think... > > That being said, I agree that there's a huge number of people who post > to this list (and m

Re: problem make webapp module for apache

2001-08-09 Thread Steffen Haase
Hi Pier, "Pier P. Fumagalli" wrote: > Don't worry... This is a patch that should make your module compile: I can compile, thats not the problem. I can't linking the mod_webapp.so > RCS file: > /home/cvs/jakarta-tomcat-connectors/webapp/apache-1.3/Makefile.in,v I changed my Makefile, but that

RE: [MOD_REWRITE] Why...

2001-08-09 Thread Loïc Lefèvre
Indeed, phew I finally found someone with the same hemm...problem ;) Did you find a solution? Did you try to "patch" Tomcat? ;) Loïc Lefèvre -Message d'origine- De : Brett Neumeier [mailto:[EMAIL PROTECTED]] Envoyé : jeudi 9 août 2001 17:37 À : [EMAIL PROTECTED] Objet : Re: [MOD_REWRITE

can't open, can't be found

2001-08-09 Thread Ling Wang
When I try to run some .jsp files under webapps, I got can't open and not found message. Anyone knows why or give a guess? Thanks in advance! Ling

Q: request replication

2001-08-09 Thread Michael Wentzel
I am having a unique situation pop up. It's some kind of concurrency issue but I can't figure out what's causing it. I am generating PDFs in a servlet and a single request to the servlet works fine but if two users request a PDF at "roughly" the same time then the adobe plugin appears to get con

Re: problem make webapp module for apache

2001-08-09 Thread Steffen Haase
Hi Pier, "Pier P. Fumagalli" wrote: > Can you send me your three Makefile, Makedefs and apache-1.3/Makefile files? > I believe that both APR and APXS are defining -DLINUX somehow, you should > see two colliding entries in one of those files (but please, SEND them) yes, there are two different e

Re: [MOD_REWRITE] Why...

2001-08-09 Thread Brett Neumeier
Denis Haskin wrote: > > We found that we had to do 2 things: > > 1) Make sure that mod_jk was loaded into Apache *before* mod_rewrite, > which meant moving the loading of mod_jk from mod_jk.conf to Apache's > httpd.conf, and we listed it in the LoadModule and AddModule lists > *before* mod_rewri

Re: Problem in Intigration Apache & Tomcat

2001-08-09 Thread Denis Haskin
Chill out, Pier. I suspect the initial poster was not a native English speaker, so the lack of politeness was accidental, I think... That being said, I agree that there's a huge number of people who post to this list (and many other lists, unfortunately) who seem to turn to NGs and mailing li

Re: problem make webapp module for apache

2001-08-09 Thread Pier P. Fumagalli
Can you send me your three Makefile, Makedefs and apache-1.3/Makefile files? I believe that both APR and APXS are defining -DLINUX somehow, you should see two colliding entries in one of those files (but please, SEND them) Pier Steffen Haase at [EMAIL PROTECTED] wrote: > > Hi Pier, > > >

How to prevent Tomcat/Jasper to forward JSP comments ?

2001-08-09 Thread Frederic
Hi, I would like to prevent the servlet engine to forward the JSP comments in the generated HTML page. I used to put many comments in my JSP pages but i would like to hide them to the clients. I've seen that we can give the JspServlet some init parameters but there is no param

RE: Using Tomcat with MSAccess

2001-08-09 Thread William Kaufman
This is pretty far off the topic of servlets--sorry to have added to it. But you can get the source for String.java (and most of the java.* packages) in the JDK, in a file called src.jar. Suffice it to say that, since String.equals() checks for pointer equality and object type, then downcasts, an

Re: how many visits can tomcat deal with

2001-08-09 Thread Pier P. Fumagalli
[EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: > hi > > how many visits can tomcat deal with at the same time? in other words: on > how many visit should i use load balancing to increase performance? > how many hits (or visits) is your tomcat dealing with every day? Read the archive... I posted

Re: Problem in Intigration Apache & Tomcat

2001-08-09 Thread Pier P. Fumagalli
sekhar k at [EMAIL PROTECTED] wrote: > Hi All, > > I am using Apache and Tomcat in Sun os. It's running nice my problem is that > if i use www.mydomain.com apache is responding.For tomcat i need to give > www.mydomain.com/domain/servlet/Test but it's not giving result. It's > responding only wh

Re: Such a thing as server startup class?

2001-08-09 Thread Pier P. Fumagalli
Greg Trasuk at [EMAIL PROTECTED] wrote: > Hi all: > > Yes, a good discussion. > > I puzzled over this for an application I wrote a while ago. After many > hours contemplating the servlet spec (2.2), I finally decided that if I > created an object and dropped it into the application context, it

Re: [MOD_REWRITE] Why...

2001-08-09 Thread Denis Haskin
We found that we had to do 2 things: 1) Make sure that mod_jk was loaded into Apache *before* mod_rewrite, which meant moving the loading of mod_jk from mod_jk.conf to Apache's httpd.conf, and we listed it in the LoadModule and AddModule lists *before* mod_rewrite. That ensured that mod_rewri

Re: problem make webapp module for apache

2001-08-09 Thread Steffen Haase
Hi Pier, "Pier P. Fumagalli" wrote: > >> Finding it will not help. Something else is wrong. > >> At least 2 things: > >> > >> 1 - What is the result of your configure? > >> (There must be something wrong). > > > > no, everything seems to be ok. > > Can you send the output? I checked out th

Re: mod_webapp.so

2001-08-09 Thread Pier P. Fumagalli
James, Stuart at [EMAIL PROTECTED] wrote: > where can I download a copy of the mod_webapp.so > > I am using tomcat beta 6 with apache 1.3 running on windows nt 4.0 You'd better check out the new one in CVS. The one shipped with B6 is now known to have problems The CVS repository is jakarta

RE: two tomcats on one pc

2001-08-09 Thread William Kaufman
Yes, as you say. You'll need a separate server.xml file for each instance, setting the ports uniquely across all instances. -- Bill K. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 09, 2001 7:3

Re: Using Tomcat with MSAccess

2001-08-09 Thread Kyle Wayne Kelly
I was talking about "String.equals()". Kyle Wayne Kelly (504)391-3985 http://www.cs.uno.edu/~kkelly - Original Message - From: "Beth Kelly" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 09, 2001 9:50 AM Subject: Re: Using Tomcat with MSAccess > > Kyle Wayne Kelly > (

Re: Using Tomcat with MSAccess

2001-08-09 Thread Beth Kelly
Kyle Wayne Kelly (504)391-3985 http://www.cs.uno.edu/~kkelly - Original Message - From: "William Kaufman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 09, 2001 7:14 AM Subject: RE: Using Tomcat with MSAccess > > > > > > "".equals(passwd) > > > > rather than > > >

"web-app" not getting declared SAXParseException - 4.0-b6

2001-08-09 Thread Steven Elliott
I am getting the following error from Catalina.out upon Tomcat initialization. I have not done anything but install Tomcat. All Examples (JSP and Servlet) seem to run as expected and the funny thing according to the log, the service seems to restart w/o error declaration? Irix 6.5.12 SDK

two tomcats on one pc

2001-08-09 Thread bastian . wagner
hi, is it possible to run two instances of tomcat on one pc. one instance for internals and one for the www. i thought of using two different ports... ist this possible? greets bastian

Catalina. Class Loader problem. java.lang.LinkageError: duplicate class definition

2001-08-09 Thread Roytman, Alex
Hello, I am getting this error when hit my web page first time. What is the most puzzling that after few retries it works no more errors. There is no duplicate class paths in my class path and WEB-INF/class(lib) I would really appreciate if you can point me in right direction Alex java.lang.

RE: [MOD_REWRITE] Why...

2001-08-09 Thread Loïc Lefèvre
Hmmm, I don't think so, the facts are the facts: Tomcat (v3.2.3 on Linux) doesn't work with the actual rules I use for the mod_rewrite module (apache 1.3.20). And I precise, it works perfectly with JServ! I am a devlopper as many of you and don't think I'm the best ^_^; But can you then explain m

RE: Further documentation

2001-08-09 Thread William Kaufman
> - JDBCRealm, how to use in an applet (Did you really mean "use JDBCRealm in an applet"? Tomcat doesn't run applets, only servlets,...) Did you read the online Tomcat docs? http://jakarta.apache.org/tomcat/ (Pick the version of Tomcat you're using under "Documentation" on the left side.)

Re: ClassLoader.getSystemResourceAsStream() Problem

2001-08-09 Thread chris monster
try ClassLoader.getResourceAsStream() instead. Zhi Shen wrote: > > Hi, > > ClassLoader.getSystemResourceAsStream( propertyFileLocation ) cannot load my > properties file. Does anybody know why? > > Tomcat-3.2.3 > IIS5.0 > JDK1.3.1 > > Thanks > > -zhi

RE: Using Tomcat with MSAccess

2001-08-09 Thread William Kaufman
> > > > "".equals(passwd) > > > rather than > > > passwd.equals( "" ) > > > No you shouldn't. That's totally evil. For a start, you're > > creating another String object by doing "" > > > As "" is a constant string, it is created just once. So there > is not much overhead. True, othe

ClassLoader.getSystemResourceAsStream() Problem

2001-08-09 Thread Zhi Shen
Hi, ClassLoader.getSystemResourceAsStream( propertyFileLocation ) cannot load my properties file. Does anybody know why? Tomcat-3.2.3 IIS5.0 JDK1.3.1 Thanks -zhi

RE: Passing paramters to JSPs

2001-08-09 Thread Larry Isaacs
The tag in the web.xml supports as well as . You should be able to pass init-param's to JSP's as well as servlets. Larry > -Original Message- > From: James Hughes [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 09, 2001 5:23 AM > To: Tomcat-User > Subject: Passing paramters to JSP

RE: Cookie Exception: java.lang.IllegalArgumentException

2001-08-09 Thread Larry Isaacs
This bug appears more than once in Bugzilla. So far, attempts to duplicate it haven't been successful, so it has never been tracked down. Cookie handling has been rewritten in Tomcat 3.3 and the bugs have been "resolved" as being fixed in 3.3. If you are interested, I can try to supply advice a

Re: Problem running two tomcat servers on one machine

2001-08-09 Thread Florian Nykrin
On Thursday 09 August 2001 15:47, you wrote: > This error suggests you are trying to shutdown Tomcat on > a port that is not open. Are you sure you are shutting > down the second Tomcat with the correct server.xml file? > This is the error you would get if you used the first > Tomcat's server.xml

RE: getting the ServerName

2001-08-09 Thread Heath, Joseph
Its depends on whether Kazi meant getServerName() or getServletName() .. I was assuming he made a spelling mistake (its a frequent compiler warning on my box) .. As you cant get access to the Servlet through the ServletContext (deprecated and doesn't work anymore)... But if you want the ServerNa

Re: I don't see the output under Linux

2001-08-09 Thread David Smith
I don't know about your starting methods and why they are different, but the last time I saw the exception you listed was when I was trying to get Tomcat running and didn't realize the java environment I was running was Kaffe. Some docs and email messages I found make it very clear Tomcat does

UNSUSCRIBE

2001-08-09 Thread YorkBush
PLEASE UNSUBSCRIBE ME FROM THE LIST

RE: Problem running two tomcat servers on one machine

2001-08-09 Thread Larry Isaacs
This error suggests you are trying to shutdown Tomcat on a port that is not open. Are you sure you are shutting down the second Tomcat with the correct server.xml file? This is the error you would get if you used the first Tomcat's server.xml file. Larry > -Original Message- > From: Flo

RE: getting the ServerName

2001-08-09 Thread Mills, Theo
Actually there's a more direct method in javax.servlet.ServletContext.getServerInfo(). Check it out: http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/ServletContex t.html Hope this helps. -Original Message- From: Heath, Joseph [mailto:[EMAIL PROTECTED]] Sent: Thursday, Au

Re: [MOD_REWRITE] Why...

2001-08-09 Thread Francis Pallini
Hi, It sounds like you are a little sarcastic ;=) Regards, Francis Pallini At 11:25 AM 8/9/01 +0200, you wrote: >Can anyone tell me why the when using the mod_rewrite module, Tomcat >can't/don't seem to retrieve >the rewritten url and args? > >As I am responsible of the migration from JServ to

I don't see the output under Linux

2001-08-09 Thread Stefano Bonnin
Hi, I have always the same problem but I have noticed the following thing: so far I ran tomcat with deamon tomcat start in this case my XSP application works but there is no output on the shell (where I ran tomcat). Now I decide to run tomcat with /usr/bin/tomcat run and the shell ou

RE: Using Tomcat with MSAccess

2001-08-09 Thread Brett Knights
A couple of points: for your SQL try using a PreparedStatement and using the setXXX methods on it. Greg's point about Patrick O'Reilly was that with your hardcoded update statement you don't have any method of escaping single quotes in the input data. Also it looks like you are sending a string

Re: AW: Using Tomcat with MSAccess

2001-08-09 Thread John Baker
See more remarks below :-) > > -Ursprüngliche Nachricht- > > Von: John Baker [mailto:[EMAIL PROTECTED]] > > Gesendet: Donnerstag, 9. August 2001 09:55 > > An: [EMAIL PROTECTED] > > Betreff: Re: Using Tomcat with MSAccess > > > > > > "".equals(passwd) > > > rather than > > > passwd.e

RE: Auto reload in Tomcat4x

2001-08-09 Thread Loïc Lefèvre
Hi, I was asking myself the same question, after reading the source, I found that : - By pushing the new .war file, it doesn't produce a reload of the servlet - By modifying the files in /WEB-INF/classes, the modified .class files are reloaded I use the following instructions (ant) to publish my

Auto reload in Tomcat4x

2001-08-09 Thread Allan Kamau
Hi all, How does auto reload work in Tomcat4.0? My question is: how do I update servlets that I have deployed in webapps folder as part of .war file during runtime in Tomcat4x. Without having to recreate and deploy the .war file and restart tomcat? In Tomcat3.x I configured all the servlets in the

RE: how many visits can tomcat deal with

2001-08-09 Thread Randy Layman
When dealing with dynamic content (which is why you're using Tomcat) its usually what you are doing with each request that adds more load to the computer than Tomcat dealing with the request itself. So, the answer to your question is it really depends on what you're doing and th

RE: getting the ServerName

2001-08-09 Thread Heath, Joseph
Your classes will not know where they are being run.. You have to pass some kind of context in to them.. I normally use a ref to the servlet through the constructor eg.. public class MyExample { private HttpServlet context; public MyExample(HttpServlet context) {

RE: JSP and Connection Pooling

2001-08-09 Thread Reynir Hübner
I recomend you get your self something like poolman, or jdbcpool from www.bitmechanic.com because it must be better to use something like this, it has been tested and is btw free of charge to use and even distribute (bitmechanic). So I think you would be spending alot of time into doing something

getting the ServerName

2001-08-09 Thread Kazi the P i R @ t {-
how can one of my packages (not a servlet) access the server's name?? I attempted to use the HttpServletRequest object in isolation and using the function getServletName() to achieve my goals... but it failed. It was just a shot in the dark... Now i am turning to you all... shed some light on my

Re: Load balancing

2001-08-09 Thread Kumar Vijayaratnam
Hi Ananta, Could you please provide your example configurations... Are you running tomcat and apache on two seperate servers ?. I have been trying get Tomcat and Apache to run on separate machines like you have for some time withouth success Thanks Kumar AnantaS wrote: > Hi, > > I am having s

[MOD_REWRITE] Why...

2001-08-09 Thread Loïc Lefèvre
Can anyone tell me why the when using the mod_rewrite module, Tomcat can't/don't seem to retrieve the rewritten url and args? As I am responsible of the migration from JServ to Tomcat, I've to write a documentation that explain this point... Loïc Lefèvre

Passing paramters to JSPs

2001-08-09 Thread James Hughes
Hi, For my servlets I am using the web.xml file to provide (fairly static) parameters for the servlets. I now have some JSPs, and was wondering how to do similar parameter passing - I cant find any cluse in the Servlet Specification - does anybody know more about this? Thanks, J

mod_webapp.so

2001-08-09 Thread James, Stuart
where can I download a copy of the mod_webapp.so I am using tomcat beta 6 with apache 1.3 running on windows nt 4.0 Thanks, Stuart James. ___ Email Disclaimer This communication is for the attention of the named recipient only and should not be

RE: Problems with

2001-08-09 Thread Claes Holmerson
Ok, thanks for these advices. Then I have a related question: web.xml seems to be a very vital part of a web application. In it you can change parameters that you send to the applications, as well as define the urls that can be used to reach different servlets. But - when you write your servlet

  1   2   >