Bug 698944

Summary: Authentication issue when running from source
Product: [Community] PressGang CCMS Reporter: Joshua Wulf <jwulf>
Component: Web-UIAssignee: Matthew Casperson <mcaspers>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.xCC: cbredesen, lcarlon, topic-tool-list
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-28 22:21:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Joshua Wulf 2011-04-22 11:38:35 UTC
Description of problem:
On a checked out copy of svn, running from JBDS 4

I get the following error when I try to log in to the web app:

2011-04-22 21:30:59,647 WARN  [org.jboss.seam.security.jaas.SeamLoginModule] (http-localhost%2F127.0.0.1-8080-2) Error invoking login method
javax.el.PropertyNotFoundException: Target Unreachable, identifier 'authenticator' resolved to null
	
The Authenticator.java class is in the source, but maybe some other piece is missing?


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Check out svn copy locally
2. Modify Topicize-ds.xml to point to local server
3. Import Database dump to local server
4. Right click TopicIndex and choose Run As... and deploy to local EAP 5.1 server
5. Go to 127.0.0.1:8080/TopicIndex
6. Attempt to log in with any auth details
  
Actual results:
Server throws: 
WARN  [org.jboss.seam.security.jaas.SeamLoginModule] (http-localhost%2F127.0.0.1-8080-2) Error invoking login method
javax.el.PropertyNotFoundException: Target Unreachable, identifier 'authenticator' resolved to null

Expected results:
Log in

Additional info:

Comment 1 Joshua Wulf 2011-04-28 22:19:56 UTC
Right-click on TopicIndex (the root of the project).
Choose Properties
Click on the Libraries tab
Select the JRE entry
Click edit
Change from Alternate JRE to Workspace Default

Comment 2 Joshua Wulf 2011-04-28 22:21:29 UTC
This fixes it.

Comment 3 Joshua Wulf 2011-04-28 22:40:42 UTC
Right-click on TopicIndex (the root of the project).
Choose Properties
Click on Java Build Path
Click on the Libraries tab
Select the JRE entry
Click edit
Change from Alternate JRE to Workspace Default