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:

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

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

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. Context path=/Test docBase=Test reloadable=true crossContext=true/Context But when I use tomcat 6.0.2,I find it can't reload automaticly,why? Where is wrong?

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(); } ... s:form table tda href=javascript:test() Test/a/td /tr

import files question under Tomcat6.0.13

2007-07-12 Thread red phoenix
I tried with c:import 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

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: Connector port=8080 protocol=HTTP/1.1 maxThreads=150 connectionTimeout=2 redirectPort=8443 URIEncoding=UTF-8/ Then I write a JSP file like follows: %@ page

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

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

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(

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 Context Resource name=jdbc/test type=javax.sql.DataSource auth=Container driverClassName=ooracle.jdbc.driver.OracleDriver maxActive=100 maxIdle=30 maxWait=1

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.17 JNDI configure

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*/ Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false

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

Re: connection pool

2006-03-29 Thread red phoenix
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,sql and so on.Now I want to use Microsoft Access2000

Re: connection pool

2006-03-29 Thread red phoenix
driver? On 3/30/06, Frank W. Zammetti [EMAIL PROTECTED] wrote: I don't believe such a driver exists... I'd be interested myself if I'm wrong. I believe you'll have to use the jdbc:odbc bridge driver. Frank red phoenix wrote: Where can I get JDBC driver for Microsoft Access2000? Thanks