Hey I am facing the same kind of issue please anyone let me know how to resolve it ...
Plz respond ASAP....
Follow the below steps for installing glassfish server and the creating new domain
1. Copy the JAR file glassfish-installer-v2.1-b60e-windows.jar to the directory where you want to install glassfish (Eg. E:\ glassfish-installer-v2.1-b60e-windows.jar )
2. Open CMD and navigate to E:\ drive
3. Execute the command - java -Xmx256m -jar glassfish-installer-v2.1-b60e-windows.jar
java -Xmx256m glassfish-installer-v2.1.1-b31g-windows
4. A new directory E:\glassfish would be created
5. Navigate to E:\glassfish\ folder in the CMD
6. Execute the command - lib\ant\bin\ant -f setup.xml
7. Now navigate to E:\glassfish\bin and create a new domain using the following commands
a. asadmin
b. asadmin > create-domain --adminport 5050 --instanceport 8085 ldcsserver
8. provide the admin credentials – username –admin and password – adminadmin
9. the new domain will be created
10. If after command 6 error like build.xml failed is coming then plz remove ur already existing class_path from environment variables.
11. During installation u might get tools.jar not found then for that check the path and java_home environment variables set the correct jdk.
12. During server creation new domain name picked by server is domain 1 so if u are getting error like domain1 doesn’t exist then change ur server name under domain to domain1.
After installing the domain. Add a new server in the servers tab and point the server runtime to the director where the new domain has been installed - E:\glassfish\domains\ldcsserver
p
glassfish\javadb\demo\programs\scores\java\client\org\apache\derbyDemo\scores\da
ta
glassfish\javadb\demo\programs\scores\java\common
glassfish\javadb\demo\programs\scores\java\common\org
glassfish\javadb\demo\programs\scores\java\common\org\apache
glassfish\javadb\demo\programs\scores\java\common\org\apache\derbyDemo
glassfish\javadb\demo\programs\scores\java\common\org\apache\derbyDemo\scores
glassfish\javadb\demo\programs\scores\java\common\org\apache\derbyDemo\scores\ut
il
glassfish\javadb\demo\programs\scores\java\server
glassfish\javadb\demo\programs\scores\java\server\org
glassfish\javadb\demo\programs\scores\java\server\org\apache
glassfish\javadb\demo\programs\scores\java\server\org\apache\derbyDemo
glassfish\javadb\demo\programs\scores\java\server\org\apache\derbyDemo\scores
glassfish\javadb\demo\programs\scores\java\server\org\apache\derbyDemo\scores\pr
oc
glassfish\javadb\demo\programs\simple
glassfish\javadb\demo\programs\simplemobile
glassfish\javadb\demo\programs\toursdb
glassfish\javadb\demo\programs\vtis
glassfish\javadb\demo\programs\vtis\data
glassfish\javadb\demo\programs\vtis\java
glassfish\javadb\demo\programs\vtis\java\org
glassfish\javadb\demo\programs\vtis\java\org\apache
glassfish\javadb\demo\programs\vtis\java\org\apache\derbyDemo
glassfish\javadb\demo\programs\vtis\java\org\apache\derbyDemo\vtis
glassfish\javadb\demo\programs\vtis\java\org\apache\derbyDemo\vtis\core
glassfish\javadb\demo\programs\vtis\java\org\apache\derbyDemo\vtis\example
glassfish\javadb\demo\programs\vtis\java\org\apache\derbyDemo\vtis\snapshot
glassfish\javadb\demo\programs\vtis\sql
glassfish\javadb\demo\programs\workingwithderby
glassfish\javadb\demo\templates
glassfish\javadb\lib
glassfish\jbi
glassfish\jbi\bin
glassfish\jbi\components
glassfish\jbi\components\sun-http-binding
glassfish\jbi\components\sun-javaee-engine
glassfish\jbi\doc
glassfish\jbi\doc\antdoc
glassfish\jbi\doc\javadoc
glassfish\jbi\doc\javadoc\jbi
glassfish\jbi\doc\javadoc\jbi\javax
glassfish\jbi\doc\javadoc\jbi\javax\jbi
glassfish\jbi\doc\javadoc\jbi\javax\jbi\class-use
glassfish\jbi\doc\javadoc\jbi\javax\jbi\component
glassfish\jbi\doc\javadoc\jbi\javax\jbi\component\class-use
glassfish\jbi\doc\javadoc\jbi\javax\jbi\management
glassfish\jbi\doc\javadoc\jbi\javax\jbi\management\class-use
glassfish\jbi\doc\javadoc\jbi\javax\jbi\messaging
glassfish\jbi\doc\javadoc\jbi\javax\jbi\messaging\class-use
glassfish\jbi\doc\javadoc\jbi\javax\jbi\servicedesc
glassfish\jbi\doc\javadoc\jbi\javax\jbi\servicedesc\class-use
glassfish\jbi\doc\javadoc\jbi\resources
glassfish\jbi\lib
glassfish\jbi\lib\install
glassfish\jbi\lib\install\templates
glassfish\jbi\schemas
glassfish\jbi\shared-libraries
glassfish\jbi\shared-libraries\sun-wsdl-library
glassfish\lib
glassfish\lib\addons
glassfish\lib\addons\jbi
glassfish\lib\addons\resourceadapters
glassfish\lib\addons\resourceadapters\genericjmsra
glassfish\lib\ant
glassfish\lib\ant\bin
glassfish\lib\ant\etc
glassfish\lib\ant\etc\checkstyle
glassfish\lib\ant\lib
glassfish\lib\appclient
glassfish\lib\com
glassfish\lib\com\sun
glassfish\lib\com\sun\enterprise
glassfish\lib\com\sun\enterprise\web
glassfish\lib\com\sun\enterprise\web\ara
glassfish\lib\com\sun\enterprise\web\ara\algorithms
glassfish\lib\com\sun\enterprise\web\ara\rules
glassfish\lib\com\sun\enterprise\web\connector
glassfish\lib\com\sun\enterprise\web\connector\grizzly
glassfish\lib\com\sun\enterprise\web\connector\grizzly\algorithms
glassfish\lib\com\sun\enterprise\web\connector\grizzly\async
glassfish\lib\com\sun\enterprise\web\connector\grizzly\blocking
glassfish\lib\com\sun\enterprise\web\connector\grizzly\comet
glassfish\lib\com\sun\enterprise\web\connector\grizzly\handlers
glassfish\lib\com\sun\enterprise\web\connector\grizzly\ssl
glassfish\lib\com\sun\enterprise\web\connector\grizzly\standalone
glassfish\lib\com\sun\enterprise\web\portunif
glassfish\lib\com\sun\enterprise\web\portunif\util
glassfish\lib\com\sun\grizzly
glassfish\lib\com\sun\grizzly\cometd
glassfish\lib\com\sun\grizzly\cometd\bayeux
glassfish\lib\com\sun\grizzly\cometd\servlet
glassfish\lib\com\sun\grizzly\cometd\standalone
glassfish\lib\com\sun\grizzly\cometd\util
glassfish\lib\com\sun\org
glassfish\lib\com\sun\org\apache
glassfish\lib\com\sun\org\apache\commons
glassfish\lib\com\sun\org\apache\commons\beanutils
glassfish\lib\com\sun\org\apache\commons\beanutils\converters
glassfish\lib\com\sun\org\apache\commons\beanutils\locale
glassfish\lib\com\sun\org\apache\commons\beanutils\locale\converters
glassfish\lib\com\sun\org\apache\commons\logging
glassfish\lib\com\sun\org\apache\commons\logging\impl
glassfish\lib\com\sun\org\apache\commons\modeler
glassfish\lib\com\sun\org\apache\commons\modeler\ant
glassfish\lib\com\sun\org\apache\commons\modeler\mbeans
glassfish\lib\com\sun\org\apache\commons\modeler\modules
glassfish\lib\com\sun\org\apache\commons\modeler\util
glassfish\lib\deployment
glassfish\lib\dtds
glassfish\lib\endorsed
glassfish\lib\install
glassfish\lib\install\applications
glassfish\lib\install\applications\adminapp
glassfish\lib\install\applications\adminapp\adminapp_war
glassfish\lib\install\applications\adminapp\adminapp_war\META-INF
glassfish\lib\install\applications\adminapp\adminapp_war\WEB-INF
glassfish\lib\install\applications\adminapp\adminapp_war\WEB-INF\classes
glassfish\lib\install\applications\adminapp\adminapp_war\WEB-INF\classes\com
glassfish\lib\install\applications\adminapp\adminapp_war\WEB-INF\classes\com\sun
glassfish\lib\install\applications\adminapp\adminapp_war\WEB-INF\classes\com\sun
\enterprise
glassfish\lib\install\applications\adminapp\adminapp_war\WEB-INF\classes\com\sun
\enterprise\admin
glassfish\lib\install\applications\adminapp\adminapp_war\WEB-INF\classes\com\sun
\enterprise\admin\server
glassfish\lib\install\applications\adminapp\adminapp_war\WEB-INF\classes\com\sun
\enterprise\admin\server\core
glassfish\lib\install\applications\adminapp\adminapp_war\WEB-INF\classes\com\sun
\enterprise\admin\server\core\servlet
glassfish\lib\install\applications\adminapp\META-INF
glassfish\lib\install\applications\admingui
glassfish\lib\install\applications\admingui\adminGUI_war
glassfish\lib\install\applications\admingui\adminGUI_war\asadmin
glassfish\lib\install\applications\admingui\adminGUI_war\com_sun_webui_jsf
glassfish\lib\install\applications\admingui\adminGUI_war\com_sun_webui_jsf\help
glassfish\lib\install\applications\admingui\adminGUI_war\js
glassfish\lib\install\applications\admingui\adminGUI_war\resources
glassfish\lib\install\applications\admingui\adminGUI_war\resources\css
glassfish\lib\install\applications\admingui\adminGUI_war\resources\css\images
glassfish\lib\install\applications\admingui\adminGUI_war\resources\css\test
glassfish\lib\install\applications\admingui\adminGUI_war\resources\css\themes
glassfish\lib\install\applications\admingui\adminGUI_war\resources\css\themes\bl
ue
glassfish\lib\install\applications\admingui\adminGUI_war\resources\css\themes\bl
ue\images
glassfish\lib\install\applications\admingui\adminGUI_war\resources\css\themes\ch
ocolate
glassfish\lib\install\applications\admingui\adminGUI_war\resources\css\themes\ch
ocolate\images
glassfish\lib\install\applications\admingui\adminGUI_war\resources\css\themes\gr
een
glassfish\lib\install\applications\admingui\adminGUI_war\resources\css\themes\im
ages
glassfish\lib\install\applications\admingui\adminGUI_war\resources\css\themes\or
ange
glassfish\lib\install\applications\admingui\adminGUI_war\resources\jmaki
glassfish\lib\install\applications\admingui\adminGUI_war\resources\jmaki\blockLi
st
glassfish\lib\install\applications\admingui\adminGUI_war\resources\jmaki\chartin
g
glassfish\lib\install\applications\admingui\adminGUI_war\resources\jmaki\chartin
g\area
glassfish\lib\install\applications\admingui\adminGUI_war\resources\jmaki\chartin
g\bar
glassfish\lib\install\applications\admingui\adminGUI_war\resources\jmaki\chartin
g\line
glassfish\lib\install\applications\admingui\adminGUI_war\resources\jmaki\resourc
es
glassfish\lib\install\applications\admingui\adminGUI_war\resources\jmaki\resourc
es\styles
glassfish\lib\install\applications\admingui\adminGUI_war\resources\jmaki\resourc
es\styles\themes
glassfish\lib\install\applications\admingui\adminGUI_war\resources\jmaki\resourc
es\styles\themes\chocolate
glassfish\lib\install\applications\admingui\adminGUI_war\resources\jmaki\resourc
es\styles\themes\chocolate\images
glassfish\lib\install\applications\admingui\adminGUI_war\resources\jmaki\resourc
es\styles\themes\orange
glassfish\lib\install\applications\admingui\adminGUI_war\resources\jmaki\resourc
es\styles\themes\orange\images
glassfish\lib\install\applications\admingui\adminGUI_war\resources\xsl
glassfish\lib\install\applications\admingui\adminGUI_war\sysnet
glassfish\lib\install\applications\admingui\adminGUI_war\WEB-INF
glassfish\lib\install\applications\admingui\adminGUI_war\WEB-INF\lib
glassfish\lib\install\applications\jaxr-ra
glassfish\lib\install\applications\jaxr-ra\META-INF
glassfish\lib\install\applications\jmsra
glassfish\lib\install\applications\jmsra\META-INF
glassfish\lib\install\applications\wstx-services
glassfish\lib\install\applications\wstx-services\META-INF
glassfish\lib\install\applications\wstx-services\WEB-INF
glassfish\lib\install\applications\wstx-services\WEB-INF\wsdl
glassfish\lib\install\applications\__cp
glassfish\lib\install\applications\__cp\META-INF
glassfish\lib\install\applications\__ds
glassfish\lib\install\applications\__ds\META-INF
glassfish\lib\install\applications\__xa
glassfish\lib\install\applications\__xa\META-INF
glassfish\lib\install\databases
glassfish\lib\install\docs
glassfish\lib\install\docs\css
glassfish\lib\install\docs\figures
glassfish\lib\install\docs\graphics
glassfish\lib\install\templates
glassfish\lib\install\templates\cluster
glassfish\lib\install\templates\developer
glassfish\lib\install\templates\ee
glassfish\lib\install\templates\ee\cluster
glassfish\lib\install\templates\ee\developer
glassfish\lib\install\templates\ee\ee
glassfish\lib\install\templates\ee\enterprise
glassfish\lib\install\templates\ee\resources
glassfish\lib\install\templates\enterprise
glassfish\lib\install\templates\resources
glassfish\lib\install\templates\resources\jdbc
glassfish\lib\installer-builder
glassfish\lib\org
glassfish\lib\org\apache
glassfish\lib\org\apache\catalina
glassfish\lib\org\apache\catalina\util
glassfish\lib\org\apache\coyote
glassfish\lib\org\apache\coyote\http11
glassfish\lib\org\apache\coyote\http11\filters
glassfish\lib\org\apache\tomcat
glassfish\lib\org\apache\tomcat\util
glassfish\lib\org\apache\tomcat\util\buf
glassfish\lib\org\apache\tomcat\util\buf\res
glassfish\lib\org\apache\tomcat\util\collections
glassfish\lib\org\apache\tomcat\util\compat
glassfish\lib\org\apache\tomcat\util\handler
glassfish\lib\org\apache\tomcat\util\http
glassfish\lib\org\apache\tomcat\util\http\mapper
glassfish\lib\org\apache\tomcat\util\http\res
glassfish\lib\org\apache\tomcat\util\log
glassfish\lib\org\apache\tomcat\util\mx
glassfish\lib\org\apache\tomcat\util\net
glassfish\lib\org\apache\tomcat\util\net\jsse
glassfish\lib\org\apache\tomcat\util\net\jsse\res
glassfish\lib\org\apache\tomcat\util\net\res
glassfish\lib\org\apache\tomcat\util\res
glassfish\lib\org\apache\tomcat\util\threads
glassfish\lib\org\apache\tomcat\util\threads\res
glassfish\lib\registration
glassfish\lib\schemas
glassfish\lib\SUNWjdmk
glassfish\lib\SUNWjdmk\5.1
glassfish\lib\SUNWjdmk\5.1\lib
glassfish\lib\upgrade
glassfish\lib\verifier
glassfish\META-INF
glassfish\samples
glassfish\samples\quickstart
glassfish\samples\quickstart\clusterjsp
glassfish\samples\quickstart\clusterjsp\clusterjsp-war
glassfish\samples\quickstart\clusterjsp\clusterjsp-war\web
glassfish\samples\quickstart\clusterjsp\clusterjsp-war\web\WEB-INF
glassfish\samples\quickstart\clusterjsp\docs
glassfish\samples\quickstart\clusterjsp\docs\images
glassfish\samples\quickstart\clusterjsp\src
glassfish\samples\quickstart\clusterjsp\src\conf
glassfish\samples\quickstart\docs
glassfish\samples\quickstart\src
glassfish\samples\quickstart\src\conf
glassfish\samples\quickstart\web
glassfish\samples\quickstart\web\images
glassfish\samples\quickstart\web\WEB-INF
glassfish\updatecenter
glassfish\updatecenter\bin
glassfish\updatecenter\config
glassfish\updatecenter\images
glassfish\updatecenter\lib
glassfish\updatecenter\lib\dtds
glassfish\updatecenter\lib\install
glassfish\updatecenter\lib\install\templates
glassfish\updatecenter\lib\jdic
glassfish\updatecenter\lib\jdic\linux
glassfish\updatecenter\lib\jdic\linux\x86
glassfish\updatecenter\lib\jdic\mac
glassfish\updatecenter\lib\jdic\mac\ppc
glassfish\updatecenter\lib\jdic\sunos
glassfish\updatecenter\lib\jdic\sunos\sparc
glassfish\updatecenter\lib\jdic\sunos\x86
glassfish\updatecenter\lib\jdic\windows
glassfish\updatecenter\lib\jdic\windows\x86
glassfish\updatecenter\registry
glassfish\updatecenter\registry\SYSTEM
glassfish\3RD-PARTY-LICENSE.txt
Exception in thread "main" java.io.FileNotFoundException: glassfish\3RD-PARTY-LI
CENSE.txt (The system cannot find the path specified)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at org.jvnet.poormans_installer.Main.install(Main.java:120)
at org.jvnet.poormans_installer.Main.main(Main.java:69)
[Message sent by forum member 'abhij2eedev' (shukla1.abhishek_at_gmail.com)]
http://forums.java.net/jive/thread.jspa?messageID=377214