Search code examples
eclipsewebspherewebsphere-7

How to configure application level settings in Websphere developer tool in Eclipse?


I install WebSphere Developer tools for Eclipse and refer to my local WebSphere 7 installation. Then deploy a Spring application within an EAR project. However, when I deploy the EAR project into WebSphere server instance in Eclipse, I find no options/UI to assign external library or assign role/user mapping etc, just like what I can do in WebSphere console.

When log on WebSphere console I do see the project setting but cannot save the change.

So is there anyway to configure on the UI or I have to make every change in an WebSphere XML configuration file?


Solution

  • In Eclipse, I find no options/UI to assign external library or assign role/user mapping etc
    Yes, you have to do it via console.

    When log on WebSphere console I do see the project setting but cannot save the change.
    Thats the common problem. Open the Server configuration and uncheck Minimize application files copied to the server. Restart server, undeploy and redeploy application. You should be able to save mappings.

    If this doesn't help (helps in most cases but not for some settings and I don't remember for which), then in the Publishing options, switch to Run server with resources on Server, this will work for sure, but deployment will be a bit longer. Of course restart and redeploy app.

    You will see the missing OK buttons in the admin console then.