[JBoss JIRA] Created: (AS7-1991) Regression in ra.xml loading - required in/outbound configuration
by Karel Piwko (JIRA)
Regression in ra.xml loading - required in/outbound configuration
-----------------------------------------------------------------
Key: AS7-1991
URL: https://issues.jboss.org/browse/AS7-1991
Project: Application Server 7
Issue Type: Bug
Components: JCA
Affects Versions: 7.1.0.Alpha1
Reporter: Karel Piwko
Assignee: Jesper Pedersen
There is a regression from EAP5 support of ra.xml descriptor inside of a RAR archive.
Suppose following META-INF/ra.xml
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<connector xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd" version="1.5">
<vendor-name>Spring Framework</vendor-name>
<eis-type>Spring Connector</eis-type>
<resourceadapter-version>1.0</resourceadapter-version>
<resourceadapter>
<resourceadapter-class>org.springframework.jca.context.SpringContextResourceAdapter</resourceadapter-class>
<config-property>
<config-property-name>ContextConfigLocation</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>META-INF/applicationContext.xml</config-property-value>
</config-property>
</resourceadapter>
</connector>
{code}
This will fail on AS7 with following exception, however it was working with JBoss 5:
{code}
11:58:46,719 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.unit."spring-jmx-rar.rar".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."spring-jmx-rar.rar".INSTALL: Failed to process phase INSTALL of deployment "spring-jmx-rar.rar"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121) [jboss-as-server-7.1.0.Alpha1-redhat-1.jar:7.1.0.Alpha1-redhat-1]
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_27]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_27]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_27]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: org.jboss.jca.common.api.validator.ValidateException: The resource adapter metadata must contain either an outbound or inbound configuration
at org.jboss.as.connector.deployers.processors.ParsedRaDeploymentProcessor.deploy(ParsedRaDeploymentProcessor.java:134)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115) [jboss-as-server-7.1.0.Alpha1-redhat-1.jar:7.1.0.Alpha1-redhat-1]
... 5 more
Caused by: org.jboss.jca.common.api.validator.ValidateException: The resource adapter metadata must contain either an outbound or inbound configuration
at org.jboss.jca.common.metadata.ra.common.ResourceAdapter1516Impl.validate(ResourceAdapter1516Impl.java:333)
at org.jboss.jca.common.metadata.ra.common.ConnectorAbstractmpl.validate(ConnectorAbstractmpl.java:305)
at org.jboss.as.connector.deployers.processors.ParsedRaDeploymentProcessor.deploy(ParsedRaDeploymentProcessor.java:110)
... 6 more
11:58:46,727 INFO [org.jboss.as.server.controller] (pool-1-thread-1) Deployment of "spring-jmx-rar.rar" was rolled back with failure message {"Failed services" => {"jboss.deployment.unit.\"spring-jmx-rar.rar\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"spring-jmx-rar.rar\".INSTALL: Failed to process phase INSTALL of deployment \"spring-jmx-rar.rar\""}}
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 2 months
[JBoss JIRA] Created: (JBAS-8717) JBoss 6 RC1 crash when using MOD_JK
by Kleber Rocha (JIRA)
JBoss 6 RC1 crash when using MOD_JK
-----------------------------------
Key: JBAS-8717
URL: https://jira.jboss.org/browse/JBAS-8717
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 6.0.0.CR1
Environment: Linux CEntOS 5.5, JDK 1.6.0_23-b05
Reporter: Kleber Rocha
JBoss work fine, but when I configure Apache with mod_jk and I start a connection, JBoss crash and create a file hs_err_pidXXXX.log, with this information:
# JRE version: 6.0_23-b05
# Java VM: Java HotSpot(TM) 64-Bit Server VM (19.0-b09 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libapr-1.so.0+0x1b58f] apr_pollset_add+0x8f
This don´t happen with M5.
Exist any workaround for this?
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 2 months