Re: problem with tomcat-native 1.1.10 and tomcat 6.0.14

2008-01-23 Thread Mihai COSTACHE
nobody has any advices about this issue ? regards, Mihai On Wed, 2008-01-23 at 19:53 +0200, Mihai COSTACHE wrote: > > Hi, > > i have a working tomcat 6.0.14 and now i want to use tomcat-native > beacause it use openssl and not java-ssl > > so .. > 1) i installed tomcat-native 1.1.10 > 2) i

Re: problem with mod_jk and tomcat-host downtime on solaris

2008-01-23 Thread Christian Schausberger
Rainer Jung wrote: > I would start adding a prepost_timeout. See: > > http://tomcat.apache.org/connectors-doc/generic_howto/timeouts.html > and > http://tomcat.apache.org/connectors-doc/reference/workers.html > Maybe I misunderstood this directive. connect_timeout only applies after the TCP connect

RE: Tomcat 5.5 server.xml

2008-01-23 Thread Caldarale, Charles R
> From: John Le [mailto:[EMAIL PROTECTED] > Subject: Tomcat 5.5 server.xml > I have my web site files in webapps/mywebsite and lets assume > I can't use webapps/ROOT. Why would we assume that? The straightforward solution is to change the name of your webapp's directory to ROOT and you're done

Tomcat 5.5 server.xml

2008-01-23 Thread John Le
Hi, I have my web site files in webapps/mywebsite and lets assume I can't use webapps/ROOT. I wanted my URL to be localhost:8080 though versus localhost:8080/mywebsite, so I added the tag to the conf/server.xml. It works, I can go to localhost:8080 and get to my site, but localhost:8080/mywebs

Re: Question about Tomcat/IIS and NTLM authentication

2008-01-23 Thread Gabe Wong
eborisow wrote: Gabe Wong wrote: Since the hasRole is being called, can you not do a super.hasRole against the stripped user name of the Principal. If so won't that suffice? Gabe, Yeah, I was thinking that. The hasRole though takes two parameters... a Principal and the role nam

RE: java.lang.NoClassDefFoundError: javax/servlet/jsp/JspApplicationContext

2008-01-23 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: java.lang.NoClassDefFoundError: > javax/servlet/jsp/JspApplicationContext Did you put jsp-api.jar in your webapp's WEB-INF/lib directory? You shouldn't; none of the jars or classes therein that Tomcat supplies in its lib directory m

Re: SSL error when invoking web service

2008-01-23 Thread Bill Barker
"Rizwan Merchant" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Thanks for the response. > The client can be any one who wants to post an XML message to this URL. > So you could create an xml message and post the request using https. > Not sure why the client would need to 'add'

java.lang.NoClassDefFoundError: javax/servlet/jsp/JspApplicationContext

2008-01-23 Thread jluthera
Any feedback would be very appreciated. I am getting an error with respect to the servlet listener, please see the following: Java: 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06 Apache Tomcat 6.0.14 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb) Tomcat console: WARNING:

Remote appBase/docBase for war file

2008-01-23 Thread Pushkal Mishra
Hi All, Is it possible to source a remote WAR file (hosted as a static resource in the htdocs folder of an Apache Web Server) into an Apache Tomcat 6.x server instance? The idea is for the Tomcat to source in the latest WAR file during boot time. http://mydomain2/someapp.war!/"; debug="1

Re: Tomcat Windows Service Installer vs Core zip install xml

2008-01-23 Thread hoffmandirt
Interesting, however I am pointing to the same JDK 1.5 for both. I wanted to switch to the service instead of the bat startup and shutdown scripts. I will give that a try and check it out. I was searching google for "could not compile stylesheet". markt-2 wrote: > > hoffmandirt wrote: >> I am

RE: ConcurrentModificationException on tomcat cluster with SimpleTcpClusterstrategy

2008-01-23 Thread Caldarale, Charles R
> From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] > Subject: Re: ConcurrentModificationException on tomcat > cluster with SimpleTcpClusterstrategy > > given that the session should represent a client state, > and by the time the cluster tries to serialize it, the > request is over. Tha

Re: Question about Tomcat/IIS and NTLM authentication

2008-01-23 Thread eborisow
Gabe Wong wrote: > > > Since the hasRole is being called, can you not do a super.hasRole > against the stripped user name of the Principal. > If so won't that suffice? > > Gabe, Yeah, I was thinking that. The hasRole though takes two parameters... a Principal and the role name. I could

Re: Tomcat Windows Service Installer vs Core zip install xml

2008-01-23 Thread Mark Thomas
hoffmandirt wrote: I am having issues with XSLT files depending on which download option of Tomcat 6.0.14 that I choose. If I download the ZIP file under Core, my XSLT files transform with no problems. However if I download and use the Windows Service Installer instead, I am getting the followi

Re: ConcurrentModificationException on tomcat cluster with SimpleTcpCluster strategy

2008-01-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, Filip Hanik - Dev Lists wrote: | no, its just common sense, given that the session should represent a | client state, | and by the time the cluster tries to serialize it, the request is over. There's no guarantee that the request is complete

Re: load balancing issue

2008-01-23 Thread Len Popp
So it seems that the application is sending a redirect to /myapp/myapp/index.html. You'll have to figure out why that is. (Judging from the URLs you mention it looks like you're using Struts, but I'm not an expert on that.) If you want to see whether the server is sending a redirect response, use

Re: ConcurrentModificationException on tomcat cluster with SimpleTcpCluster strategy

2008-01-23 Thread Filip Hanik - Dev Lists
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, Filip Hanik - Dev Lists wrote: | if you look at the stack trace, there is no error in the clustering | code. something is modifying your session attribute while the cluster is | trying to send it I'm suggesting t

RE: load balancing issue

2008-01-23 Thread Hehl, Thomas
The button will, in the example with questionnaire, point to ../do/workflowMgr?flowName=questionnaire. The good URL would be server/myapp/do/workflowMgr?flowName=questionnaire. That's why I don't understand why it's running to /myapp/myapp/index.html. Neither doubling up the app name or the index.h

Re: Download Dialog inclusing file extention

2008-01-23 Thread Mark Thomas
Kazufumi Arai wrote: Hello, someone gives me information about definishion parameter for download dialog. I have phenomenon that windows download dialog with no file extention when using tomcat 1.4.x. I guess where I can set file extention like ".mol" in any file in conf folder included in tomca

Re: load balancing issue

2008-01-23 Thread Len Popp
The obvious question is, does /myapp/myapp/index.html actually exist on the server? If the button sends you to the wrong URL then of course you get a 404. So the first place to look is the web page with that button on it. There are other things that could cause problems like that, but without deta

Re: SSL error when invoking web service

2008-01-23 Thread Rizwan Merchant
Thanks for the response. The client can be any one who wants to post an XML message to this URL. So you could create an xml message and post the request using https. Not sure why the client would need to 'add' this certificate. We have written code to connect to many such web services and we ne

Re: Need help - Duplicated session ID problem

2008-01-23 Thread Mark Thomas
Yang Cao wrote: Please let me know if you have seen any similar problems before, and if so, what's the root cause and fix? Could be: - Most likely is application error - are you storing request objects anywhere? - Could be a Tomcat bug. Upgrade to 5.5.25. There is at least one issue in the cha

RE: Tomcat 64 bits

2008-01-23 Thread Caldarale, Charles R
> From: Markus Schönhaber [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat 64 bits > > > And about JDK? Is it possible install JDK 32 bits for > > 64 bits platform? > > But why would one want to that (wrt to Tomcat)? Perhaps if part of your webapp includes native libraries that aren't readily

Tomcat Windows Service Installer vs Core zip install xml

2008-01-23 Thread hoffmandirt
I am having issues with XSLT files depending on which download option of Tomcat 6.0.14 that I choose. If I download the ZIP file under Core, my XSLT files transform with no problems. However if I download and use the Windows Service Installer instead, I am getting the following errors in my Tomc

Re: Question about Tomcat/IIS and NTLM authentication

2008-01-23 Thread Gabe Wong
eborisow wrote: Gabe Wong wrote: I guess I misunderstood your objective. You are not interested in manipulating the user name. You just want to check if the stripped user name is in a specific role? Gabe, Yeah, I guess that sums it up better than my original post. I thought that may

New Portal Using Apache & Tomcat

2008-01-23 Thread Tony Anecito
I just wanted to say thanks to the Apache & Tomcat teams for providing the means for a new Type of Portal!!! Over the holiday a new portal was released for eLearning that uses searches/mapping/video/video capture and a lot more. It uses the latest Apache and Tomcat servers on the back in to host w

Re: Servlet or filter (or valve) that acts like mod_jk

2008-01-23 Thread Brantley Hobbs
JMeter includes an AJP13 client. I would expect that to be overkill though. I also do not know of any fully featured Java based reverse proxy servlet. In your case, you might be able to write something reasonable on top of httpclient for the HTTP protocol (using http to the backend and not

Re: Tomcat 64 bits

2008-01-23 Thread Markus Schönhaber
Andrew Hole schrieb: > Is there any problem run Tomcat under 64 bits platform? None that I'm aware of. Neither can I image what that problem might be. I'm running Tomcat on some x86_64 Linux machines and have yet to encounter an architecture-specific problem. > And about JDK? Is it possible inst

Re: Problems with jars or else.

2008-01-23 Thread David Delbecq
Don't put your jars at duplicate locations (shared/lib and /WEB-INF/lib) it should be enought to put the in your WEB-INF/lib folder. [EMAIL PROTECTED] a écrit : Hi all, I've build a Web Service that should reload me Axis due to an Ant project file, the service calls Main.main() (included on a

load balancing issue

2008-01-23 Thread Hehl, Thomas
I am running apache httpd 2.0.46 on a redhat server as a load balancer for a tomcat 6 cluster, also on redhat servers. I point my browser to the home page on the load balancer server and it returns the index.html just fine. I log into the application, again, fine. I click on one of the menu ite

Problems with jars or else.

2008-01-23 Thread [EMAIL PROTECTED]
Hi all, I've build a Web Service that should reload me Axis due to an Ant project file, the service calls Main.main() (included on ant library) with the arguments -f C:\\anthome\\axis.xml reload, the target. When I call the service by the Client the st_out log file says to me that the file axi

problem with tomcat-native 1.1.10 and tomcat 6.0.14

2008-01-23 Thread Mihai COSTACHE
Hi, i have a working tomcat 6.0.14 and now i want to use tomcat-native beacause it use openssl and not java-ssl so .. 1) i installed tomcat-native 1.1.10 2) i edited server.xml (added SSLCertificateFile, SSLCertificateKeyFile, SSLPassword and SSLProtocol="TLSv1" to HTTPS Connector ... for HTT

Re: Ordered loading of WAR files

2008-01-23 Thread Mark H. Wood
On Wed, Jan 23, 2008 at 05:01:35PM +0300, Konstantin Kolinko wrote: > > On windows my issues appears to be that the context.xml from the > > auth.war is being cached inside tc/conf/Catalina/localhost/... > > "cached" is not the right word. It is how deployment mechanism works > in tomcat. The pres

Re: Tomcat 64 bits

2008-01-23 Thread David Wall
Is there any problem run Tomcat under 64 bits platform? And about JDK? Is it possible install JDK 32 bits for 64 bits platform? We run Tomcat 5.5 using CentOS 5 X86_64 and Java 6 (x64 -- previously amd64 also worked) without any issues. David --

Re: problem with mod_jk and tomcat-host downtime on solaris

2008-01-23 Thread Rainer Jung
Christian Schausberger wrote: Hi, I use apache-2.2.4 together with mod_jk-1.2.25 to load balance a bunch of tomcat-5.5.25 servers. All servers are running on Solaris 10 and are implemented as zones. The setup works really good during normal operation. But when a server dies for some reason, and

Re: Servlet or filter (or valve) that acts like mod_jk

2008-01-23 Thread Rainer Jung
Tim Funk wrote: Have you tried .. http://sourceforge.net/projects/j2ep I do not know of a jk implemention done in java. JMeter includes an AJP13 client. I would expect that to be overkill though. I also do not know of any fully featured Java based reverse proxy servlet. In your case, you mig

Tomcat 64 bits

2008-01-23 Thread Andrew Hole
Hello! Is there any problem run Tomcat under 64 bits platform? And about JDK? Is it possible install JDK 32 bits for 64 bits platform? Thanks a lot A.

RE: how to install tomcat on iseries AS400

2008-01-23 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:[EMAIL PROTECTED] > Subject: Re: how to install tomcat on iseries AS400 > > take a look at this article by California Software > implementing Unisys OS on AS/400 > http://www.itjungle.com/tfh/tfh081604-story03.html You misread the article (which is 3.5 years old, a

Re: how to install tomcat on iseries AS400

2008-01-23 Thread Martin Gainty
take a look at this article by California Software implementing Unisys OS on AS/400 http://www.itjungle.com/tfh/tfh081604-story03.html chuck has considerable expertise in this area.. M- - Original Message - From: "David Brown" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday,

Re: Servlet or filter (or valve) that acts like mod_jk

2008-01-23 Thread Tim Funk
Have you tried .. http://sourceforge.net/projects/j2ep I do not know of a jk implemention done in java. -Tim Brantley Hobbs wrote: All, I have rather an odd situation that I'm hoping someone can give me some advice on. Short version: I need to know if there's a servlet, filter or valve tha

Servlet or filter (or valve) that acts like mod_jk

2008-01-23 Thread Brantley Hobbs
All, I have rather an odd situation that I'm hoping someone can give me some advice on. Short version: I need to know if there's a servlet, filter or valve that can be used to provide the same functionality as mod_jk does for Apache. In other words, I want to map certain requests to a JK co

Re: how to install tomcat on iseries AS400

2008-01-23 Thread David Brown
Hello Vida, back in 1998 I had to install Java classes on an AS400. The IBM boxes do not have hierarchical file systems such as: UNIX/Linux/Windows.IBM uses some type of formatted file system using HEADS, CYLINDERS and TRACKS. In '98 IBM provided something called the Q shell and a green screen t

how to install tomcat on iseries AS400

2008-01-23 Thread Vida Luz Arista
Hi All, I have experience installaing apache-tomcat on Linux, but now I need to install apache-tomcat on AS400, the operate syste is V5R4M0. I need a guide, somebody can help me ? Regards. - To start a new topic, e-mail: users@

problem with mod_jk and tomcat-host downtime on solaris

2008-01-23 Thread Christian Schausberger
Hi, I use apache-2.2.4 together with mod_jk-1.2.25 to load balance a bunch of tomcat-5.5.25 servers. All servers are running on Solaris 10 and are implemented as zones. The setup works really good during normal operation. But when a server dies for some reason, and with it the zones running tomca

RE: Help with Tomcat and mod_jk

2008-01-23 Thread Darren Kukulka
Thanks Rainer, I'll look into upgrading the apache/mod_jk combination -Original Message- From: Rainer Jung [mailto:[EMAIL PROTECTED] Sent: 23 January 2008 10:42 To: Tomcat Users List Subject: Re: Help with Tomcat and mod_jk Darren Kukulka wrote: > Hi All, > > Running Tomcat 6.0.13 on W

Re: Tomcat worked before, now it doesn't

2008-01-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 B, B McFee wrote: | I tried the attached and got the following output which I don't | understand: | | Proto Local Address Foreign AddressState | TCPC36432-B:8007 C36432-B:0 LISTENING | TCPC36432-B:808

Re: Ordered loading of WAR files

2008-01-23 Thread Konstantin Kolinko
> On windows my issues appears to be that the context.xml from the > auth.war is being cached inside tc/conf/Catalina/localhost/... "cached" is not the right word. It is how deployment mechanism works in tomcat. The presence of .xml in tc/conf/Catalina/localhost/ means that you application has bee

Re: Question about Tomcat/IIS and NTLM authentication

2008-01-23 Thread eborisow
Gabe Wong wrote: > > I guess I misunderstood your objective. You are not interested in > manipulating the user name. > You just want to check if the stripped user name is in a specific role? > Gabe, Yeah, I guess that sums it up better than my original post. I thought that maybe if I could j

Re: java.lang.NoSuchMethodError: org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest

2008-01-23 Thread David Smith
Tomcat as distributed doesn't have the commons-fileupload library. If this is a conflict between two versions in two different locations, it's one you've setup. Take a look and make sure there isn't another one in tomcat's /lib directory. --David Liquid Mark wrote: Hi, Have you solved t

RE: Subclass of Servlet: Inherited method is not visible

2008-01-23 Thread pichota
Urgh, should have seen that. This explains everything. Thanks. > You should ask the implementors of ParameterMethodResolvingServlet > (according to Google this seems to a project within dfki), or look at > it's implementation. > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: java.lang.NoSuchMethodError: org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest

2008-01-23 Thread Liquid Mark
Hi, Have you solved this problem? I'm having it too. I suspect that my application is compiled with, and trying to use at runtime, just one version of ServletFileUpload.parseRequest -- but that Tomcat uses another internally, and since it's a Servlet request, Tomcat's version is being applied.

RE: Subclass of Servlet: Inherited method is not visible

2008-01-23 Thread Reich, Matthias
You should ask the implementors of ParameterMethodResolvingServlet (according to Google this seems to a project within dfki), or look at it's implementation. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 23, 2008 12:24 PM To: users@tomcat.ap

Subclass of Servlet: Inherited method is not visible

2008-01-23 Thread pichota
Hi, The following schematically describes my setup. Basically, there are two servlets, one being a subclass of the other: public class ServletA extends ParameterMethodResolvingServlet { public void init() { ... } public void methodA() { ... } } public class ServletB extends ServletA { publ

Re: Help with Tomcat and mod_jk

2008-01-23 Thread Rainer Jung
Darren Kukulka wrote: Hi All, Running Tomcat 6.0.13 on Windows Server 2003 x64 with an Apache Web Server 2.2.4 (on a separate server) with mod_jk 1.2.20 We are currently at 2.2.8/1.2.26 ... Regularly getting these in the log - same warning every time... 23-Jan-2008 08:24:56 org.apache.jk.c

Help with Tomcat and mod_jk

2008-01-23 Thread Darren Kukulka
Hi All, Running Tomcat 6.0.13 on Windows Server 2003 x64 with an Apache Web Server 2.2.4 (on a separate server) with mod_jk 1.2.20 Regularly getting these in the log - same warning every time... 23-Jan-2008 08:24:56 org.apache.jk.core.MsgContext action WARNING: Error sending end packet