[
https://issues.jboss.org/browse/AS7-5103?page=com.atlassian.jira.plugin.s...
]
jaikiran pai commented on AS7-5103:
-----------------------------------
I just reproduced the issue against latest upstream. I'll sending a fix for that. By
the way, you shouldn't be using the ejb: JNDI namespace for local interfaces. Change
it to one the EJB3.1 spec provided namespaces like java:global for example and that should
get you past this issue.
Example:
{code}
ctx.lookup("java:global/test/EntityBean/BookCatalogBean!com.MyDomain.BookCatalogInterface");
{code}
Issue when returning Nonserialized object from session bean
-----------------------------------------------------------
Key: AS7-5103
URL:
https://issues.jboss.org/browse/AS7-5103
Project: Application Server 7
Issue Type: Bug
Components: EJB
Affects Versions: 7.1.2.Final (EAP)
Environment: jdk 1.7,linux
Reporter: sudhananthan B
Assignee: jaikiran pai
Labels: jboss, serialization
Fix For: No Release
I'm using JBOSS AS 7 and jdk 1.7. In which i created a simple ejb project with
session bean(BookCatalogBean) and a local plain java object(SimpleClass.java) which is not
serialized. When i tried to call a method by invoking session bean it throws an exception
::::: java.lang.RuntimeException: IOException marshaling EJB parameters
.....
caused by java.io.NotSerializableException(Full strace has been attached). The exception
is due to returning SimpleClass.java which is not serialized class and i don't want it
to be.
Note:
I invoke the specific method of the session bean via local-lookup.
--
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