You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-user@portals.apache.org by "Wang, XD (Xiao)" <X....@dl.ac.uk> on 2004/07/27 14:29:51 UTC

Installation Exception

Hi, there

I am tryinmg to use wsrp4j to develop some portlets. I encounted an
exception when installing wsrp4j. 

The exception happened when running install-provider-pluto.sh. 

The message are as below, any comment is high appreciated.

Thanks.

Xiao 


-------------------------------
Dr. Xiao Dong Wang 
e-Science Centre        
Daresbury Laboratory
Keckwick Lane
Warrington, WA4 4AD
UK

email: x.d.wang@dl.ac.uk
Tel:   +44 (0) 1925 603821
-------------------------------



The Installation message: 

[xiw@grid13 build]$ ./install-provider-pluto.sh 
Buildfile: build.xml

install-provider-pluto:

setup.check1:

setup.check2:

setup.tomcat:

uninstall:
Deleting directory /home/xiw/wsrp4j/jakarta-tomcat-5.0.14/webapps/wsrp

Compiling Project...

prepare:

compiler.classic:

compiler.eclipse:

compile:

build:

Installing Pluto Provider...

load-properties:

prepare-producer:
Created dir: /home/xiw/wsrp4j/jakarta-tomcat-5.0.14/webapps/wsrp
Copying 13 files to /home/xiw/wsrp4j/jakarta-tomcat-5.0.14/webapps/wsrp
Copied 3 empty directories to
/home/xiw/wsrp4j/jakarta-tomcat-5.0.14/webapps/wsrp
Created dir: /home/xiw/wsrp4j/jakarta-tomcat-5.0.14/webapps/wsrp/WEB-INF/lib
Copying 10 files to
/home/xiw/wsrp4j/jakarta-tomcat-5.0.14/webapps/wsrp/WEB-INF/lib
Copying 1 file to /home/xiw/wsrp4j/jakarta-tomcat-5.0.14/webapps

prepare-provider-pluto:
Copying 13 files to /home/xiw/wsrp4j/jakarta-tomcat-5.0.14/webapps/wsrp
Copying 1 file to
/home/xiw/wsrp4j/jakarta-tomcat-5.0.14/webapps/wsrp/WEB-INF/lib

****************************************************************************
***
Installation successfully finished 
****************************************************************************
***
        

Deploying portlets...

load-properties:

undeploy_portlets:

set.target.tomcat:

UnDeployPortlet.foreach:
Deleting directory /home/xiw/wsrp4j/jakarta-tomcat-5.0.14/webapps/wsrptest

set.target.tomcat:

UnDeployPortlet.foreach:
Deleting directory
/home/xiw/wsrp4j/jakarta-tomcat-5.0.14/webapps/proxyportlet

load-properties:

prepare:

compiler.classic:

compiler.eclipse:

compile:

build:

proxyportlet.prepareWAR:

build_portlets:

BuildPortlet:

check.war.property:

check.jar.property:

init:

env:
Portlet Application ../portlets/wsrptest ...

compile:

build.jar:

build.war:

build:

BuildPortlet:

check.war.property:

check.jar.property:

init:

env:
Portlet Application ../portlets/proxyportlet ...

compile:

build.jar:

build.war:

build:

deploy_portlets:

DeployPortlet.foreach:

set.target.tomcat:

set.target.webapp:

DeployPortlet.intern:
deploying 'wsrptest' ...
finished!
prepare web archive 'wsrptest' ...
finished!

proxyportlet.set.logger:

DeployPortlet.foreach:

set.target.tomcat:

set.target.webapp:

DeployPortlet.intern:
deploying 'proxyportlet' ...
finished!
prepare web archive 'proxyportlet' ...
CASTOR-Exception: org.exolab.castor.mapping.MappingException: Nested error:
java.io.FileNotFoundException:
/home/xiw/wsrp4j/jakarta-tomcat-5.0.14/webapps/pluto/WEB-INF/data/xml/portle
tdefinitionmapping.xml (No such file or directory)
java.io.IOException: Failed to load mapping file
/home/xiw/wsrp4j/jakarta-tomcat-5.0.14/webapps/pluto/WEB-INF/data/xml/portle
tdefinitionmapping.xml
        at
org.apache.pluto.portalImpl.Deploy.prepareWebArchive(Deploy.java:140)
        at org.apache.pluto.portalImpl.Deploy.main(Deploy.java:487)

proxyportlet.set.logger:

BUILD SUCCESSFUL
Total time: 7 seconds


Re: Installation Exception

Posted by Matthew Carey <ma...@ssl.co.uk>.
This looks like the same problem that I had and put in a bug report
  about.

http://nagoya.apache.org/jira/browse/WSRP4J-20

Julie MacNaught suggested the following which I recall worked.

 >Comment by Julie MacNaught [14/Jun/04 10:31 AM] [ Permlink ]
 >You need to fix the build.properties file. It probably has the value 
 >"pluto" for the webapp name. Change it to "wsrp".

There are 3 of these files.

./build/build.properties
./portlets/wsrptest/build.properties
./portlets/proxyportlet/build.properties

It is probably the middle one you need to edit.


Wang, XD (Xiao) wrote:
> Hi, there
> 
> I am tryinmg to use wsrp4j to develop some portlets. I encounted an
> exception when installing wsrp4j. 
> 
> The exception happened when running install-provider-pluto.sh. 
> 
> The message are as below, any comment is high appreciated.
> 
> Thanks.
> 
> Xiao 
> 
> 
> -------------------------------
> Dr. Xiao Dong Wang 
> e-Science Centre        
> Daresbury Laboratory
> Keckwick Lane
> Warrington, WA4 4AD
> UK
> 
> email: x.d.wang@dl.ac.uk
> Tel:   +44 (0) 1925 603821
> -------------------------------
> 
> 
> 
> The Installation message: 
> 
> [xiw@grid13 build]$ ./install-provider-pluto.sh 
> Buildfile: build.xml
> 
> install-provider-pluto:
> 
> setup.check1:
> 
> setup.check2:
> 
> setup.tomcat:
> 
> uninstall:
> Deleting directory /home/xiw/wsrp4j/jakarta-tomcat-5.0.14/webapps/wsrp
> 
> Compiling Project...
> 
> prepare:
> 
> compiler.classic:
> 
> compiler.eclipse:
> 
> compile:
> 
> build:
> 
> Installing Pluto Provider...
> 
> load-properties:
> 
> prepare-producer:
> Created dir: /home/xiw/wsrp4j/jakarta-tomcat-5.0.14/webapps/wsrp
> Copying 13 files to /home/xiw/wsrp4j/jakarta-tomcat-5.0.14/webapps/wsrp
> Copied 3 empty directories to
> /home/xiw/wsrp4j/jakarta-tomcat-5.0.14/webapps/wsrp
> Created dir: /home/xiw/wsrp4j/jakarta-tomcat-5.0.14/webapps/wsrp/WEB-INF/lib
> Copying 10 files to
> /home/xiw/wsrp4j/jakarta-tomcat-5.0.14/webapps/wsrp/WEB-INF/lib
> Copying 1 file to /home/xiw/wsrp4j/jakarta-tomcat-5.0.14/webapps
> 
> prepare-provider-pluto:
> Copying 13 files to /home/xiw/wsrp4j/jakarta-tomcat-5.0.14/webapps/wsrp
> Copying 1 file to
> /home/xiw/wsrp4j/jakarta-tomcat-5.0.14/webapps/wsrp/WEB-INF/lib
> 
> ****************************************************************************
> ***
> Installation successfully finished 
> ****************************************************************************
> ***
>         
> 
> Deploying portlets...
> 
> load-properties:
> 
> undeploy_portlets:
> 
> set.target.tomcat:
> 
> UnDeployPortlet.foreach:
> Deleting directory /home/xiw/wsrp4j/jakarta-tomcat-5.0.14/webapps/wsrptest
> 
> set.target.tomcat:
> 
> UnDeployPortlet.foreach:
> Deleting directory
> /home/xiw/wsrp4j/jakarta-tomcat-5.0.14/webapps/proxyportlet
> 
> load-properties:
> 
> prepare:
> 
> compiler.classic:
> 
> compiler.eclipse:
> 
> compile:
> 
> build:
> 
> proxyportlet.prepareWAR:
> 
> build_portlets:
> 
> BuildPortlet:
> 
> check.war.property:
> 
> check.jar.property:
> 
> init:
> 
> env:
> Portlet Application ../portlets/wsrptest ...
> 
> compile:
> 
> build.jar:
> 
> build.war:
> 
> build:
> 
> BuildPortlet:
> 
> check.war.property:
> 
> check.jar.property:
> 
> init:
> 
> env:
> Portlet Application ../portlets/proxyportlet ...
> 
> compile:
> 
> build.jar:
> 
> build.war:
> 
> build:
> 
> deploy_portlets:
> 
> DeployPortlet.foreach:
> 
> set.target.tomcat:
> 
> set.target.webapp:
> 
> DeployPortlet.intern:
> deploying 'wsrptest' ...
> finished!
> prepare web archive 'wsrptest' ...
> finished!
> 
> proxyportlet.set.logger:
> 
> DeployPortlet.foreach:
> 
> set.target.tomcat:
> 
> set.target.webapp:
> 
> DeployPortlet.intern:
> deploying 'proxyportlet' ...
> finished!
> prepare web archive 'proxyportlet' ...
> CASTOR-Exception: org.exolab.castor.mapping.MappingException: Nested error:
> java.io.FileNotFoundException:
> /home/xiw/wsrp4j/jakarta-tomcat-5.0.14/webapps/pluto/WEB-INF/data/xml/portle
> tdefinitionmapping.xml (No such file or directory)
> java.io.IOException: Failed to load mapping file
> /home/xiw/wsrp4j/jakarta-tomcat-5.0.14/webapps/pluto/WEB-INF/data/xml/portle
> tdefinitionmapping.xml
>         at
> org.apache.pluto.portalImpl.Deploy.prepareWebArchive(Deploy.java:140)
>         at org.apache.pluto.portalImpl.Deploy.main(Deploy.java:487)
> 
> proxyportlet.set.logger:
> 
> BUILD SUCCESSFUL
> Total time: 7 seconds