XPages: Error 500 HTTP Web Server: Command Not Handled Exception

I have beta 2 server/admin/client/designer installed. If I create an xpage with a simple “This is a test” on the page, it will work if the application is local (localhost). When I move it to the server, I get:

Error 500

HTTP Web Server: Command Not Handled Exception

It says the same thing on the console, and I really don’t have any idea where to look to fix the problem.

I downloaded the xpages tutorial from this site and it works perfectly when it is local, and it gets the same error when I run it on the server.

I have ordered the latest group ptf’s for the i, but I don’t have high hopes it will work.

I really want to get started with xpages… very frustrating.

Subject: Same issue running on Windows

I am running a 8.5beta2 server on my vista laptop and accessing it locally.

I am running through the Xpages tutorial but Chris Toohey

and I am experiencing the same errors. I have modified the server permission and I CAN get the Xpage example to come up…sometimes.

I have narrowed it down some but I am still working on it. In his example he uses the personal NAB and has a number of fields in the data source. Using my local NAB as my source

If I drag and drop Company and Name fields the XPage preview works. All the other fields in the example bring up the Content error.

Has anyone solved this issue - I am going to try and mess with the values in the fields which are breaking and see if I cann’t narrow it down further.

Cheers,

Mark

Subject: Well I think I figured out something

Ahhhh - DUH moment extraordinaire.

I am running a local server on my laptop. When I created it - I added it to our office development domain. So when I connect to it, it is not “localhost” it is a real server running on my machine.

When you use the Toohey tutorial the example given is the People view int the “Local” NAB. That My Contact - People view in the local NAB is not the same as the People view on a server. The only fields which work in my example match the field names in the “People” view on the server - DUH

The error is generated because the data source the application is trying to use is not the same as the data source on the server - which makes perfect sense.

When I use the selector to set the data source to be the People view on the server I get a different set of fields in my data source. I drag them to my XPage and it works like a charm no issues.

Confusion on my part but hopefully a lesson which might help someone

Cheers,

Marky

Subject: Solution - Maybe

I installed the lastest group ptfs, uninstalled 8.5 and re-installed. This error does not occur any longer.

Subject: It sounds like a security issue to me

If it works through preview and not on the server, it sounds as though you need to change the security settings in the server doc.

See this post for details:

http://www-10.lotus.com/ldd/nd85forum.nsf/5f27803bba85d8e285256bf10054620d/d9851c77bf81402d852574b8005e236d?OpenDocument&Highlight=0,xpages,access

Subject: security

I’ve tried that already. This is the pertinent info:

Run unrestricted methods and operations: Jeffrey McQuillen/Fishman and Tobin/US

Sign agents to run on behalf of someone else: Jeffrey McQuillen/Fishman and Tobin/US

Sign agents to run on behalf of the invoker of the agent: Jeffrey McQuillen/Fishman and Tobin/US

Run restricted LotusScript/Java agents: Jeffrey McQuillen/Fishman and Tobin/US

Run Simple and Formula agents: Jeffrey McQuillen/Fishman and Tobin/US

Sign script libraries to run on behalf of someone else: Jeffrey McQuillen/Fishman and Tobin/US

Access server: users listed in all trusted directories

and

NotesSvr/Fishman and Tobin/US

Jeffrey McQuillen/Fishman and Tobin/US

DOMDEV/Fishman and Tobin/US

LocalDomainServers

Not access server:

Create databases & templates: Jeffrey McQuillen/Fishman and Tobin/US

Create new replicas: Jeffrey McQuillen/Fishman and Tobin/US

Create master templates: Jeffrey McQuillen/Fishman and Tobin/US

Allowed to use monitors: *Jeffrey McQuillen/Fishman and Tobin/US

Not allowed to use monitors:

Trusted servers: NotesSvr/Fishman and Tobin/US

Am I missing something?

Subject: Try turning on Default Error Page

Try turning on the Default Error page for XPages:

Application properties->XPages->Display Default Error page

Then retry the application. You should receive more details as to what the error is.

Repost the details if you can.

John

Subject: default error

It is already on. All I am getting is the error 500.

Subject: can you send me a copy?

Jeff,

It’s hard to diagnose through the chat. Can you send me a copy? It’s ‘john.mackey’ and ‘@groupwareinc.com

John

http://www.jmackey.net