RE: Classpath issue *only* when starting tomcat 6 as a service

2011-06-16 Thread Patrick Guillot - Genigraph
Hi all, I finally managed to make it work with my multiple tomcat homes installations. I deleted the "lib" dir in tomcat instances, set-up waffle lib in the common tomcat lib dir, clean-up the services properties (i.e. classpath, to match tomcat default service configuration), removed "endorsed"

About tomcat 6.0 and jcom lib

2011-06-16 Thread 国清 mack Lu
Hi all I have a problem about the tomcat6.0.32 server config when I use the jcom lib to do the print job. when I use the unpack version and click startup.bat to start the server in windows xp ,I can use the JCOM lib to do the print job. but when I start the tomcat (Install version) width wi

Re: Feature request: "fullstart" command

2011-06-16 Thread Mladen Turk
On 06/17/2011 12:14 AM, Christopher Schultz wrote: On 6/16/2011 5:03 PM, Francis GALIEGUE wrote: I was actually wondering about these. I think I have my answer now :/ Solutions in C or other languages are many to achieve that, Java has none. Correct: native code has to be written. tc-native

Re: OT: about readers

2011-06-16 Thread alexis
You're right. For some messages there's 0x0A at the end so readline works. There's one special reason/message with no termination at all, so readline keeps waiting as expected. I have a workaround forcing the dialog to do something else so I'm receiving a new message with termination then searc

Re: OT: about readers

2011-06-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexis, On 6/16/2011 5:36 PM, alexis wrote: > im reading from a socket with a bufferedreader using readLine, it > works perfect, problem is some messages has no termination at all, so > readLine never completes. Do you mean that you are hitting the e

Re: Feature request: "fullstart" command

2011-06-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Francis, On 6/16/2011 5:03 PM, Francis GALIEGUE wrote: > On Thu, Jun 16, 2011 at 20:37, Christopher Schultz >> >> First off, the JVM provides no pure-Java way of letting a process go >> into the background. So, there's really no opportunity to do some

RE: OT: about readers

2011-06-16 Thread Martin Gainty
if bufferedReader doesnt give you what you need click package and you will see other readers including http://download.oracle.com/javase/1.4.2/docs/api/java/io/CharArrayReader.html Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni

OT: about readers

2011-06-16 Thread alexis
Hello, all, i know this one is OT but i cannot figure it out how to do this im reading from a socket with a bufferedreader using readLine, it works perfect, problem is some messages has no termination at all, so readLine never completes. How can i deal with this? i know i can read char by cha

Re: Feature request: "fullstart" command

2011-06-16 Thread Francis GALIEGUE
On Thu, Jun 16, 2011 at 20:37, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Francis, > [...] > > The above requirements actually might not be possible in a reasonably > simple system. > > First off, the JVM provides no pure-Java way of letting a process go > int

Re: Classpath issue *only* when starting tomcat 6 as a service

2011-06-16 Thread Mark Thomas
On 16/06/2011 18:07, Patrick Guillot - Genigraph wrote: > Hi all, > > Back on this issue. I suspect I know what is happening. Waffle provides it's own implementation of Tomcat's Authenticator interface and does this by extending Tomcat's AuthenticatorBase. Therefore, the Authenticator Interface

Re: Feature request: "fullstart" command

2011-06-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Francis, On 6/15/2011 4:00 PM, Francis GALIEGUE wrote: > Proposal: implement a command to Bootstrap which: > > * does NOT return until ALL webapps configured at start time are > (attempted to be) deployed; > * exits with a positive error code represe

RE: Classpath issue *only* when starting tomcat 6 as a service

