Re: Java Process Pool

2003-07-02 Thread James Carpenter
Do you know of an open-source implementation that does provide process pooling? (Synchronization alone isn't good enough in my case as I want to spread the work over multiple processors.) The whole point of the search is to avoid the time spent writing my own pooling service. - Original Mess

Compensating for applet security restrictions

2003-07-02 Thread Susan Hoddinott
Hello,   I currently have a JSP with an APPLET tag (including EMBED and OBJECT references) which runs a JAR file located on my server.  The program runs fine but because the APPLET is run by the Java plug-in whenever it needs to read or write data it attempts to read or write the data from or

How to generate Build Status Log

2003-07-02 Thread bas perumal
Hi, Please let me know how to generate build status log with all the possible information about the build process status. with luv, bas SMS using the Yahoo! Messenger;Download latest version.

How to generate Build Status Log

2003-07-02 Thread B.A.S.Perumal
Hi All, Do any one knows how to generate build status log with all the possible information about the build process. including the exception message if it occurs. Please let me know asap. with luv, bas - Do you Yahoo!? The New Yahoo! Search - Faster. E

Re: Need your suggestion

2003-07-02 Thread Bill Barker
"John Turner" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > #2 because its free and based on the GPL. 'Nuf said. > Urm, it is actually based on the Apache-License (similar to the BSD License), which is much less restrictive than GPL. If Tomcat were GPL, I'd never let my firm us

Re: Bug ? Init is called twice in SingleThreadModel

2003-07-02 Thread Bill Barker
By default, all current released versions of Tomcat (i.e. 3.3.1-5.0.3) implement instance-pooling for STM Servlets. The servlet-spec explicitly allows the Container (aka Tomcat) to implement STM Servlets this way, so, no, it is not a bug. You should expect to get multiple instances of your Servle

Log4j / ConsoleLogger

2003-07-02 Thread christian . schuster
Hi list, I am using Log4j for my web apps. Now I would like to set up Tomcat's Console Logger to use Log4j. I know I just can put the required classes on system startup path (e.q. JAVA_HOME/jre/lib for libs or JAVA_HOME/jre/classes for classes). Then just edit the JAVA_HOME/jre/lib/logging.pro

Re: How to compile mod_jk2.c

2003-07-02 Thread Thomas Gagné
Is "ant" supposed to compile it or is there a "configure" or "make" that creates the little beastie? Well, inside jakarta-tomcat-connectors-4.1.24-src/jk/native2 there's a buildconf.sh. After running it I had a "configure" file, which helped me feel at home. . configure --with-apxs2=/usr/loca

Re: How to get the container within an instance event?

2003-07-02 Thread Craig R. McClanahan
On Wed, 2 Jul 2003, Angus Mezick wrote: > Date: Wed, 2 Jul 2003 15:08:33 -0400 > From: Angus Mezick <[EMAIL PROTECTED]> > Reply-To: Tomcat Developers List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED], [EMAIL PROTECTED] > Subject: How to get the container within an instance event? > > Does anyone

Deploying WAR: Possible to automatically compile JSPs?

2003-07-02 Thread Lukas Bradley
When deploying a WAR file, is it possible to have Tomcat automatically compile all the included JSP files? Lukas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Page does not immediately display on restart

2003-07-02 Thread grenoml
Ok, I just tried this on a RH9 box and I'm not seeing the same behavior - it's displaying the page for me there. So, I'm only observing this behavior on the RH8 setup. rgds, Gerry Reno --- grenoml <[EMAIL PROTECTED]> wrote: > Yoav, > The url request will queue until the container has started

HELP, HOW TO BUILD MOD_JK FROM SOURCE

2003-07-02 Thread Dumisani Nlebgwa
Hi guys, this is kind of stupid but does anyone know or have any good documentation of how I can build mod_jk from source? I am using redhat 9 and i use the apache2.0.40 that came with it and tomcat 4.1 --Dumi *---*

Re: How to compile mod_jk2.c

2003-07-02 Thread Eric J. Pinnell
Hi, Mine was in: jakarta-tomcat-connectors-jk2-2.0.2-src/jk/build/jk2/apache2/mod_jk2.so -e On Wed, 2 Jul 2003, [ISO-8859-1] Thomas Gagné wrote: > I guess that's what I would have thought, but alas: > > find . -name 'mod_jk*' > ./jk/native/apache-1.3/mod_jk.c > ./jk/native/apache-1.3/mod_jk.dsp

Re: How to compile mod_jk2.c

