Re: Question regarding appBase/docBase and default context.

2006-10-25 Thread Rizalino
Please disregard this post, it looks like Charles has answered my questions from a previous thread... which I found on nabble instead. Thanks again Charles, and for all of you guys who helped in solving my case. Rizalino Rizalino DeVilleres wrote: > > Guys, > > > > We would like both ap

Re: Tomcat Cluster problem. skipping state transfer. No members active in cluster group

2006-10-25 Thread Peter Rossbach
I think you have a network routing problem. Read the cluster help: http://tomcat.apache.org/faq/cluster.html Regards Peter Am 25.10.2006 um 06:20 schrieb hotszkin: I am trying to setup a tomcat cluster as told in the tomcat cluster document. There are 3 PCs in my environment. All of them

Re: Question with the Apache/Tomcat interface...

2006-10-25 Thread Rainer Jung
What is your platform and what is errno 13 on your platform? Can you confirm, that tomcat listens on the port your worker p2 is configured for (using netstat -n or a similar tool)? Can you connect to the ip and port specified with p2 from your apache machine with telnet? Regards, Rainer K

Re: are JSPs using Java5.0 syntax supported completely?

2006-10-25 Thread Martin Gainty
Dies- I did not see those inconsistencies from the release notes described at http://tomcat.apache.org/tomcat-5.5-doc/changelog.html Could you be more specific on where you see lack of support for JDK 1.5.? (The page you mentioned details configuration for JSP compile for either JDK 1.4 or 1.5) Ma

Re: are JSPs using Java5.0 syntax supported completely?

2006-10-25 Thread Dies Koper
Hello Filip, all, Thank you for your reply. But my question is not where I can set a particular feature, but whether it will work completely when I do. According to the documentation it won't, but I'd just like to have confirmation that the development of Tomcat has surpassed that piece of the man

can not deploy application .war in Tomcat

2006-10-25 Thread Shuwen
Hi, Our own application uses Tomcat as web server. When tomcat is started, it should unzip and deploy application .war files. However, we got error: <<< Caused by: java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method)

Re: Logging Configuration - 5.5.20

2006-10-25 Thread Ben Geyer
According to http://tomcat.apache.org/tomcat-5.5-doc/logging.html, "A handler's log level threshold can be set using SEVERE, CONFIG, INFO, WARN, FINE, FINEST or ALL. The logging.properties shipped with JDK is set to INFO." For kicks, I did try setting everything to DEBUG which didn't hav any e

Isapi_redirect and HTTP Keep-Alive

2006-10-25 Thread Brandon Knitter
It appears that the HTTP Keep-Alive setting is not being respected for connections to IIS which are proxied to Tomcat. Every connection results in the server not staying alive. I have checked all of my IIS settings and confirmed that on static objects IIS does keep the connection open. This is *

RE: HSE_REQ_SEND_RESPONSE_HEADER failed

2006-10-25 Thread Brandon Knitter
Turns out the Jetty (mortbay) configuration has a MaxTimeIdleMs setting. This sets the SO_TIMEOUT for the connection socket. The Jetty server was disconnecting from the client, leaving an unclean shutdown of the socket. I found that the connection would sit in a FIN_WAIT2 state for a long time.

RE: Running single webapp across multiple hosts

2006-10-25 Thread Caldarale, Charles R
> From: Jeremy Nix [mailto:[EMAIL PROTECTED] > Subject: Re: Running single webapp across multiple hosts > > Only question is can I have 2 different connectors > (which validate against their own individual certs) > run off a single host with multiple aliases? I think so, but I've never tried it

Re: Running single webapp across multiple hosts

2006-10-25 Thread Jeremy Nix
Simple concept that I didn't think about. Only question is can I have 2 different connectors (which validate against their own individual certs) run off a single host with multiple aliases? __ Jeremy Nix Senior Application Developer Southwest Financial Services, Ltd.

Re: Running single webapp across multiple hosts

2006-10-25 Thread Martin Gainty
Jeremy- From tomcat Context descriptors allow defining all aspects and configuration parameters of a Context, such as naming resources and session manager configuration. It should be noted that the docBase specified in the Context element can refer to either the .WAR or the directory so if y

RE: Running single webapp across multiple hosts

2006-10-25 Thread Caldarale, Charles R
> From: Jeremy Nix [mailto:[EMAIL PROTECTED] > Subject: Running single webapp across multiple hosts > > What I would like is to simplify this so that a single instance > of my webapp is running, but both connectors/hosts are using it. I don't think that's possible unless you employ a filter/valv

Running single webapp across multiple hosts

2006-10-25 Thread Jeremy Nix
I have a webapps that are utilized on 2 different domains. Currently, I'm managing it by deploying separate versions (2 context files pointing to 2 separate installs of the webapp. What I would like is to simplify this so that a single instance of my webapp is running, but both connectors/hos

Re: Logging Configuration - 5.5.20

2006-10-25 Thread David Smith
Is FINE even a log level? I would try DEBUG or TRACE. Also, Catalina.out is std out. --David Ben Geyer wrote: I'm trying to move an existing app I had running in Websphere 6 over to Tomcat 5.5.20. My development platform is WinXP. As part of this migration, I'm relying on the log files to

test

2006-10-25 Thread Shuwen
Please ignore. - Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.

Logging Configuration - 5.5.20

2006-10-25 Thread Ben Geyer
I'm trying to move an existing app I had running in Websphere 6 over to Tomcat 5.5.20. My development platform is WinXP. As part of this migration, I'm relying on the log files to help me determine what's happening. I haven't modified the logging stuff whatsoever. This is what I get in catalin

RE: How to use catalina classloader

2006-10-25 Thread Caldarale, Charles R
> From: Ravi116 [mailto:[EMAIL PROTECTED] > Subject: RE: How to use catalina classloader > > Wondering if the code loads with Catalina > classloader based on package structure ? Looks to me like either that or the privileged flag should work. Here's the relevant code snippets from StandardWrapp

RE: How to use catalina classloader

2006-10-25 Thread Ravi116
Charles, Sorry abt the typo. I have tried the privileged="true" in application context xml file. dosent work. Wondering if the code loads with Catalina classloader based on package structure ? Ravi -- View this message in context: http://www.nabble.com/How-to-use-catalina-classloader-tf2504023

Re: AW: Tomcat special character missin in request parameter

2006-10-25 Thread Martin Gainty
the parser interprets these characters as directives when you want to use them as display characters I ran into the same scenario a few years back where I embedded the Ampersand character to escape e.g. Ampersand is & If there are alot of characters to escape you may want to use CDATA directive

Re: problem with truststoreFile in server.xml

2006-10-25 Thread Víctor Torres - UPF
Hi Martin, all, This is what I use: The keystore.p12 I sent in my previous mail was just an example with empty password of how to insert 2 certificates. Form my experience, Tomcat does not accept PKCS12 with empty password as keystore nor as truststore. The real PKCS12 truststoreFile I us

RE: How to use catalina classloader

2006-10-25 Thread Caldarale, Charles R
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > Subject: RE: How to use catalina classloader > > Have you tried setting the privileged attribute of your > element to true? Should have noted that whatever build mechanism you use will still have to put catalina.jar on the javac classpath

RE: How to use catalina classloader

2006-10-25 Thread Caldarale, Charles R
> From: Ravi116 [mailto:[EMAIL PROTECTED] > Subject: RE: How to use catalina classloader > > > The manager servlet implements CatalinaServlet (so gets > initialized with setWrapper method). It's ContainerServlet, not CatalinaServlet. A higher degreee of accuracy in your mailings will get you

RE: How to use catalina classloader

2006-10-25 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:[EMAIL PROTECTED] > Subject: Re: How to use catalina classloader > > thats because the manager webapp accesses classes from > $TOMCAT_HOME/server/webapps/manager/WEB-INF/lib/catalina-manager.jar > if you place the classes in > $TOMCAT_HOME/server/webapps/manager/WE

Re: How to use catalina classloader

2006-10-25 Thread Martin Gainty
thats because the manager webapp accesses classes from $TOMCAT_HOME/server/webapps/manager/WEB-INF/lib/catalina-manager.jar if you place the classes in $TOMCAT_HOME/server/webapps/manager/WEB-INF/classes the manager webapp will be able to access those classes M- This e-mail communication and any

RE: Tomcat And IIS: Mapping different Host headers to the same Webapplication Instance

2006-10-25 Thread Claudio Greuter
Yes this was what I noticed, I was not aware that createing a new tomcat context means that the webapp is deployed again. However I think it has to be possible to link any URL from IIS to an URl on tomcat. I am looking forward to any input :-) Cheers Claudio **

RE: Uniquely identifying an servlet runner instance...

2006-10-25 Thread Caldarale, Charles R
> From: Pid [mailto:[EMAIL PROTECTED] > Subject: Re: Uniquely identifying an servlet runner instance... > > you could also use a properties fil, containing a unique name for each > app/server There's also the name attributes of the and tags; either of these could be used to identify the contai

Re: Uniquely identifying an servlet runner instance...

2006-10-25 Thread Pid
you could also use a properties fil, containing a unique name for each app/server Peter Björkman wrote: > I need to store in our database (along with other information) which of our > servers that made the save. Is it possibly to dynamically find a property > that identifies it? Or will I have t

Re: Uniquely identifying an servlet runner instance...

2006-10-25 Thread Christopher Schultz
Peter, > I need to store in our database (along with other information) which > of our servers that made the save. Is it possibly to dynamically find > a property that identifies it? Or will I have to have separate > web.xmls with init parameters that I can use? The purpose is to be > able to see

RE: How to use catalina classloader

2006-10-25 Thread Ravi116
The manager servlet implements CatalinaServlet (so gets initialized with setWrapper method). I have written a similar custom servlet, but it seems to be not calling setWrapper since it dosent load using the Catalina classloader. The documentation suggests to be put the classes in server/classes,

Re: AW: Tomcat special character missin in request parameter

2006-10-25 Thread Christopher Schultz
Christian, > My Problem is, that the encoding is done by JavaScript at the Cilent > and therefore with the clients charset, in Germany normally > ISO-8859-1. Hmmm... > With most for the other special characters this works fine, but some > won't work especially the ANSI (ALT) 0150. > > What I ha

Re: problem with truststoreFile in server.xml

2006-10-25 Thread Martin Gainty
Hello Victor- since we're talking about Tomcat and we want to keep this thread on topic how would you integrate your trustStoreFile to the connector definition in server.xml? Saludos, M This e-mail communication and any attachments may contain confidential and privileged information for the us

Uniquely identifying an servlet runner instance...

2006-10-25 Thread Peter Björkman
I need to store in our database (along with other information) which of our servers that made the save. Is it possibly to dynamically find a property that identifies it? Or will I have to have separate web.xmls with init parameters that I can use? The purpose is to be able to see (in the databa

AW: Tomcat special character missin in request parameter

2006-10-25 Thread Christian Schwarzenberger
Hi Chris, thanks for your Answer. My Problem is, that the encoding is done by JavaScript at the Cilent and therefore with the clients charset, in Germany normally ISO-8859-1. With most for the other special characters this works fine, but some won't work especially the ANSI (ALT) 0150. What

Re: problem after mod_jk update

2006-10-25 Thread Torsten R.
hi rainer, perfect! with +flushpakets everything works well, even with 1.2.19. i didn't thought it would be that easy ;-) thanks a lot! torsten Rainer Jung schrieb: Hi Torsten, you could try the FlushPakets JkOption from http://tomcat.apache.org/connectors-doc/config/apache.html Please le

RE: How to use catalina classloader

2006-10-25 Thread Caldarale, Charles R
> From: Ravi116 [mailto:[EMAIL PROTECTED] > Subject: RE: How to use catalina classloader > > I am referencing the Tomcat manager used to deploy/undeploy > web application (/admin/html). There is no /admin/html servlet, so I assume you mean /manager/html. Since this webapp does not appear to nee

Re: Tomcat special character missin in request parameter

2006-10-25 Thread Christopher Schultz
Christian, > For example with: > > http://localhost/myapp/index.jsp?test=test&test2=%u2013test2&test3=test3 > > I get only test and test3, test2 is missing completely. You have encoded your character improperly. URLs must be encoded using the UTF-8 charset, and then run through HttpServletResp

Re: Question with the Apache/Tomcat interface...

2006-10-25 Thread Christopher Schultz
Kim, > It's been working just fine, no problems. But our ISP had a power outage, > that forced a reboot on the servers. And now, one of the servers > Apache/Tomcat link appears to not work, so that server is still offline. > Again, we had no config changes, only a reboot forced on the server. >

RE: How to use catalina classloader

2006-10-25 Thread Ravi116
I am referencing the Tomcat manager used to deploy/undeploy web application (/admin/html). Ravi Caldarale, Charles R wrote: > >> From: Ravi116 [mailto:[EMAIL PROTECTED] >> Subject: RE: How to use catalina classloader >> >> Writing a custom tomcat manager to add "roll-back" features. > > As

Re: xampp-->tomcat, java performance

2006-10-25 Thread boonting
Just want to share my solution, I have format my machine,and re-install the xampp. According my research, you can check on the sun jdk first, before you are formating the machine. My xampp version is 1.5.4a Just want to share my solution. My application keep out of memory, especially when i tryi

RE: HTTPS Connector not working

2006-10-25 Thread Caldarale, Charles R
> From: Erik Nijkamp [mailto:[EMAIL PROTECTED] > Subject: HTTPS Connector not working > > sslProtocol="TSL" The above could be a problem... unless it's a transcription error. > No luck so far. Do you have APR (tcnative-1.dll) installed? If so, its SSL configuration is completely different th

Re: Tomcat And IIS: Mapping different Host headers to the same Webapplication Instance

2006-10-25 Thread David Smith
Sounds to me like you are trying to deploy the same context multiple times -- Magnolia is not designed out of the box to operate like that. Specifically, the repository state files would be a mess if there were multiple JCR repository instances pointing to the same state files. You might be a

HTTPS Connector not working

2006-10-25 Thread Erik Nijkamp
Hello folks, I'm trying to secure my web application using the https connector. As you may have guessed this was unsuccessful. The environment: - Windows 2000 Advanced Server - Tomcat 5.5 - JRE 1.5 - Zonealarm 6 / Integrity Flex - NO Apache or IIS The config: - server.xml                    

Tomcat And IIS: Mapping different Host headers to the same Webapplication Instance

2006-10-25 Thread Claudio Greuter
Hi List We are using a CMS (Magnolia) running on Tomcat to publish content for several webs. The CMS is one single Web application which locks some database files upon loading. This means I cannot load the same web application in different contexts or hosts, because the CMS throws errors because

Re: Server certificate configuration for multiple IP addresses and domain names

2006-10-25 Thread Pid
If you're talking about SSL, then this is the common misunderstanding about about how the SSL layer works. SSL is negotiated before HTTP - where the HOST header resides - so the server has no way of knowing during the SSL connection phase which host to talk to, so selects the default certificate.

Re: problem with truststoreFile in server.xml

2006-10-25 Thread Víctor Torres - UPF
Have a look at the attached keystore. It contains 2 certificates. In the txt file you can find the contents. Each cert is identified by a localKeyID, which is different. This store does not contain private keys. I say that truststoreFile should not contain private keys. Imagine that you want t

Server certificate configuration for multiple IP addresses and domain names

2006-10-25 Thread Rodrigo Ruiz
Hi all, I have been trying to configure certificates for a server that has several IP addresses, and several domain names, but I think I have reached a limitation on Tomcat security features (or maybe a Java one, I don't know). I think the problem can be experienced even with a server with a sing

Throttling Tomcat

2006-10-25 Thread Testanv�ndare at Pitch
Hi, I've been looking on the Internet and in Tomcat documentation about how to handle throttling for Tomcat 5.x. I know that it is possible to limit the number of connection threads. That could be seen as one way of throttling, but what about limiting bandwidth and number of requests per sec

Tomcat special character missin in request parameter

2006-10-25 Thread Christian Schwarzenberger
Hello *, i have a problem with a special character: I have a form and want to send the "-" whitch is in HTML "–" (ANSI 0150). Because I have some Problems with the german special character (äüö) i have to convert the input String: var value = escape(text); the character is encoded to "%u2013"