Gaurav
To the best of my knowledge, JavaBridge is no longer supported. Use
JNI.
Stephen Caine
Soft Breeze Systems, LLC
On Mar 7, 2009, at 1:39 AM, Gaurav Pruthi wrote:
Dear All,
I am facing a strange issue in tomcat from last 2 months. I have 2
websites
which are running on PHP. They took tomcat hosting for Payment Gateway
Configuration as we only provide JRE in tomcat environment.. I am
using
JavaBridge for this purpose.
Once it is configured and PG is working perfectly. Issue appears
when i give
restart to tomcat server. Here are the details i am using
Tomcat 6.0.16
JRE 1.6
Apache 1.37
PHP v5
JavBridge 5.4.3.1
After restart i gets this error:
*Fatal error*: Uncaught [[o:Exception]:"java.lang.Exception: Invoke
failed:
[[o:PostLib]]->postSSL([o:BillToAddress], [o:ShipToAddress],
[o:Merchant],
[o:MPIData], null, [o:PGReserveData], [o:CustomerDetails],
[o:SessionDetail], [o:AirLineTransaction], [o:MerchanDise]). Cause:
java.lang.ClassNotFoundException: Unresolved external reference:
java.lang.NoClassDefFoundError: javax/servlet/http/
HttpServletResponse. --
Unable to call the method, see the README section "Java platform
issues" for
details and DO NOT REPORT THIS PROBLEM TO THE PHP/Java Bridge
MAILING LIST!
VM: 1.6.0...@http://java.sun.com/" at: #-6
php
.java
.bridge
.JavaBridge.getUnresolvedExternalReferenceException(JavaBridge.java:
434)
#-5 php.java.bridge.JavaBridge.Invoke(JavaBridge.java:1092) #-4
php.java.bridge.Request.handleRequest(Request.java:405) #0
/usr/local/tomcat/webapps/www.domain.com/java/Java.inc(334):
java_ThrowExceptionProxyFactory->getProxy(15, '@V', 'Unresolved
exte...',
true) #1 /usr/local/tomcat/webapps/www.domain.com/java/
Java.inc(491): j in *
/usr/local/tomcat/webapps/www.domain.com/java/Java.inc* on line *297*
If i restart tomcat 2-3 times, it starts working. I am unable to
understand
why it is unable to find class which is associated with servlet-
api.jar
which is copied to tomcat lib directory, jre lib directory and
JavaBridge
lib path. But when i give restart to tomcat using shutdown.sh/
startup.sh
twice or thrice, it starts working. Hence it is a hit and try
solution for
me.
Issue is with only payment gateway websites which are using JavaBridge
Kindly let me know if more information is required on the scanario
configured at my end.
Any help will be highly. appreciated.
Gaurav Pruthi
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org