Adempiere em cliente windows


#1

Olá Pessoal estou testando o adempiere em um ambiente onde meu server é linux e clientes windows meu ultimo passo foi rodar o WinEnv.js da forma abaixo.

Winenv 192.168.x.xxx/ADempiere 192.168.x.xxx/usr/local/jdk

ele setou certinho criou um atalho com destino abaixo

C:\192.168.1.240\ADempiere\lib\Adempiere.exe -debug
mas não abre e acho que isto esta errado mas não faço ideia do certo…
alguem poderia me ajudar?

1 - tenho que instalar o java local?
2 - Como roda o Client em maquinas win?


#2

todas as máquinas client precisam do jre.

a melhor maneira de usar os clients é através do webstart.

no servidor linux, execute o processo utils/RUN_Server2.sh

nas máquinas clientes, entre no Internet Explorer e digita o endereço do servidor servidor:porta, feito isso vai aparecer uma página do Adempiere Server com um botão em azul, escrito webstart, só clicar nele q o client é inicializado, e o bom deste método, é que se vc fizer alguma atualização no server, na próxima vez q o client for executado ele faz a atualização.


#3

nossa que legal esse lance…

eu tentei o htpp://endereco_do_servidor:8083
que foi a ´porta que eu peguei na saida do comando RUN_server2.sh mas ele me retorna o erro 400 dizendo que não é possivel localizar e de fato ao passar o nmap so achei duas portas diferentes
4444/tcp open krb524?
5432/tcp open postgresql PostgreSQL DB

creio ser do postgres essas portas… eu não preciso jogar algo no htdocs para isso?


#4

tem também uma serie de mensagens de erro… mas o console continua rodando sem dar o kill.
Segue abaixo algumas.

org.jboss.deployment.DeploymentInfo@12115d86 { url=file:/ADempiere/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/ROOT.war/ }
  deployer: org.jboss.web.tomcat.tc5.Tomcat5@789869
  status: Deployment FAILED reason: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
  state: FAILED
  watch: file:/ADempiere/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/ROOT.war/WEB-INF/web.xml
  altDD: null
  lastDeployed: 1217003493674
  lastModified: 1216402759000
  mbeans:

org.jboss.deployment.DeploymentInfo@25cec354 { url=file:/ADempiere/jboss/server/adempiere/deploy/jmx-console.war/ }
  deployer: org.jboss.web.tomcat.tc5.Tomcat5@789869
  status: Deployment FAILED reason: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
  state: FAILED
  watch: file:/ADempiere/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/web.xml
  altDD: null
  lastDeployed: 1217003505172
  lastModified: 1216402759000
  mbeans:

--- MBeans waiting for other MBeans ---
ObjectName: jboss:service=Naming
  State: FAILED
  Reason: java.lang.NumberFormatException: For input string: "@ADEMPIERE_JNP_PORT@"

ObjectName: jboss.security:service=XMLLoginConfig
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute@bac9b9 on mbean jboss.security:service=XMLLoginConfig; - nested throwable: (java.io.IOException: Failed to find resource: login-config.xml)

ObjectName: jboss:service=proxyFactory,target=ClientUserTransactionFactory
  State: FAILED
  Reason: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
  I Depend On:
    jboss:service=invoker,type=jrmp
  Depends On Me:
    jboss:service=ClientUserTransaction

ObjectName: jboss.web.deployment:war=ROOT.war,id=303127942
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)

ObjectName: jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
  State: FAILED
  Reason: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
  I Depend On:
    jboss:service=invoker,type=jrmp
    jboss.jmx:type=adaptor,name=Invoker
  Depends On Me:
    jboss.admin:service=PluginManager

ObjectName: jboss.jmx:alias=jmx/rmi/RMIAdaptor
  State: FAILED
  Reason: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]

ObjectName: jboss.web.deployment:war=jmx-console.war,id=634307412
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
  State: FAILED
  Reason: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
  I Depend On:
    jboss:service=invoker,type=jrmp
    jboss.jmx:type=adaptor,name=Invoker
  Depends On Me:
    jboss.admin:service=PluginManager

ObjectName: jboss.web.deployment:war=ROOT.war,id=303127942
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)

ObjectName: jboss:service=proxyFactory,target=ClientUserTransactionFactory
  State: FAILED
  Reason: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
  I Depend On:
    jboss:service=invoker,type=jrmp
  Depends On Me:
    jboss:service=ClientUserTransaction

ObjectName: jboss.jmx:alias=jmx/rmi/RMIAdaptor
  State: FAILED
  Reason: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]

ObjectName: jboss.security:service=XMLLoginConfig
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute@bac9b9 on mbean jboss.security:service=XMLLoginConfig; - nested throwable: (java.io.IOException: Failed to find resource: login-config.xml)

ObjectName: jboss.web.deployment:war=jmx-console.war,id=634307412
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)

ObjectName: jboss:service=Naming
  State: FAILED
  Reason: java.lang.NumberFormatException: For input string: "@ADEMPIERE_JNP_PORT@"


13:31:45,287 ERROR [Server] Root deployment has missing dependencies; continuing
Incomplete Deployment listing:

--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@34ed081c { url=file:/ADempiere/jboss/server/adempiere/deploy/http-invoker.sar/ }
  deployer: org.jboss.deployment.SARDeployer@1385660
  status: null
  state: FAILED
  watch: file:/ADempiere/jboss/server/adempiere/deploy/http-invoker.sar/META-INF/jboss-service.xml
  altDD: null
  lastDeployed: 1217003493085
  lastModified: 1212209980000
  mbeans:

org.jboss.deployment.DeploymentInfo@12115d86 { url=file:/ADempiere/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/ROOT.war/ }
  deployer: org.jboss.web.tomcat.tc5.Tomcat5@789869
  status: Deployment FAILED reason: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
  state: FAILED
  watch: file:/ADempiere/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/ROOT.war/WEB-INF/web.xml
  altDD: null
  lastDeployed: 1217003493674
  lastModified: 1216402759000
  mbeans:

org.jboss.deployment.DeploymentInfo@25cec354 { url=file:/ADempiere/jboss/server/adempiere/deploy/jmx-console.war/ }
  deployer: org.jboss.web.tomcat.tc5.Tomcat5@789869
  status: Deployment FAILED reason: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
  state: FAILED
  watch: file:/ADempiere/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/web.xml
  altDD: null
  lastDeployed: 1217003505172
  lastModified: 1216402759000
  mbeans:

--- MBeans waiting for other MBeans ---
ObjectName: jboss:service=Naming
  State: FAILED
  Reason: java.lang.NumberFormatException: For input string: "@ADEMPIERE_JNP_PORT@"

ObjectName: jboss.security:service=XMLLoginConfig
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute@bac9b9 on mbean jboss.security:service=XMLLoginConfig; - nested throwable: (java.io.IOException: Failed to find resource: login-config.xml)

ObjectName: jboss:service=proxyFactory,target=ClientUserTransactionFactory
  State: FAILED
  Reason: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
  I Depend On:
    jboss:service=invoker,type=jrmp
  Depends On Me:
    jboss:service=ClientUserTransaction

ObjectName: jboss.web.deployment:war=ROOT.war,id=303127942
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)

ObjectName: jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
  State: FAILED
  Reason: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
  I Depend On:
    jboss:service=invoker,type=jrmp
    jboss.jmx:type=adaptor,name=Invoker
  Depends On Me:
    jboss.admin:service=PluginManager

ObjectName: jboss.jmx:alias=jmx/rmi/RMIAdaptor
  State: FAILED
  Reason: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]

ObjectName: jboss.web.deployment:war=jmx-console.war,id=634307412
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
  State: FAILED
  Reason: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
  I Depend On:
    jboss:service=invoker,type=jrmp
    jboss.jmx:type=adaptor,name=Invoker
  Depends On Me:
    jboss.admin:service=PluginManager

ObjectName: jboss.web.deployment:war=ROOT.war,id=303127942
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)

ObjectName: jboss:service=proxyFactory,target=ClientUserTransactionFactory
  State: FAILED
  Reason: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
  I Depend On:
    jboss:service=invoker,type=jrmp
  Depends On Me:
    jboss:service=ClientUserTransaction

