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

          How to preserve electronics (computers, tablets and phones) for hundreds of years Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) The network's official Twitter account is up and running again. What content…How might modern humans leave a message for 50,000 years?How would an aquatic race develop computers?How do we make computers care for human life?Keeping supplies for 1000 yearsWhat will cell phones become in 100 years?What body armor protects against a laser?Could a society attain 1800s technology if limited to using copper and bronze?Electricity power (magic) and electronicsScavenging metal resources in post-apocalypse after 100 yearsWhy would precursors create devices that can survive and still work after hundreds of years?

          155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해

          Convert JSON to MapSimplest way to convert a string representing JSON array into Java array List of key value pairsHow to take String JSON values into HashMapConvert a JSON String to a HashMapCreating BSON object from JSON stringJSONObject - How to get a value ?Better Map ConstructorReading JSON from Url javaUpdate columns if input values are not null otherwise ignore and keep the existing values of column in databaseHow to store object represented as Json string into Couchbase Lite?Go JSON into MapHow do I efficiently iterate over each entry in a Java Map?Sort a Map<Key, Value> by valuesHow to round a number to n decimal places in JavaCan comments be used in JSON?How do I read / convert an InputStream into a String in Java?How can I pretty-print JSON in a shell script?What is the correct JSON content type?How can I deserialize JSON to a simple Dictionary<string,string> in ASP.NET?Why does Google prepend while(1); to their JSON responses?Parse JSON in JavaScript?