Results 1 to 6 of 6
  1. #1
    sameerk is offline Member
    Join Date
    Aug 2010
    Posts
    19
    Rep Power
    0

    Default Problem in deploying .war file

    Hello,

    i hav created one .war file which is currently running on tomcat successfully.
    but when i m going to deploy the same .war file on the another pc it is giving me following error

    int id = (Integer)session.getAttribute("id");

    it is giving me error only when i m retrieving attributes from session.

    how to solve this problem ?:confused:
    Sameer

  2. #2
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    8

    Default

    Check the server logs for the full exception message. Without knowing the full exception message it's difficult to say what the problem is.

  3. #3
    sameerk is offline Member
    Join Date
    Aug 2010
    Posts
    19
    Rep Power
    0

    Default

    when i m importing same war file into eclipse then it is giving me error.
    it is compile time error and not run time.
    Sameer

  4. #4
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    8

    Default

    You still forgot to state the error message that you are getting.

  5. #5
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,182
    Rep Power
    20

    Default

    Quote Originally Posted by sameerk View Post
    when i m importing same war file into eclipse then it is giving me error.
    it is compile time error and not run time.
    So that's not deploying then.

  6. #6
    lovelesh is offline Senior Member
    Join Date
    Nov 2010
    Location
    Delhi
    Posts
    135
    Blog Entries
    1
    Rep Power
    0

Similar Threads

  1. EJBEntities deploying problem
    By Rituparna in forum Enterprise JavaBeans (EJB)
    Replies: 0
    Last Post: 03-15-2011, 02:12 PM
  2. problem deploying war module
    By aks_1 in forum Java Servlet
    Replies: 4
    Last Post: 05-04-2010, 06:58 PM
  3. Error while deploying WAR file
    By aks_1 in forum Java Servlet
    Replies: 1
    Last Post: 05-04-2010, 06:57 PM
  4. problem in deploying WAR file in server
    By pan in forum Advanced Java
    Replies: 8
    Last Post: 10-12-2009, 01:17 PM
  5. Having problem hot-deploying JSP's
    By kurt_cobain in forum Eclipse
    Replies: 0
    Last Post: 04-03-2008, 06:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •