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) |
2
|
|
3
|
4
(7) |
5
(2) |
6
(3) |
7
|
8
|
9
|
|
10
|
11
|
12
|
13
(4) |
14
|
15
|
16
|
|
17
(1) |
18
(1) |
19
|
20
|
21
|
22
|
23
|
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
|
31
(2) |
|
|
|
|
|
|
|
From: <php...@li...> - 2009-05-31 14:54:27
|
Hi,
I'm working on porting an application to PHP that relies on some Java
functionality. I've decided to use the PHP/Java Bridge.
Here is what I've got in PHP. Summary: it takes in two strings, xml
and xsl, and should return the result of applying the xsl transform on
the xml.
So far, so good! I originally was having trouble getting the result
back out into a PHP string variable, but there was just a simple typo
in the code, So my post is turning into a slightly different
question.
Could someone familiar with the PHP/Java bridge look over my code and
let me know if it looks like I've got the "right idea" I'm concerned
about performance, and the fact that the variables $xml and $xsl could
potentially be very large (megabytes of text)
Thanks in advance for any insight you can give me. This is new ground
for me, and I want to make sure I'm not making any major mistakes.
------
function saxon($xml,$xsl){
require_once("http://localhost:8080/JavaBridgeTemplate5442/java/Java.inc");
$System = java("java.lang.System");
$System->setProperty("javax.xml.transform.TransformerFactory",
"net.sf.saxon.TransformerFactoryImpl");
$TransformerFactory = java("javax.xml.transform.TransformerFactory");
$tFactory = $TransformerFactory->newInstance();
$xmlString = new Java("java.lang.String", $xml);
$xslString = new Java("java.lang.String", $xsl);
$xmlStringReader = new Java("java.io.StringReader", $xmlString);
$xslStringReader = new Java("java.io.StringReader", $xslString);
$xmlStreamSource = new
Java("javax.xml.transform.stream.StreamSource", $xmlStringReader);
$xslStreamSource = new
Java("javax.xml.transform.stream.StreamSource", $xslStringReader);
$transformer = $tFactory->newTransformer($xslStreamSource);
$outputStringWriter = new Java("java.io.StringWriter");
$outputStreamResult = new
Java("javax.xml.transform.stream.StreamResult",$outputStringWriter);
$transformer->transform($xmlStreamSource,$outputStreamResult);
$outputString = new Java("java.lang.String");
$outputString = $outputStringWriter->toString();
return (java_values($outputString));
}
--
John
|
|
From: <php...@li...> - 2009-05-31 04:36:45
|
I apologize, but I haven't gotten any new messages in 2 weeks and wanted to make sure this address was still on the mailing list. Thanks, |
|
From: <php...@li...> - 2009-05-18 06:15:05
|
I will be out of the office starting 05/15/2009 and will not return until 06/04/2009. I will respond to your message when I return. |
|
From: <php...@li...> - 2009-05-17 12:34:22
|
Hi,
The google app engine is a servlet engine with a very restrictive policy.
Only certain classes listed in a white list are granted full permissions.
Everything else cannot access files, start new threads or use reflection
setAccessible.
I think we should tune the PhpJavaServlet so that it can run in such a
restricted environment (the PhpCgiServlet still needs AllPermission,
however).
I will start with Andre's code and add a path which doesn't start java
threads to communicate with php. Then test against the debian and app engine
policy.
(Note that users still need a PHP-enabled HTTP server to run PHP, as PHP
needs direct file system access to run efficiently.)
Regards,
Jost Boekemeier
30. Apr 2009 7:31 nachm. schrieb am <
php...@li...>:
Hello,
I tested in Debian Lenny with an apache2(with mod_jk)+tomcat5.5,
configuring
/etc/php5/apache2/php.ini for
allow_url_include = On
(dangerous, only for development environment)
and using a test.php code from the FAQ.html code at apache2 doc root:
<?php
require_once("http://localhost:8180/JavaBridge/java/Java.inc");
echo java("java.lang.System")->getProperties();
?>
Use your own tomcat configured port number.
It worked as expected using the 5.4.4.2-1 j2ee deb package built from cvs,
placing the new file
60JavaBridge.policy
by hand where and as previously explained.
The 5.4.4.2-1 j2ee debian package is unfinished and only available at cvs
repository
and will not be released for binary download.
Build it from cvs following the README.Debian instructions.
The 60JavaBridge.policy file is available only at the repository HEAD by
now.
Please, test them and send suggestions and improvements to the list.
Regards.
Andre Felipe Machado
-- http://www.techforce.com.br A Debian user never dies. Issues a last
command: #shutdown -h now ...
On Thu, 30 Apr 2009 05:00:26 -0300,
php...@li... wrote: > > On Thu, 30 Apr 2009
11:27:39 +0200, > > php...
>> dv,
>
>> Ricsi
------------------------------------------------------------------------------
Register Now & Save...
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
|
|
From: <php...@li...> - 2009-05-13 14:13:18
|
Yes, I discovered that. I was simply wondering if the directory's location was a configuration setting because I was wanting to put it under my directory of PHP files to keep things tidy. No big deal. Thanks. |
|
From: <php...@li...> - 2009-05-13 07:50:01
|
Hi, if you remove the java directory or its content from the .war file, it will be created from the PhpCgiServlet during deployment. Regards, Jost Boekemeier 13. Mai 2009 9:36 vorm. schrieb am < php...@li...>: I may have answered my own question because this works: myApp --- java* ------ Java.inc ------ JavaProxy.php --- WEB-INF ------ cgi --------- (21 files) ------ lib --------- JavaBridge.jar --------- php-script.jar --------- php-servlet.jar * Can I put this "java" directory or its contents somewhere else? If so, how? Thanks, David. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
|
From: <php...@li...> - 2009-05-13 07:35:43
|
I may have answered my own question because this works: myApp --- java* ------ Java.inc ------ JavaProxy.php --- WEB-INF ------ cgi --------- (21 files) ------ lib --------- JavaBridge.jar --------- php-script.jar --------- php-servlet.jar * Can I put this "java" directory or its contents somewhere else? If so, how? Thanks, David. |
|
From: <php...@li...> - 2009-05-13 02:54:42
|
Great product. I need to integrate Java Bridge into an existing Java web application (Tomcat, Struts, etc.) because I need PHP for Facebook apps. What are the minimum required files needed for this integration? "The minimum to accomplish what?" you might ask. Good question. I simply need to create PHP scripts and import/include PHP libraries (supplied by Facebook) within those PHP files. Thanks. David Woosley |
|
From: <php...@li...> - 2009-05-06 14:31:04
|
Hi, Please do not report NoClassDefFoundErrors to the mailing list. Please see our FAQ for details. Mai 6, 2009 4:02 nachm. schrieb am < php...@li...>: Hello, I have the following problem: java.lang.RuntimeException: PHP Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: CreateInstance failed: new web.FacettenBrowser. Cause: java.lang.ClassNotFoundException: Unresolved external reference: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory. -- Unable to call constructorI added slf4j to the path (build path)in eclipse. I exported the project as a fat_jar (only one classloader)but anyway I get this error message. Is it a problem with classpath, maybe is smth. wrong in my Manifest (class path) ? How I can fix it? What is wrong with slf4j??? Thanks in advance! ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
|
From: <php...@li...> - 2009-05-06 14:04:49
|
Hello, I have the following problem:
java.lang.RuntimeException: PHP Fatal error:
Uncaught [[o:Exception]:"java.lang.Exception:
CreateInstance failed: new web.FacettenBrowser.
Cause: java.lang.ClassNotFoundException: Unresolved
external reference: java.lang.NoClassDefFoundError:
org/slf4j/LoggerFactory. -- Unable to call constructorI added slf4j to the path (build path)in eclipse. I exported the project as a fat_jar (only one classloader)but anyway I get this error message. Is it a problem with classpath, maybe is smth. wrong in my Manifest (class path) ? How I can fix it? What is wrong with slf4j???
Thanks in advance!
|
|
From: <php...@li...> - 2009-05-06 14:02:32
|
Hello, I have the following problem:
java.lang.RuntimeException: PHP Fatal error:
Uncaught [[o:Exception]:"java.lang.Exception:
CreateInstance failed: new web.FacettenBrowser.
Cause: java.lang.ClassNotFoundException: Unresolved
external reference: java.lang.NoClassDefFoundError:
org/slf4j/LoggerFactory. -- Unable to call constructorI
added slf4j to the path (build path)in eclipse. I exported the project
as a fat_jar (only one classloader)but anyway I get this error message.
Is it a problem with classpath, maybe is smth. wrong in my Manifest
(class path) ? How I can fix it? What is wrong with slf4j???
Thanks in
advance!
|
|
From: <php...@li...> - 2009-05-05 06:36:30
|
In the tomcat startup log you have sent, tomcat complains about an invalid library. However, the error message should be in the tomcat error log, usually named localhost.date.log. You could also raise the default_log_level, see our FAQ, to 4 or even 6, to see the details. Log4j chainsaw is quite useful in this case. Just copy it to TOMCAT_HOME/lib, restart tomcat with -Dphp.java.bridge.default_log_level=4 and start Chainsaw with: java -classpath log4j.jar org.apache.log4j.chainsaw.Main Mai 5, 2009 8:06 vorm. schrieb am < php...@li...>: Good morning, I get "protocol error: , Invalid document end at col 16. Check the back end log for OutOfMemoryErrors" after installing postgresql and pgadmin. the back end log: 05.05.2009 07:53:35 org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Programme\Java\jdk1.6.0_10\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Programme\PHP\;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\ATI Technologies\ATI.ACE\Core-Static 05.05.2009 07:53:35 org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8081 05.05.2009 07:53:35 org.apache.catalina.startup.Catalina load INFO: Initialization processed in 275 ms 05.05.2009 07:53:35 org.apache.catalina.core.StandardService start INFO: Starting service Catalina 05.05.2009 07:53:35 org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.18 05.05.2009 07:53:35 org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive JavaBridge.war 05.05.2009 07:53:40 org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(C:\Development\apache-tomcat-6.0.18\webapps\Ordner\WEB-INF\lib\WebProjekt2.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class 05.05.2009 07:53:42 org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8081 05.05.2009 07:53:42 org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 05.05.2009 07:53:42 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/48 config=null 05.05.2009 07:53:42 org.apache.catalina.startup.Catalina start INFO: Server startup in 5167 ms 05.05.2009 07:54:37 info.aduna.lang.service.ServiceRegistry <init> INFO: Registered service class org.openrdf.rio.n3.N3ParserFactory 05.05.2009 07:54:37 info.aduna.lang.service.ServiceRegistry <init> INFO: Registered service class org.openrdf.rio.ntriples.NTriplesParserFactory 05.05.2009 07:54:37 info.aduna.lang.service.ServiceRegistry <init> INFO: Registered service class org.openrdf.rio.rdfxml.RDFXMLParserFactory 05.05.2009 07:54:37 info.aduna.lang.service.ServiceRegistry <init> INFO: Registered service class org.openrdf.rio.trig.TriGParserFactory 05.05.2009 07:54:37 info.aduna.lang.service.ServiceRegistry <init> INFO: Registered service class org.openrdf.rio.trix.TriXParserFactory 05.05.2009 07:54:37 info.aduna.lang.service.ServiceRegistry <init> INFO: Registered service class org.openrdf.rio.turtle.TurtleParserFactory 05.05.2009 07:56:59 org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8081 05.05.2009 07:57:00 org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina 05.05.2009 07:57:00 org.apache.coyote.http11.Http11Protocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8081 05.05.2009 07:59:07 org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Programme\Java\jdk1.6.0_10\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Programme\PHP\;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\ATI Technologies\ATI.ACE\Core-Static 05.05.2009 07:59:07 org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8081 05.05.2009 07:59:07 org.apache.catalina.startup.Catalina load INFO: Initialization processed in 253 ms 05.05.2009 07:59:07 org.apache.catalina.core.StandardService start INFO: Starting service Catalina 05.05.2009 07:59:07 org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.18 05.05.2009 07:59:07 org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive JavaBridge.war 05.05.2009 07:59:09 org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(C:\Development\apache-tomcat-6.0.18\webapps\Ordner\WEB-INF\lib\WebProjekt2.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class 05.05.2009 07:59:10 org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8081 05.05.2009 07:59:10 org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 05.05.2009 07:59:10 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/16 config=null 05.05.2009 07:59:10 org.apache.catalina.startup.Catalina start INFO: Server startup in 1225 ms 05.05.2009 07:59:56 info.aduna.lang.service.ServiceRegistry <init> INFO: Registered service class org.openrdf.rio.n3.N3ParserFactory 05.05.2009 07:59:56 info.aduna.lang.service.ServiceRegistry <init> INFO: Registered service class org.openrdf.rio.ntriples.NTriplesParserFactory 05.05.2009 07:59:56 info.aduna.lang.service.ServiceRegistry <init> INFO: Registered service class org.openrdf.rio.rdfxml.RDFXMLParserFactory 05.05.2009 07:59:56 info.aduna.lang.service.ServiceRegistry <init> INFO: Registered service class org.openrdf.rio.trig.TriGParserFactory 05.05.2009 07:59:56 info.aduna.lang.service.ServiceRegistry <init> INFO: Registered service class org.openrdf.rio.trix.TriXParserFactory 05.05.2009 07:59:56 info.aduna.lang.service.ServiceRegistry <init> INFO: Registered service class org.openrdf.rio.turtle.TurtleParserFactory Thank you very much in advance!!! ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
|
From: <php...@li...> - 2009-05-05 06:06:39
|
Good morning,
I get "protocol error: , Invalid document end at col 16. Check the back end log for OutOfMemoryErrors" after installing postgresql and pgadmin.
the back end log:
05.05.2009 07:53:35 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Programme\Java\jdk1.6.0_10\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Programme\PHP\;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\ATI Technologies\ATI.ACE\Core-Static
05.05.2009 07:53:35 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8081
05.05.2009 07:53:35 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 275 ms
05.05.2009 07:53:35 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
05.05.2009 07:53:35 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
05.05.2009 07:53:35 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive JavaBridge.war
05.05.2009 07:53:40 org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(C:\Development\apache-tomcat-6.0.18\webapps\Ordner\WEB-INF\lib\WebProjekt2.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
05.05.2009 07:53:42 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8081
05.05.2009 07:53:42 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
05.05.2009 07:53:42 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/48 config=null
05.05.2009 07:53:42 org.apache.catalina.startup.Catalina start
INFO: Server startup in 5167 ms
05.05.2009 07:54:37 info.aduna.lang.service.ServiceRegistry <init>
INFO: Registered service class org.openrdf.rio.n3.N3ParserFactory
05.05.2009 07:54:37 info.aduna.lang.service.ServiceRegistry <init>
INFO: Registered service class org.openrdf.rio.ntriples.NTriplesParserFactory
05.05.2009 07:54:37 info.aduna.lang.service.ServiceRegistry <init>
INFO: Registered service class org.openrdf.rio.rdfxml.RDFXMLParserFactory
05.05.2009 07:54:37 info.aduna.lang.service.ServiceRegistry <init>
INFO: Registered service class org.openrdf.rio.trig.TriGParserFactory
05.05.2009 07:54:37 info.aduna.lang.service.ServiceRegistry <init>
INFO: Registered service class org.openrdf.rio.trix.TriXParserFactory
05.05.2009 07:54:37 info.aduna.lang.service.ServiceRegistry <init>
INFO: Registered service class org.openrdf.rio.turtle.TurtleParserFactory
05.05.2009 07:56:59 org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8081
05.05.2009 07:57:00 org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
05.05.2009 07:57:00 org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8081
05.05.2009 07:59:07 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Programme\Java\jdk1.6.0_10\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Programme\PHP\;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\ATI Technologies\ATI.ACE\Core-Static
05.05.2009 07:59:07 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8081
05.05.2009 07:59:07 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 253 ms
05.05.2009 07:59:07 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
05.05.2009 07:59:07 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
05.05.2009 07:59:07 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive JavaBridge.war
05.05.2009 07:59:09 org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(C:\Development\apache-tomcat-6.0.18\webapps\Ordner\WEB-INF\lib\WebProjekt2.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
05.05.2009 07:59:10 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8081
05.05.2009 07:59:10 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
05.05.2009 07:59:10 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/16 config=null
05.05.2009 07:59:10 org.apache.catalina.startup.Catalina start
INFO: Server startup in 1225 ms
05.05.2009 07:59:56 info.aduna.lang.service.ServiceRegistry <init>
INFO: Registered service class org.openrdf.rio.n3.N3ParserFactory
05.05.2009 07:59:56 info.aduna.lang.service.ServiceRegistry <init>
INFO: Registered service class org.openrdf.rio.ntriples.NTriplesParserFactory
05.05.2009 07:59:56 info.aduna.lang.service.ServiceRegistry <init>
INFO: Registered service class org.openrdf.rio.rdfxml.RDFXMLParserFactory
05.05.2009 07:59:56 info.aduna.lang.service.ServiceRegistry <init>
INFO: Registered service class org.openrdf.rio.trig.TriGParserFactory
05.05.2009 07:59:56 info.aduna.lang.service.ServiceRegistry <init>
INFO: Registered service class org.openrdf.rio.trix.TriXParserFactory
05.05.2009 07:59:56 info.aduna.lang.service.ServiceRegistry <init>
INFO: Registered service class org.openrdf.rio.turtle.TurtleParserFactory
Thank you very much in advance!!!
|
|
From: <php...@li...> - 2009-05-04 11:32:03
|
Only to be sure, is it ok that I try to invoke the only one method (there are other in the java code)? Because I can't find any mistakes, but I get "SuchMethodNotFoundException"?
|
|
From: <php...@li...> - 2009-05-04 09:55:28
|
try to put it in /WEB-INF/lib
in META-INF only meta-information is stored...
On Mon, May 4, 2009 at 11:44 AM, <
php...@li...> wrote:
>
>
> In the folder Ordner I have the php-file, in META-INF/lib I have the
> jar"WebProjekt".
> <?php
> require_once("http://localhost:8081/Ordner/java/Java.inc");
>
> $System = java("java.lang.System");
>
> $myObj = new java('WebProjekt');
> echo java_inspect('web.FacettenBrowser');
> echo $myObj->getHalloWelt();
>
>
> ?>
>
>
>
>
>
> ------------------------------------------------------------------------------
> 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-05-04 09:44:10
|
In the folder Ordner I have the php-file, in META-INF/lib I have the jar"WebProjekt".
<?php
require_once("http://localhost:8081/Ordner/java/Java.inc");
$System = java("java.lang.System");
$myObj = new java('WebProjekt');
echo java_inspect('web.FacettenBrowser');
echo $myObj->getHalloWelt();
?>
|
|
From: <php...@li...> - 2009-05-04 08:14:02
|
have you put the required jar file into the /WEB-INF/lib folder of your web-project ? so it looks like web-project.jar + | someJSP.jsp |- /WEB-INF/web.xml |- /WEB-INF/lib/someOtherJar.jar |- /WEB-INF/classes/org/somedomain/somepackage/SomeClass.class or how does your project look like? and what code do you use that throws the exception. please always provide this information... your exception is specific to your project and if we do not know how your project looks like and which code creates the problem, we cannot help you. 2009/5/4 <php...@li...> > > > Using " java_inspect" I get: > root cause java.lang.RuntimeException: PHP Fatal error: > Uncaught [[o:Exception]:"java.lang.Exception: > CreateInstance failed: new WebProjekt. > Cause: java.lang.ClassNotFoundException: WebProjekt VM: 1.6.0_10@ > http://java.sun.com/" at: > > > > > > > ------------------------------------------------------------------------------ > 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-05-04 07:42:49
|
Using " java_inspect" I get: root cause java.lang.RuntimeException: PHP Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: CreateInstance failed: new WebProjekt. Cause: java.lang.ClassNotFoundException: WebProjekt VM: 1.6.0_10@http://java.sun.com/" at: |
|
From: <php...@li...> - 2009-05-04 07:18:25
|
1. You can query the available methods using echo java_inspect($objOrClass)
2. The java_require() creates a new url class loader which can load any .jar
file or directory containing jar files, provided they are accessible and
valid.
3. Classes must be loaded by one and only one class loader. Adding the same
location or copying classes to another location (moving them is okay) will
lead to a disaster. Blame sun for this.
Regards,
Jost Boekemeier
Mai 4, 2009 9:00 vorm. schrieb am <
php...@li...>:
Hello,
I get the whole time "NoSuchMethodException", but if I add
"java_require(".....")" to the php code I get another message:
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
WebProjekt, reason: WebProjekt (Das System kann die angegebene Datei nicht
finden) VM: 1.6.0_10@http://java.sun.com/"Why is the jar(file) not found?
Many thanks in Advance!
------------------------------------------------------------------------------
Register No...
|
|
From: <php...@li...> - 2009-05-04 07:00:21
|
Hello,
I get the whole time "NoSuchMethodException", but if I add "java_require(".....")" to the php code I get another message:
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
WebProjekt, reason: WebProjekt (Das System kann die angegebene Datei nicht finden) VM: 1.6.0_10@http://java.sun.com/"Why is the jar(file) not found?
Many thanks in Advance!
|
|
From: <php...@li...> - 2009-05-01 11:58:01
|
just guessing... have you initialized documents first?
so that getDocuments doesn't return null?
2009/4/30 <php...@li...>
> Well,
> ...............................................(code)
> .................................................
> public Collection<String> getDocuments(){ // one part of the code
> return documents;
> }
> /**
> * Returns the categories if builded.
> * @return
> */
> public ArrayList<ArrayList<String>> getKategorien(){
> return categories;
>
> }
> public String getNewNumber(){
> return "drei";
> }
> }
>
> 2. php:
> <?php
>
> require_once("http://localhost:8080/Bridge/java/Java.inc");
>
> $System = java("java.lang.System");
>
> $Ob = new java("com.SommerHaus");
>
> echo $Ob->getNewNumber();
>
> ?>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> 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-05-01 07:35:35
|
Well, your code will work, provided that this is really the code that your
computer sees, and not some old version of it.
Apr 30, 2009 4:15 nachm. schrieb am <
php...@li...>:
Well,
...............................................(code)
.................................................
public Collection<String> getDocuments(){ // one part of the code
return documents;
}
/**
* Returns the categories if builded.
* @return
*/
public ArrayList<ArrayList<String>> getKategorien(){
return categories;
}
public String getNewNumber(){
return "drei";
}
}
2. php:
<?php
require_once("http://localhost:8080/Bridge/java/Java.inc");
$System = java("java.lang.System");
$Ob = new java("com.SommerHaus");
echo $Ob->getNewNumber();
?>
------------------------------------------------------------------------------
Register N...
|