user14
user14

Reputation: 39

Publishing to Websphere Application Server

When ever I am trying to deploy the application on the IBM websphere I am receiving the following error:

"The publish encountered some problems and the application may not have been installed or it may have been successfully installed but was unable to start. The application contains validation errors. Correct the errors in the Problems view before publishing the application on the server. If you want to allow applications containing errors to be published on the server, enable the Allow applications containing errors to be published on a server check box (Windows > Preferences > Servers > WebSphere). The project cannot be built until build path errors are resolved"

There few suggestions to look into eclipse.ini file but it didn't help me much.

I appreciate your inputs.

Thank you in advance, Lucky

Upvotes: 2

Views: 15190

Answers (2)

Ebony Maw
Ebony Maw

Reputation: 524

In your Eclipse, go to Window -> Preferences -> Server -> WebSphere Application Server and check the box that says "Allow applications containing errors to be published on a server."

note: your version of Websphere may vary than the one shown in my example screenshot. Also, please note that I am using Spring Tool Suite, but it is essentially Eclipse.

enter image description here

Upvotes: 4

umanganiello
umanganiello

Reputation: 754

You should explain us what are those validation errors. Anyway, you can disable the validation from Window->Preferences. Then publish the application on the WAS. This could help if the errors are non-blocking (for example javascript or xml validation errors).

Upvotes: 1

Related Questions