0 Replies Latest reply: Apr 19, 2013 12:54 PM by 812052 RSS

    Apex Listener 2.01 with Glassfish

    812052
      Hi,
      I have problem with apex listener on glassfish. After restarting server, i cant get access to apex url (503 service unavailable Oracle Application Express Listener).
      domain1 service is started but cant access.

      Then i manually start domain1 service: asadmin start-domain1 domain1
      and i can access Apex.

      This is error in log:

      [#|2013-04-19T19:45:50.941+0200|SEVERE|glassfish3.1.2|null|_ThreadID=91;_ThreadName=Thread-2;|The pool named: apex is not correctly configured, error: Locale not recognized
      oracle.dbtools.common.jdbc.ConnectionPoolException: The pool named: apex is not correctly configured, error: Locale not recognized
           at oracle.dbtools.common.jdbc.ConnectionPoolException.badConfiguration(ConnectionPoolException.java:65)
           at oracle.dbtools.common.config.db.DatabaseConfig.badConfiguration(DatabaseConfig.java:166)
           at oracle.dbtools.common.config.db.DatabaseConfig.createPool(DatabaseConfig.java:187)
           at oracle.dbtools.common.config.db.DatabaseConfig.getConnection(DatabaseConfig.java:71)
           at oracle.dbtools.common.jdbc.ora.OraPrincipal.connection(OraPrincipal.java:69)
           at oracle.dbtools.apex.ModApexContext.getConnection(ModApexContext.java:372)
           at oracle.dbtools.apex.Procedure.getProcedure(Procedure.java:167)
           at oracle.dbtools.apex.OWA.validateProcedure(OWA.java:390)
           at oracle.dbtools.apex.security.Security.isValidRequest(Security.java:225)
           at oracle.dbtools.apex.ModApex.validateRequest(ModApex.java:266)
           at oracle.dbtools.apex.ModApex.doGet(ModApex.java:94)
           at oracle.dbtools.apex.ModApex.service(ModApex.java:302)
           at oracle.dbtools.rt.web.HttpEndpointBase.modApex(HttpEndpointBase.java:337)
           at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:130)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
           at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
           at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
           at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
           at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
           at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
           at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
           at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
           at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
           at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
           at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
           at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
           at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
           at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
           at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
           at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
           at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
           at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
           at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
           at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
           at java.lang.Thread.run(Thread.java:722)
      |#]

      I added -Xrs to asadmin.bat but still dont work after restart.
      How to solve this,
      Thanks