HTML Doc problem

For questions and postings not covered by the other forums
davidmellow
Posts: 42
Joined: Thu Aug 27, 2009 1:27 pm
Location: New Plymouth, New Zealand

HTML Doc problem

Postby davidmellow » Sun Mar 13, 2011 9:45 am

Hi there

I have some new web services running fine in our system, but have run into a problem with HTML Document apps. The application runs, but when I try to run the test harness...

I am getting a 1090 exception at JadeWebMessage::_createNewSession (442)
The prior call stack is JadeWebMessage::processMessage (4305), JadeWebApplication::mwtt_readReadyEvent (1731)

The HTML document is a trivial example, and the following experiment indicates that my app set-up, ini file etc are OK.

Given a schema structure of ...BaseSchema -> CommonSchema -> AdminSchema, defining the HTML doc and app in AdminSchema the problem arises.
If I create a new Schema, ...BaseSchema -> CommonSchema -> WebSchema, defining the HTML doc and app in WebSchema the problem still arises.
If I instead create the new schema, ...BaseSchema -> WebSchema, defining the HTML doc and app in WebSchema the app runs OK.

Therefore something in that Common parent schema seems to be causing the problem, but I am baffled what. That Common schema does have getAndValidateUser and isUserValid methods which for this web app I am ensuring simply return true. I have also ensured it uses its own (essentially do-nothing) initialise method.

Any ideas, or can anyone tell me what must be null at that exact 442 code position to be causing the problem?

Thanks
David

User avatar
BeeJay
Posts: 312
Joined: Tue Jun 30, 2009 2:42 pm
Location: Christchurch, NZ

Re: HTML Doc problem

Postby BeeJay » Mon Mar 14, 2011 8:01 am

Assuming you have a support contract, I'd start by running a meta-certify of your system, to see if there is anything wrong with the meta-data for your system, and then open a Contact in Parsys, attaching the resulting logs from the meta-certify along with the full stack dump from the exception and a versioninfo.txt file so they know exactly which release of Jade you're running etc.

Cheers,
BeeJay.

davidmellow
Posts: 42
Joined: Thu Aug 27, 2009 1:27 pm
Location: New Plymouth, New Zealand

Re: HTML Doc problem

Postby davidmellow » Mon Mar 14, 2011 12:25 pm

Thanks beejay

I did a meta certify, couldn't see anything that looked at all relevant, and decided to have one last looksie before doing a parsys, and suddenly noticed the problem.

A class that is now created upon creating a new schema - a subclass of CnEcSchemaSession, did not exist in any of our schemas. It looks as though it is always named Sschemaname. Which makes sense given those schemas were probably created 13 years ago, before the WebSession class even existed. I added them to the two schemas in question and the app works. Fingers crossed it is that simple, as I have not added any Jade functionality to the doc yet, but as is it runs.

Regards
David


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests

cron