Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Error mirroring update site
Error mirroring update site [message #113085] Wed, 02 July 2008 16:55 Go to next message
Miles Daffin is currently offline Miles DaffinFriend
Messages: 86
Registered: July 2009
Member
Hi Folks,

I have a collection of external update sites that I am trying to mirror
using the MirrorApplication documented here:
http://wiki.eclipse.org/Equinox_p2_Repository_Mirroring. (I checked the
missing MirrorApplication out of CVS and added it to the P2 Agent
download.) I keep getting the same error with almost every site I try
except the perforce one
(http://www.perforce.com/downloads/http/p4-wsad/install/). Can someone
check out the log entry and let me know if this is a bug. If so I will
report it.

Thanks,

Miles

----
[:: p2 script ::] Mirroring http://pydev.sf.net/updates/ to
C:/dev/workshop/eclipseide/ganymede/mirrors/3rdparty
[exec] Mirroring IU: org.python.pydev.core 0.9.7
[exec] Mirroring artifact: canonical:
org.python.pydev.core/osgi.bundle/0.9.7
[exec] Mirroring IU: org.python.pydev.feature.feature.jar 1.3.14
[exec] Mirroring artifact: canonical:
org.python.pydev.feature/org.eclipse.update.feature/1.3.14
[exec] Mirroring IU: org.python.pydev.debug 1.3.17
[exec] Mirroring artifact: canonical:
org.python.pydev.debug/osgi.bundle/1.3.17
[exec] Mirroring IU: org.python.pydev.refactoring 1.3.5
[exec] Mirroring artifact: canonical:
org.python.pydev.refactoring/osgi.bundle/1.3.5
[exec] Mirroring IU: org.python.pydev.debug 0.9.0
[exec] Mirroring artifact: canonical:
org.python.pydev.debug/osgi.bundle/0.9.0
[exec] Mirroring IU: org.python.pydev.help 1.3.11
[exec] Mirroring artifact: canonical:
org.python.pydev.help/osgi.bundle/1.3.11
[exec] Mirroring IU: org.python.pydev.feature.feature.group 0.9.7.99
[exec] !SESSION 2008-07-02 13:19:29.767
-----------------------------------------------
[exec] eclipse.buildId=unknown
[exec] java.version=1.6.0_04
[exec] java.vendor=Sun Microsystems Inc.
[exec] BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
[exec] Framework arguments:
-application org.eclipse.equinox.p2.tools.MirrorApplication
-source http://pydev.sf.net/updates/
-destination
file:C:/dev/workshop/eclipseide/ganymede/mirrors/3rdparty
-ius all
-artifacts all
-verbose
[exec] Command-line arguments:
-os win32
-ws win32
-arch x86
-application org.eclipse.equinox.p2.tools.MirrorApplication
-source http://pydev.sf.net/updates/
-destination
file:C:/dev/workshop/eclipseide/ganymede/mirrors/3rdparty
-ius all
-artifacts all
-verbose
-consolelog
[exec]
[exec] !ENTRY org.eclipse.osgi 4 0 2008-07-02 13:20:32.175
[exec] !MESSAGE Application error
[exec] !STACK 1
[exec] java.lang.NullPointerException
[exec] at
org.eclipse.equinox.internal.p2.tools.mirror.RepositoryMirro ring.mirrorArtifacts(RepositoryMirroring.java:134)
[exec] at
org.eclipse.equinox.internal.p2.tools.mirror.RepositoryMirro ring.mirrorMetadata(RepositoryMirroring.java:104)
[exec] at
org.eclipse.equinox.internal.p2.tools.mirror.RepositoryMirro ring.mirrorMetadata(RepositoryMirroring.java:93)
[exec] at
org.eclipse.equinox.internal.p2.tools.mirror.RepositoryMirro ring.mirrorMetadata(RepositoryMirroring.java:82)
[exec] at
org.eclipse.equinox.internal.p2.tools.mirror.RepositoryMirro ring.mirror(RepositoryMirroring.java:75)
[exec] at
org.eclipse.equinox.internal.p2.tools.mirror.MirrorApplicati on.start(MirrorApplication.java:80)
[exec] at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
[exec] at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
[exec] at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
[exec] at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:382)
[exec] at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[exec] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
[exec] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
[exec] at java.lang.reflect.Method.invoke(Method.java:597)
[exec] at
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
[exec] at
org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
[exec] at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Re: Error mirroring update site [message #113557 is a reply to message #113085] Wed, 09 July 2008 02:41 Go to previous messageGo to next message
Pascal Rapicault is currently offline Pascal RapicaultFriend
Messages: 333
Registered: July 2009
Location: Ottawa
Senior Member
As you can guess this is rather abnormal and I would appreciate if you could
open a bug report and listing the few sites for which it is failing. Thx.


"Miles Daffin" <miles.daffin@morganstanley.com> wrote in message
news:8aaa8d8d38f9fa38dd1208c3fa10821b$1@www.eclipse.org...
> Hi Folks,
>
> I have a collection of external update sites that I am trying to mirror
> using the MirrorApplication documented here:
> http://wiki.eclipse.org/Equinox_p2_Repository_Mirroring. (I checked the
> missing MirrorApplication out of CVS and added it to the P2 Agent
> download.) I keep getting the same error with almost every site I try
> except the perforce one
> (http://www.perforce.com/downloads/http/p4-wsad/install/). Can someone
> check out the log entry and let me know if this is a bug. If so I will
> report it.
>
> Thanks,
>
> Miles
>
> ----
> [:: p2 script ::] Mirroring http://pydev.sf.net/updates/ to
> C:/dev/workshop/eclipseide/ganymede/mirrors/3rdparty
> [exec] Mirroring IU: org.python.pydev.core 0.9.7
> [exec] Mirroring artifact: canonical:
> org.python.pydev.core/osgi.bundle/0.9.7
> [exec] Mirroring IU: org.python.pydev.feature.feature.jar 1.3.14
> [exec] Mirroring artifact: canonical:
> org.python.pydev.feature/org.eclipse.update.feature/1.3.14
> [exec] Mirroring IU: org.python.pydev.debug 1.3.17
> [exec] Mirroring artifact: canonical:
> org.python.pydev.debug/osgi.bundle/1.3.17
> [exec] Mirroring IU: org.python.pydev.refactoring 1.3.5
> [exec] Mirroring artifact: canonical:
> org.python.pydev.refactoring/osgi.bundle/1.3.5
> [exec] Mirroring IU: org.python.pydev.debug 0.9.0
> [exec] Mirroring artifact: canonical:
> org.python.pydev.debug/osgi.bundle/0.9.0
> [exec] Mirroring IU: org.python.pydev.help 1.3.11
> [exec] Mirroring artifact: canonical:
> org.python.pydev.help/osgi.bundle/1.3.11
> [exec] Mirroring IU: org.python.pydev.feature.feature.group 0.9.7.99
> [exec] !SESSION 2008-07-02
> 13:19:29.767 -----------------------------------------------
> [exec] eclipse.buildId=unknown
> [exec] java.version=1.6.0_04
> [exec] java.vendor=Sun Microsystems Inc.
> [exec] BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
> [exec] Framework arguments: -application
> org.eclipse.equinox.p2.tools.MirrorApplication -source
> http://pydev.sf.net/updates/ -destination
> file:C:/dev/workshop/eclipseide/ganymede/mirrors/3rdparty -ius
> all -artifacts all -verbose
> [exec] Command-line arguments: -os win32 -ws win32 -arch
> x86 -application org.eclipse.equinox.p2.tools.MirrorApplication -source
> http://pydev.sf.net/updates/ -destination
> file:C:/dev/workshop/eclipseide/ganymede/mirrors/3rdparty -ius
> all -artifacts all -verbose -consolelog
> [exec]
> [exec] !ENTRY org.eclipse.osgi 4 0 2008-07-02 13:20:32.175
> [exec] !MESSAGE Application error
> [exec] !STACK 1
> [exec] java.lang.NullPointerException
> [exec] at
> org.eclipse.equinox.internal.p2.tools.mirror.RepositoryMirro ring.mirrorArtifacts(RepositoryMirroring.java:134)
> [exec] at
> org.eclipse.equinox.internal.p2.tools.mirror.RepositoryMirro ring.mirrorMetadata(RepositoryMirroring.java:104)
> [exec] at
> org.eclipse.equinox.internal.p2.tools.mirror.RepositoryMirro ring.mirrorMetadata(RepositoryMirroring.java:93)
> [exec] at
> org.eclipse.equinox.internal.p2.tools.mirror.RepositoryMirro ring.mirrorMetadata(RepositoryMirroring.java:82)
> [exec] at
> org.eclipse.equinox.internal.p2.tools.mirror.RepositoryMirro ring.mirror(RepositoryMirroring.java:75)
> [exec] at
> org.eclipse.equinox.internal.p2.tools.mirror.MirrorApplicati on.start(MirrorApplication.java:80)
> [exec] at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
> [exec] at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
> [exec] at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
> [exec] at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:382)
> [exec] at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
> [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> [exec] at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
> [exec] at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> [exec] at java.lang.reflect.Method.invoke(Method.java:597)
> [exec] at
> org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
> [exec] at
> org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> [exec] at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
>
Re: Error mirroring update site [message #113823 is a reply to message #113557] Wed, 09 July 2008 15:59 Go to previous messageGo to next message
Benson Wong is currently offline Benson WongFriend
Messages: 3
Registered: July 2009
Junior Member
The mirror application launch config from the cvs is setup to handle
repositories, but not update sites. If you add the
org.eclipse.equinox.p2.updatesite bundle (and the required bundles of
updatesite) to your launch configuration then you should be able to mirror
updatesites.


Hope this helps,
Ben
Re: Error mirroring update site [message #113903 is a reply to message #113823] Thu, 10 July 2008 15:11 Go to previous message
Miles Daffin is currently offline Miles DaffinFriend
Messages: 86
Registered: July 2009
Member
> The mirror application launch config from the cvs is setup to handle
> repositories, but not update sites. If you add the
> org.eclipse.equinox.p2.updatesite bundle (and the required bundles of
> updatesite) to your launch configuration then you should be able to mirror
> updatesites.

OK. Before adding the org.eclipse.equinox.p2.updatesite bundle to the P2
agent download (alongside the p2.tools bundle in the p2.agent dropins
folder) I tried rerunning the pydev mirror. This time it worked. When I
tried last week it failed repeatedly. I tried other sites that has also
failed. These mirrored too. (The MirrorApplication even seemed to
successfully merge features from different external sites into the same
mirror.) So who knows what was up last week. (And it seems that the
p2.updatesite bundle is not required after all.)

However, I then tried selecting the IUs I wanted from a particular site
using the -ius argument. The resulting mirror contained only the
following: a plugins directory, an artifacts.xml and a content.xml. It was
not browsable the P2 install manager. Is this a bug?

Here is the output of the application:

[::p2-wrapper-script::] Mirroring
http://www.perforce.com/downloads/http/p4-wsad/install/ to
C:/dev/workshop/eclipseide/3.4/mirrors/3rdparty
[mkdir] Created dir: C:\dev\workshop\eclipseide\3.4\mirrors\3rdparty
[P2] Install location:
[P2]
file:/c:/dev/workshop/eclipseide/3.4/tools/equinox-p2-agent- 3.4-win32/
[P2] Configuration file:
[P2]
file:/c:/dev/workshop/eclipseide/3.4/tools/equinox-p2-agent- 3.4-win32/configuration/config.ini
loaded
[P2] Configuration location:
[P2]
file:/c:/dev/workshop/eclipseide/3.4/tools/equinox-p2-agent- 3.4-win32/configuration/
[P2] Framework located:
[P2]
file:/c:/dev/workshop/eclipseide/3.4/tools/equinox-p2-agent- 3.4-win32/plugins/org.eclipse.osgi_3.4.0.v20080605-1900.jar
[P2] Framework classpath:
[P2]
file:/c:/dev/workshop/eclipseide/3.4/tools/equinox-p2-agent- 3.4-win32/plugins/org.eclipse.osgi_3.4.0.v20080605-1900.jar
[P2] Splash location:
[P2] null
[P2] Debug options:
[P2] file:/I:/dev/workshop/eclipseide/ganymede/.options not
found
[P2] Time to load bundles: 0
[P2] Starting application: 891
[P2] Mirroring IU: com.perforce.p4wsad 2008.1.155919
[P2] Mirroring artifact: canonical:
com.perforce.p4wsad/osgi.bundle/2008.1.155919
[P2] Operation completed in 2437 ms.
[P2] Start VM:
-Djava.class.path=C:\dev\workshop\eclipseide\3.4\tools\equin ox-p2-agent-3.4-win32\\plugins\org.eclipse.equinox.launcher_ 1.0.100.v20080509-1800.jar
[P2] -os win32
[P2] -ws win32
[P2] -arch x86
[P2] -showsplash
[P2] -launcher
C:\dev\workshop\eclipseide\3.4\tools\equinox-p2-agent-3.4-wi n32\eclipse.exe
[P2] -name Eclipse
[P2] --launcher.library
C:\dev\workshop\eclipseide\3.4\tools\equinox-p2-agent-3.4-wi n32\\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1. 0.100.v20080509-1800\eclipse_
1114.dll
[P2] -startup
C:\dev\workshop\eclipseide\3.4\tools\equinox-p2-agent-3.4-wi n32\\plugins\org.eclipse.equinox.launcher_1.0.100.v20080509- 1800.jar
[P2] -application org.eclipse.equinox.p2.tools.MirrorApplication
[P2] -source http://www.perforce.com/downloads/http/p4-wsad/install/
[P2] -destination
file:C:/dev/workshop/eclipseide/3.4/mirrors/3rdparty
[P2] -artifacts all
[P2] -ius com.perforce.p4wsad/2008.1.155919
[P2] -verbose
[P2] -debug
[P2] -consolelog
[P2] -vm C:\dev\tools\sunjdk\1.6.0_04\bin\..\jre\bin\client\jvm.dll
[P2] -vmargs
[P2]
-Djava.class.path=C:\dev\workshop\eclipseide\3.4\tools\equin ox-p2-agent-3.4-win32\\plugins\org.eclipse.equinox.launcher_ 1.0.100.v20080509-1800.jar
[::p2-wrapper-script::] Mirror operation complete!
Previous Topic:Re: httpContext extension point not working, but servlet extension point is?
Next Topic:Mirrored Shared Bundle Pool
Goto Forum:
  


Current Time: Thu Apr 18 10:56:28 GMT 2024

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

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

Back to the top