[FX.php List] Is it possible to programmatically restart FMSA Web
Publishing Engine?
Gjermund Gusland Thorsen
ggt667 at gmail.com
Tue May 25 13:28:29 MDT 2010
I am curious if this will stop WPE
sudo kill 48394
And this will start it:
---
/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home/bin/java
-server -Xmx512M
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=../conf/logging.properties
-Djava.endorsed.dirs=../../../../Common/Tomcat/common/endorsed
-classpath :../../../../Common/Tomcat/bin/bootstrap.jar:../../../../Common/Tomcat/bin/commons-logging-api.jar
-Dcatalina.base=.. -Dcatalina.home=../../../../Common/Tomcat
-Djava.io.tmpdir=../temp org.apache.catalina.startup.Bootstrap
/Library/FileMaker Server/Web Publishing/publishing-engine/cwpe-tomcat
start
ggt
2010/5/25 Gjermund Gusland Thorsen <ggt667 at gmail.com>:
> I found a template here: http://www.24usoftware.com/PlugInTemplate
>
> But not sure if that is Pro only?
>
> Do you know if plug-ins can for server can use the same API as pro?
>
> ggt
>
> 2010/5/25 Steve Winter <steve at bluecrocodile.co.nz>:
>> That one I have no idea about...!! Java is a whole 'nother language I don't
>> speak (like Flemish, and Udu, and far too many more to list ;-)
>> Cheers
>> Steve
>>
>>
>>
>> On 25 May 2010, at 17:35, Gjermund Gusland Thorsen wrote:
>>
>> I wonder if the FM SDK / API will allow for a server side script to be
>> written than can turn WPE off and on, or perhaps a kill is what need
>> to be performed?
>>
>> I really did expect an answer looking more or less like these
>> java/shell "riddles"
>>
>> 48394 ?? R 0:47.85
>> /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home/bin/java
>> -server -Xmx512M
>> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
>> -Djava.util.logging.config.file=../conf/logging.properties
>> -Djava.endorsed.dirs=../../../../Common/Tomcat/common/endorsed
>> -classpath
>> :../../../../Common/Tomcat/bin/bootstrap.jar:../../../../Common/Tomcat/bin/commons-logging-api.jar
>> -Dcatalina.base=.. -Dcatalina.home=../../../../Common/Tomcat
>> -Djava.io.tmpdir=../temp org.apache.catalina.startup.Bootstrap
>> /Library/FileMaker Server/Web Publishing/publishing-engine/cwpe-tomcat
>> start
>>
>> But I’m no good with java
>>
>> and there is also some stuff in this folder: /Library/FileMaker
>> Server/Web Publishing/publishing-engine/wpc/FM Web
>> Publishing.app/Contents/MacOS/FM Web Publishing
>>
>> ggt
>>
>> 2010/5/25 Gjermund Gusland Thorsen <ggt667 at gmail.com>:
>>
>> Ahh, I see this STOP is not WPE, but database-related.
>>
>> ggt
>>
>> 2010/5/25 Gjermund Gusland Thorsen <ggt667 at gmail.com>:
>>
>> For the record, it is of course possible to run that tool on a cron, or from
>>
>> some other command line tool, but in this case that's of no help to you,
>>
>> since it would have to completely stop, then start, the entire server, thus
>>
>> disconnecting not only any web clients, but all FM clients as well...
>>
>> Cheers
>>
>> Steve
>>
>> Please enlighten me.
>>
>> To solvet he case now I log in using VNC, then I click the WPE stop
>>
>> icon, then I click the WPE start icon,
>>
>> and then the problems are gone.
>>
>> Will this approach not work using command line?
>>
>> ggt
>>
>>
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>
>> Steve Winter
>> steve at bluecrocodile.co.nz
>> m: +44 77 7852 4776
>> 3 Calshot Court, Channel Way
>> Ocean Village, Southampton SO14 3GR
>> I ran the London Marathon to raise money for UK Youth. You can still sponsor
>> me here.
>>
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>
>>
>
More information about the FX.php_List
mailing list