forrest-user mailing list archives

Anil Ramnanan wrote:
> I suggest that you try importing the the plugins without using
> subclipse and see if that works.
Yes the three projects built fine. Thanks for the howto on eclipse
import from FORREST_HOME/tools/eclipse
Getting a bit further in the readme.txt file
...
To run this plugins in a development environemnt:
- right click on te forrestplugin project and select Run...
- select Eclipse Application and click the New button
- give the new configuration a sensible name and click Run
...
I didn't get to the New button but a RCP window popped up with edit
facilities for site, tabs and locationmap. The new errors relate to
log4j. Errors pasted below. Any help getting the logging working would
be appreciated. Thanks.
Kevin
log4j:ERROR Could not connect to remote log4j server at [localhost]. We
will try again later.
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:452)
at java.net.Socket.connect(Socket.java:402)
at java.net.Socket.<init>(Socket.java:309)
at java.net.Socket.<init>(Socket.java:153)
at org.apache.log4j.net.SocketAppender.connect(SocketAppender.java:195)
at org.apache.log4j.net.SocketAppender.activateOptions
(SocketAppender.java:152)
at org.apache.log4j.config.PropertySetter.activate
(PropertySetter.java:247)
at org.apache.log4j.xml.DOMConfigurator.parseAppender
(DOMConfigurator.java:210)
at org.apache.log4j.xml.DOMConfigurator.findAppenderByName
(DOMConfigurator.java:140)
at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference
(DOMConfigurator.java:153)
at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement
(DOMConfigurator.java:415)
at org.apache.log4j.xml.DOMConfigurator.parseRoot
(DOMConfigurator.java:384)
at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783)
at org.apache.log4j.xml.DOMConfigurator.doConfigure
(DOMConfigurator.java:666)
at org.apache.log4j.xml.DOMConfigurator.doConfigure
(DOMConfigurator.java:616)
at org.apache.log4j.xml.DOMConfigurator.doConfigure
(DOMConfigurator.java:602)
at org.apache.log4j.xml.DOMConfigurator.configure
(DOMConfigurator.java:697)
at org.apache.forrest.eclipse.ForrestPlugin.configureLog
(ForrestPlugin.java:169)
at org.apache.forrest.eclipse.ForrestPlugin.start
(ForrestPlugin.java:162)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run
(BundleContextImpl.java:994)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:988)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start
(BundleContextImpl.java:969)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker
(BundleHost.java:321)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start
(AbstractBundle.java:266)
at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass
(EclipseClassLoader.java:116)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass
(BundleLoader.java:337)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass
(BundleLoader.java:389)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass
(BundleLoader.java:350)
at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass
(AbstractClassLoader.java:78)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass
(BundleLoader.java:275)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass
(BundleHost.java:227)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass
(AbstractBundle.java:1259)
at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:152)
at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:142)
at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:129)
at
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:48)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run
(PlatformActivator.java:222)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
Invalid Menu Extension (Path is invalid):
org.eclipse.update.ui.updateMenu
Invalid Menu Extension (Path is invalid):
org.eclipse.update.ui.configManager
Invalid Menu Extension (Path is invalid):
org.eclipse.update.ui.newUpdates
Invalid Menu Extension (Path is invalid):
org.eclipse.ui.actions.showKeyAssistHandler
Invalid Menu Extension (Path is invalid):
org.eclipse.ui.edit.text.gotoLastEditPosition