NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Failing to deploy local JEE examples through Netbeans to Glassfish

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
deglans



Joined: 11 Oct 2017
Posts: 2
Location: Ferrara, Italy

PostPosted: Wed Oct 11, 2017 4:12 pm    Post subject: Failing to deploy local JEE examples through Netbeans to Glassfish Reply with quote

I'm try to learn Java EE, I have followed the official guide at: https://javaee.github.io/tutorial/webapp003.html but the example don't work...
I think the problem is the communication between NetBeans and GlassFish, because if I deploy manually the war file it's work.
The output of NetBeans is this:

Code:

--- cargo-maven2-plugin:1.4.4:redeploy (deploy) @ hello1 ---
[DeployerRedeployMojo] Resolved container artifact org.codehaus.cargo:cargo-core-container-glassfish:jar:1.4.4 for container glassfish
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 3.217s
Finished at: Wed Oct 11 18:03:18 CEST 2017
Final Memory: 13M/173M
------------------------------------------------------------------------
Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.4.4:redeploy (deploy) on project hello1: Execution deploy of goal org.codehaus.cargo:cargo-maven2-plugin:1.4.4:redeploy failed: Cannot create configuration. There's no registered configuration for the parameters (container [id = [glassfish5x], type = [installed]], configuration type [existing]). Actually there are no valid types registered for this configuration. Maybe you've made a mistake spelling it? -> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException


I have tried to follow this https://netbeans.org/bugzilla/show_bug.cgi?id=247746 but it's doesn't work...

EDIT:
I have forgot to post information about my environment:

  • Kubuntu 17.04
  • NetBeans 8.2
  • GlassFish 5
  • JDK 1.8.0_144
Back to top
deglans



Joined: 11 Oct 2017
Posts: 2
Location: Ferrara, Italy

PostPosted: Fri Oct 13, 2017 12:31 pm    Post subject: Reply with quote

The solutions is at: https://stackoverflow.com/questions/46648971/the-javaee-8-tutorial-deploy-failed-on-hello1-project/46729974#46729974
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo