Popup Issue with Application using SSL

Hi
I am having an issue with one of our apex applications using SSL.
I have a few popups in my application and for that I am using the Popup2 function that is built into APEX.
When I run the app without a secure layer (directly from the server) I am able to get the popups and everything works fine.
but when I run the app using the regular url https: the popup(s) does not work. When I checked the source code on the web page the error I got is as shown below. I found that the following apex_legacy_4_0.js file was truncated in the source code. It was not retrieved fully.
Message: Expected '}'
Line: 1
Char: 3769
Code: 0
URI: https://xxx/i/javascript/apex_legacy_4_0.js
Can somebody please let me know how I can fix this issue.
Please Note: This was an application that was working without any issues for more than 2years. All of a sudden (since last month) we are getting this error. According to Our Network and DBA's we have not made any changes/patches to our servers.
Thanks
knut
Edited by: knut on Dec 16, 2011 11:18 AM

Ok. I figured it out. The url rewrite was missing in the config. Put it there and its working now.

Similar Messages

  • How to Protect mod_plsql DAD with SSO using SSL

    Hi,
    I am not able to set up any DAD with SSO using SSL. I have processed all issues depending on the Note:273379.1 "How to Protect mod_plsql DAD with SSO".
    When I am not using ssl, my DAD with SSO will work properly.
    But when I am using ssl, my DAD (http://host_name/pls/testsso) will redirect any page to SSO login through http (not through https).
    Any ideas?
    AS 10.1.2.0.2

    Did you run ossoreg.jar to update your osso.conf with the SSL entry for SSO ?

  • Issue with Applications, file paths, mobile accounts in snow Leopard OD

    Hello Everyone,
    The Facts:
    2 x Xserves running Snow Leopard 10.6.2 Server
    (1 is a Open Directory Master, the other a backup/slave)
    About 20 end-users running 10.5.8 Leopard and 10 end-users running 10.6.2 Snow Leopard on MacBook Pro laptops.
    All laptops are Managed Mobile clients with full administrative privileges/rights for the local drive.
    The Issue(s):
    Having an odd issue with many applications like Microsoft Word, Adobe Photoshop etc. not remembering the last used file path and the default network home path showing up instead of the local one.
    This issue ONLY appears with the Snow Leopard clients and the Snow Leopard Server. No matter what, the default path will be the enduser's network home path. This leads to endusers constantly having to sync their home folders to get the copy or losing files altogether.
    The Leopard clients are unaffected, can save to the local hard drive by default and have no issue "remembering" the last accessed file's path (whether local or on the network).
    What gives? What changed? Any thoughts, workarounds, fixes most appreciated.

    Okay, I'll rephrase the issue
    When the Snow Leopard clients are connected to the network and can connect to the OD Master etc, the default path for saving files to the desktop changes to their network accounts e.g. afp://Server/Users/Enduser/Desktop. If they save a file, it will copy here and then the enduser has to synch to get a copy of the file on their local desktop.
    If the client is not connected to the network, no issue. Enduser can save files to the local desktop like normal.
    How do we change this such that the enduser can save to the local harddrive first regardless of being connected?
    All Snow Leopard Clients are mobile accounts which synch hourly the full profile.
    Any further thoughts or similar experiences gang?
    Something we could possibly change in the mcx settings perhaps or am a I missing the point?

  • Anyone having issues with Self-Signed SSL-certs on mail servers?

    Can't get it to allow connecting via SSL to outgoing mail servers with self-signed certificates. Problem did not exist in earlier versions of OSX as far as I know.

    YES. I have a cert from lunarpages, where my accounts are hosted. I'm seeing two issues, and they are different for the different servers at lunarpages:
    1. Multiple logins from different machines --> problem
    2. Multiple accounts accessing same server --> problem
    So, with 1 account on one of lunarpages machines, I can have several machines running Mail with ssl on at the same time and get no problem (that is, once I've saved the certificate and marked it trusted). But as soon as another account (my wife's email on the same domain, for example) tries to access the same server, it gives me an ssl error, a choice to save that cert. and if I do then my account will generate the ssl error. Seems like only one account can have the certificate.
    On another account on a different lunarpages machine, I can't have several machines running Mail at the same time, only the first will get through and the rest will give an SSL error.
    Lunarpages says they can't find a problem, though my last email with them told me to use TLS rather than SSL. Of course, there's no way to specify that in Mail anyway, but I'd thought Mail automatically used TLS anyway, and I'm running the right ports (587 for smtp, 993 for incoming).
    Feels like it's an issue with Mail or the OS's handling of certificates. Any clues on a fix will be most appreciated as this is getting annoying. I've had to turn off SSL on my wife's and daughter's accounts just so that I can use it. And I have to quit Mail so that on the other account I can get my mail on my iPhone. Having to quit Mail on my main work machine is frustrating -- if I forget to do it I can't get mail.

  • Tracing an issue with inetd using dtrace

    Hello,
    I am dealing with an issue with inetd on SunOS 5.10 05/08 with 137137-09 patch.
    The inetd seems consuming more cpu 20% which I think is not normal. The inetd is managing few application processes.
    I also see the inetd spawning child inetd deamon every now and then. I understand that if a parent inetd gets very busy, it
    spawns a child inetd to handle the client requests. Am I right?
    So I want to know what makes the parent inetd consume more CPU. I was wondering if dtrace can help in that regard.
    Any help will be appreciated. Thanks

    Samurai_123 wrote:
    Hello,
    I am dealing with an issue with inetd on SunOS 5.10 05/08 with 137137-09 patch.
    The inetd seems consuming more cpu 20% which I think is not normal. The inetd is managing few application processes.
    I also see the inetd spawning child inetd deamon every now and then. I understand that if a parent inetd gets very busy, it
    spawns a child inetd to handle the client requests. Am I right?No. All incoming connections cause inetd to spawn a child, which then turns into the server that handles the traffic.
    So I want to know what makes the parent inetd consume more CPU. I was wondering if dtrace can help in that regard.It might. You could also just start with simply running truss on the parent inetd and see what it shows.
    Darren

  • Issue with Reports using costume measures - BPC 10.0 NW

    Hello BPC Colleagues,
    I’m having a problem with some BPC reports using costume measures and I would like to have your inputs about this issue.
    When all the reports are executed using a costume measures the report execution fails after a long time of execution (7min). The report has 1200 accounts and 57 company codes.
    In order to create trial balance we create these costume measure. Basically the measures are standars (with a few changes) and it works for limited reports (few account and companies) but we I try to executed for several accounts and companies I have the following error:
    “The execution of report Default Report failed. Please contact your administrator.”
    Error while communicating with the server
    Framework message:
    The underlying connection was close: An unexpected error occurred on a receive.
    Summary of the BPC LOG:
    |An error occurred while receiving the HTTP response to https://BPCENV.APPSET.MODEL. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details.#
    We already increased the PSAPTEMP table and this didn’t fix the issue. At the beginning we were sure that this was an issue with table space but the error persist.
    I don’t think (maybe I’m wrong) that this is not an issue related to the costume measure or to authorizations since I can retrieve data if I reduce the request to less accounts an company, so in my point of view this looks like a performance issue.
    Just for you, below you will find the details about our measure that generate the problem:
    'IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="INC",SUM(PERIODSTODATE([%TIME%].[%TIMEYEARLEVEL%], [%TIME%].CURRENTMEMBER), [MEASURES].[/CPMB/SDATA]),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="EXP",SUM(PERIODSTODATE([%TIME%].[%TIMEYEARLEVEL%],[%TIME%].CURRENTMEMBER),[MEASURES].[/CPMB/SDATA]),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="AST",([MEASURES].[/CPMB/SDATA],CLOSINGPERIOD([%TIME%].[%TIMEBASELEVEL%])),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="LEQ",([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[%TIMEBASELEVEL%])),[MEASURES].[/CPMB/SDATA]))))';SOLVE_ORDER=3
    Finally is important to mention that we are using BPC 10.0 NW (SP08)
    If you have any suggestion for me I will appreciate.
    Thanks you a lot!

    Hi Vadim,
    Once again, thanks for your help.
    We already modified the YTD standard measure but is with that measure that I have problem. Do you think that my new formula is not efficient and for that reason I’m having this problem? Is this correct?.
    Below you will find the standard and costume measure. In red I marked the difference between these 2 formulas:
    YEAR TO DATE CUSTOME MESURE:
    'IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="INC",SUM(PERIODSTODATE([%TIME%].[%TIMEYEARLEVEL%], [%TIME%].CURRENTMEMBER), [MEASURES].[/CPMB/SDATA]),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="EXP",SUM(PERIODSTODATE([%TIME%].[%TIMEYEARLEVEL%],[%TIME%].CURRENTMEMBER),[MEASURES].[/CPMB/SDATA]),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="AST",([MEASURES].[/CPMB/SDATA],CLOSINGPERIOD([%TIME%].[%TIMEBASELEVEL%])),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="LEQ",([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[%TIMEBASELEVEL%])),[MEASURES].[/CPMB/SDATA]))))';SOLVE_ORDER=3
    YEAR TO DATE STANDAR MEASURE:
    'IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="INC",SUM(PERIODSTODATE([%TIME%].[%TIMEYEARLEVEL%], [%TIME%].CURRENTMEMBER),-[MEASURES].[/CPMB/SDATA]),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="EXP",SUM(PERIODSTODATE([%TIME%].[%TIMEYEARLEVEL%],[%TIME%].CURRENTMEMBER),[MEASURES].[/CPMB/SDATA]),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="AST",([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[%TIMEBASELEVEL%])),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="LEQ",-([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[%TIMEBASELEVEL%])),-[MEASURES].[/CPMB/SDATA]))))';SOLVE_ORDER=3
    If you have any suggestion to correct my formula I would really appreciate it.
    Regards,

  • Facing issue with concurrent use of session

    Hi All,
       We are facing concurrent use of session.save call in our LDAP sycn up process. Issue we got while performing performance test for multiple user and issue is at com.day.crx.security.ldap.LDAPUserSync.performUpdate api. Please guide me what could be wrong missing in code due to this Out of box service is showing error.
    Below are logs:
    02.01.2013 14:32:07 WARN SessionState: Attempt to perform session.save() while another thread is concurrently writing to session-system-1. Blocking until the other thread is finished using this session. Please review your code to avoid concurrent use of a session. (SessionState.java, line 149)
    java.lang.Exception: Stack trace of concurrent access to session-system-1
    at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:147)
    at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:355)
    at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:758)
    at com.day.crx.security.ldap.LDAPUserSync.performUpdate(LDAPUserSync.java:230)
    at com.day.crx.security.ldap.LDAPUserSync.syncUser(LDAPUserSync.java:178)
    at com.day.crx.security.ldap.LDAPLoginModule.commit(LDAPLoginModule.java:266)
    at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
    at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
    Regards,
    Yogesh

    Hey Jorg,
    Your comments are much appreicated!
    question about the statement "it seems, that you import lot of users concurrently from the LDAP".  for us yes we are but the question is should that me problamatic?  We do see that it is causing issues for us  in CQ5.5 with CRX 2.3.15:
    com.day.crx.security.ldap.LDAPLoginModule commit: could not commit: javax.jcr.InvalidItemStateException: property /some/LDAP/group/rep:lastsynced: the property cannot be saved because it has been modified externally.
    However we had no such issue with CQ5.3 with CRX2.0
    -Faraz

  • Issue with Alerts using BPM : Trigerred for Successful messages also

    Hi Everybody,
    I am working on configuring Alerts using BPM.
    I have followed the below blog by Micheal.
    /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    In BPM after the receive step I have used container and control steps to capture the Idoc Number as mentioned in the blog.
    I am facing an issue with it now as an Alert message is send to my Inbox even when the message is succesfully processed by the adapter.
    This is a strange behaviour when we talk about Alerts.
    Can somebody help me out in this?
    Thanks & Regards,
    Zabiulla

    Hi Zabiulla,
    Michal explained just the basic, the logic of your process is to build by yourself. Usually an alert will be raised inside of an exception branch. You can define exceptions for critical operations, f.e. send steps or transformations, the exception will be catched by jumping to the exception branch, where you can store a suitable reaction - f.e. an alert.
    Regards,
    Udo

  • Messaging Bridge with MQ using SSL

    Hi everybody,
    I'm using JMS messaging bridge to transfer messages from WLS 10.3.6 running on a Solaris machine to remote WebSphere MQ 7 running on an AIX machine. Weblogic reads the configuration of remote MQ from a text file, called .bindings, created using the MQ JMSAdmin tool. The file defines a connection factory with the IP address, port, queue and queue manager name and other important definitions of the remote MQ.
    The thing is that the bridge starts pretty well and transfer messages normally, but I need to change the configuration to use SSL. To do it I just added the parameter SSLCIPHERSUITE(SSL_RSA_WITH_RC4_128_MD5) and thought it was enough to achieve the goal.
    <May 12, 2014 3:05:45 PM BRT> <Debug> <MessagingBridgeRuntimeVerbose> <BEA-000000> <Exception:
    com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2009
    MQJE016: MQ queue manager closed channel immediately during connect
    Closure reason = 2009
    Wondering the error could be relatedo to an SSL exception, I enabled the SSL debugging (-Dssl.debug=true) to the managed server, but there were no evidences of an SSL handshake of Weblogic and MQ, so there is no SSL communication between the peers.
    Does anybody know if this kind of communication is feasible? What may I be missing here?
    Tks!

    Hi everybody,
    I'm using JMS messaging bridge to transfer messages from WLS 10.3.6 running on a Solaris machine to remote WebSphere MQ 7 running on an AIX machine. Weblogic reads the configuration of remote MQ from a text file, called .bindings, created using the MQ JMSAdmin tool. The file defines a connection factory with the IP address, port, queue and queue manager name and other important definitions of the remote MQ.
    The thing is that the bridge starts pretty well and transfer messages normally, but I need to change the configuration to use SSL. To do it I just added the parameter SSLCIPHERSUITE(SSL_RSA_WITH_RC4_128_MD5) and thought it was enough to achieve the goal.
    <May 12, 2014 3:05:45 PM BRT> <Debug> <MessagingBridgeRuntimeVerbose> <BEA-000000> <Exception:
    com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2009
    MQJE016: MQ queue manager closed channel immediately during connect
    Closure reason = 2009
    Wondering the error could be relatedo to an SSL exception, I enabled the SSL debugging (-Dssl.debug=true) to the managed server, but there were no evidences of an SSL handshake of Weblogic and MQ, so there is no SSL communication between the peers.
    Does anybody know if this kind of communication is feasible? What may I be missing here?
    Tks!

  • Issues with WebDav over SSL via Terminal Server when Accessing SharePoint 2013

    Hi All,
    We have deployed a terminal server from which multiple users access and heavily use SharePoint 2013 (hosted on a separate server). The SharePoint site is published to the internet and is operating over an SSL certificate. Over the last few months we have
    been encountering a randomly occurring issue where all the users become unable to use Open with Explorer or mapped drives to access the site. During this time they can still access the site through the browser OK and download files etc. This issue sometimes
    reoccurs every few days, although at points it hasn't occurred for a couple of weeks before resurfacing.
    Current Terminal Server Config
    TS 2008 R2 Enterprise
    Site added to Trusted Sites. (have checked during broken time and still recognized as trusted)
    Using IE 11, site added as compatibility view
    Registries updated as below
    reg add HKLM\SYSTEM\CurrentControlSet\Services\WebClient\Parameters /v AuthForwardServerList /t REG_MULTI_SZ /d "*.clientsite.com"
    reg add HKLM\SYSTEM\CurrentControlSet\Services\WebClient\Parameters /v BasicAuthLevel /t REG_DWORD /d 2 /f
    reg add HKCU\Software\Microsoft\Office\14.0\Common\Internet /v BasicAuthLevel /t REG_DWORD /d 2 /f
    registry added for tabprocgrowth added to 2
    My test result are below:
             Restarting the SharePoint server or the terminal server will resolve the behaviour
    until the issue occurs again.
    Users on the terminal server can still open the
    ttps://clientsite2.harrierhc.com
    URL (this url is bound to the same UCC cert) with open with explorer during this time.
    While users are unable to access the ttps://clientsite.harrierhc.com
    URL, if they access the same site from WebDAV with a separate binding (e.g. ttp://clientsite the behaviour works fine.
    All other users not on the terminal server can still use the open with explorer behaviour during this time.
    IIS reset on the SP Server & restarting the web client service on the terminal server have no impact
    Reimporting the IIS certs have no impact
    There are numerous errors in both server’s event logs but none at the time of the issue instigation.
    Clearing the IE cached certificates has no impact
    Going to IE properties for the site and clicking the ‘Install Certificate’ has no impact
     Any ideas or suggestions would be much appreciated. If you need any more info let me know. (sorry for the ttps:// links cant be posted until my account is verified?
    Thanks again

    Hiya,
    are there any load balancers involved?

  • Weird issue with merge using JPA...?

    Hi all,
    I have the following code snippet (HsTrans has a manytoone relation with Hss), Hss is the parent
                HsTrans hsTrans = new HsTrans();
             Hss hss=em.find(Hss.class, studyId);
             hsTrans.setStudy(studyId);
             hsTrans.setState(state.toString());
             hsTrans.setTimestamp(timeOfState);
             hss.getHsTrans().add(hsTrans); //Add child to aprent
             hsTrans.setHss(hss);                //Child Parent
                em.merge(hss);  // Does not work Throws a Unique Key violation error
    Whereas replacing the same with this
             Hss hss2=hsStudyTrans.getHsStudy(); 
                em.merge(hss2); // Works fine
       Does anyone know if this is a JPA bug or some other issue.
    Thx
    VR

    RainaV wrote:
    Does anyone know if this is a JPA bug or some other issue.JPA is a specification, so it has no bugs (only design flaws). If there is a bug somewhere it is in the persistence provider you are using, but most likely it is just you not understanding how merge and transaction management in general works. I've written dozens of applications now that use JPA and I think I really needed merge a grand total of once.
    In this snippet you provide, you are apparently making the 'hss' object managed through the em.find() method. This means that any changes you make to it will be made persistent as soon as the transaction is committed. You don't need to call merge() at all, you only call that on entities that are detached.
    Now for the actual problem of unique key violation, I don't even see you committing hsTrans. Change the code to this:
    HsTrans hsTrans = new HsTrans();
    Hss hss=em.find(Hss.class, studyId);
    hsTrans.setStudy(studyId);
    hsTrans.setState(state.toString());
    hsTrans.setTimestamp(timeOfState);
    hsTrans.setHss(hss); // set managed hss object
    em.persist(hsTrans); // persist hsTrans and make it managed
    hss.getHsTrans().add(hsTrans); // add the new managed hsTrans to the hss mapped collection

  • Issue with STOR using FTP & TLS

    Currently I've developed a small FTPSClient class which basically extends Apache's FTPClient. After a lot of work, I was able to get connected, log in, etc. Now, I'm having a problem sending a file to the FTP server (data channel protected.)
    Here is RFC 4217's guideline for doing so:
    12.7.  A Firewall-Friendly Data Transfer with Protection
                  Client                                 Server
         control          data                   data               control
       ====================================================================
         PASV -------------------------------------------------------->
                                                 socket()
                                                 bind()
             <------------------------------------------ 227 (w,x,y,z,a,b)
                          socket()
         STOR file --------------------------------------------------->
                          connect()  ----------> accept()
             <-------------------------------------------------------- 150
                          TLSneg()   <---------> TLSneg()
                          TLSwrite()  ---------> TLSread()
                          TLSshutdown() -------> TLSshutdown()
                          close()     ---------> close()
             <-------------------------------------------------------- 226Here's a runtime example from the client:
    INFO  12-28-06 2:29:52,644 PM - Connecting to xxx.xxx.xxx.xxx : 20021
    INFO  12-28-06 2:29:59,404 PM - Attempting to connect to xxx.xxx.xxx.xxx on port 20021...
    INFO  12-28-06 2:30:01,557 PM - 220 <<<Connect:Enterprise UNIX 2.2.00 Secure FTP>>> at bcftweb1 FTP server ready. Time = 14:31:18
    INFO  12-28-06 2:30:01,557 PM - Issuing 'AUTH TLS' command
    INFO  12-28-06 2:30:01,647 PM - 234 AUTH TLS-C/TLS OK.
    INFO  12-28-06 2:30:07,365 PM - Starting handshake...
    INFO  12-28-06 2:30:07,655 PM - 200 PBSZ 0 OK.
    INFO  12-28-06 2:30:08,066 PM - 200 PROT P OK, data channel will be secured.
    INFO  12-28-06 2:30:08,066 PM - Attempting login as FRONDUN
    INFO  12-28-06 2:30:08,316 PM - 230 Connect:Enterprise UNIX login ok, access restrictions apply.
    INFO  12-28-06 2:30:08,406 PM - Calling _openDataConnection_...
    INFO  12-28-06 2:30:08,737 PM - 150 Opening ASCII mode data connection for 2006-12-28_02.30_PM.test.dat
    INFO  12-28-06 2:30:14,275 PM - Starting handshake+...
    INFO  12-28-06 2:30:15,176 PM - Bytes transferred 53120
    ERROR 12-28-06 2:30:17,319 PM - 452 Put failed : SSL/TLS error.The results are a half-sent file lying server-side (i.e. the file is 51kb and it's anywhere from 39-50kb.) As you can see, I can at least get to the 150 reply message. This means somewhere between TLSneg() and close() something gets screwed up. I don't think it's TLSneg() because it gets past the handshake and actually sends the data. TLSshutdown() refers to close_notify and I'm told that SSLSocket.close() handles this behind the scenes. I've tried SSLSocket.getOutputStream() and just wrote to that but I ended up with the same results. Anyways here's the applicable code and if anyone has done this before I would greatly appreciate some help.
    Also , I'm in local passive mode and another odd note is that small files (< 5kb) send across fine.
        private boolean __storeFile(int command, String remote, InputStream local)
        throws IOException
              logger.info("Calling _openDataConnection_...");
            Socket tmpSocket = _openDataConnection_(command, remote);
              logger.info(this.getReplyString());
            if (tmpSocket == null)
                throw new IOException("_openDataConnection_ returned null Socket");
              FtpsSocketFactory factory = new FtpsSocketFactory(this.context);
              SSLSocket socket = (SSLSocket) factory.createSocket(tmpSocket, tmpSocket.getInetAddress().getHostName(), tmpSocket.getPort(), true);
              logger.info("Starting handshake+...");
              socket.startHandshake();
              OutputStream output = new BufferedOutputStream(socket.getOutputStream(), getBufferSize());
            if (getFileType() == ASCII_FILE_TYPE)
                output = new ToNetASCIIOutputStream(output);
            // Treat everything else as bisnary for now
            try
                logger.info("Bytes transferred " + Util.copyStream(local, output, getBufferSize(),
                                CopyStreamEvent.UNKNOWN_STREAM_SIZE, null,
                               false));
            catch (IOException e)
                try
                    socket.close();
                catch (IOException f){}
                throw e;
            output.close();
            socket.close();
              tmpSocket.close();
              return (FTPReply.isPositiveCompletion(getReply()));
        }-Bill

    I have had this issue many times too. I have found that simply exporting the HTML and uploading using a 3rd party programme like Filezilla proves much easier and faster.

  • Issu with multiselection using Checkbox in adf 11.1.1.7

    Hi Experts,
    in my  application i m using table with pagination property and i also add multiselection using boolean check box , i created boolean transient variable in VO  , and multiselection work fine but in one scenario its fail ,
    Scenario is :-
    suppose i check 3 row in table then i click next for pagination then i also check 2 row in table the i go back to first pagination where i have already check 3 values i uncheck 1 value and go next pagination where i check 2 values then i go back to first pagination (now problem is there) here i find 3 check rows  that is problem here i must found 2 check rows .uncheck is not showing in scenario.
             plz help.......................

    Hi
    if your VO  is absed on entity add the transient attribute in EO and use that atribute in VO
    if your VO is not based on EO ,then add one tarnsient attribute in EO use that attribute in VO.
    I had this issue while implemnting checkbox selection adf table.My VO is not based on EO so i have used one Entity in which i have added one transient attribute .

  • Dynamic Tabs Shell : issue with taskflows using pages

    Hi,
    We use the Dynamic tabs shell page template in our application.
    It works fine when used with taskflows with page fragments.
    However it errors when trying to render a taskflow with pages instead of fragments as:
    <FormRenderer><encodeAll> Multiple forms detected on viewId: /starter. Rich client currently has some limitations in dealing with multiple forms.
    <Jul 27, 2010 9:42:23 PM IST> <Error> <HTTP> <BEA-101020> <[ServletContext@32152418[app:calcmgr module:calcmgr path:/calcmgr spec-version:2.5]] Servlet failed with Exception
    java.lang.NullPointerException
         at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:233)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:765)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2567)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:432)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1071)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:765)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1515)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeAll(UIXComponentBase.java:785)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
         at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:271)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:202)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:710)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:205)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at 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.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at 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)
    Is this a known issue or constaint with Dynamic Tabs Shell page template?

    Actually I don't think the answer is as clear cut as the dynamic tab shell template (aka. UI Shell) doesn't support task flow with pages, as, we have an application that uses it that calls out to a BTF using pages and it works fine. The catch is that BTF itself doesn't use the UI Shell. So it really depends what you mean.
    Can you be more specific what you're attempting to achieve? Are you trying in one page that uses the UI Shell, to embed a BTF in a region where the BTF uses pages rather than page fragments? Or, do you simple want lots of pages in your overall applications unbounded task flow to include the UI Shell template? As Alex has asked, we don't really have information of what you're trying to put in what at this stage.
    For the record, the better forum to ask such questions about the dynamic tab shell template is the ADF UI Patterns & Best Practices OTN forum:
    ADF UI Patterns & Best Practices
    ...however given you've started this thread here, you might as well continue.
    CM.

  • Store Issues with Application Connection

    Trying to use the latest itunes to update applications on my Iphone 3. I am able to view items in the store and everything, but when i try to downlaod an application, or podcast, Itunes informs me that I cannot do this beause the connection has timed out. After reading some forums people suggested logging out and logging back into Itunes. I successfully managed to log out, but now I cannot log back in becasue of the connection time out... Any help would be apprciated

    I'm having same issues exactly, cannot download my app updates, and "network connection is lost". No reall suggestion what to do, just confirming my view of the recent wackiness emanating from the Store....

Maybe you are looking for