Skip to main content

"glassfish.home does not point to a valid glassfish installation" error

2 replies [Last post]
tonyukuk9
Offline
Joined: 2009-06-07
Points: 0

After I install glassfish everything looked good. I am able to run localhost:8080 and localhost:4848

but when I try to run \glassfish\lib\ant\bin\ant gf-prepare command from my projects directory I got this error.

I am using Windows XP, glassfish 2.1

my build.properties file includes

jboss.home=C\:/tools/jboss-4.2.3.GA
jboss.domain=default
glassfish.home=C\:/glassfish
glassfish.domain=domain1

what am I doing wrong. I try to change glassfish.home variable. I tried every possible combination but I still get the same error.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Sathyan Catari

The Path looks weird to start with.
How about "glassfish.home=c:\\glassfish",
BTW, Did you install glassfish under the root directory directly?
You could also explicitly pass glassfish.home to ant using -D option of
ant to see
if it gets picked up.

HTH
Sathyan

glassfish@javadesktop.org wrote:
> After I install glassfish everything looked good. I am able to run localhost:8080 and localhost:4848
>
> but when I try to run \glassfish\lib\ant\bin\ant gf-prepare command from my projects directory I got this error.
>
> I am using Windows XP, glassfish 2.1
>
> my build.properties file includes
>
> jboss.home=C\:/tools/jboss-4.2.3.GA
> jboss.domain=default
> glassfish.home=C\:/glassfish
> glassfish.domain=domain1
>
> what am I doing wrong. I try to change glassfish.home variable. I tried every possible combination but I still get the same error.
> [Message sent by forum member 'tonyukuk9' (tonyukuk9)]
>
> http://forums.java.net/jive/thread.jspa?messageID=350904
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

tonyukuk9
Offline
Joined: 2009-06-07
Points: 0

I changed the path as you suggested How about "glassfish.home=c:\\glassfish"
but nothing changed.

I am able to run ant gf-deploy, gf-start etc... commands but when I try to run gf-prepare command I got this error "glassfish.home does not point to a valid glassfish installation".