Problem with tomcat session replication

2010-04-26 Thread o-rabbit
I am using two instances of tomcat 6.0.20 in the same window machine, the second instance while starting up gives the following message : -- INFO: Attempting to bind the multicast socket to /228.0.0.4:45564 Apr 26,

Re: Problem with tomcat session replication

2010-04-26 Thread o-rabbit
o-rabbit wrote: The multicast message is now not there but the second instance is still giving the following message: INFO: Manager [localhost#/mycontext]: skipping state transfer. No members active in cluster group I have followed the tomcat cluster howto guide closely, Given

Re: Multiple catalina bases and monitoring each instance

2010-04-26 Thread Leon Rosenberg
On Fri, Apr 23, 2010 at 7:54 PM, Ziggy zigg...@gmail.com wrote: Hi, I was refering to monitoring things like database connections, active threads or sessions etc. Thanks if you want to have monitoring from outside the jvm, go for nagios/munin/big brother/sister or whatever. If you want to

JkMount and Apache Rewrite

2010-04-26 Thread Philip Hunt (Straker Software)
Hi, I have the following config, to pass requests through Apache to Tomcat using AJP: RewriteEngine on RewriteRule ^/abc - [L,PT] RewriteRule (.*) /abc$1 [L,PT] JkMount /abc/* node1 This works, to the point that requests to http://sitename/ are rewritten to http://sitename/abc ... and the

Tomcat classpath fpr jar-within-jar

2010-04-26 Thread Adam Lipscombe
Folks, Firstly, apologies if this question is a no-brainer. I have a war file containing a jar file (jar A) in the WEB-INF/lib directory. Jar A contains another another jar file (jar B). The structure of Jar A is class files under com/... and jar B. Classes inside jar B do not seem to be

Re: Client cert authentication

2010-04-26 Thread acastanheira2001
Thanks again Mark, I think it will be difficult to move to Tomcat 6 soon. If I change mod_proxy to mod_jk, does mod_jk passes the client cert to Tomcat 5.5? Thank you, Andre Mark Thomas wrote: On 22/04/2010 20:00, acastanheira2001 wrote: Thanks Mark, I use mod_proxy (ProxyPass and

RE: Client cert authentication

2010-04-26 Thread Jason Pyeron
-Original Message- From: acastanheira2001 Sent: Monday, April 26, 2010 8:35 Subject: Re: Client cert authentication Thanks again Mark, I think it will be difficult to move to Tomcat 6 soon. If I change mod_proxy to mod_jk, does mod_jk passes the client cert to Tomcat

Re: Tomcat classpath fpr jar-within-jar

2010-04-26 Thread Ronald Klop
That is not possible in Java (not only in Tomcat, but not possible in any java application). You must extract jar B from jar A and put both on the classpath. But it would be a nice feature and you can probably vote for an issue about it in the bug database of Sun/Oracle. Ronald. Op maandag,

Re: An unexpected error has been detected by Java Runtime Environment:

2010-04-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sanjeev, On 4/25/2010 12:13 AM, Sanjeev Verma wrote: Some helpful info on this error here - http://www.java-forums.org/eclipse/312-exception_access_violation-0xc005.html I find no helpful information on this page, unfortunately. This error

Re: Tomcat classpath fpr jar-within-jar

2010-04-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ronald, On 4/26/2010 8:53 AM, Ronald Klop wrote: That is not possible in Java (not only in Tomcat, but not possible in any java application). You must extract jar B from jar A and put both on the classpath. But it would be a nice feature and

Classpath for JSP

2010-04-26 Thread Reuven Koblick
Newbie question: I'm getting an error when code in a *.jsp file tries to instantiate a class it is not found by the compiler used by Tomcat6. But the documentation says, *WebappX* - A class loader is created for each web application that is deployed in a single Tomcat 6 instance. *All unpacked

Re: Classpath for JSP

2010-04-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Reuven, On 4/26/2010 1:22 PM, Reuven Koblick wrote: I'm getting an error when code in a *.jsp file tries to instantiate a class [that] is not found by the compiler used by Tomcat6. [snip] I verified that the class that was not found is indeed in

Re: Installing Java Advanced Imaging In Tomcat.

2010-04-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Deech, On 4/23/2010 4:31 PM, aditya siram wrote: I know that JAI is installed correctly because a stand-alone app is able to access the required class. Good. You didn't mention your platform, and so a missing native library could have been the

Re: Mod_jk 1.2.26 + tomcat 6.0.26 + apache 2.2.12 not working on ubuntu 'karmic'

2010-04-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Klemens, On 4/23/2010 11:21 AM, Klemens Muthmann wrote: However now I need to make the tomcat applications available over port 80 so I tried to configure mod_jk but it does not work. [...] Currently the configuration looks like: - There is a

Re: Classpath for JSP

2010-04-26 Thread Reuven Koblick
Sure Chris more specifically, from the localhost.*.log An error occurred at line: 21 in the jsp file: /admin/GenerateTriggersManually.jsp The constructor DB_Connection() is undefined 18: body 19: 20: % 21: DB_Connection dbCon = new DB_Connection(); 22: 23: int timeInterval =

Re: Classpath for JSP

2010-04-26 Thread Tobias Crefeld
Am Mon, 26 Apr 2010 13:22:49 -0400 schrieb Reuven Koblick reu...@koblick.com: I verified that the class that was not found is indeed in /WEB-INF/classes. Also, classes in *.jar files in WEB-INF/lib are found. Does anyone have any thoughts or suggestions? Maybe wrong rights for directories or

Re: Classpath for JSP

2010-04-26 Thread Reuven Koblick
Here is the catalina.out file: Apr 25, 2010 3:25:31 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:

Re: Classpath for JSP

2010-04-26 Thread Kris Schneider
On Mon, Apr 26, 2010 at 2:11 PM, Reuven Koblick groovyro...@gmail.com wrote: Sure Chris more specifically, from the localhost.*.log An error occurred at line: 21 in the jsp file: /admin/GenerateTriggersManually.jsp The constructor DB_Connection() is undefined Does DB_Connection actually have

Re: Classpath for JSP

2010-04-26 Thread Harry Metske
Reuven, you say the error is it is not found by the compiler used by Tomcat6, but that is not clear from the JSP compiler output. It says The constructor DB_Connection() is undefined, so Kris's suggestion is right. You could split the statement in a declaration and an assignment to prove it:

development platform for jaxws-based webapps

2010-04-26 Thread Christoph Kukulies
I was experimenting with MyEclipse for a couple of days now to find an efficient way to generate wsdl/jaxws based wep apps. MyEclipse seem promising to me when I was starting with the article http://www.myeclipseide.com/documentation/quickstarts/webservices_jaxws/index.html but later on it

Re: Classpath for JSP

2010-04-26 Thread Reuven Koblick
Harry, I looked at the java class files and verified there is no constructor without arguments. That's good enough for me. You're correct that my error description fell short of the mark. As expected, the compiler output is much more precise than my description. That's probably why Chris Schultz

Re: development platform for jaxws-based webapps

2010-04-26 Thread Mark Eggers
Caveats: I'm normally a systems architect, so I get build architectures or debug performance / crash issues. I've also not built web services by hand. Getting into the middle of an IDE debate starts a religious war similar in intensity to emacs versus vi. All of that said, I just worked

Re: Installing Java Advanced Imaging In Tomcat.

2010-04-26 Thread Stephen Souness
aditya siram aditya.siram at gmail.com writes: Hi all, I am having issues using jai [1] with a Tomcat webapp. I am running the tomcat6 package installed from the Ubuntu repos. The webapp does some image decompression and is unable to detect CLibJpegImageReader which is a class in the

Re: development platform for jaxws-based webapps

2010-04-26 Thread Mark Eggers
Addendum: It looks like the annotation @WebService() does a lot of magic under the covers. This will create some problems with you shut down the service provider. In particular: SEVERE: A web application created a ThreadLocal with key of type [null] (value

Re: Installing Java Advanced Imaging In Tomcat.

2010-04-26 Thread Thad Humphries
That was me, but I had a different problem. (1) I was running Tomcat 6.0.26; and (2) my servlet could find the classes, but the IteratorImageReader returned by ImageIO. getImageReadersByFormatName(tiff) returned false for hasNext(). On Mon, Apr 26, 2010 at 6:49 PM, Stephen Souness