Netbeans doesn't load libraries from Tomcat's %CATALINA_BASE%/lib folderJars not copied to Tomcat's lib folderUnable to start tomcat server in netbeans and eclipseNetbeans not building the lib folder in the dist folderNetBeans - Using different lib foldersWhat config do I have to change for multiple Tomcat instances to use separate context.xml files?Where is CATALINA_BASE/webapps folder for Tomcat 8 on Mac?Running Project on Tomcat Through EclipseError starting Tomcat from NetBeans - '127.0.0.1*' is not recognized as an internal or external commandHow to use only Tomcat's shared lib folder?

Why is my 401k manager recommending me to save more?

Cannot overlay, because ListPlot does not draw same X range despite the same PlotRange

Find the closest three-digit hex colour

Can you run PoE Cat6 alongside standard Cat6 cables?

What is this fluorinated organic substance?

Square wave to sawtooth wave using two BJT

What could a Medieval society do with excess animal blood?

Why will we fail creating a self sustaining off world colony?

Why doesn't SpaceX land boosters in Africa?

usage of y" not just for locations?

What was the ASCII end of medium (EM) character intended to be used for?

Why is quantum gravity non-renormalizable?

Why is the saxophone not common in classical repertoire?

Are there advantages in writing by hand over typing out a story?

Is it advisable to inform the CEO about his brother accessing his office?

Existence of infinite set of positive integers s.t sum of reciprocals is rational and set of primes dividing an element is infinite

Old story where computer expert digitally animates The Lord of the Rings

Was Wolfgang Unziker the last Amateur GM?

What type of education should I select in this form?

Confusion in understanding the behavior of inductor in RL circuit with DC source

Is my background sufficient to start Quantum Computing

Does Dhp 256-257 condone judging others?

Trace in the category of propositional statements

Disk usage confusion: 10G missing on Linux home partition on SSD



Netbeans doesn't load libraries from Tomcat's %CATALINA_BASE%/lib folder


Jars not copied to Tomcat's lib folderUnable to start tomcat server in netbeans and eclipseNetbeans not building the lib folder in the dist folderNetBeans - Using different lib foldersWhat config do I have to change for multiple Tomcat instances to use separate context.xml files?Where is CATALINA_BASE/webapps folder for Tomcat 8 on Mac?Running Project on Tomcat Through EclipseError starting Tomcat from NetBeans - '127.0.0.1*' is not recognized as an internal or external commandHow to use only Tomcat's shared lib folder?













1















I have a Tomcat 9 server that runs well being splitted onto CATALINA_HOME (bin, lib with tomcat jars) and CATALINA_BASE (another lib folder with other jars, webapps and everything else).
CATALINA_HOME and CATALINA_BASE are set as global system variables.



I want to repeat this kind of configuration on my development PC (Windows) with Netbeans IDE.
So when I add Tomcat to Netbeans and set location of the CATALINA_HOME with bin and lib folders only, it asks me for CATALINA_BASE, and I set it also.



As a result I see that tomcat loads it's libraries from CATALINA_HOMElib, but discards libraries located in CATALINA_BASElib (projects in Netbeans also don't see libraries from CATALINA_BASElib).



If I install Tomcat as a service and run it, it successfully loads all libraries from the both folders.



I thought that maybe I can find some parameter for this within Netbeans server config file:
C:Users\AppDataRoamingNetBeans10.0configJ2EEInstalledServers.nbattrs



<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE attributes PUBLIC "-//NetBeans//DTD DefaultAttributes 1.0//EN" "http://www.netbeans.org/dtds/attributes-1_0.dtd">
<attributes version="1.0">
<fileobject name="instance">
<attr name="admin_port" stringvalue="8005"/>
<attr name="debug_type" stringvalue="SEL_debuggingType_shared"/>
<attr name="displayName" stringvalue="Apache Tomcat 9.0.17"/>
<attr name="httpportnumber" stringvalue="80"/>
<attr name="instance_id" stringvalue="tomcat90"/>
<attr name="java_opts" stringvalue="-Xms512m -Xmx512m -verbose:gc -Dfile.encoding=UTF-8"/>
<attr name="java_platform" stringvalue="jdk1.8.0_202"/>
<attr name="monitor_enabled" stringvalue="false"/>
<attr name="registeredWithoutUI" stringvalue="false"/>
<attr name="runningCheckTimeout" stringvalue="2000"/>
<attr name="timestamp" stringvalue="1553528984776"/>
<attr name="url" stringvalue="tomcat90:home=C:devsrvapache-tomcat-9.0.17:base=C:devsrvcatalina_base"/>
<attr name="username" stringvalue="tomcatuser"/>
</fileobject>
</attributes>


