Fabrice Dewasmes wrote:
Fabrice Dewasmes a écrit :

David Sean Taylor a écrit :

Fabrice Dewasmes wrote:

Hi,

I've built and installed fusion following instructions on the wiki (http://wiki.apache.org/portals/Jetspeed2/Fusion) and using latest from CVS. It seems to work fine but when I drop a war or exploded webapp into WEB-INF/deploy directory, I don't see anything happening in the logs and the portlet does not appear in portlet list when I want to add a portlet to a page. The JSR 168 portlets I tried to deploy were struts-demo and RSS demo taken from js2.

Is there something special to do to deploy the portlets ?

Check your log files.
There must be something going wrong .

Did you run this target in a different shell to start the J2 database?:

maven db.fusion.start


David,

thanks for your kind reply. the database is started using the db.fusion.start goal in fusion subdirectory. Tomcat logs at startup seems OK :

Starting Up Fusion Service
APP ROOT = /usr/java/jakarta-tomcat-5.0.28/webapps/jetspeed/
PROP FILE = /usr/java/jakarta-tomcat-5.0.28/webapps/jetspeed/WEB-INF/conf/fusion.properties


JNDI System Property flag null
INFO: Using PDEF NAME portlet_definition
INFO: Using PAPP NAME portlet_application
INFO: Deployment server port: 8080
INFO: Deployment server: localhost
INFO: Starting auto deployment service: org.apache.jetspeed.deployment.impl.StandardDeploymentManager
INFO: Deployment scanning delay: 10000
INFO: Deployment staging directory: /usr/java/jakarta-tomcat-5.0.28/webapps/jetspeed/WEB-INF/deploy
INFO: Deployment scanner successfuly started!
Fusion Service: Initialization Done


however when I put struts-demo.war in WEB-INF/deploy nothing happens either in the logs and in portlet listing.

What could be the error ?


OK I found the problem :

first : it seems that even if you set in ~/build.properties the following line

org.apache.jetspeed.catalina.version.major=5

it is not used correctly to generate fusion.properties file located in WEB-INF/conf of jetspeed. So i've correctly put the property directly in fusion.properties.

Sounds like Fusion is out of sync with the Jetspeed properties for Tomcat 5. I 'll try to get that fixed.
I also came across that when retesting Fusion yesterday against Tomcat 5


second : the JSR 168 apps must be deployed not as a war file but must be exploded. Then everything works fine !

Hmm, that shouldn't be necessary.

--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194

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



Reply via email to