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
inforedaster
Post subject: maven with ICEFACES  PostPosted: Mar 20, 2011 - 09:56 PM



Joined: Mar 18, 2011
Posts: 5

I just created a web project in myeclipse 8 and I use maven Support
So I added JSF and ICEfaces capabilities in my project I put a
single home page in the project but when I deployed the project in
of myeclipse tomcat (I tried the same thing by installing Tomcat7)
when I start the server it gives me errors I have not understood or it
come!!
is that you have a proposal about?!

Code:
 

19 mars 2011 11:13:32 org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Common Files\MyEclipse\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;C:\Program Files\Common Files\MyEclipse\plugins\com.genuitec.eclipse.easie.tomcat.myeclipse_8.6.0.me201007231647\tomcat\bin
19 mars 2011 11:13:32 org.apache.coyote.http11.Http11Protocol init
INFO: Initialisation de Coyote HTTP/1.1 sur http-8080
19 mars 2011 11:13:32 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 798 ms
19 mars 2011 11:13:32 org.apache.catalina.core.StandardService start
INFO: Démarrage du service Catalina
19 mars 2011 11:13:32 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.13
19 mars 2011 11:13:34 com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Sun's JavaServer Faces implementation (1.2_04-b07-FCS) for context '/criam-web'
19 mars 2011 11:13:34 com.icesoft.faces.application.ViewRootStateManagerImpl <init>
INFO: ViewRootStateManagerImpl constructed with Delegate: com.sun.faces.application.StateManagerImpl@1ba0f36
19 mars 2011 11:13:34 com.icesoft.faces.application.D2DViewHandler <clinit>
INFO:
ICEsoft Technologies, Inc.
ICEfaces 1.8.1
Build number: 7
Revision: 18926
 
19 mars 2011 11:13:35 org.apache.catalina.core.StandardContext listenerStart
GRAVE: Exception lors de l'envoi de l'évènement contexte initialisé (context initialized) à l'instance de classe d'écoute (listener) com.sun.faces.config.ConfigureListener
java.lang.LinkageError: loader constraint violation: when resolving interface method "javax.servlet.jsp.JspApplicationContext.getExpressionFactory()Ljavax/el/ExpressionFactory;" the class loader (instance of org/apache/catalina/loader/WebappClassLoader) of the current class, com/sun/faces/config/ConfigureListener, and the class loader (instance of org/apache/catalina/loader/StandardClassLoader) for resolved class, javax/servlet/jsp/JspApplicationContext, have different Class objects for the type javax/el/ExpressionFactory used in the signature
   at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:1628)
   at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:453)
   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.addChildInternal(ContainerBase.java:791)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
   at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
   at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
   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:597)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
19 mars 2011 11:13:35 org.apache.catalina.core.StandardContext start
GRAVE: Error listenerStart
19 mars 2011 11:13:35 org.apache.catalina.core.StandardContext start
GRAVE: Erreur de démarrage du contexte [/criam-web] suite aux erreurs précédentes
19 mars 2011 11:13:35 com.icesoft.faces.util.event.servlet.ContextEventRepeater contextDestroyed
INFO: Servlet Context Name: null, Server Info: Apache Tomcat/6.0.13
19 mars 2011 11:13:36 org.apache.coyote.http11.Http11Protocol start
INFO: Démarrage de Coyote HTTP/1.1 sur http-8080
19 mars 2011 11:13:36 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
19 mars 2011 11:13:36 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/36  config=null
19 mars 2011 11:13:36 org.apache.catalina.startup.Catalina start
INFO: Server startup in 3684 ms
 
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject: RE: maven with ICEFACES  PostPosted: Mar 21, 2011 - 05:45 AM



Joined: Nov 11, 2010
Posts: 2193

inforedaster,

Can you please paste your installation details here from MyEclipse > Installation Summary > Installation Details?

Here are some threads which discuss the loader conflict issues. Have a look at them and give the solutions discussed a try:

http://www.mail-archive.com/users@tomcat.apache.org/msg37680.html
http://www.icefaces.org/JForum/posts/list/7320.page
http://www.icefaces.org/JForum/posts/list/4940.page

Let me know how it works for you.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
inforedaster
Post subject:   PostPosted: Mar 21, 2011 - 08:10 PM



Joined: Mar 18, 2011
Posts: 5

Istallaiton Details :

Code:


*** Date:
lundi 21 mars 2011 19 h 08 WET

** System properties:
OS=WindowsVista
OS version=6.1.0
Java version=1.6.0_13


*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 8.6.1
Build id: 8.6.1-20101117


*** Eclipse details:
MyEclipse Enterprise Workbench

Version: 8.6.1
Build id: 8.6.1-20101117






Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files\MyEclipse\myeclipse.exe
-name
Myeclipse
--launcher.library
C:\Program Files\MyEclipse\../Common Files/MyEclipse/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\eclipse_1206.dll
-startup
C:\Program Files\MyEclipse\../Common Files/MyEclipse/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-install
C:/Program Files/MyEclipse
-configuration
configuration
-vm
C:/Program Files/Common Files/MyEclipse/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll

 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Mar 23, 2011 - 08:16 AM



Joined: Nov 11, 2010
Posts: 2193

inforedaster,

Quote:

Here are some threads which discuss the loader conflict issues. Have a look at them and give the solutions discussed a try:

http://www.mail-archive.com/users@tomcat.apache.org/msg37680.html
http://www.icefaces.org/JForum/posts/list/7320.page
http://www.icefaces.org/JForum/posts/list/4940.page



Can you let me know if the solutions discussed in the above threads help you ?

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
inforedaster
Post subject:   PostPosted: Mar 23, 2011 - 09:40 AM



Joined: Mar 18, 2011
Posts: 5

yes it's work thanks !!
i had a double of ICEfaces library !!!
thank you
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Mar 29, 2011 - 11:49 AM



Joined: Nov 11, 2010
Posts: 2193

inforedaster,

Glad that it is working.
Do let us know if you have any other issues.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
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