Unable to open xpage on localhost browser

Just installed Notes 8.5.2 developer client on laptop.

Xpages can be opened in the Notes client but not in a browser. I have tried Firefox, IE, and Chrome but receive a HTTP500 error whatever page is attempted. No further details are provided even when the xpages runtime error page is enabled for the application.

Client log reports 1 error -

14/12/2010 11:19:14 HTTP Web Server: Command Not Handled Exception [/log.nsf/test.xsp] Anonymous

The xpage can be as simple as one piece of text - no controls or javascript.

It is possible to preview non x-pages (i.e. view) from the same database in the browser. Client log reports a long list of errors -

14/12/2010 10:53:58 HTTP Server: Domino Web Administrator not created: template webadmin.ntf not found

14/12/2010 10:53:58 HTTP Web Server: Activity logging failed to initialize because: Entry not found in index

14/12/2010 10:53:58 HTTP JVM: java.io.FileNotFoundException: c:\Program Files (x86)\IBM\Lotus\Notes\Data\domino\workspace.config\rcpinstall.properties (The system cannot find the path specified.)

14/12/2010 10:53:58 HTTP JVM: at java.io.FileOutputStream.open(Native Method)

14/12/2010 10:53:58 HTTP JVM: at java.io.FileOutputStream.(FileOutputStream.java:179)

14/12/2010 10:53:58 HTTP JVM: at java.io.FileOutputStream.(FileOutputStream.java:131)

14/12/2010 10:53:58 HTTP JVM: at com.ibm.domino.http.bootstrap.osgi.LaunchRCP.useRCPLogging(LaunchRCP.java:203)

14/12/2010 10:53:58 HTTP JVM: at com.ibm.domino.http.bootstrap.osgi.LaunchRCP.launchOSGIFramework(LaunchRCP.java:150)

14/12/2010 10:53:58 HTTP JVM: at com.ibm.domino.http.bootstrap.BootstrapOSGIClassLoader.launchOSGIFramework(BootstrapOSGIClassLoader.java:79)

14/12/2010 10:53:58 HTTP JVM: at com.ibm.domino.http.bootstrap.BootstrapOSGIClassLoader.loadClass(BootstrapOSGIClassLoader.java:63)

14/12/2010 10:53:58 HTTP JVM: at java.lang.ClassLoader.loadClass(ClassLoader.java:618)

14/12/2010 10:53:58 HTTP JVM: at com.ibm.domino.http.bootstrap.BootstrapClassLoader.findClass(BootstrapClassLoader.java:79)

14/12/2010 10:53:58 HTTP JVM: java.io.FileNotFoundException: c:\Program Files (x86)\IBM\Lotus\Notes\Data\domino\workspace\logs\Viewer_Translations.js (The system cannot find the path specified.)

14/12/2010 10:53:58 HTTP JVM: at java.io.FileOutputStream.(FileOutputStream.java:179)

14/12/2010 10:53:58 HTTP JVM: at java.io.FileOutputStream.(FileOutputStream.java:131)

14/12/2010 10:53:58 HTTP JVM: at com.ibm.domino.http.bootstrap.osgi.RCPConfiguration.copyFile(RCPConfiguration.java:509)

14/12/2010 10:53:58 HTTP JVM: at com.ibm.domino.http.bootstrap.osgi.RCPConfiguration.initRCPLogging(RCPConfiguration.java:433)

14/12/2010 10:53:58 HTTP JVM: at com.ibm.domino.http.bootstrap.osgi.LaunchRCP.launchOSGIFramework(LaunchRCP.java:164)

14/12/2010 10:53:58 HTTP JVM: at com.ibm.domino.http.bootstrap.BootstrapOSGIClassLoader.launchOSGIFramework(BootstrapOSGIClassLoader.java:79)

14/12/2010 10:53:58 HTTP JVM: at com.ibm.domino.http.bootstrap.BootstrapOSGIClassLoader.loadClass(BootstrapOSGIClassLoader.java:63)

