Re: So what *IS* available? Formerly Tomcat SUCKS
I've just switched over to Resin which does seem to be more stable than Tomcat. Andy C http://www.r2-dvd.org - Original Message - From: Paul Hunnisett [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 28, 2001 10:35 AM Subject: RE: So what *IS* available? Formerly Tomcat SUCKS ATG Dynamo is very good (although very expensive)
Re: Resin (was: So what *IS* available?)
- Original Message - From: Sam Newman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 28, 2001 2:06 PM Subject: Resin (was: So what *IS* available?) but resin is not free to use if You get paid to develop with Resin - this basically means as far as I can see that for commercial use you'll need to pay for each server - and it seems to cost around $500 a license. If its benchmarks are to be believed, I'd certainly look at using it, but would be interested in seeing some independant comparisons Well yes, But it really does depend on your commercial use. As the license says if you are a small start up business with no money then you can use it. I guess educational use is free as well and I'm quite sure that evaluation is free as well. Anyway, $500 is not a lot to ask for a reasonable server, if it pans out on my site I'll certainly pay the cost ! Andy
Tomcat still falling over. Thread dump help ?
After 3-4 months my tomcat continues to fall falt on it's face every now and then. Currentl it's running at 2-3 times a day ! Every time the processor usage jumps to 100% jaken up by the Java virtual machine. Then the java process jsut dies with no indication of why. This time I've got a dump using CTRL-Break. Any ieads from this why the process is behaving like this? This is Win2000, Tomcat 3.2.2 and apache 1.3.12 ANy sugesstions please, help put me out of my misery ! Andy C Full thread dump: Thread-33 (TID:0xb4a2c0, sys_thread_t:0x1e16e88, Win32ID:0x798, state:CW) prio=5 org.apache.tomcat.util.ThreadPool$MonitorRunnable.run(Compiled Code) java.lang.Thread.run(Compiled Code) Thread-32 (TID:0xb4a3b0, sys_thread_t:0x1e16da0, Win32ID:0x69c, state:MW) prio=5 java.lang.Object.wait(Compiled Code) Thread-31 (TID:0xb4a360, sys_thread_t:0x1e16cb8, Win32ID:0x690, state:R) p rio=5 java.net.URL.init(Compiled Code) java.net.URL.init(Compiled Code) java.lang.ClassLoader.getSystemResource(Compiled Code) org.apache.tomcat.loader.AdaptiveClassLoader.getResource(Compiled Code) org.apache.jasper.servlet.JasperLoader.getResource(Compiled Code) org.apache.jasper.servlet.JasperLoader.getResourceAsStream(Compiled Code ) java.beans.Beans.instantiate(Compiled Code) _0002findex_0002ejsp_0002findex_jsp_1._jspService(Compiled Code) org.apache.jasper.runtime.HttpJspBase.service(Compiled Code) javax.servlet.http.HttpServlet.service(Compiled Code) org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Compiled Code) org.apache.jasper.servlet.JspServlet.serviceJspFile(Compiled Code) org.apache.jasper.servlet.JspServlet.service(Compiled Code) javax.servlet.http.HttpServlet.service(Compiled Code) org.apache.tomcat.core.ServletWrapper.doService(Compiled Code) org.apache.tomcat.core.Handler.service(Compiled Code) org.apache.tomcat.core.ServletWrapper.service(Compiled Code) org.apache.tomcat.core.ContextManager.internalService(Compiled Code) org.apache.tomcat.core.ContextManager.service(Compiled Code) org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnec tion(Compiled Code) Thread-30 (TID:0xb4a2f0, sys_thread_t:0x1e16bd0, Win32ID:0x67c, state:MW) prio=5 org.apache.tomcat.util.ThreadPool$ControlRunnable.runIt(Compiled Code) Thread-29 (TID:0xb4a5e8, sys_thread_t:0x1e16ae8, Win32ID:0x698, state:CW) prio=5 java.lang.Object.wait(Compiled Code) org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code) java.lang.Thread.run(Compiled Code) Thread-28 (TID:0xb4a5a8, sys_thread_t:0x1e16a00, Win32ID:0x580, state:CW) prio=5 java.lang.Object.wait(Compiled Code) org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code) java.lang.Thread.run(Compiled Code) Thread-27 (TID:0xb4a550, sys_thread_t:0x1e16918, Win32ID:0x5b8, state:CW) prio=5 java.lang.Object.wait(Compiled Code) org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code) java.lang.Thread.run(Compiled Code) Thread-26 (TID:0xb4a510, sys_thread_t:0x1e16830, Win32ID:0x2c8, state:CW) prio=5 java.lang.Object.wait(Compiled Code) org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code) java.lang.Thread.run(Compiled Code) Thread-25 (TID:0xb4a4c8, sys_thread_t:0x1e02630, Win32ID:0x5ac, state:CW) prio=5 java.lang.Object.wait(Compiled Code) org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code) java.lang.Thread.run(Compiled Code) Thread-24 (TID:0xb4a600, sys_thread_t:0x1e02548, Win32ID:0x5dc, state:CW) prio=5 java.lang.Object.wait(Compiled Code) org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code) java.lang.Thread.run(Compiled Code) Thread-23 (TID:0xb4aab8, sys_thread_t:0x1e02460, Win32ID:0x6b8, state:CW) prio=5 java.lang.Object.wait(Compiled Code) org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code) java.lang.Thread.run(Compiled Code) Thread-22 (TID:0xb4aa50, sys_thread_t:0x1e02378, Win32ID:0x574, state:CW) prio=5 java.lang.Object.wait(Compiled Code) org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code) java.lang.Thread.run(Compiled Code) Thread-21 (TID:0xb4aa10, sys_thread_t:0x1e02290, Win32ID:0x45c, state:CW) prio=5 java.lang.Object.wait(Compiled Code) org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code) java.lang.Thread.run(Compiled Code) Thread-20 (TID:0xb4a9d0, sys_thread_t:0x1e021a8, Win32ID:0x55c, state:CW) prio=5 java.lang.Object.wait(Compiled Code) org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code) java.lang.Thread.run(Compiled Code) Thread-19 (TID:0xb4a988
MOD_WEBAPP connector
I'm lost again ! Where do I find MOD_WEBAPP connector for connecting Apache 1.3 with Tomcat 4.0 for win 2000 ? Is there a pre-compiled verison ? Ta Andy C Editor R2 Porject http://www.r2-dvd.org
Installing Tomcat 4.0 on win2000
Excuse my complete ignorance., but after having a look around I don't seem to be able to find any documentation on how to install Tomcat 4 ! Any pointers would be greatly received ! Ta Andy C
Re: Tomcat as a service
- Original Message - From: David DELGRANCHE [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 06, 2001 10:13 AM Subject: RE: Tomcat as a service OK but how can I start tomcat as a service? Use gservany See: http://download.cnet.com/downloads/0-10106-100-1618503.html Or more properly jk_nt_service.exe see: NT-Service-howto.html in the doc directory of the tomcat directory Andy C Editor R2 Project http://www.r2-dvd.org
Asking tomcat Whats the current Config
This is probably simple, something I've missed in the documents. I want to ask a running tomcat what it's configuration is ? I.E I'd like to access a webpage such as http://myhost.com:8080/Config.html and get a response that shows which AJP is loaded etc Any ideas ? Ta Andy C
Ajp12 vs Ajp13
I'm confused. When editing the server.xml file to use Ajp13 support should I delete the AJP12 support or leave it in? Is there a way to find out which Ajp is running on my server? I.E should my server.xml be: Connector className=org.apache.tomcat.service.PoolTcpConnector Parameter name=handler value=org.apache.tomcat.service.connector.Ajp12ConnectionHandler/ Parameter name=port value=8007/ Parameter name=max_threads value=200/ Parameter name=max_spare_threads value=20/ Parameter name=min_spare_threads value=20 / /Connector !-- Apache AJP13 support.-- Connector className=org.apache.tomcat.service.PoolTcpConnector Parameter name=handler value=org.apache.tomcat.service.connector.Ajp13ConnectionHandler/ Parameter name=port value=8009/ Parameter name=max_threads value=200/ Parameter name=max_spare_threads value=20/ Parameter name=min_spare_threads value=20 / /Connector Ta Andy C
Re: Find JSP Hosting
- Original Message - From: Matt Dilley [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 09, 2001 11:30 AM Subject: Re: Find JSP Hosting Really?!?! Im my latest discussions with them, they told me they don't provide jsp - only java servlets at the moment, as they don't use tomcat, they use jserv instead. is this true? Yep Just had a chat with them . It's Linux with Apache . Tomcat is 3.2 (although there may be some .1 in there). JVM is 1.3. They also offer mysql 3.2.2. Costing is a little difficult as they like to tailor it to the customer needs but it starts at £250 annual fee and £100 for mySql. I guess you should give Alan at www.2020media.com another call. Andy C
Re: How to obtain user's IP address
I think request..getRemoteHost() will get the IP address. I do not think there is a reliable way to get the name of the user unless they have logged onto the server in some way, usually by password protecting the directories that have the server files. Andy C - Original Message - From: Jack Li [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 03, 2001 3:35 PM Subject: How to obtain user's IP address Hello, I need to know who visits my web page. In jsp, I got null when I used request.getRemoteUser(). Then any other mehods can obtain user's name or IP address? Thanks Jack Li
Interesting article An alternative to PHP and ASP
This came into an academic list I monitor. You might find it interesting. Andy - Original Message - From: Tony Grant Sent: Wednesday, May 02, 2001 12:26 PM Subject: An alternative to PHP and ASP Hello, I have finished and put up the document concerning Dreamweaver UltraDev, PostgreSQL, Apache and Tomcat. It is RedHat Linux specific, but those in the know will be able to modify the important bits to make it work on other Unix and Unix like systems. The drag and drop database programming with .jsp is in my view a serious alternative to .asp and .php: It is more portable - it will run on Windows NT/2000 (not that todays news will encourage anyone to use that platform as a _secure_ web application delivery...) and all Unix platforms including Mac OS X server. It is accesible to non programming designers as soon as the server admin and database admin have set up the servers. Very shallow learning curve! Design can be done on Mac or PC. Feedback and improvements are accepted with pleasure. http://www.animaproductions.com/ultra.html Future updates include making the JDBC play nice with foreign languages and some SQL query goodies to improve on the stuff provided by Macromedia. Cheers Tony Grant
OT: Serialization problem between JVM 1.1.6 and 1.3
OK, A little off topic, but this is stopping me upgrading the JVM that Tomcat uses. I have a serialzed class that was written out using the old 1.1.6 JVM. I now need to read it in using the 1.3 JVM. However if I try to do so I get: # # An EXCEPTION_STACK_OVERFLOW exception has been detected in native code outside the VM. # Program counter=0x77e848dd # # Is there a solution to this ? Is there a better place to ask. I've search javasoft but to no avail. I am a bit stuck at present ! Andy C Editor The R2 Project http://www.r2-dvd.org
Re: Serialization problem between JVM 1.1.6 and 1.3
- Original Message - From: "Randy Layman" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 19, 2001 12:49 PM Subject: RE: Serialization problem between JVM 1.1.6 and 1.3 Your error message indicates that there is some other native code that is causing a problem (perhaps your serialized object refers to a DLL/SO?). I think you might want to investigate that first. Sadly not at all, it's 100% java as far as I know. Andy
Re: Thanks: Re: Fed up to the back teeth with tomcat !!!
- Original Message - From: "Jeff Kilbride" [EMAIL PROTECTED] To: [EMAIL PROTECTED]; "Andy C" [EMAIL PROTECTED] Sent: Wednesday, April 11, 2001 11:25 PM Subject: Re: Thanks: Re: Fed up to the back teeth with tomcat !!! Hi Andy, Did you ever post your configuration? I would be interested in what OS; Tomcat/Apache versions; JVM; DB backend and driver; whether or not you're I have to admit that the configuration is a little complex, mostly because of legacy database and servlets left over from the JavaWebserver version. Here goes though: Server is NT2000 Apache is 1.3.12 with mod_jk Tomcat is 3.2.2.b2 (I upgraded from 3.2.1 in the hope it would fix the problem.) JVM is 1.1.6 (old version but it's the only one that would run a legacy servlet) Databases are: mysql 3.23.28 (Handles all the main jsp stories) SQL server V7 (Handles servlet requests for release dates) JDBC bridge to mysql is mm-mysql-2.0.4 JDBC-ODBC bridge for SQL server (This could be the problem) Hope this is of interest. Andy C Editor R2 Project http://www.r2-dvd.org
re: Fed up to the back teeth with tomcat !!!
- Original Message - From: "Sandy McPherson" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 12, 2001 9:06 AM Subject: RE: Fed up to the back teeth with tomcat !!! IMHO: before you go blaming something in public you should first identify the problem lies actually with the product you are slagging. Perhaps you should change your database to mysql! Yes, I would like to apologise for that. Please understand last night I was extremly irratable and unreasonable after a day of frustration. Note: I am uses mysql as well as SQL-server7.0. As I have intimated in another message SQL-server is being used as it is is a "legacy" database. The main page is generated from a mysql databse, only release date queries are being generated from SQL-server. I also have the problem that after a month of trying to find out where the problem lies (by examing logs, hammering a test server with request etc) I am no nearer to the truth. I will however persevere. BTW Is there an easy way to import a SQL-Server database into mysql ? At least that way I could dump the jdbc-odbc bridge ? Regards Andy C Editor R2 project http://www.r2-dvd.org
Re: Fed up to the back teeth with tomcat !!!
Many Many thanks for that, I'll get to it right away. Andy - Original Message - From: "Sandy McPherson" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 12, 2001 11:48 AM Subject: Re: Fed up to the back teeth with tomcat !!! Andy C wrote: - Original Message - From: "Sandy McPherson" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Here's a concrete suggestion to improve your debugging Your users are probably seeing the stack trace you yourself want to see, so set up an error page which writes any exceptions to a log file and possibly mails the exceptions thrown in the production system to you. In each servlet you should do a catch( Throwable ex ) around the servlet body and report the exception before re-throwing the it. I have attached a tag class which you can hack about to acheive the desired effect. I have hacked out most of the stuff specific to my environment, so it may not work "out of the box". I guess you can figure out what should go in the TLD. The mail is probably a luxury, but it will wake up your operators!
Update: Fed up to the back teeth with tomcat !!!
Many thanks to all who have taken the time to answer our rather irratable plea for help. Although we haven't 100% got the solution, following advice from Randy Layman, we have upgraded our JVM to 1.1.8 (remember there is a lagacy servlet that will not run on a higher JVM). We have also changed from the sun JDBC-ODBC driver to a type 4 JDBC driver from http://www.freetds.org/ for access to the SQL Server database. We will report back if these changes stabalise the platform and keep on running. Many thanks once again to one and all... Andy C Editor R2 project http://www.r2-dvd.org
Bad news 2nd Update: Fed up to the back teeth with tomcat !!!
Sadly this has made no difference at all. Tomcat fell over after about 2 hours usage so it's back to the drawing board. Andy C -Original Message- From: Andy C [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: 12 April 2001 16:56 Subject: Update: Fed up to the back teeth with tomcat !!! Many thanks to all who have taken the time to answer our rather irratable plea for help. Although we haven't 100% got the solution, following advice from Randy Layman, we have upgraded our JVM to 1.1.8 (remember there is a lagacy servlet that will not run on a higher JVM). We have also changed from the sun JDBC-ODBC driver to a type 4 JDBC driver from http://www.freetds.org/ for access to the SQL Server database.
Fed up to the back teeth with tomcat !!!
I am fed up to the back teeth with Tomcat under Apache. I'm trying to run a 24/7 web page servinbg around 20,000 .jsp pages a day and I'v ehad to reset the damn server 3 times today already. It keeps falling over with absolutly no error *** log messages at all. I am at my wits end, not to mention my poor users who have had to put up with this service for the past month. I am totaly lost now as to where to look for solutions So can someone please recomend a good webserver that will run .jsp and servlets pages and integrates well with a SQL server ? I used to run Java Webserver 2.0 would going back to that help ? Andy C Editor R2 Project http://www.r2-dvd.org (lets hopr you don't see a 500 internal error message.)
Thanks: Re: Fed up to the back teeth with tomcat !!!
Thanks to all for the advice, I'll be running though suggestions over the next couple of days and report back. Andy C
Jakarta.log
I notice that the film Jakarta.log is replaced every time that tomcat is restarted. I am probably missing something obvious, but is there a configuration setting to make sure the log is not destroyed on restart ? I presume that it could either : 1: copy the old log before creating a new one 2: Simply add to the old instead of overwriting it ? TA Andy C Editor R2 project http://www.r2-dvd.org
Re: Sending e-mail
Use Java Mail library from sun See: http://www.javasoft.com/products/javamail/index.html Andy C - Original Message - From: Garry De Toffoli To: [EMAIL PROTECTED] Sent: Thursday, April 05, 2001 10:25 AM Subject: Sending e-mail Someone know a java-class that can send e-mail? Thank you.
Re: Tomcat 3.2.2.b2 ?
of the reliability problems I'm having with 3.2.1 with Apache. I'm finding our current set-up is requiring a reboot at least once a day. 3.2.2b2 will be released soon but could you verify via netstat how many open connection you have. Yes I will, next time the server "goes down" with a fault I'll do a netstat -na and see if there is anything hanging. Can I do a stack trace on Tomcat if it is running as a service under Win2000 ? Andy
Re: Tomcat-Startup in windows
- Original Message - From: "venkatesan" [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, March 22, 2001 8:53 AM Subject: Re: Tomcat-Startup in windows Hi shlomi sarfati, I tried but server is not starting while i started the system. I have the same problem to a extent. When my server NT2000 server is restarted I must stop apache, Stop Tomcat, start tomcat, start apache. Apache and tomcat are running as services. I think the clue (and I'm still working on an implementation) is that the apache service needs to be told that it is dependent on the tomcat service. Under NT 2000 this is "Dependencies" tag under the service properties. I'm still trying to work out how to control these dependencies though as there does not appear to be an "Add" button on the dialog box ! Andy C Editor R2 project http://www.r2-dvd.org
Hint: Tomcat service dependencies on NT
If like me you are having trouble starting tomcat and apache as a service on NT because apache may start before tomcat take a look at: http://support.microsoft.com/support/kb/articles/Q193/8/88.ASP?LN=EN-USSD=g nFR=0qry=dependenciesrnk=9src=DHCS_MSPSS_gn_SRCHSPR=WIN2000 This describes how to make one service starting dependant on another using regedt32 thus: "The Registry subkeys for services are located in the following path and can control how services are loaded. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Service name WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. For information about how to edit the registry, view the "Changing Keys and Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT or Windows 2000, you should also update your Emergency Repair Disk (ERD). To create a new dependency, select the subkey representing the service you want to delay, click Edit, and then click Add Value. Create a new value name "DependOnService" (without the quotation marks) with a data type of REG_MULTI_SZ, and then click OK. When the Data dialog box appears, type the name or names of the services that you prefer to start before this service with one entry for each line, and then click OK." Andy C Editor The R2 Project http://www.r2-dvd.org
Re: Tomcat 3.2.1: slow initialization of compiled JSP
Which JVM are you using ? I find that the first load time dependson the version of JVM, 1.1.6 is versy slow while 1.3 is much faster. (note: This is NT2000) Andy C Editor R2 Project http://www.r2-dvd.org - Original Message - From: "Fergus Gallagher" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 15, 2001 10:54 AM Subject: Tomcat 3.2.1: slow initialization of compiled JSP I find that the first call to each JSP is very slow under Tomcat 3.2.1. I initially assumed that the compilation was slow, but even when I precompile with jspc, I find that it's still VERY slow. The offending line is the auto-generated: pageContext = _jspxFactory.getPageContext(this, request, response, "com.acme.TestErrorPage", true, 8192, true); which takes about 22 secs (on a Sun E450!) the first time around. Any suggestions? Fergus ( Solaris 7 Sun JDK 1.3 (default hotspot, etc) Tomcat 3.2.1 ) -- Fergus Gallagher Orbis http://www.orbisuk.com/ +44-(0)20-8987 0717
Odd problem restarting tomcat
Under Tomcat 3.2.1,Apache 1.3.12,mm.mysql.2.0.4,mysql 3.3.28,NT 2000 On one machine when it is restarted some jsp pages work correctly while others give an error. See below for the full error. The pages are generated from jsp from data in a mysql database. Only by carefully restarting the apache, tomcat and mysql services in the correct order with a delay between the restarts do the pages start working correctly. The pages will then work correctly until the server is restarted. I'm at a bit lost as to which component is actually causing the trouble ! The fault does not appear on a test machine that does restart and work without user intervention Because the main server is under load, could it be that the jsp pages are attempting to access resources that are not yet available causing a permanent failure ? Andy C Editor R2 Project http://www.r2-dvd.org Full error is org.apache.jasper.JasperException at java.lang.Throwable.(Compiled Code) at org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(Compiled Code) at org.apache.jasper.runtime.JspRuntimeLibrary.introspect(Compiled Code) at _0002farticle_0002ejsp_0002farticle_jsp_0._jspService(Compiled Code) at org.apache.jasper.runtime.HttpJspBase.service(Compiled Code) at javax.servlet.http.HttpServlet.service(Compiled Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Compiled Code) at org.apache.jasper.servlet.JspServlet.serviceJspFile(Compiled Code) at org.apache.jasper.servlet.JspServlet.service(Compiled Code) at javax.servlet.http.HttpServlet.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.doService(Compiled Code) at org.apache.tomcat.core.Handler.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.service(Compiled Code) at org.apache.tomcat.core.ContextManager.internalService(Compiled Code) at org.apache.tomcat.core.ContextManager.service(Compiled Code) at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection (Compiled Code) at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code) at java.lang.Thread.run(Compiled Code) Root cause: java.lang.reflect.InvocationTargetException at org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(Compiled Code) at org.apache.jasper.runtime.JspRuntimeLibrary.introspect(Compiled Code) at _0002farticle_0002ejsp_0002farticle_jsp_0._jspService(Compiled Code) at org.apache.jasper.runtime.HttpJspBase.service(Compiled Code) at javax.servlet.http.HttpServlet.service(Compiled Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Compiled Code) at org.apache.jasper.servlet.JspServlet.serviceJspFile(Compiled Code) at org.apache.jasper.servlet.JspServlet.service(Compiled Code) at javax.servlet.http.HttpServlet.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.doService(Compiled Code) at org.apache.tomcat.core.Handler.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.service(Compiled Code) at org.apache.tomcat.core.ContextManager.internalService(Compiled Code) at org.apache.tomcat.core.ContextManager.service(Compiled Code) at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection (Compiled Code) at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code) at java.lang.Thread.run(Compiled Code) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Reloading Pages....Help
This might not be the correct way to do it but shut down the tomcat server and delete the appropriate files from the work directory (tomcat\work\locakhost_8080 I guess.) Andy C Editor R2 Project http://www.r2-dvd.org - Original Message - From: "Mick Sullivan" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 14, 2001 4:47 PM Subject: Reloading PagesHelp Hi I need some help here. Does Tomcat cache JSP pages? I ask this because any changes I make to my JSP pages arnt actually saving. I am definetly changing the right pages in the folder C:\tomcat\webapps\project\jsp\ When i point my browser to http://localhost:8080/project/jsp/anyJSPFile.jsp the changes do not show??? I have even moved the JSP folder, yet the pages (without their images and backgrounds) show on the browser? Someone please help, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: 'work' Folder--help??
- Original Message - From: "Christopher J Cowan" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 14, 2001 11:27 PM Subject: RE: 'work' Folder--help?? I thought the work folder is for intermediate files used by Tomcat... as stated in the User Manual: The work folder is for the .class files that your .jsp files generate. Remember .jsp is just inside out servlets. When you create a .jsp file it is compiled into a .class file in the work directory when it is first requested. However if you change the .jsp file a new class file is created the first time the page is requested. There are I think 3 exceptions to this: If a servlet is included on the page using jsp:include and it changes, a new work file willnot be created. If a page is included with the %@include and the include file is changed then the work file is not recreated. If a page uses Beans and a Bean is changed, the work file isn't recreated and in fact the new Bean isn't re-loaded. I think the above is correct, certainly seems to be from my experience. Andy C Editor The R2 Project http://www.r2-dvd.org