Topic
1 reply Latest Post - ‏2012-07-20T02:20:30Z by X75J_Li_Yanli
GE0H_ISO_Operations
GE0H_ISO_Operations
1 Post
ACCEPTED ANSWER

Pinned topic websphere startup issue with multiple instances

‏2012-07-13T16:05:24Z |
Hello,

I'm stumped, the server starts up without any issues when I run the main instance but when I try to run an instance foo I get an error. See below :


./bin/versionInfo.sh -------------------------------------------------------------------------------- Version Information Report - Fri Jul 13 18:01:22 CEST 2012 --------------------------------------------------------------------------------   Java Properties java.vendor=IBM Corporation java.version=1.6.0 java.home=/opt/IBM/ibm-java-x86_64-60/jre os.arch=amd64 sun.arch.data.model=64 com.ibm.vm.bitmode=64 os.name=Linux os.version=2.6.27.19-5-

default user.name=websphere user.language=en user.country=US   /opt/IBM/WebSphere/AppServerCommunityEdition/_version.properties version=3.0.0.1 buildTime=14:59:10.064 buildLevel=201203061459 buildDate=Tue 03/06/2012 -------------------------------------------------------------------------------- End Version Information Report --------------------------------------------------------------------------------


/opt/IBM/WebSphere/AppServerCommunityEdition/toto/var/log/server.out :


Booting server kernel (in Java 1.6.0)... Module  1/71 org.apache.geronimo.framework/j2ee-system/3.0-w20111014/car              started in   .000s Module  2/71 org.apache.geronimo.framework/rmi-naming/3.0-w20111014/car               started in   .114s Module  3/71 org.apache.geronimo.framework/plugin/3.0-w20111014/car                   started in   .111s Module  4/71 org.apache.geronimo.framework/j2ee-security/3.0-w20111014/car            started in   .105s Module  5/71 org.apache.geronimo.framework/server-security-config/3.0-w20111014/car   started in   .021s Module  6/71 org.apache.geronimo.framework/bundle-recorder/3.0-w20111014/car          started in   .004s Module  7/71 org.apache.geronimo.framework/geronimo-gbean-deployer/3.0-w20111014/car  started in   .104s Module  8/71 org.apache.geronimo.configs/j2ee-server/3.0-w20111014/car                started in   .021s Module  9/71 org.apache.geronimo.configs/j2ee-deployer/3.0-w20111014/car              started in   .113s Module 10/71 org.apache.geronimo.configs/bval-deployer/3.0-w20111014/car              started in   .084s Module 11/71 org.apache.geronimo.configs/transaction-1_6/3.0-w20111014/car            started in   .091s Module 12/71 org.apache.geronimo.configs/jasper/3.0-w20111014/car                     started in   .007s Module 13/71 org.apache.geronimo.configs/tomcat7/3.0-w20111014/car                    started in   .711s Module 14/71 org.apache.geronimo.configs/connector-deployer-1_6/3.0-w20111014/car     started in   .038s Module 15/71 org.apache.geronimo.configs/tomcat7-deployer/3.0-w20111014/car           started in   .029s Module 16/71 org.apache.geronimo.configs/web-extender/3.0-w20111014/car               started in   .083s Module 17/71 org.apache.geronimo.configs/hot-deployer/3.0-w20111014/car               started in   .011s Module 18/71 org.apache.geronimo.configs/remote-deploy-tomcat/3.0-w20111014/car       started in   .254s Module 19/71 org.apache.geronimo.configs/jasper-deployer/3.0-w20111014/car started in   .004s Module 20/71 org.apache.geronimo.configs/myfaces/3.0-w20111014/car                    started in   .010s Module 21/71 org.apache.geronimo.configs/myfaces-deployer/3.0-w20111014/car           started in   .258s Module 22/71 org.apache.geronimo.configs/sharedlib-extender/3.0-w20111014/car         started in   .004s Module 23/71 org.apache.geronimo.configs/sharedlib/3.0-w20111014/car                 2012-07-12 23:56:03,314 ERROR [GBeanInstanceState] Error 

while starting; GB ean is now in the FAILED state: abstractName=
"org.apache.geronimo.configs/sharedlib/3.0-w20111014/car?ServiceModule=org.apache.geronimo.configs/sharedlib/3.0-w2 0111014/car,j2eeType=GBean,name=SharedLib
" org.eclipse.osgi.framework.internal.core.Framework$DuplicateBundleException: Bundle 
"org.apache.geronimo.configs.sharedlib.SharedLib" version 
"3.0.0.w20111014" has already been installed from: reference:file:/opt/IBM/WebSphere/AppServerCommunityEdition/var/shared/  at org.eclipse.osgi.framework.internal.core.Framework.createAndVerifyBundle(Framework.java:715) at org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:931) at org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:838) at org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:1) at java.security.AccessController.doPrivileged(AccessController.java:251) at org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:897) at org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:833) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:137) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:131) at org.apache.geronimo.system.sharedlib.SharedLib.doStart(SharedLib.java:159) at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:1000) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127) at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:569) at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386) at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:466) at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:225) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:707) at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:214) at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:94) at org.apache.geronimo.system.osgi.BootActivator$1.execute(BootActivator.java:107) at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:67) at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:32) Server Startup failed   org.apache.geronimo.kernel.config.LifecycleException: start of org.apache.geronimo.configs/sharedlib/3.0-w20111014/car failed at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:723) at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:214) at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:94) at org.apache.geronimo.system.osgi.BootActivator$1.execute(BootActivator.java:107) at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:67) at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:32) Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start exception at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:527) at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:225) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:707) ... 6 more Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration org.apache.geronimo.configs/sharedlib/3.0-w20111014/car failed to start due to the following reasons: The service ServiceModule=org.apache.geronimo.configs/sharedlib/3.0-w20111014/car,j2eeType=GBean,name=SharedLib did not start because Bundle 
"org.apache.geron imo.configs.sharedlib.SharedLib
" version "3.0.0.w20111014
" has already been installed from: reference:file:/opt/IBM/WebSphere/AppServerCommunityEdition/var/shar ed/  org.eclipse.osgi.framework.internal.core.Framework$DuplicateBundleException: Bundle 
"org.apache.geronimo.configs.sharedlib.SharedLib" version 
"3.0.0.w20111014" has already been installed from: reference:file:/opt/IBM/WebSphere/AppServerCommunityEdition/var/shared/  at org.eclipse.osgi.framework.internal.core.Framework.createAndVerifyBundle(Framework.java:715) at org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:931) at org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:838) at org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:1) at java.security.AccessController.doPrivileged(AccessController.java:251) at org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:897) at org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:833) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:137) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:131) at org.apache.geronimo.system.sharedlib.SharedLib.doStart(SharedLib.java:159) at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:1000) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127) at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:569) at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386) at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:466) at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:225) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:707) at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:214) at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:94) at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:67) at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:32)     at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:493) ... 8 more
Updated on 2012-07-20T02:20:30Z at 2012-07-20T02:20:30Z by X75J_Li_Yanli
  • X75J_Li_Yanli
    X75J_Li_Yanli
    45 Posts
    ACCEPTED ANSWER

    Re: websphere startup issue with multiple instances

    ‏2012-07-20T02:20:30Z  in response to GE0H_ISO_Operations
    Hello,
    Have you tried following the doc:

    http://publib.boulder.ibm.com/wasce/V3.0.0/en/running-multiple-server-instances.html