[ http://issues.apache.org/jira/browse/HIVEMIND-118?page=all ]
Brian K. Wallace updated HIVEMIND-118:
--------------------------------------
Attachment: Hivemind-118.jar
Attached is a test case expanding on the current StringHolder test in the
threaded model. I do not believe the problem is ThreadModel specific - more in
the handling of non-interface beans. While I'm 100% in favor of coding to
interfaces, that is not always an option.
The added test duplicates the existing testSingleThread test (which passes
using interfaces alone) but uses implementations over interfaces both in
configuration and code.
> Threaded service bean ClassCastException
> ----------------------------------------
>
> Key: HIVEMIND-118
> URL: http://issues.apache.org/jira/browse/HIVEMIND-118
> Project: HiveMind
> Type: Bug
> Components: framework
> Versions: 1.1
> Environment: jdk1.5, linux 2.6.11
> Reporter: Richard Sang
> Attachments: Hivemind-118.jar
>
> I want to put Webwork action as threaded services (quick-and-dirty mode), and
> I could set action beans property,
> but when I try to get property of the action, I got exception:
> java.lang.ClassCastException: genet.action.FormTest
> at
> $$FormTest_103b31fee7c_103b31fee7f._service($$FormTest_103b31fee7c_103b31fee7f.java)
> at
> $$FormTest_103b31fee7c_103b31fee7f.getUser($$FormTest_103b31fee7c_103b31fee7f.java)
> at
> $$FormTest_103b31fee7c_103b31fee80.getUser($$FormTest_103b31fee7c_103b31fee80.java)
> at genet.main.ActionMain.main(ActionMain.java:51)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]