Re: parallel deployment activation of new version

2012-04-18 Thread Christoph Maser
Am Donnerstag, den 12.04.2012, 14:02 +0100 schrieb ma...@apache.org: > Christoph Maser wrote: > > >Do you see any chance a request for feature in that direction would be > >accpeted? > > Right now, no. I don't see a requirement that isn't met by the existing > implementation. If there was a use

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

2012-04-18 Thread Konstantin Kolinko
2012/4/19 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 wi

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 env

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

Re: Access to Tomcat server has not been authorized

2012-04-18 Thread Mark Eggers
> > From: Konstantin Kolinko >To: Tomcat Users List >Sent: Wednesday, April 18, 2012 10:32 AM >Subject: Re: Access to Tomcat server has not been authorized > >2012/4/18 Debabratta Jena : >> Hello Sir, >> >> I have used glassfish in netbeans, now I changed to tomc

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: Ope

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 http://tomcat.apache.org/download-connectors.c

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 > написал: >> 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 Tom

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: In webapp, sending multipart email with Javamail : noname attachment instead of message

2012-04-18 Thread Konstantin Kolinko
2012/4/18 Konstantin Kolinko : > 2012/4/18 Jacques Desodt : >> 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 implementation is re

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

2012-04-18 Thread Konstantin Kolinko
2012/4/18 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(); >        proper

Re: Access to Tomcat server has not been authorized

2012-04-18 Thread Konstantin Kolinko
2012/4/18 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 an

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: 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);

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

2012-04-18 Thread Konstantin Kolinko
2012/4/18 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

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 www.domain.com/T

Re: Availability of a resource in a realm

2012-04-18 Thread Konstantin Kolinko
2012/4/18 Osipov, Michael : > Konstantin Kolinko wrote: >> 2012/4/17 Osipov, Michael : >>> 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 tha

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 wrote: > 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 >> >> %JAVA_HOME%\bin\keytool -genke

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 t

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 Me

Re: web.xml and schema location

2012-04-18 Thread Konstantin Kolinko
2012/4/18 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.

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 web

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 grea

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 p

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 one

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 написал: > 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 To

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 wh

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

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: 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 pa

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 regular

RE: Availability of a resource in a realm

2012-04-18 Thread Osipov, Michael
Konstantin Kolinko wrote: > 2012/4/17 Osipov, Michael : >> 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 >> InitialContex