Issue with Sun Webserver 7
Hi
I am facing issue with sun webserver7.0. I installed 64 bit version of sun webserver 7 on solaris 64 bit machine.
I added my NSAPI extension to it. And it works fine.
The problem i m facing is things are not consistance.. Like i configure my connector(nsapi extension) and request pageof that extension some time it comes and sometimes not.
when i restart web server things starts working fine. until my connector restart when it adds extension to it.
Also seen cases where the same page can be opened in IE cannt working in firefox.
i tried all possible cases. I still not able to figure out issue is in my connector or their is issue with web server 7 for 64 bit.
Thanks in advance.
# 3
I don't know about this but I will try.
1. Web Server's Web Container supports jsps.
2. Can you use simple redirects in obj.conf for the rest to forward your requests?
http://blogs.sun.com/elving/entry/regular_expression_redirects_in_7
http://blogs.sun.com/elving/entry/301_permanent_redirects_in_7
3. Or Can't you use reverse proxy to forward your requests?
http://blogs.sun.com/meena/entry/configuring_reverse_proxy_in_sun
4. I don't understand what you extensions do, if you want to simply register a file extension, can't adding new entry in mime.types work?
http://docs.sun.com/app/docs/doc/819-2630/6n4thbiet?a=view
"The MIME types file in the config directory contains mappings between the MIME types and file extensions."
mva at 2007-7-11 23:51:57 >

# 4
Can you kindly provide the configuration information? That may be helpful in guessing what the problem is.
What I understand from your description is :
1. It works fine for few times after webserver is restarted.
2. It stops working after your NSAPI plugin is initialized. Does the behavior consistent after plugin is initialized? I mean does it fail every time after it fails first time?
# 5
hi
to help you more, you need to provide details as to
1. what type of extension are you writing ?
2. does your externsion work for 32-bit ?
did you get a chance to read our nsapi developer guide
http://docs.sun.com/app/docs/doc/819-2632/6n4tj8jh4?a=view
http://docs.sun.com/app/docs/doc/819-2632/6n4tj8jiq?a=view
hope this helps