14/12/2010 10:53:58 HTTP JVM: at java.lang.ClassLoader.loadClass(ClassLoader.java:618)

14/12/2010 10:53:58 HTTP JVM: at com.ibm.domino.http.bootstrap.BootstrapClassLoader.findClass(BootstrapClassLoader.java:79)

14/12/2010 10:53:58 HTTP JVM: java.io.FileNotFoundException: c:\Program Files (x86)\IBM\Lotus\Notes\Data\domino\workspace\logs\error-log-0.html.lck (The system cannot find the path specified.)

14/12/2010 10:53:58 HTTP JVM: at java.io.FileOutputStream.(FileOutputStream.java:179)

14/12/2010 10:53:58 HTTP JVM: at java.io.FileOutputStream.(FileOutputStream.java:70)

14/12/2010 10:53:58 HTTP JVM: at java.util.logging.FileHandler.initOutputFiles(FileHandler.java:210)

14/12/2010 10:53:58 HTTP JVM: at java.util.logging.FileHandler.init(FileHandler.java:180)

14/12/2010 10:53:58 HTTP JVM: at java.util.logging.FileHandler.(FileHandler.java:545)

14/12/2010 10:53:58 HTTP JVM: at com.ibm.rcp.core.internal.logger.boot.RCPLogHandler.(RCPLogHandler.java:25)

14/12/2010 10:53:58 HTTP JVM: at java.lang.J9VMInternals.newInstanceImpl(Native Method)

14/12/2010 10:53:58 HTTP JVM: at java.lang.Class.newInstance(Class.java:1325)

14/12/2010 10:53:58 HTTP JVM: at com.ibm.domino.http.bootstrap.osgi.RCPConfiguration.initRCPLogging(RCPConfiguration.java:474)

14/12/2010 10:53:58 HTTP JVM: at com.ibm.domino.http.bootstrap.osgi.LaunchRCP.launchOSGIFramework(LaunchRCP.java:164)

14/12/2010 10:53:58 HTTP JVM: at com.ibm.domino.http.bootstrap.BootstrapOSGIClassLoader.launchOSGIFramework(BootstrapOSGIClassLoader.java:79)

14/12/2010 10:53:58 HTTP JVM: at com.ibm.domino.http.bootstrap.BootstrapOSGIClassLoader.loadClass(BootstrapOSGIClassLoader.java:63)

14/12/2010 10:53:58 HTTP JVM: at java.lang.ClassLoader.loadClass(ClassLoader.java:618)

14/12/2010 10:53:58 HTTP JVM: at com.ibm.domino.http.bootstrap.BootstrapClassLoader.findClass(BootstrapClassLoader.java:79)

14/12/2010 10:53:58 HTTP JVM: com.ibm.domino.http.bootstrap.osgi.LaunchOSGIException: java.io.FileNotFoundException: c:\Program Files (x86)\IBM\Lotus\Notes\Data\domino\workspace.config\links\shared.link (The system cannot find the path specified.)

14/12/2010 10:53:58 HTTP JVM: at com.ibm.domino.http.bootstrap.osgi.LaunchRCP.startRCP(LaunchRCP.java:344)

14/12/2010 10:53:58 HTTP JVM: at com.ibm.domino.http.bootstrap.osgi.LaunchRCP.launchOSGIFramework(LaunchRCP.java:171)

14/12/2010 10:53:58 HTTP JVM: at com.ibm.domino.http.bootstrap.BootstrapOSGIClassLoader.launchOSGIFramework(BootstrapOSGIClassLoader.java:79)

14/12/2010 10:53:58 HTTP JVM: at com.ibm.domino.http.bootstrap.BootstrapOSGIClassLoader.loadClass(BootstrapOSGIClassLoader.java:63)

14/12/2010 10:53:58 HTTP JVM: at java.lang.ClassLoader.loadClass(ClassLoader.java:618)

14/12/2010 10:53:58 HTTP JVM: at com.ibm.domino.http.bootstrap.BootstrapClassLoader.findClass(BootstrapClassLoader.java:79)

14/12/2010 10:53:58 HTTP JVM: Caused by:

14/12/2010 10:53:58 HTTP JVM: java.io.FileNotFoundException: c:\Program Files (x86)\IBM\Lotus\Notes\Data\domino\workspace.config\links\shared.link (The system cannot find the path specified.)

14/12/2010 10:53:58 HTTP JVM: at java.io.FileOutputStream.(FileOutputStream.java:179)

14/12/2010 10:53:58 HTTP JVM: at java.io.FileOutputStream.(FileOutputStream.java:131)

14/12/2010 10:53:58 HTTP JVM: at java.io.FileWriter.(FileWriter.java:85)

14/12/2010 10:53:58 HTTP JVM: at com.ibm.domino.http.bootstrap.osgi.RCPConfiguration.verifyLinkFile(RCPConfiguration.java:322)

14/12/2010 10:53:58 HTTP JVM: at com.ibm.domino.http.bootstrap.osgi.RCPConfiguration.verifyLinkFiles(RCPConfiguration.java:308)

14/12/2010 10:53:58 HTTP JVM: at com.ibm.domino.http.bootstrap.osgi.LaunchRCP.startRCP(LaunchRCP.java:330)

14/12/2010 10:53:58 HTTP JVM: … 5 more

14/12/2010 10:53:58 HTTP JVM: java.lang.ClassNotFoundException

14/12/2010 10:53:58 HTTP JVM: at java.lang.ClassLoader.findClass(ClassLoader.java:364)

14/12/2010 10:53:58 HTTP JVM: at java.lang.ClassLoader.loadClass(ClassLoader.java:652)

14/12/2010 10:53:58 HTTP JVM: at com.ibm.domino.http.bootstrap.BootstrapOSGIClassLoader.loadClass(BootstrapOSGIClassLoader.java:68)

14/12/2010 10:53:58 HTTP JVM: at java.lang.ClassLoader.loadClass(ClassLoader.java:618)

14/12/2010 10:53:58 HTTP JVM: at com.ibm.domino.http.bootstrap.BootstrapClassLoader.findClass(BootstrapClassLoader.java:79)

14/12/2010 10:53:58 Xsp Initialization error - Could not load class or methods

It looks to me like an install issue, I have :-

Looked at the rcpinstall.properties file which seems ok,

Set a classpath environment variable to no effect,

Removed and reinstalled the client to no effect.

As I am Running Windows 7 Home premium (64 bit), and the program is installed in the Program files (x86) directory tree, is this a problem with a 32bit JVM ? I have run out of ideas and could do with some assistance please.

Subject: Fixed

If I start the designer client as an administrator then the issue goes away. So this begs the question what function of the client http server requires windows admin privileges ?

Subject: Fixed HTTP Error 500 when previewing from designer client

Thanks for your post Andrew, good work figuring that out!

I had this same issue on Windows 7 x64, and running designer.exe with ‘Run as Administrator’ works.

In the file properties dialog - compatibility tab - check mark “Run as Administrator”

I would also like to know if there is a way to install this with rights to launch the HTTP preview natively.

Original Post Summary:

Just installed Notes 8.5.2 developer client on laptop.

Xpages can be opened in the Notes client but not in a browser. I have tried Firefox, IE, and Chrome but receive a HTTP500 error whatever page is attempted. No further details are provided even when the xpages runtime error page is enabled for the application.

Client log reports 1 error -

14/12/2010 11:19:14 HTTP Web Server: Command Not Handled Exception [/log.nsf/test.xsp] Anonymous

The xpage can be as simple as one piece of text - no controls or javascript.

It is possible to preview non x-pages (i.e. view) from the same database in the browser. Client log reports a long list of errors -

Subject: One additional tidbit

Granting designer.exe did NOT fix this issue, so I started granting all the Notes exe files Admin rights, which did finally work. Not sure exactly which file did it (I was in a huge hurry) but I’m guessing either notes.exe or nlnotes.exe.