facebook

[JBoss] Remote Deployment Errors

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #270034 Reply

    archerzz
    Member

    Hi all.
    I’ve a web project named foo and an EAR project named bar which contains foo. When I deploy bar onto a remote JBoss 4.0.3SP2, I choose to deploy as an ‘Exploded Archive’. The project is deployed as Exploded Archive but the names of the project directory are wrong. Normally, the directory of bar should be bar.ear and the directory of foo should be foo.war. But unfortunately, MyEclipse deploy them as foo and bar directly so that the JBoss will report errors when starting.
    When I deploy foo onto the local JBoss, MyEclipse deploy them as foo.war and bar.ear, which are correct. So is there any advice on how to make remote deployment of JBoss correct?

    #270090 Reply

    Riyad Kalla
    Member

    When you say “remote deployments” do you mean a Custom Location deployment to a mapped network location, or something else?

    #273387 Reply

    archerzz
    Member

    Sorry for the late response. Yes. I mean deploy the project to a mapped network location.

    #273404 Reply

    Riyad Kalla
    Member

    Ahh, that’s because the deployer doesn’t know that you are deploying to JBoss and that it needs to treat the directories specially. What you want to do is created a Custom Location – Suffixed deployment, and give it the proper suffix name.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: [JBoss] Remote Deployment Errors

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