Tomcat startup error!

2011-05-13 Thread red phoenix
I use tomcat 7.0.12 with hibernate 3,when I startup first,it can work well and no errors.then I shutdown tomcat,and startup again,it raise following warning information: Warn: Failed to scan JAR [jndi:/localhost/examples/WEB-INF/lib/standard.jar] from WEB-INF/lib java.io.FileNotFoundException: c:\a

Re: Help:tomcat 6.0.18 showdown automatically!

2010-05-09 Thread red phoenix
tomcat6 shutdown after ten minutes, localhost.2010-05-09.log is follows: 2010-5-9 22:36:12 org.apache.catalina.core.ApplicationContext log Info: Initializing Spring root WebApplicationContext 2010-5-9 22:45:12 org.apache.catalina.core.ApplicationContext log Info: Initializing Spring root WebAppl

Help:tomcat 6.0.18 showdown automatically!

2010-05-09 Thread red phoenix
I use tomcat 6.0.18 deploy struts2.1.8.1+hibernate3+spring3.0,I find a puzzled question,I find tomcat will be shutdown automatically after about 10 minutes,I look up files under logs directory of tomcat,I find localhost.2010-05-09.log,it looks follows: 2010-5-9 22:36:12 org.apache.catalina.core.App

How to reload webapp automaticly under tomcat 6.0.20

2010-04-12 Thread red phoenix
I set following statement in conf/server.xml, it can run well before tomcat6.0.20,when I modify class file,tomcat can reload automaticly. But when I use tomcat 6.0.2,I find it can't reload automaticly,why? Where is wrong? How to do it? Thanks

Warn:Parameters: Invalid chunk ignored

2007-09-23 Thread red phoenix
I have a jsp page,and there is a button in it,when I click this button,it will call Javascript,and redirect another page,my code is follows: ... functioin test(){ document.forms[0].action="a.do"; document.forms[0].submit(); } ... Test ... When I run above page,it can redirect

import files question under Tomcat6.0.13

2007-07-12 Thread red phoenix
I tried with to import a struts action,it raises a question,I use Tomcat6.0.13,my directory is follows: C:\tomcat\webapps\struts2-blank-2.0.8 when I use visit http://localhost:8080/struts2-blank-2.0.8/a.jsp it raise following error: The requested resource (/struts2-blank-2.0.8/example/HelloWorld

Tomcat6.0.10 Character Code question

2007-05-08 Thread red phoenix
I have set my all files with UTF-8 format,so I set URIEncoding parameter in server.xml,like follows: Then I write a JSP file like follows: <%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ taglib prefix="s" uri="/struts-tags" %> In test.do action,I get the value of Name f

how to halt session restore when tomcat start

2006-12-25 Thread red phoenix
when I start tomcat6,sometimes tomcat6 start successfully and don't raise any error,sometimes tomcat6 start successfully too,but it raise errors,I heard tomcat6 add some new feature which it will restore session when tomcat6 start,I read from erorr infomation,tomcat has halt session restore,saveOn

Tomcat6 start error for sometimes

2006-12-06 Thread red phoenix
When I start tomcat6,sometimes I find tomcat6 raise errors while tomcat start,but sometimes I find tomcat6 don't raise errors while tomcat start,I don't know why? Any body can tell the reason which raise following error and how to correct it? My JDK version is 6,Tomcat version is 6.I only add in

Address already in use

2006-11-29 Thread red phoenix
My JDK is jdk1.5.0_09 and my tomcat is 5.5.17,and I use Norton Antivirus 2006,when I start Tomcat,it raise following error: Error: Error initializing endpoint java.net.BindException: Address already in use: JVM_Bind: at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint( PoolTcpEndpoint.

Re: Tomcat5.5.17 JNDI configure error

2006-09-29 Thread red phoenix
I use Oracle9i,so I put oracle\ora90\jdbc\lib\classes12.jar file into tomcat\webapp\myweb\WEB-INF\lib,I don't where I did wrong,I am puzzled with it On 9/30/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > From: red phoenix [mailto:[EMAIL PROTECTED] > Subject: Tomcat5.5.

Tomcat5.5.17 JNDI configure error

2006-09-29 Thread red phoenix
I use JDK1.6 and Tomcat5.5.17,I want to use JNDI in tomcat,so I do like follows: Tomcat/conf/context.xml WEB-INF/web.xml Tomcat/conf/server.xml .. .. Tomcat/webapps/myweb/WEB-INF/web.xml .. Oracle Datasource example jdbc/test javax.sql.DataSource

How to deploy one application under two different port?

2006-06-04 Thread red phoenix
I hava a web application with JSP and servlet,I want to deploy it using Tomcat5,but I deploy it under two different port,such as 8080 and 9090,8080 port for general visit,and 9090 port for administrator visit. How to do it? Thanks in advance.

JNDI configure question

2006-04-03 Thread red phoenix
I use tomcat 5.5.16,and my database is Microsoft Access 2000,and I have configured ODBC as SMS in windows,then I configure JNDI like follows: /*\tomcat\conf\server.xml*/ /*\tomcat\webapps\test\WEB-INF\web.xml*/ http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.o

Re: connection pool

2006-03-29 Thread red phoenix
d.sleep(2); } // Wait 20 seconds for next cycle catch(InterruptedException e) { return; } } } // End run I want to get a solution method,because it puzzled me for a very long time,I don't know if Tomcat support Access2000 Database by JDCB Driver,not by ODBC driver? On 3/30/06, Frank W.

Re: connection pool

2006-03-29 Thread red phoenix
obtain the driver is another bear. > > -Original Message- > From: red phoenix [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 29, 2006 10:43 PM > To: users@tomcat.apache.org > Subject: connection pool > > > I know Tomcat5 supply some connection pool for oracle

connection pool

2006-03-29 Thread red phoenix
I know Tomcat5 supply some connection pool for oracle,sql and so on.Now I want to use Microsoft Access2000 Database,I don't know how to do it through tomcat connection pool. Any body can give me a example code for Microsoft Access2000 Database configure under Tomcat5 connection pool? Thanks in adv