3 Replies Latest reply on May 31, 2007 11:38 AM by peterj

    Question on PHP Servlet

    mottersb

      I am tring to install a PHP Servlet on the following configuration:

      Solaris 10
      JDK 1.4
      JBOSS 4.04
      PHP Module downloaded from: http://labs.jboss.com/jbossweb/downloads/native: Solaris Sparc Package 12MB Thu Sep 07 03:59:39 EDT 2006

      I followed the instruction under:

      http://labs.jboss.com/file-access/default/members/jbossweb/freezone/modules/php/index.html

      Nevertheless I am getting the following error

      10:14:12,801 INFO [TomcatDeployer] deploy, ctxPath=/wiki, warUrl=.../deploy/wiki.war/
      10:14:12,886 INFO [[/wiki]] Marking servlet php as unavailable
      10:14:12,886 ERROR [[/wiki]] Error loading org.jboss.mx.loading.UnifiedClassLoader3@118223d{ url=file:/pkg/vdcna/home/wlsna/jboss_404/server/default/deploy/jbossweb-tomcat55.sar/ ,addedOrder=9} org.apache.catalina.servlets.php.Handler
      java.lang.ClassNotFoundException: No ClassLoaders found for: org.apache.catalina.servlets.php.Handler
      at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
      at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511)
      at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1034)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)

      Please be so kind and provide me with some hint on how to solve this.

      Thanks,

      Marc

        • 1. Re: Question on PHP Servlet
          peterj

          Those instructions are for embedding PHP support within the JBoss Web Server, not the JBoss Application Server (they are two separate products).

          However, the JBoss Web Server is the default Web server in JBoss Application Server 4.2 and 5.0 (JBoss Application Server 4.0.x uses Tomcat as its Web server). You might be able to use the instructions to embedd PHP support into JBoss Application Server 4.2 or 5.0 (trying this is on my todo list but rather low priority right now).

          You might be able to get more help on the JBoss Web Server forum. http://www.jboss.com/index.html?module=bb&op=viewforum&f=230

          • 2. Re: Question on PHP Servlet
            mottersb

            Thanks

            I will also post the question on the JBoss Web Server.

            Marc

            • 3. Re: Question on PHP Servlet
              peterj

              It is good you posted it there, but look at my reply again. You cannot do what you want to do with JBoss AS 4.0.4, you will have to switch to JBoss AS 4.2 or 5.0 beta2. So in the JBoss Web Server forum you should have asked if the instructions to get PHP to work with JBoss Web Server also work with JBoss AS 4.2 or 5.0 given that those versions come with JBoss Web Server.