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

Dave Woodman dave at naffnet.org.uk
Sat Dec 5 09:49:40 GMT 2020


Hi Sachin,

Your context.xml file at
/u01/openesb/COMMUNITY/OpenESB-SE-3.2.4/OE-Instance/config/context.xml does
not appear to be defining any datasources. Are you using an XML aware editor
to change it?

What you should see is something like the below, which I have taken from my
system - note the statements regarding the creation of the datasources.

2020-12-04T23:23:27.407+0000 INFO
[net.openesb.standalone.naming.jndi.AbstractContextFactory] (main)
OESE-1406: Loading context from
D:\Users\dave\Desktop\OpenESB-SE-3.2.4\OE-Instance\config\context.xml.
2020-12-04T23:23:27.428+0000 INFO
[net.openesb.standalone.naming.jndi.InitialContexFactoryImpl] (main)
Creation Datasource for IEPSEDBNonXA in process
2020-12-04T23:23:27.429+0000 INFO
[net.openesb.standalone.naming.jndi.ds.tomcat.TomcatDataSourcePoolFactory]
(main) OESE-1502: Trying to create datasource postgres IEPNonXAPool
2020-12-04T23:23:27.441+0000 INFO
[net.openesb.standalone.naming.jndi.ds.tomcat.TomcatDataSourcePoolFactory]
(main) OESE-1506: Datasource properties have been settled for postgres
IEPNonXAPool
2020-12-04T23:23:27.442+0000 INFO
[net.openesb.standalone.naming.jndi.ds.tomcat.TomcatDataSourcePoolFactory]
(main) Native Data Source Enabled
2020-12-04T23:23:31.262+0000 INFO
[net.openesb.standalone.naming.jndi.InitialContexFactoryImpl] (main)
Datasource for IEPSEDBNonXA has been processed and bind with success
2020-12-04T23:23:31.263+0000 INFO
[net.openesb.standalone.naming.jndi.InitialContexFactoryImpl] (main)
Creation XADatasource for IEPSEDBXA in process
2020-12-04T23:23:31.265+0000 INFO
[net.openesb.standalone.naming.jndi.ds.tomcat.TomcatDataSourcePoolFactory]
(main) OESE-1502: Trying to create datasource postgresIEPXAPool
2020-12-04T23:23:31.267+0000 INFO
[net.openesb.standalone.naming.jndi.ds.tomcat.TomcatDataSourcePoolFactory]
(main) OESE-1506: Datasource properties have been settled for
postgresIEPXAPool
2020-12-04T23:23:31.268+0000 INFO
[net.openesb.standalone.naming.jndi.ds.tomcat.TomcatDataSourcePoolFactory]
(main) Native Data Source Enabled
2020-12-04T23:23:34.939+0000 INFO
[net.openesb.standalone.naming.jndi.InitialContexFactoryImpl] (main)
XADatasource for IEPSEDBXA has been processed and bind with s

My context.xml does not contain hostname, it contains serverName

                <property>
                    <name>serverName</name>
                    <value>sandbox</value>
                    <description></description>
                </property

Dave


-----Original Message-----
From: User <user-bounces at lists.open-esb.net> On Behalf Of Sachin Mallarappa
Sent: 05 December 2020 00:28
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,

I have captured the logs,

This one I'm testing on the Linux server.

To be specific in place of hostname I'm giving the server IP <property>
			<name>hostName</name>
			<value>193.xxx.xxx.xxx</value>
			<description/>
		</property>

Thanks for pointing out on Training and support, currently working on some
POCs and understand openESB and will definitely keep you posted

PS: i dont see any issue from Starting and Ending of the logs
----------------------------------------------------------------------------
------------
2020-12-04T10:38:07.375+0000 INFO
[net.openesb.standalone.node.internal.InstanceNode] (main) OESE-1001:
Initializing a new instance...
2020-12-04T10:38:07.439+0000 INFO [net.openesb.standalone.node.internal]
(main) OESE-1300: Trying to load configuration from
/u01/openesb/COMMUNITY/OpenESB-SE-3.2.4/OE-Instance/config/openesb.yaml
2020-12-04T10:38:07.526+0000 INFO [net.openesb.standalone.node.internal]
(main) OESE-1301: Configuration loaded from
/u01/openesb/COMMUNITY/OpenESB-SE-3.2.4/OE-Instance/config/openesb.yaml
2020-12-04T10:38:07.822+0000 INFO
[net.openesb.standalone.security.SecurityProviderImpl] (main) OESE-1200:
Loading security realms from configuration.
2020-12-04T10:38:07.826+0000 INFO
[net.openesb.standalone.security.realm.impl.PropertiesRealmHandler] (main)
OESE-1206: Creating properties realm using file:
/u01/openesb/COMMUNITY/OpenESB-SE-3.2.4/OE-Instance/config/mgmt-users.proper
ties.
2020-12-04T10:38:07.871+0000 INFO
[net.openesb.standalone.security.SecurityProviderImpl] (main) OESE-1202:
Management Realm <management> has been correctly configured.
2020-12-04T10:38:07.873+0000 INFO
[net.openesb.standalone.naming.ContextProvider] (main) OESE-1400: *Preparing
JNDI Naming Context from
/u01/openesb/COMMUNITY/OpenESB-SE-3.2.4/OE-Instance/config/context.xml.*
2020-12-04T10:38:08.018+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-04T10:38:08.035+0000 INFO
[net.openesb.standalone.node.internal.InstanceNode] (main) OESE-1002:
Instance server initialized.*
2020-12-04T10:38:08.036+0000 INFO
[net.openesb.standalone.node.internal.InstanceNode] (main) OESE-1003:
Instance server is now starting...
2020-12-04T10:38:08.234+0000 INFO [net.openesb.standalone.jmx.JMXService]
(main) OESE-1102: JMX connector server started at:
service:jmx:rmi:///jndi/rmi://localhost:8670/jmxrmi
2020-12-04T10:38:08.243+0000 WARNING
[com.atomikos.icatch.config.UserTransactionServiceImp] (main) Using init
file: /u01/openesb/COMMUNITY/OpenESB-SE-3.2.4/OE-Instance/tm/jta.properties
2020-12-04T10:38:08.531+0000 INFO [com.sun.jbi.framework] (main) JBIFW0010:
JBI framework ready to accept requests.

Thanks,
Sachin M



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



More information about the User mailing list