Web service issues in migrating from ColdFusion 9 to 10

I'm troubleshooting a problem a client is having with their migration from CF9 to CF10. A webservice call that previously worked, no longer is working. When I call it from my CF10 server, I get this error:
C:...\cfusion\stubs\WS-853189522_2...\service.java:10: class, interface, or enum expected package ...;
The ellipses are to replace proprietary files paths and names.
When I add the cfinvoke attributes wsversion and refreshwsdl, I get a "Unable to read WSDL from URL: .../service.asmx?WSDL" error instead of the above error. I also changed the default ws version from 2 to 1 in the CF Administrator, with no change. Are there any other known issues with CF10 that would interfere with a webservice call that worked in an earlier version?

I found the answer, and it turned out to be quite simple. After making the change to the default webservice version in CF Admin, I needed to restart the server. It now works, although I am curious as to why adding the wsversion attribute to the cfinvoke tag calling the webservice didn't work. My concern now is that if they add an Axis 2 webservice call in the future that they may run into this problem again.

Similar Messages

  • Web-part issue after migrating from 2010 to 2013

    Hello all
    Correct me if I am posting this question in the wrong section.
    The background is: Migrating and Upgrading SP2010 to SP2013. I did it, and alot of it works, as it should, though I have one issue.
    I did deploy all the solutions to both the 14 and 15 hive, and activated all the propper features. Now, I have one web-part which breaks down. It is a Web-part that communicate with a SAP endpoint, to retrive some data and show dem. The Web-part work fine in
    the 2010 environment.
    As soon as I enter the site where the Web-part is placed in, I am being redirected to the "Maintanence Web-part, error message". If I delete the Web-part I can access the site with no errors. The code works fine in 2010. 
    The error I am getting is "value cannot be null".
    Unexpected System.ArgumentNullException: Value cannot be null. Parameter name: uriString at System.Uri..ctor(String uriString) at Microsoft.SharePoint.SPSite..ctor(String requestUrl) at MyWebPart.Core.ListConfiguration.<>c__DisplayClass1.<GetKeyValue>b__0()
    at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass5.<RunWithElevatedPrivileges>b__3() at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode) at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback
    secureCode, Object param) at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode) at MyWebPart.Core.ListConfiguration.GetKeyValue(String key) at MyWebPart.OrderCatalog.OrderCatalogUserControl.FillFilterBoxes() ... 438bb29c-c202-3049-9aab-e895c85176d5
    Unexpected ...at MyWebPart.OrderCatalog.OrderCatalogControl.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.AddedControl(Control control, Int32 index) at MyWebPart.OrderCatalog.OrderCatalog.CreateChildControls()
    at System.Web.UI.Control.EnsureChildControls() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal()
    at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesB... 438bb29c-c202-3049-9aab-e895c85176d5
    Unexpected ...eforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 438bb29c-c202-3049-9aab-e895c85176d5

    No, I did not migrate the content from 2010 web-config to the 2013 server. This is something I will take a look at, to see if there are some missing points in the config-file of 2013.
    And just to be sure, when we are talking about the config file, it is the one who is associated with the Web-applikation? So, IIS --> WebApp --> Explorer --> and that web.config?

  • Calling Web Service with SOAP header from BPEL

    Hi,
    I am calling a web service (with header information) from BPEL. In the Invoke activity, i created a header variable to pass the header information.
    But, when i test the BPEL service, invoke activity fails because the header information is not being passed.
    Below is the error message (copied from clipboard).
    +<messages><input><Invoke_1_getsubinfo_InputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="parameters"><getsubinfoElement xmlns="http://ws/its/tabs/webservices/SingleRowWS/SingleRowWS.wsdl">+
    +<pSubnoin>+
    +<insubno>12345678</insubno>+
    +</pSubnoin>+
    +</getsubinfoElement>+
    +</part></Invoke_1_getsubinfo_InputVariable></input><fault><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>exception on JaxRpc invoke:+
    start fault message:+
    Internal Server Error (Caught exception while handling request: javax.xml.rpc.JAXRPCException: Not authenticated user)+
    *:end fault message*</summary>
    +</part></bindingFault></fault></messages>+
    As said, no header information is visible in the Invoke activity.
    Please provide help for the above issue.
    -MJ

    Hello Patrick,
    Thanks for the response. I am using normal assign activity to assign values to the header variable as shown below. HeadMT is the header variable which is passed in the invoke activity.
    +<assign name="Assign_Header">+
    +<copy>+
    +<from expression="'tkl12'"/>+
    +<to query="/ns1:LOGIN_INFO/ns1:USER_NAME" variable="*HeadMT*"+
    part="payload"/>
    +</copy>+
    +<copy>+
    +<from expression="'tkl123'"/>+
    +<to query="/ns1:LOGIN_INFO/ns1:PASSWORD" variable="*HeadMT*"+
    part="payload"/>
    +</copy>+
    +<copy>+
    +<from expression="'TKL'"/>+
    +<to query="/ns1:LOGIN_INFO/ns1:CHANNEL_ID" variable="*HeadMT*"+
    part="payload"/>
    +</copy>+
    +</assign>+
    The expected input by the web service is as below with the header information highlighted.
    +<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://ws/webservices/RowWS/RowWS.wsdl">+
    +*<soap:Header>*+
    +*<ns1:LOGIN_INFO>*+
    +*<ns1:USERNAME>tkl12</ns1:USERNAME>*+
    +*<ns1:PASSWORD>tkl123</ns1:PASSWORD>*+
    +*<ns1:CHANNEL_ID>TKL</ns1:CHANNEL_ID>*+
    +*</ns1:LOGIN_INFO>*+
    +*</soap:Header>*+
    +<soap:Body>+
    +<ns1:substatusElement>+
    +<ns1:pInparam>+
    +<ns1:insubno>7674988</ns1:insubno>+
    +</ns1:pInparam>+
    +</ns1:substatusElement>+
    +</soap:Body>+
    +</soap:Envelope>+

  • JMS issues when migration from weblogic 9.2 to 10.3.5

    We are facing some issues when migration from weblogic 9.2 to 10.3.5
    In  weblogic 9.2 :_
    BMP Entity EJBs used in our project are read-only in nature using entity cache, below is the configuration details
    <!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN" "http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd">
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>
    Company
    </ejb-name>
    <entity-descriptor>
    <pool>
    <max-beans-in-free-pool>300</max-beans-in-free-pool>
    <initial-beans-in-free-pool>150</initial-beans-in-free-pool>
    </pool>
    <entity-cache>
    <max-beans-in-cache>3500</max-beans-in-cache>
    <idle-timeout-seconds>100000</idle-timeout-seconds>
    <read-timeout-seconds>0</read-timeout-seconds>
    <concurrency-strategy>ReadOnly</concurrency-strategy>
    </entity-cache>
    Entity beans will get refreshed using the JMS messges. with in the MDB descriptor files(weblogic-ejb-jar.xml) we are using the provider URL directly and XA enabled connection factory is set to false.
    migration to Weblogic 10.3.5_
    With the same configurations MDB are not not getting deployed in weblogic 10 with some exception, so we removed the provider URL from weblogic-ejb-jar.xml and changed the JMS configuration to use foreign JMS and XA enable connection factory is set to true. Now when ever the JMS message is triggered Entity bean is not getting refreshed with the updated values. i.e values are stale.
    Can some one look into this and provide your inputs to resolve this issue.

    I think the Entity bean refresh problem appears to be unrelated to MDBs. The MDB is only responsible for getting the message to your application (which in turn interacts with Entity beans). You might want to try posting your question to an EJB newsgroup.
    Tom

  • How configure a primavera web service to return data from the second database?

    Hi everyone,
    We have P6 with first WS deployed on a single server weblogic domain. The first WS return data from the first database instance.
    Then deployed advanced second WS on a separate weblogic domain server with a different port. Configured second WS with <WS2_INSTALL_HOME>/bin/dbconfig.sh, creating a new branch of a configuration that specifies a different second instance of the database. However, this configuration is ignored and second web services return data from the first database.
    We have one domain, which including next servers:
    Name / Host / Port / Deployments
    P6 / localhost / 0001 / P6(v8.3), p6ws1(v8.3)
    p6ws2 / localhost / 0002 / p6ws2(v8.3)
    Now we have two different file BREBootstrap.xml.
    P6 BREBootstrap.xml:
    <Database>
    <URL>jdbc:oracle:thin:@db1:1521:db1</URL>
    <UserName>pubuser</UserName>
    <Password>anycriptopass1</Password>
    <Driver>oracle.jdbc.OracleDriver</Driver>
    <PublicGroupId>1</PublicGroupId>
    </Database>
    <CfgVersion>8.330</CfgVersion>
    <Configurations>
    <BRE name="P6 Config_DB1" instances="1" logDir="anydir/P6EPPM/p6/PrimaveraLogs"/>
    </Configurations>
    p6ws2 BREBootstrap.xml:
    <Database>
    <URL>jdbc:oracle:thin:@db2:1521:db2</URL>
    <UserName>pubuser</UserName>
    <Password>anycriptopass2</Password>
    <Driver>oracle.jdbc.OracleDriver</Driver>
    <PublicGroupId>1</PublicGroupId>
    </Database>
    <CfgVersion>8.330</CfgVersion>
    <Configurations>
    <BRE name="P6 Config_DB2" instances="1" logDir="anydir/P6EPPM/ws2/PrimaveraLogs"/>
    </Configurations>
    ‘P6 Config_DB1’ and ‘P6 Config_DB2’ including Database property for 1 and 2 database respectively.
    How to configure a second web service to return data from the second database?
    Thanks in advance!
    Regards,
    Dmitry

    OK, so I got this to work this morning with Username Token Profile (with little help from Oracle Support).
    I followed your steps 1-4 but in step 2 I didn't add the -Ddatabase.instance=2 because I want to check to see if my code could swap between different instances.
    It appears for Username Token Profile to use Database Instance, you need to set it in the soap header.
    So my soap request looks like this:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
        <s:Header>
            <DatabaseInstanceId xmlns="http://xmlns.oracle.com/Primavera/P6/WS/Authentication/V1">2</DatabaseInstanceId>
            <o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
                <u:Timestamp xmlns:u='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd' u:Id='uuid-327b6ed1-b26d-4a61-81d5-e326174c1961-3'>
                    <u:Created>2014-10-23T04:28:01.152Z</u:Created>
                    <u:Expires>2014-10-23T04:29:01.152Z</u:Expires>
                </u:Timestamp>
                <o:UsernameToken u:Id='uuid-327b6ed1-b26d-4a61-81d5-e326174c1961-3' xmlns:u='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd'>
                    <o:Username>admin</o:Username>
                    <o:Password Type='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText'>password</o:Password>
                    <o:Nonce EncodingType='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary'>vJBQhCc28bAeszej7gOaiC2tVCQ=</o:Nonce>
                    <u:Created>2014-10-23T04:28:01.152Z</u:Created>
                </o:UsernameToken>
            </o:Security>
        </s:Header>
        <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
            <ReadProjects xmlns="http://xmlns.oracle.com/Primavera/P6/WS/Project/V2">
                <Field>ObjectId</Field>
                <Field>Id</Field>
                <Field>Name</Field>
                <Field>Status</Field>
                <Field>StartDate</Field>
                <Field>FinishDate</Field>
                <Field>DataDate</Field>
                <Filter>Id = 'EC00515'</Filter>
            </ReadProjects>
        </s:Body>
    </s:Envelope>
    This request pulled the project from the second instance.
    V/r,
    Gene

  • Web Services Issues in Coldfusion 8

    Hello all,
    I am trying to deploy .cfc files as web services in a multiserver coldfusion 8 environment.  So far it has not been working out so well.  Whenever I navigate to the .cfc file in a browser the page dumps the .cgi scope and not the component documentation.  If i append ?wsdl to the URL  I get the code for the .cgi scope dump.   You also cannot manually register a web service in the coldfusion administrator.  (components that will be web services are marked as access="remote", these same .cfc files have been and are being used in CF 7.1.)
    The cfc files in the CFIDE folder use the cfcexplorer.cfc component and do show the component documentation.
    My Environment:
    3 x T6300 Sun Solaris Blades
    3 x 8 core processors
    32GB RAM
    Hardware Load Balancer:
    Juniper DX
    NAS /web partition mount for webroot
    Does anyone know of any issues with web services in multiserver CF 8 environment?  Why would the .cfc and .cfc?wsdl dump the cgi scope and not show me the component documentation or the WSDL file?  Is there a setting that I am missing somewhere to allow web services?  Why can't I explore the cfc documentation on a file in the webroot?
    Any help or insight would be greatly appreciated!
    thanks in advance
    Steve

    There is nothing about web service and multi-home ColdFusion or ColdFusion 8 that should be radically different then web services in stand-alone CF7.
    Is there anychance there is an arrent Application.cfc file that might be applied to these ColdFusion component files?  Note that any Application.cfc file (or Application.cfm) between the CFC file and the root directory would be applied to the code running the web service.  There is an often overlooked gotcha with some Application.cfc files that use the onRequest() method.  This method can interfere with the normal deliver of a wsdl response to a web service request if this has not been accounted for in the onRequest() method.

  • Web Services - Issue with running OC4J stand alone server from JDeveloper

    I created a stand alone OC4J App. server instance in JDeveloper. I deployed my Webservice (WebServices.deploy) to that OC4J server.
    Now I want to test my web service. I opened a browser window and I specfied the URL as
    http://localhost:<RMI Port#>/<Project1>-context-root/<Webservice name>.
    Default RMI Port#23791.
    http://localhost:23791/<Project1>-context-root/<Webservice name>.
    and I am getting the following error message
    ã vInvalid protocol verification, illegal ORMI request or request performed with an incompatible version of this protocolvInvalid protocol verification, illegal ORMI request or request performed with an incompatible version of this protocol.
    Could you please let me know, what's going on.
    Thanks!

    OK, so there's two threads in this email.
    1. When using a Web browser client and an OC4J standalone instance, the default address of the OC4J website is http://host:8888/.
    The port you keep referring to is the ORMI port. That is a different protocol that is used with EJBs, and our remote deployment mechanism. As you have observed, JDeveloper uses it to deploy to the OC4J instance.
    2. The root problem you are seeing is related to the message you posted on the console.
    OC4J 10g (10.1.3) Default Web Site. Application: bc4j does not exist. Error creating Web application: webapp
    Because this web app is misconfigured, its not starting so you can't access it.
    In the j2ee/home/config/default-web-site.xml file, there is a reference to an application called BC4J -- which is not available on the server as a deployed application.
    So you need to correct that situation -- BC4J is not normally present in a vanilla OC4J standalone distribution.
    You can try editing the j2ee/home/config/default-web-site.xml file and remove the <web-app> entry that mentions BC4J and then try starting OC4J.
    If you don't have a lot of time invested in configuring the instance, you could also try extracting oc4j_extended.zip again and starting with a fresh one.
    cheers
    -steve-

  • Web Service is not working in COldfusion 8

    Hi,
    I am using the following code for creating the web service.
    this code was perfectly working in Coldfusion 7,
    however not working in Coldfusion 8.
    &lt;cfscript&gt;
        try {
            ws = CreateObject("webservice", CurrentURL & "IntouchDataService.cfc?wsdl");
        } catch (any e) {
            WriteOutput("Error occured while invoking the Web Service at: ");
            WriteOutput('&lt;a href="#CurrentURL#IntouchDataService.cfc?wsdl"&gt;#CurrentURL#IntouchDataService.cfc?wsdl &lt;/a&gt;');
            WriteOutput('&lt;hr /&gt;&lt;h2&gt;');
            WriteOutput(e.message);
            WriteOutput('&lt;/h2&gt;&lt;hr /&gt;');
            WriteOutput(e.detail);
            WriteOutput('&lt;hr /&gt;');
            WriteOutput(e.StackTrace);
    &lt;/cfscript&gt;
    Follwoing error i got:
    coldfusion.jsp.CompilationFailedException: Errors reported by Java compiler: Found 1 semantic error compiling "E:/ColdFusion8/stubs/WS-2123243560/coldfusion/xml/rpc/CFCInvocationException.java": < 10. public class CFCInvocationException extends org.apache.axis.AxisFault implements java.io.Serializable { . . . 88. } > *** Semantic Error: A class file was not generated for the type "coldfusion.xml.rpc.CFCInvocationException" because a library method that it depends on was not found. See system messages for more information. Found 1 semantic error compiling "E:/ColdFusion8/stubs/WS-2123243560/com/intouchsupport/www/IntouchDataService/TestWebServ iceLocator.java": < 10. public class TestWebServiceLocator extends org.apache.axis.client.Service implements com.intouchsupport.www.IntouchDataService.TestWebSe
    Also i did lot of googling to solve this issue but no luck.
    also i found following blog about this issue also and i did the give steps however problem not solved.
    http://tjordahl.blogspot.com/2007/09/coldfusion-8-getting-started-code.html
    Can somebody help me to sort out this issue?
    thanks
    Prashant Gupta

    Hi,
    I got solution to my problem of webservice is not working in CF8.
    the problem was
    we have already a "rt.jar" file in a location and we defined this location in CF Admin >> java jvm >> classpath
    so this file was conflicting.
    i simply removes this file path from CF Admin.
    and restart the CF services.
    and my web service start working.

  • Issue modeling data from Coldfusion cfc

    Problem:  Configure return type in  Flash Builder  (using with Coldfusion) Mysql 5 driver (testing using localhost with CF also acting as the web server)
    I have tried going thru the steps presented in the video presentations for hooking Flash Builder to Coldfusion query data.  I provide a name for a Custom data type, provide variables (that are optionally required by the CFC), and then proceed.  The operation comes back with the following message.
    The operation returned a response of the type "Object"
    You may either update server code to fix the return data or CLICK OK to set "Objecdt" as the returntype of this operation
    In all of the videos I have watched, Flash Builder auto-magically introspected the table that was being called and knew the data types of  each piece of the data returned by the  query. In my case, I get the above message and cannot proceed.
    CFM Testing
    I have tested the query by calling the CFC method via a coldfusion page and dumping the result.  Everything is works with that.
    Action:
    I would like to get past the problem and learn what if anything I am doing wrong with this.  Your input is appreciated.  I have been learning CF and am getting pretty comfortable with that product. I would like to move forward with Flash Builder. I have some basic knowledge of Flex 3.
    Thanks for your help
    Background:
    CFC signature
        <cffunction name="getJewels" access="remote" returntype="any">
            <cfargument name="jType" type="string" required="no" />
            <cfargument name="jActive" type="boolean" required="no" />
            <cfargument name="jOrder" type="boolean" required="no" />
    Server Settings > Settings Summary
    Report generated on Jul 08, 2009 11:07 AM
    This report shows the status of all ColdFusion configuration settings. To display the area of the ColdFusion Administrator where you can edit the group settings, click any of the groups in the report.
    Version Information
    Server Details
    Server Product
    ColdFusion
    Version
    8,0,0,176276
    Edition
    Developer
    Serial Number
    Operating System
    Windows XP
    OS Version
    5.1
    Adobe Driver Version
    3.6 (Build 0017)
    JVM Details
    Java Version
    1.6.0_01
    Java Vendor
    Sun Microsystems Inc.
    Java Vendor URL
    http://java.sun.com/
    Java Home
    C:\ColdFusion8\runtime\jre
    Java File Encoding
    Cp1252
    Java Default Locale
    en_US
    File Separator
    Path Separator
    Line Separator
    Chr(13)
    User Name
    SYSTEM
    User Home
    C:\
    User Dir
    C:\ColdFusion8\runtime\bin
    Java VM Specification Version
    1.0
    Java VM Specification Vendor
    Sun Microsystems Inc.
    Java VM Specification Name
    Java Virtual Machine Specification
    Java VM Version
    1.6.0_01-b06
    Java VM Vendor
    Sun Microsystems Inc.
    Java VM Name
    Java HotSpot(TM) Server VM
    Java Specification Version
    1.6
    Java Specification Vendor
    Sun Microsystems Inc.
    Java Specification Name
    Java Platform API Specification
    Java Class Version
    50.0
    This is the dataset I am trying to get at.
    dstones
    CF data source name
    dstones
    Description
    Dancing stones databases
    Driver
    MySQL5
    JDBC URL
    jdbc:mysql://localhost:3306/hmsollie?
    Username
    root
    Login timeout
    30  seconds
    Long text buffer size
    64000
    Timeout
    1200  seconds
    Maintain connections
    Yes
    Interval
    420  seconds
    Restricted SQL operations
    Disable connections
    No
    Data & Services > Flex Integration
    Enable Flash Remoting support
    Lets a Flash client connect to this ColdFusion server and invoke ColdFusion Components (CFCs).                NOTE: Disabling this feature also disables ColdFusion server monitoring and multiserver monitoring.
    Enable Remote Adobe LiveCycle Data Management access
    Lets LiveCycle Data Services ES connect to this ColdFusion server through RMI                and use CFCs to read and update data that supports a                Flex application. If you are not using this feature, disable it.                This does not affect LiveCycle Data Services ES integrated in to the ColdFusion installation.
    Server Identity:
    If you are running more than one instance of ColdFusion on this machine, you must           configure each instance with a unique ID.
    Enable RMI over SSL for Data Management
    Lets you use Secure Socket Layer (SSL) encryption for the RMI communication between Flex and ColdFusion.                This is not required unless you are transmitting authentication information or confidential                data between Flex and ColdFusion over an unsecured network. You must provide a keystore file and keystore password.                For instructions on how to create a keystore file, see the online Help.
    Full path to keystore:
    Keystore password:
    Select IP addresses where LiveCycle Data Services are running
    To secure the LiveCycle Data Services ES integration point, the hosts that are allowed to perform Data Management operations are restricted. If you are running LiveCycle Data Services ES on a different computer, specify its IP address here. By default, only the local computer can perform Data Management operations in ColdFusion.
    IP Address
    View or Remove selected IP addresses where LiveCycle Data Services ES are running

    Sunil,
         I have found the problem. When initialy given the arguments list to fill in "Configure Return Type", I filled in a string argument as "E".  This gives a return of object.  To accurately use the Configure Return Type, I needed to just fill in a string as E.
    See the Screen Prints on the error
    I have tested the following functionality and it appears to work ok
    1.  I have tested with no parms to the CFC query method
    2. I have tested  using Dynamic SQL based on variables set before the query in a  CFC method
    3. I have tested passing one string argument in from Flash Builder  to a CFC method
    4. I have tested passing a string and boolean argument From Flash Builder to a CFC method
    For 3 and 4, I had make some slight changes o set the arguments that were being sent to CFC in Flash Builder before the call
    It all worked.
    **** New Issue ***
    I have another runtime issue involving states that I uncovered in my testing where buttons are the screen were being covered up when I used some of the DataGrid Controls.  If I can repeat it, I will post it and then let you guys let me know how to work around this.
    I am a Flex/AS Novice, so I may be mis-understanding something on this new issue.
    Thanks.

  • EJB perfomance issue while migrating from weblogic 10.0 to 10.3

    Hi,
    I have an EJB service which I am migrating from 10.0 to 10.3
    The service contains an entityManager.find() method which takes less than 2 secs to execute on 10.0 and more than 10 secs on 10.3.
    The code snippet and the log trace are as below --
    Code:
          logger.debug("Looking up Person for id " + personId);
       Person info = entityMngr.find(Person.class, personId);
        if(info != null) {
            logger.debug("Found Person" + info.getFirstName() + " " + info.getLastName() + " for id " + personId);
    log entries:
    05/31/2010 *02:35:25,197* DEBUG persistence.bean.PersistenceService [[ACTIVE] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)':822] - Looking up Person for id 12014
    05/31/2010 *02:35:36,272* DEBUG persistence.bean.PersistenceService [[ACTIVE] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)':829] - Found Person Vitasha Harinarine for id 12014
    Could somebody please help me debugging this issue? The code has not changed before migrating to 10.3. I have checked that the datasources on both environments are exactly the same.
    Any help would be greatly appreciated.
    Thanks in advance!
    Regards,
    Nishtha

    Don't do that. The ClassLoader used to manage web components is the child of the classloader used to manage EJB components - the servlet can use EJB classes, the EJB's cannot use web classes.
    This is also very poor practice as it couples the business logic layers of you system to the presentation - only the reverse should be done. WLS 6.0 is behaving appropriately.
    Chuck

  • Iplanet Web Service issue.. Please Help

    Hi All,
    I am new Admin User for Iplanet and would required your kind help in one of our ongoing issue.We are using Iplanet Web Server Admin Server.
    Since while we have been noticing that the iplanet Web Server Service goes down frequentely when ever there is some installtion been done from Java.
    [13/Aug/2009:14:07:00] info ( 8472): successful server startup
    [13/Aug/2009:14:07:00] info ( 8472): iPlanet-WebServer-Enterprise/6.0SP5 B10/31/2002 14:41
    [13/Aug/2009:14:07:01] info ( 8472): Installing a new configuration
    [13/Aug/2009:14:07:01] info ( 8472): [LS ls1] http://ssoportal1.uk.money.ge.com, port 8080 ready to accept requests
    [13/Aug/2009:14:07:01] info ( 8472): A new configuration was successfully installed
    [13/Aug/2009:14:07:01] info ( 8472): Using the Classic VM v1.2.2 from Sun Microsystems Inc.
    [13/Aug/2009:14:07:01] info ( 8472): Java VM classpath: C:/iPlanet/Servers/plugins/servlets/examples/legacy/beans.10/SDKBeans10.jar;C:/iPlanet/Servers/bin/https/jar/NSServletLayer.jar;C:/iPlanet/Servers/bin/https/jar/NSJavaUtil.jar;C:/iPlanet/Servers/bin/https/jar/AdminNativeUtil.jar;C:/iPlanet/Servers/bin/https/jar/NSJavaMiscUtil.jar;C:/iPlanet/Servers/bin/https/jar/servlet.jar;C:/iPlanet/Servers/bin/https/jar/servlet-2.3-filters-api.jar;C:/iPlanet/Servers/bin/https/jar/jsp092.jar;C:/iPlanet/Servers/bin/https/jar/jaxp.jar;C:/iPlanet/Servers/bin/https/jar/crimson.jar;C:/iPlanet/Servers/bin/https/jar/xalan.jar;C:/iPlanet/Servers/bin/https/jar/jspengine.jar;
    [13/Aug/2009:14:07:01] info ( 8472): Loading IWSSessionManager by default.
    [13/Aug/2009:14:07:01] info ( 8472): IWSSessionManager: Maximum number of sessions is 1000
    [13/Aug/2009:14:07:01] info ( 8472): Successfully initialized web application environment (web-apps.xml) for virtual server (https-myukswcap1ip001-SSO)
    Our Iplanet Web Server is operating on Windows 2000 SP4.
    Any suggestion on this will be of Gr8 Help.
    Thanks
    Anand

    Okie-dokie then.
    You can hard-code the hostname into the /etc/hostconfig file. Usually, it reads <pre>HOSTNAME=-AUTOMATIC-</pre> but you can substitute <pre>HOSTNAME=machine.domain.com</pre>
    You don't need to reboot if you also issue the command
    <pre>sudo hostname machine.domain.com</pre> on the command line. (I could be wrong, but I think the hostconfig file is read on boot only.)
    Then try <pre>sudo apachectl configtest</pre> once again. If you get no errors, see if you can start up the web service. You can do it either with the Server Admin app or with <pre>sudo apachectl start</pre>

  • Web Service receives no data from Stored Procedure call.

    Issue: When calling a Stored Procedure from a Web Service no data is returned.
    Lead up: I can call the SP 100 times a day for 3-4 days then for some reason the Web Service no longer get the data from SQL. I have ran a trace and I can see the SP running though all of its steps and returning the data, but the Web Service
    is not getting it.
    Fix: None yet.
    Work around: Before the Web Service calls the SP, I am sending an SP_Recompile to the SP in question. For now this seems to have resolved the issue.
    Detail: 
    1. SP is querying data from another DB on the same server.
    2. SP is storing query data in Temp Tables.

    Hello,
    Does your Stored Procedure have parameters? If so, the issue may be cause by parameter sniffing. Please refer to the following blog about Paraemeter Sniffing:
    http://www.sommarskog.se/query-plan-mysteries.html
    The recommended fix for most situations is to not use parameters directly in queries, but rather store them into local variables and then use those variables in the queries.
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here.
    Fanny Liu
    TechNet Community Support

  • Web Dynpro error after migration from 7.00 to 7.40

    Hi all!
    I have migrated a Web Dynpro for Java application from SAP Netweaver 7.00 to 7.40. Everything worked pretty good except some dependencies. These were fixed now but now we have an error when using the web gui.
    We have a reproducable error always at the same location in the application. The error message hints to a view (name = HeaderView) and there at an image object (ID = LEAHeaderImageCenter). I already tried to rename the image object but no success
    Some technical information:
    - Server: SAP NW 7.40 SP08 (Java only), SAP JVM, Linux SLES 11, Oracle DB
    - Browser: Chrome (39xxx), IE 8, FF 33 (alway the same error ...)
    Here is the stacktrace:
    java.lang.IllegalStateException: IDs for initialization not empty: [NCEF.HeaderView.LEAHeaderImageCenter]
      at com.sap.tc.webdynpro.clientserver.uielements.lsmgr.RenderManager.setWriter(RenderManager.java:470)
      at com.sap.tc.webdynpro.clientimpl.ajax.AjaxClient.getRenderManager(AjaxClient.java:1101)
      at com.sap.tc.webdynpro.clientimpl.ajax.AjaxClient.sendResponse(AjaxClient.java:1386)
      at com.sap.tc.webdynpro.clientimpl.ajax.AjaxClient.sendResponse(AjaxClient.java:382)
      at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.renderResponse(AbstractClient.java:144)
      at com.sap.tc.webdynpro.clientserver.phases.RenderPhase.execute(RenderPhase.java:45)
      at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRenderResponse(WindowPhaseModel.java:182)
      at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRenderResponse(WebDynproWindow.java:552)
      at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.renderTasks(AbstractClient.java:133)
      at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doRendering(ClientApplication.java:1648)
      at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doProcessing(ClientApplication.java:1491)
      at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessingStandalone(ApplicationSession.java:908)
      at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessing(ApplicationSession.java:880)
      at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:357)
      at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:326)
      at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)
      at com.sap.tc.webdynpro.serverimpl.wdc.DispatcherServlet.doContent(DispatcherServlet.java:101)
      at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doPost(AbstractDispatcherServlet.java:62)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)
      at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:373)
      at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:499)
      at com.sap.tc.webdynpro.serverimpl.wdc.ForwardServlet.doPost(ForwardServlet.java:77)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)
      at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:38)
      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:466)
      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)
      at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
      at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)
      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
      at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)
      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
      at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
      at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
      at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
      at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
      at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
      at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
      at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
      at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
      at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)
      at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
      at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)
      at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
      at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)
      at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
      at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)
      at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)
      at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
      at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
      at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
      at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
    Any ideas how to fix the problem?
    Thanks in advance!
    Richard

    You can delete Image object and create new one try again.Or check the view any binding values and mapping may be missing in the node and View.

  • Issue in Migration from JDev 10.1.2  to JDev 10.1.3

    A web app developed under JDev 10.1.2. Now try to migrate it to JDev 10.1.3. During the migration process, encountered a message:
    Migrating /D:/Oracle/App/webroot/WEB-INF/struts-config.xml from JDev 10.1.2 to JDev 10.1.3
    Detected custom lifecycle in the ADF application - struts-config.xml is not migrated. Please refer to documentation section on migration.
    Migration failed for /D:/Oracle/App/webroot/WEB-INF/struts-config.xml
    What should I do?
    Thanks

    i got same problem too.
    run project,display as follow:
    java.lang.RuntimeException: Model binding context not initialized     at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:113)     at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:77)     at oracle.adf.controller.struts.actions.DataActionContext.initialize(DataActionContext.java:51)     at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:150)     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)     at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)     at java.lang.Thread.run(Thread.java:595)

  • Web Service Issue - Security or Coding problem? *HELP*

    Hello all - I am stuck on a particular problem, which I've posted under flash player but also will post here in the event that it's my issue, and not a security/player issue.
    I have built a video player in Flash/ AS3 which communicates with WSDL web services using the as3webservice code package from wellconsidered. The player makes a call at startup to check a user's progress in a series of videos, and updates that progress by talking to the web service as the videos are played back.
    Tested locally, it works flawlessly. As soon as the player is uploaded, however, the web service' hangs' - so no fault is produced, but it seems to just never connect. This is presumably because the SWF is on one server, the web service on another. I've tried uploading it to two different servers, both different than the web service server. I'm trying to avoid moving the web service to the same server that hosts the SWF.
    I've tried adding a crossdomain.xml file to the root and subdirectories of the server that hosts the web service:
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM
    "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
        <site-control permitted-cross-domain-policies="master-only"/>
        <allow-access-from domain="*"/>
        <allow-http-request-headers-from domain="*" headers="*"/>
    </cross-domain-policy>
    I've also tried playing with the SWF publishing options (Local Access only vs. Network only options), but no solution seems to help. I know it's not just the web service i"m using, because public web services (such as the ones found on webservicex.net) don't connect either.
    I'm at the end of my rope, and am wondering if this is a Flash Player security issue, or something I need to reconsider from my side (such as using a different web services package).I am wondering if a crossdomain.xml does not help, what other possible areas do I need to look at? If there is an article someone could point me to, or a simliar situation they've been in, i'm iopen to all suggestions.
    Thanks so much...fg

    You can generally check what the player is doing from the browser by using firefox with the firebug plugin. For example you can see the crossdomain permission requests or other urlrequests and responses. This is a useful way to debug as it sometimes shows issues or at the very least means you can eliminate one potential cause of the issue if there are no obvious problems there.
    If you don't have firefox/firebug, then (if you can) post a url with the swf in it that exhibits the error and I or someone else can check it for you and report back.

Maybe you are looking for