Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-25230

Websphere 7 can't start due to exceptions (on Windows)

    Details

      Description

      Portal throws exception on startup:

      [1/31/12 15:08:48:524 CET] 00000009 SystemOut     O 15:08:48,521 DEBUG [ClassPathUtil:96] Build class path from bundleresource://604/javax/servlet/ServletException.class
      [1/31/12 15:08:48:526 CET] 00000009 SystemOut     O 15:08:48,525 DEBUG [ClassPathUtil:124] Decoded path: file:C:\WebSphere\AppServer\plugins\javax.j2ee.jsp.jar!/javax/servlet/ServletException.class
      [1/31/12 15:08:48:639 CET] 00000009 FfdcProvider  I com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\WebSphere\AppServer\profiles\AppSrv01\logs\ffdc\server1_efc0efc_12.01.31_15.08.48.53752932.txt com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated 1341
      [1/31/12 15:08:48:653 CET] 00000009 webapp        E com.ibm.ws.webcontainer.webapp.WebApp notifyServletContextCreated SRVE0283E: Exception caught while initializing context: {0}
                                       java.lang.StringIndexOutOfBoundsException
      	at java.lang.String.substring(String.java:1092)
      	at com.liferay.portal.kernel.process.ClassPathUtil._buildClassPath(ClassPathUtil.java:189)
      ...
      

      The problem is that decoded path contains backslashes in the path.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sophia.zhang Sophia Zhang
              Reporter:
              igor.spasic Igor Spasic (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 27 weeks, 2 days ago

                  Packages

                  Version Package
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  6.2.0 CE M2