ObjectName: jboss.jmx:alias=jmx/rmi/RMIAdaptor
  State: FAILED
  Reason: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]

ObjectName: jboss.security:service=XMLLoginConfig
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute@bac9b9 on mbean jboss.security:service=XMLLoginConfig; - nested throwable: (java.io.IOException: Failed to find resource: login-config.xml)

ObjectName: jboss.web.deployment:war=jmx-console.war,id=634307412
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)

ObjectName: jboss:service=Naming
  State: FAILED
  Reason: java.lang.NumberFormatException: For input string: "@ADEMPIERE_JNP_PORT@"


        at org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDeployer.java:1286)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:741)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
        at $Proxy5.deploy(Unknown Source)
        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:434)
        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
        at org.jboss.Main.boot(Main.java:195)
        at org.jboss.Main$1.run(Main.java:463)
        at java.lang.Thread.run(Thread.java:595)
13:31:45,312 WARN  [Tomcat5] Failed to startConnectors
javax.management.InstanceNotFoundException: jboss.web:type=Service,serviceName=jboss.web is not registered.
        at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:509)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:638)
        at org.jboss.web.tomcat.tc5.Tomcat5.startConnectors(Tomcat5.java:487)
        at org.jboss.web.tomcat.tc5.Tomcat5.handleNotification(Tomcat5.java:521)
        at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:138)
        at $Proxy20.handleNotification(Unknown Source)
        at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:112)
        at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:93)
        at org.jboss.system.server.ServerImpl.sendNotification(ServerImpl.java:854)
        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:449)
        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
        at org.jboss.Main.boot(Main.java:195)
        at org.jboss.Main$1.run(Main.java:463)
        at java.lang.Thread.run(Thread.java:595)
13:31:45,313 INFO  [Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)] Started in 21s:94ms

#5

a porta é a que vc definiu no RUN_setup, por padrão ele está na 80, porém o ubuntu não deixa usuário comuns “subirem” processos nesta porta, dai vc deverá rodar com sudo ou alterar para 8080 no setup.

de acordo com os logs, vc não conseguiu acessar o servidor pois o mesmo não iniciou corretamente, em média demora uns 40 segundos para inicar e nenhuma mensagem de erro deve ser informada.

outra coisa importante, é que os clients devem conseguir resolver o servidor por nome, então vc precisa colcoar ele no seu dns, ou no hosts dos clientes.

sds, Mario


#6

É no RUN_setup eu defini a 8083, e a distro que eu to usando é o slackware 12.1 mas já tenho outra coisas no htdocs por isso troquei a porta, mas acredito que este erro possa ser pelo dns mesmo… mas com a quantidade de erros ta meio complicado de saber eu vou disponibilizar no proximo post o log completo… você poderia fazer a gentilesa de olha-lo? muito obrigado pelo help…


#7

Eu tenho este log em texto também se puder me mandar seu mail eu passo no mail… Muito obrigado mesmo.

Setting myEnvironment ....
=========================================================================

JBoss Bootstrap Environment

JBOSS_HOME: /ADempiere/jboss

JAVA: /usr/local/jdk1.5.0_16/bin/java

JAVA_OPTS: -server -Xms64M -Xmx512M -DADEMPIERE_HOME=/ADempiere -Djava.awt.headless=true -Dprogram.name=run.sh

CLASSPATH: /ADempiere/jboss/bin/run.jar:/usr/local/jdk1.5.0_16/lib/tools.jar

=========================================================================

