authenticate with java servlets

2003-03-21 Thread Erki Kriks
Hello! I'm using OpenSA (Apache 1.3), Tomcat 3.2.1 and mod_jk. For SSL i red that ajp13 is needed (not ajp12). So i get run Tomcat under Apache SSL. I authenticate user with Apache SSL, but when i read authenticate variables then i always get null. String subject = request.getHeader(

Problems with tomcat 4.0.1 and 4.1.18

2003-03-21 Thread Daniel Rubio
Hi to all Recently, we updated our Tomcat server from 4.0.1 to 4.1.18. All was perfect on the first day, but then the new server crashed and I can't found the cause. Doing a ps -ef i see lots of tomcat processes that are'nt finalizing, and when this number arrives to the value we have in

Re: mod_jk installation

2003-03-21 Thread Vincent Panel
Where did you get your mod_jk ? According to what you say, you should download the following version : http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.1/bin/linux/i386/mod_jk-1.3-eapi.so Also note that you should have mod_so compiled into apache in order to

RE: Problems with tomcat 4.0.1 and 4.1.18

2003-03-21 Thread Marion McKelvie
Daniel Are you running in standalone mode or with a web server? I have seen a similar problem when using 4.1.18, but I think I've traced it to Apache 4.0.43 and mod_jk : Apache seems to keep producing child processes each of which uses up a mod_jk thread until I get the same error in

Re: Classpath Question

2003-03-21 Thread Richard Jones
Thank you for your help: I have traked the error to the catalina.log file and itis a classnot found exception. I have made the changes but still am getting the error. I have included my setenv.bat file to see if there are any errors that are obvious to every but me. Any help would again be

Re: Problems with tomcat 4.0.1 and 4.1.18

2003-03-21 Thread Daniel Rubio
Is running standalone, we have apache in port 80 but we have a link to the secure area (tomcat, that runs in 8443). Marion McKelvie wrote: Daniel Are you running in standalone mode or with a web server? I have seen a similar problem when using 4.1.18, but I think I've traced it to Apache

Re: Manager application.

