This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 152167 - Bundled tomcat won't start
Summary: Bundled tomcat won't start
Status: RESOLVED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 6.x
Hardware: Other Windows XP
: P3 blocker (vote)
Assignee: issues@serverplugins
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-03 06:47 UTC by tpielhau
Modified: 2009-10-02 16:36 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tpielhau 2008-11-03 06:47:27 UTC
When trying to start a Visual Web Application (JSF 1.1) the bundled tomcat won't start.

Text from the tomcat tab:
Using CATALINA_BASE:   C:\NetbeansUserdir\6.5rc2\apache-tomcat-6.0.18_base
Using CATALINA_HOME:   C:\Apache_Tomcat_6.0.18
Using CATALINA_TMPDIR: C:\NetbeansUserdir\6.5rc2\apache-tomcat-6.0.18_base\temp
Using JRE_HOME:        C:\Programme\Java\jdk1.6.0_07
Usage: java [-options] class [args...]
           (to execute a class)
   or  java [-options] -jar jarfile [args...]
           (to execute a jar file)

where options include:
    -client          to select the "client" VM
    -server          to select the "server" VM
    -hotspot          is a synonym for the "client" VM  [deprecated]
                  The default VM is client.
                  
    -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>
                  require the specified version to run
    -showversion  print product version and continue
    -jre-restrict-search | -jre-no-restrict-search
                  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
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
                  disable assertions
    -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


Text from the Project tab:
...
jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
compile:
compile-jsps:
Starting Tomcat process...
Waiting for Tomcat...
Starting of Tomcat failed.
C:\6.5rc2_workspace\EDIConf\nbproject\build-impl.xml:584: Deployment error:
Starting of Tomcat failed.
See the server log for details.
BUILD FAILED (total time: 3 seconds)
Comment 1 Peter Pis 2008-11-03 08:16:47 UTC
Reassigning to "tomcat".
Comment 2 Thuy.d Nguyen 2009-01-08 23:54:37 UTC
I'm not able to reproduce this issue with NB7.0 M1.  I can "run" a Visual Web app targeted a not-yet-started Tomcat
6.0.18 just fine.  The IDE starts the Tomcat server and renders my web app on a browser successfully.  When creating the
Visual Web app, I selected Tomcat 6.0.18 as the server and Java EE5 as Java EE version.

Could you try again with NB 7.0M1?
Comment 3 tpielhau 2009-01-09 07:18:29 UTC
I tried your suggestion of installing 7.0M1 and it worked here too. In the meantime I also got a new computer, so that
may have something to do with this issue - tomcat is now also registered in my installed Netbeans 6.5 and works there, too.

As far as I am concerned the issue can be closed. Thanks for the effort.
Comment 4 Petr Jiricka 2009-10-02 16:36:10 UTC
Ok, belatedly closing as WORKSFORME.