resin启动不了
Starting Resin on Mon, 08 Feb 2010 10:42:25 +0800 (CST)
[10:42:28.156] {main}
[10:42:28.171] {main} Windows XP 5.1 x86
[10:42:28.187] {main} Java(TM) SE Runtime Environment 1.6.0_02-b06, GBK, zh
[10:42:28.187] {main} Java HotSpot(TM) Client VM 1.6.0_02-b06, 32, mixed mode, Sun Microsystems Inc.
[10:42:28.187] {main} user.name: Administrator
[10:42:28.187] {main} resin.home = D:\resin-pro-3.1.9
[10:42:28.187] {main} resin.root = D:\resin-pro-3.1.9
[10:42:28.187] {main} resin.conf = /D:/resin-pro-3.1.9/conf/resin.conf
[10:42:28.187] {main}
[10:42:28.718] {main} WebApp[http://localhost:8080] active
[10:42:28.890] {main} WebApp[http://localhost:8080/resin-admin] active
J2EE项目开发。我的resin跑到这里就停了,请教各位大虾是什么原因?小弟在次多谢了!
[解决办法]
ding
[解决办法]
Resin-3.1.9 (built Mon, 13 Apr 2009 11:09:12 PDT)
Copyright(c) 1998-2008 Caucho Technology. All rights reserved.
Starting Resin on Mon, 08 Feb 2010 11:28:55 +0800 (CST)
Using Resin(R) Open Source under the GNU Public License (GPL).
See http://www.caucho.com for information on Resin Professional,
including caching, clustering, JNI acceleration, and OpenSSL integration.
[11:28:57.656] {main} 'select-manager' requires Resin Professional. See http://www.caucho.com for information and licensing.
[11:28:57.656] {main}
[11:28:57.656] {main} Windows XP 5.1 x86
[11:28:57.656] {main} Java(TM) SE Runtime Environment 1.6.0_13-b03, MS950, zh
[11:28:57.656] {main} Java HotSpot(TM) Client VM 11.3-b02, 32, mixed mode, Sun Microsystems Inc.
[11:28:57.656] {main} user.name: Administrator
[11:28:57.656] {main} resin.home = D:\softc\resin-3.1.9
[11:28:57.656] {main} resin.root = D:\softc\resin-3.1.9
[11:28:57.656] {main} resin.conf = /D:/softc/resin-3.1.9/conf/resin.conf
[11:28:57.656] {main}
Context GMT destroyed on Mon Feb 08 03:28:58 GMT 2010.
log4j:WARN No such property [file] in org.apache.log4j.jdbc.JDBCAppender.
log4j:WARN No such property [datePattern] in org.apache.log4j.jdbc.JDBCAppender.
log4j:ERROR Could not find value for key log4j.appender.registerLog
log4j:ERROR Could not instantiate appender named "registerLog".
[11:28:58.937] {main} WebApp[http://localhost:8080] Initializing Spring root WebApplicationContext
Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@1c62af [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@87bd1c [ acquireIncrement -> 1, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, idleConnectionTestPeriod -> 100, initialPoolSize -> 5, maxIdleTime -> 90, maxPoolSize -> 100, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 5, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@60904e [ description -> null, driverClass -> null, factoryClassLocation -> null, jdbcUrl -> jdbc:mysql://127.0.0.1:3306/egame, properties -> {useUnicode=true, user=******, password=******, characterEncoding=UTF-8, release_mode=on_close} ] , preferredTestQuery -> null, propertyCycle -> 300, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, usesTraditionalReflectiveProxies -> false ] , factoryClassLocation -> null, numHelperThreads -> 3, poolOwnerIdentityToken -> 1c62af ]
[11:29:11.906] {main} WebApp[http://localhost:8080] Set web app root system property: 'webapp.root' = [E:\mywork\egame_home\WebRoot\]
[11:29:11.906] {main} WebApp[http://localhost:8080] Initializing Log4J from [E:\mywork\egame_home\WebRoot\WEB-INF\classes\log4j.properties]
log4j:WARN No such property [file] in org.apache.log4j.jdbc.JDBCAppender.
log4j:WARN No such property [datePattern] in org.apache.log4j.jdbc.JDBCAppender.
log4j:ERROR Could not find value for key log4j.appender.registerLog
log4j:ERROR Could not instantiate appender named "registerLog".
[11:29:12.250] {main} WebApp[http://localhost:8080] org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)
[11:29:13.828] {main} WebApp[http://localhost:8080] active
[11:29:14.015] {main} WebApp[http://localhost:8080/resin-admin] active
[11:29:14.703] {main} WebApp[http://localhost:8080/resin-doc] active
[11:29:14.703] {main} Host[] active
[11:29:14.703] {main} hmux listening to localhost:6800
[11:29:14.718] {main} http listening to *:8080
[11:29:14.718] {main} Server[id=,cluster=app-tier] active
[11:29:14.718] {main} Resin started in 18937ms
这是我的工程启动时运行的结果:
在resin.conf 中
这样配置
<!-- configures the default host, matching any host name -->
<host id="" root-directory=".">
<!--
- configures an explicit root web-app matching the
- webapp's ROOT
-->
<!--<web-app id="/" root-directory="webapps/ROOT"/>
<web-app id="/" root-directory="E:/mywork/chat/WebRoot" /> -->
<web-app id="/" root-directory="E:/mywork/egame_home/WebRoot"/>
<!-- <web-app id="/advertisement" root-directory="E:/mywork/advertisement/WebRoot" />-->
<web-app id="/resin-admin" root-directory="${resin.home}/php/admin">
<!--
- Administration application /resin-admin
-->
<prologue>
<resin:set var="resin_admin_external" value="false"/>
<resin:set var="resin_admin_insecure" value="true"/>
</prologue>
</web-app>
</host>
</cluster>
你可以试试!希望可以给你一点帮助!