[jboss-jira] [JBoss JIRA] (AS7-5103) Issue when returning Nonserialized object from session bean

jaikiran pai (JIRA) jira-events at lists.jboss.org
Thu Jul 5 02:47:12 EDT 2012


    [ https://issues.jboss.org/browse/AS7-5103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704600#comment-12704600 ] 

jaikiran pai commented on AS7-5103:
-----------------------------------

{quote}
Note:
I invoke the specific method of the session bean via local-lookup. 
{quote}

The real issue is that the @Local interface is being allowed to be used via the remote ejb: namespace lookup. That was a bug which was fixed as part of AS7-3939. Are you sure you are using the correct version of AS7?

                
> 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