You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Mike Perham (JIRA)" <ta...@jakarta.apache.org> on 2005/09/28 23:34:53 UTC
[jira] Created: (TAPESTRY-677) Duplicate module warning when portlet initializes
Duplicate module warning when portlet initializes
-------------------------------------------------
Key: TAPESTRY-677
URL: http://issues.apache.org/jira/browse/TAPESTRY-677
Project: Tapestry
Type: Bug
Components: Portlet
Versions: 4.0
Reporter: Mike Perham
I'm using Tapestry's portlet support (way to go!) with Liferay 3.6.1. I wrote a Hello World portlet and when the portlet initializes, I get a bunch of these warnings.
21:23:23,843 ERROR [org.apache.hivemind.impl.RegistryBuilder] Error: Module tapestry.error is duplicated! Definition in
jar:file:D:/liferay/ext/servers/tomcat/webapps/portal-web-1.0.0/WEB-INF/lib/tapestry-4.0-beta-8.jar!/META-INF/tapestry.
error.xml has been ignored in favor of existing definition from jar:file:/D:/liferay/ext/servers/tomcat/webapps/portal-w
eb-1.0.0/WEB-INF/lib/tapestry-4.0-beta-8.jar!/META-INF/tapestry.error.xml.
21:23:23,843 ERROR [org.apache.hivemind.impl.RegistryBuilder] Error: Module tapestry.valid is duplicated! Definition in
jar:file:D:/liferay/ext/servers/tomcat/webapps/portal-web-1.0.0/WEB-INF/lib/tapestry-4.0-beta-8.jar!/META-INF/tapestry.
valid.xml has been ignored in favor of existing definition from jar:file:/D:/liferay/ext/servers/tomcat/webapps/portal-w
eb-1.0.0/WEB-INF/lib/tapestry-4.0-beta-8.jar!/META-INF/tapestry.valid.xml.
As you can see, it seems like Tapestry/Hivemind is being initialized twice. I don't know if the problem is my portlet config, Liferay or Tapestry/Hivemind but since you are the one emitting the error, you get the bug. :-)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
Re: [jira] Created: (TAPESTRY-677) Duplicate module warning when portlet initializes
Posted by Jabbar Azam <aj...@gmail.com>.
Hello Mike,
Its good to see someone else using tapestry 4 and liferay. I have a test
Hello world portlet which (sort of ) works inside liferay 3.6.1. I'm using
tapestry 4 beta 8 with hivemind 1.1 rc1.
Liferay gives an exception when I click on a url which is embedded in my
portlet?
Can you send post your source code? We can perhaps help each other!
Thanks
On 28/09/05, Mike Perham (JIRA) <ta...@jakarta.apache.org> wrote:
>
> Duplicate module warning when portlet initializes
> -------------------------------------------------
>
> Key: TAPESTRY-677
> URL: http://issues.apache.org/jira/browse/TAPESTRY-677
> Project: Tapestry
> Type: Bug
> Components: Portlet
> Versions: 4.0
> Reporter: Mike Perham
>
>
> I'm using Tapestry's portlet support (way to go!) with Liferay 3.6.1. I
> wrote a Hello World portlet and when the portlet initializes, I get a bunch
> of these warnings.
>
> 21:23:23,843 ERROR [org.apache.hivemind.impl.RegistryBuilder] Error:
> Module tapestry.error is duplicated! Definition in
> jar:file:D:/liferay/ext/servers/tomcat/webapps/portal-web-1.0.0
> /WEB-INF/lib/tapestry-4.0-beta-8.jar!/META-INF/tapestry.
> error.xml has been ignored in favor of existing definition from
> jar:file:/D:/liferay/ext/servers/tomcat/webapps/portal-w
> eb-1.0.0/WEB-INF/lib/tapestry-4.0-beta-8.jar!/META-INF/tapestry.error.xml.
> 21:23:23,843 ERROR [org.apache.hivemind.impl.RegistryBuilder] Error:
> Module tapestry.valid is duplicated! Definition in
> jar:file:D:/liferay/ext/servers/tomcat/webapps/portal-web-1.0.0
> /WEB-INF/lib/tapestry-4.0-beta-8.jar!/META-INF/tapestry.
> valid.xml has been ignored in favor of existing definition from
> jar:file:/D:/liferay/ext/servers/tomcat/webapps/portal-w
> eb-1.0.0/WEB-INF/lib/tapestry-4.0-beta-8.jar!/META-INF/tapestry.valid.xml.
>
> As you can see, it seems like Tapestry/Hivemind is being initialized
> twice. I don't know if the problem is my portlet config, Liferay or
> Tapestry/Hivemind but since you are the one emitting the error, you get the
> bug. :-)
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
> http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see:
> http://www.atlassian.com/software/jira
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
>
>
--
Jabbar Azam
[jira] Resolved: (TAPESTRY-677) Duplicate module warning when
portlet initializes
Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-677?page=all ]
Jesse Kuhnert resolved TAPESTRY-677.
------------------------------------
Resolution: Won't Fix
I this happens when you have the tapestry jar file duplicated on your classpath multiple times.
> Duplicate module warning when portlet initializes
> -------------------------------------------------
>
> Key: TAPESTRY-677
> URL: http://issues.apache.org/jira/browse/TAPESTRY-677
> Project: Tapestry
> Issue Type: Bug
> Components: Portlet
> Affects Versions: 4.0
> Reporter: Mike Perham
>
> I'm using Tapestry's portlet support (way to go!) with Liferay 3.6.1. I wrote a Hello World portlet and when the portlet initializes, I get a bunch of these warnings.
> 21:23:23,843 ERROR [org.apache.hivemind.impl.RegistryBuilder] Error: Module tapestry.error is duplicated! Definition in
> jar:file:D:/liferay/ext/servers/tomcat/webapps/portal-web-1.0.0/WEB-INF/lib/tapestry-4.0-beta-8.jar!/META-INF/tapestry.
> error.xml has been ignored in favor of existing definition from jar:file:/D:/liferay/ext/servers/tomcat/webapps/portal-w
> eb-1.0.0/WEB-INF/lib/tapestry-4.0-beta-8.jar!/META-INF/tapestry.error.xml.
> 21:23:23,843 ERROR [org.apache.hivemind.impl.RegistryBuilder] Error: Module tapestry.valid is duplicated! Definition in
> jar:file:D:/liferay/ext/servers/tomcat/webapps/portal-web-1.0.0/WEB-INF/lib/tapestry-4.0-beta-8.jar!/META-INF/tapestry.
> valid.xml has been ignored in favor of existing definition from jar:file:/D:/liferay/ext/servers/tomcat/webapps/portal-w
> eb-1.0.0/WEB-INF/lib/tapestry-4.0-beta-8.jar!/META-INF/tapestry.valid.xml.
> As you can see, it seems like Tapestry/Hivemind is being initialized twice. I don't know if the problem is my portlet config, Liferay or Tapestry/Hivemind but since you are the one emitting the error, you get the bug. :-)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org