Deploying ADF applications to a remote server
By Chris Tomkins on Jun 22, 2010
A question that regularly comes up on the JDeveloper and ADF Developer Day is:
“How do I deploy my ADF application to a remote WebLogic Server, rather than the WebLogic Server integrated inside JDeveloper?”
The answer is pretty simple and can be broken down into 2 steps:
- Ensure you are trying to deploy to a WebLogic domain with ADF capability (this is most often where the problem lies)
The ADF capability is included in the Oracle Java Required Files (JRF) package and so you need to either check the Oracle JRF box when initially creating the domain or extend your existing domain with the Oracle JRF capability by re-running the configuration wizard, choosing to extend the domain and then checking the Oracle JRF box.
NB. If you create a SOA Suite or Oracle Service Bus domain then Oracle JRF is a required dependency and so is added automatically.
- Add a new Application Server Connection to your remote server in JDeveloper from the File>New menu and then complete the screens below (making sure you fill in the details specific to your environment):
NB. In the screen above I use localhost since the WebLogic domain is on my local machine, but typically this would be the name of your remote server.
NB. The WebLogic Domain field should be completed with the name of your domain, mine just happens to be called adf.
NB. I’d always recommend using this screen to test your connection.
Once you have completed the steps above, you should be able to deploy your application from Application>Deploy making sure you choose the application server connection you have just created when prompted.