Using ohs as a front end to weblogic

I had a lot of trouble trying to enable ssl in weblogic (10.3.4 windows 64 bits). So I was thinking of just using ohs as a front end. I need the traffice between the forms and reports clients and the web service to be encrypted. Between the webservice and weblogic and database can be in the clear. I already got ohs to do ssl for application express. It was nowhere as hard to deal with as weblogic (10.3.4) . I don't seem to be able to think like weblogic :-(
However I need some good and correct instructions on how to do this. Anyone got any?
This is one of those things where the more you look the more confused you get.
(BTW this seems to be saying you can't use ohs in front of em or console.)
for example:
Doc ID 1268723.1
Following this note will result in the following architecture:
Browser --> https --> OHS --> https --> WebLogic Server
There are three steps needed to configure mod_wl_ohs in this setup:
Step I: Configure OHS for SSL
Step II: Configure Weblogic for SSL
Step III: Configure mod_wl_ohs
Now that is very complex and one has to face both the wallet and the keystore and more.
whereas another doc
Doc ID 1240977.1
advocates only enabling ssl in ohs and not in weblogic. Well which is it? Does ssl have to be in weblogic?
If it does I could picture not involving ohs and that apparently crash prone module.

Well I wanted to close this out by saying that I never found out definitively how to put ohs in front of
weblogic. (10.3.4) I'm not sure it's that great of an idea considering some reports of problems with
mod_wl_ohs in support but anyway I did get ssl working in weblogic. Basically I followed 1109753.1 This is the very
simple way that you just configure ssl for wls_forms and wls_reports in weblogic and no involvement of any apache
modules or rewriting or proxying or anything like that.
I did convert the oracle wallet (cwallet.sso) that I was using for ohs to .jks using the
orapki pks12_to_jks command. That had in fact the server cert and two associated trust certs from the cert
vendor. Some instructions make it sound like you have to "separate identity and trust" but I didn't and it does
work.
Configuration of WLS_FORMS or WLS_REPORTS for ssl is like this:
in weblogic administration http://myserver:7001/console :
(environment,servers, WLS_FORMS)
_________keystores tab _________________
keystores: custom identity and java standard trust
custom identity keystore: d:\somewhere\mykeystore.jks
custom identity keystore type JKS
custom identity keystore passphrase keystorepasswd
Java Standard Trust Keystore:     
C:\PROGRA~1\Java\JDK16~1.0_2\jre\lib\security\cacerts
Java Standard Trust Keystore Type:     jks
<no passwords entered for java standard trust although the password is known to be changeit>
___________SSL tab_____________
Identity and Trust Locations:     Keystores
Private Key Location:     from Custom Identity Keystore
Private Key Alias: <for key. You can list this with a utility if you forgot>
Private Key Passphrase: <private key password>
Certificate Location:     from Custom Identity Keystore
Trusted Certificate Authorities:     from Java Standard Trust Keystore
plus in Configuration Tab:
ssl listen port enabled specify port you want
I am guessing that since the forms and reports ports are different by default
that the ssl ports should be different also?
after that I actually think you have to stop and then start the service instead of just restart ssl.
Anyway then try whatever your forms or reports url was but using the new port and using https:
eg. https://my.domain.name:7002/forms/frmservlet
If that doesn't work then look for the log which is something like:
c:\<middlewarehome>/user_projects/domains/mydomain/servers/WLS_FORMS/logs look for it there.

Similar Messages

  • How to use Java as a Front-end app

    how java application can be used as the Front-end interfaces to Forte based
    applications???
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Rajiv,
    If you have Forte's WebEnterprise product, and Forte version 3.0.G.x or
    later, you have the ability to export an IIOP interface for any Forte
    service object. In fact, you can go one step further and generate a Java
    interface that "hides" the IIOP issues from the developer. The way you do
    this is to do the following:
    1) From the partitioning workshop, double click on the service object you
    wish to expose as an IIOP interface. This will bring up the Service Object
    Properties dialog.
    2) Off the Export tab, set the External Type drop down to IIOP. If IIOP is
    not an available option in the drop down list then you do not have
    WebEnterprise install.
    3) From here you need to set up the necessary IIOP configuration parameters
    (see the documentation for details on the specifics of what the parameters
    control).
    4) If you want to have Forte generate a JavaBean interface and the necessary
    Java classes to be called by your application then make sure you select the
    Java parameter at the bottom of the Configuration dialog. If IDL is
    selected then Forte will generate a generic IDL interface.
    5) When you make your distribution Forte will generate the Java classes for
    you.
    This mechanism works very well for accessing a Forte service object from a
    Java application.
    Good Luck!
    Jeff Wille
    -----Original Message-----
    From: Rajiv Srivastava <[email protected]>
    To: [email protected] <[email protected]>
    Date: Wednesday, December 09, 1998 2:03 PM
    Subject: how to use Java as a Front-end app
    how java application can be used as the Front-end interfaces to Forte based
    applications???
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • How to Edit the xml node value using flex from the front end UI

    Hi All,
    I am having a use case with flex 4.6
    1> To read the external xml file
    2> Display the tree structure in the front end UI
    3> Edit the node values of the xml file from the front end UI and save it back
    How to go about the above use case, any blogs or links on the above case will be help
    Thanks,
    Alok

    Check this is example:
    http://blog.flexexamples.com/2009/07/23/deleting-nodes-from-an-xml-object-in-flex/

  • Using BEx Web as front end to VC app

    All-
    Is it possible to use the BEx Web frontend, ie we would like the same functionality for users to save data selections to a variant for subsequent resuse, to pass values to a VC application without having to develop a completely custom solution?  We have been looking at JDBC, but is there an easier way to provide the functionality to users to save their filter values in VC?
    If so, please provide some tips.
    Regards
    John

    Custom solution developed with JDBC within VC.

  • Using applets as servlet front ends

    hi,
    i am looking for some examples
    thx
    Marrek

    See http://www.altio.com/ for a demonstration of an applet frontend to a servlet based server framework. If it's code samples you want, then there is nothing special about connecting applets to servlets, just find an example of an applet that connects back to the server it was launched from.

  • Help with EJB Arch: Synchronous front-end -- Asynchronous back-end

    Hi folks, We are developing an application with the following characteristics: - users can invoke requests on our appl and they will expect a quick response - to obtain the information requested by the user, our application talks with Tibco using RV. This communication follows a pub/sub messaging paradigm and is asynchronous. - thus, we have a synchronous req/resp front-end and an asynch back-end.
    We would like some advice as to the best way of architecting this application. Here is our approach. Please critic and suggest alternatives.
    1. Consider an user who has requested something from our app. 2. The user will be using a JSP based front-end. (S)he submits the request on a form and a servlet is driven. 3. The servlet uses a session EJB and invokes one of its methods, which handles some business-specific logic. 4. The method in the session EJB then instantiates a helper class. 5. A method on our helper class is now driven. This method sends a message to Tibco and it provides a callback method in the helper class. 6. The method in the helper class blocks the thread - basically, it waits. 7. Meanwhile, Tibco does the processing and invokes the callback method (in the helper class) with the result. 8. In the callback method, the data sent by Tibco is stored in member variables of the helper class. 9. The callback method wakes up the blocking thread. 10. The method in step 6 wakes up and returns the information to the session EJB. 11. The session EJB returns the information to the invoking servlet. 12. The servlet provides the information back to the user.
    The version of Tibco-RV that we are using is not JMS compliant.
    We keep hearing that threads should be handled very carefully in an EJB container environment, so we would like to know if the way we are handling the thread in the helper class is okay. Could we remove the helper class and do the same thread-handling in the session EJB itself?
    Can we use JMS in this solution even though our Tibco-RV does not support JMS?
    Tools: Weblogic App Server 6.1, JBuilder 5.0.
    Thanks for your advice and suggestions!

    Let me start off by mentioning that Sonic MQ (an excellent JMS server) now provides a bridge for TIB/Rendezous. I am also wrestling with a simliar issue, something that requires threading at the servlet or ejb level, and have given some thought to using JMS. My concern was that JMS is an asynchronous process so it's model does not fit well with the synchronous front end. Technically I can see a few ways to implement it but architecturally I am not convinced that they are sound. You could send a message from the session bean to the TIB via SonicMQ and have a JMS message bean registered as a listener for messages from the TIB, again via SonicMQ. The JMS bean could update a static class or singleton which your session checks but you still have the issue of making the session bean wait on that event.
    I'll do a bit more digging and see if there's a design pattern available for this situation.
    -Dat

  • Front end technologies

    I am new to java and am very much confused with these terms.What technologies in java can we use to design the front end
    what are the technologies for businesslayer?
    What are the technologies that can be used for dataaccess layer?
    Thanks in advance.

    I am new to java and am very much confused with these
    terms.What technologies in java can we use to design
    the front end
    what are the technologies for businesslayer?
    What are the technologies that can be used for
    dataaccess layer?
    Thanks in advance.I am pretty sick of that word "technologies". It is really a generic catch all. Java is a "specific technology" so what is it you mean ? There isn't only one manner in which to create a front end. There are dozens if not hundreds of options, depending on how far you want to compartmentalize things. Deciding application or web application is already 2 options both using different things. Business layer can cover dozens of ideas.
    Data access layer - is the data in a file in a database internal to the application itself ?
    Are you talking about things like spring hibernate jdbc etc etc ?
    (Basically there are a multitude of "technologies" that can be used for each of your questions. If you are looking for something to study that's one thing but if you are simply looking for a list look a jobs that list 30 requirements for a junior position, they tend to use the buzz word approach and many of those can be used in your questions.

  • Ms-access XP front-end and oracle ODBC driver

    Hi all,
    I need to set up 5 workstations with ms-access front end accessing an oracle database through Oracle ODBC 9.2.0.5.0 driver and linked tables.
    My main concern is to learn about any issues that may limit what can and can�t be done through access as opposed to an oracle client. I found out that the maximum size of an access XP database is 2GB, but I have not found accurate information as to the maximum number of records ms-access can handle per table. This would be of critical importance to me because the tables I'm working with may eventually hold up to hundreds of thousands of records.
    Concurrency control is also an important topic since 2 or more of the clients may at some point read or write information on the same tables.
    Answers to these questions and any other issues of special importance would be greatly appreciated.
    Thanks a lot,
    JP.

    Just seen this message you had posted to OTN. I am currently looking for some sample codes developing applications using MS Access as front end connected to Oracle database. I appreciate if you can provide me some sample codes that has a master-detail-relationship type of access form that performs an inserts into the master and detail table. Thanks a lot.

  • Database triggers VS Front end triggers

    Hi All,
    We have online ticket reservation application developed using oracle forms 6i and Oracle 8i database in Client server multiuser environment.
    for example we have scenario like this.. AFTER INSERTING into TABLE A,
    we need to UPDATE status column in TABLE B, for achieve this which is better option
    To write database trigger on A,
    or To write a POST INSERT trigger in the form designed uisng TABLE A.
    basically the the dataentry is done through Front end only.
    we are going to have upto 20 triggers of this scenario in the entire database on diffrent tables.
    which is best practice? in terms of performance.
    And we want to have DAY END, DAY CLOSE system, so that once we close DAY, no one allowed to insert data into few tables, for this can we use database triggers or front end check.
    Thanks in advance

    There isn't a confusion here between "application" meaning front-end tool, and "application" meaning "whatever layer contains your business logic" is there? I didn't mean to suggest that i thought it a good idea that business logic be implemented outside of the database, just that it ought to all be in one layer -- my own choice would be db packages, but if someone were commited to putting business logic outside of the db, then that would be the place for all the code.

  • ADF 3-tiered with Swing front-end is it possible?

    Hi,
    I'm beginning to use Oracle ADF and JDeveloper 10.1.3.
    My intention is to develop a 3-tiered application. In the persistence tier an Oracle database will be used, in the business tier I would like to use Oracle ADF, and in the front-end Swing with screens for edit and querying data. The Swing front-end will not have direct access to the database, and in the future the business tier could be used by a Web front-end with Servlets and JSPs.
    Which benefits I can get with Oracle ADF for this type of application?
    What ADF components can be used in the business tier?
    How can it deliver and receive data from the Swing front-end (EJB, Web Service, another approach)?
    Somebody knows some tutorial about ADF/Swing applications?
    Thank´s.

    I've been working on a soon-to-go-production 3-tier ADF Swing project for a while.
    I would say it is possible but not easy. A lot of effort in my project has gone into workarounds for various things that do not work as expected (and not as in 2-tier mode), refresh-issues, deployment issues and other. We have found workarounds for most of them and JDev 10.1.3 is a lot better for ADF Swing then earlier releases.
    Scalability is still an unsolved issue for us as a lot of functionality you'd expect in a rich gui is lost when using "batch mode" which probably scales better then "immediate".

  • PL/SQL as front end.....

    hi....
    Where we use PL/SQL as front end and How to use...? What package used to create the front end..... Give me a sample example... or Give me site link to know more about this.....
    Thanks
    S.Ashokkumar.

    > I think that is not entirely true. You can use Developer 9i where you can use
    the Pl/SQL code to construct a full capability of a web page using this
    PSP? PL/SQL Server Pages?
    PL/SQL (as used in PSP and APEX) is a server-side language. It has not User Interface abilities.
    This means that it
    - cannot display a form on the screen as it is not attached to a monitor/display
    - cannot read user keyboard input
    - cannot read user mouse input
    PL/SQL cannot "talk" to the end-user as it lacks the UI (User Interface) component.
    The only way for it to "talk" to an end-user is to communicate with the actual UI application of the user - and then that UI app can interact with the user, interface with the monitor, keyboard and mouse.
    So how does PL/SQL communicate with the UI? Two basic methods.
    Traditional client-server. The UI is a Delphi/Powerbuilder/VB application. It uses an Oracle Client Driver. It connects to Oracle, executes the PL/SQL code and that code returns data to the UI. The UI renders that data.
    The UI in traditional client-server is a tty (typewriter) device - meaning that each and every key or mouse input can be immediately send (if needed) to the server. E.g. typing text into a combo box can result in a SQL query per keystroke to list the matching values in the database for that filter.
    The UI in traditional client-server also has state. It opens a connection to Oracle. It uses and re-uses that connection. It can lock rows. It can run DML on those rows. It can commit and rollback those locks.
    Thin client-server. The UI is a browser. It has not Oracle Client Driver (or need any other Oracle client software). The UI makes a HTTP (or HTTPS) call to a web server that runs an "Oracle Interface Module". Via this module, a PL/SQL call is made. PL/SQL code writes to a buffer area. The code terminates. This buffer is streamed via the web server to the client UI. The web browser receives this HTTP stream and process it. It renders a web page, graphics, etc.
    The "Oracle Interface Module" is either:
    - a module called MOD_PLSQL used in Apache Web Server
    - a web servlet defined in the EPG web server in Oracle's XML DB
    The UI client is a block device. The user has to enter all the data on the UI. And then submit it. The UI gets a complete screen to render when it receives the data from PL/SQL via the web server.
    The UI client is stateless. It uses a new or different Oracle session each time it talks to the database. It cannot lock rows like in the traditional client-server. It needs to use optimistic locking. PL/SQL code needs to be written to manage the state data for the client. Etc.
    PL/SQL Server Pages are executed via a web server module - the PL/SQL code resides inside HTML pages. This code creates a dynamic HTML pages. This page is send to the web browser.
    Thus, PL/SQL cannot interact with the user. It has to interact with the UI. You cannot use PL/SQL itself as the front-end as it does not run on the client. The front-end has to be an application or browser. PL/SQL needs to send data to that. That UI renders that data and interact with the client. Not PL/SQL.

  • BW Front End

    Hello Experts,
    Can we use any third party front end for reporting or any other reporting software instead of BEx?
    Thanks a lot,
    Nene.
    Message was edited by:
            Nene BW

    Hi dear,
    As you must be knowing BW is an open architecture (see the architeture diagram), it can have 3rd party tools replacing many (almost all) objects. It is just the matter of compatibility between various integrations.
    See diagram under the heading "Business Information Warehouse: Overview" in below link.
    http://help.sap.com/saphelp_bw33/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    Instead of BEx you can use Crystal reports, Cognos, Microsoft based reporting tool and many more.
    Hope this helps.

  • Multiple Managed servers front-ended by 1 OHS instance

    Hi ,
    I have 2 different domains having 1 Managed server in each of them , MS1 and MS2 and they are not clustered . Both have the same webcontext app /cs .
    Is it possible that both these managed servers can be front-ended by a single OHS instance ?
    Please let me know if that is possible and how to achieve the same .
    What I have tried is putting the following set of entries in mod_wl_ohs.conf file :
    <IfModule weblogic_module>
    <Location /cs>
    SetHandler weblogic-handler
    PathTrim /cs
    DynamicServerList Off
    WebLogicCluster host1:port1,host1:port2
    </Location>
    <Location /adfAuthentication>
    SetHandler weblogic-handler
    PathTrim /adfAuthentication
    DynamicServerList Off
    WebLogicCluster host1:port1,host1:port2
    </Location>
    </IfModule>
    Restarted OHS server and then launching http://ohs-host:port/cs shows the login page and after entering the credentials when submit button is clicked , it goes back to the OHS Home page .
    Not sure what other configuration has to be done to achieve this .
    Please share your inputs .
    Thanks,
    Srinath

    Hi Kartheek ,
    mod_proxy_balancer.so is not OOTB available with OHS 11g ,and when using the mod_proxy module all the requests end up going to the first server listed in the module block. Here is httpd.conf :
    <IfModule mod_proxy.c>
    ProxyPass /cs http://hostname1:port1/cs
    ProxyPassReverse /cs http://hostname1:port1/cs
    ProxyPass /adfAuthentication http://hostname1:port1/adfAuthentication
    ProxyPassReverse /adfAuthentication http://hostname1:port1/adfAuthentication
    ProxyPass /cs http://hostname1:port2/cs
    ProxyPassReverse /cs http://hostname1:port2/cs
    ProxyPass /adfAuthentication http://hostname1:port2/adfAuthentication
    ProxyPassReverse /adfAuthentication http://hostname1:port2/adfAuthentication
    </IfModule>
    Is there anything that I have missed out or has to be done to get the servers Load balanced ?
    Thanks,
    Srinath

  • Problem configuring front end host for weblogic cluster

    hi,
    I am using weblogic 8 sp4,I have a cluster of WLI servers for which i am trying to configure a front end host.I am using apache Http server 2.0.55 for the same.
    I copied the mod_wl_20.so file to the modules directory and added the following to httpd.conf file
    LoadModule weblogic_module modules/mod_wl_20.so
    <IfModule mod_weblogic.c>
    WebLogic http://myIP:9191,http://myIP:9192,http://myIP:9193
    ErrorPage http://myerrorpage1.mydomain.com/
    MatchExpression *.jsp
    MatchExpression *.xyz
    </IfModule>
    <Location /weblogic>
    SetHandler weblogic-handler
    PathTrim /weblogic
    </Location>
    however,the error page gets displayed and not the default weblogic page.
    When I change the Error page url to that of my cluster url(i.e)http://myIP:9191, the weblogic default page gets displayed .. I mean to say that the same url doesnot work with the WeblogicCluster parameter but works with
    the ErrorPage parameter.
    Somebody who has configured the front end host using apache http server please clarify, it would be of great help.
    Thanks in advance

    The error.log displays the following (sorry i forgot to add it above :-()
    [Thu Nov 24 15:46:40 2005] [notice] Apache/2.0.55 (Unix) configured -- resuming normal operations
    [Thu Nov 24 15:46:56 2005] [error] Port number specified in WebLogicCluster parameter specified in httpd.conf is not an integer less than 65535
    [Thu Nov 24 15:46:56 2005] [error] CONFIG_ERROR [line 1344 of ap_proxy.cpp]: Port number specified in WebLogicCluster parameter specified in httpd.conf is not an integer less than 65535

  • Setting apache as a front end host-proxy web server for weblogic 10.3.3

    Hi ,
    i have installed apache 2.2.21 in the red hat linux 6 environment.Now i am trying to set that apache web server as a front end host ,proxy web server for my weblogic 10.3 application server cluster. My apache is listening to the port 8080.
    What changes i had to made in admin console of my server as well as in the httpd.conf file of apache.
    Can any one guide me how to proceed ?
    Any help is highly appreciated......

    Thanks Ravi,
    i have already gone through http://docs.oracle.com/cd/E12840_01/wls/docs103/plugins/apache.html.
    In my case "mod_wl_22.so" was not available but i downloaded this p10051826_1033_Generic.zip file from where i got that file and make it available in the modules directory, changed the file permissions (using chmod 755 mod_wl_22.so) and also changed the httpd.conf file as below :
    LoadModule weblogic_module modules/mod_wl_22.so
    <IfModule mod_weblogic.c>
    WebLogicCluster wlserv1:7001,wlserv2.com:7001
    MatchExpression *.jsp
    </IfModule>
    By using /bin/ls command i checked the following :
    /bin/ls: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
    Using file mod_wl_22.so i checked the following:
    mod_wl_22.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped
    My problem is when i used ./apachectl -t i got the following error :
    httpd: Syntax error on line 112 of /u40/app/apache/conf/httpd.conf:
    Cannot load /u40/app/apache/modules/mod_wl_22.so into server: libstdc++.so.5:
    cannot open shared object file: No such file or directory
    So can u please guide me where my problem is and how to rectify it ? Its urgent. please help me.
    Thanks
    Jyoti Ranjan

Maybe you are looking for

  • HP Color LaserJet Pro MFP M476dw

    This printer for some reason only prints B&W when I am printing from Teamviewer but when I print from my own computer, it will print in color and B&W. Does anyone have any suggestions what I can do? Thanks Brad

  • Have an additional file

    Hi, In my scenario, I would like split a message with key fields.      -> File 1 File    -> File 2      -> File n but with each files, I would like attach a referential file:      -> File 1              (Ref) File    -> File 2 (Ref)          (Ref)   

  • Leave unit of measure for calculation type A empty

    Hi Gurus, We are in SRM Extended classic scenario with 5.0 version. Here in SRM we have Procurement contact with process type Global Outline Agreement (GCTR). Currently we are facing problem while amending the condition type in the contact line item.

  • After Effects CC 2014.1.1 freezing constantly?

    Hey everyone. I just got my new college lab of 13 new 6-core, 32GB RAM Mac Pros up and running and brought in my VFX class to give it a test run today. Everyone knows that if there's an issue, students will find it quickly. Anyway, they are all worki

  • IPhoto '11 scrolling bug

    I have been using iPhoto '11 in Mavericks on my iMac and have encountered a minor, albeit irritating, bug. Sometimes when I am browsing photos within an Event, and I right-click the mouse on a photo to bring up the various options (such as Edit in Ex