karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Bespaly (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (KARAF-2206) The container fails to start correctly with IBM Java 6
Date Tue, 30 Apr 2013 08:20:16 GMT

    [ https://issues.apache.org/jira/browse/KARAF-2206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13644551#comment-13644551
] 

Alexey Bespaly edited comment on KARAF-2206 at 4/30/13 8:19 AM:
----------------------------------------------------------------

With xercesImpl.jar in lib/endorsed and xercesImpl bundle uninstalled, we were able to start
tests
                
      was (Author: abespaly):
    With xercesImpl.jar in lib/endorsed and xercesImpl bundle uninstalled, we were able to
start tests which were successful until the service locator area was touched:

11:10:19,550 | ERROR | ExtenderThread-8 | BundleApplicationContextListener 50 | 116 - org.springframework.osgi.extender
- 1.2.1 | Application context refresh failed (OsgiBundleXmlApplicationContext(bundle=tesb.test.participants.osgi.locatorone_i1.provider,
config=config/osgi.xml))
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'LocatorOneTestServiceProviderEndpoint':
Invocation of init method failed; nested exception is javax.xml.transform.TransformerFactoryConfigurationError:
Provider com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl not found
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)[109:org.springframework.beans:3.1.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)[109:org.springframework.beans:3.1.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)[109:org.springframework.beans:3.1.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)[109:org.springframework.beans:3.1.4.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)[109:org.springframework.beans:3.1.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)[109:org.springframework.beans:3.1.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)[109:org.springframework.beans:3.1.4.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:607)[109:org.springframework.beans:3.1.4.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:925)[111:org.springframework.context:3.1.4.RELEASE]
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)[115:org.springframework.osgi.core:1.2.1]
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)[115:org.springframework.osgi.core:1.2.1]
at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[115:org.springframework.osgi.core:1.2.1]
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)[115:org.springframework.osgi.core:1.2.1]
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)[116:org.springframework.osgi.extender:1.2.1]
at java.lang.Thread.run(Thread.java:738)[:1.6.0]
Caused by: javax.xml.transform.TransformerFactoryConfigurationError: Provider com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
not found
at javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:121)[:2.2.0]
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.createTransformer(JAXBContextImpl.java:729)
at com.sun.xml.bind.v2.runtime.XMLSerializer.getIdentityTransformer(XMLSerializer.java:813)
at com.sun.xml.bind.v2.runtime.XMLSerializer.writeDom(XMLSerializer.java:805)
at com.sun.xml.bind.v2.runtime.property.SingleReferenceNodeProperty.serializeBody(SingleReferenceNodeProperty.java:109)
at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(ClassBeanInfoImpl.java:340)
at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:696)
at com.sun.xml.bind.v2.runtime.property.SingleElementNodeProperty.serializeBody(SingleElementNodeProperty.java:152)
at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl$1.serializeBody(ElementBeanInfoImpl.java:157)
at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl$1.serializeBody(ElementBeanInfoImpl.java:189)
at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeBody(ElementBeanInfoImpl.java:316)
at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeRoot(ElementBeanInfoImpl.java:323)
at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeRoot(ElementBeanInfoImpl.java:72)
at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsRoot(XMLSerializer.java:494)
at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:315)
at com.sun.xml.bind.v2.runtime.MarshallerImpl.marshal(MarshallerImpl.java:244)
at javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(AbstractMarshallerImpl.java:74)[:2.2.0]
at org.talend.esb.servicelocator.client.internal.EndpointTransformerImpl.serialize(EndpointTransformerImpl.java:116)
at org.talend.esb.servicelocator.client.internal.EndpointTransformerImpl.fromEndpoint(EndpointTransformerImpl.java:69)
at org.talend.esb.servicelocator.client.internal.ServiceLocatorImpl.createContent(ServiceLocatorImpl.java:465)
at org.talend.esb.servicelocator.client.internal.ServiceLocatorImpl.register(ServiceLocatorImpl.java:157)
at org.talend.esb.servicelocator.client.internal.ServiceLocatorImpl.register(ServiceLocatorImpl.java:128)
at org.talend.esb.servicelocator.cxf.internal.SingleBusLocatorRegistrar.registerServer(SingleBusLocatorRegistrar.java:186)
at org.talend.esb.servicelocator.cxf.internal.SingleBusLocatorRegistrar.registerServer(SingleBusLocatorRegistrar.java:180)
at org.talend.esb.servicelocator.cxf.internal.LocatorRegistrar.registerServer(LocatorRegistrar.java:83)
at org.talend.esb.servicelocator.cxf.internal.ServiceLocatorManager.registerServer(ServiceLocatorManager.java:51)
at org.talend.esb.servicelocator.cxf.LocatorFeature.initialize(LocatorFeature.java:81)
at org.apache.cxf.frontend.ServerFactoryBean.applyFeatures(ServerFactoryBean.java:248)
at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:192)
at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:211)
at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:454)
at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:334)
at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:251)
at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:537)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)[:1.6.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)[:1.6.0]
at java.lang.reflect.Method.invoke(Method.java:611)[:1.6.0]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1581)[109:org.springframework.beans:3.1.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1522)[109:org.springframework.beans:3.1.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)[109:org.springframework.beans:3.1.4.RELEASE]
... 14 more

thus, xalan now...


                  
> The container fails to start correctly with IBM Java 6
> ------------------------------------------------------
>
>                 Key: KARAF-2206
>                 URL: https://issues.apache.org/jira/browse/KARAF-2206
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 2.3.1
>         Environment: AIX 7.1 64bit with IBM Java 6 - see the details below (though, Linux+IBM
Java 6 is reported to show the same behavior):
> # bootinfo -K
> 64
> # uname -a
> AIX tal-aix02 1 7 000A9D96D600
> # oslevel
> 7.1.0.0
> # java -version
> java version "1.6.0"
> Java(TM) SE Runtime Environment (build pap6460sr12-20121025_01(SR12))
> IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460sr12-20121024_126067
(JIT enabled, AOT enabled)
> J9VM - 20121024_126067
> JIT - r9_20120914_26057
> GC - 20120928_AA)
> JCL - 20121014_01
> #
>            Reporter: Alexey Bespaly
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.3.2, 2.4.0, 3.0.0
>
>
> The instance seem to hang on start-up with the following exception:
> # ./karaf
> MAXDATA=0xB0000000@DSA
> IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460sr12-20121024_126067
(JIT enabled, AOT enabled)
> ERROR: Bundle org.apache.aries.blueprint.core [7] Error starting mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.core/1.1.0
(org.osgi.framework.BundleException: Activator start error in bundle org.apache.aries.blueprint.core
[7].)
> java.lang.IllegalArgumentException: http://www.w3.org/2001/XMLSchema
>         at javax.xml.validation.SchemaFactory.newInstance(Unknown Source)
>         at org.apache.aries.blueprint.namespace.NamespaceHandlerRegistryImpl.<init>(NamespaceHandlerRegistryImpl.java:98)
>         at org.apache.aries.blueprint.container.BlueprintExtender.start(BlueprintExtender.java:87)
>         at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:645)
>         at org.apache.felix.framework.Felix.activateBundle(Felix.java:1977)
>         at org.apache.felix.framework.Felix.startBundle(Felix.java:1895)
>         at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
>         at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
>         at java.lang.Thread.run(Thread.java:738)
> In the Karaf log file, we find:
> Feb 20, 2013 6:08:04 AM org.apache.karaf.main.SimpleFileLock lock
> INFO: locking
> 2013-02-20 06:08:04,766 | INFO  | FelixStartLevel  | fileinstall                    
 | ?                                   ? | 6 - org.apache.felix.fileinstall - 3.2.6 | Installed
/opt/apache-karaf-2.3.1-SNAPSHOT/etc/org.apache.karaf.log.cfg
> 2013-02-20 06:08:04,783 | INFO  | FelixStartLevel  | fileinstall                    
 | ?                                   ? | 6 - org.apache.felix.fileinstall - 3.2.6 | Installed
/opt/apache-karaf-2.3.1-SNAPSHOT/etc/org.apache.karaf.jaas.cfg
> 2013-02-20 06:08:05,120 | INFO  | FelixStartLevel  | core                           
 | ?                                   ? | 22 - org.apache.aries.jmx.core - 1.1.1 | Starting
JMX OSGi agent
> 2013-02-20 06:08:05,186 | INFO  | FelixStartLevel  | core                           
 | ?                                   ? | 22 - org.apache.aries.jmx.core - 1.1.1 | Registering
MBean with ObjectName [osgi.compendium:service=cm,version=1.3,framework=org.apache.felix.framework,uuid=bb0a67f0-ed5b-4b18-b071-160cdb75b12f]
for service with service.id [10]
> Feb 20, 2013 6:22:47 AM org.apache.karaf.main.SimpleFileLock lock
> INFO: locking
> 2013-02-20 06:22:48,463 | INFO  | FelixStartLevel  | fileinstall                    
 | ?                                   ? | 6 - org.apache.felix.fileinstall - 3.2.6 | Installed
/opt/apache-karaf-2.3.1-SNAPSHOT/etc/org.apache.felix.fileinstall-deploy.cfg
> 2013-02-20 06:22:48,477 | INFO  | FelixStartLevel  | fileinstall                    
 | ?                                   ? | 6 - org.apache.felix.fileinstall - 3.2.6 | Installed
/opt/apache-karaf-2.3.1-SNAPSHOT/etc/org.apache.karaf.features.cfg
> 2013-02-20 06:22:48,483 | INFO  | FelixStartLevel  | fileinstall                    
 | ?                                   ? | 6 - org.apache.felix.fileinstall - 3.2.6 | Installed
/opt/apache-karaf-2.3.1-SNAPSHOT/etc/org.ops4j.pax.url.mvn.cfg
> 2013-02-20 06:22:48,496 | INFO  | FelixStartLevel  | fileinstall                    
 | ?                                   ? | 6 - org.apache.felix.fileinstall - 3.2.6 | Installed
/opt/apache-karaf-2.3.1-SNAPSHOT/etc/org.apache.karaf.features.obr.cfg
> 2013-02-20 06:22:48,501 | INFO  | FelixStartLevel  | fileinstall                    
 | ?                                   ? | 6 - org.apache.felix.fileinstall - 3.2.6 | Installed
/opt/apache-karaf-2.3.1-SNAPSHOT/etc/org.apache.karaf.shell.cfg
> 2013-02-20 06:22:48,506 | INFO  | FelixStartLevel  | fileinstall                    
 | ?                                   ? | 6 - org.apache.felix.fileinstall - 3.2.6 | Installed
/opt/apache-karaf-2.3.1-SNAPSHOT/etc/org.apache.karaf.features.repos.cfg
> 2013-02-20 06:22:48,511 | INFO  | FelixStartLevel  | fileinstall                    
 | ?                                   ? | 6 - org.apache.felix.fileinstall - 3.2.6 | Installed
/opt/apache-karaf-2.3.1-SNAPSHOT/etc/org.apache.karaf.management.cfg
> 2013-02-20 06:22:48,517 | INFO  | FelixStartLevel  | fileinstall                    
 | ?                                   ? | 6 - org.apache.felix.fileinstall - 3.2.6 | Installed
/opt/apache-karaf-2.3.1-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
> 2013-02-20 06:22:48,522 | INFO  | FelixStartLevel  | fileinstall                    
 | ?                                   ? | 6 - org.apache.felix.fileinstall - 3.2.6 | Installed
/opt/apache-karaf-2.3.1-SNAPSHOT/etc/org.apache.karaf.log.cfg
> 2013-02-20 06:22:48,527 | INFO  | FelixStartLevel  | fileinstall                    
 | ?                                   ? | 6 - org.apache.felix.fileinstall - 3.2.6 | Installed
/opt/apache-karaf-2.3.1-SNAPSHOT/etc/org.apache.karaf.jaas.cfg
> 2013-02-20 06:22:48,866 | INFO  | FelixStartLevel  | core                           
 | ?                                   ? | 22 - org.apache.aries.jmx.core - 1.1.1 | Starting
JMX OSGi agent
> 2013-02-20 06:22:48,931 | INFO  | FelixStartLevel  | core                           
 | ?                                   ? | 22 - org.apache.aries.jmx.core - 1.1.1 | Registering
MBean with ObjectName [osgi.compendium:service=cm,version=1.3,framework=org.apache.felix.framework,uuid=f4bc1ef1-6c20-48e6-9aba-513c686a01b9]
for service with service.id [10])

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message