Bug 76137 - [VM] o.e.jem.proxy: SLES9: BeanInfo remote VM terminates too soon
Summary: [VM] o.e.jem.proxy: SLES9: BeanInfo remote VM terminates too soon
Status: RESOLVED DUPLICATE of bug 73226
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: vm
Depends on:
Blocks:
 
Reported: 2004-10-12 21:29 EDT by Tom Roche CLA
Modified: 2004-10-27 10:26 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Roche CLA 2004-10-12 21:29:40 EDT
RAD Model2's SPF smoketest creates a Struts formbean, then create a
JSP that uses it. In creating the Struts JSP, the user selects a
formbean, then attempts to select fields from it to display. This
works in win32, but on SLES9 (with "fixed" /etc/hosts, see below):

> !ENTRY org.eclipse.jem.proxy 2 0 Oct 08, 2004 19:37:04.672
> !MESSAGE IWAV0138E Remote VM terminated too soon. See .log file for trace of
output. For VM "Project (troubleticket)-Beaninfo".
> IWAV0072I Remote VM terminated before any commands can be sent. Following are
the error and output streams.
> -- Error Stream --

> -- Output Stream --

> -- End of Stream Output --

> !ENTRY org.eclipse.jem.proxy 2 0 Oct 08, 2004 19:38:04.301
> !MESSAGE No Server to retrieve a connection.

> !ENTRY org.eclipse.core.runtime 4 2 Oct 08, 2004 19:38:04.310
> !MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.core.runtime".
> !STACK 0
> java.lang.IllegalStateException: IWAV0171E Could not create a socket
connection to remote vm.
>   at
org.eclipse.jem.internal.proxy.remote.REMProxyFactoryRegistry.createConnection(REMProxyFactoryRegistry.java:399)
>   at
org.eclipse.jem.internal.proxy.remote.REMProxyFactoryRegistry.getFreeConnection(REMProxyFactoryRegistry.java:334)
>   at
org.eclipse.jem.internal.proxy.remote.REMStandardBeanTypeProxyFactory.getBeanTypeProxy(REMStandardBeanTypeProxyFactory.java:286)
>   at
org.eclipse.jem.internal.proxy.remote.REMStandardBeanTypeProxyFactory.getBeanTypeProxy(REMStandardBeanTypeProxyFactory.java:237)
>   at
org.eclipse.jem.internal.beaninfo.adapters.BeaninfoProxyConstants.<init>(BeaninfoProxyConstants.java:98)
>   at
org.eclipse.jem.internal.beaninfo.adapters.BeaninfoProxyConstants.getConstants(BeaninfoProxyConstants.java:89)
>   at
org.eclipse.jem.internal.beaninfo.core.Utilities.setBeanInfoSearchPath(Utilities.java:332)
>   at
org.eclipse.jem.internal.beaninfo.adapters.BeaninfoNature.setProxySearchPath(BeaninfoNature.java:427)
>   at
org.eclipse.jem.internal.beaninfo.adapters.BeaninfoNature$ConfigurationContributor.contributeToRegistry(BeaninfoNature.java:935)
>   at
org.eclipse.jem.internal.proxy.core.ProxyLaunchSupport$3.run(ProxyLaunchSupport.java:445)
>   at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
>   at org.eclipse.core.runtime.Platform.run(Platform.java:747)
>   at
org.eclipse.jem.internal.proxy.core.ProxyLaunchSupport.startImplementation(ProxyLaunchSupport.java:439)
>   at
org.eclipse.jem.internal.proxy.core.ProxyLaunchSupport.startImplementation(ProxyLaunchSupport.java:295)
>   at
org.eclipse.jem.internal.beaninfo.adapters.BeaninfoNature.createRegistry(BeaninfoNature.java:393)
>   at
org.eclipse.jem.internal.beaninfo.adapters.CreateRegistryJobHandler.doCreateRegistry(CreateRegistryJobHandler.java:154)
>   at
org.eclipse.jem.internal.beaninfo.adapters.UICreateRegistryJobHandler$1.run(UICreateRegistryJobHandler.java:85)
>   at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)

This causes the workbench to hang (with rotating-clockhands mouse
icon) for awhile, but eventually it returns. The JSP wizard can then
be reinvoked, and the appropriate page comes up with the appropriate
fields listed.

Note that this box does NOT have the IPv6/localhost problem: its
/etc/hosts is (entry for self removed)

#
# hosts         This file describes a number of hostname-to-address
#               mappings for the TCP/IP subsystem.  It is mostly
#               used at boot time, when no name servers are running.
#               On small systems, this file can be used instead of a
#               "named" name server.
# Syntax:
#
# IP-Address  Full-Qualified-Hostname  Short-Hostname
#

127.0.0.1       localhost

# special IPv6 addresses
# GMJ 20040928 - Removed "localhost" from the list.  It causes problems
#                in org.eclipse.jem bean introspection (which launches a
#                separate JVM with which it communicates via a localhost
#                socket).
#::1             localhost ipv6-localhost ipv6-loopback
::1             ipv6-localhost ipv6-loopback

fe00::0         ipv6-localnet

ff00::0         ipv6-mcastprefix
ff02::1         ipv6-allnodes
ff02::2         ipv6-allrouters
ff02::3         ipv6-allhosts
Comment 1 Frederic Fusier CLA 2004-10-27 10:26:11 EDT
Looks like a duplicate...

*** This bug has been marked as a duplicate of 73226 ***