2 Replies Latest reply on Aug 9, 2007 12:34 AM by Murali

    Seam2 examples - Hibernate2 Example on Tomcat 6.0.13

    Murali Newbie

      Hi All

      I am trying to migrate a application from seam 1.2 to Seam 2. Also from tomcat 5.5 to 6.0.13.

      I was able to deploy the hibernate2 example on tomcat 5.5. But when i try to run the same application on 6.0.13 it fails to deploy.

      below is the tomcat log file which gives a linkageError. Should i change anything else other than the server.xml where i have specified the datasource. Any pointers as to where to look would be appreciated.

      Thx in advance.
      Murali

      Aug 8, 2007 2:00:14 PM org.apache.catalina.core.StandardContext listenerStart
      SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
      java.lang.LinkageError: loader constraints violated when linking javax/el/ExpressionFactory class
      at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:1595)
      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:419)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      at org.apache.catalina.core.StandardService.start(StandardService.java:516)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      Aug 8, 2007 2:00:19 PM org.apache.catalina.core.ApplicationContext log
      INFO: ContextListener: contextInitialized()
      Aug 8, 2007 2:00:19 PM org.apache.catalina.core.ApplicationContext log
      INFO: SessionListener: contextInitialized()
      Aug 8, 2007 2:00:46 PM org.apache.catalina.core.ApplicationContext log
      INFO: SessionListener: contextDestroyed()
      Aug 8, 2007 2:00:46 PM org.apache.catalina.core.ApplicationContext log
      INFO: ContextListener: contextDestroyed()
      Aug 8, 2007 2:00:52 PM org.apache.catalina.core.StandardContext listenerStart
      SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener