Re: SV: SV: SV: SV: Help setting up hello world
Gary Weaver <[email protected]> Fri, 4 Jun 2010 10:18:32 -0400
| Newsgroups | gmane.comp.jakarta.pluto.user |
|---|---|
| Message-ID | <[email protected]> |
--Apple-Mail-16-1001169587
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=windows-1252
Oops, instead of .tld files in shared/lib I meant pluto-taglib-2.0.1.jar =
should go in there (after you'd made mods to tomcat config to support =
shared/lib as part of classpath. And the some of the other pluto jars =
(api jar(s), ... ?) need to go in there as well.
Long story short- once you make that change to the pom.xml mentioned in =
last email to include the modified web.xml, as long as you have =
pluto-taglib-2.0.1.jar and whatever other jars needed for pluto/JSR-286 =
in tomcat/shared/lib, you don't need to worry about portlet*.tld in the =
portlet war (in fact the portlet tlds shouldn't be in the war in later =
versions of Pluto.
On Jun 4, 2010, at 9:58 AM, Gary Weaver wrote:
> S=F8ren,
>=20
> It has been a long while since I looked at that plugin since in =
uPortal, Pluto assembly is called by an ant target, deployPortletApp.
>=20
> It looks like you need to change the war plugin config so that it uses =
the web.xml that maven-pluto-plugin produces:
>=20
> <!-- configure maven-war-plugin to use updated web.xml -->
> <plugin>
> <artifactId>maven-war-plugin</artifactId>
> <configuration>
> =
<webXml>${project.build.directory}/pluto-resources/web.xml</webXml>
> </configuration>
> </plugin>
>=20
> (when that plugin executes, it produces that modified web.xml which =
has to be explicitly included in the war)
>=20
> btw- I saw that in an example here: =
http://wpcertification.blogspot.com/2010/04/maven-script-to-build-flex-por=
tlet.html
>=20
> As for portlet.tld (and actually I think that may not be the exact =
name of it in Pluto 2.x), it looks like it doesn't add that tag library =
file to the war like happens in uPortal with deployPortletApp.
>=20
> I can't think of a reason those tag library (tld) files shouldn't just =
be put into tomcat/shared/lib so I'm guessing that is where they should =
go instead in Pluto 2.x.
>=20
> In your tomcat dir, do a recursive find for *.tld files and odds are =
when you installed Pluto, it already put them somewhere. I'm guessing =
you used this to install Pluto? Again, since I use uPortal, I'm not =
familiar with it- these instructions look like they are for Pluto 1.1 =
but perhaps they work for Pluto 2?:
> http://portals.apache.org/pluto/app-servers.html
>=20
> And I'm guessing the Pluto 2 bundle comes with the tld also, but =
again- I didn't check:
> http://portals.apache.org/pluto/v20/getting-started.html
>=20
> I'm sorry for the confusion! I'm a little new to Pluto 2.x and mostly =
just used to uPortal. :P
>=20
> Thanks!
> Gary
>=20
>=20
> On Jun 4, 2010, at 1:48 AM, S=F8ren Blidorf wrote:
>=20
>> My war don=92t contain the portlet.tld.
>> =20
>> As I understand you that is created by Maven from my pom.xml. So I =
guess something is wrong with my pom.xml.
>> =20
>> I have created it as in the example in Pluto/deploying. Would you =
look at my attached pom.xml?
>> =20
>> Soren
>> =20
>> -----Oprindelig meddelelse-----
>> Fra: Gary Weaver [mailto:[email protected]]=20
>> Sendt: 3. juni 2010 21:47
>> Til: [email protected]
>> Emne: Re: SV: SV: SV: Help setting up hello world
>> =20
>> Some things to check:
>> =20
>> 1. Make sure that you did whatever was necessary to have Pluto =
assembly modify web.xml and have it add portlet.tld to your war (you =
don't add those things- it does). This is done via the =
pluto-maven-plugin which you'd need to setup in your pom.xml and make =
sure it is using the same version of Pluto as is in Tomcat or it won't =
work. (That is not discussed on the page I sent, because uPortal uses an =
ant target to do that (deployPortletApp).)
>> =20
>> 2. If the deployed war contains the web.xml modification by Pluto and =
the portlet.tld file, then make sure when it deployed that in =
tomcat/logs/catalina.out (or in some log in there) it shows that the =
portlet registered (I think- at least that is what happens in uPortal).
>> =20
>> Note that you cannot visit the http://localhost:8080/helloworld/ =
directly. It can only be viewed within the portal. Unfortunately I can't =
tell you how to manage portlets within Pluto portal. Hopefully there is =
documentation about that somewhere. :(
>> =20
>> Gary
>> =20
>> =20
>> On Jun 3, 2010, at 3:32 PM, S=F8ren Blidorf wrote:
>>=20
>>=20
>> I have now created a page on pluto and added my HelloWorldPortlet.
>> =20
>> When I open the page I get: HelloWorldPortlet not ready.
>> =20
>> Does anybody know what that means? I get no errors in the log!
>> =20
>> Soren
>> =20
>> -----Oprindelig meddelelse-----
>> Fra: Gary Weaver [mailto:[email protected]]=20
>> Sendt: 3. juni 2010 20:20
>> Til: [email protected]
>> Emne: Re: SV: SV: Help setting up hello world
>> =20
>> Try a simpler example first (the one I sent and in the wiki page I =
sent) first. After that, if you haven't figured it out, copy all of the =
source (pom.xml, HelloWorldPortlet.java, the 2 jsp files, the 3 xml =
files) into the body of the email saying what is what, and copy and =
paste how you ran maven and exactly what it output, so people can help.
>> =20
>> Thanks!
>> Gary
>> =20
>> =20
>> On Jun 3, 2010, at 2:12 PM, S=F8ren Blidorf wrote:
>> =20
>> The problem is that there is nothing wrong with my web.xml.
>> =20
>> No matter what I try including web.xml from the second link I get the =
same error.
>> =20
>> Could it be that it cannot find it?
>> =20
>> My file structure is:
>> =20
>> HelloWorldPortlet (top level directory)
>> |- pom.xml (the pom file)
>> |- src (Subdir containing main subdirectory)
>> |- main (Subdir containing java, resources and webapp =
subdirs)
>> |- java (java source code goes under here)
>> | `- com
>> | `- mycompany
>> | `- portlet
>> | `- HelloWorldPortlet.java =
(portlet source)
>> |- webapp (webapp resources (jsp, css, images) go =
under here)
>> `- jsp
>> `- HelloWorldPortletView.jsp (for view =
mode) =20
>> `- HelloWorldPortletEdit.jsp (for edit =
mode) =20
>> `- META-INF
>> `- HelloWorldPortlet.xml (Tomcat =
context deployment descriptor)
>> `- WEB-INF
>> `- portlet.xml (JSR-168 deployment =
descriptor)
>> `- web.xml (This will be modified by =
maven-pluto-plugin)
>> =20
>> =20
>> -----Oprindelig meddelelse-----
>> Fra: Gary Weaver [mailto:[email protected]]=20
>> Sendt: 3. juni 2010 20:01
>> Til: [email protected]
>> Emne: Re: SV: Help setting up hello world
>> =20
>> If you look at that second link I sent:
>> https://wiki.jasig.org/display/PLT/Hello+World+Portlet
>> =20
>> It has an example simple web.xml, portlet.xml, etc. If you are new to =
Java or Java web applications, you probably out to read up on that and =
Maven prior to getting into the portlet side of things, though.
>> =20
>> As for where to go after Hello World, I lot of people use Spring =
Portlet MVC, in which case you might do something like this in web.xml =
(I tried to strip out the unnecessary parts, but not sure how good of a =
job I did):
>> =20
>> <?xml version=3D"1.0" encoding=3D"UTF-8"?>
>> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web =
Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
>> <web-app>
>> <display-name>yourportletname</display-name>
>> <description>Description of the portlet</description>
>> <context-param>
>> <param-name>contextConfigLocation</param-name>
>> <param-value>
>> /WEB-INF/context/portlet/nameofyourportlet.xml
>> </param-value>
>> </context-param>
>> <context-param>
>> <param-name>webAppRootKey</param-name>
>> =
<param-value>some.parent.package.newofyourportlet</param-value>
>> </context-param>
>> <listener>
>> =
<listener-class>org.springframework.web.util.WebAppRootListener</listener-=
class>
>> </listener>
>> <listener>
>> =
<listener-class>org.springframework.web.context.ContextLoaderListener</lis=
tener-class>
>> </listener>
>> <servlet>
>> <servlet-name>ViewRendererServlet</servlet-name>
>> =
<servlet-class>org.springframework.web.servlet.ViewRendererServlet</servle=
t-class>
>> <load-on-startup>1</load-on-startup>
>> </servlet>
>> <servlet-mapping>
>> <servlet-name>ViewRendererServlet</servlet-name>
>> <url-pattern>/WEB-INF/servlet/view</url-pattern>
>> </servlet-mapping>
>> </web-app>
>> =20
>> And could look at this as an example of spring context, pom.xml, =
portlet.xml, etc.: =
https://source.jasig.org/sandbox/MailPortlet/tags/rel-2.0.0-alpha-7/
>> =20
>> There are also a Grails Portlet project and a Rails-portlet project, =
I think both aimed at JSR-286 implementations like Liferay (I know the =
latter is at the moment).
>> =20
>> If you want to see what is it really doing in the assembly portion, =
look at FileAssembler.java. For example I found it here:
>> =
http://github.com/apache/pluto/blob/trunk/pluto-util/src/main/java/org/apa=
che/pluto/util/assemble/file/FileAssembler.java
>> =20
>> Gary
>> =20
>> =20
>> On Jun 3, 2010, at 1:33 PM, S=F8ren Blidorf wrote:
>> =20
>> Thanks Gary. I will look at it.
>> =20
>> When I use mvn package I get a build error - invalid web.xml.
>> =20
>> Does anybody know what is needed in the web.xml for maven to concider =
it valid?
>> =20
>> Soren
>> =20
>> -----Oprindelig meddelelse-----
>> Fra: Gary Weaver [mailto:[email protected]]=20
>> Sendt: 3. juni 2010 17:22
>> Til: [email protected]
>> Emne: Re: Help setting up hello world
>> =20
>> Soren,
>> =20
>> Assuming you are talking about this hello world example?:
>> http://portals.apache.org/pluto/v20/deploying.html
>> =20
>> I also just found another example, even though it is geared for =
uPortal rather than the example Pluto server. (But uPortal uses Pluto =
and supports JSR-168 compliant portlets, so should work.):
>> https://wiki.jasig.org/display/PLT/Hello+World+Portlet
>> =20
>> Some other example portlets are here:
>> https://source.jasig.org/portlets/
>> there are also some in here but not all of these work:
>> https://source.jasig.org/sandbox/
>> =20
>> As of 2010/06/03 I'm not sure how any of those if any are JSR-286 =
(most are still JSR-168), but that shouldn't matter afaik just to get =
something simple working.
>> =20
>> Some miscellaneous tips/notes:
>> * Pluto's jars should be in the shared/lib area, which requires some =
change to the default Tomcat 6 config to have it look for. That is the =
most appropriate place for it, afaik.
>> * Like any war, if you unzip the war, it should unzip its contents =
into the current directory (i.e. is isn't unzipping into (webapp =
directory name)/... ). That is just a war thing, not specific to =
portlets. This only matters if you tried to make the war by hand.
>> * Pluto's assembly API must be used to prep the war. There is a =
maven-pluto-plugin that can help with this (it uses Pluto assembly). =
Pluto assembly looks at the portlet.xml then modifies the web.xml and =
adds portlet*.tld file(s).
>> * Even though Tomcat is much more lenient when it decompresses a war, =
Pluto assembly (used by maven-pluto-plugin) uses the standard Java API =
to unjar the war, and if the META-INF/MANIFEST.MF file isn't the first =
entry (and there should be only one manifest), it will choke (and the =
error is not that helpful).
>> * Just because maven-pluto-plugin preps the war doesn't mean it is a =
valid portlet (or even valid web.xml and portlet.xml for a portlet) or =
that it will even register in Pluto afaik. You need to make sure that =
web.xml is cleaned up and that you didn't try to add the stuff that =
Pluto assembly puts into it. (For info on how to clean it up if you need =
that, see the unplutofy project).
>> * In newer versions of pluto (not sure what version, but sometime =
between 1.0.0-RC2 and 1.1.7), portlets register themselves with pluto (I =
think). So you can someone tell if a portlet is available and at least =
valid enough for Pluto to register it (although it still may not work) =
if the logs showed that it registered. It may not register each time =
though? Registering is different than just Tomcat deploying the war (it =
is the line right after that in the logs usually, I think).
>> =20
>> Hopefully none of that info is wrong, and please anyone feel free to =
correct or clarify those.
>> =20
>> Wish I could provide more info, but maybe some of that will help.
>> =20
>> Gary
>> =20
>> =20
>> On Jun 3, 2010, at 5:58 AM, S=F8ren Blidorf wrote:
>> =20
>> Hi.
>> =20
>> I am new to portlets and Pluto.
>> =20
>> I have installed Pluto on my existing Tomcat and it works fine.
>> =20
>> However I am having difficulties setting up a helloworld portlet.
>> =20
>> I have created the portlet.xml and the helloworld.java. Compiled and =
deploy but nothing happens.
>> =20
>> I have tried different examples on google, but nothing works.
>> =20
>> Does anybody have a helloworld.war file of a describsion for dummies =
on how to get a helloworld to work.
>> =20
>> Soren
>> =20
>> =20
>> =20
>> =20
>> =20
>> <pom.xml>
>=20
--Apple-Mail-16-1001169587
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=windows-1252
<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><div>Oops, instead of .tld files in shared/lib I =
meant pluto-taglib-2.0.1.jar should go in there (after you'd made =
mods to tomcat config to support shared/lib as part of classpath. And =
the some of the other pluto jars (api jar(s), ... ?) need to go in there =
as well.</div><div><br></div><div>Long story short- once you make that =
change to the pom.xml mentioned in last email to include the modified =
web.xml, as long as you have pluto-taglib-2.0.1.jar and whatever =
other jars needed for pluto/JSR-286 in tomcat/shared/lib, you don't need =
to worry about portlet*.tld in the portlet war (in fact the portlet tlds =
shouldn't be in the war in later versions of =
Pluto.</div><div><br></div><br><div><div>On Jun 4, 2010, at 9:58 AM, =
Gary Weaver wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; =
"><div>S=F8ren,</div><div><br></div><div>It has been a long while since =
I looked at that plugin since in uPortal, Pluto assembly is called by an =
ant target, deployPortletApp.</div><div><br></div><div>It looks like you =
need to change the war plugin config so that it uses the web.xml that =
maven-pluto-plugin produces:</div><div><br></div><div><pre><code> =
<!-- configure maven-war-plugin to use updated web.xml --><br> =
<plugin><br> =
<artifactId>maven-war-plugin</artifactId><br> =
<configuration><br> =
<webXml>${project.build.directory}/pluto-resources/web.xml</webXm=
l><br> </configuration><br> =
</plugin></code></pre><div><br></div><div>(when that plugin =
executes, it produces that modified web.xml which has to be explicitly =
included in the war)</div><div><br></div><div>btw- I saw that in an =
example here: <a =
href=3D"http://wpcertification.blogspot.com/2010/04/maven-script-to-build-=
flex-portlet.html">http://wpcertification.blogspot.com/2010/04/maven-scrip=
t-to-build-flex-portlet.html</a></div><div><br></div><div>As for =
portlet.tld (and actually I think that may not be the exact name of it =
in Pluto 2.x), it looks like it doesn't add that tag library file to the =
war like happens in uPortal with =
deployPortletApp.</div><div><br></div><div>I can't think of a reason =
those tag library (tld) files shouldn't just be put into =
tomcat/shared/lib so I'm guessing that is where they should go instead =
in Pluto 2.x.</div><div><br></div><div>In your tomcat dir, do a =
recursive find for *.tld files and odds are when you installed Pluto, it =
already put them somewhere. I'm guessing you used this to install Pluto? =
Again, since I use uPortal, I'm not familiar with it- these instructions =
look like they are for Pluto 1.1 but perhaps they work for Pluto =
2?:</div><div><a =
href=3D"http://portals.apache.org/pluto/app-servers.html">http://portals.a=
pache.org/pluto/app-servers.html</a></div><div><br></div><div>And I'm =
guessing the Pluto 2 bundle comes with the tld also, but again- I didn't =
check:</div><div><a =
href=3D"http://portals.apache.org/pluto/v20/getting-started.html">http://p=
ortals.apache.org/pluto/v20/getting-started.html</a></div><div><br></div><=
div>I'm sorry for the confusion! I'm a little new to Pluto 2.x and =
mostly just used to uPortal. =
:P</div></div><div><br></div><div>Thanks!</div><div>Gary</div><div><br></d=
iv><br><div><div>On Jun 4, 2010, at 1:48 AM, S=F8ren Blidorf =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div lang=3D"DA" link=3D"blue" vlink=3D"blue" =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><div class=3D"Section1"><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"2" color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: Arial; color: navy; ">My war =
don=92t contain the portlet.tld.</span></font></div><p class=3D"MsoNormal"=
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"2" color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: Arial; color: navy; =
"> </span></font></p><div style=3D"margin-top: 0cm; margin-right: =
0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"2" color=3D"navy" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; color: navy; ">As I understand you that is created =
by Maven from my pom.xml. So I guess something is wrong with my =
pom.xml.</span></font></div><p class=3D"MsoNormal" style=3D"margin-top: =
0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: =
10pt; font-family: Arial; color: navy; "> </span></font></p><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"2" color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: Arial; color: navy; ">I have =
created it as in the example in Pluto/deploying. Would you look at my =
attached pom.xml?</span></font></div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"2" color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: Arial; color: navy; =
"> </span></font></p><div style=3D"margin-top: 0cm; margin-right: =
0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"2" color=3D"navy" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; color: navy; ">Soren</span></font></div><p =
class=3D"MsoNormal" style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 12pt; font-family: =
'Times New Roman'; "><font size=3D"2" color=3D"navy" face=3D"Arial"><span =
lang=3D"EN-GB" style=3D"font-size: 10pt; font-family: Arial; color: =
navy; "> </span></font></p><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Tahoma"><span style=3D"font-size: 10pt; font-family: Tahoma; =
">-----Oprindelig meddelelse-----<br><b><span style=3D"font-weight: =
bold; ">Fra:</span></b><span =
class=3D"Apple-converted-space"> </span>Gary Weaver =
[mailto:[email protected]]<span =
class=3D"Apple-converted-space"> </span><br><b><span =
style=3D"font-weight: bold; ">Sendt:</span></b><span =
class=3D"Apple-converted-space"> </span>3. juni 2010 =
21:47<br><b><span style=3D"font-weight: bold; ">Til:</span></b><span =
class=3D"Apple-converted-space"> </span><a =
href=3D"mailto:[email protected]" style=3D"color: blue; =
text-decoration: underline; =
">[email protected]</a><br><b><span style=3D"font-weight: =
bold; ">Emne:</span></b><span =
class=3D"Apple-converted-space"> </span>Re: SV: SV: SV: Help =
setting up hello world</span></font></div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; "> </span></font></p><div><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; ">Some things =
to check:</span></font></div></div><div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; "> </span></font></p></div><div><div style=3D"margin-top: =
0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; ">1. Make sure =
that you did whatever was necessary to have Pluto assembly modify =
web.xml and have it add portlet.tld to your war (you don't add those =
things- it does). This is done via the pluto-maven-plugin which you'd =
need to setup in your pom.xml and make sure it is using the same version =
of Pluto as is in Tomcat or it won't work. (That is not discussed on the =
page I sent, because uPortal uses an ant target to do that =
(deployPortletApp).)</span></font></div></div><div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; "> </span></font></p></div><div><div style=3D"margin-top: =
0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; ">2. If the =
deployed war contains the web.xml modification by Pluto and the =
portlet.tld file, then make sure when it deployed that in =
tomcat/logs/catalina.out (or in some log in there) it shows that the =
portlet registered (I think- at least that is what happens in =
uPortal).</span></font></div></div><div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; "> </span></font></p></div><div><div style=3D"margin-top: =
0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; ">Note that you =
cannot visit the<span class=3D"Apple-converted-space"> </span><a =
href=3D"http://localhost:8080/helloworld/" style=3D"color: blue; =
text-decoration: underline; ">http://localhost:8080/helloworld/</a><span =
class=3D"Apple-converted-space"> </span>directly. It can only be =
viewed within the portal. Unfortunately I can't tell you how to manage =
portlets within Pluto portal. Hopefully there is documentation about =
that somewhere. :(</span></font></div></div><div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; "> </span></font></p></div><div><div style=3D"margin-top: =
0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; =
">Gary</span></font></div></div><div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; "> </span></font></p></div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; "> </span></font></p><div><div><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; ">On Jun 3, =
2010, at 3:32 PM, S=F8ren Blidorf wrote:</span></font></div></div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; "><br><br></span></font></div><span style=3D"orphans: 2; widows: =
2; -webkit-border-horizontal-spacing: 0px; =
-webkit-border-vertical-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; word-spacing: 0px; "><div =
link=3D"blue" vlink=3D"blue" style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><div><div><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"2" color=3D"navy" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; color: navy; ">I have now created a page on pluto =
and added my HelloWorldPortlet.</span></font></div></div><p =
class=3D"MsoNormal" style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"2" color=3D"navy" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; color: navy; "> </span></font></p><div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"2" color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: Arial; color: navy; ">When I open =
the page I get: HelloWorldPortlet not ready.</span></font></div></div><p =
class=3D"MsoNormal" style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"2" color=3D"navy" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; color: navy; "> </span></font></p><div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"2" color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: Arial; color: navy; ">Does =
anybody know what that means? I get no errors in the =
log!</span></font></div></div><p class=3D"MsoNormal" style=3D"margin-top: =
0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: =
10pt; font-family: Arial; color: navy; =
"> </span></font></p><div><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: =
10pt; font-family: Arial; color: navy; =
">Soren</span></font></div></div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"2" color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: Arial; color: navy; =
"> </span></font></p><div style=3D"margin-left: 65.2pt; "><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"2" face=3D"Tahoma"><span style=3D"font-size: 10pt; =
font-family: Tahoma; ">-----Oprindelig meddelelse-----<br><b><span =
style=3D"font-weight: bold; ">Fra:</span></b><span =
class=3D"apple-converted-space"> </span>Gary Weaver =
[mailto:[email protected]]<span =
class=3D"apple-converted-space"> </span><br><b><span =
style=3D"font-weight: bold; ">Sendt:</span></b><span =
class=3D"apple-converted-space"> </span>3. juni 2010 =
20:20<br><b><span style=3D"font-weight: bold; ">Til:</span></b><span =
class=3D"apple-converted-space"> </span><a =
href=3D"mailto:[email protected]" style=3D"color: blue; =
text-decoration: underline; =
">[email protected]</a><br><b><span style=3D"font-weight: =
bold; ">Emne:</span></b><span =
class=3D"apple-converted-space"> </span>Re: SV: SV: Help setting up =
hello world</span></font></div></div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 130.4pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; "> </span></font></p><div><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"3" face=3D"Times New Roman"><span =
style=3D"font-size: 12pt; ">Try a simpler example first (the one I sent =
and in the wiki page I sent) first. After that, if you haven't figured =
it out, copy all of the source (pom.xml, HelloWorldPortlet.java, the 2 =
jsp files, the 3 xml files) into the body of the email saying what is =
what, and copy and paste how you ran maven and exactly what it output, =
so people can help.</span></font></div></div></div><div><p =
class=3D"MsoNormal" style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 130.4pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; =
"> </span></font></p></div><div><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"3" face=3D"Times New Roman"><span =
style=3D"font-size: 12pt; =
">Thanks!</span></font></div></div></div><div><div style=3D"margin-left: =
65.2pt; "><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; =
">Gary</span></font></div></div></div><div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 130.4pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; "> </span></font></p></div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 130.4pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; "> </span></font></p><div><div><div style=3D"margin-left: =
65.2pt; "><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; ">On Jun 3, 2010, at 2:12 PM, =
S=F8ren Blidorf wrote:</span></font></div></div></div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 12pt; margin-left: 65.2pt; font-size: =
12pt; font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times =
New Roman"><span style=3D"font-size: 12pt; "> </span></font><br =
class=3D"webkit-block-placeholder"></div></div><span style=3D"orphans: =
2; widows: 2; -webkit-border-horizontal-spacing: 0px; =
-webkit-border-vertical-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; word-spacing: 0px; "><div =
link=3D"blue" vlink=3D"blue" style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><div><div><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top:=
0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: =
10pt; font-family: Arial; color: navy; ">The problem is that there is =
nothing wrong with my web.xml.</span></font></div></div></div><p =
class=3D"MsoNormal" style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 130.4pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"2" color=3D"navy" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; color: navy; "> </span></font></p><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: =
10pt; font-family: Arial; color: navy; ">No matter what I try including =
web.xml from the second link I get the same =
error.</span></font></div></div></div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 130.4pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"2" color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: Arial; color: navy; =
"> </span></font></p><div><div style=3D"margin-left: 65.2pt; "><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"2" color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: Arial; color: navy; ">Could it be =
that it cannot find it?</span></font></div></div></div><p =
class=3D"MsoNormal" style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 130.4pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"2" color=3D"navy" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; color: navy; "> </span></font></p><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: =
10pt; font-family: Arial; color: navy; ">My file structure =
is:</span></font></div></div></div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 130.4pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"2" color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: Arial; color: navy; =
"> </span></font></p><div style=3D"border-top-style: solid; =
border-right-style: solid; border-bottom-style: solid; =
border-left-style: solid; border-top-color: rgb(46, 103, 148); =
border-right-color: rgb(46, 103, 148); border-bottom-color: rgb(46, 103, =
148); border-left-color: rgb(46, 103, 148); border-top-width: 6pt; =
border-right-width: 6pt; border-bottom-width: 6pt; border-left-width: =
6pt; padding-top: 0cm; padding-right: 0cm; padding-bottom: 0cm; =
padding-left: 0cm; "><div style=3D"border-width: initial; border-color: =
initial; "><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: =
0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Courier New"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: 'Courier New'; ">HelloWorldPortlet (top level =
directory)</span></font></div></div></div><div style=3D"border-width: =
initial; border-color: initial; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"2" face=3D"Courier New"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: 'Courier New'; =
"> |- pom.xml (the pom =
file)</span></font></div></div></div><div style=3D"border-width: =
initial; border-color: initial; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"2" face=3D"Courier New"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: 'Courier New'; =
"> |- src (Subdir containing =
main subdirectory)</span></font></div></div></div><div =
style=3D"border-width: initial; border-color: initial; "><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Courier New"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: 'Courier New'; "> =
|- main (Subdir containing java, resources and webapp =
subdirs)</span></font></div></div></div><div style=3D"border-width: =
initial; border-color: initial; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"2" face=3D"Courier New"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: 'Courier New'; =
"> =
|- java (java source code goes under =
here)</span></font></div></div></div><div style=3D"border-width: =
initial; border-color: initial; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"2" face=3D"Courier New"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: 'Courier New'; =
"> =
| `- =
com</span></font></div></div></div><div style=3D"border-width: initial; =
border-color: initial; "><div style=3D"margin-left: 65.2pt; "><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"2" face=3D"Courier New"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: 'Courier New'; =
"> =
=
| `- =
mycompany</span></font></div></div></div><div style=3D"border-width: =
initial; border-color: initial; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"2" face=3D"Courier New"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: 'Courier New'; =
"> =
=
| &=
nbsp; `- portlet</span></font></div></div></div><div =
style=3D"border-width: initial; border-color: initial; "><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Courier New"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: 'Courier New'; =
"> =
=
| &=
nbsp; `- HelloWorldPortlet.java (portlet =
source)</span></font></div></div></div><div style=3D"border-width: =
initial; border-color: initial; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"2" face=3D"Courier New"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: 'Courier New'; =
"> =
|- webapp (webapp resources (jsp, =
css, images) go under here)</span></font></div></div></div><div =
style=3D"border-width: initial; border-color: initial; "><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Courier New"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: 'Courier New'; =
"> =
`- =
jsp</span></font></div></div></div><div style=3D"border-width: initial; =
border-color: initial; "><div style=3D"margin-left: 65.2pt; "><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"2" face=3D"Courier New"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: 'Courier New'; =
"> =
=
`- =
HelloWorldPortletView.jsp (for view =
mode) =
=
=
</span></font></div></div></div><div =
style=3D"border-width: initial; border-color: initial; "><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Courier New"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: 'Courier New'; =
"> =
=
`- =
HelloWorldPortletEdit.jsp (for edit =
mode) =
=
=
</span></font></div></div></div><div =
style=3D"border-width: initial; border-color: initial; "><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Courier New"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: 'Courier New'; =
"> =
`- =
META-INF</span></font></div></div></div><div style=3D"border-width: =
initial; border-color: initial; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"2" face=3D"Courier New"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: 'Courier New'; =
"> =
=
`- =
HelloWorldPortlet.xml (Tomcat context deployment =
descriptor)</span></font></div></div></div><div style=3D"border-width: =
initial; border-color: initial; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"2" face=3D"Courier New"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: 'Courier New'; =
"> =
`- =
WEB-INF</span></font></div></div></div><div style=3D"border-width: =
initial; border-color: initial; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"2" face=3D"Courier New"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: 'Courier New'; =
"> =
=
`- portlet.xml (JSR-168 deployment =
descriptor)</span></font></div></div></div><div style=3D"border-width: =
initial; border-color: initial; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"2" face=3D"Courier New"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: 'Courier New'; =
"> =
=
`- web.xml (This will be modified =
by maven-pluto-plugin)</span></font></div></div></div></div><p =
class=3D"MsoNormal" style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 130.4pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"2" color=3D"navy" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; color: navy; "> </span></font></p><p =
class=3D"MsoNormal" style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 130.4pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"2" color=3D"navy" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; color: navy; "> </span></font></p><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"2" face=3D"Tahoma"><span style=3D"font-size: =
10pt; font-family: Tahoma; ">-----Oprindelig meddelelse-----<br><b><span =
style=3D"font-weight: bold; ">Fra:</span></b><span =
class=3D"apple-converted-space"> </span>Gary Weaver =
[mailto:[email protected]]<span =
class=3D"apple-converted-space"> </span><br><b><span =
style=3D"font-weight: bold; ">Sendt:</span></b><span =
class=3D"apple-converted-space"> </span>3. juni 2010 =
20:01<br><b><span style=3D"font-weight: bold; ">Til:</span></b><span =
class=3D"apple-converted-space"> </span><a =
href=3D"mailto:[email protected]" style=3D"color: blue; =
text-decoration: underline; =
">[email protected]</a><br><b><span style=3D"font-weight: =
bold; ">Emne:</span></b><span =
class=3D"apple-converted-space"> </span>Re: SV: Help setting up =
hello world</span></font></div></div></div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 195.6pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; "> </span></font></p><div><div><div style=3D"margin-left: =
65.2pt; "><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: =
0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; ">If you look =
at that second link I =
sent:</span></font></div></div></div></div><div><div style=3D"margin-left:=
65.2pt; "><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: =
0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; "><a =
href=3D"https://wiki.jasig.org/display/PLT/Hello+World+Portlet" =
style=3D"color: blue; text-decoration: underline; =
">https://wiki.jasig.org/display/PLT/Hello+World+Portlet</a></span></font>=
</div></div></div></div><div><p class=3D"MsoNormal" style=3D"margin-top: =
0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 195.6pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; =
"> </span></font></p></div><div><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; ">It has an =
example simple web.xml, portlet.xml, etc. If you are new to Java or Java =
web applications, you probably out to read up on that and Maven prior to =
getting into the portlet side of things, =
though.</span></font></div></div></div></div><div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 195.6pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; "> </span></font></p></div><div><div style=3D"margin-left: =
65.2pt; "><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: =
0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; ">As for where =
to go after Hello World, I lot of people use Spring Portlet MVC, in =
which case you might do something like this in web.xml (I tried to strip =
out the unnecessary parts, but not sure how good of a job I =
did):</span></font></div></div></div></div><div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 195.6pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; "> </span></font></p></div><div><div style=3D"margin-left: =
65.2pt; "><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: =
0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; "><?xml =
version=3D"1.0" =
encoding=3D"UTF-8"?></span></font></div></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"3" face=3D"Times New Roman"><span =
style=3D"font-size: 12pt; "><!DOCTYPE web-app PUBLIC "-//Sun =
Microsystems, Inc.//DTD Web Application 2.3//EN" "<a =
href=3D"http://java.sun.com/dtd/web-app_2_3.dtd" style=3D"color: blue; =
text-decoration: underline; =
">http://java.sun.com/dtd/web-app_2_3.dtd</a>"></span></font></div></di=
v></div></div><div><div style=3D"margin-left: 65.2pt; "><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; =
"><web-app></span></font></div></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"3" face=3D"Times New Roman"><span =
style=3D"font-size: 12pt; "> =
<display-name>yourportletname</display-name></span></fon=
t></div></div></div></div><div><div style=3D"margin-left: 65.2pt; "><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; "> =
<description>Description of the =
portlet</description></span></font></div></div></div></div><div><div=
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"3" face=3D"Times New Roman"><span =
style=3D"font-size: 12pt; "> =
<context-param></span></font></div></div></div></div><div><div=
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"3" face=3D"Times New Roman"><span =
style=3D"font-size: 12pt; "> =
<param-name>contextConfigLocation</param-name></span></f=
ont></div></div></div></div><div><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; "> =
=
<param-value></span></font></div></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"3" face=3D"Times New Roman"><span =
style=3D"font-size: 12pt; "> =
/WEB-INF/context/portlet/nameofyourportlet.xml</span></font></div></=
div></div></div><div><div style=3D"margin-left: 65.2pt; "><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; "> =
=
</param-value></span></font></div></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"3" face=3D"Times New Roman"><span =
style=3D"font-size: 12pt; "> =
</context-param></span></font></div></div></div></div><div><di=
v style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"3" face=3D"Times New Roman"><span =
style=3D"font-size: 12pt; "> =
<context-param></span></font></div></div></div></div><div><div=
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"3" face=3D"Times New Roman"><span =
style=3D"font-size: 12pt; "> =
<param-name>webAppRootKey</param-name></span></font></di=
v></div></div></div><div><div style=3D"margin-left: 65.2pt; "><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; "> =
=
<param-value>some.parent.package.newofyourportlet</param-va=
lue></span></font></div></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"3" face=3D"Times New Roman"><span =
style=3D"font-size: 12pt; "> =
</context-param></span></font></div></div></div></div><div><di=
v style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"3" face=3D"Times New Roman"><span =
style=3D"font-size: 12pt; "> =
<listener></span></font></div></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"3" face=3D"Times New Roman"><span =
style=3D"font-size: 12pt; "> =
<listener-class>org.springframework.web.util.WebAppRootListene=
r</listener-class></span></font></div></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"3" face=3D"Times New Roman"><span =
style=3D"font-size: 12pt; "> =
</listener></span></font></div></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"3" face=3D"Times New Roman"><span =
style=3D"font-size: 12pt; "> =
<listener></span></font></div></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"3" face=3D"Times New Roman"><span =
style=3D"font-size: 12pt; "> =
<listener-class>org.springframework.web.context.ContextLoaderL=
istener</listener-class></span></font></div></div></div></div><div><=
div style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"3" face=3D"Times New Roman"><span =
style=3D"font-size: 12pt; "> =
</listener></span></font></div></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"3" face=3D"Times New Roman"><span =
style=3D"font-size: 12pt; "> =
<servlet></span></font></div></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"3" face=3D"Times New Roman"><span =
style=3D"font-size: 12pt; "> =
<servlet-name>ViewRendererServlet</servlet-name></span><=
/font></div></div></div></div><div><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; "> =
=
<servlet-class>org.springframework.web.servlet.ViewRendererSer=
vlet</servlet-class></span></font></div></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"3" face=3D"Times New Roman"><span =
style=3D"font-size: 12pt; "> =
<load-on-startup>1</load-on-startup></span></font></div>=
</div></div></div><div><div style=3D"margin-left: 65.2pt; "><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; "> =
</servlet></span></font></div></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"3" face=3D"Times New Roman"><span =
style=3D"font-size: 12pt; "> =
<servlet-mapping></span></font></div></div></div></div><div><d=
iv style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"3" face=3D"Times New Roman"><span =
style=3D"font-size: 12pt; "> =
<servlet-name>ViewRendererServlet</servlet-name></span><=
/font></div></div></div></div><div><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; "> =
=
<url-pattern>/WEB-INF/servlet/view</url-pattern></span><=
/font></div></div></div></div><div><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; "> =
</servlet-mapping></span></font></div></div></div></div><div><=
div style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"3" face=3D"Times New Roman"><span =
style=3D"font-size: 12pt; =
"></web-app></span></font></div></div></div></div><div><p =
class=3D"MsoNormal" style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 195.6pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; =
"> </span></font></p></div><div><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; ">And could =
look at this as an example of spring context, pom.xml, portlet.xml, =
etc.: <a =
href=3D"https://source.jasig.org/sandbox/MailPortlet/tags/rel-2.0.0-alpha-=
7/" style=3D"color: blue; text-decoration: underline; =
">https://source.jasig.org/sandbox/MailPortlet/tags/rel-2.0.0-alpha-7/</a>=
</span></font></div></div></div></div></div><div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 195.6pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; "> </span></font></p></div><div><div style=3D"margin-left: =
65.2pt; "><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: =
0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; ">There are =
also a Grails Portlet project and a Rails-portlet project, I think both =
aimed at JSR-286 implementations like Liferay (I know the latter is at =
the moment).</span></font></div></div></div></div><div><p =
class=3D"MsoNormal" style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 195.6pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; =
"> </span></font></p></div><div><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; ">If you want =
to see what is it really doing in the assembly portion, look =
at FileAssembler.java. For example I found =
it here:</span></font></div></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"3" face=3D"Times New Roman"><span =
style=3D"font-size: 12pt; "><a =
href=3D"http://github.com/apache/pluto/blob/trunk/pluto-util/src/main/java=
/org/apache/pluto/util/assemble/file/FileAssembler.java" style=3D"color: =
blue; text-decoration: underline; =
">http://github.com/apache/pluto/blob/trunk/pluto-util/src/main/java/org/a=
pache/pluto/util/assemble/file/FileAssembler.java</a></span></font></div><=
/div></div></div><div><p class=3D"MsoNormal" style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 195.6pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; =
"> </span></font></p></div><div><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; =
">Gary</span></font></div></div></div></div><div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 195.6pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; "> </span></font></p></div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 195.6pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; "> </span></font></p><div><div><div style=3D"margin-left: =
65.2pt; "><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: =
0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; ">On Jun 3, =
2010, at 1:33 PM, S=F8ren Blidorf =
wrote:</span></font></div></div></div></div><div style=3D"margin-left: =
65.2pt; "><div style=3D"margin-left: 65.2pt; margin-bottom: 12pt; "><p =
class=3D"MsoNormal" style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; =
"> </span></font></p></div></div><div link=3D"blue" vlink=3D"blue" =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"2" color=3D"navy" face=3D"Arial"><span =
lang=3D"EN-GB" style=3D"font-size: 10pt; font-family: Arial; color: =
navy; ">Thanks<span =
class=3D"apple-converted-space"> </span></span></font><font =
size=3D"2" color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: Arial; color: navy; =
">Gary</span></font><font size=3D"2" color=3D"navy" face=3D"Arial"><span =
lang=3D"EN-GB" style=3D"font-size: 10pt; font-family: Arial; color: =
navy; ">. I will look at it.</span></font></div></div></div></div><p =
class=3D"MsoNormal" style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 195.6pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"2" color=3D"navy" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; color: navy; "> </span></font></p><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"2" color=3D"navy" face=3D"Arial"><span =
lang=3D"EN-GB" style=3D"font-size: 10pt; font-family: Arial; color: =
navy; ">When I use mvn package I get a build error - invalid =
web.xml.</span></font></div></div></div></div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 195.6pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"2" color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: Arial; color: navy; =
"> </span></font></p><div><div style=3D"margin-left: 65.2pt; "><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: =
10pt; font-family: Arial; color: navy; ">Does anybody know what is =
needed in the web.xml for maven to concider it =
valid?</span></font></div></div></div></div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 195.6pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"2" color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: Arial; color: navy; =
"> </span></font></p><div><div style=3D"margin-left: 65.2pt; "><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: =
10pt; font-family: Arial; color: navy; =
">Soren</span></font></div></div></div></div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 195.6pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"2" color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: Arial; color: navy; =
"> </span></font></p><div style=3D"margin-left: 65.2pt; "><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"2" face=3D"Tahoma"><span style=3D"font-size: =
10pt; font-family: Tahoma; ">-----Oprindelig meddelelse-----<br><b><span =
style=3D"font-weight: bold; ">Fra:</span></b><span =
class=3D"apple-converted-space"> </span>Gary Weaver =
[mailto:[email protected]]<span =
class=3D"apple-converted-space"> </span><br><b><span =
style=3D"font-weight: bold; ">Sendt:</span></b><span =
class=3D"apple-converted-space"> </span>3. juni 2010 =
17:22<br><b><span style=3D"font-weight: bold; ">Til:</span></b><span =
class=3D"apple-converted-space"> </span><a =
href=3D"mailto:[email protected]" style=3D"color: blue; =
text-decoration: underline; =
">[email protected]</a><br><b><span style=3D"font-weight: =
bold; ">Emne:</span></b><span =
class=3D"apple-converted-space"> </span>Re: Help setting up hello =
world</span></font></div></div></div></div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 260.8pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; "> </span></font></p><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: =
65.2pt; "><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; =
">Soren,</span></font></div></div></div></div><div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 260.8pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; "> </span></font></p></div><div><div style=3D"margin-left: =
65.2pt; "><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: =
65.2pt; "><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; ">Assuming you are talking about =
this hello world =
example?:</span></font></div></div></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; "><a =
href=3D"http://portals.apache.org/pluto/v20/deploying.html" =
style=3D"color: blue; text-decoration: underline; =
">http://portals.apache.org/pluto/v20/deploying.html</a></span></font></di=
v></div></div></div></div><div><p class=3D"MsoNormal" style=3D"margin-top:=
0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 260.8pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; =
"> </span></font></p></div><div><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: =
65.2pt; "><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; ">I also just found another =
example, even though it is geared for uPortal rather than the example =
Pluto server. (But uPortal uses Pluto and supports JSR-168 compliant =
portlets, so should =
work.):</span></font></div></div></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; "><a =
href=3D"https://wiki.jasig.org/display/PLT/Hello+World+Portlet" =
style=3D"color: blue; text-decoration: underline; =
">https://wiki.jasig.org/display/PLT/Hello+World+Portlet</a></span></font>=
</div></div></div></div></div><div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 260.8pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; "> </span></font></p></div><div><div style=3D"margin-left: =
65.2pt; "><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: =
65.2pt; "><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; ">Some other example portlets are =
here:</span></font></div></div></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; "><a =
href=3D"https://source.jasig.org/portlets/" style=3D"color: blue; =
text-decoration: underline; =
">https://source.jasig.org/portlets/</a></span></font></div></div></div></=
div></div><div><div style=3D"margin-left: 65.2pt; "><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"3" face=3D"Times New Roman"><span =
style=3D"font-size: 12pt; ">there are also some in here but not all of =
these work:</span></font></div></div></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; "><a =
href=3D"https://source.jasig.org/sandbox/" style=3D"color: blue; =
text-decoration: underline; =
">https://source.jasig.org/sandbox/</a></span></font></div></div></div></d=
iv></div><div><p class=3D"MsoNormal" style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 260.8pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; =
"> </span></font></p></div><div><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: =
65.2pt; "><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; ">As of 2010/06/03 I'm not sure =
how any of those if any are JSR-286 (most are still JSR-168), but that =
shouldn't matter afaik just to get something simple =
working.</span></font></div></div></div></div></div><div><p =
class=3D"MsoNormal" style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 260.8pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; =
"> </span></font></p></div><div><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: =
65.2pt; "><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; ">Some miscellaneous =
tips/notes:</span></font></div></div></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; ">* Pluto's =
jars should be in the shared/lib area, which requires some change to the =
default Tomcat 6 config to have it look for. That is the most =
appropriate place for it, =
afaik.</span></font></div></div></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; ">* Like any =
war, if you unzip the war, it should unzip its contents into the current =
directory (i.e. is isn't unzipping into (webapp directory name)/... ). =
That is just a war thing, not specific to portlets. This only matters if =
you tried to make the war by =
hand.</span></font></div></div></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; ">* Pluto's =
assembly API must be used to prep the war. There is a maven-pluto-plugin =
that can help with this (it uses Pluto assembly). Pluto assembly looks =
at the portlet.xml then modifies the web.xml and adds portlet*.tld =
file(s).</span></font></div></div></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; ">* Even though =
Tomcat is much more lenient when it decompresses a war, Pluto assembly =
(used by maven-pluto-plugin) uses the standard Java API to unjar the =
war, and if the </span></font><span class=3D"apple-style-span"><font =
face=3D"Courier New"><span style=3D"font-family: 'Courier New'; =
">META-INF/MANIFEST.MF</span></font></span><span =
class=3D"apple-style-span"><font face=3D"Helvetica"><span =
style=3D"font-family: Helvetica; "> file isn't the first entry (and =
there should be only one manifest), it will choke (and the error is not =
that =
helpful).</span></font></span></div></div></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; ">* Just =
because maven-pluto-plugin preps the war doesn't mean it is a valid =
portlet (or even valid web.xml and portlet.xml for a portlet) or that it =
will even register in Pluto afaik. You need to make sure that web.xml is =
cleaned up and that you didn't try to add the stuff that Pluto assembly =
puts into it. (For info on how to clean it up if you need that, see the =
unplutofy project).</span></font></div></div></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; ">* In newer =
versions of pluto (not sure what version, but sometime between 1.0.0-RC2 =
and 1.1.7), portlets register themselves with pluto (I think). So you =
can someone tell if a portlet is available and at least valid enough for =
Pluto to register it (although it still may not work) if the logs showed =
that it registered. It may not register each time though? Registering is =
different than just Tomcat deploying the war (it is the line right after =
that in the logs usually, I =
think).</span></font></div></div></div></div></div><div><p =
class=3D"MsoNormal" style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 260.8pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; =
"> </span></font></p></div><div><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: =
65.2pt; "><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; ">Hopefully none of that info is =
wrong, and please anyone feel free to correct or clarify =
those.</span></font></div></div></div></div></div><div><p =
class=3D"MsoNormal" style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 260.8pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; =
"> </span></font></p></div><div><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: =
65.2pt; "><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; ">Wish I could provide more info, =
but maybe some of that will =
help.</span></font></div></div></div></div></div><div><p =
class=3D"MsoNormal" style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 260.8pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; =
"> </span></font></p></div><div><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: =
65.2pt; "><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; =
">Gary</span></font></div></div></div></div></div><div><p =
class=3D"MsoNormal" style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 260.8pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; =
"> </span></font></p></div><div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 260.8pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; "> </span></font></p><div><div><div style=3D"margin-left: =
65.2pt; "><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: =
65.2pt; "><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; ">On Jun 3, 2010, at 5:58 AM, =
S=F8ren Blidorf wrote:</span></font></div></div></div></div></div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
margin-bottom: 12pt; "><p class=3D"MsoNormal" style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 130.4pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; =
"> </span></font></p></div></div><div link=3D"blue" =
vlink=3D"purple"><div><div><div style=3D"margin-left: 65.2pt; "><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"2" face=3D"Arial"><span style=3D"font-size: =
10pt; font-family: Arial; =
">Hi.<u1:p></u1:p></span></font></div></div></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Arial"><span style=3D"font-size: 10pt; font-family: Arial; =
"><u1:p> </u1:p></span></font></div></div></div></div></div><div><div=
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; ">I am new to portlets and =
Pluto.<u1:p></u1:p></span></font></div></div></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; =
"><u1:p> </u1:p></span></font></div></div></div></div></div><div><div=
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; ">I have installed Pluto on my existing Tomcat and =
it works =
fine.<u1:p></u1:p></span></font></div></div></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; =
"><u1:p> </u1:p></span></font></div></div></div></div></div><div><div=
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; ">However I am having difficulties setting up a =
helloworld =
portlet.<u1:p></u1:p></span></font></div></div></div></div></div><div><div=
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; =
"><u1:p> </u1:p></span></font></div></div></div></div></div><div><div=
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; ">I have created the portlet.xml and the =
helloworld.java. Compiled and deploy but nothing =
happens.<u1:p></u1:p></span></font></div></div></div></div></div><div><div=
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; =
"><u1:p> </u1:p></span></font></div></div></div></div></div><div><div=
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; ">I have tried different examples on google, but =
nothing =
works.<u1:p></u1:p></span></font></div></div></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; =
"><u1:p> </u1:p></span></font></div></div></div></div></div><div><div=
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; ">Does anybody have a helloworld.war file of a =
describsion for dummies on how to get a helloworld to =
work.<u1:p></u1:p></span></font></div></div></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; =
"><u1:p> </u1:p></span></font></div></div></div></div></div><div><div=
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; =
">Soren</span></font></div></div></div></div></div><u1:p></u1:p><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span lang=3D"EN-GB" style=3D"font-size: 12pt; =
"><u1:p> </u1:p></span></font></div></div></div></div></div></div></d=
iv></div><p class=3D"MsoNormal" style=3D"margin-top: 0cm; margin-right: =
0cm; margin-bottom: 0.0001pt; margin-left: 260.8pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; =
"> </span></font></p></div></div></div></div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 195.6pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; "> </span></font></p></div></div></span></div><p =
class=3D"MsoNormal" style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 130.4pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; =
"> </span></font></p></div></div></span></div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; =
"> </span></font></p></div><span><pom.xml></span></div></blockq=
uote></div><br></div></blockquote></div><br></body></html>=
--Apple-Mail-16-1001169587--