6 Replies Latest reply on Apr 29, 2004 2:58 PM by brent80301

    JBOSS and Coldfusion

    nicolaia

      Hi.

      Have anyone tried out JBoss and Coldfusion server? Do they work together, or does Coldfusion only work with MS IIS?

        • 1. Re: JBOSS and Coldfusion
          hichhiker

          Not sure what you mean. Coldfusion will work with IIS, Apache, and I believe later version have their own web server.

          On the other hand, it is my understanding that the current version of CF engine is actually an EJB application running on J/Run. Can you replace J/Run with JBoss? I have no idea, but if possible, I doubt it is easy.

          -Hichhiker

          • 2. Re: JBOSS and Coldfusion
            rlogan

            The latest release of CFMX (coldfusion 6.0) is a war/ear deployment. I've got it running on JRUN 4 and tomcat 4.1.18 standalone, but not on jboss-3.0.4_tomcat-4.1.12.

            Anybody with experience on jboss-3.0.4_tomcat-4.1.12 PLEASE let me know!!

            PS: platform i use is redhat linux 7.3

            • 3. Re: JBOSS and Coldfusion
              rlogan

              I've gotten the cfmx war deployment to work on jboss-3.0.4_tomcat-4.1.12. This is only if I un-pack the cfusion.war under /opt/jboss/server/default/deploy/cfusion.war directory.

              I think the problem with the war deployment is that the following mapping (used by the cfmx bootstrap servlet) from web.xml is read as NULL or doesn't match the tmp war directory:

              <context-param id="macromedia_context_88">
              <param-name>cf.class.path</param-name>
              <param-value>./WEB-INF/cfusion/lib/cfusion.jar</param-value>
              </context-param>

              ...


              <servlet-name>ColdFusionStartUpServlet</servlet-name>
              <display-name>Coldfusion MX Startup Servlet</display-name>
              Initializes ColdFusion
              <servlet-class>coldfusion.bootstrap.BootstrapServlet</servlet-class>
              <init-param id="InitParam_1034013110641">
              <param-name>servlet.class</param-name>
              <param-value>coldfusion.server.j2ee.CFStartUpServlet</param-value>
              </init-param>
              <init-param id="InitParam_1034013110642">
              <param-name>cfRootDir</param-name>
              <param-value>./WEB-INF/cfusion</param-value>
              </init-param>
              <init-param id="InitParam_1034013110643">
              <param-name>appServer</param-name>
              <param-value>J2EE</param-value>
              </init-param>
              <load-on-startup>2</load-on-startup>



              The Errors thrown during the .war deployment are as follows:

              2003-02-20 18:00:47,672 INFO [org.jboss.web.localhost.Engine] StandardWrapper[:invoker]: Loading container servlet invoker
              2003-02-20 18:00:47,736 ERROR [org.jboss.web.localhost.Engine] StandardContext[]: Servlet threw load() exception
              javax.servlet.ServletException: Servlet.init() for servlet CFCServlet threw exception
              at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:952)

              ...

              2003-02-20 18:00:47,747 ERROR [org.jboss.web.localhost.Engine] ----- Root Cause -----
              java.lang.NullPointerException
              at coldfusion.bootstrap.BootstrapServlet.init(Unknown Source)
              at javax.servlet.GenericServlet.init(GenericServlet.java:256)
              at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:924)

              • 4. Re: JBOSS and Coldfusion
                cmiles74

                Did you ever get this issue resolved?

                I'm very interested in deploying ColdFusion MX on JBoss as I already host several applicatons this way. Plus JRun is costly. ;)

                Very curious,
                -- Miles

                • 5. Re: JBOSS and Coldfusion
                  rlogan

                  I never resolved the war deployment problems. I settled with using an extracted war file deployment with the directory_name.war (ie cfusion.war directory).

                  • 6. Re: JBOSS and Coldfusion
                    brent80301

                    I have installed CFMX 6.1 J2EE on JBoss 3.2.3 on a Windows 2000 Server according to information found above and that available at http://www.macromedia.com/support/coldfusion/j2ee/ I have everything working correctly except for CF based webservices. Axis just doesn't seem to be very happy.

                    Browsing to a remote access enabled cfc with ?wsdl appended throws an Axis error and running the webservice example app yields the following Axis error. Has anyone managed to get cf based webservices working in this setup, or might someone have any ideas on where to explore further?

                    Cheers,
                    Brent

                    <h2>AXIS error</h2>
                    Sorry, something seems to have gone wrong... here are the details:
                    Fault - [java.io.FileNotFoundException : C:\java\jboss-3.2.3\server\default\deploy\cfusion.war\WEB-INF\cfc-skeletons\cfdocs\exampleapps\cfc\tempconverter.class (The system cannot find the file specified)]; nested exception is:
                    coldfusion.xml.rpc.CFCInvocationException: [java.io.FileNotFoundException : C:\java\jboss-3.2.3\server\default\deploy\cfusion.war\WEB-INF\cfc-skeletons\cfdocs\exampleapps\cfc\tempconverter.class (The system cannot find the file specified)]

                    AxisFault
                    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
                    faultSubcode:
                    faultString: [java.io.FileNotFoundException : C:\java\jboss-3.2.3\server\default\deploy\cfusion.war\WEB-INF\cfc-skeletons\cfdocs\exampleapps\cfc\tempconverter.class (The system cannot find the file specified)]; nested exception is:
                    coldfusion.xml.rpc.CFCInvocationException: [java.io.FileNotFoundException : C:\java\jboss-3.2.3\server\default\deploy\cfusion.war\WEB-INF\cfc-skeletons\cfdocs\exampleapps\cfc\tempconverter.class (The system cannot find the file specified)]
                    faultActor:
                    faultNode:
                    faultDetail: