[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[virgo-dev] Problems with the new version of com.springsource.org.apache.jasper.springsource bundle

Hi,
 
I'm currently preparing an update site for Gemini Web.
 
During testing I faced a problem in the Eclipse (Indigo M5) with installing the bundles from this update site - see attachment.
 
"Unable to satisfy dependency from com.springsource.org.apache.catalina.springsource 6.0.29.S2-r1559 to package org.apache.tomcat [6.0.29.S2-r1559]"
 
On the other hand if I connect to Virgo with the console this problem is somehow hidden. And actually the resolving is successful and you can event load a class with such package from com.springsource.org.apache.catalina.springsource - see console output below.
 
The problem is coming from the new version of the com.springsource.org.apache.jasper.springsource bundle
 
The scenario is:
com.springsource.org.apache.catalina.springsource
 - import org.apache.tomcat;version="[6.0.29.S2-r1559,6.0.29.S2-r1559]"
 
com.springsource.org.apache.jasper.springsource
 - export org.apache.tomcat;version="6.0.29.S2-r1559-A"
 - Fragment-Host com.springsource.org.apache.catalina.springsource
 
 How can you explain the successful resolution?
 
Thanks
Regards
Violeta
 

osgi> ss catal
Framework is launched.
id      State       Bundle
91      RESOLVED    com.springsource.org.apache.catalina.ha.springsource_6.0.29.S2-r1559
                    Master=92
92      ACTIVE      com.springsource.org.apache.catalina.springsource_6.0.29.S2-r1559
                    Fragments=91, 93, 94, 96
93      RESOLVED    com.springsource.org.apache.catalina.tribes.springsource_6.0.29.S2-r1559
                    Master=92

osgi> diag 92
org.eclipse.virgo.region.user@file:/C:/tmp/virgo-web-server-3.0.0.M01/repository/ext/com.springsource.org.apache.catalina.springsource-6.0.29.S2-r1559.jar [92]
  Direct constraints which are unresolved:
    Missing imported package org.apache.tomcat_[6.0.29.S2-r1559,6.0.29.S2-r1559].

osgi> clload org.apache.tomcat.JarScanner
Successfully loaded [org.apache.tomcat.JarScanner] from:
  111   org.eclipse.virgo.apps.splash
                [exported by 92 com.springsource.org.apache.catalina.springsource]
  100   org.eclipse.gemini.example.comics.web
                [exported by 92 com.springsource.org.apache.catalina.springsource]
  102   org.eclipse.virgo.apps.admin.web
                [exported by 92 com.springsource.org.apache.catalina.springsource]
  92    com.springsource.org.apache.catalina.springsource
  109   org.eclipse.virgo.apps.repository-3.0.0.M01-org.eclipse.virgo.apps.repository.web
                [exported by 92 com.springsource.org.apache.catalina.springsource]
  86    org.eclipse.gemini.web.tomcat
                [exported by 92 com.springsource.org.apache.catalina.springsource]
osgi> clload org.apache.tomcat.JarScanner 92
Successfully loaded [org.apache.tomcat.JarScanner] using class loader from:
  92    com.springsource.org.apache.catalina.springsource

Attachment: problem.JPG
Description: JPEG image