1 Reply Latest reply: Nov 27, 2012 2:52 AM by EricvdS RSS

    Error when in shutting down Oem12cR2

    User338765
      I get an errror when i shutdown my oem ($AGENT_HOME/bin/emctl stop oms -all)

      Oracle Enterprise Manager Cloud Control 12c Release 2
      Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
      Stopping WebTier...
      WebTier Successfully Stopped
      Stopping Oracle Management Server...
      Node Manager Not Running
      Oracle Management Server is Down
      Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jdbc/OraclePreparedStatement
      at oracle.sysman.emctl.commands.BaseCommand.statusOMS(BaseCommand.java:298)
      at oracle.sysman.emctl.commands.BaseCommand.statusOMS(BaseCommand.java:246)
      at oracle.sysman.emctl.commands.StopCommand.stopOMS(StopCommand.java:251)
      at oracle.sysman.emctl.commands.StopCommand.execute(StopCommand.java:53)
      at oracle.sysman.emctl.wls.OMSController.main(OMSController.java:208)
      Caused by: java.lang.ClassNotFoundException: oracle.jdbc.OraclePreparedStatement
      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
      ... 5 more
      Not sure why its happening ..Although i have no problem when it starts up. I did make changes to commEnv.sh in the <wl_server_Home>/bin directory.

      Configuration
      O/S Linux RHEl el5
      OMS version 12cR2