8 Replies Latest reply on Apr 8, 2014 8:04 PM by Don Kim

    Version neutral export error

    Don Kim

      I am trying to "version neutral" export a template consisting of local objects and dirs/paths from 8.3.02.332. Its errors out with this message:

       

      error.png

      Console log says:

      [08 Apr 2014 22:12:37,844] [Client-Connections-Thread-9] [WARN] [BLAdmin:BLAdmins:192.168.1.253] [Client] Unexpected exception while handling request: com.bladelogic.om.infra.app.service.content.ContentImportExportService_exportTemplates(com.bladelogic.om.infra.app.api.manage.ProgressMonitor, java.util.List, java.lang.String, com.bladelogic.om.infra.app.service.content.ContentImportExportService.ExportOptions), msg = org.apache.commons.io.FileUtils.moveFileToDirectory(Ljava/io/File;Ljava/io/File;Z)V

      com.bladelogic.om.infra.mfw.util.BlException: Unexpected exception while handling request: com.bladelogic.om.infra.app.service.content.ContentImportExportService_exportTemplates(com.bladelogic.om.infra.app.api.manage.ProgressMonitor, java.util.List, java.lang.String, com.bladelogic.om.infra.app.service.content.ContentImportExportService.ExportOptions), msg = org.apache.commons.io.FileUtils.moveFileToDirectory(Ljava/io/File;Ljava/io/File;Z)V

              at com.bladelogic.om.infra.app.api.manage.APIRequestManager.executeRequest(APIRequestManager.java:40)

              at com.bladelogic.om.infra.message.app.frame.APIMessageFrame.service(APIMessageFrame.java:113)

              at com.bladelogic.om.infra.mfw.net.ClientWorkerThread.processRequest(ClientWorkerThread.java:385)

              at com.bladelogic.om.infra.mfw.net.ClientWorkerThread.processClientRequest(ClientWorkerThread.java:282)

              at com.bladelogic.om.infra.mfw.net.ClientWorkerThread.handleClientRequest(ClientWorkerThread.java:182)

              at com.bladelogic.om.infra.mfw.net.ClientWorkerThread.execute(ClientWorkerThread.java:101)

              at com.bladelogic.om.infra.mfw.net.ClientWorkerThread.execute(ClientWorkerThread.java:27)

              at com.bladelogic.om.infra.app.service.thread.BlBlockingThread.run(BlBlockingThread.java:95)

      [08 Apr 2014 22:12:41,298] [Scheduled-System-Tasks-Thread-12] [INFO] [System:System:] [Memory Monitor] Total JVM (B): 491782144,Free JVM (B): 284361872,Used JVM (B): 207420272,VSize (B): 4117123072,RSS (B): 739315712,Used File Descriptors: 259

       

      Can anyone identify what the error is and how to correct?

        • 1. Re: Version neutral export error
          Bill Robinson

          you have some duplicate jar files in NSH/br/stdlib.  can you send a directory list of that dir ?

          • 2. Re: Version neutral export error
            Don Kim

            Thanks for the quick reply. Here are the contents of the /NSH/br/stdlib:

             

            aix-feed-1.0.jar                     httpclient-4.2.1.jar
            aix-feed-1.0-SNAPSHOT.jar            httpcore-4.2.1.jar
            annotations-api-6.0.32.jar           init-props.jar
            ant.jar                              jackson-core-asl-1.8.5-1.8.5.jar
            araco.jar                            jackson-mapper-asl-1.8.5-1.8.5.jar
            arapi-7.6.0.3.jar                    jackson-xc-1.5.2-1.5.jar
            ara-sae.jar                          jakarta-oro-2.0.8.jar
            aspectjweaver-1.5.3.jar              jasper-6.0.32.jar
            authapi-5.0.3.176.jar                jasper-el-6.0.32.jar
            avctKVMIOLinux.jar                   javagnutar-1.1.4.jar
            avctKVMIOWin32.jar                   jaxb-impl-2.1.7-1.5.jar
            avctNuova.jar                        jaxb-xjc-2.1.7-1.5.jar
            avctVMLinux.jar                      jaxrpc-1.1-1.0.jar
            avctVMWin32.jar                      jboss-common-1.0.2.jar
            axiom-api-1.2.8-1.5.jar              jboss-container-1.0.2.jar
            axiom-impl-1.2.8-1.5.jar             jboss-dependency-1.0.2.jar
            axis-1.4-1.0.jar                     jboss-microcontainer-1.0.2.jar
            axis2-adb-1.5-1.5.jar                jboss-xml-binding-1.0.2.jar
            axis2-adb-codegen-1.5-1.5.jar        jcifs-1.2.9.jar
            axis2-codegen-1.5-1.5.jar            jcifs-1.3.17.jar
            axis2-jaxws-1.5-1.5.jar              jconsole-1.5.6.jar
            axis2-kernel-1.5-1.5.jar             jconsole-adapter.jar
            axis2-metadata-1.5-1.5.jar           jdom-1.0.jar
            axis2-transport-http-1.5-1.5.jar     jlibdiff-1.0.jar
            bcmail-jdk15-136.jar                 jnpserver-4.0.5-1.0.2.jar
            bcprov-jdk15-136.jar                 jpa.jar
            binding-1.0.jar                      jpa_types.jar
            bladelogic_acm.jar                   jpcsc.jar
            bladelogic_api.jar                   jsafeFIPS-4.0.jar
            bladelogic_audit.jar                 jsafeJCEFIPS-4.0.jar
            bladelogic_bladmin.jar               jsch-0.1.32.jar
            bladelogic_blcontent.jar             jsch-0.1.44.jar
            bladelogic_blvmware.jar              jsp-api-6.0.32.jar
            bladelogic_bsmintegration.jar        log4j-1.2.15-1.5.jar
            bladelogic_bundleinstaller.jar       log4j-1.2.15.jar
            bladelogic_caconvert.jar             looks-1.1.2.jar
            bladelogic_caformat.jar              lzvcnt.jar
            bladelogic_camodel.jar               mail-1.4-1.5.jar
            bladelogic_compliance.jar            mssqlserver-3.0.jar
            bladelogic_dbdiagnostics.jar         neethi-2.0.4-1.5.jar
            bladelogic_deploy.jar                not-yet-commons-ssl-0.3.10.jar
            bladelogic_gei.jar                   oaklandsw-http-2.3.2.jar
            bladelogic_infra.jar                 objectprofiler-1.0.jar
            bladelogic_infra-shared.jar          oel-feed-1.0.jar
            bladelogic_logging.jar               oel-feed-1.0-SNAPSHOT.jar
            bladelogic_patch.jar                 oel-schema.jar
            bladelogic_provisioning.jar          oracle-11.2.0.2.0.jar
            bladelogic_rcp-core.jar              org.apache.commons.codec.jar
            bladelogic_rcp-ui.jar                org.apache.commons.collections.jar
            bladelogic_scap.jar                  org.apache.commons.jxpath.jar
            bladelogic_shared.jar                org.apache.commons.lang.jar
            bladelogic_spring_beans.jar          org.eclipse.core.resources.jar
            bladelogic_ucs.jar                   org.eclipse.core.runtime.jar
            bladelogic_virtualization.jar        org.eclipse.emf.common.jar
            bladelogic_vsm.jar                   org.eclipse.emf.compare.diff.jar
            bladelogic_webservices.jar           org.eclipse.emf.compare.jar
            blas-1.4.0.jar                       org.eclipse.emf.compare.match.jar
            blas-locale-1.4.0.jar                org.eclipse.emf.ecore.jar
            bllocale.jar                         org.eclipse.emf.ecore.xmi.jar
            blmigration-tools.jar                org.eclipse.equinox.common.jar
            bmccui-2.0.jar                       org.eclipse.osgi.jar
            bmclicense-8.2.01.jar                org.eclipse.osgi.services.jar
            bmclicense.jar                       org.eclipse.osgi.util.jar
            castor-1.1.2.1.jar                   pd5-1.0-SNAPSHOT.jar
            catalina-6.0.32.jar                  pdc-1.0-SNAPSHOT.jar
            catalina-ant-6.0.32.jar              redhat-feed-1.0.jar
            catalina-ha-6.0.32.jar               redhat-schema.jar
            catalina-tribes-6.0.32.jar           servlet-api-6.0.32.jar
            civiewer-7.6.jar                     snmp4j-1.0.jar
            cmdbapi-7.6.0.3.jar                  solaris-feed-1.0.jar
            com.google.common.collections.jar    solaris-schema.jar
            commons-cli-1.1.jar                  spin-1.0.jar
            commons-codec-1.6.jar                spring-2.5.6.jar
            commons-collections-3.2.jar          support-files-1.0-SNAPSHOT.jar
            commons-dbcp-1.4.jar                 suse-feed-1.0.jar
            commons-fileupload-1.2-1.5.jar       suse-feed-1.0-SNAPSHOT.jar
            commons-httpclient-3.1-1.5.jar       suse-schema.jar
            commons-io-1.3.2.jar                 tibco-uddi-client-3.0.jar
            commons-io-1.4-1.5.jar               tomcat-coyote-6.0.32.jar
            commons-lang-2.4.jar                 tomcat-dbcp-6.0.32.jar
            commons-logging-1.1.1-1.5.jar        tomcat-i18n-es-6.0.32.jar
            commons-logging-1.1.jar              tomcat-i18n-fr-6.0.32.jar
            commons-net-1.4.1.jar                tomcat-i18n-ja-6.0.32.jar
            commons-net-3.1.jar                  tomcat-juli-6.0.32.jar
            commons-pool-1.5.4.jar               truezip.jar
            com.phurnace.deliver.cli.jar         vim25-1.0.jar

            com.phurnace.deliver.common.compare.jar  windows-feed-1.0.jar

            com.phurnace.deliver.common.core.jar windows-feed-1.0-SNAPSHOT.jar

            com.phurnace.deliver.common.license.jar  wiseman-1.0.jar

            com.phurnace.deliver.emf.compare.jar woden-api-1.0M8-1.5.jar
            com.phurnace.deliver.emf.jar         ws-commons-util-1.0.2.jar

            com.phurnace.deliver.profile.model.jar   wsdl4j-1.6.2-1.5.jar

            com.phurnace.deliver.thinclient.jar  wsregistryapi-7.6.jar
            com.phurnace.rosetta.ecore.jar       xercesImpl-2.7.0-1.0.2.jar
            com.phurnace.rosetta.jar             xml-resolver-1.0.jar
            concurrent-1.3.4-1.0.2.jar           xml-resolver-1.2-1.5.jar
            ecj-3.3.1-6.0.32.jar                 xmlrpc-client-3.1.3.jar
            el-api-6.0.32.jar                    xmlrpc-common-3.1.3.jar
            feed-common-1.0.jar                  XmlSchema-1.4.3-1.5.jar
            fluent-hc-4.2.1.jar                  xml-xerces-2.9.jar
            forms-1.0.5.jar                      xpp3_min-1.1.3.4.0.jar
            hfn-1.0-SNAPSHOT.jar                 xstream-1.2.1.jar
            • 3. Re: Version neutral export error
              Bill Robinson

              iirc it's the commons-io-1.3.2 jar that's the issue here - move that one into /tmp (just in case) and restart the appserver service.

               

              if there are jars that have a newer version present you should be able to move them out of that dir.

              1 of 1 people found this helpful
              • 4. Re: Version neutral export error
                Don Kim

                Thanks! I moved that commons-io and restarted, but same error. I will go through and move out the jars that have newer versions and see what happens. How are you deciphering that it was a duplicate jar file issue?

                • 5. Re: Version neutral export error
                  Bill Robinson

                  there may be more:

                   

                  commons-io-1.3.2.jar

                  commons-logging-1.1.jar

                  commons-net-1.4.1.jar

                  log4j-1.2.15.jar

                  ws-commons-util-1.0.1.jar

                  xml-resolver-1.0.jar

                  xmlrpc-client-3.0.jar

                  xmlrpc-common-3.0.jar

                   

                  i forget which one was the issue - removing all of those should be ok as long as there is a newer version present.

                   

                  com.bladelogic.om.infra.app.service.content.ContentImportExportService.ExportOptions), msg = org.apache.commons.io.FileUtils.moveFileToDirectory(Ljava/io/File;Ljava/io/File;Z)V

                  com.bladelogic.om.infra.mfw.util.BlException: Unexpected exception while handling request: com.bladelogic.om.infra.app.service.content.ContentImportExportService_exportTemplates(com.bladelogic.om.infra.app.api.manage.ProgressMonitor, java.util.List, java.lang.String, com.bladelogic.om.infra.app.service.content.ContentImportExportService.ExportOptions), msg = org.apache.commons.io.FileUtils.moveFileToDirectory(Ljava/io/File;Ljava/io/File;Z)V

                          at

                   

                  that indicates it's having an issue finding the class it needs).  i'm pretty it's the commons-io though based on the trace.  you removed the commons-io-1.3.2.jar and restarted the appserver service ?

                  • 6. Re: Version neutral export error
                    Don Kim

                    I tired it with both commons-io files and restarting. It turns out there was a phantom deployment of an app server. Once I removed that, and it worked like you said it would. This would also explain the duplicates.

                    • 7. Re: Version neutral export error
                      Bill Robinson

                      Phantom deployment of the appserver where ?