Technote (troubleshooting)
Problem(Abstract)
If you want to start a customized WebSphere Application Server Community Edition 3.0.0.3 server that diabled all the admin console modules, you will meet an org.osgi.framework.BundleException.
Symptom
If you disable the admin console feature by set the following modules "load='false'" in <WAS_CE_HOME>\var\conf\config.xml.
<module load="false" name="org.apache.geronimo.plugins/console-tomcat/3.0-w20120730/car"/>
<module load="false" name="org.apache.geronimo.plugins/plugin-console-tomcat/3.0-w20120730/car"/>
<module load="false" name="org.apache.geronimo.plugins.monitoring/mconsole-tomcat/3.0-w20120730/car"/>
<module load="false" name="org.apache.geronimo.plugins/activemq-console-tomcat/3.0-w20120730/car"/>
<module load="false" name="org.apache.geronimo.plugins/debugviews-console-tomcat/3.0-w20120730/car"/>
<module load="false" name="org.apache.geronimo.plugins/sysdb-console-tomcat/3.0-w20120730/car"/>
<module load="false" name="org.apache.geronimo.plugins/openejb-console-tomcat/3.0-w20120730/car"/>
<module load="false" name="org.apache.geronimo.plugins/plancreator-console-tomcat/3.0-w20120730/car"/>
When you start the customized server, you will meet the following exception.
Starting WebSphere Application Server Community Edition v3.0.0.3
[**************************** ] 72% 8s Loading webservices-common 2013-02-28 10:46:17,
751 WARN [DependencyManager] Could not start bundle: org.apache.geronimo.bundles.axis2-saaj_1.6.1.1 [289]
org.osgi.framework.BundleException: The bundle "org.apache.geronimo.bundles.axis2-saaj_1.6.1.1 [289]" could not be resolved. Reaso
n: Missing Constraint: Import-Package: org.apache.axis2; version="1.5.0"
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1327)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1311)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
at org.apache.geronimo.system.configuration.DependencyManager.starting(DependencyManager.java:517)
at org.apache.geronimo.system.configuration.DependencyManager.bundleChanged(DependencyManager.java:120)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1523)
at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1459)
at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1454)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:367)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:311)
at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:239)
at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:99)
at org.apache.geronimo.system.osgi.BootActivator$1.execute(BootActivator.java:107)
at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:68)
at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:32)
2013-02-28 10:46:17,774 WARN [DependencyManager] Could not start bundle: org.apache.geronimo.bundles.axis2_1.6.1.2 [293]
org.osgi.framework.BundleException: The bundle "org.apache.geronimo.bundles.axis2_1.6.1.2 [293]" could not be resolved. Reason: Mi
ssing Constraint: Import-Package: org.apache.commons.fileupload; version="0.0.0", Missing Constraint: Import-Package: org.apache.a
xis2.saaj; version="0.0.0"
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1327)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1311)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
at org.apache.geronimo.system.configuration.DependencyManager.starting(DependencyManager.java:517)
at org.apache.geronimo.system.configuration.DependencyManager.bundleChanged(DependencyManager.java:120)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1523)
at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1459)
at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1454)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:367)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:311)
at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:239)
at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:99)
at org.apache.geronimo.system.osgi.BootActivator$1.execute(BootActivator.java:107)
at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:68)
at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:32)
[****************************************] 100% 12s Startup complete
Listening on Ports:
1050 0.0.0.0 CORBA Naming Service
1099 0.0.0.0 RMI Naming
1527 0.0.0.0 Derby Connector
2001 0.0.0.0 OpenEJB SSL ORB Adapter
4201 0.0.0.0 OpenEJB Daemon
6882 0.0.0.0 OpenEJB ORB Adapter
8009 0.0.0.0 Tomcat Connector AJP TomcatAJPConnector
8080 0.0.0.0 Tomcat Connector HTTP BIO TomcatWebConnector
8443 0.0.0.0 Tomcat Connector HTTPS BIO TomcatWebSSLConnector
9999 0.0.0.0 JMX Remoting Connector
61616 0.0.0.0 ActiveMQ Transport Connector
Started Application Modules:
JAR: org.apache.geronimo.configs/mejb/3.0-w20120730/car
RAR: org.apache.geronimo.configs/activemq-ra/3.0-w20120730/car
RAR: org.apache.geronimo.configs/system-database/3.0-w20120730/car
RAR: org.apache.geronimo.plugins.monitoring/agent-ds/3.0-w20120730/car
RAR: org.apache.geronimo.plugins.monitoring/mconsole-ds/3.0-w20120730/car
RAR: org.apache.geronimo.plugins/uddi-db/3.0-w20120730/car
WAR: com.ibm.wasce.configs/collector-tool-agent-config/3.0.0.3/car
WAR: com.ibm.wasce.configs/welcome-tomcat/3.0.0.3/car
WAR: org.apache.geronimo.configs/remote-deploy-tomcat/3.0-w20120730/car
WAR: org.apache.geronimo.configs/uddi-tomcat/3.0-w20120730/car
Web Applications:
/
/collector-tool-agent
/juddi
/remote-deploy
Server started
Resolving the problem
To fix this issue, please follow this instruction.
1. Download the patch file. CouldNotStartBundleIssueInCustomizeServer_3.0.0.3.zip
2. Unzip the patch file into the WebSphere Application Server Community Edition installation directory, and ensure the files in the zip file replace the ones in the server installation.
3. Start the server with the cache cleaned, for example,
<WAS_CE_HOME>\bin\startup -c
<WAS_CE_HOME>/bin/startup.sh -c
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.