java : legacy system for NT and Linux ?

2001-04-03 Thread Joel Cordonnier

Hi

I'm a new user of Tomcat 3.2, and I wonder if someone
now if some free (portable?) legacy system exist ?

Thanks
Joel

___
Do You Yahoo!? -- Pour dialoguer en direct avec vos amis, 
Yahoo! Messenger : http://fr.messenger.yahoo.com



Re: java.lang.ClassCastException: AuthBean

2001-03-15 Thread Joel Cordonnier

Hi!

Why do you say that  it's a ClassCastEXCEPTION ? Hi
habe the same error sometimes when I use tag libraries
in my JSP !

Joel


--- "TAI Wai Wang, Leo" [EMAIL PROTECTED] a crit : 
Hi! Have u tried to test the AuthBean independently?
 Does the bean try to
 cast one object to another object? I think, there
 are some problems in your
 beam when casting. Try to modify the classes
 relationship, eg: one class is
 the superclass of another. It may be helpful.
 
 Leo
 - Original Message -
 From: "Pater Pandoson" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, March 14, 2001 8:40 PM
 Subject: java.lang.ClassCastException: AuthBean
 
 
  I have been writing an app that uses a bean with
 scope "session"
  a user goes to a login page and gives there user
 name and password
  this is send to the authbean and if all is correct
 will set a few values
 
  in the bean, things like there name and type of
 user.
 
  This all works fine.
 
  However when I than try use a page like this
 
  jsp:useBean id="auth" scope="session"
 class="AuthBean" /
  %
  auth.setLogin(request.getParameter("login"));
 
 auth.setPassword(request.getParameter("password"));
 
  auth.auth();
  HttpSession s = request.getSession();
  s.setMaxInactiveInterval(3600);
 
   if(auth.isUser()){
   %
  jsp:include page="WelcomeUser.jsp" flush="true"
 /
   %
   }else if(auth.isCompany()){
   %
  jsp:include page="WelcomeVeryGoodUser.jsp"
 flush="true" /
   %
   }else{
   %
  Go Away!
   %
   }
   %
 
  I get this kind of error.
 
 
  2001-03-14 08:34:15 - Ctx( /TEST ): Exception in:
 R( /TEST +
  /CheckLogin.jsp + null) -
 javax.servlet.ServletException: AuthBean
  at
 

org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
 l.java:459)
 
  at
 

_0002fmenu_0002ejspmenu_jsp_0._jspService(_0002fmenu_0002ejspmenu_jsp_0.java
 :223)
 
  at
 

org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
  at

javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at
 

org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
 va:177)
 
  at
 

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
 
  at
 

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
  at

javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at
 

org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
 
  at

org.apache.tomcat.core.Handler.service(Handler.java:286)
  at
 

org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
  at
 

org.apache.tomcat.facade.RequestDispatcherImpl.include(RequestDispatcherImpl
 .java:345)
 
  at
 

org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:414)
 
  at
 

_0002fPageStart_0002ejspPageStart_jsp_0._jspService(_0002fPageStart_0002ejsp
 PageStart_jsp_0.java:165)
 
  at
 

org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
  at

javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at
 

org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
 va:177)
 
  at
 

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
 
  at
 

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
  at

javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at
 

org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
 
  at

org.apache.tomcat.core.Handler.service(Handler.java:286)
  at
 

org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
  at
 

org.apache.tomcat.facade.RequestDispatcherImpl.include(RequestDispatcherImpl
 .java:345)
 
  at
 

org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:414)
 
  at
 

_0002fWelcomeUser_0002ejspWelcomeUser_jsp_0._jspService(_0002fWelcomeUser_00
 02ejspWelcomeUser_jsp_0.java:138)
 
  at
 

org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
  at

javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at
 

org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
 va:177)
 
  at
 

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
 
  at
 

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
  at

javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at
 

org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
 
  at

org.apache.tomcat.core.Handler.service(Handler.java:286)
  at
 

org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
  at
 

org.apache.tomcat.facade.RequestDispatcherImpl.include(RequestDispatcherImpl
 .java:345)
 
  at
 


Unknown element urn in TLD, taglib, help

2001-03-14 Thread Joel Cordonnier


Hi !

In my application, the JSP pages use tag libraries.
In the tomcat 3.2.1 jasper.log file the is the
WARNING:
Unknown element urn in TLD
What's that ?
Thanks
Joel

___
Do You Yahoo!? -- Pour dialoguer en direct avec vos amis, 
Yahoo! Messenger : http://fr.messenger.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




JSP, beans JRUN and TOMCAT 3.2.1 (embedded JBOSS) HELP

2001-03-13 Thread Joel Cordonnier


Hi!

I have to port an application that run on JRUN to
embedded JOBSS-TOMCAT3.2.1

in my JSP pages i have the following 

%@page
import="de.hyphony.application.ebtf.viewValue.loginPortlet.IVV_vd_login_input"%
jsp:useBean id="view" class="IVV_vd_login_input"
scope="request"/
...


IVV_vd_login_input is an INTERFACE !!!

JRUN compile the JSP page without problem, and TOMCAT
NOT (it's an interface)
IS this portable ?

Thanks
Joel



___
Do You Yahoo!? -- Pour dialoguer en direct avec vos amis, 
Yahoo! Messenger : http://fr.messenger.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RequestDispatcher.include

2001-03-12 Thread Joel Cordonnier


Hi!
I'm a new user of Tomcat 3.2 .

When in my code, i use 
requestDispatcher.include(servletrequest,servletResponse)

this throw an ServletException !? why ??? the
explanation ??

Thanks
Joel


___
Do You Yahoo!? -- Pour dialoguer en direct avec vos amis, 
Yahoo! Messenger : http://fr.messenger.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RequestDispatcher.include, ServletException

2001-03-12 Thread Joel Cordonnier


Hi!
I'm a new user of Tomcat 3.2 .

When in my code, i use 
requestDispatcher.include(servletrequest,servletResponse)

this throw an ServletException !? why ??? the
explanation ??

Thanks
Joel


___
Do You Yahoo!? -- Pour dialoguer en direct avec vos amis, 
Yahoo! Messenger : http://fr.messenger.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




PageContextImpl.handlePageException

2001-03-12 Thread Joel Cordonnier


Hi!
I'm a new user of Tomcat 3.2 .

When in my code, i use 
requestDispatcher.include(servletrequest,servletResponse)

this throw an ServletException !? why ??? the
explanation ??

And at the top of the stack Trace i have:
javax.servlet.ServletException
at
org.apache.jasper.runtime.PageContextImpl.handlepageException

Thanks
Joel




___
Do You Yahoo!? -- Pour dialoguer en direct avec vos amis, 
Yahoo! Messenger : http://fr.messenger.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Problem with Tomcat 3.1 and JDK 1.2.2...

2001-03-12 Thread Joel Cordonnier

Hi!

I have the same error, so what's the problem ?

Thanks
Joel


--- Randy Layman [EMAIL PROTECTED] a
crit:  
   Without seeing your page this is just a guess, but
 I would say that
 you are trying to reference one of the indexes of
 Value without first
 checking if its null.  (i.e. Value[0] or
 Value.length).  I say this because
 the root cause is a NullPointerException.
 
   I know that this does work just fine in Tomcat 3.2
 w/JDK1.2 as I use
 it.
 
   Randy
 
 -Original Message-
 From: Subha Gowri [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, March 08, 2001 12:22 AM
 To: '[EMAIL PROTECTED]'
 Subject: Problem with Tomcat 3.1 and JDK 1.2.2...
 
 
 
 
 Hi All,
 
 We are working on Tomcat 3.1 with JDK 1.2.2. and
 deployed all the .jsp pages
 in Apache server.
 For that we've created a new context in server.xml
 to take the .jsp pages
 from Apache.
 It's working fine. But the problem is multiple
 selection list box in it.
 
 After submitting the page, if I try to get the value
 from the List box
 (multiple) as
 
 String Value[] = request.getParameterValues(name);
 
 it is throwing an exception as,
 




 *
 Error: 500
 Location:
 /cmt/browser/callagent/callagentmainpage.jsp
 Internal Servlet Error:
 javax.servlet.ServletException
   at

org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
 l.java:386)
   at

browser.callagent._0002fbrowser_0002fcallagent_0002fcallagentmainpage_0002ej

spcallagentmainpage_jsp_0._jspService(_0002fbrowser_0002fcallagent_0002fcall
 agentmainpage_0002ejspcallagentmainpage_jsp_0.java,
 Compiled Code)
   at

org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java,
 Compiled Code)
   at

javax.servlet.http.HttpServlet.service(HttpServlet.java,
 Compiled
 Code)
   at

org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja
 va, Compiled Code)
   at

org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java,
 Compiled Code)
   at

