Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jul 2004 12:34:58 +0200
From:      Dule <dule@myrealbox.com>
To:        freebsd-java@freebsd.org
Subject:   Eclipse: Tomcat plugin problem
Message-ID:  <20040705123458.753696da@arthur.net>

next in thread | raw e-mail | index | archive | help
--Signature=_Mon__5_Jul_2004_12_34_58_+0200_Mnb/3q_qg1uI1cpr
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

I've got a problem with tomcat plugin for eclipse. I cannot start tomcat
from eclipse. The error log is at the end. I've got following software
installed (I hope that I didn't forget something):

FreeBSD arthur.net 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Tue Jun  1 17:01:36
CEST 2004

eclipse-2.1.3_1
jakarta-tomcat-5.0.24
diablo-jdk-1.3.1.0
jdk-1.4.2p6_4

And I've tried latest two version of tomcat plugin
 com.sysdeo.eclipse.tomcat_3.0.0.alpha1
 com.sysdeo.eclipse.tomcat_2.2.1

Eclipse sttings
----------------
Preferences>Java>Installed JREs:
  jdk1.4.2 is checked

Preferecnces>Tomcat:
  Tomcat version: 5.x
  Tomcat home: /usr/local/jakarta-tomcat5.0
  Conf. file: /usr/local/jakarta-tomcat5.0/conf/server.xml

Preferecnces>Tomcat>JVM Settings:
  JRE 1.4.2

And when I choose Tomcat>Start Tomcat there's an error in logs...

Also if I change JDK/JRE1.4.2 to JDK/JRE1.3.1 in Eclipse settings (both Java
and Tomcat) I've got core dump when try to Start Tomcat.

Error log:
/------------------------------\
!ENTRY com.sysdeo.eclipse.tomcat 4 4 Jul 04, 2004 23:02:22.96
!MESSAGE Starting Tomcat...

!ENTRY com.sysdeo.eclipse.tomcat 4 4 Jul 04, 2004 23:02:23.523
!MESSAGE Impossible to start Tomcat
Check home directory setup in Tomcat preference page/n

!ENTRY com.sysdeo.eclipse.tomcat 4 4 Jul 04, 2004 23:02:23.533
!MESSAGE org.eclipse.core.runtime.CoreException: Error [61] in
gethostbyname() call! err:: Connection refused
Socket transport failed to init.
Transport dt_socket failed to initialize, rc = -1.

        at org.eclipse.jdt.launching.AbstractVMRunner.abort(AbstractVMRunner.java:44)
        at org.eclipse.jdt.internal.launching.StandardVMDebugger.checkErrorMessage(StandardVMDebugger.java:299)
        at org.eclipse.jdt.internal.launching.StandardVMDebugger.run(StandardVMDebugger.java:235)
        at com.sysdeo.eclipse.tomcat.VMLauncherUtility.runVM(VMLauncherUtility.java:81)
        at com.sysdeo.eclipse.tomcat.TomcatBootstrap.runTomcatBootsrap(TomcatBootstrap.java:180)
        at com.sysdeo.eclipse.tomcat.TomcatBootstrap.start(TomcatBootstrap.java:79)
        at com.sysdeo.eclipse.tomcat.actions.StartActionDelegate.run(StartActionDelegate.java:38)
        at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
        at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:207)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
        at org.eclipse.jface.action.ActionContributionItem.access$000(ActionContributionItem.java:44)
        at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:923)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1847)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1639)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
        at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
        at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
        at org.eclipse.core.boot.BootLoader.run(BootLoader.java:468)
        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.basicRun(Main.java:291)
        at org.eclipse.core.launcher.Main.run(Main.java:747)
        at org.eclipse.core.launcher.Main.main(Main.java:583)
\------------------------------/

Any ideas?

-- 
If an item is advertised as "under $50," you can bet it's not $19.95.
--
Dule aka Giles
  Web: http://isel.t35.com/Blog
  Jabber: marvin[at]elitesecurity.org | ICQ[33359062]
  GnuPG/PGP key: http://ckrew.f2g.net/giles.asc

--Signature=_Mon__5_Jul_2004_12_34_58_+0200_Mnb/3q_qg1uI1cpr
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFA6S7cgemKuL70lC8RApiDAJ4hmWK0U2Uak5RfgesXB/T0uNcFggCaAxeW
ujQyGhmRQO83G1a396FN9ao=
=bX4x
-----END PGP SIGNATURE-----

--Signature=_Mon__5_Jul_2004_12_34_58_+0200_Mnb/3q_qg1uI1cpr--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040705123458.753696da>