[Oracle AS] How do I get auto deploy working?

  1. MyEclipse Archived
  2.  > 
  3. FAQ – Complete
Viewing 1 post (of 1 total)
  • Author
  • #276514 Reply

    Riyad Kalla

    As it turns out, OC4J does support the automatic loading of your deployments from MyEclipse, but you need to make a slight change to your <OC4J HOME>\j2ee\home\config\server.xml file.

    Open the file mentioned above, and find the root “application-server” tag and add the following entry to it:


    NOTE: MyEclipse uses the applications-autodeploy directory when deploying to OC4J. You are free to use the existing /applications directory, but then in MyEclipse you would need to use a Custom Location deployment when deploying projects.

    so now the top of your file looks something like this:

    <application-server  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/application-server-10_1.xsd"  application-directory="../applications"
     ... SNIP ...

    Don’t forget to save the file then restart the server. After you have done that, any EAR deployed to the <OC4J HOME>\j2ee\home\applications-autodeploy directory will automatically be deployed by OC4J for you, including deployments from MyEclipse.

    Please see the OC4J Auto Deploy doc for reference.

Viewing 1 post (of 1 total)
Reply To: [Oracle AS] How do I get auto deploy working?

You must be logged in to post in the forum log in