Re: Classpath for JSP

2010-04-26 Thread Yucca Nel
10 8:15 PM To: Subject: Re: Classpath for JSP 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 wr

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

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