users@glassfish.java.net

Re: GlassFish V3 Prelude with NetBeans IDE 6.5 Cannot start

From: Sahoo <Sahoo_at_Sun.COM>
Date: Tue, 10 Mar 2009 19:51:58 +0530

As the message says it is failing to access

C:\Program Files (x86)\glassfish-v3-prelude\glassfish\domains\domain1


First of all, is that dir name looking OK to you? If yes, do you have
write permission to that dir? I suggest you use a directory with no
space char in the name and try.

Sahoo
glassfish_at_javadesktop.org wrote:
> Hello.
>
> I'm getting the error showed below when I try to start GlassFish V3 Prelude, Has anybody an idea why and how can I solve it?
>
> Warning: Cannot open log file: C:\Program Files (x86)\glassfish-v3-prelude\glassfish\domains\domain1/logs/jvm.log
> Warning: Forcing option -XX:LogFile=C:\Users\Papa\AppData\Local\Temp\\hs_pid3680.log
> INFO: Launching GlassFish on Apache Felix OSGi platform
> Welcome to Felix.
> =================
> ERROR: org.apache.felix.framework.cache.BundleCache: Unable to create directory: C:\Program Files (x86)\glassfish-v3-prelude\glassfish\domains\domain1\.felix\gf
> 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:235)
> 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:101)
> at java.lang.Thread.run(Thread.java:619)
> [Message sent by forum member 'samfu' (samfu)]
>
> http://forums.java.net/jive/thread.jspa?messageID=336089
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>