2011-06-16 Thread Patrick Guillot - Genigraph
Hi all, Back on this issue. I have a new machine as a sand-box. This is a brand-new machine. Nothing but the operating system was installed before I began (Microsoft Windows 2008 Server R2). Step 1: I Installed tomcat using the installer "apache-tomcat-6.0.29.exe"(including Tomcat service and na

Re: error in clustering: NullPointerException at java.io.ObjectOutputStream$BlockDataOutputStream.getUTFLength

2011-06-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ronald, On 6/16/2011 11:40 AM, Ronald Klop wrote: > I created a release package. First had to find a computer with Windows, > because it needs wine (I didn't want to learn wine on FreeBSD today), > but ok it builds now. Wait, what? Why do you need Wi

Tomcat connector & IPv6

2011-06-16 Thread eric.savidan
Hi All, I just wanted to know if Tomcat connector was compatible with IPv6 ? My context : - OS = RedHat Enterprise Linux 5.6 - Tomcat = 6.0.32 or JBoss 6.0 - frontend = Apache 2.2.17 - Tomcat connector = 1.2.30

Re: error in clustering: NullPointerException at java.io.ObjectOutputStream$BlockDataOutputStream.getUTFLength

2011-06-16 Thread Ronald Klop
Good tip. I created a release package. First had to find a computer with Windows, because it needs wine (I didn't want to learn wine on FreeBSD today), but ok it builds now. Now I'll wait for my precious bug fix to get committed to 6. :-) Ronald. Op donderdag, 16 juni 2011 16:54 schreef Chris

Re: Deploy Problem [SEC=UNCLASSIFIED]

2011-06-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 6/16/2011 6:19 AM, Pid wrote: > On 16/06/2011 08:46, Reinhard Hnat wrote: >> Is it this what you mean with 'stacktrace'? > > Yes. > > The AccessControlException indicates that you have the Java Security > Manager enabled, at a guess you're p

Re: error in clustering: NullPointerException at java.io.ObjectOutputStream$BlockDataOutputStream.getUTFLength

2011-06-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ronald, On 6/16/2011 6:39 AM, Ronald Klop wrote: > A little lobby is started: > http://marc.info/?l=tomcat-dev&m=130805807619349&w=2 > > Thanks, but no reply yet from jfclere. He must be busy. > I'm not familiar with the inner workings of the Tomcat

Re: Issue while testing JSF application using Tomcat 6.0.14 and eclipse 3.4 on Windows XP Professional

2011-06-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kallol, On 6/16/2011 5:05 AM, Mark Thomas wrote: > On 16/06/2011 06:14, Kallol Chaudhuri wrote: >> >> - >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additiona

Re: crlFile and SunX509 algorithm in Tomcat 7.0.16

2011-06-16 Thread Martin Dubuc
Here is the full stack trace: SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-bio-8443"] java.io.IOException: CRLs not supported for type: SunX509 at org.apache.tomcat.util.net.jsse.JSSESocketFactory.init(JSSESocketFactory.java:476) at org.apache.tomca

Re: crlFile and SunX509 algorithm in Tomcat 7.0.16

2011-06-16 Thread Konstantin Kolinko
2011/6/16 Martin Dubuc : > Up to Tomcat 7.0.10, I used the crlFile configuration along with the SunX509 > algorithm in SSL HTTP connector configuration in server.xml. However, when I > start Tomcat 7.0.16, I get the following error: > > Jun 16, 2011 12:22:22 PM org.apache.coyote.AbstractProtocol in

Re: crlFile and SunX509 algorithm in Tomcat 7.0.16

2011-06-16 Thread Martin Dubuc
I would be surprised it would be JRE related since the crlFile configuration works with Tomcat 7.0.10 and the same JDK. Must be something that changed in the Tomcat code. Martin On Thu, Jun 16, 2011 at 8:59 AM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Martin Dubuc [mai

Re: crlFile and SunX509 algorithm in Tomcat 7.0.16

2011-06-16 Thread Martin Dubuc
I have tried to change the algorithm to Oracle509 to no avail. This value is not recognized. Martin On Thu, Jun 16, 2011 at 8:59 AM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Martin Dubuc [mailto:martind1...@gmail.com] > > Subject: crlFile and SunX509 algorithm in Tomca

Re: Feature request: "fullstart" command

2011-06-16 Thread Francis GALIEGUE
On Thu, Jun 16, 2011 at 15:01, Konstantin Kolinko wrote: [...] > > Implement what you want in a listener. Throw an Error if whatever you > want fails. > OK, but then, why isn't there such a listener as standard? I'm sure you understand the need, and having this listener as standard in Tomcat can

Re: Feature request: "fullstart" command

2011-06-16 Thread Konstantin Kolinko
2011/6/16 Francis GALIEGUE : > On Thu, Jun 16, 2011 at 14:48, Konstantin Kolinko > wrote: > [...] >> >> Some resources are allocated only on the first access. >> >> E.g. starting servlets, or obtaining database connections from a pool. >> Unless you obtain a connection there is no knowing that the

RE: crlFile and SunX509 algorithm in Tomcat 7.0.16

2011-06-16 Thread Caldarale, Charles R
> From: Martin Dubuc [mailto:martind1...@gmail.com] > Subject: crlFile and SunX509 algorithm in Tomcat 7.0.16 > Up to Tomcat 7.0.10, I used the crlFile configuration along > with the SunX509 algorithm in SSL HTTP connector configuration > java.io.IOException: CRLs not supported for type: SunX50

Re: Issue while testing JSF application using Tomcat 6.0.14 and eclipse 3.4 on Windows XP Professional

2011-06-16 Thread Konstantin Kolinko
2011/6/16 Caldarale, Charles R : >> Subject: Re: Issue while testing JSF application using Tomcat 6.0.14 and >> eclipse 3.4 on Windows XP Professional > > Bit light on content, don't you think? > > No one's going to plow through an attached zip file when there is _zero_ > description of the situa

Re: Feature request: "fullstart" command

2011-06-16 Thread Francis GALIEGUE
On Thu, Jun 16, 2011 at 14:48, Konstantin Kolinko wrote: [...] > > Some resources are allocated only on the first access. > > E.g. starting servlets, or obtaining database connections from a pool. > Unless you obtain a connection there is no knowing that the database > is accessible. > I know tha

RE: Issue while testing JSF application using Tomcat 6.0.14 and eclipse 3.4 on Windows XP Professional

2011-06-16 Thread Caldarale, Charles R
> From: Kallol Chaudhuri [mailto:kallol.chaudh...@tcs.com] > Sent: 2011 June 16, Thursday 07:42 > To: users@tomcat.apache.org > Subject: Re: Issue while testing JSF application using Tomcat 6.0.14 and > eclipse 3.4 on Windows XP Professional Bit light on content, don't you think? No one's going

crlFile and SunX509 algorithm in Tomcat 7.0.16

2011-06-16 Thread Martin Dubuc
Up to Tomcat 7.0.10, I used the crlFile configuration along with the SunX509 algorithm in SSL HTTP connector configuration in server.xml. However, when I start Tomcat 7.0.16, I get the following error: Jun 16, 2011 12:22:22 PM org.apache.coyote.AbstractProtocol init SEVERE: Failed to initialize en

Re: Feature request: "fullstart" command

2011-06-16 Thread Francis GALIEGUE
On Thu, Jun 16, 2011 at 14:36, Pid wrote: [...] >>> >>> An application might report that it's started, even it hasn't finished >>> initialising. >>> >> >> That is the application's responsibility, so not the problem at hand. > > What is the value of indicating success or failure, if the answer is

Re: Feature request: "fullstart" command

2011-06-16 Thread Konstantin Kolinko
2011/6/16 Francis GALIEGUE : > On Thu, Jun 16, 2011 at 12:29, Pid wrote: > [...] >> >> An application might report that it's started, even it hasn't finished >> initialising. >> > > That is the application's responsibility, so not the problem at hand. > > Furthermore, if the application reports a

Re: Feature request: "fullstart" command

2011-06-16 Thread Pid
On 16/06/2011 12:15, Francis GALIEGUE wrote: > On Thu, Jun 16, 2011 at 12:29, Pid wrote: > [...] >> >> An application might report that it's started, even it hasn't finished >> initialising. >> > > That is the application's responsibility, so not the problem at hand. What is the value of indicat

Re: Feature request: "fullstart" command

2011-06-16 Thread Francis GALIEGUE
On Thu, Jun 16, 2011 at 13:51, sebb wrote: [...] > > The value passed to System.exit(int) is passed to the OS. > > In Unix systems, 0 means success and anything else is generally not success. > > OpenVMS behaves differently, as already noted. > If a process returns an error or fatal code to VMS, t

Re: Feature request: "fullstart" command

2011-06-16 Thread sebb
On 16 June 2011 12:32, Francis GALIEGUE wrote: > On Thu, Jun 16, 2011 at 13:30, sebb wrote: > [...] >>> >>> It's up to main() to call System.exit(), so how is that a problem? >> >> If the exit code is not passed to the OS, but is merely a method >> return code, then of course it's not a problem.

Re: Feature request: "fullstart" command

2011-06-16 Thread Francis GALIEGUE
On Thu, Jun 16, 2011 at 13:30, sebb wrote: [...] >> >> It's up to main() to call System.exit(), so how is that a problem? > > If the exit code is not passed to the OS, but is merely a method > return code, then of course it's not a problem. > > But I understood the term "exit code" to mean the cod

Re: Feature request: "fullstart" command

2011-06-16 Thread sebb
On 16 June 2011 12:16, Francis GALIEGUE wrote: > On Thu, Jun 16, 2011 at 13:04, sebb wrote: > [...] >> >> And it may cause problems on some OSes which don't use unix-style exit codes. >> For example, OpenVMS uses the low order 3 bits of a process exit code >> as a severity indicator, and odd is s

Re: Feature request: "fullstart" command

2011-06-16 Thread Francis GALIEGUE
On Thu, Jun 16, 2011 at 13:04, sebb wrote: [...] > > And it may cause problems on some OSes which don't use unix-style exit codes. > For example, OpenVMS uses the low order 3 bits of a process exit code > as a severity indicator, and odd is success, even is failure. > [IThe JVM automatically conve

Re: Feature request: "fullstart" command

2011-06-16 Thread Francis GALIEGUE
On Thu, Jun 16, 2011 at 12:29, Pid wrote: [...] > > An application might report that it's started, even it hasn't finished > initialising. > That is the application's responsibility, so not the problem at hand. Furthermore, if the application reports a successful start even though it is not comp

Re: Feature request: "fullstart" command

2011-06-16 Thread sebb
On 16 June 2011 11:29, Pid wrote: > On 15/06/2011 21:00, Francis GALIEGUE wrote: >> Tomcat has many abilities to deploy applications at run time (war, >> tree, context, you name it). However, when used in production, these >> abilities are used cautiously, if they are used at all. >> >> In many sc

Re: error in clustering: NullPointerException at java.io.ObjectOutputStream$BlockDataOutputStream.getUTFLength

2011-06-16 Thread Ronald Klop
A little lobby is started: http://marc.info/?l=tomcat-dev&m=130805807619349&w=2 Thanks, but no reply yet from jfclere. He must be busy. I'm not familiar with the inner workings of the Tomcat organization, but shouldn't releases be less dependent on one person? Ronald. Op dinsdag, 14 juni 2011

Re: Feature request: "fullstart" command

2011-06-16 Thread Pid
On 15/06/2011 21:00, Francis GALIEGUE wrote: > Tomcat has many abilities to deploy applications at run time (war, > tree, context, you name it). However, when used in production, these > abilities are used cautiously, if they are used at all. > > In many scenarios, Tomcat just starts, spends its l

Re: Deploy Problem [SEC=UNCLASSIFIED]

2011-06-16 Thread Pid
On 16/06/2011 08:46, Reinhard Hnat wrote: > Is it this what you mean with 'stacktrace'? Yes. The AccessControlException indicates that you have the Java Security Manager enabled, at a guess you're probably running a repackaged version of Tomcat on Linux - where the packager has configured the Sec

Re: Issue while testing JSF application using Tomcat 6.0.14 and eclipse 3.4 on Windows XP Professional

2011-06-16 Thread Mark Thomas
On 16/06/2011 06:14, Kallol Chaudhuri wrote: > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org http://www.catb.org/~esr/faqs/smart-questions.html

Re: Deploy Problem [SEC=UNCLASSIFIED]

2011-06-16 Thread Reinhard Hnat
Is it this what you mean with 'stacktrace'? 16.06.2011 09:04:08 org.apache.catalina.core.ApplicationContext log INFO: Marking servlet ClickServlet as unavailable 16.06.2011 09:04:08 org.apache.catalina.core.StandardContext loadOnStartup SEVERE: Servlet /GealogWeb threw load() exception javax.serv

RE: Deploy Problem [SEC=UNCLASSIFIED]

2011-06-16 Thread Fraser, James
UNCLASSIFIED Hi, I'd say you have a problem with you deployment descriptor (web.xml). Do you have a stacktrace you can share? -Original Message- From: Reinhard Hnat [mailto:h...@logotronic.co.at] Sent: Thursday, 16 June 2011 4:57 PM To: users@tomcat.apache.org Subject: Deploy Problem

Deploy Problem

2011-06-16 Thread Reinhard Hnat
I wrote a Webapplication using eclipse to be deployed with apache tomcat6. Within the eclipse IDE everything works well. As soon as i want to deploy the WAR-file to the server using the manager i get the message: _ Servlet ClickServlet is not available Opposite to this the example applications