14:15:29,728 INFO [Server] Starting JBoss (MX MicroKernel)...
14:15:29,729 INFO [Server] Release ID: JBoss [Zion] 4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)
14:15:29,729 INFO [Server] Home Dir: /ADempiere/jboss
14:15:29,729 INFO [Server] Home URL: file:/ADempiere/jboss/
14:15:29,729 INFO [Server] Library URL: file:/ADempiere/jboss/lib/
14:15:29,730 INFO [Server] Patch URL: null
14:15:29,730 INFO [Server] Server Name: adempiere
14:15:29,730 INFO [Server] Server Home Dir: /ADempiere/jboss/server/adempiere
14:15:29,730 INFO [Server] Server Home URL: file:/ADempiere/jboss/server/adempiere/
14:15:29,730 INFO [Server] Server Data Dir: /ADempiere/jboss/server/adempiere/data
14:15:29,730 INFO [Server] Server Temp Dir: /ADempiere/jboss/server/adempiere/tmp
14:15:29,730 INFO [Server] Server Config URL: file:/ADempiere/jboss/server/adempiere/conf/
14:15:29,730 INFO [Server] Server Library URL: file:/ADempiere/jboss/server/adempiere/lib/
14:15:29,731 INFO [Server] Root Deployment Filename: jboss-service.xml
14:15:29,732 INFO [Server] Starting General Purpose Architecture (GPA)...
14:15:29,900 INFO [ServerInfo] Java version: 1.5.0_16,Sun Microsystems Inc.
14:15:29,900 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_16-b02,Sun Microsystems Inc.
14:15:29,900 INFO [ServerInfo] OS-System: Linux 2.6.21.5-smp,i386
14:15:30,165 INFO [Server] Core system initialized
14:15:30,830 INFO [ServiceConfigurator] Problem configuring service jboss:service=Naming
java.lang.NumberFormatException: For input string: "@ADEMPIERE_JNP_PORT@"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:447)
at java.lang.Integer.valueOf(Integer.java:553)
at sun.beans.editors.IntEditor.setAsText(IntEditor.java:21)
at org.jboss.system.ServiceConfigurator.parseTextSerialData(ServiceConfigurator.java:472)
at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:272)
at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:164)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:118)
at org.jboss.system.ServiceController.install(ServiceController.java:202)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:220)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:434)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
at org.jboss.Main.boot(Main.java:195)
at org.jboss.Main$1.run(Main.java:463)
at java.lang.Thread.run(Thread.java:595)
14:15:30,967 INFO [ServiceConfigurator] Problem configuring service jboss.security:service=XMLLoginConfig
org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute@cbdb20 on mbean jboss.security:service=XMLLoginConfig; - nest
ed throwable: (java.io.IOException: Failed to find resource: login-config.xml)
at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:573)
at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:275)
at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:164)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:118)
at org.jboss.system.ServiceController.install(ServiceController.java:202)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:220)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:434)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
at org.jboss.Main.boot(Main.java:195)
at org.jboss.Main$1.run(Main.java:463) at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.IOException: Failed to find resource: login-config.xml
at org.jboss.security.auth.login.XMLLoginConfigImpl.setConfigResource(XMLLoginConfigImpl.java:151)
at org.jboss.security.auth.login.XMLLoginConfig.setConfigResource(XMLLoginConfig.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.AttributeDispatcher.invoke(AttributeDispatcher.java:121)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.invoke(ModelMBeanAttributeInterceptor.java:88)
at org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:61)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.setAttribute(AbstractMBeanInvoker.java:446)
at org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java:593)
at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:569)
... 39 more

--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@34ed081c { url=file:/ADempiere/jboss/server/adempiere/deploy/http-invoker.sar/ }
deployer: org.jboss.deployment.SARDeployer@1aed5f9
status: null
state: FAILED
watch: file:/ADempiere/jboss/server/adempiere/deploy/http-invoker.sar/META-INF/jboss-service.xml
altDD: null
lastDeployed: 1217006137092
lastModified: 1212209980000
mbeans:

org.jboss.deployment.DeploymentInfo@12115d86 { url=file:/ADempiere/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/ROOT.war/ }
deployer: org.jboss.web.tomcat.tc5.Tomcat5@143bf3d
status: Deployment FAILED reason: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
state: FAILED
watch: file:/ADempiere/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/ROOT.war/WEB-INF/web.xml
altDD: null
lastDeployed: 1217006137657
lastModified: 1216402759000
mbeans:

org.jboss.deployment.DeploymentInfo@25cec354 { url=file:/ADempiere/jboss/server/adempiere/deploy/jmx-console.war/ }
deployer: org.jboss.web.tomcat.tc5.Tomcat5@143bf3d
status: Deployment FAILED reason: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
state: FAILED
watch: file:/ADempiere/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/web.xml
altDD: null
lastDeployed: 1217006148450
lastModified: 1216402759000
mbeans:

--- MBeans waiting for other MBeans ---
ObjectName: jboss:service=Naming
State: FAILED
Reason: java.lang.NumberFormatException: For input string: "@ADEMPIERE_JNP_PORT@"

ObjectName: jboss.security:service=XMLLoginConfig
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute@cbdb20 on mbean jboss.security:service=XMLLoginConf
ig; - nested throwable: (java.io.IOException: Failed to find resource: login-config.xml)

ObjectName: jboss:service=proxyFactory,target=ClientUserTransactionFactory
State: FAILED
Reason: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
I Depend On:
jboss:service=invoker,type=jrmp
Depends On Me:
jboss:service=ClientUserTransaction

ObjectName: jboss.web.deployment:war=ROOT.war,id=303127942
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)

ObjectName: jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
State: FAILED
Reason: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
I Depend On:
jboss:service=invoker,type=jrmp
jboss.jmx:type=adaptor,name=Invoker
Depends On Me:
jboss.admin:service=PluginManager

ObjectName: jboss.jmx:alias=jmx/rmi/RMIAdaptor
State: FAILED
Reason: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]

ObjectName: jboss.web.deployment:war=jmx-console.war,id=634307412
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.web.deployment:war=ROOT.war,id=303127942
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)

ObjectName: jboss.jmx:alias=jmx/rmi/RMIAdaptor
State: FAILED
Reason: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]

ObjectName: jboss:service=proxyFactory,target=ClientUserTransactionFactory
State: FAILED
Reason: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
I Depend On:
jboss:service=invoker,type=jrmp
Depends On Me:
jboss:service=ClientUserTransaction

ObjectName: jboss.web.deployment:war=jmx-console.war,id=634307412
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)

ObjectName: jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
State: FAILED
Reason: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
I Depend On:
jboss:service=invoker,type=jrmp
jboss.jmx:type=adaptor,name=Invoker
Depends On Me:
jboss.admin:service=PluginManager

ObjectName: jboss:service=Naming
State: FAILED
Reason: java.lang.NumberFormatException: For input string: "@ADEMPIERE_JNP_PORT@"

ObjectName: jboss.security:service=XMLLoginConfig
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute@cbdb20 on mbean jboss.security:service=XMLLoginConf
ig; - nested throwable: (java.io.IOException: Failed to find resource: login-config.xml)


14:15:48,504 ERROR [Server] Root deployment has missing dependencies; continuing
Incomplete Deployment listing:
--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@34ed081c { url=file:/ADempiere/jboss/server/adempiere/deploy/http-invoker.sar/ }
deployer: org.jboss.deployment.SARDeployer@1aed5f9
status: null
state: FAILED
watch: file:/ADempiere/jboss/server/adempiere/deploy/http-invoker.sar/META-INF/jboss-service.xml
altDD: null
lastDeployed: 1217006137092
lastModified: 1212209980000
mbeans:

org.jboss.deployment.DeploymentInfo@12115d86 { url=file:/ADempiere/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/ROOT.war/ }
deployer: org.jboss.web.tomcat.tc5.Tomcat5@143bf3d
status: Deployment FAILED reason: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
state: FAILED
watch: file:/ADempiere/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/ROOT.war/WEB-INF/web.xml
altDD: null
lastDeployed: 1217006137657
lastModified: 1216402759000
mbeans:

org.jboss.deployment.DeploymentInfo@25cec354 { url=file:/ADempiere/jboss/server/adempiere/deploy/jmx-console.war/ }
deployer: org.jboss.web.tomcat.tc5.Tomcat5@143bf3d
status: Deployment FAILED reason: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
state: FAILED
watch: file:/ADempiere/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/web.xml
altDD: null
lastDeployed: 1217006148450
lastModified: 1216402759000
mbeans:

--- MBeans waiting for other MBeans ---
ObjectName: jboss:service=Naming
State: FAILED
Reason: java.lang.NumberFormatException: For input string: "@ADEMPIERE_JNP_PORT@"
Reason: org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute@cbdb20 on mbean jboss.security:service=XMLLoginConf
ig; - nested throwable: (java.io.IOException: Failed to find resource: login-config.xml)

