[jboss-user] [JBoss Tools] - Re: Indigo Jboss 5.1 assign resources to server

Rob Stryker do-not-reply at jboss.com
Mon Apr 2 12:00:04 EDT 2012


Rob Stryker [https://community.jboss.org/people/rob.stryker] created the discussion

"Re: Indigo Jboss 5.1 assign resources to server"

To view the discussion, visit: https://community.jboss.org/message/727790#727790

--------------------------------------------------------------
If you create a new Dynamic Web Project in an empty workspace, the default facets will be the highest installed in the workspace.  if you then create an older server, for example 5.x, 4.x, 3.x, etc, the modules won't be deployable on that server and will not show up in the add / remove wizard. This is because the server only supports, for example, up to web 2.4,  but your workspace created a web 3.0 project.  The web 3.0 project is not deployable to an app-server that does not support that version of the spec. 

This obviously isn't a problem if you create a web 2.4 project and deploy it to JBoss AS7.0 for example, since JBoss AS is backwards compatible with regards to jee spec.  But it is an issue if you try to deploy a web 3.0 project to a server that doesn't support that version of jee. 

The proper way to do this is to create the server first, then create your web project or ejb project or ear project. Targeting the project to the proper runtime will ensure the default facets are deployable on that server.     
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/727790#727790]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120402/8035921f/attachment-0001.html 


More information about the jboss-user mailing list