users@glassfish.java.net

How to install metro on glassfish.

From: Smitha Prabhu <Smitha.Prabhu_at_Sun.COM>
Date: Wed, 02 Jul 2008 14:16:16 +0530

Hi,
I installed the latest glassfish and then try to install metro using
./pkg install metro
On Red Hat Linux machine, I see

/space/smitha/v3/glassfishv3-tp2/pkg/bin/../python2.4-minimal/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file:


On Sol sparc I see,
-bash-3.00# ./pkg install metro
DOWNLOAD PKGS FILES XFER (MB)
metro 0/1 0/6
0.00/13.30client.py: An unexpected error happened during installation:
<urlopen error (8, 'node name or service name not known')>
Traceback (most recent call last):
  File "/space/smitha/glassfishv3-tp2/pkg/bin/client.py", line 1440, in ?
    ret = main_func()
  File "/space/smitha/glassfishv3-tp2/pkg/bin/client.py", line 1406, in
main_func
    return install(img, pargs)
  File "/space/smitha/glassfishv3-tp2/pkg/bin/client.py", line 469, in
install
    img.imageplan.execute()
  File
"/space/smitha/glassfishv3-tp2/pkg/vendor-packages/pkg/client/imageplan.py",
line 405, in execute
    p.preexecute()
  File
"/space/smitha/glassfishv3-tp2/pkg/vendor-packages/pkg/client/pkgplan.py",
line 242, in preexecute
    flist.get_files()
  File
"/space/smitha/glassfishv3-tp2/pkg/vendor-packages/pkg/client/filelist.py",
line 139, in get_files
    imgtype = self.image.type)
  File "/space/smitha/glassfishv3-tp2/pkg/vendor-packages/pkg/misc.py",
line 107, in versioned_urlopen
    c = url_opener(req)
  File "/python2.4/lib/python2.4/urllib2.py", line 358, in open
  File "/python2.4/lib/python2.4/urllib2.py", line 376, in _open
  File "/python2.4/lib/python2.4/urllib2.py", line 337, in _call_chain
  File "/python2.4/lib/python2.4/urllib2.py", line 1021, in http_open
  File "/python2.4/lib/python2.4/urllib2.py", line 996, in do_open
URLError: <urlopen error (8, 'node name or service name not known')>


Please let me know how I can go about installing metro.

Thanks,
Smitha