Tomcat 5.5 and error Exception in thread "AWT

nadrog
2009-03-18
2013-05-02
  • nadrog
    nadrog
    2009-03-18

    Hi all,
    I was installing Tomcat 5.5 and compiere2 and Application Express 10g and run setup and setting all from setum menu
    (Server Tomcat Only, path for Tomcat 5.5, Oracle 10g XE Express)
    I was replacing CATALINA_HOME/conf/server.xml with  Compiere2/lib/tomcatservertemplate.xml renamed as server.xml

    Install Compiere Server

    Setup Dialog

    *** 2009-03-18 22:47:13.969 Compiere Log (CLogConsole) ***
    22:47:13.969   CLogMgt.setLevel: CONFIG
    22:47:14.534   CompierePLAF.setPLAF: Compiere - null
    22:47:15.470   SecureEngine.<init>: com.compiere.client.Secure initialized - Secure[DES,Length=8,DES/ECB/PKCS5Padding,SunJCE version 1.6]
    22:47:15.475   CompierePLAF.setPLAF: Compiere - Compiere Theme
    22:47:15.972 Setup.<init>: Compiere(r) Release 3.1.0_2008-07-31 - Smart ERP & CRM - (c) 1999-2008 Compiere (r); Implementation: 3.1.0 20080801-0111 - ComPiere Inc. (C) 1999-2008
    22:47:16.398 ConfigurationData.load: Defaults
    22:47:52.409 ConfigVMSun.test: OK: JavaHome=/home/nadrog/jdk1.6.0_11 [11]
    22:47:52.410 ConfigVMSun.test: OK: Version=1.6.0_11 [11]
    22:47:52.410 ConfigurationData.testCompiere: OK: CompiereHome = /home/nadrog/Compiere2 [11]
    22:47:52.412 KeyStoreMgt.<init>: /home/nadrog/Compiere2/keystore/myKeystore [11]
    22:47:52.421 KeyStoreMgt.createCertificate:  [11]
    22:47:57.794 KeyStoreMgt.keytool: keytool -genkey -keyalg rsa -alias compiere -dname "CN=nadrog, OU=nadrog, O=CompiereUser, L=MyTown, S=Serbia, C=US" -keypass myPassword -validity 999 -keystore /home/nadrog/Compiere2/keystore/myKeystore -storepass myPassword [11]
    22:47:58.283 KeyStoreMgt.keytool: keytool -selfcert -alias compiere -dname "CN=nadrog, OU=nadrog, O=CompiereUser, L=MyTown, S=Serbia, C=US" -keypass myPassword -validity 999 -keystore /home/nadrog/Compiere2/keystore/myKeystore -storepass myPassword [11]
    22:47:58.350   KeyStoreMgt.getCertificate: Alias=compiere [11]
    22:47:58.395 ConfigurationData.testCompiere: OK: KeyStore = /home/nadrog/Compiere2/keystore/myKeystore [11]
    22:47:58.415 ConfigTomcat.test: OK: AppsServer = nadrog/127.0.1.1 [11]
    22:47:58.417 ConfigTomcat.test: OK: Deploy Directory = /home/nadrog/apache-tomcat-5.5.27 [11]
    22:47:58.420 ConfigOracle.test: OK: Database Server = nadrog/127.0.1.1 [11]
    22:47:58.446 ConfigOracle.test: OK: Database Port = 1521 [11]
    22:47:59.158 ConfigOracle.test: OK: Connection = jdbc:oracle:thin:@//nadrog:1521/xe [11]
    22:47:59.159 ConfigOracle.test: OK: Database System User xe [11]
    22:47:59.216 ConfigOracle.test: OK: Database User = compiere [11]
    -----------> ConfigOracle.getWebStores: java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    [11]
    22:47:59.310 ConfigOracle.test: OCI Test Skipped [11]
    -----------> ConfigurationData.testPort: Open Socket nadrog/127.0.1.1:25 - Connection refused [11]
    22:47:59.326 ConfigurationData.testMailServer: SMTP Server NOT available [11]
    -----------> ConfigurationData.testPort: Open Socket nadrog/127.0.1.1:110 - Connection refused [11]
    22:47:59.327 ConfigurationData.testMailServer: POP3 Server NOT available [11]
    -----------> ConfigurationData.testPort: Open Socket nadrog/127.0.1.1:143 - Connection refused [11]
    22:47:59.328 ConfigurationData.testMailServer: IMAP4 Server NOT available [11]
    -----------> ConfigurationData.testMailServer: No active Mail Server [11]
    -----------> ConfigurationData.testMail: Not verified EMail = info@nadrog [11]
    22:48:03.391 ConfigVMSun.test: OK: JavaHome=/home/nadrog/jdk1.6.0_11 [12]
    22:48:03.392 ConfigVMSun.test: OK: Version=1.6.0_11 [12]
    22:48:03.392 ConfigurationData.testCompiere: OK: CompiereHome = /home/nadrog/Compiere2 [12]
    22:48:03.392 KeyStoreMgt.<init>: /home/nadrog/Compiere2/keystore/myKeystore [12]
    22:48:03.393   KeyStoreMgt.getCertificate: Alias=compiere [12]
    22:48:03.394 ConfigurationData.testCompiere: OK: KeyStore = /home/nadrog/Compiere2/keystore/myKeystore [12]
    22:48:03.395 ConfigTomcat.test: OK: AppsServer = nadrog/127.0.1.1 [12]
    22:48:03.395 ConfigTomcat.test: OK: Deploy Directory = /home/nadrog/apache-tomcat-5.5.27 [12]
    22:48:03.395 ConfigOracle.test: OK: Database Server = nadrog/127.0.1.1 [12]
    22:48:03.396 ConfigOracle.test: OK: Database Port = 1521 [12]
    22:48:03.455 ConfigOracle.test: OK: Connection = jdbc:oracle:thin:@//nadrog:1521/xe [12]
    22:48:03.455 ConfigOracle.test: OK: Database System User xe [12]
    22:48:03.531 ConfigOracle.test: OK: Database User = compiere [12]
    -----------> ConfigOracle.getWebStores: java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    [12]
    22:48:03.535 ConfigOracle.test: OCI Test Skipped [12]
    -----------> ConfigurationData.testPort: Open Socket nadrog/127.0.1.1:25 - Connection refused [12]
    22:48:03.579 ConfigurationData.testMailServer: SMTP Server NOT available [12]
    -----------> ConfigurationData.testPort: Open Socket nadrog/127.0.1.1:110 - Connection refused [12]
    22:48:03.581 ConfigurationData.testMailServer: POP3 Server NOT available [12]
    -----------> ConfigurationData.testPort: Open Socket nadrog/127.0.1.1:143 - Connection refused [12]
    22:48:03.584 ConfigurationData.testMailServer: IMAP4 Server NOT available [12]
    -----------> ConfigurationData.testMailServer: No active Mail Server [12]
    -----------> ConfigurationData.testMail: Not verified EMail = info@nadrog [12]
    -----------> Ini.loadProperties: /home/nadrog/Compiere2/Compiere.properties not found [13]
    22:48:03.604   Ini.loadProperties: /home/nadrog/Compiere2/Compiere.properties [13]
    22:48:05.700 IniDialog.accept: License Accepted [13]
    22:48:05.706 Ini.loadProperties: /home/nadrog/Compiere2/Compiere.properties #20 [13]
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at java.util.Hashtable.put(Hashtable.java:394)
        at java.util.Properties.setProperty(Properties.java:143)
        at org.compiere.startup.Environment.save(Environment.java:209)
        at org.compiere.install.ConfigurationData.save(ConfigurationData.java:669)
        at org.compiere.install.ConfigurationPanel.save(ConfigurationPanel.java:626)
        at org.compiere.install.ConfigurationPanel$1.finished(ConfigurationPanel.java:563)
        at org.compiere.apps.SwingWorker$1.run(SwingWorker.java:58)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

    Gordan,