Installazione Compiere su Oracle

valeria
2005-04-23
2013-05-02
  • valeria
    valeria
    2005-04-23

    Ciao a tutti,

    ho dei problemi con l'installazione, eseguo: RUN_setup.bat, il test  OK

    ma come inserisco i valori nel DB Oracle

    Ho creato, in fase di installazione, il DB (senza fare altro) ... quindi vuoto

    Ho eseguito RUN_ImportCompiere.bat... ma vedo il DB sempre vuoto

    ho eseguito RUN_Env.bat

    RUN_Env.bat

    ...
    92)
    at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
    nDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
    ler.java:976)
    at $Proxy0.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceController.java:394)
    at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
    nDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
    at $Proxy4.start(Unknown Source)
    at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
    nDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
    at $Proxy5.deploy(Unknown Source)
    at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
    at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
    at org.jboss.Main.boot(Main.java:150)
    at org.jboss.Main$1.run(Main.java:395)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: javax.naming.NameNotFoundException: comp not bound
    at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
    at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
    at org.jnp.server.NamingServer.getObject(NamingServer.java:509)
    at org.jnp.server.NamingServer.lookup(NamingServer.java:282)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:528)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at org.jboss.web.AbstractWebContainer.parseWebAppDescriptors(AbstractWeb
    Container.java:572)
    at org.jboss.web.AbstractWebContainer$DescriptorParser.parseWebAppDescri
    ptors(AbstractWebContainer.java:1051)
    at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.initENC(EmbeddedTomcat
    Service.java:579)
    at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.createWebContext(Embed
    dedTomcatService.java:542)
    at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.performDeploy(Embedded
    TomcatService.java:309)
    at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:42

    ... 49 more
    04:06:33,000 ERROR [MainDeployer] could not start deployment: file:/C:/Compiere2
    /jboss/server/compiere/deploy/compiereWebStore.ear
    org.jboss.deployment.DeploymentException: Error during deploy; - nested throwabl
    e: (javax.naming.NameNotFoundException: comp not bound)
    at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:44
    0)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
    at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
    nDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
    at $Proxy6.deploy(Unknown Source)
    at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
    tScanner.java:302)
    at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
    canner.java:476)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
    doScan(AbstractDeploymentScanner.java:201)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
    bstractDeploymentScanner.java:274)
    at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
    92)
    at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
    nDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
    ler.java:976)
    at $Proxy0.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceController.java:394)
    at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
    nDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
    at $Proxy4.start(Unknown Source)
    at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
    nDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
    at $Proxy5.deploy(Unknown Source)
    at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
    at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
    at org.jboss.Main.boot(Main.java:150)
    at org.jboss.Main$1.run(Main.java:395)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: javax.naming.NameNotFoundException: comp not bound
    at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
    at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
    at org.jnp.server.NamingServer.getObject(NamingServer.java:509)
    at org.jnp.server.NamingServer.lookup(NamingServer.java:282)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:528)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at org.jboss.web.AbstractWebContainer.parseWebAppDescriptors(AbstractWeb
    Container.java:572)
    at org.jboss.web.AbstractWebContainer$DescriptorParser.parseWebAppDescri
    ptors(AbstractWebContainer.java:1051)
    at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.initENC(EmbeddedTomcat
    Service.java:579)
    at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.createWebContext(Embed
    dedTomcatService.java:542)
    at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.performDeploy(Embedded
    TomcatService.java:309)
    at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:42

    ... 49 more
    04:06:33,156 INFO [URLDeploymentScanner] Started jboss.deployment:type=Deployme
    ntScanner,flavor=URL
    04:06:33,250 INFO [MainDeployer] Deployed package: file:/C:/Compiere2/jboss/ser
    ver/compiere/conf/jboss-service.xml
    04:06:33,250 ERROR [Server] Root deployment has missing dependencies; continuing

    Incomplete Deployment listing:
    Packages waiting for a deployer:
    <none>
    Incompletely deployed packages:
    [org.jboss.deployment.DeploymentInfo@1c772613 { url=file:/C:/Compiere2/jboss/ser
    ver/compiere/deploy/http-invoker.sar/invoker.war/ }
    deployer: org.jboss.web.tomcat.tc4.EmbeddedTomcatService@c26b16
    status: Deployment FAILED reason: Error during deploy; - nested throwable: (ja
    vax.naming.NameNotFoundException: comp not bound)
    state: FAILED
    watch: file:/C:/Compiere2/jboss/server/compiere/deploy/http-invoker.sar/invoke
    r.war/WEB-INF/web.xml
    lastDeployed: 1114221937984
    lastModified: 1113860470062
    mbeans:
    , org.jboss.deployment.DeploymentInfo@1c772613 { url=file:/C:/Compiere2/jboss/se
    rver/compiere/deploy/http-invoker.sar/invoker.war/ }
    deployer: org.jboss.web.tomcat.tc4.EmbeddedTomcatService@c26b16
    status: Deployment FAILED reason: Error during deploy; - nested throwable: (ja
    vax.naming.NameNotFoundException: comp not bound)
    state: FAILED
    watch: file:/C:/Compiere2/jboss/server/compiere/deploy/http-invoker.sar/invoke
    r.war/WEB-INF/web.xml
    lastDeployed: 1114221937984
    lastModified: 1113860470062
    mbeans:
    , org.jboss.deployment.DeploymentInfo@1c772613 { url=file:/C:/Compiere2/jboss/se
    rver/compiere/deploy/http-invoker.sar/invoker.war/ }
    deployer: org.jboss.web.tomcat.tc4.EmbeddedTomcatService@c26b16
    status: Deployment FAILED reason: Error during deploy; - nested throwable: (ja
    vax.naming.NameNotFoundException: comp not bound)
    state: FAILED
    watch: file:/C:/Compiere2/jboss/server/compiere/deploy/http-invoker.sar/invoke
    r.war/WEB-INF/web.xml
    lastDeployed: 1114221937984
    lastModified: 1113860470062
    mbeans:
    , org.jboss.deployment.DeploymentInfo@1c772613 { url=file:/C:/Compiere2/jboss/se
    rver/compiere/deploy/http-invoker.sar/invoker.war/ }
    deployer: org.jboss.web.tomcat.tc4.EmbeddedTomcatService@c26b16
    status: Deployment FAILED reason: Error during deploy; - nested throwable: (ja
    vax.naming.NameNotFoundException: comp not bound)
    state: FAILED
    watch: file:/C:/Compiere2/jboss/server/compiere/deploy/http-invoker.sar/invoke
    r.war/WEB-INF/web.xml
    lastDeployed: 1114221937984
    lastModified: 1113860470062
    mbeans:
    , org.jboss.deployment.DeploymentInfo@a07f4718 { url=file:/C:/Compiere2/jboss/se
    rver/compiere/deploy/jmx-console.war/ }
    deployer: org.jboss.web.tomcat.tc4.EmbeddedTomcatService@c26b16
    status: Deployment FAILED reason: Error during deploy; - nested throwable: (ja
    vax.naming.NameNotFoundException: comp not bound)
    state: FAILED
    watch: file:/C:/Compiere2/jboss/server/compiere/deploy/jmx-console.war/WEB-INF
    /web.xml
    lastDeployed: 1114221941312
    lastModified: 1113860469640
    mbeans:
    , org.jboss.deployment.DeploymentInfo@f638cdae { url=file:/C:/Compiere2/jboss/se
    rver/compiere/deploy/management/web-console.war }
    deployer: org.jboss.web.tomcat.tc4.EmbeddedTomcatService@c26b16
    status: Deployment FAILED reason: Error during deploy; - nested throwable: (ja
    vax.naming.NameNotFoundException: comp not bound)
    state: FAILED
    watch: file:/C:/Compiere2/jboss/server/compiere/deploy/management/web-console.
    war
    lastDeployed: 1114221942203
    lastModified: 1114221942187
    mbeans:
    , org.jboss.deployment.DeploymentInfo@33320b3a { url=file:/C:/Compiere2/jboss/se
    rver/compiere/deploy/compiereApps.ear }
    deployer: org.jboss.deployment.EARDeployer@15718f2
    status: Deployment FAILED reason: Error during deploy; - nested throwable: (ja
    vax.naming.NameNotFoundException: comp not bound)
    state: FAILED
    watch: file:/C:/Compiere2/jboss/server/compiere/deploy/compiereApps.ear
    lastDeployed: 1114221950328
    lastModified: 1114221943625
    mbeans:
    , org.jboss.deployment.DeploymentInfo@e29909aa { url=file:/C:/Compiere2/jboss/se
    rver/compiere/deploy/compiereRoot.ear }
    deployer: org.jboss.deployment.EARDeployer@15718f2
    status: Deployment FAILED reason: Error during deploy; - nested throwable: (ja
    vax.naming.NameNotFoundException: comp not bound)
    state: FAILED
    watch: file:/C:/Compiere2/jboss/server/compiere/deploy/compiereRoot.ear
    lastDeployed: 1114221974125
    lastModified: 1114221966453
    mbeans:
    , org.jboss.deployment.DeploymentInfo@873c2b5 { url=file:/C:/Compiere2/jboss/ser
    ver/compiere/deploy/compiereWebStore.ear }
    deployer: org.jboss.deployment.EARDeployer@15718f2
    status: Deployment FAILED reason: Error during deploy; - nested throwable: (ja
    vax.naming.NameNotFoundException: comp not bound)
    state: FAILED
    watch: file:/C:/Compiere2/jboss/server/compiere/deploy/compiereWebStore.ear
    lastDeployed: 1114221991781
    lastModified: 1114221988484
    mbeans:
    ]MBeans waiting for classes:
    <none>
    MBeans waiting for other MBeans:
    [ObjectName: jboss:service=Naming
    state: FAILED
    I Depend On:
    Depends On Me: java.rmi.server.ExportException: Port already in use: 1098; nest
    ed exception is:
    java.net.BindException: Address already in use: JVM_Bind, ObjectName: jb
    oss.j2ee:jndiName=ejb/compiere/Server,service=EJB
    state: FAILED
    I Depend On:
    Depends On Me: javax.naming.NameNotFoundException: comp not bound, ObjectName:
    jboss.j2ee:jndiName=ejb/compiere/Status,service=EJB
    state: FAILED
    I Depend On:
    Depends On Me: javax.naming.NameNotFoundException: comp not bound]
    at org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDepl
    oyer.java:1135)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
    nDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
    at $Proxy5.deploy(Unknown Source)
    at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
    at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
    at org.jboss.Main.boot(Main.java:150)
    at org.jboss.Main$1.run(Main.java:395)
    at java.lang.Thread.run(Thread.java:534)
    04:06:33,500 INFO [Server] JBoss (MX MicroKernel) [3.2.3 (build: CVSTag=JBoss_3
    _2_3 date=200311301445)] Started in 1m:20s:360ms

    ..... e se eseguo RUN_Compiere2.bat

    il sistema si blocca

    dove sbaglio????

    *** 2005-04-23 04:12:44.64 Compiere Log (CLogConsole) ***
    04:12:44.640 Compiere.startup: Compiere(r) Release 2.5.2b_2005-02-26 - Smart ERP
    & CRM - (c) 1999-2005 Compiere (r); Implementation: e-Evolution,S.C. 20050321-1
    502 - Supported
    04:12:44.640 Compiere.startup: c:\compiere2 - Java HotSpot(TM) Client VM 1.4.2_0
    8-b03 - Windows 2003 5.2
    04:12:54.218 Ini.loadProperties: C:\Documents and Settings\Administrator.NIX\C
    ompiere.properties #21
    Exception in thread "main" java.lang.NoClassDefFoundError: org/postgresql/ds/PGP
    oolingDataSource
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:141)
    at org.compiere.db.Database.class$(Database.java:4
    at org.compiere.db.Database.<clinit>(Database.java:47)
    at org.compiere.db.CConnectionDialog.<init>(CConnectionDialog.java:97)
    at org.compiere.db.CConnection.get(CConnection.java:52)
    at org.compiere.Compiere.startup(Compiere.java:433)
    at org.compiere.Compiere.main(Compiere.java:491)

     
    • Roberto Onnis
      Roberto Onnis
      2005-04-28

      Prova a seguire questa procedura
      a) crei un nuovo db oracle vuoto ed una nuova installazione di compiere in C:\Compiere2
      b) esegui RUN_setup.bat
      c) esegui quindi RUN_ImportCompiere.bat
      d) lanci il server jboss con RUN_Server2.bat