Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Glassfish Deploy CommandException Error

I want to deploy my application to glassvish v3 with asadmin deploy command however I get an error:

com.sun.enterprise.admin.cli.CommandException: remote failure: There is no installed container capable of handling this application com.sun.enterprise.deploy.shared.FileArchive@1c2a1c7

What can be the problem?

like image 492
kamaci Avatar asked Mar 05 '11 20:03

kamaci


3 Answers

To me, the problem was coming from the fact that in /domains/domain/applications there was still the application I was trying to deploy again.

like image 105
Julien BRENELIERE Avatar answered Sep 18 '22 12:09

Julien BRENELIERE


Another file access possibility I just ran into:

Service was started as root and the app undeployed/deployed. Then, as the correct limited rights user, undeploy/deploy. On deploy you'll receive this error, as the application files will still exist in he 'domains/yourdomain/applications' directory, and will be owned by root.

+1 to Keeg's comment on the awesome error messages we've all come to expect from Glassfish.

like image 36
ggranum Avatar answered Sep 20 '22 12:09

ggranum


Hey I got the same error.In my case,I'd made a directory named "Web-INF",apparently the name of the folder has to be (mandatory) in upper-case i.e. "WEB-INF". In short,check for spelling errors.

It solved my issue.So just wanted to share.I'm new to glassfish, so can't really tell you the exact solution.But what worked for me could be a solution for you as well.

like image 23
Pavitar Avatar answered Sep 18 '22 12:09

Pavitar