2003-03-21 Thread Andoni
Found my solution myself by doing a simple test. The app. is held in memory and therefore when you reboot the server the changes are lost. Andoni. - Original Message - From: Andoni [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, March 20, 2003 6:39 PM Subject:

RE: Problems with tomcat 4.0.1 and 4.1.18

2003-03-21 Thread Daniel Regenass
Hi, I recently moved one of our servers to RH 8.0. In the same step I also tried to move the affected application to Tomcat 4.1.18, working together with Apache 2.0.40 by using mod_jk 1.2.2. Everything went fine except that after about a day, Tomcat seems to have problems. The effects were: -

Re: authenticate with java servlets

2003-03-21 Thread tito santini
Hi, with tomcat 3.2.1 you may try with: String strX509 = req.getAttribute(javax.servlet.request.X509Certificate) Certificate cert = new X509Certificate(strX509.getBytes() ); if it doesn't work, you could try with (as servlet specs says): Object obj =

htaccess/virtual hosts doesn't work

2003-03-21 Thread Carsten Heidmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I am experiencing a strange problem: I have a combination of Apache 2.0.44/mod_jk2 (2.0.2)/Tomcat 4.1.12, running on a Solaris 8 SPARC. Apache is configured to serve a number of name based virtual hosts, of which some are serving content with jsp

RE: Problems with tomcat 4.0.1 and 4.1.18

2003-03-21 Thread Marion McKelvie
Daniel Please let me know how you get on. I'm also using RH8 and started with Apache 2.0.40 but upgraded to 2.0.43 so I could use mod_jk 2.0.43. It may be associated with Apache 2.0.4x. Marion -Original Message- From: Daniel Regenass [mailto:[EMAIL PROTECTED] Sent: 21 March 2003 10:31

Re: Need help with tomcat running as service with ajp13

2003-03-21 Thread Mark Prins
Citeren Jake Robb [EMAIL PROTECTED]: The very first thing I'd try is upgrading to the latest version of the JDK (1.4.1_01). 1.4.1_02 is the latest. I have had this problem with 4.0.6 running standalone with 1.3.x Upgrading to 1.4.1_01 helped. I have a NT4 box with 4.0.6 standalone on

RE: Problems with tomcat 4.0.1 and 4.1.18

2003-03-21 Thread Reynir Hübner
Hi, I suggest you try increasing the memory size by using jvm parameters such as -Xmx250m or what ever you think the size has to be. If java is running out of memory, it may (possibly) result in strange error messages. Hope it helps -reynir -Original Message- From: Daniel

RE: Problems with tomcat 4.0.1 and 4.1.18

2003-03-21 Thread Marion McKelvie
I think there may be a more fundamental problem here - increasing the memory or thread/processor allowances will just mean it takes longer to fall over. I have certainly seen the problem with only one user on the system - a new thread gets created virtually every time something is done, so it

Re: authenticate with java servlets

2003-03-21 Thread Erki Kriks
Hi! Yes, i tried it before: java.security.cert.X509Certificate certt = (java.security.cert.X509Certificate)request.getAttribute(javax.servlet.requ est.X509Certificate); but it's still return null. Is it possible if user authenticate to web then Apache saves user cert to some directory and later

tomcat dying on solaris

2003-03-21 Thread Kapil Sharma
Hi, My tomcat process if dying suddenly on Solaris system. I am using tomcat 4.1.12 on Solaris 8. There is nothing in the log files. Any ideas!! Thanks kapil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: tomcat dying on solaris

2003-03-21 Thread Carsten Heidmann
Hi, At 21.03.2003 12:16 +, you wrote: My tomcat process if dying suddenly on Solaris system. I am using tomcat 4.1.12 on Solaris 8. There is nothing in the log files. I had this problem when starting Tomcat interactively from a telnet/ssh/... session. When logging of, dies also, whether or

RE: tomcat dying on solaris

2003-03-21 Thread Kapil Sharma
Thanks for your reply. I fixed this problem long time ago by using /bin/ksh instead of /bin/sh in my startup script. My tomcat process is dying after 5-6 hours of starting tomcat. kapil -Original Message- From: Carsten Heidmann [mailto:[EMAIL PROTECTED] Sent: 21 March 2003 12:23 To:

Re: authenticate with java servlets

2003-03-21 Thread Erki Kriks
By the way, thank you, i get the user cert at last:) String cert = request.getAttribute(javax.servlet.request.X509Certificate).toString(); Hi, with tomcat 3.2.1 you may try with: String strX509 = req.getAttribute(javax.servlet.request.X509Certificate) Certificate cert = new

Re: tomcat 4.1.18, apache 2.0.43, mod_jk 2.0.43

2003-03-21 Thread Ivan F. Martinez
On Thu, 20 Mar 2003 09:40:14 - Marion McKelvie [EMAIL PROTECTED] wrote: MM Hello again, MM MM Is anyone running with the combination of Tomcat 4.1.18, Apache 2.0.43 and MM mod_jk 2.0.43 on Redhat 8? MM I have one machine that works fine, and other with same problem as you. When you

Setting up permissions for jsp directory

2003-03-21 Thread Nihita Goel
I have an application where I have a single controller servet receiving requests and then calling the appropriate jsp pages. I have Java classes to be used by both the servlet and jsp's. These Java Bean clasees are for database interaction. I also need to maintain session. I am using these Java

Re: Tomcat error when starting after enabling Ajp13Connector

2003-03-21 Thread John Turner
Well, if you are using uriworkermap.properties, you definitely don't want to be using Ajp13Connector, you want to be using CoyoteConnector. You create uriworkermap.properties based on your needs and your installation environment. To get more specific help, you have to be more specific than

tomcat 4.1.12

2003-03-21 Thread Kapil Sharma
Hi, If someone is using tomcat 4 in production environment under heavy loads on solaris , please send me your server.xml file. I am looking for tomcat parameter to check my server.xml file on production systems. Thanks kapil -

+ExportCertData causes certificate conversion error

2003-03-21 Thread Ramsay Domloge
Hey All, Sorry for the repeated postings, but this problem is something of an urgent one... I am experiencing an error in Tomcat when it tries to build the client certificate object into the request before being passed to my servlet. I am using Apache 2.0.44 with mod_ssl and mod_jk. The sysem

Servlet, Tomcat 3.3, IIS virtual directory access denied

2003-03-21 Thread Cinzia S
Hello people, I've set up Tomcat to run as a service with a domain log on usr/pswd. IIS works fine redirecting servlet requests to Tomcat via ISAPI redirector. All on Windows 2000 Server. The problem: The java application creates and reads files from a location which corresponds to an IIS

questions on instances of java beans

2003-03-21 Thread Michael Ni
if browser A has made an instance of my javabean of session scope, how does browser B from another computer use the same instance of that javabean. in otherwords i want to have different browsers use a session bean like an application scope bean. mike

questions on instances of java beans

2003-03-21 Thread Michael Ni
if browser A has made an instance of my javabean of session scope, how does browser B from another computer use the same instance of that javabean. in otherwords i want to have different browsers use a session bean like an application scope bean. mike

RE: questions on instances of java beans

2003-03-21 Thread Reynir Hübner
Hi, Put your bean into servlet context when it's instanciated with the first client. Then get it out of ServletContext when you want the other client to use it. Hope it helps -reynir -Original Message- From: Michael Ni [mailto:[EMAIL PROTECTED] Sent: 21. mars 2003 13:44 To:

RE: tomcat 4.1.18, apache 2.0.43, mod_jk 2.0.43

2003-03-21 Thread Marion McKelvie
Ivan, Thanks for your reply. When you restart Apache, do the threads just build up again? If you can't see any difference between the two configurations, do you think there may be a difference between the libraries being used? Marion -Original Message- From: Ivan F. Martinez

RE: Setting up permissions for jsp directory

2003-03-21 Thread Manav Gupta
In essence, your jsp is 'separated' from your controller servlet. 1. You can either plug-in the validation mechanism on top of each jsp page such that each jsp page talks to the servlet before processing (but i presume you wouldn't want this). 2. You can use JDBC Authentication Realm. Check

Lb_factor didn't work as expected

2003-03-21 Thread LAGALISSE Eric
After several test using mod_jk 2.0.43 on Linux with apache 2.0.43 we noticed that if we define workers.properties as followthe load balancing send to both tomcat server but not in the same ratio. For example if we stress with 100 users, 80 are routed to the first tomcat server declared

Re: Setting up permissions for jsp directory

2003-03-21 Thread Tim Funk
The easiest way is to place your jsps inside of your WEB-INF directory. Otherwise - if you are using apache in front of tomcat there are directives which can do that. Otherwise - You can create a security constraint which nobody has access to. (Configured in web.xml) -Tim Nihita Goel wrote:

Header and Footer in directory listing .....

2003-03-21 Thread graghupathy
Hi, Can anyone let me know how to change the look and feel of directories listing in tomcat . ( I am using windows ) Regards Guru Gurumoorthy Raghupathy Aegon Benefit Solution Email : [EMAIL PROTECTED] Phone : 0044 20

Re: Header and Footer in directory listing .....

2003-03-21 Thread Tim Funk
AFAIK - there is no way. But if you are using apache in front of tomcat - there are some ways to decorate directory listings. I don't know the details, but I think its in the apache docs. -Tim [EMAIL PROTECTED] wrote: Hi, Can anyone let me know how to change the look and feel of directories

Classpaths

2003-03-21 Thread Richard Jones
I have a question on java classpaths. If I have a set of java classes and want to use them I put them into tomcat/shared/classes directory. my question is these java classes require jar's of there own can I simply put these into the shared/lib folder and will tomcat look after it all. Regards

What to set docBase attribute to in an individual Context.xml file

2003-03-21 Thread Collins, Jim
Hi, I am deploying my application using manager/deploy. In the META-INF directory I have myapp.xml file. If I am deploying the app using manager does anyone know what I should set the docBase attribute to? I am also having problems reading an Environment property from the context file. Here is

Re: Classpaths

2003-03-21 Thread Tim Funk
If have classes in shared/classes and they depend on other classes (that are in jars), you can place the jars in shared/lib without a problem. -Tim Richard Jones wrote: I have a question on java classpaths. If I have a set of java classes and want to use them I put them into

JNDI problems

2003-03-21 Thread TimothyReaves
Hello all. I have been using Tomcat 4.x, and it's worked very well. I had a data source defined in struts, and that worked very well. Then I had a need to access a database from a non-JSP class, so I figured I'd use JNDI. Oddly enough I got this to work the first time. Then I went to

RE: questions on instances of java beans

2003-03-21 Thread Michael Ni
do you have any examples on this material? mike From: Reynir Hübner [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: questions on instances of java beans Date: Fri, 21 Mar 2003 13:42:59 - Hi, Put your bean into servlet

Re: JNDI problems

2003-03-21 Thread Andoni
Could it be because of the conflict between the declaration of the resource as being shareable in the server.xml file and being Container in the web.xml? I am very new to this stuff. Andoni. - Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent:

[JK2] JK2 Properties for Coyote Connector

2003-03-21 Thread Jerry Jalenak
Hi, I'm trying to get the Coyote Connector working with Apache 2.x and Tomcat 3.3.1. I've been through the Coyote 1.0rc2 doc and have updated all of the .jar files in Tomcat. What I'm missing is the JK2.properties file. Does anyone have an example of what this file should look like? TIA!

Tomcat MBeanServer and Registry

2003-03-21 Thread dubstar 27
Hi, I'm trying to get retrieve my JMX registry and MBeanServer in a Java servlet: registry = (Registry) getServletContext().getAttribute (org.apache.catalina.Registry); mBServer = (MBeanServer)getServletContext().getAttribute(org.apache.catalina.MBeanServer); However, I get null for both

Re: Problems with tomcat 4.0.1 and 4.1.18

2003-03-21 Thread Micael
The two are likely the same problem. Do you have something that might be spawning threads in your application? At 09:48 AM 3/21/03 +0100, you wrote: Hi to all Recently, we updated our Tomcat server from 4.0.1 to 4.1.18. All was perfect on the first day, but then the new server crashed and I

MemoryRoles Roles and Users

2003-03-21 Thread Francois Paris
Hi, I am trying to list the current user roles, but I don't know very well how I can do it. I am using Tomcat/4.1.18. I have found in the servlet api doc and Catalina api doc, two interesting methods : API Servlet : HttpServletRequest.getUserPrincipal() API Catalina:

Problem when tomcat start

2003-03-21 Thread Yannis Avenel
Hi all, I've got a problem runnig catalina after using the install.pl script. I'm using jakarta-tomcat-4.1.18, j2sdk1.4.1_02 and opennms-1.0.2-1 I have put tomcat in /usr/local/tomcat , jdk in/usr/local/java and openNMS in /usr/local/openNMS. I have make a link from

Re: Deploy with Ant tasks

2003-03-21 Thread Jacob Kjome
The behavior of install and deploy are very different. install runs your app from wherever you point the docBase to. deploy using HTTP PUT to upload the war file to the manager app work directory (as you've found). Also, deploy is permanent (at least until undeploy) as it causes a physical

RE: Need help with tomcat running as service with ajp13

2003-03-21 Thread Strecker, Mark
This sounds eerily familiar. The box I am running on is a dual processor box too. Thanks for your info. What else have you tried to debug this? Anything logged that looks interesting? Mark -Original Message- From: Mark Prins [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 6:45 AM

Re: What to set docBase attribute to in an individual Context.xml fil e

2003-03-21 Thread Jacob Kjome
First, the name of the context configuration file put into META-INF should be, very specifically, context.xml. The docBase needs to be name of your .war file. So, if you your .war file is MyWarFile.war, then it should be docBase=MyWarFile.war. Jake At 02:49 PM 3/21/2003 +, you wrote:

RE: What to set docBase attribute to in an individual Context.xml fil e

2003-03-21 Thread Collins, Jim
Hi Jake, Thanks for getting back so quick. So the context file in META-INF should be context.xml and not myapp.xml? That is maybe where I have been going wrong, I read some previous posts on this from Craig and I thought he said you name the context file with the name of your app and a .xml

Corrupted file

2003-03-21 Thread Allan Campos de Moraes
Hi, Every time I try to download the tomcat files using the http servers from apache it comes corrupted, someone knows some ftp sote I could use to download them ? Regards, Allan Moraes --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system

Re: What to set docBase attribute to in an individual Context.xml fil e

2003-03-21 Thread Rasputin
* Collins, Jim [EMAIL PROTECTED] [0340 16:40]: Hi Jake, Thanks for getting back so quick. So the context file in META-INF should be context.xml and not myapp.xml? That is maybe where I have been going wrong, I read some previous posts on this from Craig and I thought he said you name the

How much $$ to get Tomcat/J2SE installed?

2003-03-21 Thread Chris Hale
All, Looking for some quick help here. Need to get this installed on my RH7.3 system with Apache and mod_ssl. My developer is doing some stuff with .jsp files and needs this support on the server. Anyone willing to do this for some quick cash? I tried to get it installed and got stumped

internal server error

2003-03-21 Thread Adrian Epuras
I'm using tomcat 4.1.18 and apache 2.0.44 with JK2 on Slackware 8.1. And from time to time I get something like this: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Apache/2.0.44 (Unix) DAV/2 mod_jk2/2.0.3-dev Server at

RE: Need help with tomcat running as service with ajp13

2003-03-21 Thread Mark Prins
- the logs show nothing strange; I've set up with request dumping now - I'm playing with the params for the tomcat.exe in the registry (-Xrs, JVM dll, garbage collection options) - traffic is really low but that doesn't seem to make a difference. This afternoon it seems to be behaving itself...

Re: internal server error

2003-03-21 Thread Tim Funk
Make sure you have as many tomcat workers(maxProcessors) as apache workers. -Tim Adrian Epuras wrote: I'm using tomcat 4.1.18 and apache 2.0.44 with JK2 on Slackware 8.1. And from time to time I get something like this: Internal Server Error The server encountered an internal error or

Re: Corrupted file

2003-03-21 Thread Tim Funk
What os and file are you using? If it is a tar.gz (.tgz) file - you need to your GNU tar since tar from proprietary unixes may not work right (solaris/hpux). PKunzip also doesn't like tgz files either. -Tim Allan Campos de Moraes wrote: Hi, Every time I try to download the tomcat

no Tomcat process error stopping service (Red Hat 8.0)

2003-03-21 Thread Lisa Foister
I'm very much a Linux newbie, so I may be missing something obvious here, but I think I've got the J2SDK set up right, and I thought I had Tomcat set up right. I've completely shut down my Apache server so I don't have to deal with the interactions, and although I would prefer to be running

Re: no Tomcat process error stopping service (Red Hat 8.0)

2003-03-21 Thread Tim Funk
Look for /var/tomcat4/logs/catalina.out. There will be an error message in there of what went wrong. -Tim Lisa Foister wrote: I'm very much a Linux newbie, so I may be missing something obvious here, but I think I've got the J2SDK set up right, and I thought I had Tomcat set up right. I've

Re: How much $$ to get Tomcat/J2SE installed?

2003-03-21 Thread John Turner
You can do it for free. Complete HOWTO, step by step: http://www.johnturner.com/howto John On Fri, 21 Mar 2003 11:42:32 -0500, Chris Hale [EMAIL PROTECTED] wrote: All, Looking for some quick help here. Need to get this installed on my RH7.3 system with Apache and mod_ssl. My developer is

RES: Corrupted file

2003-03-21 Thread Allan Campos de Moraes
Thank you -Mensagem original- De: Tim Funk [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 21 de março de 2003 14:01 Para: Tomcat Users List Assunto: Re: Corrupted file What os and file are you using? If it is a tar.gz (.tgz) file - you need to your GNU tar since tar from

Re: no Tomcat process error stopping service (Red Hat 8.0)

2003-03-21 Thread John Turner
Tomcat is definitely not starting. Check the catalina.out file for an explanation, and you can also try to start it manually with /path/to/tomcat/bin/catalina.sh start which should put any startup problems right to the screen. John On Fri, 21 Mar 2003 12:04:33 -0500, Lisa Foister [EMAIL

RE: no Tomcat process error stopping service (Red Hat 8.0)

2003-03-21 Thread Lisa Foister
hmm... ok, here's what's in the log (this should be exactly one start and stop -- the first 2 or 3 entries are from the start, the rest from the stop). I don't seem to be getting any errors at all on startup. No clue what Error initializing endpoint means, but it seems to be my first actual

RE: no Tomcat process error stopping service (Red Hat 8.0)

2003-03-21 Thread Davis, Jeremy
Do you have a webserver already up and listening on port 80? I don't know for sure, but that would be my first guess, if that helps. Jeremy Davis Senior Support Analyst BPI Marketplace Integration 614.760.8941 1.800.436.8726 - Support Line -Original Message- From: Lisa Foister

Re: Problems with tomcat 4.0.1 and 4.1.18

2003-03-21 Thread Jonathan Eric Miller
I think I may be having the same problem as well. I'm running Tomcat in standalone mode and I have it configured only for HTTPS. The error message that I'm receiving is. INFO: All threads are busy, waiting. Please increase maxThreads or check the servlet status75 75 This is the second time I've

Re: no Tomcat process error stopping service (Red Hat 8.0)

2003-03-21 Thread John Turner
Tomcat is trying to bind to port 80 but doesn't have the permission to do so. Are you running these scripts as root? Check /path/to/tomcat/conf/server.xml and make sure that CoyoteConnector is listening on port 8080 (the default) instead of 80. You can always change it later, and there are

Re: no Tomcat process error stopping service (Red Hat 8.0)

2003-03-21 Thread Tim Funk
It looks like something is already listening on port 80. netstat -a will show if anything is listening on port 80. You also need to be root to bind to port 80. It looks like you already are but make sure your scripts are not switching user. If you are just running startup.sh -- then you should

Re: no Tomcat process error stopping service (Red Hat 8.0)

2003-03-21 Thread Ramsay Domloge
if you do netstat -l you should see that there is already an app using port 80. Either that or you are trying to run Tomcat not as root which will be denied since ports 0 - 1024 are restricted to root only. Ramsay Lisa Foister wrote: hmm... ok, here's what's in the log (this should be exactly

Re: tomcat 4.1.18, apache 2.0.43, mod_jk 2.0.43

2003-03-21 Thread Jonathan Eric Miller
I'm running in standalone mode and I'm receiving the same error, so, I don't think the problem is with regard to what version of Apache you're running or mod_jk. Jon - Original Message - From: Ivan F. Martinez [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, March

Re: Whee!! It's good to be back!

2003-03-21 Thread Jeff Tulley
How are you packaging it? Are you putting it in a certain context, or what? How are you trying to view it? Through Port 8080, or through a web server? It seems that your web.xml is consistent within itself. Where are you putting the compiled .class file in your web app's directory structure?

RE: no Tomcat process error stopping service (Red Hat 8.0)

2003-03-21 Thread Lisa Foister
I am logged in as root, with no other web server running, so I don't know why I'm having trouble with port 80, unless somewhere the tomcat process is configured to run as the tomcat4 user. However, I changed my server.xml to use port 8080, and at least I'm not getting errors on stopping

Re: What to set docBase attribute to in an individual Context.xml fil e

2003-03-21 Thread Jacob Kjome
Note that context.xml is only applicable when you are using the deploy task for the manager app (and note that this can only be invoked via the Ant catalina manager tasks because browsers don't support HTTP PUT). If you are putting a context configuration file in the webapps directory for

Re: tomcat dying on solaris

2003-03-21 Thread jo outen
Much simpler change the catalina.sh to run as ksh instead of sh. The sh shell is not handling the job correctly. --- Carsten Heidmann [EMAIL PROTECTED] wrote: Hi, At 21.03.2003 12:16 +, you wrote: My tomcat process if dying suddenly on Solaris system. I am using tomcat 4.1.12 on

defaulting tomcat to a specific webapp

2003-03-21 Thread Monica Acerra
Greetings, how do you force a specific webapp under tomcat when users go to url http://myserver:8080 it appears that by default users are directed to webapp ROOT. i would like to redirect to another thanks - To unsubscribe,

RE: defaulting tomcat to a specific webapp

2003-03-21 Thread Filip Hanik
just take a look at how the ROOT context is configured. or if you simple want to redirect to another, just change the 'ROOT/index.jsp' to do a response.sendRedirect(/yourotherwebapp); Filip -Original Message- From: Monica Acerra [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003

RE: no Tomcat process error stopping service (Red Hat 8.0)

2003-03-21 Thread Lisa Foister
BTW, the tomcat4.conf file had TOMCAT_USER=tomcat4 which explains my problems with port 80. I changed that to root, and went back into the server.xml and changed the port to 80, and now I'm getting the same Tomcat error response when I http to that machine as I was getting below on port 8080.

RE: defaulting tomcat to a specific webapp

2003-03-21 Thread Monica Acerra
yes, works fine, thanks :) -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 11:25 AM To: Tomcat Users List Subject: RE: defaulting tomcat to a specific webapp just take a look at how the ROOT context is configured. or if you simple want to

Connection drops with tomcat-based game server (very long version)

2003-03-21 Thread Wouter Bijlsma
Hi, I'm currently co-developing a game (draughts, see www.damserver.nl) server that utilises Tomcat for message passing and relaying, which is in a testing phase right now. During development of the server (on a fast network) we encountered no big problems with Tomcat, but since testing has

Connection drops with tomcat-based game server (very short version)

2003-03-21 Thread Wouter Bijlsma
Is it possible that tomcat sometimes randomly kills a request, does not process a request or queues a request indefinitely, thereby blocking a client that tries to read back the response to its request? Could this be possible when a servlet communicates with the clients using only raw data and

RE: no Tomcat process error stopping service (Red Hat 8.0)

2003-03-21 Thread Rhodes, Phil
From: Lisa Foister [mailto:[EMAIL PROTECTED] I am logged in as root, with no other web server running, so I don't know why I'm having trouble with port 80, unless somewhere the tomcat process is configured to run as the tomcat4 user. No idea here. Have you used netstat to make sure

Apache1.3.27 + Tomcat 4.1+FreeBSD4.7

2003-03-21 Thread Marcia de Oliveira Cardoso
Hello, I never configured this before. I've installed Tomcat4.1 (by ports) standalone and it seems to work fine. I enter http://localhost:8180 and it says welcome. But I need my to have something like that: http://localhost/~user (any user ) So, I read that I'll need mod_jk. So I installed

RE: Connection drops with tomcat-based game server (very short version)

2003-03-21 Thread Filip Hanik
ok, if you are using the HTTP protocol, you must know that the server has no responsibility in keeping the connection alive. Tomcat (Coyote) keeps the connection alive if the Keep-Alive is set, but you can't send raw data up and down the HTTP connection and expect it to work. The data has to

Re: Connection drops with tomcat-based game server (very shortversion)

2003-03-21 Thread Ben Ricker
Sounds like a load issue coupled with a config issue. How about some logs entries? DO you see anything in the logs you setup? Catalina.out? Context log? Also, some idea what OS and version would also be helpful. It is nearly impossible to tell (at least for me). Ben Ricker On Fri, 2003-03-21 at

Re: no Tomcat process error stopping service (Red Hat 8.0)

2003-03-21 Thread John Turner
OK, so I'm guessing Red Hat Linux, and you used the RPMs. You should be getting a default page at http://server:8080, though I do not know what the RPMs do...they may disable the root context. Try http://server:8080/examples/ or http://server:8080/examples Regarding your process problems, you

Re: Connection drops with tomcat-based game server (very short version)

2003-03-21 Thread Jake Robb
This is an interesting proposition! I read both of your posts. Personally, if I were you, I would create a custom server. David Flanagan's Generic Multithreaded Server (as given in O'Reilly's Java Examples in a Nutshell) would be a good starting point (if you're using it commercially, there's a

Form based authentication and sessions

2003-03-21 Thread Carl Maib
hello all, i am having trouble getting form based authentication working the way i would like. as suggested by several threads in this group, i am trying to override the authenticate of the FormAuthenticator so that i can set session data appropriately. the problem i am having is that i am

tomcat responds with localhost, but refuses the connection w/machinename

2003-03-21 Thread Davis, Jeremy
I got red hat 8.0, jdk 1.3.1_07, and tomcat 3.3.1a installed. If on the server, I do localhost:8080, it works ok and comes up with the welcome page, but when I do machinename:8080 it comes back telling me the connection was refused? Thanks, Jeremy Davis Senior Support Analyst BPI Marketplace

Re: tomcat responds with localhost, but refuses the connection w/mach inename

2003-03-21 Thread John Turner
Did you configure a virtual host for machinename in server.xml, or just leave it with localhost? Tomcat is literal, there is no catch-all like there is with Apache. That is, unless you have a Host container for your hostname or an Alias directive for an already existing virtual host, Tomcat

RE: tomcat responds with localhost, but refuses the connection w/mach inename

2003-03-21 Thread Davis, Jeremy
I was wondering, I saw the virtual host configuration documentation, and was about to attempt such a thing. So I should add an Alias tag, under a host tag in the server.xml? Jeremy Davis Senior Support Analyst BPI Marketplace Integration 614.760.8941 1.800.436.8726 - Support Line -Original

Re: tomcat responds with localhost, but refuses the connection w/ mach inename

2003-03-21 Thread John Turner
That's one way. It pretty much comes down to how you want to handle Contexts. If you want a particular Context to be available for a particular domain/host and that domain/host only, you would use a separate Host container. John On Fri, 21 Mar 2003 14:39:39 -0500, Davis, Jeremy [EMAIL

Re: Connection drops with tomcat-based game server (very short version)

2003-03-21 Thread Wouter Bijlsma
There's nothing in the logfiles (we are only using catalina.out) that would suggest that Tomcat even knows about a connection problem. The server just goes on as if nothing happened, but the messages it sends to the 'dead client' are never delivered. This might indeed be a load/config issue,

RE: mod_jk installation

2003-03-21 Thread Tarun Ghanshyam Abhichandani
That's the one I had downloaded. Further on executing httpsd -l it list mod_so as a compiled module. However it gives an error at the end relating to suexec.I hope this is not the problem . Thanks Tarun -Original Message-

Re: mod_jk installation

2003-03-21 Thread Albert Lunde
I am trying to configure mod_jk 1.3 to work between Apache 1.3.27 with mod_ssl and Tomcat 4.1.18 on Linux Version 7.1. After installing Apache 1.3.27 and Tomcat 4.1.18 when I update httpsd.conf with following two lines LoadModule jk_module /libexec/mod_jk.so AddModule mod_jk.c And then when I

[OT] Servlet process issue

2003-03-21 Thread Tam, Michael
Hi all, Sorry for the [OT]. Since many of you are the experts on servlet technology, I'd like to ask for suggestions or comments on the servlet process I am working on. Process: 1) I have a form html (A) to upload data files through an UploadServlet (B) which stores the files in the file

Re: Connection drops with tomcat-based game server (very long version)

2003-03-21 Thread Justin Ruthenbeck
Hi Wouter, I can't give you concrete responses to your questions, but I can offer some anectodal observations from experience. We also have a connection-sensitive, high message frequency, small message size portion of our application. During bursts, the system must send and receive data as

RE: no Tomcat process error stopping service (Red Hat 8.0)

2003-03-21 Thread Lisa Foister
Thanks, my Root was commented out, but Examples was available already. Now I'm just getting The requested resource (/) is not available so I guess my next question is, just where exactly is ROOT, or where is it defined? Lisa On Friday, March 21, 2003 2:04 PM, Rhodes, Phil [SMTP:[EMAIL

Re: no Tomcat process error stopping service (Red Hat 8.0)

2003-03-21 Thread John Turner
ROOT is /path/to/tomcat/webapps/ROOT. The ROOT Context is defined in server.xml. John On Fri, 21 Mar 2003 15:11:29 -0500, Lisa Foister [EMAIL PROTECTED] wrote: Thanks, my Root was commented out, but Examples was available already. Now I'm just getting The requested resource (/) is not

Re: [OT] Servlet process issue

2003-03-21 Thread Erik Price
Tam, Michael wrote: Hi all, Sorry for the [OT]. Since many of you are the experts on servlet technology, I'd like to ask for suggestions or comments on the servlet process I am working on. Process: 1) I have a form html (A) to upload data files through an UploadServlet (B) which stores the

Re: Connection drops with tomcat-based game server (very long version)

2003-03-21 Thread Wouter Bijlsma
Hi Justin, First of all, thanks for your reply. Some of the problems you describe look an awful lot like the ones we're experiencing: On Fri, 21 Mar 2003 12:10:49 -0800 Justin Ruthenbeck [EMAIL PROTECTED] wrote: The application in general is a standard browser/server web based application

RE: no Tomcat process error stopping service (Red Hat 8.0)

2003-03-21 Thread Lisa Foister
Thanks, my webapps directory was completely empty, I had to create the ROOT manually, but it did display a quick index.html I threw together, so at least now I know it's running and can find what it's looking for. Lisa On Friday, March 21, 2003 3:19 PM, John Turner [SMTP:[EMAIL PROTECTED]

RE: tomcat responds with localhost, but refuses the connection w/ mach inename

2003-03-21 Thread Davis, Jeremy
Thanks, I have found that it was not tomcat at all, the issue is a networking mismatch between the dns name, and the real ip address are completely different. Using the machinename was having dns point me to a box that was not mine, so of course the connection was refused. Thanks for the help

  1   2   >