[User] Name [COMM_TEST_JNDI] is not bound in this Context. Unable to find [COMM_TEST_JNDI]
Dave Woodman
dave at naffnet.org.uk
Tue Dec 8 06:45:44 GMT 2020
Sachin,
The error message tells you exactly what is wrong in this case:
lineNumber: 16; columnNumber: 43; cvc-enumeration-valid: Value 'DataSource'
is not facet-valid with respect to enumeration '[Datasource, XADatasource]'.
So, look at line 16 and change it to one of the two permitted values.
-----Original Message-----
From: User <user-bounces at lists.open-esb.net> On Behalf Of Sachin Mallarappa
Sent: 08 December 2020 05:00
To: user at lists.open-esb.net
Subject: Re: [User] Name [COMM_TEST_JNDI] is not bound in this Context.
Unable to find [COMM_TEST_JNDI]
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(Ab
stractUnmarshallerImpl.java:335)
at
com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnm
arshalException(UnmarshallerImpl.java:563)
at
com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
0(UnmarshallerImpl.java:249)
at
com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
(UnmarshallerImpl.java:214)
at
javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshall
erImpl.java:157)
at
javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshall
erImpl.java:162)
at
javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshall
erImpl.java:171)
at
net.openesb.standalone.naming.jndi.JAXBContextReader.getContext(JAXBContextR
eader.java:67)
at
net.openesb.standalone.naming.jndi.AbstractContextFactory.loadContexts(Abstr
actContextFactory.java:72)
at
net.openesb.standalone.naming.jndi.AbstractContextFactory.loadContexts(Abstr
actContextFactory.java:47)
at
net.openesb.standalone.naming.jndi.InitialContexFactoryImpl.getInitialContex
t(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.jav
a:55)
at
com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderT
oInternalFactoryAdapter.java:46)
at
com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031
)
at
com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToIn
ternalFactoryAdapter.java:40)
at com.google.inject.Scopes$1$1.get(Scopes.java:65)
at
com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFact
oryToProviderAdapter.java:40)
at
com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.ja
va:53)
at
com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjector
Impl.java:110)
at
com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector
.java:94)
at
com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBin
dingImpl.java:254)
at
com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
at
com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderT
oInternalFactoryAdapter.java:46)
at
com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031
)
at
com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToIn
ternalFactoryAdapter.java:40)
at com.google.inject.Scopes$1$1.get(Scopes.java:65)
at
com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFact
oryToProviderAdapter.java:40)
at
com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.ja
va:53)
at
com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjector
Impl.java:110)
at
com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.ja
va:75)
at
com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.ja
va:73)
at
com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024
)
at
com.google.inject.internal.MembersInjectorImpl.injectAndNotify(MembersInject
orImpl.java:73)
at
com.google.inject.internal.Initializer$InjectableReference.get(Initializer.j
ava:147)
at
com.google.inject.internal.Initializer.injectAll(Initializer.java:92)
Thanks,
Sachin M
--
Sent from: http://openesb-community-forum.794670.n2.nabble.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.open-esb.net/pipermail/user/attachments/20201208/19d38847/attachment-0001.htm>
More information about the User
mailing list