RE: Tomcat 5 service on windows
I HAVE THE SAME PROBLEM...In my case, I am the computer administrator and Tomcat has NEVER been installed previous to this. I have not seen ANY good solutions to this, so I learned to live with the DOS based service. //SIGNED// Jerry Nelson -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 6:27 AM To: Tomcat Users List Subject: Re: Tomcat 5 service on windows Do you have permission to write on the registry? you need to have write access to some key (don't remember specifically what is the key right now) in the registry to install tomcat as a service. Allistair Crossley escribió: did you have a tomcat service installed already? did you have the services window open when you ran this? try checking there are no tomcat services and closing the services window and trying again. ADC -Original Message- From: Andras Balogh [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 11:28 To: [EMAIL PROTECTED] Subject: Tomcat 5 service on windows Hello all, I have downloaded the Tomcat 5.0.28. distibution for windows (jakarta-tomcat-5.0.28.exe) and tried to install tomcat as service and checked the service option in the install wizard. Tomcat wasn't installed as service and i tried manual with the service.bat script: Here is the output i get: D:\Tomcat 5.0\binservice install Installing the service 'Tomcat5' ... Using CATALINA_HOME:D:\Tomcat 5.0 Using JAVA_HOME:D:\j2sdk1.4.1_05 [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed The service 'Tomcat5' has been installed. The service is still not added, i think because of the error i have. As a note i have on the server an older Tomcat 4.1.27 but is not running and i modified CATALINA_HOME to point to the new tomcat (D:\Tomcat 5.0). What could be wrong? Thank you, Andras. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 5 service on windows
Yes, ran service.bat completely unmodified. I still have to run startup.bat to get tomcat to work. //SIGNED// Jerry Nelson -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 8:31 AM To: Tomcat Users List Subject: RE: Tomcat 5 service on windows also, you may try removal anyway and reinstall ... service.bat remove and then service.bat install if you checked the box on the install then maybe it _did_ do something that needs to be removed first (wild stab in the dark!) :p ADC -Original Message- From: Allistair Crossley Sent: 03 September 2004 16:28 To: Tomcat Users List Subject: RE: Tomcat 5 service on windows did you run the service.bat unmodified? this can also happen when you have spaces in some of the properties for the service name. ADC -Original Message- From: Nelson, Jerry W, Contractor 146CF, SCB [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 16:25 To: 'Tomcat Users List' Subject: RE: Tomcat 5 service on windows I HAVE THE SAME PROBLEM...In my case, I am the computer administrator and Tomcat has NEVER been installed previous to this. I have not seen ANY good solutions to this, so I learned to live with the DOS based service. //SIGNED// Jerry Nelson -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 6:27 AM To: Tomcat Users List Subject: Re: Tomcat 5 service on windows Do you have permission to write on the registry? you need to have write access to some key (don't remember specifically what is the key right now) in the registry to install tomcat as a service. Allistair Crossley escribió: did you have a tomcat service installed already? did you have the services window open when you ran this? try checking there are no tomcat services and closing the services window and trying again. ADC -Original Message- From: Andras Balogh [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 11:28 To: [EMAIL PROTECTED] Subject: Tomcat 5 service on windows Hello all, I have downloaded the Tomcat 5.0.28. distibution for windows (jakarta-tomcat-5.0.28.exe) and tried to install tomcat as service and checked the service option in the install wizard. Tomcat wasn't installed as service and i tried manual with the service.bat script: Here is the output i get: D:\Tomcat 5.0\binservice install Installing the service 'Tomcat5' ... Using CATALINA_HOME:D:\Tomcat 5.0 Using JAVA_HOME:D:\j2sdk1.4.1_05 [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed The service 'Tomcat5' has been installed. The service is still not added, i think because of the error i have. As a note i have on the server an older Tomcat 4.1.27 but is not running and i modified CATALINA_HOME to point to the new tomcat (D:\Tomcat 5.0). What could be wrong? Thank you, Andras. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional
RE: Tomcat 5 service on windows
Yes... //SIGNED// Jerry Nelson -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 9:20 AM To: Tomcat Users List Subject: RE: Tomcat 5 service on windows did you try my suggestion re: service remove and then service install? ADC -Original Message- From: Nelson, Jerry W, Contractor 146CF, SCB [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 17:12 To: 'Tomcat Users List' Subject: RE: Tomcat 5 service on windows Yes, ran service.bat completely unmodified. I still have to run startup.bat to get tomcat to work. //SIGNED// Jerry Nelson -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 8:31 AM To: Tomcat Users List Subject: RE: Tomcat 5 service on windows also, you may try removal anyway and reinstall ... service.bat remove and then service.bat install if you checked the box on the install then maybe it _did_ do something that needs to be removed first (wild stab in the dark!) :p ADC -Original Message- From: Allistair Crossley Sent: 03 September 2004 16:28 To: Tomcat Users List Subject: RE: Tomcat 5 service on windows did you run the service.bat unmodified? this can also happen when you have spaces in some of the properties for the service name. ADC -Original Message- From: Nelson, Jerry W, Contractor 146CF, SCB [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 16:25 To: 'Tomcat Users List' Subject: RE: Tomcat 5 service on windows I HAVE THE SAME PROBLEM...In my case, I am the computer administrator and Tomcat has NEVER been installed previous to this. I have not seen ANY good solutions to this, so I learned to live with the DOS based service. //SIGNED// Jerry Nelson -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 6:27 AM To: Tomcat Users List Subject: Re: Tomcat 5 service on windows Do you have permission to write on the registry? you need to have write access to some key (don't remember specifically what is the key right now) in the registry to install tomcat as a service. Allistair Crossley escribió: did you have a tomcat service installed already? did you have the services window open when you ran this? try checking there are no tomcat services and closing the services window and trying again. ADC -Original Message- From: Andras Balogh [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 11:28 To: [EMAIL PROTECTED] Subject: Tomcat 5 service on windows Hello all, I have downloaded the Tomcat 5.0.28. distibution for windows (jakarta-tomcat-5.0.28.exe) and tried to install tomcat as service and checked the service option in the install wizard. Tomcat wasn't installed as service and i tried manual with the service.bat script: Here is the output i get: D:\Tomcat 5.0\binservice install Installing the service 'Tomcat5' ... Using CATALINA_HOME:D:\Tomcat 5.0 Using JAVA_HOME:D:\j2sdk1.4.1_05 [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed The service 'Tomcat5' has been installed. The service is still not added, i think because of the error i have. As a note i have on the server an older Tomcat 4.1.27 but is not running and i modified CATALINA_HOME to point to the new tomcat (D:\Tomcat 5.0). What could be wrong? Thank you, Andras. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - To unsubscribe, e-mail: [EMAIL PROTECTED
RE: Tomcat 5.0.27 Set Up Problem
With your suggestion in item 3, how do you run tomcat as a service? //SIGNED// Jerry Nelson -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Monday, August 30, 2004 9:49 AM To: Tomcat Users List Subject: Re: Tomcat 5.0.27 Set Up Problem Probably, your problem isn't tomcat configuration are you sure you're starting it up? (at least, ran the batch file you modified, however, the service approach is much better) Reread my previous email, it seems like you haven't read all the bits i did include lemme include them here, separately 1) Your freshly installed tomcat 5.0.27 (Update to 5.0.28) is prepared to function right out-of-the-box 2) Why do you want to enable the invoker servlet? tomcat can function properly without it. 3) It's much better to run Tomcat as a service on WindowsXP/W2K 4) If you haven't a proxy server configured, you don't have to check that box. Caroline Jen escribió: But, the Tomcat is not configured properly!! I was able to start the server. Nonetheless, when I typed http://localhost:8080 in the Windows XP browser's address bar, I got HTTP Status 404!!! -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 5.0.27 Set Up Problem
What if you didn't use the installer? How can it be setup manually? //SIGNED// Jerry Nelson -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 31, 2004 12:06 PM To: Tomcat Users List Subject: Re: Tomcat 5.0.27 Set Up Problem The tomcat installer does it right away, you just install it and it even has enabled the autostart mode Nelson, Jerry W, Contractor 146CF, SCB escribió: With your suggestion in item 3, how do you run tomcat as a service? //SIGNED// Jerry Nelson -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Monday, August 30, 2004 9:49 AM To: Tomcat Users List Subject: Re: Tomcat 5.0.27 Set Up Problem Probably, your problem isn't tomcat configuration are you sure you're starting it up? (at least, ran the batch file you modified, however, the service approach is much better) Reread my previous email, it seems like you haven't read all the bits i did include lemme include them here, separately 1) Your freshly installed tomcat 5.0.27 (Update to 5.0.28) is prepared to function right out-of-the-box 2) Why do you want to enable the invoker servlet? tomcat can function properly without it. 3) It's much better to run Tomcat as a service on WindowsXP/W2K 4) If you haven't a proxy server configured, you don't have to check that box. Caroline Jen escribió: But, the Tomcat is not configured properly!! I was able to start the server. Nonetheless, when I typed http://localhost:8080 in the Windows XP browser's address bar, I got HTTP Status 404!!! -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat will not run JSPs
THANK YOU TO ALL OF YOU THAT HELPED. I finally took Jakes sugestion. I abandoned the Tomcat EXE and downloaded the zip file from Jakarta, unzipped it into the Tomcat directory and setup the environment as all of you had instructed and it FINALLY works, although it would be nice if I could run the Tomcat service under windows so that DOS window is not constantly in my task bar. Thank you again! //SIGNED// Jerry Nelson -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 9:48 PM To: Tomcat Users List Subject: RE: Tomcat will not run JSPs Ok, start over. Uninstall Tomcat. Grab the .zip file distribution and extract it to a directory *without spaces*. Now, change the value of CATALINA_HOME to the new location of Tomcat. Reboot. The reboot is sometimes not necessary, but many times it is in order for your environment variables to be recognized. Just be safe and reboot. Now you are ready to run. The question is, which way are you running it? I suggest running using the startup.bat file. You can create a shortcut to this on your desktop (same with shutdown.bat) to make things easier. Since you seem to be a relative newbie to Tomcat (and possibly to programming???), I don't suggest trying to set up the windows service, especially since the service.bat currently doesn't include tools.jar in the classpath and will cause JSP not to compile. Why this hasn't been changed by the Tomcat developers is beyond me. I've reported it many a time and it is simply ignored. Baffling! Anyway, you should be set to go. Seriously, Tomcat is one of the simplest apps out there to set up. If you are having trouble, you might want to take a class of some sort to get up to speed on some of this rather than banging your head against the wall for as long as you have been. Jake At 04:44 AM 8/27/2004 +0100, you wrote: That didn't work either and I have been researching this for a week, some days as many as 10 hours. I've probably spent an entire work week on this problem and I am getting really frustrated. Here are my current envirnment settings: L:\echo %java_home% C:\j2sdk1.4.2_05 L:\echo %catalina_home% D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\ROOT It STILL doesn't work! //SIGNED// Jerry Nelson -Original Message- From: Dennis Dai [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 6:17 PM To: Tomcat Users List Subject: Re: Tomcat will not run JSPs You need to set %JAVA_HOME% to the installation directory of JDK, Not JRE. The JDK is installed in C:\j2sdk1.4.2_05 by default. I agree with Fredrik that you need to do some more home work by yourself since this is fairly basic stuff. On 8/26/2004 6:01 PM, Nelson, Jerry W, Contractor 146CF, SCB wrote: OK, I got the instructions and the homes are set as follows: L:\echo %JAVA_HOME% C:\Program Files\Java\j2re1.4.2_05\bin\client L:\ECHO %CATALINA_HOME% D:\Program Files\Apache Software Foundation\Tomcat 5.0 Tomcat STILL can't find javac!!! What's next //SIGNED// Jerry Nelson -Original Message- From: Fredrik Liden [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 5:41 PM To: Tomcat Users List Subject: RE: Tomcat will not run JSPs Go to google: Search for setting java_home click the first link in the result link. Follow step-by-step instructions. Once you get passed the step of setting the paths you'll no doubt encounter tons of problems and questions. Make sure to read the basic tutorials and search the archive for the same questions. If you can't find the answer after looking in those two places please feel free to post your questions. Let's keep this list somewhat relevant shall we. Fredrik -- Dennis Dai [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
ASP.NET and Tomcat on same computer
I am running ASP.NET(with IIS) and Apache-Tomcat on the same computer. In IIS, I can give the IIS a name. Can I do the same thing with Aapche-Tomcat. This way I can access either one by entering http://servername http://servername as opposed to http://localhost http://localhost or http://localhost:port http://localhost:port ? //SIGNED// Jerry Nelson
JDBC connections
What do I need to download to establish/create a JDBC connection? //SIGNED// Jerry Nelson
RE: ASP.NET and Tomcat on same computer
OK, so would it look something like this: 127.0.0.1:8080 localhost tomcat 127.0.0.1 localhost windows or am I completely off? In IIS I physically named the server; can I phyically name the Tomcat server? //SIGNED// Jerry Nelson -Original Message- From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: Friday, August 27, 2004 1:18 PM To: Tomcat Users List Subject: Re: ASP.NET and Tomcat on same computer yes, if you in your \windows\system32\drivers\etc\hosts file you can add 127.0.0.1localhostservername and servername will map to localhost filip - Original Message - From: Nelson, Jerry W, Contractor 146CF, SCB [EMAIL PROTECTED] To: Tomcat Users List (E-mail) [EMAIL PROTECTED] Sent: Friday, August 27, 2004 3:07 PM Subject: ASP.NET and Tomcat on same computer I am running ASP.NET(with IIS) and Apache-Tomcat on the same computer. In IIS, I can give the IIS a name. Can I do the same thing with Aapche-Tomcat. This way I can access either one by entering http://servername http://servername as opposed to http://localhost http://localhost or http://localhost:port http://localhost:port ? //SIGNED// Jerry Nelson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: JDBC connections
That would Microsoft Access and Microsoft SQL. //SIGNED// Jerry Nelson PS, I can't receive attachments unless you rename them. -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Friday, August 27, 2004 1:39 PM To: Tomcat Users List Subject: Re: JDBC connections You need a JDBC driver for your selected DBMS Nelson, Jerry W, Contractor 146CF, SCB escribió: What do I need to download to establish/create a JDBC connection? //SIGNED// Jerry Nelson -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: ASP.NET and Tomcat on same computer
OH...OK. Guess there is no getting around typing in the port number. Thanks //SIGNED// Jerry Nelson -Original Message- From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: Friday, August 27, 2004 1:52 PM To: Tomcat Users List Subject: Re: ASP.NET and Tomcat on same computer IIS doesn't physically name anything, it appearently sets up an internal DNS for you. and I showed you the same way by using the hosts file on your computer 127.0.0.1localhostwindowstomcat if you type http://tomcat:8080/ (it will translate into http://127.0.0.1:8080/ same way as http://tomcat/ (it will translate into http://127.0.0.1:80/ or http://windows/ (it will translate into http://127.0.0.1:80/ Filip - Original Message - From: Nelson, Jerry W, Contractor 146CF, SCB [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Friday, August 27, 2004 3:28 PM Subject: RE: ASP.NET and Tomcat on same computer OK, so would it look something like this: 127.0.0.1:8080 localhost tomcat 127.0.0.1 localhost windows or am I completely off? In IIS I physically named the server; can I phyically name the Tomcat server? //SIGNED// Jerry Nelson -Original Message- From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: Friday, August 27, 2004 1:18 PM To: Tomcat Users List Subject: Re: ASP.NET and Tomcat on same computer yes, if you in your \windows\system32\drivers\etc\hosts file you can add 127.0.0.1localhostservername and servername will map to localhost filip - Original Message - From: Nelson, Jerry W, Contractor 146CF, SCB [EMAIL PROTECTED] To: Tomcat Users List (E-mail) [EMAIL PROTECTED] Sent: Friday, August 27, 2004 3:07 PM Subject: ASP.NET and Tomcat on same computer I am running ASP.NET(with IIS) and Apache-Tomcat on the same computer. In IIS, I can give the IIS a name. Can I do the same thing with Aapche-Tomcat. This way I can access either one by entering http://servername http://servername as opposed to http://localhost http://localhost or http://localhost:port http://localhost:port ? //SIGNED// Jerry Nelson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: ASP.NET and Tomcat on same computer
The same computer and I don't know, all I know is I downloaded the Jakarta Apache-Tomcat version 5.0.27 zip file and unzipped it. //SIGNED// Jerry Nelson -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Friday, August 27, 2004 2:27 PM To: Tomcat Users List Subject: Re: ASP.NET and Tomcat on same computer From: Filip Hanik - Dev [EMAIL PROTECTED] you can setup a port forwarder that redirects traffic from 80 to 8080 if you want, or you can change tomcat to use port 80 :) Not if IIS is already using it... which seems to be the case here. Jerry, are you intending to have IIS and Tomcat running at the same time, or just one or the other? And at some point you mentioned Apache-Tomcat... are you intending to use the Apache HTTP server in front of Tomcat? PSA: please trim your posts! -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Access JBoss from Tomcat
I see you figured out how to send out a question, what e-mail address did you use? Thanx, //SIGNED// Jerry Nelson -Original Message- From: Robert F. Hall [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 3:36 PM To: Tomcat Users List Subject: Re: Access JBoss from Tomcat Howdy, With web services comm is done over http. With EJBs comm is done using RMI Both have overhead costs. And both can be suprisingly efficient when you consider everything that is involved in a round-trip. -Robert Darryl L. Pierce wrote: On Wednesday 25 August 2004 06:50 pm, Robert F. Hall wrote: You could access your JBoss hosted EJBs as web services. Isn't there a bit of overhead involved in accessing them as web services? I don't want to do that. I would rather access them as EJBs. My servlet needs to be more efficient than I think it would be accessing web services. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Not serving JSPs
Daron had a similar problem, my situation is the same, but everything is setup correctly. I'm using SDK1.4.02_04, I have the CLASSPATH pointing to this directory. Java programs run just fine on my computer, but Tomcat will not run a JSP. What could be wrong Jerry
Tomcat will not run JSPs
This is the message I get when I try to run a very simple JSP. The CLASSPATH is set correctly and I am using SDK1.4.2_04. What's wrong??? HTTP Status 500 - _ type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle r.java:97) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:3 46) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5 11) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 95) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(C ompilerAdapterFactory.java:106) org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935) org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5 11) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 95) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.0.27 logs. _ Apache Tomcat/5.0.27 Jerry Nelson
RE: Tomcat will not run JSPs
OK, How do I set JAVA_HOME??? //SIGNED// Jerry Nelson -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 4:15 PM To: Tomcat Users List Subject: Re: Tomcat will not run JSPs From: Nelson, Jerry W The CLASSPATH is set correctly And the error message says: Perhaps JAVA_HOME does not point to the JDK CLASSPATH is not the same thing as JAVA_HOME. -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat will not run JSPs
What's the syntax?? JAVA_HOME is nowhere to be found in System Vaiables. //SIGNED// Jerry Nelson -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 4:29 PM To: Tomcat Users List Subject: Re: Tomcat will not run JSPs From: Nelson, Jerry W OK, How do I set JAVA_HOME??? The same way you set CLASSPATH-- it depends on your operating system. For Windows, I do it in Start-Settings-Control Panel-System-Advanced-Environment Variables and put it under System variables so it stays set. And... set it to the directory that *contains* 'bin', not all the way down to the bin directory [that one goes in your PATH]. This is a JDK installation question, nothing much to do with Tomcat. (BTW, Tomcat ignores the system CLASSPATH and forms its own based on the contents of various directories.) -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat will not run JSPs
Everything I see refers to JDK. The only thing I can find is SDK. Are they the same??? //SIGNED// Jerry Nelson -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 4:47 PM To: Tomcat Users List Subject: Re: Tomcat will not run JSPs From: Nelson, Jerry W What's the syntax?? JAVA_HOME is nowhere to be found in System Vaiables. You have to add it if you want it to be there. Go back to your installation instructions for the JDK, it should explain everything you need to set up. Until you've got the JDK properly installed, Tomcat doesn't have a chance of working right. Are you able to compile and run 'HelloWorld' from the command line? To answer your question, (assuming you're on Windows,) it will be something like... U:\echo %JAVA_HOME% c:\j2sdk1.5.0 You can set it from the command line as well, just: U:\set JAVA_HOME=c:\whereever\the\jdk\lives That will go away when you close the command window. You could probably also set it in the batch file that starts Tomcat, but other things that use Java will be looking for JAVA_HOME, might as well set it once and forget it. -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat will not run JSPs
I completely romoved EVERTHING that has anything to do with Java and reinstalled J2SDK1.4.2_05 and JRE1.4.2_05 and reinstalled jakarta-tomcat-5.0.27. When I reinstalled jakarta, all it asked for was a directory for the JVM, nothing for home directory OR the location of javac. I still get an error 500 stating that it can't find javac. How can I tell this STUPID program where it is??? I know javac existed in the following directory: C:\jsdk1.4.2_05\bin. There has got to be a way to tell Tomcat where to find the file! //SIGNED// Jerry Nelson -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 4:47 PM To: Tomcat Users List Subject: Re: Tomcat will not run JSPs From: Nelson, Jerry W What's the syntax?? JAVA_HOME is nowhere to be found in System Vaiables. You have to add it if you want it to be there. Go back to your installation instructions for the JDK, it should explain everything you need to set up. Until you've got the JDK properly installed, Tomcat doesn't have a chance of working right. Are you able to compile and run 'HelloWorld' from the command line? To answer your question, (assuming you're on Windows,) it will be something like... U:\echo %JAVA_HOME% c:\j2sdk1.5.0 You can set it from the command line as well, just: U:\set JAVA_HOME=c:\whereever\the\jdk\lives That will go away when you close the command window. You could probably also set it in the batch file that starts Tomcat, but other things that use Java will be looking for JAVA_HOME, might as well set it once and forget it. -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat will not run JSPs
This is the JSP I'm trying to run: html head titleA Simple JSP/title /head body pcenterThe current Date and time is: %= new java.util.Date()%/center/p /body /html Can't get much simpler than this one. //SIGNED// Jerry Nelson -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 4:47 PM To: Tomcat Users List Subject: Re: Tomcat will not run JSPs From: Nelson, Jerry W What's the syntax?? JAVA_HOME is nowhere to be found in System Vaiables. You have to add it if you want it to be there. Go back to your installation instructions for the JDK, it should explain everything you need to set up. Until you've got the JDK properly installed, Tomcat doesn't have a chance of working right. Are you able to compile and run 'HelloWorld' from the command line? To answer your question, (assuming you're on Windows,) it will be something like... U:\echo %JAVA_HOME% c:\j2sdk1.5.0 You can set it from the command line as well, just: U:\set JAVA_HOME=c:\whereever\the\jdk\lives That will go away when you close the command window. You could probably also set it in the batch file that starts Tomcat, but other things that use Java will be looking for JAVA_HOME, might as well set it once and forget it. -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat will not run JSPs
OK, I got the instructions and the homes are set as follows: L:\echo %JAVA_HOME% C:\Program Files\Java\j2re1.4.2_05\bin\client L:\ECHO %CATALINA_HOME% D:\Program Files\Apache Software Foundation\Tomcat 5.0 Tomcat STILL can't find javac!!! What's next //SIGNED// Jerry Nelson -Original Message- From: Fredrik Liden [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 5:41 PM To: Tomcat Users List Subject: RE: Tomcat will not run JSPs Go to google: Search for setting java_home click the first link in the result link. Follow step-by-step instructions. Once you get passed the step of setting the paths you'll no doubt encounter tons of problems and questions. Make sure to read the basic tutorials and search the archive for the same questions. If you can't find the answer after looking in those two places please feel free to post your questions. Let's keep this list somewhat relevant shall we. Fredrik -Original Message- From: Nelson, Jerry W, Contractor 146CF, SCB [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 5:24 PM To: 'Tomcat Users List' Subject: RE: Tomcat will not run JSPs I completely romoved EVERTHING that has anything to do with Java and reinstalled J2SDK1.4.2_05 and JRE1.4.2_05 and reinstalled jakarta-tomcat-5.0.27. When I reinstalled jakarta, all it asked for was a directory for the JVM, nothing for home directory OR the location of javac. I still get an error 500 stating that it can't find javac. How can I tell this STUPID program where it is??? I know javac existed in the following directory: C:\jsdk1.4.2_05\bin. There has got to be a way to tell Tomcat where to find the file! //SIGNED// Jerry Nelson -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 4:47 PM To: Tomcat Users List Subject: Re: Tomcat will not run JSPs From: Nelson, Jerry W What's the syntax?? JAVA_HOME is nowhere to be found in System Vaiables. You have to add it if you want it to be there. Go back to your installation instructions for the JDK, it should explain everything you need to set up. Until you've got the JDK properly installed, Tomcat doesn't have a chance of working right. Are you able to compile and run 'HelloWorld' from the command line? To answer your question, (assuming you're on Windows,) it will be something like... U:\echo %JAVA_HOME% c:\j2sdk1.5.0 You can set it from the command line as well, just: U:\set JAVA_HOME=c:\whereever\the\jdk\lives That will go away when you close the command window. You could probably also set it in the batch file that starts Tomcat, but other things that use Java will be looking for JAVA_HOME, might as well set it once and forget it. -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat will not run JSPs
That didn't work either and I have been researching this for a week, some days as many as 10 hours. I've probably spent an entire work week on this problem and I am getting really frustrated. Here are my current envirnment settings: L:\echo %java_home% C:\j2sdk1.4.2_05 L:\echo %catalina_home% D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\ROOT It STILL doesn't work! //SIGNED// Jerry Nelson -Original Message- From: Dennis Dai [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 6:17 PM To: Tomcat Users List Subject: Re: Tomcat will not run JSPs You need to set %JAVA_HOME% to the installation directory of JDK, Not JRE. The JDK is installed in C:\j2sdk1.4.2_05 by default. I agree with Fredrik that you need to do some more home work by yourself since this is fairly basic stuff. On 8/26/2004 6:01 PM, Nelson, Jerry W, Contractor 146CF, SCB wrote: OK, I got the instructions and the homes are set as follows: L:\echo %JAVA_HOME% C:\Program Files\Java\j2re1.4.2_05\bin\client L:\ECHO %CATALINA_HOME% D:\Program Files\Apache Software Foundation\Tomcat 5.0 Tomcat STILL can't find javac!!! What's next //SIGNED// Jerry Nelson -Original Message- From: Fredrik Liden [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 5:41 PM To: Tomcat Users List Subject: RE: Tomcat will not run JSPs Go to google: Search for setting java_home click the first link in the result link. Follow step-by-step instructions. Once you get passed the step of setting the paths you'll no doubt encounter tons of problems and questions. Make sure to read the basic tutorials and search the archive for the same questions. If you can't find the answer after looking in those two places please feel free to post your questions. Let's keep this list somewhat relevant shall we. Fredrik -- Dennis Dai [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat will not run JSPs
In the envorinment settings they are capitalized, it's just the way I typed the echo command. I also tried the %CATALINA_HOME% pointing to where you said, it didn't work either. Cheerfully waiting for more suggestions... And to Jake, Apache-Tomcat (Jakarta Project) version 5.0.27 (the one I'm running) does run under a server service and it has an installer to set everything up for you (supposedly) //SIGNED// Jerry Nelson -Original Message- From: Dennis Dai [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 10:10 PM To: Tomcat Users List Subject: Re: Tomcat will not run JSPs Of course it will not work! First, I believe the environment variables need to be CAPITALIZED, as in %JAVA_HOME% and %CATALINA_HOME%. Second, your %CATALINA_HOME% is pointing to the wrong place. It should be the root of tomcat installation (ie., D:\Program Files\Apache Software Foundation\Tomcat 5.0), not webapps\ROOT. On 8/26/2004 8:44 PM, Nelson, Jerry W, Contractor 146CF, SCB wrote: That didn't work either and I have been researching this for a week, some days as many as 10 hours. I've probably spent an entire work week on this problem and I am getting really frustrated. Here are my current envirnment settings: L:\echo %java_home% C:\j2sdk1.4.2_05 L:\echo %catalina_home% D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\ROOT It STILL doesn't work! //SIGNED// Jerry Nelson -Original Message- From: Dennis Dai [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 6:17 PM To: Tomcat Users List Subject: Re: Tomcat will not run JSPs You need to set %JAVA_HOME% to the installation directory of JDK, Not JRE. The JDK is installed in C:\j2sdk1.4.2_05 by default. I agree with Fredrik that you need to do some more home work by yourself since this is fairly basic stuff. On 8/26/2004 6:01 PM, Nelson, Jerry W, Contractor 146CF, SCB wrote: OK, I got the instructions and the homes are set as follows: L:\echo %JAVA_HOME% C:\Program Files\Java\j2re1.4.2_05\bin\client L:\ECHO %CATALINA_HOME% D:\Program Files\Apache Software Foundation\Tomcat 5.0 Tomcat STILL can't find javac!!! What's next //SIGNED// Jerry Nelson -Original Message- From: Fredrik Liden [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 5:41 PM To: Tomcat Users List Subject: RE: Tomcat will not run JSPs Go to google: Search for setting java_home click the first link in the result link. Follow step-by-step instructions. Once you get passed the step of setting the paths you'll no doubt encounter tons of problems and questions. Make sure to read the basic tutorials and search the archive for the same questions. If you can't find the answer after looking in those two places please feel free to post your questions. Let's keep this list somewhat relevant shall we. Fredrik -- Dennis Dai [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]