Details

      Description

      Compile failure occurs when running:

      ant -f build-dist.xml build-dist-resin -Djsp.precompile=on
      

      Here's the output:

      compile:
      
      build-common-web.deploy:
           [copy] Copying 10294 files to L:\Private\master-bundles\resin-4.0.33\webapps\ROOT
           [copy] Copied 1985 empty directories to 20 empty directories under L:\Private\master-bundles\resin-4.0.33\webapps\ROOT
      
      compile-resin:
         [delete] Deleting: L:\Private\master-portal\portal-web\jspc_error
           [java] Loading jar:file:/L:/Private/master-portal/portal-impl/portal-impl.jar!/system.properties
           [java] Jun 10, 2014 8:23:13 PM com.caucho.env.service.ResinSystem start
           [java] INFO:
           [java] Jun 10, 2014 8:23:13 PM com.caucho.env.service.ResinSystem start
           [java] INFO: Resin-4.0.33 (built Wed, 19 Dec 2012 10:12:03 PST)
           [java] Jun 10, 2014 8:23:13 PM com.caucho.env.service.ResinSystem start
           [java] INFO:
           [java] Jun 10, 2014 8:23:13 PM com.caucho.env.service.ResinSystem start
           [java] INFO: Windows 7 6.1 amd64
           [java] Jun 10, 2014 8:23:13 PM com.caucho.env.service.ResinSystem start
           [java] INFO: Java(TM) SE Runtime Environment 1.7.0_45-b18, UTF-8, en
           [java] Jun 10, 2014 8:23:13 PM com.caucho.env.service.ResinSystem start
           [java] INFO: Java HotSpot(TM) 64-Bit Server VM 24.45-b08, 64, mixed mode, Oracle Corporation
           [java] Jun 10, 2014 8:23:13 PM com.caucho.env.service.ResinSystem start
           [java] INFO:
           [java] Jun 10, 2014 8:23:13 PM com.caucho.env.service.ResinSystem start
           [java] INFO: user.name  = Liferay
           [java] Jun 10, 2014 8:23:13 PM com.caucho.db.table.Table loadFromFile
           [java] INFO: Table[mnode:2] validating indexes due to unclean shutdown.
           [java] Jun 10, 2014 8:23:13 PM com.caucho.db.table.Table loadFromFile
           [java] INFO: Table[data:3] validating indexes due to unclean shutdown.
           [java] Jun 10, 2014 8:23:13 PM com.caucho.server.cluster.ServletService start
           [java] INFO:
           [java] Jun 10, 2014 8:23:13 PM com.caucho.server.cluster.ServletService start
           [java] INFO: resin.home = L:\Private\master-portal\portal-web
           [java] Jun 10, 2014 8:23:13 PM com.caucho.server.cluster.ServletService start
           [java] INFO: resin.root = L:\Private\master-portal\portal-web\docroot
           [java] Jun 10, 2014 8:23:13 PM com.caucho.server.cluster.ServletService start
           [java] INFO: resin.conf = L:\Private\master-portal\portal-web\docroot\conf\resin.conf
           [java] Jun 10, 2014 8:23:13 PM com.caucho.server.cluster.ServletService start
           [java] INFO:
           [java] Jun 10, 2014 8:23:13 PM com.caucho.server.cluster.ServletService start
           [java] INFO: server    = 127.0.0.1:-1 (:default)
           [java] Jun 10, 2014 8:23:13 PM com.caucho.server.cluster.ServletService start
           [java] INFO: stage      = production
           [java] Jun 10, 2014 8:23:13 PM com.caucho.lifecycle.Lifecycle toActive
           [java] INFO: Host[production/host/default] active
           [java] Jun 10, 2014 8:23:13 PM com.caucho.lifecycle.Lifecycle toActive
           [java] INFO: ServletService[id=default,cluster=] active
           [java] Jun 10, 2014 8:23:13 PM com.caucho.server.resin.Resin start
           [java] INFO: ResinEmbedded[id=default] started in 861ms
           [java] Jun 10, 2014 8:23:13 PM com.caucho.server.webapp.WebApp setConfigException
           [java] WARNING: web-app root-directory 'file:/L:/Private/master-portal/portal-web/docroot' can not be the same as the host root-directory
           [java]
           [java] Jun 10, 2014 8:23:14 PM com.caucho.loader.DynamicClassLoader loadClassImpl
           [java] WARNING: java.lang.NoClassDefFoundError: javax/faces/application/ViewHandlerWrapper
           [java]   while loading com.caucho.server.webbeans.ConversationJsfViewHandler (in RootDynamicClassLoader[])
           [java] Jun 10, 2014 8:23:14 PM com.caucho.jsp.TldManager initGlobal
           [java] INFO: Loading .tld files from global classpath
           [java] Jun 10, 2014 8:25:14 PM com.caucho.server.webapp.WebApp setConfigException
           [java] WARNING: web-app root-directory 'file:/L:/Private/master-portal/portal-web/docroot' can not be the same as the host root-directory
           [java]
           [java] Jun 10, 2014 8:25:14 PM com.caucho.loader.DynamicClassLoader loadClassImpl
           [java] WARNING: java.lang.NoClassDefFoundError: javax/faces/application/ViewHandlerWrapper
           [java]   while loading com.caucho.server.webbeans.ConversationJsfViewHandler (in RootDynamicClassLoader[])
           [java] Jun 10, 2014 8:25:17 PM com.caucho.java.InternalCompilerTools$1 run
           [java] WARNING: Note: L:\Private\master-portal\portal-web\classes\resin\_jsp\_html\_common\_themes\_portlet__jsp.java uses or overrides a deprecated API.
           [java] Note: Recompile with -Xlint:deprecation for details.
           [java] Note: Some input files use unchecked or unsafe operations.
           [java] Note: Recompile with -Xlint:unchecked for details.
      
      BUILD FAILED
      L:\Private\master-portal\build-dist.xml:297: The following error occurred while executing this line:
      L:\Private\master-portal\build.xml:452: The following error occurred while executing this line:
      L:\Private\master-portal\portal-web\build.xml:1510: The following error occurred while executing this line:
      L:\Private\master-portal\portal-web\build.xml:1424: java.lang.reflect.InvocationTargetException
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at com.liferay.portal.tools.jspc.resin.BatchJspCompiler._compile(BatchJspCompiler.java:83)
              at com.liferay.portal.tools.jspc.resin.BatchJspCompiler.<init>(BatchJspCompiler.java:58)
              at com.liferay.portal.tools.jspc.resin.BatchJspCompiler.main(BatchJspCompiler.java:35)
      Caused by: com.caucho.java.JavaCompileException: L:\Private\master-portal\portal-web\classes\resin\_jsp\_html\_portlet\_admin\_view__jsp.java:863: error: variable results is already defined in method _jspService(HttpServletRequest,HttpServletResponse,PageContextImpl,ServletContext,HttpSession,TagState)
                                                      List results = ListUtil.fromCollection(currentLoggerNames.entrySet());
                                                           ^
      L:\Private\master-portal\portal-web\classes\resin\_jsp\_html\_portlet\_admin\_view__jsp.java:1024: error: variable results is already defined in method _jspService(HttpServletRequest,HttpServletResponse,PageContextImpl,ServletContext,HttpSession,TagState)
                                      List results = ListUtil.fromCollection(filteredProperties.entrySet());
                                           ^
      L:\Private\master-portal\portal-web\classes\resin\_jsp\_html\_portlet\_admin\_view__jsp.java:2779: error: no suitable method found for getCompanies(boolean,int,int)
                  _jsp_SearchContainerResultsTag_73.setResults( CompanyLocalServiceUtil.getCompanies(false, searchContainer.getStart(), searchContainer.getEnd()) );
                                                                                       ^
          method CompanyLocalServiceUtil.getCompanies(boolean) is not applicable
            (actual and formal argument lists differ in length)
          method CompanyLocalServiceUtil.getCompanies() is not applicable
            (actual and formal argument lists differ in length)
          method CompanyLocalServiceUtil.getCompanies(int,int) is not applicable
            (actual and formal argument lists differ in length)
      L:\Private\master-portal\portal-web\classes\resin\_jsp\_html\_portlet\_admin\_view__jsp.java:2941: error: variable results is already defined in method _jspService(HttpServletRequest,HttpServletResponse,PageContextImpl,ServletContext,HttpSession,TagState)
      List results = ListUtil.subList(themes, searchContainer.getStart(), searchContainer.getEnd());
           ^
      L:\Private\master-portal\portal-web\classes\resin\_jsp\_html\_portlet\_admin\_view__jsp.java:3082: error: variable results is already defined in method _jspService(HttpServletRequest,HttpServletResponse,PageContextImpl,ServletContext,HttpSession,TagState)
      List results = ListUtil.subList(layoutTemplates, searchContainer.getStart(), searchContainer.getEnd());
           ^
      L:\Private\master-portal\portal-web\classes\resin\_jsp\_html\_portlet\_admin\_view__jsp.java:3216: error: variable results is already defined in method _jspService(HttpServletRequest,HttpServletResponse,PageContextImpl,ServletContext,HttpSession,TagState)
      List<Portlet> results = ListUtil.subList(portlets, searchContainer.getStart(), searchContainer.getEnd());
                    ^
      Note: L:\Private\master-portal\portal-web\classes\resin\_jsp\_html\_portal\_render_0portlet__jsp.java uses or overrides a deprecated API.
      Note: Recompile with -Xlint:deprecation for details.
      Note: Some input files use unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.
      6 errors
              at com.caucho.java.InternalCompilerTools.executeInt(InternalCompilerTools.java:216)
              at com.caucho.java.InternalCompilerTools.compileInt(InternalCompilerTools.java:81)
              at com.caucho.java.AbstractJavaCompiler.run(AbstractJavaCompiler.java:115)
              at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
              at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 16 weeks, 6 days ago

                  Packages

                  Version Package
                  7.0.0 M1