Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1096193

Summary: Exception when accessing sample-portal extension
Product: [JBoss] JBoss Enterprise Portal Platform 6 Reporter: Filip Kiss <fkiss>
Component: QuickstartsAssignee: Peter Palaga <ppalaga>
Status: CLOSED UPSTREAM QA Contact: Tomas Kyjovsky <tkyjovsk>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: tkyjovsk
Target Milestone: ER04   
Target Release: 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 03:35:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
stack trace none

Description Filip Kiss 2014-05-09 12:00:07 UTC
Description of problem:
When accessing http://localhost:8080/sample-portal/, there is exception thrown in server.log file:

JBWEB000236: Servlet.service() for servlet jsp threw exception: org.apache.jasper.JasperException: JBWEB004062: Unable to compile class for JSP

Comment 2 Peter Palaga 2014-05-16 15:07:30 UTC
I saw a somewhat different exception in my log, which i fixed by https://github.com/jboss-developer/jboss-portal-quickstarts/commit/941d6724321d8017035aa818abf9255ea8504618 (which is a fix for Bug 1096192 too).

Comment 3 Filip Kiss 2014-06-13 07:48:10 UTC
Verified on JPP 6.2.0.ER03 + ER03 QS.

Comment 4 Tomas Kyjovsky 2014-06-17 12:33:14 UTC
I was still able to reproduce this issue in 6.2.0.ER3.

However there is a workaround: run portal-setup.sh to set root password before starting the portal.

Comment 5 Tomas Kyjovsky 2014-06-17 12:34:35 UTC
Created attachment 909581 [details]
stack trace

Attaching a full stack trace.

Cannot make a static reference to the non-static method isSetup(String) from the type PortalSetupService
28: <%@ page import="java.util.ResourceBundle"%>
29: <%
30: 
31:   if (PortalSetupService.isSetup(request.getContextPath().substring(1))) {
32:       response.sendRedirect(request.getContextPath());
33:   }
34:

Comment 6 Peter Palaga 2014-06-18 07:43:17 UTC
OK, now I understand that this happens only if admin password has not been initialized yet. I normally set the password in my portal start script and I therefore could not see the issue.

Comment 8 Filip Kiss 2014-07-02 10:30:14 UTC
Verified in ER04.

Comment 10 PnT Account Manager 2017-12-08 15:06:39 UTC
Employee 'fkiss' has left the company.

Comment 12 Red Hat Bugzilla 2025-02-10 03:35:48 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.