• Post Reply Bookmark Topic Watch Topic
  • New Topic

not able to deploy and run j2ee14 samples using ant  RSS feed

Davis Varkey
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Friends,

I am new to webservice, I am facing problem to deploy j2ee14 webservice applications in to Glass fish app server. I followed the documentation and I use the command "asant deploy", I am getting the successful message as follows:

[echo] Deploying ./build/assemble/ear/jaxrpc-simple.ear and retrieving clie
nt stubs.
[exec] Usage: deploy [--terse=false] [--echo=false] [--interactive=true] [-
-host localhost] [--port 4848|4849] [--secure | -s] [--user admin_user] [--passw
ordfile file_name] [--virtualservers virtual_servers] [--contextroot context_roo
t] [--force=true] [--precompilejsp=false] [--verify=false] [--name component_nam
e] [--upload=true] [--retrieve local_dirpath] [--dbvendorname dbvendorname] [--c
reatetables=true|false | --dropandcreatetables=true|false] [--uniquetablenames=t
rue|false] [--deploymentplan deployment_plan] [--enabled=true] [--generatermistu
bs=false] [--availabilityenabled=false] [--libraries jar_file[(pathseparator)jar
_file]*] [--target target(Default server)] filepath
[exec] CLI010 Value not specified for virtualservers


Total time: 2 seconds

But I can't see the application in the console. Also when I tested running the client using the command "appclient -client jaxrpc-simpleClient.jar". it gives this error.

javax.naming.NamingException [Root exception is Cant create service! Service name must be non-null]

I am getting the same error even when I deploy the application using the admin console.

Please help on this.. Thanks a millions in advance.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!