Tomcat not showing the pages ----

2003-09-25 Thread kgsat
Hi friends, (B (BI have been developing a video download application to run in (Bapache2.0.46+Tomcat4.1.24 on windows 2000Server environment. (B (BSuddenly i had the problem of tomcat not showing the pages after it started (Boff successfully without any error at the console. (BEven after

innocuous Servlet kills Tomcat

2003-09-25 Thread Paul Wallace
Hi All, After implementing my simple Servlet under Tomcat thus: servlet servlet-nameOpenResource/servlet-name servlet-classcom.ia.mapping.servlets.OpenResource/servlet-class /servlet where the Servlet OpenResource has been compiled in the correct directory, containing no

Re: innocuous Servlet kills Tomcat

2003-09-25 Thread Kwok Peng Tuck
Hard to tell from a small snippet like that , but if I had to guess, it doesn't appear to meet the dtd specified by the web.xml. Try sending us the entire web.xml in your email. Paul Wallace wrote: Hi All, After implementing my simple Servlet under Tomcat thus: servlet

Re: Mutual and Basic Authentication switched on for the same web application

2003-09-25 Thread Rudolf Castelino
Mutual Authentication is where a user needs to have a Client Side certificate to login to a webapplication which is using a Server Side Certificate The Present is more Real than the Past or the Future Put together From: Tim Funk [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL

Re: mapping a servlet to multiple urls

2003-09-25 Thread Bill Barker
There was a bug in the Mapper in early versions of Tomcat 5.x. Try upgrading to 5.0.12 and see if the bug goes away. Marion McKelvie [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I think I may be misunderstanding how to map multiple urls to a servlet. I have a very simple servlet

Re: Tomcat not showing the pages ----

2003-09-25 Thread Holger Klawitter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest.getUserPrincipal()Ljava/security/Prin c ipal; I'd suspect that somehow your webapp is accessing an old or a broken version of servlet.jar. Mit freundlichem Gruß / With kind

RE: innocuous Servlet kills Tomcat

2003-09-25 Thread Paul Wallace
Hi, I located the problem. I was mapping a different Servlet before the OpenResource Servlet was defined in web.xml (error): web-app servlet servlet-nameLoginServlet/servlet-name servlet-classcom.ia.mapping.servlets.LoginServlet/servlet-class /servlet

RE : RE : Redirecting the output to a log file

2003-09-25 Thread Laurent Michenaud
Maybe with debug=0 Anyway, u should use log4j instead of System.out -Message d'origine- De : Sarika N Inamdar [mailto:[EMAIL PROTECTED] Envoyé : mercredi 24 septembre 2003 06:41 À : 'Tomcat Users List' Objet : RE: RE : Redirecting the output to a log file Hi, Thanks for the solution.

Re: innocuous Servlet kills Tomcat

2003-09-25 Thread Kwok Peng Tuck
The digester error actually provides you more info than you think : org.xml.sax.SAXParseException: The content of element type web-app must match (icon?,display-name?,description?,distributable?,context-param*,filter*,

Apache 4.0.47 - Tomcat 4.1.27 - mod_jk2 - Development Enviroment

2003-09-25 Thread Paul Mills
Hi, I am very new to Tomcat, but I need to setup a Development/Teaching Enviroment for Apache and Tomcat. I have installed and tested the following :- Apache 2.0.47 - installed from rpm Tomcat 4.1.27 - binary install mod_jk2 2.0.2 - installed from source j2sdk 1.4.2_01 - installed from rpm I

Re: curiosity kills tomcat

2003-09-25 Thread P . van Kemenade
Hi org.xml.sax.SAXParseException: The content of element type web-app must match (icon?,display-name?,description?,distributable?,context- param*,filter*, filter-mapping*,listener*,servlet*,servlet-mapping*, [snip] See , servlet definitions come first. Define them first, then the associated

Re: IIS5+tomcat4.1 configuration problem

2003-09-25 Thread Mats Andersson
I can't see any .reg file. Maybe it's because my mozilla filters out .reg files, but I don't think it does that. Can you get the file from the mail you sent to the list? Mats Kareem Mahgoub wrote: you mean you have something to prevent files of type reg?? Best regards, Kareem Mahgoub Senior

Administrator Username and Password

2003-09-25 Thread N.B.Bopanna
Hi all, Could anybody tell me the default username and password for tomcat-4.1.24 Administrator? Thanks in advance. Bopanna Sr Software Engineer, RCS Technologies, Bangalore - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: IIS5+tomcat4.1 configuration problem

2003-09-25 Thread Kareem Mahgoub
Dear Mats, Here is my registry key ### Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\2.0] extension_uri=/jakarta/isapi_redirector2.dll worker_file=d:\\tomcat

Coyote Connector for Http

2003-09-25 Thread N.B.Bopanna
Hi All, How to configure Coyote connector for my webaplication? My web application is in a folder called 'speed' in webapps directory. Can the server.xml can have 2 Host tags? Bopanna Sr. Software Engineer, RCS Technologies, Bangalore

Re: IIS5+tomcat4.1 configuration problem

2003-09-25 Thread Mats Andersson
You have mixed the jk2 with jk string values. Here's my registry: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\2.0] serverRoot=C:\\jakarta-tomcat-4.1.24 workersFile=C:\\jakarta-tomcat-4.1.24\\conf\\workers2.properties

Re: IIS5+tomcat4.1 configuration problem

2003-09-25 Thread Kareem Mahgoub
Thanks for clarification but i have 2 questions 1- What is the content of your workers2.properties 2- Does it make a difference if i make the file worker not wokers? 3- There is no uriworkermap.properties in your registry, may I assume it is not required? Your help is very much appreciated Best

RE: Administrator Username and Password

2003-09-25 Thread Joao Medeiros
Bopana, Default administrator name is admin and the password is setup when you install Tomcat. Check your tomcat-users.xml file under $TOMCAT_HOME/conf and you might be able to get the password for admin. /JM -Original Message- From: N.B.Bopanna [mailto:[EMAIL PROTECTED] Sent: 25

Re: IIS5+tomcat4.1 configuration problem

2003-09-25 Thread Mats Andersson
1. # Define the communication channel [channel.socket:127.0.0.1:8009] info=Ajp13 forwarding over socket tomcatId=127.0.0.1:8009 port=8009 host=127.0.0.1 [uri:/wa1/*] 2. Don't know. But the question is, why do you want another name, it's confusing as it is with the jk,jk2 stuff. 3. It's not

Re: IIS5+tomcat4.1 configuration problem

2003-09-25 Thread Kareem Mahgoub
Still the same problem. I think the problem in the isapi_redirector2.dll, could you send me yours if you please Best regards, Kareem Mahgoub - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: isapi_redirector2.dll

2003-09-25 Thread Kareem Mahgoub
still not working I have just noticed that the size of the file on the mail is 164KB while when i save it to the disk it is 160KB. Is this a problem? Other thing is that i can't find the log file mentioned in the reg key created for the redirector, any hints? Best regards, Kareem Mahgoub

cannot compile jsps with tomcat 5

2003-09-25 Thread teknokrat
I just tried running my webapp with the latest release of tomcat 5 (5.0.12). Added my context to bin/catalina/localhost and changed CATALINA_HOME. The app loads fine but it refuses to compile any of the jsps. This could be a struts/tiles issue. The sample jsp/servlet examples work fine. here

Tomcat Admin Password

2003-09-25 Thread N.B.Bopanna
Hi All, I can't log as administrator in to Tomcat 4.1.24 using username : admin password : setup is this the default password? Bopanna - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

AW: Tomcat Admin Password

2003-09-25 Thread Nitschke Michael
In *tomcathome*/conf/ is a file named tomcat_users.xml there are all passwords, usernames and roles stored. Ito should be very easy to figure them out. -Ursprüngliche Nachricht- Von: N.B.Bopanna [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 25. September 2003 13:26 An: [EMAIL

Re: Tomcat Admin Password

2003-09-25 Thread Nikola Milutinovic
Hi All, I can't log as administrator in to Tomcat 4.1.24 using username : admin password : setup is this the default password? There is no default password, you have to enter your own in tomcat-users.xml Nix.

RE: Tomcat Admin Password

2003-09-25 Thread Ashutosh Satyam
Hi, I just saw your mail. Under the TOMCAT_HOME/conf directory, there is a xml file namely 'tomcat-users.xml'. Open this file to look for the password of the created users. Normally the admin password is 'admin' by default. Regards, Ashutosh -Original Message- From:

Re: cannot compile jsps with tomcat 5

2003-09-25 Thread Remy Maucherat
teknokrat wrote: I just tried running my webapp with the latest release of tomcat 5 (5.0.12). Added my context to bin/catalina/localhost and changed CATALINA_HOME. The app loads fine but it refuses to compile any of the jsps. This could be a struts/tiles issue. The sample jsp/servlet examples

Accessing GlobalNamingResources

2003-09-25 Thread Miguel Vieira
Hi, I'm using Tomcat 4.1.19 and I'd like to know if it's possible to access the GlobalNamingResources, defined in server.xml, from a servlet, without creating a ResourceLink in the servlet's context? Thanks, Miguel Vieira - To

Tomcat with embedded java database and taglibs

2003-09-25 Thread Peter Tornberg
Hello, I'm currently looking into what solution to use for a web application I'm about to create. What I want is: - Taglib support. core, sql, and maybe things outside the standard-taglib - Pure Java database to run embedded in the application for easy deployment. Does anyone have any

Re: Tomcat Admin Password

2003-09-25 Thread N.B.Bopanna
Hi All, Thanks for ur response. My tomcat-user.xml.is as follows, ?xml version='1.0' encoding='utf-8'? tomcat-users role rolename=role1/ role rolename=tomcat/ user username=role1 password=tomcat roles=role1/ user username=tomcat password=tomcat roles=tomcat/ user username=both

RE: Administrator Username and Password

2003-09-25 Thread Joao Medeiros
Bopana, The password for the user 'admin' is not 'setup'. What I meant is when you install Tomcat the username and password are setup as a step of the install procedure. Please check the tomcat-users file as explained below. /JM -Original Message- From: Joao Medeiros [mailto:[EMAIL

RE: Tomcat Admin Password

2003-09-25 Thread Joao Medeiros
Bopana, Make sure your tomcat-users.xml contains at least the following line: role rolename=admin/ and the following line as well: user username=admin password=manager roles=admin/ The field 'password' in the example above is set to 'manager' but you can change it to whatever value you want.

RE: Accessing GlobalNamingResources

2003-09-25 Thread Joao Medeiros
Miguel, I'm assuming you want to access the values as defined for a given parameter in your server.xml or in your web.xml files depending on whether you want them defined globally or per application. Try the folling code in your jsp file and replace the parameter name with the appropriate

FW: The email you authored contained a violation (either a virus or inappropriate content)

2003-09-25 Thread Joao Medeiros
I keep on receiving this every time I reply or post to this list. Not a major issue more of a nice to have if the member in Quebec puts in a good word to the systems admin... /JM -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 25 September 2003 13:35 To: Joao

RE: can't setup

2003-09-25 Thread Shapira, Yoav
Howdy, Look in your logs to see the full error. If you can't figure out the cause, post the full error here. Yoav Shapira Millennium ChemInformatics -Original Message- From: Rodrigo Poblanno Balp [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 4:35 PM To: Tomcat Users

RE: curiosity kills tomcat

2003-09-25 Thread Shapira, Yoav
Howdy, yes, I've always considered that a bug, but guess what, it's a dtd ! so .. that 'bug' won't dissapear in the future ? ( why on earth would anyone want it like that ? :-) You don't like it, contact the Expert Group / JSR for the Servlet Specification and ask them to relax the DTD.

RE: How to make Dispatcher send the right resource?

2003-09-25 Thread Shapira, Yoav
Howdy, Since it's your JSP generating the PDF file, change your JSP to create the PDF file under your context. Or better yet, in your context's temporary directory (ServletContext#getAttribute(javax.servlet.context.tempdir); ) If under your webapp, you can use a request dispatcher or a response

RE: Runtime.getRuntime().addShutdownHook()

2003-09-25 Thread Shapira, Yoav
Howdy, Tomcat properly calls Servlet#destroy and ServletContextListener#contextDestroyed (as well as other lifecycle methods). When people complain their methods are not being called, it's invariably user error. Yoav Shapira Millennium ChemInformatics -Original Message- From: Robert

RE: Tomcat 4.1.24 logs

2003-09-25 Thread Shapira, Yoav
Howdy, Which log files are you talking about? Why are they so verbose? 400MB/day is a lot of logging information. Tomcat rotates the servlet context logs, host logs for your nightly. You can erase the old ones if you don't need them. You can redirect System.out and System.err output to the

Re: Mutual and Basic Authentication switched on for the same web application

2003-09-25 Thread Tim Funk
In that case, security constraints in web.xml should be fine. (Google for more detail) -Tim Rudolf Castelino wrote: Mutual Authentication is where a user needs to have a Client Side certificate to login to a webapplication which is using a Server Side Certificate The Present is more Real

Re: Tomcat 4.1.24 logs

2003-09-25 Thread Tim Funk
Via tomcat no. A simple perl/sh/... script run nightly would work nicely to delete old log files. -Tim Sarika N Inamdar wrote: Hi, With tomcat 4.1.24 , everyday one log file is created. Is there any configuration we can do to cleanup/remove the previous log files ? Out application runs for

RE: The email you authored contained a violation (either a virus or inappropriate content)

2003-09-25 Thread Phillip Qin
Correct one thing. This guy works for Quebecor, a Canadian publishing company, not necessary in Quebec:) -Original Message- From: Joao Medeiros [mailto:[EMAIL PROTECTED] Sent: September 25, 2003 8:40 AM To: Tomcat Users List Subject: FW: The email you authored contained a violation

Tomcat+SSL 404 error

2003-09-25 Thread Duncan Smith
I've just updgraded from tomcat 4.0 to 4.1. In my web.xml I have the following: security-constraint web-resource-collection web-resource-namePennymail Secure/web-resource-name url-pattern/secure/*/url-pattern http-methodGET/http-method http-methodPOST/http-method

channel.apr values

2003-09-25 Thread Steven Garrett
Hi, I'm a bit confused. I want to set the timeout value to 1. I was looking through the documentation and it seems like channel.apr keepalive set to 1 is what I want. And it looks like it should be in the workers2.properties file and the format should be channel.apr:keepalive=1 is the format.

Choosing an appropriate JK2 Handler

2003-09-25 Thread Jeremy Nix
I'm running a configuration with Apache and Tomcat on the same machine. Which handler(s) would I see the biggest performance improvement by using them? I figured it would be the JNI option, but I wanted to get some input. _ Jeremy Nix Senior Application Developer Southwest

URGENT, PLEASE. The old Bug with bean cache?

2003-09-25 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Hi gurus, a little helping hand, please! I have updated my bean and so, i have put this new bean version in right package. However, the problem begins whenever a new bean object is created (instanced) by a servlet and captured by a jsp later. The browser returns me error - 500. Probably, i guess

RE: URGENT, PLEASE. The old Bug with bean cache?

2003-09-25 Thread Shapira, Yoav
Howdy, You should post the logs with the full error and your relevant source code. Yoav Shapira Millennium ChemInformatics -Original Message- From: Jose Euclides da Silva Junior - DATAPREVRJ [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 10:40 AM To: '[EMAIL PROTECTED]'

RES: URGENT, PLEASE. The old Bug with bean cache?

2003-09-25 Thread Jose Euclides da Silva Junior - DATAPREVRJ
HERE IS THE ERROR MESSAGE . Thanks in advance, Euclides. The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 48)

RE: URGENT, PLEASE. The old Bug with bean cache?

2003-09-25 Thread Mike Curwen
Well uhh if (dica == null) // NEW ! System.out.println(valorrr+dica.getteDescricaodica()); You check an object, determine it is null, and then try to call a method (gettDescricaodica()) on that object.. but you just determined it was null!! That's why you get

RES: URGENT, PLEASE. The old Bug with bean cache?

2003-09-25 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Dont worry about that! The condition statement is just a test that i have included in my the original code... The real problem is why the dica object doesnt exist?! Euclides. -Mensagem original- De: Mike Curwen [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 25 de setembro de 2003

RE: URGENT, PLEASE. The old Bug with bean cache?

2003-09-25 Thread Mike Curwen
No WORRY about that. It's incredibly bad coding practice, it is what is throwing the NullPointerException. What you have to do is investigate: dica = (Dica)pega.next(); What is pega? What populates the pega objects with dica objects? Look in *that* code. -Original Message-

performance article completed

2003-09-25 Thread Peter Lin
quick announcement. I've completed the article and emailed it to remy. the related source files are currently on my server. Please be gentle, my bandwidth is limited until remy posts all the files on apache. When remy has time, he will post it :)

URGENT!! Changing URLs with tomcat

2003-09-25 Thread mohan
Hi All I am currently running tomcat4.1.27 and apache1.3.x. I am using struts. I used call my webapplication xyz using www.abc.org/xyz. Now company has decided that pople should be able to access this webapplication through the URL www.abc/javapps/xyz. Do i need to change the whole architecture

How do I config Tomcat to only service requests from localhost?

2003-09-25 Thread Mike Kellstrand
I'm sure the answer is quite simple, but I haven't been able to find it online yet. I've got Tomcat running on a PC, and I want it to only service requests coming from the same PC (i.e. localhost). If a request come in from the LAN, I want to ignore it. I found references to the inet attribute

Re: How do I config Tomcat to only service requests from localhost?

2003-09-25 Thread Yann Cébron
Try Remote Address/Host Filter: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/valve.html Cheers, Yann *** I'm sure the answer is quite simple, but I haven't been able to find it online yet. I've got Tomcat running on a PC, and I want it to only service requests coming from

Connection reset

2003-09-25 Thread Vinay Bhat
Hi everyone, I am running tomcat 4 on Red Hat Linux 8. Although my web application seems to be running ok, when i look at the localhost_log, i find the following stack trace. It seems to happen a few times everyday. Also, a very small number of users get a 'Page not Found' when they try

Re: performance article completed

2003-09-25 Thread Peter Lin
Here is an update to those wondering about the tomcat performance handbook. The chapters remy and I wrote will be subsumed in a new Tomcat book commisioned by Apress. The editor wanted me to let people know. I don't know the details yet. peter lin Peter Lin [EMAIL PROTECTED] wrote:

RE: URGENT!! Changing URLs with tomcat

2003-09-25 Thread Shapira, Yoav
Howdy, In your server.xml, say path=javapps/xyz for your context. Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 12:32 PM To: [EMAIL PROTECTED] Subject: URGENT!! Changing URLs with tomcat

Re: How do I config Tomcat to only service requests from localhost?

2003-09-25 Thread Mike Kellstrand
Cool! That did it. Thanks, Mike - Original Message - From: Yann C?bron [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 25, 2003 12:58 PM Subject: Re: How do I config Tomcat to only service requests from localhost? Try Remote Address/Host Filter:

Desprately need with Directory Listings

2003-09-25 Thread Atreya Basu
Hello, I'm in desperate need of showing a file list. In my httpd.conf file I have the following: Directory /sumdir Options +Indexes ... /Directory However when I go to '/sumdir' I get the HTTP Status 404 - /sumdir Apache Tomcat/4.1.27 My workers2.properties file only has URI mapping for

RE: Accessing GlobalNamingResources

2003-09-25 Thread Miguel Vieira
Thank you for the reply João. I've tried the code with no success, all I got was: javax.naming.NameNotFoundException: Name leaders.archive is not bound in this Context ... My server.xml file has the following GlobalNamingResources: Listener

tomcat shutdown.sh doesn't kill tomcat processes

2003-09-25 Thread Patrice Seyed
So the symptom is /usr/local/tomcat/bin/shutdown.sh does not stop tomcat. By the way tomcat is running jk2 connector on port 8080 to apache on port 80 Even after i stop tomcat, I will see in netstat -nap | grep 8080 that the socket is still open, and ps -elf | grep tomcat that the process for

RE: tomcat shutdown.sh doesn't kill tomcat processes

2003-09-25 Thread Shapira, Yoav
Howdy, Hey, you're virtually next door to me ;) Anyways, you most likely have non-daemon threads in your app. Tomcat can't shut those down for you (see javadoc in java.lang.Thread as well as many discussions on this list in the past). That's why the process is still alive, shutdown isn't

Re: How do I config EMBEDDED Tomcat to only service requests from localhost?

2003-09-25 Thread Mike Kellstrand
OK, adding a Valve to server.xml worked great for a standalone Tomcat. Now Part II, how do I do this with an embedded Tomcat? I get the impression that embedded doesn't use a server.xml file. Is there a way to make it read a partial one with the element I need, or another way to set up this

[OT] RE: How do I config EMBEDDED Tomcat to only service requests from localhost?

2003-09-25 Thread Robert Priest
So is there really any difference between the intentions of a Valve and the intentions of a Filter? http://java.sun.com/products/servlet/Filters.html I was just curious. They seem to solve the same sort of issues, right? -Original Message- From: Mike Kellstrand [mailto:[EMAIL

RE: [OT] RE: How do I config EMBEDDED Tomcat to only service requests from localhost?

2003-09-25 Thread Shapira, Yoav
Howdy, The thought behind them is similar, yes. Valves predate servlet filters. Nowadays one should almost always use a servlet filter for it's portable and container-independent. Yoav Shapira Millennium ChemInformatics -Original Message- From: Robert Priest [mailto:[EMAIL PROTECTED]

RE: How do I config EMBEDDED Tomcat to only service requests from localhost?

2003-09-25 Thread Shapira, Yoav
Howdy, You can just create one programmatically and use Pipeline#addValve(...) to add it to your chosen container. Yoav Shapira Millennium ChemInformatics -Original Message- From: Mike Kellstrand [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 2:34 PM To: Tomcat Users List

RE: [OT] RE: How do I config EMBEDDED Tomcat to only service requ ests from localhost?

2003-09-25 Thread Robert Priest
Ahhh. I see that you even include an example of the RequestDumperValve as a filter in the tree. cool. for those interested, this is the statement in the build of the j-t-4.0 tree: !-- The request dumper valve dumps useful debugging information about the request headers and cookies

RE: Accessing GlobalNamingResources

2003-09-25 Thread King,Daniel
My own experience and what I have read on this and another user list, is that the kinks with accessing a datasource in the GlobalNamingResources element have only just been worked out with version 5. Now you can access the global datasource with just a resource link in your web app Context.

JRun - maybe off topic

2003-09-25 Thread Steve Harris
Hi all, I'm trying to get to grips with the architecture for an application we are going to be deploying. I have no problem with the apache/tomcat set-up but this app uses apache and JRun. Am I reading this wrong or does JRun simply take the place of tomcat but runs the apps locally as opposed

Re: JRun - maybe off topic

2003-09-25 Thread Dov Rosenberg
We moved our stuff to Jrun after fighting with the JK nonsense trying to integrate with Apache. Jrun replaces Apache Tomcat. On 9/25/03 3:06 PM, Steve Harris [EMAIL PROTECTED] wrote: Hi all, I'm trying to get to grips with the architecture for an application we are going to be deploying. I

RE: JRun - maybe off topic

2003-09-25 Thread Shapira, Yoav
Howdy, JRun is a complete J2EE server. It can replace just your tomcat piece or whole apache-tomcat setup. If you really need Apache, it probably because your traffic is high enough that tomcat standalone can't handle it. In that case, you'll still need Apache in front o JRun. Yoav Shapira

RE: URGENT!! Changing URLs with tomcat

2003-09-25 Thread mohan
Cool, it works thanx a lot Shapira Howdy, In your server.xml, say path=javapps/xyz for your context. Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 12:32 PM To: [EMAIL PROTECTED]

Re: URGENT!! Changing URLs with tomcat

2003-09-25 Thread mohan
What u said really works Shapira. Thanx a lot again. Thats the easiest way, add a context in the Context tag --mohan Hi All I am currently running tomcat4.1.27 and apache1.3.x. I am using struts. I used call my webapplication xyz using www.abc.org/xyz. Now company has decided that pople

RE: Accessing GlobalNamingResources

2003-09-25 Thread Joao Medeiros
Miguel, I assume you have defined a context under your host definition. Resources can de defined under each context to make it local to that very same application and that's what I would do if I wanted for instance to define a parameter and assign a value to so I can retrieve later on in my

RE: URGENT!! Changing URLs with tomcat

2003-09-25 Thread Shapira, Yoav
Howdy, No problem, glad to help ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 3:48 PM To: [EMAIL PROTECTED] Subject: Re: URGENT!! Changing URLs with tomcat What u said really works

How much memory does Tomcat really use?

2003-09-25 Thread Frank T. Murphy
Does anyone have a handle on how much memory is used by java in running tomcat? I set the ms and mx values but it always seems that the process overall takes up much more memory. I asume it's overhead with the JVM talking to the operating system. I'm trying to get a handle on how to size various

RE: tomcat shutdown.sh doesn't kill tomcat processes

2003-09-25 Thread Patrice Seyed
I've thumbed through the archives, can anyone give me larger hint? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 1:44 PM To: Tomcat Users List Subject: RE: tomcat shutdown.sh doesn't kill tomcat processes Howdy, Hey, you're

jk2, Tomcat4, Apache1.3

2003-09-25 Thread Blake Crosby
For some reason jk2 is trying to talk to Tomcat on port 8009, even though I don¹t specify that port in wokers2.properties file: [uriMap:] info=Maps the requests. Options: debug debug=10 [config:] file=${serverRoot}/conf/workers2.properties debug=10 debugEnv=10 # SHM Stuff [shm] info=Scoreboard.

Re: How much memory does Tomcat really use?

2003-09-25 Thread Mikael Aronsson
A basic out of the box Tomcat 5.0.12 is pretty happy with around 30MB on a windows machine, but it's always tricky to say how much memory it will use as it depends on lots of other things, how you configure it and the kind of applications you run on it, but 40-50MB could be an ok guess on

RE: Stop Tomcat Remotely

2003-09-25 Thread Allen Hadden
You can still remotely stop the Windows service, regardless of the fact that Tomcat only listens on localhost:8005. The two mechanisms are completely different. You can stop any Windows service using the mechanism I described. Allen -Original Message- From: Filip Hanik

getRemoteUser() and Basic Auth

2003-09-25 Thread Robert Priest
Hello, Can anyone tell me why my getRemoteUser() call is coming back null when I turn Basic Authentication on in IIS? I know that IIS\the isapi redirector2 is sending the information, but it seems as though the RemoteUser() property of the Request is not being set. Is there something I need

RE: JRun - maybe off topic

2003-09-25 Thread Steve Harris
So can jrun be split off and run on a sperate box from apache like I can with tomcat ? Cheers - Steve On Thu, 25 Sep 2003, Shapira, Yoav wrote: Howdy, JRun is a complete J2EE server. It can replace just your tomcat piece or whole apache-tomcat setup. If you really need Apache, it probably

Configuring server.xml for SSL breaks Tomcat

2003-09-25 Thread Matt Morgan
I'm using 4.1.27 on debian 3.0 with the JDK 1.3 from Blackdown, and the last independent JSSE from Sun, the one intended for jdk1.3. Tomcat runs as user tomcat4, whose home dir is /usr/share/tomcat4 and whose login shell is /bin/false. Tomcat runs fine when I don't try to get SSL working.

RE: getRemoteUser() and Basic Auth

2003-09-25 Thread Robert Priest
Nevermind. I found the answer. Don't worry, I am slapping myself on the hand for not checking the archive first :) http://marc.theaimsgroup.com/?l=tomcat-userm=106070071117870w=2 -Original Message- From: Robert Priest [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 4:46 PM

Tomcat5, SSL, IBM JDK 1.4 and Linux

2003-09-25 Thread Halstead, Chris
OK, I'm tearing my hair out here ;-) What's the secret to making SSL work in Tomcat 5.0.12 when running on Linux with IBM JDK 1.4? I have followed the steps to the letter (thrice) and have nothing to show for it yet. I found that you need to set algorithm to IbmX509 in the connector def,

RE: Configuring server.xml for SSL breaks Tomcat

2003-09-25 Thread King,Daniel
I don't know what your time span has been for working with this, but I ran into a problem using WebLogic where my key had expired. My self-signed certificate had not expired, but the key had. I used the OpenSSL software. When I recreated the key with arguments to make it expire in a year,

Re: tomcat shutdown.sh doesn't kill tomcat processes

2003-09-25 Thread Tim Funk
kill -3 tomcatprocessid to force a thread dump after you try to shut tomcat down. From the thread dump look for any thread which is NOT a daemon thread. That is the thing keeping the JVM alive. -Tim Patrice Seyed wrote: I've thumbed through the archives, can anyone give me larger hint?

Re: Configuring server.xml for SSL breaks Tomcat

2003-09-25 Thread Matt Morgan
Thanks. Well, the Tomcat docs don't say anything about what the default expiry is for keys self-generated with keytool, but this is work that I did all today, and in general I was trying to use the keys within seconds of creating them. Any other thoughts? Are these keys I'm creating persistent

Tomcat connector for Apache 2.0.47 ... Please Help

2003-09-25 Thread Joe Mihalich
Hi, I've installed Apache version 2.0.47, and tomcat version 4.1.27 on a windows xp box. I've downloaded the mod_jk2-2.0.43.dll connector, and put it in the modules directory Under apache. I configured tomcat to auto

RE: Tomcat connector for Apache 2.0.47 ... Please Help

2003-09-25 Thread Dean Searle
Joe, You place the mod_jk2 file in the correct folder, however you have set up the parameters in your httpd.conf file incorrectly. The parameters you have are for the mod_jk module. For the mod_jk2 module you would need a workers2.properties file and a jk2.shm file. I have documented a full

RE: Tomcat connector for Apache 2.0.47 ... Please Help

2003-09-25 Thread Joe Mihalich
Dean, Thanks for your reply. I need to figure out how to Do this asap. Can you email me your document to [EMAIL PROTECTED] ? Where did you read/find out about this workers2.properties and jk2.shm File? How did this change so much from the existing documentation? Thanks, Joe

RE: Configuring server.xml for SSL breaks Tomcat

2003-09-25 Thread King,Daniel
You are just talking about the key, but what is actually needed to use SSL (if Tomcat is like WebLogic) is a self-signed certificate, and there are several steps that you have to go through to create that correctly, even before the challenge of configuring Tomcat to use it. The example below

Re: JRun - maybe off topic

2003-09-25 Thread Kok Wei, Koh
Hi Steve, Yes you can. Say you have machine A and B, with A running Apache (w/ mod_jrun) and B with JRun. You have to first configure JRun to disable the JRun web server (in this case you dont want to use it because it's always better to have Apache in front shielding JRun), and then

Re: Tomcat connector for Apache 2.0.47 ... Please Help

2003-09-25 Thread Zepiroth Hong
Dear Dean, If it is possible, I would like to get one of your copy of the full installation documentation. I have the same problem with Joe. Thanks in advance. Best regards. Hong. - Original Message - From: Dean Searle [EMAIL PROTECTED] To: Tomcat Users List [EMAIL

Re: Tomcat5, SSL, IBM JDK 1.4 and Linux

2003-09-25 Thread Bill Barker
It seems that IBM's JSSE implementation has some limitations using the TLS protocol. However, Tomcat seems to work fine if you change the sslProtocol=SSL. Halstead, Chris [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] OK, I'm tearing my hair out here ;-) What's the secret to making

Re: curiosity kills tomcat

2003-09-25 Thread Bill Barker
Actually, there is no need to contact the expert-group, since the order doesn't matter in Servlet-2.4: spec-quote version=Servlet-2.4 section=13.2 The sub elements under web-app can be in an arbitrary order in this version of the specification. /spec-quote Shapira, Yoav [EMAIL PROTECTED] wrote in

Re: Choosing an appropriate JK2 Handler

2003-09-25 Thread Bill Barker
JNI is reported to be very good (I haven't tried it myself). However, I'd avoid it if you are using the pre-fork MPM (which includes all Apache 1.3.x versions on *nix system). If you are using a *nix box, then the unix-socket may help a bit, but I'd guess that the improvement over the

[ANNOUNCEMENT]: Tomcat Service Manager for Windows 1.0.0

2003-09-25 Thread Oxley, David
http://www.daveoxley.co.uk/tcsm tcsm is a Service Manager for Tomcat that looks and works in a similar way to the MS SQL Server Service Manager. Enjoy. Dave. [EMAIL PROTECTED] This e-mail has been scanned for all viruses