ObjectName: jboss:service=proxyFactory,target=ClientUserTransactionFactory
State: FAILED
Reason: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
I Depend On:
jboss:service=invoker,type=jrmp
Depends On Me:
jboss:service=ClientUserTransaction

ObjectName: jboss.web.deployment:war=ROOT.war,id=303127942
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)

ObjectName: jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
State: FAILED
Reason: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
I Depend On:
jboss:service=invoker,type=jrmp
jboss.jmx:type=adaptor,name=Invoker
Depends On Me:
jboss.admin:service=PluginManager

ObjectName: jboss.jmx:alias=jmx/rmi/RMIAdaptor
State: FAILED
Reason: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]

ObjectName: jboss.web.deployment:war=jmx-console.war,id=634307412
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.web.deployment:war=ROOT.war,id=303127942
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)

ObjectName: jboss.jmx:alias=jmx/rmi/RMIAdaptor
State: FAILED
Reason: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]

ObjectName: jboss:service=proxyFactory,target=ClientUserTransactionFactory
State: FAILED
Reason: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
I Depend On:
jboss:service=invoker,type=jrmp
Depends On Me:
jboss:service=ClientUserTransaction
ObjectName: jboss.web.deployment:war=jmx-console.war,id=634307412
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)

ObjectName: jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
State: FAILED
Reason: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
I Depend On:
jboss:service=invoker,type=jrmp
jboss.jmx:type=adaptor,name=Invoker
Depends On Me:
jboss.admin:service=PluginManager
ObjectName: jboss:service=Naming
State: FAILED
Reason: java.lang.NumberFormatException: For input string: "@ADEMPIERE_JNP_PORT@"
ObjectName: jboss.security:service=XMLLoginConfig
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute@cbdb20 on mbean jboss.security:service=XMLLoginConf
ig; - nested throwable: (java.io.IOException: Failed to find resource: login-config.xml)


at org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDeployer.java:1286)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:741)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:434)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
at org.jboss.Main.boot(Main.java:195)
at org.jboss.Main$1.run(Main.java:463)
at java.lang.Thread.run(Thread.java:595)
14:15:48,505 WARN [Tomcat5] Failed to startConnectors
javax.management.InstanceNotFoundException: jboss.web:type=Service,serviceName=jboss.web is not registered.
at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:509)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:638)
at org.jboss.web.tomcat.tc5.Tomcat5.startConnectors(Tomcat5.java:487)
at org.jboss.web.tomcat.tc5.Tomcat5.handleNotification(Tomcat5.java:521)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:138)
at $Proxy20.handleNotification(Unknown Source)
at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:112)
at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:93)
at org.jboss.system.server.ServerImpl.sendNotification(ServerImpl.java:854)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:449)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
at org.jboss.Main.boot(Main.java:195)
at org.jboss.Main$1.run(Main.java:463)
at java.lang.Thread.run(Thread.java:595)
14:15:48,506 INFO [Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)] Started in 18s:774ms
14:16:56,137 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
14:16:56,173 WARN [ServiceController] Ignoring request to stop nonexistent service: null
Shutting down
14:16:56,213 INFO [Server] Shutdown complete
Shutdown complete
Halting VM

uffa e finalmente esse halting maldito


#8

Fernando recebi sua MP, mas vamos tentar resolver aqui para ajudar alguem q tenha o mesmo problema, qq coisa se começar a ficar específico agente se fala por email mesmo…

seguinte, deve ter alguma coisa de errado no seu run_setup, pq o primeiro erro que tem quando tentar subir o server é que ele não consegue resolver a variavel @ADEMPIERE_JNP_PORT@, o certo era retornor a porta 1099.


#9

Meu você num tem noção eu fui la no servidor, rodei de novo o setup, e avri o client la no server e ai ele abriu uma janela de configuração eu configurei e teste no proprio server via firefox e rodou… então fui em uma estação e abriu a tela de login tb… não sei o que houve mas provavelmente o tanto de testes que fiz sem rodar o client na servidora agora ele abriu e tudo… so preciso agora achar a senha de login web.