Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

install and configure weblogic 12c

 
moshik salem
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 823
Chrome Eclipse IDE Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
bantraj kandi
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 823
Chrome Eclipse IDE Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic