NetBeans Forums

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

Java EE 6 Maven Project Setup

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



Joined: 26 Sep 2010
Posts: 5

PostPosted: Tue Sep 28, 2010 9:39 pm    Post subject: Java EE 6 Maven Project Setup Reply with quote

Hello,

I've been trying to set up a Java EE 6 Maven project via New Project -> Maven -> Maven Enterprise Application.

However, when I try to run the application I've been running into a couple problems:

1. I had to change the the http port that Glassfish listens on because the port it chose (8080) was already used. I went into the domain.xml file and changed the port to 8081. But when I try and run the application, netbeans is opening the browser with port 8080 still. Is there a way to change this, so netbeans opens the browser with port 8081?

2. Why when I run the web application is https being used instead of http? When https is being used its not finding the index.jsp page...

Thanks for any help!
Back to top
bdicasa



Joined: 26 Sep 2010
Posts: 5

PostPosted: Wed Sep 29, 2010 9:42 pm    Post subject: Reply with quote

It turns out the easiest way to resolve the port issue was to remove the server, and then re-register it using netbeans. Once netbeans was using the correct port, it stopped trying to us https.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans 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 can 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