Hello,
I just installed the struts 2.0.11.1 sample portlet on WebSphere Portal
Server and added the test portlets to a page, but when I try to view the
portlet, the page displays with "This portlet is temporarirly disabled"
message.

I see the error show below in the logs. I do have     
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener> in the web.xml, not sure why its complaining. 
Does any one have a similar experience on another portal? Or know how to fix
this..or if its a common problem with 2.0.11.1? I tried 2.0.9 and it works
fine.


[4/16/08 15:11:13:093 EDT] 00000038 SystemOut     O 15:11:13,093 FATAL
[org.apache.struts2.spring.StrutsSpringObjectFactory] ********** FATAL ERROR
STARTING UP STRUTS-SPRING INTEGRATION **********
Looks like the Spring listener was not configured for your web app! 
Nothing will work until WebApplicationContextUtils returns a valid
ApplicationContext.
You might need to add the following to web.xml: 
    <listener>
       
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>
[4/16/08 15:11:13:109 EDT] 00000038 ServletWrappe E   SRVE0068E: Uncaught
exception thrown in one of the service methods of the servlet:
StrutsPortlet2. Exception thrown : java.lang.NullPointerException
 at
com.opensymphony.xwork2.spring.SpringObjectFactory.getClassInstance(SpringObjectFactory.java:188)
 at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyResultType(XmlConfigurationProvider.java:479)
 at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addResultTypes(XmlConfigurationProvider.java:450)
 at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:407)
-- 
View this message in context: 
http://www.nabble.com/Struts-2.0.11.1-problem-tp16834674p16834674.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to