P, :)
This is a new compoment. I have this in my web.xml
<web-app version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<context-param>
<param-name>org.nanocontainer.integrationkit.ContainerComposer</param-name>
<!--<param-value>org.nanocontainer.nanowar.ScopedContainerComposer</param-value>-->
<param-value>com.kiala.kweb.dspextranet.util.setup.PicoComposer</param-value>
</context-param>
<!--
<context-param>
<param-name>org.nanocontainer.integrationkit.ContainerComposer.configuration</param-name>
<param-value>/WEB-INF/classes/nanowar.xml</param-value>
</context-param>
-->
<context-param>
<param-name>sitemesh.configfile</param-name>
<param-value>/WEB-INF/classes/sitemesh.xml</param-value>
</context-param>
<context-param>
<param-name>net.incongru.beantag.Options</param-name>
<param-value>/WEB-INF/classes/beandisplaytag.properties</param-value>
</context-param>
<servlet>
<servlet-name>JspSupportServlet</servlet-name>
<servlet-class>com.opensymphony.webwork.views.JspSupportServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<listener>
<listener-class>org.nanocontainer.nanowar.ServletContainerListener</listener-class>
</listener>
<filter>
<filter-name>NanoWar</filter-name>
<filter-class>org.nanocontainer.nanowar.ServletRequestContainerFilter</filter-class>
</filter>
<filter>
<filter-name>NanoWar-WebWork2</filter-name>
<filter-class>org.nanocontainer.nanowar.webwork2.PicoObjectFactoryFilter</filter-class>
</filter>
<filter>
<filter-name>pico-delegate-login</filter-name>
<filter-class>org.nanocontainer.nanowar.ServletContainerProxyFilter</filter-class>
<init-param>
<param-name>delegate-class</param-name>
<param-value>net.incongru.berkano.security.seraph.filter.BerkanoLoginFilter</param-value>
</init-param>
<init-param><!-- todo : check best value for this one -->
<param-name>init-type</param-name>
<param-value>never</param-value>
</init-param>
</filter>
<filter>
<filter-name>pico-delegate-security</filter-name>
<filter-class>org.nanocontainer.nanowar.ServletContainerProxyFilter</filter-class>
<init-param>
<param-name>delegate-class</param-name>
<param-value>net.incongru.berkano.security.seraph.filter.BerkanoSecurityFilter</param-value>
</init-param>
<init-param><!-- todo : check best value for this one -->
<param-value>context</param-value>
</init-param>
</filter>
<filter>
<filter-name>webwork-cleanup</filter-name>
<filter-class>com.opensymphony.webwork.dispatcher.ActionContextCleanUp</filter-class>
</filter>
<filter>
<filter-name>sitemesh</filter-name>
<filter-class>com.opensymphony.module.sitemesh.filter.PageFilter</filter-class>
</filter>
<!--
<filter>
<filter-name>DisplayTagResponseOverrideFilter</filter-name>
<filter-class>org.displaytag.filter.ResponseOverrideFilter</filter-class>
</filter>
-->
<filter>
<filter-name>webwork</filter-name>
<filter-class>com.opensymphony.webwork.dispatcher.FilterDispatcher</filter-class>
</filter>
<filter-mapping>
<filter-name>NanoWar</filter-name>
<url-pattern>*.action</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>NanoWar-WebWork2</filter-name>
<url-pattern>*.action</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>pico-delegate-login</filter-name>
<url-pattern>*.action</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>pico-delegate-security</filter-name>
<url-pattern>*.action</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>webwork-cleanup</filter-name>
<url-pattern>*.action</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>sitemesh</filter-name>
<url-pattern>*.action</url-pattern>
</filter-mapping>
<!--
<filter-mapping>
<filter-name>DisplayTagResponseOverrideFilter</filter-name>
<servlet-name>webwork</servlet-name>
</filter-mapping>
-->
<filter-mapping>
<filter-name>webwork</filter-name>
<url-pattern>*.action</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>velocity</servlet-name>
<servlet-class>com.opensymphony.webwork.views.velocity.WebWorkVelocityServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>logout</servlet-name>
<servlet-class>com.atlassian.seraph.logout.LogoutServlet</servlet-class>
</servlet><param-name>init-type</param-name>
<!--
<servlet-mapping>
<servlet-name>velocity</servlet-name>
<url-pattern>*.vm</url-pattern>
</servlet-mapping>
-->
<servlet-mapping>
<servlet-name>logout</servlet-name>
<url-pattern>/logout</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>default.action</welcome-file>
</welcome-file-list>
<!--
<jsp-config>
<taglib>
<taglib-uri>displaytag-custom</taglib-uri>
<taglib-location>/WEB-INF/tld/displaytag-custom.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>template</taglib-uri>
<taglib-location>/WEB-INF/tld/template.tld</taglib-location>
</taglib>
</jsp-config>
-->
<resource-ref>
<description>db connection for berkano</description>
<res-ref-name>jdbc/dspExtranetDS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</web-app>
There is no UserDatabaseRealm config file.
W.
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]
--
(o_ Wesley Hof | System Engineer
//\ Kiala NV | Louizalaan 149/28 (Brussels/BE)
V_/_ Tel +32 2 541 1839 - http://www.kiala.com
*DISCLAIMER*
This e-mail (including any attachments) may contain information which is
privileged or confidential or constitute non-public information.It is to be
conveyed only to the intended recipient(s).If you received this e-mail in
error, please notify the sender immediately by e-mail or telephone and delete
the e-mail from your system without reading, copying or disclosing its contents
to any other person.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]