Re: AW: certificate question for 2 domains pointing to same website

2005-02-04 Thread Stephen Charles Huey
Wait a second...Tomcat will determine which cert to send down based upon the IP address that the browser went to? I guess that makes sense...so does the web server never get to see what domain the browser was looking up to come to the site, or is that info available? I'm just trying to figure o

Re: apache + tomcat with 2 domains but same session?

2005-02-04 Thread Simon Lau
Just want you guys to know that I have found a solution for my problem. I have to change the source code in tomcat to get this to work. Here is what I've done: In source org.apache.coyote.tomcat5.CoyoteRequest line 2313 (btw, I am using tomcat5.0.28 source) I added cookie.setDomain(".ab

AW: certificate question for 2 domains pointing to same website

2005-02-04 Thread Steffen Heil
Hi > If we do this and get that new certificate into the keystore > used by our Tomcat 4, will everything be fine, or will Tomcat > present 2 certificates to users accessing the site? I mean, > will it correctly present the certificate for the old domain > to the user when they go to the old

Re: Updating running WARs?

2005-02-04 Thread Jonathan Wilson
Someone else will be able to attest to this better than I, but there is a known issue with the classloader [I think] that doesn't release memory on a undeploy..eventually you'll run out of memory after a certain number of deploy/undeploys. You could try using the jvm's -Xmx modifier in your sta

Re: Updating running WARs?

2005-02-04 Thread Wendy Smoak
From: "David Wood" <[EMAIL PROTECTED]> > are we forced to remove the context via the manager and then re-add a new > context back in? (Or restart Tomcat?) This is how I've always done it-- remove and install. (For added fun... I removed and installed a webapp repeatedly yesterday, and after abou

Re: Updating running WARs?

2005-02-04 Thread Dennis Payne
Besides 'Hot Patching' (placing an updated class or jsp on the application runtime) I have not found a way to do what you are trying to find. >>> [EMAIL PROTECTED] 02-04-2005 14:15 >>> What's the "right way" to update a running WAR in Tomcat 5.5? Is there anything resembling the manager's "reloa

Tomcat/JMX Agent/Log4J Question

2005-02-04 Thread Kalyan Inuganti
All, Let us say that I have an agent running on localhost:9092. I have my Java Serverside App running on Tomcat (4.x) - localhost:8080. I am using Log4J for logging in my App. I would like to know how my MBean implementation class associated with the Agent, can access the Level property (logger.ge

Re: pluggable protocols in web apps

2005-02-04 Thread Mark Thomas
No useful info at the moment but this looks a lot like bug 10982 (http://issues.apache.org/bugzilla/show_bug.cgi?id=10982) that I am just starting to look at. Keep an eye on this bug report. If I make any progress I will update it. Mark Martin Goldhahn wrote: We use pluggable protocols to acces

Re: Realm + PDF + Internet Explorer

2005-02-04 Thread Viktor Malytskyy
Hi! You should try response.setHeader("Cache-Control","public"); Regards, Viktor On Fri, 4 Feb 2005 07:56:20 -0700, Milazzo, Michael A HQISEC <[EMAIL PROTECTED]> wrote: > I tried both application/pdf and application/octet-stream. > > I ensured the checkbox mentioned in this thread was unche

Tomcat 5.x - Is AIX 5.2 a supported O.S.? Unable to compile jsvc-src

2005-02-04 Thread Ken_Cottrell
Subject:Tomcat 5.x - Is AIX 5.2 a supported O.S.? Unable to compile jsvc-src I can't find documentation regarding supported Operating Systems or levels for Tomcat 5.x or 5.5.7. The error returned from .configure to indicates AIX 5.2.0 is not a supported operating system. When looking at .conf

Tomcat 5.x - Is AIX 5.2 a supported O.S.? Unable to compile jsvc-src

2005-02-04 Thread Ken_Cottrell
I can't find documentation regarding supported Operating Systems or levels for Tomcat 5.x or 5.5.7. The error returned from .configure to indicates AIX 5.2.0 is not a supported operating system. When looking at .configure, I don't see any support for AIX. Is this correct or am I missing somethi

Updating running WARs?

2005-02-04 Thread David Wood
What's the "right way" to update a running WAR in Tomcat 5.5? Is there anything resembling the manager's "reload" feature for WARs? Or are we forced to remove the context via the manager and then re-add a new context back in? (Or restart Tomcat?) I've been searching through documentation for t

mod_jk, apache, ssl

2005-02-04 Thread Ethan Sutin
Quick question regarding mod_jk and ssl. Situation: apache 1.3 running mod_ssl mod_jk 1.2.8 multiple tomcat workers Question: If apache is fronting a set of load balanced tomcats, and requests are https, is all ssl decoding done in apache and then requests sent to tomcat via AJP? Do the tomc

Re: virtualhost and deployment applications

2005-02-04 Thread Carlos Gabriel Arce
But when I deploy a local .war in the administration page www.domain1.com/manager/html this war gets replicated in other virtualhosts. Mario Winterer escribió: Of course! That's Tomcat's default behaviour - and in fact, it is difficult to make it behave different! Have a look at server.xml of y

error at Configure Tomcat and Monitor Tomcat

2005-02-04 Thread Suzanne Tang
I installed Tomcat 5.5 on Windows 2000 using automatic installation. Everything works fine except 'Configure Tomcat' and 'Monitor Tomcat' programs. When I try to use these programs, an Application system error box always pops up with message like "An instance of 'Tomcat5' application is already run

Re: Application slows down

2005-02-04 Thread Hari Mailvaganam
What is the specs of the server? What memory has been allocated to Tomcat? Are there other apps running on the same server that grindas up memory? regards, Hari Mailvaganam On Fri, 4 Feb 2005 12:11:59 -0600, Kiran Patel <[EMAIL PROTECTED]> wrote: > > I have a software application, which uses

certificate question for 2 domains pointing to same website

2005-02-04 Thread Stephen Charles Huey
Right now, we have one domain that goes to our web application, and we want to another new domain to point to the same web app (it already does). Naturally, if you access the site via the new domain, it tells the browser that the certificate issued by the site doesn't match the name of the site, s

jsp include no flush

2005-02-04 Thread A B
This is a re-post ... I sincerely apologize, but I'm hoping the new title is more appealing and someone will be kind enough to spare a minute. Any jasper gurus on this list? Though I'll take answers from non-gurus too at this point ... I'm flailing here ;-) -- I'm using Tomcat 5.0.28 and Window

Application slows down

2005-02-04 Thread Kiran Patel
I have a software application, which uses Tomcat 4.1. It is database oriented application and it uses Access database. There are about fifteen users using the same application and entering data to the database. Tomcat is installed in one computer and all the users are connected to that computer

authentication sporadically fails?

2005-02-04 Thread Andy Kriger
I have Tomcat 5.5.4 configured with basic authentication through a JNDI named JDBC connection pool. The Resource and Realm are specified in META-INF/context.xml. The resource-ref and security-constraint are specified in WEB-INF/web.xml (releveant parts included at the end of this message). There a

Re: Preferred Platform for Tomcat5

2005-02-04 Thread Hari Mailvaganam
Solaris 9 JVM 1.4.2_06 Tomcat 5.0.28 Any *NIX variant should be within an expected tolerance bandwidth - as long as a stable Tomcat and JVM version is used. On Thu, 3 Feb 2005 09:11:26 -0600, Todd Reed <[EMAIL PROTECTED]> wrote: > Excluding Windows, is there a particular platform that works bet

Re: tomcat hangs

2005-02-04 Thread Hari Mailvaganam
Have you analyze the memory usage on the box? On Fri, 04 Feb 2005 14:35:37 +0530, Dhana Sekar Sugunan <[EMAIL PROTECTED]> wrote: > Hi, > > I am not sure i am posting this in the correct area. Please bear and advice. > > My application needs to run a thread contiuously for every 1 hr. I have ma

HTTP Statur 500 -

2005-02-04 Thread Andrew Paliga
Hi everyone, I have an issue that i can not resolve and i would be very greatful if anyone has and suggestions of how to even approach fixing this issue. I am running jdk 1.3.1_15 and jre 1.31_15 as well I am trying to run a web client application that some of my colleagues have made. It is li

Re: java.awt.headless=true in tomcat startup

2005-02-04 Thread Jens Joachim
Hi Rodrigo! By defining the environment variable CATALINA_OPTS="-server -Djava.awt.headless=true" you can tell any command line parameter you want to the JVM used by tomcat. I suggest it is a good idea to use the "-server" parameter, too. This selects the server VM. Jens Joachim Syscon GmbH E-Ma

Re: virtualhost and deployment applications

2005-02-04 Thread Hari Mailvaganam
The VirtualHost binding can be conducted via Apache HTTP Server and use mod_proxy to the appropriate URI running in the Tomcat. On Fri, 04 Feb 2005 07:41:24 -0500, Carlos Gabriel Arce <[EMAIL PROTECTED]> wrote: > Good Day > > I have a question. Is possible deploy an application per virtualhost

Re: java.awt.headless=true in tomcat startup

2005-02-04 Thread Larry Meadors
no no no - it should go in setenv.sh - that is what it is for - that way you do not have to tweak the existing files. On Fri, 04 Feb 2005 12:04:36 -0500, Charles N. Harvey III <[EMAIL PROTECTED]> wrote: > You set this somewhere in either the /bin/catalina.sh > or /bin/startup.sh. > > If you don'

Re: java.awt.headless=true in tomcat startup

2005-02-04 Thread Charles N. Harvey III
You set this somewhere in either the /bin/catalina.sh or /bin/startup.sh. If you don't want to do any of that, have an InitServlet that does System.setProperty( "java.awt.headless", true ); That will do the same thing. Charlie Rodrigo Avila said the following on 2/4/2005 11:57 AM: Hi! I try to use

Re: java.awt.headless=true in tomcat startup

2005-02-04 Thread Filip Hanik - Dev
put it in the /bin/catalina.sh script Filip - Original Message - From: "Rodrigo Avila" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, February 04, 2005 10:57 AM Subject: java.awt.headless=true in tomcat startup Hi! I try to use some awt\swing classes to convert rtf strings

java.awt.headless=true in tomcat startup

2005-02-04 Thread Rodrigo Avila
Hi! I try to use some awt\swing classes to convert rtf strings to html in an jsp page. But I receive the following Exception: "Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable." But, to resolve this problem, I find the following tip: "assuming you're using a 1

mod_jk dynamic update of workers.properties

2005-02-04 Thread Olve Hansen
Haven't found docs about this anywher (i might be short sighted though). Can mod_jk dynamically update the contents of workers.properties? Or do I have to use mod_jk2 to be able to do that.. Thanks, -- \ Olve S. Hansen \ mailto:[EMAIL PROTECTED] -

Re: Tag libraries and JSPs

2005-02-04 Thread Jack Lauman
David: In JSTL v1.0.x it's: <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%> In JSTL v1.1.x it's: <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> It has never been what you indicated. Jack David Short wrote: I just upgraded from Tomcat 5.0.28 to 5.5.4 and now my taglib de

isUserInRole

2005-02-04 Thread Denny Lee
Joby, Thanks for you reply. I have not tried request.isUserInRole("Denny"). I was under the impression that role has to do with being admin or user. I can get the user name through the request.getRemoteUser() but I am still stuck with the role thing. _

RE: Realm + PDF + Internet Explorer

2005-02-04 Thread Milazzo, Michael A HQISEC
I tried both application/pdf and application/octet-stream. I ensured the checkbox mentioned in this thread was unchecked within IE. I believe you can set the content as often as you wish, but the content type set for the stream will be the value set during the last invokation of setContentType().

Re: Realm + PDF + Internet Explorer

2005-02-04 Thread Parsons Technical Services
Yes. I have not attempted a fix as of yet. Was planning to try the link provided by Wendy as well as a twist on the uri. Mine now calls the servlet name. I was going to amend .pdf to it to see if that would help. I wonder, is it possible to set the response.setContentType() twice? Set it to htm

Re: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory

2005-02-04 Thread Parsons Technical Services
Look at your database. There should be at least the pool size of connections open when there is no activity. Whether or not you specify the factory depends on the factory being used. If it is a standard factory in Tomcat that Tomcat is already aware of, it is not needed. But if you use a set of

RE: Realm + PDF + Internet Explorer

2005-02-04 Thread Milazzo, Michael A HQISEC
I have a similar issue. I am running Tomcat 5.0.x and Apache 1.3.x using the mod_jk connector over SSL (Apache handling all the SSL). I have a servlet that is supposed to open a PDF on the server and send it to a requesting client (using the HttpServletRequest object's output stream). IE 6 tells

pluggable protocols in web apps

2005-02-04 Thread Martin Goldhahn
We use pluggable protocols to access resources. These don't seem to work with the class loading scheme Tomcat is using. Having a class no.mycomp.protocols.myprot.Handler I do the following: 1. prepend "no.mycomp.protocols|" to the system property "java.protocol.handler.pkgs" 2. create a URL with UR

RE: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory

2005-02-04 Thread DAVID TURNER
Hi all, Most of the examples I've come across specify the factory parameter.  And, after rereading the Tomcat docs, those additional three commons jar files are needed. I too, have gotten the datasource to work when I didn't specify the factory parameter, but my impression right now is that it's

virtualhost and deployment applications

2005-02-04 Thread Carlos Gabriel Arce
Good Day I have a question. Is possible deploy an application per virtualhost, where the deployed applications could'nt see them each other? Thanks in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Java.mail smtp authentication

2005-02-04 Thread Chris Chappell
Hi I am using the following config with tc/jndi javamail to connect to an smtp server which needs authentication. If OI put the username/password/port into Outlook Express and check needs authentication it works OK. With TC and my settings I get an auth failure. AM I using the correct properti

Re: Help Required- tomcat doesn't shutdown properly

2005-02-04 Thread Antony Paul
What your application is doing ?. is there any threads watiing ?. You can have a look at localhost_log in the logs directory for any errors. rgds Antony Paul On Fri, 4 Feb 2005 10:08:09 +0100, Narayan, Satya <[EMAIL PROTECTED]> wrote: > Hi , > I am having a weird problem. I have depl

Re: JK 1.2.8 and IIS 6

2005-02-04 Thread Mladen Turk
Antti Granqvist wrote: Hi, I have problems in running this combination on Windows server 2003. I have set up jk 1.2 on w2k/xp and iis 5 several times without problems. But I think now I am out of luck. Service is run in 'IIS 5.0 isolation mode'. I used the installer for jk 1.2.8 and set logleve

Is it possible to deploy an MBean on Tomcat 4.1 ?

2005-02-04 Thread Marchioni Francesco
Hi all tomcat users, I'm in need to deploy an MBean component that does some admin functions for my webapp. Is it possible to deploy the mbean on tomcat 4.1 -and access it from a jsp/servlet- ? or do I need to install other server-side components ? Thanks a lot Francesco

RE: JK 1.2.8 and IIS 6

2005-02-04 Thread Antti Granqvist
Hi, I have problems in running this combination on Windows server 2003. I have set up jk 1.2 on w2k/xp and iis 5 several times without problems. But I think now I am out of luck. Service is run in 'IIS 5.0 isolation mode'. I used the installer for jk 1.2.8 and set loglevel to debug: [Wed Feb 0

Help Required- tomcat doesn't shutdown properly

2005-02-04 Thread Narayan, Satya
Hi , I am having a weird problem. I have deployed a webapp which basically runs a servlet in tomcat5. I can start and stop using the exe file provided. But when I use the command line version ie when I open a command shell and type "catalina.bat start" tomcat starts properly in a new shell.

tomcat hangs

2005-02-04 Thread Dhana Sekar Sugunan
Hi, I am not sure i am posting this in the correct area. Please bear and advice. My application needs to run a thread contiuously for every 1 hr. I have made the coding in servlet as package invservlet; import javax.servlet.*; import javax.servlet.http.*; import java.io.IOException; import java.ut

R: How do you start tomcat in production, with -server or not ?

2005-02-04 Thread Marchioni Francesco
>may I know where u read abaout the problem of "-server" option? I have found this on a thread on this newsgroup and on some others too (www.theserverside.com) at the moment I don't remember which keyword I used to search the topic, I went through this matter while looking for something else...

RE: Error FOP/BATIK ... PDFXMLHandler:253 - svg graphic could not be built"

2005-02-04 Thread Pawson, David
-Original Message- From: Richard Mixon (qwest) Bingo! That was it. I changed it from "file://" to "file:///" and all works now. You earlier mentioned that might be it - but I was so focused on the fact that it worked on Java 1.4.1 that I figured I had it corre