Welcome, Guest
Username: Password: Remember me

TOPIC: New Ge demo

New Ge demo 1 year 6 months ago #10264

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 2795
  • Karma: 0
There is an attempt to open a socket to port 4445 on 192.168.32.11. If the connection is accepted the CurrentConnections attribute in the WebHandler object should be incremented. But it just seems to be stuck there. Are there any messages from the webHandler in the console log? Is the WebHandler still running?

/Claes
The administrator has disabled public write access.

New Ge demo 1 year 6 months ago #10265

  • Snarf77
  • Snarf77's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 856
  • Karma: 0
Hi Claes,

All web process are still running (rt_webmon, rt_webmonmh, rt_webmonelog)

I can't find any status attribute in the WebHandler object so I don't if it is wroing fine or not. For sure Current Connection = 0 (Max = 50) and EventSelectType has been initialized to 0 (can this be the root cause ? do you need some minimum setting there to make it work ?)

Snarf
The administrator has disabled public write access.

New Ge demo 1 year 5 months ago #10293

  • SS48
  • SS48's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
  • Karma: 0
Hi all!

Is there a complete instruction (on a simple example) how to make a web interface in version 5.5/5.6? Video or tutorial? That would be very helpful.

/Sergey
(Also in the left window is empty, just like Snarf. I could not understand the problem)
The administrator has disabled public write access.

New Ge demo 1 year 4 months ago #10294

  • SS48
  • SS48's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
  • Karma: 0
Already figured out. Everything works well. Need to prepare a video.

/Sergey
The administrator has disabled public write access.

New Ge demo 1 year 3 months ago #10326

  • daniel
  • daniel's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • Karma: 0
Hello Claes,

I copied ge.html, ge.js, toolbar.css from your link (www.proview.se/gedemo/), then I added mygraph.pwg in apache folder. I access http://localhost/ge.html?graph=mygraph.
My graph appears in browser, but when I click on a control, nothing happens. It works only for viewing. In your example page, I can push the buttons, I can move the sliders... I think I need to login or something.. How can I do that?

(UPDATE)
In Nodes-project-Security-DefaultWebPriv I selected RtRead,RtWrite and System. Everything works now.
Last Edit: 1 year 3 months ago by daniel.
The administrator has disabled public write access.

New Ge demo 6 months 3 days ago #10573

  • Snarf77
  • Snarf77's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 856
  • Karma: 0
Hi all,
I'm back again trying to test the proview web server thinking I may have more chances with the new proview release but still no luck at the moment. I really don't understand how you're succeeding in testing it so simply.

let me summarize my test:
- I install a fresh new virtual machine using ubuntu 18.04
- I install apache2 server
- I install java
openjdk version "11.0.6" 2020-01-14
OpenJDK Runtime Environment (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1)
OpenJDK 64-Bit Server VM (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1, mixed mode, sharing)
echoing JAVA_HOME gave me : /usr/lib/jvm/java-11-openjdk-amd64 which look good
- install proview 5.7.1 (pwr57)
- I created a simple application including
- a Web Handler object
- an OpPlaceWeb
- a WebGraph object just below pointing to test1.pwg (my only GE page)
- Build everything and tested my package directly on my developpement station using the build in runtime.
- I modified the apache2 virtual domain to point on $pwrp_web and when accessing my browser the result is still like in the attached file (no left window).

- I don't see any jar file in the project. When are those files supposed to be generated. Are they still require with the html5 version.

Thanks for you help I would be so happy just to see a simple web page appearing trough proview at the moment

Snarf
Attachments:
The administrator has disabled public write access.
Time to create page: 5.044 seconds