I have a Java EE application that uses JPA. I have deployed it successfully via putty, but when I try to run it to persist something to the database with the command:
java -jar /opt/glassfish4/glassfish/domains/domain1/docroot/cabosand_crm.war
I get an error:
no main manifest attribute, in /opt/glassfish4/glassfish/domains/domain1/docroot/cabosand_crm.war