From: <php...@li...> - 2007-03-28 14:40:14
|
Hi, I have Suse Linux 10.1 installed, I can start the JavaBridge by calling "java -jar javabridge.jar SERVLET_LOCAL:8080" on console. I now want to persist the JavaBridge. This means: starting automatically on startup of the machine. How can I do this? I already tried to write an init.d-script with the console command mentioned above, but that didn't work out. Could anyone give me some hints on this topic? Best regards Daniel Preis -- "Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail -- "Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail |
From: <php...@li...> - 2007-03-28 15:34:11
|
> I now want to persist the JavaBridge. This means: > starting automatically on startup of the machine. Just install tomcat. The command checkconfig tomcat5 on should work. Or open the "services" dialog and click on the tomcat service to enable it. ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2007-03-29 18:24:32
|
pjbulsn> That is PHP's way to tell you that you've made a pjbulsn> mistake. You should be able to see the PHP error pjbulsn> message in the error log. Presumably URL access is pjbulsn> disabled in your php.ini. pjbulsn> In any case, this isn't a PHP/Java Bridge problem. pjbulsn> Please report PHP problems to the PHP bug tracker, not pjbulsn> to us. I didn't want to file a bug. I just wanted help and posted my experience so someone would be able to help me. Sorry. >> occured. Probably php >> was not installed as "/usr/bin/php-cgi" >> or "c:/php/php-cgi.exe" >> or >> "/srv/www/tomcat5/base/webapps/JavaBridge/WEB- >> INF/cgi/php-cgi-i386-linux[.sh]|[.exe]". >> Please see "php_exec" in your WEB-INF/web.xml and pjbulsn> WEB-INF/cgi/README >> for details. pjbulsn> I think this one is obvious. Perhaps to you. Is my assumption right, that I have to install additionally to already available PHP 5.1.2 another PHP-CGI-Version and refer to the executable in the web.xml? Or can I just refer to the executable of the PHP 5.1.2? Best regards Daniel -- "Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ... Jetzt GMX ProMail testen: http://www.gmx.net/de/go/promail |
From: <php...@li...> - 2007-03-30 09:52:45
|
[empty file] > pjbulsn> That is PHP's way to tell you that you've > made a > pjbulsn> mistake. > I didn't want to file a bug. Please do. This problem comes up from time to time. IMHO it is a mistake to return an empty page instead of a clear error message. In Java for example you'll always get a clear error message and a stack trace, not just an empty file. > >> php was not installed as "/usr/bin/php-cgi" > >> or "c:/php/php-cgi.exe" > >> Please see "php_exec" in your WEB-INF/web.xml and > pjbulsn> WEB-INF/cgi/README > >> for details. > > pjbulsn> I think this one is obvious. > > Perhaps to you. > Is my assumption right, that I have to install > additionally to already available PHP 5.1.2 Almost all PHP packages contain a php-cgi.exe which differs from the cli variant php.exe. This isn't (or shouldn't be) different on Linux or Unix machines. If some Linux package installs the PHP cgi exe as "php" instead of "php-cgi", please file a bug report. Regards, Jost Boekemeier ___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de |
From: <php...@li...> - 2007-03-30 10:28:47
|
I finally got it working. I just downloaded source, phpized it and installed it as module to php. Now it is persistent. No use of Tomcat... Daniel -------- Original-Nachricht -------- Datum: Fri, 30 Mar 2007 11:52:39 +0200 (CEST) Von: php...@li... An: php...@li... Betreff: Re: [Php-java-bridge-users] Persisting Php-Java-Bridge > > [empty file] > > pjbulsn> That is PHP's way to tell you that you've > > made a > > pjbulsn> mistake. > > > I didn't want to file a bug. > > Please do. This problem comes up from time to time. > IMHO it is a mistake to return an empty page instead > of a clear error message. In Java for example you'll > always get a clear error message and a stack trace, > not just an empty file. > > > > >> php was not installed as "/usr/bin/php-cgi" > > >> or "c:/php/php-cgi.exe" > > >> Please see "php_exec" in your WEB-INF/web.xml and > > pjbulsn> WEB-INF/cgi/README > > >> for details. > > > > pjbulsn> I think this one is obvious. > > > > Perhaps to you. > > Is my assumption right, that I have to install > > additionally to already available PHP 5.1.2 > > Almost all PHP packages contain a php-cgi.exe which > differs from the cli variant php.exe. > > This isn't (or shouldn't be) different on Linux or > Unix machines. If some Linux package installs the PHP > cgi exe as "php" instead of "php-cgi", please file a > bug report. > > > Regards, > Jost Boekemeier > > > > > > > > ___________________________________________________________ > Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: > http://mail.yahoo.de > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users -- "Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ... Jetzt GMX ProMail testen: http://www.gmx.net/de/go/promail |