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
(3) |
2
(2) |
|
3
(2) |
4
(7) |
5
(4) |
6
(1) |
7
|
8
|
9
|
|
10
(8) |
11
|
12
(2) |
13
(6) |
14
(5) |
15
(1) |
16
|
|
17
|
18
(3) |
19
(3) |
20
(3) |
21
(4) |
22
(2) |
23
(1) |
|
24
(2) |
25
(10) |
26
(4) |
27
|
28
(3) |
29
(1) |
|
|
From: <php...@li...> - 2008-02-14 23:13:39
|
Hi Jost,
Thanks for your reply. It is certainly possible to copy all of my libraries to WEB-INF/lib. Infact this has been my behavior once I was able to finally package up myapp.jar (a huge pain - not the jar -cvf etc, but the silly java app I am trying to consolidate here).
So with that in mind, I was unaware that myapp (the web app instance of java) needed to be deployed on the "local" apache document root as well. It was my understanding that loading a library via:
java_require("myapp.jar");
would load the java from the Tomcat instance - and then any calls to such classes would of course execute there. Like I say - I have done that - but the java_require / autoload still fails.
For number 3, you indicate copying "myapp" to the apache root, does myapp in that case mean the exploded war, or rather just the PHP myapp - which contains no java binary?
Sorry for the confusion man, I did not get the impression from any documentation that the myapp.jar (in any form) had to be deployed on the apache doc root (or any where else in the apache context) as well.
Thanks,
~tim
> Despite apache / tomcat being on the same server, it seems promiscuous needs to be on, as well
> as allow_url_include.
yes, this is documented, I think. :)
See also: http://www.ibm.com/developerworks/aix/library/au-javaphpaix5/
> But now, I cannot get java_require or java_autoload to get at my classes packaged within my web
> app.
Isn't it possible to copy all your libraries to WEB-INF/lib?
Basically users should be able to install the bridge with 3 simple steps:
1. Rename JavaBridge.war to myApp.war and add all needed Java and PHP libraries to the
myApp.war
2. Copy myApp.war to the J2EE autodeploy folder, wait until the directory myApp appears
3. Copy the directory myApp over to the Apache or IIS document root
4. Browse to http://yourHost.com/myApp and run the PHP/Java applications.
|
|
From: <php...@li...> - 2008-02-14 18:23:10
|
Hi Zoran,
> references other JARS, and that somethimes it can cause "classnotfound"
this isn't a class not found exception. It is a hard error: NoClassDefFound.
> >Java has no "module system". The above message means that there's an
> open reference >which cannot be resolved.
>
> Could you please be more specific about this "open reference which
> cannot be resolved".
Not really. The only person who could resolve this issue is the person who has compiled the
class or library. You could look at the library docs, which probably include a section which lists
the libraries which must be linked together in order to build an executable.
Once you know which libraries to link, you can append them to the java_require path or
copy them to WEB-INF/lib/ and restart the J2EE server.
Regards,
Jost Boekemeier
Lesen Sie Ihre E-Mails jetzt einfach von unterwegs.
www.yahoo.de/go
|
|
From: <php...@li...> - 2008-02-14 17:30:51
|
Hi, Thank you for your quick answer. I have tried to resolved what you have write about this issue. Regardless I have some experiences with Java, I must admit that I'm not familiar with deploying it as JAR files. I have tried to google for some pages related to this issue, and I have resolved till now that it is related to the problem of how JAR references other JARS, and that somethimes it can cause "classnotfound" problems, but I didn't found anything that clearly explains how to struggle this issue. Could you suggest me some link that could be useful to resolve this. >Java has no "module system". The above message means that there's an open reference >which cannot be resolved. Could you please be more specific about this "open reference which cannot be resolved". In my Java class I don't have anything that could cause "org/openrdf/sesame/query/QueryEvaluationException" that is not handled from Java (I have attached this class, as well as php file that use it, if it could be helpful) Regards Zoran php...@li... wrote: Hi, > java.lang.ClassNotFoundException: Unresolved external reference: java.lang.NoClassDefFoundError: > org/openrdf/sesame/query/QueryEvaluationException. -- Unable to call constructor, see the README > section "Java platform issues" for > details. VM: 1.6.0_04@http://java.sun.com/" at: Java has no "module system". The above message means that there's an open reference which cannot be resolved. Please re-read the README section "Java platform issues" and your Java documentation for details. If there's anything we can do to describe the problem more clearly, please let us know. Regards, Jost Boekemeier Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s mit dem neuen Yahoo! Mail. www.yahoo.de/mail ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users --------------------------------- Never miss a thing. Make Yahoo your homepage. |
|
From: <php...@li...> - 2008-02-14 09:08:39
|
Hi, > java.lang.ClassNotFoundException: Unresolved external reference: java.lang.NoClassDefFoundError: > org/openrdf/sesame/query/QueryEvaluationException. -- Unable to call constructor, see the README > section "Java platform issues" for > details. VM: 1.6.0_04@http://java.sun.com/" at: Java has no "module system". The above message means that there's an open reference which cannot be resolved. Please re-read the README section "Java platform issues" and your Java documentation for details. If there's anything we can do to describe the problem more clearly, please let us know. Regards, Jost Boekemeier Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s mit dem neuen Yahoo! Mail. www.yahoo.de/mail |
|
From: <php...@li...> - 2008-02-14 09:04:10
|
Hi,
I found that this error is not connected with libraries used in Java. Rather it has something with proxy, as the error code refere to the Java.inc getProxy function. However, I don't have problem to access other java classes in the same package, as well as to access this class from Java code. Here is the complete error code I got:
Error (File: http://localhost:8080/JavaBridge/java/Java.inc, line 222): [[o:ClassNotFoundException]:"java.lang.ClassNotFoundException: Unresolved external reference: java.lang.NoClassDefFoundError: org/openrdf/sesame/query/QueryEvaluationException. -- Unable to call constructor, see the README section "Java platform issues" for details." at: #-6 php.java.bridge.JavaBridge.getUnresolvedExternalReferenceException(JavaBridge.java:427) #-5 php.java.bridge.JavaBridge.CreateObject(JavaBridge.java:498) #-4 php.java.bridge.Request.handleRequest(Request.java:447) #0 http://localhost:8080/JavaBridge/java/Java.inc(259): java_ExceptionProxyFactory->getProxy(4, 'java.lang.Class...', true) #1 http://localhost:8080/JavaBridge/java/Java.inc(411): java_Arg->getResult(true) #2 http://localhost:8080/JavaBridge/java/Java.inc(417): java_Client->getWrappedResult(true) #3 http://localhost:8080/JavaBridge/java/Java.inc(621): java_Client->getResult() #4
http://localhost:8080/JavaBridge/java/Java.inc(1744): java_Client->invokeMethod(3, 'getCause', Array) #5 http://localhost:8080/JavaBridge/java/Java.inc(2112): java_JavaProxy->__call('getCause', Array) #6 [internal function]: java_exception->__call('getCause', Array) #7 C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\test\test.php(18): java_InternalException->getCause() #8 {main}]
Thanks
Zoran
php...@li... wrote:
Hi,
I'm newby in PHP and PHP/Java bridge, and I have some doubt about it. It seems that I can not instantiate Java class from PHP in case that class imports some external library, regardless that library is available in jar file that I use. Here is the PHP code:
....
require_once('http://localhost:8080/JavaBridge/java/Java.inc');
java_require("moodleLOCMapper v0.003.jar");
$repository=new Java("depths.moodle.RepositoryFactory");
....
Java code
package depths.moodle;
import org.openrdf.sesame.repository.SesameRepository;
import depths.moodle.repository.Repository;
public class RepositoryFactory {
....
And here is the error:
javax.servlet.ServletException: PHP Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: CreateInstance failed: new depths.moodle.RepositoryFactory. Cause: java.lang.ClassNotFoundException: Unresolved external reference: java.lang.NoClassDefFoundError: org/openrdf/sesame/query/QueryEvaluationException. -- Unable to call constructor, see the README section "Java platform issues" for details. VM: 1.6.0_04@http://java.sun.com/" at:
Did I make some mistake here, or I have to create facade class in order to access this class?
Thanks
Zoran
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
php-java-bridge-users mailing list
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
|