Skip to main content

Deploy Applicatoin

1 reply [Last post]
Joined: 2006-09-28

I am new to JEE and GlassFish, and have a problem with publishing an application to the server using Eclipse and the plugin (0.3).

I succesfully published a WebAp (jsp), but am now moving on in creating a full application. When moving the project to the server I get an error that the usage of deploy is wrong... (CLI019 Invalid number of operands. Number of operands should be equal to 1)

What do I do wrong?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2006-09-15

I don't use Eclipse with glassfish but I have seen that type of error. Are you using asadmin to deploy your app or are you using the Admin Console? I got that type of error when asadmin command was missing a key part of the command.

asadmin> deploy --user admin --passwordfile filename --target myinstance jd

0 command executed successfully
1 error in executing the command