webtier@glassfish.java.net

Updating Glassfish 3 to the latest JSF 2 fails

From: <webtier_at_javadesktop.org>
Date: Sat, 31 Jan 2009 08:55:14 PST

I ran mojarra-2.0.0-SNAPSHOT-glassfish-updater.jar on my GFv3 install, and got this cryptic error message:

Updating glassfish at
/home/apps/glassfish-v3-prelude-b28c/glassfish
with new JSF jars.
java.lang.RuntimeException: Multiple .jar files starting with javax.javaee. Update cannot proceed
        at com.sun.faces.tools.GlassfishUpdater.updateV3Jars(GlassfishUpdater.java:320)
        at com.sun.faces.tools.GlassfishUpdater.main(GlassfishUpdater.java:137)

Is the updater broken, or am I doing something wrong? Oddly enough, I have no files starting with javax.javaee.

Here are the ones starting with javax:

$ find -name "javax*jar"./modules/javax.enterprise.deploy.jar
./modules/web/javax.servlet.jsp.jstl.jar
./modules/javax.mail.jar
./modules/javax.xml.stream.jar
./modules/javax.security.auth.message.jar
./modules/javax.servlet.jar
./modules/javax.persistence.jar
./modules/javax.transaction.jar
./modules/javax.security.jacc.jar
./modules/javax.resource.jar
./modules/javax.activation.jar
./modules/javax.annotation.jar
./modules/javax.servlet.jsp.jar

There is one containing javaee:

$ find -name "*javaee*jar"
./modules/deployment-javaee-core.jar

Thanks,

Cay
[Message sent by forum member 'cayhorstmann' (cayhorstmann)]

http://forums.java.net/jive/thread.jspa?messageID=329405