Re: Why doesn't my classes see the oracle driver?

2002-07-11 Thread Arshad Mahmood
It's probably a class loader issue. As a test pack your classes into a jar and put it in the common\lib directory where classes12.zip is (remove it from classes) and try your app again. Regards. - Original Message - From: Christian J. Dechery [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: Need Ideas... big problem! (long)

2002-07-10 Thread Arshad Mahmood
You can still do this (by using 4.1.7 at least) by declaring all the resources under global resources with different names and then providing a ResourceLink in each context with the generic name you are using to each the appropriate resource. Regards. - Original Message - From: Christian

Re: Need Ideas... big problem! (long)

2002-07-10 Thread Arshad Mahmood
There must me a servlet called somewhere which then hands control over to the helper classes to do the work ? Regards. - Original Message - From: Christian J. Dechery [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 10, 2002 1:10 PM Subject: Re: Need Ideas... big problem!

Re: Need Ideas... big problem! (long)

2002-07-10 Thread Arshad Mahmood
A JSP is a servlet, so you shouldn't need to create another class derived from servlet to do the job. If your call is directly to a servlet, that servlet can use the code for parameter lookup itself as is. Regards. - Original Message - From: Christian J. Dechery [EMAIL PROTECTED] To:

Re: Need Ideas... big problem! (long)

2002-07-10 Thread Arshad Mahmood
- Original Message - From: Arshad Mahmood [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, July 10, 2002 4:12 PM Subject: Re: Need Ideas... big problem! (long) A JSP is a servlet, so you shouldn't need to create another class derived from servlet to do

Re: Need Ideas... big problem! (long)

2002-07-10 Thread Arshad Mahmood
From: Christian J. Dechery [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 10, 2002 6:56 PM Subject: RE: Need Ideas... big problem! (long) But that's exactly what I'm talking about... if doSomething() has to receive parameters, then the answer to my question (like 10 posts ago) is

Re: Big problem 2, the Mission!

2002-07-10 Thread Arshad Mahmood
Hi, Let me see if I understand your problem. You have a JSP that creates business objects, the business object internally used some DAO objects, each DAO object when it performs it's processing calls DAO.getConnection (this happens to take some parameters which I assume are hardwired into

Re: missing return statement error?!??!

2002-07-09 Thread Arshad Mahmood
The compiler is correct, what happens if an exception is raised. It goes to your catch block and writes the debug but then there is no return after that. Maybe you should be re-raising the exception again. Regards. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc:

Re: Need Ideas... big problem! (long)

2002-07-09 Thread Arshad Mahmood
Or even simpler why not store it as a parameter in the server.xml. You will need to add the parameter to each of your contexts in the server.xml as follows:- Context path=/examples docBase=examples .. Parameter name=db.url

Re: Tomcat 4.0.3-HTTP Status 500-Internal Server Error

2002-07-06 Thread Arshad Mahmood
$JspServletWrapper.loadIfNecessary(JspSe rvlet.java:177) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:189) - Original Message - From: Arshad Mahmood [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, July 05, 2002 2:22 PM Subject: Re: Tomcat 4.0.3-HTTP

Re: RequestWrapper question

2002-07-05 Thread Arshad Mahmood
- Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, July 05, 2002 7:30 PM Subject: Re: RequestWrapper question Redisplay of pages with input errors is one of the things that application frameworks like Struts deal

Re: Tomcat 4.0.3-HTTP Status 500-Internal Server Error

2002-07-05 Thread Arshad Mahmood
Because you have put your bean in com.jguru, you need to duplicate this under WEB-INF/classes. Your bean should then reside as WEB-INF/classes/com/jguru/FormBean.class. Regards. - Original Message - From: John and Alicia Scott [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July

Re: Problems with jsp:setProperty

2002-07-03 Thread Arshad Mahmood
I assume you have set a value in your code but you haven't pasted into the message ? - Original Message - From: Mats Palats [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 03, 2002 11:16 AM Subject: Problems with jsp:setProperty I'm unable to use setProperty with any of

Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Arshad Mahmood
Hi, I notice that you are doing the JDBC lookup in the init function. This doesn't appear to work properly (at least on 4.1.6), move the initialisation code to the doGet/doPost and see if that helps. This cured my JNDI/JDBC problems. Regards. - Original Message - From: Przemyslaw

Re: newbie question urgent plz

2002-06-11 Thread Arshad Mahmood
The role needs to be manager not tomcat to use the manager application. Regards, Arshad - Original Message - From: Vikramjit Singh [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, June 11, 2002 1:22 PM Subject: RE: newbie question urgent plz yeah i opened my

Re: newbie question urgent plz

2002-06-11 Thread Arshad Mahmood
PROTECTED] Sent: Tuesday, June 11, 2002 1:48 PM Subject: RE: newbie question urgent plz ok changed the role to manager, now i didnt get that error, but this line FAIL - Unknown command -Original Message- From: Arshad Mahmood [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002

Re: LoadModule Error

2002-06-10 Thread Arshad Mahmood
Hi, Are you sure your version of apache supports dynamic libraries. If you have built it yourself then ensure that you have enabled module 'so'. Regards, Arshad - Original Message - From: P.V.Sankar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 10, 2002 12:52 PM Subject:

Re: Please help me improve my question skills (number of tomcat a pps)

2002-06-10 Thread Arshad Mahmood
Hi, So the question reduces to:- 1. What are the extra memory requirements for a virtual host/context? 2. How much longer does it take to decide on a servlet/jsp to invoke for an extra virtual host/context? From my (limited) understanding of Tomcat, I would say the answer to both of

Help with JNDI Catalina 4 (May 30 build)

2002-06-09 Thread Arshad Mahmood
Hi, I am trying to use JNDI to access some resources.I wonder if someone knows how to use the GlobalNamingResources. Here is a snippet from my server.xml GlobalNamingResources !-- the file based cache for all web applications -- Resource name=rohas/filecache auth=Container

Re: problem..plz help me out

2002-06-09 Thread Arshad Mahmood
Hi, What is in your server.xml. Have you defined a virtual host for puneet, and how have you defined the Context. Send yout server.xml as an attachment and we should be able to see what the problem is. Do you get a response by trying http://localhost:8080/yourcontext/servlet/abc (replace

Re: How can I redirect only JSP pages to Tomcat?

2002-05-18 Thread Arshad Mahmood
Message - From: Arshad Mahmood [EMAIL PROTECTED] To: Tomcat Developers List [EMAIL PROTECTED]; tomcat-user [EMAIL PROTECTED] Sent: Friday, May 17, 2002 10:30 AM Subject: Re: How can I redirect only JSP pages to Tomcat? Which connector are you using, with mod_jk you can simply issue a JkMount

Re: How can I redirect only JSP pages to Tomcat?

2002-05-18 Thread Arshad Mahmood
Which connector are you using, with mod_jk you can simply issue a JkMount /mysite/* ajp13 to forward all requests under /mysite to Tomcat. Regards. - Original Message - From: Luca Ventura [EMAIL PROTECTED] To: tomcat-user [EMAIL PROTECTED]; tomcat-dev [EMAIL PROTECTED] Sent: Friday, May

Help JDBC

2001-09-16 Thread arshad mahmood
Help, I keep getting oracle.jdbc.driver.OracleDriver not found error from a JSP when runing under NT oracle 8.0.5. I have compled and run the java code It works O.K. Is ther a path setting missing ?? I have copied all oracle driver classes to the lib directory.