Problem with glassfish

View: New views
7 Messages — Rating Filter:   Alert me  

Problem with glassfish

by glassfish-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have a problem when I'm trying to deploy project on the server GlassFish and when I'm trying to see it with browser.

When I'm trying to run index.jsp page I get this in Output:
init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
compile:
compile-jsps:
In-place deployment at C:\Users\Dragan\Documents\NetBeansProjects\HelloWeb\build\web
deploy?path=C:\Users\Dragan\Documents\NetBeansProjects\HelloWeb\build\web&name=HelloWeb&force=true&properties=keepSessions=true running on GlassFish V3 Prelude
Connection reset
C:\Users\Dragan\Documents\NetBeansProjects\HelloWeb\nbproject\build-impl.xml:564: The module has not been deployed.
BUILD FAILED (total time: 4 seconds)


and when I right click on the project HelloWeb and choose DEPLOY I get this in Output:
init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
compile:
compile-jsps:
Starting GlassFish V3 Prelude
GlassFish V3 Prelude Start Failed
C:\Users\Dragan\Documents\NetBeansProjects\HelloWeb\nbproject\build-impl.xml:564: Deployment error:
GlassFish V3 Prelude Start Failed
See the server log for details.
BUILD FAILED (total time: 4 seconds)

I'm am trying to work this out for 2 days and I haven't got a clue.
Can anyone plesase help me.
Thanks for your help in advance.

Regards,
Soldo
[Message sent by forum member 'soldo' (soldo)]

http://forums.java.net/jive/thread.jspa?messageID=320627

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Problem with glassfish

by Sahoo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The error message reads "See the server log for details."  Have you
checked the server log to find out what went wrong?  Why did the server
not start? The log can be found at
$GlassFish_Home/domains/domain1/logs/server.log.

glassfish@... wrote:

> I have a problem when I'm trying to deploy project on the server GlassFish and when I'm trying to see it with browser.
>
> When I'm trying to run index.jsp page I get this in Output:
> init:
> deps-module-jar:
> deps-ear-jar:
> deps-jar:
> library-inclusion-in-archive:
> library-inclusion-in-manifest:
> compile:
> compile-jsps:
> In-place deployment at C:\Users\Dragan\Documents\NetBeansProjects\HelloWeb\build\web
> deploy?path=C:\Users\Dragan\Documents\NetBeansProjects\HelloWeb\build\web&name=HelloWeb&force=true&properties=keepSessions=true running on GlassFish V3 Prelude
> Connection reset
> C:\Users\Dragan\Documents\NetBeansProjects\HelloWeb\nbproject\build-impl.xml:564: The module has not been deployed.
> BUILD FAILED (total time: 4 seconds)
>
>
> and when I right click on the project HelloWeb and choose DEPLOY I get this in Output:
> init:
> deps-module-jar:
> deps-ear-jar:
> deps-jar:
> library-inclusion-in-archive:
> library-inclusion-in-manifest:
> compile:
> compile-jsps:
> Starting GlassFish V3 Prelude
> GlassFish V3 Prelude Start Failed
> C:\Users\Dragan\Documents\NetBeansProjects\HelloWeb\nbproject\build-impl.xml:564: Deployment error:
> GlassFish V3 Prelude Start Failed
> See the server log for details.
> BUILD FAILED (total time: 4 seconds)
>
> I'm am trying to work this out for 2 days and I haven't got a clue.
> Can anyone plesase help me.
> Thanks for your help in advance.
>
> Regards,
> Soldo
> [Message sent by forum member 'soldo' (soldo)]
>
> http://forums.java.net/jive/thread.jspa?messageID=320627
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>  

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Problem with glassfish

by glassfish-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm trying to find server log in this folder for Glassfish V3 :
C:\Program Files\glassfish-v3-prelude\glassfish\domains\domain1\logs

and in this folder for Glassfish V2:
C:\Program Files\glassfish-v2ur2\domains\domain1\logs

but in both cases I get EMPTY FOLDER

I use Netbeans 6.5 and while I was using NetBeans 6.1 I could get GlassFish V2 started, but Now when I switched version I can't do even that
[Message sent by forum member 'soldo' (soldo)]

http://forums.java.net/jive/thread.jspa?messageID=320651

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Problem with glassfish

by glassfish-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

when I'm trying to run Glassfish I get this:
Warning:  Cannot open log file: C:\Program Files\glassfish-v3-prelude\glassfish\domains\domain1/logs/jvm.log
Warning:  Forcing option -XX:LogFile=C:\Users\Dragan\AppData\Local\Temp\\hs_pid5808.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)
Warning:  Cannot open log file: C:\Program Files\glassfish-v3-prelude\glassfish\domains\domain1/logs/jvm.log
Warning:  Forcing option -XX:LogFile=C:\Users\Dragan\AppData\Local\Temp\\hs_pid2556.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)
Warning:  Cannot open log file: C:\Program Files\glassfish-v3-prelude\glassfish\domains\domain1/logs/jvm.log
Warning:  Forcing option -XX:LogFile=C:\Users\Dragan\AppData\Local\Temp\\hs_pid1268.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)
[Message sent by forum member 'soldo' (soldo)]

http://forums.java.net/jive/thread.jspa?messageID=320655

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Problem with glassfish

by Snjezana Sevo-Zenzerovic :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

What Windows version is this and do you have enabled UAC?

Note that GF currently has several known issues if it is installed in
Program Files folder and UAC is enabled since server process will not
have sufficient permissions to write into default configuration
directory. To check if this is the root cause of your problem, you might
try to install you GF installation into different directory, register
new installation with NetBeans and see if deployment and server startup
work as expected...

glassfish@... wrote:

>when I'm trying to run Glassfish I get this:
>Warning:  Cannot open log file: C:\Program Files\glassfish-v3-prelude\glassfish\domains\domain1/logs/jvm.log
>Warning:  Forcing option -XX:LogFile=C:\Users\Dragan\AppData\Local\Temp\\hs_pid5808.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)
>Warning:  Cannot open log file: C:\Program Files\glassfish-v3-prelude\glassfish\domains\domain1/logs/jvm.log
>Warning:  Forcing option -XX:LogFile=C:\Users\Dragan\AppData\Local\Temp\\hs_pid2556.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)
>Warning:  Cannot open log file: C:\Program Files\glassfish-v3-prelude\glassfish\domains\domain1/logs/jvm.log
>Warning:  Forcing option -XX:LogFile=C:\Users\Dragan\AppData\Local\Temp\\hs_pid1268.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)
>[Message sent by forum member 'soldo' (soldo)]
>
>http://forums.java.net/jive/thread.jspa?messageID=320655
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@...
>For additional commands, e-mail: users-help@...
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Problem with glassfish

by glassfish-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You can solve this issue by giving the "users" group full write permission to your "glassfish-v3-prelude" directory.

Regards,
Kwinz
[Message sent by forum member 'kwinz' (kwinz)]

http://forums.java.net/jive/thread.jspa?messageID=324690

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Problem with glassfish

by glassfish-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> You can solve this issue by giving the "users" group
> full write permission to your "glassfish-v3-prelude"
> directory.

This has fixed this issue I had.
[b]Thank you kwinz[/b]
[Message sent by forum member 'swapanmazumdar' (swapanmazumdar)]

http://forums.java.net/jive/thread.jspa?messageID=329502

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...