Socket event gateway error in CF8?

Having upgraded to CF8 with no code changes I am seeing a
socket event gateway accept an xml message line by line and not the
entire xml packet in one shot (each line is shown in the log
separately). Passing a simple sentence with a return in it also
becomes 2 events. This obviously causes problems, as the xml cannot
be recognized and processed when it comes in line by line. The xml
is coming from a daemon writen in Perl, and I can't immediately
make any changes to it, as these requests are also sent out to
other Perl systems, so any changes would have to be tested against
them as well.
I couldn't find anything online about this being a bug in
CF8, has anyone else seen it?

Hi,
Remove this (And never put it in again)
EXCEPTION
when others then
raise_application_error(-20001,'Error sending email.Error: '||sqlerrm);
--Dbms_Put.Put_Line('Error sending email.Error: '||dbms_util.get_detailed_sqlerrm);This will tell you more about what is going on, such as giving you the location of the error.
But 20999, is a user defined exception, are you putting objects into system schema?
Regards
Peter

Similar Messages

  • LiveCycle 2.6.1 Data Management with The ColdFusion 8.0 DataManagement Event Gateway Issue

    Hello all,
         I've recently been developing a project that involves sending out events from ColdFusion to LiveCycle 2.6.1 using the Data Management event gateway to Flex 4.0 clients (LiveCycle and ColdFusion are on different Instances, but the same server).  To begin with, I used ColdFusion assemblers, DAO's, and models and everything worked fine locally.  After deploying this setup to a beta site, I decided that this setup would be very troublesome in terms of configuring clustered instances across multiple servers.  I then decided to convert my assemblers, DAO's, and models to Java.  The conversion went well and the flex clients see the exact same data as they did with the ColdFusion adapter.
         Once I tried to send an update through from my ColdFusion application to a Flex client, I get an error stating that:
    "Unable to find the Flex adapter for destination My_Dest in the RMI registry on localhost:1099.The Flex adapter may not be running or the destination may be incorrect."
    After seeing this error, downloaded a Java-based RMI inspector to see what was going on.  To get a good idea of what was happening when the ColdFusion adapter was being used, I switched my data-management-config file back to the CF adapter.  I noticed that the RMI entry was as follows:
    localhost:1099/cfdataserviceadapter/My_Dest
    localhost:1099/cfassembler/my_cf_instance
    Once I gathered this data as the base, I converted back to the Java adapter in my data-management-config file, restarted the servers, and ran the RMI inspector again.  Only the "localhost:1099/cfassembler/my_cf_instance" was showing.  (This one shows because I have "Enable Remote Adobe LiveCycle Data Management Access" checked in my CF instance's CF Admin -> Flex Integration).  Since I don't need this checked anymore, I unchecked it and re-ran the RMI inspector.  As it should, the "localhost:1099/cfdataserviceadapter/My_Dest" went away.  Since no destination shows up, it means that the Flex adapter isn't registering my "my_Dest" destination with RMI.  Since it isn't registered, I can't see it when I try to send a message through the CF Data Management event gateway.
    Can anyone help me out here?  I certainly may be missing something when it comes to RMI (I don't work with Java very often).  Any advice would be greatly appreciated!
    Thank you,
    Dustin Blomquist

    Dustin,
    Without the ColdFusion based data management destination defined on the LCDS server, the destination will not show up in the RMI registry.  It is only the CF adapter code that does this.  The 'stock' LCDS adapter does not support invoking via RMI the way the CF version does.
    I would recommend you run the LCDS MessageBrokerServlet inside the ColdFusion web application.  This will give you two things:
    1. You will not have the overhead of RMI between CF and LCDS as they will share the same VM (better performance!).
    2. You will be able to use the CF Data Management Gateway to pass messages to Java-based destinations.  The APIs the gateway uses should work fine with either CF or Java based Data Management destinations.
    The CF/LCDS integration doesn't support what you are trying to do when you run two seperate instances.

  • Strange Gateway Error with one APP Server (WSAETIMEDOUT)

    Hello Everyone,
    We are experiencing a strange gateway timeout issue on one application server in our SAP environment.  This started happening after we applied a series of Microsoft patches and updated the SAP kernals from 179 (DB 172) to 185 (DB 182).
    From this App server we are seeing all kinds of gateway errors, the following is a sample from the dev_rd file from the server in question:
      LOCATION    SAP-Gateway on host sappe1exp5 / sapgw00
      ERROR       partner 'sappe1exp4:sapgw00' not reached
      TIME        Sat May 30 23:40:54 2009
      RELEASE     700
      COMPONENT   NI (network interface)
      VERSION     38
      RC          -10
      MODULE      nixxi.cpp
      LINE        2823
      DETAIL      NiPConnect2
      SYSTEM CALL connect
      ERRNO       10060
      ERRNO TEXT  WSAETIMEDOUT: Connection timed out
      COUNTER     67
    GwTraceHdlInfo:
    HANDLE   = 6   
    TIME     = Sat May 30 23:40:33 2009
    SOCKET   = 468
    STAT     = NI_CONN_WAIT
    TYPE     = STREAM IPv4
    OUT      = 0 messages 0 bytes
    IN       = 0 messages 0 bytes
    LOCAL    = 0.0.0.0:2604
    REMOTE   = -
    OPTIONS  = BUFFERED
      ni hdl      = 6
      type        = CLIENT
      net_stat    = CONNECT_TO_REM_GW_PENDING
      hostaddr    = 10.10.0.21
      opcode      = NORMAL_CLIENT
      conn opcode = REMOTE_GATEWAY
      conn vers   = 105
      index       = 59
      data        = 0000000000000000
      ext_info    = 000000000333DCA0
      offset      = 0
      rest_len    = 0
      snc_forced  = 0
    remote gateway infos:
      hostname =
      hostaddr = 10.10.0.21
      service  = sapgw00
      tpname   = sapdp00
    Sat May 30 23:46:17 2009
    ***LOG Q0I=> NiPConnect2: connect (10060: WSAETIMEDOUT: Connection timed out) [nixxi.cpp 2823]
    ERROR => NiPConnect2: SiPeekPendConn failed for hdl 6 / sock 428
        (SI_ECONN_REFUSE/10060; I4; ST; 10.10.0.21:3300) [nixxi.cpp    2823]
    I have done alot of searching and I have tried the following things:
    1) Checked the services file of this machine, they line up with all other systems
    2) Attempted to telnet to other App servers on 3200, 3300, 3600 with no success
    3) tried to connect via SM59 to another App server with no success
    4) Attempted to do all of these things in reverse from the another app server with the same results.
    This is only happening with one app server in our landscape and this app server has no issues connecting to the CI.
    Any ideas on where I can look further?
    Edited by: James Wright on Jun 5, 2009 10:10 PM

    Hi,
    on sappe1exp5  try the following command in a dos prompt:
    telnet sappe1exp4 sapgw00
    this should also time out i.e. hang for a certain amount of time (~50 seconds) and then terminate with error.
    It simply means that the IP address 10.10.0.21 is not reachable from your client PC.
    Maybe you changed some IP addresses during patches. Usually there is an RFC destination that is not functioning properly.
    Best regards
    Carl Philipp

  • Coldfusion Event Gateway Adapter exercise

    I am doing this exercises in the FlexBuilder SDK .
    Use Coldfusion Event Gateway Adapter exercise
    When I get to
    Select Event Gateways > Gateway Instances.
    Enter Flex2CF2 as the Gateway ID.
    Select Flex Messaging - Flex as the Gateway Type.
    There is no Flex Messaging-Flex option
    The closest two are
    DataManagement Notifies Data Management Services of data
    changes coldfusion.eventgateway.flex.FlexDataManagementGateway
    DataServicesMessaging Handles Data Services Messaging
    messages coldfusion.eventgateway.flex.FlexMessagingGateway
    I try the example @
    http://localhost:8700/samples/dataservice/myapp/flexemail2cf.mxml
    The flex server is running fine but generates an RMI error in
    the cmd console
    flex.messaging.MessageException: Unable to find ColdFusion
    gateway 'Flex2CF2 in RMI registry on host localhost
    the gateway may not be running.
    The gateway shows as running in the coldfusion
    adminstrator.

    You need to ask them on Adobe forum: https://forums.adobe.com/community/coldfusion
    This posting is provided AS IS with no warranties or guarantees , and confers no rights.
    Ahmed MALEK
    My Website Link
    My Linkedin Profile
    My MVP Profile

  • ColdFusion Event Gateway  Flex  CF 8

    I am doing this exercises in the FlexBuilder SDK .
    Use Coldfusion Event Gateway Adapter exercise
    When I get to
    Select Event Gateways > Gateway Instances.
    Enter Flex2CF2 as the Gateway ID.
    Select Flex Messaging - Flex as the Gateway Type.
    There is no Flex Messaging-Flex option
    The closest two are
    DataManagement Notifies Data Management Services of data
    changes coldfusion.eventgateway.flex.FlexDataManagementGateway
    DataServicesMessaging Handles Data Services Messaging
    messages coldfusion.eventgateway.flex.FlexMessagingGateway
    I try the example @
    http://localhost:8700/samples/dataservice/myapp/flexemail2cf.mxml
    The flex server is running fine but generates an RMI error in
    the cmd console
    flex.messaging.MessageException: Unable to find ColdFusion
    gateway 'Flex2CF2 in RMI registry on host localhost
    the gateway may not be running.
    The gateway shows as running in the coldfusion adminstrator.
    Please help

    I think Flex messaging event gateway capability first was
    available in CF 7.

  • Event Gateways set up

    I keep getting my cfc file not found on my Gateway Instance
    screen. Here is my set up:
    Gateway ID: gal
    Gateway TYpe: DirectoryWatcher-Watches a dire for file
    changes
    CFC Path: C:\Inetpub\wwwroot\myproject\gal\
    Configuration File: C:\Inetpub\wwwroot\myproject\gal\gal.cfg
    Startup Mode: Automatic
    and when I click on Add Gateway Instance, i got "Error
    creating event gateway instance.Event CFC file not found:
    c:\inetpub\wwwroot\myproject\gal
    Both of my gal.cfg and gal.cfc are under
    C:\Inetpub\wwwroot\myproject\gal\ folder.
    gal.cfg:
    directory=c:/Inetpub/wwwroot/myproject/gal/dir_tobe_watched
    recurse=no
    interval=10
    extensions=*
    addFunction=onAdd
    deleteFunction=onDelete
    changeFunction=onChange
    gal.cfc:
    <cfcomponent>
    <cffunction name="onAdd">
    <CFDIRECTORY Directory=
    "#GetDirectoryFromPath(GetTemplateFromPath())#" NAME="MyDirectory"
    ACTION="List" FILTER="">
    <CFTABLE QUERY="MyDirectory" HTMLTABLE COLHEADERS>
    <CFCOL HEADER="Name" TEXT="#Name#">
    <CFCOL HEADER="Type" TEXT="#Type#">
    <CFCOL HEADER="Size" TEXT="#Size#">
    </CFTABLE>
    <CFLOOP QUERY="MyDirectory">
    <CFFILE ACTION="Copy"
    SOURCE="C:\Inetpub\wwwroot\myproject\gal\dir_tobe_watched\"
    DESTINATION="C:\Inetpub\wwwroot\myprojects\copyto_dir\"
    NAMECONFLICT="Overwrite">
    </CFLOOP>
    </cffunction>
    </cfcomponent>

    Hi Norma,
    PayPal unfortunately can't be used for event registrations. Only seamless gateways, such as Authorize.net can be used in this case. This is true for all web forms.
    You could use PayPal Express and embed a hidden form into a page with the PayPal button, but in this case the customer info will not be recorded inside CRM and BC site will have no knowledge of the payment. Everything would have to be entered into CRM manually. With this solution you could use webMarketing plan which is cheaper.
    Cheers,
    -mario

  • How to fix gateway error in a View Page?

    I have created an override view page and I need to add a button or link which should take the user to a page in different server. I am getting gateway error. The sample code as follows. Any thougts will be helpful. Thanks in advance.
    string sUrl = "<pt:gatewayLink pt:href='http://appserver/step1.asp' pt:objectID='206' pt:classID='35' xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'/>"; HTMLAnchor myAnchor = new HTMLAnchor(sUrl); myAnchor.AddInnerHTMLString("Add a Logo"); myCell.AddInnerHTMLElement(myAnchor);

    i think, something is wrong in the approach itself.
    when you include the code, you do not need to create a new
    instance of Hmenu. Instead, you can simply use lnkBar .addChild(),
    because the this code is of your Hmenu itself.
    But i suggest you to use dataprovider for the linkbar instead
    of looping through the categories and adding the child.
    you just declare xmlData as Bindable and provide it as
    dataProvider of the linkbar.
    hope it works.

  • Obiee oracle gateway error while updating row count

    Hi ,
    OBIEE server 11.1.1.5 ,oracle server11g installed in linux 64bit,
    while updating row count in Admin tool i am getting the following error
    [NQODBC][SQL_STATE:HY000][nQSError:10058] A general error has occured.
    [nQSError: 43113]Message returned from OBIS.
    [nQSError:43093]An error occured while processing the EXECUTE PHYSICAL statement.
    [nQSError:17003]Oracle gateway error: OCIEnvNIsCreate or OCIEnvInit failed to initialize environment.Please check your Oracle Client installation and make sure the correct version of OCI libraries are in the library path.
    i am able to check the database from sqlplus it is working fine.
    Any suggestion highly appreciated plzzz

    Make sure your connection pool is valid and able to import or execute reports.
    If everything good as above said, in Physical layer database properties-> general tab choose the database version and try it once.
    If not
    Check the doc id 1271486.1
    Or
    To resolve the issue create a softlink (ln -s) in the <OracleBI>/server/Bin folder to link to the 32-bit Oracle Client Driver file.
    The example below shows how to perform a softlink from the 64 bit directory:
    cd /u10/app/orcladmin/oracle/OracleBI/server/Bin
    ln -s $ORACLE_HOME/lib32/libclntsh.so.10.1 libclntsh.so.10.1
    If helps mark

  • I can't open iTunes on my pc in windows. I keep getting a Problem event: BEX error.

    can't open iTunes on my pc in windows. I keep getting a Problem event: BEX error.  How can i fix this?  need very detailed step by step instructions on how to fix. thx

    Check out this discussion link:
    https://discussions.apple.com/thread/2777410?threadID=2777410&tstart=15

  • Event Viewer - Error/Warning

    Hi,
    I am seeing the following errors on the subcriber Event Viewer system log. Does anyone know what is causing this.
    Event Type: Error
    Event Source: BROWSER
    Event Category: None
    Event ID: 8032
    Date: 4/28/2006
    Time: 10:12:19 AM
    User: N/A
    Computer: CCM_SUB
    Description:
    The browser service has failed to retrieve the backup list too many times on transport \Device\NetBT_Tcpip_{81B27D00-C66E-4969-A4CA-A2E89101A90E}. The backup browser is stopping.
    Data:
    0000: 05 00 00 00 ....
    and also this
    Event Type: Warning
    Event Source: BROWSER
    Event Category: None
    Event ID: 8021
    Date: 4/28/2006
    Time: 10:12:19 AM
    User: N/A
    Computer: CCM_SUB
    Description:
    The browser was unable to retrieve a list of servers from the browser master \\CCM_PUB on the network \Device\NetBT_Tcpip_{81B27D00-C66E-4969-A4CA-A2E89101A90E}. The data is the error code.
    Data:
    0000: 05 00 00 00 ....
    Cheers,
    Rafiq.

    http://www.cisco.com/en/US/products/sw/voicesw/ps556/prod_troubleshooting_guide_chapter09186a008011b369.html#wp1047403
    Browser Service: Every 2 Hours, an Error Occurs in the Event Log on the Subscriber
    Symptom
    Error Message The browser server has failed to retrieve the backup
    list too many times on transport \Device\netBT_Tcpip (c96xxx)
    The backup browser is stopping.
    Warning: The browser was unable to retrieve a list of servers from the browser master \\AACCMP1 on the network \Device\netBT_Tcpip (c96xxx) the data is the error code.
    Probable Cause
    Cause indicates a NIC card problem. You need to upgrade the OS to a newer version.
    Corrective Action
    Procedure
    Step 1 If you have an MCS-7830 and build the OS with the new 2000.1.2 OS installation, run the OS upgrade version 2000.1.3 to fix the NIC card problem.
    If this is not your problem, verify the following actions:
    Step 2 Ensure that your WINS address is correct.
    Step 3 Ensure that Enable NetBIOS over TCP/IP is chosen.
    Step 4 Ensure that the WINS address is correct on the master browser \\AACCM1.
    Cheers
    Please rate post if helpful.

  • Windows 7 Ultimate 64 bit: Events and Errors

    Clicking on “Event Log Online Help” (every event in “Event Viewer”) results in:
    Page:
    http://www.microsoft.com/technet/support/ee/SearchResults.aspx?Type=1&Fallback=1&Source=Application%20Hang&ID=1002&Product=Windows%20Operating%20System&Version=6.1.7600.16385&Language=6153
     “Events and Errors Message Center”:
    “Results for: Microsoft Product: Windows Operating System; Version: 6.1.7600.16385; Event ID: X; Event Source: Y”
    “No results were found for your query. Please see Search Help for suggestions.”
    Fulco

    Hi,
    By default, Event Log Online Help redirects to
    Events and Errors Message Center. It seems that the path of
    MicrosoftRedirectionURL is incorrect. Please look into the following registry and modify  the URL path:
    1)   
    Click Start and type:
    regedit in the Search box.
    2)   
    Open Registry Editor and find the entry:
    HKLM\Software\Microsoft\Windows NT\CurrentVersion\EventViewer
    3)   
    Double click the
    MicrosoftRedirectionURL and change the path using:
    http://go.microsoft.com/fwlink/events.asp
    The above link navigates to
    Events and Errors Message Center. If the issue persists,  you can use the following URL instead:
    http://www.microsoft.com/technet/support/ee/ee_basic.aspx
    Now you should open Event Log Online Help correctly.  
    Best Regards
    Dale
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”

  • Event handler error

    I gets event handler error from the following applescript code if I leave the desktop space where "XLD" is running.
    Is there a way to avoid this error and keep running the applescript?
    tell application "System Events"
    set wnd to front window of application process "XLD"
    click button "Extract" of tool bar of wnd
    delay 1
    repeat while (name of front window of application process "XLD") = "Progress"
    end repeat
    end tell

    Do you have any Mail plug-ins installed? Mail Act-on, MailTags or whatever? If so, try disable them and then see if the scripts work.
    Alternatively, you can access the iPhoto Library from within Mail:
    Uploaded with plasq's Skitch!
    Just drag and drop to the message.
    Regards
    TD

  • "Not Gatewayed" error

    I'm adding my first .NET portlet to our new 5.0.1 portal. I can have the page load properly if I remove all IPortletContext code. However, when loading, it loads the first time into the portal ok, but when I try to do any "click throughs" with buttons I get the dreaded "Not gatewayed" error.
    I've triple-checked the HTTP configuration on the portlet web service setup and have the proper URL's (according to the EDK). However, still getting that. I'm thinking its the way I'm posting the information back, or a setup on my form variable or something?
    Buttons that get clicked are paging buttons to show "more" rows of data in a data grid element.
    Any help or thoughts would be appreciated!
    Kirk [email protected]

    Thanks to this thread I realized I needed to install the Plumtree Web Controls (2.0) as I was using the DataGrid feature. However, the main button I test with is actually just a "submit" button. I'm sure I'm missing something pretty simple, so I'll include some more detail. Hope someone can find what I'm missing:
    Page is "Chargebacks.aspx"
    Form action is "Chargebacks.aspx" in folder (web app) http://Tportaldev1/Chargebacks/
    Gateway page on web service setup is:
    http://TPortaldev1/Chargebacks/
    The gadget loads into a My Page and works fine. When I try to hit a submit button, it takes me to the error. When I view source on the page that is working in the my page, I notice the form action is forced to the full http://tportaldev1/chargebacks/chargebacks.aspxeven tho I don't specify it, or if I do, I specify just the page. Apparently the URL transformer is not hitting this...any thoughts?

  • Socket Schema Translation Error when trying to use Socket Adapter in BPEL

    Hi,
    I am trying to use Socket Adapter in BPEL.
    I made 2 SOA Projects
    SOA Application Project 1: Socket Server (Inbound Synchronous Request/Reply). The option for ‘Native Format translation is not required(Schema is Opaque)’ is unchecked .i.e. XSD is given for both request/reply
    SOA Application Project 2: Socket Client (Outbound Synchronous Request/Reply). The option for ‘Native Format translation is not required(Schema is Opaque)’ is unchecked .i.e. XSD is given for both request/reply
    Socket Client which is exposed as Web Service invokes Socket Server.
    1.     <summary>Exception occurred when binding was invoked. Exception occurred during invocation of JCA binding: "JCA Binding execute of Reference operation 'OutboundRequestReply' failed due to: Socket Schema Translation Error. Socket Schema Translation Error. Error while trying to translate from native. Please ensure that the schemas are set up with native annotations and comply with the output XML. Contact Oracle support if error is not fixable. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary>
    <part name="detail">
    <detail>Read timed out</detail>
    </part>
    Has anybody faced this issue?

    Hi guys:
    I got exactly the same error. I recently installed BPEL Process Manager for Developers 10g Release 2 (10.1.2) in windows XP.
    The default setting for BPEL VM memory is Xms512m -Xmx512m -Xmn300m. I tried to set maximum size to 1024 but I had this error.
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    if any body can suggest a solution will be great .
    Thanks.
    Message was edited by:
    user533906
    Message was edited by:
    user533906

  • Event Gateways in Multiserver Environment

    Hi all
    As a company we are looking to deploy a Flex application
    using 'push' messaging.
    The backend is a multiserver Coldfusion 8 setup behind a load
    balancer. My concern is around the multiserver setup while using
    event gateways. If a client consumes from a particular gateway on a
    particular server, and a CF process on
    another server produces for a gateway on it's server how
    will the data push occur thus updating all clients consuming from
    the gateways on
    all servers.
    I'm afraid we will have to get the CF process on one server
    produce for it's own gateway and we'll have to get all clients to
    consume from that gateway - thus not allowing us to spead the load
    across all CF servers using thier own gateways in the multi-server
    environment.
    Am I missing something here? This area appears to be fairly
    new, so any and all comments appreciated.
    Cheers,
    Ciaran

    Hey guys, just wanted to register that I am having the same
    exact problem! Let me know about any solution!
    bhyder
    Richard
    Gere Fansite

Maybe you are looking for

  • How to show FTP Files in JTable, i gave codeeeee

    hi to all, plz any one can help me to show FTP Files in JTable, my FTP code is below,where i can upload and download files, i can list the files in JText Area , i want to show files in JTable, plz any on can post some code which can slove my problem

  • Budget exceeding error message coming up at the time of GRN

    Dear Guru's I am facing a problem at the time of GRN, When i am going to create GRN to purchase order then message is coming up budgut exceed. Regards, Vishal Kr. Sharma

  • External hard drive not recognized after power outage

    After a power outage last night my WD external hard drive is not showing up. The power light is on on the drive, the DVR is working normally, except my external drive is not showing up.  I unplugged power from the DVR and restarted it, but no change.

  • Droid mini is dead even though it was on charger for 2 hours

    my phone died, put it on the charger and 2 hours later it won't do anything

  • Store password

    Hi, the first time I visited my email and logged on firefox asked if I'd like to store password, I clicked never for this site and I have now changed my mind. I can not figure out how to store the password on my loggin page that I previously told fir