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

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle ESB - Version: 10.1.3 and later   [Release: AS10gR3 and later ]
Information in this document applies to any platform.
***Checked for relevance on 20-Sep-2010***

Symptoms

-- 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):

<MESSAGE>
  <HEADER>
    <TSTZ_ORIGINATING>2008-07-31T12:17:51.879-07:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>tip</COMPONENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>test.com</HOST_ID>
    <HOST_NWADDR>10.11.17.177</HOST_NWADDR>
    <MODULE_ID>esb.common.control</MODULE_ID>
    <THREAD_ID>36</THREAD_ID>
    <USER_ID>oracle</USER_ID>
  </HEADER>
  <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>10.11.17.177:91581:1217531871878:144</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
  </CORRELATION_DATA>
  <PAYLOAD>
    <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(PreemptiveApplicationContext.java:30)
at com.evermind.naming.FilterContext.lookup(FilterContext.java:126)
at com.evermind.server.PreemptiveApplicationContext.lookup(PreemptiveApplicationContext.java:42)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at oracle.tip.esb.common.control.WebDAVEventHandler.publish(WebDAVEventHandler.java:136)
at oracle.tip.esb.common.control.WebDAVEventHandler.collected(WebDAVEventHandler.java:89)
at org.apache.slide.event.EventCollection$Collected.fireEvent(EventCollection.java:90)
at org.apache.slide.event.EventDispatcher.fireEvent(EventDispatcher.java:72)
at org.apache.slide.event.TransientEventCollector$1.run(TransientEventCollector.java:49)
at java.lang.Thread.run(Thread.java:595)
]]></SUPPL_DETAIL>
  </PAYLOAD>
</MESSAGE>


Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms