Details

    • Epic/Theme:
    • Fix Priority:
      5
    • Similar Issues:
      Show 5 results 

      Description

      NOTE
      This was resolved in my testing using liferay-fixpack-plugin-deployment-2-6012.zip.

      ISSUE

      I have created a hook with Servlet Filter. When I deploy the hook on the running system, everything works. But when I restart the server, a stack trace occurs upon startup.

      STEPS TO REPRODUCE
      The simple test will be just create a new hook with a servlet filter and deploy that in liferay 6.0 SP2 bundle. However, I've attached the client's hook to reproduce the issue.

      1) Start up liferay 6.0 sp2
      2) Deploy attached hook: test-hook.war
      3) Hook deploys normally
      4) Restart server.

        Activity

        Hide
        Igor Spasic added a comment -

        liferay-fixpack-plugin-deployment-2-6012.zip does NOT solve the problem. The exception still occurs during the glassfish startup.

        Show
        Igor Spasic added a comment - liferay-fixpack-plugin-deployment-2-6012.zip does NOT solve the problem. The exception still occurs during the glassfish startup.
        Hide
        Igor Spasic added a comment -

        This is Glassfish 3.0.1 issue. When I deploy test-hook on Glassfish 3.1.2.2 (the latest and recommended version), the initialization issue disappear:

        [#|2013-01-27T12:25:42.731+0000|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=1;_ThreadName=main;|12:25:42,731 INFO  [PluginPackageUtil:1081] Reading plug
        in package for test-hook
        |#]
        
        [#|2013-01-27T12:25:42.791+0000|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=1;_ThreadName=main;|12:25:42,791 INFO  [HookHotDeployListener:471] Registeri
        ng hook for test-hook
        |#]
        
        [#|2013-01-27T12:25:42.812+0000|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=1;_ThreadName=main;|The filter is init|#]
        
        [#|2013-01-27T12:25:42.823+0000|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=1;_ThreadName=main;|12:25:42,823 INFO  [HookHotDeployListener:908] Hook for
        test-hook is available for use
        
        Show
        Igor Spasic added a comment - This is Glassfish 3.0.1 issue. When I deploy test-hook on Glassfish 3.1.2.2 (the latest and recommended version), the initialization issue disappear: [#|2013-01-27T12:25:42.731+0000|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=1;_ThreadName=main;|12:25:42,731 INFO [PluginPackageUtil:1081] Reading plug in package for test-hook |#] [#|2013-01-27T12:25:42.791+0000|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=1;_ThreadName=main;|12:25:42,791 INFO [HookHotDeployListener:471] Registeri ng hook for test-hook |#] [#|2013-01-27T12:25:42.812+0000|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=1;_ThreadName=main;|The filter is init|#] [#|2013-01-27T12:25:42.823+0000|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=1;_ThreadName=main;|12:25:42,823 INFO [HookHotDeployListener:908] Hook for test-hook is available for use
        Hide
        Igor Spasic added a comment -

        I will close this issue as I was able to start and use liferay-portal-6.0.12 with test-hook, by using glassfish v3.1.2.2.

        Show
        Igor Spasic added a comment - I will close this issue as I was able to start and use liferay-portal-6.0.12 with test-hook , by using glassfish v3.1.2.2 .

          People

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

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 4 weeks, 5 days ago

              Development

                Structure Helper Panel