Hi:
I am a jackaroo. My apologizes if someone asked this question before.
I deployed the workbeach in eclipse as a resin project.
First, I builded a new resin project. (resin-3.0.9, j2sdk-1.4.2, eclipse3.0.1)
Second, I copied all .java file (under tapestry-4.0-beta-3
\examples\Workbench\src\java\) to ecilpse/workspace/{resin-project}/src/ ,
copied all files under tapestry-4.0-beta-3\examples\Workbench\src\context\ to
ecilpse/workspace/{resin-project}/web/ , copied all dependence-Lib to
ecilpse/workspace/{resin-project}/lib/.
<classpathentry kind="lib" path="lib/ejb-20.jar"/>
<classpathentry kind="lib" path="lib/ejb-30.jar"/>
<classpathentry kind="lib" path="lib/isorelax.jar"/>
<classpathentry kind="lib" path="lib/j2eedeploy.jar"/>
<classpathentry kind="lib" path="lib/jaxrpc.jar"/>
<classpathentry kind="lib" path="lib/jca-15.jar"/>
<classpathentry kind="lib" path="lib/jms-11.jar"/>
<classpathentry kind="lib" path="lib/jmx-12.jar"/>
<classpathentry kind="lib" path="lib/jsdk-24.jar"/>
<classpathentry kind="lib" path="lib/jstl-11.jar"/>
<classpathentry kind="lib" path="lib/jta-101.jar"/>
<classpathentry kind="lib" path="lib/portlet-10.jar"/>
<classpathentry kind="lib" path="lib/resin.jar"/>
<classpathentry kind="lib" path="lib/resin-jdk15.jar"/>
<classpathentry kind="lib" path="lib/retroweaver.jar"/>
<classpathentry kind="lib" path="lib/webutil.jar"/>
<classpathentry kind="lib" path="lib/bsf-2.3.0.jar"/>
<classpathentry kind="lib" path="lib/commons-codec-1.3.jar"/>
<classpathentry kind="lib" path="lib/commons-fileupload-1.0.jar"/>
<classpathentry kind="lib" path="lib/commons-logging-1.0.4.jar"/>
<classpathentry kind="lib" path="lib/javassist-3.0.jar"/>
<classpathentry kind="lib" path="lib/ognl-2.6.7.jar"/>
<classpathentry kind="lib" path="lib/oro-2.0.8.jar"/>
<classpathentry kind="lib" path="lib/tapestry-4.0-beta-3.jar"/>
<classpathentry kind="lib" path="lib/tapestry-annotations-4.0-beta-3.jar"/>
<classpathentry kind="lib" path="lib/tapestry-contrib-4.0-beta-3.jar"/>
<classpathentry kind="lib" path="lib/tapestry-portlet-4.0-beta-3.jar"/>
<classpathentry kind="lib" path="lib/hivemind-1.1-beta-2.jar"/>
<classpathentry kind="lib" path="lib/hivemind-lib-1.1-beta-2.jar"/>
Then, I Debug(or run) the project in eclipse(resin IDE had bean deployed in
eclipse). But the console window of eclipse showed error messages:
**********************************************************
org.apache.hivemind.ApplicationRuntimeException: Error: Module hivemind is
duplicated! Definition in
jar:file:/D:/eclipse3/workspace/workbench/lib/hivemind-1.1-beta-2.jar!/META-
INF/hivemodule.xml has been ignored in favor of existing definition from
jar:file:/D:/eclipse3/workspace/workbench/lib/hivemind-1.1-beta-2.jar!/META-
INF/hivemodule.xml.
org.apache.hivemind.impl.StrictErrorHandler.error(StrictErrorHandler.java:39)
org.apache.hivemind.impl.RegistryInfrastructureConstructor.addModuleDescriptor
(RegistryInfrastructureConstructor.java:202)
org.apache.hivemind.impl.RegistryBuilder.processModuleDescriptorProvider
(RegistryBuilder.java:168)
........
**********************************************************
[10:23:36.708] javax.servlet.ServletException: Unable to initialize application
servlet: Error: Module hivemind is duplicated! Definition in
jar:file:/D:/eclipse3/workspace/workbench/lib/hivemind-1.1-beta-2.jar!/META-
INF/hivemodule.xml has been ignored in favor of existing definition from
jar:file:/D:/eclipse3/workspace/workbench/lib/hivemind-1.1-beta-2.jar!/META-
INF/hivemodule.xml.
[10:23:36.708] at org.apache.tapestry.ApplicationServlet.init
(ApplicationServlet.java:228)
[10:23:36.708] at com.caucho.server.dispatch.ServletConfigImpl.createServlet
(ServletConfigImpl.java:556)
[10:23:36.708] at com.caucho.server.dispatch.ServletManager.init
(ServletManager.java:139)
...............
I have no idea to solve this problem. If I copy the workbeach.war to resin-
3.0.9/webapp/, and directly run resin-3.0.9. It is all right, no problemn. So,
I feel very strange. Thank you for any suggestion.
Another question about \tapestry-4.0-beta-3\eclipse\Tapestry-
Workbench.launch. How to use it?
Thank you very much.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]