Hi guys,
I use the latest versions of:
Apex 4.1
Oracle 11g xe
apex_listener.1.1.3.243.11.40
glassfish-3.1.1
Windows 7 - 64
I have been trying to deploy APEX since yesterday.
For Glass Fish: I followed exactly the steps mentioned in the documentation. but I am getting this error:
HTTP Status 503 - Requested url http://192.168.1.33:8080/apex/ is currently unavailable.
type Status report
messageRequested url http://192.168.1.33:8080/apex/ is currently unavailable.
descriptionThe requested service (Requested url http://192.168.1.33:8080/apex/ is currently unavailable.) is not currently available.
GlassFish Server Open Source Edition 3.1.1
Yesterday, I managed to deploy it with stand alone mode, and created a service for it, but the service did not Start
I got this error
windows could not start the apex10 service on Local Computer.
The service did not return an error. This could be an internal Windows error or an internal servcie error
. So, I was forced to keep the CMD open. Someone restart the server. I tried to redeploy it again, but I am getting " Internal Error". And here you can find the out put:
C:\Users\FAM_SERVER>cd C:\Program Files (x86)\Java\jre6\bin\
C:\Program Files (x86)\Java\jre6\bin>java -Dapex.port=2586 -Dapex.home=D:\apex_l
istener -Dapex.images=C:\apex\images -jar D:\apex_listener\apex.war
INFO: Starting: D:\apex_listener\apex.war
See: 'java -jar apex.war --help' for full range of configuration options
INFO: Extracting to: D:\apex_listener
INFO: Using classpath: file:/D:/apex_listener/apex/____embedded/start.jar:file:/
D:/apex_listener/apex/WEB-INF/lib/apex.jar:file:/D:/apex_listener/apex/WEB-INF/l
ib/commons-fileupload-1.2.1.jar:file:/D:/apex_listener/apex/WEB-INF/lib/je-4.0.1
03.jar:file:/D:/apex_listener/apex/WEB-INF/lib/ojdbc6.jar:file:/D:/apex_listener
/apex/WEB-INF/lib/ojmisc.jar:file:/D:/apex_listener/apex/WEB-INF/lib/poi-3.6-200
91214.jar:file:/D:/apex_listener/apex/WEB-INF/lib/ucp.jar:file:/D:/apex_listener
/apex/WEB-INF/lib/xdb-11.2.0.jar:file:/D:/apex_listener/apex/WEB-INF/lib/xmlpars
erv2-11.2.0.jar:
INFO: Starting Embedded Web Container in: D:\apex_listener
Enter a username for the APEX Listener Administrator [adminlistener]: admin
Enter a password for admin:
Confirm password for admin:
Enter a username for the APEX Listener Manager [managerlistener]: manager
Enter a password for manager:
Confirm password for manager:
Nov 17, 2011 9:22:16 AM ____bootstrap.Deployer deploy
INFO: Will deploy application path=D:\apex_listener\apex\WEB-INF\web.xml
Nov 17, 2011 9:22:17 AM ____bootstrap.Deployer deploy
INFO: deployed application path=D:\apex_listener\apex\WEB-INF\web.xml
Nov 17, 2011 9:22:17 AM com.sun.grizzly.Controller logVersion
INFO: Starting Grizzly Framework 1.9.18-o - Thu Nov 17 09:22:17 GST 2011
INFO: Please complete configuration at: http://localhost:2586/apex/listenerConfi
gure
Nov 17, 2011 9:22:19 AM com.sun.grizzly.http.servlet.ServletAdapter doService
SEVERE: service exception:
java.lang.IllegalStateException: Not yet initialised
at oracle.dbtools.apex.config.ApexConfig.notInitialized(ApexConfig.java:
249)
at oracle.dbtools.apex.config.ApexConfig.getFile(ApexConfig.java:234)
at oracle.dbtools.apex.config.ApexConfig.exists(ApexConfig.java:63)
at oracle.dbtools.apex.admin.AdminManager.populateAdminFieldValues(Admin
Manager.java:868)
at oracle.dbtools.apex.admin.AdminManager.getFieldMaps(AdminManager.java
:841)
at oracle.dbtools.apex.admin.Admin.displayAdminHTML(Admin.java:164)
at oracle.dbtools.apex.admin.Admin.displayAdminPage(Admin.java:147)
at oracle.dbtools.apex.admin.Admin.doGet(Admin.java:50)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.sun.grizzly.http.servlet.FilterChainImpl.doFilter(FilterChainImpl
.java:195)
at com.sun.grizzly.http.servlet.FilterChainImpl.invokeFilterChain(Filter
ChainImpl.java:139)
at com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.
java:376)
at ____bootstrap.SecureServletAdapter.doService(SecureServletAdapter.jav
a:72)
at com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.ja
va:324)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java
:166)
at com.sun.grizzly.tcp.http11.GrizzlyAdapterChain.service(GrizzlyAdapter
Chain.java:180)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java
:166)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:7
91)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFil
ter.java:170)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultPro
tocolChain.java:135)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.jav
a:102)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.jav
a:88)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java
:76)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextT
ask.java:53)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.
java:57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadP
ool.java:330)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool
.java:309)
at java.lang.Thread.run(Unknown Source)
Nov 17, 2011 9:22:19 AM com.sun.grizzly.http.servlet.ServletAdapter doService
SEVERE: service exception:
oracle.dbtools.rt.service.ServiceLocatorException: There are no services defined
at oracle.dbtools.rt.service.ServiceLocator.acquireAll(ServiceLocator.ja
va:91)
at oracle.dbtools.rt.service.ServiceLocator.acquire(ServiceLocator.java:
74)
at oracle.dbtools.rt.service.ServiceLocator.acquire(ServiceLocator.java:
85)
at oracle.dbtools.rt.web.HttpEndpointBase.dispatchers(HttpEndpointBase.j
ava:138)
at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:
85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.sun.grizzly.http.servlet.FilterChainImpl.doFilter(FilterChainImpl
.java:195)
at com.sun.grizzly.http.servlet.FilterChainImpl.invokeFilterChain(Filter
ChainImpl.java:139)
at com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.
java:376)
at ____bootstrap.SecureServletAdapter.doService(SecureServletAdapter.jav
a:72)
at com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.ja
va:324)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java
:166)
at com.sun.grizzly.tcp.http11.GrizzlyAdapterChain.service(GrizzlyAdapter
Chain.java:180)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java
:166)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:7
91)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFil
ter.java:170)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultPro
tocolChain.java:135)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.jav
a:102)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.jav
a:88)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java
:76)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextT
ask.java:53)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.
java:57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadP
ool.java:330)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool
.java:309)
at java.lang.Thread.run(Unknown Source)
Nov 17, 2011 9:22:19 AM com.sun.grizzly.http.servlet.ServletAdapter doService
SEVERE: service exception:
oracle.dbtools.rt.service.ServiceLocatorException: There are no services defined
at oracle.dbtools.rt.service.ServiceLocator.acquireAll(ServiceLocator.ja
va:91)
at oracle.dbtools.rt.service.ServiceLocator.acquire(ServiceLocator.java:
74)
at oracle.dbtools.rt.service.ServiceLocator.acquire(ServiceLocator.java:
85)
at oracle.dbtools.rt.web.HttpEndpointBase.dispatchers(HttpEndpointBase.j
ava:138)
at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:
85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.sun.grizzly.http.servlet.FilterChainImpl.doFilter(FilterChainImpl
.java:195)
at com.sun.grizzly.http.servlet.FilterChainImpl.invokeFilterChain(Filter
ChainImpl.java:139)
at com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.
java:376)
at ____bootstrap.SecureServletAdapter.doService(SecureServletAdapter.jav
a:72)
at com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.ja
va:324)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java
:166)
at com.sun.grizzly.tcp.http11.GrizzlyAdapterChain.service(GrizzlyAdapter
Chain.java:180)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java
:166)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:7
91)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFil
ter.java:170)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultPro
tocolChain.java:135)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.jav
a:102)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.jav
a:88)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java
:76)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextT
ask.java:53)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.
java:57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadP
ool.java:330)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool
.java:309)
at java.lang.Thread.run(Unknown Source)
Nov 17, 2011 9:22:19 AM com.sun.grizzly.http.servlet.ServletAdapter doService
SEVERE: service exception:
oracle.dbtools.rt.service.ServiceLocatorException: There are no services defined
at oracle.dbtools.rt.service.ServiceLocator.acquireAll(ServiceLocator.ja
va:91)
at oracle.dbtools.rt.service.ServiceLocator.acquire(ServiceLocator.java:
74)
at oracle.dbtools.rt.service.ServiceLocator.acquire(ServiceLocator.java:
85)
at oracle.dbtools.rt.web.HttpEndpointBase.dispatchers(HttpEndpointBase.j
ava:138)
at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:
85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.sun.grizzly.http.servlet.FilterChainImpl.doFilter(FilterChainImpl
.java:195)
at com.sun.grizzly.http.servlet.FilterChainImpl.invokeFilterChain(Filter
ChainImpl.java:139)
at com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.
java:376)
at ____bootstrap.SecureServletAdapter.doService(SecureServletAdapter.jav
a:72)
at com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.ja
va:324)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java
:166)
at com.sun.grizzly.tcp.http11.GrizzlyAdapterChain.service(GrizzlyAdapter
Chain.java:180)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java
:166)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:7
91)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFil
ter.java:170)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultPro
tocolChain.java:135)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.jav
a:102)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.jav
a:88)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java
:76)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextT
ask.java:53)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.
java:57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadP
ool.java:330)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool
.java:309)
at java.lang.Thread.run(Unknown Source)
Edited by: Fateh on Nov 16, 2011 9:42 PM
Edited by: Fateh on Nov 16, 2011 9:46 PM