Problem to run example "auctionMonitor" due to Error configuring application listener
[Logo]
ICEfaces Forums
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icefaces.org  [Register] Register  [Login] Login 
Problem to run example "auctionMonitor" due to Error configuring application listener  XML
Forum Index -> General Help
Author Message
annakarena

Joined: 03/07/2008 00:00:00
Messages: 64
Offline


Dear all,

I begin ICEfaces.

And now before beginning tutoriel about ICEfaces (the timezone), I run
the ICEfaces Sample Applications.
My configuration is:

- Tomcat 5.5.26
- ICEfaces-1.7.1

I just copy the example provided in the ICEfaces samples directory ( address and auctionMonitor) to the webapps directory of Tomcat
It doesn't work, i had following exception:


Jul 3, 2008 5:19:57 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class com.sun.faces.config.ConfigureListener
java.lang.NoClassDefFoundError: javax/el/ExpressionFactory
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)

Thanks in advance for your help.
annakarena

Joined: 03/07/2008 00:00:00
Messages: 64
Offline


dear all,

can you give me some tips about a way to run example provided by ICEfaces, i follow the documentation about copy war files to the tomcat webapps directory but it doesn't work....
annakarena

Joined: 03/07/2008 00:00:00
Messages: 64
Offline


What i don't understand is:
The following line is displayed in the web.xml of each project:

<listener-class>com.icesoft.faces.util.event.servlet.ContextEventRepeater</listener-class>

should be enough or not?

or i need to put it also in the web.xml of Tomcat?

or need to add another listener:
for com.sun.faces.config.ConfigureListener?


liming.wu

Joined: 26/10/2004 00:00:00
Messages: 173
Offline


check to see if el-api.jar exists. el-api.jar/el-impl.jar is required on Tomcat 5.5

[Email]
liming.wu

Joined: 26/10/2004 00:00:00
Messages: 173
Offline


liming.wu wrote:
check to see if el-api.jar exists. el-api.jar/el-impl.jar is required on Tomcat 5.5 


should be el-ri.jar instead of el-impl.jar
[Email]
annakarena

Joined: 03/07/2008 00:00:00
Messages: 64
Offline


Thank you for your reply but where I put these libraries?
liming.wu

Joined: 26/10/2004 00:00:00
Messages: 173
Offline


Same place as ICEfaces.jar
[Email]
annakarena

Joined: 03/07/2008 00:00:00
Messages: 64
Offline


It works at present for me and I can study this example.
Sorry to waste time with this sort of questions, but I begin and i had no idea about useful libraries.

Now I have quiet often problem with expired session but this problem is know.
Thanks for your help.
ken.fyten

Joined: 26/10/2004 00:00:00
Messages: 350
Offline


Hi,

If you build the auction-monitor sample app. using the ant target for tomcat 5.5., the resulting .war file should work fine in Tomcat 5.5. without further alterations.

See the "Getting Started Guide" for details.

Regards,
Ken

Ken Fyten
VP Product Development
ICEsoft Technologies, Inc.
 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team