Colleen Posted June 10, 2010 Posted June 10, 2010 I have SuperContainer configured to point to an external file server to store documents (ie: not on the same box as FMSA) I can upload a file using the Web Viewer successfully. I can see the file icon in the Web Viewer and I can see it on the document server. However, when I then run a script using the Companion PlugIn SCGetInfo function I get ERROR 404 and the following entry in my log file: Jun 10, 2010 10:17:00 AM com.prosc.fmkit.Plugin setLastError SEVERE: PluginFunction PluginFunction{name='SCGetInfo', functionID=-8372, minArgs=1, maxArgs=-1} got an error with converted args [/Templates/Form/Agreements/CDA/273, null] com.prosc.supercontainer.plugin.IOExceptionWithHttpCode: SuperContainer server returned an error code of 404 at com.prosc.supercontainer.plugin.SCPluginModel.validateVersionAndResponseCode(SCPluginModel.java:480) at com.prosc.supercontainer.plugin.SCPluginModel.getResourceInfo(SCPluginModel.java:634) at com.prosc.supercontainer.plugin.SuperContainerPlugin.SCGetInfo(SuperContainerPlugin.java:240) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.prosc.fmkit.StaticFunction.invoke(StaticFunction.java:229) at com.prosc.fmkit.Plugin.invokeFunction(Plugin.java:316) at com.prosc.fmkit.Plugin.invokeFunctionNoErrors(Plugin.java:300) at com.prosc.fmkit.PluginBridge$3.run(PluginBridge.java:913) at com.prosc.fmkit.PluginBridge.runTask(PluginBridge.java:1026) at com.prosc.fmkit.PluginBridge.doFunction(PluginBridge.java:924) Jun 10, 2010 10:17:00 AM com.prosc.fmkit.PluginBridge doFunction INFO: finished doFunction: SCGetInfo The URL calc I am using to upload the file is the same* as the URL calc I am using for the SCGetInfo call. (* Web Viewer calc uses the BaseURL, the SCGetInfo calc does not as the BaseURL is set upon file open) What am I doing wrong? Many thanks! Colleen
Smef Posted June 10, 2010 Posted June 10, 2010 I haven't seen this sort of error before, and am not able to reproduce this issue. Are you using both the latest version of SuperContainer and the Companion plugin? Also make sure that your java is up-to-date as well, at Java 6 Update 20. Is there a file at /Templates/Form/Agreements/CDA/273 if you go to it in the browser? You may also want to try this in a clean database file where there are no other scripts or settings which could be interfering. Make a new file, manually upload a file to a URL such as SuperContainer/Files/Test, and then use the scgetinfo function to get the information for that URL by manually setting the scgetinfo and scsetbaseurl functions, rather then using a variable or calculation.
Colleen Posted June 10, 2010 Author Posted June 10, 2010 Is there a file at /Templates/Form/Agreements/CDA/273 if you go to it in the browser? Yes. I attempted this with an empty file and tried to replicate the problem as you suggested; however I got the same result. A file uploads to /Test using a web viewer, but I get the 404 error when using scgetinfo. I am able to see this file in the browser as well at the location: http://.../SuperContainer/Files/Test/ I am running version 2.73 of both the plug-in & SuperContainer. I'm running Java 1.6.7_18. Updating SuperContainer is not a 'quick' test as it involves a special request to the IT department; however, if you feel strongly that this will solve the problem I can put in the request and wait a week or so to test again. Updating Java makes me nervous. We are also using Productive Computing's Outlook Manipulator... and at this time all other SuperContainer & Outlook Manipulator functions seem to be workingfingers>. However, if you are aware of issues with update 18 that were fixed in 19/20 which could impact this behavior I'll try that. Is there any additional information I can provide that might assist you in determining why this error is occurring? Thanks!
Smef Posted June 11, 2010 Posted June 11, 2010 If updating your server is a big issue you may want to try updating your SuperContaier Companion plugin on your local machine as a first step. There have been a lot of fixes between 2.73 and 2.746, so this may resolve your issue.
Colleen Posted June 11, 2010 Author Posted June 11, 2010 OK- So I just installed the SCCompanion plugin. I can see under FilemMaker's Edit-Preferences-Plugins that I have version 2.746 installed. However, if I then open the data viewer & enter 'SCVersion' I get '?' ... I have restarted both Windows & FileMaker several times; no luck. Here is the log: (C++ Fri Jun 11 12:35:57 2010) *** INIT for SuperContainer Companion Plugin_FMAdvanced at Fri Jun 11 12:35:57 2010, headless mode 0 (C++ Fri Jun 11 12:35:57 2010) Found JVM dll at C:Program FilesJavajre6binclientjvm.dll (C++ Fri Jun 11 12:35:57 2010) writeAttachedJarFile() writing jar C:DOCUME~1ADMINI~1LOCALS~1TempSuperContainer_Companion_Plugin.jar (C++ Fri Jun 11 12:35:57 2010) URL to load plugin from is file:///C:/Documents and Settings/Administrator/Local Settings/Temp/SuperContainer_Companion_Plugin.jar Jun 11, 2010 11:35:57 AM com.prosc.fmkit.PluginBridge initLogging CONFIG: Will write normal log file to C:Documents and SettingsAdministratorMy Documents360Plugin LogsSuperContainer Companion Plugin_FMAdvanced.log Jun 11, 2010 11:35:57 AM com.prosc.fmkit.PluginBridge initWindows CONFIG: Loading dynamic library at C:Documents and SettingsAdministratorLocal SettingsApplication DataFileMakerExtensionsSuperContainer_Companion_Plugin.fmx Jun 11, 2010 11:35:57 AM com.prosc.fmkit.PluginBridge initWindows CONFIG: Loading plugin jar at C:Documents and SettingsAdministratorLocal SettingsTempSuperContainer_Companion_Plugin.jar Jun 11, 2010 11:35:58 AM com.prosc.fmkit.PluginBridge getPluginClassNameForPluginJar CONFIG: Loading Plugin class named com.prosc.supercontainer.plugin.SuperContainerPlugin Jun 11, 2010 11:35:58 AM com.prosc.fmkit.PluginBridge$1 checkPermission INFO: You cannot change the security manager once it is installed by the 360Works plugin library Jun 11, 2010 11:35:58 AM com.prosc.fmkit.PluginBridge fmxInit INFO: Creating shared PluginBridge instance / plugin bridge version 1.61 bundlePath: C:Documents and SettingsAdministratorLocal SettingsApplication DataFileMakerExtensionsSuperContainer_Companion_Plugin.fmx;C:Documents and SettingsAdministratorLocal SettingsTempSuperContainer_Companion_Plugin.jar jvm version: 16.0-b13 from C:Program FilesJavajre6 Operating system info: Windows XP 5.1 running on x86 architecture Jun 11, 2010 11:35:58 AM com.prosc.fmkit.PluginBridge fmxInit CONFIG: Initialize SuperContainer Companion Plugin Jun 11, 2010 11:35:58 AM com.prosc.fmkit.Plugin init CONFIG: Created new plugin instance: com.prosc.supercontainer.plugin.SuperContainerPlugin named SuperContainer Companion Plugin; version: 2.746 Jun 11, 2010 11:35:58 AM com.prosc.fmkit.PluginBridge fmxInit CONFIG: Return VERSION_CURRENT: 51 Jun 11, 2010 11:35:58 AM com.prosc.fmkit.PluginBridge initLogging CONFIG: Will write normal log file to C:Documents and SettingsAdministratorMy Documents360Plugin Logs360Works Scribe_FMAdvanced.log Jun 11, 2010 11:35:58 AM com.prosc.fmkit.PluginBridge initWindows CONFIG: Loading dynamic library at C:Program FilesFileMakerFileMaker Pro 10 AdvancedExtensions360Works_Scribe.fmx Jun 11, 2010 11:35:58 AM com.prosc.fmkit.PluginBridge initWindows CONFIG: Loading plugin jar at C:Documents and SettingsAdministratorLocal SettingsTemp360Works_Scribe.jar Jun 11, 2010 11:35:58 AM com.prosc.fmkit.PluginBridge getPluginClassNameForPluginJar CONFIG: Loading Plugin class named com.prosc.scribe.Scribe Jun 11, 2010 11:35:58 AM com.prosc.fmkit.PluginBridge$1 checkPermission INFO: You cannot change the security manager once it is installed by the 360Works plugin library Jun 11, 2010 11:35:58 AM com.prosc.fmkit.PluginBridge fmxInit INFO: Creating shared PluginBridge instance / plugin bridge version 1.61 bundlePath: C:Program FilesFileMakerFileMaker Pro 10 AdvancedExtensions360Works_Scribe.fmx;C:Documents and SettingsAdministratorLocal SettingsTemp360Works_Scribe.jar jvm version: 16.0-b13 from C:Program FilesJavajre6 Operating system info: Windows XP 5.1 running on x86 architecture Jun 11, 2010 11:35:58 AM com.prosc.fmkit.PluginBridge fmxInit CONFIG: Initialize 360Works Scribe Jun 11, 2010 11:35:58 AM com.prosc.fmkit.Plugin init CONFIG: Created new plugin instance: com.prosc.scribe.Scribe named 360Works Scribe; version: 1.118 Jun 11, 2010 11:35:59 AM com.prosc.fmkit.PluginBridge fmxInit CONFIG: Return VERSION_CURRENT: 51 Jun 11, 2010 11:35:59 AM com.prosc.fmkit.PluginBridge initLogging CONFIG: Will write normal log file to C:Documents and SettingsAdministratorMy Documents360Plugin Logs360Works ScriptMaster_FMAdvanced.log Jun 11, 2010 11:35:59 AM com.prosc.fmkit.PluginBridge initWindows CONFIG: Loading dynamic library at C:Program FilesFileMakerFileMaker Pro 10 AdvancedExtensions360Works_ScriptMaster.fmx Jun 11, 2010 11:35:59 AM com.prosc.fmkit.PluginBridge initWindows CONFIG: Loading plugin jar at C:Documents and SettingsAdministratorLocal SettingsTemp360Works_ScriptMaster.jar Jun 11, 2010 11:35:59 AM com.prosc.fmkit.PluginBridge getPluginClassNameForPluginJar CONFIG: Loading Plugin class named com.prosc.beanshell.BeanShellPlugin Jun 11, 2010 11:35:59 AM com.prosc.fmkit.PluginBridge$1 checkPermission INFO: You cannot change the security manager once it is installed by the 360Works plugin library Jun 11, 2010 11:35:59 AM com.prosc.beanshell.BeanShellPlugin customizeFunction INFO: Function PluginFunction{name='EvaluateGroovy', functionID=28121, minArgs=null, maxArgs=1} runs in swing Jun 11, 2010 11:35:59 AM com.prosc.fmkit.PluginBridge fmxInit INFO: Creating shared PluginBridge instance / plugin bridge version 1.61 bundlePath: C:Program FilesFileMakerFileMaker Pro 10 AdvancedExtensions360Works_ScriptMaster.fmx;C:Documents and SettingsAdministratorLocal SettingsTemp360Works_ScriptMaster.jar jvm version: 16.0-b13 from C:Program FilesJavajre6 Operating system info: Windows XP 5.1 running on x86 architecture Jun 11, 2010 11:35:59 AM com.prosc.fmkit.PluginBridge fmxInit CONFIG: Initialize 360Works ScriptMaster Jun 11, 2010 11:35:59 AM com.prosc.fmkit.Plugin init CONFIG: Created new plugin instance: com.prosc.beanshell.BeanShellPlugin named 360Works ScriptMaster; version: 3.31 Jun 11, 2010 11:35:59 AM com.prosc.fmkit.PluginBridge fmxInit CONFIG: Return VERSION_CURRENT: 51 Jun 11, 2010 11:36:04 AM com.prosc.fmkit.PluginBridge initLogging CONFIG: Will write normal log file to C:Documents and SettingsAdministratorMy Documents360Plugin Logs360Works Textractor_FMAdvanced.log Jun 11, 2010 11:36:04 AM com.prosc.fmkit.PluginBridge initWindows CONFIG: Loading dynamic library at C:Program FilesFileMakerFileMaker Pro 10 AdvancedExtensions360Works_Textractor.fmx Jun 11, 2010 11:36:04 AM com.prosc.fmkit.PluginBridge initWindows CONFIG: Loading plugin jar at C:Documents and SettingsAdministratorLocal SettingsTemp360Works_Textractor.jar Jun 11, 2010 11:36:04 AM com.prosc.fmkit.PluginBridge getPluginClassNameForPluginJar CONFIG: Loading Plugin class named com.prosc.textractor.Textractor Jun 11, 2010 11:36:04 AM com.prosc.fmkit.PluginBridge$1 checkPermission INFO: You cannot change the security manager once it is installed by the 360Works plugin library Jun 11, 2010 11:36:04 AM com.prosc.fmkit.PluginBridge fmxInit INFO: Creating shared PluginBridge instance / plugin bridge version 1.61 bundlePath: C:Program FilesFileMakerFileMaker Pro 10 AdvancedExtensions360Works_Textractor.fmx;C:Documents and SettingsAdministratorLocal SettingsTemp360Works_Textractor.jar jvm version: 16.0-b13 from C:Program FilesJavajre6 Operating system info: Windows XP 5.1 running on x86 architecture Jun 11, 2010 11:36:04 AM com.prosc.fmkit.PluginBridge fmxInit CONFIG: Initialize 360Works Textractor Jun 11, 2010 11:36:04 AM com.prosc.fmkit.Plugin init CONFIG: Created new plugin instance: com.prosc.textractor.Textractor named 360Works Textractor; version: 1.671 Jun 11, 2010 11:36:04 AM com.prosc.fmkit.PluginBridge fmxInit CONFIG: Return VERSION_CURRENT: 51 (C++ Fri Jun 11 12:36:42 2010) *** DO PREFS *** Jun 11, 2010 11:36:42 AM com.prosc.fmkit.PluginBridge fmxDoAppPreferences SEVERE: Unexpected exception while displaying preferences java.lang.NoClassDefFoundError: com/prosc/fmkit/PluginBridge$2 at com.prosc.fmkit.PluginBridge.fmxDoAppPreferences(PluginBridge.java:781) Caused by: java.lang.ClassNotFoundException: com.prosc.fmkit.PluginBridge$2 at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 1 more Jun 11, 2010 11:37:39 AM com.prosc.fmkit.PluginBridge doFunction CONFIG: === doFunction SCVersion called on thread: main, eventLoopDepth is 0 === Jun 11, 2010 11:37:40 AM com.prosc.fmkit.PluginBridge doFunction SEVERE: Throwable: java.lang.NoClassDefFoundError: com/prosc/fmkit/PluginBridge$3 java.lang.NoClassDefFoundError: com/prosc/fmkit/PluginBridge$3 at com.prosc.fmkit.PluginBridge.doFunction(PluginBridge.java:852) Caused by: java.lang.ClassNotFoundException: com.prosc.fmkit.PluginBridge$3 at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 1 more
Smef Posted June 14, 2010 Posted June 14, 2010 The "?" in a field means one of two things - either the plugin is not loaded (and if it is checked in your plugin list, it is) or ther eis not enough space in your field to display the data stored in your field. Try making your field larger and see if the result will show in there. I also see that you have an older version of scriptmaster installed. Be sure to update that plugin to 3.33, which is the latest version, as the older one you are using was designed for older versions of java, and so there may be conflicts.
Recommended Posts
This topic is 5277 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now