Details

      Description

      Make a cxf.endpoint.configuration.name configuration
      Export the configuration
      Delete the instance
      Add the exported config file to the osgi/configs folder
      Following Exception Occurs:

      21:24:31,326 WARN [CM Event Dispatcher (Fire ConfigurationEvent: pid=com.liferay.portal.remote.cxf.common.configuration.CXFEndpointPublisherConfiguration)][com_liferay_portal_remote_cxf_common:102] Invocation of 'start' failed.
      java.lang.ClassCastException: java.lang.String cannot be cast to [Ljava.lang.String;
      at com.liferay.portal.remote.cxf.common.CXFEndpointPublisher$ServicesRegistrator.start(CXFEndpointPublisher.java:195)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:497)
      at org.apache.felix.dm.InvocationUtil.invokeMethod(InvocationUtil.java:111)
      at org.apache.felix.dm.InvocationUtil.invokeCallbackMethod(InvocationUtil.java:66)
      at org.apache.felix.dm.impl.ComponentImpl.invokeCallbackMethod(ComponentImpl.java:769)
      at org.apache.felix.dm.impl.ComponentImpl.invoke(ComponentImpl.java:760)
      at org.apache.felix.dm.impl.ComponentImpl.bindService(ComponentImpl.java:705)
      at org.apache.felix.dm.impl.ComponentImpl.access$400(ComponentImpl.java:54)
      at org.apache.felix.dm.impl.ComponentImpl$7.run(ComponentImpl.java:202)
      at org.apache.felix.dm.impl.SerialExecutor.runTask(SerialExecutor.java:137)
      at org.apache.felix.dm.impl.SerialExecutor.runTasks(SerialExecutor.java:119)
      at org.apache.felix.dm.impl.SerialExecutor.execute(SerialExecutor.java:85)
      at org.apache.felix.dm.impl.ComponentImpl.calculateStateChanges(ComponentImpl.java:252)
      at org.apache.felix.dm.impl.ComponentImpl.start(ComponentImpl.java:440)
      at org.apache.felix.dm.DependencyManager.add(DependencyManager.java:167)
      at com.liferay.portal.remote.cxf.common.CXFEndpointPublisher.activate(CXFEndpointPublisher.java:99)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:497)
      at org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:222)
      at org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:37)
      at org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:615)
      at org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:499)
      at org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.java:295)
      at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:302)
      at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:113)
      at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:866)
      at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:833)
      at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:724)
      at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:399)
      at org.apache.felix.scr.impl.config.ConfigurableComponentHolder.configurationUpdated(ConfigurableComponentHolder.java:424)
      at org.apache.felix.scr.impl.config.ConfigurationSupport.configurationEvent(ConfigurationSupport.java:315)
      at org.apache.felix.cm.impl.ConfigurationManager$FireConfigurationEvent.sendEvent(ConfigurationManager.java:2046)
      at org.apache.felix.cm.impl.ConfigurationManager$FireConfigurationEvent.run(ConfigurationManager.java:2014)
      at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:143)
      at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:110)
      at java.lang.Thread.run(Thread.java:745)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ian.song Ian Song (Inactive)
              Reporter:
              dylan.rebelak Dylan Rebelak (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 16 weeks, 1 day ago

                  Packages

                  Version Package
                  7.0.0 CE GA1