MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
rwdurham
Post subject: SimpleFaceletes ExampleOnDemand Error  PostPosted: Mar 15, 2008 - 09:38 PM
Registered Member
Registered Member


Joined: Aug 06, 2003
Posts: 7

MyEclipse 6.0.1M + JSF/Facelets + Tomcat 6

I have been working with the Sandbox MyEclipse Tomcat 6 server and when I tried to deploy to external Tomcat 6.0.16 (from installer) received following error:
javax.servlet.ServletException: java.lang.LinkageError: loader contstraints violated when linking javax/el/ExpressionFactory class ...

There have been some ICEFaces suggestions, but nothing that seems to directly address the MyEclipse WebProject with JSF+Facelets. They point to the el-api/xerces libraries, but that does not seem to correct this problem.

Created simple JSF/Facelets application as baseline and it failed. As did the SimpleFaceletsExample ExampleOnDemand.

It must work since the sandbox Tomcat is 6. Any help would be greatly appreciated.


Here are my Installation Details:

*** Date:
Monday, March 10, 2008 4:03:09 PM EDT

** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_11


*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 6.0.1 GA
Build id: 6.0.1-GA-200710


*** Eclipse details:
MyEclipse Enterprise Workbench

Version: 6.0.1 GA
Build id: 6.0.1-GA-200710




Eclipse Platform

Version: 3.3.1.R33x_r20070911-_19UEkpF-B7Uh2hKy75y
Build id: M20070921-1145


Eclipse RCP

Version: 3.3.1.R33x_r20070802-8y8eE8sEV3Fz0z0GlHJrXvTAUS
Build id: M20070921-1145


Eclipse Java Development Tools

Version: 3.3.1.r331_v20070629-7o7jE72EDlXAbqAcnbmyg1rf8RIL
Build id: M20070921-1145


Eclipse Plug-in Development Environment

Version: 3.3.1.R33x_r20070802-7N7M3D1VIA_52JsDFsEC
Build id: M20070921-1145


Eclipse Project SDK

Version: 3.3.1.R33x_r20070802-7M7J78_mu1mnlRa7A4Ns52XeZ6D0
Build id: M20070921-1145


Eclipse Graphical Editing Framework

Version: 3.3.1.v20070814
Build id: 20070814-1555




Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\applications\EclipseOrg\v601GA\eclipse\eclipse.exe
-name
Eclipse
--launcher.library
C:\applications\EclipseOrg\v601GA\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.1.R33x_v20070828\eclipse_1020.dll
-startup
C:\applications\EclipseOrg\v601GA\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
-exitdata
78_68
-vm
C:\applications\EclipseOrg\v601GA\jre\bin\javaw.exe


Browser Error Message:
javax.servlet.ServletException: java.lang.LinkageError: loader constraints violated when linking javax/el/ExpressionFactory class
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:274)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


root cause

java.lang.LinkageError: loader constraints violated when linking javax/el/ExpressionFactory class
org.apache.jsp.index_jsp._jspInit(index_jsp.java:23)
org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:52)
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:159)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:329)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

.log File contents:
!SESSION 2008-03-10 16:14:52.267 -----------------------------------------------
eclipse.buildId=M20070921-1145
java.version=1.5.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY com.genuitec.eclipse.core.common 1 0 2008-03-10 16:15:04.241
!MESSAGE ClasspathContainer requery for classpath-string: com.genuitec.eclipse.hibernate

!ENTRY org.eclipse.wst.internet.cache 1 0 2008-03-10 16:16:21.491
!MESSAGE wtp.autotest.noninteractive is set. Licenses dialogs will not be displayed.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-nipun
Post subject: RE: SimpleFaceletes ExampleOnDemand Error  PostPosted: Mar 20, 2008 - 08:43 AM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8012

SandBox Tomcat is a modified version of Tomcat 6. Certain functionality was removed from Tomcat but I guess what your facing is a known issue on Tomcat 6. You can refer to this post for a workaround:-
http://www.icefaces.org/JForum/posts/list/3145.page

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits