Issue Details (XML | Word | Printable)

Key: GLASSFISH-14584
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Nithya Ramakrishnan
Reporter: mjremijan
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
glassfish

Servlet not able to make SSL connection to EJB

Created: 10/Nov/10 09:03 AM   Updated: 24/Dec/10 03:32 AM   Resolved: 24/Dec/10 03:32 AM
Component/s: orb
Affects Version/s: 3.1
Fix Version/s: 3.1_ms08

Time Tracking:
Not Specified

File Attachments: 1. Text File 2010-12-22-1549-server.log (4 kB) 22/Dec/10 05:00 PM - haroldcarr
2. Text File 2010-12-22-1555-client.log (10 kB) 22/Dec/10 05:00 PM - haroldcarr
3. Text File error.log (7 kB) 29/Nov/10 04:49 AM - Nithya Ramakrishnan
4. Zip Archive SecureEjb.zip (18 kB) 21/Dec/10 04:05 AM - Nithya Ramakrishnan
5. Zip Archive TestSimpleWeb.zip (27 kB) 21/Dec/10 04:05 AM - Nithya Ramakrishnan

Environment:

Operating System: All
Platform: All

Issue Links:
Duplicate
 

Issuezilla Id: 14,584
Tags:
Participants: Chris Kasso, haroldcarr, Ken Cavanaugh, kumarjayanti, mjremijan and Nithya Ramakrishnan


 Description  « Hide

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..



Ken Cavanaugh added a comment - 10/Nov/10 09:56 AM

Re-assigning this to the security team to take a look.
If it an ORB or naming problem, please re-assign appropriately.


mjremijan added a comment - 11/Nov/10 07:35 AM

When needed, I can supply simple Maven projects which demonstrate the following:
1) EJB deployment and configuration
2) appclient configuration
3) appclient executes successfully.
4) WAR deployment and configuration
5) WAR executes and Fails.
6) cacerts.jks & keystore.jks configuration for both glassfish instances
7) sun-acc.xml configuration on web-tier glassfish instance.


Chris Kasso added a comment - 17/Nov/10 10:16 AM

Per Ken reassigning to security team.


kumarjayanti added a comment - 18/Nov/10 01:23 AM

adding target


Nithya Ramakrishnan added a comment - 29/Nov/10 04:47 AM

Secure communication between the servlet and the remote ejb (on a remote server) is possible and is working withe the following setup:

WIth the following <ior-security-config> in the EJB :
<ior-security-config>
<transport-config>
<integrity>
required
</integrity>
<confidentiality>
required
</confidentiality>
<establish-trust-in-target>SUPPORTED</establish-trust-in-target>
<establish-trust-in-client>REQUIRED</establish-trust-in-client>
</transport-config>
<sas-context>
<caller-propagation>supported</caller-propagation>
</sas-context>
</ior-security-config>

and the following annotation in the servlet:

@EJB(name="secureejbref")
private SecureEjbRemote secureRemote;

and the following element in sun-web.xml:

<ejb-ref>
<ejb-ref-name>secureejbref</ejb-ref-name>
<jndi-name>corbaname:iiop:eas146.india.sun.com:3700#SecureEjbBean</jndi-name>
</ejb-ref>

and the following jvm-option added to the client (servlet) domain.xml:

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

secure communication happens between the servlet and the EJB.

However the user has further requested to make all the communication between server and client to be secure. If the initial communication (naming service lookup that runs on port 3700) should also be made secure, then the iiop listener orb-listener-1 of the server instance should also be made secure thus :

<iiop-listener port="3700" id="orb-listener-1" address="0.0.0.0" security-enabled="true">
<ssl classname="com.sun.enterprise.security.ssl.GlassfishSSLImpl" cert-nickname="s1as"></ssl>
</iiop-listener>

However, with the above configuration of the orb-listener-1 in the server-config, an ejb deployment fails, with the attached exception.
Assigning this to orb to analyze what might be causing the ORB initialization error when the orb-listener-1" port is made secure, in order to secure the naming service.


Nithya Ramakrishnan added a comment - 29/Nov/10 04:49 AM

Error while deploying an ejb on an instance which has the orb-listener secured.


Ken Cavanaugh added a comment - 03/Dec/10 03:13 PM

I don't believe you can ever make iiop-listener-1 secure and have anything work
correctly. The code in IIOPSSLSocketFactory (among other things) ASSUMES that
any ORB listener that does NOT start with SSL does not use SSL for the transport,
and so createServerSocket will always create a plan ServerSocket.

Instead, I believe you need to set the iiop-listener-1 port number to 0,
which should cause the ORB to ignore the clear text port and force the
usage of SSL. I think this is probably documented somewhere, but I don't know where.


kumarjayanti added a comment - 06/Dec/10 01:42 AM - edited

Ken,

Can you tell us where in the code is there a dependence on the IIOP Listeners ID attribute (beginning with SSL). I do not see any such assumption in security code atleast.

Also we have another bug with very similar stack trace :

http://java.net/jira/browse/GLASSFISH-14302
(Error in GIOP magic org.omg.CORBA.INTERNAL: WARNING: IOP00710020: Error in GIOP magic vmcid: OMG )
This one apparently is a regression. The test fails since b26 but passed against b25.

Can you tell us what could be wrong.

Meantime for issue 14584 nithya will try out setting the port to 0 as you suggested and let you know. If you can point us to the documentation that you mentioned that will be useful.


Nithya Ramakrishnan added a comment - 07/Dec/10 04:32 AM

Ken,

In the latest builds, SSL connection to the 3700 listener fails even without security-enabled in the listener. This was found to be working as reported previously in the comments on 29 Nov.

The error is as follows:
org.omg.CORBA.INTERNAL: WARNING: IOP00710020: Error in GIOP magic vmcid: OMG minor code: 20 completed: Maybe
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
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 $Proxy110.giopMagicError(Unknown Source)
at com.sun.corba.ee.impl.protocol.giopmsgheaders.MessageBase.parseGiopHeader(MessageBase.java:201)
at com.sun.corba.ee.impl.protocol.MessageParserImpl.parseBytes(MessageParserImpl.java:216)

A similar error is reported in issue 14302.

Steps to reproduce the issue: Deploy an EJB with the above ior-security-config (reproduced in the comment on Nov 29). Inject the EJB reference in a servlet with the above ejb-ref and invoke the remote EJB method in the servlet. Deploy the servlet in a remote GlassFish instance.Add the jvm-option : <jvm-options>-Dcom.sun.CSIV2.ssl.standalone.client.required=true</jvm-options> to the GlassFish instances' domain.xml files. Invoke the servlet.
SSL connection should be successful. However it fails with the above error in the latest builds.


Ken Cavanaugh added a comment - 15/Dec/10 11:32 AM

Reassigning to Harold.


haroldcarr added a comment - 17/Dec/10 08:50 AM

For me to work on this bug, I need a reproducible test case.


haroldcarr added a comment - 17/Dec/10 10:13 AM

Note: When I say "I need a reproducible test case" I mean please attach real code - not instructions for how to write the test case.


haroldcarr added a comment - 20/Dec/10 02:45 PM

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.


Nithya Ramakrishnan added a comment - 21/Dec/10 04:04 AM

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


Nithya Ramakrishnan added a comment - 21/Dec/10 04:07 AM

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


haroldcarr added a comment - 22/Dec/10 05:00 PM

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.


Nithya Ramakrishnan added a comment - 24/Dec/10 03:32 AM

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.