EJB3 and JBoss Portal 2.7.2 Bundle
fuchs Oct 15, 2009 5:38 AMHello!
I am using JBoss Portal 2.7.2 bundle with JBoss 4.2.3 and I have to import EJB3 into it, to get the EJB Timer-Service.
I found this installation guide for JBoss 4.X:
1. Download EJB 3.0 RC4 - PFD. 2. Unzip this file. 3. Copy ejb3.deployer from the lib/ directory of the distribution to jboss-4.0.x/server/all/deploy 4. Copy ejb3-clustered-sfsbcache-service.xml from the lib/ directory of the distribution to jboss-4.0.x/server/all/deploy 5. Copy ejb3-entity-cache-service.xml from the lib/ directory of the distribution to jboss-4.0.x/server/all/deploy 6. Copy ejb3-interceptors-aop.xml from the lib/ directory of the distribution to jboss-4.0.x/server/all/deploy 7. Copy jboss-aop-jdk50.deployer from the lib/ directory of the distribution to jboss-4.0.x/server/all/deploy 8. Copy jboss-remoting.jar from the lib/ directory of the distribution to jboss-4.0.x/server/all/lib 9. Copy jboss-serialization.jar from the lib/ directory of the distribution to jboss-4.0.x/server/all/lib 10. Copy jboss-j2ee.jar from the lib/ directory of the distribution to jboss-4.0.x/server/all/lib 11. Remove ejb3-persistence.jar from jboss-4.0.x/server/all/lib 12. Remove hibernate3.jar from jboss-4.0.x/server/all/lib 13. Remove hibernate-annotations.jar from jboss-4.0.x/server/all/lib 14. Remove hibernate-entitymanager.jar from jboss-4.0.x/server/all/lib 15. Remove jboss-aop.deployer/ from jboss-4.0.x/server/all/deploy 16. Start jboss up with the all configuration run.sh -c all If you do not want to run with the all configuration, the skip the steps of copying the ejb3-clustered-sfsbcache-service.xml and the ejb3-entity-cache-service.xml
But it is not the correct way for JBoss Portal or do I have to do additional things?
The Console displayed exceptions and the Timer-Service did not run.
Here is a small abstract of these exceptions:
*** DEPLOYMENTS IN ERROR: WSSecurityHandlerEJB3 -> java.lang.NoClassDefFoundError: org/jboss/ejb3/Ejb3ModuleMBean WSDeployerHook_JAXWS_EJB3 -> java.lang.NoClassDefFoundError: org/jboss/ejb3/EJBContainer WSApplicationMetaDataAdapterEJB3 -> java.lang.NoClassDefFoundError: org/jboss/ejb3/EJBContainer *** DEPLOYMENTS MISSING DEPENDENCIES: WSContainerMetaDataDeploymentAspect -> WSContainerMetaDataAdapter{Configured:Instantiated} WSContainerMetaDataAdapter -> WSApplicationMetaDataAdapterEJB3{Configured:**ERROR**}, WSWebMetaDataAdapter{Configured:Installed}, WSApplicationMetaDat aAdapterEJB21{Configured:Installed} WSNativeDeploymentAspectInstallerPreJSE -> WSNativeContextPropertiesDeploymentAspect{Configured:Installed}, WSDeploymentAspectManagerPreJSE{Configured :Installed}, WSDeploymentAspectInstallerPreJSE{Create:Instantiated}, WSDeploymentAspectInstallerPreJSE{Start:Instantiated} WSWebAppGeneratorDeploymentAspect -> WSSecurityHandlerEJB21{Configured:Installed}, WSSecurityHandlerEJB3{Configured:**ERROR**} WSDeploymentAspectInstallerPostJSE -> WSDeploymentAspectManagerPostJSE{Configured:Installed}, WSEndpointLifecycleDeploymentAspect{Configured:Installed }, WSRuntimeLoaderDeploymentAspect{Configured:Installed}, WSDeploymentAspectInstallerPreJSE{Create:Instantiated}, WSDeploymentAspectInstallerPreJSE{St art:Instantiated} WSNativeDeploymentAspectInstallerEJB -> WSNativeContextPropertiesDeploymentAspect{Configured:Installed}, WSNativeEagerInitializeDeploymentAspect{Confi gured:Installed}, WSNativeEndpointHandlerDeploymentAspect{Configured:Installed}, WSNativeEndpointRecordProcessorDeploymentAspect{Configured:Installed} , WSNativeEventingDeploymentAspect{Configured:Installed}, WSNativePublishContractDeploymentAspect{Configured:Installed}, WSNativeServiceEndpointInvoke rDeploymentAspect{Configured:Installed}, WSNativeRMDeploymentAspect{Configured:Installed}, WSNativeUnifiedMetaDataDeploymentAspect{Configured:Installe d}, WSJAXBIntroDeploymentAspect{Configured:Installed}, WSDeploymentAspectManagerEJB{Configured:Installed}, WSDeploymentAspectInstallerEJB{Create:Insta ntiated}, WSDeploymentAspectInstallerEJB{Start:Instantiated} WSDeploymentAspectInstallerEJB -> WSContainerMetaDataDeploymentAspect{Configured:Instantiated}, WSContextRootDeploymentAspect{Configured:Installed}, W SEndpointAddressDeploymentAspect{Configured:Installed}, WSEndpointHandlerDeploymentAspect{Configured:Installed}, WSEndpointLifecycleDeploymentAspect{C onfigured:Installed}, WSEndpointMetricsDeploymentAspect{Configured:Installed}, WSEndpointNameDeploymentAspect{Configured:Installed}, WSEndpointRegistr yDeploymentAspect{Configured:Installed}, WSRuntimeLoaderDeploymentAspect{Configured:Installed}, WSURLPatternDeploymentAspect{Configured:Installed}, WS WebAppDeploymentAspect{Configured:Installed}, WSWebAppGeneratorDeploymentAspect{Configured:Instantiated}, WSDeploymentAspectManagerEJB{Configured:Inst alled} WSDeploymentAspectInstallerEndpointAPI -> WSDeploymentAspectManagerEndpointAPI{Configured:Installed}, WSEndpointAPIDeploymentAspect{Configured:Install ed}, WSEndpointAddressDeploymentAspect{Configured:Installed}, WSEndpointHandlerDeploymentAspect{Configured:Installed}, WSEndpointLifecycleDeploymentAs pect{Configured:Installed}, WSEndpointMetricsDeploymentAspect{Configured:Installed}, WSEndpointNameDeploymentAspect{Configured:Installed}, WSEndpointR egistryDeploymentAspect{Configured:Installed}, WSWebAppDeploymentAspect{Configured:Installed}, WSWebAppGeneratorDeploymentAspect{Configured:Instantiat ed} WSNativeDeploymentAspectInstallerEndpointAPI -> WSNativeContextPropertiesDeploymentAspect{Configured:Installed}, WSNativeEagerInitializeDeploymentAspe ct{Configured:Installed}, WSNativeEndpointHandlerDeploymentAspect{Configured:Installed}, WSNativeEndpointRecordProcessorDeploymentAspect{Configured:In stalled}, WSNativeEventingDeploymentAspect{Configured:Installed}, WSNativePublishContractDeploymentAspect{Configured:Installed}, WSNativeServiceEndpoi ntInvokerDeploymentAspect{Configured:Installed}, WSNativeRMDeploymentAspect{Configured:Installed}, WSNativeUnifiedMetaDataDeploymentAspect{Configured: Installed}, WSJAXBIntroDeploymentAspect{Configured:Installed}, WSDeploymentAspectManagerEndpointAPI{Configured:Installed}, WSDeploymentAspectInstaller EndpointAPI{Create:Instantiated}, WSDeploymentAspectInstallerEndpointAPI{Start:Instantiated} WSNativeDeploymentAspectInstallerPostJSE -> WSNativeEndpointHandlerDeploymentAspect{Configured:Installed}, WSNativeEndpointRecordProcessorDeploymentAs pect{Configured:Installed}, WSNativeEventingDeploymentAspect{Configured:Installed}, WSNativePublishContractDeploymentAspect{Configured:Installed}, WSN ativeServiceEndpointInvokerDeploymentAspect{Configured:Installed}, WSNativeRMDeploymentAspect{Configured:Installed}, WSNativeUnifiedMetaDataDeployment Aspect{Configured:Installed}, WSNativeEagerInitializeDeploymentAspect{Configured:Installed}, WSJAXBIntroDeploymentAspect{Configured:Installed}, WSDepl oymentAspectManagerPostJSE{Configured:Installed}, WSDeploymentAspectInstallerPostJSE{Create:Configured}, WSDeploymentAspectInstallerPostJSE{Start:Conf igured} WSDeploymentAspectInstallerPreJSE -> WSContainerMetaDataDeploymentAspect{Configured:Instantiated}, WSContextRootDeploymentAspect{Configured:Installed} , WSEndpointAddressDeploymentAspect{Configured:Installed}, WSEndpointHandlerDeploymentAspect{Configured:Installed}, WSEndpointMetricsDeploymentAspect{ Configured:Installed}, WSEndpointNameDeploymentAspect{Configured:Installed}, WSEndpointRegistryDeploymentAspect{Configured:Installed}, WSModifyWebMeta DataDeploymentAspect{Configured:Installed}, WSURLPatternDeploymentAspect{Configured:Installed}, WSDeploymentAspectManagerPreJSE{Configured:Installed} ) ObjectName: portal:service=PortletInvoker,type=Federating State: NOTYETINSTALLED Depends On Me: portal:service=Management,type=PortletDiscoveryManagement,name=Default ObjectName: jboss.ejb3:service=EJB3Deployer State: NOTYETINSTALLED Depends On Me: jboss.ws:service=DeployerInterceptorEJB3 ObjectName: portal:urlFactory=Delegating State: NOTYETINSTALLED Depends On Me: portal:urlFactory=Configurator portal:urlFactory=CMSObject portal:urlFactory=IdentityUI ObjectName: portal:service=InstanceContainerContext State: NOTYETINSTALLED Depends On Me: portal.management:service=Management,type=Portal,name=Default ObjectName: portal:service=Module,type=IdentityServiceController State: NOTYETINSTALLED Depends On Me: portal:service=AuthorizationProvider,type=cms portal:service=Interceptor,type=Cms,name=ACL portal:service=ApprovePublish,type=Workflow portal:service=IdentityUIConfigurationService,type=IdentityUI portal:service=IdentityUserManagementService,type=IdentityUI portal.management:service=Management,type=Identity,name=Default ObjectName: portal:service=InterceptorStackFactory,type=Instance State: NOTYETINSTALLED Depends On Me: portal:service=InterceptorRegistration,type=Portlet,name=PortletContainerManagement
Each assistance would be welcome, please.