wood burning stoves 2.0*
The moose likes Spring and the fly likes javax.naming.ServiceUnavailableException: URL:corbaloc:rir:/NameServiceServerRoot Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "javax.naming.ServiceUnavailableException: URL:corbaloc:rir:/NameServiceServerRoot" Watch "javax.naming.ServiceUnavailableException: URL:corbaloc:rir:/NameServiceServerRoot" New topic
Author

javax.naming.ServiceUnavailableException: URL:corbaloc:rir:/NameServiceServerRoot

sudarsana reddy
Greenhorn

Joined: Mar 18, 2008
Posts: 3
Hi

I have implemented ApplicationContextAware and able to get the applicationContext. Using applcationContext I am able to get the bean reference for first 3 or 4 attempts. After that when I am trying to get bean reference using ApplcationContext I am getting the following error stacktrace

com.waveset.util.WavesetException: Can't call method getEprBean on class com.ms.epr.util.EprEntlBeanFactory ==> org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bulkEntitlement' defined in ServletContext resource [/WEB-INF/context/repository-config.xml]: Cannot resolve reference to bean 'eprSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eprSessionFactory' defined in ServletContext resource [/WEB-INF/context/hibernate-config.xml]: Cannot resolve reference to bean 'eprParentDataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eprParentDataSource' defined in ServletContext resource [/WEB-INF/context/datasource-config.xml]: Invocation of init method failed; nested exception is javax.naming.ServiceUnavailableException: A communication failure occurred while attempting to obtain an initial context with the provider URL: "corbaloc:rir:/NameServiceServerRoot". Make sure that any bootstrap address information in the URL is correct and that the target name server is running. A bootstrap address with no port specification defaults to port 2809. Possible causes other than an incorrect bootstrap address or unavailable name server include the network environment and workstation network configuration. [Root exception is org.omg.CORBA.BAD_INV_ORDER: ORB has been shut down vmcid: OMG minor code: 4 completed: No] at com.waveset.util.Reflection.invoke(Reflection.java:908) at
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javax.naming.ServiceUnavailableException: URL:corbaloc:rir:/NameServiceServerRoot
 
Similar Threads
Unable to run Spring DHB examples
Struts 2 tutorial errors
Context Initialization Failed
deploy spring application in JBoss
Tomcat 5.5 SEVERE: Error listenerStart