Skip to main content

V3 build: Failed to parse dependencies of com.sun.faces.extensions

5 replies [Last post]
rimartin7
Offline
Joined: 2005-05-09

svn update
mvn -U clean install

results in:
----
Downloading: http://download.java.net/maven/1/javaee/poms/javaee-api-5.pom
1K downloaded
Failed to parse dependencies of com.sun.faces.extensions:jsf-extensions-common:n
ull. trail=[org.glassfish.distributions:web:10.0-SNAPSHOT--(compile)-->org.glass
fish.web:webtier-all:10.0-SNAPSHOT, org.glassfish.web:webtier-all:10.0-SNAPSHOT-
-(compile)-->org.glassfish.admingui:console-web-plugin:10.0-SNAPSHOT, org.glassf
ish.admingui:console-web-plugin:10.0-SNAPSHOT--(compile)-->com.sun.woodstock:web
ui-jsf:4.2-SNAPSHOT, com.sun.woodstock:webui-jsf:4.2-SNAPSHOT--(runtime)-->com.s
un.faces.extensions:jsf-extensions-common:0.1]
Overriding previous definition of reference to web-modules
Failed to parse dependencies of com.sun.faces.extensions:jsf-extensions-common:n
ull. trail=[org.glassfish.distributions:web:10.0-SNAPSHOT--(compile)-->org.glass
fish.web:webtier-all:10.0-SNAPSHOT, org.glassfish.web:webtier-all:10.0-SNAPSHOT-
-(compile)-->org.glassfish.admingui:console-web-plugin:10.0-SNAPSHOT, org.glassf
ish.admingui:console-web-plugin:10.0-SNAPSHOT--(compile)-->com.sun.woodstock:web
ui-jsf:4.2-SNAPSHOT, com.sun.woodstock:webui-jsf:4.2-SNAPSHOT--(runtime)-->com.s
un.faces.extensions:jsf-extensions-common:0.1]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: The following error occurred while exe
cuting this line:
C:\java.net\glassfish\v3\distributions\web\build.xml:84: The following error occ
urred while executing this line:
C:\java.net\glassfish\v3\distributions\web\build.xml:71: Failed to resolve artif
act. Trail=[org.glassfish.web:webtier-all:10.0-SNAPSHOT--(compile)-->org.glassfi
sh.admingui:console-web-plugin:10.0-SNAPSHOT, org.glassfish.admingui:console-web
-plugin:10.0-SNAPSHOT--(compile)-->com.sun.jsftemplating:jsftemplating-dynafaces
:0.1-1.2-SNAPSHOT]

Unable to download the artifact from any repository
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 28 minutes 12 seconds
[INFO] Finished at: Mon Jul 21 14:48:00 EDT 2008
[INFO] Final Memory: 166M/371M
[INFO] ------------------------------------------------------------------------
Press any key to continue . . .
----

The http://wiki.glassfish.java.net/Wiki.jsp?page=V3DevelopmentInstructions mentions the setting of a maven profile in ~/.m2/settings.xml which I've put in place. Been attempting builds of new checkouts since Friday. Is there a recommended way to overcome missing pieces in the maven repository?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
rimartin7
Offline
Joined: 2005-05-09

svn and build was successful today. However a run of the snapshot has numerous
'org.osgi.framework.BundleException: Bundle symbolic name and version are not uni
que' Felix exceptions.

...partial run output......
Welcome to Felix.
=================

