Re: check-out problem

  • From: Ken Cavanaugh <Ken.Cavanaugh@Sun.COM>
  • To: users@gf-corba-v3-mirror.kenai.com, oliver.hessel@googlemain.com
  • Cc: Ken Cavanaugh <Ken.Cavanaugh@Sun.COM>, corba-dev <corba-dev@Sun.COM>
  • Subject: Re: check-out problem
  • Date: Thu, 24 Sep 2009 10:30:15 -0700


On Sep 24, 2009, at 9:49 AM, Oliver Hessel wrote:

Hi,
I am sorry to bug you with this, but I don't know whom to ask.


How can I check-out the sources of  GlassFish v2 ORB,
I tried with subversion but it did not work as described in Kenai Wiki.

GF corba uses mercurial, not svn for source code management.  You can get the source code
using the hg clone command, e.g.

hg clone https://kenai.com/hg/gf-corba-v3-mirror~gfv2-master gfv2

But for debugging purposes, you really want the renamed source, which you will need to build (for GFv2).
You'll need gnumake 3.77 or later (for GFv2 only) and ant 1.7.1 or later.
To build the renamed source:

  • cd gfv2 (from the above clone command)
  • cd make
  • gnumake -f Makefile.corba rename
  • Your renamed source will be in gfv2/build/rename/ee
    • You'll need src/share/classes and optional/src/share/classes

But none of this is relevant for the problem below.


I need the source for debugging my issues that I have with glassfish.

best regards,

Oliver

PS:
Here's the exception I try to debug:

24.09.2009 18:47:54 com.sun.enterprise.util.ORBManager initORB
SCHWERWIEGEND: UTIL6009:Unexcpected Exception in createORB.
org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation com.sun.corba.ee.impl.orb.ORBImpl  vmcid: 0x0  minor code: 0  completed: No
   at org.omg.CORBA.ORB.create_impl(ORB.java:326)
   at org.omg.CORBA.ORB.init(ORB.java:365)
   at com.sun.enterprise.util.ORBManager.initORB(ORBManager.java:546)
   at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:278)
   at com.sun.enterprise.naming.SerialInitContextFactory.getInitialContext(SerialInitContextFactory.java:178)
   at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
   at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
   at javax.naming.InitialContext.init(Unknown Source)
   at javax.naming.InitialContext.<init>(Unknown Source)

This is an unusual exception to get in GFv2.  The only way this could happen is if 
the ORBImpl class is not present in appserv-rt.jar (which you should check).
I don't see how that can happen: appserv-rt.jar should contain everything needed in GFv2.
Note that the org.omg.CORBA.ORB code is in the JDK (although sometimes we have delivered
a nearly identical version of this class into GlassFish, but I don't think we are doing that anymore).

Ken.

Ken.


check-out problem

Oliver Hessel 09/24/2009

Re: check-out problem

dy220099 09/24/2009

Re: check-out problem

Ken Cavanaugh 09/24/2009

Re: check-out problem

Oliver Hessel 09/24/2009
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120127.ac94057)
 
 
Close
loading
Please Confirm
Close