2 Replies Latest reply: Dec 6, 2012 8:08 PM by 978263 RSS

    Cannot Start Weblogic After Modifying Java_options

    978263
      So I have been following the installation guide for WebCenter Sites. When I get to the steps for configuring weblogic, specifically setting the java options. I get the following issue

      ***************************************************
      starting weblogic with Java version:
      java version "1.6.0_30"
      Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
      Java HotSpot(TM) 64-Bit Server VM (build 20.5-b03, mixed mode)
      Starting WLS with line:
      C:\JAVA_H~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -Dweblogic.Name=AdminServer -Djava.security.policy=C:\oracle\MIDDLE~1\wlserver\10.3\server\lib\weblogic.policy " -Xverify:none -da -Dplatform.home=C:\oracle\MIDDLE~1\wlserver\10.3 -Dwls.home=C:\oracle\MIDDLE~1\wlserver\10.3\server -Dweblogic.home=C:\oracle\MIDDLE~1\wlserver\10.3\server -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\oracle\MIDDLE~1\patch_wls1036\profiles\default\sysext_manifest_classpath;C:\oracle\MIDDLE~1\patch_oepe180\profiles\default\sysext_manifest_classpath;C:\oracle\MIDDLE~1\patch_ocp371\profiles\default\sysext_manifest_classpath;C:\oracle\MIDDLE~1\patch_adfr1111\profiles\default\sysext_manifest_classpath -Djava.io.tmpdir=C:\wlstmp -Dfile.encoding=UTF-8 -Dnet.sf.ehcache.enableShutdownHook=true -Djava.net.preferIPv4Stack=true " weblogic.Server
      Exception in thread "main" java.lang.NoClassDefFoundError: -Xverify:none -da -Dplatform/home=C:\oracle\MIDDLE~1\wlserver\10/3 -Dwls/home=C:\oracle\MIDDLE~1\wlserver\10/3\server -Dweblogic/home=C:\oracle\MIDDLE~1\wlserver\10/3\server -Dweblogic/management/discover=true -Dwlw/iterativeDev= -Dwlw/testConsole= -Dwlw/logErrorsToConsole= -Dweblogic/ext/dirs=C:\oracle\MIDDLE~1\patch_wls1036\profiles\default\sysext_manifest_classpath;C:\oracle\MIDDLE~1\patch_oepe180\profiles\default\sysext_manifest_classpath;C:\oracle\MIDDLE~1\patch_ocp371\profiles\default\sysext_manifest_classpath;C:\oracle\MIDDLE~1\patch_adfr1111\profiles\default\sysext_manifest_classpath -Djava/io/tmpdir=C:\wlstmp -Dfile/en coding=UTF-8 -Dnet/sf/ehcache/enableShutdownHook=true -Djava/net/preferIPv4Stack=true
      Caused by: java.lang.ClassNotFoundException: -Xverify:none -da -Dplatform.home=C:\oracle\MIDDLE~1\wlserver\10.3 -Dwls.home=C:\oracle\MIDDLE~1\wlserver\10.3\server -Dweblogic.home=C:\oracle\MIDDLE~1\wlserver\10.3\server -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\oracle\MIDDLE~1\patch_wls1036\profiles\default\sysext_manifest_classpath;C:\oracle\MIDDLE~1\patch_oepe180\profiles\default\sysext_manifest_classpath;C:\oracle\MIDDLE~1\patch_ocp371\profiles\default\sysext_manifest_classpath;C:\oracle\MIDDLE~1\patch_adfr1111\profiles\default\sysext_manifest_classpath -Djava.io.tmpdir=C:\wlstmp -Dfile.encoding=UTF-8 -Dnet.sf.ehcache.enableShutdownHook=true -Djava.net.preferIPv4Stack=true
      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:306)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      Could not find the main class: -Xverify:none -da -Dplatform.home=C:\oracle\MIDDLE~1\wlserver\10.3 -Dwls.home=C:\oracle\MIDDLE~1\wlserver\10.3\server -Dweblogic.home=C:\oracle\MIDDLE~1\wlserver\10.3\server -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\oracle\MIDDLE~1\patch_wls1036\profiles\default\sysext_manifest_classpath;C:\oracle\MIDDLE~1\patch_oepe180\profiles\default\sysext_manifest_classpath;C:\oracle\MIDDLE~1\patch_ocp371\profiles\default\sysext_manifest_classpath;C:\oracle\MIDDLE~1\patch_adfr1111\profiles\default\sysext_manifest_classpath -Djava.io.tmpdir=C:\wlstmp -Dfile.encoding=UTF-8 -Dnet.sf.ehcache.enableShutdownHook=true -Djava.net.preferIPv4Stack=true . Program will exit.

      I have never done this for Weblogic can anyone advise? Thanks