[JBoss JIRA] Created: (JBOSGI-236) XML Binding example fails in JBossAS
by Thomas Diesler (JIRA)
XML Binding example fails in JBossAS
------------------------------------
Key: JBOSGI-236
URL: https://jira.jboss.org/jira/browse/JBOSGI-236
Project: JBoss OSGi
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Integration (JBoss)
Reporter: Thomas Diesler
Assignee: Thomas Diesler
Fix For: JBossOSGi 1.0.0 Beta6
Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: bundleentry://20.fwk25544092/booking.xml
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:177)
at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:147)
at org.jboss.osgi.jbossxb.internal.UnmarshallerServiceImpl.unmarshal(UnmarshallerServiceImpl.java:249)
... 31 more
Caused by: java.lang.ExceptionInInitializerError
at org.apache.xerces.impl.xs.XMLSchemaValidator.<clinit>(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.configurePipeline(Unknown Source)
at org.apache.xerces.parsers.XIncludeAwareParserConfiguration.configurePipeline(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:173)
... 33 more
Caused by: org.apache.xerces.impl.dv.DVFactoryException: Schema factory class org.apache.xerces.impl.dv.xs.SchemaDVFactoryImpl does not extend from SchemaDVFactory.
at org.apache.xerces.impl.dv.SchemaDVFactory.getInstance(Unknown Source)
at org.apache.xerces.impl.dv.SchemaDVFactory.getInstance(Unknown Source)
at org.apache.xerces.impl.xs.SchemaGrammar$BuiltinSchemaGrammar.<init>(Unknown Source)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (JBOSGI-294) WebApp Extender fails on embedded Equinox
by Thomas Diesler (JIRA)
WebApp Extender fails on embedded Equinox
-----------------------------------------
Key: JBOSGI-294
URL: https://jira.jboss.org/jira/browse/JBOSGI-294
Project: JBoss OSGi
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: jboss-osgi-webapp
Reporter: Thomas Diesler
Fix For: JBossOSGi 1.0.x
We have an intermittent failure with Equinox where the registered endpoint is not available. In the logfile I see
2010-02-23 00:10:41,947 DEBUG [org.ops4j.pax.web.extender.war.internal.Activator] Pax Web WAR Extender - Started
2010-02-23 00:10:41,947 DEBUG [org.ops4j.pax.swissbox.extender.BundleWatcher] Scanning bundle [org.ops4j.pax.web.pax-web-extender-war]
2010-02-23 00:10:41,948 DEBUG [org.jboss.osgi.spi.util.ExportedPackageHelper] Exported-Packages: org.ops4j.pax.web.pax-web-extender-war
2010-02-23 00:10:41,958 DEBUG [org.ops4j.pax.swissbox.extender.BundleWatcher] Scanning bundle [example-webapp]
2010-02-23 00:10:41,962 DEBUG [org.ops4j.pax.swissbox.extender.BundleWatcher] Found resources [bundleentry://9.fwk11165301/WEB-INF/web.xml]
2010-02-23 00:10:41,964 DEBUG [org.ops4j.pax.web.extender.war.internal.WebXmlObserver] Parsing a web application from [bundleentry://9.fwk11165301/WEB-INF/web.xml]
2010-02-23 00:10:41,969 DEBUG [org.ops4j.pax.web.service.internal.ConfigurationImpl] Reading configuration property org.ops4j.pax.web.session.timeout has failed
2010-02-23 00:10:41,970 DEBUG [org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl] Configuring server [ServerControllerImpl{state=UNCONFIGURED}] -> [ConfigurationImpl{http enabled=true,http port=8090,http secure enabled=false,http secure port=8443,ssl keystore=/home/hudson/.keystore,ssl keystoreType=null,session timeout=null,session url=null,session cookie=null,worker name=null,listening addresses=[Ljava.lang.String;@89a2d9}]
2010-02-23 00:10:41,972 DEBUG [org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl] Starting server [ServerControllerImpl{state=STOPPED}]
2010-02-23 00:10:41,992 DEBUG [org.ops4j.pax.web.extender.war.internal.WebXmlObserver] Parsed web app [WebApp{displayName=WebApp Sample,contextName=null}]
2010-02-23 00:10:41,993 DEBUG [org.ops4j.pax.web.extender.war.internal.WebXmlObserver] No 'Webapp-Context' manifest attribute specified
2010-02-23 00:10:41,993 DEBUG [org.ops4j.pax.web.extender.war.internal.WebXmlObserver] Using bundle symbolic name [example-webapp] as context name
2010-02-23 00:10:41,993 INFO [org.ops4j.pax.web.extender.war.internal.WebXmlObserver] Using [example-webapp] as web application context name
2010-02-23 00:10:41,993 DEBUG [org.ops4j.pax.web.extender.war.internal.WebAppPublisher] Publishing web application [WebApp{displayName=WebApp Sample,contextName=example-webapp}]
2010-02-23 00:10:41,999 DEBUG [org.ops4j.pax.swissbox.tracker.ReplaceableService] Creating replaceable service for [interface org.osgi.service.http.HttpService]
2010-02-23 00:10:42,003 DEBUG [org.ops4j.pax.swissbox.tracker.ServiceCollection] Creating service collection for [interface org.osgi.service.http.HttpService]
2010-02-23 00:10:42,005 DEBUG [org.jboss.osgi.spi.util.ExportedPackageHelper] Exported-Packages: example-webapp
2010-02-23 00:10:42,007 DEBUG [org.jboss.osgi.testing.OSGiTest] ### START org.jboss.test.osgi.example.webapp.WebAppExtenderTestCase
2010-02-23 00:10:42,018 DEBUG [org.ops4j.pax.web.service.internal.ConfigurationImpl] Reading configuration property org.ops4j.pax.web.session.timeout has failed
2010-02-23 00:10:42,019 DEBUG [org.ops4j.pax.web.service.jetty.internal.JettyServerImpl] Starting JettyServerImpl{}
2010-02-23 00:10:42,019 DEBUG [org.mortbay.jetty] jetty-6.1.x
2010-02-23 00:10:42,044 DEBUG [org.mortbay.jetty] Container JettyServerWrapper@1fa12f6 + org.mortbay.thread.QueuedThreadPool@11c7f8d as threadpool
2010-02-23 00:10:42,048 DEBUG [org.mortbay.jetty] started org.mortbay.thread.QueuedThreadPool@11c7f8d
2010-02-23 00:10:42,048 DEBUG [org.mortbay.jetty] starting JettyServerWrapper@1fa12f6
2010-02-23 00:10:42,050 DEBUG [org.mortbay.jetty] started JettyServerWrapper@1fa12f6
2010-02-23 00:10:42,063 INFO [org.ops4j.pax.web.service.jetty.internal.JettyServerImpl] Pax Web available at [0.0.0.0]:[8090]
2010-02-23 00:10:42,064 DEBUG [org.mortbay.jetty] Container JettyServerWrapper@1fa12f6 + NIOSocketConnectorWrapper@0.0.0.0:8090 as connector
2010-02-23 00:10:42,074 DEBUG [org.mortbay.jetty] started org.mortbay.jetty.nio.SelectChannelConnector$1@54c2b8
2010-02-23 00:10:42,078 DEBUG [org.mortbay.jetty] Started NIOSocketConnectorWrapper@0.0.0.0:8090
2010-02-23 00:10:42,079 DEBUG [org.mortbay.jetty] started NIOSocketConnectorWrapper@0.0.0.0:8090
2010-02-23 00:10:42,080 DEBUG [org.ops4j.pax.web.service.internal.ConfigurationImpl] Reading configuration property org.ops4j.pax.web.session.timeout has failed
2010-02-23 00:10:42,084 DEBUG [org.ops4j.pax.web.service.internal.ConfigurationImpl] Reading configuration property org.ops4j.pax.web.session.timeout has failed
2010-02-23 00:10:42,087 DEBUG [org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl] Configuring server [ServerControllerImpl{state=STARTED}] -> [ConfigurationImpl{http enabled=true,http port=8090,http secure enabled=false,http secure port=8443,ssl keystore=/home/hudson/.keystore,ssl keystoreType=null,session timeout=null,session url=null,session cookie=null,worker name=null,listening addresses=[Ljava.lang.String;@a17378}]
2010-02-23 00:10:42,088 DEBUG [org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl] Stopping server [ServerControllerImpl{state=STARTED}]
2010-02-23 00:10:42,088 DEBUG [org.ops4j.pax.web.service.jetty.internal.JettyServerImpl] Stopping JettyServerImpl{}
2010-02-23 00:10:42,090 DEBUG [org.mortbay.jetty] stopped org.mortbay.jetty.nio.SelectChannelConnector$1@54c2b8
2010-02-23 00:10:42,091 DEBUG [org.mortbay.jetty] stopped NIOSocketConnectorWrapper@0.0.0.0:8090
2010-02-23 00:10:42,091 DEBUG [org.mortbay.jetty] stopping JettyServerWrapper@1fa12f6
2010-02-23 00:10:42,095 DEBUG [org.ops4j.pax.swissbox.tracker.ServiceCollection] Added service with reference [{org.osgi.service.http.HttpService, org.ops4j.pax.web.service.WebContainer}={org.ops4j.pax.web.ssl.keystore=/home/hudson/.keystore, org.osgi.service.http.port.secure=8443, org.ops4j.pax.web.listening.addresses=, org.osgi.service.http.port=8090, org.ops4j.pax.web.ssl.clientauthneeded=false, org.osgi.service.http.useNIO=true, org.osgi.service.http.enabled=true, org.osgi.service.http.secure.enabled=true, org.ops4j.pax.web.ssl.clientauthwanted=false, javax.servlet.context.tempdir=/tmp/.paxweb1233425339357219478, service.id=35}]
2010-02-23 00:10:42,096 INFO [org.ops4j.pax.web.service.internal.HttpServiceFactoryImpl] Binding bundle: [example-webapp_0.0.0 [9]] to http service
2010-02-23 00:10:42,105 DEBUG [org.ops4j.pax.web.service.internal.HttpServiceStarted] Creating http service for: example-webapp_0.0.0 [9]
Why is Jetty being stopped?
Stopping server [ServerControllerImpl{state=STARTED}]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (JBOSGI-293) Cannot start example-jndi on Felix
by Thomas Diesler (JIRA)
Cannot start example-jndi on Felix
----------------------------------
Key: JBOSGI-293
URL: https://jira.jboss.org/jira/browse/JBOSGI-293
Project: JBoss OSGi
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Integration (Felix)
Reporter: Thomas Diesler
Fix For: JBossOSGi 1.0.0 Beta7
Caused by: javax.naming.CommunicationException: Could not obtain connection to any of these urls: 127.0.0.1:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1682)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1753)
at org.jnp.interfaces.NamingContext.createSubcontext(NamingContext.java:1108)
at org.jnp.interfaces.NamingContext.createSubcontext(NamingContext.java:1098)
at javax.naming.InitialContext.createSubcontext(InitialContext.java:464)
at org.jboss.test.osgi.example.jndi.bundle.JNDIExampleActivator.start(JNDIExampleActivator.java:46)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:640)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:902)
at org.apache.aries.jmx.framework.Framework.startBundle(Framework.java:298)
Caused by: java.lang.ClassNotFoundException: org.jnp.server.NamingServer_Stub (no security manager: RMI class loader disabled)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:375)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165)
at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)
at org.jboss.system.JBossRMIClassLoader.loadClass(JBossRMIClassLoader.java:91)
at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (JBOSGI-347) Cannot deploy jbosgi36-mbean.jar to AS601
by Thomas Diesler (JIRA)
Cannot deploy jbosgi36-mbean.jar to AS601
-----------------------------------------
Key: JBOSGI-347
URL: https://jira.jboss.org/browse/JBOSGI-347
Project: JBoss OSGi
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Other
Reporter: Thomas Diesler
Assignee: Thomas Diesler
Fix For: JBossOSGi 1.0.0 Beta8
Caused by: java.lang.NullPointerException
at org.jboss.classpool.plugins.jbosscl.BootstrapParentUnitFinder.findParentUnitLoader(BootstrapParentUnitFinder.java:42)
at org.jboss.classpool.plugins.jbosscl.ParentUnitLoaderFinders.findParentUnitLoader(ParentUnitLoaderFinders.java:71)
at org.jboss.classpool.plugins.jbosscl.VFSClassLoaderDomainRegistry.findParentUnitLoader(VFSClassLoaderDomainRegistry.java:256)
at org.jboss.classpool.plugins.jbosscl.VFSClassLoaderDomainRegistry.initMapsForModule(VFSClassLoaderDomainRegistry.java:114)
at org.jboss.classpool.plugins.jbosscl.RegisterModuleCallback.registerModule(RegisterModuleCallback.java:87)
at org.jboss.classpool.plugins.jbosscl.JBossClDelegatingClassPoolFactory.create(JBossClDelegatingClassPoolFactory.java:92)
at org.jboss.classpool.plugins.jbosscl.JBossClDelegatingClassPoolFactory.create(JBossClDelegatingClassPoolFactory.java:52)
at org.jboss.aop.asintegration.jboss5.JBoss5Integration.create(JBoss5Integration.java:147)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (JBOSGI-325) JTA example cannot run without implicit boot delegation
by Thomas Diesler (JIRA)
JTA example cannot run without implicit boot delegation
-------------------------------------------------------
Key: JBOSGI-325
URL: https://jira.jboss.org/jira/browse/JBOSGI-325
Project: JBoss OSGi
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Thomas Diesler
Fix For: JBossOSGi 1.0.x
jboss-osgi-felix.properties cannot contain
# Felix config properties
felix.bootdelegation.implicit=false
-------------------------------------------------------------------------------
Test set: org.jboss.test.osgi.example.jta.TransactionTestCase
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.837 sec <<< FAILURE!
testUserTransaction(org.jboss.test.osgi.example.jta.TransactionTestCase) Time elapsed: 1.803 sec <<< ERROR!
org.osgi.framework.BundleException: Activator start error in bundle jboss-osgi-jta [8].
at org.apache.felix.framework.Felix.activateBundle(Felix.java:1803)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1678)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892)
at org.jboss.osgi.testing.internal.EmbeddedBundle.startInternal(EmbeddedBundle.java:140)
at org.jboss.osgi.testing.internal.OSGiBundleImpl.start(OSGiBundleImpl.java:61)
at org.jboss.osgi.spi.capability.Capability.start(Capability.java:221)
at org.jboss.osgi.testing.internal.OSGiRuntimeImpl.addCapability(OSGiRuntimeImpl.java:102)
at org.jboss.osgi.testing.internal.EmbeddedRuntime.addCapability(EmbeddedRuntime.java:169)
at org.jboss.test.osgi.example.jta.TransactionTestCase.setUp(TransactionTestCase.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
Caused by: javax.xml.parsers.FactoryConfigurationError: Provider org.jboss.osgi.xml.DocumentBuilderFactoryImpl not found
at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:129)
at com.arjuna.common.internal.util.propertyservice.plugins.io.XMLFilePlugin.<clinit>(XMLFilePlugin.java:352)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.arjuna.common.internal.util.propertyservice.PropertyManagerImpl.load(PropertyManagerImpl.java:357)
at com.arjuna.ats.jta.common.jtaPropertyManager.<clinit>(jtaPropertyManager.java:67)
at com.arjuna.ats.jta.utils.JNDIManager.getTransactionManagerImplementationClassname(JNDIManager.java:72)
at com.arjuna.ats.jta.TransactionManager.transactionManager(TransactionManager.java:93)
at com.arjuna.ats.jta.TransactionManager.transactionManager(TransactionManager.java:76)
at org.jboss.osgi.jta.internal.TransactionServiceActivator.start(TransactionServiceActivator.java:61)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:661)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:1756)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months