GeeCON Prague 2014*
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
Author

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(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)
"

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


 
Don't get me started about those stupid light bulbs.
 
subject: problem in glassfish