RE: Availability of a resource in a realm

2012-04-18 Thread Osipov, Michael
Konstantin Kolinko wrote: 2012/4/17 Osipov, Michael michael.osi...@siemens.com: Hi folks, I have a resource declared in my context.xml (not a resource link). I want to retrieve that resource as soon as possible in my realm. I tried start() and init() but it seems like that at this time the

Re: Why @WebServlet annotation is not processed when web.xml is version 2.5?

2012-04-18 Thread maria petrova
Hi, Thanks for the clarification. I agree that the specification is not absolutely clear on this matter in the given extract. Anyway, I simply would like to ask you, as Tomcat experts, for hints or ideas how to configure my Tomcat to make it pass the Servlet 3.0 CTS. I know that Tomcat 7.x

Re: Why @WebServlet annotation is not processed when web.xml is version 2.5?

2012-04-18 Thread Pid
On 18/04/2012 09:15, maria petrova wrote: Hi, Thanks for the clarification. I agree that the specification is not absolutely clear on this matter in the given extract. Anyway, I simply would like to ask you, as Tomcat experts, for hints or ideas how to configure my Tomcat to make it pass

Re: Problem starting tomcat

2012-04-18 Thread Pid
On 18/04/2012 02:59, Fairouz Fakhfakh wrote: Hello, I have a problem when I start tomcat by cliking on tomcat5.exe located in Tomcat 5.5\bin. I have the following message: GRAVE: Erreur lors du dÚploiement du rÚpertoire juddi de l'application web java.lang.NoClassDefFoundError:

Re: Generating a Keystore

2012-04-18 Thread Pid
On 17/04/2012 21:16, Victoria Johnson - Kio wrote: Hello, I am having problems generating a keystore, this is my first time configuring a server, let alone Tomcat. What are your problems, exactly? The text on Apache is really confusing me about setting up SSL on Tomcat, what do I do with

Re: JasperException: The value for the useBean class ___ attribute is invalid

2012-04-18 Thread Pid
On 17/04/2012 17:29, Chris Patterson wrote: Hello, pls help with the following issue: My JSP calls a Java Bean and works OK for both versions, Tomcat 5.5 and Tomcat 7.1 Cool! Where did you get v7.1 from? I've been waiting for that release. On the other hand, you could tell us exactly which

Re: Why @WebServlet annotation is not processed when web.xml is version 2.5?

2012-04-18 Thread Konstantin Kolinko
18 апреля 2012 г. 12:15 пользователь maria petrova mims8...@googlemail.com написал: Hi, Thanks for the clarification. I agree that the specification is not absolutely clear on this matter in the given extract. Anyway, I simply would like to ask you, as Tomcat experts, for hints or ideas how

64bit windows mod_jk connector download for apache httpd 2.4

2012-04-18 Thread chris derham
All, Our setup has apache tomcat running behind apache httpd using mod_jk. I would like to upgrade to apache 2.4, but for this I need to find a 64bit mod_jk release for httpd 2.4. The binaries contained at http://tomcat.apache.org/download-connectors.cgi 32 bit httpd connectors, or a 64bit iis

Re: adding a global URI prefix for Tomcat web apps

2012-04-18 Thread Ron Van den Branden
Hi, Thanks a million for guiding me through these hoops, and your patience with my confused anxiety to get this sorted out. It now works (of course) with these settings, and allows for a quite nice compromise. I'll briefly summarize problem and solution, if it can help others. The starting

Re: In webapp, sending multipart email with Javamail : noname attachment instead of message

2012-04-18 Thread Jacques Desodt
Hi Chris, Thanks a lot for your quick reply ! My apologies for the image posted, I didn't know it could be stripped by the mailing list. OK, I will test your solution tonight. I agree with you, Javamail API is really complicated, I always used Apache Commons Email. I will have a look at your

web.xml and schema location

2012-04-18 Thread Mark Claassen
Back in Tomcat 5, we had the problem with tomcat trying to access java.sun.com. Lots of our servers are behind firewalls, so this caused an error in the log. We realized one way to fix this was just to remove the schemaLocation attribute from the web.xml files. Below is the top of the main

Re: web.xml and schema location

2012-04-18 Thread Konstantin Kolinko
2012/4/18 Mark Claassen ma...@donnell.com: Back in Tomcat 5, we had the problem with tomcat trying to access java.sun.com.  Lots of our servers are behind firewalls, so this caused an error in the log.  We realized one way to fix this was just to remove the schemaLocation attribute from the

RE: web.xml and schema location

2012-04-18 Thread Mark Claassen
1. Do you have validation enabled? E.g. with org.apache.catalina.STRICT_SERVLET_COMPLIANCE=true I don't think so (but that was a long time ago). Anyway, I am glad to know that the default config does not try to contact anything and I can leave by web.xml as is. Thanks! -Original

Re: Generating a Keystore

2012-04-18 Thread Victoria Johnson - Kio
Hi Pid, I could not generate a keystore, because I had no idea that I had to get my Java specifically keytool on bin before using the rest of this -genkey -alias tomcat -keyalg RSA But I was able to get that done yesterday and have SSL running perfectly now, thanks for your interest. I also

Re: Generating a Keystore

2012-04-18 Thread Victoria Johnson - Kio
Hello James, Thanks for the info below, much appreciated On Tue, Apr 17, 2012 at 9:31 PM, James Lampert jam...@touchtonecorp.comwrote: Victoria Johnson - Kio wrote: The text on Apache is really confusing me about setting up SSL on Tomcat, what do I do with this command

Re: Availability of a resource in a realm

