2013-12-11 60 views
0

我面臨的一個問題,同時從管理控制檯中的Web Sphere 8.0安裝EAR。 我的耳朵有兩個EJB罐和兩個網絡戰爭。 的EJB的JAR-1 &網絡戰爭-1與Java編譯版本1.4和EJB JAR-2 &網絡戰爭-2與Java 1.6版編譯。無法在的Web Sphere安裝具有EJB 2.0 EAR和EJB 3.0 8.0

不過,雖然在服務器中安裝EAR我得到一個異常java.lang.IllegalArgumentException異常。

我與RAD工具進行工作,如果我添加EAR在RAD工具本身的服務器和啓動服務器沒有問題。

我有點困惑,爲什麼服務器是拋出該異常而從管理控制檯安裝EAR。我附上異常的堆棧軌跡。

請幫我解決這個問題。提前致謝。

12/10/13 17:43:00:857 IST] 00000022 servlet  I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [isclite] [/ibm/console] [AppInstallStatusServlet]: Initialization successful. 
[12/10/13 17:43:11:868 IST] 0000002f annotations E CWWAM0001E: An exception occurred during annotation processing: java.lang.IllegalArgumentException: The feature 'unknown-ejb-refs' is not a valid feature 
[12/10/13 17:43:11:884 IST] 0000002f annotations E CWWAM0001E: An exception occurred during annotation processing: java.lang.IllegalArgumentException: The feature 'annotated-classes' is not a valid feature 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R java.lang.NullPointerException 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at org.eclipse.emf.common.CommonPlugin$Implementation.loadClass(CommonPlugin.java:198) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at org.eclipse.emf.common.CommonPlugin.loadClass(CommonPlugin.java:98) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at org.eclipse.emf.ecore.xmi.util.DefaultEcoreBuilder.<clinit>(DefaultEcoreBuilder.java:54) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at java.lang.J9VMInternals.initializeImpl(Native Method) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at java.lang.J9VMInternals.initialize(J9VMInternals.java:205) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createEcoreBuilder(XMLHandler.java:2822) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at org.eclipse.emf.ecore.xmi.impl.XMLHandler.<init>(XMLHandler.java:397) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at org.eclipse.emf.ecore.xmi.impl.SAXXMLHandler.<init>(SAXXMLHandler.java:44) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.makeDefaultHandler(XMLLoadImpl.java:310) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:141) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:179) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1094) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:900) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:249) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:264) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:390) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.IBMDataModelImpl.forceMETADataResource(IBMDataModelImpl.java:591) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.IBMDataModelImpl.forceMETAData(IBMDataModelImpl.java:521) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.IBMDataModelImpl.forceEJBMETAData(IBMDataModelImpl.java:513) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at com.ibm.ws.amm.AnnotativeMetadataManagerImpl.persistAMMData(AnnotativeMetadataManagerImpl.java:377) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at com.ibm.ws.amm.AnnotativeMetadataManagerImpl.merge(AnnotativeMetadataManagerImpl.java:284) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at com.ibm.ws.amm.commonarchive.AnnotationsProcessorImpl.merge(AnnotationsProcessorImpl.java:132) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at com.ibm.ws.amm.commonarchive.AnnotationsProcessorImpl.merge(AnnotationsProcessorImpl.java:64) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EJBJarFileImpl.processManagedBeansAnnotations(EJBJarFileImpl.java:1351) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EJBJarFileImpl.getManagedBeansDeploymentDescriptor(EJBJarFileImpl.java:1167) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EJBJarFileImpl.getManagedBeansDeploymentDescriptor(EJBJarFileImpl.java:1042) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EJBJarFileImpl.getManagedBeansDeploymentDescriptor(EJBJarFileImpl.java:1035) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at com.ibm.ws.management.application.client.ManagedBeansHelper.getAllManagedBeansID(ManagedBeansHelper.java:127) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at com.ibm.websphere.management.application.client.ArchiveDeploymentInfo.getManagedBeansID(ArchiveDeploymentInfo.java:1582) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at com.ibm.ws.management.application.client.ResourceGroupHelper.skipBndForManagedBeans(ResourceGroupHelper.java:493) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at com.ibm.ws.management.application.dfltbndngs.utils.GetAllResourceRefs.addResRefs(GetAllResourceRefs.java:321) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at com.ibm.ws.management.application.dfltbndngs.utils.GetAllResourceRefs.addResRefs(GetAllResourceRefs.java:270) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at com.ibm.ws.management.application.dfltbndngs.utils.GetAllResourceRefs.addResRefs(GetAllResourceRefs.java:250) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at com.ibm.ws.management.application.dfltbndngs.utils.GetAllResourceRefs.execute(GetAllResourceRefs.java:168) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at com.ibm.ws.management.application.dfltbndngs.BindEarCmd.bindResourceRefs(BindEarCmd.java:1026) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at com.ibm.ws.management.application.dfltbndngs.BindEarCmd.bind(BindEarCmd.java:285) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at com.ibm.websphere.management.application.client.ArchiveDeploymentInfo.createDefaultBindings(ArchiveDeploymentInfo.java:776) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at com.ibm.websphere.management.application.client.AppDeploymentController.handlePreferences(AppDeploymentController.java:503) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at com.ibm.websphere.management.application.client.AppDeploymentController.<init>(AppDeploymentController.java:352) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at com.ibm.websphere.management.application.client.AppDeploymentController.<init>(AppDeploymentController.java:281) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at com.ibm.websphere.management.application.AppManagementFactory.readArchive(AppManagementFactory.java:137) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at com.ibm.websphere.management.application.AppManagementFactory.readArchive(AppManagementFactory.java:91) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at com.ibm.websphere.management.application.client.ResourceValidationHelper.<init>(ResourceValidationHelper.java:214) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at com.ibm.ws.management.application.task.ValidateResourceTask.performTask(ValidateResourceTask.java:124) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:312) 
[12/10/13 17:43:11:681 IST] 0000002f SystemErr  R at java.lang.Thread.run(Thread.java:737) 
[12/10/13 17:43:53:819 IST] 0000002f webcontainer I com.ibm.ws.webcontainer.internal.WebContainer addExtensionFactory SRVE0239I: Extension Factory [class com.ibm.ws.soa.sca.web.extension.SCAWebExtensionFactory] was registered successfully. 
[12/10/13 17:43:53:819 IST] 0000002f webcontainer I com.ibm.ws.webcontainer.internal.WebContainer addExtensionFactory SRVE0240I: Extension Factory [class com.ibm.ws.soa.sca.web.extension.SCAWebExtensionFactory] has been associated with patterns [""]. 
[12/10/13 17:43:54:022 IST] 0000002f WebSphereSCAS I Added Servlet mapping: /dojo 
[12/10/13 17:43:54:022 IST] 0000002f WebSphereSCAS I Added Servlet mapping: /dojo 
[12/10/13 17:43:54:022 IST] 0000002f WebSphereSCAS I Added Servlet mapping: /tuscany 
[12/10/13 17:43:54:022 IST] 0000002f WebSphereSCAS I Added Servlet mapping: /tuscany 
[12/10/13 17:43:58:645 IST] 0000002f annotations E CWWAM0001E: An exception occurred during annotation processing: java.lang.IllegalArgumentException: The feature 'annotated-classes' is not a valid feature 
[12/10/13 17:43:58:692 IST] 0000002f annotations E CWWAM0001E: An exception occurred during annotation processing: java.lang.IllegalArgumentException: The feature 'unknown-ejb-refs' is not a valid feature 
+0

這是一個產品缺陷的。我建議與IBM開放PMR。 –

回答