Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6192079
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T02:52:54+00:00 2026-05-24T02:52:54+00:00

I developed a simple demo web application using JSF2.0 and hibernate. This webapp use

  • 0

I developed a simple demo web application using JSF2.0 and hibernate. This webapp use IBM FileNet 4.5.1 to store and retrieve the uploaded files.
If I deploy this webapp on JBoss 6.0, everything works fine. But a customer ask me to deploy it on a JBoss 4.2.3 for evaluating… and it doesn’t work. When I try to access IBM Filenet I receive an error… here’s the stack trace:

17:32:47,353 INFO  [STDOUT] 17:32:47,353 DEBUG JaasConfiguration:60 - Default JAAS Configuration: 
HttpCredentials {
    com.idoox.security.jaas.HttpLoginModule required;
}

FileNetP8Engine {
    com.filenet.api.authentication.jboss.login.FnClientLoginModule required;
}

FCLMStackingHelper {
    org.jboss.security.ClientLoginModule required;
}

NameMapping {
    com.idoox.security.jaas.NameLoginModuleNoAuth required;
}

Credentials {
    com.idoox.security.jaas.GSSLoginModule required;
}

KrbCredentials {
    com.sun.security.auth.module.Krb5LoginModule required;
}

NamePasswordAN {
    com.idoox.security.jaas.NamePasswordLoginModule required;
}

CertsMapping {
    com.idoox.security.jaas.CertsLoginModule required;
}

CachedKrbCredentials {
    com.sun.security.auth.module.Krb5LoginModule required;
}

NamePasswordNoAN {
    com.idoox.security.jaas.NamePasswordLoginModuleNoAuth required;
}

FileNetP8WSI {
    com.filenet.api.util.WSILoginModule required;
}

FileNetP8 {
    com.filenet.api.authentication.jboss.login.FnClientLoginModule required;
}

ReceivedCredentials {
    com.idoox.security.jaas.GSSLoginModuleNoAuth required;
}

FileNetP8Server {
    com.filenet.api.authentication.jboss.login.FnClientLoginModule required;
}

HttpRequest {
    com.idoox.security.jaas.SmLoginModule required;
}

FileNetP8KerberosService {
    com.filenet.api.authentication.jboss.login.FnClientLoginModule required;
}

NameDigestAN {
    com.idoox.security.jaas.NameDigestLoginModule required;
}

17:32:47,355 INFO  [STDOUT] 17:32:47,355 DEBUG JaasConfiguration:206 - Configured JAAS entry found (Default not used) for: 'FileNetP8WSI'     org.jboss.security.auth.spi.UsersRolesLoginModule required;
17:32:47,367 ERROR [UsersRolesLoginModule] Failed to load users/passwords/role files
java.io.IOException: No properties file: users.properties or defaults: defaultUsers.properties found
    at org.jboss.security.auth.spi.Util.loadProperties(Util.java:315)
    at org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:186)
    at org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers(UsersRolesLoginModule.java:200)
    at org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:127)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at javax.security.auth.login.LoginContext.invoke(LoginContext.java:756)
    at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
    at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
    at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
    at com.filenet.apiimpl.core.UserPasswordToken.getSubject(UserPasswordToken.java:112)
    at com.filenet.api.util.UserContext.createSubject(UserContext.java:240)
    at alekso.filenet.ce.CEConnection.establishConnection(CEConnection.java:59)
    at alekso.filenet.ce.WSIConnector.GetDocument(WSIConnector.java:89)
    at Alekso.BasDemo.DAL.FileNetProxy.retrieveFile(FileNetProxy.java:43)
    at Alekso.BasDemo.Servlet.DownloadServlet.doDownload(DownloadServlet.java:67)
    at Alekso.BasDemo.Servlet.DownloadServlet.doGet(DownloadServlet.java:42)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
    at java.lang.Thread.run(Thread.java:595)
17:32:47,417 INFO  [STDOUT] 17:32:47,416 DEBUG EngineRuntimeException:207 - com.filenet.api.exception.EngineRuntimeException: E_NOT_AUTHENTICATED: The user is not authenticated.
    at com.filenet.apiimpl.core.UserPasswordToken.getSubject(UserPasswordToken.java:127)
    at com.filenet.api.util.UserContext.createSubject(UserContext.java:240)
    at alekso.filenet.ce.CEConnection.establishConnection(CEConnection.java:59)
    at alekso.filenet.ce.WSIConnector.GetDocument(WSIConnector.java:89)
    at Alekso.BasDemo.DAL.FileNetProxy.retrieveFile(FileNetProxy.java:43)
    at Alekso.BasDemo.Servlet.DownloadServlet.doDownload(DownloadServlet.java:67)
    at Alekso.BasDemo.Servlet.DownloadServlet.doGet(DownloadServlet.java:42)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
    at java.lang.Thread.run(Thread.java:595)
