8 Replies Latest reply: Aug 5, 2013 9:07 AM by 991984 RSS

    Unable to access the Dyn/admin Home Page

    991984

      Hi ,

       

       

      I am also facing the login issue to dynamo admin server .

      I could able to logged  into ACC(ATG Control Center) .But I am not able to access the dynamo admin server both for production and publishing server even entering the same credentials that i used for ACC.

      Both the servers are up and running with out any issues .

       

      Application server is weblogic server .

      OS is Windows.

       

      I am getting this error :

       

      Make sure that you have the 'bin' directory for your JDK in your PATH variable before starting Dynamo and that you have enough swap space.

      The detailed exception is: java.io.IOException: Cannot run program "javac": CreateProcess error=206, The filename or extension is too long.


      I have set it correctly before installing ATG like this  D:\Java\jdk1.6.0_45\bin;  . Even though i am getting the same issue.


      From your previous post .I got this . But had a doubt on this like where to add  .I could not find this location.

       

      #atg\dynamo\servlet\pagecompile\ExtendedJhtmlPageProcessor.properties

      $class=atg.servlet.pagecompile.jsp11.JSPPageProcessor

      javaCompilerClassName=atg.servlet.pagecompile.SunJavaSourceCompiler

       

       

      I am not able to understand where it went wrong . Please tell me as i got strucked in this.

       

       

      Thanks,

      keerthi

        • 1. Re: Unable to access the Dyn/admin Home Page
          Rajeev_R

          Add this location in your Windows system PATH variable using Environment Variable setup in windows.

           

          You need to create atg\dynamo\servlet\pagecompile\ExtendedJhtmlPageProcessor.properties file in config folder under your module (i.e layering this component to read your values) and give the values specified in your post.

           

          Cheers

          R

          • 2. Re: Unable to access the Dyn/admin Home Page
            991984

            Hi Rajeev ,

             

            Thanks for you reply.

             

            I already set this location before i.e., Environment variables like as D:\Java\jdk1.6.0_45\bin; 

            But i am not able to understand where this file has to be added  atg\dynamo\servlet\pagecompile\ExtendedJhtmlPageProcessor.properties

             

            I added this in this location E:\ATG\ATG10.2\home\localconfig\   

            But it didnt worked for me .I dont know whether i am adding in correct location or not .Please let me know as i am new to this.

             

             

            Thanks,

            keerthi

            • 3. Re: Unable to access the Dyn/admin Home Page
              Rajeev_R

              If you added that in the localconfig folder then it will pickup that configuration. Try one more thing,

               

              In localconfig, create  /atg/dynamo/servlet/pagecompile/PageProcessor.properties file and give the below configuration and try.

               

              javaCompilerClassName=atg.servlet.pagecompile.SunJavaSourceCompiler

               

              Cheers

              R

              • 4. Re: Unable to access the Dyn/admin Home Page
                991984

                I tried as you said .

                But also it doesnt worked for me.

                I am getting this error in the server when i am trying to login

                **** Error  Fri Aug 02 14:49:29 IST 20131375435169951   /atg/dynamo/serv
                let/pagecompile/PageCompileServlet          at weblogic.work.ExecuteThread.e

                xecute(ExecuteThread.java:256)

                **** Error  Fri Aug 02 14:49:29 IST 20131375435169951   /atg/dynamo/serv
                let/pagecompile/PageCompileServlet          at weblogic.work.ExecuteThread.r

                un(ExecuteThread.java:221)

                **** Error  Fri Aug 02 14:49:29 IST 20131375435169951   /atg/dynamo/serv

                let/pagecompile/PageCompileServlet

                **** info   Fri Aug 02 14:54:55 IST 20131375435495171   /atg/dynamo/serv

                let/adminpipeline/AuthenticationServlet HTML admin authentication failure from 0

                :0:0:0:0:0:0:1(/dyn/admin)

                **** WarningFri Aug 02 14:56:34 IST 20131375435594372   /atg/dynamo/secu

                rity/AdminUserAuthority Attempt to log into nonexistent account weblogic

                **** info   Fri Aug 02 14:56:37 IST 20131375435597378   /atg/dynamo/serv

                let/adminpipeline/AuthenticationServlet HTML admin authentication failure from 0

                :0:0:0:0:0:0:1(/dyn/admin)

                **** WarningFri Aug 02 14:57:11 IST 20131375435631220   /atg/dynamo/secu

                rity/AdminUserAuthority Attempt to log into account admin with incorrect passwor

                d

                **** info   Fri Aug 02 14:57:14 IST 20131375435634220   /atg/dynamo/serv

                let/adminpipeline/AuthenticationServlet HTML admin authentication failure from 0

                :0:0:0:0:0:0:1(/dyn/admin)

                 

                 

                I gave the same password which i gave it for ATG Control Center .It is working fine.

                But when i am with this credentials to access dynamo admin .I am getting the above errors.

                If i go on trying it for many times then i am getting this below error.

                 

                Make sure that you have the 'bin' directory for your JDK in your PATH variable before starting Dynamo and that you have enough swap space.

                The detailed exception is: java.io.IOException: Cannot run program "javac": CreateProcess error=206, The filename or extension is too long.


                Is the problem with login credentials or with javac exception ?


                Please Let me know.


                Thanks

                keerthi

                • 5. Re: Unable to access the Dyn/admin Home Page
                  Nitin Khare

                  If you have done all the environment changes as mentioned and still getting this error then perhaps you are encountering the issue related to long classpath name on Windows. Refer this discussion:

                   

                  https://forums.oracle.com/thread/2425518#10502427

                   

                  Another thing that you can try is to use the "-collapse-class-path" argument when invoking runassembler while building your EAR. Using this option should collapse all the lib jars into a single file which should reduce the length of the command to be executed.

                   

                  Hope this helps.

                  • 6. Re: Unable to access the Dyn/admin Home Page
                    991984

                    Hi,

                     

                    Thanks for your reply.

                     

                    I tried as you said but even though its not working .

                    I did like this

                     

                    In CIM :

                     

                     

                     

                    Enter Ear File Name for Publishing with a Server Lock Manager

                    [[ATGPublishing]] > ATGPublishing.ear

                     

                     

                    -------WEBLOGIC ONLINE DEPLOYMENT MENU------------------------------------------

                     

                     

                    enter [h]elp, [m]ain menu, [q]uit to exit

                     

                     

                     

                     

                    Current runAssembler arguments :

                     

                     

                    -server ATGPublishing -collapse-class-path

                     

                     

                    Weblogic Admin Server must be running.

                     

                     

                     

                     

                    Top Level Module List:

                     

                     

                    DCS-UI.Versioned BIZUI PubPortlet DafEar.Admin DCS-UI.SiteAdmin.Versioned

                    SiteAdmin.Versioned DCS.Versioned DCS-UI Store.EStore.Versioned

                    Store.Storefront DAF.Endeca.Index.Versioned DCS.Endeca.Index.Versioned

                    Store.EStore.International.Versioned Store.Mobile Store.Mobile.Versioned

                    Store.Endeca.International Store.Mobile.REST.Versioned

                     

                     

                     

                     

                    *[D]  Deploy Publishing with a Server Lock Manager ATGPublishing.ear to

                    Weblogic Online

                      [R]  Register Datasources on Weblogic Online

                      [A]  Add database driver to app server classpath

                      [P]  Post Deployment Actions on Weblogic Online

                      [E]  Edit runAssembler arguments

                      [O]  Configure Another Server Instance

                     

                     

                     

                     

                     

                    > D

                     

                     

                    -------DEPLOY PUBLISHING WITH A SERVER LOCK MANAGER TO WEBLOGIC ONLINE----------

                     

                     

                    enter [h]elp, [m]ain menu, [q]uit to exit

                     

                     

                     

                     

                     

                     

                      Create server instance ATGPublishing. View log file at D:/ATG/ATG10.2/home/

                    ../CIM/ log/cim.log

                      |. . . . . . |

                     

                     

                      >> Created server instance ATGPublishing

                     

                     

                      Executing runAssembler for ATGPublishing. View log file at D:/ATG/ATG10.2/

                    home/../CIM/ log/cim.log

                      |. . . . . |

                     

                     

                      >> Ear created at D:/ATG/ATG10.2/home/../home/cimEars/ATGPublishing.ear

                     

                     

                      Deploy ATGPublishing.ear to weblogic. View log file at D:/ATG/ATG10.2/home/

                    ../CIM/ log/cim.log

                      |. . . . . . . |

                     

                     

                      >> Application ATGPublishing.ear deployed to weblogic

                     

                     

                      >> File written to D:/ATG/ATG10.2/home/../home/servers/ATGPublishing/

                    startServerOnWeblogic.sh

                     

                     

                    -------WEBLOGIC ONLINE DEPLOYMENT MENU------------------------------------------

                     

                     

                    enter [h]elp, [m]ain menu, [q]uit to exit

                     

                     

                     

                     

                    Current runAssembler arguments :

                     

                     

                    -server ATGPublishing -collapse-class-path

                     

                     

                    Weblogic Admin Server must be running.

                     

                     

                     

                     

                    Top Level Module List:

                     

                     

                    DCS-UI.Versioned BIZUI PubPortlet DafEar.Admin DCS-UI.SiteAdmin.Versioned

                    SiteAdmin.Versioned DCS.Versioned DCS-UI Store.EStore.Versioned

                    Store.Storefront DAF.Endeca.Index.Versioned DCS.Endeca.Index.Versioned

                    Store.EStore.International.Versioned Store.Mobile Store.Mobile.Versioned

                    Store.Endeca.International Store.Mobile.REST.Versioned

                     

                     

                    In the cim.log file i found this kind of error :

                     

                    **** infoMon Aug 05 14:45:48 IST 20131375694148836atg.cim.productconfig.appassembly.RunAssemblerExecutorTaskExecuting runAssembler for ATGPublishing
                    **** infoMon Aug 05 14:45:48 IST 20131375694148837atg.cim.productconfig.appassembly.RunAssemblerExecutorTaskrunAssembler -server ATGPublishing -collapse-class-path  D:/ATG/ATG10.2/home/../home/cimEars/ATGPublishing.ear  -m DCS-UI.Versioned BIZUI PubPortlet DafEar.Admin DCS-UI.SiteAdmin.Versioned SiteAdmin.Versioned DCS.Versioned DCS-UI Store.EStore.Versioned Store.Storefront DAF.Endeca.Index.Versioned DCS.Endeca.Index.Versioned Store.EStore.International.Versioned Store.Mobile Store.Mobile.Versioned Store.Endeca.International Store.Mobile.REST.Versioned
                    **** infoMon Aug 05 14:45:48 IST 20131375694148844atg.cim.task.ant.utility.AntLogger
                    **** infoMon Aug 05 14:45:48 IST 20131375694148844atg.cim.task.ant.utility.AntLoggerexec.runAssembler.bat.file.windows:
                    **** infoMon Aug 05 14:45:49 IST 20131375694149047atg.cim.task.ant.utility.AntLogger     [exec] Assembly started.
                    **** infoMon Aug 05 14:45:49 IST 20131375694149047atg.cim.task.ant.utility.AntLogger     [exec] Target application is D:\ATG\ATG10.2\home\..\home\cimEars\ATGPublishing.ear.
                    **** infoMon Aug 05 14:45:51 IST 20131375694151187atg.cim.task.ant.utility.AntLogger     [exec]  Creating exploded ear file D:\ATG\ATG10.2\home\..\home\cimEars\ATGPublishing.ear.
                    **** infoMon Aug 05 14:45:51 IST 20131375694151187atg.cim.task.ant.utility.AntLogger     [exec] Initializing...
                    **** infoMon Aug 05 14:45:51 IST 20131375694151187atg.cim.task.ant.utility.AntLogger     [exec] Updating D:\ATG\ATG10.2\home\..\home\cimEars\ATGPublishing.ear.
                    **** infoMon Aug 05 14:45:51 IST 20131375694151187atg.cim.task.ant.utility.AntLogger     [exec]  Before make meta-inf file.
                    **** infoMon Aug 05 14:45:51 IST 20131375694151188atg.cim.task.ant.utility.AntLogger     [exec] Making meta-inf file D:\ATG\ATG10.2\home\..\home\cimEars\ATGPublishing.ear\META-INF
                    **** infoMon Aug 05 14:45:51 IST 20131375694151188atg.cim.task.ant.utility.AntLogger     [exec] Creating application.xml...
                    **** infoMon Aug 05 14:45:51 IST 20131375694151305atg.cim.task.ant.utility.AntLogger     [exec]  Creating Ear file MANIFEST...
                    **** infoMon Aug 05 14:45:51 IST 20131375694151305atg.cim.task.ant.utility.AntLogger     [exec]  Importing classes...
                    **** infoMon Aug 05 14:45:51 IST 20131375694151306atg.cim.task.ant.utility.AntLogger     [exec] Collapsing CLASSPATH into lib/classes.jar
                    **** infoMon Aug 05 14:45:51 IST 20131375694151405atg.cim.task.ant.utility.AntLogger     [exec] CAUGHT AT:CONTAINER:atg.appassembly.ApplicationAssemblerException: An IOException occurred while generating the jarfile D:\ATG\ATG10.2\home\..\home\cimEars\ATGPublishing.ear\.\atglib\classes.jar; SOURCE:java.io.FileNotFoundException: D:\ATG\ATG10.2\CommerceReferenceStore\Store\Endeca\Base\lib\classes.jar (The system cannot find the path specified)
                    **** infoMon Aug 05 14:45:51 IST 20131375694151405atg.cim.task.ant.utility.AntLogger     [exec]at atg.appassembly.util.ClasspathUtils.generateJar(ClasspathUtils.java:414)
                    **** infoMon Aug 05 14:45:51 IST 20131375694151405atg.cim.task.ant.utility.AntLogger     [exec]at atg.appassembly.util.ClasspathUtils.importClasspathLibs(ClasspathUtils.java:147)
                    **** infoMon Aug 05 14:45:51 IST 20131375694151406atg.cim.task.ant.utility.AntLogger     [exec] Error(s) occurred : An IOException occurred while generating the jarfile D:\ATG\ATG10.2\home\..\home\cimEars\ATGPublishing.ear\.\atglib\classes.jar
                    **** infoMon Aug 05 14:45:51 IST 20131375694151406atg.cim.task.ant.utility.AntLogger     [exec]at atg.appassembly.ApplicationAssembler.createUnpackedEarFile(ApplicationAssembler.java:196)
                    **** infoMon Aug 05 14:45:51 IST 20131375694151406atg.cim.task.ant.utility.AntLogger     [exec]at atg.appassembly.Main.main(Main.java:518)
                    **** infoMon Aug 05 14:45:51 IST 20131375694151406atg.cim.task.ant.utility.AntLogger     [exec] SOURCE EXCEPTION:java.io.FileNotFoundException: D:\ATG\ATG10.2\CommerceReferenceStore\Store\Endeca\Base\lib\classes.jar (The system cannot find the path specified)
                    **** infoMon Aug 05 14:45:51 IST 20131375694151406atg.cim.task.ant.utility.AntLogger     [exec]at java.util.zip.ZipFile.open(Native Method)
                    **** infoMon Aug 05 14:45:51 IST 20131375694151406atg.cim.task.ant.utility.AntLogger     [exec]at java.util.zip.ZipFile.<init>(ZipFile.java:127)
                    **** infoMon Aug 05 14:45:51 IST 20131375694151406atg.cim.task.ant.utility.AntLogger     [exec]at java.util.zip.ZipFile.<init>(ZipFile.java:88)
                    **** infoMon Aug 05 14:45:51 IST 20131375694151407atg.cim.task.ant.utility.AntLogger     [exec]at atg.applauncher.core.util.DirectoryAndJarFileCollapser.handleZip(DirectoryAndJarFileCollapser.java:235)
                    **** infoMon Aug 05 14:45:51 IST 20131375694151409atg.cim.task.ant.utility.AntLogger     [exec] Root Cause: D:\ATG\ATG10.2\CommerceReferenceStore\Store\Endeca\Base\lib\classes.jar (The system cannot find the path specified)
                    **** infoMon Aug 05 14:45:51 IST 20131375694151409atg.cim.task.ant.utility.AntLogger     [exec] Cleaning Up.
                    **** infoMon Aug 05 14:45:51 IST 20131375694151507atg.cim.task.ant.utility.AntLogger     [exec]at atg.applauncher.core.util.DirectoryAndJarFileCollapser.processFile(DirectoryAndJarFileCollapser.java:128)
                    **** infoMon Aug 05 14:45:51 IST 20131375694151507atg.cim.task.ant.utility.AntLogger     [exec]at atg.applauncher.core.util.JarFileCollapser.run(JarFileCollapser.java:366)
                    **** infoMon Aug 05 14:45:51 IST 20131375694151510atg.cim.task.ant.utility.AntLogger     [exec]at atg.appassembly.util.ClasspathUtils.generateJar(ClasspathUtils.java:500)
                    **** infoMon Aug 05 14:45:51 IST 20131375694151510atg.cim.task.ant.utility.AntLogger     [exec]at atg.appassembly.util.ClasspathUtils.generateJar(ClasspathUtils.java:411)
                    **** infoMon Aug 05 14:45:51 IST 20131375694151511atg.cim.task.ant.utility.AntLogger     [exec]at atg.appassembly.util.ClasspathUtils.importClasspathLibs(ClasspathUtils.java:147)
                    **** infoMon Aug 05 14:45:51 IST 20131375694151511atg.cim.task.ant.utility.AntLogger     [exec]at atg.appassembly.ApplicationAssembler.createUnpackedEarFile(ApplicationAssembler.java:196)
                    **** infoMon Aug 05 14:45:51 IST 20131375694151512atg.cim.task.ant.utility.AntLogger     [exec]at atg.appassembly.Main.main(Main.java:518)
                    **** infoMon Aug 05 14:45:51 IST 20131375694151945atg.cim.task.ant.utility.AntLogger     [exec] 
                    **** infoMon Aug 05 14:45:52 IST 20131375694152449atg.cim.task.ant.utility.AntLogger
                    **** infoMon Aug 05 14:45:52 IST 20131375694152449atg.cim.task.ant.utility.AntLoggerBUILD SUCCESSFUL
                    **** infoMon Aug 05 14:45:52 IST 20131375694152449atg.cim.task.ant.utility.AntLoggerTotal time: 3 seconds

                     

                     

                     

                    Thanks,

                    keerthi

                    • 7. Re: Unable to access the Dyn/admin Home Page
                      Nitin Khare

                      The CIM error you are getting is self explanatory. Take a re-look at your environment setup and for the Endeca JARs that the error is pointing too. Also refer to the other discussion that I mentioned before if your issue is related to long classpath argument.

                      • 8. Re: Unable to access the Dyn/admin Home Page
                        991984

                        Hi,

                         

                        While using -collapse-class-path i am getting this error.

                         

                        [exec] Collapsing CLASSPATH into lib/classes.jar 

                         

                        An IOException occurred while generating the jarfile D:\ATG\ATG10.2\home\..\home\cimEars\ATGPublishing.ear\.\atglib\classes.jar; SOURCE:java.io.FileNotFoundException:

                         

                        D:\ATG\ATG10.2\CommerceReferenceStore\Store\Endeca\Base\lib\classes.jar (The system cannot find the path specified)

                         

                        [exec] Error(s) occurred : An IOException occurred while generating the jarfile D:\ATG\ATG10.2\home\..\home\cimEars\ATGPublishing.ear\.\atglib\classes.jar

                         

                        SOURCE EXCEPTION:java.io.FileNotFoundException: D:\ATG\ATG10.2\CommerceReferenceStore\Store\Endeca\Base\lib\classes.jar (The system cannot find the path specified)

                         

                         

                        I dont have  lib folder and classes.jar file under of this structure D:\ATG\ATG10.2\CommerceReferenceStore\Store\Endeca\Base . I think this was the problem i am facing . so the files are not getting  collapsed.Please help me if possible as it is high priority for me.

                         

                         

                        Thanks,

                        keerthi