14 Replies Latest reply on Jul 8, 2009 8:15 AM by user2222

    Problems while Installing a custom made component

    Prabhat_25 Level 1

      I have created a custom component implementing a defirnite business logic.This component conatims required bean classes and required methods.Also a file component.xml is uitably being defined, which is required during component installation.Prior to that, a JAR is made which contains the required java files.This JAR is to be installed in Workbench, from the component view.

      But when i try to install the component(from JAR)  it fails saying as :-

       


      !ENTRY com.adobe.DSC_Admin_UI 4 4 2009-06-24 16:34:03.207
      !MESSAGE install of C:\Documents and Settings\prabhat_kumar05\Desktop\componentJAR\component.jar failed
      !STACK 0
      ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.
      at com.adobe.idp.dsc.registry.component.impl.ComponentRegistryImpl._install(ComponentRegistr yImpl.java:456)
      at com.adobe.idp.dsc.registry.component.impl.ComponentRegistryImpl.install(ComponentRegistry Impl.java:254)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
      at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
      at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
      at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
      at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doBMT(EjbTran sactionBMTAdapterBean.java:197)
      at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapter_jmbvky_ELOImpl.do BMT(EjbTransactionBMTAdapter_jmbvky_ELOImpl.java:141)
      at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:95)
      at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
      at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
      at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
      at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
      at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
      at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
      at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:109)
      at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
      at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
      at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
      at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)
      at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:118)
      at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.invoke(AbstractMessageReceiv er.java:315)
      at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invokeCall(SoapSdkEndpoint. java:138)
      at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invoke(SoapSdkEndpoint.java :81)
      at sun.reflect.GeneratedMethodAccessor574.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
      at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
      at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
      at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
      at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
      at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
      at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
      at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
      at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper. java:226)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
      at com.adobe.idp.dsc.provider.impl.soap.axis.InvocationFilter.doFilter(InvocationFilter.java :43)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletC ontext.java:3393)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(Unknown Source)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2 140)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
      Caused by: java.io.FileNotFoundException: /tmp/adobewl_lc_domain_LC_Server/ArchiveStore/406/com/pakage/si/beanfiles/DocumentBusines sObject.java (No such file or directory)
      at com.adobe.idp.dsc.management.impl.ArchiveFileManagerImpl.inflateArchiveIntoLocalCache(Arc hiveFileManagerImpl.java:300)
      at com.adobe.idp.dsc.management.impl.ArchiveFileManagerImpl.getArchiveDirectory(ArchiveFileM anagerImpl.java:113)
      at com.adobe.idp.dsc.management.impl.ArchiveStoreImpl.getArchiveDirectory(ArchiveStoreImpl.j ava:586)
      at com.adobe.idp.dsc.registry.component.impl.ComponentRegistryImpl._install(ComponentRegistr yImpl.java:305)
      ... 57 more
      Caused by: java.io.FileNotFoundException: /tmp/adobewl_lc_domain_LC_Server/ArchiveStore/406/com/pakage/si/beanfiles/DocumentBusines sObject.java (No such file or directory)
      at java.io.FileOutputStream.open(Native Method)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
      at com.adobe.idp.dsc.management.impl.ArchiveFileManagerImpl$1.doInTransaction(ArchiveFileMan agerImpl.java:276)
      at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:342)
      at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequiresNew (EjbTransactionCMTAdapterBean.java:284)
      at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapter_z73hg_ELOImpl.doR equiresNew(EjbTransactionCMTAdapter_z73hg_ELOImpl.java:145)
      at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:143)
      at com.adobe.idp.dsc.transaction.impl.DefaultTransactionTemplate.execute(DefaultTransactionT emplate.java:79)
      at com.adobe.idp.dsc.management.impl.ArchiveFileManagerImpl.inflateArchiveIntoLocalCache(Arc hiveFileManagerImpl.java:258)
      ... 60 more.

       

      I have already checked the JAR(by extracting contents)  that's being imported from EclipseIDE; it contains all the required source(src) files.But still itz showing some this error , when i try to install from my workbench.

       

      Any suggetsions for wuts the mistake and how cud it be rectified .The LC Server environment is Linux 5.0.

      Thanking in anticipation.

        • 1. Re: Problems while Installing a custom made component
          Paul Butenko Level 3

          Hi,

          Maybe it rights problem? Does your user has read/write rigths under Linux environment?

           

          BR,

          Paul Butenko

          • 2. Re: Problems while Installing a custom made component
            Prabhat_25 Level 1

            Thanks Paul for ur quick response. :-)

            At this point i havent verified as such for read/write privileges in the Linux environment.

            But i have also tried the same for one of our servers in Windows Server Environment the error is not too different,

            (as far as my perception goes)

            which is :-(Highlighting inly the basic part)

             

            !ENTRY com.adobe.DSC_Admin_UI 4 4 2009-06-25 15:32:07.830
            !MESSAGE install of C:\Documents and Settings\prabhat_kumar05\Desktop\componentJAR\component1.jar failed
            !STACK 0
            ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.
            at com.adobe.idp.dsc.registry.component.impl.ComponentRegistryImpl._install(ComponentRegistr yImpl.java:456)
            at com.adobe.idp.dsc.registry.component.impl.ComponentRegistryImpl.install(ComponentRegistry Impl.java:254)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            .

            .

            .

            Caused by: java.io.FileNotFoundException: C:\Documents and Settings\User_1\Local Settings\Temp\1\adobewl_base_domain_LCServer2\ArchiveStore\1509\com\pakage\si\beanFiles\D ocumentBusinessObject.class (The system cannot find the path specified)
            at com.adobe.idp.dsc.management.impl.ArchiveFileManagerImpl.inflateArchiveIntoLocalCache(Arc hiveFileManagerImpl.java:300)
            at com.adobe.idp.dsc.management.impl.ArchiveFileManagerImpl.getArchiveDirectory(ArchiveFileM anagerImpl.java:113)
            at com.adobe.idp.dsc.management.impl.ArchiveStoreImpl.getArchiveDirectory(ArchiveStoreImpl.j ava:586)
            at com.adobe.idp.dsc.registry.component.impl.ComponentRegistryImpl._install(ComponentRegistr yImpl.java:305)
            ... 56 more
            Caused by: java.io.FileNotFoundException: C:\Documents and Settings\User_1\Local Settings\Temp\1\adobewl_base_domain_LCServer2\ArchiveStore\1509\com\pakage\si\beanFiles\D ocumentBusinessObject.class (The system cannot find the path specified)
            at java.io.FileOutputStream.open(Native Method)
            at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
            at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
            at com.adobe.idp.dsc.management.impl.ArchiveFileManagerImpl$1.doInTransaction(ArchiveFileMan agerImpl.java:276)
            at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:342)
            at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequiresNew (EjbTransactionCMTAdapterBean.java:284)
            at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapter_z73hg_ELOImpl.doR equiresNew(EjbTransactionCMTAdapter_z73hg_ELOImpl.java:145)
            at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:143)
            at com.adobe.idp.dsc.transaction.impl.DefaultTransactionTemplate.execute(DefaultTransactionT emplate.java:79)
            at com.adobe.idp.dsc.management.impl.ArchiveFileManagerImpl.inflateArchiveIntoLocalCache(Arc hiveFileManagerImpl.java:258)
            ... 59 more

             

            Additionally as we r installing the component through JAR form our client machines, could u plz expalin where do we need to assign

            read/write priviliges

            • 3. Re: Problems while Installing a custom made component
              Prabhat_25 Level 1

              Thanks Paul for ur quick response.

               

              Yeah, as of now i havent specfically checked the read/write priviliges in Linux environment.

              I alraedy have tried the same component installation in the Windows Server environment.In

              this case also it failed with a log showin not to diffrent error(as far as my perception goes)

              It is :-

              !ENTRY com.adobe.DSC_Admin_UI 4 4 2009-06-25 10:39:47.177
              !MESSAGE install of C:\Documents and Settings\User1\Desktop\componentJAR\component.jar failed
              !STACK 0
              ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.
              at com.adobe.idp.dsc.registry.component.impl.ComponentRegistryImpl._install(ComponentRegistr yImpl.java:456)
              at com.adobe.idp.dsc.registry.component.impl.ComponentRegistryImpl.install(ComponentRegistry Impl.java:254)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)

              .

              .

              .

              Caused by: java.io.FileNotFoundException: C:\Documents and Settings\admin\Local Settings\Temp\1\adobewl_base_domain_LCServer2\ArchiveStore\1505\com\pakage\si\beanFiles\D ocumentBusinessObject.class (The system cannot find the path specified)
              at com.adobe.idp.dsc.management.impl.ArchiveFileManagerImpl.inflateArchiveIntoLocalCache(Arc hiveFileManagerImpl.java:300)
              at com.adobe.idp.dsc.management.impl.ArchiveFileManagerImpl.getArchiveDirectory(ArchiveFileM anagerImpl.java:113)
              at com.adobe.idp.dsc.management.impl.ArchiveStoreImpl.getArchiveDirectory(ArchiveStoreImpl.j ava:586)
              at com.adobe.idp.dsc.registry.component.impl.ComponentRegistryImpl._install(ComponentRegistr yImpl.java:305)
              ... 56 more
              Caused by: java.io.FileNotFoundException: C:\Documents and Settings\admin\Local Settings\Temp\1\adobewl_base_domain_LCServer2\ArchiveStore\1505\com\pakage\si\beanFiles\D ocumentBusinessObject.class (The system cannot find the path specified)
              at java.io.FileOutputStream.open(Native Method)
              at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
              at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
              at com.adobe.idp.dsc.management.impl.ArchiveFileManagerImpl$1.doInTransaction(ArchiveFileMan agerImpl.java:276)
              at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:342)
              at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequiresNew (EjbTransactionCMTAdapterBean.java:284)
              at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapter_z73hg_ELOImpl.doR equiresNew(EjbTransactionCMTAdapter_z73hg_ELOImpl.java:145)
              at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:143)
              at com.adobe.idp.dsc.transaction.impl.DefaultTransactionTemplate.execute(DefaultTransactionT emplate.java:79)
              at com.adobe.idp.dsc.management.impl.ArchiveFileManagerImpl.inflateArchiveIntoLocalCache(Arc hiveFileManagerImpl.java:258)
              ... 59 more

               

              Additionally can u say spefic how to assign read/write access, Bcoz we r installin JAR component form local Worbench client.

               

              Regards,

              Prabhat

              • 4. Re: Problems while Installing a custom made component
                Hodmi Level 4

                It could also be the way the component jar file was created.  I saw something similar when I had used compression when creating my first component jar file.

                • 5. Re: Problems while Installing a custom made component
                  Paul Butenko Level 3

                  Hi,

                  Under Linux environment you can assign rigths with this command $ chmod [options] mode[,mode] file1 [file2 ...]

                  BR

                  • 6. Re: Problems while Installing a custom made component
                    Prabhat_25 Level 1

                    Yeah i have already insured that the compression option is turned off.I have unchecked that option in Eclipse IDE while

                    importing  the JAR

                     

                    Regards,

                    Prabhat

                     

                    NB:- As of now I have (contents of JAR are:- )

                     

                    1)Folder conatining src files(contains both .class files and .java files)

                    2)Folder for META-INF(manifest.mf)

                    3) File component.xml

                     

                    I hope this are the only pre-requisites for custom made component.

                    • 7. Re: Problems while Installing a custom made component
                      user2222 Level 1

                      Hello everyone,

                       

                      I have some classNotFoundException too.

                       

                      One of my 2 Jar is partially obfuscated with Retroguard. Interfaces which are not obfuscated are explosed externally (which is the normal usage).

                       

                      Does this affect the way LC load the classes?

                       

                      Thank you

                      • 8. Re: Problems while Installing a custom made component
                        DyonisosDD Level 1

                        Hello,

                        I have exactly the same FileNotFound exception deploying my first component under JBoss/windows/mssql...

                        Anybody does know the wokraround?

                         

                        Thanks

                        • 9. Re: Problems while Installing a custom made component
                          user2222 Level 1

                          Hello everybody,

                           

                          As far as I'm concerned, I have temporarly put some JAR files (dependencies) in the Boss Lib directory:

                          C:\Adobe\LiveCycle8.2\jboss\server\all\lib

                           

                          I had also posted some messages on this forum butI have no real solutions.

                           

                          Thank you

                          • 10. Re: Problems while Installing a custom made component
                            DyonisosDD2 Level 1

                            Hello!

                            Thanks to a lot of tests and to the official adobe support, I have solved my case.

                            It seams to be linked with the presence of Winzip on the machine that made the component jar.

                            If I unzip the jar and rezip it using PowerArchiver, The deployment is running.

                             

                            Hope this will help in your case!

                             

                            Denis

                            • 11. Re: Problems while Installing a custom made component
                              Sentah Level 1

                              Prabhat,

                               

                              Can you verify how you created the jar files ?

                               

                              I have encountered issues when i used winzip or for that matter jar in a different way.

                               

                              If you are using Eclipse and creating jar then you will run into issue (where the jar files are compressed).

                               

                              try using command line jar command or ant command with the following option i.e disable compression.

                               

                              <jar destfile="${deploy.dir}/${jar.name}" keepcompression="false" compress="false" >

                              <zipfileset dir="${classes.dir}" includes="**/*.class"/>

                              <zipfileset dir="${src.dir}" includes="**/*.xml,**/*.jar"/>

                              <zipfileset dir="." includes="icons/*.gif"/>

                              </jar>

                               

                              or ..

                               

                              jar -cvf 0 .

                              • 12. Re: Problems while Installing a custom made component
                                user2222 Level 1

                                Hello,

                                 

                                I tried to remove the compression which is activated by default in Maven2.

                                 

                                I added the following lines in the pom.xml of my project.

                                 


                                            <plugin>
                                                <groupId>org.apache.maven.plugins</groupId>
                                                <artifactId>maven-jar-plugin</artifactId>
                                                <executions>
                                                    <execution>
                                                        <goals>
                                                            <goal>jar</goal>
                                                        </goals>
                                                    </execution>
                                                </executions>
                                                <configuration>
                                                    <archive>
                                                        <compress>false</compress>
                                                    </archive>

                                                </configuration>
                                            </plugin>

                                 

                                Then my Jar file size changed from 1.14 Mb to 1.49 Mb. So I think it will be OK.

                                 

                                Thank you

                                • 13. Re: Problems while Installing a custom made component
                                  Sentah Level 1

                                  Yes, that should pretty much settle the issue.

                                   

                                  let us know otherwise with the error message.

                                  • 14. Re: Problems while Installing a custom made component
                                    user2222 Level 1

                                    Hello,

                                     

                                    After looking for a while, I saw that there has been many modifications on the maven Jar plugin.

                                     

                                    Here is my last version:

                                     

                                     

                                    <plugin>

                                    <groupId>org.apache.maven.plugins</groupId>

                                    <artifactId>maven-jar-plugin</artifactId>

                                    <executions>

                                    <execution>

                                    <goals>

                                    <goal>jar</goal>

                                    </goals>

                                    </execution>

                                    </executions>

                                    <configuration>

                                    <archive>

                                    <compress>false</compress>

                                    <index>true</index>

                                                <manifest>

                                                  <addClasspath>true</addClasspath>

                                                </manifest>

                                                <manifestEntries>

                                                  <mode>development</mode>

                                                  <url>${pom.url}</url>

                                                  <key>value</key>

                                                </manifestEntries>

                                    </archive>

                                    </configuration>

                                    </plugin>

                                     

                                    >> No jar compression with Maven2

                                    >> The manifest must be generated at least for the classpath (In fact, my component includes 3 jar directly under the root directory)

                                    >> I do not add the 3 jar files with Maven2 because it corrupts the JAR files, and then I get some ClassNotFoundException.

                                    >> I use 7-Zip instead of Winzip, for the reasons already mentionned on this forum.

                                     

                                    I hope it will be usefull to many of you.