RE: Beginner - Netbeans IDE
> From: Toriacht [mailto:shatner.will...@gmail.com] > Subject: RE: Beginner - Netbeans IDE > > i ran the service.bat to install as a service (is this > permanent?) Yes. > Is this how I should always start? Not really. You most likely want to have the IDE start and stop Tomcat with the scripts; you don't really want it running as a service while you're debugging. > Netbeans doesn't know its there... You'll have to get NetBeans help for that one. Search the Tomcat mailing list: http://marc.info/?l=tomcat-user As a last resort, you can always Google... - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Beginner - Netbeans IDE
Hi Chuck, thanks again for all your helpyour help. I'm nearly there...just a few more queries...My user variables setting was taking precendence over system (was set to a 1.6 JRE) so thats why it wasn't starting. to get started.. i ran the service.bat to install as a service (is this permanent?) I then ran the service manager and service runner in the bin folder and tomcat appears in the list of processes in task manager. all seems good so far. Is this all I need to do? Is this how I should always start? Finally...when i run Netbeans and try to add Tomcat as a server it is never visible? just Glassfish and WeRuby. If I select 'add server' it assumes I want to add a Glassfish server and wont let me select Tomcat. Netbeans doesn't know its there... Thanks again, Toriacht Caldarale, Charles R wrote: > >> From: Toriacht [mailto:shatner.will...@gmail.com] >> Subject: RE: Beginner - Netbeans IDE >> >> in what files/and where do I need set these variables. > > You do not need to set CATALINA_HOME - that is done automatically by the > startup.bat script. > > I normally set JAVA_HOME as a global environment variable, just so I don't > have to remember to keep doing it. Set it to the location of your JDK. > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you > received this in error, please contact the sender and delete the e-mail > and its attachments from all computers. > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > -- View this message in context: http://www.nabble.com/Beginner---Netbeans-IDE-tp21456213p21466853.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Beginner - Netbeans IDE
> From: Toriacht [mailto:shatner.will...@gmail.com] > Subject: RE: Beginner - Netbeans IDE > > in what files/and where do I need set these variables. You do not need to set CATALINA_HOME - that is done automatically by the startup.bat script. I normally set JAVA_HOME as a global environment variable, just so I don't have to remember to keep doing it. Set it to the location of your JDK. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Beginner - Netbeans IDE
Thanks again guys... i have removed the .exe version and downloaded the .zip version. I had a look in the bin folder. There seems to be multiple references to CATALINA_HOMA and JAVA_HOME etc. in what files/and where do I need set these variables. Thank Tori Caldarale, Charles R wrote: > >> From: Toriacht [mailto:shatner.will...@gmail.com] >> Subject: RE: Beginner - Netbeans IDE >> >> The .exe does not come with a catalina.bat > > Correct; there are no scripts in the .exe download (and I don't know why). > >> I suppose I was wondering was there a standard catalina.bat >> example that somebody had that I could point the IDE towards > > Yes - the one in the .zip download. Just use that. > >> I am probably better off uninstalling it and >> dowloading teh .zip version? > > Yes; the .zip gives you more options and more control over Tomcat, which > is what you need when running it under an IDE. > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you > received this in error, please contact the sender and delete the e-mail > and its attachments from all computers. > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > -- View this message in context: http://www.nabble.com/Beginner---Netbeans-IDE-tp21456213p21465783.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Beginner - Netbeans IDE
> From: Toriacht [mailto:shatner.will...@gmail.com] > Subject: RE: Beginner - Netbeans IDE > > The .exe does not come with a catalina.bat Correct; there are no scripts in the .exe download (and I don't know why). > I suppose I was wondering was there a standard catalina.bat > example that somebody had that I could point the IDE towards Yes - the one in the .zip download. Just use that. > I am probably better off uninstalling it and > dowloading teh .zip version? Yes; the .zip gives you more options and more control over Tomcat, which is what you need when running it under an IDE. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Beginner - Netbeans IDE
Thanks for the replies guys... I was aware I could uninstall the .exe and install the .zip version. The .exe does not come with a catalina.bat (I think)...am I right? I suppose I was wondering was there a standard catalina.bat example that somebody had that I could point the IDE towards so that my current config. works or I could drop it into one of the Tomcat folders etc? If this is the case would anybody have a catalina.bat file I could use? If this is not the case, I am probably better off uninstalling it and dowloading teh .zip version? Thanks again for the replies... Toriacht mgainty wrote: > > > > if you need to use a different catalina.bat > go to NetBeans Project Right click properties / run / change target server > catalina.bat must be on path > make sure CATALINA_HOME/bin is on PATH > > Martin > __ > Disclaimer and confidentiality note > Everything in this e-mail and any attachments relates to the official > business of Sender. This transmission is of a confidential nature and > Sender does not endorse distribution to any party other than intended > recipient. Sender does not necessarily endorse content contained within > this transmission. > > > > >> Date: Wed, 14 Jan 2009 05:42:58 -0800 >> From: brian.p.gunn...@gmail.com >> To: users@tomcat.apache.org >> Subject: Beginner - Netbeans IDE >> >> >> Hi, >> >> I am trying to deploy my first webservice. I downloaded Netbeans IDE to >> develop it (normally use Eclipse). I already had Tomcat downloaded as an >> .exe, installed and running as a service for a while >> >> When i try to deploy my app to my server Netbeans complains that it can't >> find Catalina.bat...(as it tries to stop tomcat). I presume this is >> because >> Tomcat is running as a windows service or something similar and Netbeans >> can't connect >> >> I apologise if these answers are too simple for this forum but... >> >> 1 .How do I deploy this to my Tomcat server using my current >> configuration >> 2. How do I deploy to a Tomcat server on a different machine >> >> >> Many thanks, >> Toriacht >> -- >> View this message in context: >> http://www.nabble.com/Beginner---Netbeans-IDE-tp21456213p21456213.html >> Sent from the Tomcat - User mailing list archive at Nabble.com. >> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> > > _ > Windows Live™: Keep your life in sync. > http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t1_allup_howitworks_012009 > -- View this message in context: http://www.nabble.com/Beginner---Netbeans-IDE-tp21456213p21459949.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Beginner - Netbeans IDE
if you need to use a different catalina.bat go to NetBeans Project Right click properties / run / change target server catalina.bat must be on path make sure CATALINA_HOME/bin is on PATH Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Date: Wed, 14 Jan 2009 05:42:58 -0800 > From: brian.p.gunn...@gmail.com > To: users@tomcat.apache.org > Subject: Beginner - Netbeans IDE > > > Hi, > > I am trying to deploy my first webservice. I downloaded Netbeans IDE to > develop it (normally use Eclipse). I already had Tomcat downloaded as an > .exe, installed and running as a service for a while > > When i try to deploy my app to my server Netbeans complains that it can't > find Catalina.bat...(as it tries to stop tomcat). I presume this is because > Tomcat is running as a windows service or something similar and Netbeans > can't connect > > I apologise if these answers are too simple for this forum but... > > 1 .How do I deploy this to my Tomcat server using my current configuration > 2. How do I deploy to a Tomcat server on a different machine > > > Many thanks, > Toriacht > -- > View this message in context: > http://www.nabble.com/Beginner---Netbeans-IDE-tp21456213p21456213.html > Sent from the Tomcat - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > _ Windows Live™: Keep your life in sync. http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t1_allup_howitworks_012009
RE: Beginner - Netbeans IDE
> From: Toriacht [mailto:brian.p.gunn...@gmail.com] > Subject: Beginner - Netbeans IDE > > 1 .How do I deploy this to my Tomcat server using my current > configuration First, uninstall the .exe version and download and install the .zip one. The .zip includes the scripts, including ones to install it as a service or run it from a command line. > 2. How do I deploy to a Tomcat server on a different machine Read the Tomcat doc about deployment: http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html The exact procedure will depend greatly on exactly what the other machine is and what kind of access you have to it. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org