[jboss-jira] [JBoss JIRA] (AS7-5103) Issue when returning Nonserialized object from session bean
sudhananthan B (JIRA)
jira-events at lists.jboss.org
Tue Jul 3 05:18:12 EDT 2012
[ https://issues.jboss.org/browse/AS7-5103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
sudhananthan B updated AS7-5103:
--------------------------------
Description:
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.
was:
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 is not serialized But i don't want it to be serialized.
Note:
I invoke the specific method of the session bean via local-lookup.
Forum Reference: https://community.jboss.org/thread/201881 (was: https://community.jboss.org/thread/201881)
> 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
More information about the jboss-jira
mailing list