Auto-properties install: org.osgi.framework.BundleException: Unable to cache bun
dle: file:/C:/java.net/glassfish/v3/snapshot//felix/bundle/org.apache.felix.bund
lerepository-1.1.0-SNAPSHOT.jar
Auto-properties install: org.osgi.framework.BundleException: Unable to cache bun
dle: file:/C:/java.net/glassfish/v3/snapshot//felix/bundle/org.apache.felix.shel
l.gui-0.9.0-SNAPSHOT.jar
Auto-properties install: org.osgi.framework.BundleException: Unable to cache bun
dle: file:/C:/java.net/glassfish/v3/snapshot//felix/bundle/org.apache.felix.shel
l.gui.plugin-0.9.0-SNAPSHOT.jar
Auto-properties start: org.osgi.framework.BundleException: Unable to cache bundl
e: file:/C:/java.net/glassfish/v3/snapshot//felix/bundle/org.apache.felix.bundle
repository-1.1.0-SNAPSHOT.jar
Auto-properties start: org.osgi.framework.BundleException: Unable to cache bundl
e: file:/C:/java.net/glassfish/v3/snapshot//felix/bundle/org.apache.felix.shell.
gui-0.9.0-SNAPSHOT.jar
Auto-properties start: org.osgi.framework.BundleException: Unable to cache bundl
e: file:/C:/java.net/glassfish/v3/snapshot//felix/bundle/org.apache.felix.shell.
gui.plugin-0.9.0-SNAPSHOT.jar
Jul 22, 2008 10:49:44 PM HK2Main start
INFO: contextRootDir = C:\java.net\glassfish\v3\snapshot\modules
Jul 22, 2008 10:49:44 PM OSGiFactoryImpl initialize
INFO: Singleton already initialized as com.sun.enterprise.module.impl.HK2Factory
@21f8c6df
org.osgi.framework.BundleException: Bundle symbolic name and version are not uni
que.
at org.apache.felix.framework.Felix.createModule(Felix.java:3408)
at org.apache.felix.framework.Felix.createBundleInfo(Felix.java:3332)
at org.apache.felix.framework.Felix.installBundle(Felix.java:2315)
at org.apache.felix.framework.Felix.installBundle(Felix.java:2229)
at org.apache.felix.framework.BundleContextImpl.installBundle(BundleCont
extImpl.java:132)
at org.apache.felix.framework.BundleContextImpl.installBundle(BundleCont
extImpl.java:110)
at org.jvnet.hk2.osgiadapter.OSGiModulesRegistryImpl.newModule(OSGiModul
esRegistryImpl.java:90)
at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.get
Modules(AbstractModulesRegistryImpl.java:344)
at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.cre
ateHabitat(AbstractModulesRegistryImpl.java:134)
at com.sun.enterprise.module.bootstrap.Main.createHabitat(Main.java:392)

at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:113)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAct
ion.java:591)
at org.apache.felix.framework.Felix._startBundle(Felix.java:1610)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1544)
at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:11
25)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:258
)
at java.lang.Thread.run(Thread.java:619)
Jul 22, 2008 10:49:49 PM OSGiModulesRegistryImpl add
WARNING: Exception org.osgi.framework.BundleException: Could not create bundle o
bject. while adding location = file:/C:/java.net/glassfish/v3/snapshot/modules/o
sgi-adapter-0.3.8.jar
org.osgi.framework.BundleException: Bundle symbolic name and version are not uni
que.
at org.apache.felix.framework.Felix.createModule(Felix.java:3408)
at org.apache.felix.framework.Felix.createBundleInfo(Felix.java:3332)
at org.apache.felix.framework.Felix.installBundle(Felix.java:2315)
at org.apache.felix.framework.Felix.installBundle(Felix.java:2229)
at org.apache.felix.framework.BundleContextImpl.installBundle(BundleCont
extImpl.java:132)
at org.apache.felix.framework.BundleContextImpl.installBundle(BundleCont
extImpl.java:110)
at org.jvnet.hk2.osgiadapter.OSGiModulesRegistryImpl.newModule(OSGiModul
esRegistryImpl.java:90)
at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.get
Modules(AbstractModulesRegistryImpl.java:344)
at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.cre
ateHabitat(AbstractModulesRegistryImpl.java:134)
at com.sun.enterprise.module.bootstrap.Main.createHabitat(Main.java:392)

at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:113)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAct
ion.java:591)
at org.apache.felix.framework.Felix._startBundle(Felix.java:1610)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1544)
at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:11
25)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:258
)
at java.lang.Thread.run(Thread.java:619)
Jul 22, 2008 10:49:50 PM OSGiModulesRegistryImpl add
WARNING: Exception org.osgi.framework.BundleException: Could not create bundle o
bject. while adding location = file:/C:/java.net/glassfish/v3/snapshot/modules/a
uto-depends-0.3.8.jar
org.osgi.framework.BundleException: Bundle symbolic name and version are not uni
que.
at org.apache.felix.framework.Felix.createModule(Felix.java:3408)
at org.apache.felix.framework.Felix.createBundleInfo(Felix.java:3332)
at org.apache.felix.framework.Felix.installBundle(Felix.java:2315)
at org.apache.felix.framework.Felix.installBundle(Felix.java:2229)
at org.apache.felix.framework.BundleContextImpl.installBundle(BundleCont
extImpl.java:132)
at org.apache.felix.framework.BundleContextImpl.installBundle(BundleCont
extImpl.java:110)
at org.jvnet.hk2.osgiadapter.OSGiModulesRegistryImpl.newModule(OSGiModul
esRegistryImpl.java:90)
at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.get
Modules(AbstractModulesRegistryImpl.java:344)
at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.cre
ateHabitat(AbstractModulesRegistryImpl.java:134)
at com.sun.enterprise.module.bootstrap.Main.createHabitat(Main.java:392)

