I'm getting a "Missing Resource Exception" when trying to use the
sun-appser-deploy Ant Task. Are these ant tasks working at the moment?
[sun-appserv-deploy] Executing: deploy --user admin --passwordfile
"/home/devglassfish/.glassfish.password" --host localhost --port 4848
--force=true
--enabled=true --name chap3-rest --verify=true --precompilejsp=false
--upload=true
"/home/devglassfish/code/book-code/chap3/rest/target/chap3-rest.war"
Nov 23, 2005 9:16:57 AM com.sun.enterprise.util.i18n.StringManagerBase
<init>
SEVERE: UTIL6550: Error in local string manager - resource bundle is
probably missing.
java.util.MissingResourceException: Can't find bundle for base name
com.sun.enterprise.util.SystemPropertyConstants.LocalStrings, locale en_US
at
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:837)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:806)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:550)
at
com.sun.enterprise.util.i18n.StringManagerBase.<init>(StringManagerBase.java:104)
at
com.sun.enterprise.util.i18n.StringManager.<init>(StringManager.java:108)
at
com.sun.enterprise.util.i18n.StringManager.getManager(StringManager.java:123)
at
com.sun.enterprise.util.i18n.StringManager.getManager(StringManager.java:151)
at
com.sun.enterprise.util.SystemPropertyConstants.<clinit>(SystemPropertyConstants.java:170)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at
org.apache.tools.ant.taskdefs.optional.sun.appserv.AppServerAdmin.execAdminCommand(AppServerAdmin.java:493)
at
org.apache.tools.ant.taskdefs.optional.sun.appserv.ComponentAdmin.execute(ComponentAdmin.java:266)
at
org.apache.tools.ant.taskdefs.optional.sun.appserv.AppServerAdmin.execute(AppServerAdmin.java:420)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at org.apache.maven.cli.App.doMain(App.java:488)
at org.apache.maven.cli.App.main(App.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)