| Author |
install and configure weblogic 12c
|
moshik salem
Greenhorn
Joined: Dec 06, 2011
Posts: 10
|
|
hi,
i am trying to install weblogic 12c on windows.
i followed the README.TXT instructions, but errors occured when i tried to create a new domain, according to the
README text file i created a new directory and opened it on the cmd window, afterwards i wrote the next
command: %JAVA_HOME%\bin\java.exe %JAVA_OPTIONS% -Xmx1024m -XX:MaxPermSize=128m weblogic.Server
and then i got this error:
Exception in thread "main" java.lang.NoClassDefFoundError: %JAVA_OPTIONS%
Caused by: java.lang.ClassNotFoundException: %JAVA_OPTIONS%
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: %JAVA_OPTIONS%. Program will exit.
can anybody tell me what's wrong???
|
 |
sudipto shekhar
Ranch Hand
Joined: Apr 02, 2008
Posts: 813
|
|
Hi Moshik,
Please note that:
You can use weblogic.Server to create a domain that contains a single server instance. You cannot use weblogic.Server to add Managed Server instances to a domain, nor can you use weblogic.Server to modify an existing domain.
Also, did you define the variables that you are using in the command line, JAVA_HOME and JAVA_OPTIONS ?
The exception stack trace tells us the same, i.e
Could not find the main class: %JAVA_OPTIONS%. Program will exit.
Use the following in the command line :
C:\>set JAVA_HOME=c:\bea\jdk160_24
C:\>set JAVA_OPTIONS=-Xms1024m -Xmx1024m
Hope this is helpful
|
Regards, Sud.
SCJP 5 ScjpFAQ JLS
|
 |
bantraj kandi
Greenhorn
Joined: Sep 14, 2011
Posts: 1
|
|
Hi,
Could you please let me know how to create a new domain and also the lock and edit feature in weblogic administrative console...?
|
 |
sudipto shekhar
Ranch Hand
Joined: Apr 02, 2008
Posts: 813
|
|
bantraj kandi wrote:Hi,
Could you please let me know how to create a new domain and also the lock and edit feature in weblogic administrative console...?
This will help you.
|
 |
 |
|
|
subject: install and configure weblogic 12c
|
|
|