You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Troubleshooting Java EE asset deployment

Coexistence of <sec:security> and <dep:gbean> results in error in application deployment plan on Eclipse 3.5

If you use both <sec:security> and <dep:gbean> elements in this deployment plan geronimo-application.xml for your EAR, Eclipse 3.5 reports an error. This is because the XML editor in Eclipse 3.5 cannot recognize multiple aliases in the naming space. However, this application can be deployed on the server successfully even though Eclipse 3.5 reports an error in the plan. See Eclipse bug for more information about this problem.
To prevent Eclipse from reporting this type of errors, follow these steps:

  1. Click Window->Preferences.
  2. Expand XML and then XML Files.
  3. Select Validation. Deselect Honour all XML schema locations.
  4. Click Apply.
  5. Close the deployment plan and reopen it. Eclipse won't report this type of errors again.
  • No labels