Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Launching with Foundation 1.1 VM

I used the XML bundles from eRCP (http://www.eclipse.org/ercp/).

Note that you will also have to set the following system property:

osgi.framework.extensions=org.eclipse.ercp.xmlParserAPIs,org.eclipse.ercp.xml





                                                                           
             John                                                          
             Arthorne/Ottawa/I                                             
             BM@IBMCA                                                   To 
             Sent by:                  Equinox development mailing list    
             equinox-dev-bounc         <equinox-dev@xxxxxxxxxxx>           
             es@xxxxxxxxxxx                                             cc 
                                                                           
                                                                   Subject 
             09/06/2007 01:08          Re: [equinox-dev] Launching with    
             PM                        Foundation 1.1 VM                   
                                                                           
                                                                           
             Please respond to                                             
                  Equinox                                                  
                development                                                
               mailing list                                                
             <equinox-dev@ecli                                             
                 pse.org>                                                  
                                                                           
                                                                           





Thanks Tom.  Registry is not resolved because it requires a SAX parser.  I
tried org.apache.xerces from orbit, but it requires a 1.2 EE. Does anyone
know of a SAX parser that will run in Foundation 1.1?


                                                                           
 Thomas Watson                                                             
 <tjwatson@xxxxxxxxxx>                                                     
 Sent by:                                                               To 
 equinox-dev-bounces@xxxxxxxxxxx            Equinox development mailing    
                                            list <equinox-dev@xxxxxxxxxxx> 
                                                                        cc 
 09/06/2007 12:47 PM                                                       
                                                                   Subject 
                                            Re: [equinox-dev] Launching    
          Please respond to                 with Foundation 1.1 VM         
  Equinox development mailing list                                         
      <equinox-dev@xxxxxxxxxxx>                                            
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           





Can you run with -noExit -console and see if the
org.eclipse.equinox.registry bundle is installed and resolved. If it is not
resolved then run the 'diag' command to see why the registry bundle is not
resolved.

Tom



(Embedded image moved to file: pic16843.gif)Inactive hide details for John
Arthorne ---09/06/2007 11:22:26 AM---I am trying to run a simple
Equinox-based product with J9 (John Arthorne ---09/06/2007 11:22:26 AM---I
am trying to run a simple Equinox-based product with J9 (Foundation 1.1
profile). Is there some trick to getting running with
                                                                           
 John Arthorne                                                             
 <John_Arthorne@xxxxxxxxxx>                                                
 Sent by:                                                                  
 equinox-dev-bounces@xxxxxxxxxxx        (Embedded image moved to file:     
                                        pic14311.gif)                      
                                                                           
 09/06/2007 11:21 AM                                                    To 
                                                 (Embedded image moved to  
                                                 file: pic25857.gif)       
            Please respond to                    equinox-dev@xxxxxxxxxxx   
    Equinox development mailing list    (Embedded image moved to file:     
        <equinox-dev@xxxxxxxxxxx>       pic29694.gif)                      
                                                                           
                                                                        cc 
                                                 (Embedded image moved to  
                                                 file: pic20943.gif)       
                                        (Embedded image moved to file:     
                                        pic23214.gif)                      
                                                                           
                                                                   Subject 
                                                 (Embedded image moved to  
                                                 file: pic30233.gif)       
                                                 [equinox-dev] Launching   
                                                 with Foundation 1.1 VM    
                                                                           
                                                                           
                                                                           
                                        (Embedded image moved to file:     
                                        pic06004.gif)                      
                                                                       (Em 
                                                                       bed 
                                                                       ded 
                                                                       ima 
                                                                       ge  
                                                                       mov 
                                                                       ed  
                                                                       to  
                                                                       fil 
                                                                       e:  
                                                                       pic 
                                                                       024 
                                                                       48. 
                                                                       gif 
                                                                       )   
                                                                           
                                                                           




I am trying to run a simple Equinox-based product with J9 (Foundation 1.1
profile). Is there some trick to getting running with this setup? Here is
the command line that allows me to make the most progress:

eclipse -product org.eclipse.prov.client.installer.product -debug -vm
jre\bin\j9.exe -vmargs -jcl:ppro11
-Dorg.osgi.framework.executionenvironment="OSGi/Minimum-1.0,OSGi/Minimum-1.1,CDC-1.0
/Foundation-1.0,CDC-1.1/Foundation-1.1"


With this command line, I get various errors in the log, starting with:

!ENTRY org.eclipse.equinox.app 4 0 2007-09-06 12:17:51.968
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: The bundle could not be resolved.
Reason: Missing Constraint: Require-Bundle: org.eclipse.equinox.registry;
bundle-version="[3.2.0,4.0.0)"
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:305)

at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350)

at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118)

at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634)

at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)

at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282)

at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468)

at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:209)

at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:319)


I have tried invoking the VM directly rather than using eclipse.exe, but
get the same result. The same launch runs fine with a 1.4 or Java 5 VM.

Ideas?_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev
(Embedded image moved to file: pic07446.gif)
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Attachment: pic16843.gif
Description: GIF image

Attachment: pic14311.gif
Description: GIF image

Attachment: pic25857.gif
Description: GIF image

Attachment: pic29694.gif
Description: GIF image

Attachment: pic20943.gif
Description: GIF image

Attachment: pic23214.gif
Description: GIF image

Attachment: pic30233.gif
Description: GIF image

Attachment: pic06004.gif
Description: GIF image

Attachment: pic02448.gif
Description: GIF image

Attachment: pic07446.gif
Description: GIF image


Back to the top