Headers of expiry for APEX listener?
I just started with Chapter 1 of [Expert Oracle Application Express | http://www.apress.com/9781430235125].He John Edward Scott showed the importance and effects of compression and Expires Headers. In particular how to configure in OSH. John shows also the two functions are not available in EPG mode.
Subsequently, it describes how to set the manual compression. But no words if expiration headers can be enabled or not.
-----
Can someone tell me if expiration headers can be enabled for APEX listener?
There is no real need behind this issue, just out of curiosity.
Hello Martin,
I don't think you can do this with the APEX listener in stand-alone mode. If you deploy it in a JEE container "full share", you can add a filter to set this header, but all I know he is not a party of the default options of the auditor of the APEX (yet). At least, it is not documented.
-Udo
Tags: Database
Similar Questions
-
How do you change the port number for Apex listener V2?
I run listener Apex V2 in stand-alone mode on Linux. I want to change the port number of the listener apex V2 (e.g. 80 to 8080). How I do that without having to re - install the new listener?
Thanks in advance
PaulP
Hi PPlatt,
You can change your_listener_home_directory/apex/apex.properties
http.port = 8080
Stop & restart receiver.
HTH
Zack
-
Hello world
I'm an Oracle Apex developer for 2 years now.
Recently, I was in charge of search and do a few examples of how to print pdf with Oracle Apex 4.2.2 (Oracle 11 g).
I want to use Apex 2.0 listener that standalone as a print server, we installed and we changed the configuration of the print server in the administration workspace. Then I created a report query and when I have the test report, a pdf file is downloaded, but when he opens, Adobe reader tells me that is not a valid pdf file.
Our Apex application runs in the pl/sql gateway mode not Apex listener.
So my squestion is: "" Is it mandatory for application Apex runs in mode listener Apex to use Apex listener 2.0 as a print server?".
Thanks for help.
Best regards
You
Khadija Khalfallah wrote:
Thanks for your reply.
We have an apex application that already runs using EPG and we want to allow printing of the pdf in it. So, we installed the ADR offline, to use as a print server but it does not seem possible if the Apex app uses a different web server than the listener of the Apex. right?
Thank you once again.
You have answered your own question... If you use the EPG, then you can NOT use another product middleware or application server until you turn off the EPG...
Why you use the EPG in production? Oracle does NOT recommend this (see the APEX Oracle installation instructions..)
Thank you
Tony Miller
Software LuvMuffin
Ruckersville, WILL -
Apex Application listener is recommended for Apex HTTP Server?
Hello
I'm trying trying to choose between Apex application express listener to Oracle HTTP server and install mod_plsql for apex 4.0.
Is Apex express ppplication listener is the recommended?
Thank you.
AliYes, that's for sure, but both work fine.
concerning
-
Standalone APEX listener error: the request not in a servlet context path
Hello world
Details:
OS: RHEL 6
APEX listener: 1.1.0.60.10.38
I configured and started the independent auditor.
When I try to open the page
It loads a static page of APEX without no images etc, and I am not able to connect.http://hostname.domain:8080/apex/apex
I also get the following stack trace when the page is loaded:
Can someone help me with this please?SEVERE: service exception: java.lang.IllegalStateException: Request path not in servlet context. at com.sun.grizzly.http.servlet.HttpServletRequestImpl.getPathInfo(HttpServletRequestImpl.java:796) at javax.servlet.http.HttpServletRequestWrapper.getPathInfo(HttpServletRequestWrapper.java:133) at oracle.dbtools.rt.web.Requests.path(Requests.java:185) at oracle.dbtools.rt.web.Requests.path(Requests.java:175) at oracle.dbtools.rt.web.Requests.headers(Requests.java:161) at oracle.dbtools.rt.web.Requests.request(Requests.java:111) at oracle.dbtools.rt.web.HttpEndpointBase.request(HttpEndpointBase.java:174) at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:83) 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(FilterChainImpl.java:139) at com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.java:376) at ____bootstrap.SecureServletAdapter.doService(SecureServletAdapter.java:72) at com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.java:324) at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166) at com.sun.grizzly.tcp.http11.GrizzlyAdapterChain.service(GrizzlyAdapterChain.java:180) at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791) 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(DefaultProtocolFilter.java:170) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.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(AbstractThreadPool.java:330) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309) at java.lang.Thread.run(Thread.java:662)
Thanks in advance.Hello
the error and the effect that you do not see the images is probably caused by a typo or another error in the path that you entered for the static content at the first time you started the independent auditor. Maybe you just press enter in the configuration dialog box.
Search for the apex.properties file, which is usually stored in/tmp/apex and fix the value for apex.images parameter points to a directory where your pictures of the APEX are stored.
If you do not, download the release of APEX belonging to your installation and unzip the installation package. The images directory content in there, that's what you'll need. Copy it in any place, for example/opt/oracle/products/apex/images and configure the listener APEX to use this path.-Udo
-
Error when loading of the APEX listener, appex_rl and appex_rt not found
Trying to load the earpiece of the APEX, but 'appex_rt is not configured and errors will be ignored ", also for appex_rl, now it is stuck on @48231ms.
Previous stages of the installation went well.
He started very well...
then got the errors, but he continued... (see SEVERUS)
final State, another error, now it is stuck
Hi Wm Peck 1958
WM Peck 1958 wrote:
Trying to load the earpiece of the APEX, but 'appex_rt is not configured and errors will be ignored ", also for appex_rl, now it is stuck on @48231ms.
Previous stages of the installation went well.
How do you use ADR/APEX listener? Autonomous/deployed on Java EE server?
Want to host RESTful web services on your instance APEX?
Looking at the error you found, it is because:
During the installation of the ADR, he asked three databases users? : APEX_PUBLIC_USER, APEX_LISTENER and APEX_REST_PUBLIC_USER.
Whose APEX_PUBLIC_USER is required for the operation of the Applications Oracle APEX. APEX_LISTENER (which corresponds to the configuration of apex_al) and APEX_REST_PUBLIC_USER (which corresponds to the apex_rt configuration) in ADR are required for the accommodation of RESTful services.
The problem, I think it's that you haven't configured the RESTful services before installing ADR where the APEX_LISTENER and the APEX_REST_PUBLIC_USER does not exist and so the configuration of the ADR fails.
It is fine if you do not configure the RESTful services (just want to use Oracle APEX), but when the ADR facility you should ignore configuration APEX_LISTENER and APEX_REST_PUBLIC_USER accounts.
Moreover, I think that you use EA(Early Adopter) version of ADR version 3.0 of knowing, but I think you should go for the stable version of ADR version 2.0.10 Viz.
The ADR 3.0 configuration is more advanced (complex bit) than the 2.0 because it contains information about 5 database users (i.e., APEX_PUBLIC_USER, APEX_LISTENER, APEX_REST_PUBLIC_USER, ORDS_METADATA and ORDS_PUBLIC_USER).
Finally, I think you want the instance Oracle APEX for purposes of personal training, using Gateway (EPG) of embedded PL/SQL would be sufficient now as suggested by fac586 here: Re: getting started with APEX after download
Suggestion: You should post data Services Oracle REMAINS related matters to the appropriate i.e. forum ADR, SODA & JSON in the database.
Reference:
- For ADR 2.0 installation guide
- For ADR 3.0 installation guide
- Installation of Oracle APEX, with EPG guide.
I hope this helps!
Kind regards
Kiran
-
How can I disable only restful service? On Apex listener
Hi all:
For security reasons, I want to turn off the data service based in some of the listener apex server and activate the application only service. How can I do?
Support gives the solution:
How to disable the restful services is NOT to configure pools of connections AL and RT in the ADR/Rest Data Services. (APEX Listener).
Remove or rename the files apex_rt.xml and apex_al.xml available in the configuration (conf) configured against ADR directory used by these bodies / the listener of the APEX.
This way ADR / the APEX listener will not be able to deliver the REST requests to the database and return 404 to the end user -
APEX listener 2.0.1 with Glassfish 3.1.2 image file mapping
Hello
After spendig two hours reading documents, Articles and forum posts, this is the right time to ask here :-)
I m using Oracle 11.2.0.3 Win 2008 R2 with Apex listener 2.0.1 and Glassfish 3.1.2
When I generate the file i.war, asked me to use a directory of the image. that s okay. But a peek inside the weblogic.xml file shows me,
that is the virtual folder /i used
My application uses the resp/images. I would use the/images folder, but there is no Option, when generating the file i.war
There are a few posts here, where users requesting a solution when you have a blank Page.
Just look inside the page, you see a lot of content, but which is not displayed, because of all the .css / .js .png / .jpg files point to the wrong directory.
I tried to regenerate the i.war file (with the XML of the parameter (I, m, a model of Java)
<>context-root / images < / context root >
But I get the error:
c:\Temp > java-jar i.war - cvf *. * WEB - INF
Error: Cannot access c i.war
Any help?
Thank you
MarcoAs stated in the documentation of the listener [1] you can get assistance on orders of auxiliary command line using:
java -jar apex.war help
for example, view all the options taken in charge by the static command type (also noted in the documentation: [2]):
java -jar apex.war help static
which will display:
java -jar apex.war static [--context-path]Options:
[--context-path] The context path at which the
WAR will be deployed,
defaults to: /iArguments:
The location where the Oracle
Application Express static
resources are storedIn order to use/images instead of / i use
java-jar apex.war static - context-path/images ${APEX_HOME} / images
where ${APEX_HOME} is the location of your APEX facility
References:
[1] on the command line Interface
[2] create the Web Archive for Oracle Application Express Images -
Apex listener 2.0 and Glassfish configuration error
Hello
When I do the configuration between Glassfish 3.1.2.2 and apex listener 2.0, I get the error. After I deployed the apex.war I tried to go to http://localhost: 8080/apex/listenerConfigure but I was getting this error.
java.lang.IllegalStateException: PWC3990: getWriter() has already been called for this answer
at org.apache.catalina.connector.Response.getOutputStream(Response.java:674)
at org.apache.catalina.connector.ResponseFacade.getOutputStream(ResponseFacade.java:206)
at oracle.dbtools.rt.web.ServletResponses.sendResponse(ServletResponses.java:84)
at oracle.dbtools.rt.web.ServletResponses.sendResponse(ServletResponses.java:130)
at oracle.dbtools.rt.web.ServletResponses.sendResponse(ServletResponses.java:111)
at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:153)
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)
to 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)
to com.sun.grizzly.util.AbstractThreadPool$ Worker.doWork (AbstractThreadPool.java:532)
to com.sun.grizzly.util.AbstractThreadPool$ Worker.run (AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:619)
could someone help me
FYI - I can configure apex listener 1.1.4 and Glassfish 3.1.2 no problem
Thank youThis is one of them. There are several option.
Take a look at:
java -jar apex.war help
That will show you all the options.
Which is the main:
java -jar apex.war setup --database test
Now keep in mind, this will change your WAR file. After its deployment, the parameters are in XML files. I highly recommend that you configure a location of configuration before you deploy the WAR file. It will make your life much simpler and more predictable.
More details here: [url http://docs.oracle.com/cd/E37099_01/doc/doc.20/e25066/config.htm#autoId0]Listener V2.0 Docs
-Tim
Published by: Tim St. H., February 22, 2013 11:24
Published by: Tim St. H., February 22, 2013 11:30
-
Get the blank Page using Weblogic and Apex listener v2
Greetings,
So I thought I would upgrade to the new version of the listener at the same time, I'm moving my current listeners of the apex (version 1.0.2.238.15.24) to a new server. The version of the new listener, I try to use is 2.0.0.354.17.05.
I need to set up several headphones on the new server to point to different environments. I managed to successfully install the new listening port for one of my environments and everything works fine. However when I try to install the listener once I get a blank page when I try to put in place the Apex.
I created two areas Weblogic (v 10.3.3), one for each listener. Here is how they are configured:
This earphone works.
This listener DOES NOT work.DEV1 Domain Name: APEXA Host Name: mars Port Number 7023 Database Host: mars Database Name: SID1 APEX Version: 4.1.0.00.32
I am trying to access the second listener by entering this url:DEV2 Domain Name: APEXB Host Name: mars Port Number 7053 Database Host: venus Database Name: SID2 APEX Version: 4.1.0.00.32
and that value is returnedhttp://mars.xyz.com:7053/apex
Since the number of app, the page number, the session information is there, I guess that is what makes the database and is processed by the Apex. The problem is that the returned page is empty. The source of the actual page is:http://mars.xyz.com:7053/apex/f?p=4550:1:684042141256623
I checked that images are accessible by entering:<html> <head> </head> <body> <pre></pre> </body> </html>
http://Mars.xyz.com:7053/i/apex_version.txt
This is what is returned:
Application Express Version: 4.1
I don't know how to debug this problem. Any help would be appreciated.
Thank you
LarryYou have configured different configuration for Auditors 2 directories? If only they would use the same config files and which would give conflicts.
You can also configure the two summits on the same listening port, each accessible with a different URL prefix.
And if the second database is always 10g, then you might hit a bug (Apex listener 2.0 does not work against 10g DB). -
Hi all
I'm not much of a webmaster so just for the want to wrap your head around things. I've got APEX Listener installed with Tomcat 7. SSL must be configured Tomcat level or layer of the listener.
Also, I see a lot of Glassfish. I guess it's the big enterprise server for extra support Java EE and "sustained", because I don't see how a small business could allow 5K a processor. But for a small company, Tomcat is an alternative appropriate for small businesses?
Sincerely
Jan S.Hello Jan,
SSL must be configured Tomcat level or layer of the listener.
SSL is the part of your Tomcat configuration. If you already have an Apache HTTP with SSL server in your farm, you may also set up to act as a reverse proxy and let the work of Tomcat without SSL. The connection would be so
Client (HTTPS) ==> (HTTPS) Proxy (HTTP/AJP) ==> (HTTP/AJP) Tomcat
Also, I see a lot of Glassfish. I guess it's the big enterprise server for extra support Java EE and "sustained", because I don't see how a small business could allow 5K a processor.
I get your point for the 5K, but GlassFish is in fact the smallest support JEE container and considered a kind of "light weight", also for small businesses. WebLogic is much more expensive...
But for a small company, Tomcat is an alternative appropriate for small businesses?
If you do not need official support for your business, you'll be fine with Tomcat.
-Udo
-
Apex Listener: Servlet error
Hello
I installed Listener.1.0.2.238.15.24 Apex on Oracle Containers for J2EE 10 g standalone (10.1.3.1.1)
I have this error whn trying to listener cofgure and create the connection to the database
12/12/31-14:39:27.625 apex: Servlet error
ava.lang.IllegalAccessError: class oracle.jdbc.driver. $Proxy6 cannot access its superinterface oracle.jdbc.driver.ScrollRsetStatement
at java.lang.reflect.Proxy.defineClass0 (Native Method)
at java.lang.reflect.Proxy.getProxyClass(Proxy.java:504)
at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:581)
at oracle.ucp.jdbc.proxy.CallableStatementProxyFactory.createCallableStatementProxy(CallableStatementProxyFactory.java:64)
at oracle.ucp.jdbc.proxy.ConnectionProxyFactory.proxyInvokeAfterTargetInvoke(ConnectionProxyFactory.java:154)
at oracle.ucp.jdbc.proxy.JDBCConnectionProxyFactory.invoke(JDBCConnectionProxyFactory.java:266)
to $Proxy0.prepareCall (Unknown Source)
at oracle.dbtools.apex.OWA.getStatement(OWA.java:425)
at oracle.dbtools.apex.OWA.resetSession(OWA.java:181)
at oracle.dbtools.apex.ModApex.close(ModApex.java:143)
at oracle.dbtools.apex.ModApex.doGet(ModApex.java:88)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
to com.evermind [Oracle containers for J2EE 10 g (10.1.3.1.1)].server.http.ServletRequestDispatcher.invoke (ServletRequestDispatcher.java:712)
to com.evermind [Oracle containers for J2EE 10 g (10.1.3.1.1)].server.http.ServletRequestDispatcher.forwardInternal (ServletRequestDispatcher.java:369)
to com.evermind [Oracle containers for J2EE 10 g (10.1.3.1.1)].server.http.HttpRequestHandler.doProcessRequest (HttpRequestHandler.java:865)
to com.evermind [Oracle containers for J2EE 10 g (10.1.3.1.1)].server.http.HttpRequestHandler.processRequest (HttpRequestHandler.java:447)
to com.evermind [Oracle containers for J2EE 10 g (10.1.3.1.1)].server.http.HttpRequestHandler.serveOneRequest (HttpRequestHandler.java:215)
to com.evermind [Oracle containers for J2EE 10 g (10.1.3.1.1)].server.http.HttpRequestHandler.run (HttpRequestHandler.java:117)
to com.evermind [Oracle containers for J2EE 10 g (10.1.3.1.1)].server.http.HttpRequestHandler.run (HttpRequestHandler.java:110)
to oracle.oc4j.network.ServerSocketReadHandler$ SafeRunnable.run (ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
to oracle.oc4j.network.ServerSocketAcceptHandler.access$ 700 (ServerSocketAcceptHandler.java:34)
to oracle.oc4j.network.ServerSocketAcceptHandler$ AcceptHandlerHorse.run (ServerSocketAcceptHandler.java:880)
to com.evermind [Oracle containers for J2EE 10 g (10.1.3.1.1)]. util. ReleasableResourcePooledExecutor$ MyWorker.run (ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:619)
Any idea?Hello
Sorry for the late reply.
I installed Listener.1.0.2.238.15.24 Apex on Oracle Containers for J2EE 10 g standalone (10.1.3.1.1)
It's a very old version of OC4J and an older APEX listener, too. Is there a reason for not choosing a more recent version?
Despite this, your OC4J could also use a version of Java not picked up (and outdated). APEX listener needs at least a JDK 1.6 Update 20.
Please check if your OC4J uses a suitable JDK.-Udo
-
Apex listening port Configuration problem.
Hello
I wanted to try the latest Restful services in apex 4.2, I decided to install 2.0 listener Apex. I downloaded the file and followed the steps in the installation notes. As a sine qua non, I configured Restful services with success in the apex 4.2 with Oracle 11 g Express Edition. However, the installation of listener seems to be not correctly complete the following installation feed back.
Simply, it crashes in the last line, and I couldn't make any progress.D:\software\apex_listener>java -jar apex.war This Listener instance has not yet been configured. Please complete the following prompts Enter the location to store configuration data:d:\apexlistnerconf Dec 27, 2012 3:34:47 PM oracle.dbtools.common.config.cmds.ConfigDir execute INFO: Set config.dir to d:\apexlistnerconf in: D:\software\apex_listener\apex.war Dec 27, 2012 3:34:49 PM oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder INFO: Using configuration folder: D:\apexlistnerconf\apex Enter the name of the database server [localhost]: Enter the database listen port [1521]: Enter 1 to specify the database service name, or 2 to specify the database SID [1]:2 Enter the database SID [xe]: Enter the database user name [APEX_PUBLIC_USER]: Enter the database password for APEX_PUBLIC_USER: Password must not be empty Enter the database password for APEX_PUBLIC_USER: Confirm password: Enter 1 to enter passwords for the RESTful Services database users (APEX_LISTENER,APEX_REST_PUBLIC_USER), 2 to use the same password as used for APEX_PUBLIC_USER or, 3 to skip this step [1]:3 Dec 27, 2012 3:37:03 PM oracle.dbtools.common.config.file.ConfigurationFiles update INFO: Updated configurations: defaults, apex Enter 1 if you wish to start in standalone mode or 2 to exit [1]: Enter the APEX static resources location or Enter to skip:D:\software\apex42en\apex\images Enter the HTTP port [8080]: Dec 27, 2012 3:41:17 PM oracle.dbtools.standalone.Standalone execute INFO: NOTE: Standalone mode is designed for use in development and test environments. It isnot supported for use in production environments. Dec 27, 2012 3:41:17 PM oracle.dbtools.standalone.Standalone execute INFO: Starting standalone Web Container in: d:\apexlistnerconf\apex Dec 27, 2012 3:41:17 PM oracle.dbtools.standalone.Deployer deploy INFO: Will deploy application path = d:\apexlistnerconf\apex\apex\WEB-INF\web.xml Dec 27, 2012 3:41:17 PM oracle.dbtools.standalone.Deployer deploy INFO: Deployed application path = d:\apexlistnerconf\apex\apex\WEB-INF\web.xml Dec 27, 2012 3:41:18 PM oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder INFO: Using configuration folder: D:\apexlistnerconf\apex Default Database connection not configured properly Dec 27, 2012 3:41:20 PM oracle.dbtools.rt.web.SCListener contextInitialized INFO: Oracle Application Express Listener initialized Application Express Listener version : 2.0.0.354.17.06 Application Express Listener server info: Grizzly/1.9.49 Dec 27, 2012 3:41:20 PM com.sun.grizzly.Controller logVersion INFO: GRIZZLY0001: Starting Grizzly Framework 1.9.49 - 12/27/12 3:41 PM Dec 27, 2012 3:41:20 PM com.sun.grizzly.SelectorHandlerRunner handleSelectException SEVERE: doSelect IOException java.net.BindException: No free port within range: 8080=com.sun.grizzly.http.SelectorThreadHandler@480d41f3 at com.sun.grizzly.TCPSelectorHandler.initSelector(TCPSelectorHandler.java:432) at com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:378) at com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:188) at com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:132) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Dec 27, 2012 3:41:20 PM com.sun.grizzly.http.SelectorThread$3 onException SEVERE: Exception during starting the controller java.net.BindException: No free port within range: 8080=com.sun.grizzly.http.SelectorThreadHandler@480d41f3 at com.sun.grizzly.TCPSelectorHandler.initSelector(TCPSelectorHandler.java:432) at com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:378) at com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:188) at com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:132) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) java.net.BindException: No free port within range: 8080=com.sun.grizzly.http.SelectorThreadHandler@480d41f3 at com.sun.grizzly.TCPSelectorHandler.initSelector(TCPSelectorHandler.java:432) at com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:378) at com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:188) at com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:132) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Dec 27, 2012 3:41:20 PM oracle.dbtools.standalone.Standalone execute INFO: http://localhost:8080/apex started.
Can you please help to find out what was wrong?
Thanks in advance.
Kind regards
NatarajanHello
I updated the apex listener port 8080 and it does not give this error now.
However, he always says "Database connection by default not configured correctly"
I gave the name of SID as xe, which is the default value and that the correct SID for my DB also.
>SID = xe is correct since you are using 11g XE.
What is more important, is that you may be able to access the Apex Application Builder via the ApexListener or not.
If Apex is not accessible, then the thing to check would be the Apex_Public_user password. Can you connect to XE using Apex_Public_user with the password that you provided when setting up the ApexListener?
Also make sure the Apex_Public_user and 2 other users ApexListener 2.0EA, are UNLOCKED.See you soon,.
-
Problem using a folder next to the East on UNIX Ubuntu 10.4 with APEX listener
Hi Forum,
We have APEX 4.1 installed on Ubuntu 10.4 with the latest version of the APEX-listener.
We want to achieve is that we are able to collect our Javascript extensions and css next to the folder is in a folder of our own.
Problem now is UNIX, this doesn't seem to be possible, because we are unable to load any resource of this folder. The only solution we could come up with is to place a symbolic link in the/i/folder-pointing to the directory we want to include.
The folder we want to include got 777 to exclude any potential problems of access to in UNIX
Under Windows, this doesn't seem to be the case.
If someone had a similar problem or is able to give advice on how to fix this?
Thank you
JürgenHi Jürgen,
docroot
-foo
-J' IThis does not work in stand-alone mode, the integrated nature fixed contexts (including + / i + and + / apex +) without the chance to bring custom contexts.
It will run in GlassFish/Tomcat, if you deploy content correctly. You can do this by creating a war file that carries your files, but I wouldn't recommend it has static content more convenient ways.
Tomcat has for example a context ROOT when running on a default configuration. This context can be used for static content similar to a simple HTTP server host, for example when using the htdocs of the Apache HTTP server as docroot. So you could simply copy your directory foo in the context of the ROOT and should be able to access the content using http://yourtomcathost:yourtomcatport/foo/file name .
GlassFish is a concept similar to this: each domain has a docroot directory. As explained for Tomcat, you can simply create or copy your directory foo it so that it is available for your customers.If this does not work, you have a general problem with your GlassFish/Tomcat configuration, like the docroot has nothing to do with the earpiece of the APEX. I have just retestet with fees GlassFish/Tomcat on Ubuntu 8.04 LTS (Server Edition) as follows:
1 download the http://glassfish.java.net/ zip or Tomcat mirror packages respectively.
2 unzip the package
3. create the directory 'foo' docroot (for GlassFish) and ROOT (for Tomcat)
4. create the file 'bar' in 'foo '.
5. start the server instance
6 use a client remote access http://mybox:8080/foo/bar.txt and got the file.How did you install your GlassFish/Tomcat on your Ubuntu?
Whatever it is, if you tried the docroot/ROOT approach and doesn't, you can always try the war file deployment. Maybe your GlassFish/Tomcat instance has disabled the docroot/ROOT context for security reasons.Note that you can have both, that is, you cannot use the war with framework file + / foo + and have always a + / foo + subdirectory in your docroot/ROOT.
-Udo
-
Encryption SSL for Apex 4.1
Hi guys,.
I'm trying to implement SSL encryption for my local installation.
I'm under APEX 4.1 under Windows 7 (32 bit), Oracle XE 11 G with built-in plsql gateway installation.
The APEX documentation I looked at which deals with SSL:
http://docs.Oracle.com/CD/E23903_01/doc/ doc.41 /e21678/adm_mg_service_set.htm#AEADM297
load to enable HTTPS in APEX_ADMIN (internal schema) in respect of the security.
It did not work as APEX was still visible under http://localhost: 8080/apex and using the protocol HTTPS comes page not found error. In addition to this he locked my Admin account for the INTERNAL workspace. So I had to pass it back via the SQL in SQL Plus.
Limited experience to do something similar in Tomcat, in my view, one needs certificates etc. prior to this.
Anyone who has done this before, can you please indicate one any documentation/blog post, etc. tutorial that shows how its done? Thank you very much.Hello
http://docs.Oracle.com/CD/E17781_01/install.112/e18802/TOC.htm#BABGCDJJ
>
HTTPS is not supported natively with the HTTP listener built into Oracle Database XE. If you want HTTPS support, use a different listening port Web, like Apache, which grants support HTTPS and provide powers of Attorney for the URLS provided by Oracle Database XE.
>Kind regards
Jarihttp://dbswh.webhop.NET/dbswh/f?p=blog:Home:0
Published by: jarola on January 25, 2012 09:42
Have you change the parameter instance admin APEX enable not HTTPS. It requires that you use the HTTPS protocol on your web listening port.
Here's how reverse HTTPS for APEX instance admin requirement
http://docs.Oracle.com/CD/E23903_01/doc/doc.41/e21678/adm_mg_service_set.htm#autoId17
Maybe you are looking for
-
Generation of LabVIEW Code Fix cannot run
I'm using LabVIEW 2011. I try to use DAQmx support for generating a pulse of my USB-6259 signal. LabVIEW jumped out an error message 'Generation of LabVIEW Code cannot run. I try to reinstall LabVIEW 2011, but the error is still there. Help, please
-
Activation by internet or phone will not accept the number displayed on the screen.
-
bat audi not workin on win8.1
Hi guys,. Beats audio not open more in my ENVY of HP dv7-7399el P - n. D1M57EA need drivers to reinstall. THX
-
While Send & Recive Mail in Outlook Express, Mail, resided in the Outbox and sent to concerned person frequently, post spread problem
-
No Diagnostic Utility Partition identified
Studio XPS 435MT I bought a new WD Caviar Black 1 TB SATA hard drive because it was not supplied with the computer. Once I installed it, I turned on the computer. After the appearance of the logo I get this message 'No Diagnostic Utility Partition id