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
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
1
|
2
(4) |
3
(1) |
4
|
5
|
6
|
7
(9) |
8
(26) |
9
|
10
|
11
(3) |
12
|
13
|
14
(3) |
15
|
16
(1) |
17
(6) |
18
(2) |
19
(2) |
20
(8) |
21
(11) |
22
(3) |
23
(1) |
24
(8) |
25
(2) |
26
(1) |
27
(5) |
28
(6) |
29
(17) |
30
(16) |
|
|
From: <php...@li...> - 2009-04-29 20:00:55
|
Hello Searching around, I found that tomcat5.5 directories were reorganized in Debian Lenny, for FHS compliance. Also, debian sun-jdk and tomcat 5.5 packages turn on security by default, allowing multiapps deployment. Different from upstream tomcat. Then, old or weak policies may break. The debian right way should be to configure /etc/tomcat5.5/policy.d/50user.policy following [1] doc. and [0] hints regarding paths, if needed. I will try something like grant codeBase "file:${catalina.base}/webapps/JavaBridge/-" { permission java.security.AllPermission; }; Maybe could work. More suggestions? Regards. Andre Felipe [0] http://aleph-null.tv/article/20080327-0202-760.xml/Tomcat-5.5-On-Debian:-Security-policies-and-%7Bcatalina.home%7D [1] http://tomcat.apache.org/tomcat-5.5-doc/security-manager-howto.html On Wed, 29 Apr 2009 08:41:43 -0300, php...@li... wrote: > > I guess the right way is a correct edition of > > /etc/tomcat5.5/policy.d/04webapps.policy > > using the debconf tools. > |
From: <php...@li...> - 2009-04-29 19:56:24
|
Yes, you are right. I've got this strange idea when reading the support request. But since the (deb- and rpm-) packages depend on apache anyway, there's no problem. Regards, Jost Boekemeier Apr 29, 2009 9:40 nachm. schrieb am < php...@li...>: <3af...@ma...> < 3af...@ma...> Message-ID: <1f90ee22edd1aad825827c88d44b88f8@localhost> X-Sender: and...@te... Received: from 161.148.54.70 [161.148.54.70] with HTTP/1.1 (POST); Wed, 29 Apr 2009 08:41:43 -0300 User-Agent: RoundCube Webmail/0.1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Hello, Despite being "possible" to manipulate the global web.xml file it should be avoided. The deployment must be feasible using application's web.xml (and sometimes, the context.xml also) into the war file. Maybe even using some clever tomcat manager html interface command. Or using Ant commands (then, one more dependency). Or security issues will rise ahead. I guess the right way is a correct edition of /etc/tomcat5.5/policy.d/04webapps.policy using the debconf tools. The web.xml is deployed already, but it is blocked, afaik. Suggestions are welcome. Regards. Andre Felipe Machado On Wed, 29 Apr 2009 21:03:07 +0200, php...@li... wrote: > Hi Andre, > > Is it possible to install th... ------------------------------------------------------------------------------ Register Now & Save f... |
From: <php...@li...> - 2009-04-29 19:40:07
|
<3af...@ma...> <3af...@ma...> Message-ID: <1f90ee22edd1aad825827c88d44b88f8@localhost> X-Sender: and...@te... Received: from 161.148.54.70 [161.148.54.70] with HTTP/1.1 (POST); Wed, 29 Apr 2009 08:41:43 -0300 User-Agent: RoundCube Webmail/0.1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Hello, Despite being "possible" to manipulate the global web.xml file it should be avoided. The deployment must be feasible using application's web.xml (and sometimes, the context.xml also) into the war file. Maybe even using some clever tomcat manager html interface command. Or using Ant commands (then, one more dependency). Or security issues will rise ahead. I guess the right way is a correct edition of /etc/tomcat5.5/policy.d/04webapps.policy using the debconf tools. The web.xml is deployed already, but it is blocked, afaik. Suggestions are welcome. Regards. Andre Felipe Machado On Wed, 29 Apr 2009 21:03:07 +0200, php...@li... wrote: > Hi Andre, > > Is it possible to install the bridge so that the debian security manager > doesn't stop the back end from running php, if no apache is installed or > used? As described here: > http://php-java-bridge.sourceforge.net/pjb/FAQ.html#global-servlet > > If it is not possible to manipulate tomcat's global web.xml from a debian > package, we could leave it as it is and add a note to the debian install > instructions > so that users can change the web.xml themselves. > > Regards, > Jost Boekemeier |
From: <php...@li...> - 2009-04-29 19:03:17
|
Hi Andre, Is it possible to install the bridge so that the debian security manager doesn't stop the back end from running php, if no apache is installed or used? As described here: http://php-java-bridge.sourceforge.net/pjb/FAQ.html#global-servlet If it is not possible to manipulate tomcat's global web.xml from a debian package, we could leave it as it is and add a note to the debian install instructions so that users can change the web.xml themselves. Regards, Jost Boekemeier Apr 29, 2009 5:12 nachm. schrieb am < php...@li...>: Hi, I tried install the php-java-bridge 5.4.4.1 on a debian lenny: I made a new deb package (amd64), and copied the war file to the tomcat's webapp directory. When I call the http://tomcat:port/JavaBridge , I get: Servlet PhpCGIServlet is not available. What's wrong? Thanks: -- Üdv, Ricsi ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2009-04-29 19:00:46
|
Hello, For some reason, the web.xml is not being accepted by Tomcat 5.5 auto deploy. I will investigate this. If someone have some suggestions, feel free to post. Also, there are some packaging errors at 5.4.4.1-1 deb file. Please, wait the 5.4.4.2-1 or compile from repository tomorrow for this test. (See README.Debian) Regards. Andre Felipe Machado |
From: <php...@li...> - 2009-04-29 15:11:43
|
Hi, I tried install the php-java-bridge 5.4.4.1 on a debian lenny: I made a new deb package (amd64), and copied the war file to the tomcat's webapp directory. When I call the http://tomcat:port/JavaBridge , I get: Servlet PhpCGIServlet is not available. What's wrong? Thanks: -- Üdv, Ricsi |
From: <php...@li...> - 2009-04-29 07:48:31
|
Hello, do you mean that fat jar is not the best solution? How to use jar://URI? (maybe a simple example or a link where I can find some examples) Where exactly do I find the proposal? Hi, Although it is possible to fetch libraries from other jar files using a jar:// URI, at least in the Sun Java platform, this feature may not work on other platforms; GCC/GCJ uses ELF libs instead. I think there's no use for this feature. If you're looking for a java module system, read the proposal from the RICE people, which was inspired by the SML/NJ. It uses real generics to build compound modules. Regards, Jost Boekemeier Apr 28, 2009 3:24 nachm. schrieb am < php...@li...>: Hello Jost, I am very sorry but I still can't solve the problem which I described yesterday. I try to explain it again in other words, maybe I explained it not very clearly. Well there are many jars in one jar (fat jar) I don't have to change anything in this structure, I need only to access the classes . I tryed to get it with java_require and got this error: exception javax.servlet.ServletException: java.lang.RuntimeException: PHP Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: Invoke failed: [[o:JavaBridge]]->updateJarLibraryPath((o:String)[o:String], (o:String)[o:String], (o:String)[o:String], (o:String)[o:String]). Cause: java.io.IOException: Could not open jar file WebProjekt2, reason: WebProjekt2 (Das System kann die angegebene Datei nicht finden) VM: 1.6.0_10@http://java.sun.com/" at: #-18 php.java.bridge.DynamicJavaBridgeClassLoader.checkJarFile(DynamicJavaBridgeClassLoader.java:108) #-17 php.java.bridge.JarLibraryPath.createUrls(JarLibraryPath.java:192) #-16 php.java.bridge.JarLibraryPath.checkURLs(JarLibraryPath.java:117) #-15 php.java.bridge.JarLibraryPath.<init>(JarLibraryPath.java:64) #-14 php.java.bridge.DynamicJavaBridgeClassLoader.checkJarLibraryPath(DynamicJavaBridgeClassLoader.java:74) #-13 php.java.bridge.DynamicJavaBridgeClassLoader.updateJarLibraryPath(DynamicJavaBridgeClassLoader.java:87) #-12 php.java.bridge.SimpleJavaBridgeClassLoader.updateJarLibraryPath(SimpleJavaBridgeClassLoader.java:111) #-11 php.java.bridge.J in http://localhost:8081/Ordner/java/Java.inc on line 215 php.java.servlet.PhpCGIServlet.handle(PhpCGIServlet.java:416) php.java.servlet.CGIServlet.doGet(CGIServlet.java:469) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) root cause java.lang.RuntimeException: PHP Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: Invoke failed: [[o:JavaBridge]]->updateJarLibraryPath((o:String)[o:String], (o:String)[o:String], (o:String)[o:String], (o:String)[o:String]). Cause: java.io.IOException: Could not open jar file WebProjekt2, reason: WebProjekt2 (Das System kann die angegebene Datei nicht finden) VM: 1.6.0_10@http://java.sun.com/" at: #-18 php.java.bridge.DynamicJavaBridgeClassLoader.checkJarFile(DynamicJavaBridgeClassLoader.java:108) #-17 php.java.bridge.JarLibraryPath.createUrls(JarLibraryPath.java:192) #-16 php.java.bridge.JarLibraryPath.checkURLs(JarLibraryPath.java:117) #-15 php.java.bridge.JarLibraryPath.<init>(JarLibraryPath.java:64) #-14 php.java.bridge.DynamicJavaBridgeClassLoader.checkJarLibraryPath(DynamicJavaBridgeClassLoader.java:74) #-13 php.java.bridge.DynamicJavaBridgeClassLoader.updateJarLibraryPath(DynamicJavaBridgeClassLoader.java:87) #-12 php.java.bridge.SimpleJavaBridgeClassLoader.updateJarLibraryPath(SimpleJavaBridgeClassLoader.java:111) #-11 php.java.bridge.J in http://localhost:8081/Ordner/java/Java.inc on line 215 The video which you recommended is only about one "folder"with classes. In my case it is not so. As Ihave already written "jars in jar"(fat jar) and I must not change this structure... It does not work: <?php require_once("http://localhost:8081/Ordner/java/Java.inc"); $System = java("java.lang.System"); $myObj = new java("web.FacettenBrowser"); echo $myObj->HalloWelt(); ?> Many thanks in advance! ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2009-04-29 07:21:09
|
Hi, Although it is possible to fetch libraries from other jar files using a jar:// URI, at least in the Sun Java platform, this feature may not work on other platforms; GCC/GCJ uses ELF libs instead. I think there's no use for this feature. If you're looking for a java module system, read the proposal from the RICE people, which was inspired by the SML/NJ. It uses real generics to build compound modules. Regards, Jost Boekemeier Apr 28, 2009 3:24 nachm. schrieb am < php...@li...>: Hello Jost, I am very sorry but I still can't solve the problem which I described yesterday. I try to explain it again in other words, maybe I explained it not very clearly. Well there are many jars in one jar (fat jar) I don't have to change anything in this structure, I need only to access the classes . I tryed to get it with java_require and got this error: exception javax.servlet.ServletException: java.lang.RuntimeException: PHP Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: Invoke failed: [[o:JavaBridge]]->updateJarLibraryPath((o:String)[o:String], (o:String)[o:String], (o:String)[o:String], (o:String)[o:String]). Cause: java.io.IOException: Could not open jar file WebProjekt2, reason: WebProjekt2 (Das System kann die angegebene Datei nicht finden) VM: 1.6.0_10@http://java.sun.com/" at: #-18 php.java.bridge.DynamicJavaBridgeClassLoader.checkJarFile(DynamicJavaBridgeClassLoader.java:108) #-17 php.java.bridge.JarLibraryPath.createUrls(JarLibraryPath.java:192) #-16 php.java.bridge.JarLibraryPath.checkURLs(JarLibraryPath.java:117) #-15 php.java.bridge.JarLibraryPath.<init>(JarLibraryPath.java:64) #-14 php.java.bridge.DynamicJavaBridgeClassLoader.checkJarLibraryPath(DynamicJavaBridgeClassLoader.java:74) #-13 php.java.bridge.DynamicJavaBridgeClassLoader.updateJarLibraryPath(DynamicJavaBridgeClassLoader.java:87) #-12 php.java.bridge.SimpleJavaBridgeClassLoader.updateJarLibraryPath(SimpleJavaBridgeClassLoader.java:111) #-11 php.java.bridge.J in http://localhost:8081/Ordner/java/Java.inc on line 215 php.java.servlet.PhpCGIServlet.handle(PhpCGIServlet.java:416) php.java.servlet.CGIServlet.doGet(CGIServlet.java:469) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) root cause java.lang.RuntimeException: PHP Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: Invoke failed: [[o:JavaBridge]]->updateJarLibraryPath((o:String)[o:String], (o:String)[o:String], (o:String)[o:String], (o:String)[o:String]). Cause: java.io.IOException: Could not open jar file WebProjekt2, reason: WebProjekt2 (Das System kann die angegebene Datei nicht finden) VM: 1.6.0_10@http://java.sun.com/" at: #-18 php.java.bridge.DynamicJavaBridgeClassLoader.checkJarFile(DynamicJavaBridgeClassLoader.java:108) #-17 php.java.bridge.JarLibraryPath.createUrls(JarLibraryPath.java:192) #-16 php.java.bridge.JarLibraryPath.checkURLs(JarLibraryPath.java:117) #-15 php.java.bridge.JarLibraryPath.<init>(JarLibraryPath.java:64) #-14 php.java.bridge.DynamicJavaBridgeClassLoader.checkJarLibraryPath(DynamicJavaBridgeClassLoader.java:74) #-13 php.java.bridge.DynamicJavaBridgeClassLoader.updateJarLibraryPath(DynamicJavaBridgeClassLoader.java:87) #-12 php.java.bridge.SimpleJavaBridgeClassLoader.updateJarLibraryPath(SimpleJavaBridgeClassLoader.java:111) #-11 php.java.bridge.J in http://localhost:8081/Ordner/java/Java.inc on line 215 The video which you recommended is only about one "folder"with classes. In my case it is not so. As Ihave already written "jars in jar"(fat jar) and I must not change this structure... It does not work: <?php require_once("http://localhost:8081/Ordner/java/Java.inc"); $System = java("java.lang.System"); $myObj = new java("web.FacettenBrowser"); echo $myObj->HalloWelt(); ?> Many thanks in advance! ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2009-04-28 14:05:49
|
afaik one can not nest jar's (exceptions are war, ear, etc.) => you have to put all the jar's you want to use directly into /WEB-INF/lib or /WEB-INF/classes etc. try that. also it looks like the code you provided below does not correspond to the exception you gave (because there is no java_require("WebProject2.jar") in your code) dominik 2009/4/28 <php...@li...> > Hello Jost, > I am very sorry but I still can't solve the problem which I described > yesterday. I try to explain it again in other words, maybe I explained it > not very clearly. > Well there are many jars in one jar (fat jar) I don't have to change > anything in this structure, I need only to access the classes . > I tryed to get it with java_require and got this error: > exception javax.servlet.ServletException: java.lang.RuntimeException: PHP > Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: Invoke failed: > [[o:JavaBridge]]->updateJarLibraryPath((o:String)[o:String], > (o:String)[o:String], (o:String)[o:String], (o:String)[o:String]). Cause: > java.io.IOException: Could not open jar file WebProjekt2, reason: > WebProjekt2 (Das System kann die angegebene Datei nicht finden) VM: > 1.6.0_10@http://java.sun.com/" at: > #-18 > php.java.bridge.DynamicJavaBridgeClassLoader.checkJarFile(DynamicJavaBridgeClassLoader.java:108) > #-17 php.java.bridge.JarLibraryPath.createUrls(JarLibraryPath.java:192) > #-16 php.java.bridge.JarLibraryPath.checkURLs(JarLibraryPath.java:117) > #-15 php.java.bridge.JarLibraryPath.<init>(JarLibraryPath.java:64) > #-14 > php.java.bridge.DynamicJavaBridgeClassLoader.checkJarLibraryPath(DynamicJavaBridgeClassLoader.java:74) > #-13 > php.java.bridge.DynamicJavaBridgeClassLoader.updateJarLibraryPath(DynamicJavaBridgeClassLoader.java:87) > #-12 > php.java.bridge.SimpleJavaBridgeClassLoader.updateJarLibraryPath(SimpleJavaBridgeClassLoader.java:111) > #-11 php.java.bridge.J in http://localhost:8081/Ordner/java/Java.inc on > line 215 > > php.java.servlet.PhpCGIServlet.handle(PhpCGIServlet.java:416) > php.java.servlet.CGIServlet.doGet(CGIServlet.java:469) > javax.servlet.http.HttpServlet.service(HttpServlet.java:617) > javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > root cause java.lang.RuntimeException: PHP Fatal error: Uncaught > [[o:Exception]:"java.lang.Exception: Invoke failed: > [[o:JavaBridge]]->updateJarLibraryPath((o:String)[o:String], > (o:String)[o:String], (o:String)[o:String], (o:String)[o:String]). Cause: > java.io.IOException: Could not open jar file WebProjekt2, reason: > WebProjekt2 (Das System kann die angegebene Datei nicht finden) VM: > 1.6.0_10@http://java.sun.com/" at: > #-18 > php.java.bridge.DynamicJavaBridgeClassLoader.checkJarFile(DynamicJavaBridgeClassLoader.java:108) > #-17 php.java.bridge.JarLibraryPath.createUrls(JarLibraryPath.java:192) > #-16 php.java.bridge.JarLibraryPath.checkURLs(JarLibraryPath.java:117) > #-15 php.java.bridge.JarLibraryPath.<init>(JarLibraryPath.java:64) > #-14 > php.java.bridge.DynamicJavaBridgeClassLoader.checkJarLibraryPath(DynamicJavaBridgeClassLoader.java:74) > #-13 > php.java.bridge.DynamicJavaBridgeClassLoader.updateJarLibraryPath(DynamicJavaBridgeClassLoader.java:87) > #-12 > php.java.bridge.SimpleJavaBridgeClassLoader.updateJarLibraryPath(SimpleJavaBridgeClassLoader.java:111) > #-11 php.java.bridge.J in http://localhost:8081/Ordner/java/Java.inc on > line 215 > > The video which you recommended is only about one "folder"with classes. In > my case it is not so. > As Ihave already written "jars in jar"(fat jar) and I must not change this > structure... > It does not work: > <?php > require_once("http://localhost:8081/Ordner/java/Java.inc"); > > $System = java("java.lang.System"); > > $myObj = new java("web.FacettenBrowser"); > echo $myObj->HalloWelt(); > ?> > > Many thanks in advance! > > > > > > > > ------------------------------------------------------------------------------ > Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
From: <php...@li...> - 2009-04-28 13:23:08
|
Hello Jost, I am very sorry but I still can't solve the problem which I described yesterday. I try to explain it again in other words, maybe I explained it not very clearly. Well there are many jars in one jar (fat jar) I don't have to change anything in this structure, I need only to access the classes . I tryed to get it with java_require and got this error: exception javax.servlet.ServletException: java.lang.RuntimeException: PHP Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: Invoke failed: [[o:JavaBridge]]->updateJarLibraryPath((o:String)[o:String], (o:String)[o:String], (o:String)[o:String], (o:String)[o:String]). Cause: java.io.IOException: Could not open jar file WebProjekt2, reason: WebProjekt2 (Das System kann die angegebene Datei nicht finden) VM: 1.6.0_10@http://java.sun.com/" at: #-18 php.java.bridge.DynamicJavaBridgeClassLoader.checkJarFile(DynamicJavaBridgeClassLoader.java:108) #-17 php.java.bridge.JarLibraryPath.createUrls(JarLibraryPath.java:192) #-16 php.java.bridge.JarLibraryPath.checkURLs(JarLibraryPath.java:117) #-15 php.java.bridge.JarLibraryPath.<init>(JarLibraryPath.java:64) #-14 php.java.bridge.DynamicJavaBridgeClassLoader.checkJarLibraryPath(DynamicJavaBridgeClassLoader.java:74) #-13 php.java.bridge.DynamicJavaBridgeClassLoader.updateJarLibraryPath(DynamicJavaBridgeClassLoader.java:87) #-12 php.java.bridge.SimpleJavaBridgeClassLoader.updateJarLibraryPath(SimpleJavaBridgeClassLoader.java:111) #-11 php.java.bridge.J in http://localhost:8081/Ordner/java/Java.inc on line 215 php.java.servlet.PhpCGIServlet.handle(PhpCGIServlet.java:416) php.java.servlet.CGIServlet.doGet(CGIServlet.java:469) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) root cause java.lang.RuntimeException: PHP Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: Invoke failed: [[o:JavaBridge]]->updateJarLibraryPath((o:String)[o:String], (o:String)[o:String], (o:String)[o:String], (o:String)[o:String]). Cause: java.io.IOException: Could not open jar file WebProjekt2, reason: WebProjekt2 (Das System kann die angegebene Datei nicht finden) VM: 1.6.0_10@http://java.sun.com/" at: #-18 php.java.bridge.DynamicJavaBridgeClassLoader.checkJarFile(DynamicJavaBridgeClassLoader.java:108) #-17 php.java.bridge.JarLibraryPath.createUrls(JarLibraryPath.java:192) #-16 php.java.bridge.JarLibraryPath.checkURLs(JarLibraryPath.java:117) #-15 php.java.bridge.JarLibraryPath.<init>(JarLibraryPath.java:64) #-14 php.java.bridge.DynamicJavaBridgeClassLoader.checkJarLibraryPath(DynamicJavaBridgeClassLoader.java:74) #-13 php.java.bridge.DynamicJavaBridgeClassLoader.updateJarLibraryPath(DynamicJavaBridgeClassLoader.java:87) #-12 php.java.bridge.SimpleJavaBridgeClassLoader.updateJarLibraryPath(SimpleJavaBridgeClassLoader.java:111) #-11 php.java.bridge.J in http://localhost:8081/Ordner/java/Java.inc on line 215 The video which you recommended is only about one "folder"with classes. In my case it is not so. As Ihave already written "jars in jar"(fat jar) and I must not change this structure... It does not work: <?php require_once("http://localhost:8081/Ordner/java/Java.inc"); $System = java("java.lang.System"); $myObj = new java("web.FacettenBrowser"); echo $myObj->HalloWelt(); ?> Many thanks in advance! |
From: <php...@li...> - 2009-04-28 12:42:18
|
Hello there, first thank you for the very fast replies! I just solved it. It was quiet easy. Shame on me: I just installed php-cgi additionally and everything works fine. Greets Malte >make sure "php-cgi" is in your $PATH. usually if you open a shell and type >php-cgi -v and get something other than >bash: php-cgi: command not found >this is the case. and >You need to install PHP. Please check the ubuntu documentation for details. >The missing program belongs to the php core. >If there is no php available for you distribution, you must compile php >from >the source. Please see the install instructions on php.net for details. >Regards, >Jost Boekemeier -- Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a |
From: <php...@li...> - 2009-04-28 12:23:36
|
make sure "php-cgi" is in your $PATH. usually if you open a shell and type php-cgi -v and get something other than bash: php-cgi: command not found this is the case. 2009/4/28 <php...@li...> > Hello there, > Following problem: > I run the php java bridge successfully as standalone under Win XP and > Vista. For that I extracted the jars from downloaded > "JavaBridgeTemplate5442.war". > So i have > - JavaBridge.jar > - php-script.jar > - php-servlet.jar > - myown.jar > The classes of "myown.jar" use the classes of the bridge. My aim is to run > that on ubuntu 8_10 but i sadly receive following exception: > > javax.script.ScriptException: java.io.IOException: Cannot run program > "php-cgi": java.io.IOException: error=2, No such file or directory > at php.java.script.PhpScriptEngine.eval(PhpScriptEngine.java:112) > at > php.java.script.SimplePhpScriptEngine.eval(SimplePhpScriptEngine.java:299) > at > javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:247) > at > de.labtrax.affiliatewindow.service.impl.AffiliateServiceImpl.main(AffiliateServiceImpl.java:51) > Caused by: java.io.IOException: Cannot run program "php-cgi": > java.io.IOException: error=2, No such file or directory > at java.lang.ProcessBuilder.start(ProcessBuilder.java:459) > at java.lang.Runtime.exec(Runtime.java:593) > at php.java.bridge.Util$Process.start(Util.java:972) > at > php.java.bridge.Util$ProcessWithErrorHandler.start(Util.java:1074) > at > php.java.bridge.Util$ProcessWithErrorHandler.start(Util.java:1129) > at php.java.script.CGIRunner.doRun(CGIRunner.java:125) > at php.java.script.HttpProxy.doRun(HttpProxy.java:79) > at php.java.script.CGIRunner.run(CGIRunner.java:110) > Caused by: java.io.IOException: java.io.IOException: error=2, No such file > or directory > at java.lang.UNIXProcess.<init>(UNIXProcess.java:148) > at java.lang.ProcessImpl.start(ProcessImpl.java:65) > at java.lang.ProcessBuilder.start(ProcessBuilder.java:452) > ... 7 more > > I got the same problem on vista but solved it easily with just installing > php. On my ubuntu php5 is installed per synaptic and php works in apache in > and as cli. > Any clues how i get this working on ubuntu? > > Thank you > Malte > -- > Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: > http://www.gmx.net/de/go/multimessenger01 > > -- > Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + > Telefonanschluss für nur 17,95 Euro/mtl.!* > http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a > > > ------------------------------------------------------------------------------ > Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
From: <php...@li...> - 2009-04-28 12:01:54
|
You need to install PHP. Please check the ubuntu documentation for details. The missing program belongs to the php core. If there is no php available for you distribution, you must compile php from the source. Please see the install instructions on php.net for details. Regards, Jost Boekemeier Apr 28, 2009 1:51 nachm. schrieb am < php...@li...>: Hello there, Following problem: I run the php java bridge successfully as standalone under Win XP and Vista. For that I extracted the jars from downloaded "JavaBridgeTemplate5442.war". So i have - JavaBridge.jar - php-script.jar - php-servlet.jar - myown.jar The classes of "myown.jar" use the classes of the bridge. My aim is to run that on ubuntu 8_10 but i sadly receive following exception: javax.script.ScriptException: java.io.IOException: Cannot run program "php-cgi": java.io.IOException: error=2, No such file or directory at php.java.script.PhpScriptEngine.eval(PhpScriptEngine.java:112) at php.java.script.SimplePhpScriptEngine.eval(SimplePhpScriptEngine.java:299) at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:247) at de.labtrax.affiliatewindow.service.impl.AffiliateServiceImpl.main(AffiliateServiceImpl.java:51) Caused by: java.io.IOException: Cannot run program "php-cgi": java.io.IOException: error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:459) at java.lang.Runtime.exec(Runtime.java:593) at php.java.bridge.Util$Process.start(Util.java:972) at php.java.bridge.Util$ProcessWithErrorHandler.start(Util.java:1074) at php.java.bridge.Util$ProcessWithErrorHandler.start(Util.java:1129) at php.java.script.CGIRunner.doRun(CGIRunner.java:125) at php.java.script.HttpProxy.doRun(HttpProxy.java:79) at php.java.script.CGIRunner.run(CGIRunner.java:110) Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.<init>(UNIXProcess.java:148) at java.lang.ProcessImpl.start(ProcessImpl.java:65) at java.lang.ProcessBuilder.start(ProcessBuilder.java:452) ... 7 more I got the same problem on vista but solved it easily with just installing php. On my ubuntu php5 is installed per synaptic and php works in apache in and as cli. Any clues how i get this working on ubuntu? Thank you Malte -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01 -- Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2009-04-28 11:50:48
|
Hello there, Following problem: I run the php java bridge successfully as standalone under Win XP and Vista. For that I extracted the jars from downloaded "JavaBridgeTemplate5442.war". So i have - JavaBridge.jar - php-script.jar - php-servlet.jar - myown.jar The classes of "myown.jar" use the classes of the bridge. My aim is to run that on ubuntu 8_10 but i sadly receive following exception: javax.script.ScriptException: java.io.IOException: Cannot run program "php-cgi": java.io.IOException: error=2, No such file or directory at php.java.script.PhpScriptEngine.eval(PhpScriptEngine.java:112) at php.java.script.SimplePhpScriptEngine.eval(SimplePhpScriptEngine.java:299) at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:247) at de.labtrax.affiliatewindow.service.impl.AffiliateServiceImpl.main(AffiliateServiceImpl.java:51) Caused by: java.io.IOException: Cannot run program "php-cgi": java.io.IOException: error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:459) at java.lang.Runtime.exec(Runtime.java:593) at php.java.bridge.Util$Process.start(Util.java:972) at php.java.bridge.Util$ProcessWithErrorHandler.start(Util.java:1074) at php.java.bridge.Util$ProcessWithErrorHandler.start(Util.java:1129) at php.java.script.CGIRunner.doRun(CGIRunner.java:125) at php.java.script.HttpProxy.doRun(HttpProxy.java:79) at php.java.script.CGIRunner.run(CGIRunner.java:110) Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.<init>(UNIXProcess.java:148) at java.lang.ProcessImpl.start(ProcessImpl.java:65) at java.lang.ProcessBuilder.start(ProcessBuilder.java:452) ... 7 more I got the same problem on vista but solved it easily with just installing php. On my ubuntu php5 is installed per synaptic and php works in apache in and as cli. Any clues how i get this working on ubuntu? Thank you Malte -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01 -- Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a |
From: <php...@li...> - 2009-04-27 11:28:29
|
If I have one JAR-file with some packages and classes I can access all classes without any problems: $myObj = new java("newweb.farben");//newweb=package;farben=class but if I puck a JAR in another JAR-file the classes are not found anymore. .... |
From: <php...@li...> - 2009-04-27 11:03:27
|
As long as you notify the Java application server about your changes, for example by re-deploying your changes, this will work, yes. Apr 27, 2009 10:41 vorm. schrieb am < php...@li...>: Hi Jost, thank you for your answer. 1) Is it absolutely impossible to do it on the way I did it? I added the JAR-file (with many classes) to WEB-INF/lib and tryed to access the class? If not, sorry for the stupid question,but 2)"You need to create a library containing your classes and add it to Java's repository, along with all dependencies."Do you mean I should create the folder "classes" with all jars (I already have lib for it and the java code/classes/ I have in eclipse). Could you explain it please step by step? Many thanks in advance!!! ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2009-04-27 08:40:54
|
Hi Jost, thank you for your answer. 1) Is it absolutely impossible to do it on the way I did it? I added the JAR-file (with many classes) to WEB-INF/lib and tryed to access the class? If not, sorry for the stupid question,but 2)"You need to create a library containing your classes and add it to Java's repository, along with all dependencies."Do you mean I should create the folder "classes" with all jars (I already have lib for it and the java code/classes/ I have in eclipse). Could you explain it please step by step? Many thanks in advance!!! |
From: <php...@li...> - 2009-04-27 07:43:46
|
Hi, You need to create a library containing your classes and add it to Java's repository, along with all dependencies. Or you can add your classes and all their dependencies to your JavaBridge.war zip file and re-deploy that. You can find a video at the bottom of our install section on our web site, which shows that. Regards, Jost Boekemeier Apr 27, 2009 8:24 vorm. schrieb am < php...@li...>: Hello Jost, the underlined part of the code does not work. Is it the right way to find a class in the jar? <?php require_once("http://localhost:8081/Ordner/java/Java.inc"); $System = java("java.lang.System"); $myObj = new java("WebProjekt2.web.FacettenBrowser"); echo (String) $myObj->HalloWelt(); ?> I get such an errormessage: root cause java.lang.RuntimeException: PHP Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: CreateInstance failed: new WebProjekt2.web.FacettenBrowser. Cause: java.lang.ClassNotFoundException: WebProjekt2.web.FacettenBrowser VM: 1.6.0_10@http://java.sun.com/" at: #-11 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387) #-10 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233) #-9 java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) #-8 java.lang.Class.forName0(Native Method) #-7 java.lang.Class.forName(Class.java:247) #-6 php.java.bridge.SimpleJavaBridgeClassLoader.forName(SimpleJavaBridgeClassLoader.java:157) #-5 php.java.bridge.JavaBridge.CreateObject(JavaBridge.java:455) #-4 php.java.bridge.Request.handleRequest(Request.java:452) #-3 php.java.bridge.Request.handleRequests(Request.java:490) #-2 php.java.bridge.http.ContextRunner.run(ContextRunner.java:146) #-1 php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:60) #0 http://localhost:8081/Ordner/java/Java.inc(248): java_ThrowE in http://localhost:8081/Ordner/java/Java.inc on line 215 php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.parseBody(FastCGIServlet.java:484) php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.doExecute(FastCGIServlet.java:379) php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.execute(FastCGIServlet.java:387) php.java.servlet.CGIServlet.handle(CGIServlet.java:399) php.java.servlet.PhpCGIServlet.handle(PhpCGIServlet.java:382) php.java.servlet.CGIServlet.doGet(CGIServlet.java:469) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) note The full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs. you have to put the class "HelloWorld" into the "HalloWelt.web" package. so it looks like [code] package HalloWelt.web; import ....; public class HelloWorld{ public HelloWorld() { /* do something */ } } [/code] 2009/4/24 <php...@li...> > Hello, > in my jar file there are many classes, and the class which I need to access > can't be found. > I tryed to solve it so: > $myObj = new java("HalloWelt.web.HelloWorld"); > but it does not work.Please tell me how can I access this class? > > > > Thank you in advance! > > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2009-04-27 06:24:00
|
Hello Jost, the underlined part of the code does not work. Is it the right way to find a class in the jar? <?php require_once("http://localhost:8081/Ordner/java/Java.inc"); $System = java("java.lang.System"); $myObj = new java("WebProjekt2.web.FacettenBrowser"); echo (String) $myObj->HalloWelt(); ?> I get such an errormessage: root cause java.lang.RuntimeException: PHP Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: CreateInstance failed: new WebProjekt2.web.FacettenBrowser. Cause: java.lang.ClassNotFoundException: WebProjekt2.web.FacettenBrowser VM: 1.6.0_10@http://java.sun.com/" at: #-11 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387) #-10 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233) #-9 java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) #-8 java.lang.Class.forName0(Native Method) #-7 java.lang.Class.forName(Class.java:247) #-6 php.java.bridge.SimpleJavaBridgeClassLoader.forName(SimpleJavaBridgeClassLoader.java:157) #-5 php.java.bridge.JavaBridge.CreateObject(JavaBridge.java:455) #-4 php.java.bridge.Request.handleRequest(Request.java:452) #-3 php.java.bridge.Request.handleRequests(Request.java:490) #-2 php.java.bridge.http.ContextRunner.run(ContextRunner.java:146) #-1 php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:60) #0 http://localhost:8081/Ordner/java/Java.inc(248): java_ThrowE in http://localhost:8081/Ordner/java/Java.inc on line 215 php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.parseBody(FastCGIServlet.java:484) php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.doExecute(FastCGIServlet.java:379) php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.execute(FastCGIServlet.java:387) php.java.servlet.CGIServlet.handle(CGIServlet.java:399) php.java.servlet.PhpCGIServlet.handle(PhpCGIServlet.java:382) php.java.servlet.CGIServlet.doGet(CGIServlet.java:469) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) note The full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs. you have to put the class "HelloWorld" into the "HalloWelt.web" package. so it looks like [code] package HalloWelt.web; import ....; public class HelloWorld{ public HelloWorld() { /* do something */ } } [/code] 2009/4/24 <php...@li...> > Hello, > in my jar file there are many classes, and the class which I need to access > can't be found. > I tryed to solve it so: > $myObj = new java("HalloWelt.web.HelloWorld"); > but it does not work.Please tell me how can I access this class? > > > > Thank you in advance! > > |
From: <php...@li...> - 2009-04-26 05:18:43
|
Oops, I just saw that you want it the other way 'round. You can send the XML C an I protocol requests directly from your c# programs. Please see the python an scheme examples from our web site. Regards, Jost Boekemeier Apr 25, 2009 8:52 vorm. schrieb am < php...@li...>: Hello, I need to use a java library from a C# program. php-java-bridge approach sounds pretty interesting. For what I could understand, calling java from php works through (ether local or remote) network connections. If I could replicate Java.inc in the dot Net platform (which does not seems trivial), Could I call java from C sharp as php does, using the bridge? Best Regards. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2009-04-25 06:59:00
|
Hi, Just double-click on MonoBridge.exe to start a .NET daemon. After that you can dynamically link .NET libraries into PHP using mono/Mono.inc, see the load_assembly.php for details. Regards, Jost Boekemeier Apr 25, 2009 8:52 vorm. schrieb am < php...@li...>: Hello, I need to use a java library from a C# program. php-java-bridge approach sounds pretty interesting. For what I could understand, calling java from php works through (ether local or remote) network connections. If I could replicate Java.inc in the dot Net platform (which does not seems trivial), Could I call java from C sharp as php does, using the bridge? Best Regards. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2009-04-25 06:52:30
|
Hello, I need to use a java library from a C# program. php-java-bridge approach sounds pretty interesting. For what I could understand, calling java from php works through (ether local or remote) network connections. If I could replicate Java.inc in the dot Net platform (which does not seems trivial), Could I call java from C sharp as php does, using the bridge? Best Regards. |
From: <php...@li...> - 2009-04-24 14:25:45
|
you have to put the class "HelloWorld" into the "HalloWelt.web" package. so it looks like [code] package HalloWelt.web; import ....; public class HelloWorld{ public HelloWorld() { /* do something */ } } [/code] 2009/4/24 <php...@li...> > Hello, > in my jar file there are many classes, and the class which I need to access > can't be found. > I tryed to solve it so: > $myObj = new java("HalloWelt.web.HelloWorld"); > but it does not work.Please tell me how can I access this class? > > > > > > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensign option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
From: <php...@li...> - 2009-04-24 11:18:08
|
Hello, in my jar file there are many classes, and the class which I need to access can't be found. I tryed to solve it so: $myObj = new java("HalloWelt.web.HelloWorld"); but it does not work.Please tell me how can I access this class? |
From: <php...@li...> - 2009-04-24 11:00:07
|
Hi, is it an OutOfMemoryError or a perm gen space?You may want to report this problem to the jboss mailing list. The JavaBridgeTemplate.war ist available here: http://sourceforge.net/project/downloading.php?group_id=117793&filename=JavaBridgeTemplate5442rc1.war&a=19353110. The java/Java.inc appears after deployment at: http://localhost:8080/JavaBridgeTemplate5442rc1/java/Java.inc Regards, Jost Boekemeier Apr 24, 2009 11:57 vorm. schrieb am < php...@li...>: I will try using the servlet, but i can not find JavaBridgeTemplate.war, only JavaBridge.war (which gives me an java.io.IOException: java.io.IOException: Cannot allocate memory error deploying) If I use the Java daemon, how must I configure the bridge (and where, php.ini?) to communicate with it? Is still needed to include Java.inc? Thanks! El vie, 24-04-2009 a las 10:47 +0200, php...@li... escribió: > Hi, > > 1. If you don't want to use the .wa... > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-jav... Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign optio... php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-br... |