Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2008
    Posts
    2
    Rep Power
    0

    Default application is not running please fine the solution for it.

    We have been using tomcat for past 3 years. We do development on a windows machine and the applications are deployed in production machine which has Solaris OS. We havenít faced any problems until we introduced a new level under webapps. Please find our current structure below. We have deployed 1.1 version of the applications under webapps/mces/mces1.1 and similary 1.0 under webapps/mces/mces1.0. The applications under webapps are of version 1.1.
    Webapps/
    Jmcs
    mms
    superapp
    mces
    mces1.1
    jmcs
    mms
    superapp
    mces1.0
    jmcs
    mms
    superapp
    We are seeing very instable behavior. We are not able to login to Superapp application under mces 1.1 and mces 1.0, but we are able to login to superapp directly under webapps folder. On restarting the tomcat server, we will be able to login to all the applications. The instable behavior comes after sometime, it need not be same, we will be able to login under superapp of mces1.1 but not to superapp directly under webapps.

    Please advise us on what could be the probably reasons. Project release is getting delayed due to this problem. Please guide us.



    Please find below the error shown in tomcat logs. Please note that it doesn't display the name of the class, that it is not able to find. Generally, along with java.lang.NoClassDefFoundError , the class that it is not able to find is also shown. This error comes while running same application under tomcat at different levels. One application is under webapps directly and copy of this application is kept under 1.0 folder. This error comes only after sometime of starting the tomcat. On restarting the tomcat, the error doesn't occur again and everything is fine. It pops up again after sometime. This behaviour is seen on SOLARIS only. This setup works well on window.

    java.lang.NoClassDefFoundError
    com.goodyear.common.config.chart.ChartConfigParser .parse(ChartConfigParser.java:75)
    com.goodyear.common.util.PropertyLoader.updateArra yMap(PropertyLoader.java:245)
    com.goodyear.common.util.PropertyLoader.loadArrayM ap(PropertyLoader.java:215)
    com.goodyear.common.util.PropertyLoader.loadArrayM ap(PropertyLoader.java:141)
    com.goodyear.common.registry.AppLookUpFileDao.load (AppLookUpFileDao.java:28)
    com.goodyear.common.registry.AppLookUpDao.getMap(A ppLookUpDao.java:46)
    com.goodyear.jmcs.helper.MCSHelper.<init>(MCSHelpe r.java:99)
    com.goodyear.mms.handlers.RPDHandler.getQSResponse (RPDHandler.java:78)
    com.goodyear.mms.handlers.RPDHandler.getResultAsSt ring(RPDHandler.java:292)
    com.goodyear.superapp.servlets.QueryApp.processReq uest(QueryApp.java:143)
    com.goodyear.superapp.servlets.QueryApp.doPost(Que ryApp.java:183)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:710)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:803)

  2. #2
    Nicholas Jordan's Avatar
    Nicholas Jordan is offline Senior Member
    Join Date
    Jun 2008
    Location
    Southwest
    Posts
    1,018
    Rep Power
    8

    Post possible related matter

    Introduction to Programming Using Java.
    Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,242
    Rep Power
    19

    Default

    Cross posted on the Sun Java Forum, numerous times, under at least two usernames, latest at ThreadID=5335094

    db

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by Darryl.Burke View Post
    Cross posted on the Sun Java Forum, numerous times, under at least two usernames, latest at ThreadID=5335094

    db
    If so, not a good habit at all. Try to do something and ask help from others is not bad. Cross posting also fine in my view. But registering in two difference user names and posting the same question is not good. Please don't do it here in our community. :)

  5. #5
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by jagadeeshchinni View Post
    We have been using tomcat for past 3 years. We do development on a windows machine and the applications are deployed in production machine which has Solaris OS. We havenít faced any problems until we introduced a new level under webapps. Please find our current structure below. We have deployed 1.1 version of the applications under webapps/mces/mces1.1 and similary 1.0 under webapps/mces/mces1.0. The applications under webapps are of version 1.1.
    Webapps/
    Jmcs
    mms
    superapp
    mces
    mces1.1
    jmcs
    mms
    superapp
    mces1.0
    jmcs
    mms
    superapp
    We are seeing very instable behavior. We are not able to login to Superapp application under mces 1.1 and mces 1.0, but we are able to login to superapp directly under webapps folder. On restarting the tomcat server, we will be able to login to all the applications. The instable behavior comes after sometime, it need not be same, we will be able to login under superapp of mces1.1 but not to superapp directly under webapps.

    Please advise us on what could be the probably reasons. Project release is getting delayed due to this problem. Please guide us.



    Please find below the error shown in tomcat logs. Please note that it doesn't display the name of the class, that it is not able to find. Generally, along with java.lang.NoClassDefFoundError , the class that it is not able to find is also shown. This error comes while running same application under tomcat at different levels. One application is under webapps directly and copy of this application is kept under 1.0 folder. This error comes only after sometime of starting the tomcat. On restarting the tomcat, the error doesn't occur again and everything is fine. It pops up again after sometime. This behaviour is seen on SOLARIS only. This setup works well on window.

    java.lang.NoClassDefFoundError
    com.goodyear.common.config.chart.ChartConfigParser .parse(ChartConfigParser.java:75)
    com.goodyear.common.util.PropertyLoader.updateArra yMap(PropertyLoader.java:245)
    com.goodyear.common.util.PropertyLoader.loadArrayM ap(PropertyLoader.java:215)
    com.goodyear.common.util.PropertyLoader.loadArrayM ap(PropertyLoader.java:141)
    com.goodyear.common.registry.AppLookUpFileDao.load (AppLookUpFileDao.java:28)
    com.goodyear.common.registry.AppLookUpDao.getMap(A ppLookUpDao.java:46)
    com.goodyear.jmcs.helper.MCSHelper.<init>(MCSHelpe r.java:99)
    com.goodyear.mms.handlers.RPDHandler.getQSResponse (RPDHandler.java:78)
    com.goodyear.mms.handlers.RPDHandler.getResultAsSt ring(RPDHandler.java:292)
    com.goodyear.superapp.servlets.QueryApp.processReq uest(QueryApp.java:143)
    com.goodyear.superapp.servlets.QueryApp.doPost(Que ryApp.java:183)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:710)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
    First of all, can you deploy the package in Windows without any issues?

    Seems to me one or many of your packages are not supported on Solaris. So check that first. Because your error message pointed a class not found exception.

Similar Threads

  1. Problem running a java desktop application
    By chris@gaiag.net in forum AWT / Swing
    Replies: 2
    Last Post: 08-24-2008, 04:24 AM
  2. Maintain same session in two application running on same server
    By dsiwal in forum Threads and Synchronization
    Replies: 2
    Last Post: 06-10-2008, 06:38 AM
  3. Errors driving me crazy! although compiles fine
    By irishsea2828 in forum New To Java
    Replies: 1
    Last Post: 04-08-2008, 03:23 PM
  4. Running a application in java
    By barney in forum Java Applets
    Replies: 1
    Last Post: 08-07-2007, 07:12 AM
  5. Running application in back
    By fernando in forum Advanced Java
    Replies: 1
    Last Post: 08-01-2007, 12:25 AM

Posting Permissions

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