You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Conoly, Brett" <Br...@digitalinsight.com> on 2007/07/18 17:19:59 UTC

jsr 168 portlets in cocoon

I've been trying to implement a jsr 168 portlet in cocoon and I've had a
hard time following the wiki at
http://wiki.apache.org/cocoon/JSR168Portlet?highlight=%28copletdata%2Fpo
rtal.xml%29 

I'm using cocoon v 2.1.9, tomcat v 5.5.23 and I've followed the wiki as
much as I could so far.  The problem I seem to be having is that cocoon
cannot find my portlet.  In the wiki it says: 

To integrate the portlet into the Cocoon sample site: 

*         copletdata/portal.xml: 

o        After the CocoonPortlet definition add: 

<code>

   <coplet-data id="RssPortlet" name="standard">
      <title>RssPortlet</title>
      <coplet-base-data>Portlet</coplet-base-data>
      <attribute>
         <name>portlet</name>
         <value xsi:type="java:java.lang.String"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">RssPortlet.RssPort
let</value>
      </attribute>
      <attribute>
         <name>buffer</name>
         <value xsi:type="java:java.lang.Boolean"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">true</value>
      </attribute>
   </coplet-data>

 

</code>

 

If someone can I'd like more of an explination of what the portlet
attribute actually is and what it's looking for.  I think I've narrowed
the problem down to this for now and I'm stuck.

Please help, thanks.

 


Tools build failure

Posted by Robin Rigby <ro...@gondolier.org.uk>.
Hi

I have downloaded Cocoon 2.2 and Maven; got Maven working.  Following
readme.txt, I run

> mvn -Dmaven.test.skip=true -P allblocks install 

which gives a few different failures, then one that repeats, so 

> cd tools 
> mvn clean install

and I get more failures and one that repeats.  Details below.

I have tried with -U and -X but nothing changes.

I get the same failures today as yesterday.

Can anybody help, please? 

Robin

------------------------------

[INFO] [compiler:compile]
[INFO] Compiling 5 source files to
D:\linux\usr\local\cocoon-2.2\cocoon\tools\cocoon-maven-plugin\target\classe
s
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

D:\linux\usr\local\cocoon-2.2\cocoon\tools\cocoon-maven-plugin\src\main\java
\org\apache\cocoon\maven\deployer\DeployWarMojo.java:[41,35] cannot find
symbol
symbol: class AbstractDeployMojo
public class DeployWarMojo extends AbstractDeployMojo {

D:\linux\usr\local\cocoon-2.2\cocoon\tools\cocoon-maven-plugin\src\main\java
\org\apache\cocoon\maven\rcl\ReloadingWebappMojo.java:[43,40] cannot find
symbol
symbol  : class AbstractDeployMojo
location: package org.apache.cocoon.maven.deployer

D:\linux\usr\local\cocoon-2.2\cocoon\tools\cocoon-maven-plugin\src\main\java
\org\apache\cocoon\maven\deployer\WebXmlRewriter.java:[22,48] package
org.apache.cocoon.maven.deployer.servlet does not exist

D:\linux\usr\local\cocoon-2.2\cocoon\tools\cocoon-maven-plugin\src\main\java
\org\apache\cocoon\maven\deployer\DeployWarMojo.java:[76,8] cannot find
symbol
symbol  : method deployWebapp()
location: class org.apache.cocoon.maven.deployer.DeployWarMojo

D:\linux\usr\local\cocoon-2.2\cocoon\tools\cocoon-maven-plugin\src\main\java
\org\apache\cocoon\maven\deployer\DeployWarMojo.java:[98,8] cannot find
symbol
symbol  : method getLog()
location: class org.apache.cocoon.maven.deployer.DeployWarMojo

D:\linux\usr\local\cocoon-2.2\cocoon\tools\cocoon-maven-plugin\src\main\java
\org\apache\cocoon\maven\deployer\DeployWarMojo.java:[103,33] cannot find
symbol
symbol  : method getWebappDirectory()
location: class org.apache.cocoon.maven.deployer.DeployWarMojo

D:\linux\usr\local\cocoon-2.2\cocoon\tools\cocoon-maven-plugin\src\main\java
\org\apache\cocoon\maven\deployer\DeployWarMojo.java:[103,55] cannot find
symbol
symbol  : method getIncludes()
location: class org.apache.cocoon.maven.deployer.DeployWarMojo

D:\linux\usr\local\cocoon-2.2\cocoon\tools\cocoon-maven-plugin\src\main\java
\org\apache\cocoon\maven\deployer\DeployWarMojo.java:[103,70] cannot find
symbol
symbol  : method getExcludes()
location: class org.apache.cocoon.maven.deployer.DeployWarMojo

D:\linux\usr\local\cocoon-2.2\cocoon\tools\cocoon-maven-plugin\src\main\java
\org\apache\cocoon\maven\deployer\DeployWarMojo.java:[104,39] cannot find
symbol
symbol  : method getWebappDirectory()
location: class org.apache.cocoon.maven.deployer.DeployWarMojo

D:\linux\usr\local\cocoon-2.2\cocoon\tools\cocoon-maven-plugin\src\main\java
\org\apache\cocoon\maven\deployer\DeployWarMojo.java:[107,31] cannot find
symbol
symbol  : method getProject()
location: class org.apache.cocoon.maven.deployer.DeployWarMojo

D:\linux\usr\local\cocoon-2.2\cocoon\tools\cocoon-maven-plugin\src\main\java
\org\apache\cocoon\maven\deployer\DeployWarMojo.java:[108,8] cannot find
symbol
symbol  : method getProject()
location: class org.apache.cocoon.maven.deployer.DeployWarMojo

D:\linux\usr\local\cocoon-2.2\cocoon\tools\cocoon-maven-plugin\src\main\java
\org\apache\cocoon\maven\rcl\ReloadingWebappMojo.java:[389,19] cannot find
symbol
symbol  : variable AbstractDeployMojo
location: class org.apache.cocoon.maven.rcl.ReloadingWebappMojo

D:\linux\usr\local\cocoon-2.2\cocoon\tools\cocoon-maven-plugin\src\main\java
\org\apache\cocoon\maven\rcl\ReloadingWebappMojo.java:[390,8] cannot find
symbol
symbol  : variable AbstractDeployMojo
location: class org.apache.cocoon.maven.rcl.ReloadingWebappMojo

D:\linux\usr\local\cocoon-2.2\cocoon\tools\cocoon-maven-plugin\src\main\java
\org\apache\cocoon\maven\deployer\WebXmlRewriter.java:[138,32] cannot find
symbol
symbol  : variable ShieldedClassLoaderManager
location: class org.apache.cocoon.maven.deployer.WebXmlRewriter

D:\linux\usr\local\cocoon-2.2\cocoon\tools\cocoon-maven-plugin\src\main\java
\org\apache\cocoon\maven\deployer\WebXmlRewriter.java:[142,53] cannot find
symbol
symbol  : variable ShieldedClassLoaderManager
location: class org.apache.cocoon.maven.deployer.WebXmlRewriter

------------------------------


 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


RE: may not be this project's POM

Posted by Robin Rigby <ro...@gondolier.org.uk>.
Hi Grzegorz

Thanks.  The Maven users list sorted that out.  Turns out I had to turn off
Personal Firewall (Norton Internet Security). Just that.

That has got the Maven Hello World running (but there may still be other
Cocoon problems - new thread).

I have not yet worked out why the firewall allows: 

1. Firefox and IE to access the problem files but not Maven or wget.
2. Wget to access everything normally except these few files. 

Thanks for your help
 
Robin
 

-----Original Message-----
From: Grzegorz Kossakowski [mailto:gkossakowski@apache.org] 
Sent: 18 July 2007 23:00
To: users@cocoon.apache.org
Subject: Re: may not be this project's POM

Robin Rigby pisze:
> Yes, Firefox and IE both read it OK.  I still get the 403 error with wget
> and, of course, with Maven. 
> 
> Is there a way to save it and configure Maven to use it locally?  Or
should
> I go look for a Maven mailing list?

You could put the pom file in local repository (where Maven usually puts it
automatically) but this method is rather clumsy and it's very 
likely that it will fail with next file it needs.

Yes, it's plain Maven issue so I think you should ask on Maven users mailing
list but before you do so I strongly advise you to check if 
Maven is allowed to download anything. Also, it will be first thing that you
will be asked on Maven list ;-)

Since I'm already writing, you could also try -X option that gives *a lot*
of debug information. It may be that you will find something 
useful there.

-- 
Grzegorz Kossakowski
http://reflectingonthevicissitudes.wordpress.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: may not be this project's POM

Posted by Grzegorz Kossakowski <gk...@apache.org>.
Robin Rigby pisze:
> Yes, Firefox and IE both read it OK.  I still get the 403 error with wget
> and, of course, with Maven. 
> 
> Is there a way to save it and configure Maven to use it locally?  Or should
> I go look for a Maven mailing list?

You could put the pom file in local repository (where Maven usually puts it automatically) but this method is rather clumsy and it's very 
likely that it will fail with next file it needs.

Yes, it's plain Maven issue so I think you should ask on Maven users mailing list but before you do so I strongly advise you to check if 
Maven is allowed to download anything. Also, it will be first thing that you will be asked on Maven list ;-)

Since I'm already writing, you could also try -X option that gives *a lot* of debug information. It may be that you will find something 
useful there.

-- 
Grzegorz Kossakowski
http://reflectingonthevicissitudes.wordpress.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


RE: may not be this project's POM

Posted by Robin Rigby <ro...@gondolier.org.uk>.
Yes, Firefox and IE both read it OK.  I still get the 403 error with wget
and, of course, with Maven. 

Is there a way to save it and configure Maven to use it locally?  Or should
I go look for a Maven mailing list?
 
Robin Rigby
robin@gondolier.org.uk
http://www.gondolier.org.uk
07785 765017
 

-----Original Message-----
From: Grzegorz Kossakowski [mailto:gkossakowski@apache.org] 
Sent: 18 July 2007 22:16
To: users@cocoon.apache.org
Subject: Re: may not be this project's POM

Robin Rigby pisze:
> Grzegorz 
> 
> Well, here is the whole stack trace.  I have a plain domestic firewall.  I
> tried this:
> 
>> wget http://repo1.maven.org/maven2/org/apache/apache/4/apache-4.pom
> 
> and got ERROR 403: Forbidden.  What reason could there be?

I've just tried to download this file with wget and got the same error.
However, Firefox downloads it just fine. I suspect that its a simple 
Maven folks protection against stupid people that try download whole mirror
using wget and in consequence soaking a lot of bandwidth.

Could you try to download using Firefox?
After looking at Maven's output, I really think that this issue is truly
low-level as some proxy blocking traffic or firewall issue.

-- 
Grzegorz Kossakowski
http://reflectingonthevicissitudes.wordpress.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: may not be this project's POM

Posted by Grzegorz Kossakowski <gk...@apache.org>.
Robin Rigby pisze:
> Grzegorz 
> 
> Well, here is the whole stack trace.  I have a plain domestic firewall.  I
> tried this:
> 
>> wget http://repo1.maven.org/maven2/org/apache/apache/4/apache-4.pom
> 
> and got ERROR 403: Forbidden.  What reason could there be?

I've just tried to download this file with wget and got the same error. However, Firefox downloads it just fine. I suspect that its a simple 
Maven folks protection against stupid people that try download whole mirror using wget and in consequence soaking a lot of bandwidth.

Could you try to download using Firefox?
After looking at Maven's output, I really think that this issue is truly low-level as some proxy blocking traffic or firewall issue.

-- 
Grzegorz Kossakowski
http://reflectingonthevicissitudes.wordpress.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


RE: may not be this project's POM

Posted by Robin Rigby <ro...@gondolier.org.uk>.
Grzegorz 

Well, here is the whole stack trace.  I have a plain domestic firewall.  I
tried this:

>wget http://repo1.maven.org/maven2/org/apache/apache/4/apache-4.pom

and got ERROR 403: Forbidden.  What reason could there be?



Thanks for your help.

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



[INFO] Scanning for projects...
Downloading: http://repo1.maven.org/maven2/org/apache/apache/4/apache-4.pom
Downloading: http://repo1.maven.org/maven2/org/apache/apache/4/apache-4.pom
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.cocoon:cocoon:pom:5-SNAPSHOT

Reason: Cannot find parent: org.apache:apache for project:
org.apache.cocoon:cocoon:pom:5-SNAPSHOT for project org.apache.cocoon:cocoon
:pom:5-SNAPSHOT


[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
org.apache:apache for project: org.apache.cocoon:cocoon:pom:5-SNA
PSHOT for project org.apache.cocoon:cocoon:pom:5-SNAPSHOT
        at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:290)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find
parent: org.apache:apache for project: org.apache.cocoon:coco
on:pom:5-SNAPSHOT for project org.apache.cocoon:cocoon:pom:5-SNAPSHOT
        at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultM
avenProjectBuilder.java:1261)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMav
enProjectBuilder.java:747)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInter
nal(DefaultMavenProjectBuilder.java:479)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjec
tBuilder.java:200)
        at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:553)
        at
org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:467)
        at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:364)
        ... 11 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM
'org.apache:apache' not found in repository: Unable to download the a
rtifact from any repository

  org.apache:apache:pom:4

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)
 for project org.apache:apache
        at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(
DefaultMavenProjectBuilder.java:573)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultM
avenProjectBuilder.java:1257)
        ... 17 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
Unable to download the artifact from any repository

  org.apache:apache:pom:4

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultAr
tifactResolver.java:197)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultAr
tifactResolver.java:73)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(
DefaultMavenProjectBuilder.java:526)
        ... 18 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to
download the artifact from any repository
        at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWag
onManager.java:324)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultAr
tifactResolver.java:185)
        ... 20 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Wed Jul 18 18:20:22 BST 2007
[INFO] Final Memory: 1M/4M
[INFO]
------------------------------------------------------------------------
 


 
Robin Rigby
robin@gondolier.org.uk
http://www.gondolier.org.uk
07785 765017
 

-----Original Message-----
From: Grzegorz Kossakowski [mailto:gkossakowski@apache.org] 
Sent: 18 July 2007 19:24
To: users@cocoon.apache.org
Subject: Re: may not be this project's POM

Robin Rigby pisze:
> Hi
>  
> I was pointed to the cocoon 2.2 trunk for an updated FOP serializer.  
> Downloaded snapshot.  Installed maven.  Have error:
>  
> ----------
> Error building POM (may not be this project's POM).
> Project ID: org.apache.cocoon:cocoon:pom:5-SNAPSHOT
> Reason: Cannot find parent: org.apache:apache for project: 
> org.apache.cocoon:cocoon:pom:5-SNAPSHOT for project 
> org.apache.cocoon:cocoon:pom:5-SNAPSHOT
> ----------
>  
> Tried  > mvn clean install      - no help 
>  
> Found a thread on cocoon-dev with a reply from Jorg Heymans:  "well as 
> it says it cannot find the parent pom of our pom, chances are 
> you've configured a mirror that doesn't have that pom.  A good thing to 
> do here is to check  manually if your repo actually has that file."

I think Joerg was right when giving this advice.

> Sorry, I only downloaded maven today and the readme lets me believe it 
> should compile 'out out the box'.  What should I do, please?

Yes, it's correct that it should work "out of the box" and it works, really.
If you didn't configure anything Maven should use it's standard 
mirror (http://repo1.maven.org/maven2/) and the missing pom is there.

You should check if you are behind a proxy server/firewall that may block
Maven. It could be also temporary failure of mirror (however, very 
unlikely, I have not experienced such failure for months). Maven provides
some info about mirrors it tries, consider more careful reading of 
its output or paste it here so we can help you further.

-- 
Grzegorz Kossakowski
http://reflectingonthevicissitudes.wordpress.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: may not be this project's POM

Posted by Grzegorz Kossakowski <gk...@apache.org>.
Robin Rigby pisze:
> Hi
>  
> I was pointed to the cocoon 2.2 trunk for an updated FOP serializer.  
> Downloaded snapshot.  Installed maven.  Have error:
>  
> ----------
> Error building POM (may not be this project's POM).
> Project ID: org.apache.cocoon:cocoon:pom:5-SNAPSHOT
> Reason: Cannot find parent: org.apache:apache for project: 
> org.apache.cocoon:cocoon:pom:5-SNAPSHOT for project 
> org.apache.cocoon:cocoon:pom:5-SNAPSHOT
> ----------
>  
> Tried  > mvn clean install      - no help 
>  
> Found a thread on cocoon-dev with a reply from Jorg Heymans:  "well as 
> it says it cannot find the parent pom of our pom, chances are 
> you've configured a mirror that doesn't have that pom.  A good thing to 
> do here is to check  manually if your repo actually has that file."

I think Joerg was right when giving this advice.

> Sorry, I only downloaded maven today and the readme lets me believe it 
> should compile 'out out the box'.  What should I do, please?

Yes, it's correct that it should work "out of the box" and it works, really. If you didn't configure anything Maven should use it's standard 
mirror (http://repo1.maven.org/maven2/) and the missing pom is there.

You should check if you are behind a proxy server/firewall that may block Maven. It could be also temporary failure of mirror (however, very 
unlikely, I have not experienced such failure for months). Maven provides some info about mirrors it tries, consider more careful reading of 
its output or paste it here so we can help you further.

-- 
Grzegorz Kossakowski
http://reflectingonthevicissitudes.wordpress.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


may not be this project's POM

Posted by Robin Rigby <ro...@gondolier.org.uk>.
Hi 
 
I was pointed to the cocoon 2.2 trunk for an updated FOP serializer.
Downloaded snapshot.  Installed maven.  Have error:
 
----------
Error building POM (may not be this project's POM).
Project ID: org.apache.cocoon:cocoon:pom:5-SNAPSHOT
Reason: Cannot find parent: org.apache:apache for project:
org.apache.cocoon:cocoon:pom:5-SNAPSHOT for project
org.apache.cocoon:cocoon:pom:5-SNAPSHOT
----------
 
Tried  > mvn clean install      - no help  
 
Found a thread on cocoon-dev with a reply from Jorg Heymans:  "well as it
says it cannot find the parent pom of our pom, chances are  
you've configured a mirror that doesn't have that pom.  A good thing to do
here is to check  manually if your repo actually has that file."
 
Sorry, I only downloaded maven today and the readme lets me believe it
should compile 'out out the box'.  What should I do, please?
 
Thanks in advance.
 
Robin Rigby
robin@gondolier.org.uk
http://www.gondolier.org.uk <http://www.gondolier.org.uk/> 
07785 765017
 

Re: jsr 168 portlets in cocoon

Posted by Carsten Ziegeler <cz...@apache.org>.
Conoly, Brett wrote:
> I’ve been trying to implement a jsr 168 portlet in cocoon and I’ve had a
> hard time following the wiki at
> http://wiki.apache.org/cocoon/JSR168Portlet?highlight=%28copletdata%2Fportal.xml%29
> 
> 
> I’m using cocoon v 2.1.9, tomcat v 5.5.23 and I’ve followed the wiki as
> much as I could so far.  The problem I seem to be having is that cocoon
> cannot find my portlet.  In the wiki it says:
> 
> To integrate the portlet into the Cocoon sample site:
> 
> ·         **copletdata/portal.xml**:
> 
> o        After the CocoonPortlet definition add:
> 
> <code>
> 
>    <coplet-data id="RssPortlet" name="standard">
> 
>       <title>RssPortlet</title>
> 
>       <coplet-base-data>Portlet</coplet-base-data>
> 
>       <attribute>
> 
>          <name>portlet</name>
> 
>          <value xsi:type="java:java.lang.String" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">RssPortlet.RssPortlet</value>
> 
>       </attribute>
> 
>       <attribute>
> 
>          <name>buffer</name>
> 
>          <value xsi:type="java:java.lang.Boolean" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">true</value>
> 
>       </attribute>
> 
>    </coplet-data>
> 
>  
> 
> </code>
> 
>  
> 
> If someone can I’d like more of an explination of what the portlet
> attribute actually is and what it’s looking for.  I think I’ve narrowed
> the problem down to this for now and I’m stuck.
> 
The portlet attribute is pointing to your portlet, it is the webapp name
of your portlet
(in this case RssPortlet) followed by a dot followed by the portlet id
(which happens to be RssPortelt as well).

Apart from this configuration you need to propertly deploy the portlet
into tomcat as mentioned on the page. Usually the most common problem
are classpath problems. You have to put the portlet-api and pluto jars
into the tomcat common directory and delete it from the
cocoon/web-inf/lib dir.

The best approach to test things is to follow these instructions (taken
from the cocoon portal sampe page)
- Get the Pluto project (1.0.x) and install it into Tomcat (Test Pluto now)
- Install Cocoon as a web application in Tomcat and remove the Pluto
webapp. Please note, that it is currently not possible to start Cocoon
directly from a war file; it has to be expanded.
- Remove the pluto-*.jar and the portlet-api-*.jar from the Cocoon
WEB-INF/lib directory.

If you now start the cocoon portal sample, you should see the pluto
sample jsr portlets on the jsr tab (after login)

Carsten
-- 
Carsten Ziegeler
cziegeler@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org