3 Replies Latest reply on Sep 18, 2007 9:30 AM by Jeff Ripps

    documentation on switching a java 1.4 server to 1.5

    Jeff Ripps Newbie

      I have a deployment of jboss 4.0.2 thats set up to use java 1.4. i cant find any documentation on how to switch this server to use java 1.5 compiler for jsps. Is there any documentation on how to do this?

        • 1. Re: documentation on switching a java 1.4 server to 1.5
          Peter Johnson Master

          I don't have 4.0.2, but in 4.0.5, in server/xxx/deploy/jbossweb-tomcat55.sat/conf/web.xml, you would want to uncomment this entry:

          <!-- Uncomment to use jdk1.5 features in jsp pages
           <init-param>
           <param-name>compilerSourceVM</param-name>
           <param-value>1.5</param-value>
           </init-param>
           -->


          Perhaps this is the same in 4.0.2.

          • 2. Re: documentation on switching a java 1.4 server to 1.5
            Jeff Ripps Newbie

            Those lines do not appear in my server/xxx/deploy/jbossweb-tomcat55.sat/conf/web.xml file.

            maybe i should upgrade to 4.0.5?

            • 3. Re: documentation on switching a java 1.4 server to 1.5
              Jeff Ripps Newbie

              do you think glassfish might have better forums?

              To me it feels like a simple problem. the documentation i have read says jboss 4.0.3 can work with java 1.5. i have an application that installed itself and jboss. its set up to use java 1.4 and i need it to use java 1.5. how do i configure my current application server to switch compilers it uses.

              i have checked and i do not have the option to upgade to 4.0.5
              is there documentation on how to switch an existing application server from 1.4 to 1.5. I have tried setting the compiler option to a 1.5 compiler i tried adding those lines to that web.xml file stated above and it does nothing. it doesn't even break the thing.

              With a community this big you would think someone would know the solution?