Quantcast

Netbeans 8.2 will not start Tomcat 8.5

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Netbeans 8.2 will not start Tomcat 8.5

spud_chance
Thanks for the suggestions.  Unfortunately neither of them helped.  Setting "no proxy" made no difference.  There is nothing in the "Apache Tomcat or TomEE Log" tab and the following is in the "Apache Tomcat or TomEE" tab and it doesn't give me any clues.

Using CATALINA_BASE:   "C:\Tomcat8_5_11\apache-tomcat-8.5.11"
Using CATALINA_HOME:   "C:\Tomcat8_5_11\apache-tomcat-8.5.11"
Using CATALINA_TMPDIR: "C:\Tomcat8_5_11\apache-tomcat-8.5.11\temp\"
Using JRE_HOME:        "C:\Program Files\Java\jdk1.8.0_111"
Using CLASSPATH:       "C:\Tomcat8_5_11\apache-tomcat-8.5.11\bin\bootstrap.jar;C:\Tomcat8_5_11\apache-tomcat-8.5.11\bin\tomcat-juli.jar"
Usage: java [-options] class [args...]
           (to execute a class)
   or  java [-options] -jar jarfile [args...]
           (to execute a jar file)
where options include:
    -d32  use a 32-bit data model if available
    -d64  use a 64-bit data model if available
    -server  to select the "server" VM
                  The default VM is server.

    -cp <class search path of directories and zip/jar files>
    -classpath <class search path of directories and zip/jar files>
                  A ; separated list of directories, JAR archives,
                  and ZIP archives to search for class files.
    -D<name>=<value>
                  set a system property
    -verbose:[class|gc|jni]
                  enable verbose output
    -version      print product version and exit
    -version:<value>
                  Warning: this feature is deprecated and will be removed
                  in a future release.
                  require the specified version to run
    -showversion  print product version and continue
    -jre-restrict-search | -no-jre-restrict-search
                  Warning: this feature is deprecated and will be removed
                  in a future release.
                  include/exclude user private JREs in the version search
    -? -help      print this help message
    -X            print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
                  enable assertions with specified granularity
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
                  disable assertions with specified granularity
    -esa | -enablesystemassertions
                  enable system assertions
    -dsa | -disablesystemassertions
                  disable system assertions
    -agentlib:<libname>[=<options>]
                  load native agent library <libname>, e.g. -agentlib:hprof
                  see also, -agentlib:jdwp=help and -agentlib:hprof=help
    -agentpath:<pathname>[=<options>]
                  load native agent library by full pathname
    -javaagent:<jarpath>[=<options>]
                  load Java programming language agent, see java.lang.instrument
    -splash:<imagepath>
                  show splash screen with specified image
See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details.




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Netbeans 8.2 will not start Tomcat 8.5

Mark Wade
Are you trying to start Tomcat from NetBeans terminal emulator? That's
the only way I can get output approaching yours.

Normally, if there is such a thing, a server entry will have been added
to the "Servers" node under the "Services" tab and the server will be
started manually by right-clicking the node and selecting "Start" or
automatically by running a Web Application. Either of those methods will
open a tab for Tomcat and another for Tomcat Log in the Output window
but the output is not at all like what you have posted.

If I start Tomcat from NetBeans Terminal emulator I get the output you
posted, Tomcat does start however, and minus the java usage display, but
the Tomcat and Tomcat Log tabs are not opened in the Output window.

So, I'm at a bit of a loss as to how you're trying to start Tomcat from
NetBeans.  Perhaps you can post how you are trying to start Tomcat. If
you have added a server entry under the Services tab perhaps you can
post what entries there are on the Connections tab of the server properties.


On 03/30/2017 10:10 AM, spud_chance wrote:

> Thanks for the suggestions.  Unfortunately neither of them helped.  Setting "no proxy" made no difference.  There is nothing in the "Apache Tomcat or TomEE Log" tab and the following is in the "Apache Tomcat or TomEE" tab and it doesn't give me any clues.
>
> Using CATALINA_BASE:   "C:\Tomcat8_5_11\apache-tomcat-8.5.11"
> Using CATALINA_HOME:   "C:\Tomcat8_5_11\apache-tomcat-8.5.11"
> Using CATALINA_TMPDIR: "C:\Tomcat8_5_11\apache-tomcat-8.5.11\temp\"
> Using JRE_HOME:        "C:\Program Files\Java\jdk1.8.0_111"
> Using CLASSPATH:       "C:\Tomcat8_5_11\apache-tomcat-8.5.11\bin\bootstrap.jar;C:\Tomcat8_5_11\apache-tomcat-8.5.11\bin\tomcat-juli.jar"
> Usage: java [-options] class [args...]
>             (to execute a class)
>     or  java [-options] -jar jarfile [args...]
>             (to execute a jar file)
> where options include:
>      -d32  use a 32-bit data model if available
>      -d64  use a 64-bit data model if available
>      -server  to select the "server" VM
>                    The default VM is server.
>
>      -cp <class search path of directories and zip/jar files>
>      -classpath <class search path of directories and zip/jar files>
>                    A ; separated list of directories, JAR archives,
>                    and ZIP archives to search for class files.
>      -D<name>=<value>
>                    set a system property
>      -verbose:[class|gc|jni]
>                    enable verbose output
>      -version      print product version and exit
>      -version:<value>
>                    Warning: this feature is deprecated and will be removed
>                    in a future release.
>                    require the specified version to run
>      -showversion  print product version and continue
>      -jre-restrict-search | -no-jre-restrict-search
>                    Warning: this feature is deprecated and will be removed
>                    in a future release.
>                    include/exclude user private JREs in the version search
>      -? -help      print this help message
>      -X            print help on non-standard options
>      -ea[:<packagename>...|:<classname>]
>      -enableassertions[:<packagename>...|:<classname>]
>                    enable assertions with specified granularity
>      -da[:<packagename>...|:<classname>]
>      -disableassertions[:<packagename>...|:<classname>]
>                    disable assertions with specified granularity
>      -esa | -enablesystemassertions
>                    enable system assertions
>      -dsa | -disablesystemassertions
>                    disable system assertions
>      -agentlib:<libname>[=<options>]
>                    load native agent library <libname>, e.g. -agentlib:hprof
>                    see also, -agentlib:jdwp=help and -agentlib:hprof=help
>      -agentpath:<pathname>[=<options>]
>                    load native agent library by full pathname
>      -javaagent:<jarpath>[=<options>]
>                    load Java programming language agent, see java.lang.instrument
>      -splash:<imagepath>
>                    show splash screen with specified image
> See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details.
>
>
>
>
>

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Netbeans 8.2 will not start Tomcat 8.5

Mark Wade
On 03/30/2017 01:14 PM, Mark Wade wrote:

> a tab for Tomcat and another for Tomcat Log in the Output window but
> the output is not at all like what you have posted.
I'm, sorry, my apologies.  I was looking at this under Gnu/Linux and the
output is different as I described. I just tried under Windows 7 and the
output is as you described. In both cases however I was able to start
Tomcat although in both cases it was an older version of Tomcat, 8.0.27.

I don't know why you are getting the Java usage output.



On 03/30/2017 01:14 PM, Mark Wade wrote:

> Are you trying to start Tomcat from NetBeans terminal emulator? That's
> the only way I can get output approaching yours.
>
> Normally, if there is such a thing, a server entry will have been
> added to the "Servers" node under the "Services" tab and the server
> will be started manually by right-clicking the node and selecting
> "Start" or automatically by running a Web Application. Either of those
> methods will open a tab for Tomcat and another for Tomcat Log in the
> Output window but the output is not at all like what you have posted.
>
> If I start Tomcat from NetBeans Terminal emulator I get the output you
> posted, Tomcat does start however, and minus the java usage display,
> but the Tomcat and Tomcat Log tabs are not opened in the Output window.
>
> So, I'm at a bit of a loss as to how you're trying to start Tomcat
> from NetBeans.  Perhaps you can post how you are trying to start
> Tomcat. If you have added a server entry under the Services tab
> perhaps you can post what entries there are on the Connections tab of
> the server properties.
>
>
> On 03/30/2017 10:10 AM, spud_chance wrote:
>> Thanks for the suggestions.  Unfortunately neither of them helped.  
>> Setting "no proxy" made no difference. There is nothing in the
>> "Apache Tomcat or TomEE Log" tab and the following is in the "Apache
>> Tomcat or TomEE" tab and it doesn't give me any clues.
>>
>> Using CATALINA_BASE:   "C:\Tomcat8_5_11\apache-tomcat-8.5.11"
>> Using CATALINA_HOME:   "C:\Tomcat8_5_11\apache-tomcat-8.5.11"
>> Using CATALINA_TMPDIR: "C:\Tomcat8_5_11\apache-tomcat-8.5.11\temp\"
>> Using JRE_HOME:        "C:\Program Files\Java\jdk1.8.0_111"
>> Using CLASSPATH:
>> "C:\Tomcat8_5_11\apache-tomcat-8.5.11\bin\bootstrap.jar;C:\Tomcat8_5_11\apache-tomcat-8.5.11\bin\tomcat-juli.jar"
>> Usage: java [-options] class [args...]
>>             (to execute a class)
>>     or  java [-options] -jar jarfile [args...]
>>             (to execute a jar file)
>> where options include:
>>      -d32      use a 32-bit data model if available
>>      -d64      use a 64-bit data model if available
>>      -server      to select the "server" VM
>>                    The default VM is server.
>>
>>      -cp <class search path of directories and zip/jar files>
>>      -classpath <class search path of directories and zip/jar files>
>>                    A ; separated list of directories, JAR archives,
>>                    and ZIP archives to search for class files.
>>      -D<name>=<value>
>>                    set a system property
>>      -verbose:[class|gc|jni]
>>                    enable verbose output
>>      -version      print product version and exit
>>      -version:<value>
>>                    Warning: this feature is deprecated and will be
>> removed
>>                    in a future release.
>>                    require the specified version to run
>>      -showversion  print product version and continue
>>      -jre-restrict-search | -no-jre-restrict-search
>>                    Warning: this feature is deprecated and will be
>> removed
>>                    in a future release.
>>                    include/exclude user private JREs in the version
>> search
>>      -? -help      print this help message
>>      -X            print help on non-standard options
>>      -ea[:<packagename>...|:<classname>]
>> -enableassertions[:<packagename>...|:<classname>]
>>                    enable assertions with specified granularity
>>      -da[:<packagename>...|:<classname>]
>> -disableassertions[:<packagename>...|:<classname>]
>>                    disable assertions with specified granularity
>>      -esa | -enablesystemassertions
>>                    enable system assertions
>>      -dsa | -disablesystemassertions
>>                    disable system assertions
>>      -agentlib:<libname>[=<options>]
>>                    load native agent library <libname>, e.g.
>> -agentlib:hprof
>>                    see also, -agentlib:jdwp=help and
>> -agentlib:hprof=help
>>      -agentpath:<pathname>[=<options>]
>>                    load native agent library by full pathname
>>      -javaagent:<jarpath>[=<options>]
>>                    load Java programming language agent, see
>> java.lang.instrument
>>      -splash:<imagepath>
>>                    show splash screen with specified image
>> See
>> http://www.oracle.com/technetwork/java/javase/documentation/index.html 
>> for more details.
>>
>>
>>
>>
>>
>
>

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Netbeans 8.2 will not start Tomcat 8.5

Mark Wade
In reply to this post by spud_chance
On 03/30/2017 10:10 AM, spud_chance wrote:
> Usage: java

One shot in the dark; sometimes things, artifacts (spurious data ?) are
left in the cache, perhaps a previous incorrect entry that lingered that
triggers Java to display its usage dialog, you might try clearing the
cache. The location is displayed in the "About" dialog. Delete that and
it will be regenerated.
Loading...