Unexpected error forwarding to login page

2004-07-06 Thread David Wilson
Anyone? No responses from last week..

Has anyone see this error message before?

Is this the correct Mailing list to post this on?

I am trying to use FORM based authentication but I am getting an error in
the tomcat console.


When I try to goto my web page
(http://localhost:8080/E3/common/CustomerInq/index.faces) I get a blank
screen.
However, if after getting the blank screen I goto the login page
(http://localhost:8080/E3/login2.jsp) and type in a correct login page then
I will get redirected to the CustomerInq/index.faces page correctly.

Tomcat console error:

Jun 25, 2004 2:51:46 PM org.apache.catalina.authenticator.FormAuthenticator
authenticate
WARNING: Unexpected error forwarding to login page
java.lang.NullPointerException
 at
org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthent
icator.java:214)
 at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:504)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:102)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137
)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117
)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:102)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:109)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
 at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
 at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)
 at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:702)
 at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
 at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:644)
 at java.lang.Thread.run(Thread.java:534)



This is a snippit of my web.xml...
code:

  
  
  Faces Servlet 
  *.faces 
  

 
  
 
resticted
  /common/*
  
  
  user
  
 
 
  FORM
  /login.faces
  /loginerror.jsp
 
 
  user
 




and here is the login from the Orielly JSF book that I am trying to use as a
starting point...
code:



  
    Login
    
  

  
    Please Login
    
  The page you requested is only available to registered users.
  Please enter your username and password and click Login.
    
    
  
    
  Username:
  
    
    
  Password:
  
    
  
    
  
  
    
  




Any ideas are will be greatly appreciated.
-David

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



FW: WARNING: Unexpected error forwarding to login page

2004-06-27 Thread David Wilson
Sorry for the repost.. Formatting got messed up.

Is this the correct Mailing list to post this on?

I am trying to use FORM based authentication but I am getting this error in
the tomcat console...
code:

Jun 25, 2004 2:51:46 PM org.apache.catalina.authenticator.FormAuthenticator
authenticate
WARNING: Unexpected error forwarding to login page
java.lang.NullPointerException
 at
org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthent
icator.java:214)
 at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:504)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:102)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137
)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117
)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:102)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:109)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
 at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
 at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)
 at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:702)
 at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
 at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:644)
 at java.lang.Thread.run(Thread.java:534)

When I try to goto my web page
(http://localhost:8080/E3/common/CustomerInq/index.faces) I get a blank
screen.
However, if after getting the blank screen I goto the login page
(http://localhost:8080/E3/login2.jsp) and type in a correct login page then
I will get redirected to the CustomerInq/index.faces page correctly.

This is a snippit of my web.xml...
code:

  
  
  Faces Servlet 
  *.faces 
  

 
  
 
resticted
  /common/*
  
  
  user
  
 
 
  FORM
  /login2.jsp
  /loginerror.jsp
 
 
  user
 




and here is the login from the Orielly JSF book that I am trying to use as a
starting point...
code:



  
    Login
    
  

  
    Please Login
    
  The page you requested is only available to registered users.
  Please enter your username and password and click Login.
    
    
  
    
  Username:
  
    
    
  Password:
  
    
  
    
  
  
    
  




Any ideas are will be greatly appreciated.
-David

David Wilson
[EMAIL PROTECTED]
Staff Developer
Relevant Business Systems
(Fax) 678-868-1773
 
Please send complaints to /dev/null


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



WARNING: Unexpected error forwarding to login page

2004-06-27 Thread David Wilson
Is this the correct Mailing list to post this on?

 

I am trying to use FORM based authentication but I am getting this error in
the tomcat console...

code:

  _  








 
Jun 25, 2004 2:51:46 PM org.apache.catalina.authenticator.FormAuthenticator
authenticate






 
WARNING: Unexpected error forwarding to login page






 
java.lang.NullPointerException






 
 at
org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthent
icator.java:214)






 
 at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:504)






 
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:102)






 
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)






 
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137
)






 
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)






 
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117
)






 
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:102)






 
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)






 
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:109)






 
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)






 
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)






 
 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)






 
 at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)






 
 at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)






 
 at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:702)






 
 at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)






 
 at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:644)






 
 at java.lang.Thread.run(Thread.java:534)
  _  




When I try to goto my web page
(http://localhost:8080/E3/common/CustomerInq/index.faces) I get a blank
screen.
However, if after getting the blank screen I goto the login page
(http://localhost:8080/E3/login2.jsp) and type in a correct login page then
I will get redirected to the CustomerInq/index.faces page correctly.

 

This is a snippit of my web.xml...

code:

  _  








 
  






 
  






 
  Faces Servlet 






 
  *.faces 






 
  






 
 






 
 






 
  






 
 
resticted






 
  /common/*






 
  






 
  






 
  






 
  user






 
  






 
 






 
 






 
 






 
  FORM






 
  /login2.jsp






 
  /loginerror.jsp






 
 






 
 






 
 






 
  user






 
 






 

  _  




and here is the login from the Orielly JSF book that I am trying to use as a
starting point...

code:

  _  








 







 
  






 
Login






 







 
  






 
  






 
Please Login






 







 
  The page you requested is only available to registered users.






 
  Please enter your username and password and click Login.






 







 







 
  






 







 
  Username:






 
  






 







 







 
  Password:






 
  






 







 
  






 







 
  






 
  






 







 
  






 

  _  




Any ideas are will be greatly appreciated.

-David

BM_01 

 



David Wilson

[EMAIL PROTECTED]

Staff Developer

Relevant Business Systems

(Fax) 678-868-1773

 

Please send complaints to /dev/null



 



FW: Apache + Tomcat forwarding with Tomcat on diff port # than 8080

2002-02-21 Thread David Wilson

Sorry forgot to say what versions I am running...

Apache 1.3.20
Tomcat 3.3

On Solaris 7

-Original Message-
From: David Wilson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 21, 2002 1:23 PM
To: Tomcat Users List
Subject: Apache + Tomcat forwarding with Tomcat on diff port # than 8080


Can anyone direct me in the proper direction?

I need to have Apache forward the requests to Tomcat via mod_jk but I need
Tomcat to be on a port other than 8080. Yes I have it working on port 8080
right now so I know the basic config. is correct.

Thanks in advance,
David

***
David Wilson
Software Engineer
([EMAIL PROTECTED])

Revenue Technologies
219 Perimeter Center Parkway, Suite 400
Atlanta, GA 30346, USA
770-551-0700, Ext. 239

"Servers will be shut down at noon. Please
send all complaints to /dev/null"
***


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Apache + Tomcat forwarding with Tomcat on diff port # than 8080

2002-02-21 Thread David Wilson

Can anyone direct me in the proper direction?

I need to have Apache forward the requests to Tomcat via mod_jk but I need
Tomcat to be on a port other than 8080. Yes I have it working on port 8080
right now so I know the basic config. is correct.

Thanks in advance,
David

***
David Wilson
Software Engineer
([EMAIL PROTECTED])

Revenue Technologies
219 Perimeter Center Parkway, Suite 400
Atlanta, GA 30346, USA
770-551-0700, Ext. 239

"Servers will be shut down at noon. Please
send all complaints to /dev/null"
***


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Mod_Jk and Multiple Tomcats

2001-11-15 Thread David Wilson

Does anyone know how to do the following:

For testing purposes we want to have one Apache running and use multiple
Tomcats. We are using mod_jk and I can only find information on multiple
tomcats via JServ. But you cannot use jserv and mod_jk at the same time. Can
I do this with mod_jk?


We are running Apache 1.3 and Tomcat 4.0.1

Oh and if anyone asked me any questions over the last week on this users
group I didn't get it b/c of email problems.

Thx,
David


--
To unsubscribe:   
For additional commands: 
Troubles with the list: