This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 123145 - EOFException SJSAS EE 9.1.1 added as remote host
Summary: EOFException SJSAS EE 9.1.1 added as remote host
Status: RESOLVED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
: 123625 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-11-30 15:40 UTC by nouar38
Modified: 2008-06-21 00:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
server.log from linux personal enterprise domain (19.56 KB, text/plain)
2007-11-30 15:44 UTC, nouar38
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nouar38 2007-11-30 15:40:27 UTC
Installed SJSAS EE 9.1.1 B10 (sjsas_ee-9_1_1-linux.bin) on my Linuxbox  (RHEL 4.0 u4)from
http://javaweb.sfbay/java/re/glassfish/9.1.1/promoted/fcs/b10/bundles

Registered domain1 (DAS with 1 node agent started) as a GF v2 with IDE- NB 6.1 daily 200711270000 & jdk1.6u3, started
the domain with IDE.

Added as Remote GF v2 host on solaris box running Gf v2 ur1-09a  with IDE- daily NB 6.1 daily 200711281200 & jdk1.6u3

Got a "Certification Agreement" window on IDE solaris-sparc with "Accept or Reject buttons", after Accept, the remote
node is added but cannot see the start status.

Refresh action on the remote server node shows the start status as expected.

In the remote server log file can see the following exception:

StandardWrapperValve[RemoteJmxConnectorServlet]: PWC1406: Servlet.service() for servlet RemoteJmxConnectorServlet threw
exception
java.io.EOFException
       at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2279)
       at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2748)
       at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:780)
       at java.io.ObjectInputStream.<init>(ObjectInputStream.java:280)
       at
com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.readRequestMessage(RemoteJmxConnectorServlet.java:202)
at
com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:121)
       at
com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:193)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
..etc

Got this exception for both domain1 and a personal domain created with Enterprise profile using IDE wizard (also started
with IDE-Linux).
Comment 1 nouar38 2007-11-30 15:44:28 UTC
Created attachment 53719 [details]
server.log from linux personal enterprise domain
Comment 2 Vince Kraemer 2007-12-14 19:59:48 UTC
*** Issue 123625 has been marked as a duplicate of this issue. ***
Comment 3 Vince Kraemer 2008-02-05 17:01:41 UTC
this looks like it is a platform mismatch issue... you have v2 code trying to connect to v2.1.  This isn't a supported
configuration.  We should have a better error message, though...

One quick test... can you use the asadmin command on your linux box to run commands against the remote server?
Comment 4 Nitya Doraisamy 2008-03-01 00:18:37 UTC
The plugin should display an error message with appropriate information if it us unable to refresh the status successfully.
Comment 5 Vince Kraemer 2008-03-05 01:17:37 UTC
I am trying to find the issue that is user-visible here.

There is an exception in the server log... but if that doesn't produce ill-effects for the user in the IDE... do we
really care p3 worth....

the other question is this.... do we get clued up on the issue that the server is having via the APIs that we use.  We
cannot tell the user something is "wrong" if we do not get told...
Comment 6 Vince Kraemer 2008-04-26 04:50:08 UTC
I missed tis one.
Comment 7 Vince Kraemer 2008-06-21 00:58:36 UTC
I am using v2 ur2 bits to talk to a remote v2.1 b38... solaris x86 to solaris x86... in a recently pulled trunk build of nb.

reopen if you see this again. please include details about

version of GF bits installed and running on the remote server.
version of GF bits used to define the "Platform Location" for the remote domain registered in the IDE.