Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Error when accessing galileo update site on linux: Error accessing site stream. [Server returned HTT
Error when accessing galileo update site on linux: Error accessing site stream. [Server returned HTT [message #494873] Tue, 03 November 2009 01:50 Go to next message
Ralf Ebert is currently offline Ralf EbertFriend
Messages: 72
Registered: July 2009
Member
Hi,

I just created a .mspec to materialize a target platform using a feature cquery. A rmap resolves the components from a local folder and the galileo site. I'm pretty confident that I setup everything
correctly because I can export this to a p2 update site from the IDE using "Resolve to wizard/export as p2". I can also run the buckminster headless to materialize, works as expected.

The strange thing is:
Whenever I execute the exact same configuration as user 'tomcat6' I get a very strange error message (I boiled down the example from a failing Hudson build). The file permissions for the local folders
/ the buckminster headless installation are correct. I'm running this on Ubuntu 9.10). Any ideas about this?

tomcat6@karow:/opt/buckminster/buckminster-headless$ ./buckminster -L debug import /opt/buckminster/test/com.example.mail.target/target.mspec
import '/opt/buckminster/test/com.example.mail.target/target.mspec'
Platform install location: /opt/buckminster/buckminster-headless
Target platform provided by class org.eclipse.buckminster.pde.internal.PDETargetPlatform
com.example.mail.target:eclipse.feature: Using resolver rmap
com.example.mail.target:eclipse.feature: Using resolver Local resolver
com.example.mail.target:eclipse.feature: Trying provider local(materialized)
No materialization found for com.example.mail.target:eclipse.feature
com.example.mail.target:eclipse.feature: Trying provider local(workspace)
No open workspace project found that corresponds to com.example.mail.target:eclipse.feature
com.example.mail.target:eclipse.feature: Rejecting provider local(target): Target platform disabled in query
Downloading file:/opt/buckminster/test/com.example.mail.target/resources .rmap
com.example.mail.target:eclipse.feature: Using resource map file:/opt/buckminster/test/com.example.mail.target/resources .rmap
com.example.mail.target:eclipse.feature: Using search path resources
com.example.mail.target:eclipse.feature: Trying provider local(file:///opt/buckminster/test/{0}/)
com.example.mail.target:eclipse.feature: Found match
com.example.mail.target:eclipse.feature: Using provider local(file:///opt/buckminster/test/{0}/)
org.eclipse.rcp:eclipse.feature: Using resolver Local resolver
org.eclipse.rcp:eclipse.feature: Trying provider local(materialized)
No materialization found for org.eclipse.rcp:eclipse.feature
org.eclipse.rcp:eclipse.feature: Trying provider local(workspace)
No open workspace project found that corresponds to org.eclipse.rcp:eclipse.feature
org.eclipse.rcp:eclipse.feature: Rejecting provider local(target): Target platform disabled in query
org.eclipse.rcp:eclipse.feature: Using resource map file:/opt/buckminster/test/com.example.mail.target/resources .rmap
org.eclipse.rcp:eclipse.feature: Using search path resources
org.eclipse.rcp:eclipse.feature: Trying provider local(file:///opt/buckminster/test/{0}/)
org.eclipse.rcp:eclipse.feature: Found match
org.eclipse.rcp:eclipse.feature: Using provider local(file:///opt/buckminster/test/{0}/)
org.eclipse.rcp:eclipse.feature: Resolution attempt ended with exception: Provider local(file:///opt/buckminster/test/org.eclipse.rcp/): Missing CSpec source required by component type eclipse.feature
org.eclipse.rcp:eclipse.feature: Trying provider eclipse.import(http://download.eclipse.org/releases/galileo)
org.eclipse.rcp:eclipse.feature: Rejecting provider eclipse.import(http://download.eclipse.org/releases/galileo): No component match was found
org.eclipse.rcp:eclipse.feature: No provider was found that could resolve the request
ERROR [0002] : No suitable provider for component org.eclipse.rcp:eclipse.feature was found in resourceMap file:/opt/buckminster/test/com.example.mail.target/resources .rmap
ERROR [0002] : No suitable provider for component org.eclipse.rcp:eclipse.feature was found in searchPath resources
ERROR [0002] : Resolution attempt ended with exception: Provider local(file:///opt/buckminster/test/org.eclipse.rcp/): Missing CSpec source required by component type eclipse.feature
ERROR Provider local(file:///opt/buckminster/test/org.eclipse.rcp/): Missing CSpec source required by component type eclipse.feature
ERROR [0002] : Rejecting provider eclipse.import(http://download.eclipse.org/releases/galileo): No component match was found
ERROR Unable to access "http://download.eclipse.org/releases/galileo/".
ERROR Error accessing site stream. [Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd]
ERROR Error accessing site stream. [Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd]
INFO: TAG-ID 0002 = Query for com.example.mail.target:eclipse.feature, path: com.example.mail.target:eclipse.feature$1.0.0.qualifier


Again, the exact same configuration works when executed as different user, the whole /opt/buckminster/ folder is owned by tomcat6.
What's going on here?

I think this is a permission problem of some folder I'm not aware of...
The only google result I'm getting when searching for this error message is some russian guy having the same problem running on Linux when installing software using "Install new software":
http://linuxforum.ru/index.php?showtopic=101902

Greetings,

Ralf
Re: Error when accessing galileo update site on linux: Error accessing site stream. [Server returned [message #494876 is a reply to message #494873] Tue, 03 November 2009 02:36 Go to previous message
Ralf Ebert is currently offline Ralf EbertFriend
Messages: 72
Registered: July 2009
Member
Found it, all glory to strace.

Home folder of the tomcat6 user is configured to be /usr/share/tomcat6 on Ubuntu.

/usr/share/tomcat6 is owned by root by default and not writable.

buckminster tries to create a folder .buckminster in there:

..buckminster/
`-- repository
`-- http
`-- download.eclipse.org
|-- 9591a3fa-76b1-3b26-8e98-7380c8027901
`-- 9591a3fa-76b1-3b26-8e98-7380c8027901.properties

I propose improving that particular error message:

"Server returned HTTP response code: 503 for URL:
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"

to be

"Could not write to /usr/share/tomcat6/.buckminster"

:)
Previous Topic:Wildcards in provider tag of a .RMAP usin SVN
Next Topic:p2 materializer and buckminster components
Goto Forum:
  


Current Time: Thu Apr 25 00:17:46 GMT 2024

Powered by FUDForum. Page generated in 0.24215 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top