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

Bug 331163

Summary: Failed to start new server
Product: [RT] Jetty Reporter: François Rey <eclipse.org>
Component: wtpAssignee: Jesse McConnell <jesse.mcconnell>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: azerr
Version: unspecified   
Target Milestone: 7.1.x   
Hardware: PC   
OS: Linux   
Whiteboard:

Description François Rey CLA 2010-11-25 18:35:23 EST
Upon creating a first new server by downloading jetty 7.2, trying to start it failed with the following exception:
java.io.FileNotFoundException: /home/francois/workspace-3.6/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/start.config (No such file or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at java.io.FileInputStream.<init>(FileInputStream.java:66)
	at org.eclipse.jetty.start.Main.getConfigStream(Main.java:1051)
	at org.eclipse.jetty.start.Main.loadConfig(Main.java:998)
	at org.eclipse.jetty.start.Main.start(Main.java:503)
	at org.eclipse.jetty.start.Main.parseCommandLine(Main.java:272)
	at org.eclipse.jetty.start.Main.main(Main.java:80)

Usage: java -jar start.jar [options] [properties] [configs]
       java -jar start.jar --help  # for more information


I must say this may be related to the fact that I cancelled my first attempt to create the new server (I pressed cancel and stopped the download task). I then restarted the new server wizard and followed through the download and server creation. Then this bug revealed itself.
After playing around, deleting the server and recreating it, I eventually managed to get it working, but I can't say precisely what resolved this issue.
Comment 1 Jesse McConnell CLA 2010-12-01 15:04:16 EST
interesting...thanks for the report, I'll see if I can reproduce based on your feedback

glad you got it working in the end though

wonder if its similar to https://bugs.eclipse.org/bugs/show_bug.cgi?id=330523 which I was also unable to replicate...perhaps this will be related

cheers
Comment 2 Jesse McConnell CLA 2010-12-07 16:59:25 EST
Finally...I have been able to reproduce this...

hopefully a fix forthcoming

cheers
Comment 3 Jesse McConnell CLA 2010-12-07 17:38:26 EST
Adding angelo since I need to discuss this with him

short term fix is to once more create the Server but use the just installed location and it builds out correctly
Comment 4 Jesse McConnell CLA 2010-12-10 15:46:00 EST
https://bugs.eclipse.org/bugs/show_bug.cgi?id=251637

I'll leave this open and watch that other bug for resolution...for the time being I added a bit of a comment that it was broken in the wiki.
Comment 5 Jesse McConnell CLA 2010-12-22 10:44:32 EST
I have disabled this functionality for now since I can't piece together a flow to get around the bug

I'll leave this open though
Comment 6 Jesse McConnell CLA 2011-01-10 16:09:52 EST
I am going to mark this resolved and wont_fix until such time as the other issue in wtp is resolved...I am watching that issue so should there be traffic on that I'll come back and reenable those bits.