Starting JMX
I'm having problems connecting JConsole to Tangosol 3.2 on Windows. I'm running JDK5. Using instructions from http://wiki.tangosol.com/display/COH32UG/Managing+Coherence+using+JMX
- Modified cache-server.cmd:
set java_opts="-Dtangosol.coherence.management=all ...
- Run cache-server.cmd
- cd to the lib folder, then
java -Dcom.sun.management.jmxremote -Dtangosol.coherence.management=all -Dtangosol.coherence.management.remote=true -jar coherence.jar
- entered "jmx 8082", get this error "(Wrapped: Failed to start the HttpAdapter) com.sun.jdmk.comm.HtmlAdaptorServer"
- also tried JConsole locally. Nothing appears in the "Local" tab.
- tried the Remote tab with "localhost" & 1484, like the picture in the page.
How do I get this to work?
Thanks,
Harry
- modified cache-server.cmd, then ran it
set java_opts="-Xms%memory% -Xmx%memory% -Dtangosol.coherence.management=all -Dtangosol.coherence.management.remote=true"
- downloaded JMX 1.2.1 ref impl from Sun
- java -classpath C:\java\jmx-1_2_1-bin\lib\jmxri.jar;C:\java\jmx-1_2_1-bin\lib\jmxtools.jar -Dcom.sun.management.jmxremote -Dtangosol.coherence.management=all -jar ..\lib\coherence.jar
- started JConsole. Tangosol doesn't show up in the "Local" tab
- tried "jmx 8082" from Tangosol command line. Still getting "(Wrapped: Failed to start the HttpAdapter) com.sun.jdmk.comm.HtmlAdaptorServer"
I'm running java version "1.5.0_11".
Similar Messages
-
JMX, Firewall and javaagent option
Hey all,
I'm working on setting up JMX monitoring on the JVMs running in our environment. Most of those JVMs are running third party applications supplied by our customers and are heavily protected by firewalls. So i needed to use the JavaAgent strategy to be able to set a fixed port for the JMX agent. (see: http://java.sun.com/javase/6/docs/technotes/guides/management/agent.html)
This all works very nice except that the JVM will never exit. The RMI Reaper is a non-daemon thread and will have to be stopped manually before the JVM will shutdown. The application has no knowledge of the RMI Reaper (as it is started from the premain method). A ShutdownHook doesn't work because those are called after the JVM decided to shutdown or when an external event is triggered (Ctrl-C) for example.
For now i have this horrible workaround. I create a thread that checks if there is still a main thread in the JVM. If there isn't it shuts down the JMX server and that allows the JVM to close down. Is there a better way of doing this? below is the code:
public class JMXAgent {
private static JMXConnectorServer cs;
private static Logger logger;
public static void premain(String agentArgs, Instrumentation inst) {
/** snip */
JMXServiceURL url =
new JMXServiceURL("service:jmx:rmi://0.0.0.0:" + RMIConnectorPort + "/jndi/rmi://:" + RMIRegistryPort + "/jmxrmi");
cs = JMXConnectorServerFactory.newJMXConnectorServer(url, env, mbs);
// Setup the failsafe
Thread failsafeThread = new MainCheckerThread();
failsafeThread.start();
logger.fine("MainChecker Thread created.");
// Setup the shutdown hook
Thread shutdownThread = new ShutdownThread();
Runtime.getRuntime().addShutdownHook(shutdownThread);
logger.fine("SchutdownHook implemented.");
public static void stop() {
try {
logger.info("Stop called");
cs.stop();
} catch (IOException ex) {
ex.printStackTrace();
* Shutdown thread that allows the tracer to write out any final
* information.
private static class ShutdownThread extends Thread {
@Override
public void run() {
JMXAgent.stop();
Runtime.getRuntime().halt(0);
private static class MainCheckerThread extends Thread {
@Override
public void run() {
boolean found = true;
while (found) {
Logger.getLogger(this.getClass().getName()).finest("Ping!");
ThreadGroup root = Thread.currentThread().getThreadGroup();
while (root.getParent() != null) {
root = root.getParent();
Thread[] list = new Thread[400];
int threads = root.enumerate(list, true);
found = false;
for (int i=0; i<threads; i++) {
if (!list.isDaemon()) {
if (list[i].getName().equals("main")) {
found = true;
if (!found) {
/** No main found, stop the RMI server */
JMXAgent.stop();
} else {
try {
Thread.sleep(10000);
} catch (InterruptedException ex) {
JMXAgent.stop();
found=false;Hi Hugo,
This is a very interesting question.
What happens here is that the RMI object exported by the JMX connector server prevents
the RMIReaper thread from terminating: as long as the JMX connector server is active, its
exported RMIServer object will remain active, and the RMI Reaper thread will stay there
waiting for the RMIServer object to be unexported.
This is in fact a feature: JMX connector servers where designed to be controlled by
the application itself. In the usual way of using JMX Connector Server, you would start your
server in main() (or some application equivalent of main) and stop it later on before exiting
your application.
Things got a little more complex when we introduced the 'out-of-the-box management'.
In the 'out-of-the-box management' the default connector is not controlled by the application
but by the VM - or more exactly by an agent loaded in the VM. As you rightly noticed, the
agent has no idea as to when the application (the main) will exit.
The default 'out-of-the-box management' agent is thus conspiring with RMI (using sun
private APIs) to export its RMIServer object, so that its exported RMIServer doesn't
prevent the RMI Reaper thread to terminate. These APIs are unfortunately private and
non portables (and low-level).
Maybe we should think of supporting some kind of 'daemon connector servers' for the future.
The ability of starting JMX Connectors servers in premain agents obviously makes this desirable.
Concerning your 'hack' that detects the end of the main thread I will make two observations:
1) such a hack might work if indeed the application is expected to exit when the main thread
terminates. This is not always the case - for instance consider this:
public void main(String[] args) {
final Thread myMainThread = new Thread("My real main thread") {
public void run() {
try {
System.out.println("Strike <return> to exit: ");
System.in.read();
} catch(Exception x) {
x.printStackTrace();
myMainThread.start();
}Such an application will wait for the user to strike enter to exit, although the main thread is
already terminated and gone. So the termination of main thread doesn't necessarily means
that the application is finished.
2) The concept of detecting a main thread is tenuous. What happens if an application does
new Thread("main") ?
This being said - detecting the absence of "main" thread might be sufficient to your needs in
most of the case. If you simply call JMXConnectorServer.stop() when you detect that the
main thread is no longer there - the only risk you will be taking is stopping the
JMXConnectorServer ahead of time, before the application actually exits. If you want
to implement such a hack - you might wish to use the following logic:
// Attempts to find a "main" thread
public static Thread findmain() {
// When the premain agent is loaded from the command line the
// current thread is the main thread....
final Thread current = Thread.currentThread();
if (current.getName().equals("main")) return current;
// If the premain agent was loaded from the attach API, or by some
// other means, the current thread might not be the main thread.
// Try to find a main thread using Thread.enumerate()
// The main thread should be already there, allocate some
// more space than needed just to be sure we do get it, even if
// new threads are created in between.
final Thread[] all = new Thread[Thread.activeCount()+100];
final int count = Thread.enumerate(all);
// Try to find the main thread
for (int i=0;i<count;i++) {
if (all.getName().equals("main")) return all[i];
return null;
public static void premain(String agentArgs)
throws IOException {
final JMXConnectorServer cs = .....
cs.start();
final Thread main = findmain();
final Thread clean = new Thread("JMX Agent Cleaner") {
public void run() {
try {
if (main != null) main.join();
System.out.println("main thread exited...");
} catch (Exception x) {
x.printStackTrace();
} finally {
try {
System.out.println("cleaning up JMX agent...");
cs.stop();
} catch (Exception x) {
x.printStackTrace();
clean.setDaemon(true);
clean.start();
If you really want your JMXConnectorServer to stop() at the latest possible time, you could
for instance modify this logic to find the first non daemon thread (excluding RMI Reaper and
DestroyJavaVM threads), join it, and loop over this until the only non daemon thread that
remains is/are the RMI Reaper threads, in which case you would close the
JMXConnectorServer.
This would not be completely foolproof either because the normal behavior of the application
could precisely be to be held alive by an exported object, and waiting on some
external communication to stop. So even counting the non-daemon thread until only
the RMI Reaper threads remain doesn't necessarily means that the application is
finished...
Here is an example of CleanThread class that implements the logic above:
public class JMXAgent {
public static class CleanThread extends Thread {
private final JMXConnectorServer cs;
public CleanThread(JMXConnectorServer cs) {
super("JMX Agent Cleaner");
this.cs = cs;
setDaemon(true);
public void run() {
boolean loop = true;
try {
while (loop) {
final Thread[] all = new Thread[Thread.activeCount()+100];
final int count = Thread.enumerate(all);
loop = false;
for (int i=0;i<count;i++) {
final Thread t = all;
// daemon: skip it.
if (t.isDaemon()) continue;
// RMI Reaper: skip it.
if (t.getName().startsWith("RMI Reaper")) continue;
if (t.getName().startsWith("DestroyJavaVM")) continue;
// Non daemon, non RMI Reaper: join it, break the for
// loop, continue in the while loop (loop=true)
loop = true;
try {
System.out.println("Waiting on "+t.getName()+
" [id="+t.getId()+"]");
t.join();
} catch (Exception ex) {
ex.printStackTrace();
break;
// We went through a whole for-loop without finding any thread
// to join. We can close cs.
} catch (Exception ex) {
ex.printStackTrace();
} finally {
try {
// if we reach here it means the only non-daemon threads
// that remain are reaper threads - or that we got an
// unexpected exception/error.
cs.stop();
} catch (Exception ex) {
ex.printStackTrace();
public static void premain(String agentArgs)
throws IOException {
final JMXConnectorServer cs = .....
cs.start();
final Thread clean = new CleanThread(cs);
clean.start();
Thanks for bringing this to my attention! I'm probably going to have to update my entry
on this subject at
http://blogs.sun.com/jmxetc/entry/connecting_through_firewall_using_jmx
Hope this helps,
-- daniel
http://blogs.sun.com/jmxetc -
JMX server connector on port 3997 error
Hi,
When i execute " dsccagent start " command, i am facing this error
**** Server encountered the following error: Failed to start JMX connector serve
r on port 3997: Invalid host Hostname
The agent C:\sun\dsee7\var\dcc\agent has not been started
Please help me.
Thanks,
SantoshThis issue has been resolved. The solution was to enable the fax connector (Exchange management Console/Server Configuration/Hub Transport/Receive Connectors/Windows SBS Fax Sharepoint Receive [Servername] = Enable.
Useful general reference:
http://blogs.technet.com/b/sbs/archive/2009/07/01/sbs-2008-introducing-the-pop3-connector.aspx
me -
Why NumberFormatException thrown at code: DeviceManager.open(7);
I am trying a very basic GPIO pin access program thru Java ME 8.1 (SDK). For this I am creating a custome device thru Custom Device Editor. The configuration of the custom device is as follows (it has only one GPIO pin):
ID: 7, Name: Pin7, H/W Port Number: 0, H/W Pin Number: 7, Direction: Output, Trigger: None, Output: True(checked), Value: Low, Opened: No, Power: On (Group ID: 1)
Here is my MIDLet class to access the GPIO Pin:
package gpio;
import java.io.IOException;
import javax.microedition.midlet.MIDlet;
import javax.microedition.midlet.MIDletStateChangeException;
import jdk.dio.DeviceManager;
import jdk.dio.DeviceNotFoundException;
import jdk.dio.UnavailableDeviceException;
import jdk.dio.gpio.GPIOPin;
public class GPIOController extends MIDlet {
GPIOPin pin7;
public GPIOController() {
// TODO Auto-generated constructor stub
@Override
protected void destroyApp(boolean unconditional)
throws MIDletStateChangeException {
try {
pin7.close();
} catch (IOException e) {
System.out.println("IOException");
e.printStackTrace();
@Override
protected void startApp() throws MIDletStateChangeException {
try {
pin7 = DeviceManager.open(7);
pin7.setValue(true);
Thread.sleep(5000);
pin7.setValue(false);
Thread.sleep(2500);
} catch (DeviceNotFoundException e) {
System.out.println("DeviceNotFound Yaar!");
e.printStackTrace();
} catch (UnavailableDeviceException e) {
System.out.println("Yaar Device is Unavailable");
e.printStackTrace();
} catch (IOException e) {
System.out.println("IOException raised");
e.printStackTrace();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (NumberFormatException ne){
System.out.println("number format exception thrown");
ne.printStackTrace();
Output Console:
number format exception thrown
java.lang.NumberFormatException:
- java/lang/Integer.parseInt(), bci=45
- java/lang/Integer.parseInt(), bci=3
- jdk/dio/DeviceMgmtPermission.implies(), bci=341
- com/oracle/meep/security/PermissionsHash.implies(), bci=57
- com/oracle/meep/security/Permissions.implies(), bci=24
- com/oracle/meep/security/AccessControllerInternal.checkPermission(), bci=28
- java/security/AccessController.checkPermission(), bci=1
- jdk/dio/DeviceManager.open(), bci=169
- jdk/dio/DeviceManager.open(), bci=3
- jdk/dio/DeviceManager.open(), bci=4
- gpio/GPIOController.startApp(GPIOController.java:34)
- javax/microedition/midlet/MIDletTunnelImpl.callStartApp(), bci=1
- com/sun/midp/midlet/MIDletPeer.startApp(), bci=5
- com/sun/midp/midlet/MIDletStateHandler.startSuite(), bci=246
- com/sun/midp/main/AbstractMIDletSuiteLoader.startSuite(), bci=38
- com/sun/midp/main/CldcMIDletSuiteLoader.startSuite(), bci=5
- com/sun/midp/main/AbstractMIDletSuiteLoader.runMIDletSuite(), bci=130
- com/sun/midp/main/AppIsolateMIDletSuiteLoader.main(), bci=26
Device Log
[18:30:23.784] INFO - lkit.bootstrap.DeployerManager - Registering custom property editors
[18:30:23.808] INFO - me.toolkit.bootstrap.Namespace - Starting batch, base module object-server
[18:30:23.827] INFO - bootstrap.ObjectGraphProcessor - Consolidating dependencies...
[18:30:23.828] INFO - bootstrap.ObjectGraphProcessor - Consolidated dependencies...
[18:30:23.828] INFO - bootstrap.ObjectGraphProcessor - Calculating order...
[18:30:23.829] INFO - bootstrap.ObjectGraphProcessor - Calculated order
[18:30:23.857] INFO - un.jme.toolkit.bootstrap.Batch - Initializing objects...
[18:30:23.858] INFO - un.jme.toolkit.bootstrap.Batch - Applying I18N
[18:30:23.858] INFO - un.jme.toolkit.bootstrap.Batch - Initialized objects
[18:30:23.858] INFO - un.jme.toolkit.bootstrap.Batch - Calling create() methods...
[18:30:23.859] INFO - un.jme.toolkit.bootstrap.Batch - Calling start() methods...
[18:30:23.867] INFO - un.jme.toolkit.bootstrap.Batch - Objects started
[18:30:23.871] INFO - me.toolkit.bootstrap.Namespace - Starting batch, base module devices/GPIOPin
[18:30:26.899] INFO - bootstrap.ObjectGraphProcessor - Consolidating dependencies...
[18:30:26.900] INFO - bootstrap.ObjectGraphProcessor - Consolidated dependencies...
[18:30:26.900] INFO - bootstrap.ObjectGraphProcessor - Calculating order...
[18:30:26.908] INFO - bootstrap.ObjectGraphProcessor - Calculated order
[18:30:28.097] INFO - un.jme.toolkit.bootstrap.Batch - Initializing objects...
[18:30:28.504] INFO - un.jme.toolkit.bootstrap.Batch - Applying I18N
[18:30:28.505] INFO - un.jme.toolkit.bootstrap.Batch - Initialized objects
[18:30:28.505] INFO - un.jme.toolkit.bootstrap.Batch - Calling create() methods...
[18:30:28.659] INFO - un.jme.toolkit.bootstrap.Batch - Calling start() methods...
[18:30:33.628] INFO - n.kvem.location.LocationBridge - Location dir contents: [Ljava.io.File;@16612a51
[18:30:33.628] INFO - n.kvem.location.LocationBridge - LandmarkStore names java.util.Collections$EmptyEnumeration@54e041a4
[18:30:33.628] INFO - n.kvem.location.LocationBridge - Landmark stores:
[18:30:33.629] INFO - n.kvem.location.LocationBridge - Get categories from store: null
[18:30:33.635] INFO - n.kvem.location.LocationBridge - Default LandmarkStore:com.sun.kvem.location.LandmarkDB@18317edc
[18:30:33.635] INFO - n.kvem.location.LocationBridge - LandmarkStore: com.sun.kvem.location.LandmarkDB@18317edc
[18:30:33.635] INFO - n.kvem.location.LocationBridge - Concatinated categories:
[18:30:33.816] INFO - .rmiimpl.RemotingConnectorImpl - Starting JMX connector on service:jmx:rmi:///jndi/rmi://127.0.0.1:60379/device-3
[18:30:53.726] INFO - VM-CORE@0 - javanotify_set_vm_args() >>
[18:30:53.727] INFO - VM-CORE@0 - javanotify_start() >>
[18:30:53.762] INFO - toolkit.ui.actions.AmsExecImpl - Proxy connected. isNetworkMonitorSupported = false
[18:30:54.135] INFO - un.jme.toolkit.bootstrap.Batch - Objects started
Please let me know what wrong am I doing?
Sincerely,
M. Nawazish. KhanHi Nawazish,
you are doing all right. Could you provide example of DeviceMgmtPermission from your application JAD file?
/Sergey -
Cannot see HttpSessionManagerMBean in JConsole or from Agent View
Hi Friends,
I am trying to access the HttpSessionManagerMBean using the information provided on "Monitoring Coherence using JMX" tutorial of the OTN Coherence 3.6 user guide. When I start jmx using jmx 8002 command, it starts and I am able to access a lot of MBeans, however I cant seem to find HttpSessionManagerMBean in the Agent View or in the JConsole utility.
The information provided over the OTN Coherence website states "During startup, each Coherence*Web Web application registers a single instance of HttpSessionManagerMBean", but how exactly does this registration work? do we have to give some command while starting the coherence server? or the coherence.cmd file provided to query the cache?
I am using the below command to invoke coherence
%JAVA_HOME%\bin\java -server -showversion -Xms32m -Xmx256m ^
-Dtangosol.coherence.override=psn-coherence.xml ^
-Dtangosol.coherence.session.localstorage=true ^
-Dcoherence.enable.sessioncontext=true ^
-Dcom.sun.management.jmxremote ^
-Dtangosol.coherence.management=all ^
-Dtangosol.coherence.management.remote=true ^
com.tangosol.net.CacheFactory
I even tried registering HttpSessionManagerMBean with custom-mbeans.xml and it loads the custom-mbeans.xml file too, however when I retry seeing JConsole or using Agent View, It never shows HttpSesssionManagerMBean.
I would be grateful if someone can throw some light on this issue.
Thanks,
YogendraHi Yogendra,
Have you installed and configured Coherence*Web on an application server?
-Luk -
Detect & re-register in Rmi Server
Hi,
I am running rmi registry in separate console. My application is registering an URL in RMI server. Now I am stopping rmi registry & restarting it again.
Now rmi registry is a new process & all previous registration entries are gone. So my application has to re-register.
How my application can detect that rmi server is stopped & restarted so that I can re-register it again?
Any help?
Here is my code where I am registering
public void initializeExternalManagementInterface(String serviceURL)
mbeanServer = MBeanServerFactory.createMBeanServer();
String domain = m_mbeanServer.getDefaultDomain();
String mbeanObjectNameStr = domain + ":type=" + EXTERNAL_MBEAN_CLASS_NAME + ",index=1";
objectName = ObjectName.getInstance(mbeanObjectNameStr);
Attribute serviceURLAttribute = new Attribute("ServiceURL", serviceURL);
m_mbeanServer.setAttribute(m_mbeanObjectName, serviceURLAttribute);
public void startManagementInterface(String jmxServiceURL, String mbeanClassName)
env.put(RMIConnectorServer.JNDI_REBIND_ATTRIBUTE,"true");
JMXServiceURL p_jmxServiceURL = new JMXServiceURL(jmxServiceURL);
LoggerManager.getLogger().info("Starting JMX Server: " + p_jmxServiceURL);
m_mbeanServerConnector = JMXConnectorServerFactory.newJMXConnectorServer(p_jmxServiceURL, env, m_mbeanServer);
m_mbeanServerConnector.start();
LoggerManager.getLogger().info("THE MANAGEMENT INTERFACE STARTED FOR SERVICE URL :" + jmxServiceURL);
m_jmxConnector = JMXConnectorFactory.connect(p_jmxServiceURL, null);
m_mbeanConnection = m_jmxConnector.getMBeanServerConnection();
String domain = m_mbeanConnection.getDefaultDomain();
m_mbeanObjectName = new ObjectName(domain + ":type=" + mbeanClassName + ",index=1");
}Hi,
My application has a Watchdog process. It monitors few managed & unmanaged processes. If any process goes down due to some reason then it is responsibility of watchdog to restart it again.
Rmi registry is one of the unmanaged process for watchdog. So if Rmi stops or killed due to some reason then Watchdog restarts it successfully but the problem is my application has to re register again.
I want to know how my application can find out that Rmi registry is restarted so lets register again.
Note: Watchdog process has no way to communicate my application that rmi is restarted so my application has to care it self.
Suggest me if you have any solution.
Thanks & regards,
Jack -
Connection refused in Mission control
Hi !
I created a simple application just for demo and I start it with
java prim.Prim 100000000 -XX:+UnlockCommercialFeatures -XX:+FlightRecorder
But I can't connect, when doing 'Start jmx-console' I get connection refused after a while.
The same problem when starting the application in NetBeans .At least that makes sense (JConsole not working either). Okay, so something is messed up regarding local attach on your machine. Let's try not using local attach. What happens if you try adding the following to the command line, and then set up a connection in JMC manually (click the "new custom connection" icon in the JVM Browser)?
-Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=7091 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -
Hi,
when i am installing application, i receive error: "error reading policy file". Can u advice, how to solve this?1)Windows device emulator.
2)Log:
[23:39:46.897] INFO - lkit.bootstrap.DeployerManager - Registering custom property editors
[23:39:46.927] INFO - me.toolkit.bootstrap.Namespace - Starting batch, base module object-server
[23:39:46.940] INFO - bootstrap.ObjectGraphProcessor - Consolidating dependencies...
[23:39:46.941] INFO - bootstrap.ObjectGraphProcessor - Consolidated dependencies...
[23:39:46.941] INFO - bootstrap.ObjectGraphProcessor - Calculating order...
[23:39:46.942] INFO - bootstrap.ObjectGraphProcessor - Calculated order
[23:39:46.973] INFO - un.jme.toolkit.bootstrap.Batch - Initializing objects...
[23:39:46.973] INFO - un.jme.toolkit.bootstrap.Batch - Applying I18N
[23:39:46.974] INFO - un.jme.toolkit.bootstrap.Batch - Initialized objects
[23:39:46.974] INFO - un.jme.toolkit.bootstrap.Batch - Calling create() methods...
[23:39:46.975] INFO - un.jme.toolkit.bootstrap.Batch - Calling start() methods...
[23:39:46.987] INFO - un.jme.toolkit.bootstrap.Batch - Objects started
[23:39:46.991] INFO - me.toolkit.bootstrap.Namespace - Starting batch, base module devices/EmbeddedDevice
[23:39:47.022] WARN - otstrap.deployer.bean.BeanFile - Unsupported container property: .file
[23:39:47.023] WARN - otstrap.deployer.bean.BeanFile - Unsupported container property: .bound-classes
[23:39:47.035] WARN - otstrap.deployer.bean.BeanFile - Unsupported container property: .file
[23:39:47.037] WARN - otstrap.deployer.bean.BeanFile - Unsupported container property: .bound-classes
[23:39:47.241] INFO - bootstrap.ObjectGraphProcessor - Consolidating dependencies...
[23:39:47.243] INFO - bootstrap.ObjectGraphProcessor - Consolidated dependencies...
[23:39:47.243] INFO - bootstrap.ObjectGraphProcessor - Calculating order...
[23:39:47.251] INFO - bootstrap.ObjectGraphProcessor - Calculated order
[23:39:48.913] INFO - un.jme.toolkit.bootstrap.Batch - Initializing objects...
[23:39:49.587] INFO - un.jme.toolkit.bootstrap.Batch - Applying I18N
[23:39:49.589] INFO - un.jme.toolkit.bootstrap.Batch - Initialized objects
[23:39:49.589] INFO - un.jme.toolkit.bootstrap.Batch - Calling create() methods...
[23:39:49.714] INFO - un.jme.toolkit.bootstrap.Batch - Calling start() methods...
[23:39:52.270] INFO - n.kvem.location.LocationBridge - Location dir contents: [Ljava.io.File;@3dc82c
[23:39:52.270] INFO - n.kvem.location.LocationBridge - LandmarkStore names java.util.Collections$EmptyEnumeration@7d605
[23:39:52.270] INFO - n.kvem.location.LocationBridge - Landmark stores:
[23:39:52.270] INFO - n.kvem.location.LocationBridge - Get categories from store: null
[23:39:52.273] INFO - n.kvem.location.LocationBridge - Read Default LandmarkStore from: C:\Users\Александр\.\javame-sdk\8.0\work\EmbeddedDevice1\appdb\location\default\_default.lms
[23:39:52.274] INFO - n.kvem.location.LocationBridge - Default LandmarkStore:com.sun.kvem.location.LandmarkDB@1dd8394
[23:39:52.274] INFO - n.kvem.location.LocationBridge - LandmarkStore: com.sun.kvem.location.LandmarkDB@1dd8394
[23:39:52.274] INFO - n.kvem.location.LocationBridge - Concatinated categories:
[23:39:52.339] INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 1
[23:39:52.343] INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 2
[23:39:52.345] INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 3
[23:39:52.346] INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 4
[23:39:52.348] INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 5
[23:39:52.349] INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 6
[23:39:52.533] INFO - .rmiimpl.RemotingConnectorImpl - Starting JMX connector on service:jmx:rmi:///jndi/rmi://127.0.0.1:60539/device-0
[23:39:54.869] INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 1
[23:39:54.879] INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 2
[23:39:55.233] INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 1
[23:39:55.237] INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 2
[23:39:55.240] INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 3
[23:39:55.242] INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 4
[23:39:55.244] INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 5
[23:39:55.246] INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 6
[23:39:55.439] INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 1
[23:39:55.444] INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 2
[23:39:56.573] INFO - VM - [CORE] iso=0:javanotify_set_vm_args() >>
[23:39:56.574] INFO - VM -
[23:39:56.574] INFO - VM - [CORE] iso=0:javanotify_start() >>
[23:39:56.574] INFO - VM -
[23:39:56.652] INFO - toolkit.ui.actions.AmsExecImpl - Proxy connected. isNetworkMonitorSupported = false
[23:39:56.991] INFO - un.jme.toolkit.bootstrap.Batch - Objects started
[23:39:59.661] FATAL - VM - [SECURITY] iso=1:Error reading policy file
[23:39:59.661] ERROR - VM - [AMS] iso=1:InstallCommand: an error while installing the suite: java.lang.RuntimeException: Error reading policy file
[23:39:59.673] FATAL - lkit.ui.actions.AmsExecInstall - Unknown error: java.lang.RuntimeException: Error reading policy file -
JMX error when starting managed server
One of our production managed servers has suddenly encountered an error when try to start it via the Admin console.
No changes have been made recently that I am aware of. The port number for the node manager is available and the log files states that it has started successfully.
Message: The requested operation is not exposed through JMX in this context: start
Stack Trace: java.lang.RuntimeException: The requested operation is not exposed through JMX in this context: start at weblogic.management.jmx.ExceptionMapper.matchJMXException(ExceptionMapper.java:87) at weblogic.management.jmx.MBeanServerInvocationHandler.doInvoke(MBeanServerInvocationHandler.java:547) at weblogic.management.jmx.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:380) at $Proxy105.start(Unknown Source) at com.bea.console.actions.core.server.lifecycle.Lifecycle.finish(Lifecycle.java:719) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870) at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809) at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478) at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306) at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336) at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:52) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:64) at org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptor.wrapAction(ActionInterceptor.java:184) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.invoke(ActionInterceptors.java:50) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:58) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:87) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2116) at com.bea.console.internal.ConsolePageFlowRequestProcessor.processActionPerform(ConsolePageFlowRequestProcessor.java:261) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853) at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631) at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158) at com.bea.console.internal.ConsoleActionServlet.process(ConsoleActionServlet.java:256) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at com.bea.console.internal.ConsoleActionServlet.doGet(ConsoleActionServlet.java:133) at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1199) at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:686) at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:142) at com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.processAction(PageFlowStubImpl.java:106) at com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:111) at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:181) at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:167) at com.bea.netuix.servlets.controls.content.NetuiContent.handlePostbackData(NetuiContent.java:225) at com.bea.netuix.nf.ControlLifecycle$2.visit(ControlLifecycle.java:180) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:324) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352) at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:184) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:159) at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388) at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258) at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:199) at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at com.bea.console.utils.MBeanUtilsInitSingleFileServlet.service(MBeanUtilsInitSingleFileServlet.java:47) at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:130) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: javax.management.ReflectionException at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:205) at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:222) at javax.management.remote.rmi.RMIConnectionImpl_1033_WLStub.invoke(Unknown Source) at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:993) at weblogic.management.jmx.MBeanServerInvocationHandler.doInvoke(MBeanServerInvocationHandler.java:544) ... 92 more Caused by: java.lang.NoSuchMethodException: start() for com.bea:Name=cieaeq03-z1,Type=ServerLifeCycleRuntime at weblogic.management.jmx.modelmbean.WLSModelMBean.invoke(WLSModelMBean.java:395) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761) at weblogic.management.mbeanservers.domainruntime.internal.FederatedMBeanServerInterceptor.invoke(FederatedMBeanServerInterceptor.java:349) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449) at java.security.AccessController.doPrivileged(Native Method) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447) at weblogic.management.mbeanservers.internal.JMXContextInterceptor.invoke(JMXContextInterceptor.java:268) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449) at java.security.AccessController.doPrivileged(Native Method) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447) at weblogic.management.mbeanservers.internal.SecurityMBeanMgmtOpsInterceptor.invoke(SecurityMBeanMgmtOpsInterceptor.java:65) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449) at java.security.AccessController.doPrivileged(Native Method) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447) at weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:444) at weblogic.management.jmx.mbeanserver.WLSMBeanServer.invoke(WLSMBeanServer.java:323) at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11$1.run(JMXConnectorSubjectForwarder.java:663) at java.security.AccessController.doPrivileged(Native Method) at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11.run(JMXConnectorSubjectForwarder.java:661) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363) at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder.invoke(JMXConnectorSubjectForwarder.java:654) at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427) at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72) at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265) at java.security.AccessController.doPrivileged(Native Method) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1367) at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788) at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source) at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174) ... 96 moreHi,
Am getting the error while starting the manage servers.The weblogic server is 10g.If anyone has any details please share, Appreciate any help.
Error Details :
The requested operation is not exposed through JMX in this context: start
Stack Trace: java.lang.RuntimeException: The requested operation is not exposed through JMX in this context: start at weblogic.management.jmx.ExceptionMapper.matchJMXException(ExceptionMapper.java:87) at weblogic.management.jmx.MBeanServerInvocationHandler.doInvoke(MBeanServerInvocationHandler.java:547) at weblogic.management.jmx.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:380) at $Proxy104.start(Unknown Source) at com.bea.console.actions.core.server.lifecycle.Lifecycle.finish(Lifecycle.java:719) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870) at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809) at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478) at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306) at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336) at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:52) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:64) at org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptor.wrapAction(ActionInterceptor.java:184) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.invoke(ActionInterceptors.java:50) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:58) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:87) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2116) at com.bea.console.internal.ConsolePageFlowRequestProcessor.processActionPerform(ConsolePageFlowRequestProcessor.java:261) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853) at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631) at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158) at com.bea.console.internal.ConsoleActionServlet.process(ConsoleActionServlet.java:256) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at com.bea.console.internal.ConsoleActionServlet.doGet(ConsoleActionServlet.java:133) at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1199) at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:686) at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:142) at com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.processAction(PageFlowStubImpl.java:106) at com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:111) at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:181) at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:167) at com.bea.netuix.servlets.controls.content.NetuiContent.handlePostbackData(NetuiContent.java:225) at com.bea.netuix.nf.ControlLifecycle$2.visit(ControlLifecycle.java:180) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:324) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352) at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:184) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:159) at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388) at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258) at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:199) at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at com.bea.console.utils.MBeanUtilsInitSingleFileServlet.service(MBeanUtilsInitSingleFileServlet.java:47) at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:130) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: javax.management.ReflectionException at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:205) at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:222) at javax.management.remote.rmi.RMIConnectionImpl_1033_WLStub.invoke(Unknown Source) at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:993) at weblogic.management.jmx.MBeanServerInvocationHandler.doInvoke(MBeanServerInvocationHandler.java:544) ... 92 more Caused by: java.lang.NoSuchMethodException: start() for com.bea:Name=GOLF_Server1,Type=ServerLifeCycleRuntime at weblogic.management.jmx.modelmbean.WLSModelMBean.invoke(WLSModelMBean.java:395) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761) at weblogic.management.mbeanservers.domainruntime.internal.FederatedMBeanServerInterceptor.invoke(FederatedMBeanServerInterceptor.java:349) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447) at weblogic.management.mbeanservers.internal.JMXContextInterceptor.invoke(JMXContextInterceptor.java:268) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447) at weblogic.management.mbeanservers.internal.SecurityMBeanMgmtOpsInterceptor.invoke(SecurityMBeanMgmtOpsInterceptor.java:65) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447) at weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:444) at weblogic.management.jmx.mbeanserver.WLSMBeanServer.invoke(WLSMBeanServer.java:323) at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11$1.run(JMXConnectorSubjectForwarder.java:663) at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11.run(JMXConnectorSubjectForwarder.java:661) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363) at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder.invoke(JMXConnectorSubjectForwarder.java:654) at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1426) at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72) at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1264) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1366) at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788) at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source) at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174) ... 96 more
帖子经 user8858768编辑过
Thanks,
Smita
帖子经 user8858768编辑过 -
Stop/Start service of Ear application from Jboss AS using JMX Mbean API.
Hi Frendz,
Please help me on this issue :)
I would like to stop/start my ear applcation from JMX Client which is deployed on jboss server 4.2.0.
Code:
ObjectName name = new ObjectName("jboss.j2ee:service=EARDeployment,url='rr-jms-ejb3.ear' ");
MBeanServerConnection connection = (MBeanServerConnection) ctx.lookup(invoker);
connection.invoke(name, "stop", null, null);
I can see the status(stared/stopped) on JMX Console based on my operation(stop/start).
But my application is always running irrespective of operation i have provided to invoke method.
My ear has both web and ejb modules and i would like to stop both modules services.
Any idea? ...please help me on this.
Cheers,
Capwow, you waited all of half an hour before becoming inpatient when noone dropped what they were doing to come at your beg and call?
-
View of JMX console without starting standalone server
Hi All,
I want to view the JMX console without starting the standalone version of OC4j in Oracle 10g 10.1.2 AS.
It is fine once i start the standalone version of OC4j using the java -jar oc4j.jar
I can view the jmx console using URL http://localhost:8888/adminoc4j
Without using the java -jar oc4j.jar command and starting the application server
can i view the JMX console.
should i do anything in httpd.conf for this.
Regards
SivaHi All,
I want to view the JMX console without starting the standalone version of OC4j in Oracle 10g 10.1.2 AS.
It is fine once i start the standalone version of OC4j using the java -jar oc4j.jar
I can view the jmx console using URL http://localhost:8888/adminoc4j
Without using the java -jar oc4j.jar command and starting the application server
can i view the JMX console.
should i do anything in httpd.conf for this.
Regards
Siva -
Starting/stoping java app using JMX ?
Hello, do any one know, whether we can start / stop java application using JMX ? I know it is monitoring api and can help to find whether app is up or down
I see the same error when I start domain1. However, I was able to deploy and configure Access Manager 7.1 using the WAR file method, as described in Sun Java System Access Manager 7.1 Postinstallation Guide, page 153. The Guide's instructions are for Sun Java System Application Server Enterprise Edition 8.2, but they seem to work okay with version 9.1. After deploying the WAR file, the Configurator comes up automatically the first time you browse to its URL, typically http://localhost:8080/amserver.
-
Problem start JavaService with JMX agent
My application start ok in console with password authenticate set to true. I have the password file configured correctly under my login account. however, when I start my application with the Windows Service created by JavaService, it failed with the authentication option. I am pretty sure it's the password file permission failed it. but don't know the workaround. Here is the setting for JavaService setting:
JavaService -install MyServer "C:\Program Files\Java\jre1.5.0_07\bin\client\jvm.dll" -Xrs -Xms67108864 -Xmx524288000 -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8004 -Dcom.sun.management.jmxremote.authenticate=true -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.password.file=C:\JConsoleAccess\jmxremote.password -Djava.class.path=[JarFiles]; -start com.MyServer -params D:\MyServer\bin\Config.ini -stop com.ShutdownThread -current d:\myserver\bin -shutdown 90 -description "My Application Server"
Note: if I set authenticate option to false, it works just fine.Hi,
I think your problem might be due to a file read access problem due to the fact that you're running
a Java service probably as SYSTEM but your jmxremote.password file was created with another
USER and SYSTEM cannot read it. Run "cacls C:\JConsoleAccess\jmxremote.password" in order
to check the privileges of the password file.
Have a look also at "How to secure the password file on Windows systems?" in the JConsole FAQ:
http://java.sun.com/javase/6/docs/technotes/guides/management/faq.html#win3
Regards,
Luis-Miguel Alventosa - JMX/JConsole dev team - http://blogs.sun.com/lmalventosa -
Start/Stop Web Modules with JMX
Does anyone know if there is a possibility in OC4J to start/stop/reload web applications via JMX?
When I navigate with the System MBean Browser to a WebModule MBean, e.g. oc4j:j2eeType=WebModule,name=defaultWebApp,J2EEApplication=default,J2EEServer=standalone , the stateManageable attribute says false, and there are no start() and stop() operations available.
Is there any other way to do that, besides starting and stopping the parent J2EEApplication MBean, perhaps with some non-JSR77 MBean?
Best regards,
VolkerDoes anyone know if there is a possibility in OC4J to start/stop/reload web applications via JMX?
When I navigate with the System MBean Browser to a WebModule MBean, e.g. oc4j:j2eeType=WebModule,name=defaultWebApp,J2EEApplication=default,J2EEServer=standalone , the stateManageable attribute says false, and there are no start() and stop() operations available.
Is there any other way to do that, besides starting and stopping the parent J2EEApplication MBean, perhaps with some non-JSR77 MBean?
Best regards,
Volker -
The following error shown up in the command prompt while starting the "Default Server":
Starting Domain domain1, please wait.
Log redirected to C:\Sun\Creator\SunAppServer8\domains\domain1\logs\server.log.
Domain domain1 failed to startup. Please check the server log for more details.
CLI156 Could not start the domain domain1.
Press any key to continue . . .
When I looked at the log files (as mentioned above), the following errors have shown up in the log file. Following are the log entries that were generated while the server is being started (rather failed):
************** FROM HERE **********
Starting Sun Java System Application Server Platform Edition 8.0 (build b57-fcs) ...
[#|2004-06-03T15:32:31.480+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.core|_ThreadID=10;|CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.4.2_03] from [Sun Microsystems Inc.]|#]
[#|2004-06-03T15:32:32.371+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM0020:Following is the information about the JMX MBeanServer used:|#]
[#|2004-06-03T15:32:32.575+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM0001:MBeanServer initialized successfully|#]
[#|2004-06-03T15:32:34.747+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.container.web|_ThreadID=10;|Creating virtual server server|#]
[#|2004-06-03T15:32:34.763+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.core|_ThreadID=10;|S1AS AVK Instrumentation disabled|#]
[#|2004-06-03T15:32:34.763+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.core.security|_ThreadID=10;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]
[#|2004-06-03T15:32:35.873+0530|SEVERE|sun-appserver-pe8.0|javax.enterprise.resource.corba|_ThreadID=10;|IOP5006: Exception creating socket: [SSL_MUTUALAUTH, 1061]. Please make sure the port is not being used.|#]
[#|2004-06-03T15:32:35.873+0530|SEVERE|sun-appserver-pe8.0|javax.enterprise.resource.corba|_ThreadID=10;|
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
at java.net.ServerSocket.bind(ServerSocket.java:318)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at java.net.ServerSocket.<init>(ServerSocket.java:141)
at javax.net.ssl.SSLServerSocket.<init>(DashoA6275)
at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.<init>(DashoA6275)
at com.sun.net.ssl.internal.ssl.SSLServerSocketFactoryImpl.createServerSocket(DashoA6275)
at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSSLServerSocket(IIOPSSLSocketFactory.java:312)
at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createServerSocket(IIOPSSLSocketFactory.java:270)
at com.sun.corba.ee.impl.legacy.connection.SocketFactoryAcceptorImpl.initialize(SocketFactoryAcceptorImpl.java:53)
at com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.getAcceptors(CorbaTransportManagerImpl.java:190)
at com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.addToIORTemplate(CorbaTransportManagerImpl.java:207)
at com.sun.corba.ee.spi.oa.ObjectAdapterBase.initializeTemplate(ObjectAdapterBase.java:104)
at com.sun.corba.ee.impl.oa.poa.POAImpl.initialize(POAImpl.java:385)
at com.sun.corba.ee.impl.oa.poa.POAImpl.makeRootPOA(POAImpl.java:253)
at com.sun.corba.ee.impl.oa.poa.POAFactory$1.evaluate(POAFactory.java:163)
at com.sun.corba.ee.impl.orbutil.closure.Future.evaluate(Future.java:28)
at com.sun.corba.ee.impl.resolver.LocalResolverImpl.resolve(LocalResolverImpl.java:22)
at com.sun.corba.ee.impl.resolver.CompositeResolverImpl.resolve(CompositeResolverImpl.java:20)
at com.sun.corba.ee.impl.orb.ORBImpl.resolve_initial_references(ORBImpl.java:1112)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:185)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:600)
at com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:232)
at com.sun.enterprise.server.PEMain.run(PEMain.java:210)
at com.sun.enterprise.server.PEMain.main(PEMain.java:172)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
|#]
[#|2004-06-03T15:32:35.873+0530|WARNING|sun-appserver-pe8.0|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710209: (INTERNAL) Unable to create listener thread on the specific port"
org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 209 completed: No
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:3142)
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:3160)
at com.sun.corba.ee.impl.legacy.connection.SocketFactoryAcceptorImpl.initialize(SocketFactoryAcceptorImpl.java:60)
at com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.getAcceptors(CorbaTransportManagerImpl.java:190)
at com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.addToIORTemplate(CorbaTransportManagerImpl.java:207)
at com.sun.corba.ee.spi.oa.ObjectAdapterBase.initializeTemplate(ObjectAdapterBase.java:104)
at com.sun.corba.ee.impl.oa.poa.POAImpl.initialize(POAImpl.java:385)
at com.sun.corba.ee.impl.oa.poa.POAImpl.makeRootPOA(POAImpl.java:253)
at com.sun.corba.ee.impl.oa.poa.POAFactory$1.evaluate(POAFactory.java:163)
at com.sun.corba.ee.impl.orbutil.closure.Future.evaluate(Future.java:28)
at com.sun.corba.ee.impl.resolver.LocalResolverImpl.resolve(LocalResolverImpl.java:22)
at com.sun.corba.ee.impl.resolver.CompositeResolverImpl.resolve(CompositeResolverImpl.java:20)
at com.sun.corba.ee.impl.orb.ORBImpl.resolve_initial_references(ORBImpl.java:1112)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:185)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:600)
at com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:232)
at com.sun.enterprise.server.PEMain.run(PEMain.java:210)
at com.sun.enterprise.server.PEMain.main(PEMain.java:172)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
Caused by: java.lang.RuntimeException: Failed to create server socket when calling ORBSocketFactory.createServerSocket(SSL_MUTUALAUTH, 1061)
at com.sun.corba.ee.impl.legacy.connection.SocketFactoryAcceptorImpl.initialize(SocketFactoryAcceptorImpl.java:57)
... 20 more
Caused by: java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
at java.net.ServerSocket.bind(ServerSocket.java:318)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at java.net.ServerSocket.<init>(ServerSocket.java:141)
at javax.net.ssl.SSLServerSocket.<init>(DashoA6275)
at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.<init>(DashoA6275)
at com.sun.net.ssl.internal.ssl.SSLServerSocketFactoryImpl.createServerSocket(DashoA6275)
at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSSLServerSocket(IIOPSSLSocketFactory.java:312)
at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createServerSocket(IIOPSSLSocketFactory.java:270)
at com.sun.corba.ee.impl.legacy.connection.SocketFactoryAcceptorImpl.initialize(SocketFactoryAcceptorImpl.java:53)
... 20 more
|#]
[#|2004-06-03T15:32:35.888+0530|SEVERE|sun-appserver-pe8.0|javax.enterprise.system.core|_ThreadID=10;|CORE5081: Exception while creating ORB: [org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 209 completed: No]|#]
[#|2004-06-03T15:32:35.888+0530|SEVERE|sun-appserver-pe8.0|javax.enterprise.system.core|_ThreadID=10;|CORE5082: Exception running j2ee services: [java.lang.RuntimeException: Unable to create ORB]|#]
[#|2004-06-03T15:32:35.888+0530|SEVERE|sun-appserver-pe8.0|javax.enterprise.system.core|_ThreadID=10;|CORE5091: Error executing J2EE server ...
java.lang.RuntimeException: Unable to create ORB
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:316)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:600)
at com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:232)
at com.sun.enterprise.server.PEMain.run(PEMain.java:210)
at com.sun.enterprise.server.PEMain.main(PEMain.java:172)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
Caused by: java.lang.RuntimeException: Unable to create ORB
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:196)
... 9 more
|#]
[#|2004-06-03T15:32:35.888+0530|SEVERE|sun-appserver-pe8.0|javax.enterprise.system.core|_ThreadID=10;|CORE5092: J2EE server reported following error: [Unable to create ORB] |#]
[#|2004-06-03T15:32:35.888+0530|SEVERE|sun-appserver-pe8.0|javax.enterprise.system.core|_ThreadID=10;|CORE5093: Error executing J2EE server |#]
[#|2004-06-03T15:32:35.888+0530|SEVERE|sun-appserver-pe8.0|javax.enterprise.system.core|_ThreadID=10;|CORE5071: An error occured during initialization
com.sun.appserv.server.ServerLifecycleException: com.sun.appserv.server.ServerLifecycleException: Unable to create ORB
at com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:234)
at com.sun.enterprise.server.PEMain.run(PEMain.java:210)
at com.sun.enterprise.server.PEMain.main(PEMain.java:172)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
Caused by: com.sun.appserv.server.ServerLifecycleException: Unable to create ORB
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:609)
at com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:232)
... 7 more
Caused by: java.lang.RuntimeException: Unable to create ORB
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:316)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:600)
... 8 more
Caused by: java.lang.RuntimeException: Unable to create ORB
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:196)
... 9 more
|#]
[#|2004-06-03T15:32:35.888+0530|SEVERE|sun-appserver-pe8.0|javax.enterprise.system.core|_ThreadID=10;|Server Startup failed. Exiting...|#]
[#|2004-06-03T15:32:35.888+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.core|_ThreadID=10;|Server shutdown in progress...|#]
[#|2004-06-03T15:32:35.888+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.container.web|_ThreadID=10;|WEB0303: Stopping Tomcat.|#]
[#|2004-06-03T15:32:35.888+0530|WARNING|sun-appserver-pe8.0|javax.enterprise.system.core|_ThreadID=10;|CORE5061: Exception :
com.sun.appserv.server.ServerLifecycleException: WEB0106: An error occurred while stopping the web container
at com.sun.enterprise.web.PEWebContainer.stopInstance(PEWebContainer.java:536)
at com.sun.enterprise.web.PEWebContainerLifecycle.onShutdown(PEWebContainerLifecycle.java:65)
at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:400)
at com.sun.enterprise.server.PEMain.run(PEMain.java:233)
at com.sun.enterprise.server.PEMain.main(PEMain.java:172)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
Caused by: LifecycleException: WEB0103: This web container has not yet been started
at com.sun.enterprise.web.WebContainer.stop(WebContainer.java:529)
at com.sun.enterprise.web.PEWebContainer.stopInstance(PEWebContainer.java:528)
... 9 more
|#]
[#|2004-06-03T15:32:35.888+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.core|_ThreadID=10;|CORE5051: Shutting down all J2EE applications ...|#]
[#|2004-06-03T15:32:35.888+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.core|_ThreadID=10;|CORE5052: Application shutdown complete.|#]
[#|2004-06-03T15:32:36.107+0530|INFO|sun-appserver-pe8.0|javax.enterprise.resource.jms|_ThreadID=10;|JMS5023: JMS service successfully started. Instance Name = imqbroker, Home = [C:\Sun\Creator\SunAppServer8\imq\bin].|#]
[#|2004-06-03T15:32:36.139+0530|WARNING|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=10;|core.tmp_folder_deletion_failed|#]
[#|2004-06-03T15:32:36.154+0530|INFO|sun-appserver-pe8.0|javax.enterprise.resource.jms|_ThreadID=10;|JMS5025: JMS service shutting down.|#]
[#|2004-06-03T15:32:37.280+0530|INFO|sun-appserver-pe8.0|javax.enterprise.resource.jms|_ThreadID=10;|JMS5026: JMS service shutdown complete.|#]
[#|2004-06-03T15:32:37.280+0530|SEVERE|sun-appserver-pe8.0|javax.enterprise.system.core|_ThreadID=10;|Server stopped due to Server startup failure.|#]
*********** UPTO HERE **********
Previously I am able to start the server and was able to test an application. But, this time somehow it failed to start.
I have checked the port numbers whether they are in use. But, all the port numbers required for the app server are free. I have checked it through "netstat -a".
thanks in advance,
-RanjanSee if this helps:
http://forum.java.sun.com/thread.jsp?forum=136&thread=458833
-Alexis
Maybe you are looking for
-
Deploying ADF Application to OC4J Using Jdeveloper
I tried to deploy an application to standalone OC4J using Jdeveloper, through a process similar to this: Deploying a Web Application http://www.oracle.com/technology/obe/obe1013jdev/10131/deployment/deployment.htm [making WAR for view-controller, JAR
-
IPhoto books, calendars storage area...
I have iPhoto at home and have created some books, calenders etc. The problem is I need to price these and also post them off but don't have any internet at home for the time being anyway. Where does iPhoto store these items? I have searched around t
-
How do i get rid of a iPhone Virus?
I have now for the second time a strange virus on my Iphone 5, iOs 6.1.4 It opens randomly the pre-installed apple apps like Newsstand, Settings, Notes etc. and changes settings there. The first time I had it, it sent a message with "awkward" to one
-
Including one program into another
I have a big java program and it contains lot of data declarations. I want to have all these declarations in another java program and include that program into my main prorgram. How do i do it?? Please help me out in this. Thanks in advance...
-
Connect dataProvider to DataBase - help needed
Hi , I have a simple problem case , I have a categories table , and I want to get the data from it and display it at my page (dynamicly) , my question is , what is the best way to perform this, with DataProviders and beans. ?