RE: running tomcat on port 80
Shouldn't be any problems. Are you sure there are not other programs bound to 80? Try netstat -a in the dos window. -Original Message- From: Tony Smith [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 21, 2005 9:47 AM To: tomcat-user@jakarta.apache.org Subject: running tomcat on port 80 Hi, Can I run Tomcat 5.0 on port 80? I do not want my visitor have to type the port number. After setting 80 as port number in the server.xml and starting tomcat, I got the following error message: SEVERE: Error starting endpoint java.net.BindException:permission denied:80 Thanks, Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com - 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: IE 20 session cookies limitation
How about passing the session ids in the url like you woud do if the user had cookies disabled? -Original Message- From: Rick Wong [mailto:[EMAIL PROTECTED] Sent: Friday, May 13, 2005 11:42 AM To: tomcat-user@jakarta.apache.org Subject: IE 20 session cookies limitation Hi, I am using Tomcat 5.0.26. I have 20+ web applications hooked up with single-sign-on. Each web application generates a JESSIONID session cookie with a different path, and shares a single JSESSIONIDSSO. When testing my suite of applications, I notice that IE consistently drops my login after accessing the 20th web application within a session. I did some research and learned about RFC 2109 where HTTP agents should support a minimum of 20 session cookies per domain. That appears to be just what IE does. The following Microsoft knowledgebase article explains that: http://support.microsoft.com/default.aspx?scid=kb;EN-US;306070. I suspect JSESSIONIDSSO was the oldest cookie, and was the first to get dropped by IE when reaching over 20 session cookies. Firefox does not have this problem. Knowing that I cannot easily refactor the application suite to make less number of web application ( 19), I am wondering if anyone else has this problem, and if and how I might work around this IE limitation. Thanks, -- Rick - 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]
Strange error
Does anyone have any idea what this error means? I'm using jdk 1.5, tomcat 5.5.9 and intellij. Thanks! Connected to server ERROR [/]: Session event listener threw exception java.lang.NullPointerException at org.objectstyle.cayenne.conf.WebApplicationListener.sessionCreated(WebAp plicationListener.java:125) at org.apache.catalina.session.StandardSession.tellNew(StandardSession.java :379) at org.apache.catalina.session.StandardSession.setId(StandardSession.java:3 51) at org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:7 87) at org.apache.catalina.session.StandardManager.createSession(StandardManage r.java:290) at org.apache.catalina.connector.Request.doGetSession(Request.java:2206) at org.apache.catalina.connector.Request.getSession(Request.java:2017) at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.jav a:822) at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.jav a:833) at org.apache.jasper.runtime.PageContextImpl._initialize(PageContextImpl.ja va:148) at org.apache.jasper.runtime.PageContextImpl.initialize(PageContextImpl.jav a:123) at org.apache.jasper.runtime.JspFactoryImpl.internalGetPageContext(JspFacto ryImpl.java:104) at org.apache.jasper.runtime.JspFactoryImpl.getPageContext(JspFactoryImpl.j ava:61) at org.apache.jsp.Login_jsp._jspService(org.apache.jsp.Login_jsp:35) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja va:322) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:173) at irf.filters.FrontFilter.doFilter(FrontFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1 48) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:85 6) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC onnection(Http11Protocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint .java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow erWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool .java:684) at java.lang.Thread.run(Thread.java:595) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Expression Languange not working for me
Check your web.xml file to make sure you're using the 2.4 dtd and not 2.3 or lower. Fredrik -Original Message- From: Franklin Phan [mailto:[EMAIL PROTECTED] Sent: Monday, April 25, 2005 6:04 PM To: tomcat-user@jakarta.apache.org Subject: Expression Languange not working for me I am running Tomcat 4.1.18 and 5.0.x. I tried the following HTML and JSP using EL, and am not getting the correct response from either Tomcat version. I have the following HTML: html body form action=TestBean.jsp Name: input type=text name=namebr input type=submit /form /body /html And the following JSP: %@ page isELIgnored =false % html body Request param name is: ${param.name} br /body /html Regardless of what I type in the Name box in the HTML page, the response is always: Request param name is: ${param.name} What is wrong? Thanks. - 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: Expression Languange not working for me
Try this: web-app version=2.4 xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; /web-app -Original Message- From: Franklin Phan [mailto:[EMAIL PROTECTED] Sent: Monday, April 25, 2005 6:24 PM To: Tomcat Users List Subject: Re: Expression Languange not working for me This is what my web.xml file contains: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app /web-app What do I change? Fredrik Liden wrote: Check your web.xml file to make sure you're using the 2.4 dtd and not 2.3 or lower. Fredrik -Original Message- From: Franklin Phan [mailto:[EMAIL PROTECTED] Sent: Monday, April 25, 2005 6:04 PM To: tomcat-user@jakarta.apache.org Subject: Expression Languange not working for me I am running Tomcat 4.1.18 and 5.0.x. I tried the following HTML and JSP using EL, and am not getting the correct response from either Tomcat version. I have the following HTML: html body form action=TestBean.jsp Name: input type=text name=namebr input type=submit /form /body /html And the following JSP: %@ page isELIgnored =false % html body Request param name is: ${param.name} br /body /html Regardless of what I type in the Name box in the HTML page, the response is always: Request param name is: ${param.name} What is wrong? Thanks. - 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: Expression Languange not working for me
Are you able to correctly view the Expression Language examples that comes with Tomcat 5.0? If so look at those web.xml files to make sure you have the same web-app attributes. Right now it could be some caching that prevents you from seeing the correct result. Try creating a new jsp from scratch and do it again. -Original Message- From: Franklin Phan [mailto:[EMAIL PROTECTED] Sent: Monday, April 25, 2005 6:34 PM To: Tomcat Users List Subject: Re: Expression Languange not working for me It doesn't help. I'm still getting the same result. My current web.xml: ?xml version=1.0 encoding=ISO-8859-1? web-app version=2.4 xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; /web-app Fredrik Liden wrote: Try this: web-app version=2.4 xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; /web-app -Original Message- From: Franklin Phan [mailto:[EMAIL PROTECTED] Sent: Monday, April 25, 2005 6:24 PM To: Tomcat Users List Subject: Re: Expression Languange not working for me This is what my web.xml file contains: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app /web-app What do I change? Fredrik Liden wrote: Check your web.xml file to make sure you're using the 2.4 dtd and not 2.3 or lower. Fredrik -Original Message- From: Franklin Phan [mailto:[EMAIL PROTECTED] Sent: Monday, April 25, 2005 6:04 PM To: tomcat-user@jakarta.apache.org Subject: Expression Languange not working for me I am running Tomcat 4.1.18 and 5.0.x. I tried the following HTML and JSP using EL, and am not getting the correct response from either Tomcat version. I have the following HTML: html body form action=TestBean.jsp Name: input type=text name=namebr input type=submit /form /body /html And the following JSP: %@ page isELIgnored =false % html body Request param name is: ${param.name} br /body /html Regardless of what I type in the Name box in the HTML page, the response is always: Request param name is: ${param.name} What is wrong? Thanks. - 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]
Tomcat 3 and Tomcat 5 on JDK 1.3 and JDK 1.5 respectively
Does anyone know if this configuration is possible on one computer? The reason for the two different JDKs is that I'm guessing that Tomcat 3.23 isn't compatible with jdk 1.5 or even 1.4 or is it? So I guess the question is if it's in Catalinas startup config files it's possible to specify different JAVA_HOMEs. Anyone have any experience with running different versions like this? Any input would be appreciated. Fredrik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Address localhost:8080 already in use
Here is a big problem that I've run into so many times. I run start tomcat. And then by accident I start it again while it is running. After that I can't shut it down again. And if I try to run it it says the address is in use. Have someone found any solution to this problem? Any suggestions would be appreciated. /Fredrik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Address localhost:8080 already in use
I killed the java processes that were bound to 8080 but there must be a better way. I'm sure I'm not the only one that accidentally tried to start tomcat 2 times. -Original Message- From: Folashade Adeyosoye [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005 4:42 PM To: 'Tomcat Users List' Subject: RE: Address localhost:8080 already in use Reboot ! -Original Message- From: Fredrik Liden [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005 7:30 PM To: Tomcat Users List Subject: Address localhost:8080 already in use Here is a big problem that I've run into so many times. I run start tomcat. And then by accident I start it again while it is running. After that I can't shut it down again. And if I try to run it it says the address is in use. Have someone found any solution to this problem? Any suggestions would be appreciated. /Fredrik - 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]
Help configure ServletFilter
Does anyone know how to configure a ServletFilter to only respond to JSPs and Servlets? If I set it to everything using * it triggers for all the images as well. Thanks! /Fredrik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JDBC Realm by-passing login page using a link
Is it possible to pass login info in a link and then based on this information set the JDBC realm status to logged in? In other words is it possible to trigger the authentication manually in a filter? Thanks! /Fredrik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to run servlet for every 30 minutes in Tomcat 4.1.30
Check out QuartzScheduler from Open Symphony it's easy to configure within Tomcat. Fredrik -Original Message- From: pandu yelamanchili [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 21, 2004 9:58 AM To: [EMAIL PROTECTED] Subject: Re: How to run servlet for every 30 minutes in Tomcat 4.1.30 I would say it should be avoided at all if possible using threads. Since as we know in case of threads, there is not much management you can do. Also in my experience i have seen it is very easy for them to get out of control . So if there are any other alternatives, They should be explored first before threads. I am not sure if Tomcat supports MBeans, But I remeber in JBOss, you could create MBeans and schedule them in the container. Pandu From: Jorge Sopena [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: How to run servlet for every 30 minutes in Tomcat 4.1.30 Date: Tue, 21 Dec 2004 18:58:23 +0100 Why is bad using own threads inside web application? Aren't all the servlet request actually a thread in Tomcat? I can't find a reason why it's so bad solution. In that way, you manage to have a single and independent application. Maybe I don't know some thread behaviour in Tomcat... Jorge. Allistair Crossley wrote: myself and ben have suggested the most appropriate methods for doing this. Ben mentions WGET http://www.gnu.org/software/wget/wget.html which can be added to a *basic* script hooked up to a cron with an interval of whatever you like. you really ought to get rid of threads and thread sleeps inside web application code. Allistair. -Original Message- From: Jorge Sopena [mailto:[EMAIL PROTECTED] Sent: 21 December 2004 17:15 To: Tomcat Users List Subject: Re: How to run servlet for every 30 minutes in Tomcat 4.1.30 Hi, I'm having a similar problem in my application. I've got several servlets called by the users. Every requets save some information in DB, that has to be sent to another server later and in a compress format. So I need sth similar toShilpa is asking, a process which runs every X minutes to recover the information and send it to the Server. My solution to this problem was to implement a ServletContextListener inside Tomcat. When Tomcat starts my application the contextInitialized method is called, and then a thread is started to do the task explained above. I use Thread.sleep(step) to wait for the next execution. I didn't find anyway to set a timer for a servlet, and I didn't like the option of creating an external script . Any other suggestions to solver this problem? Thanks Jorge Ben Souther wrote: On Tue, 2004-12-21 at 11:28, Allistair Crossley wrote: no, and I believe doing so it bad practice. use some OS controlled timer like cron to issue a HTTP call to your servlet. I once wrote a shell script that calls a http address on the local machine but cannot remember how ;) if you are using oracle then you can setup this timer thread inside the database itself. don't add a thread into your web application. I concur. It's certainly possible to write a treaded java object that fires a command every so often but there would be no point in making that object a servlet (servlets exist to answer client requests). It's also, IMHO, more aggravation than it's worth to manage your own daemon threads in a webapp. It would take all of 2 minutes to write a timer with crontab and wget that could call your servlet whenever you want. - 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] -- == Jorge Sopena Torres SIDSA (Semiconductores Investigación y Diseño, S.A.) Parque Tecnológico de Madrid c/ Torres Quevedo, nº 1 28760 TRES CANTOS (Madrid) (SPAIN) Phone : +34 91 803 5052 Fax:+34 91 803 9557 e-mail: [EMAIL PROTECTED] URL: http://www.sidsa.com == - 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: MYSQL Authentication
Hey M, Yes it does using JDBCRealm. Instructions are here: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#JDBCRea lm -Fredrik -Original Message- From: Michael Hamilton [mailto:[EMAIL PROTECTED] Sent: Monday, December 20, 2004 10:56 AM To: Tomcat Users List Subject: MYSQL Authentication I have a servlet that I do custom authentication with on the backend, but I want to move this MYSQL authentication into Tomcat. Does Tomcat support user authentication from a database? -M - 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 Requirements?
Hi Chris, That's a pretty general question. It depends on what apps you are running. The number of users. Then there could be various bottlenecks and memory leaks. I'm not sure if Tomcat 5 still have a memory leak but I recall other people having problems in this area before. Why don't you go through the performance section of the Tomcat documents and change the settings for debugging, and servlet reloading that could affect performance. I'd still recommend getting a gig of memory. Especially with the raid thing going on. Fredrik -Original Message- From: Chris Cherrett [mailto:[EMAIL PROTECTED] Sent: Monday, November 29, 2004 11:43 AM To: Tomcat Users List Subject: Tomcat Requirements? I have a client who is claiming that my software is slowing down. I cannot determine why this would be. He is running the following: P3 - 450 with 360MB of RAM with 2 IDE - 7200 RPM drives mirrored Raid 1 with Win2k I have found that any client running a faster system works great. Do you have any suggestions as to how to speed things up on this hardware configuration? example increase memory allocated to Tomcat. Thanks - 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
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]
Possible to retrieve ServletContext from any class used in the web application??
Hi, Does anyone know if it's possible to retrieve the ServletContext from any class (like a helper class) that is being used in the Web app, even though the request object is not being passed to the object? Any ideas would be greatly appreciated. /Fredrik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat 4.1.30 + SSL = Problems
I followed the instructions on the tomcat SSL Config page. I generated the .keystore file using changeit password. When I go to the test page http://localhost:8443/ I see 5 squares up in the left corner and that's it. Anyone encountered this?? I'm not sure how to proceed. I'm using Jdk 1.4.1 so I shouldn't have to download the JSSE files according to the instructions. Anyone please! /Fredrik
Folders/Files hidden in Linux but visible through Tomcat/Browser
Help! I can't see folder and files that start with a certain word in Linux. There is no . (dot) in the name. However, when I run tomcat the folder/files are in the directory where it is supposed to be. The files are there but they are invisible. Is this a virus? Please someone. [EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Images in Tomcat
I have a navigationbar that changes images when the user moves the mouse over it. This navigationbar works and looks normal when viewed on my own computer. But when I run it through the server the images won't work properly. It looks pretty messed up to be exact. Anyone know how to get around this? I'm running Tomcat as a standalone webserver/servletengine /Fredrik
error 404 R
Hello, does anyone know why I keep getting the following messages? I can't find any path in my files that looks like the ones below. can it bring down the server? I'm using tomcat standalone. Any feedback would be appreciated 2001-07-03 09:48:31 - Ctx( /examples ): 404 R( /examples + /html/html/Images/RWS LOGO.gif + null) null 2001-07-03 09:48:38 - Ctx( /examples ): 404 R( /examples + /html/Images/RWSLOGO. gif + null) null 2001-07-03 09:48:55 - Ctx( /examples ): 404 R( /examples + /html/Images/RWSLOGO. gif + null) null
error 400 R
Ctx( ): 400 R( /) null I keep getting a LOT of this message. and sometimes that messages is followed by - PoolTcpEndpoint: Endpoint ServerSocket[addr=0.0.0.0/0.0.0. 0,port=0,localport=8080] ignored exception: java.net.SocketException: Connection reset by peer - java.net.SocketException: Connection reset by peer at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java, Compiled Code) at java.net.ServerSocket.implAccept(ServerSocket.java, Compiled Code) at java.net.ServerSocket.accept(ServerSocket.java, Compiled Code) at org.apache.tomcat.service.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoin t.java, Compiled Code) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java, Compiled Code) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java , Compiled Code) at java.lang.Thread.run(Thread.java, Compiled Code) Does anyone know what causes it? I'd like to see something else on the output screen besides these error messages. I have the default Serve.xml settings. Everything is relative to the example folder. /Fredrik
404 R
Hello, does anyone know why I keep getting the following messages? I can't find any path in my files that looks like the ones below. can it bring down the server? I'm using tomcat standalone. Any feedback would be appreciated 2001-07-03 09:48:31 - Ctx( /examples ): 404 R( /examples + /html/html/Images/RWS LOGO.gif + null) null 2001-07-03 09:48:38 - Ctx( /examples ): 404 R( /examples + /html/Images/RWSLOGO. gif + null) null 2001-07-03 09:48:55 - Ctx( /examples ): 404 R( /examples + /html/Images/RWSLOGO. gif + null) null
Determining if Tomcat is running
hey all, Is it possible to determine if Tomcat is running? I'm using Tomcat as a standalone server. Occasionally Tomcat goes down and the page will not display. It's just gets stuck. Is there some way I can redirect a user if the servletEngine goes down? Any suggestions would be greatly appreciated
RE: Determining if Tomcat is running
I'm not really familiar with Linux or the ps command. Could you give a short description of what this does: ps -aux --cols 500 |grep $TOMCAT_HOME Thanks! -Original Message- From: Tim O'Neil [mailto:[EMAIL PROTECTED]] Sent: Monday, July 02, 2001 4:15 PM To: [EMAIL PROTECTED] Subject: Re: Determining if Tomcat is running At 03:36 PM 7/2/2001, you wrote: Probably not foolproof, but off the top of my head: ps -aux --cols 500 |grep $TOMCAT_HOME ps aux --- BSD options. You'll want ef for SysV variants like Linux. I KNOW, Linux isn't a sys V kernel, but the ports, like ps seem to be.
Jsp question
Let's say I have multiple forms on a page. Does anyone know if I can retrive the name of the form that was submitted using the request object? or if there is any other way to find out. Thanks! Fredrik
Internal Servlet Error
Hello I created a .jsp file that worked fine on JSWDK Recently I upgraded to Tomcat 3.2.2 and now when I click on the JSP file I get the following message: Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile class for JSPerror: Can't write: /usr/local/jakarta-tomcat-3.2.2/work/localhost_8080%2Fexamples/html/html/For ms/_0002fhtml_0002fhtml_0002fForms_0002fForms_0002ejspForms_jsp_2.class Note: /usr/local/jakarta-tomcat-3.2.2/work/localhost_8080%2Fexamples/_0002fhtml_00 02fhtml_0002fForms_0002fForms_0002ejspForms_jsp_2.java uses or overrides a deprecated API. Recompile with -deprecation for details. 1 error, 1 warning How can I recompile a jsp file and find out what I need to modify? Thanks Fredrik