• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

UC_IMAGE_PATH

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!

I am trying to run the Update Tool that is part of the GlassFish Server V3.
When I run the update tool, I am receiving the following error:

Update Tool was unable to start.
The Python runtime could not be found.
To fix this problem use the UC_IMAGE_PATH environment variable
to provide a path to a valid image.



I am unsure which image to set this variable to? What to point to??

Lin
 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm having the exact same problem. Did you find a solution?
 
Greenhorn
Posts: 3
3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think what happens is this:
During installation, Glassfish checks to see whether you already have Python installed.
If not, then it creates a directory, python2.4-minimal, in C:\glassfish3\pkg (or wherever you're installing Glassfish).
But if you have Python already, then it doesn't create this directory.
However, when you then try to start the Update Tool, it looks in C:\glassfish3\pkg\python2.4-minimal for something, and when it can't find that directory, it falls down.
Setting the environment variable to the location of your existing Python installation doesn't seem to work.
Eventually, I gave up on that, and just uninstalled Glassfish and Python, then reinstalled Glassfish.
Now Update Tool starts up fine.
I guess I can reinstall Python, too, but I haven't done so yet.
It would be better if I'd somehow got the the environment variable to work, though.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jerri Combs wrote:I think what happens is this:
During installation, Glassfish checks to see whether you already have Python installed.
If not, then it creates a directory, python2.4-minimal, in C:\glassfish3\pkg (or wherever you're installing Glassfish).
But if you have Python already, then it doesn't create this directory.
However, when you then try to start the Update Tool, it looks in C:\glassfish3\pkg\python2.4-minimal for something, and when it can't find that directory, it falls down.
Setting the environment variable to the location of your existing Python installation doesn't seem to work.
Eventually, I gave up on that, and just uninstalled Glassfish and Python, then reinstalled Glassfish.
Now Update Tool starts up fine.
I guess I can reinstall Python, too, but I haven't done so yet.
It would be better if I'd somehow got the the environment variable to work, though.



I did this, but I also had to delete manually the glassfish directory before installing it again and after that it worked ok.
 
The harder you work, the luckier you get. This tiny ad brings luck - just not good luck or bad luck.
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic