RE: Directory Structure and Can't Find Resources in Tomcat

2006-05-20 Thread Allen Williams
Sorry, it didn't work. Once again, in my browser I have: HTTP Status 404 - /login Type: Status report Message: /login Description: The requested resource (/login) is not available. Apache Tomcat/5.0 * Here is the suggested line directly from my login.jsp: ***

RE: Directory Structure and Can't Find Resources in Tomcat

2006-05-20 Thread Allen Williams
So, I don't need 'action="servlet/login"', like the book I'm using said? Or, don't need 'action="classes/login"', like I might infer? Thanks, I'll do the google you recommend, try it, and be back with you in short order (or maybe tomorrow;-). Thanks again! -Original Message- From: Hassa

Class loading question

2006-05-20 Thread Black Buddha
Hi, I'm having a little class loading difficulty, and after spending quite a few hours playing with it and searching for a solution online I figured I should go ahead and ask if anyone can point out a solution to me. Background: I'm developing on Tomcat 5.517 using JDK1.5. The operating system

Re: Re: error page

2006-05-20 Thread Hassan Schroeder
On 5/20/06, Zohar Amir <[EMAIL PROTECTED]> wrote: JSP2 should display the exception's message. What is this "show friendly (sic) messages" threshold?" ? MS IE will show it's own "friendly" message instead of yours if the page size is less that some threshold value -- I forget exactly how big --

Re: Connecting Apache2.2 with Tomcat 5 using mod_proxy_ajp

2006-05-20 Thread Tabu Isiaka
Hi, I inserted the Location directives in proxy_ajp.conf and when try the url the following error appear in the error_log file: (13)Permission denied: proxy: AJP: attempt to connect to 127.0.0.1:8009 (localhost) failed. Any idea ? - Original Message - From: "Warren Pace" <[EMAIL PROTEC

RE: Re: error page

2006-05-20 Thread Zohar Amir
JSP2 should display the exception's message. What is this "show friendly (sic) messages" threshold?" ? Thanks again, Zohar. > Date: Sat, 20 May 2006 11:25:44 -0700> From: [EMAIL PROTECTED]> To: > users@tomcat.apache.org> Subject: Re: error page> > On 5/18/06, Zohar <[EMAIL > PROTECTED]> wrote

Re: error page

2006-05-20 Thread Hassan Schroeder
On 5/18/06, Zohar <[EMAIL PROTECTED]> wrote: When an exception in thrown in JSP1 it is indeed redirected to JSP2. in JSP2 I've put "System.out.println(exception.getMessage());" and sure enough the exception's message is printed. But what I get as a response to the browser is "HTTP 500". Soun

RE: Re: error page

2006-05-20 Thread Zohar Amir
If anyone has an example I'd love seeing it... > Date: Sat, 20 May 2006 14:05:20 -0400> From: [EMAIL PROTECTED]> To: > users@tomcat.apache.org> Subject: Re: error page> > It could be that the > error page itself is throwing an error. Try using> an ultra-simple error > page.> -- > Len> > On 5/18

RE: Re: error page

2006-05-20 Thread Zohar Amir
all it does is put <%=exception.getMessage()%> I am a bit lost here. The way I set my error page is : errorPage="error.jsp" Should I use errorPage="/error.jsp" instead? Thanks for your reply, Zohar. > Date: Sat, 20 May 2006 14:05:20 -0400> From: [EMAIL PROTECTED]> To: > users@tomcat.apache.

Re: Directory Structure and Can't Find Resources in Tomcat

2006-05-20 Thread Hassan Schroeder
On 5/19/06, Allen Williams <[EMAIL PROTECTED]> wrote: You can't directly address something under WEB-INF; your action should be something like `action="/login"` with a mapping in your web.xml like login UserConfig.login login /login Note: NO "/servlet" in there -- read t

Re: error page

2006-05-20 Thread Len Popp
It could be that the error page itself is throwing an error. Try using an ultra-simple error page. -- Len On 5/18/06, Zohar <[EMAIL PROTECTED]> wrote: No, I've used the "Letting a page define its error page" option. - Original Message - From: "Franck Borel" <[EMAIL PROTECTED]> To: "Tomc

FW: FW: Directory Structure and Can't Find Resources in Tomcat

2006-05-20 Thread Allen Williams
When I do that, I just get this in my browser: *** Type: Status report Message: /smsinfo/ Description: The requested resource (/smsinfo/) is not available. **

RE: Directory Structure and Can't Find Resources in Tomcat

2006-05-20 Thread Allen Williams
The problem with that approach (admittedly valid if all you care about is getting something working) is that I'm doing this for the educational value, and really want to understand how this works and what I'm doing wrong. Actually, for other Java development, I have used Netbeans, and like it. Th

Re: JDBCRealm authentication failing with MD5

2006-05-20 Thread Martin Gainty
Good Morning Rian- I would suggest having a look at and following all of the steps in the JDBC How to tutorial at http://tomcat.apache.org/tomcat-3.3-doc/JDBCRealm-howto.html the important item here is to exercise the basic functionality of generating a digested MD5 password which can be accom

JDBCRealm authentication failing with MD5

2006-05-20 Thread Rian Brand
Hi all I am trying to set up a security realm on Tomcat using JDBCRealm and MD5 encryption. It works perfectly when using plain text, but it fails the moment I switch to a MD5 digest. I have been through the documentation, forums and FAQ's but I am afraid I can not resolve this on my own, so he

Re: Directory Structure and Can't Find Resources in Tomcat

2006-05-20 Thread Gregg Leichtman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Try putting your webapp under: docroot= /usr/share/tomcat5/webapps/ROOT/smsinfo -=> Gregg <=- Mladen Adamovic wrote: > I would suggest you to install and work with Netbeans 5.0. Netbeans > 5.0 have bundled Tomcat which work out of the box. Than yo

Re: Object sharing

2006-05-20 Thread Bruno Georges
Arvind By design I would use an EJB, this way you can also use proper security to comtrol access to your bean. You can access the EJB from any webapps, wether it runs or not on the same server. And you can also expose it as a web service. Using JBoss you will have tomcat out of the box as well a