Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumshow do i make a 2nd plugins directory available to eclipse?
https://www.eclipse.org/forums/index.php/mv/msg/148625/467605/#msg_467605
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:
!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.
!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)]]>sun_certified2007-05-08T21:37:54-00:00Re: how do i make a 2nd plugins directory available to eclipse?
https://www.eclipse.org/forums/index.php/mv/msg/148625/467630/#msg_467630
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
=====================================
=====================================
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]]>sun_certified2007-05-09T10:39:00-00:00Re: how do i make a 2nd plugins directory available to eclipse?
https://www.eclipse.org/forums/index.php/mv/msg/148625/467660/#msg_467660
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]]>sun_certified2007-05-09T20:35:57-00:00