Working with threads on a Service

Hi Gurus,
I am building a service and I want to run several threads on it, and the number of threads will be customized in the component properties file.
I am thinking on doing a method that will read that property (threadsToRun) and it will create as many threads as I need, but I am not sure if ATG does have something similar to this already out of the box.
This is what I have in mind, but it can be a better way to do this.
     public class SubmitOrdersService extends GenericService {
          private int threadsToRun;
          public int getThreadsToRun() {
               return threadsToRun;
          public void setThreadsToRun(int threadsToRun) {
               this.threadsToRun = threadsToRun;
          public void startService() {
               for (int i = 0; i < getThreadsToRun(); i++) {
                    (new SubmitOrdersThread()).start();
          public void submitOrders() {
          public class SubmitOrdersThread extends Thread {
               public void run() {
                    submitOrders();
Regards,
Obed

I am thinking on doing a method that will read that property (threadsToRun) and it will create as many threads as I need, but I am not sure if ATG does have something similar to this already out of the box.I do not think that ATG will have such functionality, because it is not framework specific but a core concept and logic above, you can use.
But would you like to share that why do you want to limit number of threads?
-RMishra

Similar Messages

  • Anyone been able to get the sap.ca.ui.FileUpload control working with a Gateway OData service?

    Hi,
    I have been trying to get the sap.ca.ui.FileUpload control working with an OData Gateway service, specifically /IWPGW/TASKPROCESSING which is the service used by both Fiori Approve Requests and the Unified Inbox.
    I have looked at the sample application in the Explored at SAPUI5 Explored
    I have managed to replicate that and get it to work, but as soon as I switch it from a JSONModel to an ODataModel I get javascript errors from within the setModel method of the control. I have redefined that method and corrected the errors, which enables me to get a bit further, but then I hit more errors, and other strange behaviour.
    Either I am doing something completely wrong, or to me it appears as if this control is still extremely buggy and maybe either not designed to work with an ODataModel, or just hasn't been tested using an ODataModel. I'm hoping it is my mistake.
    So has anybody out there successfully managed to use this control connecting it to a Gateway OData service? If so please share your experience.
    Thanks,
    Brad

    Hi Pauline,
    Same issue I had, I switched to using a sap.m.list and handling the press as follows:
    attachmentsList.bindItems(workItemPath + "/Attachments", new sap.m.StandardListItem({
                               type: sap.m.ListType.Active,
                               title: "{FileName}",
                               description: "{CreatedByName}",
                               icon: "sap-icon://doc-attachment",
    //                         counter: "{FileSize}",
                          info: {path : "CreatedAt", formatter: dateTimeFormatter},
                          tap: function(oEvent){
                                var oContext = oEvent.getSource().getBindingContext();
                                var media_src = oContext.getProperty().__metadata.media_src;
                                sap.m.URLHelper.redirect(media_src, true);
                        }), new sap.ui.model.Sorter("CreatedAt", true));
    So sap.m.URLHelper.redirect(media_src, true); is what loads the attachment.
    See the full function handler:
    function(oEvent){
    function(oEvent){
                  var oContext = oEvent.getSource().getBindingContext();
                  var media_src = oContext.getProperty().__metadata.media_src;
            sap.m.URLHelper.redirect(media_src, true);
    This should be enough if you only want to list and display the attachments, then you don't really need the FileUploader control as that is more advanced and handles upload, display, change and deletion of files.
    I only needed to upload and display files, so I used a list to display it and created a separate upload button using the sap.ui.unified.FileUploader control.
    Hope that helps.
    Cheers,
    Brad

  • Working with threads

    hello all.
    I find some program that will help me in my work.
    but know i don't know how to change it that it will fit my project. i just want to work with thread pool. i find some code that can do this.
    mu problem is that i don't know how to change the task and the run functions in that program because they are interface. and when i do change them I get all the code errors.
    can you give me an example how can i change this code to do some, like that the task will print something or do something else.
    the code is:
    thanks alot!
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package work2;
    import java.util.ArrayList;
    import java.util.List;
    * @author vitaly87
    public class ThreadPool {
    /** Simple thread pool. A task is executed by obtaining a thread from
    * the pool
      /** The thread pool contains instances of {@link ThreadPool.Task}.
      public interface Task {
        /** Performs the task.
         * @throws Throwable The task failed, and the worker thread won't be used again.
        void run() throws Throwable{}
        /** A task, which may be interrupted, if the pool is shutting down.
        public interface InterruptableTask extends Task {
            /** Interrupts the task.
             * @throws Throwable Shutting down the task failed.
            void shutdown() throws Throwable;
        private class Poolable {
            private boolean shuttingDown;
            private Task task;
            private Thread thread;
            Poolable(ThreadGroup pGroup, int pNum) {
                thread = new Thread(pGroup, pGroup.getName() + "-" + pNum){
                    public void run() {
                        while (!isShuttingDown()) {
                            final Task t = getTask();
                            if (t == null) {
                                try {
                                    synchronized (this) {
                                        if (!isShuttingDown()  &&  getTask() == null) {
                                            wait();
                                } catch (InterruptedException e) {
                                    // Do nothing
                            } else {
                                try {
                                    t.run();
                                    resetTask();
                                    repool(Poolable.this);
                                } catch (Throwable e) {
                                    discard(Poolable.this);
                                    resetTask();
                thread.start();
            synchronized void shutdown() {
                shuttingDown = true;
                final Task t = getTask();
                if (t != null  &&  t instanceof InterruptableTask) {
                    try {
                        ((InterruptableTask) t).shutdown();
                    } catch (Throwable th) {
                        // Ignore me
                task = null;
                synchronized (thread) {
                    thread.notify();
            private synchronized boolean isShuttingDown() { return shuttingDown; }
            String getName() { return thread.getName(); }
            private synchronized Task getTask() {
                return task;
            private synchronized void resetTask() {
                task = null;
            synchronized void start(Task pTask) {
                task = pTask;
                synchronized (thread) {
                    thread.notify();
      private final ThreadGroup threadGroup;
      private final int maxSize;
      private final List waitingThreads = new ArrayList();
      private final List runningThreads = new ArrayList();
      private final List waitingTasks = new ArrayList();
      private int num;
      /** Creates a new instance.
       * @param pMaxSize Maximum number of concurrent threads.
       * @param pName Thread group name.
      public ThreadPool(int pMaxSize, String pName) {
        maxSize = pMaxSize;
        threadGroup = new ThreadGroup(pName);
      synchronized void discard(Poolable pPoolable) {
        pPoolable.shutdown();
            runningThreads.remove(pPoolable);
            waitingThreads.remove(pPoolable);
      synchronized void repool(Poolable pPoolable) {
            if (runningThreads.remove(pPoolable)) {
                if (maxSize != 0  &&  runningThreads.size() + waitingThreads.size() >= maxSize) {
                    discard(pPoolable);
                } else {
                    waitingThreads.add(pPoolable);
                    if (waitingTasks.size() > 0) {
                        Task task = (Task) waitingTasks.remove(waitingTasks.size() - 1);
                        startTask(task);
            } else {
                discard(pPoolable);
      /** Starts a task immediately.
       * @param pTask The task being started.
       * @return True, if the task could be started immediately. False, if
       * the maxmimum number of concurrent tasks was exceeded. If so, you
       * might consider to use the {@link #addTask(ThreadPool.Task)} method instead.
      public synchronized boolean startTask(Task pTask) {
        if (maxSize != 0  &&  runningThreads.size() >= maxSize) {
          return false;
            Poolable poolable;
        if (waitingThreads.size() > 0) {
            poolable = (Poolable) waitingThreads.remove(waitingThreads.size()-1);
        } else {
                poolable = new Poolable(threadGroup, num++);
        runningThreads.add(poolable);
            poolable.start(pTask);
        return true;
      /** Adds a task for immediate or deferred execution.
       * @param pTask The task being added.
       * @return True, if the task was started immediately. False, if
       * the task will be executed later.
      public synchronized boolean addTask(Task pTask) {
        if (startTask(pTask)) {
          return true;
        waitingTasks.add(pTask);
        return false;
      /** Closes the pool.
      public synchronized void shutdown() {
            while (!waitingThreads.isEmpty()) {
                Poolable poolable = (Poolable) waitingThreads.remove(waitingThreads.size()-1);
                poolable.shutdown();
            while (!runningThreads.isEmpty()) {
                Poolable poolable = (Poolable) runningThreads.remove(runningThreads.size()-1);
                poolable.shutdown();
      /** Returns the maximum number of concurrent threads.
       * @return Maximum number of threads.
      public int getMaxThreads() { return maxSize; }
      /** Returns the number of threads, which have actually been created,
         * as opposed to the number of currently running threads.
        public synchronized int getNumThreads() { return num; }
    }

    Sounds like you should read up on the [java tutorials |http://java.sun.com/docs/books/tutorial/essential/concurrency/] on threading.
    I found some car parts that will help me drive. And no, I don't know how to put them together to make a car. But I want to drive on the highway! I found some car parts that can do this.

  • Does the new command 2 binary format work with Apple Push Notification Service? I receive an invalid response status code of 128.

    Does the new command 2 binary format work with Apple Push Notification Service? I am sending 2 messages with the same payload to 2 different devices. None of the messages display on either of the devices. It seems that at least 3 should have been displayed. For my first device, I received a response with an invalid status code of 128 and the message identifier is 2 indicating that the first message was OK. However no message was displayed on the phone. For the second device, I did not receive any error response, but no message was displayed on the device.
    Does ANS perform any validation on the message identifier? The Local and Push Notification Programmin Guide says the message identifier is:
    An arbitrary, opaque value that identifies this notification. This identifier is used for reporting errors to your server.
    I know that the device tokens are valid because the same tokens work when I use the legacy basic or enhanced formats. The phones display the messages correctly when I send to ANS using the old ANS message format.
    Here is the data and the response:
    Sent to ANS: 2 0 0 0 158 1 0 32 120 107 166 143 171 157 143 169 70 135 12 135 246 142 64 224 244 44 116 4 154 65 115 192 206 28 189 56 174 0 172 16 2 0 23 123 34 97 112 115 34 58 123 34 97 108 101 114 116 34 58 34 65 66 67 34 125 125 3 0 4 0 0 0 2 4 0 4 83 7 119 141 5 0 1 5 1 0 32 120 107 166 143 171 157 143 169 70 135 12 135 246 142 64 224 244 44 116 4 154 65 115 192 206 28 189 56 174 0 172 16 2 0 23 123 34 97 112 115 34 58 123 34 97 108 101 114 116 34 58 34 65 66 67 34 125 125 3 0 4 0 0 0 3 4 0 4 83 7 119 141 5 0 1 5
    ANS returned an error: 8 128 0 0 0 2
    Sent to ANS: 2 0 0 0 158 1 0 32 4 239 182 26 13 237 170 136 41 243 181 57 120 208 135 19 101 102 212 70 55 244 251 255 160 125 82 9 10 143 72 17 2 0 23 123 34 97 112 115 34 58 123 34 97 108 101 114 116 34 58 34 65 66 67 34 125 125 3 0 4 0 0 0 5 4 0 4 83 7 119 147 5 0 1 5 1 0 32 4 239 182 26 13 237 170 136 41 243 181 57 120 208 135 19 101 102 212 70 55 244 251 255 160 125 82 9 10 143 72 17 2 0 23 123 34 97 112 115 34 58 123 34 97 108 101 114 116 34 58 34 65 66 67 34 125 125 3 0 4 0 0 0 6 4 0 4 83 7 119 147 5 0 1 5
    ANS did not return a response.

    Hello, can you please help me ?
    You specified sample payload here:
    TerrellFromLockhart wrote:
    I finally got this to work. The picture in the Programming Guide is very confusing. The solution was to prefix every message's frame data with command 2 and that messsage's frame data length. Here is a sample:
    ANS frame: 2 0 0 0 77 1 0 32 120 107 166 143 171 157 143 169 70 135 12 135 246 142 64 224 244 44 116 4 154 65 115 192 206 28 189 56 174 0 172 16 2 0 21 123 34 97 112 115 34 58 123 34 97 108 101 114 116 34 58 34 63 34 125 125 3 0 4 0 0 0 2 4 0 4 83 7 199 195 5 0 1 10 2 0 0 0 77 1 0 32 120 107 166 143 171 157 143 169 70 135 12 135 246 142 64 224 244 44 116 4 154 65 115 192 206 28 189 56 174 0 172 16 2 0 21 123 34 97 112 115 34 58 123 34 97 108 101 114 116 34 58 34 63 34 125 125 3 0 4 0 0 0 3 4 0 4 83 7 199 195 5 0 1 10 2 0 0 0 77 1 0 32 120 107 166 143 171 157 143 169 70 135 12 135 246 142 64 224 244 44 116 4 154 65 115 192 206 28 189 56 174 0 172 16 2 0 21 123 34 97 112 115 34 58 123 34 97 108 101 114 116 34 58 34 63 34 125 125 3 0 4 0 0 0 4 4 0 4 83 7 199 195 5 0 1 10
    About to read response at Thu Feb 20 15:40:20 CST 2014
    SocketTimeoutException
    2 - is clearly command
    0 0 0 77 - frame length
    1 - item Id
    what's 0 32 ? According to this page https://developer.apple.com/library/ios/documentation/NetworkingInternet/Concept ual/RemoteNotificationsPG/Chapters/Commu…
    Item id  should be followed by item length. But item length is obviously greater than 32 because device token's length is 32. Can you please explain why 0 32 were used? and do you have any insight on item id meaning ?

  • I m in from bangladesh 7days ago I bought an iphone 4 but not work with sim card. no service.

    7days ago I bought an iphone4 from my friend Mithu who come from Singapore.
    He told me he that after 7days he come dhaka and open my iphone by using sim. but 4days ago he died on road accident.
    He didn't give me any documents & I also knocking his family for that but said they didn't know about iphone. but i cut a sim & insert it in my iphone but showing no service, some time no sim.
    How can I work with my iphone,
    plz plz plz advise me. I hv not enough money to buy another one,
    Plz help me remembering steve jobs.
    Version------- 4.2.1(8C148).
    Carrier Lab 9.0
    Model MC603B.
    Serial---8602613MA4S

    The iPhone 4 may not work with a cut down SIM. Get a microSIM from your carrier when you set up service.

  • Can I create a form in muse and have it work with a different hosting service?

    I contacted a hosting service that I need to upload the site I built in MUSE to. (Hosting has already been purchased). I asked OMNIS:
    I want to create a form with Muse and then upload my site to OMNIS, not muse, the forms will display as I designed them, but they will not  function. I have someone to help me who is experienced in working with code. I can use Muse to export my site and then open the files in an HTML editor. "Update the source code of the form to make it compatible with the form processing technology used by your hosting provider (OMNIS) before you upload the files to their server." Can you help me with this? Do I need to get a script or something from you?
    OMNIS ASKED me:
    What are MUSE's site requirements?
    I will be building other sites and my clients may want to have the site hosted elsewhere. Can you give me the easiest way to deal with forms?

    Thank you for getting back to me Morgan.
    I read in another forum:
    There's a handy piece of software from CoffeeCup Software called "Web Form Builder". It's pretty affordable and easy to use and it can be hosted on the server of your choice provided that server uses an up-to-date PHP script.
    This is what I have been using....but I would rather not have to deal with a third party form builder at all.
    Do you reccommend this?

  • Publish action not working with JCA based Business Service

    Hi All,
    I have created one BS in OSB that publish the message in AQ. Its working fine as expected when tested from test console.
    I have made one proxy service which after transformation will publish the message to this BS, but the publish action is not invoking.
    I have added log action inside request action of my publish action and log is getting generated for that with correct request.However, I cant see message in DB neither can i see any exception/error logs in OSB.
    I tried replacing publish with route action and its working fine , message is getting published in AQ.Did any one face this type of issue before ???
    Or publish action works only with jms based Business services.
    Appreciate your help.
    Regards,
    Karan

    Bingo !!!
    Setting QOS helped me to find out the exact error. Was passing complete soap envelope to BS instead of passing body part only.
    Thanks a lot for your help mate .
    One more query can you please enlighten me on the use of QOS in OSB, such as in what scenarios we should use QOS.
    Regards,
    Karan
    Edited by: Karan Mann on Mar 14, 2013 3:37 AM

  • JSP PRECOMPILER IS NOT WORKING WITH WEBLOGIC 6.1 SERVICE PACK 5

              When i compile JSPs using JSP PreCompiler in weblogic 6.1
              ( Service Pack 4 ) , compilation is perfect.
              But when i precompile the same JSPs with weblogic 6.1 (Service Pack 5 )
              , i get compilation error.
              Variable Not Found error comes in service pack 5. But the same code works
              well with service pack 4.
              Could anyone help me ?
              [java] C:\CVSMessageRouter\platform-apps\2notify\webapp\consoleapp\.\web\WE
              NF\classes\jsp_servlet\_secure\__confirmation.java:280: cannot resolve symbol
              [java] symbol : variable yesLinkPageText
              [java] location: class jsp_servlet._secure.__confirmation
              [java] htmllink0.setPage(yesLinkPageText); //[ /secure/co
              rmation.jsp; Line: 32]
              [java] ^
              [java] C:\CVSMessageRouter\platform-apps\2notify\webapp\consoleapp\.\web\WE
              NF\classes\jsp_servlet\_secure\__confirmation.java:378: cannot resolve symbol
              [java] symbol : variable noLinkPageText
              [java] location: class jsp_servlet._secure.__confirmation
              [java] htmllink0.setPage(noLinkPageText); //[ /secure/con
              mation.jsp; Line: 37]
              [java] Error: compilation of jsp file /secure/confirmation.jsp (java file C
              VSMessageRouter\platform-apps\2notify\webapp\consoleapp\.\web\WEB-INF\classes
              p_servlet\_secure\__confirmation.java failed):
              [java] ^
              [java] null
              [java] 2 errors
              [java] Error: [jspc]: 1 file(s) failed:
              [java] /secure/confirmation.jsp
              [java] java.io.IOException: Compiler failed executable.exec(java.lang.String
              

    Can you post the jsp page or a example which doesnt compile in sp5. It seems
              difficult to guage what the problem could be from looking at the error.
              --Nagesh
              "george vargeese" <[email protected]> wrote in message
              news:40c56502$1@mktnews1...
              >
              > When i compile JSPs using JSP PreCompiler in weblogic 6.1
              > ( Service Pack 4 ) , compilation is perfect.
              >
              > But when i precompile the same JSPs with weblogic 6.1 (Service Pack
              5 )
              > , i get compilation error.
              >
              > Variable Not Found error comes in service pack 5. But the same code
              works
              > well with service pack 4.
              >
              > Could anyone help me ?
              >
              >
              > [java]
              C:\CVSMessageRouter\platform-apps\2notify\webapp\consoleapp\.\web\WE
              > NF\classes\jsp_servlet\_secure\__confirmation.java:280: cannot resolve
              symbol
              >
              > [java] symbol : variable yesLinkPageText
              > [java] location: class jsp_servlet._secure.__confirmation
              > [java] htmllink0.setPage(yesLinkPageText); //[
              /secure/co
              > rmation.jsp; Line: 32]
              > [java] ^
              > [java]
              C:\CVSMessageRouter\platform-apps\2notify\webapp\consoleapp\.\web\WE
              > NF\classes\jsp_servlet\_secure\__confirmation.java:378: cannot resolve
              symbol
              >
              > [java] symbol : variable noLinkPageText
              > [java] location: class jsp_servlet._secure.__confirmation
              > [java] htmllink0.setPage(noLinkPageText); //[
              /secure/con
              > mation.jsp; Line: 37]
              > [java] Error: compilation of jsp file /secure/confirmation.jsp (java
              file C
              >
              VSMessageRouter\platform-apps\2notify\webapp\consoleapp\.\web\WEB-INF\classe
              s
              > p_servlet\_secure\__confirmation.java failed):
              > [java] ^
              > [java] null
              > [java] 2 errors
              > [java] Error: [jspc]: 1 file(s) failed:
              > [java] /secure/confirmation.jsp
              > [java] java.io.IOException: Compiler failed
              executable.exec(java.lang.String
              >
              >
              

  • Will the 1gig Muvo work with any music subscription servic

    It's not clear to me if the Muvo will work with Napster or Yahoo music. If it doesn't I wonder why you guys bother selling them. Will Zencast work with it as well? I just bought one for my girlfriend for Christmas and I'm already begining to be frustrated by the limitations.

    They will work with some download stores, just not those that use subscription music. Subscription introduces a new method of licensing the files which expires with time, so it requires what is described as a "secure clock" on the player. The older and simpler players don't have these.
    But you can still use normal licensed WMA tracks. Have a look in this thread for some of the places you can get music.
    Zencast is presumably just Podcast style content, which is normally not licensed.

  • If i buy a Unlocked iphone 4s and use it in another country will it work with the countrys data Services that are local

    If i buy a Unlocked iphone 4s and use it in another country, will it work with the countrys Local data Services

    hi guys,
    i recently bought a new iphone 4s factory unlocked. in order to avoid sim failures and invalid sim errors or No service errors, Each phone has to be unlocked by connecting it to the Itunes.
    Kindly follow the below steps to avoid any SIM card conflicts
    iPhone FULL Unlock - How it Works:
    -Connect your iphone to itunes without any network sim inside and when connected click on the iphones name.
    - Click Restore install latest version of iTunes on your Pc or Mac or click check for updates
    - Let itunes Backup your phone and then Flash to the Latest Version.
    - Now disconnect phone and reconnect after 10 seconds.
    - Now Enter another network simcard that's not the same network its locked on to
    - Connect phone to iTunes with not accepted (not valid) simcard
    - Wait until iTunes detects the phone
    - iTunes will display (Congratulations, Your iPhone is now unlocked)
    - Phone Unlocked
    - just follow the instructions about activating the Iphone.
    and iphone is unlocked
    NOTE : This is the only FULL LIFE TIME UNLOCK solution for Apple iPhone as the IMEI is registered as UNLOCKED in Apple database.
    This solution should be used ONLY THOSE WHO BOUGHT FACTORY UNLOCKED iPHONE 4S.
    Your phone will always be unlocked even after each new update of your phone firmware !
    All reasons given like bad IMEI series, manufacturing defects etc blah blah are not logical as everything was tested before every sale.

  • IPPA don't work with 7970 - shows No Services Configured

    Hi,
    i have an problem with the IP Phone Agent at CUCM 8.6 and UCCX 8.5.
    I configured the Phone Service at the CUCM and subscribed it to the 7970. But the Phone only show me the "No Services Configured" when i press the Services Button.
    I opened the link for the Service in my Browser an it worked, i got the XML-Data.
    The Phone has the correct firmware, for the CUCM 8.6, but it doesn't work.
    Has anyone an idea?

    Hi,
    This problem means that the User Profile did not have any services associated with it when the profile was loaded on the phone.
    Perform the following steps:
    1. Change the User Profile to include the Cisco CallManager Extension Mobility service.
    2. Change the phone configuration where the user is logged in to include Cisco CallManager Extension Mobility. After the phone is updated, the user can access the phone services.
    Hope it helps.
    Anand
    Please rate helpful posts..

  • Firefox 4.0 will not work with my Knology email service when 3.6 will, why not?

    I've cut and pasted the Knology response to my question. As you can read below, Knology states it is Firefox issue.
    Mr. Stanley,
    Thank you for contacting Knology Technical Support. I do apologize that you are having problems accessing the webmail service with Firefox. As the error message states this is a problem with Firefox dropping support for some type of code. The way its worded makes me assume that it will be available as a plug in or extension for Firefox, but we do not know what they have dropped out of the base browser. Both Internet Explorer and Google Chrome have no problems accessing the webmail.
    Thank you for choosing Knology,
    Roy
    Knology Technical Support

    You can get Firefox 3.6 from http://www.mozilla.com/en-US/firefox/all-older.html

  • Back arrow does not work with SQL Server Reporting Services Reports. When one pages back from a sub report the back action appears to skip moving to the previous step. IE 8 works fine?

    I have a SSRS report that has a parameter driven drop down list to select a catagory for a report to run a summary for the category in Report Manager. When the report runs there are links to a sub report with more detailed information about the category summary. Firefox runs everything correctly up to this point.
    When I try to back arrow from the sub report Firefox skips the summary report page and reverts to the initial page where the sub category can be selected to run the summary report.
    Can you help? IE8 works well with this but has severe spped issues with reports that contain multiple selection parameters. Firefox handles the multiple parameters very fast but has the page back issue.

    I have a SSRS report that has a parameter driven drop down list to select a catagory for a report to run a summary for the category in Report Manager. When the report runs there are links to a sub report with more detailed information about the category summary. Firefox runs everything correctly up to this point.
    When I try to back arrow from the sub report Firefox skips the summary report page and reverts to the initial page where the sub category can be selected to run the summary report.
    Can you help? IE8 works well with this but has severe spped issues with reports that contain multiple selection parameters. Firefox handles the multiple parameters very fast but has the page back issue.

  • RSS Viewer not working with the BBC Weather Service

    Hi all  
    I  am unable to display an anonymous RSS feed on my  publishing site. I have checked similar posts but mine seems subtly different 
    in ULS
    Cannot find site lookup info for request Uri http://open.live.bbc.co.uk/weather/feeds/en/??????/3dayforecast.rss.
    My farm is patched to  SharePoint 2013, August CU. I am building demo intranet for a client to help them with their requirements. 
    I have not touched the master page ( hoping to do that shortly in the  branding phase) or embeded any JS.....yet
    - BBC weather RSS feed ( have tried this also on the server to check for firewall issue)
    - no Ajax options set
    - Have disabled Data View Caching .. though not sure this makes any difference.  
    My next thought was to start looking to see if  Web Proxy is causing my an issue. I have found this albeit for another version of SharePoint
    <system.net>
    <defaultProxy>
    <proxy proxyaddress="http://Proxy_Server:port" bypassonlocal = "true"/>
    </defaultProxy>
    </system.net>
    Now I have put in my actual proxy ip and port and I am getting close. Do I honestly need to hard code a credential  here ( as I had to with AutoSPSourceBuilder)

    Kumar
    Have you looked at the ULS logs to see if there are any clues. 
    As regards my issue, it  has been 'fixed' but I think it is a tactical solution rather than one we will deploy in production 
    Ok, I noticed when I demoed the intranet to the client last Thursday that one of my feeds was working.   I now  understand that this dev server is no longer using the web proxy. In which case we have two scenarios
    OOTB default Proxy
    <!-- DAN: OOTB <defaultProxy / -->
    <defaultProxy
    This the "tactical" config I have now and all feeds work.
    Proxy settings with bypass list
    <defaultProxy useDefaultCredentials="true">
    <proxy proxyaddress="http://Proxy_Server:Port" usesystemdefault="True"/>
    <bypasslist>
    <add address="http://open.live.bbc.co.uk" />
    <add address="http://MyIndustryFeed/rss" />
    </bypasslist>
    </defaultProxy>
    This is the config I had for my demo.  The second feed didn't work till I added the address to the bypasslist.
     If we were to reconnect the web proxy and use the above,  I understand you need to ensure the  proxy access on the server gets authenticated via the app pool account for the relevant web app - hard code credential or "always allow this
    user ". If you go down this route I will be interested in how you get on..  
    As a consultant all I can do is raise support  issues with the client - I am now allowed domain admin or web proxy access to verify  ;-(

  • Will WLPI 1.2 work with WebLogic 5.1 service pack 8?

    The subject line says it all. I know there had been some problems with WLPI 1.1 and higher service packs, how about 1.2? Can I use service pack 7 or 8?
    Thanks,
    -Rick

    It should.  System requirements call for 10.5.6 or higher, PowerPC or Intel.  It is possible your file is just corrupted.
    Do you have your original iLife installer discs?

Maybe you are looking for

  • Finder smart folder:  "Search for:Today" has changed

    I noticed today that the smart folder has changed and now only seems to be showing applications and not files also. I'm not sure what changed it initially, but to try to "fix" it, I went to the finder toolbar and selected "Action>Show Search Criteria

  • 2012 R2 iSCSI CSV not failing over when storage NICs disabled (no redirected access)

    We have a couple of simple two node Hyper-V clusters. They are fresh installs with 2012R2 (running on Cisco UCS blades). They are configured with dedicated NIC for Management, 2x dedicated NICs for storage (using MPIO and NetApp DSM) and then a trunk

  • IllegalStateException - response has already been commited

    Hi all!           We are running WLS 5.1 sp7 on an NT box.           Our application consists of jsp pages with <jsp:include...>, servlets           and stateful/stateless beans. The only class that actually performs a           forward is a servlet

  • View formatting

    I am having trouble with consistency over various devices. The pages I have built look one way in my laptop a different in another and then different on the mobile device. For example this page repeats the background on the mobile device and smaller

  • Cost Rollup

    Hi I would like to ask about the Cost Roll up Is this process should done only when the Standard Cost Type is used ? Regrads Amr Hussien