Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Webserver/helpserver: (8 Items)
   
Webserver/helpserver  
We have used webserver vserver for our help manual. We have showed our help manual in a HTML as a part of our IDE. Now 
in 6.5.0 it doesn´t work after we make a runtime image. What should I do?

Even in example VMWare image in QNX website the help doesn´t work. I attached a photo about the error message.
Attachment: Image webserver.png 153.54 KB
RE: Webserver/helpserver  
Can you show the contents of your /etc/photon/webservers file? Make sure that this file exists in your image, and that 
the "help = ..." line properly references an existing executable.

Max

-----Original Message-----
From: Pekka Tuusjärvi [mailto:community-noreply@qnx.com] 
Sent: Tuesday, September 25, 2012 6:29 AM
To: general-web_browsers
Subject: Webserver/helpserver

We have used webserver vserver for our help manual. We have showed our help manual in a HTML as a part of our IDE. Now 
in 6.5.0 it doesn´t work after we make a runtime image. What should I do?

Even in example VMWare image in QNX website the help doesn´t work. I attached a photo about the error message.



_______________________________________________

General
http://community.qnx.com/sf/go/post95786
To cancel your subscription to this discussion, please e-mail general-web_browsers-unsubscribe@community.qnx.com
Re: RE: Webserver/helpserver  
Hello,

here is the file attached.
Attachment: Text webservers 345 bytes
RE: RE: Webserver/helpserver  
> help = mhelpserver,MozHelpServer

This is just the default line used for the self hosted help system. Is that what you intended? It means that the 
executable "mhelpserver" must be in the runtime image and in a directory listed in $PATH. You can always specify an 
absolute path here instead of updating $PATH.

Max

-----Original Message-----
From: Pekka Tuusjärvi [mailto:community-noreply@qnx.com] 
Sent: Thursday, September 27, 2012 2:22 AM
To: general-web_browsers
Subject: Re: RE: Webserver/helpserver

Hello,

here is the file attached.



_______________________________________________

General
http://community.qnx.com/sf/go/post95869
To cancel your subscription to this discussion, please e-mail general-web_browsers-unsubscribe@community.qnx.com
Re: RE: RE: Webserver/helpserver  
Hi,

i managed get that error message away but it still wont work. My help is on xxx.htm file and mozilla shows it properly 
when i open it straight from mozilla. If i pass the location of that file to ptwebclient it wont work. Any suggestions? 
When i start the webclient its ok and no error message from Pt_ARG_WEB_STARTUP_ERRNO.

Here is the line from /etc/photon/webservers

online = /opt/Mozilla/mozilla/run-mozilla.sh /opt/Mozilla/mozilla/mozserver,MozillaServer

> > help = mhelpserver,MozHelpServer
> 
> This is just the default line used for the self hosted help system. Is that 
> what you intended? It means that the executable "mhelpserver" must be in the 
> runtime image and in a directory listed in $PATH. You can always specify an 
> absolute path here instead of updating $PATH.
> 
> Max
> 
> -----Original Message-----
> From: Pekka Tuusjärvi [mailto:community-noreply@qnx.com] 
> Sent: Thursday, September 27, 2012 2:22 AM
> To: general-web_browsers
> Subject: Re: RE: Webserver/helpserver
> 
> Hello,
> 
> here is the file attached.
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post95869
> To cancel your subscription to this discussion, please e-mail general-
> web_browsers-unsubscribe@community.qnx.com


RE: RE: RE: Webserver/helpserver  
Are you setting Pt_ARG_WEB_SERVER to "online"? What is the exact URL you are passing in? I assume it begins with "file:/
/". Do other URL's work, say ones that aren't on the filesystem like http://google.com?

Also, obvious question: Do /opt/Mozilla/mozilla/run-mozilla.sh and /opt/Mozilla/mozilla/mozserver exist and look sane?

Max

-----Original Message-----
From: Pekka Tuusjärvi [mailto:community-noreply@qnx.com] 
Sent: Monday, November 12, 2012 4:23 AM
To: general-web_browsers
Subject: Re: RE: RE: Webserver/helpserver

Hi,

i managed get that error message away but it still wont work. My help is on xxx.htm file and mozilla shows it properly 
when i open it straight from mozilla. If i pass the location of that file to ptwebclient it wont work. Any suggestions? 
When i start the webclient its ok and no error message from Pt_ARG_WEB_STARTUP_ERRNO.

Here is the line from /etc/photon/webservers

online = /opt/Mozilla/mozilla/run-mozilla.sh /opt/Mozilla/mozilla/mozserver,MozillaServer

> > help = mhelpserver,MozHelpServer
> 
> This is just the default line used for the self hosted help system. Is 
> that what you intended? It means that the executable "mhelpserver" 
> must be in the runtime image and in a directory listed in $PATH. You 
> can always specify an absolute path here instead of updating $PATH.
> 
> Max
> 
> -----Original Message-----
> From: Pekka Tuusjärvi [mailto:community-noreply@qnx.com]
> Sent: Thursday, September 27, 2012 2:22 AM
> To: general-web_browsers
> Subject: Re: RE: Webserver/helpserver
> 
> Hello,
> 
> here is the file attached.
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post95869
> To cancel your subscription to this discussion, please e-mail general- 
> web_browsers-unsubscribe@community.qnx.com






_______________________________________________

General
http://community.qnx.com/sf/go/post97080
To cancel your subscription to this discussion, please e-mail general-web_browsers-unsubscribe@community.qnx.com
Re: RE: RE: RE: Webserver/helpserver  
Hello,

yes im setting that argument to "online". This code works in QNX 6.3.2 when I use the voyager. 

online = vserver,VoyagerServer-2

Yes my URL is "file:///home/system/ohje.htm". It only shows white widget with every URL I try even http://google.com. 
Those mozilla files exists because I copied them to my runtime afterwards. And I can surf in the web if I start the 
mozilla browser with /usr/photon/bin/mozilla.


> Are you setting Pt_ARG_WEB_SERVER to "online"? What is the exact URL you are 
> passing in? I assume it begins with "file://". Do other URL's work, say ones 
> that aren't on the filesystem like http://google.com?
> 
> Also, obvious question: Do /opt/Mozilla/mozilla/run-mozilla.sh and /opt/
> Mozilla/mozilla/mozserver exist and look sane?
> 
> Max
> 
> -----Original Message-----
> From: Pekka Tuusjärvi [mailto:community-noreply@qnx.com] 
> Sent: Monday, November 12, 2012 4:23 AM
> To: general-web_browsers
> Subject: Re: RE: RE: Webserver/helpserver
> 
> Hi,
> 
> i managed get that error message away but it still wont work. My help is on 
> xxx.htm file and mozilla shows it properly when i open it straight from 
> mozilla. If i pass the location of that file to ptwebclient it wont work. Any 
> suggestions? When i start the webclient its ok and no error message from 
> Pt_ARG_WEB_STARTUP_ERRNO.
> 
> Here is the line from /etc/photon/webservers
> 
> online = /opt/Mozilla/mozilla/run-mozilla.sh /opt/Mozilla/mozilla/mozserver,
> MozillaServer
> 
> > > help = mhelpserver,MozHelpServer
> > 
> > This is just the default line used for the self hosted help system. Is 
> > that what you intended? It means that the executable "mhelpserver" 
> > must be in the runtime image and in a directory listed in $PATH. You 
> > can always specify an absolute path here instead of updating $PATH.
> > 
> > Max
> > 
> > -----Original Message-----
> > From: Pekka Tuusjärvi [mailto:community-noreply@qnx.com]
> > Sent: Thursday, September 27, 2012 2:22 AM
> > To: general-web_browsers
> > Subject: Re: RE: Webserver/helpserver
> > 
> > Hello,
> > 
> > here is the file attached.
> > 
> > 
> > 
> > _______________________________________________
> > 
> > General
> > http://community.qnx.com/sf/go/post95869
> > To cancel your subscription to this discussion, please e-mail general- 
> > web_browsers-unsubscribe@community.qnx.com
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post97080
> To cancel your subscription to this discussion, please e-mail general-
> web_browsers-unsubscribe@community.qnx.com


RE: RE: RE: RE: Webserver/helpserver  
The Mozilla browser doesn't use the files you copied. From here it's hard to guess what might be wrong. Did you set 
execute permissions on those 2 files you copied?

-----Original Message-----
From: Pekka Tuusjärvi [mailto:community-noreply@qnx.com] 
Sent: Thursday, November 15, 2012 2:32 AM
To: general-web_browsers
Subject: Re: RE: RE: RE: Webserver/helpserver

Hello,

yes im setting that argument to "online". This code works in QNX 6.3.2 when I use the voyager. 

online = vserver,VoyagerServer-2

Yes my URL is "file:///home/system/ohje.htm". It only shows white widget with every URL I try even http://google.com. 
Those mozilla files exists because I copied them to my runtime afterwards. And I can surf in the web if I start the 
mozilla browser with /usr/photon/bin/mozilla.


> Are you setting Pt_ARG_WEB_SERVER to "online"? What is the exact URL 
> you are passing in? I assume it begins with "file://". Do other URL's 
> work, say ones that aren't on the filesystem like http://google.com?
> 
> Also, obvious question: Do /opt/Mozilla/mozilla/run-mozilla.sh and 
> /opt/ Mozilla/mozilla/mozserver exist and look sane?
> 
> Max
> 
> -----Original Message-----
> From: Pekka Tuusjärvi [mailto:community-noreply@qnx.com]
> Sent: Monday, November 12, 2012 4:23 AM
> To: general-web_browsers
> Subject: Re: RE: RE: Webserver/helpserver
> 
> Hi,
> 
> i managed get that error message away but it still wont work. My help 
> is on xxx.htm file and mozilla shows it properly when i open it 
> straight from mozilla. If i pass the location of that file to 
> ptwebclient it wont work. Any suggestions? When i start the webclient 
> its ok and no error message from Pt_ARG_WEB_STARTUP_ERRNO.
> 
> Here is the line from /etc/photon/webservers
> 
> online = /opt/Mozilla/mozilla/run-mozilla.sh 
> /opt/Mozilla/mozilla/mozserver, MozillaServer
> 
> > > help = mhelpserver,MozHelpServer
> > 
> > This is just the default line used for the self hosted help system. 
> > Is that what you intended? It means that the executable "mhelpserver"
> > must be in the runtime image and in a directory listed in $PATH. You 
> > can always specify an absolute path here instead of updating $PATH.
> > 
> > Max
> > 
> > -----Original Message-----
> > From: Pekka Tuusjärvi [mailto:community-noreply@qnx.com]
> > Sent: Thursday, September 27, 2012 2:22 AM
> > To: general-web_browsers
> > Subject: Re: RE: Webserver/helpserver
> > 
> > Hello,
> > 
> > here is the file attached.
> > 
> > 
> > 
> > _______________________________________________
> > 
> > General
> > http://community.qnx.com/sf/go/post95869
> > To cancel your subscription to this discussion, please e-mail 
> > general- web_browsers-unsubscribe@community.qnx.com
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post97080
> To cancel your subscription to this discussion, please e-mail general- 
> web_browsers-unsubscribe@community.qnx.com






_______________________________________________

General
http://community.qnx.com/sf/go/post97210
To cancel your subscription to this discussion, please e-mail general-web_browsers-unsubscribe@community.qnx.com