Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Web Publishing Engine (WPE) crashes a few hours after RegisterGroovy

Featured Replies

I've installed the ScriptMaster plug-in for use with FileMakers Web Publishing engine on my FMSA 9.0.3.326/Windows 2003 server

A few hours after running RegisterGroovy under the Web Publishing Engine (WPE), the Web Engine fails and the fmswpc.exe process takes up over 90% CPU. This didn't start happening until I started trying to use the ScriptMaster plugin and RegisterGroovy under WPE.

The "360Works ScriptMaster_WPE.log" shows the plugin loads and functions registered but nothing is added to the log when the failure happens

360Works ScriptMaster_WPE.log:


(C++ Fri Aug 29 14:09:21 2008) Writing to log file at C:Documents and SettingsnambetechMy Documents360Plugin Logs360Works ScriptMaster_WPE.log

(C++ Fri Aug 29 14:09:21 2008)  *** INIT for 360Works ScriptMaster_WPE at Fri Aug 29 14:09:21 2008, headless mode 1

(C++ Fri Aug 29 14:09:21 2008) Found JVM dll at C:Program FilesJavajre1.6.0_07binclientjvm.dll

(C++ Fri Aug 29 14:09:21 2008) No existing JVM found; creating one.

(C++ Fri Aug 29 14:09:21 2008) Enabling headless mode

(C++ Fri Aug 29 14:09:21 2008) 0: -Xms4m

(C++ Fri Aug 29 14:09:21 2008) 1: -Xmx64m

(C++ Fri Aug 29 14:09:21 2008) 2: -Djava.awt.headless=true

(C++ Fri Aug 29 14:09:21 2008) 3: -Djava.util.logging.config.file=C:Templogging.properties

(C++ Fri Aug 29 14:09:21 2008) 4: vfprintf

(C++ Fri Aug 29 14:09:21 2008) 5: -Xbootclasspath/a:C:Program FilesJavajre1.6.0_07libdeploy.jar;C:Program FilesJavajre1.6.0_07libplugin.jar

(C++ Fri Aug 29 14:09:21 2008) 6: -Djava.ext.dirs=C:Program FilesJavajre1.6.0_07libext;C:Program FilesJavajre1.6.0_07lib;C:Program FilesJavajre1.6.0_07libdeploy;C:WINDOWSSunJavalibext;

(C++ Fri Aug 29 14:09:22 2008) JVM started successfully - jvm references is 1838999280

(C++ Fri Aug 29 14:09:22 2008) writeAttachedJarFile(): writing jar C:DOCUME~1NAMBET~1LOCALS~1Temp/360Works_ScriptMaster.jar

Aug 29, 2008 2:09:23 PM com.prosc.fmkit.PluginBridge initLogging

CONFIG: Will write normal log file to C:Documents and SettingsnambetechMy Documents360Plugin Logs360Works ScriptMaster_WPE.log

Aug 29, 2008 2:09:23 PM com.prosc.fmkit.PluginBridge initWindows

CONFIG: Loading dynamic library at C:Program FilesFileMakerFileMaker ServerWeb Publishingpublishing-enginewpcPlugins360Works_ScriptMaster.fmx

Aug 29, 2008 2:09:23 PM com.prosc.fmkit.PluginBridge initWindows

CONFIG: Loading plugin jar at C:Documents and SettingsnambetechLocal SettingsTemp360Works_ScriptMaster.jar

Aug 29, 2008 2:09:23 PM com.prosc.fmkit.PluginBridge getPluginClassNameForPluginJar

CONFIG: Loading Plugin class named com.prosc.beanshell.BeanShellPlugin

Aug 29, 2008 2:09:23 PM com.prosc.fmkit.PluginBridge 

INFO: 360Works custom SecurityManager has been installed

Aug 29, 2008 2:09:23 PM com.prosc.beanshell.BeanShellPlugin customizeFunction

INFO: Function PluginFunction{name='EvaluateGroovy', functionID=28121, minArgs=null, maxArgs=1} runs in swing

Aug 29, 2008 2:09:23 PM com.prosc.fmkit.PluginBridge scanFunctions

WARNING: Can't do conversions for at least one plugin function

com.prosc.fmkit.types.FMType$UnsupportedTypeConversionException: (-2): No conversion capability for class java.lang.Object

	at com.prosc.fmkit.types.FMType.converterForClass(FMType.java:57)

	at com.prosc.fmkit.StaticFunction.initialize(StaticFunction.java:70)

	at com.prosc.fmkit.StaticFunction.(StaticFunction.java:48)

	at com.prosc.fmkit.PluginBridge.scanFunctions(PluginBridge.java:1065)

	at com.prosc.fmkit.PluginBridge.fmxInit(PluginBridge.java:588)

Aug 29, 2008 2:09:23 PM com.prosc.fmkit.PluginBridge fmxInit

INFO: Creating shared PluginBridge instance / plugin bridge version 1.51

bundlePath: C:Program FilesFileMakerFileMaker ServerWeb Publishingpublishing-enginewpcPlugins360Works_ScriptMaster.fmx;C:Documents and SettingsnambetechLocal SettingsTemp/360Works_ScriptMaster.jar

jvm version: 10.0-b23 from C:Program FilesJavajre1.6.0_07

Operating system info: Windows 2003 5.2 running on x86 architecture

Aug 29, 2008 2:09:23 PM com.prosc.fmkit.PluginBridge fmxInit

CONFIG: Initialize 360Works ScriptMaster

Aug 29, 2008 2:09:23 PM com.prosc.fmkit.Plugin init

CONFIG: Created new plugin instance: com.prosc.beanshell.BeanShellPlugin named 360Works ScriptMaster; version: 2.03

Aug 29, 2008 2:09:24 PM com.prosc.fmkit.PluginBridge fmxInit

CONFIG: Return VERSION_CURRENT: 51

Aug 29, 2008 2:14:02 PM com.prosc.beanshell.BeanShellPlugin RegisterGroovy

INFO: Registering function 'AuditLog_Revert'

Aug 29, 2008 2:14:10 PM com.prosc.beanshell.BeanShellPlugin RegisterGroovy

INFO: Registering function 'AuditLog_AddDelete( UniqueField )'

Aug 29, 2008 2:14:11 PM com.prosc.beanshell.BeanShellPlugin RegisterGroovy

INFO: Registering function 'AuditLog_AddEdit( UniqueField ; FieldsToExclude )'

Aug 29, 2008 2:14:13 PM com.prosc.beanshell.BeanShellPlugin RegisterGroovy

INFO: Registering function 'AuditLog_AddInit( UniqueField ; FieldsToExclude )'

Aug 29, 2008 2:14:15 PM com.prosc.beanshell.BeanShellPlugin RegisterGroovy

INFO: Registering function 'Select_Attachement_File'

Anyone else seeing a similar issue? Any advice?

I'm going to try running the server with the plugin installed under WPE and not making any RegisterGroovy calls of a day or so. This should tell me if it's an issue with RegisterGroovy or the Plugin itself.

Thanks,

Salvador

  • Author

WPE just crashed again without any RegisterGroovy calls. Time to try removing the ScriptMaster plugin.

Sal

  • Author

WPE has been running for 2.5 day with no problems now that I have removed Scriptmaster.

I also noticed the following post regarding WPE crashes on a MAC server:

http://fmforums.com/forum/showtopic.php?tid/195274/

I guess it's time to start looking for an alternative.

Hopefully this plugin becomes more stable down the line.

Salvador

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.