Assembling a server using GEP
-----------------------------
Key: GERONIMO-4743
URL: https://issues.apache.org/jira/browse/GERONIMO-4743
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: Plugins
Affects Versions: 2.2
Environment: jre 1.6
windows xp sp2
Reporter: 何斌
Priority: Minor
Fix For: 2.2
steps:
1、install eclipse and Geronimo Eclipse Plugin ,and define a Geronimo server and
server runtime in Eclipse
2、Install and start Geronimo server
3、Install hello sample
4、Double clicking the Geronimo server will bring up the server editor in the
main window. Items for working with the server can be found on the Plugin and
plugin group page. Clicking on the Plugin tab and selecting Create Custom
Assembly will bring up the New Server Custom Assembly dialog .
5、Enter the name for your assembled server
6、Select the following plugins:
com.ibm.wasce.assemblies/wasce-boilerplate-minimal/x.x.x.x/jar
org.apache.geronimo.configs/tomcat6/x.x.x.x/car
org.apache.geronimo.configs/tomcat6-deployer/x.x.x.x/car
Hello plugin
7、Click "Assemble" button
8、Unzip the assembled server %WASCE_HOME%\var\temp\your_assembled_server_name
9、First stop and remove the geronimo server,then install and start the
assembled server
10、check if hello sample works fine
problems:
1、I can't start the server by using the start-server.bat in
<geronimo-home>\var\temp\<custome-server-home>\bin or
<geronimo-home>\var\temp\assemble\bin
2、The assembled server is well started in eclipse.But when it sI can't start
the server by using start-server.bat in tops,there is a problem sometimes(not
always):
Exception in thread "Multicast Discovery Agent Notifier"
java.lang.NoClassDefFoundError:
org/apache/openejb/server/DiscoveryRegistry$ServiceRemovedTask
at
org.apache.openejb.server.DiscoveryRegistry.serviceRemoved(DiscoveryRegistry.java:129)
at
org.apache.openejb.server.discovery.MulticastDiscoveryAgent$Listener$2.run(MulticastDiscoveryAgent.java:420)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException:
org.apache.openejb.server.DiscoveryRegistry$ServiceRemovedTask in classloader
org.apache.geronimo.configs/openejb/2.2-SNAPSHOT/car
at
org.apache.geronimo.kernel.config.MultiParentClassLoader.loadOptimizedClass(MultiParentClassLoader.java:414)
at
org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:256)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 5 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.