Xpages in notes client error

My Notes Client version is 8.5.1.Every time I want to open xPages in Notes client i get next error message:

500 Exception

com.ibm.xsp.FacesExceptionEx: Invalid context factory.

Invalid context factory.

I did clean install (restoring only names.nsf and desktop settings) but results are same.

Do someone have any idea?

Thank You

Subject: Are you seeing this with all XPages or just one particular db? Kind Regards, Edel

Subject: with all xPages

Unforunately it happens with all xPages. With selfmade xPages and xPages downloaded from openNTF. In my Domino Server everything is working fine and in computers of my coworkers also everything is fine.

And I did clean install (after uninstall I deleted all direcrories manually). Only two things I restored are names.nsf and desktop8.ndk.

Regards

Marko

Subject: This is unusal…

As everyone else’s is working fine it may be something to do with the setup on your machine. I’m not sure what the issue is here. The best thing to do would be to create a PMR for this issue. Support may be able to drill down through the issue which may or may not be XPages related.

Kind Regards,

Edel

Subject: You’re not the only one

I started playing around with xPages on my 8.5.1 client on the way home from Lotusphere and it’s happening for me also. The error is:

com.ibm.xsp.FacesExceptionEx: Invalid context factory.

I’ll keep working on it and will post back here when I find the resolution.

Subject: there is more of us

I have exactly the same issue, have you resolved it already?

Subject: A couple of questions…

Doing a clean install should get rid of the error.I’m trying to reproduce this here. It may be happening when some files are not being removed from previous installs.

Can you tell me are you updating from 8.5 to 8.5.1 and if you are uninstalling first or using the update installer, or installing over a previous install?

Can you let me know if any files were left in the framework folder after uninstalling?

Also can you add the full stack trace you are seeing and any information from the Trace log. (Help, Support, View Trace)

Kind Regards,

Edel

Subject: A couple of answers

This happens on clean install of 8.5.1 Notes client.

Full stack trace:

javax.servlet.ServletException: com.ibm.xsp.FacesExceptionEx: Invalid context factory.

com.ibm.xsp.webapp.FacesServlet.init(Unknown Source)

com.ibm.xsp.webapp.FacesServletEx.init(Unknown Source)

com.ibm.xsp.webapp.DesignerFacesServlet.init(Unknown Source)

com.ibm.designer.runtime.domino.adapter.ComponentModule.createServlet(Unknown Source)

com.ibm.designer.runtime.domino.adapter.ComponentModule.createServlet(Unknown Source)

com.ibm.domino.xsp.module.nsf.NSFComponentModule.getXspEngineServlet(Unknown Source)

com.ibm.domino.xsp.module.nsf.NSFComponentModule.getServlet(Unknown Source)

com.ibm.designer.runtime.domino.adapter.ComponentModule$ServletInvoker.doService(Unknown Source)

com.ibm.designer.runtime.domino.adapter.ComponentModule.doService(Unknown Source)

com.ibm.domino.xsp.module.nsf.NSFComponentModule.doService(Unknown Source)

com.ibm.domino.xsp.module.nsf.NSFService.doService(Unknown Source)

com.ibm.designer.runtime.domino.adapter.LCDEnvironment.doService(Unknown Source)

com.ibm.designer.runtime.domino.adapter.LCDEnvironment.service(Unknown Source)

com.ibm.domino.xsp.bridge.websrv.servlets.DispatcherServlet.service(Unknown Source)

org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(Unknown Source)

org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(Unknown Source)

org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(Unknown Source)

org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(Unknown Source)

javax.servlet.http.HttpServlet.service(Unknown Source)

com.ibm.pvc.webhttpservice.BridgeServlet.service(Unknown Source)

com.ibm.ws.webcontainer.servlet.ServletWrapper.service(Unknown Source)

com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Unknown Source)

com.ibm.pvc.internal.webcontainer.servlet.ServletWrapper.handleRequest(Unknown Source)

com.ibm.pvc.internal.webcontainer.servlet.ServletWrapper.handleRequest(Unknown Source)

com.ibm.pvc.internal.webcontainer.webapp.BundleWebApp.handleRequest(Unknown Source)

com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(Unknown Source)

com.ibm.pvc.internal.webcontainer.VirtualHost.handleRequest(Unknown Source)

com.ibm.ws.webcontainer.WebContainer.handleRequest(Unknown Source)

com.ibm.wsspi.webcontainer.WebContainer.handleRequest(Unknown Source)

com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(Unknown Source)

com.ibm.ws.http.HttpConnection.readAndHandleRequest(Unknown Source)

com.ibm.ws.http.HttpConnection.run(Unknown Source)

com.ibm.ws.util.ThreadPool$Worker.run(Unknown Source)

com.ibm.xsp.FacesExceptionEx: com.ibm.xsp.FacesExceptionEx: Invalid context factory.

com.ibm.xsp.webapp.FacesServlet.createFacesController(Unknown Source)

com.ibm.xsp.webapp.DesignerFacesServlet.getContextFacesController(Unknown Source)

com.ibm.xsp.webapp.FacesServlet.getFacesController(Unknown Source)

com.ibm.xsp.webapp.FacesServlet.init(Unknown Source)

com.ibm.xsp.webapp.FacesServletEx.init(Unknown Source)

com.ibm.xsp.webapp.DesignerFacesServlet.init(Unknown Source)

com.ibm.designer.runtime.domino.adapter.ComponentModule.createServlet(Unknown Source)

com.ibm.designer.runtime.domino.adapter.ComponentModule.createServlet(Unknown Source)

com.ibm.domino.xsp.module.nsf.NSFComponentModule.getXspEngineServlet(Unknown Source)

com.ibm.domino.xsp.module.nsf.NSFComponentModule.getServlet(Unknown Source)

com.ibm.designer.runtime.domino.adapter.ComponentModule$ServletInvoker.doService(Unknown Source)

com.ibm.designer.runtime.domino.adapter.ComponentModule.doService(Unknown Source)

com.ibm.domino.xsp.module.nsf.NSFComponentModule.doService(Unknown Source)

com.ibm.domino.xsp.module.nsf.NSFService.doService(Unknown Source)

com.ibm.designer.runtime.domino.adapter.LCDEnvironment.doService(Unknown Source)

com.ibm.designer.runtime.domino.adapter.LCDEnvironment.service(Unknown Source)

com.ibm.domino.xsp.bridge.websrv.servlets.DispatcherServlet.service(Unknown Source)

org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(Unknown Source)

org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(Unknown Source)

org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(Unknown Source)

org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(Unknown Source)

javax.servlet.http.HttpServlet.service(Unknown Source)

com.ibm.pvc.webhttpservice.BridgeServlet.service(Unknown Source)

com.ibm.ws.webcontainer.servlet.ServletWrapper.service(Unknown Source)

com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Unknown Source)

com.ibm.pvc.internal.webcontainer.servlet.ServletWrapper.handleRequest(Unknown Source)

com.ibm.pvc.internal.webcontainer.servlet.ServletWrapper.handleRequest(Unknown Source)

com.ibm.pvc.internal.webcontainer.webapp.BundleWebApp.handleRequest(Unknown Source)

com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(Unknown Source)

com.ibm.pvc.internal.webcontainer.VirtualHost.handleRequest(Unknown Source)

com.ibm.ws.webcontainer.WebContainer.handleRequest(Unknown Source)

com.ibm.wsspi.webcontainer.WebContainer.handleRequest(Unknown Source)

com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(Unknown Source)

com.ibm.ws.http.HttpConnection.readAndHandleRequest(Unknown Source)

com.ibm.ws.http.HttpConnection.run(Unknown Source)

com.ibm.ws.util.ThreadPool$Worker.run(Unknown Source)

com.ibm.xsp.FacesExceptionEx: Invalid context factory.

com.ibm.xsp.controller.FacesControllerImpl.init(Unknown Source)

com.ibm.xsp.controller.DesignerFacesController.init(Unknown Source)

com.ibm.xsp.webapp.FacesServlet.initializeFacesController(Unknown Source)

com.ibm.xsp.webapp.FacesServlet.createFacesController(Unknown Source)

com.ibm.xsp.webapp.DesignerFacesServlet.getContextFacesController(Unknown Source)

com.ibm.xsp.webapp.FacesServlet.getFacesController(Unknown Source)

com.ibm.xsp.webapp.FacesServlet.init(Unknown Source)

com.ibm.xsp.webapp.FacesServletEx.init(Unknown Source)

com.ibm.xsp.webapp.DesignerFacesServlet.init(Unknown Source)

com.ibm.designer.runtime.domino.adapter.ComponentModule.createServlet(Unknown Source)

com.ibm.designer.runtime.domino.adapter.ComponentModule.createServlet(Unknown Source)

com.ibm.domino.xsp.module.nsf.NSFComponentModule.getXspEngineServlet(Unknown Source)

com.ibm.domino.xsp.module.nsf.NSFComponentModule.getServlet(Unknown Source)

com.ibm.designer.runtime.domino.adapter.ComponentModule$ServletInvoker.doService(Unknown Source)

com.ibm.designer.runtime.domino.adapter.ComponentModule.doService(Unknown Source)

com.ibm.domino.xsp.module.nsf.NSFComponentModule.doService(Unknown Source)

com.ibm.domino.xsp.module.nsf.NSFService.doService(Unknown Source)

com.ibm.designer.runtime.domino.adapter.LCDEnvironment.doService(Unknown Source)

com.ibm.designer.runtime.domino.adapter.LCDEnvironment.service(Unknown Source)

com.ibm.domino.xsp.bridge.websrv.servlets.DispatcherServlet.service(Unknown Source)

org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(Unknown Source)

org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(Unknown Source)

org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(Unknown Source)

org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(Unknown Source)

javax.servlet.http.HttpServlet.service(Unknown Source)

com.ibm.pvc.webhttpservice.BridgeServlet.service(Unknown Source)

com.ibm.ws.webcontainer.servlet.ServletWrapper.service(Unknown Source)

com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Unknown Source)

com.ibm.pvc.internal.webcontainer.servlet.ServletWrapper.handleRequest(Unknown Source)

com.ibm.pvc.internal.webcontainer.servlet.ServletWrapper.handleRequest(Unknown Source)

com.ibm.pvc.internal.webcontainer.webapp.BundleWebApp.handleRequest(Unknown Source)

com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(Unknown Source)

com.ibm.pvc.internal.webcontainer.VirtualHost.handleRequest(Unknown Source)

com.ibm.ws.webcontainer.WebContainer.handleRequest(Unknown Source)

com.ibm.wsspi.webcontainer.WebContainer.handleRequest(Unknown Source)

com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(Unknown Source)

com.ibm.ws.http.HttpConnection.readAndHandleRequest(Unknown Source)

com.ibm.ws.http.HttpConnection.run(Unknown Source)

com.ibm.ws.util.ThreadPool$Worker.run(Unknown Source)

Subject: A couple more questions?

Hi,

Did re-installing get rid of the error?

When you did a clean install, did you previously have a Notes build installed on the machine? If so did you install into the same or a different folder?

If Notes was previously installed what Version of notes was installed?

What OS are you installing on?

What type of install are you doing? ie, Notes only, All client, Multi-user?

Thanks in advance,

Edel

Subject: GOT AN ANSWER!

I found that this error is related to third-party java library commons-logging.jar. I am using this library as part of one of my applications and this library is in “Lotus\Notes\jvm\lib\ext” directory.

If i remove it then xPages are workin fine. There is some kind of conflict between xPages java and this library.

Marko

Subject: Thanks!

Marko, thanks for your reply!

Also solved my problems of XPages (local/server) not working in the client.

Subject: That fixed it for me too!

Thank you SO much for sharing that. I had an old commons logging file sitting out there due to some axis work I did quite a while ago. It was just getting carried forward across upgrades. Cleaned it up, restarted notes, and all is well with xPages in my client.

Cheers!

Jim

Subject: Great!

It solved my problem too.Thanks

Subject: Not in my case :frowning:

I also found some old commons and axis jars, but also after removing these files i get the same error.

Subject: THANKS!

Thanks, i remove commons-logging-1.1.jar

Subject: Yes, it worked, but is this something needs to be fixed by IBM?

I came across the same problem. Getting rid of common-logging.jar worked.

But we might need to import some jar files in the future which also use common-logging.jar, it could be a problem in the case though.

Is this something could be done by IBM?