Configuration of SSL using listener of the APEX on Apache Tomcat 7
Can someone send me the steps to set up the Configuration of SSL on Apache Tomcat 7?
I use APEX earpiece and deployed to Apache Tomcat. I need to get the https protocol active. Thank you
Please see this document. I think this will help you:
https://Tomcat.Apache.org/Tomcat-7.0-doc/SSL-HOWTO.html
Tags: Database
Similar Questions
-
Q; How to re - configure and monitor the listener of the APEX
Hello
I installed the listener of the APEX on a WLS 12.1.1 (SPARC Solaris 11platform) and configured by using the URL:
http:// < Host >: < port >/apex/listenerConfigure
It worked very well!
Now I need to change the URL and the credentials for connecting to my APEX instance and when I tryo to hit the same URL again, I get the following message:
The listener of the APEX is already configured. Please log on as an administrator to access the listener Administration APEX.
I read to you is a file called apex - config.xml somewhere but I can't find it under my WLS installation directory.
Any ideas what could be the problem?
See you soon,.
AndyAs mentioned Udo, the 2nd option (change in the war before you deploy file) is probably the best. One suggestion is to use a variable then rather hard, the location of the XML encoding. The variable can then be set / changed on the command line.
Web.Xml
config.dir
${apex.dir}
In the weblogic under the Server Start Settings console, you can change the variable according to the needs for each instance managed for each environment:
-Dapex-dir = / dir1/dir2/myapp/apex
Good luck.
Jack
-
Get the CGI env variables in a database procedure using the new listener to the APEX
I already posted this question in the earpiece of the Apex forum and still no response after a week. The original post is here:
So please forgive me for posting in this forum as well, but there is much more activity here.
I would like to know how I can get the CGI environment to the listener of the APEX. For example, if I want to write a procedure that inserts into a table, the client web request originating IP address, how do it?
I am familiar with the Oracle Http Server and mod_plsql, and I know how to call OWA_UTIL. GET_CGI_ENV to get this kind of information. How can I do this by using the earpiece of the APEX?
In particular, how to do that when you call a custom (not in a workspace Apex) procedure? When I try now, I get an error owa_util. The cgi env seems to be empty or not initiated (owa.num_cgi_vars is null or zero).
Specific settings:
I have a web server running the last JDK, Glassfish and 1.1.4 Apex listener. It connects to another server running the last database 11.2. Apex is installed and running, but I'm not really developing a traditional Apex application in a workspace. I use it mainly as you would use mod_plsql. In other words, I have packages of pl/sql custom which are called directly via a URL. Applications must be sent by the listener to the database and DB executes the procedure and returns output using htp.p to send the text to the browser. And it works very well for this purpose. But if I want to call GET_CGI_ENV to get information such as IP address, the browser making the request, etc. I can't get with the OWA packages.
Anyone can shed some light on this? If the listener of the Apex is not designed to do this, is it some kind of workaround that I can use to transfer such information to the database for each request?Hi Adam,.
APEX is located on the top of the Toolbox for OWA. There is no appeal of the special procedure to be implemented.
Kind regards
Christian -
The URL of the listener of the Apex.
Hello world!
I have configured my interlocutor Apex in Standalone Mode
How can I configure my URL with my words such as: http:/localhost:8585/myapplication/f?...
replace the default URL: http:/localhost:8585/apex/f?...
I don't know where is my FATHER, and how markets can I do to make this change?
And how about
"http://localhost:8585 / apex ' or ' apex / http://localhost:8585 / apex_admin?
Thanks for any help.Hello
the listener of the APEX fixed (hardcoded) contexts in stand-alone Mode, so you can not do this. Deploy the war file to a regular JEE server where you choose the context, or put the proxy HTTP (reverse) on the front to make the switch for you.
Note that the standalone Mode is not intended to be used for deployments of production, but for testing and development only.
-Udo
-
How to change the location of the listener of the Apex?
Hi all
After I changed the directory to the location of the listener of the Apex, I had
When I tried to go to Apex.Internal Error
How to solve this problem?
Kind regards
ValHi Valerie,
probably, this problem is caused by the access rights of the file on the apex.home (the place where the listener APEX stores its configuration). The default location is ${java.io.tmpdir}, which once again the default * / tmp/apex * in most cases. However, it is above all a global location, not a specific user. However, the files are created with write access to the owner and limited to the owner read access and group. So if you try to start with another user, the APEX listener tries to use the same location, but cannot access the files needed and therefore fails. root will obviously not have this problem, but I recommend not to use this account for any service that you run.
You can set a startup option to resort the APEX listener to a different location for apex.home is reading - / writeable for the current user. This could asjava -Dapex.home=/home/user/apex -jar ./apex.war
Of course you can change the directory to anywhere that fits your system.
For more information about the boot settings, you might take a look in the development Guide and apex listeners install.-Udo
-
Install work w/WebLogic and the listener of the APEX APEX
This time, I get the following message when you provide "apex / http://localhost:7001 / listenerConfigure" as the URL in Internet Explorer
The listener of the APEX is already configured. Please log on as an administrator to access the listener Administration APEX.
How can I cancel the 'Apex' Listener so that when I try to access the URL above, makes me to the settings page?
I also tried this URL:
Apex / http://localhost:7001 / apex_admin
As a result the following exception. After seeing the underside of exception I immediately changed the password APEX_PUBLIC_USER in Oracle
a new password. So now that I have a new password for the APEX_PUBLIC_USER in Oracle, where should I update the config files?
* oracle.dbtools.rt.service.ServiceLocatorException: Exception occurred in the activate() method
at oracle.dbtools.rt.service.Provider.activate(Provider.java:56)
at oracle.dbtools.rt.service.Provider.match(Provider.java:111)
at oracle.dbtools.rt.service.Providers.match(Providers.java:22)
at oracle.dbtools.rt.service.ServiceLocator.acquireAll(ServiceLocator.java:97)
at oracle.dbtools.rt.service.ServiceLocator.acquire(ServiceLocator.java:74)
at oracle.dbtools.rt.service.Provider.inject(Provider.java:137)
at oracle.dbtools.rt.service.Provider.activate(Provider.java:39)
at oracle.dbtools.rt.service.Provider.match(Provider.java:111)
at oracle.dbtools.rt.service.Providers.match(Providers.java:22)
at oracle.dbtools.rt.service.ServiceLocator.acquireAll(ServiceLocator.java:97)
at oracle.dbtools.rt.service.ServiceLocator.acquire(ServiceLocator.java:74)
at oracle.dbtools.rt.service.Provider.inject(Provider.java:137)
at oracle.dbtools.rt.service.Provider.activate(Provider.java:39)
at oracle.dbtools.rt.service.Provider.match(Provider.java:111)
at oracle.dbtools.rt.service.Providers.match(Providers.java:22)
at oracle.dbtools.rt.service.ServiceLocator.acquireAll(ServiceLocator.java:97)
at oracle.dbtools.rt.service.ServiceLocator.acquire(ServiceLocator.java:74)
at oracle.dbtools.rt.service.Provider.inject(Provider.java:137)
at oracle.dbtools.rt.service.Provider.activate(Provider.java:39)
at oracle.dbtools.rt.service.Provider.match(Provider.java:111)
at oracle.dbtools.rt.service.Providers.match(Providers.java:22)
at oracle.dbtools.rt.service.ServiceLocator.acquireAll(ServiceLocator.java:97)
at oracle.dbtools.rt.service.ServiceLocator.acquireAll(ServiceLocator.java:104)
at oracle.dbtools.rt.web.RequestDispatchers.choose(RequestDispatchers.java:85)
at oracle.dbtools.rt.web.RequestDispatchers.dispatch(RequestDispatchers.java:52)
at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.doIt (WebAppServletContext.java:3686)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: oracle.dbtools.rt.web.WebException: could not start the universal Connection Pool: oracle.ucp.UniversalConnectionPoolException: cannot get data source connection
at oracle.dbtools.rt.web.WebException.internalError(WebException.java:124)
at oracle.dbtools.rt.query.jdbc.BaseJDBCCallProvider.activated(BaseJDBCCallProvider.java:56)
at oracle.dbtools.rt.query.jdbc.ora.OraJDBCCallProvider.activate(OraJDBCCallProvider.java:25)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.dbtools.rt.service.__Reflections.invoke(__Reflections.java:85)
at oracle.dbtools.rt.service.Provider.activate(Provider.java:43)
... 39 more
Caused by: java.sql.SQLException: unable to start the universal Connection Pool: oracle.ucp.UniversalConnectionPoolException: cannot get data source connection
at oracle.ucp.util.UCPErrorHandler.newSQLException(UCPErrorHandler.java:541)
at oracle.ucp.jdbc.PoolDataSourceImpl.throwSQLException(PoolDataSourceImpl.java:588)
at oracle.ucp.jdbc.PoolDataSourceImpl.startPool(PoolDataSourceImpl.java:277)
at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:647)
at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:614)
at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:608)
at oracle.dbtools.apex.Connections.getConnection(Connections.java:116)
at oracle.dbtools.rt.query.jdbc.ora.OraJDBCCallProvider.connection(OraJDBCCallProvider.java:31)
at oracle.dbtools.rt.query.jdbc.BaseJDBCCallProvider.activated(BaseJDBCCallProvider.java:44)
... more than 46
Caused by: oracle.ucp.UniversalConnectionPoolException: cannot get data source connection
at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException(UCPErrorHandler.java:421)
at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException(UCPErrorHandler.java:389)
at oracle.ucp.jdbc.DataSourceConnectionFactoryAdapter.createConnection(DataSourceConnectionFactoryAdapter.java:106)
to oracle.ucp.common.UniversalConnectionPoolImpl$ UniversalConnectionPoolInternal.createOnePooledConnectionInternal (UniversalConnectionPoolImpl.java:1613)
to oracle.ucp.common.UniversalConnectionPoolImpl$ UniversalConnectionPoolInternal.access$ 600 (UniversalConnectionPoolImpl.java:1421)
at oracle.ucp.common.UniversalConnectionPoolImpl.createOnePooledConnection(UniversalConnectionPoolImpl.java:488)
at oracle.ucp.common.UniversalConnectionPoolImpl.addNewConnections(UniversalConnectionPoolImpl.java:988)
at oracle.ucp.common.UniversalConnectionPoolBase.getInitialConnections(UniversalConnectionPoolBase.java:541)
at oracle.ucp.common.UniversalConnectionPoolBase.start(UniversalConnectionPoolBase.java:655)
at oracle.ucp.jdbc.PoolDataSourceImpl.startPool(PoolDataSourceImpl.java:271)
... 52 more
Caused by: java.sql.SQLException: ORA-01017: name of user and password invalid. connection refused
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:389)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:382)
at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:573)
at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:431)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:366)
at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:752)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:366)
to oracle.jdbc.driver.PhysicalConnection. (PhysicalConnection.java:536)
to oracle.jdbc.driver.T4CConnection. (T4CConnection.java:228)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:280)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:207)
at oracle.ucp.jdbc.DataSourceConnectionFactoryAdapter.createConnection(DataSourceConnectionFactoryAdapter.java:100)
... more than 59 *.
Wes
Published by: Wes Gibbs August 9, 2011 18:11Hi Wes,
If your connection to database has changed, you must either delete the old configuration completely, so you could run + / listenerConfigure + again, or if you change the connection parameters in the configuration file.
In any case, you must locate the config.dir (if you have not configured this setting, it is the ${java.io.tmpdir} of your WLS). If you want to do it again, delete the contents of this directory. Otherwise change the apex - config.xml , you will find. The relevant keys may depend on your previous configuration, but should not be difficult to identify. They are at the beginning of the apex - config.xml and begin by apex.db. .-Udo
-
Listener of the apex and Apex.3.2.1
Apex earphone works with Apex 3.2.1? Maybe I missed it, I can't find any info in the document.Quick question, short answer: it does.
Documentation for the listener of the APEX does not refer to a special version of APEX. The fact that the only APEX documents name the listener APEX APEX 4.0 from is due to the listener of the APEX is not not available prior to this release.
We have it running with the APEX of 3.1 from instances, but I guess you could use it even for older versions.-Udo
-
Listener of the APEX and several Instances of APEX
I APEX 4.XX and Apex listener 2.0.5 and I'm really interested in the configuration of multiple instances of the APEX to browse the same listener. I found information on how you create your multiple connections, but I'm really confused by the portions on how you configure your URL cards. In my case, I'm insterested in something in the sense of https://apex.example.com/prod/ https://apex.example.com/dev/ https://apex.example.com/pprd/ where each of them is APEX running on a different database. I am amendable to prod a straight downhill https://apex.example.com/ until I could install some sort of application of default homepage instead of directly providing the login page for this instance. Can anyone offer guidance in this type of installation? I am ok if you need is to have the URL in the sense of https://apex.example.com/apex/ https://apex.example.com/apex/dev/ https://apex.example.com/apex/pprod/ if they should be. Note my deployment is on Weblogic 12 c and I use SQL Developer to admin the listener.
The headphones are so light, I have one foreach (in virtual boxes)
I prefer to keep listeners on separate servers, because it is easier for me to check that I'm not about to run 'truncate table... ". "on the production.
(my $0,02 worth)
Dev, I have multiple DB connections.
Grade a (http://Host/apex) points to my box of 11 g of real development.
The secondary one (http://Host/apex/a12) point to my box 'playground' 12 c.
For the 12 c, URL mappings are: (SQL Developer 3.2 and 4.0)
The rule of Type = URL path
Routing rule = http://Host/apex/a12
REST Schema. = (empty)
After that I got it to work, I have not played with any other options/ideas.
MK
-
Try to get the listener to the APEX to run in stand-alone mode
US aircraft problems try to get the APEX listener running in stand-alone mode on AIX, but that did not work. We decided to switch to Linux, and now we get questions below on the Linux (Red Hat). Any ideas?
Thank you!
Java $ [oracle@ban-apex-prod apex_listener]-Dapex.port=8070-Dapex.images=/home/orale/apex/images-jar apex.war
NEWS: Check out: /home/oracle/apex_listener/apex.war
See: ' java-jar apex.war - help' for a full range of configuration options
INFO: Extraction to: / tmp/apex
INFO: Using classpath: file:/tmp/apex/apex/___embedded/start.jar:file:/tmp/apex/apex/WEB-INF/lib/xdb-1 1.2.0.jar:file:/tmp/apex/apex/WEB-INF/lib/poi-3.6-20091214.jar:file:/tmp/apex/apex/WEB-INF/lib/apex.jar: file:/tmp/apex/apex/WEB-INF/lib/ojdbc6.jar:file:/tmp/apex/apex/WEB-INF/lib/je-4.0.103.jar:file:/tmp/ap ex/apex/WEB-INF/lib/xmlparserv2-11.2.0.jar:file:/tmp/apex/apex/WEB-INF/lib/ojmisc.jar : file:/tmp/apex/ap ex/WEB-INF/lib/ucp.jar:file:/tmp/apex/apex/WEB-INF/lib/commons-fileupload-1.2.1.jar:
INFO: From Embedded Web container: / tmp/apex
December 7, 2011 16:36:55 ___bootstrap. The Deployment Manager deploy
INFO: Deploy application path=/tmp/apex/apex/WEB-INF/web.xml
December 7, 2011 16:36:56 ___bootstrap. The Deployment Manager deploy
NEWS: deployment application path=/tmp/apex/apex/WEB-INF/web.xml
December 7, 2011 16:36:56 com.sun.grizzly.Controller logVersion
INFO: From Grizzly Framework 1.9.18 - o - Wed Dec 07 16:36:56 EAST 2011
INFO: http://localhost:8070 / apex began.
December 7, 2011 16:37:02 com.sun.grizzly.http.servlet.ServletAdapter doService
SEVERE: service exception:
java.lang.IllegalStateException: not yet initialized
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(AdminManager.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(FilterChainImpl.java:139)
at com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.java:376)
to ___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)
to com.sun.grizzly.util.AbstractThreadPool$ Worker.doWork (AbstractThreadPool.java:330)
to com.sun.grizzly.util.AbstractThreadPool$ Worker.run (AbstractThreadPool.java:309)
at java.lang.Thread.run(Thread.java:679)
December 7, 2011 16:58:39 com.sun.grizzly.http.servlet.ServletAdapter doService
SEVERE: service exception:
oracle.dbtools.rt.service.ServiceLocatorException: there is no defined service
at oracle.dbtools.rt.service.ServiceLocator.acquireAll(ServiceLocator.java: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.java: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(FilterChainImpl.java:139)
at com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.java:376)
to ___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)
to com.sun.grizzly.util.AbstractThreadPool$ Worker.doWork (AbstractThreadPool.java:330)
to com.sun.grizzly.util.AbstractThreadPool$ Worker.run (AbstractThreadPool.java:309)
at java.lang.Thread.run(Thread.java:679)Hello
US aircraft problems try to get the APEX listener running in stand-alone mode on AIX, but that did not work.
Now, it's a coincidence - Colm just posted on this topic today: {: identifier of the thread = 2318817}
It is in any case, he started on Linux, so...SEVERE: service exception:
java.lang.IllegalStateException: not yet initializedThis is the relevant part of your stack trace. You must call http://
: 8070/apex/listenerConfigure and complete the initial configuration (mainly the database connection settings) before you can access the APEX for the first time. -Udo
-
Communication between TNS_Listener and the listener of the Apex
Hi all
I how communication between TNS Listener, receiver of the Apex and Apex? For some reason, I got the following error of Apex listener:
I truncated messages Java object.Caused by: oracle.dbtools.rt.web.WebException: Unable to start the Universal Connection Pool: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource . . . Caused by: oracle.net.ns.NetException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
This has happened when I tried to connect to the Apex. So I can fix it by going to:
then everything worked fine.http://localhost:8080/apex/listenerConfigure
My listener.ora file:
My tnsnames.ora fileLISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) ) (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = firefly.snowdrop.com)(PORT = 1521)) ) ) ADR_BASE_LISTENER = /usr/local/oracle ADR_BASE_ORACLE_LISTENER = /usr/local/oracle
When inara is the name of the instance and the firefly is the host name.INARA = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = firefly.snowdrop.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = inara.snowdrop.com) ) )
Is that the order of start if first the TNS Listener or listener Apex matter first?
Best regards
Val
Published by: Valerie good-natured August 1, 2011 05:47Hi Val,
My tnsnames.ora is configured for an existing server and there is no client configurations like sqlplus, sql or earpiece of the apex developer. However until now the server can connect to customers without problem (I just discover that unreproducible error on 'impossible to find the SID' sometimes occurs at the beginning of the Summit, the kick-off and can be solved by waiting for a while to connect to reconnect), so again I must modify the .ora?
No, if your database listener is configured properly (i.e., he listens to the SID that you try to connect to the network interface/hostname/ip address /... she must use), there is no need to make any other configuration, especially not on another machine.
-Udo
-
HTTPS and the listener of the apex
Can I set up ApexListener to HTTPS requests only server?
There no server app on this host, not just ApexListener.
Thank you.Hello Alex,.
the APEX listener supports SSL itself (see {: identifier of the thread = 2192664}).
You don't need a full application to this server. Simply a proxy that can serve HTTPS (for example Apache HTTPD).-Udo
-
We are planing to use APEX with earphone APEX in production site for better security.
In this case, do we still need to install XMLDB.
If this is the case, could you please let me know what features of XMLDB are required when we are not in EPG mode.Hello
If you have not installed of XDB, the APEX component will be invalid. Essentially, it is an unsupported installation. If you need to call the Support of Oracle, the first thing they ask you to do is to make the valid component (by installing XDB).
XDB is used in a number of places in APEX - as an XMLTYPE in the collections, the analysis of the results of the Web Service, loading and unloading of XML, XLIFF translation file data, analysis, probably some areas more than I'm not Recalling now.
I hope this helps.
Joel
-
Application of pivot using XML in the APEX option
Hi all..
I am using the following query to pivot
with pivot_data like)
SELECT bdate, cat_code, no_of_ppl, agent_Code FROM test_table
)
Select * from pivot_data
(XML) PIVOT
Sum (no_of_ppl) to (agent_code), IN (select agent_code from tbl_agents)
)
order by bdate;
When I run it using apex SQL Workshop we give the following result
BDATE CAT_CODE AGT_CODE_XML
01/01/2011 4 [data type not supported]
01/01/2011 5 [data type not supported]
01/01/2011 6 [data type not supported]
01/01/2011 7 [data type not supported]
What can b the reason to give the "unsupported data type' instead of the actual values.
Kind regards
AD_PSATo get APEX to render the XML output must be serialized (default) CLOB or VARCHAR2:
select deptno , xmlserialize(content job_xml) xml from (select job , deptno , sal from emp) pivot xml(sum(sal) for job in (select distinct job from emp)) order by deptno; DEPTNO XML ------ --- 10
20ANALYST CLERK 1300 ENGINEER MANAGER 2450 PRESIDENT 5000 SALESMAN 30ANALYST 6000 CLERK 1100 ENGINEER MANAGER 2975 PRESIDENT SALESMAN 40ANALYST CLERK 950 ENGINEER MANAGER 2850 PRESIDENT SALESMAN 4100 ANALYST CLERK 800 ENGINEER 1500 MANAGER PRESIDENT SALESMAN To use it in a report the result of pivot XMLType must be shredded using XMLTABLE to produce additional columns, or transformed into HTML using XSLT then serialized.
-
Values with the HTML not getting informed when using AJAX in the APEX
Hello
I use AJAX to fill some values in a tabular report.
I have a java script of this form (I took this example Denes http://apex.oracle.com/pls/otn/f?p=31517:241:1400877312570049) example
< script language = "JavaScript" type = "text/javascript" >
function f_set_multi_items_tabular (pValue, bow) {}
get var = new htmldb_Get (null, html_GetElement('pFlowId').value,
= Set_Multi_Items_Tabular', 0);
{if (pValue)}
Get.Add ('TEMPORARY_APPLICATION_ITEM', pValue)
Get.Add ('T_ROWNUM', Prow)
} else {}
Get.Add ('TEMPORARY_APPLICATION_ITEM', 'null')
}
gReturn = get.get ('XML');
{if (gReturn)}
var l_Count = gReturn.getElementsByTagName("item").length;
for (var i = 0; i < l_Count; i ++) {}
var l_Opt_Xml = gReturn.getElementsByTagName ("item");
var l_ID = l_Opt_Xml.getAttribute ('id');
var l_El = html_GetElement (l_ID);
{if (l_Opt_Xml.firstChild)}
var l_Value = l_Opt_Xml.firstChild.nodeValue;
} else {}
var l_Value = ";
}
{if (l_El)}
If (l_El.tagName == 'INPUT') {}
l_El.value = l_Value;
} Else if (l_El.tagName == 'SPAN' & & l_El.className == 'Raptor') {}
l_El.parentNode.innerHTML = l_Value;
l_El.parentNode.ID = l_ID;
} else {}
l_El.innerHTML = l_Value;
}
}
}
}
get = null;
}
< /script >
And I the process of application as follows
BEGIN
OWA_UTIL.mime_header ("text/xml", FALSE);
HTP.p ('Cache-Control: non-cache');
HTP.p ('Pragma: non-cache');
OWA_UTIL.http_header_close;
HTP.prn ("< body >");
HTP.prn ("< desc > This XML genericly defines several elements < / desc > '");
HTP.prn ("< item id =" f05_000 "|: T_ROWNUM |" "> ' |: TEMPORARY_APPLICATION_ITEM |") ("< / item > ');
HTP.prn ("< / body >");
END;If I have: TEMPORARY_APPLICATION_ITEM as "Vikas" gets it displays correctly, but if I "& lt;" b & gt; Vikas & lt; b & gt;' it shows null. If she tags HTML function l_Opt_Xml.firstChild.nodeValue does not correctly work.
Please tell me what modiifcation can I use in the l_Opt_Xml.firstChild.nodeValue function to get values with HTML tags also to are displayed.
Thank you
VikasVikas,
Try to escape special characters:
htf.escape_sc(:TEMPORARY_APPLICATION_ITEM)
Kind regards
Dan -
Problem when using Ajax in the APEX.
Hi all
I use this function in my application to overcome the & & problem... This is the query
DECLARE
l_counter NUMBER;
l_o_name VARCHAR2 (2000);
BEGIN
FOR rec IN (SELECT distinct FASS. ESCAPE_SC (atct_attr_type), FASS. B ESCAPE_SC (atct_attr_type)
OF t_new
WHERE atct_atcl_code =: F41_ATCL_ATT_TYPE_REP_CODE)
LOOP
-HTP.prn ("< option value ="' | rec.b |) '">' || Rec.a | ("< / option >");
dbms_output.put_line (' < option value = "" | ") Rec.b | '">' || Rec.a | ("< / option >");
end loop;
END;
It works very well with any questions...
But I want to show atct_attr_type at the top of case...
The use of uppercase letters in the above query...
Thank you
David...What is the problem with using the UPPER function
HTF. ESCAPE_SC (UPPER (atct_attr_type))
in the Query(for loop inline cursor) SQL
Maybe you are looking for
-
Good method to reset the tcp connection after timeout error
I have an application that I build that communicates with a Modbus TCP device. If a communication occurs error I wish I could reset it TCP communication. What I have is a control that raises an event when pushed. In this case, I have a sequence th
-
Hello I use a unit of distributor of musashi with Rs232 for pressure controller and dosage times. I want to write the program in Labview for this. They UriPattern Protocol Default is 19200 bps. data length: 8 bit Start Bit: 1 Stop bit bits: 1 bit par
-
Hello! I've tried to sort, the abundance of information, it is possible to install the necessary software (CVI RT DURATION, etc.) for cameras 17xx OR program then with CVI? Currently, I only installed the software recommended to the target and don't
-
setting pid, please check my vi
Hello I tried to adjust the PID for the motor speed control... I tried the pid and pid adjustment auto... However, I can not set the parameters correctly... the system is responding well at all... If I get open loop frequency for the system. Auto-Tun
-
Pavilion dv7, upgrade memory with faster modules
Hello PC10666 memory modules can be used to upgrade Pavilion dv7 3170em (WC152EA)? It is currently 2x2gb modules clocked at 533 MHz, will replace the two modules. I intend to replace them with KINGSTON ValueRAM or Transcend JM1333KSN - 4G 4 GB at 667