Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: JAVA errors on 5.5 Runtime box

JAVA errors on 5.5 Runtime box 6 years 6 months ago #9221

  • brew
  • brew's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 108
  • Karma: 0
Hello all,

i just upgraded from 5.4 to 5.5.
everything ran fine on 5.4-- PLC routines, the arduinos, etc-- for weeks and weeks

Now the same setup of PLC, arduinos, etc are not running on 5.5 runtime box --
it seems to work fine on the 5.5 Development box, but when distributed to the runtime box, i get these JAVA errors.
(below)
I did not have JAVA on my previous 5.4 box
and do not have it on this 5.5 box

No change in programming at all, but will not run the PLC's on the Runtime box. The PLC's just freeze up.
Everything else seems to run. The arduino's temp reading, the switches on the Arduinos, etc. But the PLC's switch on but freeze and do not progress.

also, the rt_webmonmh kicks back a Yellow box error message on the runtime box. but not the Developement box.

anybody know how to fix this?

Thanks!
bill

also how do i turn off the Webmon, webmonmh, etc servers?

=================
wrp@run:~$ pwr start
Start Proview Runtime Environment.
Done.
pwrp@run:~$
Proview/R Version V5.5.0 for Linux on x86_64
Copyright (C) 2005-2017 SSAB EMEA AB

Proview/R is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License.

This program is distributed in the hope that it will be useful
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

Proview Runtime Environment

mq_send: Resource temporarily unavailable
mq_send: Resource temporarily unavailable
mq_send: Resource temporarily unavailable
mq_send: Resource temporarily unavailable
Exception in thread "main" java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: java/lang/invoke/StringConcatFactory
at jpwr.rt.GdhServer.main(GdhServer.java:148)
Caused by: java.lang.NoClassDefFoundError: java/lang/invoke/StringConcatFactory
... 1 more
Caused by: java.lang.ClassNotFoundException: java.lang.invoke.StringConcatFactory
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 1 more
HistServer starting
JHist: Before waiting for client
Exception in thread "main" java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: java/lang/invoke/StringConcatFactory
at jpwr.rt.MhServer.getHandlerObject(MhServer.java:162)
at jpwr.rt.MhServer.openServerSocket(MhServer.java:236)
at jpwr.rt.MhServer.main(MhServer.java:107)
Caused by: java.lang.NoClassDefFoundError: java/lang/invoke/StringConcatFactory
... 3 more
Caused by: java.lang.ClassNotFoundException: java.lang.invoke.StringConcatFactory
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 3 more
The administrator has disabled public write access.

JAVA errors on 5.5 Runtime box 6 years 6 months ago #9222

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3170
  • Thank you received: 497
  • Karma: 133
Hi Bill,

You turn off server processes in $pwrp_cnf/ld_appl_'nodename'_'busnr'.txt. Remove the comment for the servers pwr_webmon, pwr_webmonmh and pwr_webmonelog. This file should be copied to $pwrp_load when the node is built and read from there in runtime.

/Claes
The administrator has disabled public write access.
The following user(s) said Thank You: brew

JAVA errors on 5.5 Runtime box 6 years 6 months ago #9225

  • brew
  • brew's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 108
  • Karma: 0
Hola Claes,

As always, your solution worked great!
All the references to JAVA disappeared, and the PLC's no longer freeze up!

i removed references to the servers pwr_webmon, etc on the files in usr/local/pwrp/brewery2/bld/common/load/ld_appl_XXX

i could not find the pwrp_cnf folder
where is that?
in usr/local/pwrp/brewery2/bld??
or etc/ ??

thanks man!
bill
The administrator has disabled public write access.

JAVA errors on 5.5 Runtime box 6 years 6 months ago #9228

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3170
  • Thank you received: 497
  • Karma: 133
$pwrp_cnf is /usr/local/pwrp/brewery2/src/cnf.

/Claes
The administrator has disabled public write access.
The following user(s) said Thank You: brew

JAVA errors on 5.5 Runtime box 6 years 6 months ago #9229

  • brew
  • brew's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 108
  • Karma: 0
Thanks Claes!
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 8.094 seconds