[
https://issues.jboss.org/browse/AS7-6419?page=com.atlassian.jira.plugin.s...
]
Rainer Pfannkuch commented on AS7-6419:
---------------------------------------
Hello Stefano,
I have uploaded new error documentation to
ftp://ftp.ts.fujitsu.com/outgoing/JBoss-JCA16-ValidationException-2013-02....
The documentation contains:
HelloWorld.ear new ear-file without referneces to unknown BCLog classes
BC30X004JCA15.rar new version of BeanConnect JCA 1.5 Resource Adapter
BC30X004.rar new version of BeanConnect JCA 1.6 Resource Adapter
JBoss-JCA16-ValidationException-Deployed.zip:
Zipped JBoss standalone and module directory with deployed JCA 1.6 resource adapter and
ear file, configuration files and log files.
JBoss-JCA16-ValidationException-Deployed.zip:
Zipped JBoss standalone and module directory with deployed JCA 1.5 resource adapter and
ear file, configuration files and log files.
Maybe you can see differences to your configuration which may explain the validation
error.
I have a question to the file jboss-deployment-structure.xml. Is this file necessary and
has it to describe also the dependencies?
I tried also without this file and I got the same results.
Failed to start service jboss.deployment.subunit
javax.resource.ResourceException: IJ000852: Validation exception
-----------------------------------------------------------------------------------------------------------------
Key: AS7-6419
URL:
https://issues.jboss.org/browse/AS7-6419
Project: Application Server 7
Issue Type: Bug
Components: JCA
Affects Versions: 7.2.0.Alpha1
Environment: Configuration:
JDK-Version: 1.6.0_33
Operating System: Windows 7 (32 Bit)
JBoss Application Server jboss-as-7.2.0.Alpha1-SNAPSHOT (build Dec. 19th 2012)
JDK-Version: 1.6.0_33
Resource Adapter: BeanConnect 3.0 developed by our Company (Fujitsu)
Reporter: Martin Keller
Assignee: Stefano Maestri
Tbis Problem was reported before see
https://issues.jboss.org/browse/AS7-6384, but now
the components to reproduce it is included.
Starting an application using our JCA 1.6 resource adapter fails with
java.lang.RuntimeException: javax.resource.ResourceException: IJ000852: Validation
exception
It works ok in the JBoss JCA 1.5 environment and on other application servers with JCA1.6
environment:
GlassFish OS Edition 3, IBM WebSphere 8.0 and WebLogic 12.
Questions:
What could be the cause for this exception?
Can we switch off the validation?
What is missing to run the validation successful?
Details:
The full stack is:
15:04:02,128 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool – 64)
MSC00001: Failed to start service
jboss.deployment.subunit."BCSamplePfa.ear"."1stBCEJBs.jar".component.CallEISOltpMdb.START:
org.jboss.msc.service.StartException in service
jboss.deployment.subunit."BCSamplePfa.ear"."1stBCEJBs.jar".component.CallEISOltpMdb.START:
java.lang.RuntimeException: javax.resource.ResourceException: IJ000852: Validation
exception
at org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:57)
[jboss-as-ee-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
[rt.jar:1.6.0_33]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [rt.jar:1.6.0_33]
at java.util.concurrent.FutureTask.run(FutureTask.java:138) [rt.jar:1.6.0_33]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[rt.jar:1.6.0_33]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[rt.jar:1.6.0_33]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_33]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
Caused by: java.lang.RuntimeException: javax.resource.ResourceException: IJ000852:
Validation exception
at
org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponent.start(MessageDrivenComponent.java:177)
at org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:54)
[jboss-as-ee-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
... 7 more
Caused by: javax.resource.ResourceException: IJ000852: Validation exception
at org.jboss.jca.core.rar.EndpointImpl.activate(EndpointImpl.java:147)
at
org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponent.start(MessageDrivenComponent.java:175)
... 8 more
Caused by: javax.validation.ValidationException: Unable to find a default provider
at javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:264)
[validation-api-1.0.0.GA.jar:]
at
org.jboss.jca.core.bv.BeanValidationUtil.createValidatorFactory(BeanValidationUtil.java:51)
at org.jboss.jca.core.bv.BeanValidationUtil.createValidator(BeanValidationUtil.java:63)
at org.jboss.jca.core.rar.EndpointImpl.activate(EndpointImpl.java:135)
... 9 more
--
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