问题描述
我是在websphere上面部署我原来jboss里面的程序,可是需要的包太多了。我打成ear包之后,新建应用项目的时候加载太慢,浏览器到一般就停止不动的。内存也不涨,cpu也不动了。最后我就想着把一些包放到websphere的lib下面去。这样我的项目会变小,想试试这样可以不。可是这样之后就直接报这样的错误了。麻烦各位帮帮忙,不令赐教。在次拜谢。错误如下:00000000UserRegistryCESECJ0281E:创建用户注册表对象时发生错误。异常:com.ibm.websphere.wim.exception.InitializationException:CWWIM0502E在指定的“C:ProgramFilesIBMWebSphereAppServeretcwimschemamodelwimdatagraph.xsd”中找不到“http://www.ibm.com/websphere/wim”VirtualMemberManager模型软件包。atcom.ibm.ws.wim.SchemaManager.loadModelFromXSD(SchemaManager.java:401)atcom.ibm.ws.wim.SchemaManager.initialize(SchemaManager.java:232)atcom.ibm.ws.wim.SchemaManager.<init>(SchemaManager.java:184)atcom.ibm.ws.wim.SchemaManager.singleton(SchemaManager.java:190)atcom.ibm.websphere.wim.ServiceProvider.initialize(ServiceProvider.java:114)atcom.ibm.websphere.wim.ServiceProvider.<init>(ServiceProvider.java:124)atcom.ibm.websphere.wim.ServiceProvider.singleton(ServiceProvider.java:103)atcom.ibm.ws.wim.registry.util.BridgeUtils.initialize(BridgeUtils.java:136)atcom.ibm.ws.wim.registry.WIMUserRegistry.initialize(WIMUserRegistry.java:147)atcom.ibm.ws.security.registry.UserRegistryImpl.initialize(UserRegistryImpl.java:259)atcom.ibm.ws.security.config.UserRegistryConfigImpl.do_createRegistryObjects(UserRegistryConfigImpl.java:679)atcom.ibm.ws.security.config.UserRegistryConfigImpl.createRegistryObjects(UserRegistryConfigImpl.java:636)atcom.ibm.ws.security.config.UserRegistryConfigImpl.getUserRegistryImpl(UserRegistryConfigImpl.java:621)atcom.ibm.ws.security.server.SecurityServerImpl.getRegistryImpl(SecurityServerImpl.java:628)atcom.ibm.ws.security.server.SecurityServerImpl.getRegistryImpl(SecurityServerImpl.java:595)atcom.ibm.ws.security.ltpa.LTPAServerObject.getUserRegistry(LTPAServerObject.java:2512)atcom.ibm.ws.security.ltpa.LTPAServerObject.createLTPAToken(LTPAServerObject.java:764)atcom.ibm.ws.security.token.WSCredentialTokenMapper$10.run(WSCredentialTokenMapper.java:1173)atcom.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)atcom.ibm.ws.security.token.WSCredentialTokenMapper.createPropagationTokenFromWSCredential(WSCredentialTokenMapper.java:1169)atcom.ibm.ws.security.auth.ContextManagerImpl.createPropagationToken(ContextManagerImpl.java:741)atcom.ibm.ws.security.auth.SubjectHelper$9.run(SubjectHelper.java:1342)atcom.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)atcom.ibm.ws.security.auth.SubjectHelper.updatePropagationTokenWithSubjectChange(SubjectHelper.java:1287)atcom.ibm.ISecurityUtilityImpl.StateofCurrObj.setCallerSubject(StateofCurrObj.java:347)atcom.ibm.ws.security.auth.ContextManagerImpl.setCallerSubject(ContextManagerImpl.java:4501)atcom.ibm.ws.security.auth.ContextManagerImpl.initialize(ContextManagerImpl.java:2622)atcom.ibm.ws.security.auth.ContextManagerImpl.initialize(ContextManagerImpl.java:2641)atcom.ibm.ws.security.core.SecurityContext.enable(SecurityContext.java:83)atcom.ibm.ws.security.core.distSecurityComponentImpl.initialize(distSecurityComponentImpl.java:675)atcom.ibm.ws.security.core.distSecurityComponentImpl.startSecurity(distSecurityComponentImpl.java:638)atcom.ibm.ws.security.core.SecurityComponentImpl.startSecurity(SecurityComponentImpl.java:109)atcom.ibm.ws.security.core.ServerSecurityComponentImpl.start(ServerSecurityComponentImpl.java:335)atcom.ibm.ws.runtime.component.ContainerHelper.startComponents(ContainerHelper.java:515)atcom.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:631)atcom.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:621)atcom.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:220)atcom.ibm.ws.runtime.component.ContainerHelper.startComponents(ContainerHelper.java:515)atcom.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:631)atcom.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:621)atcom.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:520)atcom.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:298)atcom.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:214)atcom.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:666)atcom.ibm.ws.runtime.WsServer.main(WsServer.java:59)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)atjava.lang.reflect.Method.invoke(Method.java:599)atcom.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:213)atcom.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:93)atcom.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:74)atorg.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)atorg.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)atorg.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)atorg.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)atorg.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)atjava.lang.reflect.Method.invoke(Method.java:599)atorg.eclipse.core.launcher.Main.invokeFramework(Main.java:340)atorg.eclipse.core.launcher.Main.basicRun(Main.java:282)atorg.eclipse.core.launcher.Main.run(Main.java:981)atcom.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLauncher.java:330)atcom.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:108)
解决方案
解决方案二:
解决方案三:
表示压力很大
解决方案四:
调大server的内存~
解决方案五:
一群牛人
解决方案六:
部署过程中,系统找不到指定软件包,看看路径,JVM的libpath,错误如下00000000UserRegistryCESECJ0281E:创建用户注册表对象时发生错误。异常:com.ibm.websphere.wim.exception.InitializationException:CWWIM0502E在指定的“C:ProgramFilesIBMWebSphereAppServeretcwimschemamodelwimdatagraph.xsd”中找不到“http://www.ibm.com/websphere/wim”VirtualMemberManager模型软件包。