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 143556 - Vista:Personal domain when unwriteable domain
Summary: Vista:Personal domain when unwriteable domain
Status: RESOLVED DUPLICATE of bug 161634
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: Other Other
: P3 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-12 02:37 UTC by davisn
Modified: 2009-04-08 18:43 UTC (History)
1 user (show)

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 davisn 2008-08-12 02:37:37 UTC
Failed start Glassfish V3 server if the server was installed on a different directory 

Steps to Reproduce:
1. Login Vista as Administrator > create User 1
2. Re-login Vista as User 1 > install NB 6.5 Trunk (08/11/2008) EE build to User 1 directory for NB, GF V2 & V3 
servers
3. Re-login Vista as Administrator User
4. Start Netbean IDE from the desktop icon
5. Right-click at the Servers>Glassfish V3 node, select Start menu
BUG:
    The Server failed to start with RunTimeException message as listed below:
    (The problem does not happen for starting V2 server)

ERROR: org.apache.felix.framework.cache.BundleCache: Unable to create directory: C:\Users\nbqapi\glassfish-v3-prelude-
b15b\glassfish\domains\domain1\.felix\gf
Aug 11, 2008 6:20:23 PM com.sun.enterprise.glassfish.bootstrap.ASMainOSGi getSharedRepos
INFO: C:\Users\nbqapi\glassfish-v3-prelude-b15b\glassfish\domains\domain1\lib does not exist
Aug 11, 2008 6:20:23 PM com.sun.enterprise.glassfish.bootstrap.ASMainHelper setUpOSGiCache
INFO: Cannot create record of lastModified file
Error creating bundle cache:
java.lang.RuntimeException: Unable to create profile directory.
        at org.apache.felix.framework.cache.BundleCache.initialize(BundleCache.java:353)
        at org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:95)
        at org.apache.felix.framework.Felix.<init>(Felix.java:248)
        at org.apache.felix.framework.Felix.<init>(Felix.java:125)
        at org.apache.felix.main.Main.main(Main.java:228)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.sun.enterprise.glassfish.bootstrap.ASMainFelix$1.run(ASMainFelix.java:95)
        at java.lang.Thread.run(Thread.java:619)
Comment 1 Vince Kraemer 2008-08-12 08:09:11 UTC
seems mighty contrived....
Comment 2 Vince Kraemer 2008-08-13 23:13:09 UTC
The personal domain was not created for v3 but was created correctly for v2...  check the if that creates the personal
domain.
Comment 3 Vince Kraemer 2008-10-25 05:10:45 UTC
this needs to get addressed in 7.0
Comment 4 Vince Kraemer 2009-04-08 18:43:21 UTC

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