RESIN~~ 配置问题~~
不清楚是那里配置错误了~ 突然间在resin 的stderr。log 文件打出很多错误信息~:
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.
conf/resin.conf:253: root-directory="." is an unexpected attribute in <web-app>.
'active-wait-time', 'allow-servlet-el', 'archive-path', 'case-insensitive', 'character-encoding', 'config-file', 'context-path', 'cookie-http-only', 'dependency-check-interval', 'dispatch-wraps-filters', 'distributable', 'document-directory', 'idle-time', 'inherit-session', 'lazy-init', 'lazy-servlet-validate', 'redeploy-check-interval', 'redeploy-mode', 'secure', 'shutdown-wait-max', 'startup-mode', 'strict-mapping', 'temp-dir' or 'work-dir' are expected.
<web-app> syntax: ((@id | @url-prefix | <url-prefix> | @url-regexp | <url-regexp>),
( (@context-path | <context-path>)?
& (@document-directory | <document-directory>)?
& <prologue>?
& (@startup-mode | <startup-mode>)?),
(<authenticator>*
& (@case-insensitive | <case-insensitive>)?
& (@character-encoding | <character-encoding>)?
& <class-loader>*
& <cluster-definition>*
& <connector>*
& <ejb-server>*
& <env-entry>*
& <database>*
& <dependency>*
& (@dependency-check-interval | <dependency-check-interval>)?
& <grant>*
& <rcore:import>*
& <rcore:include>*
& <javac>?
& <jndi-link>*
& <log>*
& <logger>*
& <reference>*
& (<bean> | <resource>)*
& <resource-default>*
& (<rar-deploy> | <resource-deploy>)*
& <stderr-log>?
& <stdout-log>?
& <system-property>*
& (@temp-dir | <temp-dir>)?
& (@work-dir | <work-dir>)?
& (<rcore:log> | <rcore:message>)*
& <rcore:set>*
& <rcore:include>*
& <access-log>*
& (@active-wait-time | <active-wait-time>)?
& (@allow-servlet-el | <allow-servlet-el>)*
& (@archive-path | <archive-path>)?
& <cache-mapping>*
& (@cookie-http-only | <cookie-http-only>)?
& <context-param>*
& (<description>*, <display-name>?, <icon>?)
& (@dispatch-wraps-filters | <dispatch-wraps-filters>)?
& <display-name>*
& (@distributable | <distributable>)?
& <ear-deploy>*
& <ejb-local-ref>*
& <ejb-ref>*
& <error-page>*
& <filter>*
& <filter-mapping>*
& (@idle-time | <idle-time>)?
& (@inherit-session | <inherit-session>)?
& <jsp>?
& <jsp-config>*
& (@lazy-init | <lazy-init>)*
& (@lazy-servlet-validate | <lazy-servlet-validate>)?
& <listener>*
& <login-config>?
& <message-destination>*
& <mime-mapping>*
& <multipart-form>*
& <path-mapping>*
& (@redeploy-check-interval | <redeploy-check-interval>)?
& (@redeploy-mode | <redeploy-mode>)?
& <resource-env-ref>*
& <rewrite-dispatch>*
& <rewrite-real-path>*
& (@secure | <secure>)?
& <security-constraint>*
& <security-role>*
& <servlet>*
& <servlet-mapping>*
& <servlet-regexp>*
& <session-config>*
& (@shutdown-wait-max | <shutdown-wait-max>)?
& (@strict-mapping | <strict-mapping>)?
& <taglib>*
& <web-app>*
& <web-app-deploy>*
& <welcome-file-list>?
& <rcore:env>*
& <rcore:if>*
& <rcore:choose>*
& (@config-file | <config-file>)*))
头大哇~~ 搞了一天了 怎么都弄不好~ =。=!!~~~
[最优解释]
该回复于2012-09-05 14:03:43被版主删除