You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-user@portals.apache.org by "Stam, Kurt" <KS...@vfa.com> on 2005/05/02 15:43:20 UTC
RE: set pluto with jboss 3.3.2
Hi Muhammad,
I'm replying to the list as other people may find this info also useful.
I'm using jboss 3.2.6, but I don't think the version really matters
here. On the pluto side of things I used both rc1 and rc3.
To deploy pluto to jboss
1. I add the pluto jar (i.e. pluto-1.0.1-rc1.jar) to the
jboss/server/<jboss-instance>/lib dir and also the portlet-api-1.0.jar
2. Then I deploy pluto.war to the jboss/server/<jboss-instance>/deploy
dir.
3. For SSO of the portlets I use JOSSO (www.josso.org). If you also want
to use this you may want to start with the jboss distro provided by
josso, this will make things a little easier.
Note I found it very useful *not* to start with jboss until you get the
hang of it. The pluto community is largerly a tomcat crowd and you'll
get much more out-of-the-box working code that way.
Best regards,
--Kurt
-----Original Message-----
From: Muhammad Kashif [mailto:mkashif@clickmarks.com]
Sent: Saturday, April 30, 2005 7:32 AM
To: pluto-user@portals.apache.org
Subject: set pluto with jboss 3.3.2
Hi All,
I have following questions & need help from GURUS in those
regards
1) I want to deploy & configure Pluto & wsrp4j on jboss 3.2.3,
But I find that "maven build step" required to provide tomcat
path & version in file (build.properties).
So please guide me that, how can I accomplish it?
2) I also download Pluto build comes with tomcat version &
successfully run testsuite portal page.
Now I want to deploy a jsr-168 complaint first.war,
For this I add following lines in portletentityregistry.xml:
<?xml version="1.0" encoding="UTF-8"?>
<portlet-entity-registry>
<application id="first">
<definition-id>first</definition-id>
<portlet id="firstportlet">
<definition-id>first.FirstPortlet</definition-id>
</portlet>
</application>
</portlet-entity-registry>
And update my pageregistry.xml:
<?xml version="1.0"?>
<portal>
<fragment name="navigation"
class="org.apache.pluto.portalImpl.aggregation.navigation.TabNavigation"
>
</fragment>
<fragment name="first" type="page">
<navigation>
<title>First Portlet</title>
<description>...</description>
</navigation>
<fragment name="row" type="row">
<fragment name="col1" type="column">
<fragment name="p1" type="portlet">
<property name="portlet"
value="first.firstportlet"/>
</fragment>
</fragment>
</fragment>
</fragment>
</portal>
And finally add context path in portletcontexts.txt as follows
/first
Is I have to run deploy command on maven also, but I can't see
any such files "maven.xml" comes with this Pluto build(tomcat build)?
If I don't want to use the maven, actually I want to create
portlet using a portlet creation tool & than edit
portletentityregistry.xml, pageregistry.xml & portletcontexts.txt
programattically, so if I want to do all this automatically with out
using maven than is there any way to do it?
Thanks in advance
-Kashif