Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Proposals » OSGi Enterprise Tools » exception while starting bundle "org.eclipse.gemini.web.tomcat_1.1.0.RELEASE"(with java 7 update 201, exception while starting bundle "org.eclipse.gemini.web.tomcat_1.1.0.RELEASE")
exception while starting bundle "org.eclipse.gemini.web.tomcat_1.1.0.RELEASE" [message #1802660] Wed, 13 February 2019 12:45
Vishakha More is currently offline Vishakha MoreFriend
Messages: 1
Registered: February 2019
Junior Member
We have upgraded to java SE 7 update 201 and started getting below exception in logs while starting "org.eclipse.gemini.web.tomcat_1.1.0.RELEASE" bundle.

We are configuring tomcat with SSL. below is the configuration in tomcat-server.xml

<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
ciphers="SSL_RSA_WITH_RC4_128_SHA, TLS_DHE_DSS_WITH_AES_128_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA"
clientAuth="false" sslProtocols = "TLSv1.1,TLSv1.2"
keystoreFile="config/keystore"
keystoreType="jceks"
keystorePass="test"
compression="off"
compressionMinSize="4096"
noCompressionUserAgents="gozilla, traviata"
compressableMimeType="text/html,text/xml,text/css,text/javascript,application/json"
URIEncoding="UTF-8"/>


Exceptions stack trace is as below:

Jan 18, 2019 5:11:50 PM org.apache.coyote.http11.Http11Protocol init
[2019-01-18 17:11:50.392] [ERROR] system-artifacts System.err SEVERE: Error initializing endpoint
[2019-01-18 17:11:50.392] [ERROR] system-artifacts System.err java.io.IOException: javax.crypto.spec.SecretKeySpec in KernelBundleClassLoader: [bundle=org.eclipse.gemini.web.tomcat_1.1.0.RELEASE]
[2019-01-18 17:11:50.393] [ERROR] system-artifacts System.err at org.apache.tomcat.util.net.jsse.JSSESocketFactory.init(JSSESocketFactory.java:465)
[2019-01-18 17:11:50.394] [ERROR] system-artifacts System.err at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:130)
[2019-01-18 17:11:50.394] [ERROR] system-artifacts System.err at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:538)
[2019-01-18 17:11:50.394] [ERROR] system-artifacts System.err at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176)
[2019-01-18 17:11:50.394] [ERROR] system-artifacts System.err at org.apache.catalina.connector.Connector.initialize(Connector.java:1013)
[2019-01-18 17:11:50.394] [ERROR] system-artifacts System.err at org.apache.catalina.core.StandardService.initialize(StandardService.java:678)
[2019-01-18 17:11:50.394] [ERROR] system-artifacts System.err at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:793)
[2019-01-18 17:11:50.395] [ERROR] system-artifacts System.err at org.eclipse.gemini.web.tomcat.internal.Tomcat.initialize(Tomcat.java:134)
[2019-01-18 17:11:50.395] [ERROR] system-artifacts System.err at org.apache.catalina.core.StandardService.init(StandardService.java:690)
[2019-01-18 17:11:50.395] [ERROR] system-artifacts System.err at org.eclipse.gemini.web.tomcat.internal.TomcatServletContainer.<init>(TomcatServletContainer.java:61)
[2019-01-18 17:11:50.396] [ERROR] system-artifacts System.err at org.eclipse.gemini.web.tomcat.internal.TomcatServletContainerFactory.createContainer(TomcatServletContainerFactory.java:30)
[2019-01-18 17:11:50.396] [ERROR] system-artifacts System.err at org.eclipse.gemini.web.tomcat.internal.Activator.createContainer(Activator.java:92)
[2019-01-18 17:11:50.396] [ERROR] system-artifacts System.err at org.eclipse.gemini.web.tomcat.internal.Activator.start(Activator.java:50)
[2019-01-18 17:11:50.397] [ERROR] system-artifacts System.err at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
[2019-01-18 17:11:50.397] [ERROR] system-artifacts System.err at java.security.AccessController.doPrivileged(Native Method)
[2019-01-18 17:11:50.397] [ERROR] system-artifacts System.err at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)

we are suspecting these errors are because multiple security updates patched by java in java 7update 201.

in past we faced similar exception while loading keystore using custom ClassLoader. Here the Classloader trying to laod keystore related classes is 'KernelBundlerClassLoader'. While we are not sure if this is the same issue but any pointers will be helpful.

Previous Topic:log4j properties of bundle
Next Topic:OSGI Services- java.util.ServiceLoader problem
Goto Forum:
  


Current Time: Thu Apr 25 22:18:21 GMT 2024

Powered by FUDForum. Page generated in 0.02569 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top