[JBoss JIRA] (AS7-2466) AbstractParser.parseExtension error for embedded config-property
by Stefano Maestri (Created) (JIRA)
AbstractParser.parseExtension error for embedded config-property
----------------------------------------------------------------
Key: AS7-2466
URL: https://issues.jboss.org/browse/AS7-2466
Project: Application Server 7
Issue Type: Bug
Components: JCA
Affects Versions: 7.1.0.Alpha1
Reporter: Stefano Maestri
Assignee: Stefano Maestri
Fix For: 7.1.0.Beta1
{code}
...
<validation>
<exception-sorter class-name="org.jboss.jca.adapters.jdbc.extensions.novendor.NullExceptionSorter"/>
<stale-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.novendor.NullStaleConnectionChecker"/>
<valid-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.novendor.NullValidConnectionChecker"/>
</validation>
...
{code}
gives
aused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[121,23]
Message: Unexpected attribute 'class-name' encountered
at org.jboss.as.controller.parsing.ParseUtils.unexpectedAttribute(ParseUtils.java:102) [jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at org.jboss.as.controller.parsing.ParseUtils.requireSingleAttribute(ParseUtils.java:352) [jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at org.jboss.as.controller.parsing.ParseUtils.readStringAttributeElement(ParseUtils.java:267) [jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at org.jboss.as.connector.util.AbstractParser.parseExtension(AbstractParser.java:103)
at org.jboss.as.connector.subsystems.datasources.DsParser.parseValidationSetting(DsParser.java:1022)
at org.jboss.as.connector.subsystems.datasources.DsParser.parseDataSource(DsParser.java:719)
at org.jboss.as.connector.subsystems.datasources.DsParser.parseDataSources(DsParser.java:195)
at org.jboss.as.connector.subsystems.datasources.DsParser.parse(DsParser.java:166)
at org.jboss.as.connector.subsystems.datasources.DataSourcesExtension$NewDataSourceSubsystemParser.readElement(DataSourcesExtension.java:704)
... 14 more
--
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, 1 month
[JBoss JIRA] Created: (JBAS-8787) Native libraries not found when using IBM JDK
by Mike Millson (JIRA)
Native libraries not found when using IBM JDK
---------------------------------------------
Key: JBAS-8787
URL: https://issues.jboss.org/browse/JBAS-8787
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Web (Tomcat) service
Affects Versions: 6.0.0.Final
Reporter: Mike Millson
Assignee: Remy Maucherat
The native components are not found on x86_64 using the IBM JDK because the startup script is looking in "lib" instead of "lib64".
You get this error:
2011-01-04 16:39:37,205 INFO [org.apache.catalina.core.AprLifecycleListener] (main) The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /home/mmillson/jboss/eap-5.1.0/jboss-as/native/lib
run.sh and run.bat set the native directory based on whether the reported version includes the string "64-bit":
IS_64_BIT_JVM=`"$JAVA" $JAVA_OPTS -version 2>&1 | $GREP -i 64-bit`
if [ "x$IS_64_BIT_JVM" != "x" ]; then
JBOSS_NATIVE_DIR="$JBOSS_NATIVE_DIR/lib64"
else
JBOSS_NATIVE_DIR="$JBOSS_NATIVE_DIR/lib"
fi
But with the IBM JDK "java -version" does not report that string:
Java(TM) SE Runtime Environment (build pxa6460sr8fp1-20100624_01(SR8 FP1))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr8ifx-20100609_59383 (JIT enabled, AOT enabled)
J9VM - 20100609_059383
JIT - r9_20100401_15339ifx2
GC - 20100308_AA)
JCL - 20100624_01
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month
[JBoss JIRA] (AS7-2046) org.jboss.as.jpa.processor.PersistenceProviderProcessor does not handle multiple persistence providers
by Hardy Ferentschik (Created) (JIRA)
org.jboss.as.jpa.processor.PersistenceProviderProcessor does not handle multiple persistence providers
------------------------------------------------------------------------------------------------------
Key: AS7-2046
URL: https://issues.jboss.org/browse/AS7-2046
Project: Application Server 7
Issue Type: Bug
Components: JPA / Hibernate
Affects Versions: 7.0.2.Final
Reporter: Hardy Ferentschik
Assignee: Scott Marlow
When more then one persistence provider is found in an application an exception is thrown even if _persistence.xml_ explicitly specifies the provider to be used:
{code}
// collect list of persistence providers packaged with the application
final List<String> providerNames = servicesAttachment.getServiceImplementations(PersistenceProvider.class.getName());
if (providerNames.size() > 1) { // TODO: support more than one provider to be packaged, which requires
// knowing which adapter belongs with it.
throw MESSAGES.onlyOnePersistenceProviderAllowed(providerNames);
}
{code}
The solution could be to attach the of persistence provider classes and integration adaptors classes to _PersistenceProviderDeploymentHolder_
--
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, 1 month