History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: GRVY-1448
Type: Exception Exception
Status: Open Open
Priority: Normal Normal
Assignee: Ilya Sergey
Reporter: Owen Rogers
Votes: 0
Watchers: 1
Operations

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

Exception creating InitialContext for connecting to JMS queue

Created: 01 May 08 21:30   Updated: 16 Aug 08 14:10
Component/s: Run & Debug
Affects Version/s: jetgroovy 1.5
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Mac OSX 10.5, JetGroovy 1.5.16023


 Description  « Hide
This script worked prior to upgrading to JetGroovy 1.5. I did however upgrade IntelliJ from 7.0.2 to 7.0.3 at the same – so that could be the problem.
This script is runs fine through Eclipse and their Groovy plugin.

The JMSConnectionFactory code looks like:

Properties jmsContextProperties = new Properties();
jmsContextProperties.setProperty("org.omg.CORBA.ORBInitialHost", ORB_HOST)
jmsContextProperties.setProperty("org.omg.CORBA.ORBInitialPort", ORB_PORT)
jmsContextProperties.setProperty("java.naming.factory.initial", NAMING_FACTORY_INIT)
jmsContextProperties.setProperty("java.naming.factory.url.pkgs", NAMING_FACTORY_URL_PKGS)
jmsContextProperties.setProperty("java.naming.factory.state", NAMING_FACTORY_STATE)
jmsContextProperties.setProperty("com.sun.corba.ee.transport.ORBCommunicationsRetryTimeout", ORB_COMM_RETRY_TIMEOUT)
ictx = new InitialContext(jmsContextProperties);

May 1, 2008 6:39:13 AM com.sun.enterprise.util.ORBManager initORB
SEVERE: 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:180)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at com.seg.firefly.controller.JMSConnectionFactory.connect(JMSConnectionFactory.java:95)



 All   Comments   Work Log   Change History      Sort Order:
Ilya Sergey - 16 Aug 08 14:10
Sorry, but we were not able to reproduce it without some example. Could you provide it?