Troubleshoot a SN

 7 Replies
 0 Subscribed to this topic
 14 Subscribed to this forum
Sort:
Author
Messages
stcyrk
Basic Member Send Private Message
Posts: 18
Basic Member

I have developed a simple info set, updated.  Created a smart notification, few simple calculations (count and multiplication).  Hitting the Preview button opens a browser window that returns the standard Page cannot be displayed windows error message.  Save smart notification.  Click on it and the window opens with header and footer info, but no body.  I have tried simplifying the smart notificiation, simplifying the infoset, to no avail.  Any suggestions?

Matthew Nye
Veteran Member Send Private Message
Posts: 514
Veteran Member

First thing I would check is that you arent getting any mathmatical errors.  Have you looked in your log files (tomcat or websphere)? SN isnt very good about catching these, you would see a java stack trace indication a NullPointerException. Exepcially when performing a multiplication or division calculation, this can be an issue.

Have you checked the obvious

1. Make sure youre using the default template and that it hasnt been modified

2. Make sure the Default is selected from the "Data from" drop down on Step 4  for the table associated to the range or calculation you want to display

 

Other than than, post any errors youre seeing in the log file and we can see if there are any clues there. btw most errors get posted to the standard output logfile not the error logfile.

 

hth

Matt

 

If any of my answers were helpful an endorsement on LinkedIn would be much appriciated! www.linkedin.com/pub/matthew-nye/1a/886/760/
stcyrk
Basic Member Send Private Message
Posts: 18
Basic Member

Thanks for your advice Matt.  I removed the calculations to ensure they weren't the cause, and I am still experiencing the same behavior.  I double checked the obvious settings, as mentioned. 

What are the identities of the log files you mentioned?  I'm in Lawdir and have looked through a few to no avail.

Thanks again.

Matthew Nye
Veteran Member Send Private Message
Posts: 514
Veteran Member
are you using tomcat? if so the directory will be \\[%LBI_SERVER_ROOT%]\LawsonBusinessIntelligence\tomcat-5.0.28\logs. The log files you want to look in are:

stdout.log
localhost_log.YYYY-MM-DD.txt (where YYYY-DD-MM is the latest date)
stderr.log

Like I said, most of the messages will be in stdout.log but check the other 2 just in case.

If youre using WebSphere it will be a little different and the location maybe different as well but generally you find these files in \\[%LBI_SERVER_ROOT%]\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\server1

SystemOut.log
SystemErr.log

If any of my answers were helpful an endorsement on LinkedIn would be much appriciated! www.linkedin.com/pub/matthew-nye/1a/886/760/
stcyrk
Basic Member Send Private Message
Posts: 18
Basic Member

We are using WebSphere and I checked both logs.  Nothing.  I created a new smart note using the same info set and hit preview as soon as the button was available to me (Step 2), and the window still returned with the same canned IE error message.  I wonder why the preview behaves as such, yet clicking on the completed smart note at least returns the header and footer info.

How can check to see if indeed the default template has been modified?  How would that affect the preview and/or the finished smart note?

I've got to be missing something here.  Thks again for your input.

Matthew Nye
Veteran Member Send Private Message
Posts: 514
Veteran Member
the 404 page worries me. that would indicate there is a file missing. if you right click on that page and select properties whats the JSP or servlet its pointing to? Did you do the install? Are there any errors in the install log (\\[%LBI_SERVER_ROOT%]\LawsonBusinessIntelligence\Lawson_Business_Intelligence_2007_InstallLog.log) You may want to redeploy your ear file.

the preview from within the Notification uses different server side code than the preview from the Notifications tab so that would explain the inconsistencies. and if the default template had been modified, for instance if the Lawson Default template didnt contain [values] you would see what you described from the Notifications tab, not the preview though.
If any of my answers were helpful an endorsement on LinkedIn would be much appriciated! www.linkedin.com/pub/matthew-nye/1a/886/760/
stcyrk
Basic Member Send Private Message
Posts: 18
Basic Member

I am far from an installer, or a technical person at that...merely pretending to be.

The right click exposed an HTTP 500 Internal server error with the address:

res://C:\WINDOWS\system32\shdoclc.dll/http_500.htm#http://server.server.com:...n.uiengine.SaveAlert

Matthew Nye
Veteran Member Send Private Message
Posts: 514
Veteran Member
there should definitely be something in the log file. 500 is a server side error and websphere will catch that even if LBI doesnt. you might want to look a little closer or have you WAS admin have a look to see if they can find something.
If any of my answers were helpful an endorsement on LinkedIn would be much appriciated! www.linkedin.com/pub/matthew-nye/1a/886/760/