Deploying an ADF 11g Application in JBoss5 Part 1

In a series of blog entries I will explain how to deploy different types of ADF11g applications on JBoss5. The first application that we are going to deploy is a simple ADF Faces application that doesn't use the ADFm to bind the UI with the business services. In this case we can use backing bean code to leverage business services from the application.


For this sample we need to download and install JBoss 5.0GA and JDeveloper 11g. For this case we are not going to access any data from a database. I'll cover this in upcoming entries.

Establish a connection from JDeveloper to the JBoss Server

Go to IDE Connections the right hand side of JDeveloper and create a new application server connection to JBoss that points to the deploy folder


Creating the ADF Faces Simple Application

I created a simple ADF Faces application with the following structure.


As you can see I created a couple of JSPX pages (login.jspx and hello.jspx) using ADF Faces Rich Components and a customized template (myOwnThreeColumn.jspx). I made and initial attempt to use the /oracle/templates/threeColumTemplate.jspx from JDeveloper but this template is part of a jar file that is included within JDeveloper for design WLS and wont be deployed to JBoss unless you include it into your project.

Also notice that I have defined a navigation case in the faces-config.xml file -from the login page to the hello page that, is enabled through a a backing bean ( custom logic on the ActionListener of the login button.




Required Libraries

In order to deploy the ADF Faces application we need to include the following libraries in the lib directory of the JBoss server

















Deploying the Application

Go to your project properties and edit the deployment profile-> Select JBoss for the platform. Then right click on the project name and deploy to your JBoss connection.

Verify in the JBoss console that there are none errors of deployment, after that access your application on the browser.

In following entries I will cover how to deploy an application that makes use of the ADFm.


thanks for this article. For a few weeks, I've been seeking for an article that shows how to deploy ADF 11g applications into JBoss app server. And now I found your article, that help me a lot ! I'll be waiting for the next article on this series !

Posted by Anderson on January 13, 2009 at 07:06 AM PST #

Great article. I will be waiting for article where you show how to use business components on JBoss (I spend on it much time, but I still can't do that)

Posted by peter_pl on January 14, 2009 at 07:33 PM PST #

thanks for this article.but I got a exception jboss:service=CorbaORB is not registered. at at at org.jboss.web.tomcat.service.deployers.TomcatDeployment$EncListener.lifecycleEvent( at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent( at org.apache.catalina.core.StandardContext.start( at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal( at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy( at org.jboss.web.deployers.AbstractWarDeployment.start( at org.jboss.web.deployers.WebModule.startModule(

Posted by kety on April 08, 2009 at 11:55 PM PDT #

Hi Kety, Remember that this is for an ADF Faces stand alone application, by this I mean that if you are adding ADFm bindings, or ADF Business components it is expected that you get an error. What I can suggest is that you validate that all of the libraries are included and that you are using JBoss 5GA and JDev11g. After that feel free to post your question on the JDeveloper Forum We can follow up from there. Juan C.

Posted by Juan Camilo on April 09, 2009 at 05:58 AM PDT #

Hi, I got this error when trying to doploy to Jboss. May i know why? ERROR [AbstractKernelController] Error installing to Parse: name=vfszip:/usr/jboss/jboss-5.0.0.GA/server/default/deploy/application1.ear state=Not Installed mode=Manual requiredState=Parse org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfszip:/usr/jboss/jboss-5.0.0.GA/server/default/deploy/application1.ear/webapp1.war at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException( at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData( at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData( at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData( at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy( at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy( at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy( at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst( at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst( at org.jboss.deployers.plugins.deployers.DeployersImpl.install( at org.jboss.dependency.plugins.AbstractControllerContext.install( at org.jboss.dependency.plugins.AbstractController.install( at org.jboss.dependency.plugins.AbstractController.incrementState( at org.jboss.dependency.plugins.AbstractController.resolveContexts( at org.jboss.dependency.plugins.AbstractController.resolveContexts( at org.jboss.dependency.plugins.AbstractController.change( at org.jboss.dependency.plugins.AbstractController.change( at org.jboss.deployers.plugins.deployers.DeployersImpl.process( at org.jboss.deployers.plugins.main.MainDeployerImpl.process( at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile( at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start( at org.jboss.bootstrap.AbstractServerImpl.start( at org.jboss.Main.boot( at org.jboss.Main$ at Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: cvc-complex-type.2.4.b: The content of element 'application' is not complete. One of '{"":description, "":display-name, "":icon, "":module}' is expected. @ vfszip:/usr/jboss/jboss-5.0.0.GA/server/default/deploy/application1.ear/webapp1.war/WEB-INF/classes/META-INF/application.xml[2,228] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse( at org.jboss.xb.binding.UnmarshallerImpl.unmarshal( at org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse( at org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse( at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse( at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse( at org.jboss.deployment.AppParsingDeployer.parse( at org.jboss.deployment.AppParsingDeployer.parse( at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parseAndInit( at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse( at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData( ... 23 more

Posted by Taufik on May 05, 2009 at 09:58 AM PDT #

this really aids, today i receive the troubles and i donot know how to puzzle out, i research google and discovered your blog, thanks again

one thing, may i post this article on my site? i will add the source and credit to your site.


Posted by sam sean on December 18, 2009 at 10:08 AM PST #

Sure I'm glad you found it useful. Send us the link once you post it.

Posted by juan.ruiz on December 21, 2009 at 02:25 AM PST # "- How much does the runtime license for TopLink and ADF 11g cost for 3rd party application servers? - At the time of writing the licence cost is 5,800 USD per processor, or 120 USD per named user plus, support is also available for purchase. [...]" So why bothering of using ADF 11g on something else than WebLogic Server? Or maybe ADF 11g is just free since now?

Posted by borizm on December 13, 2010 at 06:28 AM PST #

ADF 11g and TopLink license are part of any version of Oracle WLS, if you want to deploy in 3rd party Apps Servers either just ADF11g or just Toplink pieces of the App, there is a licensing cost associated with it. Juan C.

Posted by juan.ruiz on January 06, 2011 at 04:22 AM PST #

Quiero dar las gracias por esta excelente lectura! Definitivamente, me encantó .He marcado su sitio web para estar pendiente de cuando publiques nuevo material.

Posted by Age Spots on April 07, 2011 at 12:47 PM PDT #

good information, thanks

Posted by Christian Louboutin on April 26, 2011 at 11:40 AM PDT #

We are trying to deploy ADF on Jboss 5/7

we had an error and everyone says it doesn't support.

can you please help us. I posted it on the following forum.

Appreciate your response!

Posted by guest on December 07, 2011 at 08:55 PM PST #

I've replied on the forum.


Juan Camilo

Posted by Juan C. Ruiz on December 27, 2011 at 05:20 AM PST #

Post a Comment:
  • HTML Syntax: NOT allowed

A blog that explores features, tips and tricks of ADF and JDeveloper by Juan Camilo Ruiz, Product Manager on the ADF and JDeveloper team
Follow me:

« July 2016