Shut down the managed server from the WebLogic console.
Shut down the managed server using the WLST command through Node Manager.
Run kill -9 once to kill the managed server process.
Run kill -9 to kill the managed server process, and run kill -9 one more time if the managed server is restarting.
第1题:
An enterprise has three nodes: -Node ’A’ is a production database, -Node ’B’ is a production Application server, and -Node ’C’ is a test and development node. Node ’C’ is used by six programmers to develop and the production application as business critical and would like to make it highly available with HACMP. Application development and testing is not business critical. Which of the following describes the best solution?()
第2题:
A customer needs to implement a Highly Available solution for JMS that has a primary data center and a backup. Which three steps would you perform when designing your solution?()
第3题:
我已经用JMS实现了对weblogic的server Name,Listen Port,webApp的名称、domain名称。现在想实现对weblogic的执行线程(executeQueue)、集群(cluster)、堆(heap)等,不知道应该怎么实现?
能,用jmx ,google一下这方面知识,由于从weblogic8升级到weblogic9发生了比较大的变化,以前对于weblogic8比较熟悉的人,也许到了weblogic9就不一定熟悉了,还需要了解才行,特别是监控方面差别比较大,由于9采用的jdk版本是1.5,监控8实现的java方式就不能用于9了。
就目前我得测试结论是:java实现weblogic的自定义监控对于9和10都是适用的,但是对于11却没有测试,还不知道方式是否相同,实际上从文档里面也可以看出,8系列是采用的许多管理的MBean接口在9中已经不推荐使用,标明是过时的了。
我这次通过java编程来实现weblogic9的自定义监控就发现,很多地方完全地不同了。
从界面上来看,已经完全不同于8,命令行监控方式也有一些大的变化。
这是我取得监控接口封装的类:
package lht.monitor.weblogic.main9;
import java.io.IOException;
import java.net.MalformedURLException;
import java.util.Hashtable;
import javax.management.MBeanServerConnection;
import javax.management.MalformedObjectNameException;
import javax.management.ObjectName;
import javax.management.remote.JMXConnector;
import javax.management.remote.JMXConnectorFactory;
import javax.management.remote.JMXServiceURL;
import javax.naming.Context;
public class SetEnvironment {
protected static MBeanServerConnection connection;
private static JMXConnector connector;
private static final ObjectName service;
// Initializing the object name for DomainRuntimeServiceMBean
// so it can be used throughout the class.
static {
try {
service = new ObjectName( "com.bea:Name=DomainRuntimeService,Type=weblogic.management.mbeanservers.domainruntime.DomainRuntimeServiceMBean");
}catch (MalformedObjectNameException e) {
throw new AssertionError(e.getMessage());
}
}
/*
* Initialize connection to the Domain Runtime MBean Server
*/
public static void initConnection(String hostname, String portString,String username, String password) throws IOException, MalformedURLException {
String protocol = "t3";
Integer portInteger = Integer.valueOf(portString);
int port = portInteger.intValue();
String jndiroot = "/jndi/";
String mserver = "weblogic.management.mbeanservers.domainruntime";
JMXServiceURL serviceURL = new JMXServiceURL(protocol, hostname, port, jndiroot + mserver);
Hashtable hash = new Hashtable();
hash.put(Context.SECURITY_PRINCIPAL, username);
hash.put(Context.SECURITY_CREDENTIALS, password);
hash.put(JMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGES,"weblogic.management.remote");
connector = JMXConnectorFactory.connect(serviceURL,hash);
connection = connector.getMBeanServerConnection();
}
/*
* This MBean is the root of the runtime MBean hierarchy, and
* each server in the domain hosts its own instance.
*/
public static ObjectName[] getServerRuntimes(String servername,String hostname, String portString,String username, String password) throws Exception{
ObjectName[] bj = (ObjectName[])connection.getAttribute(service,servername);
return obj;
}
}
第4题:
In Real Operations Automation, we have Domain Template and WebLogic Scripting Tool for provisioning and configuration respectively. Which are the other two elements ?()
第5题:
How can an Oracle WebLogic cluster’s capacity be increased ?()
第6题:
Active Cache is the integration of Coherence and WebLogic Server. Which component is NOT part of this integration?()
第7题:
Which two statements are true regarding the WebLogic domain?()
第8题:
Which of the following statements is true about IPAT via IP replacement?()
第9题:
In the absence of shared storage between cluster nodes, which two actions can you take to configure a High Availability architecture?()
第10题:
Which two outcomes result when a domain is created in development mode?()