Boa noite, meu nome é João Pedro, instalei ontem o scadaBR no meu pc, cujo SO é o Ubuntu 12.04, bom eu não consigo localiza-lo no computador, alguém consegue me da um auxilio?
Deste agradeço pela atenção, atenciosamente Rallon.
Boa noite, meu nome é João Pedro, instalei ontem o scadaBR no meu pc, cujo SO é o Ubuntu 12.04, bom eu não consigo localiza-lo no computador, alguém consegue me da um auxilio?
Deste agradeço pela atenção, atenciosamente Rallon.
Olá João Pedro,
O ScadaBR para Ubuntu 12.04 instala diretamente o serviço WEB, portanto, alguns dos recursos que hoje usuários do instalador para Windows estão acostumados não estão disponíveis.
Para acessar o ScadaBR, basta abrir um WebBrowser (Firefox recomendado) e acessar o serviço:
http://localhost:8080/ScadaBR
Pretendemos para a versão 1.0 incrementar este instalador colocando atalhos no sistema para o ScadaBR.
Qualquer dúvida, só comnetar.
Att.
Ao chamar a aplicação a página retorna o erro abaixo:
Not Found
The requested URL /ScadaBR/ was not found on this server.
Arquivos de log:
catalina.2012-07-18.log
Jul 18, 2012 10:38:48 PM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.20.
Jul 18, 2012 10:38:48 PM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
Jul 18, 2012 10:38:50 PM org.apache.coyote.http11.Http11AprProtocol init
SEVERE: Error initializing endpoint
java.lang.Exception: Socket bind failed: [730048] Only one usage of each socket address (protocol/network address/port) is normally permitted.
at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:646)
at org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107)
at org.apache.catalina.connector.Connector.initialize(Connector.java:1014)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:680)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Jul 18, 2012 10:38:50 PM org.apache.catalina.startup.Catalina load
SEVERE: Catalina.start
LifecycleException: Protocol handler initialization failed: java.lang.Exception: Socket bind failed: [730048] Only one usage of each socket address (protocol/network address/port) is normally permitted.
at org.apache.catalina.connector.Connector.initialize(Connector.java:1016)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:680)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Jul 18, 2012 10:38:50 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3306 ms
Jul 18, 2012 10:38:50 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jul 18, 2012 10:38:50 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.26
Jul 18, 2012 10:38:50 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
Jul 18, 2012 10:38:51 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
Jul 18, 2012 10:38:51 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ClienteJavaWeb
Jul 18, 2012 10:38:52 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Jul 18, 2012 10:38:52 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Jul 18, 2012 10:38:52 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Jul 18, 2012 10:38:53 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ScadaBR
Jul 18, 2012 10:39:13 PM org.apache.coyote.http11.Http11AprProtocol start
SEVERE: Error starting endpoint
java.lang.Exception: Socket bind failed: [730048] Only one usage of each socket address (protocol/network address/port) is normally permitted.
at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:646)
at org.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.java:753)
at org.apache.coyote.http11.Http11AprProtocol.start(Http11AprProtocol.java:137)
at org.apache.catalina.connector.Connector.start(Connector.java:1087)
at org.apache.catalina.core.StandardService.start(StandardService.java:534)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Jul 18, 2012 10:39:13 PM org.apache.catalina.startup.Catalina start
SEVERE: Catalina.start:
LifecycleException: service.getName(): “Catalina”; Protocol handler start failed: java.lang.Exception: Socket bind failed: [730048] Only one usage of each socket address (protocol/network address/port) is normally permitted.
at org.apache.catalina.connector.Connector.start(Connector.java:1094)
at org.apache.catalina.core.StandardService.start(StandardService.java:534)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Jul 18, 2012 10:39:13 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 22850 ms
jakarta_service_20120718.log
[2012-07-18 22:38:46] [info] Commons Daemon procrun (1.0.2.0) started
[2012-07-18 22:38:46] [info] Running Service…
[2012-07-18 22:38:46] [info] Starting service…
[2012-07-18 22:38:48] [info] Service started in 1348 ms.
localhost.2012-07-18.log
Jul 18, 2012 10:38:52 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Jul 18, 2012 10:38:52 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Jul 18, 2012 10:38:56 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Jul 18, 2012 10:39:09 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet ‘springDispatcher’
stdout_20120718.log
WARN 2012-07-18 22:39:11,441 (org.directwebremoting.util.CommonsLoggingOutput.warn:59) - Clash of converters for br.org.scadabr.OPCItem. Using org.directwebremoting.convert.BeanConverter in place of org.directwebremoting.convert.BeanConverter
mango.log
WARN 2012-07-18 22:39:11,441 (org.directwebremoting.util.CommonsLoggingOutput.warn:59) - Clash of converters for br.org.scadabr.OPCItem. Using org.directwebremoting.convert.BeanConverter in place of org.directwebremoting.convert.BeanConverter
Já consegui solucionar o problema. Existia um outro serviço PostgreSQL que utilizava a mesma porta 8080 onde existia um conflito.
Desabilitei o serviço e consegui fazer a aplicação rodar.
Porém, caso eu queira que a aplicação rode em outra porta, como devo proceder?
Olá,
Você pode mudar a porta em que roda o Tomcat. Você faz isso alterando o arquivo server.xml na pasta: “<ScadaBR_HOME>\conf\server.xml”
Aqui ->
<-
Tenta ai e manda o resultado pra gente!
Abs