org.apache.jasper.runtime.JspServlet.service(JspServlet.java,
 Compiled Code)
   at

javax.servlet.http.HttpServlet.service(HttpServlet.java,
 Compiled
 Code)
   at

org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java,
 Compiled Code)
   at

org.apache.tomcat.core.ContextManager.service(ContextManager.java,
 Compiled
 Code)
   at

org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
 (Ajp12ConnectionHandler.java, Compiled Code)
   at

org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java,
 Compiled Code)
   at java.lang.Thread.run(Thread.java, Compiled Code)
 Root cause: 
 java.lang.NullPointerException
   at

browser.callagent._0002fbrowser_0002fcallagent_0002fcallagentmainpage_0002ej

spcallagentmainpage_jsp_0._jspService(_0002fbrowser_0002fcallagent_0002fcall
 agentmainpage_0002ejspcallagentmainpage_jsp_0.java,
 Compiled Code)
   at

org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java,
 Compiled Code)
   at

javax.servlet.http.HttpServlet.service(HttpServlet.java,
 Compiled
 Code)
   at

org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja
 va, Compiled Code)
   at

org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java,
 Compiled Code)
   at

org.apache.jasper.runtime.JspServlet.service(JspServlet.java,
 Compiled Code)
   at

javax.servlet.http.HttpServlet.service(HttpServlet.java,
 Compiled
 Code)
   at

org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java,
 Compiled Code)
   at

org.apache.tomcat.core.ContextManager.service(ContextManager.java,
 Compiled
 Code)
   at

org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
 (Ajp12ConnectionHandler.java, Compiled Code)
   at

org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java,
 Compiled Code)
   at java.lang.Thread.run(Thread.java, Compiled Code)
 




 *
 
 Note : The same .jsp page is working fine if I use
 tomcat 3.1 and JDK 1.3. 
 
 If any one find the solution for this problem please
 let me know.
 
 Thanks in advance,
 Subha
 
 
 
 . 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, email:
 [EMAIL PROTECTED]
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, email:
 [EMAIL PROTECTED]
 


___
Do You Yahoo!? -- Pour dialoguer 

WEB-INF/lib PLEASE URGENT !

2001-02-08 Thread Joel Cordonnier

Hi!

I use Tomcat 3.2 with Win2k

I deploy an web application under webapps/MyApp. I use
a web.xml under webapps/MyApp/WEB-INF

My main servlet is in webapps/MyApp/MyMainServlet.
It needs some .jar files that I put in
webapps/MyApp/WEB-INF/lib.

BUT the jar files a not found !! it seems that TOmcat
not automatically update the classpath !!!


Thanks
Joel

___
Do You Yahoo!? -- Pour dialoguer en direct avec vos amis, 
Yahoo! Messenger : http://fr.messenger.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RedHat 7 :HANDLER THREAD PROBLEM: java.io.IOException:

2001-01-30 Thread Joel Cordonnier

Hi, 
 I'm installing  "Tomcat  3.2.1" on a Linux RedHat 7 
system running  a  2.2.16  kernel and the "jdk1.3"
Java version. 
 Tomcat in stand-alone mode produces the following
error: 
(I try to connect to
 "http://localhost:8007",  the default settings) 



HANDLER THREAD PROBLEM: java.io.IOException: Stream
brokenjava.io.IOException: Stream broken 
 at
   
org.apache.tomcat.service.connector.AJP12RequestAdapter.readNextRequest(Ajp12ConnectionHandler.java:486)

 at
   
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:147)

...

 Please,  Is there anybody that solved this problem???

 Any idea?? 
 Thanks, 

Joel

___
Do You Yahoo!? -- Pour dialoguer en direct avec vos amis, 
Yahoo! Messenger : http://fr.messenger.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Apache/Tomcat integration, help !

2001-01-30 Thread Joel Cordonnier

Hi!

As a newbie, I try to integrate Tomcat 3.2 with Apache
3.12 under RedHat 7.0. So I need the mod_jk.so shared
library.

But I don't find the mod_jk library in the build
directory of Tomcat 3.1 or 3.2 (under 3.1 there is a
mod_jserv.so, but i such the mod_jk !!!).

nb: I don't want to dowload Apache and build mod_jk
with apxs...

Can someone send me the mod_jk library ? or
give me an address where to dowload ?

Thanks
Joel


___
Do You Yahoo!? -- Pour dialoguer en direct avec vos amis, 
Yahoo! Messenger : http://fr.messenger.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]