Stefan Guilhen [
http://community.jboss.org/people/sguilhen] created the discussion
"Re: IIOP Subsystem Issues"
To view the discussion, visit:
http://community.jboss.org/message/606179#606179
--------------------------------------------------------------
I've enabled the TRACE debug level for org.jboss.modules and here's what I've
found out so far:
- When the startup succeeds, the javax.rmi.CORBA.Stub is loaded and defined from the
javax.rmi.api module. Then the server attempts to load the
com.sun.corba.se.impl.javax.rmi.CORBA.StubDelegateImpl class from the same module. It
shows that this class can't be loaded from this module but the server goes on and
starts correctly. No other entries involving this class are found:
18:30:17,470 TRACE [org.jboss.modules] (MSC service thread 1-14) Finding class
javax.rmi.CORBA.Stub from Module "org.jacorb:main" from local module loader
@6b86768e (roots:
/home/sguilhen/Workspace/workspace-jboss/jboss-as/build/target/jboss-7.0.0.Beta4-SNAPSHOT/modules)
18:30:17,470 TRACE [org.jboss.modules] (MSC service thread 1-14) Finding local class
javax.rmi.CORBA.Stub from Module "javax.rmi.api:main" from local module loader
@6b86768e (roots:
/home/sguilhen/Workspace/workspace-jboss/jboss-as/build/target/jboss-7.0.0.Beta4-SNAPSHOT/modules)
18:30:17,470 TRACE [org.jboss.modules] (MSC service thread 1-14) Loading class
javax.rmi.CORBA.Stub locally from Module "javax.rmi.api:main" from local module
loader @6b86768e (roots:
/home/sguilhen/Workspace/workspace-jboss/jboss-as/build/target/jboss-7.0.0.Beta4-SNAPSHOT/modules)
18:30:17,471 TRACE [org.jboss.modules] (MSC service thread 1-14) Attempting to define
class javax.rmi.CORBA.Stub in Module "javax.rmi.api:main" from local module
loader @6b86768e (roots:
/home/sguilhen/Workspace/workspace-jboss/jboss-as/build/target/jboss-7.0.0.Beta4-SNAPSHOT/modules)
...
18:30:17,472 TRACE [org.jboss.modules] (MSC service thread 1-14) Defined class
javax.rmi.CORBA.Stub in Module "javax.rmi.api:main" from local module loader
@6b86768e (roots:
/home/sguilhen/Workspace/workspace-jboss/jboss-as/build/target/jboss-7.0.0.Beta4-SNAPSHOT/modules)
...
18:30:17,485 TRACE [org.jboss.modules] (MSC service thread 1-14) Finding class
com.sun.corba.se.impl.javax.rmi.CORBA.StubDelegateImpl from Module
"javax.rmi.api:main" from local module loader @6b86768e (roots:
/home/sguilhen/Workspace/workspace-jboss/jboss-as/build/target/jboss-7.0.0.Beta4-SNAPSHOT/modules)
18:30:17,485 TRACE [org.jboss.modules] (MSC service thread 1-14) Class
com.sun.corba.se.impl.javax.rmi.CORBA.StubDelegateImpl not found from Module
"javax.rmi.api:main" from local module loader @6b86768e (roots:
/home/sguilhen/Workspace/workspace-jboss/jboss-as/build/target/jboss-7.0.0.Beta4-SNAPSHOT/modules)
- When the startup fails, javax.rmi.CORBA.Stub is loaded just like shown before, but when
the server attempts to load the StubDelegateImpl, two modules are involved: javax.rmi.api
and org.jboss.as.standalone. After that, the logs show that org.jboss.as.standalone
attempts to load javax.rmi.CORBA.Stub, which ultimately loads the JDK version of the class
we see in the exception.
18:25:04,039 TRACE [org.jboss.modules] (MSC service thread 1-1) Finding class
com.sun.corba.se.impl.javax.rmi.CORBA.StubDelegateImpl from Module
"javax.rmi.api:main" from local module loader @6b86768e (roots:
/home/sguilhen/Workspace/workspace-jboss/jboss-as/build/target/jboss-7.0.0.Beta4-SNAPSHOT/modules)
18:25:04,039 TRACE [org.jboss.modules] (MSC service thread 1-1) Class
com.sun.corba.se.impl.javax.rmi.CORBA.StubDelegateImpl not found from Module
"javax.rmi.api:main" from local module loader @6b86768e (roots:
/home/sguilhen/Workspace/workspace-jboss/jboss-as/build/target/jboss-7.0.0.Beta4-SNAPSHOT/modules)
18:25:04,040 TRACE [org.jboss.modules] (MSC service thread 1-1) Finding class
com.sun.corba.se.impl.javax.rmi.CORBA.StubDelegateImpl from Module
"org.jboss.as.standalone:main" from local module loader @6b86768e (roots:
/home/sguilhen/Workspace/workspace-jboss/jboss-as/build/target/jboss-7.0.0.Beta4-SNAPSHOT/modules)
18:25:04,040 TRACE [org.jboss.modules] (MSC service thread 1-1) Class
com.sun.corba.se.impl.javax.rmi.CORBA.StubDelegateImpl not found from Module
"org.jboss.as.standalone:main" from local module loader @6b86768e (roots:
/home/sguilhen/Workspace/workspace-jboss/jboss-as/build/target/jboss-7.0.0.Beta4-SNAPSHOT/modules)
...
18:25:04,043 TRACE [org.jboss.modules] (MSC service thread 1-1) Finding class
javax.rmi.CORBA.Stub from Module "org.jboss.as.standalone:main" from local
module loader @6b86768e (roots:
/home/sguilhen/Workspace/workspace-jboss/jboss-as/build/target/jboss-7.0.0.Beta4-SNAPSHOT/modules)
18:25:04,043 TRACE [org.jboss.modules] (MSC service thread 1-1) Class javax.rmi.CORBA.Stub
not found from Module "org.jboss.as.standalone:main" from local module loader
@6b86768e (roots:
/home/sguilhen/Workspace/workspace-jboss/jboss-as/build/target/jboss-7.0.0.Beta4-SNAPSHOT/modules)
In this case, the org.jboss.as.standalone module attempts to load the class right after
the javax.rmi.api module fails to do so and this messes up everything. I even found the
following entry:
18:25:04,046 TRACE [org.jboss.modules] (MSC service thread 1-1) Finding class
org.jboss.as.iiop.service.CorbaNamingService from Module
"org.jboss.as.standalone:main" from local module loader @6b86768e (roots:
/home/sguilhen/Workspace/workspace-jboss/jboss-as/build/target/jboss-7.0.0.Beta4-SNAPSHOT/modules)
18:25:04,046 TRACE [org.jboss.modules] (MSC service thread 1-1) Class
org.jboss.as.iiop.service.CorbaNamingService not found from Module
"org.jboss.as.standalone:main" from local module loader @6b86768e (roots:
/home/sguilhen/Workspace/workspace-jboss/jboss-as/build/target/jboss-7.0.0.Beta4-SNAPSHOT/modules)
For some reason, org.jboss.as.standalone is attempting to load the CorbaNamingService
class which should be visible to the org.jboss.as.iiop module only.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/606179#606179]
Start a new discussion in JBoss AS7 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]