users@glassfish.java.net

Help! Installer java_ee_sdk-6u2-windows.exe keeps failing on -password to

From: <forums_at_java.net>
Date: Sat, 26 Mar 2011 09:28:39 -0500 (CDT)

The installer java_ee_sdk-6u2-windows.exe fails by trying to use a
non-existent password file in my Temp directory.

 I tried the .msi for the web profile and it did not like the Java it found,
nor did it like the -j using the JRE in my 6/23 JDK (could not find
installer main class) so I have up and went straight to:
http://www.oracle.com/technetwork/java/javaee/downloads/index.html [1]

....         Java EE 6 SDK Update 2

        A free integrated development kit used to build, test, and
deploy Java EE 6 applications.  

and ended up with:  java_ee_sdk-6u2-windows.exe 

The install fails during domain creation because it is using a non-existent
Temp file in the -password option of asadmin.  Curiously the command
before DOES use an existing file in the -password loption but the next
command somehow chooses a different file name for the -password file. 

Here's what I see.

CREATING DOMAIN
_______________
Executing command :C:\glassfish3\glassfish\bin\asadmin.bat --user admin
--passwordfile
C:\Users\Tim\AppData\Local\Temp\java_ee_sdk-6u2-windows.exe2\asadminTmp8843851500925245856.tmp
create-domain --savelogin --checkports=false --adminport 4848 --instanceport
8080
--domainproperties=jms.port=7676:domain.jmxPort=8686:orb.listener.port=3700:http.ssl.port=8181:orb.ssl.port=3820:orb.mutualauth.port=3920
domain1
C:\glassfish3\glassfish\bin\asadmin.bat --user admin --passwordfile*
C:\Users\Tim\AppData\Local\Temp\java_ee_sdk-6u2-windows.exe2\asadminTmp1567142401492786943.tmp*
create-domain --savelogin --checkports=false --adminport 4848 --instanceport
8080
--domainproperties=jms.port=7676:domain.jmxPort=8686:orb.listener.port=3700:http.ssl.port=8181:orb.ssl.port=3820:orb.mutualauth.port=3920
*domain1The system cannot find the path specified.
*

 

Checking all the files, the second (different!) file used for  the -password
option does not exist:

C:\Users\Tim>dir
C:\Users\Tim\AppData\Local\Temp\java_ee_sdk-6u2-windows.exe2\as
adminTmp1567142401492786943.tmp
 Volume in drive C is OS
 Volume Serial Number is 86AD-4C40

 Directory of C:\Users\Tim\AppData\Local\Temp\java_ee_sdk-6u2-windows.exe2

File Not Found

 

*History*

I tried and utterly failed to install the Windows installer for the Web
profile version.  It did not like my jre, and when I tried the -j to the JRE
in my JDK (1.6 / 23) it could not find the main class of the installer. 
I gave up and begin following the instructions religiously in the "first
cup" tutorial as that seemed like a better idea anyways.

So far, I uninstalled, got rid of /glassfish3, cleaned out the 
C:\Users\Tim\AppData\Local\Temp folder, and repeated 3 times.

So far, two different installers have crashed and burned.

 

 


[1] http://www.oracle.com/technetwork/java/javaee/downloads/index.html

--
[Message sent by forum member 'tc1095']
View Post: http://forums.java.net/node/785528