users@glassfish.java.net

RE: ERROR: mmap failed for CEN and END part of zip file

From: Martin Gainty <mgainty_at_hotmail.com>
Date: Sat, 7 Feb 2009 20:13:28 -0500

Satyajit--

the failed operation happens in mmap function..you'll have to get the code from SUN Microsystems..
00538 mappedAddr = mmap(0, zip->mlen, PROT_READ, MAP_SHARED, zip->zfd, offset);
00539 zip->maddr = (mappedAddr == (void*) MAP_FAILED) ? NULL :
00540 (unsigned char*)mappedAddr;
00541
00542 if (zip->maddr == NULL) {
00543 jio_fprintf(stderr, "mmap failed for CEN and END part of zip file\n");
00544 goto Catch;
00545 }

Let me know if you can acquire the CVS link which contains the source..

Thanks/
Martin
______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission.




Date: Sun, 8 Feb 2009 00:52:35 +0530
From: Satyajit.Tripathi_at_Sun.COM
To: users_at_glassfish.dev.java.net
CC: Satyajit.Tripathi_at_Sun.COM
Subject: ERROR: mmap failed for CEN and END part of zip file








Hi there,



I am running into a peculiar issue as "mmap failed for CEN and END part of zip file"





bash-3.00# ./asadmin
start-node-agent --syncinstances=true node1

Please enter the admin user name>admin

Please enter the admin password>

Please enter the master password [Enter to accept the default]:>

Redirecting output to
/opt/glassfish/nodeagents/node1/agent/logs/server.log

Redirecting application output to
/opt/glassfish/nodeagents/node1/agent/logs/server.log

Redirecting output to
/opt/glassfish/nodeagents/node1/server10/logs/server.log

mmap failed for CEN and END part of zip file

Command start-node-agent executed successfully.







Instance 'server10' does not start. This was working earlier w.o.
errors. I am not sure what is this error and how to resolve it. Any
guidance will be appreciated.

PS : I am using Solaris10 SPARC with jdk 1.6.0_10.



Thanks & regards

--Satya



-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SATYAJIT TRIPATHI
ISV Engineering APAC
Sun Microsystems India Private Limited
Bangalore 560025
DID : +91 80 66937865
Mobile: +91 9886019892
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net
_________________________________________________________________
Windows Live™: E-mail. Chat. Share. Get more ways to connect. 
http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_AE_Faster_022009