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 108046 - Fail to create default domain for bundled GF v2 b52
Summary: Fail to create default domain for bundled GF v2 b52
Status: RESOLVED DUPLICATE of bug 107847
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: Sun Solaris
: P2 blocker (vote)
Assignee: issues@installer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-25 17:00 UTC by nouar38
Modified: 2007-06-25 17:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nouar38 2007-06-25 17:00:10 UTC
netbeans-6.0-nightly-200706230000-standard-solaris-sparc.sh (bundled GF v2 b52) & JDK 1.6u1
install all: Java IDE, base IDE, Web and Java EE, and Bundled GF v2 b52 on solaris sparc box using root
user.
Keep all the default values proposed by the installer:
/opt/netbeans-6.0-200706230000
/opt/glassfish-v2-b52
all the default ports for default domain

when the installer reached default domain creation, got :
<<<
Error were enconuntered during the installation
For more details see /.nbi/log/20070625161500.log
>>>

In /.nbi/log/20070625161500.log, after all files extraction , chmod ugo +x in GF binaries: 


[2007-06-25 16:47:36.099]:             executing command: /opt/glassfish-v2-b52/bin/asadmin create-domain
--interactive=false --adminport 4848 --user admin --passwordfile /opt/glassfish-v2-b52/nbi-46400.tmp --instanceport 8080
--domainproperties http.ssl.port=8181 --savemasterpassword=true domain1, in directory: /opt/glassfish-v2-b52
[2007-06-25 16:47:38.450]:                 [stderr]: com/sun/logging/LogDomains
[2007-06-25 16:47:38.507]:                 [return]: 1
[2007-06-25 16:47:38.508]:             ... command execution finished


and got an exception.

2007-06-25 16:47:38.512]:             org.netbeans.installer.utils.exceptions.InstallationException: Failed to create
the default domain
[2007-06-25 16:47:38.512]:                 at
org.netbeans.installer.products.glassfish.ConfigurationLogic.install(ConfigurationLogic.java:291)
[2007-06-25 16:47:38.512]:                 at org.netbeans.installer.product.components.Product.install(Product.java:269)
[2007-06-25 16:47:38.512]:                 at
org.netbeans.installer.wizard.components.actions.InstallAction.execute(InstallAction.java:128)
[2007-06-25 16:47:38.512]:                 at
org.netbeans.installer.wizard.components.WizardAction$1.run(WizardAction.java:104)
[2007-06-25 16:47:38.512]:             Caused by:
org.netbeans.installer.utils.applications.GlassFishUtils$DomainCreationException: Could not create domain - the process
returned 1
[2007-06-25 16:47:38.513]:                 at
org.netbeans.installer.utils.applications.GlassFishUtils.createDomain(GlassFishUtils.java:103)
[2007-06-25 16:47:38.513]:                 at
org.netbeans.installer.utils.applications.GlassFishUtils.createDomain(GlassFishUtils.java:69)
[2007-06-25 16:47:38.513]:                 at
org.netbeans.installer.products.glassfish.ConfigurationLogic.install(ConfigurationLogic.java:282)
[2007-06-25 16:47:38.513]:                 ... 3 more 


# more /opt/glassfish-v2-b52/nbi-46400.tmp
AS_ADMIN_ADMINPASSWORD=adminadmin
AS_ADMIN_PASSWORD=adminadmin
AS_ADMIN_MASTERPASSWORD=adminadmin


# /opt/glassfish-v2-b52/bin/asadmin create-domain --interactive=false --adminport 4848 --user admin --passwordfile
/opt/glassfish-v2-b52/nbi-46400.tmp --instanceport 8080 --domainproperties http.ssl.port=8181 --savemasterpassword=true
domain1
com/sun/logging/LogDomains

# echo $?
1
Comment 1 Kirill Sorokin 2007-06-25 17:05:38 UTC

*** This issue has been marked as a duplicate of 107847 ***