2003-07-02 Thread Thomas Gagné
I guess that's what I would have thought, but alas: find . -name 'mod_jk*' ./jk/native/apache-1.3/mod_jk.c ./jk/native/apache-1.3/mod_jk.dsp ./jk/native/apache-1.3/mod_jk.exp ./jk/native/apache-2.0/mod_jk.dsp ./jk/native/apache-2.0/mod_jk.c ./jk/native2/server/apache2/mod_jk2.dsp ./jk/native2/serv

RE: Page does not immediately display on restart

2003-07-02 Thread grenoml
Yoav, The url request will queue until the container has started and then it will process it. If you don't want to test it then ok don't. This observed behavior is different than 4.1.24 and since I'm looking for clues related to the Jetspeed JSP Portlets not displaying with 5.0.3 I thought this

RE: loadOnStartup: Default Context Resources unavailable?

2003-07-02 Thread Yoav Shapira
Howdy, > Is there a place to put these definitions so that a new application > deployed out of ant, for example, would be able to pick them up? GlobalNamingResources in the server.xml file. > Am I missing an easy way to create the context with resources using ant? No, you're not AFAIK. I still

Re: Java Process Pool

2003-07-02 Thread Yoav Shapira
Howdy, Commons-pool is a generic pooling framework. It's not specific (and in fact not that good, because of sync issues) for threads. Similarly, it's not specific to Processes. You would just use GenericObjectPool. If you want to synchronize things (or otherwise control thread-safety), you'd h

RE: Page does not immediately display on restart

2003-07-02 Thread Yoav Shapira
Howdy, > Please be sure to try and access the page after giving the command to > restart the container but before it has finished restarting. Are you serious? ;) That's not a valid test IMHO and I'm not going to try it at all. While the container is restarting and it's restarting, and I don't

RE: Servlets/JSP crash, static content & manager app OK

2003-07-02 Thread Yoav Shapira
Howdy, See intermixed -- there are a lot of different questions here ;) > This turned out to be the case, but for a funky reason. By using the JDBC drivers are a frequent cause for this. Another is JMS clients. > It turns out that the SCSI backplane was the real problem and had to be > replace

Re: Stack Trace Line Numbers

2003-07-02 Thread Tim Funk
Or you can use JAVA_OPTS='-Xint' -Tim Jeremiah Armstrong wrote: Since I started using Tomcat 4.1.24, I am encountering problems debugging servlets when an exception is thrown. In previous servlet containers that I have used, when a stack trace is printed to the log using (Exception).printStackTra

RE: Servlets/JSP crash, static content & manager app OK

2003-07-02 Thread Roman Fail
>>The problem: periodically Tomcat stops serving up servlets and JSP from my >>webapps. However, the manager webapp and static pages continue to be >>served normally. If I click 'stop' for any of my webapps from the manager >>app, the page load just hangs forever. If you refresh the manager, it

RE: Page does not immediately display on restart

2003-07-02 Thread grenoml
Please be sure to try and access the page after giving the command to restart the container but before it has finished restarting. Gerry Reno --- "Shapira, Yoav" <[EMAIL PROTECTED]> wrote: > > Howdy, > Unable to reproduce on Solaris 8, Windows 2000, or Windows XP using > tomcat 5.0.3 and JD

RE: Stack Trace Line Numbers

2003-07-02 Thread Jeremiah Armstrong
I actually just figured out this problem by setting the -Djava.compiler=NONE parameter in "JAVA_OPTS" and _NOT_ "CATALINA_OPTS". Also, make sure when you are setting the environmental variable in both Windows and Linux that you do not include quote marks around it. LINUX EXAMPLE: -- TH

Stack Trace Line Numbers

2003-07-02 Thread Jeremiah Armstrong
Since I started using Tomcat 4.1.24, I am encountering problems debugging servlets when an exception is thrown. In previous servlet containers that I have used, when a stack trace is printed to the log using (Exception).printStackTrace(), the line number of the offending piece of code is output to

RE: loadOnStartup: Default Context Resources unavailable?

2003-07-02 Thread Christian Wiedmann
Hi, Thanks for the quick response. That's fair, and I did discover that this works. I was hoping for a more global place to put the Resources. The issue is that the apps are currently getting deployed using Warp and/or ant. The Default Context is advantageous in this environment since any of th

Re: Java Process Pool

