|
From: <php...@li...> - 2007-05-13 15:02:59
|
I am running standalone backend on an XP platform. This is how I start =
the standalone bridge
C:\wamp\php\ext>java -Dconfig.file=3Doc25app.conf =
-Djava.library.path=3Dc:/wamp/php/ext/ =
-Djava.class.path=3Dc:/wamp/php/ext/JavaBridge.jar -Djav
a.awt.headless=3Dtrue -Dphp.java.bridge.base=3Dc:/wamp/php/ext/ =
php.java.bridge.Standalone INET_LOCAL:0 5 C:\wamp\logs\bridge.log
and This is what I see in the console
@9267
JavaBridge log: C:\wamp\logs\bridge.log
My log4j.properties was in in the classpath, but I still did not see any =
log in the console. I also coded System.out.println() and did not see =
any msg in the console.
I searched and found one of your post in the archive mail, I wonder =
whether this is the same case. Thanks
-------------------------------------------------------
> Also, once deploying the package it seems that
> logging from that point
> becomes disabled, e.g. no further server messages
> are shown - is this a
> default behaviour within the app itself?
The JavaBridge.war contains a log4j.jar library. This
library is responsible for this behaviour. I will
remove log4j from the war file.
Regards,
Jost Boekemeier
--------------------------------------------------------
=20
-----Original Message-----
From: php...@li... =
[mailto:php...@li...] On Behalf =
Of php...@li...
Sent: Sunday, May 13, 2007 5:40 AM
To: php...@li...
Subject: Re: [Php-java-bridge-users] Log4j.properties setting and =
eclipsedebugging
Hi,
[please excuse the delay]
> What is a proper way to set (incoporate) my
> application
> log4j.properties file in java bridge? As I know
I assume "log4j.properties" is some kind of
configuration file for the "log4j" java library. Such
config files belong to a dedicated config directory
(please see your J2EE server for details) or into the
classpath, for example php.java.bridge.base/lib
(usually: $HOME/lib).
> Could I use eclipse to debug my code and inspect the
> values at the point
> where the bridge invoking a method in my app?
Yes. The PHP/Java Bridge has been developed this way.
Regards,
Jost Boekemeier
Heute schon einen Blick in die Zukunft von E-Mails wagen? =
Versuchen Sie=B4s mit dem neuen Yahoo! Mail. www.yahoo.de/mail
-------------------------------------------------------------------------=
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
php-java-bridge-users mailing list
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
|