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 Julie MacNaught <jm...@apache.org> on 2004/06/02 21:38:15 UTC

Re: Build failed!

This should be fixed now.

Chris Delgado wrote:

>Hi Tom - I posted a question about this error on the wsrp4j-dev
>list with no response yet.  But I got mine to work doing the following:
>
>It looks like build.xml is calling org.apache.pluto.portalImpl.Deploy, but
>there is a comment that the last parameter is unnecessary:
>
>    <target name="DeployPortlet.intern" depends="set.target.tomcat,
>set.target.webapp">
>        <java classname="org.apache.pluto.portalImpl.Deploy" fork="true">
>            <arg value="${target.tomcat.home}/webapps"/>
>            <arg value="${target.webapp}"/>
>            <arg value="${fullPathPortletToDeploy}"/>
>            <arg value="blabla"/> <!-- seems we don't need this at all -->
>
>But a recent version of Deploy.java from Pluto makes me think it is
>necessary (the <pluto-home-dir>) since Deploy.java needs the portlet TLD.
>
>    public static void main(String args[]) {
>        String warFile;
>        if (args.length < 4) {
>            System.out.println(
>                "No argument specified. This command must be issued as:");
>            System.out.println(
>                "deploy <TOMCAT-webapps-directory>
><TOMCAT-pluto-webmodule-name> <web-archive> <pluto-home-dir>
>
>If I modify build.xml to the correct <pluto-home-dir> all works fine.  Maybe
>a previous version of Pluto's Deploy.java didn't require the 4th parameter?
>
>Chris Delgado
>1703 Durley Down Court
>Smyrna GA 30082 USA
>chris@chrisdelgado.com
>(404) 931-2557
>
>
>-----Original Message-----
>From: Tom [mailto:tom@2yoo.de] 
>Sent: Tuesday, May 18, 2004 5:57 PM
>To: wsrp4j-user@ws.apache.org
>Subject: Re: Build failed!
>
>Hi!
>
>It seems to work now. Thank you!
>
>But why get following error, when running install-producer-pluto.bat?
>
>Greetings,
>Tom
>-------------------------------
>...
>set.target.webapp:
>
>DeployPortlet.intern:
>deploying 'proxyportlet' ...
>finished!
>prepare web archive 'proxyportlet' ...
>java.io.FileNotFoundException:
>blabla\portal\src\webapp\WEB-INF\tld\portlet.tld
>(Das System kann den angegebenen Pfad nicht finden)
>        at java.io.FileInputStream.open(Native Method)
>        at java.io.FileInputStream.<init>(FileInputStream.java:106)
>        at java.io.FileInputStream.<init>(FileInputStream.java:66)
>        at org.apache.pluto.portalImpl.Deploy.copy(Deploy.java:413)
>        at
>org.apache.pluto.portalImpl.Deploy.prepareWebArchive(Deploy.java:397)
>
>        at org.apache.pluto.portalImpl.Deploy.main(Deploy.java:480)
>java.lang.Exception
>        at
>org.apache.pluto.portalImpl.Deploy.prepareWebArchive(Deploy.java:401)
>
>        at org.apache.pluto.portalImpl.Deploy.main(Deploy.java:480)
>
>proxyportlet.set.logger:
>
>DeployPortlet.foreach:
>
>set.target.tomcat:
>
>set.target.webapp:
>
>DeployPortlet.intern:
>deploying 'wsrptest' ...
>finished!
>prepare web archive 'wsrptest' ...
>java.io.FileNotFoundException:
>blabla\portal\src\webapp\WEB-INF\tld\portlet.tld
>(Das System kann den angegebenen Pfad nicht finden)
>        at java.io.FileInputStream.open(Native Method)
>        at java.io.FileInputStream.<init>(FileInputStream.java:106)
>        at java.io.FileInputStream.<init>(FileInputStream.java:66)
>        at org.apache.pluto.portalImpl.Deploy.copy(Deploy.java:413)
>        at
>org.apache.pluto.portalImpl.Deploy.prepareWebArchive(Deploy.java:397)
>
>        at org.apache.pluto.portalImpl.Deploy.main(Deploy.java:480)
>java.lang.Exception
>        at
>org.apache.pluto.portalImpl.Deploy.prepareWebArchive(Deploy.java:401)
>
>        at org.apache.pluto.portalImpl.Deploy.main(Deploy.java:480)
>
>proxyportlet.set.logger:
>
>BUILD SUCCESSFUL
>Total time: 11 seconds
>...
>-------------------------------
>
>
>  
>

-- 
Julie MacNaught
IBM Research
jmacna@apache.org
jmacna@us.ibm.com