2003-07-02 Thread James Carpenter
What pool implementation of the Commons-Pool utility provides process based pooling as opposed to thread based pooling? Remember that I need a process pool to circumvent issues with my JNI extended java code not being thread safe. (The underlying C library being wrapped isn't thread safe.) http:

RE: Page does not immediately display on restart

2003-07-02 Thread Shapira, Yoav
Howdy, Unable to reproduce on Solaris 8, Windows 2000, or Windows XP using tomcat 5.0.3 and JDK 1.4.1 or 1.4.2. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: grenoml [mailto:[EMAIL PROTECTED] >Sent: Wednesday, July 02, 2003 6:02 PM >To: [EMAIL PROTECTED] >Subject: P

Page does not immediately display on restart

2003-07-02 Thread grenoml
Setup/configuration: J2SE 1.4.2-beta RedHat Linux 8.0 Tomcat 5.0.3 When I restart Tomcat 5.0.3 and then enter a url in the browser address bar (e.g. http://localhost:8080) and wait for the page to display, it only displays a blank page. I have to hit reload to actually see the page. I don't need

RE: loadOnStartup: Default Context Resources unavailable?

2003-07-02 Thread Shapira, Yoav
Howdy, >Is there a better place to put the Resource/ResourceParams than in the >Default Context? In the element for your own context. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary

loadOnStartup: Default Context Resources unavailable?

2003-07-02 Thread Christian Wiedmann
I'm having a problem with code that is trying to use a Resource (DataSource) registered with JNDI out of a Struts Plugin at startup time. I was hoping someone on the list might have suggestions on how to deal with this. More specifically, it appears as if the Default Context has not been copied i

RE: Sessions sans cookies? URL Rewriting?

2003-07-02 Thread Shapira, Yoav
Howdy, >If it wasn't from Yoav, I would have said the following: Say it anyways ;) >I've seen it written that "one should ensure all URL emitted from your >system should be passed through encodeRedirectURL()" > >I'd try it and see. I second that: at the very least, it's a good test and a good

RE: Java Process Pool

2003-07-02 Thread Oscar Carrillo
I got it. Thanks. I'm not the original poster, I was just wondering. Oscar On Wed, 2 Jul 2003, Shapira, Yoav wrote: > > Howdy, > > >I'm just wondering what's the "risky" part. Is database pooling any > >different than this idea, in that you are still dependent on something > >outside of Java

RE: tomcat example servlets question

2003-07-02 Thread Shapira, Yoav
Howdy, It's a JSP example now. The request info and request headers servlet examples that come with tomcat cover this functionality pretty much. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Erik Weibust [mailto:[EMAIL PROTECTED] >Sent: Wednesday, July 02, 2003 5:0

RE: Sessions sans cookies? URL Rewriting?

2003-07-02 Thread Mike Curwen
If it wasn't from Yoav, I would have said the following: > > No, you don't need to worry about it. The server rewrites the URL > > automatically. > > was completely wrong. ;) I've seen it written that "one should ensure all URL emitted from your system should be passed through encodeRedire

RE: Java Process Pool

2003-07-02 Thread Shapira, Yoav
Howdy, >I'm just wondering what's the "risky" part. Is database pooling any >different than this idea, in that you are still dependent on something >outside of Java mis-behaving and is platform-specific. > >And would there be anything "non-portable" except for the JNI part, which >of course is pl

Re: Sessions sans cookies? URL Rewriting?

2003-07-02 Thread Michael Teter
Maybe my homegrown access control is flawed. When I disable cookies in my browser, my apps break. I have a login form whose action is "ProcessLogin.jsp". That page validates the username and password against a database, and if successful it stuffs my valid User object into an App object, and

tomcat example servlets question

2003-07-02 Thread Erik Weibust
I am looking through an old book I have titled, "JSP, Servlets, and MySQL" that references SnoopServlet that should be in examples. Has this been removed? What was the logic? Erik __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com

RE: Java Process Pool

2003-07-02 Thread Oscar Carrillo
Hi, I'm no expert on this. I'm just wondering what's the "risky" part. Is database pooling any different than this idea, in that you are still dependent on something outside of Java mis-behaving and is platform-specific. And would there be anything "non-portable" except for the JNI part, which

RE: Sessions sans cookies? URL Rewriting?

2003-07-02 Thread Shapira, Yoav
Howdy, >Q1 - I'm looking for pointers to examples or documents. I see where the >spec requires that capability, but I don't know the correct way to >exercise it. Does it just mean that I wrap every url >and every reponse.sendRedirect() with encodeUrl()? No, you don't need to worry about it.

RE: Java Process Pool

2003-07-02 Thread Shapira, Yoav
Howdy, You can use commons-pool for this. The approach itself (pooling processes) is risky and likely to be non-portable. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: James Carpenter [mailto:[EMAIL PROTECTED] >Sent: Wednesday, July 02, 2003 4:38 PM >To: tomcat use

org.apache.catalina.core.StandardServer problem - Help!

2003-07-02 Thread ThePrahs
Hi All, I am trying to start tomcat in IntelliJ Idea 3.0 and I keep on receiving the following ClassNotFoundException exception : 02.07.2003 14:46:22 org.apache.commons.digester.Digester startElement SCHWERWIEGEND(FATAL ERROR): Begin event threw exception java.lang.ClassNotFoundException: org.ap

Java Process Pool

2003-07-02 Thread James Carpenter
Does anyone know of a convenient way to create a Java process pool. A thread pool won't work as I am trying to pool some JNI code wrapping a C library that isn't thread safe. I would rather not have to create my own pooling mechanism. Sincerely, James Carpenter Email: [EMAIL PROTECTED]

RE: calling a servlet...from a .jsp (HTTP Status 404 )

2003-07-02 Thread Mike Curwen
Looks like you forgot to put /servlet > HTTP Status 404 - /careerCenter/StudentRegistrationServlet > -Original Message- > From: Naveen My [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 02, 2003 3:26 PM > To: Tomcat Users List > Subject: calling a servlet...from a .jsp (HTTP Status

calling a servlet...from a .jsp (HTTP Status 404 )

2003-07-02 Thread Naveen My
I am unable to call servlet from my jspI get the folowing mesg HTTP Status 404 - /careerCenter/StudentRegistrationServlet But am able to call the servlet if I type http://localhost:80/careerCenter/servlet/StudentRegistrationServlet My directory structure D:\Tomcat 4.1\webapps\careerCe

Re: Sessions sans cookies? URL Rewriting?

2003-07-02 Thread Michael Teter
Ok, I'll give a little more detail. Q1 - I'm looking for pointers to examples or documents. I see where the spec requires that capability, but I don't know the correct way to exercise it. Does it just mean that I wrap every url and every reponse.sendRedirect() with encodeUrl()? Q2 - If you

Problem starting Webapp with Ant

2003-07-02 Thread Quasar
Trying to install a webapp on tomcat 4.1.24 with Ant using the install task, here is what my build file looks like: This action builds great on my local Win2k box, but when I try to run the same exact file setup on a linux box this what I get from Tomcat: 2003-07-02 08:03:36 HTMLManager:

RE: Bug ? Init is called twice in SingleThreadModel

2003-07-02 Thread Shapira, Yoav
Howdy, >The init method of my servlet is called twice if my class implements the >SingleThreadModel. >Full details are given below. If I remove "implements SingleThreadModel" >init is called only once - as I would expect. > >Is this a bug? >Any help would be appreciated. Instead of just printing

RE: Sessions sans cookies? URL Rewriting?

2003-07-02 Thread Shapira, Yoav
Howdy, >Q1: Can Tomcat 4.X do session management if the user's browser is >rejecting cookies? If so, how do I do that? Do I change my code, or >just server/app configuration? Yes, via URL rewriting, per the Servlet Specification. >Q2: If I want to allow my user, John Smith, to use >http://myc

RE: tomcat and log4j

2003-07-02 Thread Shapira, Yoav
Howdy, These are all log4j questions better suited to that list. But since the mutual tomcat/log4j interest is so common, it's alright to keep it here. Log4j does a classpath resource lookup for /log4j.properties as part of its default initialization procedure, as documented in the log4j manual.

JspC ClassNotFoundEception on First Run

2003-07-02 Thread Eric Northam
I'm using the JspC task in ant to precompile my jsps and for some reason it fails with a ClassNotFoundException on the first run but succeeds on the second. Does anyone know why or how I can resole the issue? I'm using tomcat 4.1.24 and here's the section in my build.xml that is failing:

Bug ? Init is called twice in SingleThreadModel

2003-07-02 Thread Hal Lander
The init method of my servlet is called twice if my class implements the SingleThreadModel. Full details are given below. If I remove "implements SingleThreadModel" init is called only once - as I would expect. Is this a bug? Any help would be appreciated. Hal. THE SOURCE CODE ===

Sessions sans cookies? URL Rewriting?

2003-07-02 Thread Michael Teter
Howdy. I have two questions. Note that I have made effort to find answers in archives but haven't found what I think I need. Q1: Can Tomcat 4.X do session management if the user's browser is rejecting cookies? If so, how do I do that? Do I change my code, or just server/app configuration?

Re: tomcat and log4j

2003-07-02 Thread Dean A. Hoover
Did that, don't see any errors. How exactly does log4j know to configure itself under tomcat, just by dropping the log4j.properties file in the right place??? Shapira, Yoav wrote: Howdy, Add -Dlog4j.debug=true to your JAVA_OPTS and check the tomcat logs. If log4j runs into errors you'll see them

How to get the container within an instance event?

2003-07-02 Thread Angus Mezick
Does anyone know how to access the container object from an instance event? Are there any specs that say an instance event can have no internal access to the server? Sorry for the cross post but I am deep into the internals of tomcat here and I don't know which list is appropriate. The list wit

Re: Tiomcat 4.1.24 HTTP Status 404 - The requested resource (servlet)is not available

2003-07-02 Thread Eric J. Pinnell
Hi, Around Tomcat 4.1.12 the servlet invoker was disabled by default expect for the examples. In previous versions in was enabled. You need to enable it for your application. -e On Wed, 2 Jul 2003, John Bell wrote: > I have Tomcat 4.02 working using servlets and JSP and have now installed > T

Re: Tiomcat 4.1.24 HTTP Status 404 - The requested resource (servlet) is not available

2003-07-02 Thread John Turner
FAQ http://jakarta.apache.org/tomcat/faq/misc.html#invoker John On Wed, 2 Jul 2003 20:10:06 +0100, John Bell <[EMAIL PROTECTED]> wrote: I have Tomcat 4.02 working using servlets and JSP and have now installed Tomcat 4.1.24 as a service. When I run the web site all is fine until a servlet is cal

Tiomcat 4.1.24 HTTP Status 404 - The requested resource (servlet) is not available

2003-07-02 Thread John Bell
I have Tomcat 4.02 working using servlets and JSP and have now installed Tomcat 4.1.24 as a service. When I run the web site all is fine until a servlet is called and I get The requested resource (/coffeemy/servlet/ControlServlet) is not available this happens with all the servlets I use. Any s

RE: How to synchronize based on session? (Prevent multiple submissions of forms)

2003-07-02 Thread Raiden
On Wed, 2 Jul 2003, Stefan Radzom wrote: > > -Original Message- > > From: Raiden [mailto:[EMAIL PROTECTED] > > Subject: RE: How to synchronize based on session? (Prevent > > multiple submissions of forms) > > > > On Wed, 2 Jul 2003, Stefan Radzom wrote: > > > > > > >IMHO, Justin's proposa

Re: How to compile mod_jk2.c

2003-07-02 Thread Eric J. Pinnell
Hi, If you dl'd the source and built it sucessfully you will have the finished product, mod_jk2.so, in the build directory. It's a DSO. So you would copy that to the apache modules directory and load it in the httpd.conf file. -e On Wed, 2 Jul 2003, [ISO-8859-1] Thomas Gagné wrote: > I downlo

How to compile mod_jk2.c

2003-07-02 Thread Thomas Gagné
I downloaded the connector stuff and it anted fine, but I can't locate the instructions on how to include mod_jk2.c into Apache 2's compile. Where is that hidden? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

RE: tomcat and log4j

2003-07-02 Thread Shapira, Yoav
Howdy, Add -Dlog4j.debug=true to your JAVA_OPTS and check the tomcat logs. If log4j runs into errors you'll see them there. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Dean A. Hoover [mailto:[EMAIL PROTECTED] >Sent: Wednesday, July 02, 2003 2:34 PM >To: Tomcat Us

Re: tomcat and log4j

2003-07-02 Thread Dean A. Hoover
OK, so I changed the file to /tmp/xxx.log and it still does not show up. Any other suggestions? Dean Shapira, Yoav wrote: Howdy, You're not going to have file write access to xxx.log from inside a war. Ensure the File parameter for your appender in log4j.properties points to a writeable location.

Re: The notorious RH8+Apache2.0.4+Mod_jk2 (was: Re: HELP withmod_jk)

2003-07-02 Thread Eric J. Pinnell
Hi, ya... you are right. At least on most systems this works. Not sure about Linux and it's "special" apache. But typically: ./configure --with-apxs2=/path/to/apache/bin/apxs make I don't use ant either. -e On Wed, 2 Jul 2003, John Turner wrote: > > I never use ant, only because it is unfa

Re: RE: The notorious RH8+Apache2.0.4+Mod_jk2 (was: Re: HELP with mod_jk)

2003-07-02 Thread John Turner
Change port in server.xml from 8080 to 80. Restart Tomcat. John On Wed, 2 Jul 2003 14:14:28 -0400, <[EMAIL PROTECTED]> wrote: Hello, I'm a new to Tomcat and trying to set up a web server with www.mywebname.com. But when I try to access my homepage from other computers, I have to type exactly ht

Re: The notorious RH8+Apache2.0.4+Mod_jk2 (was: Re: HELP with mod_jk)

2003-07-02 Thread John Turner
I never use ant, only because it is unfamiliar to me. I believe that the standard configure, make, make install works, except that with RH 8 and RH Apache 2.0.40 you need to explicitly declare the location of apxs top configure. I'm just saying this from memory, I don't use either, so I could

RE: Starting a sevlet automatically when Tomcat starts

2003-07-02 Thread Shapira, Yoav
Howdy, >From the DTD: >The optional contents of these element must be an integer >indicating the order in which the servlet should be loaded. >If the value is a negative integer, or the element is not >present, the container is free to load the servlet whenever >it chooses. > >So, Tomcat develope

Re: undefined symbol: apr_md5_final

2003-07-02 Thread chipheo
Hello, I'm a new to Tomcat and trying to set up a web server with www.mywebname.com. But when I try to access my homepage from other computers, I have to type exactly http://www.mywebname.com:(port number) to be able to get it, or I'll get error otherwise. I'd like to learn, the very first t

Re: RE: The notorious RH8+Apache2.0.4+Mod_jk2 (was: Re: HELP with mod_jk)

2003-07-02 Thread chipheo
Hello, I'm a new to Tomcat and trying to set up a web server with www.mywebname.com. But when I try to access my homepage from other computers, I have to type exactly http://www.mywebname.com:(port number) to be able to get it, or I'll get error otherwise. I'd like to learn, the very first t

Re: AW: Starting a sevlet automatically when Tomcat starts

2003-07-02 Thread chipheo
Hello, I'm a new to Tomcat and trying to set up a web server with www.mywebname.com. But when I try to access my homepage from other computers, I have to type exactly http://www.mywebname.com:(port number) to be able to get it, or I'll get error otherwise. I'd like to learn, the very first t

Re: RE: The notorious RH8+Apache2.0.4+Mod_jk2 (was: Re: HELP with mod_jk)

2003-07-02 Thread chipheo
Hello, I'm a new to Tomcat and trying to set up a web server with www.mywebname.com. But when I try to access my homepage from other computers, I have to type exactly http://www.mywebname.com:(port number) to be able to get it, or I'll get error otherwise. I'd like to learn, the very first t

Re: RE: Insufficient quota

2003-07-02 Thread chipheo
Hello, I'm a new to Tomcat and trying to set up a web server with www.mywebname.com. But when I try to access my homepage from other computers, I have to type exactly http://www.mywebname.com:(port number) to be able to get it, or I'll get error otherwise. I'd like to learn, the very first t

Re: Re: The notorious RH8+Apache2.0.4+Mod_jk2 (was: Re: HELP with mod_jk)

2003-07-02 Thread chipheo
Hello, I'm a new to Tomcat and trying to set up a web server with www.mywebname.com. But when I try to access my homepage from other computers, I have to type exactly http://www.mywebname.com:(port number) to be able to get it, or I'll get error otherwise. I'd like to learn, the very first t

Re: RE: The notorious RH8+Apache2.0.4+Mod_jk2 (was: Re: HELP with mod_jk)

2003-07-02 Thread chipheo
Hello, I'm a new to Tomcat and trying to set up a web server with www.mywebname.com. But when I try to access my homepage from other computers, I have to type exactly http://www.mywebname.com:(port number) to be able to get it, or I'll get error otherwise. I'd like to learn, the very first t

undefined symbol: apr_md5_final

2003-07-02 Thread Atreya Basu
My Tomcat works well but in the Catalina.out file I get the following error: INFO: APR not loaded, disabling jni components: java.io.IOException: /usr/local/apache2/modules/jkjni.so: /usr/local/apache2/modules/jkjni.so: undefined symbol: apr_md5_final Anyone know what that might mean?

RE: The notorious RH8+Apache2.0.4+Mod_jk2 (was: Re: HELP withmod_jk)

2003-07-02 Thread Eric J. Pinnell
Hi, I get that message in the apache error log upon startup and I'm using Solaris. I think it's normal. -e On Wed, 2 Jul 2003, Atreya Basu wrote: > I have Apache 2 and JK2 working but I get that annoying error: > > jk_init() Can't find child 3993 in scoreboard > > Which file was it that you ha

AW: Starting a sevlet automatically when Tomcat starts

2003-07-02 Thread Hamidene, Anis Ben
Hi, Thanx alot it works now! anis > -Ursprüngliche Nachricht- > Von: Mike Curwen [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 2. Juli 2003 19:50 > An: 'Tomcat Users List' > Betreff: RE: Starting a sevlet automatically when Tomcat starts > > > From the DTD: > The optional conte

RE: The notorious RH8+Apache2.0.4+Mod_jk2 (was: Re: HELP with mod_jk)

2003-07-02 Thread Atreya Basu
I have Apache 2 and JK2 working but I get that annoying error: jk_init() Can't find child 3993 in scoreboard Which file was it that you had to make writeable? _ Atreya Basu Developer, Greenfield Research Inc. e-mail: atreya (at) greenfieldresearch (dot) ca --

RE: Insufficient quota

2003-07-02 Thread Cox, Charlie
changing the quota is specific to your operating system and has nothing to do with tomcat. Consult the person who set up your server. you can look at the logs directory to see if you can delete any log files, but chances are that it will happen again. > -Original Message- > From: Reis, To

Re: The notorious RH8+Apache2.0.4+Mod_jk2 (was: Re: HELP with mod_jk)

2003-07-02 Thread Yishay Mor
I tried building it. Maybe I got it wrong - I was using the ant scripts, and got into deep mud. I saw a posting somewhere that you have to us e the native make scripts, and tweak them a bit to work. John Turner wrote: Actually, there was a post on this last week. Check the archives. RH's m

Re: The notorious RH8+Apache2.0.4+Mod_jk2 (was: Re: HELP with mod_jk)

2003-07-02 Thread Yishay Mor
Yeee Ha!!! Hallelujah! :-) yup. that was it. now you can see the good 'ol tomcat ring tone at http://www.weblabs.eu.com/index.jsp Next time you're in London, let me buy you a beer. thanks! - Yishay p.s. So, I guess if anyone else has the same problem, this config should work for you too...

RE: The notorious RH8+Apache2.0.4+Mod_jk2 (was: Re: HELP with mod_jk)

2003-07-02 Thread Rhodes, Phil
From: Yishay Mor [mailto:[EMAIL PROTECTED] > Situation: > === > Tomcat works, on 8080 (although the admin app is bogus, but > that's on another thread) > Apache identifies mod_jk2, but then fails on > [error] shm.init(): No file > [error] jk2_init() Can't find child 3993 in scoreboard

Re: Message Digest severe error when starting Tomcat 4.1

2003-07-02 Thread John Turner
Ditto what Mike said. John On Wed, 2 Jul 2003 12:46:43 -0500, Mike Curwen <[EMAIL PROTECTED]> wrote: Ok, I'll take this one again ;) SEVERE: Parse Error at line 59 column 11: The content of element type "web-app" must match "... means you have an error in web.xml. Something is out of order,

Re: The notorious RH8+Apache2.0.4+Mod_jk2 (was: Re: HELP with mod_jk)

2003-07-02 Thread John Turner
Actually, there was a post on this last week. Check the archives. RH's munged Apache requires some sort of tweak to the OS that will effect the scoreboard when using JK2. I don't use JK, RH 8, nor RH's Apache, so I didn't really pay attention to what the solution was. It was definitely withi

RE: Starting a sevlet automatically when Tomcat starts

2003-07-02 Thread Mike Curwen
>From the DTD: The optional contents of these element must be an integer indicating the order in which the servlet should be loaded. If the value is a negative integer, or the element is not present, the container is free to load the servlet whenever it chooses. So, Tomcat developers.. what do

RE: Starting a sevlet automatically when Tomcat starts

2003-07-02 Thread Shapira, Yoav
Howdy, It worked as well as it could. Put a println in your init() method so you can see when it's called. Check the tomcat logs for any errors. If tomcat didn't load startup servlets as defined in web.xml, we'd have a ton of serious problems long before you had raised the issue ;) Yoav Shap

RE: Message Digest severe error when starting Tomcat 4.1

2003-07-02 Thread Mike Curwen
Ok, I'll take this one again ;) SEVERE: Parse Error at line 59 column 11: The content of element type "web-app" must match "... means you have an error in web.xml. Something is out of order, or a typo, or... > -Original Message- > From: Jose Euclides da Silva Junior - DATAPREVRJ >

RE: mod_jk and Coyote connector

2003-07-02 Thread James Courtney
John, I was simply making the assumption that the connector code released with Tomcat 4.1.24 had been tested and validated to be at a stable point for that release. I understand that there are two parts to the code and that the connectors are a separate project. What I want to know is:

Re: The notorious RH8+Apache2.0.4+Mod_jk2 (was: Re: HELP withmod_jk)

2003-07-02 Thread Eric J. Pinnell
I think JkSet config.file needs a full path. You can't short cut it like you can with a LoadModule. JkSet config.file /path/to/apache/conf/workers2.properties. I think right now it's not seeing your config file. Dunno... try it. -e On Wed, 2 Jul 2003, Yishay Mor wrote: > I've read the threa

AW: Starting a sevlet automatically when Tomcat starts

2003-07-02 Thread Hamidene, Anis Ben
Hi, that´s what I need. But it didn´t work. Shall I make any other configuration? Here is a portion of my web.xml: propertiesLoader com.dzbw.ladiva.azrinterface.PropertiesLoader propertiesLoader

Message Digest severe error when starting Tomcat 4.1

2003-07-02 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Hi guys, do you know what this message means? Fortunatelly, my environment is working fine. I guess its a digital certificate file, named saa.prop, which i had to store on TomCat. Digester error SEVERE: Parse Error at line 59 column 11: The content of element type "web-app" must match " (icon?,dis

The notorious RH8+Apache2.0.4+Mod_jk2 (was: Re: HELP with mod_jk)

2003-07-02 Thread Yishay Mor
I've read the thread(s), gone through the jakarta docs, read a dozen how-tos, still no go. Platform: * RedHat 8, with its - * custom Apache (2.0.4 w/ modifications?) * Tomcat 4.1 * mod_jk2 binaries for RH from http://www.jpackage.org/rpm.php?id=1133 Situation: === Tomcat works, on 8

RE: PLEASE HELP - Apache mod_jk2 loses communication with Tomcat

2003-07-02 Thread Eric J. Pinnell
Hi, > Again, although I see the sytax differences in our two > workers2.properties configurations I don't see the logical differences. > The mod_jk2 assumes a lot from the naming convention of the workers and > it is possible to create a configuration using a very minimal amount of > text in

[ot] Re: Insufficient quota

2003-07-02 Thread Tim Funk
man quota -Tim Reis, Tom wrote: I am new to Tomcat and I am responsible for the server. We are using Tomcat version 4.03. Could you tell me how to change the quota. Thanks. -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 4:26 PM To: Tomcat Users

JspC ClassNotFoundEception on First Run

2003-07-02 Thread Eric Northam
I'm using the JspC task in ant to precompile my jsps and for some reason it fails with a ClassNotFoundException on the first run but succeeds on the second. Does anyone know why or how I can resole the issue? I'm using tomcat 4.1.24 and here's the section in my build.xml that is failing:

Re: HELP with mod_jk

2003-07-02 Thread John Turner
Perhaps I was thinking of the other "I can't get mod_jk to work with Apache 2.0.40" thread today. There is no pat answer until you can be more specific, such as answering the questions I've already posted. John On Wed, 2 Jul 2003 13:16:39 -0400 (EDT), Dumisani Nlebgwa <[EMAIL PROTECTED]> wrot

How to remove abandoned db connections w/o DBCP?

2003-07-02 Thread The Wolf
Hi, I am using Tomcat 4.1.24 on Red Hat Linux 7.3 with Sun JVM 1.4.1. Is it possible to remove abandoned db connections without using Database Connection Pool (DBCP) Configurations ()? How? Thanks. -- h

[OFF-TOPIC] RE: Insufficient quota

2003-07-02 Thread Shapira, Yoav
Howdy, It depends on your OS and filesystem. Typically edquota is the utility you want. Use man edquota to see its documentation. This has moved off-topic... Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Reis, Tom [mailto:[EMAIL PROTECTED] >Sent: Wednesday, July

Re: Digester error/SEVERE Parse starting point

2003-07-02 Thread J. W. Ballantine
Thanks -- In Response to your message - > Date: Wed, 2 Jul 2003 11:02:00 -0500 > To: "'Tomcat Users List'" <[EMAIL PROTECTED]> > From: "Mike Curwen" <[EMAIL PROTECTED]> > Subject: RE: Digester error/SEVERE Parse starting point > > It's in the stacktrace... > > SE

Re: HELP with mod_jk

2003-07-02 Thread Dumisani Nlebgwa
Well, if u have the reply in your inbox, can u forward it to me? > > You sure? > > What does the mod_jk log say? > > What URL are you using? > > Are the directives you posted contained in a Virtual Host container in > httpd.conf? > > Do you ever actually load mod_jk.so at Apache start? > > Does "/

Re: HELP with mod_jk

2003-07-02 Thread John Turner
You sure? What does the mod_jk log say? What URL are you using? Are the directives you posted contained in a Virtual Host container in httpd.conf? Do you ever actually load mod_jk.so at Apache start? Does "/path/to/apache/bin/apachectl configtest" return "Syntax OK"? Where did you get your m

  1   2   3   >