2012-04-18 Thread Konstantin Kolinko
2012/4/18 Osipov, Michael michael.osi...@siemens.com: Konstantin Kolinko wrote: 2012/4/17 Osipov, Michael michael.osi...@siemens.com: Hi folks, I have a resource declared in my context.xml (not a resource link). I want to retrieve that resource as soon as possible in my realm. I tried

Re: JasperException: The value for the useBean class ___ attribute is invalid

2012-04-18 Thread Chris Patterson
More on this, now I think it is some configuration issue for the tomcat server: I am using eclipse to check both JSP files, and they work without any problems in my PC. When deploying to Tomcat 5.5.35 to a sub-directory like de project name they also work fine. For example at

Re: JasperException: The value for the useBean class ___ attribute is invalid

2012-04-18 Thread Konstantin Kolinko
2012/4/18 Chris Patterson tom...@vittox.com: More on this, now I think it is some configuration issue for the tomcat server: I am using eclipse to check both JSP files, and they work without any problems in my PC. When deploying to Tomcat 5.5.35 to a sub-directory like de project name they

Re: In webapp, sending multipart email with Javamail : noname attachment instead of message

2012-04-18 Thread Jacques Desodt
Well, a little bit disappointed... I changed my code : public void sendTestMultipartMail(String host, final String username, final String password, String from, String to) throws Exception { Properties properties = new Properties(); properties.put(mail.smtp.host, host);

Access to Tomcat server has not been authorized

2012-04-18 Thread Debabratta Jena
Hello Sir, I have used glassfish in netbeans, now I changed to tomcat and when I run my web application that I have created in glassfish gives me the error : **Deployment error: Access to Tomcat server has not been authorized. Set the correct username and password with the manager-script role

Re: Access to Tomcat server has not been authorized

2012-04-18 Thread Konstantin Kolinko
2012/4/18 Debabratta Jena debabrat...@gmail.com: Hello Sir, I have used glassfish in netbeans, now I changed to tomcat and when I run my web application that I have created in glassfish gives me the error : **Deployment error:  Access to Tomcat server has not been authorized. Set the

Re: In webapp, sending multipart email with Javamail : noname attachment instead of message

2012-04-18 Thread Konstantin Kolinko
2012/4/18 Jacques Desodt jdes...@gmail.com: Well, a little bit disappointed... I changed my code :    public void sendTestMultipartMail(String host, final String username, final String password, String from, String to) throws Exception {        Properties properties = new Properties();    

Re: In webapp, sending multipart email with Javamail : noname attachment instead of message

2012-04-18 Thread Konstantin Kolinko
2012/4/18 Konstantin Kolinko knst.koli...@gmail.com: 2012/4/18 Jacques Desodt jdes...@gmail.com: Well, a little bit disappointed... I changed my code : (...) ... and that's all... Why ? I don't understand. Same method, same smtp server. Any idea ? Different libraries? Try to check, what

Re: JasperException: The value for the useBean class ___ attribute is invalid

2012-04-18 Thread Pid
On 18/04/2012 18:02, Chris Patterson wrote: Is this like a BUG ? Doubt it. Or perhaps something about the Java version ? s/Java/Developer/g p -- [key:62590808] signature.asc Description: OpenPGP digital signature

Re: Why @WebServlet annotation is not processed when web.xml is version 2.5?

2012-04-18 Thread Pid
On 18/04/2012 11:27, Konstantin Kolinko wrote: 18 апреля 2012 г. 12:15 пользователь maria petrova mims8...@googlemail.com написал: Hi, Thanks for the clarification. I agree that the specification is not absolutely clear on this matter in the given extract. Anyway, I simply would like to ask

Re: 64bit windows mod_jk connector download for apache httpd 2.4

2012-04-18 Thread Mladen Turk
On 04/18/2012 02:00 PM, chris derham wrote: All, Our setup has apache tomcat running behind apache httpd using mod_jk. I would like to upgrade to apache 2.4, but for this I need to find a 64bit mod_jk release for httpd 2.4. The binaries contained at

Re: JasperException: The value for the useBean class ___ attribute is invalid

2012-04-18 Thread Pid
On 18/04/2012 21:02, Pid wrote: On 18/04/2012 18:02, Chris Patterson wrote: Is this like a BUG ? Doubt it. Or perhaps something about the Java version ? s/Java/Developer/g That was rude. Retracted, with apologies. p -- [key:62590808] signature.asc Description: OpenPGP

Re: Access to Tomcat server has not been authorized

2012-04-18 Thread Mark Eggers
From: Konstantin Kolinko knst.koli...@gmail.com To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, April 18, 2012 10:32 AM Subject: Re: Access to Tomcat server has not been authorized 2012/4/18 Debabratta Jena debabrat...@gmail.com: Hello Sir, I

Re: JasperException: The value for the useBean class ___ attribute is invalid

2012-04-18 Thread Chris Patterson
Dear Konstantin, thanks for asking, I will try to answer your questions My experience level is relative, idea is to spend less time sharing your experience. I have installed Tomcat servers for many years mostly on Unix/Linux, and allready have a CentOS 5.6 with Tomcat 6.x (default) on a local

tomcat maven plugin deploy to multiple tomcat instances...

2012-04-18 Thread Jeff
(Didn't see a specific mailing list for the tomcat-maven-plugin...) I finally got the 2.0-SNAPSHOT version of the tomcat6-maven-plugin working against a single server, but wondered how I could configure it to push to multiple tomcat instances based on the environment. For example, our staging

Re: JasperException: The value for the useBean class ___ attribute is invalid

2012-04-18 Thread Konstantin Kolinko
2012/4/19 Chris Patterson tom...@vittox.com: Dear Konstantin, thanks for asking, I will try to answer your questions My experience level is relative, idea is to spend less time sharing your experience. I have installed Tomcat servers for many years mostly on Unix/Linux, and allready have a