This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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

jQuery in Action, 2nd edition
subject: problem in glassfish
Similar Threads
Starting Glassfish as an application server with MyEclipse
unable to find remote interface,shows exception of NoClassDefFoundError
Glassfish SQLException: Error in allocating a connection in MySQL
a blank glassFish admin console @ netbeans 6.8
EAR deplyment error in glassfish