Re: Tomcat can't find Java Beans

2010-05-07 Thread Pid
On 07/05/2010 17:48, Luís de Sousa wrote: > This is really bad. I just reloaded the application and it started > running properly, Tomcat can now find the bean... I hadn't created the > tomcat6 user yet. > > I believe yesterday, in the midst of all those back and forth e-mails, > I must have fixed

Re: Tomcat can't find Java Beans

2010-05-07 Thread Luís de Sousa
This is really bad. I just reloaded the application and it started running properly, Tomcat can now find the bean... I hadn't created the tomcat6 user yet. I believe yesterday, in the midst of all those back and forth e-mails, I must have fixed something, possibly related to permissions. The way I

RE: Tomcat can't find Java Beans

2010-05-07 Thread Caldarale, Charles R
> From: Luís de Sousa [mailto:luis.a.de.so...@gmail.com] > Subject: Re: Tomcat can't find Java Beans > > I already have Tomcat listening on port 8080. If you want to keep Tomcat on port 8080, you don't need to do anything other than run it under its own userid (and fix

Re: Tomcat can't find Java Beans

2010-05-07 Thread Luís de Sousa
2010/5/6 Luís de Sousa : > On Thu, May 6, 2010 at 5:55 PM, Caldarale, Charles R > wrote: >> >> http://wiki.apache.org/tomcat/HowTo#How_to_run_Tomcat_without_root_privileges.3F >> Hi again, I already have Tomcat listening on port 8080. From what I understand I still have to do run the foo.c progr

Re: Tomcat can't find Java Beans

2010-05-06 Thread Luís de Sousa
On Thu, May 6, 2010 at 5:55 PM, Caldarale, Charles R wrote: > > http://wiki.apache.org/tomcat/HowTo#How_to_run_Tomcat_without_root_privileges.3F > Chuck thanks for the link. I have to go now, let you know tomorrow how it went. Luís ---

RE: Tomcat can't find Java Beans

2010-05-06 Thread Caldarale, Charles R
> From: Luís de Sousa [mailto:luis.a.de.so...@gmail.com] > Subject: Re: Tomcat can't find Java Beans > > I installed Tomcat with the good old "sudo apt-get install" The 3rd-party repackaging of Tomcat often introduce configuration and file placement issues that the

RE: Tomcat can't find Java Beans

2010-05-06 Thread Martin Gainty
t; Date: Thu, 6 May 2010 17:45:56 +0100 > Subject: Re: Tomcat can't find Java Beans > From: luis.a.de.so...@gmail.com > To: users@tomcat.apache.org; p...@pidster.com > > On Thu, May 6, 2010 at 5:33 PM, Pid wrote: > > > > So you've got a mix of ownerships th

Re: Tomcat can't find Java Beans

2010-05-06 Thread Luís de Sousa
On Thu, May 6, 2010 at 5:33 PM, Pid wrote: > > So you've got a mix of ownerships there. > > You installed Tomcat as 'root', but are now running it as 'tomcat6'? > Make sure the whole tomcat installation is owned by the tomcat6 user, if > that's what you're using to start Tomcat. Ok, I don't have

Re: Tomcat can't find Java Beans

2010-05-06 Thread Pid
On 06/05/2010 17:23, Luís de Sousa wrote: > On Thu, May 6, 2010 at 5:17 PM, Pid wrote: >> On 06/05/2010 17:12, Caldarale, Charles R wrote: >> >> I'd like to know what's in the conf/Catalina/localhost directory too please. >> > > Here it goes then. > > Luís > > l...@kohntarkosz:~/tomcat/conf/Cat

Re: Tomcat can't find Java Beans

2010-05-06 Thread Luís de Sousa
On Thu, May 6, 2010 at 5:17 PM, Pid wrote: > On 06/05/2010 17:12, Caldarale, Charles R wrote: > > I'd like to know what's in the conf/Catalina/localhost directory too please. > Here it goes then. Luís l...@kohntarkosz:~/tomcat/conf/Catalina$ ls -la total 12 drwxrwxr-x 3 root tomcat6 4096 2010-0

Re: Tomcat can't find Java Beans

2010-05-06 Thread Luís de Sousa
On Thu, May 6, 2010 at 5:12 PM, Caldarale, Charles R wrote: > > Martin who?  If it was Martin Gainty, be very wary - this is another example > of needing to take all of his suggestions with large chunks of salt.  There > doesn't seem to be any point in having this directory.  Any suggestions >

Re: Tomcat can't find Java Beans

2010-05-06 Thread Pid
On 06/05/2010 17:12, Caldarale, Charles R wrote: >> From: Luís de Sousa [mailto:luis.a.de.so...@gmail.com] >> Subject: Re: Tomcat can't find Java Beans >> >> . default_root -> what Martin sugested to create > > Martin who? If it was Martin Gainty, be ver

RE: Tomcat can't find Java Beans

2010-05-06 Thread Caldarale, Charles R
> From: Luís de Sousa [mailto:luis.a.de.so...@gmail.com] > Subject: Re: Tomcat can't find Java Beans > > . default_root -> what Martin sugested to create Martin who? If it was Martin Gainty, be very wary - this is another example of needing to take all of his suggestions

Re: Tomcat can't find Java Beans

2010-05-06 Thread Luís de Sousa
On Thu, May 6, 2010 at 4:48 PM, Pid wrote: > > So what's in your tomcat/webapps directory currently? > This: l...@kohntarkosz:~/tomcat/webapps$ ls -la total 28 drwxrwxr-x 7 lads tomcat6 4096 2010-05-06 16:53 . drwxr-xr-x 3 root root4096 2010-01-07 17:11 .. drwxr-xr-x 2 lads lads4096 2010

Re: Tomcat can't find Java Beans

2010-05-06 Thread Pid
On 06/05/2010 16:35, Luís de Sousa wrote: > On Thu, May 6, 2010 at 4:26 PM, Pid wrote: >> >> Can you remove all of the comments from your server.xml and post it here? >> > > Sure, > > > > > > > >className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" > /> > > >

Re: Tomcat can't find Java Beans

2010-05-06 Thread Luís de Sousa
On Thu, May 6, 2010 at 4:26 PM, Pid wrote: > > Can you remove all of the comments from your server.xml and post it here? > Sure, - To unsubscribe, e-mai

Re: Tomcat can't find Java Beans

2010-05-06 Thread Pid
(Let's keep it on the list shall we?) On 06/05/2010 16:23, Luís de Sousa wrote: >> package packagename >> public class ExampleServlet extends javax.servlet.http.HttpServlet > > I have no clue where this comes from. Looks like the kind of thing > you'd find in a tutorial, but I haven't created a

Re: Tomcat can't find Java Beans

2010-05-06 Thread Pid
On 06/05/2010 15:19, Luís de Sousa wrote: > On Thu, May 6, 2010 at 3:14 PM, Pid wrote: >>> >>> org.apache.jasper.JasperException: /greeter.jsp(5,10) The value for >> >> Now the contents of the greeter.JSP, please? >> > > Hi again, that was in the link: > > http://www.roseindia.net/ejb/introducti

Re: Tomcat can't find Java Beans

2010-05-06 Thread Luís de Sousa
2010/5/6 Pid : > > The list strips attachments.  Otherwise I wouldn't have need to ask for it. > Oops. Here they go then, sorry for the trouble... catalina.2010-05-06.log 06-May-2010 08:04:17 org.ap

Re: Tomcat can't find Java Beans

2010-05-06 Thread Pid
On 06/05/2010 15:15, Luís de Sousa wrote: > On Thu, May 6, 2010 at 3:11 PM, Pid wrote: >> >> Please post the exact error message and stack trace from the logs. >> > > Hi Pid, please look at the attachments. The list strips attachments. Otherwise I wouldn't have need to ask for it. p signat

Re: Tomcat can't find Java Beans

2010-05-06 Thread Luís de Sousa
On Thu, May 6, 2010 at 3:14 PM, Pid wrote: >> >> org.apache.jasper.JasperException: /greeter.jsp(5,10) The value for > > Now the contents of the greeter.JSP, please? > Hi again, that was in the link: http://www.roseindia.net/ejb/introduction/javabean.shtml //

Re: Tomcat can't find Java Beans

2010-05-06 Thread Luís de Sousa
On Thu, May 6, 2010 at 3:11 PM, Pid wrote: > > Please post the exact error message and stack trace from the logs. > Hi Pid, please look at the attachments. Thanks, Luís - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache

Re: Tomcat can't find Java Beans

2010-05-06 Thread Pid
On 06/05/2010 15:13, Luís de Sousa wrote: > Sorry, here goes the example exception. > > Luís > > org.apache.jasper.JasperException: /greeter.jsp(5,10) The value for Now the contents of the greeter.JSP, please? p > the useBean class attribute ourbeans.greeterbean is invalid. > > org.ap

Re: Tomcat can't find Java Beans

2010-05-06 Thread Luís de Sousa
Sorry, here goes the example exception. Luís org.apache.jasper.JasperException: /greeter.jsp(5,10) The value for the useBean class attribute ourbeans.greeterbean is invalid. org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40) org.apache.jasper.co

Re: Tomcat can't find Java Beans

2010-05-06 Thread Pid
On 06/05/2010 14:54, Luís de Sousa wrote: > Hello everyone, > > Tomcat 6.0.20 on Ubuntu 9.10. I'm trying to deploy simple web > applications that either use beans or servlets. I'm now down to very > simple examples like this one: > > http://www.roseindia.net/ejb/introduction/javabean.shtml > > T

Tomcat can't find Java Beans

2010-05-06 Thread Luís de Sousa
Hello everyone, Tomcat 6.0.20 on Ubuntu 9.10. I'm trying to deploy simple web applications that either use beans or servlets. I'm now down to very simple examples like this one: http://www.roseindia.net/ejb/introduction/javabean.shtml This is basically a html file, a jsp file that deals with a p