Hi, Avantika It seems you didn't install GlassFish and Metro correctly. I found some web pages may help you: to install GlassFish in Windows https://glassfish.dev.java.net/downloads/v2ur2-b04.html to install Metro into GlassFish https://metro.dev.java.net/1.5/docs/install.html
HTH On Fri, Aug 7, 2009 at 5:40 AM, Avantika Agrawal <[email protected]>wrote: > Hi Ming, > > I have been trying to set up Metro so that I can test the patches for SH-70 > and SH-91. Here are some issues I've been running into (I am using Win7 with > the patch that Harold uploaded for the metro folder and the lib folder that > Ben sent out): > - I am not sure what the directory structure is supposed to look like for > glassfish and metro. Is the glassfish folder meant to be within metro? And > is metro meant to be placed within the trunk? > - I had glassfish directly on my C:\ drive and although it installed > correctly, the commands "ant deploy" were not working. Instead, I had to > specify the location of ant.bat i.e. I used a command like > C:\glassfish\lib\ant\bin\ant deploy > - Once I modified that command, I got the services to deploy successfully. > - I had to specify ANT_HOME as an environment variable (this wasn't > mentioned in the documentation so perhaps include it in there - the only > environment variable mentioned is AS_HOME). > - When trying to start the glassfish server using asadmin.bat start-domain > I get the following result: > CLI142 No domains in C:\glassfish\domains > CLI156 Could not start the domain undefined. > [Also I think there is a typo in the documentation - it says star-domain] > > Let me know what you think is wrong. Looks like I haven't put the glassfish > folder in the correct place. > > For now, I have just uploaded patched for SH-70 and SH-91. Take a look at > these (the design is as we discussed on a previous thread), but I could not > test these completely as I was unable to set up the metro services. > > Thanks, > Avantika > > > -----Original Message----- > From: Ming Jin [mailto:[email protected]] > Sent: Wednesday, August 05, 2009 11:54 PM > To: [email protected] > Subject: Re: Metro Contribution > > Thanks, Ben > Please report to this mailing list if you got any question about Metro. > That > would be a big help. > > On Thu, Aug 6, 2009 at 1:00 PM, Ben Dewey <[email protected]> wrote: > > > I've committed the updated Metro code (STONEHENGE-90) to contrib. I've > > tested and deployed it on my machine and I must say it looks great. > It's > > nice to have the a client for the Metro stack. > > > > I think this code has great potential for being moved to the trunk. That > > being said, I'd like some people test the metro contribution so that we > can > > expedite the voting process to move Metro onto trunk as soon as possible. > > > > To Test: > > > > 1. Get the latest metro code from contrib: > > svn co > http://svn.apache.org/repos/asf/incubator/stonehenge/contrib/metro/ > > > > 2. Follow the Install and Interop guide from documents/manual.doc > > document > > > > 3. You'll need to download dependencies (instructions can be found > in > > the README.txt) > > > > > > > > > > > > -Ben Dewey > > > > > > -- > Ming Jin > > Consultant > Thoughtworks, Inc > Mobile: +86 135-2125-6300 > Email: [email protected] > MSN: [email protected] > Blog: http://blogjava.net/mingj > Twitter: https://twitter.com/mingjin > -- Ming Jin Consultant Thoughtworks, Inc Mobile: +86 135-2125-6300 Email: [email protected] MSN: [email protected] Blog: http://blogjava.net/mingj Twitter: https://twitter.com/mingjin
