shawn47 / oryx-editor

Automatically exported from code.google.com/p/oryx-editor
Other
0 stars 0 forks source link

Login not working; Editor not loading. #483

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. go to http://oryx-project.org/backend/poem/repository
2. Fill in my OpenID
3. Click on <login>

What is the expected output?
Being successfully logged into the editor. My personal models would show up.

What do you see instead?
1. The following error report appears in my browser at the URL:
http://oryx-project.org/backend/poem/login

____________
HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception

javax.servlet.ServletException: javax.servlet.ServletException: 
org.openid4java.consumer.ConsumerException: Authentication cannot continue: no 
discovery information provided.
    org.b3mn.poem.Dispatcher.dispatch(Unknown Source)
    org.b3mn.poem.Dispatcher.doPost(Unknown Source)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    org.b3mn.poem.security.filter.AuthenticationFilter.doFilter(Unknown Source)
root cause

javax.servlet.ServletException: org.openid4java.consumer.ConsumerException: 
Authentication cannot continue: no discovery information provided.
    org.b3mn.poem.handler.LoginHandler.authRequest(Unknown Source)
    org.b3mn.poem.handler.LoginHandler.doPost(Unknown Source)
    org.b3mn.poem.Dispatcher.dispatch(Unknown Source)
    org.b3mn.poem.Dispatcher.doPost(Unknown Source)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    org.b3mn.poem.security.filter.AuthenticationFilter.doFilter(Unknown Source)
root cause

org.openid4java.consumer.ConsumerException: Authentication cannot continue: no 
discovery information provided.
    org.openid4java.consumer.ConsumerManager.authenticate(ConsumerManager.java:998)
    org.openid4java.consumer.ConsumerManager.authenticate(ConsumerManager.java:967)
    org.b3mn.poem.handler.LoginHandler.authRequest(Unknown Source)
    org.b3mn.poem.handler.LoginHandler.doPost(Unknown Source)
    org.b3mn.poem.Dispatcher.dispatch(Unknown Source)
    org.b3mn.poem.Dispatcher.doPost(Unknown Source)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    org.b3mn.poem.security.filter.AuthenticationFilter.doFilter(Unknown Source)
note The full stack trace of the root cause is available in the Apache 
Tomcat/6.0.20 logs.

Apache Tomcat/6.0.20
____________

Please provide any additional information below.

I'm using:
Mac OSX 10.6.8
Safari 5.0.5
Firefox 5.0.1
Google Chrome 13 beta

Original issue reported on code.google.com by skoo...@gmail.com on 18 Jul 2011 at 4:45

Attachments:

GoogleCodeExporter commented 9 years ago
Hi guy, I met the same problem with you, do you find the root cause now?

Original comment by miy...@cloudshinee.com on 20 Aug 2011 at 9:27

GoogleCodeExporter commented 9 years ago
Hej, 

I tested it again and now it is up and running again.
I was able to login using Safari, Chrome and Firefox.

Unfortunately the ORYX project seems to come to an end. Development will not 
continue:

"In an effort to establish the BPM Academic Initiative as the central hub for 
teaching and research in business process management and to avoid redundant 
work, the Oryx online service will be discontinued from September 30, 2011.
As of September 1 you may not create or update any models, but view them.
Interested parties from academia and from research projects are invited to join 
the BPM Academic Initiative free of charge. More information can be found at 
http://bpt.hpi.uni-potsdam.de/BPMAcademicInitiative"

Greetings.

Original comment by skoo...@gmail.com on 20 Aug 2011 at 9:41

GoogleCodeExporter commented 9 years ago
Hi, I find the cause, it's the permission issue, add the following code to 
tomcat6/conf/catalina.policy file, then restart tomcat. Feel free to contact me.

// The permission granted to the oryx application
grant codeBase "file:${catalina.base}/webapps/oryx/-" {
        permission java.security.AllPermission;
};

// The permission granted to the backend application
grant codeBase "file:${catalina.base}/webapps/backend/-" {
        permission java.security.AllPermission;

Original comment by miy...@cloudshinee.com on 20 Aug 2011 at 9:48

GoogleCodeExporter commented 9 years ago
Hi, I have the same issue when running on localhost and I tried your solution. 
However, it is still not working. May I know whether you OpenId login is 
working in your localhost?
Thanks!!
Angela

Original comment by vqpthao3...@gmail.com on 29 Dec 2011 at 8:08

GoogleCodeExporter commented 9 years ago
did ypu find the issue?

Original comment by m.takes...@gmail.com on 15 Feb 2012 at 9:17

GoogleCodeExporter commented 9 years ago
Comment #3 is missing the closing curly bracket en semicolon. When you have the 
paths set up right you will encounter a return url error (index.jsp) whilst 
being redirected by the open id provider.

cheers,
M

Original comment by mart...@gangkast.nl on 20 Apr 2012 at 8:10

GoogleCodeExporter commented 9 years ago
I'm also facing the 404 error on /backend/index.jsp after redirect by open id 
provider. However if you want to use Oryx only in your local network with one 
user you can disable open id login by editing 
trunk/poem-jvm/src/java/org/b3mn/poem/security/filter/AuthenticationFilter.java

See attached file for details...

Original comment by Joachim....@googlemail.com on 25 Apr 2012 at 10:48

Attachments: