Re: Tomcat 5.5.30 and Spring Framework

2011-03-08 Thread Borut Hadžialić
The piece of xml you posted looks like something from $TOMCAT_HOME/conf/web.xml file. This file contains some default configuration that is applied to all web applications and you usually don't change it. What you need to find is the /WEB-INF directory of your web application. /WEB-INF directory

JSP pages are not loaded. Only HTML source code

2011-03-08 Thread Petr Hracek
Dear users, I would like to asked you on the some thing regarding JSP pages. On the Linux whereis installed apache 2.2.14 and tomcat 5.5.28 I would like to run JSP pages. JSP pages should be run over mod_proxy_ajp. URL is: http://IP_address/XYtest/jsp/Viewer/index.html ProxyPass /XYtest/*.jsp

Re: JSP pages are not loaded. Only HTML source code

2011-03-08 Thread Zbynek Vavros
Dear user, are you sure using JSP inside HTML is good idea? JSPs are going to be translated into servlet anyway and HTML will not :) Cant you use JSP inside JSP? Zbynek Kind Regards / Mit

Tomcat Windows service console window

2011-03-08 Thread Zbynek Vavros
Hi, can anyone point me how to set it so console window appears when service started? Using Allow service to interact with desktop I can see console but with no output. Some users also suggets not to use this option but how then? Thanks in advance

Re: JSP pages are not loaded. Only HTML source code

2011-03-08 Thread Petr Hracek
Structure of the document is following: index.html frameset rows=63,40,* frameborder=0 frame src=logo.html name=logo noresize scrolling=no marginwidth=0 marginheight= 0 frame src=View.jsp name=toolbar noresize scrolling=no marginwidth=0 marginhei ght=0 frame src=View2.jsp name=ctrl /frameset

Is it possible to configure 2 SSL connectors on one Tomcat instance?

2011-03-08 Thread Nikko Nikko
Hi, Is It possible to define 2 SSL connectors for 2 different virtual domain domains? For example I want to define 2 virtual hosts: “host1.myhost.com” and “host2.myhost.com” and want to have different trust store for each of them. I want to run them in one and the same Tomcat instance.

Re: Is it possible to configure 2 SSL connectors on one Tomcat instance?

2011-03-08 Thread Borut Hadžialić
Hi Nikko, I asume that you really want 2 connectors with 2 different key stores, not 2 different trust stores. If you have 2 ip addresses then its easy - define 2 connectors and use their address attribute to assign each connector one ip address. If you have only 1 ip address then you might

RE: Tomcat Windows service console window

2011-03-08 Thread Caldarale, Charles R
From: Zbynek Vavros [mailto:zbynek_vav...@cz.ibm.com] Subject: Tomcat Windows service console window can anyone point me how to set it so console window appears when service started? Windows services do not use console windows - that's one of the major points of running something as a

Re: Is it possible to configure 2 SSL connectors on one Tomcat instance?

2011-03-08 Thread Ognjen Blagojevic
On 8.3.2011 13:57, Nikko Nikko wrote: Is It possible to define 2 SSL connectors for 2 different virtual domain domains? For example I want to define 2 virtual hosts: “host1.myhost.com” and “host2.myhost.com” and want to have different trust store for each of them. I want to run them in one

RE: Tomcat Windows service console window

2011-03-08 Thread Zbynek Vavros
Hi, of course Im aware of Tomcat log files, but I woiuld like to heve something live. Well when running Domino server as service I get perfect console window right after I start serviceso probably works... And as I said before I get console window, it is just empty all the time. Zbynek

Re: Running Tomcat as service - is it possible to make tomcat7.exe run a batch file each time it starts?

2011-03-08 Thread Evgeny Goldin
awarnier wrote: Evgeny Goldin wrote: .. What could probably be taken here for the Tomcat team is onStartup.bat that always runs on Tomcat's startup, regardless of how it was done - via catalina.bat or tomcat7.exe. Same could be done for onShutdown.bat. +1 Sounds like a good idea.

AW: Is it possible to configure 2 SSL connectors on one Tomcat instance?

2011-03-08 Thread Steffen Heil
Hi If you have only 1 ip address then you might have a problem. The problem with name based virtual hosts under https/ssl is that ssl handshake (which involves server sending a certificate for some domain) happens after tcp/ip connection is established - before the HOST part of the http

Re: JSP pages are not loaded. Only HTML source code

2011-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Patr, On 3/8/2011 5:37 AM, Petr Hracek wrote: Structure of the document is following: index.html frameset rows=63,40,* frameborder=0 frame src=logo.html name=logo noresize scrolling=no marginwidth=0 marginheight= 0 frame src=View.jsp

Re: JSP pages are not loaded. Only HTML source code

2011-03-08 Thread André Warnier
Petr Hracek wrote: Dear users, I would like to asked you on the some thing regarding JSP pages. On the Linux whereis installed apache 2.2.14 and tomcat 5.5.28 that's an old version of Tomcat. You should be using at least a 6.0.x version by now. I would like to run JSP pages. JSP pages

Application Security - Help Required

2011-03-08 Thread Sajjad Awan
Hi All, I have an application running in tomcat 7 developed using spring+ struts. I have secured this application using verisign server certificate but now i want to add some rules to also authenticate user on base of client certificate if they hit on some particular url pattern. Muhammad

[ANN] Apache Tomcat 7.0.10 released

2011-03-08 Thread Mark Thomas
The Apache Tomcat team announces the immediate availability of Apache Tomcat 7.0.10 Apache Tomcat 7.0.10 is primarily a security and bug fix release with numerous fixes compared to 7.0.8. Please refer to the change log for the list of changes:

Re: Application Security - Help Required

2011-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Muhammad, On 3/8/2011 10:07 AM, Sajjad Awan wrote: I have an application running in tomcat 7 developed using spring+ struts. Great! I have secured this application using verisign server certificate Note that you have only secured the

SSL on Apache 6.0.18 troubles

2011-03-08 Thread Jacob Nyhart
I am running Apache version 6.0.18 on a Windows 2003 server. Cannot go to 6.0.29 yet because of vendor/client requirements. I am attempting to setup SSL, but am not having any success and so I seek your help. My connector in my settings.xml file looks like this:

Re: SSL on Apache 6.0.18 troubles

2011-03-08 Thread Filip Hanik - Dev Lists
add SSLEnabled=true to your connector Filip On 3/8/2011 12:20 PM, Jacob Nyhart wrote: I am running Apache version 6.0.18 on a Windows 2003 server. Cannot go to 6.0.29 yet because of vendor/client requirements. I am attempting to setup SSL, but am not having any success and so I seek your

Re: SSL on Apache 6.0.18 troubles

2011-03-08 Thread Jacob Nyhart
That fixed it. Well, I feel officially dumb knowing the solution was that simple and staring me right in the face... ./facepalm Thanks for your quick response! ~J On Tue, Mar 8, 2011 at 2:36 PM, Filip Hanik - Dev Lists devli...@hanik.comwrote: add SSLEnabled=true to your connector Filip

Automatically extracted Tomcat FAQs

2011-03-08 Thread Stefan Henß
Hi everybody, I'm currently doing research for my bachelor thesis on how to automatically extract FAQs from unstructured data. For this I've built a system automatically performing the following: - Load thousands of conversations from forums and mailing lists (don't mind the categories

Servlet mapping doesn't work after upgrading from Tomcat 5 to 6

2011-03-08 Thread Dharamshila Khandelwal
Hi, I have the following servlet mapping in webapps/webapp/WEB-INF/web.xml servlet-mapping servlet-nameaction/servlet-name url-pattern*.do/url-pattern /servlet-mapping This mapping worked fine with Tomcat 5, but when I am running the application with the same mapping, it is not able

Re: Servlet mapping doesn't work after upgrading from Tomcat 5 to 6

2011-03-08 Thread Konstantin Kolinko
2011/3/9 Dharamshila Khandelwal dharmshil...@gmail.com: Hi, I have the following servlet mapping in webapps/webapp/WEB-INF/web.xml  servlet-mapping    servlet-nameaction/servlet-name    url-pattern*.do/url-pattern  /servlet-mapping This mapping worked fine with Tomcat 5, but when I am

Re: Servlet mapping doesn't work after upgrading from Tomcat 5 to 6

2011-03-08 Thread Dharamshila Khandelwal
Thanks for your response Kolinko, I tried putting the servlet-mapping inside servlet tag but it didn't work. I am attaching web.xml that I am using. On Tue, Mar 8, 2011 at 5:11 PM, Konstantin Kolinko knst.koli...@gmail.comwrote: 2011/3/9 Dharamshila Khandelwal dharmshil...@gmail.com: Hi,

RE: Servlet mapping doesn't work after upgrading from Tomcat 5 to 6

2011-03-08 Thread Caldarale, Charles R
From: Dharamshila Khandelwal [mailto:dharmshil...@gmail.com] Subject: Re: Servlet mapping doesn't work after upgrading from Tomcat 5 to 6 I tried putting the servlet-mapping inside servlet tag but it didn't work. Good, since that's not syntactically correct. I am attaching web.xml that I

Re: Servlet mapping doesn't work after upgrading from Tomcat 5 to 6

2011-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dharamshila, On 3/8/2011 5:27 PM, Dharamshila Khandelwal wrote: Thanks for your response Kolinko, I tried putting the servlet-mapping inside servlet tag but it didn't work. I am attaching web.xml that I am using. Your web.xml looks good. I also

Re: Is it possible to configure 2 SSL connectors on one Tomcat instance?

2011-03-08 Thread Ognjen Blagojevic
On 8.3.2011 14:51, Borut Hadžialić wrote: Maybe if your domains are really similar to host1.myhost.com and host2.myhost.com you could use a wildcard certificate (*.myhost.com) or if you are using a self-signed certificate and want just https encryption and not server verification - then you

Re: Servlet mapping doesn't work after upgrading from Tomcat 5 to 6

2011-03-08 Thread Dharamshila Khandelwal
Chuck, Log files are attached. From the URL http://wmsweb1.xxx.net:9501/uom/uom.do, when I click on 'Save' it invokes http://wmsweb1.hsn.net:9501/uom/servlet/uom.update, the message that I get is: HTTP Status 404 - /uom/servlet/uom.update

Re: Servlet mapping doesn't work after upgrading from Tomcat 5 to 6

2011-03-08 Thread Dharamshila Khandelwal
Thanks for your response Christopher! I have structs.jar in WEB-INF/lib. I even tried putting it in CATALINA_HOME/lib, but it didn't work. I have attached the log files as you had requested. On Tue, Mar 8, 2011 at 5:40 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP

Re: [ANN] Apache Tomcat 7.0.10 released

2011-03-08 Thread Michael McCutcheon
On 3/8/2011 7:47 AM, Mark Thomas wrote: The Apache Tomcat team announces the immediate availability of Apache Tomcat 7.0.10 Does this fix the bug where @ServletSecurity annotations are ignored? I did not see that fix in the release notes, and I thought it was going to be included in this

Re: Is it possible to configure 2 SSL connectors on one Tomcat instance?

2011-03-08 Thread Nikko Nikko
Hi, Thanks for the answers! I have one IP and wildcard certificate which I signed using local CA. I want to have different trust stores for client certificate authorization. It is a small PoC/demo and I do not have 2 IP-s. The example above is using 2 IP-s and I did not get how to create