My Oracle Support Banner

Registration of a Modified ESB Service Does Not Reflect the Changes Even Though Registration Shows Success (Doc ID 730012.1)

Last updated on APRIL 08, 2019

Applies to:

Oracle Enterprise Service Bus - Version 10.1.3 and later
Information in this document applies to any platform.
***Checked for relevance on 20-Sep-2010***


-- Problem Statement:

Modifications of an ESB project are not reflected on the server after registering the service with ESB.  It is necessary to stop and then start the container to get these changes reflected.  As an example:

-- Steps To Reproduce:

+ In JDev modify an .xsl file in an ESB project
+ Do a first time registration to ESB
+ Run the test by running the ESB service - runs fine and as expected
+ Change the .xsl file again in JDev
+ Register again with ESB
+ Run the test by running the ESB service and the change is not reflected, i.e. still get old result before the last change
+ Tried to fix by un-registering all of the components of the project from the ESB Control
+ Register again and run the test, but the last change is still not reflected
+ The container needs to be restarted for the changes to be effective

If ESB logging is turned up to FINEST the $ORACLE_HOME/j2ee/<ESB Container Name>/log/*_1/oc4j/log.xml will show a similar type of error at the time of registering the ESB service (check both the ESB Runtime and ESB Designtime log.xml files if these are in separate files):

    <MSG_TEXT>Transaction begin failed</MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[javax.naming.NamingException: Not in an application scope - start OC4J with the -userThreads switch if using user-created threads
at com.evermind.server.PreemptiveApplicationContext.getContext(
at com.evermind.naming.FilterContext.lookup(
at com.evermind.server.PreemptiveApplicationContext.lookup(
at javax.naming.InitialContext.lookup(
at oracle.tip.esb.common.control.WebDAVEventHandler.publish(
at oracle.tip.esb.common.control.WebDAVEventHandler.collected(
at org.apache.slide.event.EventCollection$Collected.fireEvent(
at org.apache.slide.event.EventDispatcher.fireEvent(
at org.apache.slide.event.TransientEventCollector$




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.