2 Replies Latest reply on Dec 13, 2013 4:49 AM by Nelson Wilson

    log4j unknown source line number

    Nelson Wilson Newbie

      Environment:

      OS: Solaris 10 SPARC 32 bit

      AS: JBoss 7.2

       

       

      EAR Architecture:-

      xxxEAR.ear-

          xxxEJB.jar

          xxxWeb.war

          lib(xxxCommon.jar,jxl.jar,quartz.jar,sapjco.jar)

       

       

      I am getting my log print as follows:

       

      12:06:03,348 ERROR [com.eks.interceptors.CCPIExceptionHandler] (ajp-/10.0.76.12:8110-15) java.lang.NumberFormatException: For input string: ""

        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)

        at java.lang.Long.parseLong(Long.java:424)

        at java.lang.Long.valueOf(Long.java:518)

        at com.eks.srs.web.upload.action.ValidateUploadCountAction.execute(Unknown Source)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

       

      I am getting Unknown Source inside the log, its not showing the file and the line number on which the error has occurred.

      But when I run the same application in my local PC(Windows, 32bit), it is showing me the the error line number and its file.

      What will be the reason that the same application with the same configuration is behaving separately in different OS?

      Is this the OS issue. Can you suggest me any configuration to solve this problem.