You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(6) |
Oct
(6) |
Nov
(8) |
Dec
(2) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(19) |
Feb
(15) |
Mar
(10) |
Apr
(8) |
May
(7) |
Jun
(9) |
Jul
(13) |
Aug
(31) |
Sep
(111) |
Oct
(52) |
Nov
(72) |
Dec
(42) |
2006 |
Jan
(21) |
Feb
(32) |
Mar
(33) |
Apr
(24) |
May
(15) |
Jun
(40) |
Jul
(32) |
Aug
(19) |
Sep
(38) |
Oct
(37) |
Nov
(63) |
Dec
(37) |
2007 |
Jan
(18) |
Feb
(39) |
Mar
(69) |
Apr
(49) |
May
(71) |
Jun
(59) |
Jul
(71) |
Aug
(85) |
Sep
(46) |
Oct
(14) |
Nov
(25) |
Dec
(56) |
2008 |
Jan
(24) |
Feb
(77) |
Mar
(104) |
Apr
(44) |
May
(41) |
Jun
(11) |
Jul
(31) |
Aug
(59) |
Sep
(44) |
Oct
(86) |
Nov
(66) |
Dec
(93) |
2009 |
Jan
(88) |
Feb
(41) |
Mar
(49) |
Apr
(135) |
May
(22) |
Jun
(31) |
Jul
(60) |
Aug
(71) |
Sep
(76) |
Oct
(18) |
Nov
(52) |
Dec
(20) |
2010 |
Jan
(8) |
Feb
(50) |
Mar
(35) |
Apr
(48) |
May
(46) |
Jun
(84) |
Jul
(38) |
Aug
(61) |
Sep
(51) |
Oct
(31) |
Nov
(17) |
Dec
(18) |
2011 |
Jan
(51) |
Feb
(14) |
Mar
(17) |
Apr
(23) |
May
(15) |
Jun
(11) |
Jul
(5) |
Aug
(5) |
Sep
(15) |
Oct
(8) |
Nov
(5) |
Dec
(25) |
2012 |
Jan
(2) |
Feb
(4) |
Mar
(6) |
Apr
(9) |
May
(27) |
Jun
(32) |
Jul
(36) |
Aug
(10) |
Sep
(16) |
Oct
(3) |
Nov
(13) |
Dec
(7) |
2013 |
Jan
(1) |
Feb
(4) |
Mar
|
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(4) |
Oct
(2) |
Nov
(1) |
Dec
|
2014 |
Jan
|
Feb
|
Mar
(2) |
Apr
(1) |
May
(2) |
Jun
(9) |
Jul
(5) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
|
Dec
|
2015 |
Jan
(3) |
Feb
(2) |
Mar
(4) |
Apr
(3) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
(5) |
Oct
(1) |
Nov
|
Dec
|
2016 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(5) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
2017 |
Jan
(6) |
Feb
|
Mar
|
Apr
(10) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
2018 |
Jan
(2) |
Feb
(5) |
Mar
|
Apr
|
May
(1) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2021 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <php...@li...> - 2006-11-08 03:57:58
|
php-java-bridge is not supported to PHP5.2.0. The thing that zend-extension-API improved the version seems to cause. Please php-java-bridge correspond to PHP5.2.0. |
From: <php...@li...> - 2006-11-08 03:51:36
|
PHP5.2.0 not sapported. version up to PHP5.2.0 and version up to Zend Extension API. PHP5.2.0 not sapported to php-java-bridge. please sapport is php-java-bridge. |
From: <php...@li...> - 2006-11-06 18:01:26
|
Hi, the error: Class `php.java.bridge.DynamicJavaBridgeClassLoader' already defined in php/java/bridge/DynamicJavaBridgeClassLoader.java is due to a bug in the GNU GCC compiler. On Linux we use the GCC compiler to compile the Java classes into native code. This means that you don't need a Java VM on these systems and that Java support is compiled into the PHP binary (PHP uses dlopen to directly load the native lucene- or itext libraries). However, the GNU GCC compiler must be able to compile the Java code; it must generate a directed graph from all class dependencies and then begin at the leaves. The above message means that for some reason the same class appears twice in the GCC internal data structure. Please report this bug to the GCC maintainers. As a workaround please compile the bridge on RedHat Enterprise Linux or Fedora Linux and try to avoid compiling on NFS-mounted file systems if the client/server clocks are not synchronized. For further information please see PR1587302 http://sourceforge.net/tracker/index.php?func=detail&aid=1587302&group_id=117793&atid=679233 (marked as invalid, "won't fix"). Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-11-06 17:50:34
|
Hi, first of all thank you very much for this bug report. What you describe is a bug introduced in the 3.x series due to an optimization; since version 3.0.1 we store the content of the php array into a TreeMap data structure and then pass the appropriate view on that structure to the Java procedures. > $h = new java("java.util.HashMap", array(0=>"Some > Text")); > Integer 0, but rather an Object of the class > php.java.bridge.Request$PhpArrayKey. Yes, that's a bug. I have created a ticket for it, please see PR1591515 (http://sourceforge.net/tracker/index.php?func=detail&aid=1591515&group_id=117793&atid=679233) for details. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-11-06 17:41:27
|
Hi, > I am having problems getting the bridge to work with > php 5.2 that surprises me. Which problems do you have? The pure PHP implementation should work with all php implementations since php 5.1.2, including php 5.2 or php >= 6 for example. It should even work with the pure Java implementation of PHP -- well, not at the moment, quercus currently doesn't support interfaces and pfsockopen, but once these features are supported it will work. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-11-06 17:26:29
|
I am having problems getting the bridge to work with php 5.2 - I have it working with 5.1.6. Does anyone know if it should work and if so, anything that needs to be done differently to 5.1.6. Paul Send instant messages to your online friends http://uk.messenger.yahoo.com |
From: <php...@li...> - 2006-11-05 16:59:12
|
>Since the PHP array type is not directly compatible with a HashMap - >even though they are basically the same concept of key/value pairs - >you have to be careful when moving values back and forth between the >two. I have found that building a PHP array with all the values I >need first and then using a simple FOREACH loop to populate my Java >HashMap works great. Here's an example: > ><?php >... >// build a request array >$request['key1'] = "value1"; >$request['key2'] = "true"; >$request['key3'] = 2342; >$request['key4'] = "internet"; > >// == Prepare the request HashMap for Java == >$j_request = new Java("java.util.HashMap"); >foreach ($request AS $key => $val) { > $j_request->put($key,stripslashes($val)); >} > Thanks for the reply Jon. That's pretty much what I planned on doing. Am I correct that those issues are specifically with HashMaps, seeing as directly converting php arrays to a Vector seems to work ok? Thanks again. Tom _________________________________________________________________ Try the next generation of search with Windows Live Search today! http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&source=hmtagline |
From: <php...@li...> - 2006-11-03 22:12:33
|
On Nov 3, 2006, at 1:54 PM, php-java-bridge- us...@li... wrote: > I'm using php-java-bridge-3.1.8, and have run into something really > confusing when creating > HashMaps. > > I have a method in a Java class that accepts a HashMap. If I > create an > empty HashMap in > php and add elements with put like this: > > $h = new java("java.util.HashMap"); > $h->put(0 , "Some Text"); > > ...and pass that to my class I can get it's value with get(0) no > problem. > However if I create > the HashMap in php with something like this: > > $h = new java("java.util.HashMap", array(0=>"Some Text")); > > ...and pass that to the java class it wasn't able to get the key > 0. Also, > trying to use $h->get(0) > within php didn't work either. Since the PHP array type is not directly compatible with a HashMap - even though they are basically the same concept of key/value pairs - you have to be careful when moving values back and forth between the two. I have found that building a PHP array with all the values I need first and then using a simple FOREACH loop to populate my Java HashMap works great. Here's an example: <?php ... // build a request array $request['key1'] = "value1"; $request['key2'] = "true"; $request['key3'] = 2342; $request['key4'] = "internet"; // == Prepare the request HashMap for Java == $j_request = new Java("java.util.HashMap"); foreach ($request AS $key => $val) { $j_request->put($key,stripslashes($val)); } // To get your PHP array back from a HashMap just use the following $original_request_array = java_values($j_request); ... ?> Since Java is so strongly "typed" I have also run into a lot of problems with PHP's loose typing and Java. Hope this helps a bit. > > What I found is that the key to the resulting HashMap using the latter > syntax isn't an > Integer 0, but rather an Object of the class > php.java.bridge.Request$PhpArrayKey. > > I see that creating a Vector directly from an array in a similar > manner such > as: > > $h = new java("java.util.Vector", array(44.6, 5, 5.6, "some string")); > > ...works fine, and I get elements with all the expected data types > in java. > > Is this the expected behavior and possible something I missed in the > documentation? Nope. This is just an issue with data types between PHP and Java. I don't think you missed anything in the docs. The doc's for the Bridge don't really discuss the intricacies of handling different data types between PHP and Java. Maybe that is a good section to add to the documentation. I'll add that to my list. Jon Koerber (spladow) > It had > me going for hours. I see that there's at least one other email on > the list > were someone > couldn't read a value with get()...possibly the same issue. > > Thanks in advance. > > Tom > > _________________________________________________________________ > Try the next generation of search with Windows Live Search today! > http://imagine-windowslive.com/minisites/searchlaunch/?locale=en- > us&source=hmtagline > > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2006-11-03 21:54:25
|
I'm using php-java-bridge-3.1.8, and have run into something really confusing when creating HashMaps. I have a method in a Java class that accepts a HashMap. If I create an empty HashMap in php and add elements with put like this: $h = new java("java.util.HashMap"); $h->put(0 , "Some Text"); ...and pass that to my class I can get it's value with get(0) no problem. However if I create the HashMap in php with something like this: $h = new java("java.util.HashMap", array(0=>"Some Text")); ...and pass that to the java class it wasn't able to get the key 0. Also, trying to use $h->get(0) within php didn't work either. What I found is that the key to the resulting HashMap using the latter syntax isn't an Integer 0, but rather an Object of the class php.java.bridge.Request$PhpArrayKey. I see that creating a Vector directly from an array in a similar manner such as: $h = new java("java.util.Vector", array(44.6, 5, 5.6, "some string")); ...works fine, and I get elements with all the expected data types in java. Is this the expected behavior and possible something I missed in the documentation? It had me going for hours. I see that there's at least one other email on the list were someone couldn't read a value with get()...possibly the same issue. Thanks in advance. Tom _________________________________________________________________ Try the next generation of search with Windows Live Search today! http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&source=hmtagline |
From: <php...@li...> - 2006-11-03 17:50:49
|
Hi all, I am trying to build an install php java bridge on my centos 4.4 box. But I alway got an error I don't understand. rpmbuild --rebuild php-java-bridge-3.1.8-1.src.rpm ... ---------------------------------------------------------------------- Libraries have been installed in: /usr/src/redhat/BUILD/php-java-bridge-3.1.8/modules If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- cd /usr/src/redhat/BUILD/php-java-bridge-3.1.8/server; make CFLAGS="-g -O2" GCJFLAGS=" `echo -g -O2|sed 's/-D[^ ]*//g'`" install make[1]: Entering directory `/usr/src/redhat/BUILD/php-java-bridge-3.1.8/server' if /bin/sh ./libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I. -I. -DEXTENSION_DIR="\"/usr/lib/php4\"" -I/usr/java/j2sdk1.4.2_13/include -I/usr/java/j2sdk1.4.2_13/include/linux -D_REENTRANT -g -O2 -MT natcJavaBridge.lo -MD -MP -MF ".deps/natcJavaBridge.Tpo" -c -o natcJavaBridge.lo natcJavaBridge.c; \ then mv -f ".deps/natcJavaBridge.Tpo" ".deps/natcJavaBridge.Plo"; else rm -f ".deps/natcJavaBridge.Tpo"; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I. -DEXTENSION_DIR=\"/usr/lib/php4\" -I/usr/java/j2sdk1.4.2_13/include -I/usr/java/j2sdk1.4.2_13/include/linux -D_REENTRANT -g -O2 -MT natcJavaBridge.lo -MD -MP -MF .deps/natcJavaBridge.Tpo -c natcJavaBridge.c -fPIC -DPIC -o .libs/natcJavaBridge.o gcc -DHAVE_CONFIG_H -I. -I. -I. -DEXTENSION_DIR=\"/usr/lib/php4\" -I/usr/java/j2sdk1.4.2_13/include -I/usr/java/j2sdk1.4.2_13/include/linux -D_REENTRANT -g -O2 -MT natcJavaBridge.lo -MD -MP -MF .deps/natcJavaBridge.Tpo -c natcJavaBridge.c -o natcJavaBridge.o >/dev/null 2>&1 /bin/sh ./libtool --mode=link --tag=CC gcc -g -O2 -o libnatcJavaBridge.la -rpath /usr/lib/php4 -shared -avoid-version -prefer-pic natcJavaBridge.lo -lrt gcc -shared .libs/natcJavaBridge.o -lrt -Wl,-soname -Wl,libnatcJavaBridge.so -o .libs/libnatcJavaBridge.so ar cru .libs/libnatcJavaBridge.a natcJavaBridge.o ranlib .libs/libnatcJavaBridge.a creating libnatcJavaBridge.la (cd .libs && rm -f libnatcJavaBridge.la && ln -s ../libnatcJavaBridge.la libnatcJavaBridge.la) if gcc -DHAVE_CONFIG_H -I. -I. -I. -DEXTENSION_DIR="\"/usr/lib/php4\"" -I/usr/java/j2sdk1.4.2_13/include -I/usr/java/j2sdk1.4.2_13/include/linux -D_REENTRANT -g -O2 -MT java.o -MD -MP -MF ".deps/java.Tpo" -c -o java.o java.c; \ then mv -f ".deps/java.Tpo" ".deps/java.Po"; else rm -f ".deps/java.Tpo"; exit 1; fi if gcj -fjni -g -O2 -MT php/java/bridge/Base64EncodingOutputBuffer.o -MD -MP -MF "php/java/bridge/.deps/Base64EncodingOutputBuffer.Tpo" -c -o php/java/bridge/Base64EncodingOutputBuffer.o `test -f 'php/java/bridge/Base64EncodingOutputBuffer.java' || echo './'`php/java/bridge/Base64EncodingOutputBuffer.java; \ then mv -f "php/java/bridge/.deps/Base64EncodingOutputBuffer.Tpo" "php/java/bridge/.deps/Base64EncodingOutputBuffer.Po"; else rm -f "php/java/bridge/.deps/Base64EncodingOutputBuffer.Tpo"; exit 1; fi if gcj -fjni -g -O2 -MT php/java/bridge/BaseThreadPool.o -MD -MP -MF "php/java/bridge/.deps/BaseThreadPool.Tpo" -c -o php/java/bridge/BaseThreadPool.o `test -f 'php/java/bridge/BaseThreadPool.java' || echo './'`php/java/bridge/BaseThreadPool.java; \ then mv -f "php/java/bridge/.deps/BaseThreadPool.Tpo" "php/java/bridge/.deps/BaseThreadPool.Po"; else rm -f "php/java/bridge/.deps/BaseThreadPool.Tpo"; exit 1; fi if gcj -fjni -g -O2 -MT php/java/bridge/ChainsawLogger.o -MD -MP -MF "php/java/bridge/.deps/ChainsawLogger.Tpo" -c -o php/java/bridge/ChainsawLogger.o `test -f 'php/java/bridge/ChainsawLogger.java' || echo './'`php/java/bridge/ChainsawLogger.java; \ then mv -f "php/java/bridge/.deps/ChainsawLogger.Tpo" "php/java/bridge/.deps/ChainsawLogger.Po"; else rm -f "php/java/bridge/.deps/ChainsawLogger.Tpo"; exit 1; fi if gcj -fjni -g -O2 -MT php/java/bridge/ClassicParserString.o -MD -MP -MF "php/java/bridge/.deps/ClassicParserString.Tpo" -c -o php/java/bridge/ClassicParserString.o `test -f 'php/java/bridge/ClassicParserString.java' || echo './'`php/java/bridge/ClassicParserString.java; \ then mv -f "php/java/bridge/.deps/ClassicParserString.Tpo" "php/java/bridge/.deps/ClassicParserString.Po"; else rm -f "php/java/bridge/.deps/ClassicParserString.Tpo"; exit 1; fi if gcj -fjni -g -O2 -MT php/java/bridge/ClassicResponse.o -MD -MP -MF "php/java/bridge/.deps/ClassicResponse.Tpo" -c -o php/java/bridge/ClassicResponse.o `test -f 'php/java/bridge/ClassicResponse.java' || echo './'`php/java/bridge/ClassicResponse.java; \ then mv -f "php/java/bridge/.deps/ClassicResponse.Tpo" "php/java/bridge/.deps/ClassicResponse.Po"; else rm -f "php/java/bridge/.deps/ClassicResponse.Tpo"; exit 1; fi if gcj -fjni -g -O2 -MT php/java/bridge/ConstructorCache.o -MD -MP -MF "php/java/bridge/.deps/ConstructorCache.Tpo" -c -o php/java/bridge/ConstructorCache.o `test -f 'php/java/bridge/ConstructorCache.java' || echo './'`php/java/bridge/ConstructorCache.java; \ then mv -f "php/java/bridge/.deps/ConstructorCache.Tpo" "php/java/bridge/.deps/ConstructorCache.Po"; else rm -f "php/java/bridge/.deps/ConstructorCache.Tpo"; exit 1; fi if gcj -fjni -g -O2 -MT php/java/bridge/DefaultOptions.o -MD -MP -MF "php/java/bridge/.deps/DefaultOptions.Tpo" -c -o php/java/bridge/DefaultOptions.o `test -f 'php/java/bridge/DefaultOptions.java' || echo './'`php/java/bridge/DefaultOptions.java; \ then mv -f "php/java/bridge/.deps/DefaultOptions.Tpo" "php/java/bridge/.deps/DefaultOptions.Po"; else rm -f "php/java/bridge/.deps/DefaultOptions.Tpo"; exit 1; fi if gcj -fjni -g -O2 -MT php/java/bridge/DynamicClassLoader.o -MD -MP -MF "php/java/bridge/.deps/DynamicClassLoader.Tpo" -c -o php/java/bridge/DynamicClassLoader.o `test -f 'php/java/bridge/DynamicClassLoader.java' || echo './'`php/java/bridge/DynamicClassLoader.java; \ then mv -f "php/java/bridge/.deps/DynamicClassLoader.Tpo" "php/java/bridge/.deps/DynamicClassLoader.Po"; else rm -f "php/java/bridge/.deps/DynamicClassLoader.Tpo"; exit 1; fi if gcj -fjni -g -O2 -MT php/java/bridge/DynamicJavaBridgeClassLoader.o -MD -MP -MF "php/java/bridge/.deps/DynamicJavaBridgeClassLoader.Tpo" -c -o php/java/bridge/DynamicJavaBridgeClassLoader.o `test -f 'php/java/bridge/DynamicJavaBridgeClassLoader.java' || echo './'`php/java/bridge/DynamicJavaBridgeClassLoader.java; \ then mv -f "php/java/bridge/.deps/DynamicJavaBridgeClassLoader.Tpo" "php/java/bridge/.deps/DynamicJavaBridgeClassLoader.Po"; else rm -f "php/java/bridge/.deps/DynamicJavaBridgeClassLoader.Tpo"; exit 1; fi ./php/java/bridge/DynamicJavaBridgeClassLoader.java:52: error: Class `php.java.bridge.DynamicJavaBridgeClassLoader' already defined in php/java/bridge/DynamicJavaBridgeClassLoader.java:52. public class DynamicJavaBridgeClassLoader extends DynamicClassLoader { ^ ./php/java/bridge/DynamicJavaBridgeClassLoader.java:56: confused by earlier errors, bailing out make[1]: *** [php/java/bridge/DynamicJavaBridgeClassLoader.o] Error 1 make[1]: Leaving directory `/usr/src/redhat/BUILD/php-java-bridge-3.1.8/server' make: *** [/usr/src/redhat/BUILD/php-java-bridge-3.1.8/modules/stamp] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.33708 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.33708 (%build) Any ideas? |
From: <php...@li...> - 2006-10-28 18:37:50
|
Hi, please excuse the delay. > Looking back at the docs for the Bridge, it says > that if you get a > "NoClassDefFound" error it means there is another > class that the > current class is trying to reference or call that is > missing (so the > Client->runTransaction is missing something). Yes. There are proposals to add a SML style "module system" to Java and/or to add a global repository for Java classes (similar to the global assembly cache used by .NET). Until this is implemented I suggest to use the JavaBridge.war as a back end and to store all necessary java libraries to the WEB-INF/lib/ folder within the JavaBridge.war file. > Does this mean that the four java_require statements The classes loaded by one java_require statement cannot see the classes loaded by the other java_require statements, see http://php-java-bridge.sourceforge.net/documentation/PHP-API/html/java_8c.html#doc23. Merging the 4 statements into one may solve the problem. > If it means that there is some other JAR I need a > java_require for, > how do I go about finding what JAR I should > include??? Good question. From the README (http://php-java-bridge.sourceforge.net/README): Sun java platform issues ------------------------ The sun java platform does not support java "modules". This causes certain problems when running java programs. When you compile a class foo which references a class bar and ship the class foo without providing bar, the sun java platform will not complain unless the user accidentally calls a method which references the non-existing class. If this happens, a "NoClassDefFound" error is thrown. This error may not(!) indicate which class is missing and it certainly does not indicate which external library is missing. The tests.php4 folder contains two tests, noClassDefFound.php and noClassDefFound2.php which demonstrate this. To avoid this problem please document *exactly* (including the version number) which external libraries (.jar files) your software needs. If you have written software where certain methods require an optional library, please document this in the method header. If receive this error when using a Java library, this may mean the following: * an old or different JDK than expected by the library is used, for example GNU Java instead of SUN or IBM Java. * java_require("foo.jar"); java_require("bar.jar"); was used instead of java_require("foo.jar;bar.jar"); to load two interconnected libraries. * the library is simply broken or it expects certain parameters in its environment (applet parameter or system property or property file). * the library may only work within a J2EE environment from a certain vendor, for example the WebSphere Application server or the Sun Java Application server. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-10-28 18:16:20
|
Hi, please excuse the delay. > I've just downloaded and installed > php-java-bridge-3.1.8-1.FC5.i386.rpm > and added java.log_level = 3 in /etc/php.d/Java.ini, It is /etc/php.d/java.ini. The Linux file system is case sensitive. However, > java.lang.NullPointerException > at php.java.bridge.GlobalRef.get (java) no idea, sorry. -- The above null pointer exception means that the referenced element has been unreferenced before (which indicates a bug in the Zend engine). But the code example you've given cannot cause this problem, and it is neither a problem with php 5.1.4 nor with the Java VM. Please set the log level to 5 and report this as a bug (please use http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233). Regards, Jost Boekemeier ___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de |
From: <php...@li...> - 2006-10-19 12:27:02
|
Hi all, I've just downloaded and installed php-java-bridge-3.1.8-1.FC5.i386.rpm and added java.log_level = 3 in /etc/php.d/Java.ini, but it doesn't seem to work. ** my code ** <?php $s = new Java("java.lang.String", "Hello World!"); echo $s->toString(); ?> ** results ** Oct 19 21:12:32 JavaBridge INFO : JavaBridge version : 3.1.8 Oct 19 21:12:32 JavaBridge INFO : JavaBridge logFile : Oct 19 21:12:32 JavaBridge INFO : JavaBridge default logLevel: 3 Oct 19 21:12:32 JavaBridge INFO : JavaBridge socket : LOCAL:@java-bridge-814 Oct 19 21:12:32 JavaBridge INFO : JavaBridge thread pool size: 20 Oct 19 21:12:32 JavaBridge ERROR: An exception occured: java.lang.NullPointerException java.lang.NullPointerException at php.java.bridge.GlobalRef.get (java) at php.java.bridge.Request.getGlobalRef (java) at php.java.bridge.Request.begin (java) at php.java.bridge.Parser.CALL_BEGIN (java) at php.java.bridge.Parser.parse (java) at php.java.bridge.Request.handleRequest (java) at php.java.bridge.Request.handleRequests (java) at php.java.bridge.JavaBridge.run (java) at php.java.bridge.BaseThreadPool$Delegate.run (java) Oct 19 21:12:32 JavaBridge ERROR: An exception occured: java.lang.NullPointerException java.lang.NullPointerException at php.java.bridge.GlobalRef.get (java) at php.java.bridge.Request.getGlobalRef (java) at php.java.bridge.Request.begin (java) at php.java.bridge.Parser.CALL_BEGIN (java) at php.java.bridge.Parser.parse (java) at php.java.bridge.Request.handleRequest (java) at php.java.bridge.Request.handleRequests (java) at php.java.bridge.JavaBridge.run (java) at php.java.bridge.BaseThreadPool$Delegate.run (java) I'm running Fedora Core 5(2.6.15-1.2054_FC5) Apache 2.2.2 PHP 5.1.4 and any help and advice would really be appreciated. -tsunoda |
From: <php...@li...> - 2006-10-19 05:04:31
|
Winner Thanks for your patience and help in getting thru this issue |
From: <php...@li...> - 2006-10-18 17:36:38
|
Hi, > >>If you want to embed java statements into your php > pages, you must > >>install the PECL extension from sourceforge. > > Couldn't find a PECL extension on sourceforge - do > you have a > URL/instructions? I use PEAR but am not familiar > with PECL It is called php-4-java-x86-windows.dll and is stored in the WEB-INF/cgi folder within the JavaBridge.war. The README contained in the same folder has some information how to set it up. Basically you need to rename the above dll to php_java.dll, copy it to your php extension_dir and add a extension=php_java.dll [java] to your php.ini. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-10-18 10:01:16
|
Hi - Well I now have my logging working - in Jboss deploying an EAR! :) These are the steps I took. 1. Created an extension to the php bridge PhpJavaServlet and using the Util.setLogger parsing an instance of the the Log4JLogger. (just this on it's own gave me the following exception: ERROR: invalid console appender config detected, console stream is looping). Moving the Log4J jar into my ear then gave me the following: 16:04:29,676 ERROR [STDERR] log4j:ERROR A "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a "org.apache.log4j.spi.ErrorHandler" var So I: 2. Created a Servlet that creates an instance my Log4jRepositorySelector. 3. Created Log4jRepositorySelector. see http://wiki.jboss.org/wiki/Wiki.jsp?page=Log4jRepositorySelector for details. php...@li... wrote: Hi Jost, Thanks for your reply. Regarding my loss of logging and the my console freezing - I am using Tomcat within Jboss. I have tried adding the log4j.jar to the classpath in my Jboss startup script - this didn't solve the problem. I have also extended the PhpJavaServlet and set the logger to FileLogger (I assume the default is the Chainsaw?) and modified the php.ini to use various combinations (although I am not sure if this matters for my configuration) and these didn't sort my problem out either. I can, however, make calls to my EJB3 stateless session bean using the bridge - I just loose all logging which isn't desirable...I have done this by deploying my EAR with a WAR that only has the JavaBridge.jar and the php-servlet.jar from the original WAR (although I have used the original and get the same problem). As far as my problem with the connection abort error (see below) - this may well have something to do with Jboss not starting properly but this only happens when I use the bridge, is it possible that I have a port conflict? php...@li... wrote: Hi, > I am however, having a little problem with logging - > as soon as my EAR is deployed (or the original WAR) > my console locks up. Do you use tomcat as the web container? There is an open bug report connected with log4j. The tomcat people suggest to copy the log4j library to the global classpath. > I sometimes get the following exception also - on a > deployment (things still appear to work okay though) > > 2006-10-14 17:03:44,626 DEBUG > [org.jboss.invocation.pooled.server.ServerThread] > beginning dorun > 2006-10-14 17:03:44,636 ERROR > [org.jboss.invocation.pooled.server.ServerThread] > Failed to initialize > java.net.SocketException: Software caused connection > abort: recv failed > at java.net.SocketInputStream.socketRead0(Native > Method) > at > java.net.SocketInputStream.read(SocketInputStream.java:129) > at > java.io.BufferedInputStream.fill(BufferedInputStream.java:218) > at > java.io.BufferedInputStream.read1(BufferedInputStream.java:256) > at > java.io.BufferedInputStream.read(BufferedInputStream.java:313) > at > java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2222) > at > java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2235) > at > java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2703) > at > java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:760) > at > java.io.ObjectInputStream.(ObjectInputStream.java:278) > at > org.jboss.invocation.pooled.interfaces.OptimizedObjectInputStream.(OptimizedObjectInputStream.java:131) > at > org.jboss.invocation.pooled.server.ServerThread.dorun(ServerThread.java:265) > at > org.jboss.invocation.pooled.server.ServerThread.run(ServerThread.java:156) I don't think this is a PHP/Java Bridge issue. It sounds as if some jboss internal service failed to start correctly. Regards, Jost Boekemeier --------------------------------- Yahoo! Messenger - with free PC-PC calling and photo sharing.------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users Send instant messages to your online friends http://uk.messenger.yahoo.com |
From: <php...@li...> - 2006-10-17 17:42:47
|
Hi, > When I make a call to my EJB SLSB for the first time > after I have restarted Jboss I get the following > error: > > 'Fatal error: php_mod_java(98): Call object is > null, check back-end log file(s). in...' the java.persistent_connections option is responsible for this. The php instances keep a connection to the back end until they detect that the connection is broken, in which case you'll receive the above message and the php instance which has detected the failure resets its internal state. When using persistent connections to the back-end please make sure that you restart both, the front end (usually Apache or IIS) and the back end. Regards, Jost Boekemeier ___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de |
From: <php...@li...> - 2006-10-17 16:21:40
|
When I make a call to my EJB SLSB for the first time after I have restarted Jboss I get the following error: 'Fatal error: php_mod_java(98): Call object is null, check back-end log file(s). in...' If I refresh the page I get the expected result - any ideas on why this is happening? --------------------------------- Yahoo! Messenger - with free PC-PC calling and photo sharing. |
From: <php...@li...> - 2006-10-17 16:18:43
|
Hi Jost, Thanks for your reply. Regarding my loss of logging and the my console freezing - I am using Tomcat within Jboss. I have tried adding the log4j.jar to the classpath in my Jboss startup script - this didn't solve the problem. I have also extended the PhpJavaServlet and set the logger to FileLogger (I assume the default is the Chainsaw?) and modified the php.ini to use various combinations (although I am not sure if this matters for my configuration) and these didn't sort my problem out either. I can, however, make calls to my EJB3 stateless session bean using the bridge - I just loose all logging which isn't desirable...I have done this by deploying my EAR with a WAR that only has the JavaBridge.jar and the php-servlet.jar from the original WAR (although I have used the original and get the same problem). As far as my problem with the connection abort error (see below) - this may well have something to do with Jboss not starting properly but this only happens when I use the bridge, is it possible that I have a port conflict? php...@li... wrote: Hi, > I am however, having a little problem with logging - > as soon as my EAR is deployed (or the original WAR) > my console locks up. Do you use tomcat as the web container? There is an open bug report connected with log4j. The tomcat people suggest to copy the log4j library to the global classpath. > I sometimes get the following exception also - on a > deployment (things still appear to work okay though) > > 2006-10-14 17:03:44,626 DEBUG > [org.jboss.invocation.pooled.server.ServerThread] > beginning dorun > 2006-10-14 17:03:44,636 ERROR > [org.jboss.invocation.pooled.server.ServerThread] > Failed to initialize > java.net.SocketException: Software caused connection > abort: recv failed > at java.net.SocketInputStream.socketRead0(Native > Method) > at > java.net.SocketInputStream.read(SocketInputStream.java:129) > at > java.io.BufferedInputStream.fill(BufferedInputStream.java:218) > at > java.io.BufferedInputStream.read1(BufferedInputStream.java:256) > at > java.io.BufferedInputStream.read(BufferedInputStream.java:313) > at > java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2222) > at > java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2235) > at > java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2703) > at > java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:760) > at > java.io.ObjectInputStream.(ObjectInputStream.java:278) > at > org.jboss.invocation.pooled.interfaces.OptimizedObjectInputStream.(OptimizedObjectInputStream.java:131) > at > org.jboss.invocation.pooled.server.ServerThread.dorun(ServerThread.java:265) > at > org.jboss.invocation.pooled.server.ServerThread.run(ServerThread.java:156) I don't think this is a PHP/Java Bridge issue. It sounds as if some jboss internal service failed to start correctly. Regards, Jost Boekemeier --------------------------------- Yahoo! Messenger - with free PC-PC calling and photo sharing. |
From: <php...@li...> - 2006-10-16 23:34:45
|
Figured out the disconnect and why it wasn't "working" for me... Turns out that it seems I had the configuration correct at one point, the browser reporting back the message re: PECL required, along with your note about PECL "If you want to embed java statements into your php pages, you must install the PECL extension from sourceforge." turned out to be the final clue for me and in hindsight was actually working at that time. I had assumed, based on the browser output of the phpinfo()-like information, that the test.php file contained only one line and that line had phpinfo() on it. A bad assumption in hindsight. I opened the test.php file and saw calls to java includes and then made up a .php file that had the phpinfo() function as the only line in the file. Viola, I had 4.4.4, and even 4.4.2 when I pointed the bridge to use my old version of php. So the disconnect was that the test.php file didn't run off the bat, yet php support was enabled. Next step is to enable support for 4.4.x so that I can call java servlets and capture return values in my php pages >>If you want to embed java statements into your php pages, you must >>install the PECL extension from sourceforge. Couldn't find a PECL extension on sourceforge - do you have a URL/instructions? I use PEAR but am not familiar with PECL |
From: <php...@li...> - 2006-10-16 17:38:18
|
Hi, > I am however, having a little problem with logging - > as soon as my EAR is deployed (or the original WAR) > my console locks up. Do you use tomcat as the web container? There is an open bug report connected with log4j. The tomcat people suggest to copy the log4j library to the global classpath. > I sometimes get the following exception also - on a > deployment (things still appear to work okay though) > > 2006-10-14 17:03:44,626 DEBUG > [org.jboss.invocation.pooled.server.ServerThread] > beginning dorun > 2006-10-14 17:03:44,636 ERROR > [org.jboss.invocation.pooled.server.ServerThread] > Failed to initialize > java.net.SocketException: Software caused connection > abort: recv failed > at java.net.SocketInputStream.socketRead0(Native > Method) > at > java.net.SocketInputStream.read(SocketInputStream.java:129) > at > java.io.BufferedInputStream.fill(BufferedInputStream.java:218) > at > java.io.BufferedInputStream.read1(BufferedInputStream.java:256) > at > java.io.BufferedInputStream.read(BufferedInputStream.java:313) > at > java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2222) > at > java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2235) > at > java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2703) > at > java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:760) > at > java.io.ObjectInputStream.<init>(ObjectInputStream.java:278) > at > org.jboss.invocation.pooled.interfaces.OptimizedObjectInputStream.<init>(OptimizedObjectInputStream.java:131) > at > org.jboss.invocation.pooled.server.ServerThread.dorun(ServerThread.java:265) > at > org.jboss.invocation.pooled.server.ServerThread.run(ServerThread.java:156) I don't think this is a PHP/Java Bridge issue. It sounds as if some jboss internal service failed to start correctly. > p.s. Why is there such restrictions on posts to this > forum Because 90% of all messages posted to this list are spam. So we cannot allow anonymous posts or posts from non-members anymore. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-10-16 17:32:28
|
Hi, [please excuse the delay] > I am wanting to use your php-java-bridge to share > httpsession data between a php application and a > j2ee application and also for the php applicaton to > communicate with some java session facades as an > alternative to SOAP based calls. > > I have had mixed success with the various > configurations described in the documentation and > would appreciate comments on the most optimal > solution. I am finding the documentation a little > confusing :( I agree that the documentation is currently in a horrible state. But unfortunately we don't have any time to update or to rewrite it at the moment. > >From what I have read the c-based extension seems > to be an obvious choice and running PHP using the > Apache module rather than the embedded J2EE AS > option seems the safest. Not necessarily. Running PHP within a J2EE AS is faster than the Apache prefork MPM. The only problem with this setup is that java cannot drop privileges (due to posix constraints), so you need a native wrapper which forwards the request from the HTTP or HTTPS port to the unprivileged 8080 or 8443 ports. In most cases this "native wrapper" is either Apache with mod_jk or Apache with PHP and the PHP/Java Bridge. > Anyway, I am not sure if the above configuration is > correct/desirable Certainly. Your setup is described in fig. #3 in the README. > We are using Apache to server static content like > images and html, we are also using it to serve PHP. > We have the following rules for a virtual host: > > # Dynamic content > JkMount _/* worker > > # Static content > JkUnMount _/*.gif worker > (more like the above - including _/*.php) > > I am not really sure if I need the JkAutoAlias > also.. I can't comment on this one because I have not much experience with mod_jk. We usually set the Apache DocumentRoot to the J2EE AS webapps directory and set up a .htaccess file. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-10-16 16:46:25
|
Hi again. I am replying to my own question post since a friend of mine helped me track down my NoClassDefFound problem (thanks Russell). The error is in the java_require's at the beginning of my code. I needed to use the format java_require(JAR1;JAR2;JAR3;JAR4); instead of separating the requires. There is cross calling in the classes in the 4 libraries I use so they must all be brought into the same memory space. See the following reference for full details: http://php-java-bridge.sourceforge.net/documentation/PHP-API/html/ java_8c.html#doc23 I read this before, but it didn't rally gel in my brain until I was reminded of how libraries are cached by the back-end loader. Jon On Oct 15, 2006, at 4:49 PM, php-java-bridge- us...@li... wrote: > Hullo all. > > Well I am slowly getting closer to converting a sample java class > from our processing companies API (for credit card transactions) > into a woring PHP script using php-java bridge. Thanks for all the > helpful tips I received so far. > > I am currently stuck with an error when calling a particular method > of a class from the JAR file I included at the top of my script. > > MY CODE > ========= > java_require("/Library/WebServer/Documents/cj/simapi-java-5.0.0/lib/ > cybsclients15.jar"); > java_require("/Library/WebServer/Documents/cj/simapi-java-5.0.0/lib/ > cybssecurity.jar"); > java_require("/Library/WebServer/Documents/cj/simapi-java-5.0.0/lib/ > xercesImpl.jar"); > java_require("/Library/WebServer/Documents/cj/simapi-java-5.0.0/lib/ > xml-apis.jar"); > > // Set up var with the class for generating the charge request > $reply_class = new JavaClass("com.cybersource.ws.client.Client"); > // create new hashmap variable to use for results > $reply = new JavaClass("java.util.HashMap"); > $reply = java_util_hashMap(); > $reply = $reply_class->runTransaction($request, $props); > > RESULTS > ======== > [o(Exception):"java.lang.Exception: Invoke failed: [c(Client)]- > >runTransaction((Map)o(HashMap), (Properties)o(Properties)). Cause: > java.lang.ClassNotFoundException: Unresolved external reference: > java.lang.NoClassDefFoundError: com/cybersource/security/exception/ > SecuritySystemException. -- Unable to call the method, see the > README section "Java platform issues" for details. Responsible VM: > 1.5.0_06@http://apple.com/" at: #-6 > php.java.bridge.JavaBridge.getUnresolvedExternalReferenceException > (JavaBridge.java:481) #-5 php.java.bridge.JavaBridge.Invoke > (JavaBridge.java:1084) #-4 php.java.bridge.Request.handleRequest > (Request.java:499) #0 [internal function]: Java->__call > ('runTransaction', Array) #1 /Library/WebServer/Documents/cj/simapi- > java-5.0.0/samples/nvp/AuthCaptureSample.php(114): JavaClass- > >runTransaction(Object(JavaArray), Object(JavaArray)) #2 {main}] > > > Looking back at the docs for the Bridge, it says that if you get a > "NoClassDefFound" error it means there is another class that the > current class is trying to reference or call that is missing (so > the Client->runTransaction is missing something). > > Does this mean that the four java_require statements at the top of > my PHP script do not contain the missing class? These are all the > JAR files that were provided as part of this API package from our > card processing company. > > If it means that there is some other JAR I need a java_require for, > how do I go about finding what JAR I should include??? > > Thanks, > > Jon > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642______________________________ > _________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2006-10-15 23:49:16
|
Hullo all. Well I am slowly getting closer to converting a sample java class from our processing companies API (for credit card transactions) into a woring PHP script using php-java bridge. Thanks for all the helpful tips I received so far. I am currently stuck with an error when calling a particular method of a class from the JAR file I included at the top of my script. MY CODE ========= java_require("/Library/WebServer/Documents/cj/simapi-java-5.0.0/lib/ cybsclients15.jar"); java_require("/Library/WebServer/Documents/cj/simapi-java-5.0.0/lib/ cybssecurity.jar"); java_require("/Library/WebServer/Documents/cj/simapi-java-5.0.0/lib/ xercesImpl.jar"); java_require("/Library/WebServer/Documents/cj/simapi-java-5.0.0/lib/ xml-apis.jar"); // Set up var with the class for generating the charge request $reply_class = new JavaClass("com.cybersource.ws.client.Client"); // create new hashmap variable to use for results $reply = new JavaClass("java.util.HashMap"); $reply = java_util_hashMap(); $reply = $reply_class->runTransaction($request, $props); RESULTS ======== [o(Exception):"java.lang.Exception: Invoke failed: [c(Client)]- >runTransaction((Map)o(HashMap), (Properties)o(Properties)). Cause: java.lang.ClassNotFoundException: Unresolved external reference: java.lang.NoClassDefFoundError: com/cybersource/security/exception/ SecuritySystemException. -- Unable to call the method, see the README section "Java platform issues" for details. Responsible VM: 1.5.0_06@http://apple.com/" at: #-6 php.java.bridge.JavaBridge.getUnresolvedExternalReferenceException (JavaBridge.java:481) #-5 php.java.bridge.JavaBridge.Invoke (JavaBridge.java:1084) #-4 php.java.bridge.Request.handleRequest (Request.java:499) #0 [internal function]: Java->__call ('runTransaction', Array) #1 /Library/WebServer/Documents/cj/simapi- java-5.0.0/samples/nvp/AuthCaptureSample.php(114): JavaClass- >runTransaction(Object(JavaArray), Object(JavaArray)) #2 {main}] Looking back at the docs for the Bridge, it says that if you get a "NoClassDefFound" error it means there is another class that the current class is trying to reference or call that is missing (so the Client->runTransaction is missing something). Does this mean that the four java_require statements at the top of my PHP script do not contain the missing class? These are all the JAR files that were provided as part of this API package from our card processing company. If it means that there is some other JAR I need a java_require for, how do I go about finding what JAR I should include??? Thanks, Jon |
From: <php...@li...> - 2006-10-14 16:37:19
|
am able to deploy an EAR into Jboss 4.0.4GA (ejb3 install) and can call an EJB3 Stateless Session. I am however, having a little problem with logging - as soon as my EAR is deployed (or the original WAR) my console locks up. I have managed to connect to the log4j output using Chainsaw so I know things are still working. Why is my console and normal logging disappearing. I sometimes get the following exception also - on a deployment (things still appear to work okay though) 2006-10-14 17:03:44,626 DEBUG [org.jboss.invocation.pooled.server.ServerThread] beginning dorun 2006-10-14 17:03:44,636 ERROR [org.jboss.invocation.pooled.server.ServerThread] Failed to initialize java.net.SocketException: Software caused connection abort: recv failed at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read1(BufferedInputStream.java:256) at java.io.BufferedInputStream.read(BufferedInputStream.java:313) at java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2222) at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2235) at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2703) at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:760) at java.io.ObjectInputStream.<init>(ObjectInputStream.java:278) at org.jboss.invocation.pooled.interfaces.OptimizedObjectInputStream.<init>(OptimizedObjectInputStream.java:131) at org.jboss.invocation.pooled.server.ServerThread.dorun(ServerThread.java:265) at org.jboss.invocation.pooled.server.ServerThread.run(ServerThread.java:156) p.s. Why is there such restrictions on posts to this forum - seems a little over censored in my opinion. I have been writing software for many years, I admit to having no PHP experience, but I have had a few problems which I think had to do with the documentation not being particularly clear, are you afraid of a bit of constructive criticism? --------------------------------- Try the all-new Yahoo! Mail . "The New Version is radically easier to use" The Wall Street Journal |