File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "weblogic startup" Watch "weblogic startup" New topic

weblogic startup

maheedar sand
Ranch Hand

Joined: Feb 26, 2008
Posts: 36

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,

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

Joined: Aug 16, 2005
Posts: 15081

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 8 API documentation
Jelle Klap

Joined: Mar 10, 2008
Posts: 1951

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:
subject: weblogic startup
jQuery in Action, 3rd edition