0 Replies Latest reply on Apr 26, 2003 11:21 AM by baudouin

    Migration serveur Jboss

    baudouin Newbie


      Hello,

      I don't understant this problem :
      i have a machine A which contain Jboss server and an ear file and
      mysql database (same machine)

      I want to use a machine B with the same ear file. So,
      i install jboss server, compile my ear file and change xml config file for mysql (ip machine).

      all is ok when i test my application, but when i want to
      use a form(jsp and strusts) to create an entity bean(ejb), i have
      this message :

      16:54:05,457 ERROR [STDERR] [INFO] RequestProcessor - -Processing a 'POST' for p
      ath '/enregnewresult'
      16:54:05,457 WARN [jbossweb] WARNING: Error for /orvault/action/enregnewresult
      java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileUploadExceptio
      n
      at java.lang.Class.newInstance0(Native Method)
      at java.lang.Class.newInstance(Class.java:232)
      at org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.
      java:221)
      at org.apache.struts.util.RequestUtils.getMultipartHandler(RequestUtils.
      java:1048)
      at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:921)
      at org.apache.struts.action.RequestProcessor.processPopulate(RequestProc
      essor.java:779)
      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
      va:246)

      is it a problem with mysql for create a row ?
      is it a problem with POST request ?
      very strange, because all other request(view info) is OK.

      bye