File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Java Products and Servers and the fly likes problem in glassfish Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "problem in glassfish" Watch "problem in glassfish" New topic

problem in glassfish

Moayad Abu Jaber
Ranch Hand

Joined: Jan 15, 2008
Posts: 80
Dear Rancher,
I try to start glassfish V3 in netbeans gave me exception:
"Warning: Cannot open log file: C:\Program Files\glassfish-v3-prelude\glassfish\domains\domain1/logs/jvm.log
Warning: Forcing option -XX:LogFile=C:\Users\Moayad\AppData\Local\Temp\\hs_pid1060.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\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(
at org.apache.felix.framework.cache.BundleCache.<init>(
at org.apache.felix.framework.Felix.<init>(
at org.apache.felix.framework.Felix.<init>(
at org.apache.felix.main.Main.main(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at com.sun.enterprise.glassfish.bootstrap.ASMainFelix$

for more information, I uninstalled netbeans 6.1 IDE with glassfish then install another version of netbeans 6.5.1 IDE with glassfish

anyone have any idea?

Best Regards,
Moayad Abu Jaber
SCJP 5.0, SCWCD 1.4, SCBCD 5.0
Moayad Abu Jaber
Ranch Hand

Joined: Jan 15, 2008
Posts: 80
I resolved it through changed glassfish location instead c:\Program Files to for example c:\GlassFish

I agree. Here's the link:
subject: problem in glassfish
It's not a secret anymore!