Re: about simpleServlet sample
Per Nyfelt <[email protected]> Mon, 17 Jan 2005 21:49:59 +0100
| Newsgroups | gmane.comp.java.ozone.user |
|---|---|
| Organization | Resourcing Networks |
| Message-ID | <[email protected]> |
Hi, Please seen my replies below: måndagen den 17 januari 2005 16.42 skrev Adi: > can you recomend me what cvs prog for os win xp service > pack 2??? > i have download some cvs (i don't know if its can work > properly) that i searched by google > please give me the site tosownload too... > sorry, i have a little desperated with this No, sorry I (rarely) use windows 2000 when i have to use Windows. i have no idea about XP. Cygwin contains a cvs (command line) client its available at www.redhat.com. There are graphical clients too but I do not know much about them. > > about simple servlet, the error have been changed > but still cannot compile > i will email you letter cause i too sleepy right now > thanks for replying It works fine for me ;) I find the sample pretty straight forward. Anyone else care to give it a try and give some feedback for how to make it simpler for a newbe to get into? Regards, Per > > On Sun, 16 Jan 2005 13:37:57 +0100 > > Per Nyfelt <[email protected]> wrote: > > I went through the sample and added some checks that > >will make it easier to > > get things working. Some paths have changed since the > >last release so I've > > accomodated for that as well. Check out the latest > >version from CVS and use > > the simpleServlet sample there and I think you should > >have no problem getting > > it to work. If youare sticking with your current > >versions please see my > > comments below: > > > > onsdagen den 12 januari 2005 05.18 skrev Adi: > >> i have follow your instruction, and readme too... > >> but the error still occured like this... > >> > >> **************************************************** > >> *************************************************** > >> > >> C:\ozone\samples\simpleServlet>set > >>path=%path%;f:\jdk\bin > >> > >> C:\ozone\samples\simpleServlet>set > >>tomcat_home=f:\tomcat4 > > > > You can forget about this, I did not read the build > >script properly - only > > CATALINA_HOME is needed (not TOMCAT_HOME). (I will > >change this to TOMCAT_HOME > > in the future though.) > > > >> C:\ozone\samples\simpleServlet>set > >> catalina_home=f:\tomcat4 > > > > I'm not sure if this makes a difference on windows but > >on Unix the environment > > variable needs to be CATALINA_HOME not catalina_home > >(i.e. you have the wrong > > case) > > > >> C:\ozone\samples\simpleServlet>set ozone_home=c:\ozone > > > > wrong case > > > >> C:\ozone\samples\simpleServlet>set java_home=f:\jdk > > > > woing case > > > >> C:\ozone\samples\simpleServlet>build > >> > >> C:\ozone\samples\simpleServlet>cd bin > >> > >> C:\ozone\samples\simpleServlet\bin>call settings.bat > >> > >> C:\ozone\samples\simpleServlet\bin>IF NOT DEFINED > >> OZONE_HOME SET OZONE_HOME=\tes > >> t\ozone-1.1.x-dev > >> > >> C:\ozone\samples\simpleServlet\bin>set > >> BASEDIR=C:\ozone\samples\simpleServlet\bi > >> n\UNIQUE_STRING > >> > >> C:\ozone\samples\simpleServlet\bin>set > >> BASEDIR=C:\ozone\samples\simpleServlet\ > >> > >> C:\ozone\samples\simpleServlet\bin>SET > >> PATH=c:\ozone\bin;f:\jdk\bin;c:\ozone\bin > >> ;f:\jdk\bin;c:\ozone\bin;\bin;C:\Program > >> Files\Borland\Delphi7\Bin;C:\Program Fi > >> les\Borland\Delphi7\Projects\Bpl\;C:\WINDOWS\system32;C:\WINDOWS;C:\WIND > >>OWS \Syst em32\Wbem;C:\Program Files\Microsoft SQL > >> Server\80\Tools\BINN;C:\Program Files\R > >> ational\common;f:\jdk\bin > >> > >> C:\ozone\samples\simpleServlet\bin>cd .. > >> > >> C:\ozone\samples\simpleServlet>call ozoneAnt > >> Buildfile: build.xml > >> > >> tomcat.shutdown: > >> > >> BUILD FAILED > >> file:C:/ozone/samples/simpleServlet/build.xml:92: The > > > > What was the result when you printed the paths use on > >line 92 i.e. > > ${tomcat.home}/bin > > > > what if you check for existance of > >${tomcat.home}/bin/catalina.bat ie.e using > > an available ant task? > > > >> directory you specified do > >> es not exist > >> > >> Total time: 0 seconds > >> Press any key to continue . . . > >> > >> C:\ozone\samples\simpleServlet> > >> > >> ********************************************* > >> ********************************************* > >> > >> i have starting up the tomcat server manually > >> i have test the tomcat server too > >> but the error is same as before > >> > >> i have use the echo command for the variable that maybe > >> important > >> i think that variable have true value > >> > >> i don't understand how to compile it > >> i have done with the handle sample's one > >> but not this sample > >> > >> please give me some advice or help > >> thanks a lot > > > > No problem, hope you get it working this time... > > > > Regards, > > Per > > > >> On Mon, 10 Jan 2005 18:44:06 +0100 > >> > >> Per Nyfelt <[email protected]> wrote: > >> > I do not have much time at the moment so I'll throw > >> > >>you > >> > >> >a couple of pointers > >> > and hope you'll be able to figure this out: > >> > > >> > Line 92 is about shutting down tomcat. It says the > >> >directory does not exist - > >> > what directory is this -- use the echo tag to find > >> > >>out. > >> > >> > Also you do not really need to start and stop tomcat > >> >from within ant so you > >> > can just comment these sections out and start /stop > >> >tomcat manually. > >> > > >> > Regards, > >> > Per > >> > >> ======================================================================== > >>=== ============= Diskon s.d. 50 % Akses Internet > >>TELKOMNet-Instan untuk wilayah > >> Jawa Timur. Informasi selengkapnya di > >>www.telkomnetinstan.com > >> ======================================================================== > >>=== ============= > > =========================================================================== >============= Akses Internet TELKOMNet-Instan beri Diskon s.d. 50 % khusus > untuk wilayah Jawa Timur. Informasi selengkapnya di www.telkomnetinstan.com > atau hub 0800-1-INSTAN (467826) > =========================================================================== >============= > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Ozone-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ozone-users ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt