7

We just started a project in ADF, Oracle's Java EE framework. Usually we develop in Tomcat, then deploy into the production WebLogic servers.

But we realized ADF requires a WebLogic server installed locally to develop in Eclipse/JDeveloper. This is really heavyweight, even configured as dev, it is killing our machines, and taking a long time to deploy.

So, are there any configuration parameters we could tweak so WebLogic takes as few resources as possible? Are there any alternatives we could use?

We are mostly concerned about memory (it is taking a wonderful 800MB,) and startup time (~2 minutes)

Arjan Tijms
  • 37,782
  • 12
  • 108
  • 140
Eugenio Cuevas
  • 10,858
  • 3
  • 29
  • 51

3 Answers3

1

On the memory consumption issue, you might want to try setting the memory parameters of the JVM used by your WebLogic server. Log in to your WL Web Admin Console and go to Environment/Servers/[your server]/Configuration/Server Start and, on the "Arguments", setting something like -Xms256m -Xmx256m will set your JVM's initial (Xms) and maximum (Xmx) heap size to 256 megabytes. You will want to play around with these numbers and find the best values for your environment. But please be aware that your Eclipse instance might be consuming a lot of memory as well.

Regarding the startup time, although a bit larger than I would expect, they seem OK. This problem is very frequent, and I don't think you will be able to definitely solve it. WebLogic has much more features than Tomcat, and this reflects in other characteristics of the environment (like startup time). You might find some useful tips here, though: Speed up Weblogic Server startup times

Community
  • 1
  • 1
Viccari
  • 9,029
  • 4
  • 43
  • 77
0

There is no restriction to use a local server for development. You can always go for a shared server and deploy your projects for testing.

Sree
  • 746
  • 6
  • 21
0

I agree with the previous post. If memory is a concern then you may install a stand alone WLS and deploy to it from an EAR. Make sure for the stand alone WLS you install the Application Development Runtime Libraries as by default WLS does not have domains enabled for ADF - http://www.oracle.com/technetwork/developer-tools/adf/downloads/index.html

When you install WLS, make sure you install it in development mode (which is setting the embedded WLS has too)

Beside of this, there is not much you can do to start WLS withlimited functionality.

Frank