› Fóruns › Web – Servers e Aplicações › APEX EM BRANCO › APEX EM BRANCO
Oi : como eu tinha dito, imho mesmo sendo pra estudos e testes iniciais o melhor seria partir pra versões mais recentes e suportadas dos softwares envolvidos (ou ao menos, uma combinação do banco XE com um APEX mais recente) mas CASO isso não possa ser feito neste momento, como eu disse a primeira coisa a se testar é o acesso local, de dentro da VM – vou exemplificar abaixo um acesso local com os comandos que mencionei :
=> logado na máquina onde tá instalado o XE (a VM no seu caso), e ** necessariamente ** com o mesmo usuário Windows que é Administrador local e que vc usou pra instalar o XE, abro um prompt de comandos com a opção de Run As Administrator / Executar como Administrador e seto as variáveis de ambiente apontando pra onde instalei o XE :
C:Windowssystem32>set ORACLE_HOME=E:apporacleproduct11.2.0server
C:Windowssystem32>set ORACLE_SID=XE
C:Windowssystem32>set PATH=%ORACLE_HOME%BIN;%PATH%
=> confirmo que o Listener está de pé E QUE tanto o database XE quanto o APEX tão registrados nele :
C:Windowssystem32>lsnrctl status
LSNRCTL for 64-bit Windows: Version 11.2.0.2.0 – Production on 25-JUL-2016 10:48:27
Copyright (c) 1991, 2014, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
————————
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.2.0 – Production
Start Date 25-JUL-2016 10:48:17
Uptime 0 days 0 hr. 0 min. 14 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File E:apporacleproduct11.2.0servernetworkadminlistener.ora
Listener Log File E:apporaclediagtnslsnrBRZBEL00214Llisteneralertlog.xml
Listening Endpoints Summary…
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\.pipeEXTPROC1ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=MEUPCLOCAL.meudominio.com)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=MEUPCLOCAL.meudominio.com)(PORT=8080))(Presentation=HTTP)(Session=RAW))
Services Summary…
Service “CLRExtProc” has 1 instance(s).
Instance “CLRExtProc”, status UNKNOWN, has 1 handler(s) for this service…
Service “PLSExtProc” has 1 instance(s).
Instance “PLSExtProc”, status UNKNOWN, has 1 handler(s) for this service…
Service “XEXDB” has 1 instance(s).
Instance “xe”, status READY, has 1 handler(s) for this service…
Service “xe” has 1 instance(s).
Instance “xe”, status READY, has 1 handler(s) for this service…
The command completed successfully
C:Windowssystem32>
C:Windowssystem32>lsnrctl services
LSNRCTL for 64-bit Windows: Version 11.2.0.2.0 – Production on 25-JUL-2016 10:49:05
Copyright (c) 1991, 2014, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
Services Summary…
Service “CLRExtProc” has 1 instance(s).
Instance “CLRExtProc”, status UNKNOWN, has 1 handler(s) for this service…
Handler(s):
“DEDICATED” established:0 refused:0
LOCAL SERVER
Service “PLSExtProc” has 1 instance(s).
Instance “PLSExtProc”, status UNKNOWN, has 1 handler(s) for this service…
Handler(s):
“DEDICATED” established:0 refused:0
LOCAL SERVER
Service “XEXDB” has 1 instance(s).
Instance “xe”, status READY, has 1 handler(s) for this service…
Handler(s):
“D000” established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER
(ADDRESS=(PROTOCOL=tcp)(HOST=MEUPCLOCAL.meudominio.com)(PORT=51930))
Service “xe” has 1 instance(s).
Instance “xe”, status READY, has 1 handler(s) for this service…
Handler(s):
“DEDICATED” established:0 refused:0 state:ready
LOCAL SERVER
The command completed successfully
C:Windowssystem32>
==> O serviço xe é o serviço de atendimento do database XE, e a linha :
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=MEUPCLOCAL.meudominio.com)(PORT=8080))(Presentation=HTTP)(Session=RAW))
mostra que o Listener tá atendendo também requisições HTTP, que é o default do APEX….
==> Confirmo que o HOST está pingando :
C:Windowssystem32>ping MEUPCLOCAL.meudominio.com
Pinging MEUPCLOCAL.meudominio.com [fe80::1439:2579:c21:2a88%15] with 32 bytes of data:
Reply from fe80::1439:2579:c21:2a88%15: time<1ms
Reply from fe80::1439:2579:c21:2a88%15: time<1ms
Reply from fe80::1439:2579:c21:2a88%15: time<1ms
Reply from fe80::1439:2579:c21:2a88%15: time como não tenho nenhum Workspace no APEX, uso o default INTERNAL :
==> com isso caio na tela de admin do workspace APEX :
===> faça exatamente este teste, se na VM ir completamente bem, tá provado que é config de rede entre a máquina física e a VM…
[]s
Chiappa