From: <php...@li...> - 2007-03-19 15:03:58
|
Hi, > The error I was getting was that it couldn't find > the class. I don't think so. Can you please open a problem report, please use http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233 set the log level to 4 and attach the server log there. > But now I've got a > different error: > CreateInstance failed: new Test. Cause: > java.lang.IllegalAccessException: > Class php.java.bridge.JavaBridge can not access a > member of class Test with > modifiers "public" Responsible VM: > 1.5.0_11@http://java.sun.com/ Ah, now we're are at something. So your problem isn't that the class could not be found. The problem is that the wrapper Java class you've written throws exceptions or even errors. -- Most likely a NoClassDefFoundError. > This is my java code: > > class Test This will not work, because your class is not public. > All methods are public. Irrelevant. > Besides, I installed > the PHP/Java Bridge from its source because the RPM > package didn't work for > me I don't know what Andr'e and Jon think about this, but I think we should discontinue the source distribution. I think it causes too much trouble. We could keep the (source-) RPM and debian packages. Everyone else should use the generic binary or pull the source code from the CVS. > Apache/Tomcat? Because I was required not to use > Tomcat in this case. You need to start a Java process as a service on the computer. Which other program can start Java as a system service? And what's the problem with tomcat? Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |