glassfish
  1. glassfish
  2. GLASSFISH-18033

deployment of simple web app causes ejb container to be loaded

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0
    • Component/s: ejb_container
    • Labels:
      None

      Description

      There is dependency from web container to ejb container for JavaEEIOUtils. Mahesh has already refactored the code out to a common place to break this dependency. So, I am creating this issue for him to kindly fix this in trunk.

        Activity

        Hide
        Mahesh Kannan added a comment -

        This has been resolved. Serialization of java.io.serializable and IndirectlySerializable objects are handled in the container common module. I have added two new interfaces, GlassFishOutputStreamHandler and GlassFishInputStreamHandler that allows other modules to handle non serializable objects.

        svn commit message:

        svn commit -m "Move session state serialization to common module. The common module contains code that handles only Serializable objects. Handling of local EJBs etc. are done through Handlers (implemented in ejb container module). Reviewed by Cheng & Marina. QL and ejb dev tests passed"
        Adding appserver/common/container-common/src/main/java/com/sun/enterprise/container/common/impl/util/GlassFishObjectInputStream.java
        Adding appserver/common/container-common/src/main/java/com/sun/enterprise/container/common/impl/util/GlassFishObjectOutputStream.java
        Adding appserver/common/container-common/src/main/java/com/sun/enterprise/container/common/impl/util/JavaEEIOUtilsImpl.java
        Adding appserver/common/container-common/src/main/java/com/sun/enterprise/container/common/spi/util/GlassFishInputStreamHandler.java
        Adding appserver/common/container-common/src/main/java/com/sun/enterprise/container/common/spi/util/GlassFishOutputStreamHandler.java
        Adding appserver/common/container-common/src/main/java/com/sun/enterprise/container/common/spi/util/IndirectlySerializable.java
        Sending appserver/common/container-common/src/main/java/com/sun/enterprise/container/common/spi/util/JavaEEIOUtils.java
        Adding appserver/common/container-common/src/main/java/com/sun/enterprise/container/common/spi/util/SerializableObjectFactory.java
        Sending appserver/ejb/ejb-container/src/main/java/com/sun/ejb/EJBUtils.java
        Deleting appserver/ejb/ejb-container/src/main/java/com/sun/ejb/base/io/EJBObjectInputStream.java
        Adding appserver/ejb/ejb-container/src/main/java/com/sun/ejb/base/io/EJBObjectInputStreamHandler.java
        Deleting appserver/ejb/ejb-container/src/main/java/com/sun/ejb/base/io/EJBObjectOutputStream.java
        Adding appserver/ejb/ejb-container/src/main/java/com/sun/ejb/base/io/EJBObjectOutputStreamHandler.java
        Deleting appserver/ejb/ejb-container/src/main/java/com/sun/ejb/base/io/IOUtils.java
        Deleting appserver/ejb/ejb-container/src/main/java/com/sun/ejb/base/io/J2EEObjectStreamFactoryImpl.java
        Deleting appserver/ejb/ejb-container/src/main/java/com/sun/ejb/base/io/JavaEEIOUtilsImpl.java
        Sending appserver/ejb/ejb-container/src/main/java/com/sun/ejb/containers/BaseContainer.java
        Sending appserver/ejb/ejb-container/src/main/java/com/sun/ejb/containers/EJBLocalHomeImpl.java
        Sending appserver/ejb/ejb-container/src/main/java/com/sun/ejb/containers/EJBLocalHomeInvocationHandler.java
        Sending appserver/ejb/ejb-container/src/main/java/com/sun/ejb/containers/EJBLocalObjectImpl.java
        Sending appserver/ejb/ejb-container/src/main/java/com/sun/ejb/containers/EJBLocalObjectInvocationHandler.java
        Sending appserver/ejb/ejb-container/src/main/java/com/sun/ejb/containers/EJBLocalObjectInvocationHandlerDelegate.java
        Sending appserver/ejb/ejb-container/src/main/java/com/sun/ejb/containers/EjbContainerUtil.java
        Sending appserver/ejb/ejb-container/src/main/java/com/sun/ejb/containers/EjbContainerUtilImpl.java
        Sending appserver/ejb/ejb-container/src/main/java/com/sun/ejb/containers/EjbOptionalIntfGenerator.java
        Deleting appserver/ejb/ejb-container/src/main/java/com/sun/ejb/containers/JavaEEObjectStreamHandlerForEJBs.java
        Sending appserver/ejb/ejb-container/src/main/java/com/sun/ejb/containers/StatefulSessionContainer.java
        Sending appserver/ejb/ejb-container/src/main/java/com/sun/ejb/containers/TimerWrapper.java
        Sending appserver/ejb/ejb-container/src/main/java/com/sun/ejb/containers/util/cache/LruSessionCache.java
        Deleting appserver/ejb/ejb-container/src/main/java/com/sun/ejb/spi/io/IndirectlySerializable.java
        Deleting appserver/ejb/ejb-container/src/main/java/com/sun/ejb/spi/io/J2EEObjectStreamFactory.java
        Deleting appserver/ejb/ejb-container/src/main/java/com/sun/ejb/spi/io/SerializableObjectFactory.java
        Transmitting file data .......................
        Committed revision 52480.

        Show
        Mahesh Kannan added a comment - This has been resolved. Serialization of java.io.serializable and IndirectlySerializable objects are handled in the container common module. I have added two new interfaces, GlassFishOutputStreamHandler and GlassFishInputStreamHandler that allows other modules to handle non serializable objects. svn commit message: svn commit -m "Move session state serialization to common module. The common module contains code that handles only Serializable objects. Handling of local EJBs etc. are done through Handlers (implemented in ejb container module). Reviewed by Cheng & Marina. QL and ejb dev tests passed" Adding appserver/common/container-common/src/main/java/com/sun/enterprise/container/common/impl/util/GlassFishObjectInputStream.java Adding appserver/common/container-common/src/main/java/com/sun/enterprise/container/common/impl/util/GlassFishObjectOutputStream.java Adding appserver/common/container-common/src/main/java/com/sun/enterprise/container/common/impl/util/JavaEEIOUtilsImpl.java Adding appserver/common/container-common/src/main/java/com/sun/enterprise/container/common/spi/util/GlassFishInputStreamHandler.java Adding appserver/common/container-common/src/main/java/com/sun/enterprise/container/common/spi/util/GlassFishOutputStreamHandler.java Adding appserver/common/container-common/src/main/java/com/sun/enterprise/container/common/spi/util/IndirectlySerializable.java Sending appserver/common/container-common/src/main/java/com/sun/enterprise/container/common/spi/util/JavaEEIOUtils.java Adding appserver/common/container-common/src/main/java/com/sun/enterprise/container/common/spi/util/SerializableObjectFactory.java Sending appserver/ejb/ejb-container/src/main/java/com/sun/ejb/EJBUtils.java Deleting appserver/ejb/ejb-container/src/main/java/com/sun/ejb/base/io/EJBObjectInputStream.java Adding appserver/ejb/ejb-container/src/main/java/com/sun/ejb/base/io/EJBObjectInputStreamHandler.java Deleting appserver/ejb/ejb-container/src/main/java/com/sun/ejb/base/io/EJBObjectOutputStream.java Adding appserver/ejb/ejb-container/src/main/java/com/sun/ejb/base/io/EJBObjectOutputStreamHandler.java Deleting appserver/ejb/ejb-container/src/main/java/com/sun/ejb/base/io/IOUtils.java Deleting appserver/ejb/ejb-container/src/main/java/com/sun/ejb/base/io/J2EEObjectStreamFactoryImpl.java Deleting appserver/ejb/ejb-container/src/main/java/com/sun/ejb/base/io/JavaEEIOUtilsImpl.java Sending appserver/ejb/ejb-container/src/main/java/com/sun/ejb/containers/BaseContainer.java Sending appserver/ejb/ejb-container/src/main/java/com/sun/ejb/containers/EJBLocalHomeImpl.java Sending appserver/ejb/ejb-container/src/main/java/com/sun/ejb/containers/EJBLocalHomeInvocationHandler.java Sending appserver/ejb/ejb-container/src/main/java/com/sun/ejb/containers/EJBLocalObjectImpl.java Sending appserver/ejb/ejb-container/src/main/java/com/sun/ejb/containers/EJBLocalObjectInvocationHandler.java Sending appserver/ejb/ejb-container/src/main/java/com/sun/ejb/containers/EJBLocalObjectInvocationHandlerDelegate.java Sending appserver/ejb/ejb-container/src/main/java/com/sun/ejb/containers/EjbContainerUtil.java Sending appserver/ejb/ejb-container/src/main/java/com/sun/ejb/containers/EjbContainerUtilImpl.java Sending appserver/ejb/ejb-container/src/main/java/com/sun/ejb/containers/EjbOptionalIntfGenerator.java Deleting appserver/ejb/ejb-container/src/main/java/com/sun/ejb/containers/JavaEEObjectStreamHandlerForEJBs.java Sending appserver/ejb/ejb-container/src/main/java/com/sun/ejb/containers/StatefulSessionContainer.java Sending appserver/ejb/ejb-container/src/main/java/com/sun/ejb/containers/TimerWrapper.java Sending appserver/ejb/ejb-container/src/main/java/com/sun/ejb/containers/util/cache/LruSessionCache.java Deleting appserver/ejb/ejb-container/src/main/java/com/sun/ejb/spi/io/IndirectlySerializable.java Deleting appserver/ejb/ejb-container/src/main/java/com/sun/ejb/spi/io/J2EEObjectStreamFactory.java Deleting appserver/ejb/ejb-container/src/main/java/com/sun/ejb/spi/io/SerializableObjectFactory.java Transmitting file data ....................... Committed revision 52480.

          People

          • Assignee:
            Mahesh Kannan
            Reporter:
            Sanjeeb Sahoo
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: