Menu

application server not starting properly

Help
rugueux
2008-06-25
2013-03-08
  • rugueux

    rugueux - 2008-06-25

    I've installed adempiere 3.5.1a
    At start, there are a couple of errors that seems to prevent the application server to work properly : I'm unable to test the app server, nor to use the webclient...

    11:26:46,087 INFO  [STDOUT] [INFO] Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 2, acquireRetryDelay -> 100
    0, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassNam
    e -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> AdempiereDS, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> org.postgr
    esql.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> z8kflt7u1h0b5ddpgpasw|9549af, idleConnectionTestPeriod -> 1200, initialPool
    Size -> 10, jdbcUrl -> jdbc:postgresql://localhost:5432/adempiere15?encoding=UNICODE, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 1200, maxIdleTimeExcess
    Connections -> 1200, maxPoolSize -> 150, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 5, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0,
    preferredTestQuery -> SELECT Version FROM AD_System, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -
    > false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]
    11:26:48,099 ERROR [[/adempiere]] StandardWrapper.Throwable
    java.lang.IllegalArgumentException: Invalid PO Info - POInfo[null,AD_Table_ID=-1]
            at org.compiere.model.PO.<init>(PO.java:148)
            at org.compiere.model.PO.<init>(PO.java:106)
            at org.compiere.model.X_AD_Client.<init>(X_AD_Client.java:40)
            at org.compiere.model.MClient.<init>(MClient.java:138)
            at org.compiere.model.MClient.<init>(MClient.java:170)
            at org.compiere.model.MClient.get(MClient.java:69)
            at org.compiere.util.WebEnv.initWeb(WebEnv.java:157)
            at org.compiere.util.WebEnv.initWeb(WebEnv.java:109)
            at org.compiere.www.WStatus.init(WStatus.java:39)
            at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
            at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
            at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3857)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4118)
            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    ...
    ...

     
    • moyses

      moyses - 2008-06-25

      Hi!

      Do you imported your database with no problems?

      Do you checked your postgresql config file?

      Regards!

       
    • rugueux

      rugueux - 2008-06-29

      Thank you, you were right, I had an issu with the DB, but now the DB is ok, but the Application Server test is still not working ?

      14:33:15,288 INFO  [Server] Starting JBoss (MX MicroKernel)...
      14:33:15,292 INFO  [Server] Release ID: JBoss [Zion] 4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)
      14:33:15,293 INFO  [Server] Home Dir: /usr/local/Adempiere/jboss
      14:33:15,300 INFO  [Server] Home URL: file:/usr/local/Adempiere/jboss/
      14:33:15,300 INFO  [Server] Library URL: file:/usr/local/Adempiere/jboss/lib/
      14:33:15,301 INFO  [Server] Patch URL: null
      14:33:15,302 INFO  [Server] Server Name: adempiere
      14:33:15,302 INFO  [Server] Server Home Dir: /usr/local/Adempiere/jboss/server/adempiere
      14:33:15,302 INFO  [Server] Server Home URL: file:/usr/local/Adempiere/jboss/server/adempiere/
      14:33:15,302 INFO  [Server] Server Data Dir: /usr/local/Adempiere/jboss/server/adempiere/data
      14:33:15,303 INFO  [Server] Server Temp Dir: /usr/local/Adempiere/jboss/server/adempiere/tmp
      14:33:15,303 INFO  [Server] Server Config URL: file:/usr/local/Adempiere/jboss/server/adempiere/conf/
      14:33:15,303 INFO  [Server] Server Library URL: file:/usr/local/Adempiere/jboss/server/adempiere/lib/
      14:33:15,304 INFO  [Server] Root Deployment Filename: jboss-service.xml
      14:33:15,306 INFO  [Server] Starting General Purpose Architecture (GPA)...
      14:33:16,187 INFO  [ServerInfo] Java version: 1.5.0_15,Sun Microsystems Inc.
      14:33:16,187 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_15-b04,Sun Microsystems Inc.
      14:33:16,187 INFO  [ServerInfo] OS-System: Linux 2.6.24-19-generic,i386
      14:33:17,325 INFO  [Server] Core system initialized
      14:33:21,021 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
      14:33:21,282 INFO  [WebService] Using RMI server codebase: http://orkidee:8083/
      14:33:21,887 INFO  [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=orkidee/127.0.0.1, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
      14:33:26,866 INFO  [Embedded] Catalina naming disabled
      14:33:27,926 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-orkidee%2F127.0.0.1-80
      14:33:29,864 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-orkidee%2F127.0.0.1-443
      14:33:29,864 INFO  [Catalina] Initialization processed in 2779 ms
      14:33:29,866 INFO  [StandardService] Starting service jboss.web
      14:33:29,870 INFO  [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.9
      14:33:29,993 INFO  [StandardHost] XML validation disabled
      14:33:30,104 INFO  [Catalina] Server startup in 240 ms
      14:33:30,474 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=file:/usr/local/Adempiere/jboss/server/adempiere/deploy/http-invoker.sar/invoker.war/
      14:33:31,262 INFO  [WebappLoader] Dual registration of jndi stream handler: factory already defined
      14:33:32,467 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/usr/local/Adempiere/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/ROOT.war/
      14:33:36,417 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/usr/local/Adempiere/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/
      14:33:38,189 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/usr/local/Adempiere/jboss/server/adempiere/deploy/jmx-console.war/
      14:33:38,566 INFO  [EARDeployer] Init J2EE application: file:/usr/local/Adempiere/jboss/server/adempiere/deploy/adempiere.ear/
      14:34:31,254 INFO  [EjbModule] Deploying adempiere/Status
      14:34:32,252 WARN  [EjbModule] Could not load the org.jboss.webservice.server.ServiceEndpointInterceptor interceptor
      14:34:32,616 INFO  [EjbModule] Deploying adempiere/Server
      14:34:32,661 WARN  [EjbModule] Could not load the org.jboss.webservice.server.ServiceEndpointInterceptor interceptor
      14:34:33,560 INFO  [EJBDeployer] Deployed: file:/usr/local/Adempiere/jboss/server/adempiere/deploy/adempiere.ear/adempiereRoot.jar
      14:34:33,735 INFO  [TomcatDeployer] deploy, ctxPath=/adempiere, warUrl=file:/usr/local/Adempiere/jboss/server/adempiere/tmp/deploy/tmp49209adempiereApps.war/
      14:34:35,073 INFO  [STDOUT] CLogFile[/usr/local/Adempiere/log/2008-06-29_5.log,Level=ALL]
      14:34:38,556 INFO  [STDOUT] [INFO] MLog clients using com.mchange.v2.log.FallbackMLog logging.
      14:34:38,995 INFO  [STDOUT] [INFO] Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
      14:34:39,338 INFO  [STDOUT] [INFO] Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 2, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> AdempiereDS, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> org.postgresql.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> z8kflt7u1mws6x88dw5h7|13e9934, idleConnectionTestPeriod -> 1200, initialPoolSize -> 10, jdbcUrl -> jdbc:postgresql://orkidee:5432/chevrerie.adempiere.org?encoding=UNICODE, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 1200, maxIdleTimeExcessConnections -> 1200, maxPoolSize -> 150, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 5, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> SELECT Version FROM AD_System, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]
      14:34:49,022 INFO  [TomcatDeployer] deploy, ctxPath=/admin, warUrl=file:/usr/local/Adempiere/jboss/server/adempiere/tmp/deploy/tmp49210adempiereRoot.war/
      14:35:02,921 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/usr/local/Adempiere/jboss/server/adempiere/tmp/deploy/tmp49211adempiereWebCM.war/
      14:35:03,299 INFO  [TomcatDeployer] deploy, ctxPath=/wstore, warUrl=file:/usr/local/Adempiere/jboss/server/adempiere/tmp/deploy/tmp49212adempiereWebStore.war/
      14:35:04,776 INFO  [TomcatDeployer] deploy, ctxPath=/posterita, warUrl=file:/usr/local/Adempiere/jboss/server/adempiere/tmp/deploy/tmp49213posterita.war/
      14:35:05,346 INFO  [WebappClassLoader] validateJarFile(/usr/local/Adempiere/jboss/server/adempiere/./tmp/deploy/tmp49213posterita.war/WEB-INF/lib/servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
      14:35:08,103 INFO  [TomcatDeployer] deploy, ctxPath=/webui, warUrl=file:/usr/local/Adempiere/jboss/server/adempiere/tmp/deploy/tmp49214webui.war/
      14:35:08,594 INFO  [WebappClassLoader] validateJarFile(/usr/local/Adempiere/jboss/server/adempiere/./tmp/deploy/tmp49214webui.war/WEB-INF/lib/j2ee.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
      14:35:13,652 INFO  [EARDeployer] Started J2EE application: file:/usr/local/Adempiere/jboss/server/adempiere/deploy/adempiere.ear/
      14:35:13,993 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-orkidee%2F127.0.0.1-80
      14:35:14,238 INFO  [ChannelSocket] JK: ajp13 listening on orkidee/127.0.0.1:8009
      14:35:14,247 INFO  [JkMain] Jk running ID=0 time=0/43  config=null
      14:35:14,334 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-orkidee%2F127.0.0.1-443
      14:35:14,374 INFO  [Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)] Started in 1m:59s:68ms

       

Log in to post a comment.