[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] p2 repository question

Thanks guys, I'll definitely check those out.  In the repository, there are the 3 directories (binary, plugins, features) as well as the content.jar and artifacts.jar.  Could it because the files in the binary directory don't have extensions because it fetches the product's jar file but fails soon thereafter.
 

To: p2-dev@xxxxxxxxxxx
From: david_williams@xxxxxxxxxx
Date: Thu, 9 Sep 2010 15:27:06 -0400
Subject: Re: [p2-dev] p2 repository question

To be more helpful, the following bugzilla has some useful references on how to solve (on some servers, at least for the "php" case)  ... if indeed its related to server settings.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=281179

See following bug for a similar case (but involved only .zip in file name that should have been treated as text files so not directly related).

https://bugs.eclipse.org/bugs/show_bug.cgi?id=317393

So if your product has php, xml, html, jpeg or similar thing in the name, you should check exact contents of what was fetched. It might just be some html text with an error message that is stuffed in the jar file.

Or ... it could be totally something else :)





From:        David M Williams/Raleigh/IBM@IBMUS
To:        P2 developer discussions <p2-dev@xxxxxxxxxxx>
Date:        09/09/2010 01:07 PM
Subject:        Re: [p2-dev] p2 repository question
Sent by:        p2-dev-bounces@xxxxxxxxxxx




I think there are some web server settings that can effect how jar files are served up. In the past, I seem to recall some issues on some servers where files with ".php" anywhere in the file name would routed through some PHP filters, and attempt to  be served up as a php file, hence some jar named something like "org.eclipse.php.jar_versionID" would end up serving up some HTML error message file that said something related to "invalid php file".  Perhaps its something like that? And all P2 knows is that the fetch of the jar failed. Just guessing.





From:        
Pascal Rapicault <pascal@xxxxxxxxxxxx>
To:        
P2 developer discussions <p2-dev@xxxxxxxxxxx>
Date:        
09/09/2010 12:51 PM
Subject:        
Re: [p2-dev] p2 repository question
Sent by:        
p2-dev-bounces@xxxxxxxxxxx




Nothing specific about IIS.
p2 is just a bunch of files. Do you have anything setup to protect from attacks? p2 is looking for a given set of files one by one  (w.o knowing whether or not they exist). I'm thinking that maybe after a while the IP would be blocked.
HTH
On 2010-09-09, at 11:18 AM, Rob Cavallo wrote:

Hi all,

Is there anything particular about a repository as I've been able to successfully update an exported product when it's being served up by Apache but not IIS.  When using IIS, the update fails prior to completion with an error "artifact not found" for the product itself after it's been fetched.

Thanks,
Rob
_______________________________________________
p2-dev mailing list

p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev
_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx

https://dev.eclipse.org/mailman/listinfo/p2-dev
_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev


_______________________________________________ p2-dev mailing list p2-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/p2-dev