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 Muhammad Kashif <mk...@clickmarks.com> on 2004/03/09 15:31:11 UTC

can't able to deploy

Hi All,
 
I need help to install wsrp4j
 
I am using:
1) platform is windows XP
2) jdk1.3.1 
3) tomcat 5.1
 
I provide above tomcat path but it throws error during provider
installation. I don't know that why it goes to :
D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF....
 
 
EROR is
=======
prepare web archive 'proxyportlet' ...
CASTOR-Exception: org.exolab.castor.mapping.MappingException: Nested
error: java
.io.FileNotFoundException:
D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF\d
ata\xml\portletdefinitionmapping.xml (The system cannot find the path
specified)
 
 
 
Detail is following
===============
 
 
i)  I changed my working dir. To following & first install consumer
=============================================
E:\WSRP4j\ws-wsrp4j\build>build install-swing-consumer
 
This part of build is successfully done & shows following message in
last
=================================================
 
BUILD SUCCESSFUL
Total time: 3 seconds
 
 
 
ii) than I try to install provider (the cmd echo is following)
=======================================
E:\WSRP4j\ws-wsrp4j\build>build install-provider-pluto
Buildfile: build.xml
 
install-provider-pluto:
 
create-new-prop-file:
 
setup.ask.home:
Please enter the directory of Tomcat (e.g. C:/Tomcat-4.1):
E:\Tomcat 5.0
 
setup.check1:
 
setup.check2:
 
setup.tomcat:
 
setup.ask.port:
Please enter the port number of the Tomcat Http-Connector(Default 8080):
8080
 
setup.port:
 
uninstall:
Deleting directory E:\Tomcat 5.0\webapps\wsrp
 
Compiling Project...
 
prepare:
 
compiler.classic:
 
compiler.eclipse:
 
compile:
 
build:
 
Installing Pluto Provider...
 
load-properties:
 
prepare-producer:
Created dir: E:\Tomcat 5.0\webapps\wsrp
Copying 17 files to E:\Tomcat 5.0\webapps\wsrp
Created dir: E:\Tomcat 5.0\webapps\wsrp\WEB-INF\lib
Copying 10 files to E:\Tomcat 5.0\webapps\wsrp\WEB-INF\lib
Copying 1 file to E:\Tomcat 5.0\webapps
 
prepare-provider-pluto:
Copying 13 files to E:\Tomcat 5.0\webapps\wsrp
Copying 1 file to E:\Tomcat 5.0\webapps\wsrp\WEB-INF\lib
 
************************************************************************
*******
Installation successfully finished
************************************************************************
*******
 
 
Deploying portlets...
 
load-properties:
 
undeploy_portlets:
 
set.target.tomcat:
 
UnDeployPortlet.foreach:
 
set.target.tomcat:
 
UnDeployPortlet.foreach:
 
load-properties:
 
prepare:
 
compiler.classic:
 
compiler.eclipse:
 
compile:
 
build:
 
proxyportlet.prepareWAR:
 
build_portlets:
 
BuildPortlet:
 
init:
 
env:
Portlet Application ../portlets/proxyportlet ...
 
compile:
 
build.jar:
 
build.war:
 
build:
 
BuildPortlet:
 
init:
 
env:
Portlet Application ../portlets/wsrptest ...
 
compile:
 
build.jar:
 
build.war:
 
build:
 
deploy_portlets:
 
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:
D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF\d
ata\xml\portletdefinitionmapping.xml (The system cannot find the path
specified)
 
java.io.IOException: Failed to load mapping file
D:/Apache/Tomcat4.1.24-wsrp4j/w
ebapps\pluto\WEB-INF\data\xml\portletdefinitionmapping.xml
        at
org.apache.pluto.portalImpl.Deploy.prepareWebArchive(Deploy.java:179)
 
        at org.apache.pluto.portalImpl.Deploy.main(Deploy.java:517)
 
 
 
proxyportlet.set.logger:
 
DeployPortlet.foreach:
 
set.target.tomcat:
 
set.target.webapp:
 
DeployPortlet.intern:
deploying 'wsrptest' ...
finished!
prepare web archive 'wsrptest' ...
CASTOR-Exception: org.exolab.castor.mapping.MappingException: Nested
error: java
.io.FileNotFoundException: E:Tomcat
5.0\webapps\wsrp\WEB-INF\data\xml\portletdef
initionmapping.xml (The system cannot find the path specified)
java.io.IOException: Failed to load mapping file E:Tomcat
5.0/webapps\wsrp\WEB-I
NF\data\xml\portletdefinitionmapping.xml
        at
org.apache.pluto.portalImpl.Deploy.prepareWebArchive(Deploy.java:179)
 
        at org.apache.pluto.portalImpl.Deploy.main(Deploy.java:517)
 
 
 
proxyportlet.set.logger:
 
BUILD SUCCESSFUL
Total time: 35 seconds
E:\WSRP4j\ws-wsrp4j\build>build install-provider-pluto
 
 
 
 
3) if All above is ok, means it succesfull (only portlet deployment
throws errror), than why it throws error on starting consumer
========================================================================
============ 
i)                    I check tunnel.bat (ports are ok)
ii)                   Than I run run.bat from /driver/swingconsumer dir.
 
Than I got following on cmd
=====================
 
 
E:\WSRP4j\ws-wsrp4j\driver\SwingConsumer>call setcpath.bat
 
E:\WSRP4j\ws-wsrp4j\driver\SwingConsumer>echo off
 
E:\WSRP4j\ws-wsrp4j\driver\SwingConsumer>set CLASSPATH
classpath=.;.\classes\;.\lib\wsrp4j-consumer-0.3.jar;.\lib\wsrp4j-swing-
consumer
-0.3.jar;.\lib\wsrp4j-shared-0.3.jar;.\lib\log4j.jar;.\lib\axis.jar;.\li
b\jaxrpc
.jar;.\lib\tt-bytecode.jar;.\lib\saaj.jar;.\lib\commons-discovery.jar;.\
lib\cast
or-0.9.4.1-xml.jar;.\lib\commons-logging.jar;.\lib\xml-apis-2.5.0.jar;.\
lib\xerc
esImpl-2.5.0.jar
usage: run.bat [ProxyHost] [ProxyPort]
 
E:\WSRP4j\ws-wsrp4j\driver\SwingConsumer>java -DproxyHost=localhost
-DproxyPort=
80 org.apache.wsrp4j.consumer.app.driver.SwingConsumer
Restored portlet :1_0.2
Restored portlet :1_99.1
Restored portlet :1_0.1
Restored portlet :1_99.2
Portleinstance key 192.168.4.27_1078842132861_1
[INFO] Markup of portlet :99.1
<table><tr><td bgcolor='#0000bb'><font color='white'><b>No title
available! - 1_
99.1</font></b></td><td align='right' bgcolor='#0000bb'><font
color='white'></fo
nt></td></tr><tr><td
colspan='2'>org.apache.wsrp4j.exception.WSRPException: No m
essage found.
 
Nested Throwable is:
java.net.ConnectException: Connection refused: connect</td></tr><tr><td
bgcolor=
'#0000bb'><font color='white'><i><a
href='wsrp-portletInstanceKey=192.168.4.27_1
078842132861_1&clone.portlet'>Clone</a></i></font></td><td align='right'
bgcolor
='#0000bb'><font color='white'><i><a
href='wsrp-portletInstanceKey=192.168.4.27_
1078842132861_1&view.properties'>View Properties</a>
</i></font></td></tr></tabl
e>
Portleinstance key 192.168.4.27_1078842132861_0
[INFO] Markup of portlet :99.2
<table><tr><td bgcolor='#0000bb'><font color='white'><b>No title
available! - 1_
99.2</font></b></td><td align='right' bgcolor='#0000bb'><font
color='white'></fo
nt></td></tr><tr><td
colspan='2'>org.apache.wsrp4j.exception.WSRPException: No m
essage found.
 
Nested Throwable is:
java.net.ConnectException: Connection refused: connect</td></tr><tr><td
bgcolor=
'#0000bb'><font color='white'><i><a
href='wsrp-portletInstanceKey=192.168.4.27_1
078842132861_0&clone.portlet'>Clone</a></i></font></td><td align='right'
bgcolor
='#0000bb'><font color='white'><i><a
href='wsrp-portletInstanceKey=192.168.4.27_
1078842132861_0&view.properties'>View Properties</a>
</i></font></td></tr></tabl
e>
Portleinstance key 192.168.4.27_1078842132877_3
[INFO] Markup of portlet :0.2
<table><tr><td bgcolor='#0000bb'><font color='white'><b>No title
available! - 1_
0.2</font></b></td><td align='right' bgcolor='#0000bb'><font
color='white'></fon
t></td></tr><tr><td
colspan='2'>org.apache.wsrp4j.exception.WSRPException: No me
ssage found.
 
Nested Throwable is:
java.net.ConnectException: Connection refused: connect</td></tr><tr><td
bgcolor=
'#0000bb'><font color='white'><i><a
href='wsrp-portletInstanceKey=192.168.4.27_1
078842132877_3&clone.portlet'>Clone</a></i></font></td><td align='right'
bgcolor
='#0000bb'><font color='white'><i><a
href='wsrp-portletInstanceKey=192.168.4.27_
1078842132877_3&view.properties'>View Properties</a>
</i></font></td></tr></tabl
e>
Portleinstance key 192.168.4.27_1078842132877_2
[INFO] Markup of portlet :0.1
<table><tr><td bgcolor='#0000bb'><font color='white'><b>No title
available! - 1_
0.1</font></b></td><td align='right' bgcolor='#0000bb'><font
color='white'></fon
t></td></tr><tr><td
colspan='2'>org.apache.wsrp4j.exception.WSRPException: No me
ssage found.
 
Nested Throwable is:
java.net.ConnectException: Connection refused: connect</td></tr><tr><td
bgcolor=
'#0000bb'><font color='white'><i><a
href='wsrp-portletInstanceKey=192.168.4.27_1
078842132877_2&clone.portlet'>Clone</a></i></font></td><td align='right'
bgcolor
='#0000bb'><font color='white'><i><a
href='wsrp-portletInstanceKey=192.168.4.27_
1078842132877_2&view.properties'>View Properties</a>
</i></font></td></tr></tabl
e>
 

Re: can't able to deploy

Posted by Lily Le <li...@viator.com>.
Try to find the file that contains the text

"D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF"

and change it to  your path on your machine. I dont remember that that 
file called  :( .. sorry

I'm not using windows so i'm not sure how to set up TCPMon on windows. 
However, connection refused error usually means that TCPMon is not 
running. You can by pass TCPMon (for proxy portlet) by go to the file:


jakarta-tomcat-4.1.29/webapps/proxyportlet/WEB-INF/persistence/producers/org.apache.wsrp4j.consumer.driver.ProducerImpl@wsrp4j-8081.xml

and change all the "http://localhost:8080" to your producer url and port 
number. Do the same for swing consumer.

Good luck

Lily Le




puneet chawla wrote:

>I got the same error.
>I am trying to deploy on linux.. but the error is D:\ somthing which
>doesn't make sense to me.
>
>:) Maybe i am new so >>
>
>Thks,
>--Puneet
>
>
>On Tue, 9 Mar 2004, Muhammad Kashif wrote:
>
>  
>
>>thanks for your reply.
>> I used forward slash as follows "e:/Tomcat 5.0"
>>
>>But same error. Why it goes to :
>>
>>
>>D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF\data\xml\portletdefi
>>nitionmapping.xml,
>>
>>As I provided "e:/Tomcat 5.0"
>>
>>Error
>>
>>env:
>>Portlet Application ../portlets/wsrptest ...
>>
>>compile:
>>
>>build.jar:
>>
>>build.war:
>>
>>build:
>>
>>deploy_portlets:
>>
>>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:
>>D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF\d
>>ata\xml\portletdefinitionmapping.xml (The system cannot find the path
>>specified)
>>
>>java.io.IOException: Failed to load mapping file
>>D:/Apache/Tomcat4.1.24-wsrp4j/w
>>ebapps\pluto\WEB-INF\data\xml\portletdefinitionmapping.xml
>>        at
>>org.apache.pluto.portalImpl.Deploy.prepareWebArchive(Deploy.java:179)
>>
>>        at org.apache.pluto.portalImpl.Deploy.main(Deploy.java:517)
>>
>>
>>
>>proxyportlet.set.logger:
>>
>>DeployPortlet.foreach:
>>
>>set.target.tomcat:
>>
>>set.target.webapp:
>>
>>DeployPortlet.intern:
>>deploying 'wsrptest' ...
>>finished!
>>prepare web archive 'wsrptest' ...
>>finished!
>>
>>
>>
>>proxyportlet.set.logger:
>>
>>BUILD SUCCESSFUL
>>Total time: 1 minute 0 seconds
>>
>>
>>-----Original Message-----
>>From: Peter Fischer [mailto:pfisher@apache.org]
>>Sent: Tuesday, March 09, 2004 7:51 PM
>>To: wsrp4j-user@ws.apache.org
>>Subject: Re: can't able to deploy
>>
>>Hi,
>>
>>try to use foreslashes '/': D:/Apache/Tomcat....
>>----- Original Message -----
>>From: Muhammad <ma...@clickmarks.com>  Kashif
>>To: wsrp4j-user@ws.apache.org
>>Sent: Tuesday, March 09, 2004 3:31 PM
>>Subject: can't able to deploy
>>
>>Hi All,
>>
>>I need help to install wsrp4j
>>
>>I am using:
>>1) platform is windows XP
>>2) jdk1.3.1
>>3) tomcat 5.1
>>
>>I provide above tomcat path but it throws error during provider
>>installation. I don't know that why it goes to :
>>D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF....
>>
>>
>>EROR is
>>=======
>>prepare web archive 'proxyportlet' ...
>>CASTOR-Exception: org.exolab.castor.mapping.MappingException: Nested
>>error: java
>>.io.FileNotFoundException:
>>D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF\d
>>ata\xml\portletdefinitionmapping.xml (The system cannot find the path
>>specified)
>>
>>
>>
>>Detail is following
>>===============
>>
>>
>>i)  I changed my working dir. To following & first install consumer
>>=============================================
>>E:\WSRP4j\ws-wsrp4j\build>build install-swing-consumer
>>
>>This part of build is successfully done & shows following message in
>>last
>>=================================================
>>
>>BUILD SUCCESSFUL
>>Total time: 3 seconds
>>
>>
>>
>>ii) than I try to install provider (the cmd echo is following)
>>=======================================
>>E:\WSRP4j\ws-wsrp4j\build>build install-provider-pluto
>>Buildfile: build.xml
>>
>>install-provider-pluto:
>>
>>create-new-prop-file:
>>
>>setup.ask.home:
>>Please enter the directory of Tomcat (e.g. C:/Tomcat-4.1):
>>E:\Tomcat 5.0
>>
>>setup.check1:
>>
>>setup.check2:
>>
>>setup.tomcat:
>>
>>setup.ask.port:
>>Please enter the port number of the Tomcat Http-Connector(Default 8080):
>>8080
>>
>>setup.port:
>>
>>uninstall:
>>Deleting directory E:\Tomcat 5.0\webapps\wsrp
>>
>>Compiling Project...
>>
>>prepare:
>>
>>compiler.classic:
>>
>>compiler.eclipse:
>>
>>compile:
>>
>>build:
>>
>>Installing Pluto Provider...
>>
>>load-properties:
>>
>>prepare-producer:
>>Created dir: E:\Tomcat 5.0\webapps\wsrp
>>Copying 17 files to E:\Tomcat 5.0\webapps\wsrp
>>Created dir: E:\Tomcat 5.0\webapps\wsrp\WEB-INF\lib
>>Copying 10 files to E:\Tomcat 5.0\webapps\wsrp\WEB-INF\lib
>>Copying 1 file to E:\Tomcat 5.0\webapps
>>
>>prepare-provider-pluto:
>>Copying 13 files to E:\Tomcat 5.0\webapps\wsrp
>>Copying 1 file to E:\Tomcat 5.0\webapps\wsrp\WEB-INF\lib
>>
>>************************************************************************
>>*******
>>Installation successfully finished
>>************************************************************************
>>*******
>>
>>
>>Deploying portlets...
>>
>>load-properties:
>>
>>undeploy_portlets:
>>
>>set.target.tomcat:
>>
>>UnDeployPortlet.foreach:
>>
>>set.target.tomcat:
>>
>>UnDeployPortlet.foreach:
>>
>>load-properties:
>>
>>prepare:
>>
>>compiler.classic:
>>
>>compiler.eclipse:
>>
>>compile:
>>
>>build:
>>
>>proxyportlet.prepareWAR:
>>
>>build_portlets:
>>
>>BuildPortlet:
>>
>>init:
>>
>>env:
>>Portlet Application ../portlets/proxyportlet ...
>>
>>compile:
>>
>>build.jar:
>>
>>build.war:
>>
>>build:
>>
>>BuildPortlet:
>>
>>init:
>>
>>env:
>>Portlet Application ../portlets/wsrptest ...
>>
>>compile:
>>
>>build.jar:
>>
>>build.war:
>>
>>build:
>>
>>deploy_portlets:
>>
>>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:
>>D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF\d
>>ata\xml\portletdefinitionmapping.xml (The system cannot find the path
>>specified)
>>
>>java.io.IOException: Failed to load mapping file
>>D:/Apache/Tomcat4.1.24-wsrp4j/w
>>ebapps\pluto\WEB-INF\data\xml\portletdefinitionmapping.xml
>>        at
>>org.apache.pluto.portalImpl.Deploy.prepareWebArchive(Deploy.java:179)
>>
>>        at org.apache.pluto.portalImpl.Deploy.main(Deploy.java:517)
>>
>>
>>
>>proxyportlet.set.logger:
>>
>>DeployPortlet.foreach:
>>
>>set.target.tomcat:
>>
>>set.target.webapp:
>>
>>DeployPortlet.intern:
>>deploying 'wsrptest' ...
>>finished!
>>prepare web archive 'wsrptest' ...
>>CASTOR-Exception: org.exolab.castor.mapping.MappingException: Nested
>>error: java
>>.io.FileNotFoundException: E:Tomcat
>>5.0\webapps\wsrp\WEB-INF\data\xml\portletdef
>>initionmapping.xml (The system cannot find the path specified)
>>java.io.IOException: Failed to load mapping file E:Tomcat
>>5.0/webapps\wsrp\WEB-I
>>NF\data\xml\portletdefinitionmapping.xml
>>        at
>>org.apache.pluto.portalImpl.Deploy.prepareWebArchive(Deploy.java:179)
>>
>>        at org.apache.pluto.portalImpl.Deploy.main(Deploy.java:517)
>>
>>
>>
>>proxyportlet.set.logger:
>>
>>BUILD SUCCESSFUL
>>Total time: 35 seconds
>>E:\WSRP4j\ws-wsrp4j\build>build install-provider-pluto
>>
>>
>>
>>
>>3) if All above is ok, means it succesfull (only portlet deployment
>>throws errror), than why it throws error on starting consumer
>>========================================================================
>>============
>>1.            I check tunnel.bat (ports are ok)
>>2.            Than I run run.bat from /driver/swingconsumer dir.
>>
>>Than I got following on cmd
>>=====================
>>
>>
>>E:\WSRP4j\ws-wsrp4j\driver\SwingConsumer>call setcpath.bat
>>
>>E:\WSRP4j\ws-wsrp4j\driver\SwingConsumer>echo off
>>
>>E:\WSRP4j\ws-wsrp4j\driver\SwingConsumer>set CLASSPATH
>>classpath=.;.\classes\;.\lib\wsrp4j-consumer-0.3.jar;.\lib\wsrp4j-swing-
>>consumer
>>-0.3.jar;.\lib\wsrp4j-shared-0.3.jar;.\lib\log4j.jar;.\lib\axis.jar;.\li
>>b\jaxrpc
>>.jar;.\lib\tt-bytecode.jar;.\lib\saaj.jar;.\lib\commons-discovery.jar;.\
>>lib\cast
>>or-0.9.4.1-xml.jar;.\lib\commons-logging.jar;.\lib\xml-apis-2.5.0.jar;.\
>>lib\xerc
>>esImpl-2.5.0.jar
>>usage: run.bat [ProxyHost] [ProxyPort]
>>
>>E:\WSRP4j\ws-wsrp4j\driver\SwingConsumer>java -DproxyHost=localhost
>>-DproxyPort=
>>80 org.apache.wsrp4j.consumer.app.driver.SwingConsumer
>>Restored portlet :1_0.2
>>Restored portlet :1_99.1
>>Restored portlet :1_0.1
>>Restored portlet :1_99.2
>>Portleinstance key 192.168.4.27_1078842132861_1
>>[INFO] Markup of portlet :99.1
>><table><tr><td bgcolor='#0000bb'><font color='white'><b>No title
>>available! - 1_
>>99.1</font></b></td><td align='right' bgcolor='#0000bb'><font
>>color='white'></fo
>>nt></td></tr><tr><td
>>colspan='2'>org.apache.wsrp4j.exception.WSRPException: No m
>>essage found.
>>
>>Nested Throwable is:
>>java.net.ConnectException: Connection refused: connect</td></tr><tr><td
>>bgcolor=
>>'#0000bb'><font color='white'><i><a
>>href='wsrp-portletInstanceKey=192.168.4.27_1
>>078842132861_1&clone.portlet'>Clone</a></i></font></td><td align='right'
>>bgcolor
>>='#0000bb'><font color='white'><i><a
>>href='wsrp-portletInstanceKey=192.168.4.27_
>>1078842132861_1&view.properties'>View Properties</a>
>></i></font></td></tr></tabl
>>e>
>>Portleinstance key 192.168.4.27_1078842132861_0
>>[INFO] Markup of portlet :99.2
>><table><tr><td bgcolor='#0000bb'><font color='white'><b>No title
>>available! - 1_
>>99.2</font></b></td><td align='right' bgcolor='#0000bb'><font
>>color='white'></fo
>>nt></td></tr><tr><td
>>colspan='2'>org.apache.wsrp4j.exception.WSRPException: No m
>>essage found.
>>
>>Nested Throwable is:
>>java.net.ConnectException: Connection refused: connect</td></tr><tr><td
>>bgcolor=
>>'#0000bb'><font color='white'><i><a
>>href='wsrp-portletInstanceKey=192.168.4.27_1
>>078842132861_0&clone.portlet'>Clone</a></i></font></td><td align='right'
>>bgcolor
>>='#0000bb'><font color='white'><i><a
>>href='wsrp-portletInstanceKey=192.168.4.27_
>>1078842132861_0&view.properties'>View Properties</a>
>></i></font></td></tr></tabl
>>e>
>>Portleinstance key 192.168.4.27_1078842132877_3
>>[INFO] Markup of portlet :0.2
>><table><tr><td bgcolor='#0000bb'><font color='white'><b>No title
>>available! - 1_
>>0.2</font></b></td><td align='right' bgcolor='#0000bb'><font
>>color='white'></fon
>>t></td></tr><tr><td
>>colspan='2'>org.apache.wsrp4j.exception.WSRPException: No me
>>ssage found.
>>
>>Nested Throwable is:
>>java.net.ConnectException: Connection refused: connect</td></tr><tr><td
>>bgcolor=
>>'#0000bb'><font color='white'><i><a
>>href='wsrp-portletInstanceKey=192.168.4.27_1
>>078842132877_3&clone.portlet'>Clone</a></i></font></td><td align='right'
>>bgcolor
>>='#0000bb'><font color='white'><i><a
>>href='wsrp-portletInstanceKey=192.168.4.27_
>>1078842132877_3&view.properties'>View Properties</a>
>></i></font></td></tr></tabl
>>e>
>>Portleinstance key 192.168.4.27_1078842132877_2
>>[INFO] Markup of portlet :0.1
>><table><tr><td bgcolor='#0000bb'><font color='white'><b>No title
>>available! - 1_
>>0.1</font></b></td><td align='right' bgcolor='#0000bb'><font
>>color='white'></fon
>>t></td></tr><tr><td
>>colspan='2'>org.apache.wsrp4j.exception.WSRPException: No me
>>ssage found.
>>
>>Nested Throwable is:
>>java.net.ConnectException: Connection refused: connect</td></tr><tr><td
>>bgcolor=
>>'#0000bb'><font color='white'><i><a
>>href='wsrp-portletInstanceKey=192.168.4.27_1
>>078842132877_2&clone.portlet'>Clone</a></i></font></td><td align='right'
>>bgcolor
>>='#0000bb'><font color='white'><i><a
>>href='wsrp-portletInstanceKey=192.168.4.27_
>>1078842132877_2&view.properties'>View Properties</a>
>></i></font></td></tr></tabl
>>e>
>>
>>
>>    
>>
>
>--
>www.viator.com
>
>  
>


--
www.viator.com

RE: can't able to deploy

Posted by Keast Ann <ke...@bah.com>.
Hi All,

I need help installing as well.

1) platform is windows XP
2) jdk1.3.1
3) tomcat 5.0

The consumer install script runs fine.

I modified the /portlets/proxyportlet build.properties file from:
TARGET_TOMCAT_HOME=D:/Apache/Tomcat4.1.24-wsrp4j
to:
TARGET_TOMCAT_HOME=C:/Program Files/Apache Software Foundation/Tomcat 5.0

ERROR 1:
---
---
install-provider-pluto is successful, but I noticed one error:
CASTOR-Exception: org.exolab.castor.mapping.MappingException: Nested error:
java
.io.FileNotFoundException: C:\Program Files\Apache Software
Foundation\Tomcat 5.
0\webapps\pluto\WEB-INF\data\xml\portletdefinitionmapping.xml (The system
cannot
 find the path specified)
java.io.IOException: Failed to load mapping file C:/Program Files/Apache
Softwar
e Foundation/Tomcat
5.0/webapps\pluto\WEB-INF\data\xml\portletdefinitionmapping.
xml
        at
org.apache.pluto.portalImpl.Deploy.prepareWebArchive(Deploy.java:179)

        at org.apache.pluto.portalImpl.Deploy.main(Deploy.java:517)
ERROR 2:
---
---
When SwingConsumer is run, in the Tomcat window, I get some  errors:
ERROR  org.apache.pluto.portalImpl   ServletContext '/wsrptest' not found!
ERROR  org.apache.pluto.invoker   PortletInvokerImpl.action() - Unable to
find R
equestDispatcher.

The SwingConsumer runs (screen shot attached).

Full output is below
----------------------------------------------------------------------------
------
----------------------------------------------------------------------------
------
1) Running install-provider-pluto:

C:\ws-wsrp4j\build>install-provider-pluto
Buildfile: build.xml

install-provider-pluto:

create-new-prop-file:

setup.ask.home:
Please enter the directory of Tomcat (e.g. C:/Tomcat-4.1):
C:/Program Files/Apache Software Foundation/Tomcat 5.0

setup.check1:

setup.check2:

setup.tomcat:

setup.ask.port:
Please enter the port number of the Tomcat Http-Connector(Default 8080):
8080

setup.port:

uninstall:
Deleting directory C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapp
s\wsrp

Compiling Project...

prepare:

compiler.classic:

compiler.eclipse:

compile:

build:

Installing Pluto Provider...

load-properties:

prepare-producer:
Created dir: C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps\wsrp

Copying 17 files to C:\Program Files\Apache Software Foundation\Tomcat
5.0\webap
ps\wsrp
Created dir: C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps\wsrp
\WEB-INF\lib
Copying 10 files to C:\Program Files\Apache Software Foundation\Tomcat
5.0\webap
ps\wsrp\WEB-INF\lib
Copying 1 file to C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps


prepare-provider-pluto:
Copying 13 files to C:\Program Files\Apache Software Foundation\Tomcat
5.0\webap
ps\wsrp
Copying 1 file to C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps
\wsrp\WEB-INF\lib

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


Deploying portlets...

load-properties:

undeploy_portlets:

set.target.tomcat:

UnDeployPortlet.foreach:
Deleting directory C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapp
s\proxyportlet

set.target.tomcat:

UnDeployPortlet.foreach:
Deleting directory C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapp
s\wsrptest

load-properties:

prepare:

compiler.classic:

compiler.eclipse:

compile:

build:

proxyportlet.prepareWAR:

build_portlets:

BuildPortlet:

init:

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

compile:

build.jar:

build.war:

build:

BuildPortlet:

init:

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

compile:

build.jar:

build.war:

build:

deploy_portlets:

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: C:\Program Files\Apache Software
Foundation\Tomcat 5.
0\webapps\pluto\WEB-INF\data\xml\portletdefinitionmapping.xml (The system
cannot
 find the path specified)
java.io.IOException: Failed to load mapping file C:/Program Files/Apache
Softwar
e Foundation/Tomcat
5.0/webapps\pluto\WEB-INF\data\xml\portletdefinitionmapping.
xml
        at
