glassfish_at_javadesktop.org wrote:
> having a bad day /week
>
> been having problems with WS in JBOSS - thought i'd try glassfish. I downloaded the sun webserver version (it came with installer) and set up the server. I then downloaded the glassfish plugin for eclipse3.3 (version 1.02).
>
> I create a simple Seam EAR app and try and deploy a simple web service (packaged as ejb).
>
>
Can you try tosetup your Eclipse workspace in a dir that does not
contain spaces (i.e c:\tmp)
and let us know.
Thanks,
Ludo
> The deployer fails on me with
>
> deploy.j2ee.ear:
> [jar] Building jar: C:\Documents and Settings\Will\europa fall workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\gftest-ear.ear
> tools:
> deploy:
> [exec] Usage: deploy [--terse=false] [--echo=false] [--interactive=true] [--host localhost] [--port 4848|4849] [--secure | -s] [--user admin_user] [--passwordfile file_name] [--virtualservers virtual_servers] [--contextroot context_root] [--force=true] [--precompilejsp=false] [--verify=false] [--name component_name] [--upload=true] [--retrieve local_dirpath] [--dbvendorname dbvendorname] [--createtables=true|false | --dropandcreatetables=true|false] [--uniquetablenames=true|false] [--deploymentplan deployment_plan] [--enabled=true] [--generatermistubs=false] [--availabilityenabled=false] [--libraries jar_file[(pathseparator)jar_file]*] [--target target(Default server)] filepath
> [exec] CLI019 Invalid number of operands. Number of operands should be equal to 1.
> deploy-url-message:
> [echo] Application Deployed at: http://localhost:8080/gftest-ear
> BUILD SUCCESSFUL
> Total time: 1 second
>
> when i click on the error it takes me to the ant script
>
> <exec executable="${asadmin}" failonerror="${failonerror}">
> [b] <arg line=" deploy "/>[/b]
> <arg line=" --host ${sunappserver.serveraddress}" />
> <arg line=" --port ${sunappserver.adminserverportnumber}" />
> <arg line=" --user ${sunappserver.adminname}" />
> <arg line=" --passwordfile passw" />
>
> <arg line=" --name ${module.name}"/>
> <arg line=" --force=true "/>
> <arg line=" --upload=true "/>
>
> <arg line="${app.module}" />
> </exec>
>
> and fails to deploy. I have had a look at the wsadmin command line in google and this looks okay - why does it say it has the wrong number of arguments ?
>
> I just want to get some programming done - can any one get me over this problem?
> [Message sent by forum member 'wiggy' (wiggy)]
>
> http://forums.java.net/jive/thread.jspa?messageID=266834
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>