[b:f10ee]Eduardo,
Alterei o hosts conforme abaixo e funcionou o acesso via WEB de uma máquina WinXP remota.[/b:f10ee]
127.0.0.1 localhost localhost.localdomain localhost
10.0.0.14 server01 server01.max.com server01
[b:f10ee]Quando executo o client da aplicação dentro do servidor funciona normal. Porém ainda não consigo via client dessa máquina WinXP. Dá o seguinte erro quando clico em testar a aplicação via conexão WAN:[/b:f10ee]
-----------> CConnection.queryAppsServerInfo: server01:80/invoker/JNDIFac
tory
- java.rmi.ConnectIOException: Exception creating connection to: server01; nest
ed exception is:
java.net.NoRouteToHostException: No route to host: connect
- {java.naming.provider.url=http://server01:80/invoker/JNDIFactory, java.naming
.factory.initial=org.jboss.naming.HttpNamingContextFactory, jnp.discoveryTimeout
=5000, jnp.timeout=5000, java.naming.factory.url.pkgs=org.jboss.naming.client, jnp.sotimeout=5000} [11]
[b:f10ee]Já, usando conexão LAN dá o mesmo erro, porém usando a url diferente:[/b:f10ee]
-----------> CConnection.queryAppsServerInfo: jnp://server01:1099
- java.rmi.ConnectIOException: Exception creating connection to: server01; nest
ed exception is:
java.net.NoRouteToHostException: No route to host: connect
- {java.naming.provider.url=jnp://server01:1099, java.naming.factory.initial=or
g.jnp.interfaces.NamingContextFactory, jnp.discoveryTimeout=5000, jnp.timeout=50
00, java.naming.factory.url.pkgs=org.jboss.naming.client, jnp.sotimeout=5000} [1
1]
[b:f10ee]Agora, clicando no botão Testar Banco de Dados a partir do WinXP, funciona normal[/b:f10ee]
[b:f10ee]Estou postando o meu log quando executo RUN_Server2.sh
Existe algumas linhas com erro e não sei pq disso.
Se alguém conseguir identificar algum erro, por favor me avise!
Desde já agradeço a Ajuda de Todos[/b:f10ee]
[root@server01 utils]# . RUN_UnixEnv.sh
Set Unix Environment
Setup Client Environment
Please add ADEMPIERE_HOME and JAVA_HOME to your environment
You chould also have set LD_LIBRARY_PATH
[root@server01 utils]# . RUN_Server2.sh
Setting myEnvironment …
: command not founds/bin/run.conf: line 6:
: command not founds/bin/run.conf: line 8:
: command not founds/bin/run.conf: line 12:
: command not founds/bin/run.conf: line 20:
: command not founds/bin/run.conf: line 27:
: command not founds/bin/run.conf: line 33:
: command not founds/bin/run.conf: line 38:
/opt/Adempiere/jboss/bin/run.conf: line 52: syntax error: unexpected end of file=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /opt/Adempiere/jboss
JAVA: /usr/java/jdk1.5.0_11/bin/java
JAVA_OPTS: -server -Xms64M -Xmx512M -DADEMPIERE_HOME=/opt/Adempiere -Djava.awt.headless=true -Dprogram.name=run.sh
CLASSPATH: /opt/Adempiere/jboss/bin/run.jar:/usr/java/jdk1.5.0_11/lib/tools.jar
=========================================================================
15:51:00,947 INFO [Server] Starting JBoss (MX MicroKernel)…
15:51:00,948 INFO [Server] Release ID: JBoss [Zion] 4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)
15:51:00,948 INFO [Server] Home Dir: /opt/Adempiere/jboss
15:51:00,948 INFO [Server] Home URL: file:/opt/Adempiere/jboss/
15:51:00,949 INFO [Server] Library URL: file:/opt/Adempiere/jboss/lib/
15:51:00,949 INFO [Server] Patch URL: null
15:51:00,950 INFO [Server] Server Name: adempiere
15:51:00,950 INFO [Server] Server Home Dir: /opt/Adempiere/jboss/server/adempiere
15:51:00,971 INFO [Server] Server Home URL: file:/opt/Adempiere/jboss/server/adempiere/
15:51:01,040 INFO [Server] Server Data Dir: /opt/Adempiere/jboss/server/adempiere/data
15:51:01,041 INFO [Server] Server Temp Dir: /opt/Adempiere/jboss/server/adempiere/tmp
15:51:01,041 INFO [Server] Server Config URL: file:/opt/Adempiere/jboss/server/adempiere/conf/
15:51:01,041 INFO [Server] Server Library URL: file:/opt/Adempiere/jboss/server/adempiere/lib/
15:51:01,041 INFO [Server] Root Deployment Filename: jboss-service.xml
15:51:01,043 INFO [Server] Starting General Purpose Architecture (GPA)…
15:51:01,629 INFO [ServerInfo] Java version: 1.5.0_11,Sun Microsystems Inc.
15:51:01,629 INFO [ServerInfo] Java VM: Java HotSpot™ 64-Bit Server VM 1.5.0_11-b03,Sun Microsystems Inc.
15:51:01,630 INFO [ServerInfo] OS-System: Linux 2.6.20-1.2300.fc5,amd64
15:51:02,662 INFO [Server] Core system initialized
15:51:07,971 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
15:51:08,235 INFO [WebService] Using RMI server codebase: server01:8083/15:51:08,546 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=server01/10.0.0.14, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
15:51:14,753 INFO [Embedded] Catalina naming disabled
15:51:15,290 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-server01%2F10.0.0.14-80
15:51:17,206 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-server01%2F10.0.0.14-443
15:51:17,206 INFO [Catalina] Initialization processed in 2369 ms
15:51:17,208 INFO [StandardService] Starting service jboss.web
15:51:17,211 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.915:51:17,281 INFO [StandardHost] XML validation disabled
15:51:17,673 INFO [Catalina] Server startup in 467 ms
15:51:17,824 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=file:/opt/Adempiere/jboss/server/adempiere/deploy/http-invoker.sar/invoker.war/
15:51:18,337 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
15:51:19,289 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/opt/Adempiere/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/ROOT.war/
15:51:23,336 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/opt/Adempiere/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/
15:51:25,269 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/opt/Adempiere/jboss/server/adempiere/deploy/jmx-console.war/
15:51:26,643 INFO [EARDeployer] Init J2EE application: file:/opt/Adempiere/jboss/server/adempiere/deploy/adempiere.ear/
15:51:35,106 INFO [EjbModule] Deploying adempiere/Status
15:51:36,163 WARN [EjbModule] Could not load the org.jboss.webservice.server.ServiceEndpointInterceptor interceptor
15:51:36,180 INFO [EjbModule] Deploying adempiere/Server
15:51:36,255 WARN [EjbModule] Could not load the org.jboss.webservice.server.ServiceEndpointInterceptor interceptor
15:51:37,128 INFO [EJBDeployer] Deployed: file:/opt/Adempiere/jboss/server/adempiere/deploy/adempiere.ear/adempiereRoot.jar
15:51:37,215 INFO [TomcatDeployer] deploy, ctxPath=/adempiere, warUrl=file:/opt/Adempiere/jboss/server/adempiere/tmp/deploy/tmp16815adempiereApps.war/
15:51:37,664 INFO [STDOUT] CLogFile[/opt/Adempiere/log/2007-04-03_1.log,Level=ALL]
15:51:42,411 INFO [TomcatDeployer] deploy, ctxPath=/admin, warUrl=file:/opt/Adempiere/jboss/server/adempiere/tmp/deploy/tmp16816adempiereRoot.war/
15:51:44,886 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/opt/Adempiere/jboss/server/adempiere/tmp/deploy/tmp16817adempiereWebCM.war/
15:51:45,322 INFO [TomcatDeployer] deploy, ctxPath=/wstore, warUrl=file:/opt/Adempiere/jboss/server/adempiere/tmp/deploy/tmp16818adempiereWebStore.war/
15:51:46,950 INFO [EARDeployer] Started J2EE application: file:/opt/Adempiere/jboss/server/adempiere/deploy/adempiere.ear/
15:51:47,280 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-server01%2F10.0.0.14-80
15:51:47,546 INFO [ChannelSocket] JK: ajp13 listening on server01/10.0.0.14:8009
15:51:47,683 INFO [JkMain] Jk running ID=0 time=0/150 config=null
15:51:47,780 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-server01%2F10.0.0.14-443
15:51:47,794 INFO [Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)] Started in 46s:751ms