7 Replies Latest reply on Sep 23, 2011 5:59 PM by peterj

    Jboss installation in solaris

    alajangi

      Hi Experts,

       

      Please help me to install jboss application server in solaris on sunfire X4170.

       

      Thanks,

      KK.

        • 1. Re: Jboss installation in solaris
          jaikiran

          Installing JBoss AS on Solaris doesn't require any extra steps. Just download the appropriate JBoss AS version binary. Extract it to a folder of your choice, set JAVA_HOME to point to a JDK of the right version and vendor. From the command prompt, go to the bin folder of JBoss installation and run the run.sh script (or standalone.sh for AS7).

           

          P.S: It is recommended that you don't install Java or JBoss in a folder containing a space in its path name.

          • 2. Re: Jboss installation in solaris
            alajangi

            Hi Jai,

             

            Thankyou very much for your quick response,

             

            I've installed liferay-portal-jboss-6.0.5 when i ran jboss 5.1.0 GA by ./run.sh

            Failed to boot jboss:

            Java.lang.illegalstateexception:Incompletely deployed

            error and all the deployment dependencies states are "Instantiated" and "ERROR" end of the line

            Shutdown complete.

            Halting VM

             

            coming, Please help me on this.

             

            Thanks,

            KK.

            • 3. Re: Jboss installation in solaris
              peterj

              Please post the full console log, or post both the boot.log and server.log.

              • 4. Re: Jboss installation in solaris
                alajangi

                Hi Peter,

                 

                Thankyou vermuch for your quick response,

                 

                Please find the enclosed files in attachments for my problem after i added class="java.io.File" in profile.xml file,

                 

                Thanks,

                KK.

                • 5. Re: Jboss installation in solaris
                  peterj

                  Here is the first exception stack trace from the server log:

                   

                  2011-09-22 04:59:07,584 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/]] (main) StandardWrapper.Throwable
                  java.lang.ExceptionInInitializerError
                      at javax.media.jai.ParameterBlockJAI.<init>(ParameterBlockJAI.java:242)
                      at javax.media.jai.operator.TranslateDescriptor.create(TranslateDescriptor.java:282)
                      at com.liferay.portal.image.SpriteProcessorImpl.generate(SpriteProcessorImpl.java:145)
                      at com.liferay.portal.kernel.image.SpriteProcessorUtil.generate(SpriteProcessorUtil.java:34)
                      at com.liferay.portal.service.impl.PortletLocalServiceImpl._setSpriteImages(PortletLocalServiceImpl.java:1960)
                      at com.liferay.portal.service.impl.PortletLocalServiceImpl.initEAR(PortletLocalServiceImpl.java:581)
                      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:592)
                      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
                      at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:65)
                      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
                      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
                      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
                      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                      at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
                      at $Proxy293.initEAR(Unknown Source)
                      at com.liferay.portal.service.PortletLocalServiceUtil.initEAR(PortletLocalServiceUtil.java:332)
                      at com.liferay.portal.servlet.MainServlet.initPortlets(MainServlet.java:850)
                      at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:241)
                      at javax.servlet.GenericServlet.init(GenericServlet.java:212)
                      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
                      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)
                      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4122)
                      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4421)
                      ... many lines removed ...
                      at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
                      at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
                      at org.jboss.Main.boot(Main.java:221)
                      at org.jboss.Main$1.run(Main.java:556)
                      at java.lang.Thread.run(Thread.java:637)
                  Caused by: java.lang.ClassCastException: com.sun.media.jai.imageioimpl.ImageReadWriteSpi
                      at javax.media.jai.OperationRegistry.registerServices(OperationRegistry.java:2047)
                      at javax.media.jai.ThreadSafeOperationRegistry.registerServices(ThreadSafeOperationRegistry.java:612)
                      at javax.media.jai.OperationRegistry.initializeRegistry(OperationRegistry.java:365)
                      at javax.media.jai.JAI.<clinit>(JAI.java:560)
                      ... 98 more
                  

                   

                  This looks an issue with Liferay. You should ask in their forum.

                  • 6. Re: Jboss installation in solaris
                    alajangi

                    Thanks Peter for your good response but the liferay people did not gave any reply after i posted the error logs,

                     

                    Please tell me how to set JAVA_HOME path and CLASSPATH

                     

                    Thanks,

                    kk.

                    • 7. Re: Jboss installation in solaris
                      peterj

                      Your JAVA_HOME should be set to /usr/jdk/instances/jdk1.5.0, based on what I se in boot.log

                       

                      Don't set CLASSPATH, doing so will only get you into trouble.