For me, "mvn install" built everything but didn't deploy anything to my
tomcat. No errors were visible and there was no evidence of tomcat getting
involved so I'm not sure if this command should actually deploy anything???
(I'm new to maven as well as wsrp4j!)

I made reasonable progress with the following steps:

7. Install Tomcat 5.5.17
8. Copy wsrp4j-producer.war from trunk\producer\target to
apache-tomcat-5.5.17\webapps
9. Copy wsrp4j-testportlet.jar from trunk\testportlet\target to
apache-tomcat-5.5.17\webapps
10. Start Tomcat
11. It extracts the WAR's into folders of the same name
12. Rename
apache-tomcat-5.5.17\webapps\wsrp4j-producer\WEB-INF\classes\wsrp4j-logger.properties
to log4j.properties so you can control the logging
13. Restart Tomcat
14. Since I can't run SwingConsumer (and no-one else seems to know how) and
I haven't got my Oracle Portal ready yet, I have used soapui
(http://www.soapui.org) to send soap messages into wsrp4j. To import the
wsdl file into soapui, I had to edit
apache-tomcat-5.5.17\webapps\wsrp4j-producer\wsdl\wsrp_service.wsdl to point
to the correct host, port and location. Using this approach I have been able
to send register, initCookie, getServiceDescription and getPortletProperties
messages. But I get a NullPointerException trying to send a getMarkup
message. This is a very low-level way of going about it but it has helped me
to learn the protocol at least...



Dimitar Kisiov wrote:
> 
> Hi,
> 
> I'm trying to make a "self-made" documentation, but couldn't do much,
> because I couldn't deploy the producer two weeks ago. I don't know
> whether the deploying is functional now. Here are the steps that I was
> doing:
> 
> 1. SVN - get the binary distribution and extract it in a dir %SVN_HOME%
> 2. SVN - add %SVN_HOME%\bin to the PATH variable.
>        - adjust if needed the proxy settings (in WIN:
> %APPDATA%/Subversion/servers)
> 
> 3. WSRP4J - check it out using the SVN
> (http://portals.apache.org/wsrp4j/contributing/cvs.html)
>           - command: svn co
> https://svn.apache.org/repos/asf/portals/wsrp4j/trunk
>           - there will be a directory builded with the name "trunk"
> (named here %trunk%)
> 
> 4. MAVEN - download maven 2.0.4, the binary distribution and extract
> it in a dir %MAVEN_HOME%
> 5. MAVEN - add MAVEN_HOME%\bin to the PATH variable
>          - adjust if needed the proxy settings (in WIN:
> %USER_HOME%\.m2\settings.xml)
> 
> <settings>
>   <proxies>
>     <proxy>
>       <id>YourProxyID</id>
>       <active>true</active>
>       <protocol>http</protocol>
>       <username></username>
>       <password></password>
>       <host>YourProxyURL</host>
>       <port>YourProxyPort</port>
>       <nonProxyHosts>localhost</nonProxyHosts>
>     </proxy>
>   </proxies>
> 
>   <profiles>
>         <profile>
>                 <id>ibiblio</id>
>                 <repositories>
>                               <repository>
>                                 <id>ibibliorep</id>
>                                 <name>ibiblio builds</name>
>                                 <url>www.ibiblio.org/maven2</url>
>                                 <layout>default</layout>
>                         </repository>
>                 </repositories>
>               </profile>
>     </profiles>
>               
>       <activeProfiles>
>               <activeProfile>ibiblio</activeProfile>
>       </activeProfiles>
> 
> </settings>
> 
> 6. Trunk - copy the build.properties.sample file as build.properties
>            and adjust your tomcat installation in that file.
> 
> 6. Go to %trunk% and run "mvn install" to build the WSRP4J project.
>    If you want to be sure that you're doing a complete install, you
> should delete all the files in the
>    USER_HOME%\.m2\repository dir. If something go wrong, try again.
> 
> 7. Here must be the info how do deploy the producer and the consumer,
> but I still don't know how ... Maybe someone can help.
> 
> 
> 
> On 9/21/06, Stephen More <[EMAIL PROTECTED]> wrote:
>> I see that the docs for getting started (
>> http://portals.apache.org/wsrp4j/gettingstarted/ ) are using maven
>> 1.0.2.
>>
>> After checking the code out from subversion, I see the code has been
>> updated for maven 2.0.
>>
>> Can someone update the getting started docs to include the newer
>> version of maven ?
>>
>>
>> -Thanks
>> Steve More
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Docs-for-getting-started.-tf2314127.html#a6538858
Sent from the Wsrp4J - User mailing list archive at Nabble.com.

Reply via email to