0 Replies Latest reply: Oct 23, 2014 8:19 AM by ZYYANG@SOHU-INC.COM RSS

    Failed to start flashaccess packager

    ZYYANG@SOHU-INC.COM Community Member

      It seemed that serve failed to open "flashaccess-refimpl-packager.properties" , but the classpath is set correctly, please see below settings.
      1) Set classpath to /opt/drm/resources which include "flashaccess-refimpl-packager.properties" and other properties files.

      2) Copy flashaccess-packager.war to /usr/tomcat/webapps

      3)  License Server is setup correctly.

           Total successful requests = 0 requests in 0 ms.

           Average response time = 0 ms. Average throughput = 0 requests per sec

      4) Restart Tomcat server and got log below:

      2014-10-23 18:47:04,610 INFO  [com.adobe.flashaccess.refimpl.packager.RefImplPackagerServer] Packager thread started. Thread: Thread[WatchedFolderPackagerThread,1,main]

      2014-10-23 18:47:04,719 FATAL [com.adobe.flashaccess.refimpl.packager.RefImplPackagerServer] Error reading server properties

      java.lang.IllegalArgumentException: Filename and password required to load Signing Credential

              at com.adobe.flashaccess.core.cert.ServerCredentialImpl.<init>(ServerCredentialImpl.java:92)

              at com.adobe.flashaccess.sdk.cert.ServerCredentialFactory.getServerCredential(ServerCredenti alFactory.java:90)

              at com.adobe.flashaccess.refimpl.util.ParamsReader.loadServerCredential(ParamsReader.java:15 5)

              at com.adobe.flashaccess.refimpl.util.ParamsReader.readPackagerSecurityParams(ParamsReader.j ava:636)

              at com.adobe.flashaccess.refimpl.util.ParamsReader.readPackagerParams(ParamsReader.java:624)

              at com.adobe.flashaccess.refimpl.packager.RefImplPackagerServer.packagerSetup(RefImplPackage rServer.java:115)

              at com.adobe.flashaccess.refimpl.packager.RefImplPackagerServer.run(RefImplPackagerServer.ja va:148)

              at java.lang.Thread.run(Unknown Source)

      2014-10-23 18:47:04,720 INFO  [com.adobe.flashaccess.refimpl.packager.RefImplPackagerServer] Exiting Packager thread.

       

      5) Try to curl http://10.4.80.21:8080/flashaccess-packager/articles

          Got error:

      <html><head><title>Apache Tomcat/6.0.18 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px; } H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px; } H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px; } BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>java.lang.UnsupportedOperationException: Only POST HTTP method applies for this service.

              com.adobe.flashaccess.refimpl.userinterface.UICommunicator.doGet(UICommunicator.java:1708 )

              javax.servlet.http.HttpServlet.service(HttpServlet.java:617)

              javax.servlet.http.HttpServlet.service(HttpServlet.java:717)