[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 04:34:12 EDT 2012
[ https://issues.jboss.org/browse/AS7-5103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
sudhananthan B updated AS7-5103:
--------------------------------
Steps to Reproduce:
To reproduce the issue sample project(with source) has been uploaded in the forum link https://community.jboss.org/thread/201881.
Steps to reproduce:
1.Deploy the test.ear application and start the server.
2.Now in browser access the server(http://<ipaddress>:8080/Admin.jsp).
3.Click on the button("getMyJSON") that appears on the browser. It will redirect to the action class AdminClass.java where the issue occurs.
Note:
<ear-subdeployments-isolated> was set as "false" in standalone-full.xml
was:
To reproduce the issue sample project(with source) has been uploaded in the forum link https://community.jboss.org/thread/201881.
Steps to reproduce:
1.Deploy the test.ear application and start the server.
2.Now in browser access the server(http://<ipaddress>:8080/Admin.jsp).
3.Click on the button("getMyJSON") that appears on the browser. It will redirect to the action class AdminClass.java where the issue occurs.
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 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.
--
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