org.apache.pluto.portalImpl.Deploy.prepareWebArchive(Deploy.java:179)

        at org.apache.pluto.portalImpl.Deploy.main(Deploy.java:517)

proxyportlet.set.logger:

DeployPortlet.foreach:

set.target.tomcat:

set.target.webapp:

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

proxyportlet.set.logger:

BUILD SUCCESSFUL
Total time: 34 seconds
----------------------------------------------------------------------------
2) Running the consumer I get:

Portleinstance key 192.168.130.144_1079033391037_1
[INFO] Markup of portlet :99.2
<table><tr><td bgcolor='#0000bb'><font color='white'><b>WSRP Test Portlet -
1_99
.2</font></b></td><td align='right' bgcolor='#0000bb'><font color='white'><a
hre
f='wsrp-portletInstanceKey=192.168.130.144_1079033391037_1&change.mode=wsrp:
edit
'>Edit</a> <a
href='wsrp-portletInstanceKey=192.168.130.144_1079033391037_1&chan
ge.mode=wsrp:help'>Help</a> <a
href='wsrp-portletInstanceKey=192.168.130.144_107
9033391037_1&change.state=wsrp:minimized'>Min</a> <a
href='wsrp-portletInstanceK
ey=192.168.130.144_1079033391037_1&change.state=wsrp:maximized'>Max</a>
</font><
/td></tr><tr><td colspan='2'></td></tr><tr><td bgcolor='#0000bb'><font
color='wh
ite'><i><a
href='wsrp-portletInstanceKey=192.168.130.144_1079033391037_1&clone.p
ortlet'>Clone</a></i></font></td><td align='right' bgcolor='#0000bb'><font
color
='white'><i><a
href='wsrp-portletInstanceKey=192.168.130.144_1079033391037_1&vie
w.properties'>View Properties</a> </i></font></td></tr></table>
Portleinstance key 192.168.130.144_1079033391037_0
[INFO] Markup of portlet :0.1
<table><tr><td bgcolor='#0000bb'><font color='white'><b>WSRP Test Portlet -
1_0.
1</font></b></td><td align='right' bgcolor='#0000bb'><font color='white'><a
href
='wsrp-portletInstanceKey=192.168.130.144_1079033391037_0&change.mode=wsrp:e
dit'
>Edit</a> <a
href='wsrp-portletInstanceKey=192.168.130.144_1079033391037_0&chang
e.mode=wsrp:help'>Help</a> <a
href='wsrp-portletInstanceKey=192.168.130.144_1079
033391037_0&change.state=wsrp:minimized'>Min</a> <a
href='wsrp-portletInstanceKe
y=192.168.130.144_1079033391037_0&change.state=wsrp:maximized'>Max</a>
</font></
td></tr><tr><td colspan='2'></td></tr><tr><td bgcolor='#0000bb'><font
color='whi
te'><i><a
href='wsrp-portletInstanceKey=192.168.130.144_1079033391037_0&clone.po
rtlet'>Clone</a></i></font></td><td align='right' bgcolor='#0000bb'><font
color=
'white'><i><a
href='wsrp-portletInstanceKey=192.168.130.144_1079033391037_0&view
.properties'>View Properties</a> </i></font></td></tr></table>
Portleinstance key 192.168.130.144_1079033391037_3
[INFO] Markup of portlet :99.1
<table><tr><td bgcolor='#0000bb'><font color='white'><b>WSRP Test Portlet -
1_99
.1</font></b></td><td align='right' bgcolor='#0000bb'><font color='white'><a
hre
f='wsrp-portletInstanceKey=192.168.130.144_1079033391037_3&change.mode=wsrp:
edit
'>Edit</a> <a
href='wsrp-portletInstanceKey=192.168.130.144_1079033391037_3&chan
ge.mode=wsrp:help'>Help</a> <a
href='wsrp-portletInstanceKey=192.168.130.144_107
9033391037_3&change.state=wsrp:minimized'>Min</a> <a
href='wsrp-portletInstanceK
ey=192.168.130.144_1079033391037_3&change.state=wsrp:maximized'>Max</a>
</font><
/td></tr><tr><td colspan='2'></td></tr><tr><td bgcolor='#0000bb'><font
color='wh
ite'><i><a
href='wsrp-portletInstanceKey=192.168.130.144_1079033391037_3&clone.p
ortlet'>Clone</a></i></font></td><td align='right' bgcolor='#0000bb'><font
color
='white'><i><a
href='wsrp-portletInstanceKey=192.168.130.144_1079033391037_3&vie
w.properties'>View Properties</a> </i></font></td></tr></table>
Portleinstance key 192.168.130.144_1079033391037_2
[INFO] Markup of portlet :0.2
<table><tr><td bgcolor='#0000bb'><font color='white'><b>WSRP Test Portlet -
1_0.
2</font></b></td><td align='right' bgcolor='#0000bb'><font color='white'><a
href
='wsrp-portletInstanceKey=192.168.130.144_1079033391037_2&change.mode=wsrp:e
dit'
>Edit</a> <a
href='wsrp-portletInstanceKey=192.168.130.144_1079033391037_2&chang
e.mode=wsrp:help'>Help</a> <a
href='wsrp-portletInstanceKey=192.168.130.144_1079
033391037_2&change.state=wsrp:minimized'>Min</a> <a
href='wsrp-portletInstanceKe
y=192.168.130.144_1079033391037_2&change.state=wsrp:maximized'>Max</a>
</font></
td></tr><tr><td colspan='2'></td></tr><tr><td bgcolor='#0000bb'><font
color='whi
te'><i><a
href='wsrp-portletInstanceKey=192.168.130.144_1079033391037_2&clone.po
rtlet'>Clone</a></i></font></td><td align='right' bgcolor='#0000bb'><font
color=
'white'><i><a
href='wsrp-portletInstanceKey=192.168.130.144_1079033391037_2&view
.properties'>View Properties</a> </i></font></td></tr></table>
Portleinstance key 192.168.130.144_1079033391037_1
[INFO] Markup of portlet :99.2
<table><tr><td bgcolor='#0000bb'><font color='white'><b>WSRP Test Portlet -
1_99
.2</font></b></td><td align='right' bgcolor='#0000bb'><font color='white'><a
hre
f='wsrp-portletInstanceKey=192.168.130.144_1079033391037_1&change.mode=wsrp:
edit
'>Edit</a> <a
href='wsrp-portletInstanceKey=192.168.130.144_1079033391037_1&chan
ge.mode=wsrp:help'>Help</a> <a
href='wsrp-portletInstanceKey=192.168.130.144_107
9033391037_1&change.state=wsrp:minimized'>Min</a> <a
href='wsrp-portletInstanceK
ey=192.168.130.144_1079033391037_1&change.state=wsrp:maximized'>Max</a>
</font><
/td></tr><tr><td colspan='2'></td></tr><tr><td bgcolor='#0000bb'><font
color='wh
ite'><i><a
href='wsrp-portletInstanceKey=192.168.130.144_1079033391037_1&clone.p
ortlet'>Clone</a></i></font></td><td align='right' bgcolor='#0000bb'><font
color
='white'><i><a
href='wsrp-portletInstanceKey=192.168.130.144_1079033391037_1&vie
w.properties'>View Properties</a> </i></font></td></tr></table>
Portleinstance key 192.168.130.144_1079033391037_0
[INFO] Markup of portlet :0.1
<table><tr><td bgcolor='#0000bb'><font color='white'><b>WSRP Test Portlet -
1_0.
1</font></b></td><td align='right' bgcolor='#0000bb'><font color='white'><a
href
='wsrp-portletInstanceKey=192.168.130.144_1079033391037_0&change.mode=wsrp:e
dit'
>Edit</a> <a
href='wsrp-portletInstanceKey=192.168.130.144_1079033391037_0&chang
e.mode=wsrp:help'>Help</a> <a
href='wsrp-portletInstanceKey=192.168.130.144_1079
033391037_0&change.state=wsrp:minimized'>Min</a> <a
href='wsrp-portletInstanceKe
y=192.168.130.144_1079033391037_0&change.state=wsrp:maximized'>Max</a>
</font></
td></tr><tr><td colspan='2'></td></tr><tr><td bgcolor='#0000bb'><font
color='whi
te'><i><a
href='wsrp-portletInstanceKey=192.168.130.144_1079033391037_0&clone.po
rtlet'>Clone</a></i></font></td><td align='right' bgcolor='#0000bb'><font
color=
'white'><i><a
href='wsrp-portletInstanceKey=192.168.130.144_1079033391037_0&view
.properties'>View Properties</a> </i></font></td></tr></table>


----------------------------------------------------------------------------
--------
4) in Tomcat window, i notice some [ERROR] logs. Here is entire output:
Portlets:
  class org.apache.pluto.portalImpl.om.portlet.impl.PortletDefinitionImpl:
  {
  objectID='wsrptest.WSRPTestPortlet'
  guid='wsrptest.WSRPTestPortlet'
  id=''
  name='WSRPTestPortlet'

  class org.apache.pluto.portalImpl.om.common.impl.LanguageSetImpl:
    class org.apache.pluto.portalImpl.om.common.impl.LanguageImpl:
    {
    locale='en'
    title='WSRP Test Portlet'
    shortTitle='WSRP Test'
    Keywords:WSRP,WSRP4J,Test,Testen,
    }

  class org.apache.pluto.portalImpl.om.common.impl.ParameterSetImpl:

  class org.apache.pluto.portalImpl.om.common.impl.PreferenceSetImpl:

  class org.apache.pluto.portalImpl.om.common.impl.SecurityRoleRefSetImpl:

  class org.apache.pluto.portalImpl.om.portlet.impl.ContentTypeSetImpl:
    class org.apache.pluto.portalImpl.om.portlet.impl.ContentTypeImpl:
    {
    contentType='text/html'
    portletMode[0]='view'
    portletMode[1]='edit'
    portletMode[2]='help'
    }

  class org.apache.pluto.portalImpl.om.common.impl.DescriptionSetImpl:
    class org.apache.pluto.portalImpl.om.common.impl.DescriptionImpl:
descriptio
n='WSRP Test Portlet', locale='en'

  class org.apache.pluto.portalImpl.om.common.impl.DisplayNameSetImpl:
    class org.apache.pluto.portalImpl.om.common.impl.DisplayNameImpl:
displayNam
e='WSRP Test Portlet', locale='en'
  servlet:
    class org.apache.pluto.portalImpl.om.servlet.impl.ServletDefinitionImpl:
    {
    id=''
    servletName='WSRPTestPortlet'

    class org.apache.pluto.portalImpl.om.common.impl.DescriptionSetImpl:
      class org.apache.pluto.portalImpl.om.common.impl.DescriptionImpl:
descript
ion='Automated generated Portlet Wrapper', locale='en'

    class org.apache.pluto.portalImpl.om.common.impl.DisplayNameSetImpl:
      class org.apache.pluto.portalImpl.om.common.impl.DisplayNameImpl:
displayN
ame='WSRPTestPortlet Wrapper',
locale='en'servletClass='org.apache.pluto.core.Po
rtletServlet'

    class org.apache.pluto.portalImpl.om.common.impl.ParameterSetImpl:
      class org.apache.pluto.portalImpl.om.common.impl.ParameterImpl:
name='port
let-class', value='org.apache.wsrp4j.testportlet.TestPortlet',
descriptions='
class org.apache.pluto.portalImpl.om.common.impl.DescriptionSetImpl: '
      class org.apache.pluto.portalImpl.om.common.impl.ParameterImpl:
name='port
let-guid', value='wsrptest.WSRPTestPortlet', descriptions='
class org.apache.pluto.portalImpl.om.common.impl.DescriptionSetImpl: '

    class org.apache.pluto.portalImpl.om.common.impl.SecurityRoleRefSetImpl:
    Linked ServletMapping:
      class org.apache.pluto.portalImpl.om.servlet.impl.ServletMappingImpl:
      {
      id='null'
      servletName='WSRPTestPortlet'
      urlPattern='/WSRPTestPortlet/*'
      }
    }
  }
webApplication:
  class
org.apache.pluto.portalImpl.om.servlet.impl.WebApplicationDefinitionImpl
:
  {
  id=''

  class org.apache.pluto.portalImpl.om.common.impl.DisplayNameSetImpl:
    class org.apache.pluto.portalImpl.om.common.impl.DisplayNameImpl:
displayNam
e='wsrptest', locale='en'

  class org.apache.pluto.portalImpl.om.common.impl.DescriptionSetImpl:
    class org.apache.pluto.portalImpl.om.common.impl.DescriptionImpl:
descriptio
n='Automated generated Application Wrapper', locale='en'

  class org.apache.pluto.portalImpl.om.common.impl.ParameterSetImpl:

  class
org.apache.pluto.portalImpl.om.servlet.impl.ServletDefinitionListImpl:
    class org.apache.pluto.portalImpl.om.servlet.impl.ServletDefinitionImpl:
    {
    id=''
    servletName='WSRPTestPortlet'

    class org.apache.pluto.portalImpl.om.common.impl.DescriptionSetImpl:
      class org.apache.pluto.portalImpl.om.common.impl.DescriptionImpl:
descript
ion='Automated generated Portlet Wrapper', locale='en'

    class org.apache.pluto.portalImpl.om.common.impl.DisplayNameSetImpl:
      class org.apache.pluto.portalImpl.om.common.impl.DisplayNameImpl:
displayN
ame='WSRPTestPortlet Wrapper',
locale='en'servletClass='org.apache.pluto.core.Po
rtletServlet'

    class org.apache.pluto.portalImpl.om.common.impl.ParameterSetImpl:
      class org.apache.pluto.portalImpl.om.common.impl.ParameterImpl:
name='port
let-class', value='org.apache.wsrp4j.testportlet.TestPortlet',
descriptions='
class org.apache.pluto.portalImpl.om.common.impl.DescriptionSetImpl: '
      class org.apache.pluto.portalImpl.om.common.impl.ParameterImpl:
name='port
let-guid', value='wsrptest.WSRPTestPortlet', descriptions='
class org.apache.pluto.portalImpl.om.common.impl.DescriptionSetImpl: '

    class org.apache.pluto.portalImpl.om.common.impl.SecurityRoleRefSetImpl:
    Linked ServletMapping:
      class org.apache.pluto.portalImpl.om.servlet.impl.ServletMappingImpl:
      {
      id='null'
      servletName='WSRPTestPortlet'
      urlPattern='/WSRPTestPortlet/*'
      }
    }
  ServletMappings:
    class org.apache.pluto.portalImpl.om.servlet.impl.ServletMappingImpl:
    {
    id='null'
    servletName='WSRPTestPortlet'
    urlPattern='/WSRPTestPortlet/*'
    }
  contextPath='/wsrptest'
  }
}
DEBUG  org.apache.pluto.portalImpl.services   Dumping complete object model
desc
ription as it is read from the xml file...
DEBUG  org.apache.pluto.portalImpl.services
class
org.apache.pluto.portalImpl.om.entity.impl.PortletApplicationEntityListImp
l:
{
Portlet Application Entities:
  class
org.apache.pluto.portalImpl.om.entity.impl.PortletApplicationEntityImpl:

  {
  id='99'
  definition-id='wsrptest'

  class org.apache.pluto.portalImpl.om.entity.impl.PortletEntityListImpl:
    class
org.apache.wsrp4j.producer.provider.pluto.driver.WSRPPortletEntityImpl
:
    {
    id='2'
    definition-id='wsrptest.WSRPTestPortlet'

    class org.apache.pluto.portalImpl.om.common.impl.PreferenceSetImpl:

    class org.apache.pluto.portalImpl.om.common.impl.DescriptionSetImpl:
    }
    class
org.apache.wsrp4j.producer.provider.pluto.driver.WSRPPortletEntityImpl
:
    {
    id='1'
    definition-id='wsrptest.WSRPTestPortlet'

    class org.apache.pluto.portalImpl.om.common.impl.PreferenceSetImpl:

    class org.apache.pluto.portalImpl.om.common.impl.DescriptionSetImpl:
    }
  }
  class
org.apache.pluto.portalImpl.om.entity.impl.PortletApplicationEntityImpl:

  {
  id='0'
  definition-id='wsrptest'

  class org.apache.pluto.portalImpl.om.entity.impl.PortletEntityListImpl:
    class
org.apache.wsrp4j.producer.provider.pluto.driver.WSRPPortletEntityImpl
:
    {
    id='1'
    definition-id='wsrptest.WSRPTestPortlet'

    class org.apache.pluto.portalImpl.om.common.impl.PreferenceSetImpl:

    class org.apache.pluto.portalImpl.om.common.impl.DescriptionSetImpl:
    }
    class
org.apache.wsrp4j.producer.provider.pluto.driver.WSRPPortletEntityImpl
:
    {
    id='2'
    definition-id='wsrptest.WSRPTestPortlet'

    class org.apache.pluto.portalImpl.om.common.impl.PreferenceSetImpl:

    class org.apache.pluto.portalImpl.om.common.impl.DescriptionSetImpl:
    }
  }
}
DEBUG  org.apache.pluto.invoker
PortletContainerImpl.portletService(192.168.13
0.144_1079457621523_3) called.
DEBUG  org.apache.pluto.portalImpl   Looking up ServletContext for path
/wsrptes
t
ERROR  org.apache.pluto.portalImpl   ServletContext '/wsrptest' not found!
ERROR  org.apache.pluto.invoker   PortletInvokerImpl.action() - Unable to
find R
equestDispatcher.
DEBUG  org.apache.pluto.invoker
PortletContainerImpl.portletService(192.168.13
0.144_1079457621523_2) called.
DEBUG  org.apache.pluto.portalImpl   Looking up ServletContext for path
/wsrptes
t
ERROR  org.apache.pluto.portalImpl   ServletContext '/wsrptest' not found!
ERROR  org.apache.pluto.invoker   PortletInvokerImpl.action() - Unable to
find R
equestDispatcher.
DEBUG  org.apache.pluto.invoker
PortletContainerImpl.portletService(192.168.13
0.144_1079457621523_1) called.
DEBUG  org.apache.pluto.portalImpl   Looking up ServletContext for path
/wsrptes
t
ERROR  org.apache.pluto.portalImpl   ServletContext '/wsrptest' not found!
ERROR  org.apache.pluto.invoker   PortletInvokerImpl.action() - Unable to
find R
equestDispatcher.
DEBUG  org.apache.pluto.invoker
PortletContainerImpl.portletService(192.168.13
0.144_1079457621523_0) called.
DEBUG  org.apache.pluto.portalImpl   Looking up ServletContext for path
/wsrptes
t
ERROR  org.apache.pluto.portalImpl   ServletContext '/wsrptest' not found!
ERROR  org.apache.pluto.invoker   PortletInvokerImpl.action() - Unable to
find R
equestDispatcher.
DEBUG  org.apache.pluto.invoker
PortletContainerImpl.portletService(192.168.13
0.144_1079457736208_4) called.
DEBUG  org.apache.pluto.portalImpl   Looking up ServletContext for path
/wsrptes
t
ERROR  org.apache.pluto.portalImpl   ServletContext '/wsrptest' not found!
ERROR  org.apache.pluto.invoker   PortletInvokerImpl.action() - Unable to
find R
equestDispatcher.
DEBUG  org.apache.pluto.invoker
PortletContainerImpl.portletService(192.168.13
0.144_1079457621523_3) called.
DEBUG  org.apache.pluto.portalImpl   Looking up ServletContext for path
/wsrptes
t
ERROR  org.apache.pluto.portalImpl   ServletContext '/wsrptest' not found!
ERROR  org.apache.pluto.invoker   PortletInvokerImpl.action() - Unable to
find R
equestDispatcher.
DEBUG  org.apache.pluto.invoker
PortletContainerImpl.portletService(192.168.13
0.144_1079457621523_2) called.
DEBUG  org.apache.pluto.portalImpl   Looking up ServletContext for path
/wsrptes
t
ERROR  org.apache.pluto.portalImpl   ServletContext '/wsrptest' not found!
ERROR  org.apache.pluto.invoker   PortletInvokerImpl.action() - Unable to
find R
equestDispatcher.
DEBUG  org.apache.pluto.invoker
PortletContainerImpl.portletService(192.168.13
0.144_1079457621523_1) called.
DEBUG  org.apache.pluto.portalImpl   Looking up ServletContext for path
/wsrptes
t
ERROR  org.apache.pluto.portalImpl   ServletContext '/wsrptest' not found!
ERROR  org.apache.pluto.invoker   PortletInvokerImpl.action() - Unable to
find R
equestDispatcher.
DEBUG  org.apache.pluto.invoker
PortletContainerImpl.portletService(192.168.13
0.144_1079457621523_0) called.
DEBUG  org.apache.pluto.portalImpl   Looking up ServletContext for path
/wsrptes
t
ERROR  org.apache.pluto.portalImpl   ServletContext '/wsrptest' not found!
ERROR  org.apache.pluto.invoker   PortletInvokerImpl.action() - Unable to
find R
equestDispatcher.
DEBUG  org.apache.pluto.invoker
PortletContainerImpl.portletService(192.168.13
0.144_1079457736208_4) called.
DEBUG  org.apache.pluto.portalImpl   Looking up ServletContext for path
/wsrptes
t
ERROR  org.apache.pluto.portalImpl   ServletContext '/wsrptest' not found!
ERROR  org.apache.pluto.invoker   PortletInvokerImpl.action() - Unable to
find R
equestDispatcher.
DEBUG  org.apache.pluto.invoker
PortletContainerImpl.portletService(192.168.13
0.144_1079457742067_5) called.
DEBUG  org.apache.pluto.portalImpl   Looking up ServletContext for path
/wsrptes
t
ERROR  org.apache.pluto.portalImpl   ServletContext '/wsrptest' not found!
ERROR  org.apache.pluto.invoker   PortletInvokerImpl.action() - Unable to
find R
equestDispatcher.
DEBUG  org.apache.pluto.invoker
PortletContainerImpl.portletService(192.168.13
0.144_1079457621523_3) called.
DEBUG  org.apache.pluto.portalImpl   Looking up ServletContext for path
/wsrptes
t
ERROR  org.apache.pluto.portalImpl   ServletContext '/wsrptest' not found!
ERROR  org.apache.pluto.invoker   PortletInvokerImpl.action() - Unable to
find R
equestDispatcher.
DEBUG  org.apache.pluto.invoker
PortletContainerImpl.portletService(192.168.13
0.144_1079457621523_2) called.
DEBUG  org.apache.pluto.portalImpl   Looking up ServletContext for path
/wsrptes
t
ERROR  org.apache.pluto.portalImpl   ServletContext '/wsrptest' not found!
ERROR  org.apache.pluto.invoker   PortletInvokerImpl.action() - Unable to
find R
equestDispatcher.
DEBUG  org.apache.pluto.invoker
PortletContainerImpl.portletService(192.168.13
0.144_1079457621523_1) called.
DEBUG  org.apache.pluto.portalImpl   Looking up ServletContext for path
/wsrptes
t
ERROR  org.apache.pluto.portalImpl   ServletContext '/wsrptest' not found!
ERROR  org.apache.pluto.invoker   PortletInvokerImpl.action() - Unable to
find R
equestDispatcher.
DEBUG  org.apache.pluto.invoker
PortletContainerImpl.portletService(192.168.13
0.144_1079457621523_0) called.
DEBUG  org.apache.pluto.portalImpl   Looking up ServletContext for path
/wsrptes
t
ERROR  org.apache.pluto.portalImpl   ServletContext '/wsrptest' not found!
ERROR  org.apache.pluto.invoker   PortletInvokerImpl.action() - Unable to
find R
equestDispatcher.


-----Original Message-----
From: Muhammad Kashif [mailto:mkashif@clickmarks.com]
Sent: Wednesday, March 10, 2004 12:38 AM
To: wsrp4j-user@ws.apache.org
Subject: RE: can't able to deploy


HI punnet!

My problem is solved.
Actually the build.properties file in " \portlets\proxyportlet" has this
hardcode path. So not able to find the xml file "
D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF\data\xml\portletdefi
nitionmapping.xml"


Change this build.properties file manually

Regards Kashif

-----Original Message-----
From: puneet chawla [mailto:puneets@acis.ufl.edu]
Sent: Tuesday, March 09, 2004 8:21 PM
To: wsrp4j-user@ws.apache.org
Subject: RE: can't able to deploy

I got the same error.
I am trying to deploy on linux.. but the error is D:\ somthing which
doesn't make sense to me.

:) Maybe i am new so >>

Thks,
--Puneet


On Tue, 9 Mar 2004, Muhammad Kashif wrote:

