[JBoss JIRA] (JBWEB-222) thread hang at org.apache.naming.resources.ProxyDirContext.cacheLoad(..)
by William DeCoste (JIRA)
William DeCoste created JBWEB-222:
-------------------------------------
Summary: thread hang at org.apache.naming.resources.ProxyDirContext.cacheLoad(..)
Key: JBWEB-222
URL: https://issues.jboss.org/browse/JBWEB-222
Project: JBoss Web
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Tomcat
Affects Versions: JBossWeb-7.0.1.GA
Environment: OpenShift Express
Reporter: William DeCoste
Assignee: Remy Maucherat
Attachments: stacktrace.txt, threaddump.txt
OpenShift Express user reported their gitblit app hit the limit of 64 threads although the app should not be thread-intensive. The attached stacktrace and thread dump show 63 BLOCKED threads at at org.apache.naming.resources.ProxyDirContext.cacheLoad(..) and 1 RUNNABLE at org.apache.naming.resources.ResourceCache.allocate(..). The attached stacktrace shows an exception in the latter thread.
NOTE: Express runs with the LOW_MEMORY setting enabled.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 2 months
[JBoss JIRA] (AS7-3539) Infinispan subsystem setting tableNamePrefix for JdbcCacheStores incorrectly
by Martin Gencur (JIRA)
Martin Gencur created AS7-3539:
----------------------------------
Summary: Infinispan subsystem setting tableNamePrefix for JdbcCacheStores incorrectly
Key: AS7-3539
URL: https://issues.jboss.org/browse/AS7-3539
Project: Application Server 7
Issue Type: Bug
Components: Clustering
Reporter: Martin Gencur
Assignee: Paul Ferraro
Fix For: 7.1.0.Final
Tested with ISPN 5.1.0.FINAL and https://github.com/pferraro/jboss-as/tree/infinispan (HEAD = AS7-3481)
{code}
[java] 13:04:44,445 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.infinispan.default.memcachedCache.config: org.jboss.msc.service.StartException in service jboss.infinispan.default.memcachedCache.config: Failed to start service
[java] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1780) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
[java] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [:1.6.0_0]
[java] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [:1.6.0_0]
[java] at java.lang.Thread.run(Thread.java:636) [:1.6.0_0]
[java] Caused by: org.infinispan.config.ConfigurationException: Couldn't find a setter named [setTableNamePrefix] which takes a single parameter, for parameter tableNamePrefix on class [class org.infinispan.loaders.jdbc.stringbased.JdbcStringBasedCacheStoreConfig]
[java] at org.infinispan.config.parsing.XmlConfigHelper.setValues(XmlConfigHelper.java:471)
[java] at org.infinispan.configuration.cache.LegacyConfigurationAdaptor.adapt(LegacyConfigurationAdaptor.java:208)
[java] at org.infinispan.manager.DefaultCacheManager.defineConfiguration(DefaultCacheManager.java:430)
[java] at org.jboss.as.clustering.infinispan.DefaultEmbeddedCacheManager.defineConfiguration(DefaultEmbeddedCacheManager.java:121)
[java] at org.jboss.as.clustering.infinispan.subsystem.CacheConfigurationService.start(CacheConfigurationService.java:100)
[java] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
[java] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
[java] ... 3 more
{code}
The setter's name is "setStringsTableNamePrefix" so CacheAdd class should set this property on jdbc cache store: "stringsTableNamePrefix".
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 2 months
[JBoss JIRA] (AS7-3024) AS7 cannot startup with standalone-xts.xml configuration file
by Ivo Studensky (Created) (JIRA)
AS7 cannot startup with standalone-xts.xml configuration file
-------------------------------------------------------------
Key: AS7-3024
URL: https://issues.jboss.org/browse/AS7-3024
Project: Application Server 7
Issue Type: Bug
Components: Transactions
Affects Versions: 7.1.0.Beta1b
Reporter: Ivo Studensky
Assignee: Jonathan Halliday
Fix For: 7.1.0.CR1
The docs/examples/configs/standalone-xts.xml seems to be out of date as AS7 fails to start with it.
See the output snippet:
{noformat}
$ sh standalone.sh --server-config=../../docs/examples/configs/standalone-xts.xml
.
.
16:43:10,393 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.messaging.default: org.jboss.msc.service.StartException in service jboss.messaging.default: JBAS011644: Failed to start service
at org.jboss.as.messaging.HornetQService.start(HornetQService.java:193)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_29]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_29]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_29]
Caused by: org.jboss.msc.service.StartException in anonymous service: JBAS011641: Failed to find SocketBinding for connector: netty
at org.jboss.as.messaging.HornetQService.start(HornetQService.java:128)
... 5 more
16:43:10,438 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-5) null null
.
.
16:43:14,643 ERROR [org.jboss.as] (Controller Boot Thread) JBoss AS 7.1.0.CR1-SNAPSHOT "Tesla" started (with errors) in 5839ms - Started 146 of 220 services (7 services failed or missing dependencies, 66 services are passive or on-demand)
{noformat}
The problem seems to really be in the outdated standalone-xts.xml file and not in JBossXTS itself since it works correctly when the following patch is applied to standalone-full.xml:
{noformat}
--- a/standalone-full.xml
+++ b/standalone-full.xml
@@ -29,6 +29,7 @@
<extension module="org.jboss.as.web"/>
<extension module="org.jboss.as.webservices"/>
<extension module="org.jboss.as.weld"/>
+ <extension module="org.jboss.as.xts"/>
</extensions>
<management>
@@ -384,6 +385,9 @@
</endpoint-config>
</subsystem>
<subsystem xmlns="urn:jboss:domain:weld:1.0"/>
+ <subsystem xmlns="urn:jboss:domain:xts:1.0">
+ <xts-environment url="http://localhost:8080/ws-c11/ActivationService"/>
+ </subsystem>
</profile>
<interfaces>
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 2 months
[JBoss JIRA] (AS7-2456) Deploying an OSGi bundle with JAX-RS annotations causes an exception
by David Bosschaert (Created) (JIRA)
Deploying an OSGi bundle with JAX-RS annotations causes an exception
--------------------------------------------------------------------
Key: AS7-2456
URL: https://issues.jboss.org/browse/AS7-2456
Project: Application Server 7
Issue Type: Bug
Components: OSGi
Reporter: David Bosschaert
Assignee: Thomas Diesler
While trying to get the CXF-DOSGi REST sample (http://cxf.apache.org/distributed-osgi.html) to work in AS7 I noticed that deploying an OSGi bundle with JAX-RS annotations causes an exception.
It seems that the AS7 JAX-RS subsystem is trying to take hold of it without success.
Should the AS7 JAX-RS subsystem try to process the deployment if it is an OSGi bundle?
The exception observed is:
{code}22:03:46,219 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) Starting deployment of "cxf-dosgi-ri-samples-greeter-rest-interface-1.3-SNAPSHOT.jar"
22:03:46,271 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.deployment.unit."cxf-dosgi-ri-samples-greeter-rest-interface-1.3-SNAPSHOT.jar".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."cxf-dosgi-ri-samples-greeter-rest-interface-1.3-SNAPSHOT.jar".POST_MODULE: Failed to process phase POST_MODULE of deployment "cxf-dosgi-ri-samples-greeter-rest-interface-1.3-SNAPSHOT.jar"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121) [jboss-as-server-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_26]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_26]
at java.lang.Thread.run(Thread.java:680) [:1.6.0_26]
Caused by: java.lang.NullPointerException
at org.jboss.as.jaxrs.deployment.JaxrsScanningProcessor.deploy(JaxrsScanningProcessor.java:101)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115) [jboss-as-server-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
... 5 more
22:03:46,274 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployment of "cxf-dosgi-ri-samples-greeter-rest-interface-1.3-SNAPSHOT.jar" was rolled back with failure message {"Failed services" => {"jboss.deployment.unit.\"cxf-dosgi-ri-samples-greeter-rest-interface-1.3-SNAPSHOT.jar\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"cxf-dosgi-ri-samples-greeter-rest-interface-1.3-SNAPSHOT.jar\".POST_MODULE: Failed to process phase POST_MODULE of deployment \"cxf-dosgi-ri-samples-greeter-rest-interface-1.3-SNAPSHOT.jar\""}}
22:03:46,280 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) Stopped deployment cxf-dosgi-ri-samples-greeter-rest-interface-1.3-SNAPSHOT.jar in 6ms
22:03:46,282 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1) {"Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"Failed services" => {"jboss.deployment.unit.\"cxf-dosgi-ri-samples-greeter-rest-interface-1.3-SNAPSHOT.jar\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"cxf-dosgi-ri-samples-greeter-rest-interface-1.3-SNAPSHOT.jar\".POST_MODULE: Failed to process phase POST_MODULE of deployment \"cxf-dosgi-ri-samples-greeter-rest-interface-1.3-SNAPSHOT.jar\""}}}}
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 2 months