wood burning stoves 2.0*
The moose likes BEA/Weblogic and the fly likes weblogic startup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "weblogic startup" Watch "weblogic startup" New topic
Author

weblogic startup

maheedar sand
Greenhorn

Joined: Feb 26, 2008
Posts: 23
Hi,

I want to know how to start the weblogic server in development mode.
By default in my system the weblogic 7.0 server is starting in running mode.
how to change the mode.
In tomcat the webapps is the default folder for placing web applications.
In weblogic what is the default folder for placing the web applcations.

Thanks in advance,

regards,
sathish kumar.g.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14114
    
  16

snowfly, please check your private messages. You can see them by clicking My Private Messages.

We have a separate forum about BEA WebLogic. I am moving this post over there; please follow the link at the top of the page.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Jelle Klap
Bartender

Joined: Mar 10, 2008
Posts: 1761
    
    7

When you configure a new user domains (using the configuration wizard) you get to choose a domain startup mode (and an appropriate VM). This would be the most convenient time to pick and choose.

For existing domains you can change the startup mode by editing the domains startup scripts located in the "bin" directory, relative to the domain's home directory (%BEA_HOME%/user_projects/domains/-SomeDomain-).
The "bin" directory should contain a number of scripts. You're looking for the setDomainEnv (.cmd extension on Windows, .sh on *nix) script file.
This file should contain an variable called "PRODUCTION_MODE", either clear its value or explicitly set it to "false" to enable development mode for the domain. Also consider changing the JVM settings when you switch server modes. BEA recommends using the bundled Sun JVM for development purposes and their own JRockit JVM when switching to production mode.

You can deploy your application in one of several ways, via a web-interface (not convenient), by copying your application (packaged or exploded) to the "autodeploy" directory relative to the domain home directory on which you wish to deploy (slighty more convenient), or by setting up an ANT script that uses the wldeploy task (most convenient).


Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: weblogic startup