Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 316992

Summary: Tomcat program arguments not set when creating new launch configuration
Product: [WebTools] WTP ServerTools Reporter: Steffen Pingel <steffen.pingel>
Component: jst.serverAssignee: jst.server <jst.server-inbox>
Status: CLOSED DUPLICATE QA Contact: Larry Isaacs <larryisaacs>
Severity: normal    
Priority: P3    
Version: 3.2   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Steffen Pingel CLA 2010-06-15 21:08:03 EDT
Steps:
1. Start with a clean workspace
2. Create an Apache Tomcat 6.0 runtime and server instance
3. Go to Run > Run Configurations
4. Create a new Apache Tomcat configuration

If the launch configuration is saved the Classpath will be set as expected but the Progam arguments and VM arguments remain empty. Launching the new configuration results in the following error:

java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
	at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:216)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:391)
Comment 1 Larry Isaacs CLA 2010-06-16 12:34:47 EDT

*** This bug has been marked as a duplicate of bug 137822 ***