Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-5103

Local business interface is invokable via the ejb: remote namespace

XMLWordPrintable

    • Hide

      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

      Show
      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

      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.

              jaikiran Jaikiran Pai (Inactive)
              sudhananthan SUDHANANTHAN B (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: