Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » how do i make a 2nd plugins directory available to eclipse?
how do i make a 2nd plugins directory available to eclipse? [message #467605] Tue, 08 May 2007 21:37 Go to next message
sun_certified is currently offline sun_certifiedFriend
Messages: 4
Registered: July 2009
Junior Member
please, can anybody help me solve a problem i am having installing and
loading BEA's eclipse v3.1.2-based product: Workshop for WebLogic Platform
9.2 on my mac os x 10.4.9?

first off, i am NOT an eclipse expert AT ALL! i am but a humble java
coder. i have copied and pasted the technical sounding stuff below from
various places (log traces, posts from this and other forums, the eclipse
online help, etc.). i do not speak the eclipse jargon. so please (pretty
please!) would it be possible to use plain, jargon-free english in your
replies? or please at least explain whatever jargon you do use? thanks in
advance. your expertise is graciously appreciated.

BEA doesn't officially support workshop on the mac (it doesn't officially
discourage it either, btw). but BEA does support eclipse on the mac. so i
copied a working installation of weblogic server/workshop for weblogic
platform 9.2 from my solaris 9 box (bea does officially support solaris).
i also installed a mac os x-specific standalone eclipse v 3.1.2
installation and replaced solaris-specific plugins/features that i'd
copied to the mac with the corresponding plugins/features from the
standalone eclipse v 3.1.2 installation.

after copying and editing the relevant files, i successfully launched the
eclipse core framework parts of the weblogic workshop product. but the
weblogic workshop product itself failed to load. that is, i got the
following error in the osgi console:

=============================================
$ /Applications/bea/workshop92/workshop4WP/workshop4WP -clean -application
org.eclipse.ui.ide.workbench -product com.bea.wlw.product.workshop

osgi> ss

Framework is launched.

id State Bundle
0 ACTIVE system.bundle_3.1.2
1 ACTIVE org.eclipse.core.runtime_3.1.2
2 STARTING org.eclipse.update.configurator_3.1.0

osgi> !SESSION 2007-05-08 17:45:25.564
-----------------------------------------------
eclipse.buildId=M20060118-1600
java.version=1.5.0_07
java.vendor=Apple Computer, Inc.
BootLoader constants: OS=macosx, ARCH=ppc, WS=carbon, NL=en_US
Framework arguments: -debug /Applications/bea/workshop92/eclipse/.options
-application org.eclipse.ui.ide.workbench -product
com.bea.wlw.product.workshop -application org.eclipse.ui.ide.workbench
-product com.bea.wlw.product.workshop
Command-line arguments: -os macosx -ws carbon -arch ppc -debug
/Applications/bea/workshop92/eclipse/.options -application
org.eclipse.ui.ide.workbench -product com.bea.wlw.product.workshop
-console -consoleLog -clean -application org.eclipse.ui.ide.workbench
-product com.bea.wlw.product.workshop

!ENTRY org.eclipse.core.runtime 2007-05-08 17:45:46.72
!MESSAGE Product com.bea.wlw.product.workshop could not be found.
=============================================

all the jars for "com.bea.wlw.product.workshop" were present in
"/Applications/bea/workshop92/workshop4WP/eclipse/plugins " from when they
were copied from the original solaris installation.

NOTE: i noticed the BEA weblogic server installer created two plugins
directories. the one above (where all the com.bea.wlw.* plugins were
originally installed), plus a separate standard eclipse plugins directory
("/Applications/bea/workshop92/eclipse/plugins"; where all the standard
org.eclipse.* plugins were installed). both of the plugins locations were
created by the BEA "generic" unix installer.

so, i tried to reinstall the com.bea.wlw.product.workshop product using
update manager. the BEA Workshop update site is displayed in the "Update
sites to visit" panel of the update manager. i selected the BEA Workshop
for Weblogic Platform Product from the "Select the features to install"
box; then selected to have the workshop plugins located in
"/Applications/bea/workshop92/workshop4WP/eclipse/plugins". then fired it
off. it went through most of the installation process fairly smoothly as
evidenced by the following status info:

=============================================

Verifying: "com.bea.wlw.common_9.2.1.0"

[BEA] Saving installation information...

=============================================




then, KABLOO-EEY!

=============================================

Problem Occurred

Unable to complete action for feature "BEA workshop for WebLogic Platform"
due to errors.

Details>>

Unable to locate file group [Unable to locate file group]
Unable to locate file group
Unable to locate file group [Unable to locate file group]
Unable to locate file group

=============================================

i have pasted what was logged to the osgi console at the bottom of this
post. i have also pasted the contents of ".eclipseproduct" below in case
it is of any use. here are my questions:


1. please, can anybody tell me what i need to do to make the eclipse
core runtime find the com.bea.wlw.product.workshop?

2. please, can anybody tell me what does "Unable to locate file
group" mean?; and more importantly how to make whatever needs it, able to
locate file group?

3. please, can anybody tell me: since i already have the workshop
product features and plugins in
"/Applications/bea/workshop92/workshop4WP/eclipse/" is there someway i can
just make the eclipse runtime find the workshop product plugins without
having to go through update manager?


for whatever its worth, i ran Disk Utility's "Repair Permissions" before i
attempted to re-download the workshop product.


===================================================
===================================================
/Applications/bea/workshop92/eclipse/.eclipseproduct:
===================================================
name=BEA Workshop
id=com.bea.wlw.workshop
version=9.2.0

===================================================
===================================================
osgi consoleLog:
===================================================

!ENTRY org.eclipse.update.core 4 4 2007-05-08 18:26:15.78
!MESSAGE Unable to locate file group [Unable to locate file group]
!STACK 0
java.lang.Exception: Unable to locate file group
at
com.bea.plateng.wsih.impl.InstallHandlerImpl.updateUninstall Def(InstallHandlerImpl.java:280)
at
com.bea.plateng.wsih.impl.InstallHandlerImpl.installComplete d(InstallHandlerImpl.java:98)
at
com.bea.plateng.wsih.InstallHandlerProxy.installCompleted(In stallHandlerProxy.java:226)
at
org.eclipse.update.internal.core.InstallHandlerProxy.install Completed(InstallHandlerProxy.java:243)
at org.eclipse.update.core.Feature.install(Feature.java:519)
at
org.eclipse.update.internal.core.SiteFile.install(SiteFile.j ava:74)
at
org.eclipse.update.internal.core.ConfiguredSite.install(Conf iguredSite.java:122)
at
org.eclipse.update.internal.core.ConfiguredSite.install(Conf iguredSite.java:86)
at
org.eclipse.update.internal.operations.InstallOperation.exec ute(InstallOperation.java:72)
at
org.eclipse.update.internal.operations.BatchInstallOperation .execute(BatchInstallOperation.java:84)
at
org.eclipse.update.internal.ui.wizards.InstallWizard2.instal l(InstallWizard2.java:373)
at
org.eclipse.update.internal.ui.wizards.InstallWizard2.access $1(InstallWizard2.java:370)
at
org.eclipse.update.internal.ui.wizards.InstallWizard2$2.run( InstallWizard2.java:465)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext.java:113)

!ENTRY org.eclipse.update.core 4 0 2007-05-08 18:28:43.231
!MESSAGE Unable to complete action for feature "BEA Workshop for WebLogic
Platform" due to errors.
!STACK 1
org.eclipse.core.runtime.CoreException[4]: java.lang.Exception: Unable to
locate file group
at
com.bea.plateng.wsih.impl.InstallHandlerImpl.updateUninstall Def(InstallHandlerImpl.java:280)
at
com.bea.plateng.wsih.impl.InstallHandlerImpl.installComplete d(InstallHandlerImpl.java:98)
at
com.bea.plateng.wsih.InstallHandlerProxy.installCompleted(In stallHandlerProxy.java:226)
at
org.eclipse.update.internal.core.InstallHandlerProxy.install Completed(InstallHandlerProxy.java:243)
at org.eclipse.update.core.Feature.install(Feature.java:519)
at
org.eclipse.update.internal.core.SiteFile.install(SiteFile.j ava:74)
at
org.eclipse.update.internal.core.ConfiguredSite.install(Conf iguredSite.java:122)
at
org.eclipse.update.internal.core.ConfiguredSite.install(Conf iguredSite.java:86)
at
org.eclipse.update.internal.operations.InstallOperation.exec ute(InstallOperation.java:72)
at
org.eclipse.update.internal.operations.BatchInstallOperation .execute(BatchInstallOperation.java:84)
at
org.eclipse.update.internal.ui.wizards.InstallWizard2.instal l(InstallWizard2.java:373)
at
org.eclipse.update.internal.ui.wizards.InstallWizard2.access $1(InstallWizard2.java:370)
at
org.eclipse.update.internal.ui.wizards.InstallWizard2$2.run( InstallWizard2.java:465)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext.java:113)
!SUBENTRY 1 org.eclipse.update.core 4 4 2007-05-08 18:28:43.236
!MESSAGE Unable to locate file group [Unable to locate file group]
!STACK 0
java.lang.Exception: Unable to locate file group
at
com.bea.plateng.wsih.impl.InstallHandlerImpl.updateUninstall Def(InstallHandlerImpl.java:280)
at
com.bea.plateng.wsih.impl.InstallHandlerImpl.installComplete d(InstallHandlerImpl.java:98)
at
com.bea.plateng.wsih.InstallHandlerProxy.installCompleted(In stallHandlerProxy.java:226)
at
org.eclipse.update.internal.core.InstallHandlerProxy.install Completed(InstallHandlerProxy.java:243)
at org.eclipse.update.core.Feature.install(Feature.java:519)
at
org.eclipse.update.internal.core.SiteFile.install(SiteFile.j ava:74)
at
org.eclipse.update.internal.core.ConfiguredSite.install(Conf iguredSite.java:122)
at
org.eclipse.update.internal.core.ConfiguredSite.install(Conf iguredSite.java:86)
at
org.eclipse.update.internal.operations.InstallOperation.exec ute(InstallOperation.java:72)
at
org.eclipse.update.internal.operations.BatchInstallOperation .execute(BatchInstallOperation.java:84)
at
org.eclipse.update.internal.ui.wizards.InstallWizard2.instal l(InstallWizard2.java:373)
at
org.eclipse.update.internal.ui.wizards.InstallWizard2.access $1(InstallWizard2.java:370)
at
org.eclipse.update.internal.ui.wizards.InstallWizard2$2.run( InstallWizard2.java:465)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext.java:113)
!SUBENTRY 1 org.eclipse.update.core 4 4 2007-05-08 18:28:43.239
!MESSAGE Unable to locate file group [Unable to locate file group]
!STACK 0
java.lang.Exception: Unable to locate file group
at
com.bea.plateng.wsih.impl.InstallHandlerImpl.updateUninstall Def(InstallHandlerImpl.java:280)
at
com.bea.plateng.wsih.impl.InstallHandlerImpl.installComplete d(InstallHandlerImpl.java:98)
at
com.bea.plateng.wsih.InstallHandlerProxy.installCompleted(In stallHandlerProxy.java:226)
at
org.eclipse.update.internal.core.InstallHandlerProxy.install Completed(InstallHandlerProxy.java:243)
at org.eclipse.update.core.Feature.install(Feature.java:519)
at
org.eclipse.update.internal.core.SiteFile.install(SiteFile.j ava:74)
at
org.eclipse.update.internal.core.ConfiguredSite.install(Conf iguredSite.java:122)
at
org.eclipse.update.internal.core.ConfiguredSite.install(Conf iguredSite.java:86)
at
org.eclipse.update.internal.operations.InstallOperation.exec ute(InstallOperation.java:72)
at
org.eclipse.update.internal.operations.BatchInstallOperation .execute(BatchInstallOperation.java:84)
at
org.eclipse.update.internal.ui.wizards.InstallWizard2.instal l(InstallWizard2.java:373)
at
org.eclipse.update.internal.ui.wizards.InstallWizard2.access $1(InstallWizard2.java:370)
at
org.eclipse.update.internal.ui.wizards.InstallWizard2$2.run( InstallWizard2.java:465)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext.java:113)
Re: how do i make a 2nd plugins directory available to eclipse? [message #467630 is a reply to message #467605] Wed, 09 May 2007 10:39 Go to previous messageGo to next message
sun_certified is currently offline sun_certifiedFriend
Messages: 4
Registered: July 2009
Junior Member
hi again,

since my last msg, i have made some progress! i have copied the plugins &
features from workshop's
eclipse product extension directory
(/Applications/bea/workshop92/workshop4WP/eclipse/) to the
standard eclipse directory (/Applications/bea/workshop92/eclipse/).

then when i launch workshop (with the -clean option) workshop starts this
time - it appears - with the
workshop perspective intact! i can see the workshop perspective icon in
the perspective selector in
the top right-hand corner! also the workshop "Welcome" page is displayed!
the...

!MESSAGE Product com.bea.wlw.product.workshop could not be found.

...message is no longer reported in the osgi console!

unfortunately, a couple seconds after it launches the whole ide crashes
with the following stacktrace:


=====================================
=====================================
java.lang.ExceptionInInitializerError
at
com.bea.wlw.libmodules.core.LibraryModulesSvc.<clinit>(LibraryModulesSvc.java:58)
at
com.bea.wlw.product.util.LibraryModuleStartupRegistrationUti l.attemptToRegisterLibModules(LibraryModuleStartupRegistrati onUtil.java:170)
at
com.bea.wlw.product.util.LibraryModuleStartupRegistrationUti l.access$0(LibraryModuleStartupRegistrationUtil.java:117)
at
com.bea.wlw.product.util.LibraryModuleStartupRegistrationUti l$1$1.run(LibraryModuleStartupRegistrationUtil.java:79)
at
org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1721)
at
com.bea.wlw.product.util.LibraryModuleStartupRegistrationUti l$1.run(LibraryModuleStartupRegistrationUtil.java:85)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
Caused by: java.lang.IllegalArgumentException: Could not find project
facet workshop.xmlbeans.
at
org.eclipse.wst.common.project.facet.core.internal.ProjectFa cetsManagerImpl.getProjectFacet(ProjectFacetsManagerImpl.jav a:110)
at
org.eclipse.wst.common.project.facet.core.internal.ProjectFa cetsManagerImpl.readPreset(ProjectFacetsManagerImpl.java:148 9)
at
org.eclipse.wst.common.project.facet.core.internal.ProjectFa cetsManagerImpl.readMetadata(ProjectFacetsManagerImpl.java:9 51)
at
org.eclipse.wst.common.project.facet.core.internal.ProjectFa cetsManagerImpl. <init>(ProjectFacetsManagerImpl.java:84)
at
org.eclipse.wst.common.project.facet.core.ProjectFacetsManag er. <clinit>(ProjectFacetsManager.java:42)
... 7 more
=====================================
=====================================

this is the xmlbean-related stuff installed:


=====================================
=====================================
$ find /Applications/bea -name '*xmlbeans*' -print
/Applications/bea/weblogic92/samples/server/medrec/doc/xmlbe ans.html
/Applications/bea/weblogic92/server/lib/apachexmlbeansutil.j ar
/Applications/bea/workshop92/eclipse/plugins/com.bea.wlw.che atsheets_9.2.1/xmlbeans.xml
/Applications/bea/workshop92/eclipse/plugins/com.bea.wlw.xml beans.lib.ui_9.2.0
/Applications/bea/workshop92/eclipse/plugins/com.bea.wlw.xml beans.lib.ui_9.2.0/xmlbeanslibui.jar
/Applications/bea/workshop92/eclipse/plugins/com.bea.wlw.xml beans.lib_9.2.1
/Applications/bea/workshop92/eclipse/plugins/com.bea.wlw.xml beans.ui_9.2.1
/Applications/bea/workshop92/eclipse/plugins/com.bea.wlw.xml beans.ui_9.2.1/xmlbeansbuilderui.jar
/Applications/bea/workshop92/eclipse/plugins/com.bea.wlw.xml beans_9.2.1
/Applications/bea/workshop92/eclipse/plugins/com.bea.wlw.xml beans_9.2.1/xmlbeansbuilder.jar
/Applications/bea/workshop92/workshop4WP/eclipse/plugins/com .bea.wlw.cheatsheets_9.2.1/xmlbeans.xml
/Applications/bea/workshop92/workshop4WP/eclipse/plugins/com .bea.wlw.xmlbeans.lib.ui_9.2.0
/Applications/bea/workshop92/workshop4WP/eclipse/plugins/com .bea.wlw.xmlbeans.lib.ui_9.2.0/xmlbeanslibui.jar
/Applications/bea/workshop92/workshop4WP/eclipse/plugins/com .bea.wlw.xmlbeans.lib_9.2.1
/Applications/bea/workshop92/workshop4WP/eclipse/plugins/com .bea.wlw.xmlbeans.ui_9.2.1
/Applications/bea/workshop92/workshop4WP/eclipse/plugins/com .bea.wlw.xmlbeans.ui_9.2.1/xmlbeansbuilderui.jar
/Applications/bea/workshop92/workshop4WP/eclipse/plugins/com .bea.wlw.xmlbeans_9.2.1
/Applications/bea/workshop92/workshop4WP/eclipse/plugins/com .bea.wlw.xmlbeans_9.2.1/xmlbeansbuilder.jar
=====================================
=====================================


any ideas what i might have overlooked? please, does anybody reading this
know the answers to the following questions?

1. what is a facet?
2. where does the ProjectFacetsManagerImpl expect to find the
workshop.xmlbeans facet?
3. how can i make the workshop.xmlbeans facet available to the
ProjectFacetsManagerImpl?

thanks in advance for your help.

many thanks,
wboyd
Re: how do i make a 2nd plugins directory available to eclipse? [message #467660 is a reply to message #467630] Wed, 09 May 2007 20:35 Go to previous message
sun_certified is currently offline sun_certifiedFriend
Messages: 4
Registered: July 2009
Junior Member
with the help of rfrost of bea:

http://forums.bea.com/bea/thread.jspa?messageID=400010199

i've finally got workshop for weblogic 9.2 up and running in mac os x
10.4.9!

with all the installing and uninstalling i've been doing trying to fix
stuff, i'd forgotten to recopy weblogic92/common/eclipse from my
working solaris installation to the mac! i had copied it originally,
but then i uninstalled everything from the mac to fix something, then
forgot to recopy weblogic92/common/eclipse.

so far, it looks like that's all she needed! workshop launches and
doesn't crash! no errors! no missing plugins! magnificent! now i just
need to see if i can do some actual work in her!

so, you guys can stop racking your brains. i've solved the problem
already. thanks just the same for looking in.

many thanks,
sun_certified
Previous Topic:Problem understanding Forms and Sections
Next Topic:SelectionProvider/SelectionListener
Goto Forum:
  


Current Time: Mon Sep 24 15:02:44 GMT 2018

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

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

Back to the top