FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

problem with run Rails application

 
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users
View previous topic :: View next topic  
Author Message
tugcegul



Joined: 17 Dec 2008
Posts: 2

PostPosted: Wed Dec 17, 2008 6:44 pm    Post subject: problem with run Rails application Reply with quote

Hello!
I use Netbeans 6.5 and wanted to build a simple web Rails application. I built it but couldn`t run Sad

I get this error on the GlassFish V3 output.Please help me!

------
Warning: Cannot open log file: C:\Program Files\glassfish-v3-prelude\glassfish\domains\domain1/logs/jvm.log
Warning: Forcing option -XX:LogFile=C:\Users\Meyra\AppData\Local\Temp\\hs_pid12772.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)
Back to top
View user's profile Send private message
Erno Mononen
Posted via mailing list.





PostPosted: Wed Dec 17, 2008 7:49 pm    Post subject: problem with run Rails application Reply with quote

Hi,

Seems to be the same problem as here:
http://www.nabble.com/Problem-with-glassfish-td20896700.html - see the
last comment in the thread for a solution, i.e. try to install glassfish
to another directory than Program Files. Let us know if that doesn't
solve the problem.

Cheers,
Erno

tugcegul wrote:

Quote:
Hello!

I use Netbeans 6.5 and wanted to build a simple web Rails application. I built it but couldn`t run Sad



I get this error on the GlassFish V3 output.Please help me!



------

Warning: Cannot open log file: C:\Program Files\glassfish-v3-prelude\glassfish\domains\domain1/logs/jvm.log

Warning: Forcing option -XX:LogFile=C:\Users\Meyra\AppData\Local\Temp\\hs_pid12772.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)











Back to top
Chris Kutler
Posted via mailing list.





PostPosted: Wed Dec 17, 2008 7:55 pm    Post subject: problem with run Rails application Reply with quote

I don't know anything about why you are getting the Glassfish log
problem. Hopefully someone else can help with that.

In the meantime, you can work around this issue by right-clicking the
project node of your Rails project and choosing Properties.

In the Project Properties window (Rails category) choose WEBrick from
the Server drop down list.

tugcegul wrote:
Quote:
Hello!

I use Netbeans 6.5 and wanted to build a simple web Rails application. I built it but couldn`t run Sad



I get this error on the GlassFish V3 output.Please help me!



------

Warning: Cannot open log file: C:\Program Files\glassfish-v3-prelude\glassfish\domains\domain1/logs/jvm.log

Warning: Forcing option -XX:LogFile=C:\Users\Meyra\AppData\Local\Temp\\hs_pid12772.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)











Back to top
tugcegul



Joined: 17 Dec 2008
Posts: 2

PostPosted: Thu Dec 18, 2008 10:59 am    Post subject: thanks Reply with quote

Thank you very much. I solved the problem with your help.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB