glassfish
  1. glassfish
  2. GLASSFISH-14584

Servlet not able to make SSL connection to EJB

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1_ms08
    • Component/s: orb
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      14,584

      Description

      I have 2 GlassFish servers in my environment. One is the web-tier containing a
      Servlet/JSF application. The other is the business-tier containing EJBs.
      Because of security requirements, all communications between servers must be
      encrypted.

      I am attempting to establish secure communication from the web-tier to the
      business-tier using the ORB > IIOP Listener > SSL_MUTUALAUTH listener on the
      default 3920 port. Despite a month of research and configuration changes, this
      is still not working. This is a mission-critical bug, adversely affecting
      hundreds of hours of development time.

      The development of a stand-alone appclient verifies secure communication does
      work, however if the "client" is a Servlet/JSF application secure communication
      does not work.

      On the web-tier, the following stack trace is thrown all the way up to the
      Servlet container when the servlet container attempts to instantiate a Servlet
      and inject an @EJB from the business-tier:

      HTTP Status 500 -

      --------------------------------------------------------------------------------

      type Exception report

      message

      descriptionThe server encountered an internal error () that prevented it from
      fulfilling this request.

      exception

      javax.servlet.ServletException: PWC1392: Error instantiating servlet class
      org.ferris.cassett.AccountServlet
      root cause

      com.sun.enterprise.container.common.spi.util.InjectionException: Error creating
      managed object for class org.ferris.cassett.AccountServlet
      root cause

      com.sun.enterprise.container.common.spi.util.InjectionException: Exception
      attempting to inject Remote ejb-ref
      name=org.ferris.cassett.AccountServlet/accountService,Remote 3.x interface
      =org.ferris.ejb.account.AccountService,ejb-link=null,lookup=java:comp/env/ejb/Sam,mappedName=,jndi-name=,refType=Session
      into class org.ferris.cassett.AccountServlet
      root cause

      javax.naming.NamingException: Lookup failed for
      'java:comp/env/org.ferris.cassett.AccountServlet/accountService' in
      SerialContext[targetHost=null,targetPort=null [Root exception is
      javax.naming.NamingException: Lookup failed for 'java:comp/env/ejb/Sam' in
      SerialContext[targetHost=null,targetPort=null [Root exception is
      javax.naming.NamingException: Exception resolving Ejb for 'Remote ejb-ref
      name=ejb/Sam,Remote 3.x interface
      =org.ferris.ejb.account.AccountService,ejb-link=null,lookup=null,mappedName=,jndi-name=corbaname:iiop:evolve300.evolve.local:3920#java:global/ferris-bank-business-services/account/AccountServiceBean!org.ferris.ejb.account.AccountService,refType=Session'
      . Actual (possibly internal) Remote JNDI name used for lookup is
      'corbaname:iiop:evolve300.evolve.local:3920#java:global/ferris-bank-business-services/account/AccountServiceBean__3_x_Internal_RemoteBusinessHome__'
      [Root exception is org.omg.CORBA.BAD_PARAM: FINE: IOP00100009: string_to_object
      conversion failed due to bad schema specific part in name
      java:global/ferris-bank-business-services/account/AccountServiceBean__3_x_Internal_RemoteBusinessHome__
      vmcid: SUN minor code: 9 completed: No]]]
      root cause

      javax.naming.NamingException: Lookup failed for 'java:comp/env/ejb/Sam' in
      SerialContext[targetHost=null,targetPort=null [Root exception is
      javax.naming.NamingException: Exception resolving Ejb for 'Remote ejb-ref
      name=ejb/Sam,Remote 3.x interface
      =org.ferris.ejb.account.AccountService,ejb-link=null,lookup=null,mappedName=,jndi-name=corbaname:iiop:evolve300.evolve.local:3920#java:global/ferris-bank-business-services/account/AccountServiceBean!org.ferris.ejb.account.AccountService,refType=Session'
      . Actual (possibly internal) Remote JNDI name used for lookup is
      'corbaname:iiop:evolve300.evolve.local:3920#java:global/ferris-bank-business-services/account/AccountServiceBean__3_x_Internal_RemoteBusinessHome__'
      [Root exception is org.omg.CORBA.BAD_PARAM: FINE: IOP00100009: string_to_object
      conversion failed due to bad schema specific part in name
      java:global/ferris-bank-business-services/account/AccountServiceBean__3_x_Internal_RemoteBusinessHome__
      vmcid: SUN minor code: 9 completed: No]]
      root cause

      javax.naming.NamingException: Exception resolving Ejb for 'Remote ejb-ref
      name=ejb/Sam,Remote 3.x interface
      =org.ferris.ejb.account.AccountService,ejb-link=null,lookup=null,mappedName=,jndi-name=corbaname:iiop:evolve300.evolve.local:3920#java:global/ferris-bank-business-services/account/AccountServiceBean!org.ferris.ejb.account.AccountService,refType=Session'
      . Actual (possibly internal) Remote JNDI name used for lookup is
      'corbaname:iiop:evolve300.evolve.local:3920#java:global/ferris-bank-business-services/account/AccountServiceBean__3_x_Internal_RemoteBusinessHome__'
      [Root exception is org.omg.CORBA.BAD_PARAM: FINE: IOP00100009: string_to_object
      conversion failed due to bad schema specific part in name
      java:global/ferris-bank-business-services/account/AccountServiceBean__3_x_Internal_RemoteBusinessHome__
      vmcid: SUN minor code: 9 completed: No]
      root cause

      org.omg.CORBA.BAD_PARAM: FINE: IOP00100009: string_to_object conversion failed
      due to bad schema specific part in name
      java:global/ferris-bank-business-services/account/AccountServiceBean__3_x_Internal_RemoteBusinessHome__
      vmcid: SUN minor code: 9 completed: No
      root cause

      org.omg.CORBA.COMM_FAILURE: FINE: IOP00410008: Connection abort vmcid: OMG
      minor code: 8 completed: Maybe
      root cause

      org.omg.CORBA.COMM_FAILURE: FINE: IOP00410011: IOException received when reading
      from connection SocketOrChannelConnectionImpl[
      java.nio.channels.SocketChannel[connected local=/10.10.20.145:4472
      remote=evolve300.evolve.local/10.10.20.106:3920] ESTABLISHED true true] vmcid:
      OMG minor code: 11 completed: No
      root cause

      java.io.IOException: End-of-stream
      note The full stack traces of the exception and its root causes are available in
      the GlassFish Server Open Source Edition 3.1-b27 logs.

      --------------------------------------------------------------------------------

      GlassFish Server Open Source Edition 3.1-b27

      On the web-tier, the following is written to server.log when the servlet
      container attempts to instantiate a Servlet and inject an @EJB from the
      business-tier:

      [#|2010-11-10T10:40:02.421-0600|INFO|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=16;_ThreadName=Thread-1;|PWC1412:
      WebModule[null] ServletContext.log():PWC1409: Marking servlet AccountServlet as
      unavailable|#]

      navailable|#]

      [#|2010-11-10T10:40:02.421-0600|INFO|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=263;_ThreadName=http-thread-pool-8080(1);|PWC1412:
      WebModule[null] ServletContext.log():PWC1409: Marking servlet AccountServlet as
      unavailable|#]

      [#|2010-11-10T10:40:02.421-0600|WARNING|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=263;_ThreadName=http-thread-pool-8080(1);|StandardWrapperValve[AccountServlet]:
      PWC1382: Allocate exception for servlet AccountServlet
      com.sun.enterprise.container.common.spi.util.InjectionException: Error creating
      managed object for class org.ferris.cassett.AccountServlet
      at
      com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.createManagedObject(InjectionManagerImpl.java:317)
      at com.sun.enterprise.web.WebContainer.createServletInstance(WebContainer.java:695)
      at com.sun.enterprise.web.WebModule.createServletInstance(WebModule.java:1945)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1251)
      at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:1058)
      at
      org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:189)
      at
      org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
      at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
      at
      com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
      at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227)
      at
      com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:170)
      at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:817)
      at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:718)
      at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1007)
      at
      com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
      at
      com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      at
      com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      at
      com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: com.sun.enterprise.container.common.spi.util.InjectionException:
      Exception attempting to inject Remote ejb-ref
      name=org.ferris.cassett.AccountServlet/accountService,Remote 3.x interface
      =org.ferris.ejb.account.AccountService,ejb-link=null,lookup=java:comp/env/ejb/Sam,mappedName=,jndi-name=,refType=Session
      into class org.ferris.cassett.AccountServlet
      at
      com.sun.enterprise.container.common.impl.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:684)
      at
      com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:454)
      at
      com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:146)
      at
      com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:132)
      at
      com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.createManagedObject(InjectionManagerImpl.java:311)
      ... 28 more
      Caused by: javax.naming.NamingException: Lookup failed for
      'java:comp/env/org.ferris.cassett.AccountServlet/accountService' in
      SerialContext[targetHost=null,targetPort=null [Root exception is
      javax.naming.NamingException: Lookup failed for 'java:comp/env/ejb/Sam' in
      SerialContext[targetHost=null,targetPort=null [Root exception is
      javax.naming.NamingException: Exception resolving Ejb for 'Remote ejb-ref
      name=ejb/Sam,Remote 3.x interface
      =org.ferris.ejb.account.AccountService,ejb-link=null,lookup=null,mappedName=,jndi-name=corbaname:iiop:evolve300.evolve.local:3920#java:global/ferris-bank-business-services/account/AccountServiceBean!org.ferris.ejb.account.AccountService,refType=Session'
      . Actual (possibly internal) Remote JNDI name used for lookup is
      'corbaname:iiop:evolve300.evolve.local:3920#java:global/ferris-bank-business-services/account/AccountServiceBean__3_x_Internal_RemoteBusinessHome__'
      [Root exception is org.omg.CORBA.BAD_PARAM: FINE: IOP00100009: string_to_object
      conversion failed due to bad schema specific part in name
      java:global/ferris-bank-business-services/account/AccountServiceBean__3_x_Internal_RemoteBusinessHome__
      vmcid: SUN minor code: 9 completed: No]]]
      at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:561)
      at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:491)
      at javax.naming.InitialContext.lookup(InitialContext.java:392)
      at
      com.sun.enterprise.container.common.impl.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:583)
      ... 32 more
      Caused by: javax.naming.NamingException: Lookup failed for
      'java:comp/env/ejb/Sam' in SerialContext[targetHost=null,targetPort=null [Root
      exception is javax.naming.NamingException: Exception resolving Ejb for 'Remote
      ejb-ref name=ejb/Sam,Remote 3.x interface
      =org.ferris.ejb.account.AccountService,ejb-link=null,lookup=null,mappedName=,jndi-name=corbaname:iiop:evolve300.evolve.local:3920#java:global/ferris-bank-business-services/account/AccountServiceBean!org.ferris.ejb.account.AccountService,refType=Session'
      . Actual (possibly internal) Remote JNDI name used for lookup is
      'corbaname:iiop:evolve300.evolve.local:3920#java:global/ferris-bank-business-services/account/AccountServiceBean__3_x_Internal_RemoteBusinessHome__'
      [Root exception is org.omg.CORBA.BAD_PARAM: FINE: IOP00100009: string_to_object
      conversion failed due to bad schema specific part in name
      java:global/ferris-bank-business-services/account/AccountServiceBean__3_x_Internal_RemoteBusinessHome__
      vmcid: SUN minor code: 9 completed: No]]
      at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:561)
      at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:491)
      at javax.naming.InitialContext.lookup(InitialContext.java:392)
      at
      com.sun.ejb.EjbNamingReferenceManagerImpl.resolveEjbReference(EjbNamingReferenceManagerImpl.java:102)
      at
      com.sun.enterprise.container.common.impl.ComponentEnvManagerImpl$EjbReferenceProxy.create(ComponentEnvManagerImpl.java:1047)
      at
      com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:771)
      at
      com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:740)
      at com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:166)
      at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:538)
      ... 35 more
      Caused by: javax.naming.NamingException: Exception resolving Ejb for 'Remote
      ejb-ref name=ejb/Sam,Remote 3.x interface
      =org.ferris.ejb.account.AccountService,ejb-link=null,lookup=null,mappedName=,jndi-name=corbaname:iiop:evolve300.evolve.local:3920#java:global/ferris-bank-business-services/account/AccountServiceBean!org.ferris.ejb.account.AccountService,refType=Session'
      . Actual (possibly internal) Remote JNDI name used for lookup is
      'corbaname:iiop:evolve300.evolve.local:3920#java:global/ferris-bank-business-services/account/AccountServiceBean__3_x_Internal_RemoteBusinessHome__'
      [Root exception is org.omg.CORBA.BAD_PARAM: FINE: IOP00100009: string_to_object
      conversion failed due to bad schema specific part in name
      java:global/ferris-bank-business-services/account/AccountServiceBean__3_x_Internal_RemoteBusinessHome__
      vmcid: SUN minor code: 9 completed: No]
      at
      com.sun.ejb.EjbNamingReferenceManagerImpl.resolveEjbReference(EjbNamingReferenceManagerImpl.java:178)
      at
      com.sun.enterprise.con[#|2010-11-10T10:40:02.421-0600|WARNING|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=16;_ThreadName=Thread-1;|StandardWrapperValve[AccountServlet]:
      PWC1382: Allocate exception for servlet AccountServlet
      com.sun.enterprise.container.common.spi.util.InjectionException: Error creating
      managed object for class org.ferris.cassett.AccountServlet
      at
      com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.createManagedObject(InjectionManagerImpl.java:317)
      at com.sun.enterprise.web.WebContainer.createServletInstance(WebContainer.java:695)
      at com.sun.enterprise.web.WebModule.createServletInstance(WebModule.java:1945)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1251)
      at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:1058)
      at
      org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:189)
      at
      org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
      at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
      at
      com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
      at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227)
      at
      com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:170)
      at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:817)
      at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:718)
      at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1007)
      at
      com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
      at
      com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      at
      com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      at
      com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: com.sun.enterprise.container.common.spi.util.InjectionException:
      Exception attempting to inject Remote ejb-ref
      name=org.ferris.cassett.AccountServlet/accountService,Remote 3.x interface
      =org.ferris.ejb.account.AccountService,ejb-link=null,lookup=java:comp/env/ejb/Sam,mappedName=,jndi-name=,refType=Session
      into class org.ferris.cassett.AccountServlet
      at
      com.sun.enterprise.container.common.impl.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:684)
      at
      com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:454)
      at
      com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:146)
      at
      com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:132)
      at
      com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.createManagedObject(InjectionManagerImpl.java:311)
      ... 28 more
      Caused by: javax.naming.NamingException: Lookup failed for
      'java:comp/env/org.ferris.cassett.AccountServlet/accountService' in
      SerialContext[targetHost=null,targetPort=null [Root exception is
      javax.naming.NamingException: Lookup failed for 'java:comp/env/ejb/Sam' in
      SerialContext[targetHost=null,targetPort=null [Root exception is
      javax.naming.NamingException: Exception resolving Ejb for 'Remote ejb-ref
      name=ejb/Sam,Remote 3.x interface
      =org.ferris.ejb.account.AccountService,ejb-link=null,lookup=null,mappedName=,jndi-name=corbaname:iiop:evolve300.evolve.local:3920#java:global/ferris-bank-business-services/account/AccountServiceBean!org.ferris.ejb.account.AccountService,refType=Session'
      . Actual (possibly internal) Remote JNDI name used for lookup is
      'corbaname:iiop:evolve300.evolve.local:3920#java:global/ferris-bank-business-services/account/AccountServiceBean__3_x_Internal_RemoteBusinessHome__'
      [Root exception is org.omg.CORBA.BAD_PARAM: FINE: IOP00100009: string_to_object
      conversion failed due to bad schema specific part in name
      java:global/ferris-bank-business-services/account/AccountServiceBean__3_x_Internal_RemoteBusinessHome__
      vmcid: SUN minor code: 9 completed: No]]]
      at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:561)
      at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:491)
      at javax.naming.InitialContext.lookup(InitialContext.java:392)
      at
      com.sun.enterprise.container.common.impl.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:583)
      ... 32 more
      Caused by: javax.naming.NamingException: Lookup failed for
      'java:comp/env/ejb/Sam' in SerialContext[targetHost=null,targetPort=null [Root
      exception is javax.naming.NamingException: Exception resolving Ejb for 'Remote
      ejb-ref name=ejb/Sam,Remote 3.x interface
      =org.ferris.ejb.account.AccountService,ejb-link=null,lookup=null,mappedName=,jndi-name=corbaname:iiop:evolve300.evolve.local:3920#java:global/ferris-bank-business-services/account/AccountServiceBean!org.ferris.ejb.account.AccountService,refType=Session'
      . Actual (possibly internal) Remote JNDI name used for lookup is
      'corbaname:iiop:evolve300.evolve.local:3920#java:global/ferris-bank-business-services/account/AccountServiceBean__3_x_Internal_RemoteBusinessHome__'
      [Root exception is org.omg.CORBA.BAD_PARAM: FINE: IOP00100009: string_to_object
      conversion failed due to bad schema specific part in name
      java:global/ferris-bank-business-services/account/AccountServiceBean__3_x_Internal_RemoteBusinessHome__
      vmcid: SUN minor code: 9 completed: No]]
      at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:561)
      at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:491)
      at javax.naming.InitialContext.lookup(InitialContext.java:392)
      at
      com.sun.ejb.EjbNamingReferenceManagerImpl.resolveEjbReference(EjbNamingReferenceManagerImpl.java:102)
      at
      com.sun.enterprise.container.common.impl.ComponentEnvManagerImpl$EjbReferenceProxy.create(ComponentEnvManagerImpl.java:1047)
      at
      com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:771)
      at
      com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:740)
      at com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:166)
      at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:538)
      ... 35 more
      Caused by: javax.naming.NamingException: Exception resolving Ejb for 'Remote
      ejb-ref name=ejb/Sam,Remote 3.x interface
      =org.ferris.ejb.account.AccountService,ejb-link=null,lookup=null,mappedName=,jndi-name=corbaname:iiop:evolve300.evolve.local:3920#java:global/ferris-bank-business-services/account/AccountServiceBean!org.ferris.ejb.account.AccountService,refType=Session'
      . Actual (possibly internal) Remote JNDI name used for lookup is
      'corbaname:iiop:evolve300.evolve.local:3920#java:global/ferris-bank-business-services/account/AccountServiceBean__3_x_Internal_RemoteBusinessHome__'
      [Root exception is org.omg.CORBA.BAD_PARAM: FINE: IOP00100009: string_to_object
      conversion failed due to bad schema specific part in name
      java:global/ferris-bank-business-services/account/AccountServiceBean__3_x_Internal_RemoteBusinessHome__
      vmcid: SUN minor code: 9 completed: No]
      at
      com.sun.ejb.EjbNamingReferenceManagerImpl.resolveEjbReference(EjbNamingReferenceManagerImpl.java:178)
      at
      com.sun.enterprise.container.common.imptainer.common.impl.ComponentEnvManagerImpl$EjbReferenceProxy.create(ComponentEnvManagerImpl.java:1047)
      at
      com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:771)
      at
      com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:740)
      at com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:166)
      at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:538)
      ... 43 more
      Caused by: org.omg.CORBA.BAD_PARAM: FINE: IOP00100009: string_to_object
      conversion failed due to bad schema specific part in name
      java:global/ferris-bank-business-services/account/AccountServiceBean__3_x_Internal_RemoteBusinessHome__
      vmcid: SUN minor code: 9 completed: No
      at sun.reflect.GeneratedConstructorAccessor323.newInstance(Unknown Source)
      at
      sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at
      com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:248)
      at
      com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:95)
      at
      com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.handleFullLogging(WrapperGenerator.java:422)
      at
      com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.access$300(WrapperGenerator.java:107)
      at
      com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator$2.invoke(WrapperGenerator.java:531)
      at
      com.sun.corba.ee.spi.orbutil.proxy.CompositeInvocationHandlerImpl.invoke(CompositeInvocationHandlerImpl.java:99)
      at $Proxy187.soBadSchemaSpecific(Unknown Source)
      at
      com.sun.corba.ee.impl.resolver.INSURLOperationImpl.resolveCorbaname(INSURLOperationImpl.java:227)
      at
      com.sun.corba.ee.impl.resolver.INSURLOperationImpl.resolveINSURL(INSURLOperationImpl.java:154)
      at
      com.sun.corba.ee.impl.resolver.INSURLOperationImpl.operate(INSURLOperationImpl.java:145)
      at com.sun.corba.ee.impl.orb.ORBImpl.string_to_object(ORBImpl.java:968)
      at
      com.sun.ejb.EjbNamingReferenceManagerImpl.resolveEjbReference(EjbNamingReferenceManagerImpl.java:171)
      ... 48 more
      Caused by: org.omg.CORBA.COMM_FAILURE: FINE: IOP00410008: Connection abort
      vmcid: OMG minor code: 8 completed: Maybe
      at sun.reflect.GeneratedConstructorAccessor239.newInstance(Unknown Source)
      at
      sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at
      com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:248)
      at
      com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:95)
      at
      com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.handleFullLogging(WrapperGenerator.java:422)
      at
      com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.access$300(WrapperGenerator.java:107)
      at
      com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator$2.invoke(WrapperGenerator.java:531)
      at
      com.sun.corba.ee.spi.orbutil.proxy.CompositeInvocationHandlerImpl.invoke(CompositeInvocationHandlerImpl.java:99)
      at $Proxy179.connectionAbort(Unknown Source)
      at
      com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doOptimizedReadStrategy(SocketOrChannelConnectionImpl.java:1537)
      at
      com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1084)
      at
      com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:496)
      at
      com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:532)
      Caused by: org.omg.CORBA.COMM_FAILURE: FINE: IOP00410011: IOException received
      when reading from connection SocketOrChannelConnectionImpl[
      java.nio.channels.SocketChannel[connected local=/10.10.20.145:4472
      remote=evolve300.evolve.local/10.10.20.106:3920] ESTABLISHED true true] vmcid:
      OMG minor code: 11 completed: No
      at sun.reflect.GeneratedConstructorAccessor239.newInstance(Unknown Source)
      at
      sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at
      com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:248)
      at
      com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:95)
      at
      com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.handleFullLogging(WrapperGenerator.java:422)
      at
      com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.access$300(WrapperGenerator.java:107)
      at
      com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator$2.invoke(WrapperGenerator.java:531)
      at
      com.sun.corba.ee.spi.orbutil.proxy.CompositeInvocationHandlerImpl.invoke(CompositeInvocationHandlerImpl.java:99)
      at $Proxy179.ioexceptionWhenReadingConnection(Unknown Source)
      at
      com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.nonBlockingRead(SocketOrChannelConnectionImpl.java:1708)
      at
      com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doOptimizedReadStrategy(SocketOrChannelConnectionImpl.java:1481)
      ... 3 more
      Caused by: java.io.IOException: End-of-stream
      at
      com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.nonBlockingRead(SocketOrChannelConnectionImpl.java:1700)
      ... 4 more

      #]

      l.ComponentEnvManagerImpl$EjbReferenceProxy.create(ComponentEnvManagerImpl.java:1047)
      at
      com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:771)
      at
      com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:740)
      at com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:166)
      at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:538)
      ... 43 more
      Caused by: org.omg.CORBA.BAD_PARAM: FINE: IOP00100009: string_to_object
      conversion failed due to bad schema specific part in name
      java:global/ferris-bank-business-services/account/AccountServiceBean__3_x_Internal_RemoteBusinessHome__
      vmcid: SUN minor code: 9 completed: No
      at sun.reflect.GeneratedConstructorAccessor323.newInstance(Unknown Source)
      at
      sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at
      com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:248)
      at
      com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:95)
      at
      com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.handleFullLogging(WrapperGenerator.java:422)
      at
      com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.access$300(WrapperGenerator.java:107)
      at
      com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator$2.invoke(WrapperGenerator.java:531)
      at
      com.sun.corba.ee.spi.orbutil.proxy.CompositeInvocationHandlerImpl.invoke(CompositeInvocationHandlerImpl.java:99)
      at $Proxy187.soBadSchemaSpecific(Unknown Source)
      at
      com.sun.corba.ee.impl.resolver.INSURLOperationImpl.resolveCorbaname(INSURLOperationImpl.java:227)
      at
      com.sun.corba.ee.impl.resolver.INSURLOperationImpl.resolveINSURL(INSURLOperationImpl.java:154)
      at
      com.sun.corba.ee.impl.resolver.INSURLOperationImpl.operate(INSURLOperationImpl.java:145)
      at com.sun.corba.ee.impl.orb.ORBImpl.string_to_object(ORBImpl.java:968)
      at
      com.sun.ejb.EjbNamingReferenceManagerImpl.resolveEjbReference(EjbNamingReferenceManagerImpl.java:171)
      ... 48 more
      Caused by: org.omg.CORBA.COMM_FAILURE: FINE: IOP00410008: Connection abort
      vmcid: OMG minor code: 8 completed: Maybe
      at sun.reflect.GeneratedConstructorAccessor239.newInstance(Unknown Source)
      at
      sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at
      com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:248)
      at
      com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:95)
      at
      com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.handleFullLogging(WrapperGenerator.java:422)
      at
      com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.access$300(WrapperGenerator.java:107)
      at
      com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator$2.invoke(WrapperGenerator.java:531)
      at
      com.sun.corba.ee.spi.orbutil.proxy.CompositeInvocationHandlerImpl.invoke(CompositeInvocationHandlerImpl.java:99)
      at $Proxy179.connectionAbort(Unknown Source)
      at
      com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doOptimizedReadStrategy(SocketOrChannelConnectionImpl.java:1537)
      at
      com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1084)
      at
      com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:496)
      at
      com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:532)
      Caused by: org.omg.CORBA.COMM_FAILURE: FINE: IOP00410011: IOException received
      when reading from connection SocketOrChannelConnectionImpl[
      java.nio.channels.SocketChannel[connected local=/10.10.20.145:4472
      remote=evolve300.evolve.local/10.10.20.106:3920] ESTABLISHED true true] vmcid:
      OMG minor code: 11 completed: No
      at sun.reflect.GeneratedConstructorAccessor239.newInstance(Unknown Source)
      at
      sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at
      com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:248)
      at
      com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:95)
      at
      com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.handleFullLogging(WrapperGenerator.java:422)
      at
      com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.access$300(WrapperGenerator.java:107)
      at
      com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator$2.invoke(WrapperGenerator.java:531)
      at
      com.sun.corba.ee.spi.orbutil.proxy.CompositeInvocationHandlerImpl.invoke(CompositeInvocationHandlerImpl.java:99)
      at $Proxy179.ioexceptionWhenReadingConnection(Unknown Source)
      at
      com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.nonBlockingRead(SocketOrChannelConnectionImpl.java:1708)
      at
      com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doOptimizedReadStrategy(SocketOrChannelConnectionImpl.java:1481)
      ... 3 more
      Caused by: java.io.IOException: End-of-stream
      at
      com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.nonBlockingRead(SocketOrChannelConnectionImpl.java:1700)
      ... 4 more

      #]

      [#|2010-11-10T10:40:02.421-0600|WARNING|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=263;_ThreadName=http-thread-pool-8080(1);|StandardWrapperValve[AccountServlet]:
      PWC1382: Allocate exception for servlet AccountServlet
      com.sun.enterprise.container.common.spi.util.InjectionException: Error creating
      managed object for class org.ferris.cassett.AccountServlet
      at
      com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.createManagedObject(InjectionManagerImpl.java:317)
      at com.sun.enterprise.web.WebContainer.createServletInstance(WebContainer.java:695)
      at com.sun.enterprise.web.WebModule.createServletInstance(WebModule.java:1945)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1251)
      at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:1058)
      at
      org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:189)
      at
      org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
      at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
      at
      com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
      at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227)
      at
      com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:170)
      at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:817)
      at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:718)
      at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1007)
      at
      com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
      at
      com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      at
      com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      at
      com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: com.sun.enterprise.container.common.spi.util.InjectionException:
      Exception attempting to inject Remote ejb-ref
      name=org.ferris.cassett.AccountServlet/accountService,Remote 3.x interface
      =org.ferris.ejb.account.AccountService,ejb-link=null,lookup=java:comp/env/ejb/Sam,mappedName=,jndi-name=,refType=Session
      into class org.ferris.cassett.AccountServlet
      at
      com.sun.enterprise.container.common.impl.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:684)
      at
      com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:454)
      at
      com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:146)
      at
      com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:132)
      at
      com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.createManagedObject(InjectionManagerImpl.java:311)
      ... 28 more
      Caused by: javax.naming.NamingException: Lookup failed for
      'java:comp/env/org.ferris.cassett.AccountServlet/accountService' in
      SerialContext[targetHost=null,targetPort=null [Root exception is
      javax.naming.NamingException: Lookup failed for 'java:comp/env/ejb/Sam' in
      SerialContext[targetHost=null,targetPort=null [Root exception is
      javax.naming.NamingException: Exception resolving Ejb for 'Remote ejb-ref
      name=ejb/Sam,Remote 3.x interface
      =org.ferris.ejb.account.AccountService,ejb-link=null,lookup=null,mappedName=,jndi-name=corbaname:iiop:evolve300.evolve.local:3920#java:global/ferris-bank-business-services/account/AccountServiceBean!org.ferris.ejb.account.AccountService,refType=Session'
      . Actual (possibly internal) Remote JNDI name used for lookup is
      'corbaname:iiop:evolve300.evolve.local:3920#java:global/ferris-bank-business-services/account/AccountServiceBean__3_x_Internal_RemoteBusinessHome__'
      [Root exception is org.omg.CORBA.BAD_PARAM: FINE: IOP00100009: string_to_object
      conversion failed due to bad schema specific part in name
      java:global/ferris-bank-business-services/account/AccountServiceBean__3_x_Internal_RemoteBusinessHome__
      vmcid: SUN minor code: 9 completed: No]]]
      at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:561)
      at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:491)
      at javax.naming.InitialContext.lookup(InitialContext.java:392)
      at
      com.sun.enterprise.container.common.impl.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:583)
      ... 32 more
      Caused by: javax.naming.NamingException: Lookup failed for
      'java:comp/env/ejb/Sam' in SerialContext[targetHost=null,targetPort=null [Root
      exception is javax.naming.NamingException: Exception resolving Ejb for 'Remote
      ejb-ref name=ejb/Sam,Remote 3.x interface
      =org.ferris.ejb.account.AccountService,ejb-link=null,lookup=null,mappedName=,jndi-name=corbaname:iiop:evolve300.evolve.local:3920#java:global/ferris-bank-business-services/account/AccountServiceBean!org.ferris.ejb.account.AccountService,refType=Session'
      . Actual (possibly internal) Remote JNDI name used for lookup is
      'corbaname:iiop:evolve300.evolve.local:3920#java:global/ferris-bank-business-services/account/AccountServiceBean__3_x_Internal_RemoteBusinessHome__'
      [Root exception is org.omg.CORBA.BAD_PARAM: FINE: IOP00100009: string_to_object
      conversion failed due to bad schema specific part in name
      java:global/ferris-bank-business-services/account/AccountServiceBean__3_x_Internal_RemoteBusinessHome__
      vmcid: SUN minor code: 9 completed: No]]
      at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:561)
      at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:491)
      at javax.naming.InitialContext.lookup(InitialContext.java:392)
      at
      com.sun.ejb.EjbNamingReferenceManagerImpl.resolveEjbReference(EjbNamingReferenceManagerImpl.java:102)
      at
      com.sun.enterprise.container.common.impl.ComponentEnvManagerImpl$EjbReferenceProxy.create(ComponentEnvManagerImpl.java:1047)
      at
      com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:771)
      at
      com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:740)
      at com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:166)
      at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:538)
      ... 35 more
      Caused by: javax.naming.NamingException: Exception resolving Ejb for 'Remote
      ejb-ref name=ejb/Sam,Remote 3.x interface
      =org.ferris.ejb.account.AccountService,ejb-link=null,lookup=null,mappedName=,jndi-name=corbaname:iiop:evolve300.evolve.local:3920#java:global/ferris-bank-business-services/account/AccountServiceBean!org.ferris.ejb.account.AccountService,refType=Session'
      . Actual (possibly internal) Remote JNDI name used for lookup is
      'corbaname:iiop:evolve300.evolve.local:3920#java:global/ferris-bank-business-services/account/AccountServiceBean__3_x_Internal_RemoteBusinessHome__'
      [Root exception is org.omg.CORBA.BAD_PARAM: FINE: IOP00100009: string_to_object
      conversion failed due to bad schema specific part in name
      java:global/ferris-bank-business-services/account/AccountServiceBean__3_x_Internal_RemoteBusinessHome__
      vmcid: SUN minor code: 9 completed: No]
      at
      com.sun.ejb.EjbNamingReferenceManagerImpl.resolveEjbReference(EjbNamingReferenceManagerImpl.java:178)
      at
      com.sun.enterprise.container.common.impl.ComponentEnvManagerImpl$EjbReferenceProxy.create(ComponentEnvManagerImpl.java:1047)
      at
      com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:771)
      at
      com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:740)
      at com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:166)
      at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:538)
      ... 43 more
      Caused by: org.omg.CORBA.BAD_PARAM: FINE: IOP00100009: string_to_object
      conversion failed due to bad schema specific part in name
      java:global/ferris-bank-business-services/account/AccountServiceBean__3_x_Internal_RemoteBusinessHome__
      vmcid: SUN minor code: 9 completed: No
      at sun.reflect.GeneratedConstructorAccessor323.newInstance(Unknown Source)
      at
      sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at
      com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:248)
      at
      com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:95)
      at
      com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.handleFullLogging(WrapperGenerator.java:422)
      at
      com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.access$300(WrapperGenerator.java:107)
      at
      com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator$2.invoke(WrapperGenerator.java:531)
      at
      com.sun.corba.ee.spi.orbutil.proxy.CompositeInvocationHandlerImpl.invoke(CompositeInvocationHandlerImpl.java:99)
      at $Proxy187.soBadSchemaSpecific(Unknown Source)
      at
      com.sun.corba.ee.impl.resolver.INSURLOperationImpl.resolveCorbaname(INSURLOperationImpl.java:227)
      at
      com.sun.corba.ee.impl.resolver.INSURLOperationImpl.resolveINSURL(INSURLOperationImpl.java:154)
      at
      com.sun.corba.ee.impl.resolver.INSURLOperationImpl.operate(INSURLOperationImpl.java:145)
      at com.sun.corba.ee.impl.orb.ORBImpl.string_to_object(ORBImpl.java:968)
      at
      com.sun.ejb.EjbNamingReferenceManagerImpl.resolveEjbReference(EjbNamingReferenceManagerImpl.java:171)
      ... 48 more
      Caused by: org.omg.CORBA.COMM_FAILURE: FINE: IOP00410008: Connection abort
      vmcid: OMG minor code: 8 completed: Maybe
      at sun.reflect.GeneratedConstructorAccessor239.newInstance(Unknown Source)
      at
      sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at
      com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:248)
      at
      com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:95)
      at
      com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.handleFullLogging(WrapperGenerator.java:422)
      at
      com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.access$300(WrapperGenerator.java:107)
      at
      com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator$2.invoke(WrapperGenerator.java:531)
      at
      com.sun.corba.ee.spi.orbutil.proxy.CompositeInvocationHandlerImpl.invoke(CompositeInvocationHandlerImpl.java:99)
      at $Proxy179.connectionAbort(Unknown Source)
      at
      com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doOptimizedReadStrategy(SocketOrChannelConnectionImpl.java:1537)
      at
      com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1084)
      at
      com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:496)
      at
      com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:532)
      Caused by: org.omg.CORBA.COMM_FAILURE: FINE: IOP00410011: IOException received
      when reading from connection SocketOrChannelConnectionImpl[
      java.nio.channels.SocketChannel[connected local=/10.10.20.145:4472
      remote=evolve300.evolve.local/10.10.20.106:3920] ESTABLISHED true true] vmcid:
      OMG minor code: 11 completed: No
      at sun.reflect.GeneratedConstructorAccessor239.newInstance(Unknown Source)
      at
      sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at
      com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:248)
      at
      com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:95)
      at
      com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.handleFullLogging(WrapperGenerator.java:422)
      at
      com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.access$300(WrapperGenerator.java:107)
      at
      com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator$2.invoke(WrapperGenerator.java:531)
      at
      com.sun.corba.ee.spi.orbutil.proxy.CompositeInvocationHandlerImpl.invoke(CompositeInvocationHandlerImpl.java:99)
      at $Proxy179.ioexceptionWhenReadingConnection(Unknown Source)
      at
      com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.nonBlockingRead(SocketOrChannelConnectionImpl.java:1708)
      at
      com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doOptimizedReadStrategy(SocketOrChannelConnectionImpl.java:1481)
      ... 3 more
      Caused by: java.io.IOException: End-of-stream
      at
      com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.nonBlockingRead(SocketOrChannelConnectionImpl.java:1700)
      ... 4 more

      #]

      On the business-tier, no messages are written to the server.log file! However,
      the following is the output of tcpdump.exe on the business-tier.

      C:\tcpdump>tcpdump.exe -i 3 -nnvvXSs 1514 port 3920

      *******************************************************************

        • **
        • Tcpdump v4.0.0 (October 27, 2008) for Windows **
        • Win 98/ME/NT4/2000/XP/2003/Vista/2008/Win7 **
        • **
        • built with MicroOLAP Packet Sniffer SDK v4.2 and **
        • MicroOLAP WinPCap to Packet Sniffer SDK migration module. **
        • **
        • Copyright (c) 1997 - 2009 MicroOLAP Technologies LTD, **
        • Khalturin A.P. & Naumov D.A. **
        • http://www.microolap.com **
        • **
        • Trial license. **
        • **
          *******************************************************************

      tcpdump.exe: listening on \Device{4109BED4-3AA5-4CED-BBD3-958A0C7BCE64}
      10:40:01.671875 IP (tos 0x0, ttl 128, id 28203, offset 0, flags [DF], proto TCP
      (6), length 48)
      10.10.20.145.4472 > 10.10.20.106.3920: Flags [S], cksum 0xd719 (correct), se
      q 1995626300, win 65535, options [mss 1460,nop,nop,sackOK], length 0
      0x0000: 4500 0030 6e2b 4000 8006 4f8e 0a0a 1491 E..0n+@...OZ...`
      0x0010: 0a0a 146a 1178 0f50 76f2 d73c 0000 0000 ...j.x.Pvòx<....
      0x0020: 7002 ffff d719 0000 0204 05b4 0101 0402 p.ÿÿx......'....
      10:40:01.671875 IP (tos 0x0, ttl 128, id 6671, offset 0, flags [none], proto TCP
      (6), length 48)
      10.10.20.106.3920 > 10.10.20.145.4472: Flags [S.], cksum 0x2390 (correct), s
      eq 3809185900, ack 1995626301, win 16384, options [mss 1460,nop,nop,sackOK], len
      gth 0
      0x0000: 4500 0030 1a0f 0000 8006 e3aa 0a0a 146a E..0......aª...j
      0x0010: 0a0a 1491 0f50 1178 e30b 906c 76f2 d73d ...`.P.xa..lvòx=
      0x0020: 7012 4000 2390 0000 0204 05b4 0101 0402 p.@.#......'....
      10:40:01.671875 IP (tos 0x0, ttl 128, id 28204, offset 0, flags [DF], proto TCP
      (6), length 40)
      10.10.20.145.4472 > 10.10.20.106.3920: Flags [.], cksum 0x9054 (correct), se
      q 1995626301, ack 3809185901, win 65535, length 0
      0x0000: 4500 0028 6e2c 4000 8006 4f95 0a0a 1491 E..(n,@...O...`
      0x0010: 0a0a 146a 1178 0f50 76f2 d73d e30b 906d ...j.x.Pvòx=a..m
      0x0020: 5010 ffff 9054 0000 0000 0000 0000 P.ÿÿ.T........
      10:40:01.671875 IP (tos 0x0, ttl 128, id 28207, offset 0, flags [DF], proto TCP
      (6), length 543)
      10.10.20.145.4472 > 10.10.20.106.3920: Flags [P.], cksum 0x3b0e (correct), s
      eq 1995626301:1995626804, ack 3809185901, win 65535, length 503
      0x0000: 4500 021f 6e2f 4000 8006 4d9b 0a0a 1491 E...n/@...M>...`
      0x0010: 0a0a 146a 1178 0f50 76f2 d73d e30b 906d ...j.x.Pvòx=a..m
      0x0020: 5018 ffff 3b0e 0000 4749 4f50 0100 0000 P.ÿÿ;...GIOP....
      0x0030: 0000 01eb 0000 0003 0000 0011 0000 0002 ...ë............
      0x0040: 0002 0000 4e45 4f00 0000 0002 0014 0000 ....NEO.........
      0x0050: 0000 0006 0000 0170 0000 0000 0000 0028 .......p.......(
      0x0060: 4944 4c3a 6f6d 672e 6f72 672f 5365 6e64 IDL:omg.org/Send
      0x0070: 696e 6743 6f6e 7465 7874 2f43 6f64 6542 ingContext/CodeB
      0x0080: 6173 653a 312e 3000 0000 0001 0000 0000 ase:1.0.........
      0x0090: 0000 0134 0001 0200 0000 000d 3130 2e31 ...4........10.1
      0x00a0: 302e 3230 2e31 3435 0000 0e74 0000 0019 0.20.145...t....
      0x00b0: afab cb00 0000 0002 0000 0064 0000 0008 _«E........d....
      0x00c0: 0000 0000 0000 0000 1400 0000 0000 0005 ................
      0x00d0: 0000 0001 0000 0020 0000 0000 0001 0001 ................
      0x00e0: 0000 0002 0501 0001 0001 0020 0001 0109 ................
      0x00f0: 0000 0001 0001 0100 0000 0026 0000 0002 ...........&....
      0x0100: 0002 0000 0000 0003 0000 0018 0000 0000 ................
      0x0110: 0000 000d 3130 2e31 302e 3230 2e31 3435 ....10.10.20.145
      0x0120: 0000 0eec 0000 0003 0000 0018 0000 0000 ...ì............
      0x0130: 0000 000d 3130 2e31 302e 3230 2e31 3435 ....10.10.20.145
      0x0140: 0000 0f50 0000 0021 0000 007c 0000 0000 ...P...!...|....
      0x0150: 0000 0001 0000 0000 0000 0024 0000 0020 ...........$....
      0x0160: 0000 0066 0000 0000 0000 0001 0000 000d ...f............
      0x0170: 3130 2e31 302e 3230 2e31 3435 0000 0eec 10.10.20.145...ì
      0x0180: 0040 0000 0000 0008 0606 6781 0201 0101 .@........g.....
      0x0190: 0000 0017 0401 0008 0606 6781 0201 0101 ..........g.....
      0x01a0: 0000 0007 6465 6661 756c 7400 0400 0000 ....default.....
      0x01b0: 0000 0000 0000 0001 0000 0008 0606 6781 ..............g.
      0x01c0: 0201 0101 0000 000f 0000 0005 0100 0000 ................
      0x01d0: 0000 000b 4e61 6d65 5365 7276 6963 6500 ....NameService.
      0x01e0: 0000 0006 5f69 735f 6100 0000 0000 0000 ...._is_a.......
      0x01f0: 0000 002b 4944 4c3a 6f6d 672e 6f72 672f ...+IDL:omg.org/
      0x0200: 436f 734e 616d 696e 672f 4e61 6d69 6e67 CosNaming/Naming
      0x0210: 436f 6e74 6578 7445 7874 3a31 2e30 00 ContextExt:1.0.
      10:40:01.671875 IP (tos 0x0, ttl 128, id 6672, offset 0, flags [DF], proto TCP (
      6), length 47)
      10.10.20.106.3920 > 10.10.20.145.4472: Flags [P.], cksum 0x6e40 (correct), s
      eq 3809185901:3809185908, ack 1995626804, win 65032, length 7
      0x0000: 4500 002f 1a10 4000 8006 a3aa 0a0a 146a E../..@...£ª...j
      0x0010: 0a0a 1491 0f50 1178 e30b 906d 76f2 d934 ...`.P.xa..mvòU4
      0x0020: 5018 fe08 6e40 0000 1503 0100 0202 0a P._.n@.........
      10:40:01.671875 IP (tos 0x0, ttl 128, id 6673, offset 0, flags [DF], proto TCP (
      6), length 40)
      10.10.20.106.3920 > 10.10.20.145.4472: Flags [F.], cksum 0x904c (correct), s
      eq 3809185908, ack 1995626804, win 65032, length 0
      0x0000: 4500 0028 1a11 4000 8006 a3b0 0a0a 146a E..(..@...£°...j
      0x0010: 0a0a 1491 0f50 1178 e30b 9074 76f2 d934 ...`.P.xa..tvòU4
      0x0020: 5011 fe08 904c 0000 P._..L..
      10:40:01.671875 IP (tos 0x0, ttl 128, id 28208, offset 0, flags [DF], proto TCP
      (6), length 40)
      10.10.20.145.4472 > 10.10.20.106.3920: Flags [.], cksum 0x8e5c (correct), se
      q 1995626804, ack 3809185909, win 65528, length 0
      0x0000: 4500 0028 6e30 4000 8006 4f91 0a0a 1491 E..(n0@...O`...`
      0x0010: 0a0a 146a 1178 0f50 76f2 d934 e30b 9075 ...j.x.PvòU4a..u
      0x0020: 5010 fff8 8e5c 0000 0000 0000 0000 P.ÿoZ\........
      10:40:01.671875 IP (tos 0x0, ttl 128, id 28210, offset 0, flags [DF], proto TCP
      (6), length 40)
      10.10.20.145.4472 > 10.10.20.106.3920: Flags [F.], cksum 0x8e5b (correct), s
      eq 1995626804, ack 3809185909, win 65528, length 0
      0x0000: 4500 0028 6e32 4000 8006 4f8f 0a0a 1491 E..(n2@...O....`
      0x0010: 0a0a 146a 1178 0f50 76f2 d934 e30b 9075 ...j.x.PvòU4a..u
      0x0020: 5011 fff8 8e5b 0000 0000 0000 0000 P.ÿoZ[........
      10:40:01.671875 IP (tos 0x0, ttl 128, id 6674, offset 0, flags [DF], proto TCP (
      6), length 40)
      10.10.20.106.3920 > 10.10.20.145.4472: Flags [.], cksum 0x904b (correct), se
      q 3809185909, ack 1995626805, win 65032, length 0
      0x0000: 4500 0028 1a12 4000 8006 a3af 0a0a 146a E..(..@...£_...j
      0x0010: 0a0a 1491 0f50 1178 e30b 9075 76f2 d935 ...`.P.xa..uvòU5
      0x0020: 5010 fe08 904b 0000 P._..K..

      1. 2010-12-22-1549-server.log
        4 kB
        haroldcarr
      2. 2010-12-22-1555-client.log
        10 kB
        haroldcarr
      3. error.log
        7 kB
        Nithya Ramakrishnan

        Issue Links

          Activity

          Hide
          haroldcarr added a comment -

          This has the GIOP magic problem on the server side which is caused by the client side trying to send SSL messages to 3700.

          Read the bug report for 14302 for details.

          Show
          haroldcarr added a comment - This has the GIOP magic problem on the server side which is caused by the client side trying to send SSL messages to 3700. Read the bug report for 14302 for details.
          Hide
          Nithya Ramakrishnan added a comment -

          In the latest release, the error that is obtained is pasted below, appears to be caused due to a org.omg.CosNaming.NamingContextPackage.NotFound.

          Here are the instructions to reproduce the issue : (Note - If machine B is not available, please use the deployed ejb at jwsse01.india.sun.com. if a Machine B is available, please change the sun-web.xml of the war file to point to the specific host)

          1. Deploy the ejb on a GF v3.1 instance on say Machine A.
          2. Deploy the servlet on a GF v3.1 instance on Machine B.
          3. On machine B, add the following jvm-option and restart the GF instance. This jvm-option makes sure that the client instance makes a secure connection to the server instance.

          <jvm-options>-Dcom.sun.CSIV2.ssl.standalone.client.required=true</jvm-options>

          4. Access the servlet using a browser : http://hostname(B):8080/simpleweb/simple.

          The error that is obtained is attached.

          Also, please note that this error can be reproduced even without ssl. If the <ior-security-config> element of sun-ejb-jar.xml in the ejb is commented out and redeployed in Machine A, and if the servlet is deployed in a fresh GF instance (without the additional jvm-option) in Machine B, on trying to access the servlet, the same error is obtained.

          [#|2010-12-21T13:12:11.563+0530|WARNING|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=17;_ThreadName=Thread-1;|StandardWrapperValve[SimpleServlet]: PWC1382: Allocate exception for servlet SimpleServlet
          com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class com.sun.web.test.SimpleServlet
          at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.createManagedObject(InjectionManagerImpl.java:317)
          at com.sun.enterprise.web.WebContainer.createServletInstance(WebContainer.java:701)
          at com.sun.enterprise.web.WebModule.createServletInstance(WebModule.java:1943)
          at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1263)
          at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:1070)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:189)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
          at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
          at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
          at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
          at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227)
          at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:170)
          at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:817)
          at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:718)
          at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1007)
          at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
          at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
          at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
          at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
          at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
          at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
          at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
          at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
          at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
          at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
          at java.lang.Thread.run(Thread.java:637)
          Caused by: com.sun.enterprise.container.common.spi.util.InjectionException: Exception attempting to inject Remote ejb-ref name=secureejbref,Remote 3.x interface =test.SecureEjbRemote,ejb-link=null,lookup=,mappedName=,jndi-name=corbaname:iiop:jwsse01.india.sun.com:3700#SecureEjbBean,refType=Session into class com.sun.web.test.SimpleServlet
          at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:698)
          at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:468)
          at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:146)
          at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:132)
          at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.createManagedObject(InjectionManagerImpl.java:311)
          ... 28 more
          Caused by: javax.naming.NamingException: Lookup failed for 'java:comp/env/secureejbref' in SerialContext[targetHost=null,targetPort=null [Root exception is javax.naming.NamingException: Exception resolving Ejb for 'Remote ejb-ref name=secureejbref,Remote 3.x interface =test.SecureEjbRemote,ejb-link=null,lookup=,mappedName=,jndi-name=corbaname:iiop:jwsse01.india.sun.com:3700#SecureEjbBean,refType=Session' . Actual (possibly internal) Remote JNDI name used for lookup is 'corbaname:iiop:jwsse01.india.sun.com:3700#SecureEjbBean__3_x_Internal_RemoteBusinessHome__' [Root exception is org.omg.CORBA.BAD_PARAM: FINE: IOP00100009: string_to_object conversion failed due to bad schema specific part in name SecureEjbBean__3_x_Internal_RemoteBusinessHome__ vmcid: SUN minor code: 9 completed: No]]
          at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:561)
          at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:491)
          at javax.naming.InitialContext.lookup(InitialContext.java:392)
          at javax.naming.InitialContext.lookup(InitialContext.java:392)
          at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:597)
          ... 32 more
          Caused by: javax.naming.NamingException: Exception resolving Ejb for 'Remote ejb-ref name=secureejbref,Remote 3.x interface =test.SecureEjbRemote,ejb-link=null,lookup=,mappedName=,jndi-name=corbaname:iiop:jwsse01.india.sun.com:3700#SecureEjbBean,refType=Session' . Actual (possibly internal) Remote JNDI name used for lookup is 'corbaname:iiop:jwsse01.india.sun.com:3700#SecureEjbBean__3_x_Internal_RemoteBusinessHome__' [Root exception is org.omg.CORBA.BAD_PARAM: FINE: IOP00100009: string_to_object conversion failed due to bad schema specific part in name SecureEjbBean__3_x_Internal_RemoteBusinessHome__ vmcid: SUN minor code: 9 completed: No]
          at com.sun.ejb.EjbNamingReferenceManagerImpl.resolveEjbReference(EjbNamingReferenceManagerImpl.java:178)
          at com.sun.enterprise.container.common.impl.ComponentEnvManagerImpl$EjbReferenceProxy.create(ComponentEnvManagerImpl.java:1097)
          at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:771)
          at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:740)
          at com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:166)
          at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:538)
          ... 36 more
          Caused by: org.omg.CORBA.BAD_PARAM: FINE: IOP00100009: string_to_object conversion failed due to bad schema specific part in name SecureEjbBean__3_x_Internal_RemoteBusinessHome__ vmcid: SUN minor code: 9 completed: No
          at sun.reflect.GeneratedConstructorAccessor120.newInstance(Unknown Source)
          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
          at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
          at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:248)
          at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:95)
          at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.handleFullLogging(WrapperGenerator.java:387)
          at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.access$400(WrapperGenerator.java:107)
          at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator$2.invoke(WrapperGenerator.java:511)
          at com.sun.corba.ee.spi.orbutil.proxy.CompositeInvocationHandlerImpl.invoke(CompositeInvocationHandlerImpl.java:99)
          at $Proxy188.soBadSchemaSpecific(Unknown Source)
          at com.sun.corba.ee.impl.resolver.INSURLOperationImpl.resolveCorbaname(INSURLOperationImpl.java:227)
          at com.sun.corba.ee.impl.resolver.INSURLOperationImpl.resolveINSURL(INSURLOperationImpl.java:154)
          at com.sun.corba.ee.impl.resolver.INSURLOperationImpl.operate(INSURLOperationImpl.java:145)
          at com.sun.corba.ee.impl.orb.ORBImpl.string_to_object(ORBImpl.java:976)
          at com.sun.ejb.EjbNamingReferenceManagerImpl.resolveEjbReference(EjbNamingReferenceManagerImpl.java:171)
          ... 41 more
          Caused by: org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
          at org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(NotFoundHelper.java:72)
          at org.omg.CosNaming._NamingContextExtStub.resolve_str(_NamingContextExtStub.java:165)
          at com.sun.corba.ee.impl.resolver.INSURLOperationImpl.resolveCorbaname(INSURLOperationImpl.java:222)
          ... 45 more

          Show
          Nithya Ramakrishnan added a comment - In the latest release, the error that is obtained is pasted below, appears to be caused due to a org.omg.CosNaming.NamingContextPackage.NotFound. Here are the instructions to reproduce the issue : (Note - If machine B is not available, please use the deployed ejb at jwsse01.india.sun.com. if a Machine B is available, please change the sun-web.xml of the war file to point to the specific host) 1. Deploy the ejb on a GF v3.1 instance on say Machine A. 2. Deploy the servlet on a GF v3.1 instance on Machine B. 3. On machine B, add the following jvm-option and restart the GF instance. This jvm-option makes sure that the client instance makes a secure connection to the server instance. <jvm-options>-Dcom.sun.CSIV2.ssl.standalone.client.required=true</jvm-options> 4. Access the servlet using a browser : http://hostname(B):8080/simpleweb/simple . The error that is obtained is attached. Also, please note that this error can be reproduced even without ssl. If the <ior-security-config> element of sun-ejb-jar.xml in the ejb is commented out and redeployed in Machine A, and if the servlet is deployed in a fresh GF instance (without the additional jvm-option) in Machine B, on trying to access the servlet, the same error is obtained. [#|2010-12-21T13:12:11.563+0530|WARNING|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=17;_ThreadName=Thread-1;|StandardWrapperValve [SimpleServlet] : PWC1382: Allocate exception for servlet SimpleServlet com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class com.sun.web.test.SimpleServlet at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.createManagedObject(InjectionManagerImpl.java:317) at com.sun.enterprise.web.WebContainer.createServletInstance(WebContainer.java:701) at com.sun.enterprise.web.WebModule.createServletInstance(WebModule.java:1943) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1263) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:1070) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:189) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:170) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:817) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:718) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1007) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59) at com.sun.grizzly.ContextTask.run(ContextTask.java:71) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513) at java.lang.Thread.run(Thread.java:637) Caused by: com.sun.enterprise.container.common.spi.util.InjectionException: Exception attempting to inject Remote ejb-ref name=secureejbref,Remote 3.x interface =test.SecureEjbRemote,ejb-link=null,lookup=,mappedName=,jndi-name=corbaname:iiop:jwsse01.india.sun.com:3700#SecureEjbBean,refType=Session into class com.sun.web.test.SimpleServlet at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:698) at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:468) at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:146) at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:132) at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.createManagedObject(InjectionManagerImpl.java:311) ... 28 more Caused by: javax.naming.NamingException: Lookup failed for 'java:comp/env/secureejbref' in SerialContext[targetHost=null,targetPort=null [Root exception is javax.naming.NamingException: Exception resolving Ejb for 'Remote ejb-ref name=secureejbref,Remote 3.x interface =test.SecureEjbRemote,ejb-link=null,lookup=,mappedName=,jndi-name=corbaname:iiop:jwsse01.india.sun.com:3700#SecureEjbBean,refType=Session' . Actual (possibly internal) Remote JNDI name used for lookup is 'corbaname:iiop:jwsse01.india.sun.com:3700#SecureEjbBean__3_x_Internal_RemoteBusinessHome__' [Root exception is org.omg.CORBA.BAD_PARAM: FINE: IOP00100009: string_to_object conversion failed due to bad schema specific part in name SecureEjbBean__3_x_Internal_RemoteBusinessHome__ vmcid: SUN minor code: 9 completed: No] ] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:561) at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:491) at javax.naming.InitialContext.lookup(InitialContext.java:392) at javax.naming.InitialContext.lookup(InitialContext.java:392) at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:597) ... 32 more Caused by: javax.naming.NamingException: Exception resolving Ejb for 'Remote ejb-ref name=secureejbref,Remote 3.x interface =test.SecureEjbRemote,ejb-link=null,lookup=,mappedName=,jndi-name=corbaname:iiop:jwsse01.india.sun.com:3700#SecureEjbBean,refType=Session' . Actual (possibly internal) Remote JNDI name used for lookup is 'corbaname:iiop:jwsse01.india.sun.com:3700#SecureEjbBean__3_x_Internal_RemoteBusinessHome__' [Root exception is org.omg.CORBA.BAD_PARAM: FINE: IOP00100009: string_to_object conversion failed due to bad schema specific part in name SecureEjbBean__3_x_Internal_RemoteBusinessHome__ vmcid: SUN minor code: 9 completed: No] at com.sun.ejb.EjbNamingReferenceManagerImpl.resolveEjbReference(EjbNamingReferenceManagerImpl.java:178) at com.sun.enterprise.container.common.impl.ComponentEnvManagerImpl$EjbReferenceProxy.create(ComponentEnvManagerImpl.java:1097) at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:771) at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:740) at com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:166) at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:538) ... 36 more Caused by: org.omg.CORBA.BAD_PARAM: FINE: IOP00100009: string_to_object conversion failed due to bad schema specific part in name SecureEjbBean__3_x_Internal_RemoteBusinessHome__ vmcid: SUN minor code: 9 completed: No at sun.reflect.GeneratedConstructorAccessor120.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:248) at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:95) at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.handleFullLogging(WrapperGenerator.java:387) at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.access$400(WrapperGenerator.java:107) at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator$2.invoke(WrapperGenerator.java:511) at com.sun.corba.ee.spi.orbutil.proxy.CompositeInvocationHandlerImpl.invoke(CompositeInvocationHandlerImpl.java:99) at $Proxy188.soBadSchemaSpecific(Unknown Source) at com.sun.corba.ee.impl.resolver.INSURLOperationImpl.resolveCorbaname(INSURLOperationImpl.java:227) at com.sun.corba.ee.impl.resolver.INSURLOperationImpl.resolveINSURL(INSURLOperationImpl.java:154) at com.sun.corba.ee.impl.resolver.INSURLOperationImpl.operate(INSURLOperationImpl.java:145) at com.sun.corba.ee.impl.orb.ORBImpl.string_to_object(ORBImpl.java:976) at com.sun.ejb.EjbNamingReferenceManagerImpl.resolveEjbReference(EjbNamingReferenceManagerImpl.java:171) ... 41 more Caused by: org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0 at org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(NotFoundHelper.java:72) at org.omg.CosNaming._NamingContextExtStub.resolve_str(_NamingContextExtStub.java:165) at com.sun.corba.ee.impl.resolver.INSURLOperationImpl.resolveCorbaname(INSURLOperationImpl.java:222) ... 45 more
          Hide
          Nithya Ramakrishnan added a comment -

          Assigning to Harold, for investigating the error in the latest builds. (pasted in a previous comment)

          Show
          Nithya Ramakrishnan added a comment - Assigning to Harold, for investigating the error in the latest builds. (pasted in a previous comment)
          Hide
          haroldcarr added a comment -

          I ran the test on two machine (server logs attached).

          This is most likely still the same issue as:

          http://java.net/jira/browse/GLASSFISH-14302

          The server side ORB has 3700 set up for IIOP_CLEAR_TEXT.

          But the client is using SSL on 3700.

          There is a configuration problem somewhere outside the ORB code that is most likely causing this problem. The configuration problem could be in the test code or in GF code.

          Most likely 14302 should be listed as a blocker of this bug, since 14302 is easier to setup.

          Show
          haroldcarr added a comment - I ran the test on two machine (server logs attached). This is most likely still the same issue as: http://java.net/jira/browse/GLASSFISH-14302 The server side ORB has 3700 set up for IIOP_CLEAR_TEXT. But the client is using SSL on 3700. There is a configuration problem somewhere outside the ORB code that is most likely causing this problem. The configuration problem could be in the test code or in GF code. Most likely 14302 should be listed as a blocker of this bug, since 14302 is easier to setup.
          Hide
          Nithya Ramakrishnan added a comment -

          After the latest orb integration, this test case works with both 3700 and 3820 ports in the corbaname.

          corbaname:iiop:jwsse01.india.sun.com:3820#SecureEjbBean

          Closing the issue.

          Show
          Nithya Ramakrishnan added a comment - After the latest orb integration, this test case works with both 3700 and 3820 ports in the corbaname. corbaname:iiop:jwsse01.india.sun.com:3820#SecureEjbBean Closing the issue.

            People

            • Assignee:
              Nithya Ramakrishnan
              Reporter:
              mjremijan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: