Re: EE application server

2010-04-26 Thread Bob Hall
Navid, --- On Tue, 4/27/10 at 12:38 AM, Navid Esfahani wrote: I want to know is this possible to use apache tomcat application server for Enterprise Application(EAR)?   No. Is there two version for web-server and EE applications server? No. how can I download EE application server? http

EE application server

2010-04-26 Thread Navid Esfahani
Hi, I want to know is this possible to use apache tomcat application server for Enterprise Application(EAR)? I downloaded "apache-tomcat-6.0.26" and O cannot use this in netbeans for EJB or EAR projects. Is there two version for web-server and EE applications server? If yes, h

Re: Classpath for JSP

2010-04-26 Thread Yucca Nel
Try ensuring that no conflicts from duplicate libs in WEB-INF/lib sometimes libs are already provided by container and container will not be able to resolve which of the libs to use. -- From: "Tobias Crefeld" Sent: Monday, April 26, 2010 8:15 PM

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 Iterator returned by ImageIO. getImageReadersByFormatName("tiff") returned false for hasNext(). On Mon, Apr 26, 2010 at 6:49 PM, Stephen Souness wrote: > ... > > I thi

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 [org.glassfish.gmbal.generic.operatio

Re: Installing Java Advanced Imaging In Tomcat.

2010-04-26 Thread Stephen Souness
aditya siram 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 jai_imagei

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 throu

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 a

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 turne

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 i

Re: Classpath for JSP

2010-04-26 Thread Kris Schneider
On Mon, Apr 26, 2010 at 2:11 PM, Reuven Koblick 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 a no-arg constru

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: /home/reuven/sp00/jre1.6.0_18/lib/i386/serv

Re: Classpath for JSP

2010-04-26 Thread Tobias Crefeld
Am Mon, 26 Apr 2010 13:22:49 -0400 schrieb Reuven Koblick : > 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 files in the cla

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: 19: 20: <% 21: DB_Connection dbCon = new DB_Connection(); 22: 23: int timeInterval = 1; 24

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

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 pr

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

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 cla

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 an

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

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 (Proxy

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 a

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 JkMou

Re: Multiple catalina bases and monitoring each instance

2010-04-26 Thread Leon Rosenberg
On Fri, Apr 23, 2010 at 7:54 PM, Ziggy 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 monitoring fr