The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

tomcat with EL 2.2 (managedbean)

Discussion in 'EasyApache' started by feres, Mar 28, 2013.

  1. feres

    feres Registered

    Joined:
    Mar 28, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hello everyone,

    While using ManagedBean and more specifically in the methods, parameter passing is not allowed with the EL (expression language) at the HMI:

    But from the EL version 2.2, you can pass a parameter to a method in a ManagedBean.

    The problem is that Tomcat does not allow this. I found a solution that speaks of the jar el-impl-2.2.jar but I can not put in place.

    Could someone tell me how to make Tomcat uses this jar?

    Thank you in advance for your help.
     
  2. cPanelKevinS

    cPanelKevinS Member
    Staff Member

    Joined:
    Mar 7, 2013
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Hi feres,

    While I don't have a confirmed solution for you, here's something you might try:

    Bring down Tomcat, and move or rename the commons-el.jar file in /usr/local/jakarta/tomcat/common/lib; and drop your el-impl-2.2.jar into the same directory. You may also need el-api-2.2.jar in the same directory.

    You might have a look at this Stack Overflow page for further ideas. Just keep in mind that they are using Tomcat 6, which stores libraries in $CATALINA_HOME/lib; the Tomcat 5.5 equivalent would be $CATALINA_HOME/common/lib.

    While it may not help with your immediate problem, we are currently working on supporting Tomcat 7, which includes support for EL 2.2.
     
    #2 cPanelKevinS, Mar 28, 2013
    Last edited: Mar 28, 2013
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,471
    Likes Received:
    199
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:

    Related Blog post:
    EasyApache and Tomcat 7 - cPanel Blog :)
     
  4. ScottTh

    ScottTh Well-Known Member

    Joined:
    Jan 28, 2013
    Messages:
    157
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Hi feres,

    Infopro posted a link to our blog post about implementing Tomcat 7 in EasyApache which discusses our interest in working with customers to learn about their Tomcat 5.5 setups. Discussing Tomcat 5.5 setups will help us greatly with our Tomcat 7 development and testing. Please let us know if you would like to discuss your Tomcat infrastructure!

    I also hope that Kevin's suggestion above helps to resolve the issue you're currently experiencing with Tomcat :)

    Thank you,
     
  5. tizoo

    tizoo Well-Known Member

    Joined:
    Jan 6, 2004
    Messages:
    66
    Likes Received:
    0
    Trophy Points:
    6
    Hi !

    A request that we see regularly from customers, is to have tomcat process more than /servlets/* and /*.jsp.

    It would be nice if the customers could manage the mappings themselves.

    Thanks for your work !
    Kind regards,
    Florian
     
  6. ScottTh

    ScottTh Well-Known Member

    Joined:
    Jan 28, 2013
    Messages:
    157
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Hi Florian,

    In order to best help you out the EasyApache team is wondering if you are currently able to deploy WAR files? Deploying WAR files should allow users to specify the URL-to-servlet mapping if that is in fact the issue. Please let us know if that helps at all and if you have any additional questions.

    Also feel free to submit a Feature Request which can be voted on by the cPanel&WHM community. That's a great place to find out if other EasyApache users are looking for the same kind of Tomcat functionality you are: cPanel Feature Requests

    Thank you!
     
Loading...

Share This Page