Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Reorganized
    • Affects Version/s: 5.1.0
    • Fix Version/s: 5.1.1, 5.2.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      Liferay 5.1.0, Websphere 6.1

      Description

      The portal.properties file located in portal-impl.jar is not loaded because of the following exception:

      [21/07/08 15.25.10:796 PDT] 00000032 SystemOut O 15:25:10,531 ERROR [ContextLoader:220] Context initialization failed
      java.lang.ExceptionInInitializerError
      at java.lang.J9VMInternals.initialize(J9VMInternals.java:195)
      at com.liferay.portal.spring.context.PortalApplicationContext.loadBeanDefinitions(PortalApplicationContext.java:65)
      at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)
      ...
      Caused by: com.germinus.easyconf.ConfigurationNotFoundException: Error reading configuration for file:/C:/Program Files/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/iassvilCell01/liferay-portal-5_1_0_WAS601_war.ear/liferay-portal-5.1.0_WAS601.war/WEB-INF/lib/portal-impl.jar!/portal: The base properties file was not found
      at com.germinus.easyconf.ComponentConfiguration.getProperties(ComponentConfiguration.java:143)
      at com.liferay.portal.configuration.ConfigurationImpl.getComponentProperties(ConfigurationImpl.java:245)
      at com.liferay.portal.configuration.ConfigurationImpl.printSources(ConfigurationImpl.java:288)

      I guess the problem is that under Websphere the line

      URL url = classLoader.getResource(name + ".properties");

      #260 in com.liferay.portal.configuration.ConfigurationImpl returns "wsjar" instead of "jar" as the URL protocol.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: