Tuesday, January 25, 2011

Accessing the composite instance page directly on SOA Suite 11g

This was done relatively easy in SOA Suite 10g, and in 11g  the concept is roughly identical.

If you wanted a URL that takes you directly to the page that displays the flow of your composite instance in SOA Suite 11g, the URL should take the following format:
 For example, the URL would look like this:
By accessing the URL this way, once authenticated, you will be taken to the instance flow directly.

This can be advantageous if you decide to write your own error pages that link back to the console.

Applicable Versions:
  • Oracle SOA Suite 11g (11.1.1.x)


Anonymous said...

Thanks ..this was usefull to me

Unknown said...

You can get sever_name and domain_name using Java code from the mbeans (JMX or normal lookup on the mbean)

using JMX might use the following code:

String protocol = "t3";
int port = 7001;
String hostname = "localhost";
String jndiroot = "/jndi/";
String mserver = "weblogic.management.mbeanservers.domainruntime";
JMXServiceURL serviceURL = new JMXServiceURL(protocol, hostname, port, jndiroot + mserver);
JMXConnector connector = JMXConnectorFactory.connect(serviceURL, jndiProps);
MBeanServerConnection connection = connector.getMBeanServerConnection();
ObjectName service = new ObjectName("com.bea:Name=DomainRuntimeService,Type=weblogic.management.mbeanservers.domainruntime.DomainRuntimeServiceMBean");
ObjectName domainNameBean = (ObjectName)connection.getAttribute(service, "DomainRuntime");

System.out.println(connection.getAttribute(domainNameBean, "Name"));

System.out.println(connection.getAttribute(service, "ServerName"));

Unknown said...

Can the authentication also be done programitically ??