You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(6) |
Oct
(6) |
Nov
(8) |
Dec
(2) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(19) |
Feb
(15) |
Mar
(10) |
Apr
(8) |
May
(7) |
Jun
(9) |
Jul
(13) |
Aug
(31) |
Sep
(111) |
Oct
(52) |
Nov
(72) |
Dec
(42) |
2006 |
Jan
(21) |
Feb
(32) |
Mar
(33) |
Apr
(24) |
May
(15) |
Jun
(40) |
Jul
(32) |
Aug
(19) |
Sep
(38) |
Oct
(37) |
Nov
(63) |
Dec
(37) |
2007 |
Jan
(18) |
Feb
(39) |
Mar
(69) |
Apr
(49) |
May
(71) |
Jun
(59) |
Jul
(71) |
Aug
(85) |
Sep
(46) |
Oct
(14) |
Nov
(25) |
Dec
(56) |
2008 |
Jan
(24) |
Feb
(77) |
Mar
(104) |
Apr
(44) |
May
(41) |
Jun
(11) |
Jul
(31) |
Aug
(59) |
Sep
(44) |
Oct
(86) |
Nov
(66) |
Dec
(93) |
2009 |
Jan
(88) |
Feb
(41) |
Mar
(49) |
Apr
(135) |
May
(22) |
Jun
(31) |
Jul
(60) |
Aug
(71) |
Sep
(76) |
Oct
(18) |
Nov
(52) |
Dec
(20) |
2010 |
Jan
(8) |
Feb
(50) |
Mar
(35) |
Apr
(48) |
May
(46) |
Jun
(84) |
Jul
(38) |
Aug
(61) |
Sep
(51) |
Oct
(31) |
Nov
(17) |
Dec
(18) |
2011 |
Jan
(51) |
Feb
(14) |
Mar
(17) |
Apr
(23) |
May
(15) |
Jun
(11) |
Jul
(5) |
Aug
(5) |
Sep
(15) |
Oct
(8) |
Nov
(5) |
Dec
(25) |
2012 |
Jan
(2) |
Feb
(4) |
Mar
(6) |
Apr
(9) |
May
(27) |
Jun
(32) |
Jul
(36) |
Aug
(10) |
Sep
(16) |
Oct
(3) |
Nov
(13) |
Dec
(7) |
2013 |
Jan
(1) |
Feb
(4) |
Mar
|
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(4) |
Oct
(2) |
Nov
(1) |
Dec
|
2014 |
Jan
|
Feb
|
Mar
(2) |
Apr
(1) |
May
(2) |
Jun
(9) |
Jul
(5) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
|
Dec
|
2015 |
Jan
(3) |
Feb
(2) |
Mar
(4) |
Apr
(3) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
(5) |
Oct
(1) |
Nov
|
Dec
|
2016 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(5) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
2017 |
Jan
(6) |
Feb
|
Mar
|
Apr
(10) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
2018 |
Jan
(2) |
Feb
(5) |
Mar
|
Apr
|
May
(1) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2021 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <php...@li...> - 2006-02-22 15:22:25
|
Hi, This my second post but I'm really lost with my project... So, I've chosen the iCal4j library available here : http://ical4j.sourceforge.net/ I want to create iCal using Java and PHP. This library is, according to me, the best way ! There is a nice documentation : http://ical4j.sourceforge.net/introduction.html and a complete API list. I've tried to create iCal using the introduction.html of the Ben Fortuna's website (http://ical4j.sourceforge.net/introduction.html) and I've failed t= o parse an ics file or create a simple icalendar object. This is a copy of my test.php <?php java_require("/var/www/java/ical4j-testing/jar/ical4j.jar"); echo "Test de la librarie iCal4J"; echo "<hr>"; echo "Cr=E9ation d'un iCalendar"; // On cr=E9=E9 un nouvel objet Calendar - We create a new Calendar object $calendar=3Dnew Java("net.fortuna.ical4j.model.Calendar"); // On cr=E9=E9 un nouvel objet objet ProdId avec le blabla qui suit - We cr= eate a new object ProdId $prodid=3Dnew Java("net.fortuna.ical4j.model.property.ProdId","-//Clem//Pro= ut 1.0//EN"); // On cr=E9e=E9 un nouvel objet Version - we create a new version object $version=3Dnew Java("net.fortuna.ical4j.model.property.Version"); // Puis on lui met la valeur que l'on veut - We set a value to the object $version->setValue("VERSION_2.0"); // On ajoute =E0 l'objet Calandar les propri=E9t=E9s - We add the propertie= s to the calendar object $calendar->getProperties()->add($prodid); $calendar->getProperties()->add($version); $vevent =3D new Java("net.fortuna.ical4j.model.component.VEvent",(String)"2= 0051225T190000",(String)"20051225T220000",(String)"Christmas Day"); // On cr=E9=E9 un objet calendar de sortie - We create an outputter calenda= r $outputter=3D new Java("net.fortuna.ical4j.data.CalendarOutputter"); // On cr=E9=E9 un objet de sortie - We create an output stream $sortie=3Dnew Java("java.io.FileOutputStream","/tmp/test.ics"); // On utilise la methode output de la classe CalendarOutputter - We use the ouput method $outputter->output($calendar,$sortie); ?> The test.php screenoutput is : Test de la librarie iCal4J ------------------------------ Cr=E9ation d'un iCalendar *Fatal error*: Uncaught [o(Exception):"java.lang.Exception: CreateInstance failed: new net.fortuna.ical4j.model.component.VEvent((Date)o(String), (Date)o(String), (String)o(String)). Cause: java.lang.IllegalArgumentException: argument type mismatch"] thrown in * /var/www/java/ical4j-testing/test.php* on line *25* Can you help me ? Could you say me how reproduce the simple examples of http://ical4j.sourceforge.net/introduction.html with php-java-bridge ?? Many thanks in advance. Regards. Clement -- Cl=E9ment Legrand |
From: <php...@li...> - 2006-02-17 22:21:26
|
Jost, Thanks for such quick response. That did the trick. Excellent work. This is the most useful PHP plug-in I've ever used. Kris On 2/17/06, php...@li... < php...@li...> wrote: > > Hi, > > I've fixed this bug for version 3.0.8, a snapshot is > here: > > > http://php-java-bridge.sourceforge.net/snaps/3.0.8pre/ > > Can you please start jboss and copy the JavaBridge.war > and documentBean.jar to > $jboss_home/server/default/deploy and run the > documentClient.php test: > > http://localhost:8080/JavaBridge/documentClient.php > > I have tested it on a linux machine with jboss 4.x. > > > > Could you give me some direction as to where I would > > be adding the policy file > > Difficult. It seems that jboss already has a > server.policy file (in the server/default/conf), but > this file grants all permissions. At the moment I have > no idea how to change this, sorry. > > But I hope the above snapshot already solves this > problem. > > > Regards, > Jost Boekemeier > > > > > > > > ___________________________________________________________ > Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat= =3D121642 > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
From: <php...@li...> - 2006-02-17 18:41:43
|
Hi, > PHP 5.1.2, and (as said in the orginal post) the > bridge compiled from Feb, > 7th CVS. okay, and the OS? I can't reproduce this problem, neither on unix (solaris, linux) nor on windows. BTW: When you update the sources make sure to regenerate the .c and .h files from the .in templates. If you don't, you'll end up with a mixture of old and new code. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-02-17 18:37:08
|
Hi, I've fixed this bug for version 3.0.8, a snapshot is here: http://php-java-bridge.sourceforge.net/snaps/3.0.8pre/ Can you please start jboss and copy the JavaBridge.war and documentBean.jar to $jboss_home/server/default/deploy and run the documentClient.php test: http://localhost:8080/JavaBridge/documentClient.php I have tested it on a linux machine with jboss 4.x. > Could you give me some direction as to where I would > be adding the policy file Difficult. It seems that jboss already has a server.policy file (in the server/default/conf), but this file grants all permissions. At the moment I have no idea how to change this, sorry. But I hope the above snapshot already solves this problem. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-02-17 09:38:37
|
Jost, Sorry for the late response. > do you use php 5.1.x or php 5.0.x? And which version > of the bridge do you use? PHP 5.1.2, and (as said in the orginal post) the bridge compiled from Feb, 7th CVS. I guess that would mean that the linked changeset can't be the problem. I have opened a bug report: http://sourceforge.net/tracker/index.php?func=detail&aid=1433448&group_id=11 7793&atid=679233 Thanks for your great work, Michael > -----Original Message----- > From: php...@li... [mailto:php-java- > bri...@li...] > Sent: Friday, February 10, 2006 8:44 PM > To: php...@li... > Subject: RE: [Php-java-bridge-users] PHP Segfaults > > Hi, > > > Whenever I run PHP from the command line, I get a > > "Segmentation fault" fault right before it exists > > do you use php 5.1.x or php 5.0.x? And which version > of the bridge do you use? > > > > It doesn't matter whether it actually running a > > script, or just showing version info, whatever > > So it crashes in mshutdown even if the zend object > store doesn't contain any java objects. A bug that > could cause this behaviour was fixed in 3.0.5: > http://cvs.sourceforge.net/viewcvs.py/php-java-bridge/php-java- > bridge/client.c?r1=1.78&r2=1.79 > The new pipe communication channel was not initialized > correctly in 3.0.4. > > Can you please open a problem report, please use: > > http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233 > > and append php, bridge and os version numbers and the > generated core dump (if any) at the end of the ticket? > > Thank you very much for the bug report. > > > Regards, > Jost Boekemeier > > > > > > > > ___________________________________________________________ > Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2006-02-16 20:38:41
|
Jost, I really appreciate your help looking into this issue. Unfortunately JBoss is the only choice I have at the moment. I'm somewhat new to the J2EE AS arena and have a newbie question to ask. Could you give me some direction as to where I would be adding the policy file or where I should be looking? Am I disabling the dynamic classloader in the bridge or for the JavaBridge WAR in the AS? Thank you, Kris On 2/16/06, php...@li... < php...@li...> wrote: > > Hi, > > I was able to reproduce this problem with our > classloader. > > I will switch it off when the backend runs in a > servlet engine or a j2ee application server. > > The whole concept of the dynamic classloader doesn't > work when the j2ee server uses two seperate > classloaders for the webapp and for the j2ee classes. > > The org.jnp.interfaces.NamingContextFactory is in the > jboss j2ee classpath, it is not visible to the webapp > classloader. Since the dynamic classloader only > delegates to its parent and doesn't have access to the > jboss j2ee classloader the code: > > new Java("org.jnp.interfaces.NamingContextFactory") > > always fails when the dynamic classloader is set as > the bridge thread context classloader. > > The situation is different when the dynamic > classloader runs within our standalone container, so I > will not remove it entirely. But j2ee or servlet > environments have their own way to handle jar and > class files. > > As a workaround please add a policy file which > disables the dynamic classloader, or use a commercial > AS which ships with a reasonable policy file. The Sun > J2EE AS 8.1 for example ships with a default policy > file which denies us to dynamically load classes, so > the dynamic classloader is switched off automatically. > > > Regards, > Jost Boekemeier > > > > > > > > > > ___________________________________________________________ > Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat= =3D121642 > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
From: <php...@li...> - 2006-02-16 18:00:44
|
Hi, > forget, i have it up and running from source great. :) ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-02-16 17:53:27
|
Hi, I was able to reproduce this problem with our classloader. I will switch it off when the backend runs in a servlet engine or a j2ee application server. The whole concept of the dynamic classloader doesn't work when the j2ee server uses two seperate classloaders for the webapp and for the j2ee classes. The org.jnp.interfaces.NamingContextFactory is in the jboss j2ee classpath, it is not visible to the webapp classloader. Since the dynamic classloader only delegates to its parent and doesn't have access to the jboss j2ee classloader the code: new Java("org.jnp.interfaces.NamingContextFactory") always fails when the dynamic classloader is set as the bridge thread context classloader. The situation is different when the dynamic classloader runs within our standalone container, so I will not remove it entirely. But j2ee or servlet environments have their own way to handle jar and class files. As a workaround please add a policy file which disables the dynamic classloader, or use a commercial AS which ships with a reasonable policy file. The Sun J2EE AS 8.1 for example ships with a default policy file which denies us to dynamically load classes, so the dynamic classloader is switched off automatically. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-02-16 15:05:27
|
php...@li... wrote: > php...@li... schrieb: >> Hi, >> >>>> i just downloaded and installed >>> php-java-bridge-3.0.7-1.FC4.i386.rpm >>>> but it doesnt seem to work >> >> The FC4 is for FC4 :) The >> php-java-bridge-3.0.7-1.FC5.i386.rpm doesn't exist >> yet, but it should be possible to create it from the >> php-java-bridge-3.0.7*src.rpm (if not, please create a >> bug report). > > can you point me to clear howto about creating rpm from source rpms? :-/ > sorry for bother you with that ... forget, i have it up and running from source thanks for this software -- Sebastian Mendel www.sebastianmendel.de www.sf.net/projects/phpdatetime | www.sf.net/projects/phptimesheet |
From: <php...@li...> - 2006-02-16 07:00:27
|
php...@li... schrieb: > Hi, > >>> i just downloaded and installed >> php-java-bridge-3.0.7-1.FC4.i386.rpm >>> but it doesnt seem to work > > The FC4 is for FC4 :) The > php-java-bridge-3.0.7-1.FC5.i386.rpm doesn't exist > yet, but it should be possible to create it from the > php-java-bridge-3.0.7*src.rpm (if not, please create a > bug report). can you point me to clear howto about creating rpm from source rpms? :-/ sorry for bother you with that ... > We will make FC5 binaries available when FC5 becomes > available in a few months. too bad ... ;-) thanks anyway ... -- Sebastian |
From: <php...@li...> - 2006-02-15 18:42:12
|
Hi, > > i just downloaded and installed > php-java-bridge-3.0.7-1.FC4.i386.rpm > > but it doesnt seem to work The FC4 is for FC4 :) The php-java-bridge-3.0.7-1.FC5.i386.rpm doesn't exist yet, but it should be possible to create it from the php-java-bridge-3.0.7*src.rpm (if not, please create a bug report). We will make FC5 binaries available when FC5 becomes available in a few months. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-02-15 18:37:46
|
Hi, > Cannot instantiate class: > org.jnp.interfaces.NamingContextFactory assuming that you have copied the /usr/share/doc/php-java-bridge-devel-3.0.7/examples/j2ee/documentBean.jar to the jboss deploy directory and changed globals.php: // jboss specific changes in globals.php $app_url="jnp://127.0.0.1:1099"; put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory"); and documentClient.php: // jboss specific changes in documentClient.php java_require("/opt/jboss-4.0.2/client/;/usr/share/doc/php-java-bridge-devel-3.0.7/examples/j2ee/documentBean.jar"); include("globals.php"); $doc=createDocument($app_url, "DocumentEJB"); the example works with jboss, at least when the VM running the documentBean is different than the VM running the server part of documentBean (I haven't tested rmi/iiop within only one VM, yet). > was trying to load the jars in this style > java_require(" http://localhost/jnp-client.jar"); The java_require() makes the jnp classes available to the bridge, only. It does not "inject" the loaded classes into the application server. The above standalone example works because the client VM loads everything fresh from the bridge classloader and therefore the jnp-client classes are visible to the factory. But if the factory is already available to the global or jboss class loader and you load the jnp-client via java_require(), the global or jboss classloader would still report the jnp-client class as missing unless you make it available to the global or jboss class loader. BTW: Correct me if I am wrong, but is there a reason why delegate to the parent loader and then abort when the parent fails with anything than a ClassNotFoundException? I think we should check for other exceptions and try again w/o the parent; the code should try to load everything from the user's java_require path. In this case java_require("$jboss_home/client/) would work, regardless of how many classes the parent has cached. > In the JBoss console I get the following stack > trace: > php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:28) > > Caused by: javax.naming.NoInitialContextException : I think jsp and servlets have the same problem. I mean there must be some jboss installation instructions which probably state that one must copy the client jar file(s) into the webapp class path, to the WEB-INF/lib/ probably? I'll check the classpath issue, please see PR 1432361 for details (http://sourceforge.net/tracker/index.php?func=detail&aid=1432361&group_id=117793&atid=679233). Thank you very much for the bug report. However, I think it should be possible to add the required .jar files to the webapp classpath, but I have't tried it, yet. I will check the jboss documentation and add a note to our j2ee sample documentation for 3.0.8. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-02-15 14:21:58
|
Hi, First of all, I would like to say your work is amazing and this is an incredible tool. I've gotten the bridge running and everything was looking good until I tried instantiating JBoss' Initial Naming Context Factory. My goal is to run Apache 2 and PHP on the front-end and use the bridge to connect to an EJB3 Session Bean running on a JBoss AS 4. I believe this is simply a classpath issue but I have tried placing the JAR= s which I think it is looking for in all of the places I can think of. So I'll start with a the code. java_require(" http://localhost/jbossall-client.jar"); // My last resor= t was trying to load the jars in this style java_require(" http://localhost/jnp-client.jar"); $envt =3D array( "java.naming.factory.initial" =3D> "org.jnp.interfaces.NamingContex tFactory", "java.naming.factory.url.pkgs" =3D> " org.jboss.naming:org.jnp.interfaces ", "java.naming.provider.url" =3D> "jnp://localhost:1099" ); $ctx =3D new Java("javax.naming.InitialContext", $envt); // At this line = it fails... $cal =3D $ctx->lookup(" stickygroups-ear-0.1/LocalRemoteCalculator/remote")= ; In the JBoss console I get the following stack trace: 21:59:41,595 INFO [[/JavaBridge]] JavaBridge ERROR: Exception occured 21:59:41,595 ERROR [[/JavaBridge]] java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0... at sun.reflect.NativeConstructorAccessorImpl.newInstance ... at sun.reflect.DelegatingConstructorAccessorImpl.newInstance .. . at java.lang.reflect.Constructor.newInstance... at php.java.bridge.JavaBridge.CreateObject(JavaBridge.java:515) at php.java.bridge.Request.handleRequest(Request.java:406) at php.java.bridge.Request.handleRequests (Request.java:425) at php.java.bridge.http.ContextRunner.run(ContextRunner.java:71) at php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:28) Caused by: javax.naming.NoInitialContextException : Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: Could not find org.jnp.interfaces.NamingContextFactory in java_require() path] at javax.naming.spi.NamingManager.getInitialContext at javax.naming.InitialContext.getDefaultInitCtx( at javax.naming.InitialContext.init(InitialContext.java:223) at javax.naming.InitialContext .<init>(InitialContext.java:197) ... 9 more Caused by: java.lang.ClassNotFoundException: Could not find org.jnp.interfaces.NamingContextFactory in java_require() path at php.java.bridge.DynamicJavaBridgeClassLoader.loadClass ( DynamicJavaBridgeClassLoader.java:272) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at com.sun.naming.internal.VersionHelper12.loadClass at javax.naming.spi.NamingManager.getInitialContext ... 12 more Caused by: java.lang.ClassNotFoundException: Class org.jnp.interfaces.NamingContextFactory not found at php.java.bridge.DynamicClassLoader.loadClass( DynamicClassLoader.java: 379) at php.java.bridge.DynamicJavaBridgeClassLoader.loadClass( DynamicJavaBridgeClassLoader.java:270) ... 17 more The class file it is looking for is in the jnp-client.jar. The other place= s which I have tried placing jnp-client.jar are in the JavaBridge.war/WEB-INF/lib/ folder, the PHP/ext/lib/ folder, within the actual JavaBridge.jar file, the java/jre/ext/... folder (which made JBoss break =3D), and about everywhere else I could imagine including on the http server as in the code above. I'm temporarily out of ideas for what to try next or where to turn. Any advice would be very appreciated. Cheers, Kris Jordan |
From: <php...@li...> - 2006-02-15 10:39:13
|
php...@li... wrote: > Hi, > > i just downloaded and installed php-java-bridge-3.0.7-1.FC4.i386.rpm > and php-java-bridge-standalone-3.0.7-1.FC4.i386.rpm > > but it doesnt seem to work > > # service php-java-bridge restart > > says: > > php-java-bridge beenden: [FAILED] > php-java-bridge starten: Error: PHP/Java Bridge module not installed > (see file /tmp/phpinfo.3210). > [FAILED] > > what is wrong? or what can i do? addition: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/java.so' - /usr/lib/php/modules/java.so: undefined symbol: _zval_dtor in Unknown on line 0 -- Sebastian Mendel www.sebastianmendel.de www.sf.net/projects/phpdatetime | www.sf.net/projects/phptimesheet |
From: <php...@li...> - 2006-02-15 10:36:28
|
Hi, i just downloaded and installed php-java-bridge-3.0.7-1.FC4.i386.rpm and php-java-bridge-standalone-3.0.7-1.FC4.i386.rpm but it doesnt seem to work # service php-java-bridge restart says: php-java-bridge beenden: [FAILED] php-java-bridge starten: Error: PHP/Java Bridge module not installed (see file /tmp/phpinfo.3210). [FAILED] what is wrong? or what can i do? -- Sebastian Mendel www.sebastianmendel.de www.sf.net/projects/phpdatetime | www.sf.net/projects/phptimesheet |
From: <php...@li...> - 2006-02-13 19:36:43
|
Hi, Many thanks to you ! Your version of Java.so is working with my PHP version. I've got the =20 java enabled in my phpinfo() ! Regards Cl=E9ment Le 12 f=E9vr. 06 =E0 21:14, php-java-bridge-users-=20 ad...@li... a =E9crit : > Hi, > >> Is the FC4 rmp a good package for me ? > > FC4 still uses php5, you need the php5.1/php6 ABI, I > think. > >> Module compiled with module API=3D20041030, debug=3D0, >> PHP compiled with module API=3D20050922, debug=3D0, >> options need to match > > Sounds as if you need to compile the java.so yourself, > please see the INSTALL document, or use this: > > =3D> > http://php-java-bridge.sf.net/snaps/debian-php5.1-bridge3.0.7.tar > > > > > > > =09 > > =09 > =09 > ___________________________________________________________ > Telefonate ohne weitere Kosten vom PC zum PC: http://=20 > messenger.yahoo.de > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through =20 > log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD =20 > SPLUNK! > http://sel.as-us.falkag.net/sel?=20 > cmd=3Dlnk&kid=3D103432&bid=3D230486&dat=3D121642 > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2006-02-12 20:15:10
|
Hi, > Is the FC4 rmp a good package for me ? FC4 still uses php5, you need the php5.1/php6 ABI, I think. > Module compiled with module API=20041030, debug=0, > PHP compiled with module API=20050922, debug=0, > options need to match Sounds as if you need to compile the java.so yourself, please see the INSTALL document, or use this: => http://php-java-bridge.sf.net/snaps/debian-php5.1-bridge3.0.7.tar ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-02-12 14:21:25
|
Hi, I'm writing because I have some problems to install php-java-bridge =20 on my server. Debian Sarge Apache 2 prefork 2.0.54-5 PHP Version 5.1.2-1.dotdeb.2 and sun-j2sdk1.5 I've downloaded the rpm packages (php-java-=20 bridge-3.0.7rc-1.FC4.i386.rpm). I've extract files like the README says. What I've done : - java.so, JavaBridge.jar, RunJavaBridge, libnatscJavaBridge.so to /=20 usr/lib/php5/20050922/ - modify my php.ini with =09 extension=3Djava.so =09 (and) [java] java.java_home =3D "/usr/lib/j2sdk1.5-sun" java.java =3D "/usr/lib/j2sdk1.5-sun/bin/java" java.log_file =3D "/var/log/php-java-bridge.log" java.log_level =3D 3 - relaunch apache : /etc/init.d/apache2 reload - look at phpinfo() But I'm can't see the Java module enabled on the phpinfo screen. Is the FC4 rmp a good package for me ? Is my php version compatible with php-java-bridge ? This a copy of the test.php : #!/usr/bin/php Please permanently activate the extension. Loading =20 java extension now... Error: Either the java extension is not =20 installed or it was compiled against an older or newer php version. =20 See the HTTP (IIS or Apache) server log for details. Warning: dl() [function.dl]: w\=FE@=C0=C2=FD@: Unable to initialize = module =20 Module compiled with module API=3D20041030, debug=3D0, thread-safety=3D0 = =20 PHP compiled with module API=3D20050922, debug=3D0, thread-safety=3D0 = These =20 options need to match in /var/www/test.php on line 15 Warning: dl() [function.dl]: Unable to load dynamic library '/usr/lib/=20= php5/20050922/php_java.dll' - /usr/lib/php5/20050922/php_java.dll: =20 cannot open shared object file: No such file or directory in /var/www/=20= test.php on line 15 I would like to use some iCal Java Classes with PHP, please help me =20 to install this bridge. Regards Cl=E9ment |
From: <php...@li...> - 2006-02-10 19:44:04
|
Hi, > Whenever I run PHP from the command line, I get a > "Segmentation fault" fault right before it exists do you use php 5.1.x or php 5.0.x? And which version of the bridge do you use? > It doesn't matter whether it actually running a > script, or just showing version info, whatever So it crashes in mshutdown even if the zend object store doesn't contain any java objects. A bug that could cause this behaviour was fixed in 3.0.5: http://cvs.sourceforge.net/viewcvs.py/php-java-bridge/php-java-bridge/client.c?r1=1.78&r2=1.79 The new pipe communication channel was not initialized correctly in 3.0.4. Can you please open a problem report, please use: http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233 and append php, bridge and os version numbers and the generated core dump (if any) at the end of the ticket? Thank you very much for the bug report. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-02-10 06:31:17
|
Hey everbody, I recently moved my site to a new server, reinstalled the bridge, and now there is a strange problem (everything was fine on the old machine): Whenever I run PHP from the command line, I get a "Segmentation fault" fault right before it exists. It doesn't matter whether it actually running a script, or just showing version info, whatever - there's also the Segmentation fault, when the java.so extension is loaded. It doesn't really seem to have any serious effect, everything is running fine (and no messages with mod_php!), but it's still strange and I'd like it to got away ;) I'm running the CVS from Feb, 7th, with Java 1.5.0 Update 6 and PHP 5. Any help greatly appreciated. Thanks, Michael |
From: <php...@li...> - 2006-02-07 18:31:30
|
Hi, [please excuse the delay] > I'm trying to install on a Win32 box. And I'm using > the file from > http://php-java-bridge.sourceforge.net/snaps/php-java-bridge_3.0.6.zip > But unfortunately, I can't find the "WAR" file to > deploy into Tomcat. The 3.0.6 JavaBridge.war file was in the Linux downloads folder, please see http://prdownloads.sourceforge.net/php-java-bridge/php-java-bridge_3.0.6_j2ee.zip?download Since 3.0.7 there is only one download for all systems, Win32, Solaris and Linux: http://sourceforge.net/project/showfiles.php?group_id=117793&package_id=170256 Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-02-07 18:24:44
|
Hi, [please excuse the delay] > provide as a replacement for the ext, but it appears > that all Windows > binaries provided are only for PHP5 (5.0.x binary as > noted in the > INSTALL.WINDOWS file). Is there any way to get this > running for PHP4? Yes, but you must compile it yourself, please see Steven's description: http://sourceforge.net/mailarchive/message.php?msg_id=13243015 Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-02-07 18:17:06
|
Hello, [please excuse the delay, we have some problems with our mailing list] > * Downloaded php-java-bridge-3.0.6-1.FC4.i386.rpm the above download was broken due to a failure in the build system. Please remove the natcJavaBridge.so and use TCP sockets instead: [java] java.hosts=127.0.0.1:9267 and start the backend with: java -jar JavaBridge.jar I am sorry for the inconvenience. The version 3.0.7, which is currently available as a RC, fixes this build problem. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-02-02 18:11:21
|
Hi, > I create a object of a > custom class which does some output by > System.out.println and System.err.println. If you have set up the j2ee backend, the output appears in the j2ee server's log file(s). It is not possible to redirect that. If you use the standalone backend, you can use: $System = new JavaClass("java.lang.System"); $memoryBuffer = new Java("java.io.ByteArrayOutputStream"); $System->setOut(new Java("java.io.PrintStream", $memoryBuffer)); // invoke your app ... $result = $memoryBuffer->toString(); echo $result; Regarding your other question, how to create a file so that it belongs to the user running the php instance, please see the ellipse.php example: http://cvs.sourceforge.net/viewcvs.py/php-java-bridge/php-java-bridge/examples/XML/ellipse.php?rev=1.1&view=markup This example creates a memory buffer and then writes it via fopen/fwrite. I think I should also say something about security (creating files in the document root with root permissions sounds scary). When the backend is running as root, everything is possible, reading and writing /etc/passwd, /etc/shadow and so on. These permissions are switched off when SEL is enabled in the linux kernel or when a java policy file is used: <?php $f = new java("java.io.FileInputStream", "/etc/shadow"); for($i=0; $i<100; $i++) echo chr($f->read()); $f->close(); ?> setenforce 0 php snoop.php => contents of /etc/shadow setenforce 1 php snoop.php => CreateInstance failed: new java.io.FileInputStream((String)o(String)). Cause: java.io.FileNotFoundException: /etc/shadow (Permission denied)"] So I suggest to install the SEL policy files. If you don't have SEL, deploy the j2ee backend into a J2EE server with a reasonable java policy file. The Sun application server has a very restrictive policy, for example. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-02-02 15:11:43
|
I'm trying to install on a Win32 box. And I'm using the file from http://php-java-bridge.sourceforge.net/snaps/php-java-bridge_3.0.6.zip But unfortunately, I can't find the "WAR" file to deploy into Tomcat. Might someone point me in the direction of this file? Thanks, -jason |