at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:113)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAct
ion.java:591)
at org.apache.felix.framework.Felix._startBundle(Felix.java:1610)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1544)
at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:11
25)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:258
)
at java.lang.Thread.run(Thread.java:619)
Jul 22, 2008 10:49:51 PM OSGiModulesRegistryImpl add
WARNING: Exception org.osgi.framework.BundleException: Could not create bundle o
bject. while adding location = file:/C:/java.net/glassfish/v3/snapshot/modules/h
k2-core-0.3.8.jar
org.osgi.framework.BundleException: Bundle symbolic name and version are not uni
que.
at org.apache.felix.framework.Felix.createModule(Felix.java:3408)
at org.apache.felix.framework.Felix.createBundleInfo(Felix.java:3332)
at org.apache.felix.framework.Felix.installBundle(Felix.java:2315)
at org.apache.felix.framework.Felix.installBundle(Felix.java:2229)
at org.apache.felix.framework.BundleContextImpl.installBundle(BundleCont
extImpl.java:132)
at org.apache.felix.framework.BundleContextImpl.installBundle(BundleCont
extImpl.java:110)
at org.jvnet.hk2.osgiadapter.OSGiModulesRegistryImpl.newModule(OSGiModul
esRegistryImpl.java:90)
at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.get
Modules(AbstractModulesRegistryImpl.java:344)
at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.cre
ateHabitat(AbstractModulesRegistryImpl.java:134)
at com.sun.enterprise.module.bootstrap.Main.createHabitat(Main.java:392)

at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:113)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAct
ion.java:591)
at org.apache.felix.framework.Felix._startBundle(Felix.java:1610)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1544)
at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:11
25)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:258
)
at java.lang.Thread.run(Thread.java:619)
Jul 22, 2008 10:49:52 PM OSGiModulesRegistryImpl add
WARNING: Exception org.osgi.framework.BundleException: Could not create bundle o
bject. while adding location = file:/C:/java.net/glassfish/v3/snapshot/modules/t
iger-types-osgi-0.3.8.jar
org.osgi.framework.BundleException: Bundle symbolic name and version are not uni
que.
at org.apache.felix.framework.Felix.createModule(Felix.java:3408)
at org.apache.felix.framework.Felix.createBundleInfo(Felix.java:3332)
at org.apache.felix.framework.Felix.installBundle(Felix.java:2315)
at org.apache.felix.framework.Felix.installBundle(Felix.java:2229)
at org.apache.felix.framework.BundleContextImpl.installBundle(BundleCont
extImpl.java:132)
at org.apache.felix.framework.BundleContextImpl.installBundle(BundleCont
extImpl.java:110)
at org.jvnet.hk2.osgiadapter.OSGiModulesRegistryImpl.newModule(OSGiModul
esRegistryImpl.java:90)
at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.get
Modules(AbstractModulesRegistryImpl.java:344)
at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.cre
ateHabitat(AbstractModulesRegistryImpl.java:134)
at com.sun.enterprise.module.bootstrap.Main.createHabitat(Main.java:392)

at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:113)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAct
ion.java:591)
at org.apache.felix.framework.Felix._startBundle(Felix.java:1610)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1544)
at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:11
25)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:258
)
at java.lang.Thread.run(Thread.java:619)
Jul 22, 2008 10:49:52 PM OSGiModulesRegistryImpl add
.........

By replacing felix with a recent checked out build I got 109 out of 110 active bundles. The one not running is HK2 OSGi Adapter. Getting close!!! Need to check the felix config.properties some more.

rimartin7
Offline
Joined: 2005-05-09

Ah, yes the felix config.properties needed a few more things. Now glassfish console install pages are up. install thru proxy not working; will go direct tomorrow.

Glassfish and my modified Felix GUI shell both running is cool! Now I can added my own JBI and OSGi bundles...

Sahoo

Can you please tell what you are trying to do?

Thanks,
Sahoo

glassfish@javadesktop.org wrote:
> Ah, yes the felix config.properties needed a few more things. Now glassfish console install pages are up. install thru proxy not working; will go direct tomorrow.
>
> Glassfish and my modified Felix GUI shell both running is cool! Now I can added my own JBI and OSGi bundles...
> [Message sent by forum member 'rimartin7' (rimartin7)]
>
> http://forums.java.net/jive/thread.jspa?messageID=288575
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

rimartin7
Offline
Joined: 2005-05-09

Yes,

