No data loaded when running publish/subscribe sample on Tomcat

I have Tomcat 6.0 running as a .jsp handler with Apache 2.2 using the mod_jk connector. I've configured the samples/ context to be handled via Tomcat. Everything seems to be working fine -- I can access the files and launch .jsp files via my web browser.
But when I try to fire up the DataPush example, I get no results from BlazeDS. Here's the procedure I am using:
1. Start the feed by running http://localhost:8080/samples/testdrive-datapush/startfeed.jsp
2. Run the Flex side: http://localhost:8080/samples/testdrive-datapush/index.html.
3. Press the "Subscribe to 'feed' destination."
Using Firebug within Firefox, I can tell that it's attempting to access a streaming channel. There are two requests:
1) http://localhost:8080/samples/messagebroker/streamingamf
2) http://localhost:8080/samples/messagebroker/streamingamf?command=open&version=1
Request #1 comes back with a plain-text "Loading..." response.
Request #2 returns an error message: The request sent by the client was syntactically incorrect ().
Incase it matters, I have been playing around with the config files in previous tests. For this test, I deleted the samples.war, and samples/ directory from Tomcat. Then I copied the original samples.war back in and restarted Tomcat to redeploy. I would think that this erases all of my configuration settings -- but it does not seem to be doing that (The Data Push/Pull does NOT default to streaming from the Turnkey package, yet when I hit the service again, it always tries to perform streaming first -- as I had told it to do in a previous configuration).
So I have two questions:
1. Why doesn't the example work using streaming?
2. Why aren't my configuration files being reloaded when I restart Tomcat?
TIA
Jonathon

Hi,Alex
Thanks for your advies, But it do not works.
with a Apache Fronting Tomcat, the following config is work:
channel 1 : Hi. Here are answers to your questions.
>
>>>1. Why doesn't the example work using streaming?
>Some proxies buffer the response that is sent back to the client. This causes streaming connections to not work. This is a known issue with the mod_jk connector. Take a look at the  following bug for more info.
>http://bugs.adobe.com/jira/browse/BLZ-84
>
>>>2. Why aren't my configuration files being reloaded when I restart Tomcat?
>Did you recompile the sample application after changing the configuration? The configuration information is used by both the server and the client and is compiled into the client. You will need to recompile the client application using the new configuration files if you want your changes to be picked up. Note that is is possible to load the configuration information into the client application at runtime but that's not how the sample applications were built. If you are interested in loading the configuration information at runtime here is a blog posting that gives an example.
>http://coenraets.org/blog/2009/03/externalizing-service-configuration-using-blazeds-and-lc ds/
>Hope that helps.
>-Alex
>

Similar Messages

  • "Selected report cannot be loaded" when running published crystal analysis

    Hi,
    When running published crystal analysis reports (*.car) within Crystal Enterprise 10 i receive the message below. This is happening to all published crystal analysis reports. Can open the reports fine within Crystal Analysis Professional itself.
    "Crystal Analysis Professional - The selected report cannot be loaded because one or more required parameters do not have an assigned value. "
    any assistance would be appreciated
    tks.

    If I memory servers, you have to open the Crystal_Regwiz2003.msm in the .NET deployment project. One of the properties of the msm was Keycode (or similar). You entered the keycode here. To find your keycode; in VS2003 IDE, go to the Help | About screen. You will see one of the installed components as Crystal Reports and the keycode will be on the right of that. Copy the keycode from here, paste in the above.
    For more details see the article Crystal Reports and Visual Studio .NET - Application Deployment.
    - Ludek
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Share Your Knowledge in SCN Topic Spaces

  • Calculated members in Data Manager when run package

    Hi All
    Do you know why calculated members in C_ACCT dim (which has child and are calculated by hierarchy) are not available in data manager when I want to run package. I want copy this calculated members to another account by using script logic and run it by data manager.
    Below is my script
    *XDIM_MEMBERSET C_ACCT = IC_BSAS05
    *WHEN ENTITY
    *IS 1013
    *REC(FACTOR=2,C_ACCT="ICX_BSCS02")
    *ENDWHEN
    *COMMIT
    IC_BSAS05 is caclulated by hierarchy.
    It works for non-calculated, please tell me if it is possible to run script also for calculated members.
    Regards!

    Hi Justyna,
    When you say that IC_BSAS05 is "calculated by hierarchy" do you mean that IC_BSAS05 is hierarchy node?
    If this is true then try replacing the first line of your script with
    *XDIM_MEMBERSET C_ACCT = BAS(IC_BSAS05)
    Regards,
    Gersh

  • Period 000 failing data load when using formula FISCPER_CALMONTH

    Hello all,
    I am having issue with my data loads from yesterday, I am using this formula to get calendar month FISCPER_CALMONTH( FISCPER, FISCVAR, FISCYEAR, 0 ).
    But my data loads fail when the FISCPER is 2008000 at this formula with error message
    "An error occured in a function of the formula
    Message no. RS_EXCEPTION000"
    We are using the fiscal year variant N6, is there any other setting that we need to do on BW side.
    Thanks in advance

    Hello Manfred,
    This is what my table T009B looks like for N6 variant, so how do I modify this ?
    Fi.Year Variant Year Calendar month Calendar day Posting period Year shift
    N6              0000 01             31           007            0
    N6              0000 02             29           008            0
    N6              0000 03             31           009            0
    N6              0000 04             30           010            0
    N6              0000 05             31           011            0
    N6              0000 06             30           012            0
    N6              0000 07             31           001            +1
    N6              0000 08             31           002            +1
    N6              0000 09             30           003            +1
    N6              0000 10             31           004            +1
    N6              0000 11             30           005            +1
    N6              0000 12             31           006            +1

  • SAP Gateway- environmental variables not loaded when running brconnect

    Hello
    i have installed the Sap gateway on MSCS
    and the RFC check in sm59  is successful,
    However when i run a job in db13 it fails with "brconnect is not recognized as ......... "
    <sid>adm has all environmental variables set correctly
    SAPService<SID> has them too
    when i run  brconnect on OS level it works fine with <sid>adm and SAPService<SID>
    however if create a brconnect.cmd file where i specify the command as
    SET ORACLE_SID= ....
    SET SAPDATA_HOME=....
    C:\windows\sapcluster\brconnect.exe ...........
    and run it in sm69 it works fine
    Any ideas how to solve this, seems the variables are not taken when running sapxpg
    , i don't want to edit the SDBAC for every  command
    P.S
    set from sm69 returns only the system wide variables, however i have the two systems on this host, and can not make the environmental variables for ORACLE_SID and SAPDATA_HOME system wide as this will cause problem with the other sap system
    Edited by: Yavor Markov on Apr 12, 2010 6:07 PM

    Hi Markov,
    Can you tell us with which user id you have installed SAP as well as check the sap services are running with which user id, if it is not <sid>adm then you have to check the environment variables of that user.
    Also you can try adding c:\windows\sapcluster in PATH environment variable.
    Regards,
    Kishore Soma

  • NO DATA error when running init load with 2LIS_11_VAHDR

    hi experts,
    I try to load initial data with 2LIS_11_VAHDR
    the steps I did:
    1. 2LIS_11_VAHDR is activated in R/3 Log.Cockpit LBWE
    2. 2LIS_11_VAHDR is replacated in BW
    3. Setup tables are filled for SD Sales Orders in R/3
    4. testing 2LIS_11_VAHDR with RSA7 in R/3 delivers 981 records
    when I start the info package with "Initialize delta process with Data Transfer" the error occurs "0 Records - NO DATA"
    Any Idea what I'm doing wrong?
    Best Regards
    neven

    Hi,
    Go to bd87 transaction and see any yellow requests..If so select it and process manually.
    or
    In the monitor  Environment->Transactional RFC -> in the source system.
    Then give user id and pwd for source system and try to execute...see if any LUWs are pending and process them.

  • Inconsistent data in reports while data populated when BI Publisher is up

    Hi,
    I am using an sql query in my report to populate data into it. The BI Publisher is up and running and then I viewed the report. It is displaying the data fine.
    Now, I added/updated/deleted the data into corresponding tables. The BI Publisher is still up and running.
    Now, when I try to view report the data getting displayed is not in consistent with the data in database. If I restart BI Publisher then the data is consistent with database.
    Can any of you tell me what to do to avoid this? Am I missing any configuration here? Is there any kind of caching happening within BI Publisher which can be prevented?
    Appreciate your help reg. this issue.
    Thanks in advance,
    -Vijay-

    Hi,
    there's a document cache at report level. Check if this is activated (which is as default). You'll find the checkbox Enable document cache at report level.
    Regards
    Rainer

  • Inconsistent State Error when running DataMiner OBE sample workflows

    Hello
    In a test environment, running Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production and using SQL Developer Client 3.0.0.4
    and Data Miner 11.2.0.1.10.109. ,
    java version "1.6.0_27"
    Java(TM) SE Runtime Environment (build 1.6.0_27-b07)
    Java HotSpot(TM) Client VM (build 20.2-b06, mixed mode, sharing)
    I setup my test user and imported the OBE workflows. When I try to Run any of the components, I get an error : Inconsistent State - Finished job detected but unable to reload the editor.
    java.lang.Exception: Inconsistent state - finished job detected, but unable to reload the editor.
         at oracle.dmt.dataminer.workflow.WorkflowEditor.jobFinished(Unknown Source)
         at oracle.dmt.dataminer.runner.RunItem.fireJobFinished(Unknown Source)
         at oracle.dmt.dataminer.runner.RunItem.access$100(Unknown Source)
         at oracle.dmt.dataminer.runner.RunItem$7.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    If I close the workflow, I cannot reopen. I get a error: Failed to open Workflow.

    Thanks.
    I downloaded a later version and this has resolved the issue.
    Oracle SQL Developer 3.2.20.09
    Data Miner     oracle.dmt.dataminer     11.2.1.1.09.87     Loaded
    Removed the old repository and installed the new updated and the issue was resolved.

  • Issue with date formula when running a report on the 1st day of the month

    We have a formula that compares last month data against last year last month, the report runs on the 1st of every month although the report errors when it tries to run in January being the first month of the new year it tries to look for a month begining with Zero instead of looking back at decemeber which would be 12.
    Does anyone any solutions for this issue?
    Thanks,
    Chris
    Example of some formula's we have tried but none seem to work.
    if {@MonthName} = "December" then year({CDCCHD.CDOPDT}) in year(currentdate)-1 to year(currentdate)-2 else year({CDCCHD.CDOPDT}) in year(currentdate)
    OR
    (if {@Last Full Month Name}= "December" then year({CDCCHD.CDOPDT})= year(currentdate)-2 or
    {CDCCHD.CDOPDT} in lastyearytd else {CDCCHD.CDOPDT} in lastyearytd or
    {CDCCHD.CDOPDT} in yeartodate)
    OR
    ({CDCCHD.CDOPDT} in dateserial(year(currentdate)-1,month(currentdate),01)-1 to dateserial(year(currentdate)-1,month(currentdate)-1,01) or
    {CDCCHD.CDOPDT} in lastfullmonth)
    OR
    if {@monthname} = "December" then {CDCCHD.CDOPDT} in dateadd("m", -28, (currentdate)) to (currentdate)-14 else {CDCCHD.CDOPDT} in dateadd("m", -14, (currentdate)) to (currentdate)

    Chris,
    Give these formulas a try...
    Beg of Last Month
    DateAdd("m", DateDiff("m",#1/1/1900#, CurrentDate) - 1, #1/1/1900#)
    End of Last Month
    DateAdd("m", DateDiff("m",#1/1/1900#, CurrentDate), #1/1/1900#)
    Beg December of Last Year
    IF DatePart("m",CurrentDate) = 1
    THEN DateSerial(DatePart("yyyy",CurrentDate) -2, 12,1)
    ELSE DateSerial(DatePart("yyyy",CurrentDate) -1, 12,1)
    End December of Last Year
    IF DatePart("m",CurrentDate) = 1
    THEN DateSerial(DatePart("yyyy",CurrentDate) -1, 1,1)
    ELSE DateSerial(DatePart("yyyy",CurrentDate), 1,1)
    Note that the "End" formulas produce a value that shows midnight of the following day that you would normally expect to see... For example, if you are expecting to see 12/31/2009, it will show 1-1-2010.
    The reason is that the formulas come out to be midnight of the day shown... So a range of 12/1/2009 - 1/1/2010 will include 12/31/2009's data but none of 1/1/2010... (12/1/2009 - 12/31/2009 would actually cut off 12/31/2009).
    If for some reason your data is stored w/o time values then an adjustment would need to be mande.
    HTH,
    Jason

  • Error when run a simple sample using jsp tag

    When i run a jsp using jsp tag, the tomcat gave me the following information:
    Resolve entity failed-//Sun Microsystems,Inc.//DTD JSP Tag Library 1.2//EN http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd
    My tld file is:
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE taglib
    PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
    "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
    <taglib>
    <tlib-version>1.0</tlib-version>
    <jsp-version>1.2</jsp-version>
    <short-name>sample</short-name>
    <uri>WEB-INF/sampleTag</uri>
    <display-name>SampleTag</display-name>
    <description>Sample TLD</description>
    <tag>
    <name>time</name>
    <tag-class>com.sample.taglib.TimeTag</tag-class>
    <body-content>empty</body-content>
    </tag>
    </taglib>
    Anybody can tell me why?
    Thanks!!!

    It's strange bacause DTD is available under given address.
    Which JSP version are you using?
    Do you have any other tld file, which uses the same DTD version? Do tags define in it work properly?
    Maby try to use 1.1 version of DTD?
    <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">But remember than version 1.1 has another node names (see http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd).

  • Date format when running in Mexico vs US

    When using RS 2005.   I have a report that I developed in the US and runs on a server in the US.   I can create a subscription with no problems.
    When our region in Mexico trys to create a subscription it gives an error on the date selections  because it want to do dd/mm/yyyy instead of mm/dd/yyyy.
    Is there a way around this problem. 

    The solution will require custom code since SSRS does not support localization. CodeProject has a couple of solutions:
    http://www.codeproject.com/Articles/294636/Localizing-SQL-Server-Reporting-Services-Reports
    http://www.codeproject.com/Articles/33355/Localization-of-SSRS-Reports
    "You will find a fortune, though it will not be the one you seek." -
    Blind Seer, O Brother Where Art Thou
    Please Mark posts as answers or helpful so that others may find the fortune they seek.

  • JCABindingException when running published PL/SQL stored procedure on OSB

    Hi,
    JDEV 10.1.3.4
    OSB 10.3.1
    I have published a simple PL/SQL function on OSB.
    FUNCTION pubProc(pinput XMLTYPE) RETURN XMLTYPE.
    I used DBAdapter wsdls,jca created by JDEV 10.1.3.4.
    When I test business service with message:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    </soap:Header>
    <soapenv:Body>
    <pub:InputParameters xmlns:pub="http://xmlns.oracle.com/pcbpel/adapter/db/OSWD/TESTDBPUBLISH/PUBPROC/">
    <!--Optional:-->
    <pub:PINPUT>
    <a>bcd</a>
    </pub:PINPUT>
    </pub:InputParameters>
    </soapenv:Body>
    </soapenv:Envelope>
    I got:
    <JCA_TRANSPORT_RUNTIME_APPLICATION_FAULT xmlns="http://www.bea.com/transport/2007/05/jca">
    oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/DEV/WSDL/testdbpublish [ testdbpublish_ptt::testdbpublish(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'testdbpublish' failed due to: Error while converting to a Java object.
    Unable to convert the XSD element PINPUT whose SQL type is Opaque and JDBC type is OPAQUE. Cause: java.lang.ClassCastException: weblogic.jdbc.wrapper.JTAConnection_weblogic_jdbc_wrapper_XAConnection_weblogic_jdbcx_base_BaseConnectionWrapper.
    ; nested exception is:
    JCA-11803
    Error while converting to a Java object.
    Unable to convert the XSD element PINPUT whose SQL type is Opaque and JDBC type is OPAQUE. Cause: java.lang.ClassCastException: weblogic.jdbc.wrapper.JTAConnection_weblogic_jdbc_wrapper_XAConnection_weblogic_jdbcx_base_BaseConnectionWrapper.
    Check to ensure that the XML data describing the object matches the definition of the element in the XSD. Contact oracle support if error is not fixable.
    Could someone please tell what is wrong ?
    Shoud I perform any custom transformation ?
    Regards,
    Cezary

    Hi Cezary,
    OSB has told you what has gone wrong -
    Unable to convert the XSD element PINPUT whose SQL type is Opaque and JDBC type is OPAQUE. Cause: java.lang.ClassCastExceptionTry with below input -
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    </soap:Header>
    <soapenv:Body>
    <pub:InputParameters xmlns:pub="http://xmlns.oracle.com/pcbpel/adapter/db/OSWD/TESTDBPUBLISH/PUBPROC/">
    <!--Optional:-->
    <pub:PINPUT>
    <bcd/>
    </pub:PINPUT>
    </pub:InputParameters>
    </soapenv:Body>
    </soapenv:Envelope>
    Regards,
    Anuj

  • How can I get size of fetched data size when run a SQL ?

    Hi,
    When I run a SQL how can I get fetched data size?
    regards,

    We can get it using some calculations:
    1. SQL%ROWCOUNT attribute will fetch you number of rows returned in a SQL statement.
    Problem-->Now you need to get the size of 1 row.
    Solution-->
    Step 1.We can get size of table from dba_segment data dictionary.
    Select block_size from dba_segemnts where segment name like '%YOURTABLE%';
    Step2 . Get count of rows in your table
    Select count(*) from YOUR_TABLE
    Step 3.
    Get size of 1 row--> Divide result in Step1 by result in Step 2.
    Required result--> multiple result in step3 with SQL%ROWCOUNT..
    I hope this is what u want.

  • Weird data obtained when running Task: AD Group Lookup Recon

    Hi,
    Im running the scheduled task named: AD Group Lookup Recon
    It works. and populates the lookup named Lookup.ADReconciliation.GroupLookup
    but when lookin in the design console, the Code Key and the Decode values have weird data ie:
    code key: 2~CN=TelnetClients,CN=Users,DC=adtest,DC=com     
    Decode: ADITResource~CN=TelnetClients,CN=Users,DC=adtest,DC=com
    in the code key there is an extra *2~*
    in the Decode is an extra ADITResource~
    I may think that it is some kind of coding for connector commands used in provision tasks, when I'm trying to provision an OIM user to Active Directory (in the Organization Lookup field) i get this data
    this is just one line:
    Value: 2~CN={6AC1786C-016F-11D2-945F-00C04fB984F9},CN=Policies,CN=System,DC=adtest,DC=com      
    Description: ADITResource~CN={6AC1786C-016F-11D2-945F-00C04fB984F9},CN=Policies,CN=System,DC=adtest,DC=com
    Any Ideas?
    Thank You.

    yes you are right, code key and decode key is because of the coding in the connector to distinguish lookup values coming from multiple IT resources.
    If you want to get rid of this [IT Resource~] you will have to modify the connector.
    One more thing looks like the base dn you have specified for lookup reconciliation is DC=adtest,DC=com with generic filter thats why you are getting entries like 2~CN={6AC1786C-016F-11D2-945F-00C04fB984F9},CN=Policies,CN=System,DC=adtest,DC=com which may not be a group you want
    Hope this helps,
    Sagar

  • Data backup when running 2 iPhone's on 1 account?

    I have 2 iPhones (I bought the original iPhone on the 1st day it came out, then bought the 3G when that came out).
    I use one to run my home (Wi-Fi / internet / remote control of iTunes etc), and one as my phone - (ie has the sim card)
    Whilst this is working fine, I have a question:
    - When iTunes backs up my iPhones, does it recognise that they are 2 different devices and therefor keep seperate backups? Ie. If I have data within an App on one particular phone will that we kept such that I can recover with a backup?
    - Could I restore the 3G phone from the backup of the original device? (including operating system)?
    I have both running off the same iTunes account in terms of buying App store / music store.
    Many thanks for any tips,
    Dan.

    The backup for each iPhone should be different, but having a different name for each iPhone ensures this. Go to iTunes > Preferences. Under the Devices tab you can view the backup for each device. You can delete the backup for each device from there also.
    The backup for an iPhone stores data such as most iPhone settings, email account settings, contact info, SMS messages, notes, recent calls, call favorites, photos in the camera roll, and 3rd party app settings and data created and stored by a 3rd party app.
    The operating system is included with the firmware update that is downloaded when you choose to download a firmware update when notified a firmware update is available for your iPhone. When restoring an iPhone with iTunes, the iPhone is completely erased followed by re-installing the current firmware version from the firmware download that remains on your computer.

Maybe you are looking for

  • Sharepoint Foundation 2010 Workflows created in Sharepoint Designer

    Using Sharepoint Designer 2010 (64 bit) on Sharepoint Foundation 2010 (free version) I'm trying to get some basic workflows I've designed against a list in SPD working. They effectively just email a user the list item is assigned to based on some sim

  • Using newText more than once in a form

    I have a form with several hidden subforms, which become visible depending on what the user selects in the dropdown list for each subform. The problem is that my script doesn't work for all the subforms. I've come across some information about this (

  • Can't remove "~" File in Macintosh HD Folder

    I restored my system using Time Machine from two different backups, the second of which took about 20 hours to restore a mere 40GB, which was unbelievable frankly, because of problems I've been getting and now, in the Macintosh HD folder, there is a

  • How can I make a backup of my iPhoto Library on disk grouped by events

    Dear fellow iPhoto users, I have a 2008 Macbook, which has a big 40 gig iphoto library. Unfortunaly my Macbook is (literaly) starting to fall apart and I'm afraid it's lifespan is reaching its end. Also I don't have enough money to buy a new Mac. I s

  • Problem purchasing Flash Lite 2 Player

    Hi Adobe, I'm from the Philippines, South East Asia and I want to purchase a Flash Lite 2 Player. My Adobe ID also says that I'm from the Philippines. I went to Adobe Store - Asia Pacific (International). I supplied the IMEI number, Handset and Phone