]
Tom Cunningham resolved JBESB-774.
----------------------------------
Resolution: Duplicate Issue
Dupe of JBESB-721
helloworld_hibernate_action - ClassCastException
------------------------------------------------
Key: JBESB-774
URL:
http://jira.jboss.com/jira/browse/JBESB-774
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Examples
Affects Versions: 4.2 Milestone Release 3
Reporter: Jaroslaw Kijanowski
Assigned To: Tom Cunningham
Fix For: 4.2.1
Changed in jboss-esb.xml the "event" property in hibernate-message-filter to
"onSave", added one item through insert.jsp:
14:05:47,431 INFO [STDOUT] onSave
14:05:47,443 INFO [STDOUT] Hibernate: insert into orders (product, quantity, price)
values (?, ?, ?)
14:05:47,460 INFO [STDOUT]
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
14:05:47,460 WARN [ActionProcessingPipeline] Unexpected exception caught while
processing the action pipeline
org.jboss.soa.esb.actions.ActionProcessingException: Unexpected invocation target
exception from processor
at
org.jboss.soa.esb.listeners.message.ActionProcessorMethodInfo.processMethods(ActionProcessorMethodInfo.java:127)
at
org.jboss.soa.esb.listeners.message.OverriddenActionLifecycleProcessor.process(OverriddenActionLifecycleProcessor.java:74)
at
org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:262)
at
org.jboss.soa.esb.listeners.message.MessageAwareListener$1.run(MessageAwareListener.java:297)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ClassCastException:
org.jboss.soa.esb.samples.quickstart.hibernateaction.Order
at
org.jboss.soa.esb.samples.quickstart.hibernateaction.MyAction.displayMessage(MyAction.java:52)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.jboss.soa.esb.listeners.message.ActionProcessorMethodInfo.processMethods(ActionProcessorMethodInfo.java:102)
... 6 more
14:05:47,461 WARN [ActionProcessingPipeline] No fault address defined for fault
message!
14:05:47,526 INFO [STDOUT] Hibernate: select order0_.unique_id as unique1_20_,
order0_.product as product20_, order0_.quantity as quantity20_, order0_.price as price20_
from orders order0_
14:05:47,528 INFO [STDOUT] onLoad
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: