7 Replies Latest reply on Oct 19, 2006 4:09 AM by kevin_ingen

    Deployment of cfusion.war on gentoo(linux) jboss

    kevin_ingen

      Members,

      I have problems with deploying my cfusion.war i've generated with cf installation software. After reading a tutorial i decided to try to deploy my cfusion.war on Jboss. I was tolled that the cfusion.war contained everything i needed to run it so it was not necesarry to instal coldfusion on Jboss before the deployment. My coleque tested the cfusion.war on a Jrun/Tomcat install on windows and it worked.

      I did it like this:
      I've got Jboss installed on Linux Gentoo and i can reach my console.
      In the directory var/lib/jboss/default/deploy/ i made a directory called cfusion.war.
      I unzipped my cfusion.war and uploaded the two folders called WEB-INF and CFIDE.
      In the folder WEB-INF i placed a file called jboss-web.xml wich contains <jboss-web>/cfusion</jboss-web>

      When i tried to reach this in my browser al i saw was the CFIDE directory.

      Could someone tell me what i did wrong and how to do it wright?

        • 1. Re: Deployment of cfusion.war on gentoo(linux) jboss
          jaikiran

          Looks like you are missing the welcome-file-list in the web.xml of your war file. Something like:

          <welcome-file-list>
           <welcome-file>index.jsp</welcome-file>
           </welcome-file-list>




          • 2. Re: Deployment of cfusion.war on gentoo(linux) jboss
            kevin_ingen

            I don't have .jsp files in my cfusion.war. Could this be the problem? I was tolled that the cf installer that generated the cfusion.war file also contains the 'parser'( or processor) for cfm pages. Or am i wrong?

            This cfusion.war file was tested by my coleque on JRun/Tomcat without installing other software.

            If you want additional informatie, please ask.

            • 3. Re: Deployment of cfusion.war on gentoo(linux) jboss
              jaikiran

              Actually i havent ever used ColdFusion(cfusion.war), so i lack the knowledge required to answer your questions. However, i found this article which explains how to use ColdFusion in JBoss:

              http://www.fusioncube.net/?p=94

              See if it helps. If you still have problems with the deployment, let us know so that someone here will be able to help you out.

              • 4. Re: Deployment of cfusion.war on gentoo(linux) jboss
                kevin_ingen

                The article you posted was also my recourses. It didn't work out for me.

                • 5. Re: Deployment of cfusion.war on gentoo(linux) jboss
                  kevin_ingen

                  I think i might have found the problem. Could it be that 'emerge -jboss' installs a wrong version of jboss?

                  • 6. Re: Deployment of cfusion.war on gentoo(linux) jboss
                    kevin_ingen

                    I found out that i was wright. emerge jboss installs a version3.x instead of the version 4.0.4 of fusioncube. I installed the new version and tried a deploy again but it stil doesn' t work though.

                    When I try to call a coldfusion page I get this:

                    HTTP Status 500 -
                    
                    --------------------------------------------------------------------------------
                    
                    type Exception report
                    
                    message
                    
                    description The server encountered an internal error () that prevented it from fulfilling this request.
                    
                    exception
                    
                    java.lang.NullPointerException
                     coldfusion.license.LicenseManager._isSingleIP(LicenseManager.java:171)
                     coldfusion.license.LicenseManager.isSingleIP(LicenseManager.java:68)
                     coldfusion.CfmServlet.getFilterChain(CfmServlet.java:66)
                     coldfusion.CfmServlet.service(CfmServlet.java:103)
                     coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
                     org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                    
                    
                    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.
                    
                    

                    I don't know what it meens, can somone help me?

                    • 7. Re: Deployment of cfusion.war on gentoo(linux) jboss
                      kevin_ingen

                      Sorry, Jaikiran you sugested that i was missing my welcom-file-list but i don't it contains:

                      <welcome-file-list id="WelcomeFileList_1034013110672">
                       <welcome-file>index.cfm</welcome-file>
                       <welcome-file>index.html</welcome-file>
                       <welcome-file>index.htm</welcome-file>
                      </welcome-file-list>