but I haven't find any option for this.



So the question is: how to configure Netbeans to support libraries from both CATALINA_HOME and CATALINA_BASE folders?










share|improve this question


























    1















    I have a Tomcat 9 server that runs well being splitted onto CATALINA_HOME (bin, lib with tomcat jars) and CATALINA_BASE (another lib folder with other jars, webapps and everything else).
    CATALINA_HOME and CATALINA_BASE are set as global system variables.



    I want to repeat this kind of configuration on my development PC (Windows) with Netbeans IDE.
    So when I add Tomcat to Netbeans and set location of the CATALINA_HOME with bin and lib folders only, it asks me for CATALINA_BASE, and I set it also.



    As a result I see that tomcat loads it's libraries from CATALINA_HOMElib, but discards libraries located in CATALINA_BASElib (projects in Netbeans also don't see libraries from CATALINA_BASElib).



    If I install Tomcat as a service and run it, it successfully loads all libraries from the both folders.



    I thought that maybe I can find some parameter for this within Netbeans server config file:
    C:Users\AppDataRoamingNetBeans10.0configJ2EEInstalledServers.nbattrs



    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE attributes PUBLIC "-//NetBeans//DTD DefaultAttributes 1.0//EN" "http://www.netbeans.org/dtds/attributes-1_0.dtd">
    <attributes version="1.0">
    <fileobject name="instance">
    <attr name="admin_port" stringvalue="8005"/>
    <attr name="debug_type" stringvalue="SEL_debuggingType_shared"/>
    <attr name="displayName" stringvalue="Apache Tomcat 9.0.17"/>
    <attr name="httpportnumber" stringvalue="80"/>
    <attr name="instance_id" stringvalue="tomcat90"/>
    <attr name="java_opts" stringvalue="-Xms512m -Xmx512m -verbose:gc -Dfile.encoding=UTF-8"/>
    <attr name="java_platform" stringvalue="jdk1.8.0_202"/>
    <attr name="monitor_enabled" stringvalue="false"/>
    <attr name="registeredWithoutUI" stringvalue="false"/>
    <attr name="runningCheckTimeout" stringvalue="2000"/>
    <attr name="timestamp" stringvalue="1553528984776"/>
    <attr name="url" stringvalue="tomcat90:home=C:devsrvapache-tomcat-9.0.17:base=C:devsrvcatalina_base"/>
    <attr name="username" stringvalue="tomcatuser"/>
    </fileobject>
    </attributes>


    but I haven't find any option for this.



    So the question is: how to configure Netbeans to support libraries from both CATALINA_HOME and CATALINA_BASE folders?










    share|improve this question
























      1












      1








      1








      I have a Tomcat 9 server that runs well being splitted onto CATALINA_HOME (bin, lib with tomcat jars) and CATALINA_BASE (another lib folder with other jars, webapps and everything else).
      CATALINA_HOME and CATALINA_BASE are set as global system variables.



      I want to repeat this kind of configuration on my development PC (Windows) with Netbeans IDE.
      So when I add Tomcat to Netbeans and set location of the CATALINA_HOME with bin and lib folders only, it asks me for CATALINA_BASE, and I set it also.



      As a result I see that tomcat loads it's libraries from CATALINA_HOMElib, but discards libraries located in CATALINA_BASElib (projects in Netbeans also don't see libraries from CATALINA_BASElib).



      If I install Tomcat as a service and run it, it successfully loads all libraries from the both folders.



      I thought that maybe I can find some parameter for this within Netbeans server config file:
      C:Users\AppDataRoamingNetBeans10.0configJ2EEInstalledServers.nbattrs



      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE attributes PUBLIC "-//NetBeans//DTD DefaultAttributes 1.0//EN" "http://www.netbeans.org/dtds/attributes-1_0.dtd">
      <attributes version="1.0">
      <fileobject name="instance">
      <attr name="admin_port" stringvalue="8005"/>
      <attr name="debug_type" stringvalue="SEL_debuggingType_shared"/>
      <attr name="displayName" stringvalue="Apache Tomcat 9.0.17"/>
      <attr name="httpportnumber" stringvalue="80"/>
      <attr name="instance_id" stringvalue="tomcat90"/>
      <attr name="java_opts" stringvalue="-Xms512m -Xmx512m -verbose:gc -Dfile.encoding=UTF-8"/>
      <attr name="java_platform" stringvalue="jdk1.8.0_202"/>
      <attr name="monitor_enabled" stringvalue="false"/>
      <attr name="registeredWithoutUI" stringvalue="false"/>
      <attr name="runningCheckTimeout" stringvalue="2000"/>
      <attr name="timestamp" stringvalue="1553528984776"/>
      <attr name="url" stringvalue="tomcat90:home=C:devsrvapache-tomcat-9.0.17:base=C:devsrvcatalina_base"/>
      <attr name="username" stringvalue="tomcatuser"/>
      </fileobject>
      </attributes>


      but I haven't find any option for this.



      So the question is: how to configure Netbeans to support libraries from both CATALINA_HOME and CATALINA_BASE folders?










      share|improve this question














      I have a Tomcat 9 server that runs well being splitted onto CATALINA_HOME (bin, lib with tomcat jars) and CATALINA_BASE (another lib folder with other jars, webapps and everything else).
      CATALINA_HOME and CATALINA_BASE are set as global system variables.



      I want to repeat this kind of configuration on my development PC (Windows) with Netbeans IDE.
      So when I add Tomcat to Netbeans and set location of the CATALINA_HOME with bin and lib folders only, it asks me for CATALINA_BASE, and I set it also.



      As a result I see that tomcat loads it's libraries from CATALINA_HOMElib, but discards libraries located in CATALINA_BASElib (projects in Netbeans also don't see libraries from CATALINA_BASElib).



      If I install Tomcat as a service and run it, it successfully loads all libraries from the both folders.



      I thought that maybe I can find some parameter for this within Netbeans server config file:
      C:Users\AppDataRoamingNetBeans10.0configJ2EEInstalledServers.nbattrs



      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE attributes PUBLIC "-//NetBeans//DTD DefaultAttributes 1.0//EN" "http://www.netbeans.org/dtds/attributes-1_0.dtd">
      <attributes version="1.0">
      <fileobject name="instance">
      <attr name="admin_port" stringvalue="8005"/>
      <attr name="debug_type" stringvalue="SEL_debuggingType_shared"/>
      <attr name="displayName" stringvalue="Apache Tomcat 9.0.17"/>
      <attr name="httpportnumber" stringvalue="80"/>
      <attr name="instance_id" stringvalue="tomcat90"/>
      <attr name="java_opts" stringvalue="-Xms512m -Xmx512m -verbose:gc -Dfile.encoding=UTF-8"/>
      <attr name="java_platform" stringvalue="jdk1.8.0_202"/>
      <attr name="monitor_enabled" stringvalue="false"/>
      <attr name="registeredWithoutUI" stringvalue="false"/>
      <attr name="runningCheckTimeout" stringvalue="2000"/>
      <attr name="timestamp" stringvalue="1553528984776"/>
      <attr name="url" stringvalue="tomcat90:home=C:devsrvapache-tomcat-9.0.17:base=C:devsrvcatalina_base"/>
      <attr name="username" stringvalue="tomcatuser"/>
      </fileobject>
      </attributes>


      but I haven't find any option for this.



      So the question is: how to configure Netbeans to support libraries from both CATALINA_HOME and CATALINA_BASE folders?







      tomcat netbeans catalina tomcat9






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 25 at 17:23









      IgorIgor

      1161 silver badge5 bronze badges




      1161 silver badge5 bronze badges




















          0






          active

          oldest

          votes










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55343346%2fnetbeans-doesnt-load-libraries-from-tomcats-catalina-base-lib-folder%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes




          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55343346%2fnetbeans-doesnt-load-libraries-from-tomcats-catalina-base-lib-folder%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript