Dear all, I've created a web application and deployed it on Tomcat 6.0.x, it works fine. Then I tried to deploy the same war file on Resin 3.1.6, I got the following error messages:
2008-7-10 13:45:55 com.caucho.boot.WatchdogProcess run Info: WatchdogProcess[Watchdog[],1] starting Resin [13:45:55.171] {watchdog-} WatchdogProcess[Watchdog[],1] starting Resin Resin-3.1.6 (built Sun, 04 May 2008 03:25:50 PDT) Copyright(c) 1998-2008 Caucho Technology. All rights reserved. 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. Starting Resin on Thu, 10 Jul 2008 13:45:59 +0800 (CST) [13:46:04.125] {main} 'select-manager' requires Resin Professional. See http://www.caucho.com for information and licensing. [13:46:04.125] {main} [13:46:04.125] {main} Windows 2003 5.2 x86 [13:46:04.125] {main} Java(TM) 2 Runtime Environment, Standard Edition 1.5.0_10-b03, GBK, zh [13:46:04.125] {main} Java HotSpot(TM) Client VM 1.5.0_10-b03, 32, mixed mode, Sun Microsystems Inc. [13:46:04.125] {main} user.name: Administrator [13:46:04.125] {main} resin.home = E:\Applications\resin-3.1.6 [13:46:04.125] {main} resin.root = E:\Applications\resin-3.1.6 [13:46:04.187] {main} resin.conf = /E:/Applications/resin-3.1.6/conf/resin.conf [13:46:04.187] {main} [13:46:05.015] {main} WebApp[http://localhost:8080] active [13:46:05.484] {main} WebApp[http://localhost:8080/resin-admin] active [13:46:10.187] {main} /E:/Applications/resin-3.1.6/conf/app-default.xml:17: com.caucho.server.webapp.WebApp.addServlet(): java.lang.NoSuchMethodError: org.hibernate.cfg.AnnotationConfiguration.addProperties(Ljava/util/Properties;)Lorg/hibernate/cfg/AnnotationConfiguration; [13:46:10.187] {main} [13:46:10.187] {main} 15: [13:46:10.187] {main} 16: <servlet servlet-name="resin-file" [13:46:10.187] {main} 17: servlet-class="com.caucho.servlets.FileServlet"/> [13:46:10.187] {main} 18: [13:46:10.187] {main} 19: <servlet servlet-name="resin-jsp" [13:46:10.187] {main} [13:46:10.265] {main} expanding /E:/Applications/resin-3.1.6/webapps/resin-doc.war to /E:/Applications/resin-3.1.6/webapps/resin-doc [13:46:16.609] {main} WebApp[http://localhost:8080/resin-doc] active [13:46:16.609] {main} Host[] active [13:46:16.656] {main} hmux listening to 127.0.0.1:6800 [13:46:16.687] {main} http listening to *:8080 [13:46:16.703] {main} Server[id=,cluster=app-tier] active [13:46:16.703] {main} Resin started in 17844ms It seems method com.caucho.server.webapp.WebApp.addServlet() tries to call org.hibernate.cfg.AnnotationConfiguration.addProperties(), but can not find it. In fact, I've checked the API doc of Hibernate Annotations 3.3.0 GA, this method does NOT exist. So is there some wrong with Resin itself? If not, how can I fix this problem? Thanks for any clues. Regards, George -- View this message in context: http://www.nabble.com/Error-while-deploying-a-web-application-on-Resin-3.1.6-tp18376474p18376474.html Sent from the Resin mailing list archive at Nabble.com. _______________________________________________ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest