[jboss-user] [Beginners Corner] - Re: jboss AS, jboss Web and php

bill.zhou1@wachovia.com do-not-reply at jboss.com
Fri Jul 18 15:47:04 EDT 2008


Hi, Peter.
 I am working on to make php working with Jboss enterprise platform 4.3. I got following error message in my log.
14:06:25,428 ERROR [ContainerBase] StandardWrapper.Throwable
java.lang.UnsatisfiedLinkError: /opt/apps/jboss-eap-4.3/jboss-as/bin/native/libphp5servlet.so: libmysqlclient_r.so.14: cannot open shared object file: No such file or directory, no libphp5servlet in java.library.path(/opt/apps/jboss-eap-4.3/jboss-as/bin/native)
        at org.jboss.web.php.Library.(Library.java:65)
        at org.jboss.web.php.Library.initialize(Library.java:104)
        at org.jboss.web.php.Handler.init(Handler.java:104)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4069)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4366)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:732)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
        at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.apache.catalina.core.StandardContext.init(StandardContext.java:5300)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)

Here are the config I have:
under /opt/apps/jboss/bin/native directories:
-rwxrwxrwx  1 jbossadm jbossadm 21052692 2008-07-18 14:02 libphp5.so
-rwxrwxrwx  1 jbossadm jbossadm    20351 2008-07-18 14:02 libphp5servlet.so

under /opt/apps/jboss/PHP/lib, all libs are there.
my run.conf file has exported the lib directory:
#PHP setting

export LD_LIBRARY_PATH=/opt/apps/jboss-eap-4.3/jboss-as/PHP/lib;

The OS is RedHat Linux 64bit , jboss version is jboss elap 4.3

Any assistance is appreciated.

Thanks,

Bill



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165426#4165426

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165426



More information about the jboss-user mailing list