I am a little confused with the war exporting: when I export my application,
it creates a directory with the war structure in it, but I expected Play! to
create a .war file (I'd like to deploy my application easily on another
machine via the GlassFish administration interface).
I am not very familiar with the WAR file format, but can I just zip the
directory and rename it to something.war ?
Now deploying in GlassFish doesn't work, I am getting this exception:
2009-05-26T19:06:10.910+0200|SEVERE|sun-appserver2.1|
javax.enterprise.system.tools.deployment|
_ThreadID=20;_ThreadName=Thread-278;_RequestID=aa5cebe2-6d88-4f81-
a584-5fe794b197e9;|Une exception s''est produite dans la phase
J2EEC.org.xml.sax.SAXParseException: TargetNamespace.1: Expecting namespace
'http://java.sun.com/xml/ns/javaee', but the target namespace of the schema
document is 'http://java.sun.com/xml/ns/j2ee'.
com.sun.enterprise.deployment.backend.IASDeploymentException: Erreur lors du
chargement des descripteurs de déploiement pour le module [missionTracking]
ligne 8 colonne 20 -- Fichier de descripteur de déploiement WEB-INF/web.xml
dans l'archive [missionTracking]. TargetNamespace.1: Expecting namespace
'http://java.sun.com/xml/ns/javaee', but the target namespace of the schema
document is 'http://java.sun.com/xml/ns/j2ee'.
I looked in the web.xml file, and the namespace is correct.