> thanks for your reply.
>  I used forward slash as follows "e:/Tomcat 5.0"
>
> But same error. Why it goes to :
>
>
>
D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF\data\xml\portletdefi
> nitionmapping.xml,
>
> As I provided "e:/Tomcat 5.0"
>
> Error
>
> env:
> Portlet Application ../portlets/wsrptest ...
>
> compile:
>
> build.jar:
>
> build.war:
>
> build:
>
> deploy_portlets:
>
> 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:
> D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF\d
> ata\xml\portletdefinitionmapping.xml (The system cannot find the path
> specified)
>
> java.io.IOException: Failed to load mapping file
> D:/Apache/Tomcat4.1.24-wsrp4j/w
> ebapps\pluto\WEB-INF\data\xml\portletdefinitionmapping.xml
>         at
> org.apache.pluto.portalImpl.Deploy.prepareWebArchive(Deploy.java:179)
>
>         at org.apache.pluto.portalImpl.Deploy.main(Deploy.java:517)
>
>
>
> proxyportlet.set.logger:
>
> DeployPortlet.foreach:
>
> set.target.tomcat:
>
> set.target.webapp:
>
> DeployPortlet.intern:
> deploying 'wsrptest' ...
> finished!
> prepare web archive 'wsrptest' ...
> finished!
>
>
>
> proxyportlet.set.logger:
>
> BUILD SUCCESSFUL
> Total time: 1 minute 0 seconds
>
>
> -----Original Message-----
> From: Peter Fischer [mailto:pfisher@apache.org]
> Sent: Tuesday, March 09, 2004 7:51 PM
> To: wsrp4j-user@ws.apache.org
> Subject: Re: can't able to deploy
>
> Hi,
>
> try to use foreslashes '/': D:/Apache/Tomcat....
> ----- Original Message -----
> From: Muhammad <ma...@clickmarks.com>  Kashif
> To: wsrp4j-user@ws.apache.org
> Sent: Tuesday, March 09, 2004 3:31 PM
> Subject: can't able to deploy
>
> Hi All,
>
> I need help to install wsrp4j
>
> I am using:
> 1) platform is windows XP
> 2) jdk1.3.1
> 3) tomcat 5.1
>
> I provide above tomcat path but it throws error during provider
> installation. I don't know that why it goes to :
> D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF....
>
>
> EROR is
> =======
> prepare web archive 'proxyportlet' ...
> CASTOR-Exception: org.exolab.castor.mapping.MappingException: Nested
> error: java
> .io.FileNotFoundException:
> D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF\d
> ata\xml\portletdefinitionmapping.xml (The system cannot find the path
> specified)
>
>
>
> Detail is following
> ===============
>
>
> i)  I changed my working dir. To following & first install consumer
> =============================================
> E:\WSRP4j\ws-wsrp4j\build>build install-swing-consumer
>
> This part of build is successfully done & shows following message in
> last
> =================================================
>
> BUILD SUCCESSFUL
> Total time: 3 seconds
>
>
>
> ii) than I try to install provider (the cmd echo is following)
> =======================================
> E:\WSRP4j\ws-wsrp4j\build>build install-provider-pluto
> Buildfile: build.xml
>
> install-provider-pluto:
>
> create-new-prop-file:
>
> setup.ask.home:
> Please enter the directory of Tomcat (e.g. C:/Tomcat-4.1):
> E:\Tomcat 5.0
>
> setup.check1:
>
> setup.check2:
>
> setup.tomcat:
>
> setup.ask.port:
> Please enter the port number of the Tomcat Http-Connector(Default
8080):
> 8080
>
> setup.port:
>
> uninstall:
> Deleting directory E:\Tomcat 5.0\webapps\wsrp
>
> Compiling Project...
>
> prepare:
>
> compiler.classic:
>
> compiler.eclipse:
>
> compile:
>
> build:
>
> Installing Pluto Provider...
>
> load-properties:
>
> prepare-producer:
> Created dir: E:\Tomcat 5.0\webapps\wsrp
> Copying 17 files to E:\Tomcat 5.0\webapps\wsrp
> Created dir: E:\Tomcat 5.0\webapps\wsrp\WEB-INF\lib
> Copying 10 files to E:\Tomcat 5.0\webapps\wsrp\WEB-INF\lib
> Copying 1 file to E:\Tomcat 5.0\webapps
>
> prepare-provider-pluto:
> Copying 13 files to E:\Tomcat 5.0\webapps\wsrp
> Copying 1 file to E:\Tomcat 5.0\webapps\wsrp\WEB-INF\lib
>
>
************************************************************************
> *******
> Installation successfully finished
>
************************************************************************
> *******
>
>
> Deploying portlets...
>
> load-properties:
>
> undeploy_portlets:
>
> set.target.tomcat:
>
> UnDeployPortlet.foreach:
>
> set.target.tomcat:
>
> UnDeployPortlet.foreach:
>
> load-properties:
>
> prepare:
>
> compiler.classic:
>
> compiler.eclipse:
>
> compile:
>
> build:
>
> proxyportlet.prepareWAR:
>
> build_portlets:
>
> BuildPortlet:
>
> init:
>
> env:
> Portlet Application ../portlets/proxyportlet ...
>
> compile:
>
> build.jar:
>
> build.war:
>
> build:
>
> BuildPortlet:
>
> init:
>
> env:
> Portlet Application ../portlets/wsrptest ...
>
> compile:
>
> build.jar:
>
> build.war:
>
> build:
>
> deploy_portlets:
>
> 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:
> D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF\d
> ata\xml\portletdefinitionmapping.xml (The system cannot find the path
> specified)
>
> java.io.IOException: Failed to load mapping file
> D:/Apache/Tomcat4.1.24-wsrp4j/w
> ebapps\pluto\WEB-INF\data\xml\portletdefinitionmapping.xml
>         at
> org.apache.pluto.portalImpl.Deploy.prepareWebArchive(Deploy.java:179)
>
>         at org.apache.pluto.portalImpl.Deploy.main(Deploy.java:517)
>
>
>
> proxyportlet.set.logger:
>
> DeployPortlet.foreach:
>
> set.target.tomcat:
>
> set.target.webapp:
>
> DeployPortlet.intern:
> deploying 'wsrptest' ...
> finished!
> prepare web archive 'wsrptest' ...
> CASTOR-Exception: org.exolab.castor.mapping.MappingException: Nested
> error: java
> .io.FileNotFoundException: E:Tomcat
> 5.0\webapps\wsrp\WEB-INF\data\xml\portletdef
> initionmapping.xml (The system cannot find the path specified)
> java.io.IOException: Failed to load mapping file E:Tomcat
> 5.0/webapps\wsrp\WEB-I
> NF\data\xml\portletdefinitionmapping.xml
>         at
> org.apache.pluto.portalImpl.Deploy.prepareWebArchive(Deploy.java:179)
>
>         at org.apache.pluto.portalImpl.Deploy.main(Deploy.java:517)
>
>
>
> proxyportlet.set.logger:
>
> BUILD SUCCESSFUL
> Total time: 35 seconds
> E:\WSRP4j\ws-wsrp4j\build>build install-provider-pluto
>
>
>
>
> 3) if All above is ok, means it succesfull (only portlet deployment
> throws errror), than why it throws error on starting consumer
>
========================================================================
> ============
> 1.            I check tunnel.bat (ports are ok)
> 2.            Than I run run.bat from /driver/swingconsumer dir.
>
> Than I got following on cmd
> =====================
>
>
> E:\WSRP4j\ws-wsrp4j\driver\SwingConsumer>call setcpath.bat
>
> E:\WSRP4j\ws-wsrp4j\driver\SwingConsumer>echo off
>
> E:\WSRP4j\ws-wsrp4j\driver\SwingConsumer>set CLASSPATH
>
classpath=.;.\classes\;.\lib\wsrp4j-consumer-0.3.jar;.\lib\wsrp4j-swing-
> consumer
>
-0.3.jar;.\lib\wsrp4j-shared-0.3.jar;.\lib\log4j.jar;.\lib\axis.jar;.\li
> b\jaxrpc
>
.jar;.\lib\tt-bytecode.jar;.\lib\saaj.jar;.\lib\commons-discovery.jar;.\
> lib\cast
>
or-0.9.4.1-xml.jar;.\lib\commons-logging.jar;.\lib\xml-apis-2.5.0.jar;.\
> lib\xerc
> esImpl-2.5.0.jar
> usage: run.bat [ProxyHost] [ProxyPort]
>
> E:\WSRP4j\ws-wsrp4j\driver\SwingConsumer>java -DproxyHost=localhost
> -DproxyPort=
> 80 org.apache.wsrp4j.consumer.app.driver.SwingConsumer
> Restored portlet :1_0.2
> Restored portlet :1_99.1
> Restored portlet :1_0.1
> Restored portlet :1_99.2
> Portleinstance key 192.168.4.27_1078842132861_1
> [INFO] Markup of portlet :99.1
> <table><tr><td bgcolor='#0000bb'><font color='white'><b>No title
> available! - 1_
> 99.1</font></b></td><td align='right' bgcolor='#0000bb'><font
> color='white'></fo
> nt></td></tr><tr><td
> colspan='2'>org.apache.wsrp4j.exception.WSRPException: No m
> essage found.
>
> Nested Throwable is:
> java.net.ConnectException: Connection refused:
connect</td></tr><tr><td
> bgcolor=
> '#0000bb'><font color='white'><i><a
> href='wsrp-portletInstanceKey=192.168.4.27_1
> 078842132861_1&clone.portlet'>Clone</a></i></font></td><td
align='right'
> bgcolor
> ='#0000bb'><font color='white'><i><a
> href='wsrp-portletInstanceKey=192.168.4.27_
> 1078842132861_1&view.properties'>View Properties</a>
> </i></font></td></tr></tabl
> e>
> Portleinstance key 192.168.4.27_1078842132861_0
> [INFO] Markup of portlet :99.2
> <table><tr><td bgcolor='#0000bb'><font color='white'><b>No title
> available! - 1_
> 99.2</font></b></td><td align='right' bgcolor='#0000bb'><font
> color='white'></fo
> nt></td></tr><tr><td
> colspan='2'>org.apache.wsrp4j.exception.WSRPException: No m
> essage found.
>
> Nested Throwable is:
> java.net.ConnectException: Connection refused:
connect</td></tr><tr><td
> bgcolor=
> '#0000bb'><font color='white'><i><a
> href='wsrp-portletInstanceKey=192.168.4.27_1
> 078842132861_0&clone.portlet'>Clone</a></i></font></td><td
align='right'
> bgcolor
> ='#0000bb'><font color='white'><i><a
> href='wsrp-portletInstanceKey=192.168.4.27_
> 1078842132861_0&view.properties'>View Properties</a>
> </i></font></td></tr></tabl
> e>
> Portleinstance key 192.168.4.27_1078842132877_3
> [INFO] Markup of portlet :0.2
> <table><tr><td bgcolor='#0000bb'><font color='white'><b>No title
> available! - 1_
> 0.2</font></b></td><td align='right' bgcolor='#0000bb'><font
> color='white'></fon
> t></td></tr><tr><td
> colspan='2'>org.apache.wsrp4j.exception.WSRPException: No me
> ssage found.
>
> Nested Throwable is:
> java.net.ConnectException: Connection refused:
connect</td></tr><tr><td
> bgcolor=
> '#0000bb'><font color='white'><i><a
> href='wsrp-portletInstanceKey=192.168.4.27_1
> 078842132877_3&clone.portlet'>Clone</a></i></font></td><td
align='right'
> bgcolor
> ='#0000bb'><font color='white'><i><a
> href='wsrp-portletInstanceKey=192.168.4.27_
> 1078842132877_3&view.properties'>View Properties</a>
> </i></font></td></tr></tabl
> e>
> Portleinstance key 192.168.4.27_1078842132877_2
> [INFO] Markup of portlet :0.1
> <table><tr><td bgcolor='#0000bb'><font color='white'><b>No title
> available! - 1_
> 0.1</font></b></td><td align='right' bgcolor='#0000bb'><font
> color='white'></fon
> t></td></tr><tr><td
> colspan='2'>org.apache.wsrp4j.exception.WSRPException: No me
> ssage found.
>
> Nested Throwable is:
> java.net.ConnectException: Connection refused:
connect</td></tr><tr><td
> bgcolor=
> '#0000bb'><font color='white'><i><a
> href='wsrp-portletInstanceKey=192.168.4.27_1
> 078842132877_2&clone.portlet'>Clone</a></i></font></td><td
align='right'
> bgcolor
> ='#0000bb'><font color='white'><i><a
> href='wsrp-portletInstanceKey=192.168.4.27_
> 1078842132877_2&view.properties'>View Properties</a>
> </i></font></td></tr></tabl
> e>
>
>




RE: can't able to deploy

Posted by Muhammad Kashif <mk...@clickmarks.com>.
HI punnet!

My problem is solved.
Actually the build.properties file in " \portlets\proxyportlet" has this
hardcode path. So not able to find the xml file "
D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF\data\xml\portletdefi
nitionmapping.xml"


Change this build.properties file manually

Regards Kashif

-----Original Message-----
From: puneet chawla [mailto:puneets@acis.ufl.edu] 
Sent: Tuesday, March 09, 2004 8:21 PM
To: wsrp4j-user@ws.apache.org
Subject: RE: can't able to deploy

I got the same error.
I am trying to deploy on linux.. but the error is D:\ somthing which
doesn't make sense to me.

:) Maybe i am new so >>

Thks,
--Puneet


On Tue, 9 Mar 2004, Muhammad Kashif wrote:

> thanks for your reply.
>  I used forward slash as follows "e:/Tomcat 5.0"
>
> But same error. Why it goes to :
>
>
>
D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF\data\xml\portletdefi
> nitionmapping.xml,
>
> As I provided "e:/Tomcat 5.0"
>
> Error
>
> env:
> Portlet Application ../portlets/wsrptest ...
>
> compile:
>
> build.jar:
>
> build.war:
>
> build:
>
> deploy_portlets:
>
> 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:
> D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF\d
> ata\xml\portletdefinitionmapping.xml (The system cannot find the path
> specified)
>
> java.io.IOException: Failed to load mapping file
> D:/Apache/Tomcat4.1.24-wsrp4j/w
> ebapps\pluto\WEB-INF\data\xml\portletdefinitionmapping.xml
>         at
> org.apache.pluto.portalImpl.Deploy.prepareWebArchive(Deploy.java:179)
>
>         at org.apache.pluto.portalImpl.Deploy.main(Deploy.java:517)
>
>
>
> proxyportlet.set.logger:
>
> DeployPortlet.foreach:
>
> set.target.tomcat:
>
> set.target.webapp:
>
> DeployPortlet.intern:
> deploying 'wsrptest' ...
> finished!
> prepare web archive 'wsrptest' ...
> finished!
>
>
>
> proxyportlet.set.logger:
>
> BUILD SUCCESSFUL
> Total time: 1 minute 0 seconds
>
>
> -----Original Message-----
> From: Peter Fischer [mailto:pfisher@apache.org]
> Sent: Tuesday, March 09, 2004 7:51 PM
> To: wsrp4j-user@ws.apache.org
> Subject: Re: can't able to deploy
>
> Hi,
>
> try to use foreslashes '/': D:/Apache/Tomcat....
> ----- Original Message -----
> From: Muhammad <ma...@clickmarks.com>  Kashif
> To: wsrp4j-user@ws.apache.org
> Sent: Tuesday, March 09, 2004 3:31 PM
> Subject: can't able to deploy
>
> Hi All,
>
> I need help to install wsrp4j
>
> I am using:
> 1) platform is windows XP
> 2) jdk1.3.1
> 3) tomcat 5.1
>
> I provide above tomcat path but it throws error during provider
> installation. I don't know that why it goes to :
> D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF....
>
>
> EROR is
> =======
> prepare web archive 'proxyportlet' ...
> CASTOR-Exception: org.exolab.castor.mapping.MappingException: Nested
> error: java
> .io.FileNotFoundException:
> D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF\d
> ata\xml\portletdefinitionmapping.xml (The system cannot find the path
> specified)
>
>
>
> Detail is following
> ===============
>
>
> i)  I changed my working dir. To following & first install consumer
> =============================================
> E:\WSRP4j\ws-wsrp4j\build>build install-swing-consumer
>
> This part of build is successfully done & shows following message in
> last
> =================================================
>
> BUILD SUCCESSFUL
> Total time: 3 seconds
>
>
>
> ii) than I try to install provider (the cmd echo is following)
> =======================================
> E:\WSRP4j\ws-wsrp4j\build>build install-provider-pluto
> Buildfile: build.xml
>
> install-provider-pluto:
>
> create-new-prop-file:
>
> setup.ask.home:
> Please enter the directory of Tomcat (e.g. C:/Tomcat-4.1):
> E:\Tomcat 5.0
>
> setup.check1:
>
> setup.check2:
>
> setup.tomcat:
>
> setup.ask.port:
> Please enter the port number of the Tomcat Http-Connector(Default
8080):
> 8080
>
> setup.port:
>
> uninstall:
> Deleting directory E:\Tomcat 5.0\webapps\wsrp
>
> Compiling Project...
>
> prepare:
>
> compiler.classic:
>
> compiler.eclipse:
>
> compile:
>
> build:
>
> Installing Pluto Provider...
>
> load-properties:
>
> prepare-producer:
> Created dir: E:\Tomcat 5.0\webapps\wsrp
> Copying 17 files to E:\Tomcat 5.0\webapps\wsrp
> Created dir: E:\Tomcat 5.0\webapps\wsrp\WEB-INF\lib
> Copying 10 files to E:\Tomcat 5.0\webapps\wsrp\WEB-INF\lib
> Copying 1 file to E:\Tomcat 5.0\webapps
>
> prepare-provider-pluto:
> Copying 13 files to E:\Tomcat 5.0\webapps\wsrp
> Copying 1 file to E:\Tomcat 5.0\webapps\wsrp\WEB-INF\lib
>
>
************************************************************************
> *******
> Installation successfully finished
>
************************************************************************
> *******
>
>
> Deploying portlets...
>
> load-properties:
>
> undeploy_portlets:
>
> set.target.tomcat:
>
> UnDeployPortlet.foreach:
>
> set.target.tomcat:
>
> UnDeployPortlet.foreach:
>
> load-properties:
>
> prepare:
>
> compiler.classic:
>
> compiler.eclipse:
>
> compile:
>
> build:
>
> proxyportlet.prepareWAR:
>
> build_portlets:
>
> BuildPortlet:
>
> init:
>
> env:
> Portlet Application ../portlets/proxyportlet ...
>
> compile:
>
> build.jar:
>
> build.war:
>
> build:
>
> BuildPortlet:
>
> init:
>
> env:
> Portlet Application ../portlets/wsrptest ...
>
> compile:
>
> build.jar:
>
> build.war:
>
> build:
>
> deploy_portlets:
>
> 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:
> D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF\d
> ata\xml\portletdefinitionmapping.xml (The system cannot find the path
> specified)
>
> java.io.IOException: Failed to load mapping file
> D:/Apache/Tomcat4.1.24-wsrp4j/w
> ebapps\pluto\WEB-INF\data\xml\portletdefinitionmapping.xml
>         at
> org.apache.pluto.portalImpl.Deploy.prepareWebArchive(Deploy.java:179)
>
>         at org.apache.pluto.portalImpl.Deploy.main(Deploy.java:517)
>
>
>
> proxyportlet.set.logger:
>
> DeployPortlet.foreach:
>
> set.target.tomcat:
>
> set.target.webapp:
>
> DeployPortlet.intern:
> deploying 'wsrptest' ...
> finished!
> prepare web archive 'wsrptest' ...
> CASTOR-Exception: org.exolab.castor.mapping.MappingException: Nested
> error: java
> .io.FileNotFoundException: E:Tomcat
> 5.0\webapps\wsrp\WEB-INF\data\xml\portletdef
> initionmapping.xml (The system cannot find the path specified)
> java.io.IOException: Failed to load mapping file E:Tomcat
> 5.0/webapps\wsrp\WEB-I
> NF\data\xml\portletdefinitionmapping.xml
>         at
> org.apache.pluto.portalImpl.Deploy.prepareWebArchive(Deploy.java:179)
>
>         at org.apache.pluto.portalImpl.Deploy.main(Deploy.java:517)
>
>
>
> proxyportlet.set.logger:
>
> BUILD SUCCESSFUL
> Total time: 35 seconds
> E:\WSRP4j\ws-wsrp4j\build>build install-provider-pluto
>
>
>
>
> 3) if All above is ok, means it succesfull (only portlet deployment
> throws errror), than why it throws error on starting consumer
>
========================================================================
> ============
> 1.            I check tunnel.bat (ports are ok)
> 2.            Than I run run.bat from /driver/swingconsumer dir.
>
> Than I got following on cmd
> =====================
>
>
> E:\WSRP4j\ws-wsrp4j\driver\SwingConsumer>call setcpath.bat
>
> E:\WSRP4j\ws-wsrp4j\driver\SwingConsumer>echo off
>
> E:\WSRP4j\ws-wsrp4j\driver\SwingConsumer>set CLASSPATH
>
classpath=.;.\classes\;.\lib\wsrp4j-consumer-0.3.jar;.\lib\wsrp4j-swing-
> consumer
>
-0.3.jar;.\lib\wsrp4j-shared-0.3.jar;.\lib\log4j.jar;.\lib\axis.jar;.\li
> b\jaxrpc
>
.jar;.\lib\tt-bytecode.jar;.\lib\saaj.jar;.\lib\commons-discovery.jar;.\
> lib\cast
>
or-0.9.4.1-xml.jar;.\lib\commons-logging.jar;.\lib\xml-apis-2.5.0.jar;.\
> lib\xerc
> esImpl-2.5.0.jar
> usage: run.bat [ProxyHost] [ProxyPort]
>
> E:\WSRP4j\ws-wsrp4j\driver\SwingConsumer>java -DproxyHost=localhost
> -DproxyPort=
> 80 org.apache.wsrp4j.consumer.app.driver.SwingConsumer
> Restored portlet :1_0.2
> Restored portlet :1_99.1
> Restored portlet :1_0.1
> Restored portlet :1_99.2
> Portleinstance key 192.168.4.27_1078842132861_1
> [INFO] Markup of portlet :99.1
> <table><tr><td bgcolor='#0000bb'><font color='white'><b>No title
> available! - 1_
> 99.1</font></b></td><td align='right' bgcolor='#0000bb'><font
> color='white'></fo
> nt></td></tr><tr><td
> colspan='2'>org.apache.wsrp4j.exception.WSRPException: No m
> essage found.
>
> Nested Throwable is:
> java.net.ConnectException: Connection refused:
connect</td></tr><tr><td
> bgcolor=
> '#0000bb'><font color='white'><i><a
> href='wsrp-portletInstanceKey=192.168.4.27_1
> 078842132861_1&clone.portlet'>Clone</a></i></font></td><td
align='right'
> bgcolor
> ='#0000bb'><font color='white'><i><a
> href='wsrp-portletInstanceKey=192.168.4.27_
> 1078842132861_1&view.properties'>View Properties</a>
> </i></font></td></tr></tabl
> e>
> Portleinstance key 192.168.4.27_1078842132861_0
> [INFO] Markup of portlet :99.2
> <table><tr><td bgcolor='#0000bb'><font color='white'><b>No title
> available! - 1_
> 99.2</font></b></td><td align='right' bgcolor='#0000bb'><font
> color='white'></fo
> nt></td></tr><tr><td
> colspan='2'>org.apache.wsrp4j.exception.WSRPException: No m
> essage found.
>
> Nested Throwable is:
> java.net.ConnectException: Connection refused:
connect</td></tr><tr><td
> bgcolor=
> '#0000bb'><font color='white'><i><a
> href='wsrp-portletInstanceKey=192.168.4.27_1
> 078842132861_0&clone.portlet'>Clone</a></i></font></td><td
align='right'
> bgcolor
> ='#0000bb'><font color='white'><i><a
> href='wsrp-portletInstanceKey=192.168.4.27_
> 1078842132861_0&view.properties'>View Properties</a>
> </i></font></td></tr></tabl
> e>
> Portleinstance key 192.168.4.27_1078842132877_3
> [INFO] Markup of portlet :0.2
> <table><tr><td bgcolor='#0000bb'><font color='white'><b>No title
> available! - 1_
> 0.2</font></b></td><td align='right' bgcolor='#0000bb'><font
> color='white'></fon
> t></td></tr><tr><td
> colspan='2'>org.apache.wsrp4j.exception.WSRPException: No me
> ssage found.
>
> Nested Throwable is:
> java.net.ConnectException: Connection refused:
connect</td></tr><tr><td
> bgcolor=
> '#0000bb'><font color='white'><i><a
> href='wsrp-portletInstanceKey=192.168.4.27_1
> 078842132877_3&clone.portlet'>Clone</a></i></font></td><td
align='right'
> bgcolor
> ='#0000bb'><font color='white'><i><a
> href='wsrp-portletInstanceKey=192.168.4.27_
> 1078842132877_3&view.properties'>View Properties</a>
> </i></font></td></tr></tabl
> e>
> Portleinstance key 192.168.4.27_1078842132877_2
> [INFO] Markup of portlet :0.1
> <table><tr><td bgcolor='#0000bb'><font color='white'><b>No title
> available! - 1_
> 0.1</font></b></td><td align='right' bgcolor='#0000bb'><font
> color='white'></fon
> t></td></tr><tr><td
> colspan='2'>org.apache.wsrp4j.exception.WSRPException: No me
> ssage found.
>
> Nested Throwable is:
> java.net.ConnectException: Connection refused:
connect</td></tr><tr><td
> bgcolor=
> '#0000bb'><font color='white'><i><a
> href='wsrp-portletInstanceKey=192.168.4.27_1
> 078842132877_2&clone.portlet'>Clone</a></i></font></td><td
align='right'
> bgcolor
> ='#0000bb'><font color='white'><i><a
> href='wsrp-portletInstanceKey=192.168.4.27_
> 1078842132877_2&view.properties'>View Properties</a>
> </i></font></td></tr></tabl
> e>
>
>




RE: can't able to deploy

Posted by puneet chawla <pu...@acis.ufl.edu>.
I got the same error.
I am trying to deploy on linux.. but the error is D:\ somthing which
doesn't make sense to me.

:) Maybe i am new so >>

Thks,
--Puneet


On Tue, 9 Mar 2004, Muhammad Kashif wrote:

> thanks for your reply.
>  I used forward slash as follows "e:/Tomcat 5.0"
>
> But same error. Why it goes to :
>
>
> D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF\data\xml\portletdefi
> nitionmapping.xml,
>
> As I provided "e:/Tomcat 5.0"
>
> Error
>
> env:
> Portlet Application ../portlets/wsrptest ...
>
> compile:
>
> build.jar:
>
> build.war:
>
> build:
>
> deploy_portlets:
>
> 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:
> D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF\d
> ata\xml\portletdefinitionmapping.xml (The system cannot find the path
> specified)
>
> java.io.IOException: Failed to load mapping file
> D:/Apache/Tomcat4.1.24-wsrp4j/w
> ebapps\pluto\WEB-INF\data\xml\portletdefinitionmapping.xml
>         at
> org.apache.pluto.portalImpl.Deploy.prepareWebArchive(Deploy.java:179)
>
>         at org.apache.pluto.portalImpl.Deploy.main(Deploy.java:517)
>
>
>
> proxyportlet.set.logger:
>
> DeployPortlet.foreach:
>
> set.target.tomcat:
>
> set.target.webapp:
>
> DeployPortlet.intern:
> deploying 'wsrptest' ...
> finished!
> prepare web archive 'wsrptest' ...
> finished!
>
>
>
> proxyportlet.set.logger:
>
> BUILD SUCCESSFUL
> Total time: 1 minute 0 seconds
>
>
> -----Original Message-----
> From: Peter Fischer [mailto:pfisher@apache.org]
> Sent: Tuesday, March 09, 2004 7:51 PM
> To: wsrp4j-user@ws.apache.org
> Subject: Re: can't able to deploy
>
> Hi,
>
> try to use foreslashes '/': D:/Apache/Tomcat....
> ----- Original Message -----
> From: Muhammad <ma...@clickmarks.com>  Kashif
> To: wsrp4j-user@ws.apache.org
> Sent: Tuesday, March 09, 2004 3:31 PM
> Subject: can't able to deploy
>
> Hi All,
>
> I need help to install wsrp4j
>
> I am using:
> 1) platform is windows XP
> 2) jdk1.3.1
> 3) tomcat 5.1
>
> I provide above tomcat path but it throws error during provider
> installation. I don't know that why it goes to :
> D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF....
>
>
> EROR is
> =======
> prepare web archive 'proxyportlet' ...
> CASTOR-Exception: org.exolab.castor.mapping.MappingException: Nested
> error: java
> .io.FileNotFoundException:
> D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF\d
> ata\xml\portletdefinitionmapping.xml (The system cannot find the path
> specified)
>
>
>
> Detail is following
> ===============
>
>
> i)  I changed my working dir. To following & first install consumer
> =============================================
> E:\WSRP4j\ws-wsrp4j\build>build install-swing-consumer
>
> This part of build is successfully done & shows following message in
> last
> =================================================
>
> BUILD SUCCESSFUL
> Total time: 3 seconds
>
>
>
> ii) than I try to install provider (the cmd echo is following)
> =======================================
> E:\WSRP4j\ws-wsrp4j\build>build install-provider-pluto
> Buildfile: build.xml
>
> install-provider-pluto:
>
> create-new-prop-file:
>
> setup.ask.home:
> Please enter the directory of Tomcat (e.g. C:/Tomcat-4.1):
> E:\Tomcat 5.0
>
> setup.check1:
>
> setup.check2:
>
> setup.tomcat:
>
> setup.ask.port:
> Please enter the port number of the Tomcat Http-Connector(Default 8080):
> 8080
>
> setup.port:
>
> uninstall:
> Deleting directory E:\Tomcat 5.0\webapps\wsrp
>
> Compiling Project...
>
> prepare:
>
> compiler.classic:
>
> compiler.eclipse:
>
> compile:
>
> build:
>
> Installing Pluto Provider...
>
> load-properties:
>
> prepare-producer:
> Created dir: E:\Tomcat 5.0\webapps\wsrp
> Copying 17 files to E:\Tomcat 5.0\webapps\wsrp
> Created dir: E:\Tomcat 5.0\webapps\wsrp\WEB-INF\lib
> Copying 10 files to E:\Tomcat 5.0\webapps\wsrp\WEB-INF\lib
> Copying 1 file to E:\Tomcat 5.0\webapps
>
> prepare-provider-pluto:
> Copying 13 files to E:\Tomcat 5.0\webapps\wsrp
> Copying 1 file to E:\Tomcat 5.0\webapps\wsrp\WEB-INF\lib
>
> ************************************************************************
> *******
> Installation successfully finished
> ************************************************************************
> *******
>
>
> Deploying portlets...
>
> load-properties:
>
> undeploy_portlets:
>
> set.target.tomcat:
>
> UnDeployPortlet.foreach:
>
> set.target.tomcat:
>
> UnDeployPortlet.foreach:
>
> load-properties:
>
> prepare:
>
> compiler.classic:
>
> compiler.eclipse:
>
> compile:
>
> build:
>
> proxyportlet.prepareWAR:
>
> build_portlets:
>
> BuildPortlet:
>
> init:
>
> env:
> Portlet Application ../portlets/proxyportlet ...
>
> compile:
>
> build.jar:
>
> build.war:
>
> build:
>
> BuildPortlet:
>
> init:
>
> env:
> Portlet Application ../portlets/wsrptest ...
>
> compile:
>
> build.jar:
>
> build.war:
>
> build:
>
> deploy_portlets:
>
> 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:
> D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF\d
> ata\xml\portletdefinitionmapping.xml (The system cannot find the path
> specified)
>
> java.io.IOException: Failed to load mapping file
> D:/Apache/Tomcat4.1.24-wsrp4j/w
> ebapps\pluto\WEB-INF\data\xml\portletdefinitionmapping.xml
>         at
> org.apache.pluto.portalImpl.Deploy.prepareWebArchive(Deploy.java:179)
>
>         at org.apache.pluto.portalImpl.Deploy.main(Deploy.java:517)
>
>
>
> proxyportlet.set.logger:
>
> DeployPortlet.foreach:
>
> set.target.tomcat:
>
> set.target.webapp:
>
> DeployPortlet.intern:
> deploying 'wsrptest' ...
> finished!
> prepare web archive 'wsrptest' ...
> CASTOR-Exception: org.exolab.castor.mapping.MappingException: Nested
> error: java
> .io.FileNotFoundException: E:Tomcat
> 5.0\webapps\wsrp\WEB-INF\data\xml\portletdef
> initionmapping.xml (The system cannot find the path specified)
> java.io.IOException: Failed to load mapping file E:Tomcat
> 5.0/webapps\wsrp\WEB-I
> NF\data\xml\portletdefinitionmapping.xml
>         at
> org.apache.pluto.portalImpl.Deploy.prepareWebArchive(Deploy.java:179)
>
>         at org.apache.pluto.portalImpl.Deploy.main(Deploy.java:517)
>
>
>
> proxyportlet.set.logger:
>
> BUILD SUCCESSFUL
> Total time: 35 seconds
> E:\WSRP4j\ws-wsrp4j\build>build install-provider-pluto
>
>
>
>
> 3) if All above is ok, means it succesfull (only portlet deployment
> throws errror), than why it throws error on starting consumer
> ========================================================================
> ============
> 1.            I check tunnel.bat (ports are ok)
> 2.            Than I run run.bat from /driver/swingconsumer dir.
>
> Than I got following on cmd
> =====================
>
>
> E:\WSRP4j\ws-wsrp4j\driver\SwingConsumer>call setcpath.bat
>
> E:\WSRP4j\ws-wsrp4j\driver\SwingConsumer>echo off
>
> E:\WSRP4j\ws-wsrp4j\driver\SwingConsumer>set CLASSPATH
> classpath=.;.\classes\;.\lib\wsrp4j-consumer-0.3.jar;.\lib\wsrp4j-swing-
> consumer
> -0.3.jar;.\lib\wsrp4j-shared-0.3.jar;.\lib\log4j.jar;.\lib\axis.jar;.\li
> b\jaxrpc
> .jar;.\lib\tt-bytecode.jar;.\lib\saaj.jar;.\lib\commons-discovery.jar;.\
> lib\cast
> or-0.9.4.1-xml.jar;.\lib\commons-logging.jar;.\lib\xml-apis-2.5.0.jar;.\
> lib\xerc
> esImpl-2.5.0.jar
> usage: run.bat [ProxyHost] [ProxyPort]
>
> E:\WSRP4j\ws-wsrp4j\driver\SwingConsumer>java -DproxyHost=localhost
> -DproxyPort=
> 80 org.apache.wsrp4j.consumer.app.driver.SwingConsumer
> Restored portlet :1_0.2
> Restored portlet :1_99.1
> Restored portlet :1_0.1
> Restored portlet :1_99.2
> Portleinstance key 192.168.4.27_1078842132861_1
> [INFO] Markup of portlet :99.1
> <table><tr><td bgcolor='#0000bb'><font color='white'><b>No title
> available! - 1_
> 99.1</font></b></td><td align='right' bgcolor='#0000bb'><font
> color='white'></fo
> nt></td></tr><tr><td
> colspan='2'>org.apache.wsrp4j.exception.WSRPException: No m
> essage found.
>
> Nested Throwable is:
> java.net.ConnectException: Connection refused: connect</td></tr><tr><td
> bgcolor=
> '#0000bb'><font color='white'><i><a
> href='wsrp-portletInstanceKey=192.168.4.27_1
> 078842132861_1&clone.portlet'>Clone</a></i></font></td><td align='right'
> bgcolor
> ='#0000bb'><font color='white'><i><a
> href='wsrp-portletInstanceKey=192.168.4.27_
> 1078842132861_1&view.properties'>View Properties</a>
> </i></font></td></tr></tabl
> e>
> Portleinstance key 192.168.4.27_1078842132861_0
> [INFO] Markup of portlet :99.2
> <table><tr><td bgcolor='#0000bb'><font color='white'><b>No title
> available! - 1_
> 99.2</font></b></td><td align='right' bgcolor='#0000bb'><font
> color='white'></fo
> nt></td></tr><tr><td
> colspan='2'>org.apache.wsrp4j.exception.WSRPException: No m
> essage found.
>
> Nested Throwable is:
> java.net.ConnectException: Connection refused: connect</td></tr><tr><td
> bgcolor=
> '#0000bb'><font color='white'><i><a
> href='wsrp-portletInstanceKey=192.168.4.27_1
> 078842132861_0&clone.portlet'>Clone</a></i></font></td><td align='right'
> bgcolor
> ='#0000bb'><font color='white'><i><a
> href='wsrp-portletInstanceKey=192.168.4.27_
> 1078842132861_0&view.properties'>View Properties</a>
> </i></font></td></tr></tabl
> e>
> Portleinstance key 192.168.4.27_1078842132877_3
> [INFO] Markup of portlet :0.2
> <table><tr><td bgcolor='#0000bb'><font color='white'><b>No title
> available! - 1_
> 0.2</font></b></td><td align='right' bgcolor='#0000bb'><font
> color='white'></fon
> t></td></tr><tr><td
> colspan='2'>org.apache.wsrp4j.exception.WSRPException: No me
> ssage found.
>
> Nested Throwable is:
> java.net.ConnectException: Connection refused: connect</td></tr><tr><td
> bgcolor=
> '#0000bb'><font color='white'><i><a
> href='wsrp-portletInstanceKey=192.168.4.27_1
> 078842132877_3&clone.portlet'>Clone</a></i></font></td><td align='right'
> bgcolor
> ='#0000bb'><font color='white'><i><a
> href='wsrp-portletInstanceKey=192.168.4.27_
> 1078842132877_3&view.properties'>View Properties</a>
> </i></font></td></tr></tabl
> e>
> Portleinstance key 192.168.4.27_1078842132877_2
> [INFO] Markup of portlet :0.1
> <table><tr><td bgcolor='#0000bb'><font color='white'><b>No title
> available! - 1_
> 0.1</font></b></td><td align='right' bgcolor='#0000bb'><font
> color='white'></fon
> t></td></tr><tr><td
> colspan='2'>org.apache.wsrp4j.exception.WSRPException: No me
> ssage found.
>
> Nested Throwable is:
> java.net.ConnectException: Connection refused: connect</td></tr><tr><td
> bgcolor=
> '#0000bb'><font color='white'><i><a
> href='wsrp-portletInstanceKey=192.168.4.27_1
> 078842132877_2&clone.portlet'>Clone</a></i></font></td><td align='right'
> bgcolor
> ='#0000bb'><font color='white'><i><a
> href='wsrp-portletInstanceKey=192.168.4.27_
> 1078842132877_2&view.properties'>View Properties</a>
> </i></font></td></tr></tabl
> e>
>
>


RE: can't able to deploy

Posted by Muhammad Kashif <mk...@clickmarks.com>.
thanks for your reply.
 I used forward slash as follows "e:/Tomcat 5.0"
 
But same error. Why it goes to :
 
 
D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF\data\xml\portletdefi
nitionmapping.xml,      
 
As I provided "e:/Tomcat 5.0"
 
Error
 
env:
Portlet Application ../portlets/wsrptest ...
 
compile:
 
build.jar:
 
build.war:
 
build:
 
deploy_portlets:
 
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:
D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF\d
ata\xml\portletdefinitionmapping.xml (The system cannot find the path
specified)
 
java.io.IOException: Failed to load mapping file
D:/Apache/Tomcat4.1.24-wsrp4j/w
ebapps\pluto\WEB-INF\data\xml\portletdefinitionmapping.xml
        at
org.apache.pluto.portalImpl.Deploy.prepareWebArchive(Deploy.java:179)
 
        at org.apache.pluto.portalImpl.Deploy.main(Deploy.java:517)
 
 
 
proxyportlet.set.logger:
 
DeployPortlet.foreach:
 
set.target.tomcat:
 
set.target.webapp:
 
DeployPortlet.intern:
deploying 'wsrptest' ...
finished!
prepare web archive 'wsrptest' ...
finished!
 
 
 
proxyportlet.set.logger:
 
BUILD SUCCESSFUL
Total time: 1 minute 0 seconds
 
 
-----Original Message-----
From: Peter Fischer [mailto:pfisher@apache.org] 
Sent: Tuesday, March 09, 2004 7:51 PM
To: wsrp4j-user@ws.apache.org
Subject: Re: can't able to deploy
 
Hi,
 
try to use foreslashes '/': D:/Apache/Tomcat....
----- Original Message ----- 
From: Muhammad <ma...@clickmarks.com>  Kashif 
To: wsrp4j-user@ws.apache.org 
Sent: Tuesday, March 09, 2004 3:31 PM
Subject: can't able to deploy
 
Hi All,
 
I need help to install wsrp4j
 
I am using:
1) platform is windows XP
2) jdk1.3.1 
3) tomcat 5.1
 
I provide above tomcat path but it throws error during provider
installation. I don't know that why it goes to :
D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF....
 
 
EROR is
=======
prepare web archive 'proxyportlet' ...
CASTOR-Exception: org.exolab.castor.mapping.MappingException: Nested
error: java
.io.FileNotFoundException:
D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF\d
ata\xml\portletdefinitionmapping.xml (The system cannot find the path
specified)
 
 
 
Detail is following
===============
 
 
i)  I changed my working dir. To following & first install consumer
=============================================
E:\WSRP4j\ws-wsrp4j\build>build install-swing-consumer
 
This part of build is successfully done & shows following message in
last
=================================================
 
BUILD SUCCESSFUL
Total time: 3 seconds
 
 
 
ii) than I try to install provider (the cmd echo is following)
=======================================
E:\WSRP4j\ws-wsrp4j\build>build install-provider-pluto
Buildfile: build.xml
 
install-provider-pluto:
 
create-new-prop-file:
 
setup.ask.home:
Please enter the directory of Tomcat (e.g. C:/Tomcat-4.1):
E:\Tomcat 5.0
 
setup.check1:
 
setup.check2:
 
setup.tomcat:
 
setup.ask.port:
Please enter the port number of the Tomcat Http-Connector(Default 8080):
8080
 
setup.port:
 
uninstall:
Deleting directory E:\Tomcat 5.0\webapps\wsrp
 
Compiling Project...
 
prepare:
 
compiler.classic:
 
compiler.eclipse:
 
compile:
 
build:
 
Installing Pluto Provider...
 
load-properties:
 
prepare-producer:
Created dir: E:\Tomcat 5.0\webapps\wsrp
Copying 17 files to E:\Tomcat 5.0\webapps\wsrp
Created dir: E:\Tomcat 5.0\webapps\wsrp\WEB-INF\lib
Copying 10 files to E:\Tomcat 5.0\webapps\wsrp\WEB-INF\lib
Copying 1 file to E:\Tomcat 5.0\webapps
 
prepare-provider-pluto:
Copying 13 files to E:\Tomcat 5.0\webapps\wsrp
Copying 1 file to E:\Tomcat 5.0\webapps\wsrp\WEB-INF\lib
 
************************************************************************
*******
Installation successfully finished
************************************************************************
*******
 
 
Deploying portlets...
 
load-properties:
 
undeploy_portlets:
 
set.target.tomcat:
 
UnDeployPortlet.foreach:
 
set.target.tomcat:
 
UnDeployPortlet.foreach:
 
load-properties:
 
prepare:
 
compiler.classic:
 
compiler.eclipse:
 
compile:
 
build:
 
proxyportlet.prepareWAR:
 
build_portlets:
 
BuildPortlet:
 
init:
 
env:
Portlet Application ../portlets/proxyportlet ...
 
compile:
 
build.jar:
 
build.war:
 
build:
 
BuildPortlet:
 
init:
 
env:
Portlet Application ../portlets/wsrptest ...
 
compile:
 
build.jar:
 
build.war:
 
build:
 
deploy_portlets:
 
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:
D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF\d
ata\xml\portletdefinitionmapping.xml (The system cannot find the path
specified)
 
java.io.IOException: Failed to load mapping file
D:/Apache/Tomcat4.1.24-wsrp4j/w
ebapps\pluto\WEB-INF\data\xml\portletdefinitionmapping.xml
        at
org.apache.pluto.portalImpl.Deploy.prepareWebArchive(Deploy.java:179)
 
        at org.apache.pluto.portalImpl.Deploy.main(Deploy.java:517)
 
 
 
proxyportlet.set.logger:
 
DeployPortlet.foreach:
 
set.target.tomcat:
 
set.target.webapp:
 
DeployPortlet.intern:
deploying 'wsrptest' ...
finished!
prepare web archive 'wsrptest' ...
CASTOR-Exception: org.exolab.castor.mapping.MappingException: Nested
error: java
.io.FileNotFoundException: E:Tomcat
5.0\webapps\wsrp\WEB-INF\data\xml\portletdef
initionmapping.xml (The system cannot find the path specified)
java.io.IOException: Failed to load mapping file E:Tomcat
5.0/webapps\wsrp\WEB-I
NF\data\xml\portletdefinitionmapping.xml
        at
org.apache.pluto.portalImpl.Deploy.prepareWebArchive(Deploy.java:179)
 
        at org.apache.pluto.portalImpl.Deploy.main(Deploy.java:517)
 
 
 
proxyportlet.set.logger:
 
BUILD SUCCESSFUL
Total time: 35 seconds
E:\WSRP4j\ws-wsrp4j\build>build install-provider-pluto
 
 
 
 
3) if All above is ok, means it succesfull (only portlet deployment
throws errror), than why it throws error on starting consumer
========================================================================
============ 
1.            I check tunnel.bat (ports are ok)
2.            Than I run run.bat from /driver/swingconsumer dir.
 
Than I got following on cmd
=====================
 
 
E:\WSRP4j\ws-wsrp4j\driver\SwingConsumer>call setcpath.bat
 
E:\WSRP4j\ws-wsrp4j\driver\SwingConsumer>echo off
 
E:\WSRP4j\ws-wsrp4j\driver\SwingConsumer>set CLASSPATH
classpath=.;.\classes\;.\lib\wsrp4j-consumer-0.3.jar;.\lib\wsrp4j-swing-
consumer
-0.3.jar;.\lib\wsrp4j-shared-0.3.jar;.\lib\log4j.jar;.\lib\axis.jar;.\li
b\jaxrpc
.jar;.\lib\tt-bytecode.jar;.\lib\saaj.jar;.\lib\commons-discovery.jar;.\
lib\cast
or-0.9.4.1-xml.jar;.\lib\commons-logging.jar;.\lib\xml-apis-2.5.0.jar;.\
lib\xerc
esImpl-2.5.0.jar
usage: run.bat [ProxyHost] [ProxyPort]
 
E:\WSRP4j\ws-wsrp4j\driver\SwingConsumer>java -DproxyHost=localhost
-DproxyPort=
80 org.apache.wsrp4j.consumer.app.driver.SwingConsumer
Restored portlet :1_0.2
Restored portlet :1_99.1
Restored portlet :1_0.1
Restored portlet :1_99.2
Portleinstance key 192.168.4.27_1078842132861_1
[INFO] Markup of portlet :99.1
<table><tr><td bgcolor='#0000bb'><font color='white'><b>No title
available! - 1_
99.1</font></b></td><td align='right' bgcolor='#0000bb'><font
color='white'></fo
nt></td></tr><tr><td
colspan='2'>org.apache.wsrp4j.exception.WSRPException: No m
essage found.
 
Nested Throwable is:
java.net.ConnectException: Connection refused: connect</td></tr><tr><td
bgcolor=
'#0000bb'><font color='white'><i><a
href='wsrp-portletInstanceKey=192.168.4.27_1
078842132861_1&clone.portlet'>Clone</a></i></font></td><td align='right'
bgcolor
='#0000bb'><font color='white'><i><a
href='wsrp-portletInstanceKey=192.168.4.27_
1078842132861_1&view.properties'>View Properties</a>
</i></font></td></tr></tabl
e>
Portleinstance key 192.168.4.27_1078842132861_0
[INFO] Markup of portlet :99.2
<table><tr><td bgcolor='#0000bb'><font color='white'><b>No title
available! - 1_
99.2</font></b></td><td align='right' bgcolor='#0000bb'><font
color='white'></fo
nt></td></tr><tr><td
colspan='2'>org.apache.wsrp4j.exception.WSRPException: No m
essage found.
 
Nested Throwable is:
java.net.ConnectException: Connection refused: connect</td></tr><tr><td
bgcolor=
'#0000bb'><font color='white'><i><a
href='wsrp-portletInstanceKey=192.168.4.27_1
078842132861_0&clone.portlet'>Clone</a></i></font></td><td align='right'
bgcolor
='#0000bb'><font color='white'><i><a
href='wsrp-portletInstanceKey=192.168.4.27_
1078842132861_0&view.properties'>View Properties</a>
</i></font></td></tr></tabl
e>
Portleinstance key 192.168.4.27_1078842132877_3
[INFO] Markup of portlet :0.2
<table><tr><td bgcolor='#0000bb'><font color='white'><b>No title
available! - 1_
0.2</font></b></td><td align='right' bgcolor='#0000bb'><font
color='white'></fon
t></td></tr><tr><td
colspan='2'>org.apache.wsrp4j.exception.WSRPException: No me
ssage found.
 
Nested Throwable is:
java.net.ConnectException: Connection refused: connect</td></tr><tr><td
bgcolor=
'#0000bb'><font color='white'><i><a
href='wsrp-portletInstanceKey=192.168.4.27_1
078842132877_3&clone.portlet'>Clone</a></i></font></td><td align='right'
bgcolor
='#0000bb'><font color='white'><i><a
href='wsrp-portletInstanceKey=192.168.4.27_
1078842132877_3&view.properties'>View Properties</a>
</i></font></td></tr></tabl
e>
Portleinstance key 192.168.4.27_1078842132877_2
[INFO] Markup of portlet :0.1
<table><tr><td bgcolor='#0000bb'><font color='white'><b>No title
available! - 1_
0.1</font></b></td><td align='right' bgcolor='#0000bb'><font
color='white'></fon
t></td></tr><tr><td
colspan='2'>org.apache.wsrp4j.exception.WSRPException: No me
ssage found.
 
Nested Throwable is:
java.net.ConnectException: Connection refused: connect</td></tr><tr><td
bgcolor=
'#0000bb'><font color='white'><i><a
href='wsrp-portletInstanceKey=192.168.4.27_1
078842132877_2&clone.portlet'>Clone</a></i></font></td><td align='right'
bgcolor
='#0000bb'><font color='white'><i><a
href='wsrp-portletInstanceKey=192.168.4.27_
1078842132877_2&view.properties'>View Properties</a>
</i></font></td></tr></tabl
e>
 

Re: can't able to deploy

Posted by Peter Fischer <pf...@apache.org>.
Hi,

try to use foreslashes '/': D:/Apache/Tomcat....
  ----- Original Message ----- 
  From: Muhammad Kashif 
  To: wsrp4j-user@ws.apache.org 
  Sent: Tuesday, March 09, 2004 3:31 PM
  Subject: can't able to deploy


  Hi All,

   

  I need help to install wsrp4j

   

  I am using:

  1) platform is windows XP

  2) jdk1.3.1 

  3) tomcat 5.1

   

  I provide above tomcat path but it throws error during provider installation. I don't know that why it goes to : D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF....

   

   

  EROR is

  =======

  prepare web archive 'proxyportlet' ...

  CASTOR-Exception: org.exolab.castor.mapping.MappingException: Nested error: java

  .io.FileNotFoundException: D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF\d

  ata\xml\portletdefinitionmapping.xml (The system cannot find the path specified)

   

   

   

  Detail is following

  ===============

   

   

  i)  I changed my working dir. To following & first install consumer

  =============================================

  E:\WSRP4j\ws-wsrp4j\build>build install-swing-consumer

   

  This part of build is successfully done & shows following message in last

  =================================================

   

  BUILD SUCCESSFUL

  Total time: 3 seconds

   

   

   

  ii) than I try to install provider (the cmd echo is following)

  =======================================

  E:\WSRP4j\ws-wsrp4j\build>build install-provider-pluto

  Buildfile: build.xml

   

  install-provider-pluto:

   

  create-new-prop-file:

   

  setup.ask.home:

  Please enter the directory of Tomcat (e.g. C:/Tomcat-4.1):

  E:\Tomcat 5.0

   

  setup.check1:

   

  setup.check2:

   

  setup.tomcat:

   

  setup.ask.port:

  Please enter the port number of the Tomcat Http-Connector(Default 8080):

  8080

   

  setup.port:

   

  uninstall:

  Deleting directory E:\Tomcat 5.0\webapps\wsrp

   

  Compiling Project...

   

  prepare:

   

  compiler.classic:

   

  compiler.eclipse:

   

  compile:

   

  build:

   

  Installing Pluto Provider...

   

  load-properties:

   

  prepare-producer:

  Created dir: E:\Tomcat 5.0\webapps\wsrp

  Copying 17 files to E:\Tomcat 5.0\webapps\wsrp

  Created dir: E:\Tomcat 5.0\webapps\wsrp\WEB-INF\lib

  Copying 10 files to E:\Tomcat 5.0\webapps\wsrp\WEB-INF\lib

  Copying 1 file to E:\Tomcat 5.0\webapps

   

  prepare-provider-pluto:

  Copying 13 files to E:\Tomcat 5.0\webapps\wsrp

  Copying 1 file to E:\Tomcat 5.0\webapps\wsrp\WEB-INF\lib

   

  *******************************************************************************

  Installation successfully finished

  *******************************************************************************

   

   

  Deploying portlets...

   

  load-properties:

   

  undeploy_portlets:

   

  set.target.tomcat:

   

  UnDeployPortlet.foreach:

   

  set.target.tomcat:

   

  UnDeployPortlet.foreach:

   

  load-properties:

   

  prepare:

   

  compiler.classic:

   

  compiler.eclipse:

   

  compile:

   

  build:

   

  proxyportlet.prepareWAR:

   

  build_portlets:

   

  BuildPortlet:

   

  init:

   

  env:

  Portlet Application ../portlets/proxyportlet ...

   

  compile:

   

  build.jar:

   

  build.war:

   

  build:

   

  BuildPortlet:

   

  init:

   

  env:

  Portlet Application ../portlets/wsrptest ...

   

  compile:

   

  build.jar:

   

  build.war:

   

  build:

   

  deploy_portlets:

   

  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: D:\Apache\Tomcat4.1.24-wsrp4j\webapps\pluto\WEB-INF\d

  ata\xml\portletdefinitionmapping.xml (The system cannot find the path specified)

   

  java.io.IOException: Failed to load mapping file D:/Apache/Tomcat4.1.24-wsrp4j/w

  ebapps\pluto\WEB-INF\data\xml\portletdefinitionmapping.xml

          at org.apache.pluto.portalImpl.Deploy.prepareWebArchive(Deploy.java:179)

   

          at org.apache.pluto.portalImpl.Deploy.main(Deploy.java:517)

   

   

   

  proxyportlet.set.logger:

   

  DeployPortlet.foreach:

   

  set.target.tomcat:

   

  set.target.webapp:

   

  DeployPortlet.intern:

  deploying 'wsrptest' ...

  finished!

  prepare web archive 'wsrptest' ...

  CASTOR-Exception: org.exolab.castor.mapping.MappingException: Nested error: java

  .io.FileNotFoundException: E:Tomcat 5.0\webapps\wsrp\WEB-INF\data\xml\portletdef

  initionmapping.xml (The system cannot find the path specified)

  java.io.IOException: Failed to load mapping file E:Tomcat 5.0/webapps\wsrp\WEB-I

  NF\data\xml\portletdefinitionmapping.xml

          at org.apache.pluto.portalImpl.Deploy.prepareWebArchive(Deploy.java:179)

   

          at org.apache.pluto.portalImpl.Deploy.main(Deploy.java:517)

   

   

   

  proxyportlet.set.logger:

   

  BUILD SUCCESSFUL

  Total time: 35 seconds

  E:\WSRP4j\ws-wsrp4j\build>build install-provider-pluto

   

   

   

   

  3) if All above is ok, means it succesfull (only portlet deployment throws errror), than why it throws error on starting consumer

  ==================================================================================== 

  i)                    I check tunnel.bat (ports are ok)

  ii)                   Than I run run.bat from /driver/swingconsumer dir.

   

  Than I got following on cmd

  =====================

   

   

  E:\WSRP4j\ws-wsrp4j\driver\SwingConsumer>call setcpath.bat

   

  E:\WSRP4j\ws-wsrp4j\driver\SwingConsumer>echo off

   

  E:\WSRP4j\ws-wsrp4j\driver\SwingConsumer>set CLASSPATH

  classpath=.;.\classes\;.\lib\wsrp4j-consumer-0.3.jar;.\lib\wsrp4j-swing-consumer

  -0.3.jar;.\lib\wsrp4j-shared-0.3.jar;.\lib\log4j.jar;.\lib\axis.jar;.\lib\jaxrpc

  .jar;.\lib\tt-bytecode.jar;.\lib\saaj.jar;.\lib\commons-discovery.jar;.\lib\cast

  or-0.9.4.1-xml.jar;.\lib\commons-logging.jar;.\lib\xml-apis-2.5.0.jar;.\lib\xerc

  esImpl-2.5.0.jar

  usage: run.bat [ProxyHost] [ProxyPort]

   

  E:\WSRP4j\ws-wsrp4j\driver\SwingConsumer>java -DproxyHost=localhost -DproxyPort=

  80 org.apache.wsrp4j.consumer.app.driver.SwingConsumer

  Restored portlet :1_0.2

  Restored portlet :1_99.1

  Restored portlet :1_0.1

  Restored portlet :1_99.2

  Portleinstance key 192.168.4.27_1078842132861_1

  [INFO] Markup of portlet :99.1

  <table><tr><td bgcolor='#0000bb'><font color='white'><b>No title available! - 1_

  99.1</font></b></td><td align='right' bgcolor='#0000bb'><font color='white'></fo

  nt></td></tr><tr><td colspan='2'>org.apache.wsrp4j.exception.WSRPException: No m

  essage found.

   

  Nested Throwable is:

  java.net.ConnectException: Connection refused: connect</td></tr><tr><td bgcolor=

  '#0000bb'><font color='white'><i><a href='wsrp-portletInstanceKey=192.168.4.27_1

  078842132861_1&clone.portlet'>Clone</a></i></font></td><td align='right' bgcolor

  ='#0000bb'><font color='white'><i><a href='wsrp-portletInstanceKey=192.168.4.27_

  1078842132861_1&view.properties'>View Properties</a> </i></font></td></tr></tabl

  e>

  Portleinstance key 192.168.4.27_1078842132861_0

  [INFO] Markup of portlet :99.2

  <table><tr><td bgcolor='#0000bb'><font color='white'><b>No title available! - 1_

  99.2</font></b></td><td align='right' bgcolor='#0000bb'><font color='white'></fo

  nt></td></tr><tr><td colspan='2'>org.apache.wsrp4j.exception.WSRPException: No m

  essage found.

   

  Nested Throwable is:

  java.net.ConnectException: Connection refused: connect</td></tr><tr><td bgcolor=

  '#0000bb'><font color='white'><i><a href='wsrp-portletInstanceKey=192.168.4.27_1

  078842132861_0&clone.portlet'>Clone</a></i></font></td><td align='right' bgcolor

  ='#0000bb'><font color='white'><i><a href='wsrp-portletInstanceKey=192.168.4.27_

  1078842132861_0&view.properties'>View Properties</a> </i></font></td></tr></tabl

  e>

  Portleinstance key 192.168.4.27_1078842132877_3

  [INFO] Markup of portlet :0.2

  <table><tr><td bgcolor='#0000bb'><font color='white'><b>No title available! - 1_

  0.2</font></b></td><td align='right' bgcolor='#0000bb'><font color='white'></fon

  t></td></tr><tr><td colspan='2'>org.apache.wsrp4j.exception.WSRPException: No me

  ssage found.

   

  Nested Throwable is:

  java.net.ConnectException: Connection refused: connect</td></tr><tr><td bgcolor=

  '#0000bb'><font color='white'><i><a href='wsrp-portletInstanceKey=192.168.4.27_1

  078842132877_3&clone.portlet'>Clone</a></i></font></td><td align='right' bgcolor

  ='#0000bb'><font color='white'><i><a href='wsrp-portletInstanceKey=192.168.4.27_

  1078842132877_3&view.properties'>View Properties</a> </i></font></td></tr></tabl

  e>

  Portleinstance key 192.168.4.27_1078842132877_2

  [INFO] Markup of portlet :0.1

  <table><tr><td bgcolor='#0000bb'><font color='white'><b>No title available! - 1_

  0.1</font></b></td><td align='right' bgcolor='#0000bb'><font color='white'></fon

  t></td></tr><tr><td colspan='2'>org.apache.wsrp4j.exception.WSRPException: No me

  ssage found.

   

  Nested Throwable is:

  java.net.ConnectException: Connection refused: connect</td></tr><tr><td bgcolor=

  '#0000bb'><font color='white'><i><a href='wsrp-portletInstanceKey=192.168.4.27_1

  078842132877_2&clone.portlet'>Clone</a></i></font></td><td align='right' bgcolor

  ='#0000bb'><font color='white'><i><a href='wsrp-portletInstanceKey=192.168.4.27_

  1078842132877_2&view.properties'>View Properties</a> </i></font></td></tr></tabl

  e>