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.
I have tried to create a simple Visual Web Project that contains a tree and 3 tree nodes. When I try to run the application on a tomcat6 server(default install) it fails when trying to start with this exception: Using CATALINA_BASE: C:\Documents and Settings\e0119990\.netbeans\6.0beta2\apache-tomcat-6.0.13_base Using CATALINA_HOME: C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0 Using CATALINA_TMPDIR: C:\Documents and Settings\e0119990\.netbeans\6.0beta2\apache-tomcat-6.0.13_base\temp Using JRE_HOME: C:\Program Files\Java\jdk1.6.0_01 ERROR reading C:\Documents and Settings\e0119990\.netbeans\6.0beta2\apache-tomcat-6.0.13_base\conf\server.xml At Line 8 /Server/Listener/ SSLEngine=on className=org.apache.catalina.core.AprLifecycleListener Catalina.start: java.lang.ClassNotFoundException: org.apache.catalina.core.AprLifecycleListener java.lang.ClassNotFoundException: org.apache.catalina.core.AprLifecycleListener at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at org.apache.catalina.util.xml.ObjectCreate.start(XmlMapper.java:616) at org.apache.catalina.util.xml.XmlMapper.matchStart(XmlMapper.java:412) at org.apache.catalina.util.xml.XmlMapper.startElement(XmlMapper.java:91) at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:419) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:221) at org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBinder.java:595) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement (XMLDocumentFragmentScannerImpl.java:747) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch (XMLDocumentFragmentScannerImpl.java:1477) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329) at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525) at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581) at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152) at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175) at javax.xml.parsers.SAXParser.parse(SAXParser.java:364) at javax.xml.parsers.SAXParser.parse(SAXParser.java:305) at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:228) at org.apache.catalina.startup.Catalina.start(Catalina.java:725) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) I have made no changes whatsoever. This is a complete default install of Netbeans6.0 beta2.
Can you provide your project for evaluation? What is the exact version/bundle of the installed netbeans?
Is it possible to start tomcat _without_ any application?
Tomcat6 will not start with any applications. I'm using Netbeans6.0 beta 2.
Please can you provide your project? What is the bundle you are using (j2ee, full,...)? Can you start the tomcat outside of the netbeans? Which build of the beta2 do you use? For now I can't reproduce the issue...
This is really strange because we bundle the tomcat 6.0.14 with beta2, afaik. Seems to me that tomcat installation is corrupted. Can you pack the tomcat directory and attach it to the issue? AprLifecycleListener is located in the catalina.jar, however if the whole file is missing the server does not start at all - the startup class will is missing in such case.
Did you install anything to jdk (additional jars)? Can you list your jdk jre\lib\ext directory? Does not seem to be netbeans issue.
I just downloaded and install NB6Beta2 "Web & Java EE" pack and everything works fine. The version of Tomcat in beta2 is 6.0.14 which is different from your version. How is it possible that you have different version? Have you installed Tomcat separately? Were you upgrading?
Also could you please attach your IDE.log? Should be in path like C:\Documents and Settings\<your account>\.netbeans\6.0beta2\var\log\messages.log Thanks, David
Created attachment 52067 [details] nb log files
Sorry guys it took me so long to get back, but I've been plagued with work work due to a bug in JSF1.2(treenode component(http://www.nabble.com/-VWP--Tree-selected-row-tf3376447.html#a9517934))...which is why I need to go to 2.5 servlet/2.1 JSP spec. Anyway I think I might know the reason I am seeing this. I had previously tried to install Netbeans6.0 Beta 1 and somehow it has migrated those settings to Beta 2 install. I also have Netbeans 5.5.1 installed. I will try some magic...uninstall old version(s), etc. Also this happened on 2 different laptops running Windows XP so I'm surprised more haven't chimed in with this problem. Attaching requested files. -Brian
Please can you make two more test? 1) download tomcat 6.0.14 unpack it and start it (test whether the problem is nb specific) 2) start netbeans with clean userdir (for example netbeans.exe --userdir c:\some\not\used\temp\directory) and try to use the tomcat Thanks P.
Your last post resolved the issue for me. I don't know why it didn't install Tomcat version 6.0.14 to begin with, but this has resolved it and the second part about deleting the user directory was not even needed. Thanks!
Can't reproduce. Seems to be corrupted user environment.