Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

weblogic startup

 
maheedar sand
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15214
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jelle Klap
Bartender
Posts: 1951
7
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic