• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

not able to deploy and run j2ee14 samples using ant

 
Greenhorn
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:

deploy_retrieve_common:
[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

deploy:

BUILD SUCCESSFUL
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.

Regards,
Davis
 
Their achilles heel is the noogie! Give them noogies tiny ad!
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic