RE: Can tomahawk be used without myfaces

2008-11-24 Thread Pawel . Czerwinski
I was a little fast, when I was sending you my response. After I had sent 
it I've noticed that you are using 1.1 version of JSF RI and that due to 
java 1.4 you cannot switch to newer implementation, which in fact we are 
using. Currently we use JSF RI 1.2_09 and Tomahawk 1.1.7 - 1.1.8.

Greetings
Pawel


Madhav Bhargava [EMAIL PROTECTED] wrote on 2008-11-24 
11:41:45:

 Hi Pawel,
 
 What was the version of tomahawk and Sun RI libraries that you used?
 
 Thanks,
 M
 
 Hi, 
 Although I'm not able to help you with websphere deployment, I can 
 assure you that generally speaking, YES, it is possible to run 
 Tomahawk without Myfaces implementation of JSF. In our projects we 
 were forced to switch to RI implementation due to buggy myfaces 
 libraries, but we didn't want to drop Tomahawk extensions and we went 
 successful. The difference is, that we use Tomcat 6.x instead of 
websphere. 
 
 Greetings 
 Pawel
 
 
 Madhav Bhargava [EMAIL PROTECTED] wrote on 2008-11-24 
11:19:27:
 
  Hi Anton,
  Unfortunately we are using Sun RI 1.1 implementation (as we are 
  still stuck with JDK 1.4.2). The matrix does not have any entry for 
  the same which will reveal its compatibility with tomahawk.
  
  Thanks,
  M
  
   Look on this page
   http://wiki.apache.org/myfaces/CompatibilityMatrix
  
   Hope it will help
  
  2008/11/24 Madhav Bhargava [EMAIL PROTECTED]:
   Hi All,
  
  
  
   I am using the following JSF jars provided as part of websphere 6.0 
server
   lib:
  
  
  
   Jsf-api.jar - present in AppServer/lib
  
   Ws-jsf.jar - present in AppServer/lib
  
   jsf-ibm.jar - present in WEB-INF/lib
  
  
  
   Since the JSF RI provided by Sun and IBM do not have inherent 
support for
   Tiles I thought of using Tomahawk JspTilesViewHandlerImpl. So I 
included
   tomahawk 1.1.5 binary in the WEB-INF/lib
  
  
  
   I changed the faces-config.xml to have view-handler point to
   org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl
  
  
  
   Since I was still not using any of the tomahawk components I did
 not include
   the extensionFilter 
(org.apache.myfaces.webapp.filter.ExtensionsFilter) in
   web.xml.
  
  
  
   When I tried deploying my application it gave an exception whose
 stack trace
   is attached with this mail. The same exception was thrown even after 
I had
   configured extensionFilter in web.xml
  
  
  
   Can tomahawk (1.1.5 or 1.1.6) be used with the JSF RI provided as 
part of
   Sun and IBM? In other words can tomahawk be used without using 
myfaces as
   the RI? Ideally it should but I have noticed that in the JSF 
 world of today
   things are far from ideal.
  
  
  
   Any help would really be appreciated.
  
  
  
   Thanks,
  
   Madhav
  
  
  
    CAUTION - Disclaimer *
   This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION 
 intended solely
   for the use of the addressee(s). If you are not the intended 
recipient,
   please
   notify the sender by e-mail and delete the original message. 
Further, you
   are not
   to copy, disclose, or distribute this e-mail or its contents to any 
other
   person and
   any such actions are unlawful. This e-mail may contain viruses. 
 Infosys has
   taken
   every reasonable precaution to minimize this risk, but is not 
 liable for any
   damage
   you may sustain as a result of any virus in this e-mail. You should 
carry
   out your
   own virus checks before opening the e-mail or attachment. Infosys 
reserves
   the
   right to monitor and review the content of all messages sent to 
 orfrom this
   e-mail
   address. Messages sent to or from this e-mail address may be stored 
on the
   Infosys e-mail system.
   ***INFOSYS End of Disclaimer INFOSYS***

[Tomahawk] What happened to tomahawk-1.1.7-SNAPSHOT ?

2008-06-11 Thread Pawel . Czerwinski
Hi,
I would like to ask Tomahawk's developers about your last activity. I've 
noticed that something happend to 1.1.7-SNAPSHOT very recently, maybe even 
today, because yesterday everything was running fine.
I mean - now, when I create a project by using maven archetype: mvn 
archetype:generate -DarchetypeCatalog=http://myfaces.apache.org and change 
default 1.1.6 version to 1.1.7-SNAPSHOT,
I got following errors:

___

HTTP ERROR: 500
org/apache/commons/fileupload/FileUpload
RequestURI=/myapp/helloWorld.jsf
Caused by:
java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileUpload
at 
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:199)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
at 
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at 
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
at 
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at 
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
at 
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at 
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at 
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
at 
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
___

Even when I provide commons-fileupload library, I got another error:

___

HTTP ERROR: 500
Could not initialize class 
org.apache.myfaces.shared_tomahawk.config.MyfacesConfig
RequestURI=/myapp/helloWorld.jsf
Caused by:
java.lang.NoClassDefFoundError: Could not initialize class 
org.apache.myfaces.shared_tomahawk.config.MyfacesConfig
at 
org.apache.myfaces.renderkit.html.util.AddResourceFactory.getInstance(AddResourceFactory.java:288)
at 
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:208)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
at 
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at 
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
at 
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at 
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
at 
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at 
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at 
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
at 
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
___

I've noticed, that another artifact tomahawk12 has arisen, and I would 
like to know if it's connected with the case. When I switched to artifact 
tomahawk12,
the demo app has run smoothly. 


Please answer, how should I configure my application if I want to run on 
JSF 1.2 and tomahawk-1.1.7-SNAPSHOT version. By the way - do you know, 
when approximately you are going to release the 1.1.7 version? 


[Orchestra] conversationContext parameter sent in POST, not GET - possible?

2008-02-14 Thread Pawel . Czerwinski
Hi, 
I was testing Orchestra project for a while and generally speaking I like 
it, but one thing bothers me. The conversationContext parameter is 
appended to a request address and I have like:
http://localhost:8080/project/page.jsf?conversationContext=1

Is it possible to force passing this parameter by the POST method, so as 
to hide this information for users?
Thanks in advance.

Regards

-- 
Paweł Czerwiński


--
Anica System S.A. z siedziba w Lublinie
ul. Konrada Wallenroda 4C
20-607 Lublin
tel.:+48815353000
fax: +48815353005
e-mail: [EMAIL PROTECTED]

Spolka zarejestrowana w Rejestrze Przedsiebiorcow
prowadzonym przez Sad Rejonowy w Lublinie, XI Wydzial Gospodarczy Krajowego
Rejestru Sadowego
pod numerem KRS: 041492
wysokosc kapitalu zakladowego: 902.367,00 zl,
wysokosc kapitalu wplaconego: 902.367,00 zl,
NIP: 712-10-10-662

Uwaga: Tresc niniejszej wiadomosci oraz wszelkich zalacznikow do niej jest
poufna i przeznaczona wylacznie dla jej adresatow. Jesli odbiorca tej
wiadomosci nie jest jej zamierzonym adresatem, niniejszym informujemy ze
wszelkie przegladanie, przesylanie, rozpowszechnianie, powielanie lub
jakiekolwiek inne wykorzystywanie niniejszej wiadomosci jest zabronione.
Jezeli zatem wiadomosc ta zostala otrzymana omylkowo, prosimy o bezzwloczne
zawiadomienie nadawcy w trybie odpowiedzi na niniejsza wiadomosc oraz o
usuniecie wszystkich kopii niniejszej wiadomosci. Dziekujemy.
Note: The information contained in this message and any attachments thereto
is confidential and intended solely for use of the addresses. If the reader
of this message is not the intended recipient, you are hereby notified that
any reviewing, forewarding, dissemination, copying or other use of this
communication is prohibited. If you have received this communication in
error, please notify the sender immediately by replying to this message and
delete all its copies. Thank you.  



Odp: Difference between 1.1.5 and 1.2 in validation errorMessages

2007-12-03 Thread Pawel . Czerwinski
Hi, 
As far as I know, the new JSF specification (since 1.2.0) tells that all 
inputs fields may have an additional parameter called label, that 
accepts both - static and el expressions.  (i.e. h:inputText 
id=fieldName label=#{msg.fieldName} /) And due to this enhacement 
validation messages should use this label value to create an error 
message, instead of id value. Maybe this is the reason, please check and 
let us know. If the mentioned label thing is true and really works that 
would be great improvement considering validation matter of JSF.


-- 
Regards
Paweł Czerwiński




Jochen Zink [EMAIL PROTECTED] 
2007-12-03 09:50
Odpowiedz użytkownikowi
MyFaces Discussion users@myfaces.apache.org


Do
users@myfaces.apache.org
DW

Temat
Difference between 1.1.5 and 1.2 in validation errorMessages






Hello,

I have a simple h:input field with required validator. 

h:input id=Name required=true /

With myFaces 1.1.5 (running inside tomcat 6), the validation errormessages 
looks like this

You must insert a value in field Name


With myfaces 1.2 (running inside geronimo 2.0.1), the validation 
errormessages looks like this:

You must insert a value in field _jsp97:content:submitForm:_jsp33:Name

The last Errormessages is very ugly. Is it possible to force myfaces 1.2 
to use only the local ID and not the complete ID for validation Messages?


Thanks a lot
Regards
Jochen

_
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071distributionid=0066




Migration to myfaces 1.2.0

2007-11-28 Thread Pawel . Czerwinski
Hi, 

I have an application perfectly running on:
- Tomcat 6.0.14,
- Myfaces 1.1.5,
- Tomahawk 1.1.6,
- latest RichFaces.

I would like to migrate to myfaces 1.2.0 , and I would like to know what 
steps should I follow to succeed. Of course I tried to simply replace the 
old myfaces library with the new one, but then the deployed application 
has a lot of errors (jscookmenu not renders, nlp exceptions in almost 
every situation). I googled and searched withing this mailing list but 
I've not found answers. I just need brief information and also your 
opinion if moving to myfaces 1.2.0 is worth of efforts at all. 

Thanks in advance!


-- 
Regards
Paweł Czerwiński


Re: Index in tomahawk dynamic datatable

2007-09-06 Thread Pawel . Czerwinski
Hi, 
I'm not sure if I get you right, but it seems to me you would like to 
achieve this:

 t:dataTable id=results
  border=1
  value=#{proteins.list}
  var=line
  rowIndexVar=idx
  renderedIfEmpty=false
  styleClass=contenttable
  headerClass=contenttable
  cellspacing=0 cellpadding=3
 
  h:column
  f:facet name=header
  h:outputText value=Index/
  /f:facet
  h:outputText value=#{idx+1}/
  /h:column
 
  h:column
  f:facet name=header
  h:outputText value=Name/
  /f:facet
  h:outputText value=#{line.name}/
  /h:column
/t:dataTable

In this way you don't need to implement any counter by yourself, so you 
can get rid of setIndex() and getIndex() methods ..

-- 
Regards
Paweł Czerwiński
[EMAIL PROTECTED]



Wolfgang Kluge [EMAIL PROTECTED] wrote on 2007-09-05 13:36:21:

 Hi,
 
 I would like to have a column called index, which shows the number 
 of lines in the table.
 Furthermore the dynamic table seems to work, but only
 the last entry is displayed in all lines in the table.
 
 xhtml:
 t:dataTable id=results
 border=1
 value=#{proteins.list}
 var=line
 renderedIfEmpty=false
 styleClass=contenttable
 headerClass=contenttable
 cellspacing=0 cellpadding=3
 
h:column
f:facet name=header
h:outputText value=Index/
/f:facet
h:outputText value=#{proteins.index}/
/h:column
 
 
h:column
f:facet name=header
h:outputText value=Name/
/f:facet
 
h:outputText value=#{line.name}/
/h:column
 
/t:dataTable
 
 
 Bean:
 public class Proteins {
 
private int index=0;
 
private List list = new ArrayList();
 
/** Creates a new instance of StudentBean */
public Proteins() {
 
Dataset set = new Dataset();
 
set.setName(Dataset 1);
set.setInput(This is Dataset 1);
list.add(set);
 
set.setName(Dataset 2);
set.setInput(This is Dataset 2);
list.add(set);
}
 
public List getList() {
return list;
}
 
public void setList(List list) {
this.list = list;
}
 
public int getIndex() {
return index;
}
 
public void setIndex(int index) {
this.index = index;
}
 }
 
 
 Do anyone know how to get this working?
 
 Cheers Wolfgang
 
 
 -- 
 Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
 Browser-Versionen downloaden: http://www.gmx.net/de/go/browser


Re: Index in tomahawk dynamic datatable

2007-09-06 Thread Pawel . Czerwinski
The problem is the way you create your list, which is:

  public Proteins() {
  
  Dataset set = new Dataset();
  
  set.setName(Dataset 1);
  set.setInput(This is Dataset 1);
  list.add(set);
  
  set.setName(Dataset 2);
  set.setInput(This is Dataset 2);
  list.add(set);
  }

Please notice, that you've created only ONE Dataset object and you've just 
put it to the ArrayList multiple times.
But it is still the same object, so all list elements are the same, and 
have the same name (the name you've set last).
You need to create new instance of Dataset object for each row of a table, 
so your code should look like this:

public Proteins() {
for (int i=1;i=20;i++) {
Dataset set = new Dataset(); // new instance of Dataset 
creation
set.setName(This is Dataset  + (i+1));
list.add(set);
}
}



-- 
Regards
Paweł Czerwiński
[EMAIL PROTECTED]



Wolfgang [EMAIL PROTECTED] wrote on 2007-09-06 11:47:08:

 Hi Pawel,
 
 ya you got me right, thx your solution works fine. But I have another 
 problem:
 If I create for example 4 new datasets and add them to the ArrayList, I 
 get in my result Table 4 lines that's correct,
 but only the name of the last added dataset is shown (so 4 times).
 
 Do you know why?
 
 Cheers Wolfgang
 



Re: [JSF] Custom component - commandLink

2007-08-10 Thread Pawel . Czerwinski
Thanks for your help, everything works now!

-- 
regards
Paweł Czerwiński



Andrew Robinson [EMAIL PROTECTED] wrote on 2007-08-09 
17:04:25:

 You have a few problems with that code.
 
 1) You should set the parent of the component, this causes issues with
 many components
 2) You should mark the component as transient, which should be done
 for components that will not be saved into the component tree
 3) You should set an ID of the component, which should be done for all
 components
 4) Your component is not preserved, so you have to perform the decode 
yourself
 5) Even with the decode, you have to be careful as the event will be
 tied to that component, which is temporary.
 6) You shouldn't call encodeChildren on a component without first
 checking the getRendersChildren flag of the component
 
 Try this:
 
 public class MyRenderer extends Renderer {
   public void decode(FacesContext context, UIComponent component) {
 if (!component.isRendered()) {
   return;
 }
 createButton(ctx, component).decode(context);
   }
 
   public void encodeBegin(FacesContext ctx, UIComponent component) {
 if (!component.isRendered()) {
   return;
 }
 HtmlCommandButton b = createButton(ctx, component);
 b.setValue(Click me);
 RendererUtils.renderChild(ctx, component);
   }
 
   private HtmlCommandButton createButton(FacesContext ctx,
 UIComponent component) {
  HtmlCommandButton b = (HtmlCommandButton)ctx.getApplication()
   .createComponent(HtmlCommandButton.COMPONENT_TYPE);
 b.setId(ctx.getViewHandler().getViewRoot().createUniqueId());
 b.setTransient(true);
 b.setParent(component);
 return b;
   }
 }
 
 Since the FacesEvent has a reference to its component, the event
 should work fine. If you need to do anything special on one of those
 events, you will need to override your component's queueEvent method,
 so you can trap events being queued by the button during the decoding.
 
 -Andrew
 
 
 On 8/9/07, [EMAIL PROTECTED]
 [EMAIL PROTECTED] wrote:
 
  Hi,
  I'm developing some simple custom component, and I'm facing a problem 
I
  cannot resolve and understand, so I will really appreciate any help.
 
  I have this piece of code:
 
  public void encodeBegin(FacesContext c) throws IOException {
  HtmlCommandButton b = (HtmlCommandButton)
  
context.getApplication().createComponent(HtmlCommandButton.COMPONENT_TYPE);
b.setValue(Click me);
b.encodeBegin(context);
b.encodeChildren(context);
b.encodeEnd(context);
  }
 
  And with above code everything is great, the button renders and when I 
click
  it, the
 
  public void decode(FacesContext context)
 
  method is called... But. If I change HtmlCommandButton to 
HtmlCommandLink
  something strange happens. The link is created and renders as well,
  but when I click it, the decode method is not called at all.
 
  Is there any difference between handlig those two components?
  Thanks in advance!
 
  --
   greetings
   Paweł Czerwiński
 
 


[JSF] Custom component - commandLink

2007-08-09 Thread Pawel . Czerwinski
Hi, 
I'm developing some simple custom component, and I'm facing a problem I 
cannot resolve and understand, so I will really appreciate any help.

I have this piece of code:

public void encodeBegin(FacesContext c) throws IOException {
HtmlCommandButton b = (HtmlCommandButton) 
context.getApplication().createComponent(HtmlCommandButton.COMPONENT_TYPE);
  b.setValue(Click me);
  b.encodeBegin(context);
  b.encodeChildren(context);
  b.encodeEnd(context);
}

And with above code everything is great, the button renders and when I 
click it, the 

public void decode(FacesContext context) 

method is called... But. If I change HtmlCommandButton to HtmlCommandLink 
something strange happens. The link is created and renders as well, 
but when I click it, the decode method is not called at all.

Is there any difference between handlig those two components?
Thanks in advance!

-- 
greetings
Paweł Czerwiński



Re: Custom error handler and ajax requests (a4j)

2007-08-03 Thread Pawel . Czerwinski
Unfortunatelly, this is not it, I don't use Shale :( Thanks though.

-- 
Regards
Paweł Czerwiński


[EMAIL PROTECTED] (Gary VanMatre) wrote on 2007-08-02 15:32:02:
 
 Are you using Shale ViewController [1]?  If so, try the nightly.
 
 [1] https://issues.apache.org/struts/browse/SHALE-409
 
 
 
 
 [EMAIL PROTECTED] wrote on 2007-07-31 14:38:59:
 
  
  Hi, 
  I made my own error handler (works like the one described here: 
  http://wiki.apache.org/myfaces/Handling_Server_Errors) . 
  In the backing bean I use following lines to fetch the exception 
 details 
  
  FacesContext context = FacesContext.getCurrentInstance(); 
  Map requestMap = context.getExternalContext().getRequestMap(); 

  Throwable ex = (Throwable) requestMap.get(javax.servlet.
  error.exception); 
  
  And everything works fine when an error occurs during standard 
  request (eg. when h:commandButton calls a method that throws 
exception). 
  But when I switch to ajax4jsf and use a4j:commandBut ton, r equestMap 
  contains no information about exceptions... 
  Does anybody know, how to dig to this exception when using ajax4jsf 
  components? 
  
  -- 
  Regards
  Paweł Czerwiński
  [EMAIL PROTECTED]

Re: Custom error handler and ajax requests (a4j)

2007-08-02 Thread Pawel . Czerwinski
Anybody? :

-- 
Regards
Paweł Czerwiński



[EMAIL PROTECTED] wrote on 2007-07-31 14:38:59:

 
 Hi, 
 I made my own error handler (works like the one described here: 
 http://wiki.apache.org/myfaces/Handling_Server_Errors) . 
 In the backing bean I use following lines to fetch the exception 
details 
 
 FacesContext context = FacesContext.getCurrentInstance(); 
 Map requestMap = context.getExternalContext().getRequestMap(); 
 Throwable ex = (Throwable) requestMap.get(javax.servlet.
 error.exception); 
 
 And everything works fine when an error occurs during standard 
 request (eg. when h:commandButton calls a method that throws exception). 

 But when I switch to ajax4jsf and use a4j:commandButton, requestMap 
 contains no information about exceptions... 
 Does anybody know, how to dig to this exception when using ajax4jsf 
 components? 
 
 -- 
 Regards
 Paweł Czerwiński
 [EMAIL PROTECTED]


Custom error handler and ajax requests (a4j)

2007-07-31 Thread Pawel . Czerwinski
Hi,
I made my own error handler (works like the one described here: 
http://wiki.apache.org/myfaces/Handling_Server_Errors) . 
In the backing bean I use following lines to fetch the exception 
details

FacesContext context = FacesContext.getCurrentInstance();
Map requestMap = context.getExternalContext().getRequestMap();
Throwable ex = (Throwable) 
requestMap.get(javax.servlet.error.exception);

And everything works fine when an error occurs during standard request 
(eg. when h:commandButton calls a method that throws exception).
But when I switch to ajax4jsf and use a4j:commandButton, requestMap 
contains no information about exceptions...
Does anybody know, how to dig to this exception when using ajax4jsf 
components? 

-- 
Regards
Paweł Czerwiński
[EMAIL PROTECTED]



Re: Problem java.lang.NoClassDefFoundError: javax/el/ELResolver

2007-07-27 Thread Pawel . Czerwinski
Hi, 
I'm facing quite similar problems. For few days I'm trying to fire up my 
application using myfaces 1.2.0 and tomahawk 1.6 but I just cannot mange 
it. I had the same problem that you have, but I took the jar files from 
thehttp://people.apache.org/~werpu/myfaces12custom.zip package, delivered 
by Werner Putz today. Since I've replaced the jars I have no problems with 
ELResolver, however another problem with StartupServletContextListener has 
come out, which is:

ERROR [main] (StandardContext.java:3673) - Exception sending context 
initialized event to listener instance of class 
org.apache.myfaces.webapp.StartupServletContextListener
java.lang.AbstractMethodError: 
javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
at 
org.apache.myfaces.webapp.DefaultFacesInitializer.initFaces(DefaultFacesInitializer.java:102)
at 
org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:57)
at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at 
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:589)
at 
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:536)
at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:471)
at 
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
at 
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at 
org.apache.catalina.core.StandardService.start(StandardService.java:450)
at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
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:271)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)


I'm also running Tomcat 5.5 and I guess I need some help too :]

-- 
Regards
Paweł Czerwiński



Hi,

When I run tomcat this problem happens.
Could you help me?

Thanks


Guto



SEVERE: Exception sending context initialized event to listener instance 
of class org.apache.myfaces.webapp.StartupServletContextListener
java.lang.NoClassDefFoundError: javax/el/ELResolver

These are my tomcat library:

* commons-el
* jasper-compiler-jdt
* jasper-compiler
* jasper-runtime
* jsp-api
* naming-factory-dbcp
* naming-factory
* naming-resources
* servlet-api

These are my MyFaces library:

* commons-beanutils-1.7.0
* commons-codec-1.3
* commons-collections-3.2
* commons-digester-1.8
* commons-discovery-0.4
* commons-logging-1.1
* myfaces-api-1.2.0
* myfaces-impl-1.2.0
* tomahawk-1.1.6

Tomcat version: 5.5.12