Build glassfish v3 from svn HEAD checkout (tp2 not allowing felix shell to run)
Run glassfish from
java -jar .\modules\glassfish-10.0-SNAPSHOT.jar
instead of
asadmin start-domain domain1
so that the felix shell(GUI shell too) can be run according to its config properties under ~/glassfish/felix/conf by altering the
....
felix.auto.start.1= \
${com.sun.aas.installRootURI}/modules/tiger-types-osgi-0.3.8.jar \
${com.sun.aas.installRootURI}/modules/auto-depends-0.3.8.jar \
${com.sun.aas.installRootURI}/modules/config-0.3.8.jar \
${com.sun.aas.installRootURI}/modules/hk2-core-0.3.8.jar \
${com.sun.aas.installRootURI}/modules/osgi-adapter-0.3.8.jar \
[b] ${com.sun.aas.installRootURI}/felix/bundle/org.apache.felix.shell-1.1.0-SNAPSHOT.jar \
${com.sun.aas.installRootURI}/felix/bundle/org.apache.felix.bundlerepository-1.1.0-SNAPSHOT.jar \
${com.sun.aas.installRootURI}/felix/bundle/org.apache.felix.shell.gui-0.9.0-SNAPSHOT.jar \
${com.sun.aas.installRootURI}/felix/bundle/org.apache.felix.shell.gui.plugin-0.9.0-SNAPSHOT.jar
[/b]...
See http://weblogs.java.net/blog/arungupta/archive/2008/06/totd_34_using_f.html by Arun Gupta.
http://www.theserverside.com/tt/articles/article.tss?l=NewFeaturesinEJB3... and previous parts by Reza Rahman

So the goal is to run EJB 3.1's, simplify my projects to the single 3.1 based war projects(instead of ear+ejb-jar+war three projects), run my JBI components and Open ESB ojc components in gf v3 and metro web service stack. Also reduce test cycle times and add in seam(which I'm compiling for ejb 3.1), richfaces and facelets. testing if seam will have to be replaced with the coming Web Beans and it's annotations. I'm after hl7bc etc. of Open ESB (or the coming GlassfishESB).

And a side effect, reduce having umpteen versions of NetBeans for different developments.

Sahoo

Very interesting. Keep us posted with progress made.

Thanks,
Sahoo

glassfish@javadesktop.org wrote:
> Yes,
>
> Build glassfish v3 from svn HEAD checkout (tp2 not allowing felix shell to run)
> Run glassfish from
> java -jar .\modules\glassfish-10.0-SNAPSHOT.jar
> instead of
> asadmin start-domain domain1
> so that the felix shell(GUI shell too) can be run according to its config properties under ~/glassfish/felix/conf by altering the
> ....
> felix.auto.start.1= \
> ${com.sun.aas.installRootURI}/modules/tiger-types-osgi-0.3.8.jar \
> ${com.sun.aas.installRootURI}/modules/auto-depends-0.3.8.jar \
> ${com.sun.aas.installRootURI}/modules/config-0.3.8.jar \
> ${com.sun.aas.installRootURI}/modules/hk2-core-0.3.8.jar \
> ${com.sun.aas.installRootURI}/modules/osgi-adapter-0.3.8.jar \
> [b] ${com.sun.aas.installRootURI}/felix/bundle/org.apache.felix.shell-1.1.0-SNAPSHOT.jar \
> ${com.sun.aas.installRootURI}/felix/bundle/org.apache.felix.bundlerepository-1.1.0-SNAPSHOT.jar \
> ${com.sun.aas.installRootURI}/felix/bundle/org.apache.felix.shell.gui-0.9.0-SNAPSHOT.jar \
> ${com.sun.aas.installRootURI}/felix/bundle/org.apache.felix.shell.gui.plugin-0.9.0-SNAPSHOT.jar
> [/b]...
> See http://weblogs.java.net/blog/arungupta/archive/2008/06/totd_34_using_f.html by Arun Gupta.
> http://www.theserverside.com/tt/articles/article.tss?l=NewFeaturesinEJB3... and previous parts by Reza Rahman
>
> So the goal is to run EJB 3.1's, simplify my projects to the single 3.1 based war projects(instead of ear+ejb-jar+war three projects), run my JBI components and Open ESB ojc components in gf v3 and metro web service stack. Also reduce test cycle times and add in seam(which I'm compiling for ejb 3.1), richfaces and facelets. testing if seam will have to be replaced with the coming Web Beans and it's annotations. I'm after hl7bc etc. of Open ESB (or the coming GlassfishESB).
>
> And a side effect, reduce having umpteen versions of NetBeans for different developments.
> [Message sent by forum member 'rimartin7' (rimartin7)]
>
> http://forums.java.net/jive/thread.jspa?messageID=288590
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net