|
From: <php...@li...> - 2009-04-24 09:55:19
|
I will try using the servlet, but i can not find JavaBridgeTemplate.war, only JavaBridge.war (which gives me an java.io.IOException: java.io.IOException: Cannot allocate memory error deploying) If I use the Java daemon, how must I configure the bridge (and where, php.ini?) to communicate with it? Is still needed to include Java.inc? Thanks! El vie, 24-04-2009 a las 10:47 +0200, php...@li... escribió: > Hi, > > 1. If you don't want to use the .war file, then start a Java daemon from PHP > to communicate with the J2EE back end. For example start java with: java > -Dphp.java.bridge.daemon=true -jar JavaBridge.jar form PHP. > > But as long as you run your J2EE back end as a daemon, you don't need to > start an additional daemon from PHP. > > 2. If your j2ee server cannot deploy a standard J2EE module, please report > this bug to the server developers. We know that the JavaBridgeTemplate.war > runs on jboss 5 w/o problems. We have tested bridge version 5.4.4.2 (current > download is rc, will be final tomorrow). > > Regards, > Jost Boekemeier > > Apr 24, 2009 10:32 vorm. schrieb am < > php...@li...>: > > Thank you a lot for the reply, > > 1. I've not using servlet with php-java-bridge 4.0.1, I made the > connection directly, so there is no JavaBridge.war in the jboss deploy > directory when I get that error (jboss 5.0.1 + php-java-bridge 4.0.1) > When I upgrade to jboss 5.0.1, I compile it also with --disable-servlet > but then I get the second error (java not found) > I also must to say that when I've tried to deploy the JavaBridge.war > file into jboss, I could not access to http://localhost:8080/JavaBridge > as the tutorial says, but I have several others .war files deployed ok :( > > 2. Where is the Java.inc file? that is the one I can find in > server/META-INF/java/Java.inc when I uncompress the php-java-bridge, > isn't it? Should I remove the [java] block at php.ini and at java.ini? > > 3. I'm using ejb3, so there is no need of env mapping declaration. > > Regards, and sorry my English! > Pedro Navajas > > El vie, 24-04-2009 a las 08:59 +0200, > php...@li... escribió: > > > Hi, > > 1. NoClassDefFound errors appear when the same class is loaded > more than > once. Probably... > > > ------------------------------------------------------------------------------ > > Crystal Reports - New Free Runtime and 30 Day Trial > > Check out the new simplified licensign option that enables unlimited > > royalty-free distribution of the report engine for externally facing > > server and web deployment. > > http://p.sf.net/sfu/businessobjects > > > _______________________________________________ > php-java-bridge-users > mailing list > php-java-br... > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensign option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > > _______________________________________________ php-java-bridge-users > mailing list php-java-bridge-u... > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensign option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |