facebook

Problems when Debugging with JBoss

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #211689 Reply

    – System Setup ——————————-
    Operating System and version: Windows NT SP6a
    Eclipse version: 3.0
    Eclipse build id: I200406251208
    Fresh Eclipse install (y/n): y
    If not, was it upgraded to its current version using the update manager?
    Other installed external plugins:
    Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 8
    MyEclipse version: 3.8 Beta 2
    Eclipse JDK version: 1.4.2_04-b05
    JBoss Version: 3.24
    Application Server JDK version: 1.4.1_05
    Are there any exceptions in the Eclipse log file?

    !SESSION Aug 09, 2004 13:28:31.212 ———————————————
    eclipse.buildId=I200406251208
    java.version=1.4.2_04
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
    Command-line arguments: -showlocation

    !ENTRY org.eclipse.ui 4 4 Aug 09, 2004 13:28:31.212
    !MESSAGE Unhandled event loop exception

    !ENTRY org.eclipse.ui 4 0 Aug 09, 2004 13:28:31.232
    !MESSAGE Widget is disposed
    !STACK 0
    org.eclipse.swt.SWTException: Widget is disposed
    at org.eclipse.swt.SWT.error(SWT.java:2691)
    at org.eclipse.swt.SWT.error(SWT.java:2616)
    at org.eclipse.swt.SWT.error(SWT.java:2587)
    at org.eclipse.swt.widgets.Widget.error(Widget.java:381)
    at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:283)
    at org.eclipse.swt.widgets.Table.getItems(Table.java:1254)
    at org.eclipse.jface.viewers.CheckboxTableViewer.preservingSelection(CheckboxTableViewer.java:266)
    at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:949)
    at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:906)
    at com.genuitec.eclipse.ast.deploy.core.ui.dialog.DeploymentManagerDialog$7.run(Unknown Source)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:106)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2749)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2434)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
    at org.eclipse.core.launcher.Main.run(Main.java:644)
    at org.eclipse.core.launcher.Main.main(Main.java:628)
    – Message Body ——————————-

    Hi,
    I have a problem when debugging a Web Application with MyEclipse and JBoss. Sometimes it happens, that the JBoss-Server hangs. When I try to stop, I get the following output in the console:
    13:34:12,863 INFO [Server] LifeThread.run exits!
    13:34:12,873 INFO [Server] Shutting down the JVM now!
    13:34:12,883 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
    13:34:12,883 INFO [TomcatDeployer] undeploy, ctxPath=/werkbank, warUrl=file:/D:/Java/jboss-3.2.4/server/si/tmp/deploy/tmp8429WerkbankBestellungEnterpriseApp.ear-contents/WerkbankBestellungWebApp.war/
    13:34:13,013 INFO [StandardWrapper] Waiting for 1 instance(s) to be deallocated
    13:34:14,015 INFO [StandardWrapper] Waiting for 1 instance(s) to be deallocated
    13:34:15,016 INFO [StandardWrapper] Waiting for 1 instance(s) to be deallocated

    Additionally a stacktrace is written in the .metadata/.log file (see above). The problem is that MyEclipse does not recognize, that JBoss has stopped (the JBoss is no longer visible in the task manager) and still displays several threads. I can no longer debug. I have to restart Eclipse in order to work on.

    Any suggestion will be appreciated.

    With Best Regards

    Bernhard Berbuir

    #211696

    Riyad Kalla
    Member

    Bernhard,
    The first culprit I see is that you are using two different JDK’s, one to run Eclipse and one to run JBoss… could you try running them both with the 1.4.2 install you have and see if the problem goes away all the sudden?

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Problems when Debugging with JBoss

You must be logged in to post in the forum log in