Serveur d'application

2006-10-31
2013-05-02
  • cristophe06

    cristophe06 - 2006-10-31

    Bonjour,

    lorsque j essaye de comptabilser une facture, j'obtiens le msg " Pas de serveur d'application disponible".
    Sachant que j ai lancé le script RUN_Server.sh et j ai affecté au traitement comptable la fréquence 1 fois chaque minute

    si kelq'un a une idéé ca sera la bienvenue
    merci

     
    • Theo de Brouwer

      Theo de Brouwer - 2006-10-31

      Regarde le log du serveur, il n'a pas du démarrer correctement !
      Théo

       
    • cristophe06

      cristophe06 - 2006-10-31

      voici un aperçu de mon log :
      a part les erreurs du mail ke je n ai pas configuré je vois vraiment rien ds ce log

      11:58:25.535   SecureEngine.<init>: org.compiere.util.Secure initialized - Secure[javax.crypto.Cipher@1c4a198]
      ===========> Doc_Order.setDocumentType: No DocBaseType setup for C_DocType_ID=0, DocumentNo=50000 [11]
      ===========> AcctProcessor.postSession: gaga - Accounting Processor: C_Order [11]
      java.lang.IllegalStateException: Document Type not found
              at org.compiere.acct.Doc.setDocumentType(Doc.java:913)
              at org.compiere.acct.Doc.<init>(Doc.java:380)
              at org.compiere.acct.Doc_Order.<init>(Doc_Order.java:42)
              at org.compiere.acct.Doc.get(Doc.java:289)
              at org.compiere.server.AcctProcessor.postSession(AcctProcessor.java:107)
              at org.compiere.server.AcctProcessor.doWork(AcctProcessor.java:63)
              at org.compiere.server.CompiereServer.run(CompiereServer.java:208)

      -----------> Doc_Order.isConvertible: NOT from C_Currency_ID=100 to 239 - MOrder[1000017-50010,IsSOTrx=true,C_DocType_ID=1000085] [11]
      -----------> Doc_Order.isConvertible: NOT from C_Currency_ID=100 to 239 - MOrder[1000018-50011,IsSOTrx=true,C_DocType_ID=1000085] [11]
      -----------> Doc_Order.isConvertible: NOT from C_Currency_ID=100 to 239 - MOrder[1000019-50012,IsSOTrx=true,C_DocType_ID=1000085] [11]
      -----------> Doc_Order.isConvertible: NOT from C_Currency_ID=100 to 239 - MOrder[1000020-50013,IsSOTrx=true,C_DocType_ID=1000085] [11]
      -----------> Doc_Order.isConvertible: NOT from C_Currency_ID=100 to 239 - MOrder[1000021-50015,IsSOTrx=true,C_DocType_ID=1000085] [11]
      -----------> FactLine.updateReverseLine: Not Found (try later) ,C_AcctSchema_ID=1000001, AD_Table_ID=319,Record_ID=1000039,Line_ID=1000033, Account_ID=1000125 [11]
      -----------> FactLine.updateReverseLine: Not Found (try later) ,C_AcctSchema_ID=1000001, AD_Table_ID=319,Record_ID=1000046,Line_ID=1000037, Account_ID=1000125 [11]
      -----------> FactLine.updateReverseLine: Not Found (try later) ,C_AcctSchema_ID=1000001, AD_Table_ID=319,Record_ID=1000046,Line_ID=1000038, Account_ID=1000125 [11]
      ===========> EMail.addTo: admin @ gardenworld.com: javax.mail.internet.AddressException: Illegal whitespace in address in string ``admin @ gardenworld.com'' [12]
      -----------> EMail.isValid: No To [12]
      -----------> EMail.isValid: No To [12]
      -----------> MClient.sendEmailNow: Could NOT Send Email: Alerte dinactivité: Requète {0} to admin @ gardenworld.com: Invalid Data (GardenWor) [12]
      -----------> MClient.sendEMail: No EMail for recipient: MUser[0,Name=System,EMailUserID=null] [13]
      -----------> MClient.sendEMail: No EMail for recipient: MUser[100,Name=SuperUser,EMailUserID=null] [13]
      ===========> EMail.addTo: admin @ gardenworld.com: javax.mail.internet.AddressException: Illegal whitespace in address in string ``admin @ gardenworld.com'' [12]
      -----------> EMail.isValid: No To [12]
      -----------> EMail.isValid: No To [12]
      -----------> MClient.sendEmailNow: Could NOT Send Email: Alerte dinactivité: Requète {0} to admin @ gardenworld.com: Invalid Data (GardenWor) [12]

      ===========> Doc_Order.setDocumentType: No DocBaseType setup for C_DocType_ID=0, DocumentNo=50000 [11]
      ===========> AcctProcessor.postSession: gaga - Accounting Processor: C_Order [11]
      java.lang.IllegalStateException: Document Type not found
              at org.compiere.acct.Doc.setDocumentType(Doc.java:913)
              at org.compiere.acct.Doc.<init>(Doc.java:380)
              at org.compiere.acct.Doc_Order.<init>(Doc_Order.java:42)
              at org.compiere.acct.Doc.get(Doc.java:289)
              at org.compiere.server.AcctProcessor.postSession(AcctProcessor.java:107)
              at org.compiere.server.AcctProcessor.doWork(AcctProcessor.java:63)
              at org.compiere.server.CompiereServer.run(CompiereServer.java:208)
      -----------> MPeriod.isOpen: Today after last day - 2006-08-30 00:00:00.0 [14]
      -----------> MPeriod.isOpen: Sep-06: Not open for ARI (2006-09-27 00:00:00.0) [14]
      ===========> MWFActivity.run: MWFNode[193-(DocPrepare),Action=DocumentAction=PR] [14]
      java.lang.Exception: @PeriodClosed@
              at org.compiere.wf.MWFActivity.performWork(MWFActivity.java:773)
              at org.compiere.wf.MWFActivity.run(MWFActivity.java:677)
              at java.lang.Thread.run(Thread.java:595)

      merci Théo

       
    • cristophe06

      cristophe06 - 2006-11-01

      Pb résolu , il suffit de tuer tous les process de Compiere et ensuite relancer le script RUN_Server.sh

       
      • compiero

        compiero - 2006-11-01

        Merci pour l'info

        Compiero

         
      • MFOUKA

        MFOUKA - 2007-05-18

        Bonjour,
        Quand vous installer compiere après la phase de désarchivage,pour installer le serveur comment est-ce que vous aviez modifié les variables d'environnement?
        Et quelle version jdk aviez-vous utilisé?
        Moi,je suis en train d'installer le serveur avec le jdk1.5.0 mais pendant le lancement de RUN_set.sh ou RUN_Compiere.sh j'ai ce pb:

        Compiere Client
        JAVA_HOME is not set.
        You may not be able to start Compiere
        Set JAVA_HOME to the directory of your local JDK.
        COMPIERE_HOME is not set
        You may not be able to start Compiere
        Set COMPIERE_HOME to the directory of Compiere2.
        RUN_Compiere2.sh: line 41: java: command not found

        merci pour une bonne compréhension.
        A+

         
    • MFOUKA

      MFOUKA - 2007-05-18

      C'est sur RED HAT Entreprise Linux 3.
      A+

       
    • Theo de Brouwer

      Theo de Brouwer - 2007-05-20

      Je ne sais pas si ton soucis est résolu, mais il y également un problème au niveau du calendrier comptable qui ne semble pas ouvert pour la période du dit document

       
    • MFOUKA

      MFOUKA - 2007-06-19

      Bonsoir,
      J'ai une difficulté de lancer le serveur compiere si bien que la base de données
      oracle-xe 10g marche sans pb, voici le message d'erreur:

      [root@localhost Compiere2]# sh RUN_setup.sh
      Install Compiere Server
      JAVA_HOME is not set.
      You may not be able to start the Setup
      Set JAVA_HOME to the directory of your local JDK.
      ===================================
      Setup Dialog
      ===================================
      Exception in thread "main" java.lang.VerifyError: verification failed at PC 21 in org.compiere.util.CLogMgt:initialize((Z)V): String, int, or float constant expected
         at _Jv_BytecodeVerifier.verify_fail(byte, int) (/usr/lib/libgcj.so.5.0.0)
         at _Jv_BytecodeVerifier.verify_instructions_0() (/usr/lib/libgcj.so.5.0.0)
         at _Jv_VerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.5.0.0)
         at _Jv_PrepareClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
         at _Jv_WaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
         at java.lang.VMClassLoader.linkClass0(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
         at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
         at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
         at _Jv_ResolvePoolEntry(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
         at org.compiere.install.Setup.main(java.lang.String[]) (Unknown Source)
      ===================================
      Make .sh executable
      ===================================
      RUN_setup.sh: line 44: utils/RUN_UnixEnv.sh: Aucun fichier ou répertoire de ce type
      En plus, j'ai modifié mes variables d'environnement de cette façon:

      [root@localhost ~]# ORACLE_HOME=/bin/oracle_env.sh/csh;
      [root@localhost ~]# JAVA_HOME=/usr/java/jdk1.5.0_12;
      [root@localhost ~]# COMPIERE_HOME=/Compiere2;
      [root@localhost ~]# PATH=$PATH:$JAVA_HOME/bin;
      [root@localhost ~]# CLASSPATH=${CLASSPATH}:${COMPIERE_HOME}/lib;
      [root@localhost ~]# export CLASSPTH JAVA_HOME COMPIERE_HOME ORACLE_HOME PATH;

      Une aide est la bienvenue!!!!
      Merci

       
    • MFOUKA

      MFOUKA - 2007-06-19

      J'ai effectué toutes les installations en tant que root.
      A+

       
    • MFOUKA

      MFOUKA - 2007-06-20

      Bonsoir,
      Par rapport à ce qui précède j'ai beaucoup avancé mais j'ai un souci au niveau
      de DataBase name: XE qui est colorié en rouge puis affiche comme message"Erreur
      de connexion via sqlplus" au fait il ne trouve pas la commande sqlplus.
      J'ai ce message sur le terminal:

      17:39:25.690 Config.test: OK: JavaHome=/usr/java/jdk1.5.0_12 [46]
      17:39:25.698 Config.test: OK: Version=1.5.0_12 [46]
      17:39:25.706 ConfigurationData.testCompiere: OK: CompiereHome = /root/Compiere2 [46]
      17:39:25.718 KeyStoreMgt.<init>: /root/Compiere2/keystore/myKeystore [46]
      17:39:25.726   KeyStoreMgt.getCertificate: Alias=compiere [46]
      17:39:25.735 ConfigurationData.testCompiere: OK: KeyStore = /root/Compiere2/keystore/myKeystore [46]
      17:39:25.747 Config.test: OK: AppsServer = /192.168.1.49 [46]
      17:39:25.764 Config.test: OK: Deploy Directory = /root/Compiere2/jboss/server/compiere/deploy [46]
      17:39:25.774 Config.test: OK: JNPPort = 1099 [46]
      17:39:25.783 Config.test: OK: Web Port = 80 [46]
      17:39:25.792 Config.test: OK: SSL Port = 443 [46]
      17:39:25.802 Config.test: OK: Database Server = /192.168.1.49 [46]
      17:39:25.823 Config.test: OK: Database Port = 1521 [46]
      17:39:25.886 Config.test: OK: Connection = jdbc:oracle:thin:@//192.168.1.49:1521/xe [46]
      17:39:25.894 Config.test: OK: Database System User xe [46]
      -----------> Config.testJDBC: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
      [46]
      -----------> Config.test: Cannot connect to User: compiere/compiere - Database may not be imported yet (OK on initial run). [46]
      17:39:25.983   Config.test: sqlplus system/123456789@xe @/root/Compiere2/utils/oracle/Test.sql [46]
      -----------> Config.testSQL: java.io.IOException: java.io.IOException: sqlplus: not found [46]
      17:39:26.000 Config.test: OCI Test Skipped [46]
      -----------> ConfigurationData.testPort: Open Socket 192.168.1.49/192.168.1.49:25 - Connection refused [46]
      17:39:26.029 ConfigurationData.testMailServer: SMTP Server NOT available [46]
      -----------> ConfigurationData.testPort: Open Socket 192.168.1.49/192.168.1.49:110 - Connection refused [46]
      17:39:26.045 ConfigurationData.testMailServer: POP3 Server NOT available [46]
      -----------> ConfigurationData.testPort: Open Socket 192.168.1.49/192.168.1.49:143 - Connection refused [46]
      17:39:26.061 ConfigurationData.testMailServer: IMAP4 Server NOT available [46]
      -----------> ConfigurationData.testMailServer: No active Mail Server [46]
      -----------> ConfigurationData.testMail: Not verified EMail = info@192.168.1.49.compiere [46]

      Dans la suite qd je crée ma BD en lançant le script Run_IlportCompiere, j'ai ce message:

      [root@localhost utils]# sh RUN_ImportCompiere.sh
      RUN_ImportCompiere.sh: line 6: cd: /Compiere2/utils: Aucun fichier ou répertoire de ce type
      Setting myEnvironment ....
      Import Compiere - /root/Compiere2 (xe)
      17196 -rw-r--r--  1 root root 17577984 mai 12 05:37 /root/Compiere2/data/Compiere.dmp
         52 -rw-r--r--  1 root root    46702 mai 12 05:37 /root/Compiere2/data/Compiere.log
      4100 -rw-r--r--  1 root root  4188353 mai 12 05:37 /root/Compiere2/data/edb.compiere.backup
      == The import will show warnings. This is OK ==
      Press enter to continue ...

      Compiere Database Import : 1.10 $
      Importing Compiere DB from /root/Compiere2/data/Compiere.dmp
      -------------------------------------
      Re-Create DB user
      -------------------------------------
      sqlplus system/123456789@xe @/root/Compiere2/utils/oracle/CreateUser.sql compiere compiere
      oracle/ImportCompiere.sh: line 25: sqlplus: command not found
      -------------------------------------
      Import Compiere.dmp
      -------------------------------------
      imp /system/123456789@xe FILE=/root/Compiere2/data/Compiere.dmp FROMUSER=\(reference\) TOUSER=compiere
      oracle/ImportCompiere.sh: line 31: imp: command not found
      -------------------------------------
      Check System
      Import may show some warnings. This is OK as long as the following does not show errors
      -------------------------------------
      sqlplus compiere/compiere@xe @/root/Compiere2/utils/oracle/AfterImport.sql
      oracle/ImportCompiere.sh: line 46: sqlplus: command not found

      Une aide sera la bienvenue.
      Bonne soirée et A+!

       
    • MFOUKA

      MFOUKA - 2007-06-21

      Bonjour,
      J'ai ce pb de connexion:

      ConfigurationData.testPort: Open Socket 192.168.1.49/192.168.1.49:25 - Connection refused [26]
      10:35:53.070 ConfigurationData.testMailServer: SMTP Server NOT available [26]
      -----------> ConfigurationData.testPort: Open Socket 192.168.1.49/192.168.1.49:110 - Connection refused [26]
      10:35:53.072 ConfigurationData.testMailServer: POP3 Server NOT available [26]
      -----------> ConfigurationData.testPort: Open Socket 192.168.1.49/192.168.1.49:143 - Connection refused [26]
      10:35:53.083 ConfigurationData.testMailServer: IMAP4 Server NOT available [26]
      -----------> ConfigurationData.testMailServer: No active Mail Server [26]

      Qui pourra m'aider?
      A+

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks