• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

install and configure weblogic 12c

 
Greenhorn
Posts: 10
  • 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???
 
Ranch Hand
Posts: 826
Eclipse IDE Oracle Chrome
  • 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
 
Greenhorn
Posts: 1
  • 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: 826
Eclipse IDE Oracle Chrome
  • 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.
 
Bring me the box labeled "thinking cap" ... and then read this tiny ad:
create, convert, edit or print DOC and DOCX in Java
https://products.aspose.com/words/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!