tag:blogger.com,1999:blog-64163855265933838472024-03-14T02:17:17.503-04:00Raastech BlogThe Raastech BlogAhmed Aboulnagahttp://www.blogger.com/profile/17300393989634195878noreply@blogger.comBlogger531125tag:blogger.com,1999:blog-6416385526593383847.post-76967358686193476882019-06-20T22:15:00.000-04:002019-05-02T23:09:43.728-04:00Cannot start up WebLogic and NodeManager after Oracle Cloud data center outage<div class="separator" style="clear: both; text-align: left;">
<b>Problem</b></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both;">
When starting Oracle WebLogic Server 11g AdminServer on an Oracle Cloud Infrastructure virtual machine, the WebLogic process was dying at startup. No explanation whatsoever as shown here:</div>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #999999; font-family: "courier new" , "courier" , monospace;">INFO: Notification sent for Mapping config object reloaded</span> </blockquote>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #999999; font-family: "courier new" , "courier" , monospace;"><Jul 16, 2018, 8:20:01,49 PM EDT> <Warning> <JMX> <BEA-149512> <JMX Connector Server started at service:jmx:iiop://adminhost.raastech.com:7002/jndi/weblogic.management.mbeanservers.editsession.DOMAIN.ServiceBus.></span> </blockquote>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #999999; font-family: "courier new" , "courier" , monospace;"><Jul 16, 2018, 8:20:01,73 PM EDT> <Warning> <JMX> <BEA-149512> <JMX Connector Server started at service:jmx:iiop://adminhost.raastech.com:7002/jndi/weblogic.management.mbeanservers.edit.></span> </blockquote>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #999999; font-family: "courier new" , "courier" , monospace;"><Jul 16, 2018, 8:20:01,147 PM EDT> <Warning> <JMX> <BEA-149512> <JMX Connector Server started at service:jmx:iiop://adminhost.raastech.com:7002/jndi/weblogic.management.mbeanservers.domainruntime.></span> </blockquote>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #999999; font-family: "courier new" , "courier" , monospace;">Jul 16, 2018 8:20:01 PM oracle.ods.virtualization.engine.util.VDELogger info INFO: Notification sent for Mapping config object reloaded /u01/app/oracle/middleware/products/fmw1221/user_projects/domains/soa_domain/bin/startWebLogic.sh: line 203: 24671 Killed ${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WLS_POLICY_FILE} ${JAVA_OPTIONS} ${PROXY_SETTINGS} ${SERVER_CLASS}</span> </blockquote>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #999999; font-family: "courier new" , "courier" , monospace;">Stopping Derby server...</span> </blockquote>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #999999; font-family: "courier new" , "courier" , monospace;">Derby server stopped.</span></blockquote>
When starting up NodeManager, observed the following errors:<br />
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #999999; font-family: "courier new" , "courier" , monospace;"><Jul 16, 2018 8:21:11 PM EDT> <SEVERE> <Fatal error in NodeManager server></span><br />
<span style="color: #999999; font-family: "courier new" , "courier" , monospace;">java.io.IOException: The server is unable to create a server socket for listening. The address soahost1.raastech.com might be incorrect or another process is using port 5556: java.net.BindException: Cannot assign requested address</span><br />
<span style="color: #999999; font-family: "courier new" , "courier" , monospace;"> at weblogic.nodemanager.server.NMServer.start(NMServer.java:351)</span><br />
<span style="color: #999999; font-family: "courier new" , "courier" , monospace;"> at weblogic.nodemanager.server.NMServer.main(NMServer.java:529)</span><br />
<span style="color: #999999; font-family: "courier new" , "courier" , monospace;"> at weblogic.NodeManager.main(NodeManager.java:31)</span><br />
<span style="color: #999999; font-family: "courier new" , "courier" , monospace;">Caused by: java.net.BindException: Cannot assign requested address</span><br />
<span style="color: #999999; font-family: "courier new" , "courier" , monospace;"> at java.net.PlainSocketImpl.socketBind(Native Method)</span><br />
<span style="color: #999999; font-family: "courier new" , "courier" , monospace;"> at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)</span><br />
<span style="color: #999999; font-family: "courier new" , "courier" , monospace;"> at java.net.ServerSocket.bind(ServerSocket.java:375)</span><br />
<span style="color: #999999; font-family: "courier new" , "courier" , monospace;"> at java.net.ServerSocket.<init>(ServerSocket.java:237)</span><br />
<span style="color: #999999; font-family: "courier new" , "courier" , monospace;"> at javax.net.ssl.SSLServerSocket.<init>(SSLServerSocket.java:181)</span><br />
<span style="color: #999999; font-family: "courier new" , "courier" , monospace;"> at sun.security.ssl.SSLServerSocketImpl.<init>(SSLServerSocketImpl.java:140)</span><br />
<span style="color: #999999; font-family: "courier new" , "courier" , monospace;"> at sun.security.ssl.SSLServerSocketFactoryImpl.createServerSocket(SSLServerSocketFactoryImpl.java:95)</span><br />
<span style="color: #999999; font-family: "courier new" , "courier" , monospace;"> at weblogic.nodemanager.server.SSLListener.privilegedInit(SSLListener.java:134)</span><br />
<span style="color: #999999; font-family: "courier new" , "courier" , monospace;"> at weblogic.nodemanager.server.SSLListener.access$000(SSLListener.java:33)</span><br />
<span style="color: #999999; font-family: "courier new" , "courier" , monospace;"> at weblogic.nodemanager.server.SSLListener$1.run(SSLListener.java:97)</span><br />
<span style="color: #999999; font-family: "courier new" , "courier" , monospace;"> at java.security.AccessController.doPrivileged(Native Method)</span><br />
<span style="color: #999999; font-family: "courier new" , "courier" , monospace;"> at weblogic.nodemanager.server.SSLListener.init(SSLListener.java:94)</span><br />
<span style="color: #999999; font-family: "courier new" , "courier" , monospace;"> at weblogic.nodemanager.server.NMServer.start(NMServer.java:349)</span><br />
<span style="color: #999999; font-family: "courier new" , "courier" , monospace;"> ... 2 more</span><br />
<span style="color: #999999; font-family: "courier new" , "courier" , monospace;"></span></blockquote>
Failed attempts at resolution:<br />
<br />
<ul>
<li>Started WebLogic manually. No help.</li>
<li>Increased debugging. No additional information.</li>
<li>Reset the 'weblogic' password. No help.</li>
<li>Cleared the <span style="font-family: "courier new" , "courier" , monospace;">~/tmp ~/cache ~/data</span> folders of the AdminServer. No help.</li>
<li>Restored from backup. No help.</li>
<li>This behavior appeared to be attributed to memory issues, so shut down every single service on the box. No help.</li>
</ul>
<br />
<div>
<div>
Note that there was an outage at the Oracle Cloud data center, which killed our VM. All problems started happening after the VM was started up.</div>
<blockquote class="tr_bq" style="clear: both;">
</blockquote>
</div>
<div>
<br /></div>
<strong>Solution</strong><br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
1. Memory hardware issue. Rebuild the VM.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
For example:</div>
<blockquote class="tr_bq" style="clear: both;">
a. Stop the VM.<br />
b. Create a new VM.<br />
c. Mount the storage volumes on the new VM.<br />
d. Rename the hostname of the new VM.<br />
e. Everything will start up smoothly with no problems.</blockquote>
<div>
<br /></div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<strong>Applicable Versions</strong></div>
<ul>
<li>Oracle WebLogic Server (10.3.6)</li>
<li>Oracle Cloud Infrastructure (2019)</li>
</ul>
<b></b><br />
<div>
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjib0GgSqZWUkGomg4h28t1WvZsvWfKjoQ8IHXvSTmM1HRtn7FaikZ_VaCtYDZmhIGiHCvqpmJhc_GjxsF6Pt99sPCxH6dUyCY941Ov5zdMdehmXqB3OuxKVxmFmEpcMVstKo-156eErQ/w161-h51-no/blogger_footer_ahmed.jpg" title="Ahmed Aboulnaga" /> </div>
Ahmed Aboulnagahttp://www.blogger.com/profile/17300393989634195878noreply@blogger.com2tag:blogger.com,1999:blog-6416385526593383847.post-84939538517572165742019-06-03T22:02:00.000-04:002019-05-02T23:08:40.219-04:00DNS name resolution issue in OCI Classic<div class="separator" style="clear: both; text-align: left;">
<b>Problem</b></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
In your Oracle Cloud Infrastructure Classic virtual machine, you may experience DNS resolution issues to <span style="font-family: "courier new" , "courier" , monospace;">*.oracle.com</span> domains, similar to what is described at <a href="https://community.oracle.com/thread/3944301">https://community.oracle.com/thread/3944301</a>.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<strong>Solution</strong><br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
1. Edit <span style="font-family: "courier new" , "courier" , monospace;">/etc/resolve.conf</span>.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
2. Add the following entry:</div>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">nameserver 8.8.8.8</span></blockquote>
<br />
<b>References</b><br />
<div class="separator" style="clear: both; text-align: left;">
</div>
<ul>
<li><a href="https://community.oracle.com/thread/3944301">https://community.oracle.com/thread/3944301</a></li>
</ul>
<br />
<div class="separator" style="clear: both; text-align: left;">
<b><br /></b></div>
<div class="separator" style="clear: both; text-align: left;">
<b><br /></b></div>
<div class="separator" style="clear: both; text-align: left;">
<strong>Applicable Versions</strong></div>
<ul>
<li>Oracle Cloud Infrastructure Classic (2019)</li>
</ul>
<b></b><br />
<div>
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjib0GgSqZWUkGomg4h28t1WvZsvWfKjoQ8IHXvSTmM1HRtn7FaikZ_VaCtYDZmhIGiHCvqpmJhc_GjxsF6Pt99sPCxH6dUyCY941Ov5zdMdehmXqB3OuxKVxmFmEpcMVstKo-156eErQ/w161-h51-no/blogger_footer_ahmed.jpg" title="Ahmed Aboulnaga" /><br />
<br /></div>
Ahmed Aboulnagahttp://www.blogger.com/profile/17300393989634195878noreply@blogger.com1tag:blogger.com,1999:blog-6416385526593383847.post-16786013345612025932019-05-02T21:00:00.000-04:002019-05-02T23:10:27.831-04:00WSM-02120 when attaching or deploying OWSM policy<div class="separator" style="clear: both; text-align: left;">
<b>Problem</b></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
When attaching an Oracle Web Services Manager (OWSM) policy or deploying a new JAR with an OWSM policy, you may encounter the following exception:</div>
<blockquote class="tr_bq" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;">[OSB-387178]An error occurred while computing the web service policy for service SBRestTest/PipelineProxyService: com.bea.wli.sb.security.wss.PolicyManagementException: oracle.wsm.policymanager.PolicyManagerException: WSM-02120 : Unable to connect to the policy access service. [Possible Cause : No available router to destination.] [No available router to destination.]</span></blockquote>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<strong>Solution</strong></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
1. Start up the WSM managed server.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<strong>Applicable Versions</strong></div>
<ul>
<li>Oracle Web Services Manager 11g (11.1.1.x)
</li>
</ul>
<b></b><br />
<div>
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjib0GgSqZWUkGomg4h28t1WvZsvWfKjoQ8IHXvSTmM1HRtn7FaikZ_VaCtYDZmhIGiHCvqpmJhc_GjxsF6Pt99sPCxH6dUyCY941Ov5zdMdehmXqB3OuxKVxmFmEpcMVstKo-156eErQ/w161-h51-no/blogger_footer_ahmed.jpg" title="Ahmed Aboulnaga" /> </div>
Ahmed Aboulnagahttp://www.blogger.com/profile/17300393989634195878noreply@blogger.com0tag:blogger.com,1999:blog-6416385526593383847.post-84595168629576227172019-03-20T10:30:00.000-04:002019-05-02T21:54:10.402-04:00Getting java.lang.ExceptionInInitializerError during OSB deployment<div class="separator" style="clear: both; text-align: left;">
<b>Problem</b></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
During the deployment of the OSB project from the command line, we get the following cryptic error:</div>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;">Diagnostic XML Bean debug log file created: /tmp/xmlbeandebug5401068355720061527.log<br />* Unexpected error: java.lang.ExceptionInInitializerError<br />* Session discarded<br />* <strong><span style="color: #073763;">Unexpected error: java.lang.ExceptionInInitializerError<br />No stack trace available.</span></strong><br />Problem invoking WLST - Traceback (innermost last):<br /> File "/home/oracle/deploy/osb_import.py", line 277, in ?<br /> File "/home/oracle/deploy/osb_import.py", line 134, in importToALSBDomain<br /> at sun.misc.Unsafe.ensureClassInitialized(Native Method)<br /> at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:43)<br /> at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:140)<br /> at java.lang.reflect.Field.acquireFieldAccessor(Field.java:1057)<br /> at java.lang.reflect.Field.getFieldAccessor(Field.java:1038)<br /> .<br /> .<br /> .<br />java.lang.ExceptionInInitializerError: java.lang.ExceptionInInitializerError</span></span></blockquote>
Opening up the <span style="font-family: "courier new" , "courier" , monospace;">.log</span> file in <span style="font-family: "courier new" , "courier" , monospace;">/tmp</span> doesn't help much and only yields more cryptic information:<br />
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;"><strong><span style="color: #073763;">XML-BEANS compiled schema: Could not locate compiled schema resource schemaorg_apache_xmlbeans/system/resources_schema_xbtypes/index.xsb </span></strong>(schemaorg_apache_xmlbeans.system.resources_schema_xbtypes.index) - code 0<br />org.apache.xmlbeans.SchemaTypeLoaderException: XML-BEANS compiled schema: Could not locate compiled schema resource schemaorg_apache_xmlbeans/system/resources_schema_xbtypes/index.xsb (schemaorg_apache_xmlbeans.system.resources_schema_xbtypes.index) - code 0<br /> at org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl$XsbReader.<init>(SchemaTypeSystemImpl.java:1519)<br /> at org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.initFromHeader(SchemaTypeSystemImpl.java:273)<br /> at org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.<init>(SchemaTypeSystemImpl.java:185)<br /> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)</span></span><strong><br /></strong></blockquote>
<strong>Solution</strong><br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
1. Try importing the JAR through the OSB Console, and you will get a more accurate error as to why the deployment failed.</div>
<div>
<br /></div>
<div>
<strong>Applicable Versions</strong></div>
<ul>
<li>Oracle Service Bus (OSB) 11g (11.1.1.9.0)
</li>
</ul>
<b></b><br />
<div>
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjib0GgSqZWUkGomg4h28t1WvZsvWfKjoQ8IHXvSTmM1HRtn7FaikZ_VaCtYDZmhIGiHCvqpmJhc_GjxsF6Pt99sPCxH6dUyCY941Ov5zdMdehmXqB3OuxKVxmFmEpcMVstKo-156eErQ/w161-h51-no/blogger_footer_ahmed.jpg" title="Ahmed Aboulnaga" /></div>
Ahmed Aboulnagahttp://www.blogger.com/profile/17300393989634195878noreply@blogger.com3tag:blogger.com,1999:blog-6416385526593383847.post-61783224876732549712019-03-09T10:26:00.000-05:002019-05-03T08:45:54.557-04:00BEA-473003 Destination unreachable on t3s; nested exception is: java.net.NoRouteToHostException<div class="separator" style="clear: both; text-align: left;">
<b>Problem</b></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Seeing these errors in <span style="font-family: "courier new" , "courier" , monospace;">osb_server1.out</span> log file (note the T3S protocol in the log):</div>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;"><Mar 29, 2018 4:14:00 PM GMT> <Error> <ALSB Statistics Manager> <strong><span style="color: #073763;"><BEA-473003> <Aggregation Server Not Available. Failed to get remote aggregator</span></strong><br />javax.naming.CommunicationException [Root exception is <strong><span style="color: #073763;">java.net.ConnectException: t3s://192.168.0.30:8011: Destination unreachable</span></strong>; nested exception is:<br /> java.net.NoRouteToHostException: No route to host (Host unreachable); No available router to destination]<br /> at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)<br /> at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:792)<br /> at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:368)<br /> at weblogic.jndi.Environment.getContext(Environment.java:315)<br /> at weblogic.jndi.Environment.getContext(Environment.java:285)<br /> Truncated. see log file for complete stacktrace<br />Caused By: java.net.ConnectException: t3s://192.168.0.30:8015: Destination unreachable; nested exception is:<br /> java.net.NoRouteToHostException: No route to host (Host unreachable); No available router to destination<br /> at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:216)<br /> at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)<br /> at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:165)<br /> at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:353)<br /> at weblogic.jndi.Environment.getContext(Environment.java:315)<br /> Truncated. see log file for complete stacktrace<br />Caused By: java.rmi.ConnectException: Destination unreachable; nested exception is:<br /> java.net.NoRouteToHostException: No route to host (Host unreachable); No available router to destination<br /> at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:470)<br /> at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:321)<br /> at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:262)<br /> at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:199)<br /> at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238)<br /> Truncated. see log file for complete stacktrace<br />></span></span></blockquote>
<strong>Solution</strong><br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
1. Log in to the WebLogic Admin Console </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
2. Navigate to <em>[managed server]</em> > <em>SSL</em> > <em>Advanced</em></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
3. Set "Hostname Verification" to "None" </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
4. Repeat for all managed servers </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
5. Restart the managed servers </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div>
<strong>Applicable Versions</strong></div>
<ul>
<li>Oracle Service Bus (OSB) 11g (11.1.1.9.0)
</li>
</ul>
<b></b><br />
<div>
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjib0GgSqZWUkGomg4h28t1WvZsvWfKjoQ8IHXvSTmM1HRtn7FaikZ_VaCtYDZmhIGiHCvqpmJhc_GjxsF6Pt99sPCxH6dUyCY941Ov5zdMdehmXqB3OuxKVxmFmEpcMVstKo-156eErQ/w161-h51-no/blogger_footer_ahmed.jpg" title="Ahmed Aboulnaga" /> </div>
Ahmed Aboulnagahttp://www.blogger.com/profile/17300393989634195878noreply@blogger.com0tag:blogger.com,1999:blog-6416385526593383847.post-73135387755996910472019-02-18T10:24:00.000-05:002019-05-02T21:55:07.415-04:00BEA-423223 There was an error while running a lifecycle stage<div class="separator" style="clear: both; text-align: left;">
<b>Problem</b></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
When deploying an OSB project, you may get the following undescriptive error on the OSB Console:</div>
<div class="separator" style="clear: both; text-align: left;">
</div>
<blockquote class="tr_bq">
<em>An unexpected error occurred.</em></blockquote>
<div class="separator" style="clear: both; text-align: left;">
The following error would appear in the <span style="font-family: "courier new" , "courier" , monospace;">AdminServer.out</span> file:</div>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;">####<Dec 3, 2018 5:03:21 PM GMT> <Error> <netuix> <osbhost1> <AdminServer> <[ACTIVE] ExecuteThread: '39' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <685ea1de428af539:-5fcff8e9:82f2515a61f:-8000-0000000000003938> <1488560601009> <strong><span style="color: #073763;"><BEA-423137> <There was an error loading the requested URI null.></span></strong></span></span><strong><span style="color: #073763;"> </span></strong></blockquote>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;">####<Dec 3, 2018 5:03:21 PM GMT> <Error> <netuix> <osbhost1> <AdminServer> <[ACTIVE] ExecuteThread: '39' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <de428af5685ea139:-5fcff8e9:15a61f82f25:-8000-0000000000003938> <1488560601009> <strong><span style="color: #073763;"><BEA-423223> <There was an error while running a lifecycle stage</span></strong> :: Lifecycle: UIControl.render :: for the control :: null ::.<br />com.bea.netuix.nf.UIControlException: com.bea.portlet.adapter.scopedcontent.ActionLookupFailedException: <strong><span style="color: #073763;">java.lang.NoSuchMethodError: org.apache.commons.io.IOUtils.readFully</span></strong>(Ljava/io/InputStream;[B)V<br /> at com.bea.netuix.servlets.controls.content.NetuiContent.checkPreRenderExceptions(NetuiContent.java:404)<br /> at com.bea.netuix.servlets.controls.content.NetuiContent.beginRender(NetuiContent.java:343)<br /> at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:485)<br /> at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)</span></span></blockquote>
<strong>Solution</strong><br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
1. The OSB JAR is missing the ExportInfo file. The developer must fix this..</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div>
<strong>Applicable Versions</strong></div>
<ul>
<li>Oracle Service Bus (OSB) 11g (11.1.1.9.0)
</li>
</ul>
<b></b><br />
<div>
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjib0GgSqZWUkGomg4h28t1WvZsvWfKjoQ8IHXvSTmM1HRtn7FaikZ_VaCtYDZmhIGiHCvqpmJhc_GjxsF6Pt99sPCxH6dUyCY941Ov5zdMdehmXqB3OuxKVxmFmEpcMVstKo-156eErQ/w161-h51-no/blogger_footer_ahmed.jpg" title="Ahmed Aboulnaga" /> </div>
Ahmed Aboulnagahttp://www.blogger.com/profile/17300393989634195878noreply@blogger.com0tag:blogger.com,1999:blog-6416385526593383847.post-2859537633009037652019-01-17T19:09:00.000-05:002019-05-02T21:56:01.231-04:00BEA-000337 and STUCK thread in OSB 11g<div class="separator" style="clear: both; text-align: left;">
<b>Problem</b></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Seeing the AdminServer in warning state and a stuck thread. <span style="font-family: "courier new" , "courier" , monospace;">AdminServer.log</span> shows this:</div>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;">####<Dec 15, 2018 4:54:00 PM GMT> <strong><span style="color: #073763;"><Error></span></strong> <WebLogicServer> <osbhost1.raastech.com> <AdminServer> <[ACTIVE] ExecuteThread: '17' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <dd3937adc7e76694:5ea517f4:15ac77c3297:-8000-0000000000004fb0> <1489596840017> <strong><span style="color: #073763;"><BEA-000337></span></strong> <<strong><span style="color: #073763;">[STUCK]</span></strong> <strong><span style="color: #073763;">ExecuteThread</span></strong>: '23' for queue: 'weblogic.kernel.Default (self-tuning)' <strong><span style="color: #073763;">has been busy for "1,433" seconds</span></strong> working on the request "Workmanager: weblogic.kernel.Default, Version: 0, Scheduled=false, Started=true, Started time: 1434264 ms<br />", <strong><span style="color: #073763;">which is more than the configured time (StuckThreadMaxTime) of "1,200" seconds</span></strong>. Stack trace:<br />null></span></span></blockquote>
<strong>Solution</strong><br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
1. Look through the <span style="font-family: "courier new" , "courier" , monospace;">AdminServer.log</span> log file. Could be related to an OutOfMemory exception that occurred during deployment. </div>
<div class="separator" style="clear: both; text-align: left;">
</div>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">####<Dec 15, 2018 4:32:00 PM GMT> <Warning> <Deployer> <osbhost1.raastech.com> <AdminServer> <[ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <dd3937adc7e76694:5ea517f4:15ac77c3297:-8000-0000000000004f91> <1489595520836> <BEA-149078> <Stack trace for message 149004<br />java.lang.Exception: java.lang.OutOfMemoryError: Java heap space<br /> at com.bea.wli.config.deployment.server.ServerDeploymentReceiver.notifyPrepareFailure(ServerDeploymentReceiver.java:355)<br /> at com.bea.wli.config.deployment.server.ServerDeploymentReceiver._prepare(ServerDeploymentReceiver.java:434)<br /> at com.bea.wli.config.deployment.server.ServerDeploymentReceiver.access$700(ServerDeploymentReceiver.java:70)<br /> at com.bea.wli.config.deployment.server.ServerDeploymentReceiver$1.run(ServerDeploymentReceiver.java:246)<br /> at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)<br /> at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)<br /> at com.bea.wli.config.deployment.server.ServerDeploymentReceiver.prepare(ServerDeploymentReceiver.java:213)<br /> at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)<br /> at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)<br /> at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)<br /> at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:550)<br /> at weblogic.work.ExecuteThread.execute(ExecuteThread.java:263)<br /> at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)<br />Caused By: java.lang.OutOfMemoryError: Java heap space<br /> at java.util.Arrays.copyOfRange(Arrays.java:2694)<br /> at java.lang.String.<init>(String.java:203)<br /> at java.lang.String.substring(String.java:1877)</span></blockquote>
<br />
<div class="separator" style="clear: both; text-align: left;">
<strong>Applicable Versions</strong></div>
<ul>
<li>Oracle Service Bus (OSB) 11g (11.1.1.9.0)
</li>
</ul>
<b></b><br />
<div>
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjib0GgSqZWUkGomg4h28t1WvZsvWfKjoQ8IHXvSTmM1HRtn7FaikZ_VaCtYDZmhIGiHCvqpmJhc_GjxsF6Pt99sPCxH6dUyCY941Ov5zdMdehmXqB3OuxKVxmFmEpcMVstKo-156eErQ/w161-h51-no/blogger_footer_ahmed.jpg" title="Ahmed Aboulnaga" /> </div>
Ahmed Aboulnagahttp://www.blogger.com/profile/17300393989634195878noreply@blogger.com0tag:blogger.com,1999:blog-6416385526593383847.post-88296227972026220032019-01-05T18:32:00.000-05:002019-05-02T21:56:22.414-04:00HTTP 500 when logging in to Siebel with SSO/X509<div class="separator" style="clear: both; text-align: left;">
<b>Problem</b></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
When accessing the Siebel application at: <a href="https://siebelhost1.raastech.com/epublicsector_enu/">https://siebelhost1.raastech.com/epublicsector_enu/</a>, you get an HTTP 500 on the browser.</div>
<div class="separator" style="clear: both; text-align: left;">
</div>
<div>
</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
All services are up. </div>
<div class="separator" style="clear: both; text-align: left;">
</div>
<div>
</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Nothing is in any of these logs: </div>
<ul>
<li>WebGate --> C:\NetPoint\Webgate\access\oblix\logs\oblog.log</li>
<li>Siebel --> C:\Siebel\15.0.0.0.0\eappweb\log\ss170601_2516.log</li>
<li>IIS --> C:\inetpub\logs\LogFiles\W3SVC1\u_ex170606.log</li>
</ul>
<div>
</div>
<strong>Solution</strong><br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
1. There was likely an IAM outage. You will need to restart the SIE01 and SIE02 webtiers.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div>
<br /></div>
<div>
<strong>Applicable Versions</strong></div>
<ul>
<li>Oracle Access Manager 11g
</li>
</ul>
<b></b><br />
<div>
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjib0GgSqZWUkGomg4h28t1WvZsvWfKjoQ8IHXvSTmM1HRtn7FaikZ_VaCtYDZmhIGiHCvqpmJhc_GjxsF6Pt99sPCxH6dUyCY941Ov5zdMdehmXqB3OuxKVxmFmEpcMVstKo-156eErQ/w161-h51-no/blogger_footer_ahmed.jpg" title="Ahmed Aboulnaga" /> </div>
Ahmed Aboulnagahttp://www.blogger.com/profile/17300393989634195878noreply@blogger.com0tag:blogger.com,1999:blog-6416385526593383847.post-43812280295989203162019-01-01T10:11:00.000-05:002019-05-03T08:42:24.623-04:00BEA-000403 MaxMessageSizeExceededException: Incoming message of size: '10000080' bytes exceeds<div class="separator" style="clear: both; text-align: left;">
<b>Problem</b></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Error received during OSB deployment:</div>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;"><Jan 2, 2018 7:13:01 PM GMT> <Error> <Socket> <BEA-000403> <IOException occurred on socket: Socket[addr=osbhost1.raastech.com/192.168.0.30,port=7001,localport=57684]<br />weblogic.socket.MaxMessageSizeExceededException: <strong><span style="color: #073763;">Incoming message of size: '10000080' bytes exceeds the configured maximum of: '10000000' bytes for protocol: 't3'</span></strong>.<br />weblogic.socket.MaxMessageSizeExceededException: Incoming message of size: '10000080' bytes exceeds the configured maximum of: '10000000' bytes for protocol: 't3'<br /> at weblogic.socket.BaseAbstractMuxableSocket.incrementBufferOffset(BaseAbstractMuxableSocket.java:230)<br /> at weblogic.rjvm.t3.MuxableSocketT3.incrementBufferOffset(MuxableSocketT3.java:369)<br /> at weblogic.socket.SocketMuxer.readFromSocket(SocketMuxer.java:984)<br /> at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:920)<br /> at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:887)<br /> at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:343)<br /> at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)<br /> at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)<br /> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)<br /> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)<br />></span></span> </blockquote>
<strong>Solution</strong><br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
1. Navigate to <em>Servers</em> > <em>AdminServer</em> > <em>Protocols</em> and "Enable Tunneling" </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
2. Make this change to the envcode.properties file (or equivalent) when deploying (basically, use HTTP instead of T3):</div>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">OLD: osbAdminUrl=t3://192.168.0.30:7001<br /><br />NEW: osbAdminUrl=http://192.168.0.30:7001</span> </blockquote>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div>
<strong>Applicable Versions</strong></div>
<ul>
<li>Oracle WebLogic Server 11g (11.1.1.9.0)</li>
<li>Oracle Service Bus (OSB) 11g (11.1.1.9.0)
</li>
</ul>
<b></b><br />
<div>
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjib0GgSqZWUkGomg4h28t1WvZsvWfKjoQ8IHXvSTmM1HRtn7FaikZ_VaCtYDZmhIGiHCvqpmJhc_GjxsF6Pt99sPCxH6dUyCY941Ov5zdMdehmXqB3OuxKVxmFmEpcMVstKo-156eErQ/w161-h51-no/blogger_footer_ahmed.jpg" title="Ahmed Aboulnaga" /> </div>
Ahmed Aboulnagahttp://www.blogger.com/profile/17300393989634195878noreply@blogger.com0tag:blogger.com,1999:blog-6416385526593383847.post-46165802188406326082018-12-05T10:50:00.000-05:002019-05-03T08:40:26.015-04:00Getting "Unable to create SSL Socket Factory" when starting up SOA 11.1.1.9 on SSL<div class="separator" style="clear: both; text-align: left;">
<b>Problem</b></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
All of a sudden, when we shut down and restart "bam_server1", the SSL port no longer works. This is the error that shows up when we start it up:</div>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;"><May 9, 2018 4:49:06 AM GMT> <strong><span style="color: #073763;"><Critical> <Security> <BEA-090174> <The trust keystore configuration specified on the command line or in boot.properties does not match the trust keystore configuration specified in config.xml.></span></strong> </span></span> </blockquote>
<strong>Solution</strong><br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
1. Check "bam_server1.out" and note the JVM start parameters. You will notice that they conflict with what you intend. </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Someone may have made custom SSL settings in this files that conflicted with the configuration we made on the WebLogic Console. (In our case, is was 3 "ssl" arguments in EXTRA_JAVA_PROPERTIES.) Check these files:</div>
<ul>
<li><div class="separator" style="clear: both; text-align: left;">
$MSERVER_HOME/bin/setDomainEnv.sh</div>
</li>
<li>$ASERVER_HOME/bin/setDomainEnv.sh</li>
<li>$MSERVER_HOME/bin/startManagedWebLogic.sh</li>
<li>$ASERVER_HOME/bin/startManagedWebLogic.sh</li>
</ul>
<div>
</div>
<div class="separator" style="clear: both; text-align: left;">
<strong><br /></strong></div>
<div class="separator" style="clear: both; text-align: left;">
<strong>Applicable Versions</strong></div>
<ul>
<li>Oracle SOA Suite 11g (11.1.1.9.0)
</li>
</ul>
<b></b><br />
<div>
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjib0GgSqZWUkGomg4h28t1WvZsvWfKjoQ8IHXvSTmM1HRtn7FaikZ_VaCtYDZmhIGiHCvqpmJhc_GjxsF6Pt99sPCxH6dUyCY941Ov5zdMdehmXqB3OuxKVxmFmEpcMVstKo-156eErQ/w161-h51-no/blogger_footer_ahmed.jpg" title="Ahmed Aboulnaga" /> </div>
Ahmed Aboulnagahttp://www.blogger.com/profile/17300393989634195878noreply@blogger.com0tag:blogger.com,1999:blog-6416385526593383847.post-90211259059949864412018-11-24T10:41:00.000-05:002019-05-03T08:40:59.200-04:00ORABPEL-9732 'Persistency service internal error: Installation failed' during startup<div class="separator" style="clear: both; text-align: left;">
<b>Problem</b></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
During the startup of the SOA managed servers, you see the following ORABPEL-9732 error and multiple "Installation failed" errors:</div>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;"><Apr 1, 2018 3:30:00 PM GMT> <Notice> <Stdout> <BEA-000000> <<Apr 1, 2018 3:30:00 PM GMT> <strong><span style="color: #073763;"><Error></span></strong> <oracle.soa.services.workflow.common> <BEA-000000> <<.> Persistency service internal error: <strong><span style="color: #073763;">Persistency service internal error: Installation failed.</span></strong><br />Persistency service experienced unexpected internal error.<br />Check the underlying exception and correct the error. If the error persists, contact Oracle Support Services.<br />Persistency service experienced unexpected internal error.<br />Check the underlying exception and correct the error. If the error persists, contact Oracle Support Services.<br /> <br /><strong><span style="color: #073763;">ORABPEL-9732</span></strong></span></span></blockquote>
<strong>Solution</strong><br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
1. Restore the database. </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
There is a problem with the database. It could be empty tables, missing sequences, or invalid objects. Don't waste your time troubleshooting and restore the database from a working copy. </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div>
<strong>Applicable Versions</strong></div>
<ul>
<li>Oracle SOA Suite 11g (11.1.1.9.0)
</li>
</ul>
<b></b><br />
<div>
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjib0GgSqZWUkGomg4h28t1WvZsvWfKjoQ8IHXvSTmM1HRtn7FaikZ_VaCtYDZmhIGiHCvqpmJhc_GjxsF6Pt99sPCxH6dUyCY941Ov5zdMdehmXqB3OuxKVxmFmEpcMVstKo-156eErQ/w161-h51-no/blogger_footer_ahmed.jpg" title="Ahmed Aboulnaga" /> </div>
Ahmed Aboulnagahttp://www.blogger.com/profile/17300393989634195878noreply@blogger.com0tag:blogger.com,1999:blog-6416385526593383847.post-1490149526347941082018-11-02T10:47:00.000-04:002019-05-02T21:58:34.356-04:00Getting "Invalid server bam_server1 SSL configuration" when starting up BAM 11.1.1.9 on SSL<div class="separator" style="clear: both; text-align: left;">
<b>Problem</b></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
All of a sudden, when we shut down and restart "bam_server1", the SSL port no longer works. This is the error that shows up when we start it up:</div>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;"><Aug 9, 2018 4:49:06 AM GMT> <strong><span style="color: #073763;"><Critical> <Security> <BEA-090174> <The trust keystore configuration specified on the command line or in boot.properties does not match the trust keystore configuration specified in config.xml.></span></strong> </span></span> </blockquote>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;"><Aug 9, 2018 4:49:06 AM GMT> <strong><span style="color: #073763;"><Alert> <Security> <BEA-090717> <Invalid server bam_server1 SSL configuration></span></strong> </span></span> </blockquote>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;"><Aug 9, 2018 4:49:06 AM GMT> <strong><span style="color: #073763;"><Error> <WebLogicServer> <BEA-000297> <Inconsistent security configuration, weblogic.management.configuration.ConfigurationException: Invalid server bam_server1 SSL configuration></span></strong> </span></span> </blockquote>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;"><Aug 9, 2018 4:49:06 AM GMT> <Emergency> <strong><span style="color: #073763;"><Security> <BEA-090034> <Not listening for SSL, java.io.IOException: Invalid server bam_server1 SSL configuration.></span></strong></span></span></blockquote>
<strong>Solution</strong><br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
1. Check <span style="font-family: "courier new" , "courier" , monospace;">bam_server1.out</span> and note the JVM start parameters. You will notice that they conflict with what you intend. </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
2. Someone may have made custom SSL settings in this files that conflicted with the configuration we made on the WebLogic Console, so check these files too:</div>
<ul>
<li><div class="separator" style="clear: both; text-align: left;">
setDomainEnv.sh </div>
</li>
<li>startManagedServer.sh</li>
</ul>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<strong>Applicable Versions</strong></div>
<ul>
<li>Oracle SOA Suite 11g (11.1.1.9.0)
</li>
</ul>
<b></b><br />
<div>
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjib0GgSqZWUkGomg4h28t1WvZsvWfKjoQ8IHXvSTmM1HRtn7FaikZ_VaCtYDZmhIGiHCvqpmJhc_GjxsF6Pt99sPCxH6dUyCY941Ov5zdMdehmXqB3OuxKVxmFmEpcMVstKo-156eErQ/w161-h51-no/blogger_footer_ahmed.jpg" title="Ahmed Aboulnaga" /> </div>
Ahmed Aboulnagahttp://www.blogger.com/profile/17300393989634195878noreply@blogger.com0tag:blogger.com,1999:blog-6416385526593383847.post-84929940985556987322018-09-30T10:44:00.000-04:002019-05-03T08:38:18.153-04:00BEA-000297 Inconsistent security configuration, java.lang.RuntimeException: Cannot convert identity certificate<div class="separator" style="clear: both; text-align: left;">
<b>Problem</b></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
You try to configure SSL on the managed server, but it is not working and you get the following error in the log:</div>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;"><Apr 16, 2018 5:57:38 PM GMT> <Notice> <strong><span style="color: #073763;"><Security> <BEA-090171> <Loading the identity certificate and private key stored under the alias soahost1.raastech.com from the JKS keystore file /u01/app/oracle/middleware/keystores/raastech.jks</span><span style="color: #073763;">.></span></strong></span></span></blockquote>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;"><Apr 16, 2018 5:57:38 PM GMT> <strong><span style="color: #073763;"><Error> <WebLogicServer> <BEA-000297> <Inconsistent security configuration, java.lang.RuntimeException: Cannot convert identity certificate></span></strong></span></span></blockquote>
<strong>Solution</strong><br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
1. Navigate to <em>[managed server]</em> > <em>Configuration</em> > <em>SSL</em> > <em>Advanced</em>. </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
2. Check "Use JSSE SSL". </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
3. Save and Activate changes.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div>
</div>
<div>
<strong>Applicable Versions</strong></div>
<ul>
<li>Oracle WebLogic Server 11g (11.1.1.9.0)
</li>
</ul>
<b></b><br />
<div>
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjib0GgSqZWUkGomg4h28t1WvZsvWfKjoQ8IHXvSTmM1HRtn7FaikZ_VaCtYDZmhIGiHCvqpmJhc_GjxsF6Pt99sPCxH6dUyCY941Ov5zdMdehmXqB3OuxKVxmFmEpcMVstKo-156eErQ/w161-h51-no/blogger_footer_ahmed.jpg" title="Ahmed Aboulnaga" /> </div>
Ahmed Aboulnagahttp://www.blogger.com/profile/17300393989634195878noreply@blogger.com4tag:blogger.com,1999:blog-6416385526593383847.post-55211164587423807992018-09-25T10:34:00.000-04:002019-05-03T08:38:40.168-04:00Cannot resolve reference to bean 'DOStoreFactory' during SOA startup<div class="separator" style="clear: both; text-align: left;">
<b>Problem</b></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
When starting up "soa_server1" it comes up fine. But when we start "soa_server2", we get these errors in the <span style="font-family: "courier new" , "courier" , monospace;">soa_server2.out</span> log file:</div>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;"><Mar 2, 2018 1:39:56 PM GMT> <Warning> <HTTP> <strong><span style="color: #073763;"><BEA-101162></span></strong> <User defined listener com.oracle.weblogic.wsee.wrapper.org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SensorManager' defined in ServletContext resource [/WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'FabricMesh' while setting bean property 'fabricMesh'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricMesh': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricMeshTarget' defined in ServletContext resource [/WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'WSServiceBC' while setting bean property 'bindingComponents' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'WSServiceBC' defined in ServletContext resource [/WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'InstanceManager' while setting bean property 'instanceManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'InstanceManager' defined in ServletContext resource [/WEB-INF/fabric-config-core.xml]: <strong><span style="color: #073763;">Cannot resolve reference to bean 'DOStoreFactory' while setting bean property 'DOStoreFactory'</span></strong>; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DOStoreFactory' defined in ServletContext resource [/WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'FabricConfigManager' while setting bean property 'fabricConfigManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricConfigManager' defined in ServletContext resource [/WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'EventBusConfigurable' while setting bean property 'configurables' with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'EventBus' defined in ServletContext resource [/WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'ClusterInterface' while setting bean property 'clusterInterface'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ClusterInterface' defined in ServletContext resource [/WEB-INF/fabric-config-core.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [oracle.integration.platform.blocks.cluster.CoherenceClusterInterfaceImpl]: Constructor threw exception; nested exception is <strong><span style="color: #073763;">com.tangosol.net.RequestTimeoutException: Timeout during service start</span></strong>: ServiceInfo(Id=0, Name=Cluster, Type=Cluster <br /> MemberSet=MasterMemberSet( <br /> ThisMember=Member(Id=2, Timestamp=2018-05-02 13:34:56.129, Address=192.168.0.20:8088, MachineId=23265, Location=site:,machine:soahost1,process:32418, Role=WeblogicServer) <br /> OldestMember=Member(Id=1, Timestamp=2018-05-02 13:34:29.559, Address=192.168.0.21:8088, MachineId=29282, Location=site:,machine:soahost2,process:24971, Role=WeblogicServer) <br /> ActualMemberSet=MemberSet(Size=2 <br /> Member(Id=1, Timestamp=2018-05-02 13:34:29.559, Address=192.168.0.21:8088, MachineId=29282, Location=site:,machine:soahost2,process:24971, Role=WeblogicServer) <br /> Member(Id=2, Timestamp=2018-05-02 13:34:56.129, Address=192.168.0.20:8088, MachineId=23265, Location=site:,machine:soahost1,process:32418, Role=WeblogicServer) <br /> ) <br /> MemberId|ServiceVersion|ServiceJoined|MemberState <br /> 1|3.7.1|2018-05-02 13:34:29.559|JOINING, <br /> 2|3.7.1|2018-05-02 13:34:56.523|JOINED <br /> RecycleMillis=1200000 <br /> RecycleSet=MemberSet(Size=0 <br /> ) <br /> ) <br /> ). </span></span></blockquote>
<div class="separator" style="clear: both; text-align: left;">
You may also see this error:</div>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;"><Mar 2, 2018 1:41:26 PM GMT> <strong><span style="color: #073763;"><Error> <Cluster> <BEA-000140></span></strong> <<strong><span style="color: #073763;">Failed to deserialize statedump from server </span></strong>6011237482029920459S:192.168.0.21:[8001,8001,-1,-1,-1,-1,-1]:soahost1:8001,soahost2:8001:soadomain:soa_server2 with java.lang.ClassNotFoundException: oracle.bpm.bpmn.engine.instancemanagement.ejb.UserInitiateProcessCleanupRemote. <br /> java.lang.ClassNotFoundException: oracle.bpm.bpmn.engine.instancemanagement.ejb.UserInitiateProcessCleanupRemote <br /> at weblogic.application.internal.AppClassLoaderManagerImpl.loadApplicationClass(AppClassLoaderManagerImpl.java:164) <br /> at weblogic.common.internal.ProxyClassResolver.resolveProxyClass(ProxyClassResolver.java:68) <br /> at weblogic.common.internal.WLObjectInputStream.resolveProxyClass(WLObjectInputStream.java:76) <br /> at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1566) <br /> at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1518) <br /> Truncated. see log file for complete stacktrace <br /> ></span></span></blockquote>
<div class="separator" style="clear: both; text-align: left;">
Even if you have opened up all relevant ports, the problem persists:</div>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;">root@soahost1> iptables -S | grep IN_public_allow <br /> -N IN_public_allow <br /> -A IN_public -j IN_public_allow <br /> -A IN_public_allow -p tcp -m tcp --dport 22 -m conntrack --ctstate NEW -j ACCEPT <br /> -A IN_public_allow -p tcp -m tcp --dport 7001 -m conntrack --ctstate NEW -j ACCEPT <br /> -A IN_public_allow -p tcp -m tcp --dport 8001 -m conntrack --ctstate NEW -j ACCEPT<br /> -A IN_public_allow -p tcp -m tcp --dport 9001 -m conntrack --ctstate NEW -j ACCEPT<br /> -A IN_public_allow -p tcp -m tcp --dport 5556 -m conntrack --ctstate NEW -j ACCEPT <br /> -A IN_public_allow -p tcp -m tcp --dport 7 -m conntrack --ctstate NEW -j ACCEPT </span></span></blockquote>
<strong>Solution</strong><br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
1. Turn off the local firewall: </div>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">service firewalld stop</span></blockquote>
<div>
</div>
<div class="separator" style="clear: both; text-align: left;">
You may need to spend more time to open up UDP and multicast on every NIC to re-enable the local firewall.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div>
</div>
<div>
<strong>References</strong></div>
<ul>
<li><a href="https://docs.oracle.com/middleware/1213/coherence/tutorial/installcoh.htm#COHTU112">https://docs.oracle.com/middleware/1213/coherence/tutorial/installcoh.htm#COHTU112</a> </li>
</ul>
<div>
</div>
<div>
<strong>Applicable Versions</strong></div>
<ul>
<li>Oracle SOA Suite 11g (11.1.1.9.0)
</li>
</ul>
<b></b><br />
<div>
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjib0GgSqZWUkGomg4h28t1WvZsvWfKjoQ8IHXvSTmM1HRtn7FaikZ_VaCtYDZmhIGiHCvqpmJhc_GjxsF6Pt99sPCxH6dUyCY941Ov5zdMdehmXqB3OuxKVxmFmEpcMVstKo-156eErQ/w161-h51-no/blogger_footer_ahmed.jpg" title="Ahmed Aboulnaga" /> </div>
Ahmed Aboulnagahttp://www.blogger.com/profile/17300393989634195878noreply@blogger.com0tag:blogger.com,1999:blog-6416385526593383847.post-33067406314003372322018-06-30T20:14:00.000-04:002019-05-03T08:37:38.844-04:00BEA-149205 Failed to initialize the application '_ALSB'<div class="separator" style="clear: both; text-align: left;">
<b>Problem</b></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Getting the following error when starting up the OSB managed server. Multiple applications are failing, and this is just a snippet of one of the errors: </div>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;"><Feb 28, 2018 12:38:45 PM GMT> <strong><span style="color: #073763;"><Error> <Deployer> <BEA-149205> <Failed to initialize the application '_ALSB_1491592089579' due to error weblogic.management.DeploymentException: Exception occured while downloading files.</span></strong><br />weblogic.management.DeploymentException: Exception occured while downloading files<br /> at weblogic.deploy.internal.targetserver.datamanagement.AppDataUpdate.doDownload(AppDataUpdate.java:43)<br /> at weblogic.deploy.internal.targetserver.datamanagement.DataUpdate.download(DataUpdate.java:56)<br /> at weblogic.deploy.internal.targetserver.datamanagement.Data.prepareDataUpdate(Data.java:97)<br /> at weblogic.deploy.internal.targetserver.BasicDeployment.prepareDataUpdate(BasicDeployment.java:704)<br /> at weblogic.deploy.internal.targetserver.BasicDeployment.stageFilesForStatic(BasicDeployment.java:747)<br /> Truncated. see log file for complete stacktrace<br /><strong><span style="color: #073763;">Caused By: java.io.IOException:</span></strong> [DeploymentService:290066]<strong><span style="color: #073763;">Error occurred while downloading files from admin server for deployment request "0".</span></strong> Underlying error is: "null"<br /> at weblogic.deploy.service.datatransferhandlers.HttpDataTransferHandler.getDataAsStream(HttpDataTransferHandler.java:86)<br /> at weblogic.deploy.service.datatransferhandlers.DataHandlerManager$RemoteDataTransferHandler.getDataAsStream(DataHandlerManager.java:165)<br /> at weblogic.deploy.internal.targetserver.datamanagement.AppDataUpdate.doDownload(AppDataUpdate.java:39)<br /> at weblogic.deploy.internal.targetserver.datamanagement.DataUpdate.download(DataUpdate.java:56)<br /> at weblogic.deploy.internal.targetserver.datamanagement.Data.prepareDataUpdate(Data.java:97)<br /> Truncated. see log file for complete stacktrace<br />></span></span> </blockquote>
<strong>Solution</strong><br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
1. You must undeploy these applications </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
2. Start up the AdminServer </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
3. Connect through WLST and run the following. Make sure to undeploy the applications that are showing up in the logs, so do not use the same exact values here.</div>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">cd /u01/app/oracle/middleware/wlserver_10.3/common/bin/</span> </blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">./wlst.sh</span> </blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">connect( 'weblogic', 'welcome1', 't3://localhost:7001')</span> </blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">stopApplication('_ALSB_1492546342692')</span> </blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">undeploy('_ALSB_1492546342692') </span> </blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">stopApplication('_ALSB_1492545743924') </span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">undeploy('_ALSB_1492545743924') </span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">stopApplication('_ALSB_1491592307429') </span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">undeploy('_ALSB_1491592307429') </span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">stopApplication('_ALSB_1491592306429') </span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">undeploy('_ALSB_1491592306429') </span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">stopApplication('_ALSB_1491592089579') </span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">undeploy('_ALSB_1491592089579') </span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">disconnect()</span> </blockquote>
<div class="separator" style="clear: both; text-align: left;">
4. Login to WebLogic Admin Console and activate the session </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div>
</div>
<div>
<strong>References</strong></div>
<ul>
<li><u><span style="color: #0066cc;"><a href="http://www.javamonamour.org/2012/10/javaioioexception-deploymentservice2900.html">http://www.javamonamour.org/2012/10/javaioioexception-deploymentservice2900.html</a> </span></u></li>
<li><u><span style="color: #0066cc;"><a href="http://www.javamonamour.org/2012/10/wlst-to-stop-and-undeploy-list-of.html">http://www.javamonamour.org/2012/10/wlst-to-stop-and-undeploy-list-of.html</a> </span></u></li>
</ul>
<div>
</div>
<div>
<strong>Applicable Versions</strong></div>
<ul>
<li>Oracle Service Bus (OSB) 11g (11.1.1.9.0)
</li>
</ul>
<b></b><br />
<div>
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjib0GgSqZWUkGomg4h28t1WvZsvWfKjoQ8IHXvSTmM1HRtn7FaikZ_VaCtYDZmhIGiHCvqpmJhc_GjxsF6Pt99sPCxH6dUyCY941Ov5zdMdehmXqB3OuxKVxmFmEpcMVstKo-156eErQ/w161-h51-no/blogger_footer_ahmed.jpg" title="Ahmed Aboulnaga" /> </div>
Ahmed Aboulnagahttp://www.blogger.com/profile/17300393989634195878noreply@blogger.com1tag:blogger.com,1999:blog-6416385526593383847.post-53395287416437046062018-06-19T10:54:00.000-04:002019-05-02T23:18:36.603-04:00BEA-240003 java.net.NoRouteToHostException: No route to host (Host unreachable)<div class="separator" style="clear: both; text-align: left;">
<b>Problem</b></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
When trying to configure SSL and activating your changes on the WebLogic Admin Console, you get the following error on both the console and in the logs:</div>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;"><Mar 18, 2018 4:17:04 PM GMT> <strong><span style="color: #073763;"><Error> <Console> <BEA-240003> <Console encountered the following error java.rmi.RemoteException</span></strong>: [Deployer:149150]<strong><span style="color: #073763;">An IOException occurred while reading input.</span></strong>; nested exception is:</span></span><br />
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;"> java.net.NoRouteToHostException: No route to host (Host unreachable); nested exception is:<br /> java.net.NoRouteToHostException: No route to host (Host unreachable)</span></span><br />
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;"> .<br /> .<br /> .<br />Caused by: java.net.NoRouteToHostException: <strong><span style="color: #073763;">No route to host (Host unreachable)</span></strong></span></span><br />
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;"> at java.net.PlainSocketImpl.socketConnect(Native Method)</span></span><br />
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;"> at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:344)</span></span></blockquote>
<strong>Solution</strong><br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
1. This is because the <span style="font-family: "courier new" , "courier" , monospace;">trust.jks</span> you are using is missing the correct chain. </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
For example, if your identity cert is issued by a CA, you must import that CA intermediate and root certs into <span style="font-family: "courier new" , "courier" , monospace;">trust.jks</span>:</div>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">keytool -import -alias PRODCA4 -file PRODCA4.crt -keystore /u01/app/oracle/middleware/keystores/trust.jks<br /><br />keytool -import -alias PRODTreasury -file PRODTreasury.crt -keystore /u01/app/oracle/middleware/keystores/trust.jks</span></blockquote>
<br />
<div class="separator" style="clear: both; text-align: left;">
<strong>Applicable Versions</strong></div>
<ul>
<li>Oracle WebLogic server 11g (11.1.1.9.0)
</li>
</ul>
<b></b><br />
<div>
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjib0GgSqZWUkGomg4h28t1WvZsvWfKjoQ8IHXvSTmM1HRtn7FaikZ_VaCtYDZmhIGiHCvqpmJhc_GjxsF6Pt99sPCxH6dUyCY941Ov5zdMdehmXqB3OuxKVxmFmEpcMVstKo-156eErQ/w161-h51-no/blogger_footer_ahmed.jpg" title="Ahmed Aboulnaga" /> </div>
Ahmed Aboulnagahttp://www.blogger.com/profile/17300393989634195878noreply@blogger.com0tag:blogger.com,1999:blog-6416385526593383847.post-39512868483294051262017-12-26T17:53:00.000-05:002017-12-26T17:53:00.283-05:00Cloning OID 11g<div class="separator" style="clear: both; text-align: left;">
Oracle does not support the changing of hostname or IP address for your Oracle Internet Directory 11g installation, rendering cloning impossible. These instructions, however, guide you through that process.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
1. Set the environment: <br />
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">export ORACLE_HOME=/u01/app/oracle/middleware/Oracle_OID</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">export ORACLE_INSTANCE=/u01/app/oracle/middleware/asinst_1</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">export TNS_ADMIN=$ORACLE_INSTANCE/config</span> </blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/ldap/bin:$ORACLE_INSTANCE/bin:$PATH</span></blockquote>
2. Clear the temp folders on node 1 (for AdminServer, wls_ods1): <br />
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">cd ${ASERVER_HOME}/servers/AdminServer</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">rm -rf cache/* logs/* tmp/*</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">cd ${MSERVER_HOME}/servers/wls_ods1</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">rm -rf cache/* logs/* tmp/* data/*</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">cd ${MSERVER_HOME}/servers/wls_ods2</span> </blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">rm -rf cache/* logs/* tmp/* data/*</span></blockquote>
3. Replace values in <span style="color: #cc0000;">red</span>: <br />
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">cd /u01/app/oracle/middleware</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">find . -type f \( ! -name "oidpwdr*" ! -name "*.DAT" ! -name "*.cer" ! -name "*dump1" ! -name "*.swp" ! -name "*.jks" \) -exec sed -i "s/<span style="color: #cc0000;">OLDHOST</span>/<span style="color: #cc0000;">NEWHOST</span>/g" {} \;</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">find . -type f \( ! -name "oidpwdr*" ! -name "*.DAT" ! -name "*.cer" ! -name "*dump1" ! -name "*.swp" ! -name "*.jks" \) -exec sed -i "s/<span style="color: #cc0000;">OLDHOST</span>/<span style="color: #cc0000;">NEWHOST</span>/g" {} \;</span> </blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">find . -type f \( ! -name "oidpwdr*" ! -name "*.DAT" ! -name "*.cer" ! -name "*dump1" ! -name "*.swp" ! -name "*.jks" \) -exec sed -i "s/<span style="color: #cc0000;">.olddomain.com</span>/<span style="color: #cc0000;">.newdomain.com</span>/g" {} \;</span></blockquote>
4. Change the strings to the new database string: <br />
<blockquote class="tr_bq">
FILE: <span style="font-family: "courier new" , "courier" , monospace;">/u01/app/oracle/middleware/asinst_1/config/tnsnames.ora</span></blockquote>
<blockquote class="tr_bq">
OLD: <span style="font-family: "courier new" , "courier" , monospace;">OIDDB=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=<span style="color: #cc0000;">prod-cluster</span>)(PORT=<span style="color: #cc0000;">1521</span>))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=<span style="color: #cc0000;">oiddb.raastech.com</span>)))</span></blockquote>
<blockquote class="tr_bq">
FILE: <span style="font-family: "courier new" , "courier" , monospace;">/u01/app/oracle/middleware/user_projects/domains/oiddomain/config/jdbc/schedulerDS-*-jdbc.xml</span></blockquote>
<blockquote class="tr_bq">
OLD: <span style="font-family: "courier new" , "courier" , monospace;"><url>jdbc:oracle:thin:@//<span style="color: #cc0000;">prod-cluster:1521/oiddb.raastech.com</span></url></span><br />
OLD: <span style="font-family: "courier new" , "courier" , monospace;"><value><span style="color: #cc0000;">1521</span></value></span><br />
OLD: <span style="font-family: "courier new" , "courier" , monospace;"><value><span style="color: #cc0000;">prod-cluster</span></value></span></blockquote>
5. Run the change-ip-host script:<br />
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">nohup ${ASERVER_HOME}/bin/startWebLogic.sh >> ${ASERVER_HOME}/servers/${ADMINSERVER}/logs/${ADMINSERVER}.out &</span> </blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">cd $ORACLE_HOME</span> </blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">$ORACLE_HOME/chgip/scripts/chgiphost.sh -oldhost <span style="color: #cc0000;">OLDHOST</span> -newhost <span style="color: #cc0000;">NEWHOST</span> -instanceHome /u01/app/oracle/middleware/asinst_1</span> </blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">$ORACLE_INSTANCE/bin/opmnctl unregisterinstance -instanceName asinst_1 -adminHost <span style="color: #cc0000;">NEWHOST.raastech.com</span> -adminPort 7001</span> </blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">$ORACLE_INSTANCE/bin/opmnctl redeploy -adminHost <span style="color: #cc0000;">NEWHOST.raastech.com</span> -adminPort 7001</span> </blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">ll /u01/app/oracle/middleware/user_projects/domains/oiddomain/servers/AdminServer/upload/NonJ2EEManagement/11.1.1/app/NonJ2EEManagement.ear</span> </blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">$ORACLE_INSTANCE/bin/opmnctl redeploy -adminHost <span style="color: #cc0000;">NEWHOST.raastech.com</span> -adminPort 7001<br /><br />$ORACLE_INSTANCE/bin/opmnctl registerinstance -adminHost <span style="color: #cc0000;">NEWHOST.raastech.com</span> -adminPort 7001</span></blockquote>
<blockquote class="tr_bq">
If the 'redeploy' or 'registerinstance' actions fail, do not worry. Just confirm that "NonJ2EEManagement" is a deployed application and exists in <span style="font-family: "courier new" , "courier" , monospace;">/u01/app/oracle/middleware/user_projects/domains/oiddomain/servers/AdminServer/upload/NonJ2EEManagement/11.1.1/app/NonJ2EEManagement.ear</span>.</blockquote>
6. Remove the <span style="font-family: "courier new" , "courier" , monospace;">states</span> folder to avoid the "Failed to open locale state file" error: <br />
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">rm -rf /u01/app/oracle/middleware/asinst_1/config/OPMN/states</span></blockquote>
7. Reset the ODS password in the wallet (make sure this password matches that of the ODS user in the database): <br />
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">cd $ORACLE_INSTANCE/OID/admin<br /><br />mv oidpwdlldap1 oidpwdlldap1.old<br /><br />$ORACLE_HOME/ldap/bin/oidpasswd connect=OIDDB create_wallet=true</span></blockquote>
8. Startup the rest of the environment: <br />
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">nohup ${MSERVER_HOME}/bin/startManagedWebLogic.sh wls_ods1 >> ${MSERVER_HOME}/servers/wls_ods1/logs/wls_ods1.out &</span> </blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">${MW_HOME}/asinst_1/bin/opmnctl startall</span></blockquote>
9. Verify the installation: <br />
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">$ORACLE_HOME/bin/ldapbind -h <span style="color: #cc0000;">oidhost1.raastech.com</span> -p 3060 -D cn=orcladmin -w <span style="color: #cc0000;">welcome1</span></span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">$ORACLE_HOME/bin/ldapbind -h <span style="color: #cc0000;">oidhost1.raastech.com</span> -p 3131 -D cn=orcladmin -w <span style="color: #cc0000;">welcome1</span> -U 1</span> </blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">$ORACLE_HOME/bin/ldapsearch -h <span style="color: #cc0000;">oidhost1.raastech.com</span> -p 3131 -U 1 -D cn=orcladmin -s sub "(objectclass=*)" -w <span style="color: #cc0000;">welcome1</span></span></blockquote>
<br />
<div>
<strong>Applicable Versions</strong></div>
<ul>
<li>Oracle Internet Directory (OID) 11g (11.1.1.9.0)
</li>
</ul>
<b></b><br />
<div>
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjib0GgSqZWUkGomg4h28t1WvZsvWfKjoQ8IHXvSTmM1HRtn7FaikZ_VaCtYDZmhIGiHCvqpmJhc_GjxsF6Pt99sPCxH6dUyCY941Ov5zdMdehmXqB3OuxKVxmFmEpcMVstKo-156eErQ/w161-h51-no/blogger_footer_ahmed.jpg" title="Ahmed Aboulnaga" /> </div>
Ahmed Aboulnagahttp://www.blogger.com/profile/17300393989634195878noreply@blogger.com1tag:blogger.com,1999:blog-6416385526593383847.post-21155576301333423632017-12-13T19:04:00.000-05:002017-12-13T19:04:00.555-05:00Unable to Connect to Database: Incorrect location for tnsnames.ora in OID 11g<div class="separator" style="clear: both; text-align: left;">
<b>Problem</b></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
If you are trying to execute the <span style="font-family: "Courier New", Courier, monospace;">oidpasswd</span> command, for example: </div>
<blockquote class="tr_bq">
<span style="font-family: "Courier New", Courier, monospace;">$ORACLE_HOME/ldap/bin/oidpasswd connect=OIDDB create_wallet=true</span> </blockquote>
<blockquote class="tr_bq">
<span style="font-family: "Courier New", Courier, monospace;">$ORACLE_HOME/ldap/bin/oidpasswd connect=OIDDB change_oiddb_pwd=true</span></blockquote>
<div class="separator" style="clear: both; text-align: left;">
You receive the following error on the prompt:</div>
<blockquote class="tr_bq">
<span style="font-family: "Courier New", Courier, monospace;">Unable to Connect to Database: Incorrect location for tnsnames.ora (derived from ORACLE_INSTANCE) or Incorrect TNS Connect string or Invalid Password</span></blockquote>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<strong>Solution</strong><br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
1. This is because you must set the TNS_ADMIN environment variable: </div>
<blockquote class="tr_bq">
<span style="font-family: "Courier New", Courier, monospace;">export ORACLE_HOME=/u01/app/oracle/middleware/Oracle_OID</span> </blockquote>
<blockquote class="tr_bq">
<span style="font-family: "Courier New", Courier, monospace;">export ORACLE_INSTANCE=/u01/app/oracle/middleware/asinst_1</span> </blockquote>
<blockquote class="tr_bq">
<span style="font-family: "Courier New", Courier, monospace;">export TNS_ADMIN=$ORACLE_INSTANCE/config</span> </blockquote>
<blockquote class="tr_bq">
<span style="font-family: "Courier New", Courier, monospace;">export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/ldap/bin:$ORACLE_INSTANCE/bin:$PATH</span></blockquote>
<div class="separator" style="clear: both; text-align: left;">
2. If this does not work, try the following: </div>
<blockquote class="tr_bq">
<span style="font-family: "Courier New", Courier, monospace;">cp $TNS_ADMIN/tnsnames.ora $ORACLE_HOME/network/admin</span></blockquote>
<div class="separator" style="clear: both; text-align: left;">
3. If this does not work, the problem is with the "ods" account on the database.</div>
<blockquote class="tr_bq">
a. Try to connect to the "ods" user using Oracle SQL Developer.<br /><br />b. Try to connect to the "ods" user using SQL*Plus on the OAM server: </blockquote>
<blockquote class="tr_bq">
<blockquote class="tr_bq">
<span style="font-family: "Courier New", Courier, monospace;">sqlplus ods/welcome1@oiddb</span></blockquote>
c. Then try resetting the password again or create a new wallet</blockquote>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
</div>
<div>
<strong>Applicable Versions</strong></div>
<ul>
<li>Oracle Internet Directory (OID) 11g
</li>
</ul>
<b></b><br />
<div>
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjib0GgSqZWUkGomg4h28t1WvZsvWfKjoQ8IHXvSTmM1HRtn7FaikZ_VaCtYDZmhIGiHCvqpmJhc_GjxsF6Pt99sPCxH6dUyCY941Ov5zdMdehmXqB3OuxKVxmFmEpcMVstKo-156eErQ/w161-h51-no/blogger_footer_ahmed.jpg" title="Ahmed Aboulnaga" /> </div>
Ahmed Aboulnagahttp://www.blogger.com/profile/17300393989634195878noreply@blogger.com1tag:blogger.com,1999:blog-6416385526593383847.post-55311152293051282472017-12-02T18:20:00.000-05:002017-12-02T18:20:00.467-05:00Test Coherence communication between nodes using 'multicast-test.sh'<div class="separator" style="clear: both; text-align: left;">
This is a successful execution of the <span style="font-family: "courier new" , "courier" , monospace;">multicast-test.sh</span> script. Any other response may indicate communication issues between the nodes.</div>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763;"><span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #073763;">oracle@soahost1:/u01/app/oracle/middleware/coherence_3.7/bin> ./multicast-test.sh -local soahost1</span></span></span> </blockquote>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763;"><span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #073763;">java version "1.7.0_121"<br />Java(TM) SE Runtime Environment (build 1.7.0_121-b32)<br />Java HotSpot(TM) 64-Bit Server VM (build 24.121-b32, mixed mode)</span></span></span> </blockquote>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763;"><span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #073763;">2017-05-03 19:21:53.805/0.380 Oracle Coherence 3.7.1.1 <Info> (thread=main, member=n/a): Loaded operational configuration from "jar:file:/u01/app/oracle/middleware/coherence_3.7/lib/coherence.jar!/tangosol-coherence.xml"<br />2017-05-03 19:21:53.878/0.453 Oracle Coherence 3.7.1.1 <Info> (thread=main, member=n/a): Loaded operational overrides from "jar:file:/u01/app/oracle/middleware/coherence_3.7/lib/coherence.jar!/tangosol-coherence-override-dev.xml"<br />2017-05-03 19:21:53.878/0.453 Oracle Coherence 3.7.1.1 <D5> (thread=main, member=n/a): Optional configuration override "/tangosol-coherence-override.xml" is not specified<br />2017-05-03 19:21:53.881/0.456 Oracle Coherence 3.7.1.1 <D5> (thread=main, member=n/a): Optional configuration override "/custom-mbeans.xml" is not specified</span></span></span> </blockquote>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763;"><span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #073763;">Oracle Coherence Version 3.7.1.1 Build 28901<br /> Grid Edition: Development mode<br />Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.</span></span></span> </blockquote>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763;"><span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #073763;">Starting test on ip=soahost1/192.168.0.20, group=/237.0.0.1:9000, ttl=4<br />Configuring multicast socket...<br />Starting listener...<br />Wed May 03 19:21:53 GMT 2017: Sent packet 1 containing 1468 bytes.<br />Wed May 03 19:21:54 GMT 2017: Received test packet 1 from self (sent 7ms ago).<br />Wed May 03 19:21:54 GMT 2017: Received test packet 3 from ip=soahost2/192.168.0.21, group=/237.0.0.1:9000, ttl=4 containing 1468 bytes.<br />Wed May 03 19:21:56 GMT 2017: Sent packet 2 containing 1468 bytes.<br />Wed May 03 19:21:56 GMT 2017: Received test packet 2 from self (sent 1ms ago).<br />Wed May 03 19:21:56 GMT 2017: Received test packet 4 from ip=soahost2/192.168.0.21, group=/237.0.0.1:9000, ttl=4 containing 1468 bytes.<br />Wed May 03 19:21:58 GMT 2017: Sent packet 3 containing 1468 bytes.<br />Wed May 03 19:21:58 GMT 2017: Received test packet 3 from self (sent 3ms ago).<br />Wed May 03 19:21:58 GMT 2017: Received test packet 5 from ip=soahost2/192.168.0.21, group=/237.0.0.1:9000, ttl=4 containing 1468 bytes.<br />Wed May 03 19:22:00 GMT 2017: Sent packet 4 containing 1468 bytes.<br />Wed May 03 19:22:00 GMT 2017: Received test packet 4 from self (sent 1ms ago).<br />Wed May 03 19:22:02 GMT 2017: Sent packet 5 containing 1468 bytes.<br />Wed May 03 19:22:02 GMT 2017: Received test packet 5 from self (sent 1ms ago).</span></span></span></blockquote>
<div>
</div>
<div>
<strong>Applicable Versions</strong></div>
<ul>
<li>Oracle Coherence 11g (11.1.1.9.0)
</li>
</ul>
<b></b><br />
<div>
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjib0GgSqZWUkGomg4h28t1WvZsvWfKjoQ8IHXvSTmM1HRtn7FaikZ_VaCtYDZmhIGiHCvqpmJhc_GjxsF6Pt99sPCxH6dUyCY941Ov5zdMdehmXqB3OuxKVxmFmEpcMVstKo-156eErQ/w161-h51-no/blogger_footer_ahmed.jpg" title="Ahmed Aboulnaga" /> </div>
Ahmed Aboulnagahttp://www.blogger.com/profile/17300393989634195878noreply@blogger.com3tag:blogger.com,1999:blog-6416385526593383847.post-6621703666814854802017-12-01T18:14:00.000-05:002017-12-01T18:14:00.155-05:00Test Coherence communication between nodes using 'datagram-test.sh'<div class="separator" style="clear: both; text-align: left;">
This is a successful execution of the <span style="font-family: "Courier New", Courier, monospace;">datagram-test.sh</span> script. Any other response may indicate communication issues between the nodes.</div>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763;"><span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #073763;">oracle@soahost1:/u01/app/oracle/middleware/coherence_3.7/bin> ./datagram-test.sh -polite soahost2</span></span> </span></blockquote>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #073763;">java version "1.7.0_121"<br />Java(TM) SE Runtime Environment (build 1.7.0_121-b32)<br />Java HotSpot(TM) 64-Bit Server VM (build 24.121-b32, mixed mode)</span></span></blockquote>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763;"><span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;">2017-05-03 19:19:37.342/0.319 Oracle Coherence 3.7.1.1 <Info> (thread=main, member=n/a): Loaded operational configuration from "jar:file:/u01/app/oracle/middleware/coherence_3.7/lib/coherence.jar!/tangosol-coherence.xml"<br />2017-05-03 19:19:37.412/0.389 Oracle Coherence 3.7.1.1 <Info> (thread=main, member=n/a): Loaded operational overrides from "jar:file:/u01/app/oracle/middleware/coherence_3.7/lib/coherence.jar!/tangosol-coherence-override-dev.xml"<br />2017-05-03 19:19:37.412/0.389 Oracle Coherence 3.7.1.1 <D5> (thread=main, member=n/a): Optional configuration override "/tangosol-coherence-override.xml" is not specified<br />2017-05-03 19:19:37.415/0.392 Oracle Coherence 3.7.1.1 <D5> (thread=main, member=n/a): Optional configuration override "/custom-mbeans.xml" is not specified</span></span> </span></blockquote>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763;"><span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;">Oracle Coherence Version 3.7.1.1 Build 28901<br /> Grid Edition: Development mode<br />Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.</span></span> </span></blockquote>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763;"><span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;">creating datagram socket using provider: SystemSocketProvider<br />starting listener: at /192.168.0.20:9999<br />packet size: 1468 bytes<br />buffer size: 1428 packets<br /> report on: 100000 packets, 139 MBs<br /> process: 20 bytes/packet<br /> log: null<br /> log on: 139 MBs</span></span> </span></blockquote>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763;"><span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;">starting publisher: at /192.168.0.20:10000 sending to soahost2/192.168.0.21:9999<br />packet size: 1468 bytes<br />buffer size: 32 packets<br /> report on: 100000 packets, 139 MBs<br /> process: 20 bytes/packet<br /> peers: 1<br /> rate: no limit</span></span> </span></blockquote>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763;"><span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #073763;">no packet burst limit<br />waiting for listener to be contacted before publishing</span></span> </span></blockquote>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #073763;">Recieving data from 1 publisher(s).<br />ioioioioioioiioioIoiOiioioioioiioioIoiioioiOiioioioiIoioioiioioioiiOioIoiioioioiioioioiIoiOioiioioioiioioIoiioioiOiioioioiIoioioioiioioiOiioIoiioioioioiioioioIiOioioiioioioiioI<br />Lifetime:<br />Rx from publisher: /192.168.0.21:10000<br /> elapsed: 1235ms<br /> packet size: 1468<br /> throughput: 113 MB/sec<br /> 80972 packets/sec<br /> received: 100000 of 100000<br /> missing: 0<br /> success rate: 1.0<br /> out of order: 0<br /> avg offset: 0<br /> gaps: 0<br /> avg gap size: 0<br /> avg gap time: 0ms<br /> avg ack time: 1.338602ms; acks 19992</span></span><br />
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;"><br /><span style="color: #073763;">Now:<br />Rx from publisher: /192.168.0.21:10000<br /> elapsed: 1235ms<br /> packet size: 1468<br /> throughput: 113 MB/sec<br /> 80972 packets/sec<br /> received: 100000 of 100000<br /> missing: 0<br /> success rate: 1.0<br /> out of order: 0<br /> avg offset: 0<br /> gaps: 0<br /> avg gap size: 0<br /> avg gap time: 0ms<br /> avg ack time: 1.339186ms; acks 19992</span></span></span><span style="color: #073763;"> </span></blockquote>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #073763;">oioiioiOioiioioioIioioioiioioiOiioIoioioiioioioiioioIO<br />Tx summary 1 peers:<br /> life: 14 MB/sec, 10239 packets/sec<br /> now: 14 MB/sec, 10239 packets/sec<br />iioioiioioioioiIoioioiiOioioiioioIoiioioioiioiOiioIoioiioioioioiioioIOiioioioiioioioiIoioioiiOioioiioioIoiioioioiioiOioioI<br />Lifetime:<br />Rx from publisher: /192.168.0.21:10000<br /> elapsed: 2471ms<br /> packet size: 1468<br /> throughput: 113 MB/sec<br /> 80939 packets/sec<br /> received: 200000 of 200000<br /> missing: 0<br /> success rate: 1.0<br /> out of order: 0<br /> avg offset: 0<br /> gaps: 0<br /> avg gap size: 0<br /> avg gap time: 0ms<br /> avg ack time: 1.287305ms; acks 37107</span></span><br />
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;"><br /><span style="color: #073763;">Now:<br />Rx from publisher: /192.168.0.21:10000<br /> elapsed: 1234ms<br /> packet size: 1468<br /> throughput: 113 MB/sec<br /> 81037 packets/sec<br /> received: 100000 of 100000<br /> missing: 0<br /> success rate: 1.0<br /> out of order: 0<br /> avg offset: 0<br /> gaps: 0<br /> avg gap size: 0<br /> avg gap time: 0ms<br /> avg ack time: 1.227671ms; acks 17115</span></span></span><span style="color: #073763;"> </span></blockquote>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;"><span style="color: #073763;">ioioioioiioioioiOIoiioioioioiioioioIoOoooooooooOoooooooooOoooooooooO<br />Tx summary 1 peers:<br /> life: 25 MB/sec, 17691 packets/sec<br /> now: 91 MB/sec, 65020 packets/sec<br />oooooooooOoooooooooOoooooooooO^C</span></span></span></blockquote>
<div>
</div>
<div>
<strong>Applicable Versions</strong></div>
<ul>
<li>Oracle Coherence 11g (11.1.1.9.0)
</li>
</ul>
<b></b><br />
<div>
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjib0GgSqZWUkGomg4h28t1WvZsvWfKjoQ8IHXvSTmM1HRtn7FaikZ_VaCtYDZmhIGiHCvqpmJhc_GjxsF6Pt99sPCxH6dUyCY941Ov5zdMdehmXqB3OuxKVxmFmEpcMVstKo-156eErQ/w161-h51-no/blogger_footer_ahmed.jpg" title="Ahmed Aboulnaga" /> </div>
Ahmed Aboulnagahttp://www.blogger.com/profile/17300393989634195878noreply@blogger.com0tag:blogger.com,1999:blog-6416385526593383847.post-15182639480038986882017-11-26T17:50:00.000-05:002017-11-26T17:50:00.146-05:00 MulticastUdpSocket failed to set receive buffer size in SOA Suite 11.1.1.9 cluster<div class="separator" style="clear: both; text-align: left;">
<b>Problem</b></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
The following appears to be repeating every 75 seconds exactly in <span style="font-family: "Courier New", Courier, monospace;">soa_server1-diagnostic.log</span>:</div>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;">[2017-03-15T13:02:33.077+00:00] [soa_server1] <strong><span style="color: #073763;">[WARNING] [] [Coherence]</span></strong> [tid: Logger@9270387 3.7.1.13] [userId: <anonymous>] [ecid: 0000LfI3B__3b605zzT4iW1OmJeA000003,1:17737] [APP: soa-infra] 2017-03-15 13:02:33.077/235.749 Oracle Coherence GE 3.7.1.13 <Warning> (thread=PacketListenerN, member=1): <strong><span style="color: #073763;">MulticastUdpSocket failed to set receive buffer size to 16 packets (1023KB); actual size is 20%, 3 packets (208KB).</span></strong> Consult your OS documentation regarding increasing the maximum socket buffer size. Proceeding with the actual value may cause sub-optimal performance.</span></span> </blockquote>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;">[2017-03-15T13:03:48.114+00:00] [soa_server1] [WARNING] [] [Coherence] [tid: Logger@9270387 3.7.1.13] [userId: <anonymous>] [ecid: 0000LfI3B__3b605zzT4iW1OmJeA000003,1:17737] [APP: soa-infra] 2017-03-15 13:03:48.114/310.786 Oracle Coherence GE 3.7.1.13 <Warning> (thread=PacketListenerN, member=1): MulticastUdpSocket failed to set receive buffer size to 16 packets (1023KB); actual size is 20%, 3 packets (208KB). Consult your OS documentation regarding increasing the maximum socket buffer size. Proceeding with the actual value may cause sub-optimal performance.</span></span> </blockquote>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;">[2017-03-15T13:05:03.182+00:00] [soa_server1] [WARNING] [] [Coherence] [tid: Logger@9270387 3.7.1.13] [userId: <anonymous>] [ecid: 0000LfI3B__3b605zzT4iW1OmJeA000003,1:17737] [APP: soa-infra] 2017-03-15 13:05:03.182/385.854 Oracle Coherence GE 3.7.1.13 <Warning> (thread=PacketListenerN, member=1): MulticastUdpSocket failed to set receive buffer size to 16 packets (1023KB); actual size is 20%, 3 packets (208KB). Consult your OS documentation regarding increasing the maximum socket buffer size. Proceeding with the actual value may cause sub-optimal performance. </span></span> </blockquote>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;">[2017-03-15T13:06:18.221+00:00] [soa_server1] [WARNING] [] [Coherence] [tid: Logger@9270387 3.7.1.13] [userId: <anonymous>] [ecid: 0000LfI3B__3b605zzT4iW1OmJeA000003,1:17737] [APP: soa-infra] 2017-03-15 13:06:18.221/460.893 Oracle Coherence GE 3.7.1.13 <Warning> (thread=PacketListenerN, member=1): MulticastUdpSocket failed to set receive buffer size to 16 packets (1023KB); actual size is 20%, 3 packets (208KB). Consult your OS documentation regarding increasing the maximum socket buffer size. Proceeding with the actual value may cause sub-optimal performance.</span></span> </blockquote>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;">[2017-03-15T13:07:33.245+00:00] [soa_server1] [WARNING] [] [Coherence] [tid: Logger@9270387 3.7.1.13] [userId: <anonymous>] [ecid: 0000LfI3B__3b605zzT4iW1OmJeA000003,1:17737] [APP: soa-infra] 2017-03-15 13:07:33.245/535.917 Oracle Coherence GE 3.7.1.13 <Warning> (thread=PacketListenerN, member=1): MulticastUdpSocket failed to set receive buffer size to 16 packets (1023KB); actual size is 20%, 3 packets (208KB). Consult your OS documentation regarding increasing the maximum socket buffer size. Proceeding with the actual value may cause sub-optimal performance.</span></span></blockquote>
<strong>Solution</strong><br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
1. As 'root', edit <span style="font-family: "Courier New", Courier, monospace;">/etc/sysctl.conf</span> and add the following: </div>
<blockquote class="tr_bq" style="clear: both; text-align: left;">
<span style="font-family: "courier new" , "courier" , monospace;"><span style="color: #073763;">net.core.rmem_max=2096304<br />net.core.wmem_max=2096304<br />net.core.rmem_max=4194304 <br />net.core.wmem_max=4194304</span></span></blockquote>
<div class="separator" style="clear: both; text-align: left;">
2. Bounce the SOA managed servers. </div>
<div>
<br /></div>
<div>
<strong>References</strong></div>
<ul>
<li><a href="http://docs.oracle.com/cd/E14526_01/coh.350/e14509/perftune.htm#COHDG217">http://docs.oracle.com/cd/E14526_01/coh.350/e14509/perftune.htm#COHDG217</a> </li>
</ul>
<div>
</div>
<div>
<strong>Applicable Versions</strong></div>
<ul>
<li>Oracle SOA Suite 11g (11.1.1.9.0)
</li>
<li>Oracle Coherence 11g (11.1.1.9.0)</li>
</ul>
<b></b><br />
<div>
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjib0GgSqZWUkGomg4h28t1WvZsvWfKjoQ8IHXvSTmM1HRtn7FaikZ_VaCtYDZmhIGiHCvqpmJhc_GjxsF6Pt99sPCxH6dUyCY941Ov5zdMdehmXqB3OuxKVxmFmEpcMVstKo-156eErQ/w161-h51-no/blogger_footer_ahmed.jpg" title="Ahmed Aboulnaga" /> </div>
Ahmed Aboulnagahttp://www.blogger.com/profile/17300393989634195878noreply@blogger.com2tag:blogger.com,1999:blog-6416385526593383847.post-88696243233579626562017-11-10T19:00:00.000-05:002017-11-10T19:00:22.632-05:00ORA-01017: invalid username/password when starting up OID 11g<div class="separator" style="clear: both; text-align: left;">
<b>Problem</b></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
When trying to startup the OID OPMN processes: </div>
<blockquote class="tr_bq">
<span></span><span style="font-family: "Courier New", Courier, monospace;">${ORACLE_HOME}/asinst_1/bin/opmnctl startall</span></blockquote>
<div>
</div>
<div class="separator" style="clear: both; text-align: left;">
In this file <span style="font-family: "Courier New", Courier, monospace;">/u01/app/oracle/middleware/asinst_1/diagnostics/logs/OID/oid1/oidmon-0000.log</span>, you see the following error:</div>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;">[2017-04-26T21:39:25.10925+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: oamhost1.raastech.com] [pid: 17029] [tid: 0] Guardian: Connecting to database, connect string is oiddb</span></span> </blockquote>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;">[2017-04-26T21:39:26.57778+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: oamhost1.raastech.com] [pid: 17029] [tid: 0] Guardian: [gsdsiConnect] ORA-1017, <strong><span style="color: #073763;">ORA-01017: invalid username/password; logon denied</span></strong></span></span></blockquote>
<strong>Solution</strong><br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
1. The DBA should unlock the ODS account:<br /><blockquote class="tr_bq">
<span style="font-family: "Courier New", Courier, monospace;">ALTER USER ods ACCOUNT UNLOCK;</span></blockquote>
2. Connect as ODS and see if this query works: <br />
<blockquote class="tr_bq">
<span style="font-family: "Courier New", Courier, monospace;">CONN ods/**********;<br /><br />SELECT instance_name FROM v$instance WHERE instance_number IN (SELECT MIN(instance_number) FROM v$instance);</span></blockquote>
<div class="separator" style="clear: both; text-align: left;">
3. If the query returns an ORA-00942 error, then log in as SYSTEM and grant these permissions: </div>
<blockquote class="tr_bq">
<span style="font-family: "Courier New", Courier, monospace;">SELECT * FROM sys.dba_role_privs WHERE grantee = "ODS";<br /><br />ALTER USER ods DEFAULT ROLE SELECT_CATALOG_ROLE, RESOURCE, CONNECT;</span></blockquote>
<div>
<strong><br /></strong></div>
<div>
<strong>Applicable Versions</strong></div>
<ul>
<li>Oracle Internet Directory (OID) 11g
</li>
</ul>
<b></b><br />
<div>
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjib0GgSqZWUkGomg4h28t1WvZsvWfKjoQ8IHXvSTmM1HRtn7FaikZ_VaCtYDZmhIGiHCvqpmJhc_GjxsF6Pt99sPCxH6dUyCY941Ov5zdMdehmXqB3OuxKVxmFmEpcMVstKo-156eErQ/w161-h51-no/blogger_footer_ahmed.jpg" title="Ahmed Aboulnaga" /> </div>
</div>
Ahmed Aboulnagahttp://www.blogger.com/profile/17300393989634195878noreply@blogger.com0tag:blogger.com,1999:blog-6416385526593383847.post-34682195449163613502017-11-08T18:22:00.000-05:002017-11-08T18:22:00.172-05:00Coherence WKA configuration changes with 11.1.1.9<div class="separator" style="clear: both; text-align: left;">
With 11.1.1.9, Oracle has changed the instructions on what they recommend for the Coherence configuration for the WKA1 and WKA2 settings.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<u>This is wrong:</u> </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
soa_server1 </div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: "courier new" , "courier" , monospace;">-Dtangosol.coherence.wka1=soahost1 -Dtangosol.coherence.wka2=soahost2 -Dtangosol.coherence.localhost=soahost1 -Dweblogic.MaxMessageSize=50000000 -Dtangosol.coherence.localport=8088 -Dtangosol.coherence.wka1.port=8088 -Dtangosol.coherence.wka2.port=8088</span></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
soa_server2 <br />
<span style="font-family: "courier new" , "courier" , monospace;">-Dtangosol.coherence.wka1=soahost2 -Dtangosol.coherence.wka2=soahost1 -Dtangosol.coherence.localhost=soahost2 -Dweblogic.MaxMessageSize=50000000 -Dtangosol.coherence.localport=8088 -Dtangosol.coherence.wka1.port=8088 -Dtangosol.coherence.wka2.port=8088</span><br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<u>This is right:</u><br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
soa_server1 </div>
<span style="font-family: "courier new" , "courier" , monospace;">-Dtangosol.coherence.wka1=soahost1 -Dtangosol.coherence.wka2=soahost2 -Dtangosol.coherence.localhost=soahost1 -Dweblogic.MaxMessageSize=50000000 -Dtangosol.coherence.localport=8088 -Dtangosol.coherence.wka1.port=8088 -Dtangosol.coherence.wka2.port=8088</span> <br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
soa_server2 <br />
<span style="font-family: "courier new" , "courier" , monospace;">-Dtangosol.coherence.wka1=soahost1 -Dtangosol.coherence.wka2=soahost2 -Dtangosol.coherence.localhost=soahost2 -Dweblogic.MaxMessageSize=50000000 -Dtangosol.coherence.localport=8088 -Dtangosol.coherence.wka1.port=8088 -Dtangosol.coherence.wka2.port=8088</span><br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div>
</div>
<div>
<strong>References</strong></div>
<ul>
<li><a href="https://docs.oracle.com/middleware/11119/core/SOEDG/extend_soa.htm#SOEDG542">https://docs.oracle.com/middleware/11119/core/SOEDG/extend_soa.htm#SOEDG542</a></li>
<li>This is the old documentation: <a href="https://docs.oracle.com/cd/E21764_01/core.1111/e12037/extend_soa.htm#WCEDG202">https://docs.oracle.com/cd/E21764_01/core.1111/e12037/extend_soa.htm#WCEDG202</a></li>
</ul>
<div>
</div>
<div>
<strong>Applicable Versions</strong></div>
<ul>
<li>Oracle SOA Suite 11g (11.1.1.9.0)
</li>
</ul>
<b></b><br />
<div>
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjib0GgSqZWUkGomg4h28t1WvZsvWfKjoQ8IHXvSTmM1HRtn7FaikZ_VaCtYDZmhIGiHCvqpmJhc_GjxsF6Pt99sPCxH6dUyCY941Ov5zdMdehmXqB3OuxKVxmFmEpcMVstKo-156eErQ/w161-h51-no/blogger_footer_ahmed.jpg" title="Ahmed Aboulnaga" /> </div>
Ahmed Aboulnagahttp://www.blogger.com/profile/17300393989634195878noreply@blogger.com0tag:blogger.com,1999:blog-6416385526593383847.post-83739977020367089582017-10-10T18:37:00.000-04:002017-10-10T18:37:00.152-04:00JPS-01013: The credential store DN cn=CredentialStore,cn=IAM,cn=JPSContext,cn=jpsroot is missing in the store<div class="separator" style="clear: both; text-align: left;">
<b>Problem</b></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
If you are trying to start up the OAM AdminServer, you see the following error in the logs, then the server dies:</div>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;"><Jun 20, 2017 6:46:03 PM GMT> <strong><span style="color: #073763;"><Error> <Security> <BEA-090892> <The loading of OPSS java security policy provider failed due to exception</span></strong>, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: <strong><span style="color: #073763;">JPS-01055: Could not create credential store instance. Reason oracle.security.jps.JpsException: JPS-01013: The credential store DN cn=CredentialStore,cn=IAM,cn=JPSContext,cn=jpsroot is missing in the store; the target DN must be pre-configured</span></strong>.> <br /><Jun 20, 2017 6:46:03 PM GMT> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: JPS-01055: Could not create credential store instance. Reason oracle.security.jps.JpsException: JPS-01013: The credential store DN cn=CredentialStore,cn=IAM,cn=JPSContext,cn=jpsroot is missing in the store; the target DN must be pre-configured.<br />weblogic.security.SecurityInitializationException: The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: JPS-01055: Could not create credential store instance. Reason oracle.security.jps.JpsException: JPS-01013: The credential store DN cn=CredentialStore,cn=IAM,cn=JPSContext,cn=jpsroot is missing in the store; the target DN must be pre-configured.<br /> at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1402)<br /> at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1022)<br /> at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:888)<br /> at weblogic.security.SecurityService.start(SecurityService.java:141)<br /> at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)<br /> Truncated. see log file for complete stacktrace<br />Caused By: oracle.security.jps.JpsRuntimeException: JPS-01055: Could not create credential store instance. Reason oracle.security.jps.JpsException: JPS-01013: The credential store DN cn=CredentialStore,cn=IAM,cn=JPSContext,cn=jpsroot is missing in the store; the target DN must be pre-configured.<br /> at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:190)<br /> at oracle.security.jps.internal.policystore.TenantJavaPolicyProvider.<init>(TenantJavaPolicyProvider.java:161)<br /> at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:306)<br /> at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:279)<br /> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)<br /> Truncated. see log file for complete stacktrace<br />Caused By: oracle.security.jps.JpsException: JPS-01055: Could not create credential store instance. Reason oracle.security.jps.JpsException: JPS-01013: The credential store DN cn=CredentialStore,cn=IAM,cn=JPSContext,cn=jpsroot is missing in the store; the target DN must be pre-configured.<br /> at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPDPService(PolicyUtil.java:3180)<br /> at oracle.security.jps.internal.policystore.PolicyUtil.getPDPService(PolicyUtil.java:3480)<br /> at oracle.security.jps.internal.policystore.PolicyUtil.getPDPService(PolicyUtil.java:3466)<br /> at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:188)<br /> at oracle.security.jps.internal.policystore.TenantJavaPolicyProvider.<init>(TenantJavaPolicyProvider.java:161)<br /> Truncated. see log file for complete stacktrace<br />Caused By: oracle.security.jps.service.credstore.CredStoreException: JPS-01055: Could not create credential store instance. Reason oracle.security.jps.JpsException: JPS-01013: The credential store DN cn=CredentialStore,cn=IAM,cn=JPSContext,cn=jpsroot is missing in the store; the target DN must be pre-configured.<br /> at oracle.security.jps.internal.credstore.ldap.LdapCredentialStore.init(LdapCredentialStore.java:177)<br /> at oracle.security.jps.internal.credstore.ldap.LdapCredentialStore.<init>(LdapCredentialStore.java:166)<br /> at oracle.security.jps.internal.credstore.ldap.LdapCredentialStore.<init>(LdapCredentialStore.java:140)<br /> at oracle.security.jps.internal.credstore.ldap.LdapCredentialStoreProvider.getInstance(LdapCredentialStoreProvider.java:130)<br /> at oracle.security.jps.internal.credstore.rdbms.DbmsCredentialStoreProvider.getInstance(DbmsCredentialStoreProvider.java:78)<br /> Truncated. see log file for complete stacktrace<br />></span></span> </blockquote>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><span style="color: #999999;"><Jun 20, 2017 6:46:03 PM GMT> <Error> <strong><span style="color: #073763;"><WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down></span></strong></span></span></blockquote>
<strong>Solution</strong><br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
1. The DEV_OPSS schema either has no data, or it is a permission thing. </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
For example, running <span style="font-family: "Courier New", Courier, monospace;">SELECT COUNT(1) FROM jps_attrs</span> will return 0 records when there should be millions of records in that table. </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div>
<strong>References</strong></div>
<ul>
<li>Oracle Doc ID 2066916.1 </li>
</ul>
<br /><br />
<div>
<strong>Applicable Versions</strong></div>
<ul>
<li>Oracle Access Manager 11g
</li>
</ul>
<b></b><br />
<div>
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjib0GgSqZWUkGomg4h28t1WvZsvWfKjoQ8IHXvSTmM1HRtn7FaikZ_VaCtYDZmhIGiHCvqpmJhc_GjxsF6Pt99sPCxH6dUyCY941Ov5zdMdehmXqB3OuxKVxmFmEpcMVstKo-156eErQ/w161-h51-no/blogger_footer_ahmed.jpg" title="Ahmed Aboulnaga" /> </div>
Ahmed Aboulnagahttp://www.blogger.com/profile/17300393989634195878noreply@blogger.com5tag:blogger.com,1999:blog-6416385526593383847.post-74699034167140763192017-10-10T13:57:00.000-04:002017-10-10T13:57:00.159-04:00Importing SSL user certificate to an Oracle Wallet<div class="separator" style="clear: both; text-align: left;">
Oracle Wallet does not allow you to import a user certificate if the CSR was not generated in that wallet.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
These instructions explain how to take your existing user cert and private key and generate a new Oracle Wallet with them. This is based off the instructions from the <a href="http://www.ateam-oracle.com/converting-ssl-certificate-generated-by-a-3rd-party-to-an-oracle-wallet/">Oracle A-Team</a> with some slight variation, so read that note first.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Run these instructions to create the <span style="font-family: "courier new" , "courier" , monospace;">ewallet.p12</span> file:</div>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;">export JAVA_HOME=/u01/oracle/java</span> </blockquote>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;">export PATH=$JAVA_HOME/bin:$PATH</span><br />
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><br /></span>
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;">cat Trust.cer > combined.crt</span></blockquote>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;">cat Intermediate.cer >> combined.crt</span> </blockquote>
<blockquote class="tr_bq" style="clear: both;">
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;">cat mycert.cer >> combined.crt</span><br />
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;"><br /></span>
<span style="color: #073763; font-family: "courier new" , "courier" , monospace;">openssl pkcs12 -export -in combined.crt -inkey myprivatekey.key -out ewallet.p12</span></blockquote>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Afterwards, after running Oracle Wallet Manager, open the directory which contains the <span style="font-family: "courier new" , "courier" , monospace;">ewallet.p12</span> file (which essentially now becomes your Oracle Wallet directory), click on "Wallet > Auto Login > Exit".</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div>
<strong>References</strong></div>
<ul>
<li><a href="http://www.ateam-oracle.com/converting-ssl-certificate-generated-by-a-3rd-party-to-an-oracle-wallet/">http://www.ateam-oracle.com/converting-ssl-certificate-generated-by-a-3rd-party-to-an-oracle-wallet/</a></li>
</ul>
<div>
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjib0GgSqZWUkGomg4h28t1WvZsvWfKjoQ8IHXvSTmM1HRtn7FaikZ_VaCtYDZmhIGiHCvqpmJhc_GjxsF6Pt99sPCxH6dUyCY941Ov5zdMdehmXqB3OuxKVxmFmEpcMVstKo-156eErQ/w161-h51-no/blogger_footer_ahmed.jpg" title="Ahmed Aboulnaga" /> </div>
Ahmed Aboulnagahttp://www.blogger.com/profile/17300393989634195878noreply@blogger.com1