Blogs

  • Browse Blogs
  • My Blog
  • My Updates

Tags Help

  • View as cloud  | list

Similar Entries

photo

Compile Problem fixe...

Blog:  Jan Schulz
Jan Schulz
Updated 
No Ratings 0     No Comments 0
photo

Sending Designer int...

Blog:  Jan Schulz
Jan Schulz
Updated 
No Ratings 0     Comments 1
photo

I was wrong: plus is...

Blog:  Yellow is the...
Tim Tripcony
Updated 
No Ratings 0     Comments 2
photo

Recompile in 8.0.2

Blog:  Urs Meli
Urs Meli
Updated 
No Ratings 0     No Comments 0
photo

How to test if an ar...

Blog:  Jan Schulz
Jan Schulz
Updated 
No Ratings 0     Comments 1

Dogear Bookmarks

Urs Meli

Blog Authors:  Urs Meli  

Previous |  Main  | Next

Messing with the content type

Urs Meli  |     |  Tags:  content-type webagent lotusscript  |  Comments (0)
Today, while I was editing a webagent my domino 8.0.1 testserver suddenly crashed.
Everytime I started the agent, my server would crash.

NSD showed just a FATAL error in nhttp with a "Access Violation" message.
I added lots of debug messages to the openlog database. These messages showed me, that the agent had finished successfull before the server crashed.

After investigating the agent a lttle more, adding some additional Print statements, I found the problem.
To have a clean HTML output I added the code: print "content-type:text/html" so my output had the right mime-type.
While refactoring the code I split it into several subroutines and made the mistake to add content type to a string.
My code looked like this

dim result as string

result = "content-type:text/html"
result = result & "<html><head>"
.... [lots of html code here]
print result

After changing the first result= back to print, the agent was working as expected and without crashing the server.

Seems that messing with the content type can crash a domino server.

If this is a bug in domino, than every one, which can create Lotusscript agents and run them through the browser, would be able to crash the server.


Comments

Previous |  Main  | Next
Skip to main content link. Accesskey S
IBM Lotus Connections Help Tools About

Tags

A tag is a keyword that is used to categorize an entry. To view the entries with a particular tag, click a tag name or enter a tag in the box.
The tag cloud indicates the frequency of tag use. Popular tags appear darkest. The slider control adjusts how many tags are displayed in the tag cloud.