users@glassfish.java.net

Re: 3.0.1Ear App Client starts when run from netbeans but not through web start

From: <glassfish_at_javadesktop.org>
Date: Mon, 26 Jul 2010 14:37:06 PDT

I am reposting this in response to Tim...


I am also getting this error when attempting to launch my Java client via WebStart after upgrading from GFv2 to v3. After the WebStart related exception is thrown it actually brings down the application Web Services until I restart the application. I can now reproduce this issue in my development and test environments. This is a major road block for us switching over to GFv3.

Tim, any help on this would be greatly appreciated. I am not using NetBeans at all. This is a basic enterprise application running on GFv3 with one hosted Java client, EJBs... The application server is running on a virtual instance of "Windows Server 2008 R2 Standard" and "Windows Server 2003 R2". I am deploying the application via the admin console and launching WebStart from the provided URL.


[#|2010-07-26T10:57:26.772-0700|INFO|oracle-glassfish3.0.1|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=43;_ThreadName=Thread-1;|SocketChannel headersjava.nio.channels.SocketChannel[connected local=/10.12.32.59:8080 remote=/10.12.176.234:3147] are:
=== MimeHeaders ===
content-type = application/x-java-archive
accept-encoding = pack200-gzip,gzip
user-agent = JNLP/6.0 javaws/1.6.0_20 (b02) Java/1.6.0_20
ua-java-version = 1.6.0_20
host = ilmn-swinder01:8080
cache-control = no-cache
pragma = no-cache
accept = text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
connection = keep-alive
if-modified-since = Fri, 23 Jul 2010 18:00:43 GMT
|#]

[#|2010-07-26T10:57:26.772-0700|SEVERE|oracle-glassfish3.0.1|javax.enterprise.system.container.appclient.org.glassfish.appclient.server.core.jws|_ThreadID=41;_ThreadName=Thread-1;|Adapter[/___JWSappclient/___app/omfg-ear-1.0-DEV] lib/hibernate-core-3.5.0-Final.jar
java.io.IOException: An established connection was aborted by the software in your host machine
at sun.nio.ch.SocketDispatcher.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:33)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
at sun.nio.ch.IOUtil.write(IOUtil.java:75)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
at com.sun.grizzly.util.OutputWriter.flushChannel(OutputWriter.java:106)
at com.sun.grizzly.util.OutputWriter.flushChannel(OutputWriter.java:74)
at com.sun.grizzly.http.SocketChannelOutputBuffer.flushChannel(SocketChannelOutputBuffer.java:321)
at com.sun.grizzly.http.SocketChannelOutputBuffer.flushBuffer(SocketChannelOutputBuffer.java:392)
at com.sun.grizzly.http.SocketChannelOutputBuffer.realWriteBytes(SocketChannelOutputBuffer.java:279)
at com.sun.grizzly.tcp.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:884)
at com.sun.grizzly.tcp.http11.filters.IdentityOutputFilter.doWrite(IdentityOutputFilter.java:155)
at com.sun.grizzly.tcp.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:640)
at com.sun.grizzly.tcp.Response.doWrite(Response.java:676)
at com.sun.grizzly.tcp.StaticResourcesAdapter.service(StaticResourcesAdapter.java:229)
at org.glassfish.appclient.server.core.jws.RestrictedContentAdapter.processContent(RestrictedContentAdapter.java:266)
at org.glassfish.appclient.server.core.jws.RestrictedContentAdapter.serviceContent(RestrictedContentAdapter.java:226)
at org.glassfish.appclient.server.core.jws.AppClientHTTPAdapter.service(AppClientHTTPAdapter.java:151)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
at java.lang.Thread.run(Thread.java:619)
|#]

[#|2010-07-26T10:57:26.772-0700|INFO|oracle-glassfish3.0.1|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=43;_ThreadName=Thread-1;|HTTP/1.1 200 OK
Last-Modified: Fri, 23 Jul 2010 18:00:43 GMT
Date: Mon, 26 Jul 2010 17:57:26 GMT
Content-Type: application/java-archive
Content-Length: 165786

PK   X÷<  META-INF/M]]”þú¡Õý
í¬sÛ\7±°ÃÄ
;9Ý8òKÏŸz•O†rSçx]ÄÇŒ«;9Ô«šƒ:
aßÍê„]çÜOHÂ8OÝÈ»©¿xà?aûËb^šÇÅíë÷çCèþÇsT€÷k~_¬åvr:£vÁ’[ešZýŸÓAÛù3Ÿ§]sãõ—߯øõœk&þÜù±ü´V~›¨ËŒª/”õ{€ZnÕ%çËÕ3·øüˆø,?"?ÿùþíû7ÙŠÁ-M¡«zè}}Ð xaÔÎX•S®Ïèò·K…ïßôƒ¼ÎB¿ƒ–^¶3/̣ƥ¼“y®màfé#aî]æÿóXö:ïBÁ¹…~Zü˜?è
<–?õõCJ]÷æž`›ÿµR[ÝthT±]¼¹ö??|sÒg P¢ºÏÊ?htsiÒh™gªU‰>ª•[•#AÕ:³^àÞK'8÷Òß ±~jhB×%$†qÁvà>
Ò´ y¯)d“Ø^ŽÒÐ¥R;†ÆôIná•Û¡ ÿµ±«Ó *Añcz
ý[¡T£®Ð>—sˬ&V¸ió¥cêÄ2§GçšjfÅòøܾ®{ÒÁ‡²÷Àî¼¾Öÿ޼ƜJ\±`×Âë9˜!0?oq’F
v(<{¼ôë•¿¨ ³?Á«?¸?³²†62‘?ê)Èæy˜"zE+ÂÈÂÓÒ3„C1öÉZ_Z.â`ÄÂB@¦#~Ò {buáòƒéìTƒŸ??ý’H =š¤¸fçÕA;0„¬g¡|®/› 4ö÷QÛE(op4±r§óÀ%I´âAa4ßÛ ±JôeÎçG fÿ(zǘýßNx A<y±¡C !DÙ±‘?³õ¸PHÞySõÒÊûsMÄSÀ;„LÙØD˜²HêÔR”õ<ÿ»•äë§Ø1œ«£;“Y¹«vðÛŸê&§ùŠ›ïF—ƒ2÷=_[ñ^Ñ9?«—úNŽbºá×3(1
$t?{Ñ÷’Y ˆnìjmGõúô`ù³Ýx«(Ú¦¬®xãÏkêHnñ1>Ä`{ñ¼W¾›†ph1<÷È? sP–‹°Fà½ù'‹õ"Ëÿ׎*ð–%þ? ®RžLÖZ- 35ÒE0Íry‚Ï£5Jµ!dJ??U1ÖRÆ?ñì¬fª=E5ï??ý°GM iu@ÚÍŠßÇ+{1’"A
¯ã9Îü`+a*‹±µç8ÃZ•Þï=y¼Ç?è¾çôp5ùDÑÛ!»7»p¦xö`b‰ã}u©„Ř£b¼À†ÂûžßÕ]K‰Þò°!…!Ãtˆ~?–?³êº“t½LèUÀS ²!»I¹mÉ°•.’‘Ë”P ˆ÷sp~ ñz\5©©0]ïq6¤‘¿¹¸£%?‚w6@Ä7N„L‚žÍú'6:%%VñE›ûƒ‡ÒÏÂû‰K^™g³EÀmõ|+Ø—
}Á ac
?bß¹§¿€Ž[RñL9Ö´üÄ\ ZçO+tV¢Ñá¿H&Í×Ì+/³P|½!ú?Dï?ìþ‘ÆoÙ;˜…à^
a›…^B‚£8ŒkP]M4’gó??xî˜6Üx€!Æàñºd¦0ʈHÞ ªÈ§
í DôzAþ—~*?4[Èû Ì]íá?/ð§K… Cºþè©ÿX?Ñô¯ÙË… "iO¶?¯j×÷„""íCó\Ié÷ïÓô®^°sJ
¢ "ËÑx³XØÀ
îÏL_éñýlôªÔÇ<?¶5“êú?LCÆV&ÑW !ÂGè¯"šFÈ5l;t°?ŒØ“0na"-95zknM¸ëÍM¯vF˜óÐÅ< 8²¬Õ)rR÷ê|^ûÆiûÿ¦×€ê ÓKÓ9NdV•º‘úäÛk?œÚÅ?þV‘Þyü u{M?_¶:ÞÝ„ˆ‚m*ÚAÔ¤+°³Uã plyú{uúŒý$aT?*mŽNêD<–>AN"w¦ï8
.ißç~^¯äÖðภÁfRz¢f[ Ïqó¦?£Ë`{äsŒ½ÞÇõãgDœEomsyÖPk¶NÊèhx3
(T¾UòjeY:·NÁ¶½µqtÏƲ‡¹¹’žN*F,Ç’w_at_IÛnª§n~·ëû©ðFÏ(ΡûÄ]ž$à´ãqc`ñÆÿÈõS²?6ìÑŽ›M=OÈ5?…ÔqÅÌFÙ »ïG=èû¶[z¡ÎÆ$ÆLWáäH–´?›¨dÍéxð@z$IT4µ;¬6º™;Ž
0)ñÈÕ߯íî.Eú³èÂNã…n™ó?´‡Vª"HÃ9
+
×g†@öó‡9îö1k×F ØýžCxŠ$ËÉùÿRfÿ Ç&="–´.iÉ>69«.š¦mUž½¡êq—Fý]?Îk bõ )£?"B?²9w2ûÔ?Úíý½¥¢-v-òTµ›pœ¸¥µñÖðpoöâÛÕ©²+è?®°9° ÖõÎQ2?У“6—£šG#œÃ¾À€ûKlLÉòI÷溉"T&.$§^|?-?¡ ÿ“%ôK·ç+•ÄißL)Ù»¶?nªr/]vC ï½ Àæ—ÄŽwl{ÚjÑXh=ûÂðùyc]SK? =ŽšƒìQo&2³6ðç|}ŒkL¶G—K28‡bòñɲÏ"šM $ÐØg’Ñʘº¡pÞRãR…x;¼ì>ûÐÁBÿÁ£U”îPß,é9º`ŒéYˆÁ™×:}ï×'[X:Ã+¥…5´Ë3$w¶rz9Zs;§vû/D¿
7LüŸÏå0×\ t ñâ¼ñvSÅfŠu—q8Pã!ÏÜ•—`UùÂøT`&+R‹ø^y†ižŸ˜CáÚ×£ïÇQŒå£ssa Õ8ÌÆÌY´,,³?MDúÙ7KX #;¤¾-Z6v/$O¦C÷á¥â
R?w“{?Þ9[éVZ-IÜÓ˜½ËÆB½?öÿEû¯ú±èPÖèz–S”¹^"³ØeE9Õ}ÕæÒ·?çÁgÊØ›´“ÍrËÌÍóÙò¹œ7CÌ¢?„ö·5©Ù…‘°%¬i›Ì8j†h<ïì˜éàÉï¿@Õ+æfÏî¥Ýi·?Ùzo/€]]Ôbú²{…{?d'xbË(œ—²Ú¶ ›
œ¿p
[Message sent by forum member 'tmcerwin']

http://forums.java.net/jive/thread.jspa?messageID=478598