[User] Name [COMM_TEST_JNDI] is not bound in this Context. Unable to find [COMM_TEST_JNDI]

Sachin Mallarappa sachin.m at inspirage.com
Tue Dec 8 05:00:29 GMT 2020


Dave,

As suggested,

I changed the property to serverName,

Getting the below error now while starting,

Can you please let know, what should be the resource type ? for Mysql DB
as of now I'm using  <resource-type>*DataSource*</resource-type>

---------------------------------------------------------------------------
logs ---------------------------------

2020-12-08T04:42:29.603+0000 INFO
[net.openesb.standalone.naming.jndi.AbstractContextFactory] (main)
OESE-1406: Loading context from
/u01/openesb/COMMUNITY/OpenESB-SE-3.2.4/OE-Instance/config/context.xml.
2020-12-08T04:42:29.624+0000 SEVERE
[net.openesb.standalone.naming.jndi.AbstractContextFactory] (main)
OESE-1403: Context URL
</u01/openesb/COMMUNITY/OpenESB-SE-3.2.4/OE-Instance/config/context.xml> is
malformed.
javax.xml.bind.UnmarshalException
 - with linked exception:
*[org.xml.sax.SAXParseException; systemId:
file:/u01/openesb/COMMUNITY/OpenESB-SE-3.2.4/OE-Instance/config/context.xml;
lineNumber: 16; columnNumber: 43; cvc-enumeration-valid: Value 'DataSource'
is not facet-valid with respect to enumeration '[Datasource, XADatasource]'.
It must be a value from the enumeration.]
	at
*javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:335)
	at
com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:563)
	at
com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:249)
	at
com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:214)
	at
javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:157)
	at
javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:162)
	at
javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:171)
	at
net.openesb.standalone.naming.jndi.JAXBContextReader.getContext(JAXBContextReader.java:67)
	at
net.openesb.standalone.naming.jndi.AbstractContextFactory.loadContexts(AbstractContextFactory.java:72)
	at
net.openesb.standalone.naming.jndi.AbstractContextFactory.loadContexts(AbstractContextFactory.java:47)
	at
net.openesb.standalone.naming.jndi.InitialContexFactoryImpl.getInitialContext(InitialContexFactoryImpl.java:48)
	at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
	at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)
	at javax.naming.InitialContext.init(InitialContext.java:244)
	at javax.naming.InitialContext.<init>(InitialContext.java:216)
	at
net.openesb.standalone.naming.ContextProvider.get(ContextProvider.java:61)
	at
net.openesb.standalone.naming.ContextProvider.get(ContextProvider.java:23)
	at
com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:55)
	at
com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
	at
com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
	at
com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
	at com.google.inject.Scopes$1$1.get(Scopes.java:65)
	at
com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
	at
com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:53)
	at
com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:110)
	at
com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:94)
	at
com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
	at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
	at
com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
	at
com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
	at
com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
	at com.google.inject.Scopes$1$1.get(Scopes.java:65)
	at
com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
	at
com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:53)
	at
com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:110)
	at
com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:75)
	at
com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:73)
	at
com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
	at
com.google.inject.internal.MembersInjectorImpl.injectAndNotify(MembersInjectorImpl.java:73)
	at
com.google.inject.internal.Initializer$InjectableReference.get(Initializer.java:147)
	at com.google.inject.internal.Initializer.injectAll(Initializer.java:92)


Thanks,
Sachin M




--
Sent from: http://openesb-community-forum.794670.n2.nabble.com/


More information about the User mailing list