Caused by: javax.security.auth.login.LoginException: Missing users.properties file.
    at org.jboss.security.auth.spi.UsersRolesLoginModule.login(UsersRolesLoginModule.java:148)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
    at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
    at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
    at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
    at com.filenet.apiimpl.core.UserPasswordToken.getSubject(UserPasswordToken.java:112)
    ... 26 more
17:32:47,421 INFO  [STDOUT] 17:32:47,419 ERROR WSIConnector:100 - Errore nel documento con id {BDFCA4F2-B8C7-44EA-9481-4628C26A9DD5}
com.filenet.api.exception.EngineRuntimeException: E_NOT_AUTHENTICATED: The user is not authenticated.
    at com.filenet.apiimpl.core.UserPasswordToken.getSubject(UserPasswordToken.java:127)
    at com.filenet.api.util.UserContext.createSubject(UserContext.java:240)
    at alekso.filenet.ce.CEConnection.establishConnection(CEConnection.java:59)
    at alekso.filenet.ce.WSIConnector.GetDocument(WSIConnector.java:89)
    at Alekso.BasDemo.DAL.FileNetProxy.retrieveFile(FileNetProxy.java:43)
    at Alekso.BasDemo.Servlet.DownloadServlet.doDownload(DownloadServlet.java:67)
    at Alekso.BasDemo.Servlet.DownloadServlet.doGet(DownloadServlet.java:42)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
    at java.lang.Thread.run(Thread.java:595)
Caused by: javax.security.auth.login.LoginException: Missing users.properties file.
    at org.jboss.security.auth.spi.UsersRolesLoginModule.login(UsersRolesLoginModule.java:148)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
    at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
    at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
    at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
    at com.filenet.apiimpl.core.UserPasswordToken.getSubject(UserPasswordToken.java:112)
    ... 26 more
17:32:47,421 INFO  [STDOUT] 17:32:47,421 ERROR DownloadServlet:89 - Impossibile recuperare il file allegato
com.filenet.api.exception.EngineRuntimeException: E_NOT_AUTHENTICATED: The user is not authenticated.
    at com.filenet.apiimpl.core.UserPasswordToken.getSubject(UserPasswordToken.java:127)
    at com.filenet.api.util.UserContext.createSubject(UserContext.java:240)
    at alekso.filenet.ce.CEConnection.establishConnection(CEConnection.java:59)
    at alekso.filenet.ce.WSIConnector.GetDocument(WSIConnector.java:89)
    at Alekso.BasDemo.DAL.FileNetProxy.retrieveFile(FileNetProxy.java:43)
    at Alekso.BasDemo.Servlet.DownloadServlet.doDownload(DownloadServlet.java:67)
    at Alekso.BasDemo.Servlet.DownloadServlet.doGet(DownloadServlet.java:42)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
    at java.lang.Thread.run(Thread.java:595)
Caused by: javax.security.auth.login.LoginException: Missing users.properties file.
    at org.jboss.security.auth.spi.UsersRolesLoginModule.login(UsersRolesLoginModule.java:148)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
    at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
    at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
    at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
    at com.filenet.apiimpl.core.UserPasswordToken.getSubject(UserPasswordToken.java:112)
    ... 26 more

Can somebody suggest a solution?
The stack trace talk about a users.properties file, but I don’t have it neither in JBoss 6.0. And if I really need to create one in order to let JBoss 4.2.3 works, what should I put inside? I configure the connection against FileNet in my code, reading the parameter from elsewhere… what’s the difference between jboss 4.2.3 and jboss 6.0 that’s causing me these troubles?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T02:52:55+00:00Added an answer on May 24, 2026 at 2:52 am

    Solved!
    It was a stupid mistake.
    In the file login-config.xml you need to add this

    <application-policy name="FileNetP8WSI">
        <authentication>
            <login-module code="com.filenet.api.util.WSILoginModule" flag="required"/>
        </authentication>
    </application-policy>
    

    in order for the communication with Filenet to work.
    I mispelled it, that’s why it didn’t work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have developed a simple library in Ruby and need to use this in
I developed a simple .net application that scrapes some data from web and saves
I have developed a simple Silverlight control. I created this by using the Silverlight
I am using java and the purpose of my demo application is simple: Update
I developed a simple PHP web page using Dream Weaver CS5 Version 11.0 Build
I have developed a simple django application using sqlite3. At first, I wanted to
I developed one simple android application targeting the Mobiles with android 2.0 OS.I want
I have developed a simple location aware iPhone application which is functionally working very
i developed a very simple vb.net application and i need a way for every
I've developed a very simple host and client which I wanted to use to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.