NetBeans Forums

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

[RESOLVED] Use Tomcat custom (Virtual) HOST with Netbeans

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



Joined: 29 Apr 2016
Posts: 2

PostPosted: Thu Aug 10, 2017 10:17 pm    Post subject: [RESOLVED] Use Tomcat custom (Virtual) HOST with Netbeans Reply with quote

Hello,

I am configuring a Tomcat server to use a HOST per web app instead of the usual app folder configuration under localhost/webapps. The configuration is very similar to this:
https://nazimkuet.wordpress.com/2014/07/14/how-can-i-configure-tomcat-with-multiple-virtual-hosts/

Now I am having to edit existing web apps because the URLs for images, scripts, and css are different.

What used to work:
https://serverName.domain.org/projectName/css/some.css

Now needs to be: (hope this make sense)
https://serverProjectName.domain.org/css/some.css

I have tried to configure a Tomcat 8.5.20 to use a root HOST, but Netbeans creates a folder for the project. The Tomcat catalina log has no errors. But, Netbeans errors:

C:\Users\pathTo\nbproject\build-impl.xml:1171: The module has not been deployed.

Which is:
<nbdeploy clientUrlPart="${client.urlPart}" debugmode="true" forceRedeploy="true"/>

I need to find a way to edit these projects I am porting in Netbeans debug mode and have them behave the same in the production environment. Anyone have any experience with this? Ideas/perspective?

This is my first time configuring Tomcat HOSTs that serve up a default app.

Thanks.


Last edited by HWinMT on Fri Aug 11, 2017 2:59 pm; edited 1 time in total
Back to top
HWinMT



Joined: 29 Apr 2016
Posts: 2

PostPosted: Fri Aug 11, 2017 2:57 pm    Post subject: [RESOLVED] Use Tomcat custom HOST with Netbeans Reply with quote

This resolved my issue.

https://stackoverflow.com/questions/2976929/netbeans-and-tomcat-virtual-hosts

I'd seen that in the project properties yesterday and did not think to edit it. Thanks for the views.
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 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