Enable a RequestDumperValve so you can see what WorldPay is doing when it hits your URL.

http://tomcat.apache.org/tomcat-5.0-doc/config/valve.html#Request%20Dumper %20Valve


Has the system worked with this configuration before, or is this a new component?


What have you got configured in the UserDatabaseRealm file?
Have you made sure the Roles are defined in the web.xml file?


p




Wayne Gemmell wrote:
Sorry for the shameless bump. Was this question badly phrased, too
easy, incomplete, etc? I've been battling for days on this, asked local
lugs and the irc channel with no response. This is a system that I've
inherited and I've never worked with Tomcat or any other J2EE stuff
before and I am getting very dispondent about the whole thing. Any
constructive advice will be appreciated.

Regards
Wayne






On Wed, 24 Jan 2007 16:12:01 +0200
Wayne Gemmell <[EMAIL PROTECTED]> wrote:

Hi all

I'm running tomcat 5.0.30-9 with java 1.5.0_06-b05 on ubuntu
Dapper.
I am trying to receive a callback from worldpay in my application but
this seems to break the session causing an authentication failure when
worldpay initiates the callback.

Here is the dump of the error :
2007/01/24 01:56:57 org.apache.coyote.tomcat5.CoyoteAdapter service
SEVERE: An exception or error occurred in the container during the
request processing java.lang.NullPointerException
        at
org.apache.catalina.realm.UserDatabaseRealm.authenticate(UserDatabaseRealm.java:156)
at
org.apache.catalina.authenticator.BasicAuthenticator.authenticate(BasicAuthenticator.java:129)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.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(StandardValveContext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.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(StandardValveContext.java:104)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
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.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)

Any ideas what I'm doing wrong or what I can do to fix it?

Regards
Wayne Gemmell

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to