[JBoss Tools] - Eclipse org.eclipse.swt.SWTError: Item not added
by nimo stephan
nimo stephan [http://community.jboss.org/people/nimo22] created the discussion
"Eclipse org.eclipse.swt.SWTError: Item not added"
To view the discussion, visit: http://community.jboss.org/message/567406#567406
--------------------------------------------------------------
I am using the actual RFTools Version and the actual Eclipse (Galileo) and get sporadically failures within my gui which is really annoying:
Sporadically, I cannot select any items of my taskbar when eclipse is running and there are other strange bugs when running eclipse, such as not viewing sub-menus.
After making an update to the actual rf-plugins, I get this error which prevents me from opening eclipse.
!ENTRY org.eclipse.osgi 4 0 2010-10-20 14:48:36.745
!MESSAGE Application error
!STACK 1
org.eclipse.swt.SWTError: Item not added
at org.eclipse.swt.SWT.error(SWT.java:4109)
at org.eclipse.swt.SWT.error(SWT.java:3998)
at org.eclipse.swt.SWT.error(SWT.java:3969)
at org.eclipse.swt.widgets.Widget.error(Widget.java:468)
at org.eclipse.swt.widgets.Menu.createItem(Menu.java:516)
at org.eclipse.swt.widgets.MenuItem.<init>(MenuItem.java:133)
at org.eclipse.jface.action.ActionContributionItem.fill(ActionContributionItem.java:269)
at org.eclipse.jface.action.MenuManager.doItemFill(MenuManager.java:737)
at org.eclipse.jface.action.MenuManager.update(MenuManager.java:818)
at org.eclipse.jface.action.MenuManager.update(MenuManager.java:678)
at org.eclipse.ui.internal.menus.WorkbenchMenuService.updateManagers(WorkbenchMenuService.java:338)
at org.eclipse.ui.internal.menus.WorkbenchMenuService$4.propertyChange(WorkbenchMenuService.java:316)
at org.eclipse.ui.internal.services.EvaluationAuthority$1.run(EvaluationAuthority.java:252)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.services.EvaluationAuthority.fireServiceChange(EvaluationAuthority.java:246)
at org.eclipse.ui.internal.services.EvaluationAuthority.endSourceChange(EvaluationAuthority.java:197)
at org.eclipse.ui.internal.services.EvaluationAuthority.sourceChanged(EvaluationAuthority.java:135)
at org.eclipse.ui.internal.services.ExpressionAuthority.sourceChanged(ExpressionAuthority.java:311)
at org.eclipse.ui.internal.services.ExpressionAuthority.sourceChanged(ExpressionAuthority.java:290)
at org.eclipse.ui.AbstractSourceProvider.fireSourceChanged(AbstractSourceProvider.java:99)
at org.eclipse.ui.internal.contexts.ActiveContextSourceProvider.contextManagerChanged(ActiveContextSourceProvider.java:57)
at org.eclipse.core.commands.contexts.ContextManager.fireContextManagerChanged(ContextManager.java:165)
at org.eclipse.core.commands.contexts.ContextManager.setEventCaching(ContextManager.java:324)
at org.eclipse.core.commands.contexts.ContextManager.deferUpdates(ContextManager.java:83)
at org.eclipse.ui.internal.contexts.ContextAuthority.sourceChanged(ContextAuthority.java:673)
at org.eclipse.ui.internal.services.ExpressionAuthority.sourceChanged(ExpressionAuthority.java:310)
at org.eclipse.ui.internal.services.ExpressionAuthority.sourceChanged(ExpressionAuthority.java:290)
at org.eclipse.ui.AbstractSourceProvider.fireSourceChanged(AbstractSourceProvider.java:99)
at org.eclipse.ui.internal.services.WorkbenchSourceProvider.checkActivePart(WorkbenchSourceProvider.java:401)
at org.eclipse.ui.internal.services.WorkbenchSourceProvider.checkActivePart(WorkbenchSourceProvider.java:300)
at org.eclipse.ui.internal.services.WorkbenchSourceProvider.handleCheck(WorkbenchSourceProvider.java:286)
at org.eclipse.ui.internal.services.WorkbenchSourceProvider.checkOtherSources(WorkbenchSourceProvider.java:858)
at org.eclipse.ui.internal.services.WorkbenchSourceProvider$6.handleEvent(WorkbenchSourceProvider.java:842)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1253)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058)
at org.eclipse.swt.widgets.Decorations.WM_ACTIVATE(Decorations.java:1635)
at org.eclipse.swt.widgets.Shell.WM_ACTIVATE(Shell.java:2114)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4157)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1598)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2038)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873)
at org.eclipse.swt.internal.win32.OS.BringWindowToTop(Native Method)
at org.eclipse.swt.widgets.Decorations.bringToTop(Decorations.java:230)
at org.eclipse.swt.widgets.Shell.open(Shell.java:1194)
at org.eclipse.jface.window.Window.open(Window.java:797)
at org.eclipse.ui.internal.WorkbenchWindow.open(WorkbenchWindow.java:790)
at org.eclipse.ui.internal.Workbench$66.runWithException(Workbench.java:3660)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
Is this a bug from Eclipse or from RFTools. I cannot work with Eclipse anymore.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/567406#567406]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 2 months
[JBoss Remoting] - Re: SSL calls thru a proxy with authentication?
by Matt Carless
Matt Carless [http://community.jboss.org/people/mnccouk] created the discussion
"Re: SSL calls thru a proxy with authentication?"
To view the discussion, visit: http://community.jboss.org/message/563545#563545
--------------------------------------------------------------
I would also like to know how to connect jboss through a proxy that requires authentication.
I have tried
java.net.Authenticator.setDefault(new ProxyAuthenticator("user", "pass"));
System.setProperty("http.proxySet", "true");
System.setProperty("http.proxyHost", "proxy");
System.setProperty("http.proxyPort", "8080");
with this authenticator
import java.net.PasswordAuthentication;
public class ProxyAuthenticator extends java.net.Authenticator{
private String user, password;
public ProxyAuthenticator(String user, String password) {
this.user = user;
this.password = password;
}
protected PasswordAuthentication getPasswordAuthentication() {
return new PasswordAuthentication(user, password.toCharArray());
}
}
and I receoive a HTTP 407 proxyauthentication error.
The reason I need to do this is to access an external webservice from within a jboss app.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/563545#563545]
Start a new discussion in JBoss Remoting at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 2 months
[JBoss Messaging] - Connecting to JBoss MQ from JBM 1.4
by Ivan RODODENDRO
Ivan RODODENDRO [http://community.jboss.org/people/rododendro.ivan] created the discussion
"Connecting to JBoss MQ from JBM 1.4"
To view the discussion, visit: http://community.jboss.org/message/567345#567345
--------------------------------------------------------------
Hello,
I'm trying to connecting to a remote JBoss MQ Provider ( Jboss AS 4.2.2 ) from a JBM client (AS 5.1.0), I've configured a remote provider in jms-ds as indicated here http://community.jboss.org/docs/DOC-9893 http://community.jboss.org/wiki/HowDoIConfigureAnMDBToTalkToARemoteQueue but at server startup I get this errror :
{code}
08:56:59,756 ERROR [JmsActivation] Unable to reconnect org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@13d9e14(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter(a)1dfae24 destination=topic/requestTopic destinationType=javax.jms.Topic selector=(applica
tionName = 'references') OR (applicationName = 'ocea') tx=true durable=false clientID=jboss5 subscription=GenericServiceActivator reconnect=10 provider=java:/ProxyJMSProvider user=null maxMessages=1 minSession=1 maxSession=5 keepAlive=60000 useDLQ=true DLQHand
ler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=5) java.lang.ClassCastException: Object at 'queue/DLQ' in context {java.naming.factory.initial=org.jnp.interfaces.NamingContextFactor
y, java.naming.provider.url=172.20.21.54:1099, java.naming.factory.url.pkgs=org.jnp.interfaces:org.jboss.naming:org.jnp.interfaces, hostKey=/172.20.21.54:1099} is not an instance of [class=javax.jms.Queue classloader=BaseClassLoader@29483{vfsfile:/C:/DevTools/
Serveurs/jboss-5.1.0.GA/server/default/conf/jboss-service.xml} interfaces={interface=javax.jms.Destination classloader=BaseClassLoader@29483{vfsfile:/C:/DevTools/Serveurs/jboss-5.1.0.GA/server/default/conf/jboss-service.xml}}] object class is [class=javax.naming.Reference classloader=null interfaces={interface=java.lang.Cloneable classloader=null, interface=java.io.Serializable classloader=null}]
at org.jboss.util.naming.Util.checkObject(Util.java:338)
at org.jboss.util.naming.Util.lookup(Util.java:223)
at org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler.setupDLQDestination(AbstractDLQHandler.java:106)
at org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler.setup(AbstractDLQHandler.java:82)
at org.jboss.resource.adapter.jms.inflow.dlq.JBossMQDLQHandler.setup(JBossMQDLQHandler.java:48)
at org.jboss.resource.adapter.jms.inflow.JmsActivation.setupDLQ(JmsActivation.java:413)
at org.jboss.resource.adapter.jms.inflow.JmsActivation.setup(JmsActivation.java:351)
at org.jboss.resource.adapter.jms.inflow.JmsActivation.handleFailure(JmsActivation.java:292)
at org.jboss.resource.adapter.jms.inflow.JmsActivation$SetupActivation.run(JmsActivation.java:733)
at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:205)
at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:260)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
08:56:59,756 ERROR [JmsActivation] Unable to reconnect org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@13d9e14(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter(a)1dfae24 destination=topic/requestTopic destinationType=javax.jms.Topic selector=(applica
tionName = 'references') OR (applicationName = 'ocea') tx=true durable=false clientID=jboss5 subscription=GenericServiceActivator reconnect=10 provider=java:/ProxyJMSProvider user=null maxMessages=1 minSession=1 maxSession=5 keepAlive=60000 useDLQ=true DLQHand
ler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=5) java.lang.ClassCastException: Object at 'queue/DLQ' in context {java.naming.factory.initial=org.jnp.interfaces.NamingContextFactor
y, java.naming.provider.url=172.20.21.54:1099, java.naming.factory.url.pkgs=org.jnp.interfaces:org.jboss.naming:org.jnp.interfaces, hostKey=/172.20.21.54:1099} is not an instance of [class=javax.jms.Queue classloader=BaseClassLoader@29483{vfsfile:/C:/DevTools/
Serveurs/jboss-5.1.0.GA/server/default/conf/jboss-service.xml} interfaces={interface=javax.jms.Destination classloader=BaseClassLoader@29483{vfsfile:/C:/DevTools/Serveurs/jboss-5.1.0.GA/server/default/conf/jboss-service.xml}}] object class is [class=javax.naming.Reference classloader=null interfaces={interface=java.lang.Cloneable classloader=null, interface=java.io.Serializable classloader=null}]
at org.jboss.util.naming.Util.checkObject(Util.java:338)
at org.jboss.util.naming.Util.lookup(Util.java:223)
at org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler.setupDLQDestination(AbstractDLQHandler.java:106)
at org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler.setup(AbstractDLQHandler.java:82)
at org.jboss.resource.adapter.jms.inflow.dlq.JBossMQDLQHandler.setup(JBossMQDLQHandler.java:48)
at org.jboss.resource.adapter.jms.inflow.JmsActivation.setupDLQ(JmsActivation.java:413)
at org.jboss.resource.adapter.jms.inflow.JmsActivation.setup(JmsActivation.java:351)
at org.jboss.resource.adapter.jms.inflow.JmsActivation.handleFailure(JmsActivation.java:292)
at org.jboss.resource.adapter.jms.inflow.JmsActivation$SetupActivation.run(JmsActivation.java:733)
at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:205)
at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:260)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908){code}
any ideas ?
Ivan
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/567345#567345]
Start a new discussion in JBoss Messaging at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 2 months