5 Replies Latest reply: Jan 31, 2011 12:30 PM by Rodrigo Silva RSS

    Error in application using JSF/Richfaces in JBoss 4.2.1

    Rodrigo Silva Newbie

      Good morning,

       

      I have one problem. When I try to run an application using JSF 1.2 / Richfaces 3.3.3 in JBoss 4.2.1.

       

      I created a simple project to run in server to see if it would work. The problem is that when I add richfaces' lib the server shows the error below.

       

      java.lang.UnsatisfiedLinkError: /usr/java/jdk1.6.0_06/jre/lib/i386/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory

       

      I have attached the complete error and the config files.

       

      A good observation is that I use this project in my pc using the same JBoss as my server's jboss and it works fine but when I try to put in the server the error occurs. Although If I remove the richfaces' lib everything works fine.

       

      My libs into the project:
      common-annotations.jar
      commons-beanutils.jar
      commons-collections.jar
      commons-digester-1.8.jar
      commons-digester.jar
      commons-logging.jar
      jsf-facelets-1.1.15.B1.jar
      jsf-tlds.jar
      jstl.jar
      richfaces-api-3.3.3.jar
      richfaces-impl-3.3.3.jar
      richfaces-ui-3.3.2.3.jar
      standard.jar

       

      Libs from jboss:
      jboss/lib/activation.jar
      jboss/lib/ant-contrib-1.0b2.jar
      jboss/lib/ant-junit-1.6.5.jar
      jboss/lib/antlr-2.7.6.jar
      jboss/lib/antlr.jar
      jboss/lib/asm-attrs.jar
      jboss/lib/asm.jar
      jboss/lib/autonumber-plugin.jar
      jboss/lib/bcel.jar
      jboss/lib/bindingservice-plugin.jar
      jboss/lib/bsf.jar
      jboss/lib/bsh-deployer.jar
      jboss/lib/bsh.jar
      jboss/lib/cglib-2.2.jar
      jboss/lib/cglib.jar
      jboss/lib/commons-codec.jar
      jboss/lib/commons-collections-3.1.jar
      jboss/lib/commons-collections.jar
      jboss/lib/commons-el-1.0.jar
      jboss/lib/commons-httpclient.jar
      jboss/lib/commons-logging.jar
      jboss/lib/dom4j-1.6.1.jar
      jboss/lib/dom4j.jar
      jboss/lib/ejb3-persistence.jar
      jboss/lib/el-api.jar
      jboss/lib/hsqldb-plugin.jar
      jboss/lib/hsqldb.jar
      jboss/lib/javassist.jar
      jboss/lib/jaxen.jar
      jboss/lib/jboss-cache-jdk50.jar
      jboss/lib/jboss-common-jdbc-wrapper.jar
      jboss/lib/jboss-ejb3x.jar
      jboss/lib/jboss-j2ee.jar
      jboss/lib/jboss-jaxrpc.jar
      jboss/lib/jboss-jca.jar
      jboss/lib/jboss-jsr77.jar
      jboss/lib/jboss-jsr88.jar
      jboss/lib/jboss-management.jar
      jboss/lib/jboss-monitoring.jar
      jboss/lib/jboss-remoting-int.jar
      jboss/lib/jboss-remoting.jar
      jboss/lib/jboss-saaj.jar
      jboss/lib/jboss-serialization.jar
      jboss/lib/jboss-srp.jar
      jboss/lib/jboss-transaction.jar
      jboss/lib/jboss-vfs.jar
      jboss/lib/jboss.jar
      jboss/lib/jbossjta-integration.jar
      jboss/lib/jbossjta.jar
      jboss/lib/jbossmq.jar
      jboss/lib/jbosssx.jar
      jboss/lib/jbossts-common.jar
      jboss/lib/jbossws-integration.jar
      jboss/lib/jmx-adaptor-plugin.jar
      jboss/lib/jnpserver.jar
      jboss/lib/joesnmp.jar
      jboss/lib/jpl-pattern.jar
      jboss/lib/jpl-util.jar
      jboss/lib/jsp-api.jar
      jboss/lib/log4j-snmp-appender.jar
      jboss/lib/log4j.jar
      jboss/lib/mail-plugin.jar
      jboss/lib/mail.jar
      jboss/lib/properties-plugin.jar
      jboss/lib/quartz.jar
      jboss/lib/scheduler-plugin-example.jar
      jboss/lib/scheduler-plugin.jar
      jboss/lib/servlet-api.jar
      jboss/lib/slf4j-log4j12-1.5.6.jar
      jboss/lib/slf4j-log4j12.jar
      jboss/lib/validation-api-1.0.0.GA.jar
      jboss/lib/xmlentitymgr.jar

       

      I appreciate your help.

       

      Please, help me!

       

      I don't know what to do because I've looked in the web for some solutions but I didn't find help.

       

      Thanks for everything,
      Rodrigo Neri