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.

User Classes Issue w/ Tomcat, Please Help

Discussion in 'General Discussion' started by aubcl, Mar 30, 2008.

  1. aubcl

    aubcl Member

    Joined:
    Feb 18, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Hello everyone. I am by no means a Java expert but know enough to usually get by. I have installed mod_jk through EasyApache in the WHM interface. JSPs work fine but unfortunately calling any custom classes do not. I have a client using the Oreilly MultipartRequest upload functions. The structure for the WEB-INF inside the users public_html is as follows WEB-INF/classes/com/oreilly/servlet

    The error is below. This worked previously in a standalone setup of Tomcat on another server. Thank you SO much for any help you can provide.

    Code:
    org.apache.jasper.JasperException: Unable to compile class for JSP: 
    JSP FileName:/homemiddle/uploadimage.jsp
    Java FileName:/usr/local/jakarta/apache-tomcat-5.5.25/work/Catalina/XXXXX.com/backoffice//org/apache/jsp/homemiddle/uploadimage_jsp.java
    
    An error occurred at line: 14 in the jsp file: /homemiddle/uploadimage.jsp
    MultipartRequest cannot be resolved to a type
    11: import = "com.oreilly.servlet.*"
    12: %>
    13: 
    14: <% MultipartRequest mp = new MultipartRequest(request, "/home/tour/public_html/images/tourism");
    15: String imagelocation = mp.getFilesystemName("imagelocation");
    16: String imagetext = mp.getParameter("imagetext");
     
  2. crickethost

    crickethost Registered

    Joined:
    Mar 16, 2008
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
  3. aubcl

    aubcl Member

    Joined:
    Feb 18, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for the response. What would you recommend as a solution?
     
  4. crickethost

    crickethost Registered

    Joined:
    Mar 16, 2008
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Actually I use CPanel for general site administration and for
    JAVA support I use AppServer Manager from ngasi.com.
     
  5. aubcl

    aubcl Member

    Joined:
    Feb 18, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    I still need this issue resolved. Anyone that can resolve the issue today or tomorrow I will give $50. Please someone step up. Thanks.
     
  6. DaveUsedToWorkHere

    DaveUsedToWorkHere Well-Known Member

    Joined:
    Dec 28, 2001
    Messages:
    689
    Likes Received:
    1
    Trophy Points:
    18
    Why not submit a support request and we'll take a look for free :)
     
  7. aubcl

    aubcl Member

    Joined:
    Feb 18, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Dave, thanks for the response. I did submit a ticket (246881) and got this response...

    Hello,

    Tomcat/JSP is provided for experienced tomcat/JSP admins and is not recommended for users without experience configuring or administering a tomcat/JSP environment.

    cPanel only supports the installation of Tomcat in Easyapache, it does not support post installation issues. So if you do not know how to configure/manage/troubleshoot/etc a tomcat/JSP server it is recommended that you do not install it.
    --
    Russell Rademacher
    cPanel
    Technical Analyst 2
     
    #7 aubcl, Apr 26, 2008
    Last edited: Apr 26, 2008
  8. DaveUsedToWorkHere

    DaveUsedToWorkHere Well-Known Member

    Joined:
    Dec 28, 2001
    Messages:
    689
    Likes Received:
    1
    Trophy Points:
    18
    What's the ticket #? I'm having trouble finding it from a search. Thanks
     
  9. DaveUsedToWorkHere

    DaveUsedToWorkHere Well-Known Member

    Joined:
    Dec 28, 2001
    Messages:
    689
    Likes Received:
    1
    Trophy Points:
    18
    I'm sorry that you got that response. I'll make sure another tech is assigned to your ticket.
     
  10. aubcl

    aubcl Member

    Joined:
    Feb 18, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Thanks Dave, I am pretty sure the ID is 246881 which was in my previous post, might be wrong. I just reopened the ticket siting that you said it would be looked at. Thanks again.
     
  11. DaveUsedToWorkHere

    DaveUsedToWorkHere Well-Known Member

    Joined:
    Dec 28, 2001
    Messages:
    689
    Likes Received:
    1
    Trophy Points:
    18
    Sorry for overlooking that. I've located the support request and will make sure it's reassigned.
     
  12. nitaish

    nitaish Well-Known Member
    PartnerNOC

    Joined:
    Jan 6, 2006
    Messages:
    123
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Mulund, India, India
    So, did you finally got the solution? I am facing the same problem and help seems to be nowhere in sight? If the problem was resolved, then can the solution be shared here so that others can benefit from it?
     
  13. philpem

    philpem Member

    Joined:
    Aug 12, 2005
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
Loading...

Share This Page