login problem 09-08-2012 Creator: Anonymous

Home Forums OpenPPM 2.0 Technical Suport (CLOSED – READ ONLY) login problem 09-08-2012 Creator: Anonymous

  • This topic contains 1 voice and has 0 replies.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #3506

    TalaiaOpenPPM
    Participant

    I installed openppm v2.0 and when i try to log  in the application, I had de message “You have entered invalid name and password” and after 3 tries i had “You have reached max attempts. Wait 3 minutes”
    The login and the password that i use admin/openppm

    Please I need help.

    Thanks

     

     

    -Joan Barceló (09-08-2012)

    Hi, thanks for install openppm v2.0

    Did you try to login with other users? It’s the same problem? Can you send us the .log file to joan.barcelo@gmail.com?

    Thanks!

     

     

    -Anonymous (09-08-2012)

    It’s the same problem with other users.

     

     

    -Anonymous (10-08-2012)

    Hi,

    Do you have any news about the login problem.

    Thanks for help.

     

     

    -Daniel Casas (10-08-2012)

    Hi,

    can you check if there is an error in catalina*.log ???

    If you see the error “java.lang.SecurityException: Unable to locate a login configuration” is because the application can’t find the “jaas.config” file.

    Check the “Step 7” of “OpenPPM 2.0 Installation Guide”.

     

     

    -Anonymous (10-08-2012)

    Hi,

    I did exactly what is in the Installation Guide and i don’t have the error “java.lang.SecurityException: Unable to locate a login configuration” in the catalina*.log file.

    Thanks you!

     

     

    -Joan Barceló (14-08-2012)

    Hi, can you send us the catalina*.log file and a select from the security table?

    Thanks!

     

     

    -Daniel Casas (16-08-2012)

    Hi,

    If you have installed Apache Tomcat as a windows service, you must configure the “jaas.config” in Apache Tomcat 6.0 Properties dialog -> “Java” tab -> “Java Options” sections, and include the text:

    -Djava.security.auth.login.config=C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\jaas.config

    (chek if your path it’s the same)

    Please, try this and let us know if it works.

    Thanks!

     

     

    -Thang Le (12-02-2013)

    Thanks Danicasas,

    I had install Apache Tomcat as a windows service and configure the “jaas.config” in  Apache Tomcat 6.0 Properties dialog -> “Java” tab -> “Java Options” sections, and include the text:

    -Djava.security.auth.login.config=C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\jaas.config

    OpenPPM have not message “You have entered invalid name and password”.

    But now OpenPPM have a new message “You are not authorized in this section of the application. Please contact the administrator.”

    Can you help me ?

    Thanks and Regards.

    Thang.Le

     

     

    -Daniel Casas (11-02-2013)

    Hi,

    can you send us the log files? Which user you use to log in ?

    Thanks,

     

     

    -Thang Le (12-03-2013)

    Thanks Danicasas,

    I found a problem about data content in table Employee,  not have some of value in fields as idProfile, idContact, idPerfOrg.
    I filled some of value manual  and it’s launched.

    But now i still have a problem when click New button for create new Project in menu Projects.

    I setting and configuration  by Apache Tomcat  7.0, Java Jre 1.7.0.11 and MySQL 5.1.66.

    I think that version of Tomcat not relate to this error so maybe my database when manual create tables because ran 2 script files in source code not completed.

    Please help me, if you can send to me a file dump all of database sample for me to re-export or rebuild database standard ?

    Thanks and Regards.

    Thang.Le

     

     

    -Daniel Casas (12-02-2013)

    Hi,

    can you run the 2 script files of openppm v.2 ? Can you send us the errors when you run these scripts ?

    Also send us an email address and we send you other script files.

    Thanks,

     

     

    -Thang Le (13-02-2013)

    Hi

    I tried running the script file openppm_v2.0.sql by MySQL Workbench > Server Administration > Manage Import/Export > Data Import/Restore and Option Import from Self-Contained File, in a way that is not faulty then I have to run the script openppm_v2.0_data.sql no longer fails.

    But I still can not create New Project on the Projects menu.

    My email address is thang.letoan2007@gmail.com, Please help me find the error that

    I brief log of Openppm.log :

    22:40:28,431  INFO SettingUtil:78 – Setting: setting.last_level_for_approve_sheet Value: 7
    22:40:33,913  INFO SettingUtil:78 – Setting: setting.last_level_for_approve_sheet Value: 7
    22:40:33,913 ERROR AbstractGenericServlet:192 – error
    org.apache.jasper.JasperException: org.apache.jasper.JasperException: javax.el.ELException: Cannot convert P of type class java.lang.String to class java.lang.Long
    at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:549)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:455)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
    at es.sm2.openppm.servlets.AbstractGenericServlet.forward(AbstractGenericServlet.java:189)
    at es.sm2.openppm.servlets.ProjectServlet.viewCreateProjectForm(ProjectServlet.java:998)
    at es.sm2.openppm.servlets.ProjectServlet.service(ProjectServlet.java:162)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at es.sm2.openppm.filters.LanguageFilter.doFilter(LanguageFilter.java:48)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at es.sm2.openppm.filters.CharsetFilter.doFilter(CharsetFilter.java:56)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
    at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1822)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:722)
    Caused by: org.apache.jasper.JasperException: javax.el.ELException: Cannot convert P of type class java.lang.String to class java.lang.Long
    at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:549)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:470)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
    at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:954)
    at org.apache.jsp.jsp.index_jsp._jspService(index_jsp.java:1229)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
    … 35 more
    Caused by: javax.el.ELException: Cannot convert P of type class java.lang.String to class java.lang.Long
    at org.apache.el.lang.ELSupport.coerceToNumber(ELSupport.java:304)
    at org.apache.el.lang.ELSupport.coerceToNumber(ELSupport.java:283)
    at org.apache.el.lang.ELSupport.equals(ELSupport.java:144)
    at org.apache.el.parser.AstEqual.getValue(AstEqual.java:40)
    at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:185)
    at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:1026)
    at org.apache.jsp.jsp.project.new_005fproject_jsp._jspService(new_005fproject_jsp.java:200)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
    … 48 more

    Thanks and Regards

    Thang.Le

     

     

    -Thang Le (14-02-2013)

    Thanks Danicasas,

    I try to install the Apache Tomcat version 6.0.35 and deploy opennpm again, it’s work !

    Thanks so much.

    Thang.Le

     

     

    -Javier (25-05-2013)

    The installation manual for OpenPPM has a mistake
    The content of setenv.sh file should be:

    JAVA_OPTS=”$JAVA_OPTS -Djava.security.auth.login.config=$CATALINA_HOME/conf/jaas.config”

    Regards
    Javier

     

     

    -Joan Barceló (25-05-2013)

    Thanks Javier!

    Linux: JAVA_OPTS=”$JAVA_OPTS -Djava.security.auth.login.config=$CATALINA_HOME/conf/jaas.config”

    Windows: JAVA_OPTS=”%JAVA_OPTS% -Djava.security.auth.login.config=%CATALINA_HOME%/conf/jaas.config”

     

     

    -Jan (04-09-2013)

    Hi all,
    so I am having the same problem like Thang Le had: I cannot create a project. The output from the logfile is the same.
    Is switching the tomcat versions, the only possible solution?
    Regards
    Jan

     

     

    -Joan Barceló (11-09-2013)

    Hi Jan,

    If you have installed Apache Tomcat as a windows service, you must configure the “jaas.config” in Apache Tomcat Properties dialog -> “Java” tab -> “Java Options” sections, and include the text:
    -Djava.security.auth.login.config=C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\jaas.config
    (check if your path is the same)

    Please, make sure that you have installed Tomcat 6.0.35. You can download it from: http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.35/bin/

    Kind Regards!
    Joan

     

     

    -Seref (12-12-2013)

    Hello,
    i also have the same problem , “You have entered invalid name and password.”
    i had installed the Tomcat 7.0 as a windows service
    in my catalina.log file , it gives the below error message , can you please help..

    Ara 12, 2013 12:34:35 PM org.apache.catalina.realm.JAASRealm authenticate
    SEVERE: Unexpected error
    javax.security.auth.login.LoginException: No LoginModules configured for OpenPPMWeb
    at javax.security.auth.login.LoginContext.init(Unknown Source)
    at javax.security.auth.login.LoginContext.<init>(Unknown Source)
    at org.apache.catalina.realm.JAASRealm.authenticate(JAASRealm.java:417)
    at org.apache.catalina.realm.JAASRealm.authenticate(JAASRealm.java:356)
    at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:296)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:450)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

     

     

     

     

     

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.