Weblogic server proxy issues with twitter4j api

I am using weblogic 10.3.4 using twitter4j Api running behind the proxy. I am not sure why I am getting this error. I do have the proxy name,port number, userid and password set in the twiiter4j api. The same code works fine for me in tomcat behind proxy. When I was trying to migrate from tomcat to weblogic i am getting following error. Any help is really appreciated. I am not sure its the issue with weblogic
Thanks for the help
Vinoj
<Failed to communicate with proxy: tmsproxy.tms.toyota.com/80. Will try c
onnection stream.twitter.com/443 now.
weblogic.net.http.HttpUnauthorizedException: Proxy or Server Authentication Required
at weblogic.net.http.HttpURLConnection.getAuthInfo(HttpURLConnection.java:297)
at weblogic.net.http.HttpsClient.makeConnectionUsingProxy(HttpsClient.java:440)
at weblogic.net.http.HttpsClient.openServer(HttpsClient.java:351)
at weblogic.net.http.HttpsClient.New(HttpsClient.java:527)
at weblogic.net.http.HttpsURLConnection.connect(HttpsURLConnection.java:239)
Truncated. see log file for complete stacktrace
Dumping beanImpl -> ejbName map
weblogic.management.j2ee.mejb.MejbBean: Mejb
connect timed out
Relevant discussions can be found on the Internet at:
http://www.google.co.jp/search?q=944a924a or
http://www.google.co.jp/search?q=24fd66dc
TwitterException{exceptionCode=[944a924a-24fd66dc 944a924a-24fd66b2], statusCode=-1, message=null, code=-1, retryAfter=-1, rateLim
itStatus=null, version=3.0.4-SNAPSHOT(build: f34757f6d8512eca8028601d9de303e0173d8d42)}
at twitter4j.internal.http.HttpClientImpl.request(HttpClientImpl.java:177)
at twitter4j.internal.http.HttpClientWrapper.request(HttpClientWrapper.java:61)
at twitter4j.internal.http.HttpClientWrapper.post(HttpClientWrapper.java:98)
at twitter4j.TwitterStreamImpl.getFilterStream(TwitterStreamImpl.java:304)
at twitter4j.TwitterStreamImpl$7.getStream(TwitterStreamImpl.java:292)
at twitter4j.TwitterStreamImpl$TwitterStreamConsumer.run(TwitterStreamImpl.java:462)
Caused by: java.net.SocketTimeoutException: connect timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at weblogic.net.http.HttpsClient.openWrappedSSLSocket(HttpsClient.java:565)
at weblogic.net.http.HttpsClient.openServer(HttpsClient.java:287)
at weblogic.net.http.HttpsClient.openServer(HttpsClient.java:364)
at weblogic.net.http.HttpsClient.New(HttpsClient.java:527)
at weblogic.net.http.HttpsURLConnection.connect(HttpsURLConnection.java:239)
at weblogic.net.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:255)
at twitter4j.internal.http.HttpClientImpl.request(HttpClientImpl.java

Hi,
Has anybody got the solution like 64-bit libroxy or its source code to compile as 64-bit? I'm facing the same problem.

Similar Messages

  • Oracle Weblogic Server 12c, issue with deploying the war created from Wavemaker tool

    Hi
    Recently, I am facing an issue with Oracle Web logic Server 12c, on deploying the war file (created from Wavemaker tool) to running Web logic server, it shows deployment health status is OK and web application is Active. But when I visit the home page of the application, it is unable to load the javascript files in the context and I am getting below error. Please you can check these errors in the Inspect window of the browser :
    Here are the errors on hitting index page after deploying the war file to Web Logic.
    http://localhost:7001/TestWarProject
    http://localhost:7001/TestWarProject/lib/runtimeLoader.js  404 (Not Found) index.html:39
    http://localhost:7001/TestWarProject/config.js  404 (Not Found) index.html
    Uncaught ReferenceError: wm is not defined project.a.js:1
    (anonymous function) project.a.js:1
    Uncaught ReferenceError: wm is not defined index.html:89
    (anonymous function) index.html:89
    But when I exploded the war file and copy the whole application in the auto deploy folder and restart the server, it is working fine.
    Can you please what is the issue not setting context path properly on deploying the war on the fly?
    Has anyone found any appropriate solution or workaround? Can you please share?
    Thanks in advance for helping me out.
    ~pcg

    Hi
    Recently, I am facing an issue with Oracle Web logic Server 12c, on deploying the war file (created from Wavemaker tool) to running Web logic server, it shows deployment health status is OK and web application is Active. But when I visit the home page of the application, it is unable to load the javascript files in the context and I am getting below error. Please you can check these errors in the Inspect window of the browser :
    Here are the errors on hitting index page after deploying the war file to Web Logic.
    http://localhost:7001/TestWarProject
    http://localhost:7001/TestWarProject/lib/runtimeLoader.js  404 (Not Found) index.html:39
    http://localhost:7001/TestWarProject/config.js  404 (Not Found) index.html
    Uncaught ReferenceError: wm is not defined project.a.js:1
    (anonymous function) project.a.js:1
    Uncaught ReferenceError: wm is not defined index.html:89
    (anonymous function) index.html:89
    But when I exploded the war file and copy the whole application in the auto deploy folder and restart the server, it is working fine.
    Can you please what is the issue not setting context path properly on deploying the war on the fly?
    Has anyone found any appropriate solution or workaround? Can you please share?
    Thanks in advance for helping me out.
    ~pcg

  • Weblogic Server 8.1 with SP6

    Currently we are running with BEA Weblogic server 8.1 with service pack upgraded to SP6 lately. I heard that it will require the upgrades of Oracle database to V 9.2.0.4. Is this required? I am wondering if we need to workout this upgrade to our db. Thanks.

    I saw that the documentation mentioned Oracle9i RAC (for Oracle 9.2.0.4) supported in SP6. Does it mean those other lower versions are not supported?
    http://e-docs.bea.com/platform/suppconfigs/configs81/81_over/overview.html
    http://e-docs.bea.com/platform/suppconfigs/configs81/81_over/supported_db.html

  • Lion server file sharing issue with windows API read/write ini file (GetPrivateProfileString)

    Hello,
    I try to config lion server as file server for a windows application we use at work. All other computers are windows 7 or XP, lion server is the only mac. I choose lion server because it's size, quality and personal love of apple products.
    10.7.2 lion server's samba file sharing works almost perfectly with all my windows machines, I can copy, delete, modify any text files or office files without any issue, but the most important windows application for my business doesn't work with samba file sharing. After some digging, I found it is because windows program can't read or write INI file stored on lion share. Windows API GetPrivateProfileString always returns empty if the INI file is store on lion share.
    You can download a small application for read/write windows INI file from codeproject.com to test this problem:
    http://www.codeproject.com/KB/files/ini.aspx
    I can open/edit the in file using any text editor without any problem. The only problem is with those windows APIs. ACL is turned on for my lion share and assigned "delete" rights to samba users.
    I install samba3 on the same server; it works perfectly with windows API. My windows program also works. Looks like there is something wrong with lion server's sambax.
    I'd prefer to use built-in samba even I have samba3 working. Built-in samba is very immature right now, but considered how young it is, I will give apple some time to make it mature.
    Does anyone have same issue or knows how to fix it?
    Thanks,
    Michael.

    All the memory is fine. The server rarely if ever goes down when there are only around 10-12 users connected. When there are 20+ users connected and working heavily it goes down often. When I say working heavily, I mean they are transferring huge files to the SAN (100GB+), sometimes 5 at a time per user, and there are a bunch of others who are reading large video files at a minimum of 220MB/sec from the SAN.
    Though this worked on Snow Leopard without any issues, Lion just doesn't seem to be able to handle it. The odd thing is, on Snow Leopard there was only a single 1GB ethernet connection to a NAS system, whereas with Lion we have a much more powerful machine with a 6-port 10GB ethernet card and a 4 lane 8GB fiber card to a true SAN. You would think that the newer scenario with Lion would handle far more users with ease.
    So far, very disappointing with regards to Lion's file serving performance.

  • Weblogic Server upgrade along with Forms & Reports

    Hi Gurus,
    I would need some help on upgrading one our Weblogic server from 10.3.2 to 10.3.6. Also, we have forms & reports ( version: 11.1.1.2 ) configured on this server and we would have to upgrade this to version: 11.1.2.1
    Can you please help me or point me to a good document to do this.
    I am a DBA and my weblogic experience is very little.
    Thanks
    Prakash
    Edited by: 1004698 on May 8, 2013 4:52 AM

    Hi Prakash,
    First, very smart decision to move to 11gR2 Forms - performance is much better in 11gR2. Customers i've worked with, are very happy with it compared to 11gR1.
    Now, if you want to upgrade from 11gR1 (11.1.1.2) to 11gR2 Forms (11.1.2.1), I would do a new install. Simply because, there is no simple/straight-forward Architecture upgrade path from 11gR1 to 11gR2 Forms. And the installation will also be a clean isntall. Don't worry about your forms/reports source code, you can just recompile no problem in 11gR2 Forms.
    If you want to do a re-install heres some things to consider:
    1.) Update and/or Install an Oracle certified JDK - you can verify the correct JDK in the certification matrix provided by oracle: http://www.oracle.com/technetwork/developer-tools/forms/oracle-forms-11gr2certmatrix-519680.xls
    2.) Verify your OS is certified with Forms 11gR2
    3.)Install WLS in a new middleware Home.
    4.) At his point, you should install the Oracle Forms 11gR2 Binaries Home in your new 10.3.6 Middleware Home.
    5.) Optional: If you want the same exact ports as 11gR1 Forms installation - you'll have to shutdown all the 11gR1 Forms/Reports processes- OPMN Processes, WLS_FORMS, WLS_REPORTS, AdminServer.
    5.) Run the Forms 11gR2 Configuration Wizard to install and configure a new Forms 11gr2 domain.
    6.) After the configuration wizard completes successfully:
    - Migrate over your formsweb.cfg/env settings
    - Migrate ORACLE_HOME customizations
    - Definitely install/configure webutil components
    - Migrate over any other additional customizations
    If you run into any weird issues, check out my companies knowledge base, its full of installation knowledge: http://pitss.com/us/knowledgebase/
    Hope this helps!
    Gavin

  • Facing intermittent issue with findByAltKey api

    We are facing an intermittent issue with findByAltKey while invoking from service in out code and so we want to understand the expected behavior of this api
    the issue is we have an unposted row in the cache which we need to retrieve.So we are doing a findByAltKey and based on the alternate keys it should return the row,but it fails sometimes.
    We noticed while debugging that one of the alternate key attributes that we have defined on our EO is "Name" and the value of name in the EntityCache is sometimes becoming null.As a result of this the alternatekey attributes we pass doesnt match the EO.getAltKey(index) and it in turn doesnt fetch the row.
    This attribute "Name" is present both in the base table and the translation table and there is a view link from parent VO to the TL(translation) VO.
    What we want to understand here is when we do a findByAltKey based on name ,from where does it gets the name from the base vo or translation vo? And is it because of this sometimes this value in the cache is null?
    Can anyone please explain the above issue.

    Hi,
    Which SOA server you are using?
    A & B are synch or Asynch processes?
    Thanks
    Arik

  • Server proxy implementation with synchronous inbound interface

    <b>Hi all,</b>
        How we can implement a server proxy with synchronous inbound interface.If any example weblog please send the link.
    <b>thanks,
    Kishan.</b>

    Hi,
    For sync interface. You have to have a sync MI with both request and response message type.
    when you generate a proxy for the same , you will get a method called execute_synchronous, and import and export parameter.
    You don't have explicitly identify anywhere that the interface is sync.
    Regards
    Vijaya

  • WebLogic Server installation Crashing with a fatal error - SIGSEGV

    Hello WLS Gurus,
    I am in the process of installing Discoverer 11 and I am facing problems with launching wls1036_generic.jar installer.
    I have installed installed Java 7 as follows:
    cd /u02/appldisc/11.1.1/Middleware
    tar -xvzf jdk-7u25-linux-x64.tar.gz
    JAVA_HOME=/u02/appldisc/11.1.1/Middleware/jdk1.7.0_25
    I then excuted:
    $JAVA_HOME/bin/java -Xmx1024m -jar wls1036_generic.jar
    and the installer crashed with this error output:
    # A fatal error has been detected by the Java Runtime Environment:
    #  SIGSEGV (0xb) at pc=0x0000003b09e14d70, pid=28328, tid=139864618293008
    # JRE version: 7.0_25-b15
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (23.25-b01 mixed mode linux-amd64 compressed oops)
    # Problematic frame:
    # C  [ld-linux-x86-64.so.2+0x14d70]
    # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
    # If you would like to submit a bug report, please visit:
    #   http://bugreport.sun.com/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    ---------------  T H R E A D  ---------------
    Current thread (0x00007f34d03b9000):  JavaThread "AWT-EventQueue-0" [_thread_in_native, id=28346, stack(0x00007f34c4d3d000,0x00007f34c4e3e000)]
    siginfo:si_signo=SIGSEGV: si_errno=0, si_code=128 (), si_addr=0x0000000000000000
    Registers:
    RAX=0x0000000000000001, RBX=0x00007f34d02bea50, RCX=0x000000009e982203, RDX=0x000000001fabfbff
    RSP=0x00007f34c4e39ab8, RBP=0x00007f34c4e39c00, RSI=0x0000000000000000, RDI=0x0000000000000058
    Can someone help?
    Thanks
    Mathias

    See
    “Generic WebLogic Server Installer generates a Crash immediately after opening GUI on ld-linux-x86-64.so.2 Library (Doc ID 1570688.1)” which states that
    “ This is an issue with AVX support appearing on newer hardware. Default glibc is incompatible with it. This problem happens due to a Red Hat Bug: Segmentation fault in dynamic loader on AVX enabled CPU “
    Solution:
    1. Set the following Environment Property on your active Shell.
      - open a bash terminal and type in:
    $ export LD_BIND_NOW=1
    2. Re-Run the installer as bellow example.
      $JAVA_HOME/bin ./java -jar wls1036_generic.jar
    Mathias

  • Windows Intergrated Authentication with reverse proxy issue with Safari

    Hi All
    I having a application which has Windows Integrated Authentication, for Internet users we are having a reverse proxy which has a IIS server which will authenticate using basic authentication then redirected to the actual application, every thing works as expected in IE and firefox but in safari there is a second login dialog box appears. When I did a packet capture using wireshark I noticed that in IE and FF the basic authentication which is carried forward to the actual application from IIS server but in Safari there is a NTLM negotiation in between because there is a 401 response so my application asks for on more login dialog. Dose any one knows why safari is behaving like this?
    Thanks & Regards
    Karthikeyan Vaithilingam

    I found a related post https://discussions.apple.com/thread/3274071?start=0&tstart=0. There is an issue with basic authentication and Http Redirect.

  • Server Proxy attachment with Attachment(s)

    Hi everyone,
    I have the requirement to create a server ABAP proxy that will provide a SOAP response with an attachment.   That is, the webservice will take the request message, do some work, and then send the response back along with a SOAP attachment.
    If I create a consumer proxy I can send the attachment out without an issue. I just cant seem to do it with a server proxy though.
    Does anyone have sample code on how to do this?
    SPROXY -> create the server proxy (inbound sync interface) -> code that goes inside of the method??
    Thanks in advance.

    Thanks for the link Trevor.  That piece of code is something that we can already do.   The code that I am looking for would get executed inside of the method during the request/response.
    For example, if I go into the ESR and build an Inbound Sync interface.  Then I go into SPROXY on the ECC box and build a proxy for it.  Next, I go into the provider class, open the method, and insert the code.
    In this manner, a request coming in would trigger a response that would include an attachment (assuming there was a way to do this).

  • Weblogic Server 6.1 with MS Windows 2000 Cluster

    Hello everybody,
    following situation:
    We want to implement a Microsoft Cluster (Failover) with MS Cluster Service and
    2 nodes (maybe later we try the Weblogic Software clustering with load balancing
    as a part of an documentum and infotehna DMS). On both nodes we made the same
    test installation of the Weblogic Server 6.1 and started it with services (instead
    of cmd-file).
    It's working fine seperate on every node, than we started to implement the MSCS
    on these machines and only one node is working. On the other node (after a failover
    to this node) the service started but break down only a few seconds later.
    Now, my question is: Can we use the Weblogic Server 6.1 in an Windows 2000 Advanced
    Server Failover Cluster with 2 nodes? Or do we need a special Add-on to do this???
    Best regards,
    Ronny

    Ronny,
    I'm don't know the specifics of MS Cluster Service but given that it works like
    other common HA frameworks (assumption on my part) you may need to use the MS
    cluster framework in isolation from the 'software-based' clustering approach that
    WLS 6.x currently provides. For example, in other HA Frameworks there is typically
    a heartbeat mechanism that informs the framework that a node is dead and the framework
    in turn calls scripts that migrate the failed node 'applications' over to the
    healthy node. In WLS, you could mimic the same approach where a single admin
    server fails over to a backup server not using the WLS 'software' admin/mgd server
    cluster value-add. In others words, you would need to script a heartbeat mechanism
    for the single WLS server and also script failover to a backup node when the heartbeat
    indicates 'failure'. This technique would be used in isolation (not using the
    current WLS software-based cluster configuration).
    My 2 cents,
    Chuck Nelson
    DRE
    BEA Technical Support

  • SL Server Permission Issues with Windows XP Clients

    I'm running into some permissions issues with Snow Leopard Server. I know it's specific to SL Server because I have two Leopard servers and neither one is affected. All servers are set up the same way.
    I'm using this SL server as a file server in the golden triangle approach: AD for Users, OD for Groups that supply AD User membership. I have one volume per OD group, and that group has read/write privileges to that volume via the default Server Admin read/write ACL. POSIX permissions are 770 on the top level directory, and ownership is set to the AD user who owns the volume, and the OD group the volume belongs to.
    The client is XP SP3. When the client accesses a share on the SL server, their access is correctly granted and they can browse the share and read any files inside the share. They can copy files to the share from wherever. They can open, edit, and save files. However, they cannot rename or delete files within the share. They cannot rename folders, but can delete them. This affects all AD users regardless of the OD group they're in.
    I have a few Windows 7 and Vista clients on the network, and these two OS's are not affected by this so the problem is limited to XP. If I create a user in OD, and auth to the sever from the XP client as that user, the problem goes away, so it's something to do with AD and SMB.
    I do have a ticket in with Apple support, which was escalated to Engineering. Still waiting on that.
    Things I have tried that have not worked/helped:
    -Modify the ACL to Full Privileges
    -Tried removing/re-adding user to OD group.
    -Remove darwin_streams from vfs_objects in smb.conf
    stream support = no
    ea support = yes/no (tried both ways)
    darwin_streams:brlm = no
    -Added nt acl support = no to smb.conf
    per http://bit.ly/6aYycW
    -Animal sacrifice..... ??
    Help?

    I need to do more testing, but I think the fix is to add "acl check permissions = no" to the bottom of /etc/smb.conf:
    ; Site-specific parameters can be added below this comment.
    [global]
    acl check permissions = no

  • ABAP Server Proxy Issue

    Guys,
    For a scenario i am using ABAP Server Proxy.
    I have successfully generated the proxy object but when i want to put some logic in server proxy by double clicking on execute_synchronous, i am getting nothing and when i am trying to use the toggle button to bring the proxy in editable mode i am getting the message that " you can't edit proxy objects ".
    What is the solution....
    Regards,

    As sheetal said  "Have you activated the proxy object properly ".
    no i didn't ...
    I went to SE24 and selected the class with my interface and activated it..
    Process should be : Under Proxy Objects choose your interface and test .
    It will show you the class needed to be activated..Finally i activated the class..
    and get the ball rolling..
    Thanx to Sheetal.
    Regards,

  • Proxy issue with SCM - Error code: 400  ICM_HTTP_CONNECTION_FAILED

    We have recently added an SCM system to our landscape.  I am trying to upload data to BI within SCM.  I have set up the method and tested it and it works fine.  I am pulling the data in to XI from a flat file and converting it to XML, which works fine, I have tested the payload in the message mapping test tab.  When it trys to connect to the SCM system it looks like it hangs forever in sxmb_moni with the error message.
    Error when receiving by HTTP (error code: 400,
    error text: ICM_HTTP_CONNECTION_FAILED)
    I have also created my proxy in SCM, that seems to be fine as well when I test it.
    The communication channels are as follows...
    Transport Protocol: HTTP 1.0
    Message Protocol: XI 3.0
    Adapter Engine:     Integration Server
    Addressing Type:   URL Address
    Target Host:           <hostname>
    Service NUmber:     8000
    Path:                     /sap/xi/engine?type=receiver
    Auth Type:            Use Logon Data for SAP System
    SECOND
    I cannot see any errors on the Runtime either because my communiation is not showing up...  I have saved it and activiated it.  The adapter type is XI.
    Any help would be appreciated.
    Skip Ford

    Hi
    Error when receiving by HTTP (error code: 400,
    error text: ICM_HTTP_CONNECTION_FAILED)
    I have also created my proxy in SCM, that seems to be fine as well when I test it.
    The communication channels are as follows...
    Transport Protocol: HTTP 1.0
    Message Protocol: XI 3.0
    Adapter Engine: Integration Server
    Addressing Type: URL Address
    Target Host: <hostname>
    Service NUmber: 8000
    Path: /sap/xi/engine?type=receiver
    Auth Type: Use Logon Data for SAP System
    I think the parameter Path for the server proxy should be
    /sap/xi/engine?type=entry
    Thanks
    Gaurav

  • Weblogic Server 8.1 with Service Pack 6 will support for ALSB?

    Hi,
    Can any body tell me, whether the ALSB is compatible with Weblogic Server 8.1?
    We have requirement to integrate ALDSP and ALESB using Weblogic Server 8.1.
    Thanks in advance.
    Regards,
    Ven

    I'd agree with Mike, go for the latest versions (from wls 10 onwards), we're using ALDSP 3.2, ALSB 3.0 and WLS 10mp1. I think you'd have to go back to ALSB 2.5 to run on WLS 8.1 and this doesn't have the performance or functionality. (we started with ALDSP 2.5/WLS 8.1 and ALSB 2.6/WLS 9.2)

Maybe you are looking for

  • When are you planning to release a new firmware fo...

    When are you planning to release a new firmware for the N95 NAM? I am tired of waiting for the automatic screen rotation on the N95NAM. This feature is aleady available in the european version. I switched from an iPhone to this nokia, and now i have

  • Integration with a Reporting Engine Web Service

    I want to use a separate reporting engine for my reports. That is, use APEX to perform the filtering and parameter settings and preview the result in APEX. But the final formatted output will use a more complex layout. Sorry, cannot use BI Publisher

  • LONG type

    Is it possible to search through LONG type? If yes how? For example dba_source has column TEXT defined as VARCHAR2(4000) so we can use in WHERE clause: TEXT LIKE 'some_string'dba_views on another side has also column TEXT but is defined as LONG so pr

  • Track changes to payment terms setup

    Hi everyone, Just wondering if there is any way to track which user made a change to payment terms setup? Thanks, Michael

  • How to export to memory using submit statement?

    hi friends, There is a standard report RPTQTA10. After executing this report using submit statement i want get the result from the QTTRANS itable of RPTQTA10 to our local itab of BSP. After this from local itab of BSP i want display some fields of lo