SSL for Apex 4.0 with PL/SQL Embedded Gateway
Hello
I'm trying to implement ssl to already installed apex 4.0. Os version: Red Hat Enterprise Linux Server release 5.5 (Tikanga)
Oracle Database 11.2.0.3
I used the following note to configure ssl for apex:
http://wiki.shellprompt.net/bin/view/Apex/SSLandAPEXxdbHttp?TWIKISID=9ad53fc01edafaa65304ca32191cf00a
1. used function dbms_xdb.setlistenerendpoint (2,'TESTHOST',2484,2) to configure xdbconfig.xml.
2. listener.ora:
SID_LIST_ORCL =
(SID_LIST =
(SID_DESC =
(SID_NAME = ORCL)
(ORACLE_HOME = /opt/oracle/db/11.2.0.3)
SSL_CLIENT_AUTHENTICATION = FALSE
WALLET_LOCATION =
(SOURCE =
(METHOD = FILE)
(METHOD_DATA =
(DIRECTORY = /opt/oracle/db/11.2.0.3/own/wallet/oracle)
ORCL =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = testhost.testdomain.com)(PORT = 1521))
ORCL_SSL =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCPS)(HOST = testhost.testdomain.com)(PORT = 2484))
ADR_BASE_ORCL_SSL = /opt/oracle/db
3. sqlnet.ora:
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
WALLET_LOCATION =
(SOURCE =
(METHOD = FILE)
(METHOD_DATA =
(DIRECTORY = /opt/oracle/db/11.2.0.3/own/wallet/oracle)
ADR_BASE = /opt/oracle/db
SET_CLIENT_AUTHENTICATION = FALSE
# lsnrctl status orcl
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=testhost.testdomain.com)(PORT=1521)))
STATUS of the LISTENER
Alias orcl
Version TNSLSNR for Linux: Version 11.2.0.3.0 - Production
Start Date 03-FEB-2013 12:53:03
Uptime 0 days 0 hr. 26 min. 56 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /opt/oracle/db/11.2.0.3/network/admin/listener.ora
Listener Log File /opt/oracle/db/11.2.0.3/log/diag/tnslsnr/testhost/orcl/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=testhost.testdomain.com)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=testhost.testdomain.com)(PORT=8080))(Presentation=HTTP)(Session=RAW))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=testhost.testdomain.com)(PORT=2484))(Presentation=HTTP)(Session=RAW))
Services Summary...
Service "ORCL" has 1 instance(s).
Instance "ORCL", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl.testdomain.com" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB.testdomain.com" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
# cat /etc/hosts
127.0.0.1 testhost.testdomain.com testhost localhost
Common usage of Apex via http://testhost:8080/apex is available but
https://testhost:2484/apex shows
"Firefox can't establish a connection to the server at testhost.testdomain.com:2484." error
Please any ideas.
Edited by: 985770 on Feb 3, 2013 2:33 AM
This should help you find them:
http://daust.blogspot.com/2006/03/where-are-images-of-application.html
Similar Messages
-
Does anyone have a recommended network, hardware and software configuration guide for a Portal installation running with multiple gateways load balanced (ie one URL) that talk to multiple servers?
David,
We've used Resonate (software) to load balance the gateways. It allows
you to group all the gateways under 1 virtual URL and load balance the
incoming connections over each gateway depending on the rules that you
define in Resonate. Look in the SUN portal whitepapers there is one that
talks about it specifically.
As far as load balancing the calls to the portals, the gateways will
automatically load balance across all the portals that they know about
using a simple round-robin rotation. You may be able to use Resonate in
front of the portals but you may need to activate persistance within
Resonate to ensure that the user always ends up on the portal that he
established his initial connection on (if you want that), check with Sun
on this one.
David Broeren wrote:
Recommended configuration for load balanced Portal with load balancer,
multiple gateways and multiple servers.
Does anyone have a recommended network, hardware and software
configuration guide for a Portal installation running with multiple
gateways load balanced (ie one URL) that talk to multiple servers?
Try our New Web Based Forum at http://softwareforum.sun.com
Includes Access to our Product Knowledge Base! -
Can anybody send me ebook for 'oracle 10g programming with pl/sql'
Hi
can any one send me ebook for oracle's 'oracle 10g programming with pl/sql', 'java'
My mail id is: [email protected]
Thanking in advance.I hope it can guide you to get ebooks for your request.
http://www.oracle.com/technology/tech/pl_sql/index.html
Cheers
Vigneswaran -
Looking for suggestion/idea/help WITH T-SQL
Hi all,
The scenario I have is a person can have one or more charges on his/her case.
One charge could be adjudicated as GUILTY and the other charge
is DROPPED. If this is the scenario, I would like to assign GUILTY Adjudication to this case.
OR
One charge could be WITHHELD and the other charge is DROPPED.
If this is the scenario, I would like to assign WITHHELD to this case.
Under Adjudication column, I would like to see GUILTY for case number 12345 and WITHHELD for case 98765
Sample data:
Case Number Charge Charge
Adjudication
Disposition
========== ====== ===========
============
12345 DUI
GUILTY
12345 Driving w/o license DROPPED
98765 DUI
WITHHELD
98765 Driving w/o license DROPPED
Below is the query that returned the above sample Charge Disposition. I am thinking of using CASE expression to determine Adjudication but not sure.
Thank you for everyone's help!
declare @Begindate datetime--
declare @Enddate datetime
set @begindate = '05/01/2014'
set @Enddate = '05/31/2014'
SELECT
(CASE
WHEN cc1.ProsecutorFinalAction IN ('L','O','R') AND
(cc1.ProsecutorFinalDecisionDate >= @BeginDate) AND
(cc1.ProsecutorFinalDecisionDate < DateAdd(d, 1, @EndDate))
THEN pfa1.Description
WHEN (cc1.CourtDecisionDate >= @BeginDate)AND
(cc1.CourtDecisionDate < DateAdd(d, 1, @EndDate))
THEN dbo.fnGetLookupDescription(cc1.CourtActionTaken,'CourtActionTaken')
END)
FROM tblCase c1 with(nolock)
INNER JOIN tblCaseCharge cc1 with(nolock)
ON c1.caseid = cc1.caseid
LEFT OUTER JOIN tblProsecutorFinalAction pfa1 WITH(NOLOCK)
ON cc1.ProsecutorFinalAction = pfa1.ProsecutorCode
WHERE c1.CaseID = @CaseIDIf you want to return just one row for each case, then:
;with cte as (SELECT *, ROW_NUMBER() over (PARTITION BY case_number
ORDER BY case [Charge Disposition] WHEN 'GUILTY' then 1 WHEN 'WITHHELD' ELSE 3 END) AS RN
FROM CasesInfo)
SELECT * FROM cte WHERE Rn = 1 -- will select rows with GUILTY status or WITHHELD status
and not dropped status
For every expert, there is an equal and opposite expert. - Becker's Law
My blog
My TechNet articles -
Power Query for Excel - Need Help with Oracle SQL Syntax
Hello everyone,
I am new to Power Query and am not able to figure this out. I am trying to pull in data into my Excel spreadsheet using a specific Oracle SQL query. While in query editor, how do I take the Oracle.Database function and add my SQL statement?
I already know what I want, I don't want it to download all the table names. According to the help page, I should be able to do this but it does not provide a syntax example
Also, I don't understand what "optional options as nullable record" means.
Below is what function and arguments the help page notes. How do I use this?
Oracle.Database(server as text, optional options as nullable record) as table
Any help is greatly appreciated.
Thank you,
JessicaWhen I try this, I get an error
DataSource.Error: Oracle: Sql.Database does not support the query option 'Query' with value '"Select * from Owner.View_Name"'. Details: null
I'm trying to download oracle data from a view into power query - Power Query navigator does not list th eviews from my source, it lists only the tables. When I try write sql statements, it throws me the above
error. This is what I tried
Oracle.Database("Source/Service",[Query="Select * from Owner.View_Name"])
Any ideas how to fix this? -
Repositories for 32bit BO/DS with 64bit SQL supported?
We are planning to move our CMS, Audit and DS repositories of 32-bit Business Objects Enterprise XI 3.1 SP3 and Data Services 3.2 to Microsoft SQL Server 2008 R2 (64-bit) database. I was looking at the respective Supported Platform documents for both and it does not explicitly mention 64-bit or 32-bit for any version of database. Do we have to understand that even though it is not stated explicitly as 64-bit, it is inclusive of both?
Also it says that MS SQL Server 2008 is supported but does not indicate whether 2008 "R2" is supported. Can we deduce that since MS SQL Server 2008 is supported that 2008 R2 is also supported?
Any insights, suggestions, recommendations greatly appreciated.
Thanks in AdvanceHi,
for the Application such as BOE or DS it doesnt matter if the underlaying RDBMS is 32Bit or 64Bit. When you move to a 64Bit RDBMS you have to continue to use the 32Bit Middleware for BOE and DS.
I`m pretty sure that R2 is supported. Check the PAM for the latest release of the products.
Regards
-Seb. -
How can I redirect APEX(EPG) URL with afrindly one
Hi All,
I am using APEX with EPG on oracle 11g, and I would to redirect the URL http://localhost:8080/apex/f?p=122:1:43920293912715::NO with a friendly one like this
http://project_name.mydomain.com
Is there any one can help me know; how to do this redirection where I would to hide the port no 8080 within the URL
Thank you in advance
YassinYasen® wrote:
hi is this solution working for Apex on 11g with EPG? whrere to run this code?Yes, it should work on 11g with EPG.
Using SqlPlus, log in as SYS and run the code posted by "user7449726" to change the path name and default home page of the DAD.
To change the port from 8080 (the default) to 80, run the following as SYS using SqlPlus:
CALL DBMS_XDB.SETHTTPPORT(80);
ALTER SYSTEM REGISTER;
Make sure you don't have anything else running on port 80 (such as Microsoft's Internet Information Server) or you will obviously get a conflict.
- Morten -
'Missing select' error for update statement using WITH clause
Hi,
I am getting the below error for update statement using WITH clause
SQL Error: ORA-00928: missing SELECT keyword
UPDATE A
set A.col1 = 'val1'
where
A.col2 IN (
WITH D AS
SELECT col2 FROM
(SELECT col2, MIN(datecol) col3 FROM DS
WHERE <conditions>
GROUP BY PATIENT) D2
WHERE
<conditions on A.col4 and D2.col3>Hi,
The format of a query using WITH is:
WITH d AS
SELECT ... -- sub_query
SELECT ... -- main query
You don't have a main query. The keyword FROM has to come immediately after the right ')' that ends the last WITH clause sub-query.
That explains the problem based on what you posted. I can't tell if the real problem is in the conditions that you didn't post.
I hope this answers your question.
If not, post a complete test script that people can run to re-create the problem and test their ideas. Include a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you want from that data.
In the case of a DML operation (such as UPDATE) the sample data should show what the tables are like before the DML, and the results will be the contents of the changed table(s) after the DML.
Explain, using specific examples, how you get those results from that data.
Always say what version of Oracle you're using (e.g. 11.2.0.2.0).
See the forum FAQ: https://forums.oracle.com/message/9362002 -
I want to Know how to use JDBC connection with postgress sql on Linux
Hello friends R u Listen to me?
Pls help me for making JDBC connectivity with postgress Sql On Linux by using Type 4 Driver .
Is there is any envoirnment setting rqr then pls send me the same on my mail
My mail is [email protected]
varshadcminter wrote:
http://java.sun.com/docs/books/tutorial/jdbc/index.html
and
http://www.postgresql.org/docs/
;-) -
SSL encryption for Apex 4.1
Hi Guys,
I am trying to set up SSL encryption for my local install.
I am running APEX 4.1 in Windows 7 (32 bit) , Oracle XE 11G with embedded plsql gateway setup.
The APEX documentation I looked at that deals with SSL:
http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21678/adm_mg_service_set.htm#AEADM297
instructs to turn HTTPS on in APEX_ADMIN (Internal schema) under security.
It didn't work as APEX was visible still under http://localhost:8080/apex and using HTTPS gave page not found error. On top of that It locked out my Admin account for INTERNAL workspace. So I had to switch it back via SQL query in SQL plus.
From limited experience in doing something similar in Tomcat, I believe one needs certificates etc before proceeding with this.
Anyone who has done this before, can you please point to a any documenation/blog post, tutorial etc that shows how its done? Many thanks.Hi,
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 an alternative Web listener, such as Apache, that does provide HTTPS support, and provide proxies for the URLs provided by Oracle Database XE.
>
Regards,
Jari
http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
Edited by: jarola on Jan 25, 2012 9:42 AM
That APEX instance admin parameter you have change do not enable HTTPS. It require that you use HTTPS on your web listener.
Here is how reverse HTTPS Requirement for APEX instance admin
http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21678/adm_mg_service_set.htm#autoId17 -
Looking for APEX tutoring in NJ (with pay) - urgent -
Hi,
I'm a newbie to APEX. I can get a simple form up and running fine. But the project is more than a simple form. I have not got a chance to get training yet. I'm looking for an experienced APEX developer in NJ to tutor me with pay. I'm using APEX 3.2 with Oracle 11g database via Embedded PL/SQL Gateway (which probably is not so relevant). A brief description of the project is as follows:
Login -> Home
|
V
Form 1 -> Search, then display the items that were entered (maybe a dynamic display) based on the search criteria. Click on the item to faciliate "Update" or "Deactivate" (similar to "delete"). On the top of the page, there's a "Add" tab to facilitate insert.
Form 2 -> ......
Form 3 -> ......
The same or similar logic for the other Forms (total about 10 Forms, with Reports added later). This is some of my rough concept, the overall application flow/wrapper can be discussed, if there's other alternative or I'm not on the right track.
Please let me know PROMPTLY.
Thanks much,
HelenWhy are you repeating a prior posting you made today (Looking for APEX tutoring (with pay) in NJ - urgent - Posting the same item more than once will cause headache and issues with the folks that frequent here..
If you have a need for tutoring, as you have asked, you have been sent three viable solutions to follow (two different responders in the area willing to help for $$ and one response involving working through the tutorials on Oracles APEX page and buying one of the better APEX books.. I Would HIGHLY Recommend John E Scott's book, http://www.amazon.com/Oracle-Application-Express-Experts-Voice/dp/159059827X ..
Keep the questions coming, folks here will help when they can..
Thank you,
Tony Miller
Webster, TX -
SQL Developer extension for APEX workspace management
Hi everyone,
I've put together some SQL Developer extensions - one of them provides APEX workspace management
from within SQL Developer when connected to the database as SYS. A screenshot and a short
description is available here:
http://sql-plsql-de.blogspot.com/2009/09/erweiterungen-fur-den-sql-developer.html?lang=en
You can download the zip archive directly from here (the blog posting contains this link also)
http://htmldb.oracle.com/pls/otn/f?p=20225:2:0::::P2_SUCHWORT:sqldev-ext
Try it out - if you like it: Please give me feedback; if not: please do also
Regards
-Carsten
Oracle 11g Release 2: New Features for Developers in German
http://www.oracle.com/global/de/community/index.html
BLOG: SQL und PL/SQL in Oracle
http://sql-plsql-de.blogspot.comHi,
Looks very nice and I really like idea. Great job !
For futher development idea:
I like see that individual workspace admin could use same kind plugin, connecting DB with user that is assigned to workspace and manage only that WS properties.
Br, Jari -
Looking for APEX tutoring (with pay) in NJ - urgent -
Hi,
I'm a newbie to APEX, and trying to get the project up and running. I can get a simple form up, but the project I'm doing is more than a simple form. I have not got a chance to get any training yet. Looking for APEX tutoring in NJ with pay.
Please let me know promptly.
Appreciated,
HelenHelen,
First of all, welcome to the forums and the wonderful world of APEX development.
Before recommending anything, it would be really good to know a little bit about your background and how comfortable you are with Oracle, SQL, and PL/SQL. If you're completely new to Oracle (i.e. you've been working with EXCEL and ACCESS), I would recommend a completely different path than someone who is coming at this from a long history of Oracle Forms development, and different again form someone that has Java or other Web development experiene.
Can you help us out with some information about your programming background?
In general, I agree with Don. The 2 Day developer and Advanced Tutorial white papers will give you a good start, by letting you peek under the covers of what is possible with Application Express. There are also a couple good books that might help depending on where you're coming from and what your skill level is.
However, there is nothing like getting yourself into a learning environment that allows you to ask questions specific to what you're trying to achieve in the real world.
The company I work for ( [Sumner Technologies|www.sumnertech.com] ) also provides APEX training at the beginner, intermediate and advanced levels. We can provide these classes in a public forum, as private on-site classes, or we also provide instructor lead online training classes as well. We have several classes scheduled through the end of the year so check [http://www.sumnertech.com/training|http://www.sumnertech.com/training] for a list of available courses and our public/Online schedule).
What course best suits you will obviously depend on where you're starting from, but we can definitely help there.
Feel free to give us a call at (703) 879-4615. We'll be happy to help.
Doug Gault
VP, Sumner Technologies -
Enable SSL for SQL used by ConfigMgr
Hello guys,
My DBA has decided to enable SSL encryption for an instance of SQL Server that is in use by our ConfigMgr.
some background setup: Windows 2008 R2, SQL Server 2008, ConfigMgr 2007 R2
My question is, how is enabling SSL for the SQL server will affect our ConfigMgr environment?
Is there's anything I should change in ConfigMgr in case the SSL was enforced e.g all communication should use https instead of http?
Sorry for being blunt here as we don't have this SSL on SQL setup before.
Please share your suggestion & thoughs, really appreciate it! Thank you.
---PatJust another reason not to use a shared SQL Server.
First, I would bring this up as an issue to management -- folks shouldn't just be able to change configuration on something that your system depends upon without it being approved by you. There are ramifications and costs associated with any change such
as this.
Next, as far as ConfigMgr goes, I've never ever seen a discussion on it so doubt that it is supported; however, ultimately, the actual SQL connection is just something used by ConfigMgr, not created or controlled by ConfigMgr. ConfigMgr uses a System DSN
based ODBC connection to connect to the DB on site system's with roles that directly connect to the DB. Thus, *in theory*, you could modify the connection string to use SSL.
If you can't convince management that what the DBA did was reckless and costly, then you should open an advisory case with Microsoft via CSS to discuss your options -- this will cost $$$.
Jason | http://blog.configmgrftw.com -
Performance for join 9 custom table with native SQL ?
Hi Expert,
I need your opinion regarding performance to join 9 tables with native sql. Recently i have to tunning some customize extraction cost report. This report extract about 10 million cost of material everyday.
The current program actually, try to populate the condition data and insert into customize table and join all the table to get data using native sql.
SELECT /*+ ordered use_hash(mst,pg,rg,ps,rs,dpg,drg,dps,drs) */
mst.werks, ....................................
FROM
sapsr3.zab_info mst,
sapsr3.zab_pc pg,
sapsr3.zab_rc rg,
sapsr3.zab_pc ps,
sapsr3.zab_rc rs,
sapsr3.zab_g_pc dpg,
sapsr3.zab_g_rc drg,
sapsr3.zab_s_pc dps,
sapsr3.zab_s_rc drs
WHERE mst.zseq_no = :p_rep_run_id
AND mst.werks = :p_werks
AND mst.mandt = rg.mandt(+)
AND mst.ekorg = rg.ekorg(+)
AND mst.lifnr = rg.lifnr(+)
AND mst.matnr = rg.matnr(+)
............................................... unitl all table (9 tables)
AND ps.mandt = dps.mandt(+)
AND ps.knumh = dps.knumh(+)
AND ps.zseq_no = dps.zseq_no(+)
AND COALESCE (dps.kbetr, drs.kbetr, dpg.kbetr, drg.kbetr) <> 0
It seems the query ask for database to using hashed table. would that be it will burden the database ? and impacted to others sap process ?
Please advise
Thank You and Best Regardsyou can only argue coming from measurements and that is not the case.
Coming from the code, I see only that you do not understand it at all, so better leave it as it is. It is not a hash table, but a hash join on these table.
Maybe you are looking for
-
Problems with Presonus Firestudio and Logic
I am having problems with compatability with my brand new Presonus Firestudio recording interface and Logic pro 8. I am new to logic but not to home recording, and i cant understand what might be the problem. When i use the firestudio with garageband
-
Hi, I have a movie that I have used the UIscrollBar in within various nested movieclips. The text is contained in a series of vars which is then called into the dynamic text box. Everything works fine when I test the swf in flash, and also works in I
-
What is the right macbook for me?
So I convinced my mom to get a macbook, but the next problem is what macbook is right for me? I will use it for school work : I will use it for: - Word proccessing - portability - slideshows - programming in xcode and in Java - Gaming - Music - Devel
-
Problem to add office 365 domain because of RMS
Hi team, I've purchased an office 365 small business plan. I wasn't able to add my personal domain & the office 365 support told me that's because I've my own domain registred in the RMS sharing application. Could you please delete my domain "dhersin
-
CLD Practice Review - Car Wash
Hey, so I've done all 4 available CLD Prep Exams. I was curious if I could get some feedback on the Car Wash. This, imo, was the easiest of them all and so I was wondering what kind of marks I would end up getting with the attached as the end resul