default mime-type

2002-10-11 Thread Günter Kukies
Hello, what is the default mime-type when tomcat can't find a matching extention in the servers conf/web.xml? Thanks Günter Kukies

How to limit the number of connections per user?

2002-10-11 Thread Rodrigo Ruiz
Hi, is there any way to do this? I would like to be able to limit the number of connections per user for production environment. -- GRIDSYSTEMSRodrigo Ruiz Aguayo Parc Bit - Son EspanyolAnalista Programador 07120 Palma de Mallorca[EMAIL PROTECTED] Baleares -

AW: How to handle requests in quick sessions / possible thread issue

2002-10-11 Thread Ralph Einfeldt
There is no general answer to this. There are following common options: - Deny request until the first is finished: static Boolean cMutex = new Boolean(true); static boolean cRunning = false; // in the method that performs the processing synchronized (cMutex) { if (cRunning) {

com.oreilly.servlet - upload example not working?

2002-10-11 Thread Jørgen Ramskov
Hi, I have installed sun's JDK 1.4.1 and Tomcat 4.1.12 on a win2k machine. I have added cos.jar to CATALINA_HOME/shared/lib and put the upload.war file in the /webapps directory. When I try the example, I get: HTTP Status 404 - /upload/servlet/parserupload

Re: Servlets not working with tomcat 4.1.12(4.0.4 error)

2002-10-11 Thread Raj Saini
Do you have your servlets mapped in the web.xml of your application? In Tomcat 4.1.12 and 4.0.5, the default servelt invoker is disabled due to security hole in the older releases. You can uncomment the invoker servlet mapping at your own risk or map your servlets in your web.xml. Raj Saini

Re: com.oreilly.servlet - upload example not working?

2002-10-11 Thread Kwok Peng Tuck
it's a sevlet right? so you have to define the servlet in the web.xml of your webapp. plus you must move the jar to the WEB-INF/lib rather than what you stated. Jørgen Ramskov wrote: Hi, I have installed sun's JDK 1.4.1 and Tomcat 4.1.12 on a win2k machine. I have added cos.jar to

Re: Setting up the usera and password for the administrator in Tomcat 4.1

2002-10-11 Thread Raj Saini
It is the same file. Add a role admin as you did for manager. Add this role to any user. Raj Saini Carlos wrote: Where can I find documentation o intructions to set-up the user and password of the administrator application? I was able to set-up the manager by adding the user, password,

Tomcat: using an extra CharsetProvider in a servlet

2002-10-11 Thread Manger, James H
I would like to use a non-standard character set for selected operations within a servlet. I have implemented a CharsetProvider, Charset, CharsetEncoder CharsetDecoder. I can use my new character set from a Java application by listing the CharsetProvider class name in the following file within

Re: default mime-type

2002-10-11 Thread unplug
It is text/plain. Günter Kukies wrote: Part 1.1Type: Plain Text (text/plain) Encoding: quoted-printable -- http://dotw.no-ip.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Setting up the usera and password for the administrator in Tomcat 4.1

2002-10-11 Thread Christine . Just
as far as I know there's no documentation yet, but the procedure is the same as with the manager-app, except that the necessary role for the admin tool is admin. Chris -Original Message- From: Carlos [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 10:37 PM To: Tomcat-User

SV: com.oreilly.servlet - upload example not working?

2002-10-11 Thread Jørgen Ramskov
it's a sevlet right? so you have to define the servlet in the web.xml of your webapp. plus you must move the jar to the WEB-INF/lib rather than what you stated. If I want the cos.jar package to be available to all webapps, then I thought I could add it it /shared/lib? the upload.war is an

strange problem for midi file

2002-10-11 Thread unplug
I am using apache1.3+tomcat3.3.1+mod_jk.so under redhat 7.3. I put a midi file (a.mid) in the web server for web user and mobile user to download. I face the strange problem for that case. When I put the midi file in location under apache, both users can download it without problems. When I

Re: SV: com.oreilly.servlet - upload example not working?

2002-10-11 Thread Kwok Peng Tuck
Just redeploy the class file or jar file and define the servlet with your new app. But if you've already deployed it once, then there is no problem for other apps to access the servlet cause you can just make a url request to the servlet from another app right ? Jørgen Ramskov wrote: it's a

Re: default mime-type

2002-10-11 Thread Günter Kukies
How can I change it? Günter - Original Message - From: unplug [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, October 11, 2002 11:02 AM Subject: Re: default mime-type It is text/plain. Günter Kukies wrote: Part 1.1Type: Plain Text (text/plain)

Re: connector between tomcat apache

2002-10-11 Thread unplug
Thanks for your example. But I am still confused to set it up. I think it is better to do a setup comparison with tomcat3.3+apache1.3+mod_jk. tomcat3.3+apache1.3+mod_jk: It needs a configuration file called mod_jk.conf and include it in httpd.conf. tomcat4.1+apache1.3+mod_jk2: Where is the

howto setup tomcat to serve jad/jar

2002-10-11 Thread Daniel Hellstrand
Hello I have just installed tomcat 4.1.12 on my linux box and I am wondering if there is any good homepage which will describe how I can setup tomcat to serve jar/jad files so I can download them from a cell phone. ie I enter the servers ip in the cell phone and then I get a list of the midlets

SV: SV: com.oreilly.servlet - upload example not working?

2002-10-11 Thread Jørgen Ramskov
So the Upload.war package is correctly made? I've created a new test, but I still get this error: description: The requested resource (/upload/servlet/Upload) is not available. I have this structure: /webapps/upload/WEB-INF/classes/Upload.class I don't understand why it can't find that one?

RE: SV: com.oreilly.servlet - upload example not working?

2002-10-11 Thread John Trollinger
servlet servlet-nameinvoker/servlet-name servlet-classorg.apache.catalina.servlets.InvokerServlet/servlet-clas s init-param param-namedebug/param-name param-value0/param-value /init-param load-on-startup2/load-on-startup /servlet In tomcat install/conf/web.xml

Tomcat and Xeprof

2002-10-11 Thread afreire
I need to run the Tomcat with the option -Xeprof. I do that in HP-UX 11.00 with Tomcat 3.2.4 and in HP-UX11.11i with Tomcat 3.3, but I don't have any result. Anybody know what happen. Regard Alejandro -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

RE: SV: com.oreilly.servlet - upload example not working?

2002-10-11 Thread Jørgen Ramskov
That's how it looks right now, is that wrong? -- Joergen -Original Message- From: John Trollinger [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 3:44 PM To: 'Tomcat Users List' Subject: RE: SV: com.oreilly.servlet - upload example not working? servlet

RE: How to limit the number of connections per user?

2002-10-11 Thread Sexton, George
Step 1: Register a session context listener. Step 2: When each session starts, store an Integer in a Hashtable. The key would be the user name. The Integer value is the number of currently active sessions. Step 3: In the session destroy, decrement the Integer count, and if it is 0, remove it

Re: Using external login pages for web applications

2002-10-11 Thread Johann Uhrmann
On Fri, 2002-10-11 at 14:58, Padhu Vinirs wrote: Correct me if I understood this wrong: Login Form html ( external web site ) ---Servlet/JSP ( Your web site ) Right, that's the configuration I want to use. If you setup https access in your web site, then the external form can

RE: How to integrate Tomcat 4.1.12 with IIS 5 on Win2000

2002-10-11 Thread Turner, John
You create those files. Examples are in the distribution. From http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/iishowto.html: workers.properties - A file that describes the host(s) and port(s) used by the workers (Tomcat processes). A sample workers.properties can be found under the

Re: Which versions ????

2002-10-11 Thread Pascal Forget
Tomcat 4.1.12 is faster than 4.0.4. As for mod_jk against mod_jk2, I would advise you stick with mod_jk for the moment as mod_jk2 is not quite ready yet IMHO. mod_jk2 will be more of a major code cleanup/refactoring than a performance improvement. If the functionality provided tody by mod_jk

RE: connector between tomcat apache

2002-10-11 Thread Turner, John
JK2 is in-process. There is no mod_jk.conf. All due respect, but the answers to your questions (so far) are all in the docs: There are two files: workers2.properties, and jk2.properties. One is Apache-side (workers2.properties), the other is Tomcat side (jk2.properties). From the docs at

Re: connector between tomcat apache

2002-10-11 Thread sonam singh
u have to use include /usr/local/apache/conf/mod_jk.conf in the end of httpd.conf here is example of mod_jk.conf LoadModule jk_module modules/mod_jk.so JkWorkersFile /usr/local/apache2/conf/workers.properties JkLogFile /usr/local/apache2/logs/jk.log JkLogLevel info JkMount /u'r context/* ajp13

RE: default charset in contentType?

2002-10-11 Thread Randy George
Too bad! Setting the charset explicity in the Jasper compiled servlet breaks IE for image/svg+xml content. It seems that Microsoft does not properly recognize the contentType header so that for example running the resulting servlet thus:

Re: Using external login pages for web applications

2002-10-11 Thread Padhu Vinirs
Correct me if I understood this wrong: Login Form html ( external web site ) ---Servlet/JSP ( Your web site ) If you setup https access in your web site, then the external form can securely send the login info to your servlet, which can authenticate the user, set a session attribute,

RE: SV: com.oreilly.servlet - upload example not working?

2002-10-11 Thread Jørgen Ramskov
How do I enable the invoker? Greetings Joergen -Original Message- From: John Trollinger [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 2:54 PM To: 'Tomcat Users List' Subject: RE: SV: com.oreilly.servlet - upload example not working? If you are using the latest

[HOW TO] - GLOBAL VARIABLES - PLEASE HELP

2002-10-11 Thread Donie Kelly
Hi all Sorry for shouting but I've no hair left so it's the only thing I can do :) Please tell me if it's possible to define a variable in server.xml or somewhere, which is available to all running webapps. I've looked in loads of docs and searched the archive but to no avail. Please please

RE: SV: com.oreilly.servlet - upload example not working?

2002-10-11 Thread John Trollinger
If you are using the latest tomcat 4.1.12 I believe the invoker servelt is disabled by default so you will have to either enable it or create a servlet mapping to the Upload servelt and that servlet needs to be in a package. -Original Message- From: Jørgen Ramskov [mailto:[EMAIL

RE: Error with multipartParser

2002-10-11 Thread jon wingfield
tomcat doesn't use the classpath. It derives where tools.jar is from the JAVA_HOME environment variables. Your application classes should be placed under CATALINE_HOME/webapps/YOUR_WEBAPP_NAME/WEB-INF/classes and your application jar files (ie cos.jar) under

RE: JK2 URI not correctly mapped for multiple virtual hosts in httpd.conf

2002-10-11 Thread Mladen Turk
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 1:48 PM To: [EMAIL PROTECTED] Subject: JK2 URI not correctly mapped for multiple virtual hosts in httpd.conf Suppose you have a configuration like this: VirtualHost

RE: SV: com.oreilly.servlet - upload example not working?

2002-10-11 Thread John Trollinger
Your servlets need to be in a package when using jdk1.4 (ie demo.DemoParserUploadServlet) -Original Message- From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 5:17 AM To: Tomcat Users List Subject: Re: SV: com.oreilly.servlet - upload example not

servlet name case switching

2002-10-11 Thread andyfrese
Hello, we are seeing a problem where after running for some time the servlet name gets it case changed on requests. For example we have the following in our web.xml file: servlet servlet-nameMyFoo/servlet-name display-nameMyFoo/display-name

mod_jk.conf - JkHTTPSIndicator; how to get these environmentvariables in tomcat ?

2002-10-11 Thread Filip Sergeys
Helo, Let me first describe the setup and what we like to accomplish, then what the problem is. Apache configured with mod_ssl taking all http and https requests and forwarding the *.jsp's to tomcat with mod_jk as the connector between the two. Apache version: 1.3.26 Tomcat version: 4.1.12

Re: [HOW TO] - GLOBAL VARIABLES - PLEASE HELP

2002-10-11 Thread Raj Saini
Hi Donie, You can define a variable in the global web.xml (in conf directory). This variable should be available to all your applications. This should come at the end of the $TOMCAT_HOME/conf/web.xml file. Though I have not used and tested this (I use for a single application in application

RE: mod_webapp (was: Re: TOMCAT-STANDALONE needed with Apache Server?)

2002-10-11 Thread Turner, John
I'm sure the developers would appreciate a patch if you don't think the default server.xml is setup appropriately. It doesn't matter to me one way or the other...I just comment out the connectors I'm not using. John -Original Message- From: Mark R. Diggory [mailto:[EMAIL PROTECTED]]

Re: connector between tomcat apache

2002-10-11 Thread sonam singh
use mount_msdos /dev/fd0 /mnt regards Sonam Singh --- unplug [EMAIL PROTECTED] wrote: Thanks for your example. But I am still confused to set it up. I think it is better to do a setup comparison with tomcat3.3+apache1.3+mod_jk. tomcat3.3+apache1.3+mod_jk: It needs a configuration file

re: Tomcat Users List - read receipts

2002-10-11 Thread Michael Schulz
Paul, et. al, Please disable the read receipt requested option in your email application when you are posting to the Tomcat Users List. You don't really want a read receipt from every member of the Tomcat Users List, do you? Thanks, Mike -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]

Tomcat + SSL Certificate

2002-10-11 Thread QUERTEMONT Christophe
Hi, I'am having trouble installing a certificate from certificate authority. I have imported my chain certificate into the keystore (keytool -import -alias root -trustcacerts -file cacert.pem) and then my new certificate (keytool -import -alias tomcat -trustcacerts -file newcert.pem). I can

JK2 URI not correctly mapped for multiple virtual hosts in httpd.conf

2002-10-11 Thread gabriele . garuglieri
Suppose you have a configuration like this: VirtualHost 1.1.1.1 ServerName srva ServerAliasa.srva ServerAliasb.srva . [ some apache specific conf omitted] . FilesMatch /*.jsp JkUriSet group wrka /FilesMatch Location /servlet

Problem with JkMount /java/* ajp13 and web.xml

2002-10-11 Thread paul
Hi, We have recently had a problem surface on a server. The situation is this, and I am fairly sure it was working perfectly before: 1) http://domain/servlet/ is the default servlet mount line. 2) http://domain/java/ is an addition one. both of the above are in apache config, using

Re: Tomcat Users List - read receipts

2002-10-11 Thread Chris Wolcott
I'm using Netscape 6 (Sometimes Opera 6) and I do not see an option to request a 'Read Receipt' either in the MAIL PREFERENCES or the individual eMail when I send it. I also do not get back any receipts. Michael Schulz wrote: Paul, et. al, Please disable the read receipt requested option

tomcat getting shut down suddenly....

2002-10-11 Thread Nitin
hi all, anybody knows what the foll. errror msg in tomcat means? this msg was logged in the error.log file in the bin folder of tomcat. i'm using tomcat 3.3. JNI panic: native code passed a wrong class to a static method at java.lang.Class.getMethods0(Native Method) at

Re: Servlets not working with tomcat 4.1.12(4.0.4 error)

2002-10-11 Thread Ashish Kulkarni
Hi, i think it is a problem with the invoker, as Raj said, since i mapped the servlet in web.xml of my applicatoin, i got it working, but if i have to enable the invoker how can i do it??? or write and invoker for only a perticular application... so i dont have to map each servlet Ashish ---

JK2 tomcatId and load balancing

2002-10-11 Thread gabriele . garuglieri
If anybody is interested. I was trying to implement a load balacer with mod_jk2 and i had to dig in the code to discover that the worker propery tomcatId, within the code is called route and is compared to session_route, coming attached to jsessionid, that in turn is the jvmRoute, and that the

Re: Servlets not working with tomcat 4.1.12(4.0.4 error)

2002-10-11 Thread Ashish Kulkarni
Hi Sonam, I have attached server.xml and web.xml for tomcat(i have renamed the web.xml for server to webserver.xml), and also web.xml for my web app thanx for the help Ashish --- sonam singh [EMAIL PROTECTED] wrote: specify u'r server.xml and and web.xml so that i can helpu out regards

Tomcat is supposing a js file is a servlet

2002-10-11 Thread LFigueiredo
Probably one of my ( Automatically generated ) servlets is calling an external javascript file called gx_help.js. Tomcat is assuming that this file is an servlet and log the error that follows: 2002-10-11 09:59:25 StandardWrapper[:org.apache.catalina.INVOKER.gx_help.js]: Marking servlet

Re: connector between tomcat apache

2002-10-11 Thread Raj Saini
What does this mean sonam? Raj sonam singh wrote: use mount_msdos /dev/fd0 /mnt regards Sonam Singh --- unplug [EMAIL PROTECTED] wrote: Thanks for your example. But I am still confused to set it up. I think it is better to do a setup comparison with tomcat3.3+apache1.3+mod_jk.

Tomcat dies periodically

2002-10-11 Thread hcaparros
We are running Tomcat running on a Win2000 SP2 box and Computer Associate JASMINE/OPAL with HTTP Host Connector to access a IBM Mainframe with a JSP application. We have this message : An unexpected exception has been detected in native code outside the VM. Unexpected Signal :

Using daemontools to supervise Tomcat

2002-10-11 Thread camccuk
Hello all, Does anyone have any experience with using Dan Bernstein's daemontools to supervise Tomcat? I've had real trouble getting this to work with either startup.sh or catalina.sh but I'm putting this down to the fact that I'm no genius with unix processes... Having said that, DJB's

Re: Tomcat dies periodically

2002-10-11 Thread Jean-Francois Arcand
Seems to be a VM bug. Which VM are you using? -- Jeanfrancois [EMAIL PROTECTED] wrote: We are running Tomcat running on a Win2000 SP2 box and Computer Associate JASMINE/OPAL with HTTP Host Connector to access a IBM Mainframe with a JSP application. We have this message : An unexpected

FW: Adding tablib's to tomcat's web.xml?

2002-10-11 Thread Matt Raible
I never saw a response the first time I asked (yesterday) so I'm trying again... -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 4:52 PM To: 'Tomcat Users List' Subject: Adding tablib's to tomcat's web.xml? Is it possible to add a

Xloggc?

2002-10-11 Thread Tomas Straupis
Hello Had anyone of You tried logging GC actions to a file? Its stated in http://java.sun.com/j2se/1.4.1/docs/tooldocs/windows/java.html, that -Xloggc:file option has to be used for that. So I place next line into my tomcat4.conf file: JAVACMD=$JAVA_HOME/bin/java

Tomcat + log4J

2002-10-11 Thread QUERTEMONT Christophe
I am trying to use log4j with tomcat and I always get the error : No appenders could be found for category (...) Can anyone help ? Tanks, ___ QUERTEMONT Christophe E-mail : [EMAIL PROTECTED] ___

RE: Xloggc?

2002-10-11 Thread Shapira, Yoav
Hi, Use JAVA_OPTS in your $CATALINA_HOME/bin/catalina.sh. For example, JAVA_OPTS='-Xloggc:/var/log/tomcat4/tomcat_garbage.log' Yoav Shapira Millennium ChemInformatics -Original Message- From: Tomas Straupis [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 11:13 AM To: [EMAIL

Class.forName call hangs tomcat.

2002-10-11 Thread Koes, Derrick
This is a very intermittent problem with tomcat 4.0.4/j2sdk 1.4.0_02. Sometimes, jsp pages hang (do not load) in the java code if using Class.forName for a class used by the JSP. Has anyone had similar experience? If so, how did you remedy the situation? Thanks, Derrick This electronic

tomcat and ssl

2002-10-11 Thread Rau, Andrea
Hello, I try to configure tomcat for ssl-connections but get an error message... I am using tomcat v4.0.4 and jdk v1.4.0_01-b03 under redhat linux. The jdk already contains jsse and its keytool that allows to create the appropriate keys. I follow the paper Setting up Apache Tomcat and a

RE: Tomcat + log4J

2002-10-11 Thread Shapira, Yoav
Hi, How do you configure log4j? Make sure you configure log4j before any logger calls. A good place to do this in your webapp is in a servlet context listener's contextInitialized() method. But there are many other ways. Yoav Shapira Millennium ChemInformatics -Original Message-

wml or jsp to download midlets ?

2002-10-11 Thread Daniel Hellstrand
Hello I got tomcat to work so I can make a simple .wml file and access it through my mobile phone. But if I want to be able to download .jar and .jad files to my cell phone, how do I do that, do I have to serve them through a .jsp or .wml file ? /Daniel -- To unsubscribe, e-mail:

Segmentation Fault Core dump when starting Tomcat

2002-10-11 Thread Collins, Jim
Hi all, I have had a strange problem when trying to start Tomcat 4.1.10 using JDK 1.4.1. I install Tomcat to a write only NFS area and have symbolic links for conf, common, webapps, work and logs. I was previously using JDK 1.4.0 with this set-up and everything worked fine however with JDK 1.4.1

Re: wml or jsp to download midlets ?

2002-10-11 Thread Padhu Vinirs
Cant you access a jsp or servlet, which will set the right content type so that the browser can start the download ? -- padhu Daniel Hellstrand wrote: Hello I got tomcat to work so I can make a simple .wml file and access it through my mobile phone. But if I want to be able to download .jar

Re: Tomcat dies periodically

2002-10-11 Thread hcaparros
We installed Java(TM) 2 SDK, Standard Edition Version 1.3.1 Thank you, Hervé Caparros Ville de Montréal - Réacheminé par Hervé CAPARROS/MONTREAL le 2002-10-11 11:40 - Jean-Francois Arcand [EMAIL PROTECTED] 2002-10-11 11:10 Veuillez répondre à Tomcat

MOD_JK2 installation question

2002-10-11 Thread Fabio Marsilio
Hello, I' m new to mod_jk2 (at present I' using mod_webapp) but I' trying to install it in order to try it. I have apache 1.3.26 and tomcat 4.0.5 on Solaris 9. I downloaded tomcat connectors source and successfully built jk and jk2 modules with ant. The question is quite stupid for an expert

Re: wml or jsp to download midlets ?

2002-10-11 Thread Daniel Hellstrand
I thought I only could use .wml files when browsing with a cell phone (ie over WAP) ?? /D Padhu Vinirs wrote: Cant you access a jsp or servlet, which will set the right content type so that the browser can start the download ? -- padhu Daniel Hellstrand wrote: Hello I got tomcat to

Re: Tomcat dies periodically

2002-10-11 Thread Jean-Francois Arcand
Well, I'm running Tomcat with win2k without any problems. Try to update: - your JDK to 1.4 - are you running Tomcat under an admin account? Should not make a difference but - Contact you Computer Associated mailling list to see is someone else have the problem. Bonne chance :-) --

RE: MOD_JK2 installation question

2002-10-11 Thread Georg Puchta
Copy the file from e.g. ./jk/build/jk/apache13/mod_jk.so to ${APACHE_HOME}/libexec/mod_jk.so -Georg -Original Message- From: Fabio Marsilio [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 8:54 AM To: Tomcat Users List Subject: MOD_JK2 installation question Hello, I' m new

Re: Xloggc?

2002-10-11 Thread Tomas Straupis
Buvo 2002 October 11, Friday 17:21, Shapira, Yoav raðë: Use JAVA_OPTS in your $CATALINA_HOME/bin/catalina.sh. For example, JAVA_OPTS='-Xloggc:/var/log/tomcat4/tomcat_garbage.log' Sorry, I didn't mention, I installed tc from rpm's so there's no catalina.sh I checket /usr/bin/dtomcat4 and

R: MOD_JK2 installation question

2002-10-11 Thread Fabio Marsilio
Thank you Georg, but what about the .jar files to put inside catalina home? -Messaggio originale- Da: Georg Puchta [mailto:[EMAIL PROTECTED]] Inviato: venerdì 11 ottobre 2002 18.02 A: 'Tomcat Users List' Oggetto: RE: MOD_JK2 installation question Copy the file from e.g.

Re: wml or jsp to download midlets ?

2002-10-11 Thread Padhu Vinirs
From the little bit of wml I did 2-3 years back, I accessed a servlet that outputted wml to a ericcson and nokia cell-phone simulator. So u can access any url as long as the client is able to handle the content type. In your case, wml for WAP browser clients. Ofcourse your wap browser

RE: MOD_JK2 installation question

2002-10-11 Thread Georg Puchta
I did not need to use any .jar file. Here is how I got it to work. Apache needs to know about Tomcat. That's done through the mod_jk.so module (Note: Apache needs to be compiled with mod_so.c). Apache needs to be configured so it can forward requests to Tomcat. That's done by a file called

RE: MOD_JK2 installation question

2002-10-11 Thread Georg Puchta
... and you need to compile mod_jk on Solaris with cd ./jk ${ANT_HOME}/bin/ant native -Georg -Original Message- From: Georg Puchta [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 9:20 AM To: 'Tomcat Users List' Subject: RE: MOD_JK2 installation question I did not need to

Re: Using daemontools to supervise Tomcat

2002-10-11 Thread Ben Ricker
I tried to get Daemontools running for Jserv (which is pretty similar) and had no luck. My guess is that you might be able to get it to work if you pass all the env variables using daemontools and just launch java. However, since java is not a normal daemon, you will probably need fghack to do

Running a servlet automatically

2002-10-11 Thread Ravindra K. Bhat
Hi I have a servlet which updates a table when the system time is 4:00 PM. I need it to run everyday @ 4:00 PM..how do I do set it up so that it runs automatically? Thanks Ravi -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Running a servlet automatically

2002-10-11 Thread Georg Puchta
Servlets are not meant to be used in that way. I would think that you want to create a small program that does the job and execute it via a cron job or in Windows via a Task. -Georg -Original Message- From: Ravindra K. Bhat [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 9:42

RE: MOD_JK2 installation question

2002-10-11 Thread Turner, John
Just for clarification, there _are_ JAR files that are used by Tomcat to interface with the connectors. They're normally included in the Tomcat distribution, but if you are building from source, you may need to copy them out of the connector build tree into the appropriate place in the Tomcat

RE: MOD_JK2 installation question

2002-10-11 Thread Georg Puchta
Just out of curiosity. I'm running Apache 1.3.20 and Tomcat 4.0.6 on Solaris. I downloaded the mod_jk.so file from the Jakarta web site and couldn't get it to work smoothly. Whenever I requested a URI that had parameters appended (URI?key=value) Apache logged and error which looked like this:

RE: Tomcat dies periodically

2002-10-11 Thread Cox, Charlie
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 10:58 AM To: Tomcat Users List Subject: Tomcat dies periodically We are running Tomcat running on a Win2000 SP2 box and Computer Associate JASMINE/OPAL with HTTP Host

A possible multiple request in short duration solution: any feedback?

2002-10-11 Thread Michael Nicholson
So, I've been struggling with this question somewhat lately. I have my exciting database driven website where users can search the database, and some users can update the database either by updating records or inserting records. Of course, when you display a record, it isn't really from one

Why to use Apace as web server with TOMCAT

2002-10-11 Thread Rajesh . Bhabaraju
I would like know what are the advantages of using apache as webserver for tomcat. ie, what is the disadvantage of using tomcat's own web server. thanks Rajesh Bhabaraju (RAJ) Office of Technology Services Phone: 502-564-6949 X 281 [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL

can telnet to the port but can not access the welcome page.

2002-10-11 Thread Sandy . Thota
Hi, forgive me if this has been already answered. I have Tomcat 4 running on Solaris 8. Server port is configured at 8080 for http. I checked and can see that port 8080 is listening. I can telnet to the port. But on a browser I can not access the welcome page. I tried various proxy settings. Can

my application pauses

2002-10-11 Thread Ritesh Saraf
Hi, I am building a simple application using jsp/tomcat, and I am trying to cache most of my repetitive DB read data. Right now I am still developing so its still not multiple users. The problem I am facing is that my application sometimes kind of pauses and one has to wait like few seconds

RE: Why to use Apace as web server with TOMCAT

2002-10-11 Thread Turner, John
Tomcat's HTTP server is fine for most applications. Reasons why you would want Apache: - can run as a service on port 80 without being root - can use other technologies like CGI, and other languages, in addition to Tomcat - Apache is specifically tuned for static content, Tomcat is tuned for

unable to read uploaded document

2002-10-11 Thread Yang
Hi, I'm using tomcat 4 as the standalone server. I can upload files successfully to server by using struts upload package, but I can't read uploaded documents properly like excel or powerpoint documents. I checked the files in filesystem. All files are there and can be read from window explorer.

Re: Using daemontools to supervise Tomcat

2002-10-11 Thread camccuk
--- Ben Ricker [EMAIL PROTECTED] wrote: I tried to get Daemontools running for Jserv (which is pretty similar) and had no luck. My guess is that you might be able to get it to work if you pass all the env variables using daemontools and just launch java. However, since java is not a normal

RE: Using daemontools to supervise Tomcat

2002-10-11 Thread Turner, John
You can see more info on your Tomcat processes by increasing the column display of ps. For example, on a RedHat box, use ps -ef --cols=300 |grep java and you can see the full command line used to start Tomcat. In my environment (multiple, distinct Tomcats) there is a different server.xml for

RE: my application pauses

2002-10-11 Thread Shapira, Yoav
Hi, I am facing is that my application sometimes kind of pauses and one has to wait like few seconds before it moves ahead, BUT if u see that things are Try to enable verbose garbage collection, but adding -verbose:gc to your JAVA_OPTS. Then you'll know when GC runs, and for how long, by

RE: Using daemontools to supervise Tomcat

2002-10-11 Thread camccuk
--- Turner, John [EMAIL PROTECTED] wrote: You can see more info on your Tomcat processes by increasing the column display of ps. For example, on a RedHat box, use ps -ef --cols=300 |grep java and you can see the full command line used to start Tomcat. This is true John (I use ps

RE: Using daemontools to supervise Tomcat

2002-10-11 Thread Turner, John
No problem, glad to help. Thanks to Tim for the tip, it has come in handy. John -Original Message- From: camccuk [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 2:01 PM To: Tomcat Users List Subject: RE: Using daemontools to supervise Tomcat which I will repost

404 on new webapp

2002-10-11 Thread Michael Muller
i just installed jakarta-tomcat-4.1.12-LE-jdk14. i'm running version 1.4.0-b92 of sun's jdk on red hat linux 7.2. i created a test subdirectory off the webapps and created an index.jsp in that webapps/test directory. when i hit http://localhost:8080/test/index.jsp, i get 404. this used to

Re: 404 on new webapp

2002-10-11 Thread Padhu Vinirs
Try: http://localhost:8080/manager/install?path=/testwar=file:/tomcat/webapps/test -- padhu Michael Muller wrote: i just installed jakarta-tomcat-4.1.12-LE-jdk14. i'm running version 1.4.0-b92 of sun's jdk on red hat linux 7.2. i created a test subdirectory off the webapps and

GC Log in catalina.out

2002-10-11 Thread Luiz Ricardo
Hi everybody, maybe this subject is off-topic but let me explain my problem, I ran Tomcat as root user and java was logging the gc activity (java -Xloggc:/usr/local/tomcat4/logs/gc.log ...) and everything was fine but I had to change the Tomcat user to another one (tomcat4) and after this the gc

getServletContext call from jsp page...

2002-10-11 Thread Padhu Vinirs
Wanted to know if this assumption is valid in most jsp containers: Is calling getServletContext() ( instead of getServletConfig().getServletContext() ) assuming that the servlet generated from the jsp will be derived from HttpServlet ? This works ( in Tomcat ) because HttpJspBase derives

what does jpp mean in the rpm file names?

2002-10-11 Thread HAVENS,PETER (HP-Cupertino,ex3)
Can someone tell me what jpp stands for in the RPM files that are available for tomcat 4.1.12? http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/rpms/ http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/rpms/ The previous RPM files I was using for tomcat

RE: my application pauses

2002-10-11 Thread Ritesh Saraf
Hi Shapira, I am facing is that my application sometimes kind of pauses and one has to wait like few seconds before it moves ahead, BUT if u see that things are Try to enable verbose garbage collection, but adding -verbose:gc to your JAVA_OPTS. Then you'll know when GC runs, and for how long,

Re: getServletContext call from jsp page...

2002-10-11 Thread Tim Funk
Adding extra functionality is not a bad thing as long as it conforms to the spec. But using the extra functionality makes your code non-portable. Of course, one may also think this a bug since Jasper assumes your JSP extends HttpServlet and you may issue a directive %@page extends=my.Clazz %

Re: my application pauses

2002-10-11 Thread Rick Fincher
You can also try incremental garbage collection (-Xincgc). It is supposed to be more fine grained garbage collection that runs as an interruptible background process and significantly reduces pauses. Rick - Original Message - From: Ritesh Saraf [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Code of a method longer than 65535 bytes...

2002-10-11 Thread Raj Mettai
Hi, I have recently moved from tomcat 4.0.4 to tomcat 4.1.2. I am getting Code of a method longer than 65535 bytes on some jsp pages. They use to work fine on 4.0.4. any thoughts Thanks Raj

Tomcat and Xeprof

2002-10-11 Thread afreire
I need to run the Tomcat with the option -Xeprof. I do that in HP-UX 11.00 with Tomcat 3.2.4 and in HP-UX11.11i with Tomcat 3.3, but I don't have any result. Anybody know what happen. Regard Alejandro -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

  1   2   >