Re: How to configure "portal driver 2.0"

Paulo César Alvim Ottoni <[email protected]> Wed, 1 Jul 2009 12:26:15 -0300 (BRT)
Newsgroups gmane.comp.jakarta.pluto.user
Message-ID <6729511.6531246461972710.JavaMail.ALVIM-NOTE$@alvim-note>
I think is probably a missing Spring file (I don't know Spring). The PortalStartupListener line is: 

LOG.debug(" [1a] Loading DriverConfiguration. . . "); 
DriverConfiguration driverConfiguration = (DriverConfiguration) 
springContext.getBean("DriverConfiguration"); 



Paulo Alvim 
Diretor de Tecnologia 
Powerlogic SA 
55 (31) 3555-0050 



----- Mensagem original ----- 
De: "Paulo César Alvim Ottoni" <[email protected]> 
Para: [email protected] 
Enviadas: Quarta-feira, 1 de Julho de 2009 12:20:45 (GMT-0300) Auto-Detected 
Assunto: How to configure "portal driver 2.0" 


Hi, 

I'm trying to embed a portlet JSR 268 (2.0) into a simple WAR following the FAQ: 

http://portals.apache.org/pluto/faq.html#simple-embed 

And following the "embedding instructions" for Pluto 2.0: 

http://portals.apache.org/pluto/v20/embedding.html 

But the instruction doesn't inform about how to configure the pluto portal driver (v. 2.0)... So I tried to copy the following JARs to my app WEB-INF/lib : 

- pluto-portal-driver-impl-2.0.0.jar 
- spring-*.jar (the 4 Spring JARs that Pluto 2.0 have in tomcat/lib) 

The app throws an exception in the filter initialized: 

26069 [main] INFO org.apache.pluto.driver.PortalStartupListener - Starting up Pluto Portal Driver. . . 
01/07/2009 12:04:38 org.apache.catalina.core.StandardContext listenerStart 
SEVERE: Exception sending context initialized event to listener instance of class org.apache.pluto.driver.PortalStartupListener 
java.lang.NullPointerException 
at org.apache.pluto.driver.PortalStartupListener.contextInitialized(PortalStartupListener.java:111) 
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830) 
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337) 
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) 
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) 
at org.apache.catalina.core.StandardHost.addChild(StandardHost..java:525) 

Anyone could help me to configure appropriate Pluto Portal Driver JARs in my app? Thanks a lot! 

Paulo Alvim 
Brazil 




Paulo Alvim 
Diretor de Tecnologia 
Powerlogic SA 
55 (31) 3555-0050