Return from method

Hello, I want to return all three arrays in this method. what�s wrong with this code.tnx
public int prim(int arr[])
arr[0] = Integer.parseInt(textField1.getText());
arr[1] = Integer.parseInt(textField2.getText());
arr[3] = Integer.parseInt(textField3.getText());
return arr[];
}

You should read the beginnners' tutorials.Resources for Beginners
Sun's basic Java tutorial
Sun's New To Java Center. Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
http://javaalmanac.com. A couple dozen code examples that supplement The Java Developers Almanac.
jGuru. A general Java resource site. Includes FAQs, forums, courses, more.
JavaRanch. To quote the tagline on their homepage: "a friendly place for Java greenhorns." FAQs, forums (moderated, I believe), sample code, all kinds of goodies for newbies. From what I've heard, they live up to the "friendly" claim.
Bruce Eckel's Thinking in Java (Available online.)
Joshua Bloch's Effective Java
Bert Bates and Kathy Sierra's Head First Java. This one has been getting a lot of very positive comments lately.

Similar Messages

  • Data Control does not show POJO returned from method

    Hi,
    I am running JDev 11.1.1.7. In my AppModule.impl I created a method that returns a simple POJO (which implements serializable) that has two String fields. I have exposed the method in the appmodule client interface. In the data control the method shows up with a return element instead of an object or any way to access the two String fields. I want to display the two String fields in separate output text components on my jspx page. I'm not finding documentation on how to do this. Can somebody point me to documentation or tell me how to make this change to the data control method return?
    Thanks in advance,
    Steve

    AM method can return custom type, but AFAIK there is no support for object introspection in design time.
    (so you can invoke this programmatically and cast to appropriate type, but you can't do DnD from Data Control pane).
    So, option 1 is to bind value property of your outputText fields to managed bean, programmatically call AM method, fill these properties manually and refresh your UI components(note that managed bean must be registered in viewScope or higher to preserve values)
    Option 2 is to create Bean DataControl (with this you will have DnD support)
    Dario

  • Problem with image returned from getGeneratedMapImage method

    I'm a newbie as far as map viewer and Java 2D goes....
    My problem is the java.awt.Image returned from the getGeneratedMapImage method of the MapViewer API. The image format is set to FORMAT_RAW_COMPRESSED. The image returned is of poor quality with colors not being correct and lines missing. I'm painting the Image returned from this method onto my own custom JComponent by overriding the paint() method...
    public void paint( Graphics g )
    Image image = map.getGeneratedMapImage();
    if ( image != null )
    g.drawImage( image, getLocation().x, getLocation().y, Color.white, this );
    If I take the xml request sent to the application server and paste it into a "sample map request" on the map admin website (along with changing format to PNG_STREAM) my image renders exactly how I expect it to.
    Anyone have any idea what I need to do to get the java.awt.Image with format set to FORMAT_RAW_COMPRESSED to render correctly. I was hoping to get back a BufferedImage or a RenderedImage from the getGeneratedMapImage call but I'm getting back a "sun.awt.motif.X11Image".
    Will downloading the JAI (java advanced imaging) from sun help me at all?

    Joao,
    Turns out it is related to colors. I'm dynamically adding themes, linear features and line styles. I ran a test where I changed the color being specified in the line style from magenta (ff00ff) to black. When I changed the color the linear feature would show up. It was being rendered as white on a white background when I was specifying it to be magenta. I'm specifying another linear feature to be green and it is showing up in the java image as yellow. This doesn't happen when I take the generated XML from the request and display it as a PNG_STREAM.
    Any clue what is going on there?
    Jen

  • How to get string which is return from a method and method is called from a filter

    Can anyone please guide me how i will get a string on a template, this string value is return by method which is called through 'ValidateStandered' filter.
    My problem is when i CheckIn a document, i am implementing some validation of duplicated document and duplicated document is identified by some metadata value.
    if metadata value of CheckIn document(current document) is same with existing document then filter will return ddocname and ddoctitle of existing document on a template(user can see the ddocname of existing item).

    please find error logs also:
    intradoc.data.DataException: !csDbCouldNotBind,getValueOfDuplicateDocument
            at intradoc.jdbc.JdbcQueryUtils.buildQuery(JdbcQueryUtils.java:107)
            at intradoc.jdbc.JdbcWorkspace.buildQuery(JdbcWorkspace.java:736)
            at intradoc.jdbc.JdbcWorkspace.createResultSet(JdbcWorkspace.java:639)
            at CheckInRestrictionFilter.CheckInRestrictionFilter.getResultSet(CheckInRestrictionFilter.java:108)
            at CheckInRestrictionFilter.CheckInRestrictionFilter.doFilter(CheckInRestrictionFilter.java:57)
            at intradoc.shared.PluginFilters.filterWithAction(PluginFilters.java:114)
            at intradoc.shared.PluginFilters.filter(PluginFilters.java:68)
            at intradoc.server.DocServiceHandler.validateStandard(DocServiceHandler.java:1251)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
            at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:324)
            at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
            at intradoc.server.Service.doCodeEx(Service.java:620)
            at intradoc.server.Service.doCode(Service.java:592)
            at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1693)
            at intradoc.server.Service.doAction(Service.java:564)
            at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1483)
            at intradoc.server.Service.doActions(Service.java:559)
            at intradoc.server.ServiceRequestImplementor.executeSubServiceCode(ServiceRequestImplementor.java:1346)
            at intradoc.server.Service.executeSubServiceCode(Service.java:4109)
            at intradoc.server.ServiceRequestImplementor.executeServiceEx(ServiceRequestImplementor.java:1222)
            at intradoc.server.Service.executeServiceEx(Service.java:4104)
            at intradoc.server.Service.executeService(Service.java:4088)
            at intradoc.server.Service.doSubService(Service.java:3998)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
            at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310)
            at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295)
            at intradoc.server.Service.doCodeEx(Service.java:637)
            at intradoc.server.Service.doCode(Service.java:592)
            at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1693)
            at intradoc.server.Service.doAction(Service.java:564)
            at intradoc.server.Service.doScriptableAction(Service.java:4050)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
            at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310)
            at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295)
            at intradoc.server.Service.doCodeEx(Service.java:637)
            at intradoc.server.Service.doCode(Service.java:592)
            at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1693)
            at intradoc.server.Service.doAction(Service.java:564)
            at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1483)
            at intradoc.server.Service.doActions(Service.java:559)
            at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1415)
            at intradoc.server.Service.executeActions(Service.java:545)
            at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:751)
            at intradoc.server.Service.doRequest(Service.java:1974)
            at intradoc.server.ServiceManager.processCommand(ServiceManager.java:486)
            at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
            at intradoc.idcwls.IdcServletRequestUtils.doRequest(IdcServletRequestUtils.java:1355)
            at intradoc.idcwls.IdcServletRequestUtils.processFilterEvent(IdcServletRequestUtils.java:1732)
            at intradoc.idcwls.IdcIntegrateWrapper.processFilterEvent(IdcIntegrateWrapper.java:223)
            at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)
            at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)
            at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)
            at idcservlet.ServletUtils.executeContentServerIntegrateMethodOnConfig(ServletUtils.java:1680)
            at idcservlet.IdcFilter.doFilter(IdcFilter.java:457)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
            at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
            at java.security.AccessController.doPrivileged(Native Method)
            at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
            at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
            at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
            at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
            at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
            at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
            at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
            at java.security.AccessController.doPrivileged(Native Method)
            at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
            at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
            at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
            at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
            at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3739)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3705)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
            at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2282)
            at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2181)
            at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1491)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

  • Best way to refresh page after returning from task flow?

    Hello -
    (Using jdev 11g release 1)
    What is the best way to refresh data in a page after navigating to and returning from a task flow with an isolated data control scope where that data is changed and commited to the database?
    I have 2 bounded task flows: list-records-tf and edit-record-tf
    Both use page fragments
    list-records-tf has a list.jsff fragment and a task flow call to edit-record-tf
    The list.jsff page has a table of records that a user can click on and a button which, when pressed, will pass control to the edit-record-tf call. (There are also set property listeners on the button to set values in the request that are used as parameters to edit-record-tf.)
    The edit-record-tf always begins a new transaction and does not share data controls with the calling task flow. It consists of an application module call to set up the model according to the parameters passed in (edit record X or create new record Y or...etc.), a page fragment with a form to allow users to edit the record, and 2 different task flow returns for saving/cancelling the transaction.
    Back to the question - when I change a record in the edit page, the changes do not show up on the list page until I requery the data set. What is the best way to get the list page to refresh itself automatically upon return from the edit-record-tf?
    (If I ran the edit task flow in a popup dialog I could just use the return listener on the command component that launched the popup. But I don't want to run this in a dialog.)
    Thank you for reading my question.

    What if you have the bean which has refresh method as TF param? Call that method after you save the data. or use contextual event.

  • How to use value returned from a bean in jsp page

    Hi All,
    I have a string array value being returned from a javabean to a jsp page. I want to be able to assign the value to a variable in the jsp page.
    How do I do this?
    Many thanks :)

    thanks for your response.
    I actually used something like this:
    <% String loggedin = log.User(user,password);
    out.println(loggedin);
    %>i am not yet as much of an expert on beans as i would like to be, but i thought it is not really a bean if it has a getter method which takes arguments?

  • A SOA Exception returned from Oracle EBS ISG

    Hi All,
    Need your help. Maybe someone know the solution for this error.
    Background
    Using a webservice client to call WSDL service which is published in Oracle EBS Integrated SOA Gateway. After invoking, encounter a error.
    Error
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><faultcode xmlns="">SOAP-ENV:Server</faultcode><faultstring xmlns="">FND_SOA_SERVICE_EXECUTION_ERR:oracle.apps.fnd.soa.util.SOAException: ServiceExecutionError: Error while executing the service Exception returned from JCA Service Runtime. Exception returned from JCA Service Runtime. null
        :Please see service monitor logs for full error trace</faultstring></env:Fault></env:Body></env:Envelope>
    My Research
    I checked SOA log, found detailed log like below.
    Fri Aug 23 19:19:04 CST 2013 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : JCAClientFactoryCrated.
    Fri Aug 23 19:19:04 CST 2013 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : JCAInterfaceCreated.
    Fri Aug 23 19:19:04 CST 2013 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : JCAOperationCreated.
    Fri Aug 23 19:19:04 CST 2013 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : buildversion in jcahanlder is 1213
    Fri Aug 23 19:19:04 CST 2013 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : found runtime classes
    Fri Aug 23 19:19:04 CST 2013 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : created instance for runtime classes
    Fri Aug 23 19:19:04 CST 2013 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : runtime Methods found [Ljava.lang.reflect.Method;@2ba02ba0
    Fri Aug 23 19:19:04 CST 2013 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : method executeRequestResponseOperation found
    Fri Aug 23 19:19:04 CST 2013 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : executing 3 parameter method
    Fri Aug 23 19:19:05 CST 2013 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : Exception returned from JCA Service Runtime.java.lang.reflect.InvocationTargetException
    Fri Aug 23 19:19:05 CST 2013 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : Exception returned from JCA Service Runtime.oracle.apps.fnd.soa.util.SOAException: ServiceProcessingError: Exception returned from JCA Service Runtime. null
    Fri Aug 23 19:19:05 CST 2013 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.handleRequest : Exception returned from JCA Service Runtime.oracle.apps.fnd.soa.util.SOAException: ServiceProcessingError: Exception returned from JCA Service Runtime. Exception returned from JCA Service Runtime. null
    Fri Aug 23 19:19:05 CST 2013 : oracle.apps.fnd.soa.provider.SOAProvider.createErrorResponseMessage : Creating Error Response Message.
    Fri Aug 23 19:19:05 CST 2013 : oracle.apps.fnd.soa.provider.SOAProvider.getNLSTranslatedMessage : Error code : FND_SOA_SERVICE_EXECUTION_ERR
    Fri Aug 23 19:19:05 CST 2013 : oracle.apps.fnd.soa.util.SOAContext.setSecurityContext : Is security context set = true
    Fri Aug 23 19:19:05 CST 2013 : oracle.apps.fnd.soa.util.SOAContext.setNLSContext : Is nls context set = true
    Fri Aug 23 19:19:05 CST 2013 : oracle.apps.fnd.soa.provider.SOAProvider.getNLSTranslatedMessage : NLS Compliant Error Msg = FND_SOA_SERVICE_EXECUTION_ERR
    Fri Aug 23 19:19:05 CST 2013 : oracle.apps.fnd.soa.provider.SOAProvider.createErrorResponseMessage : Setting fault string = FND_SOA_SERVICE_EXECUTION_ERR:oracle.apps.fnd.soa.util.SOAException: ServiceExecutionError: Error while executing the service Exception returned from JCA Service Runtime. Exception returned from JCA Service Runtime. null
        :Please see service monitor logs for full error trace
    Fri Aug 23 19:19:05 CST 2013 : oracle.apps.fnd.soa.provider.SOAProvider.createErrorResponseMessage : Error Response Message Created
    Fri Aug 23 19:19:05 CST 2013 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : oracle.apps.fnd.soa.util.SOAException: ServiceExecutionError: Error while executing the service Exception returned from JCA Service Runtime. Exception returned from JCA Service Runtime. null
        at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.handleRequest(JCAHandler.java:135)
        at oracle.apps.fnd.soa.provider.SOAProvider.processMessage(SOAProvider.java:366)
        at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:958)
        at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:388)
        at java.security.AccessController.doPrivileged(AccessController.java:284)
        at javax.security.auth.Subject.doAs(Subject.java:573)
        at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:385)
        at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:481)
        at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
        at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
        at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:200)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
        at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
        at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
        at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
        at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
        at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
        at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
        at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
        at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
        at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
        at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
        at java.lang.Thread.run(Thread.java:735)
    java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:599)
        at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke(JCAHandler.java:193)
        at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.handleRequest(JCAHandler.java:123)
        at oracle.apps.fnd.soa.provider.SOAProvider.processMessage(SOAProvider.java:366)
        at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:958)
        at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:388)
        at java.security.AccessController.doPrivileged(AccessController.java:284)
        at javax.security.auth.Subject.doAs(Subject.java:573)
        at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:385)
        at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:481)
        at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
        at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
        at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:200)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
        at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
        at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
        at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
        at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
        at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
        at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
        at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
        at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
        at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
        at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
        at java.lang.Thread.run(Thread.java:735)
    Caused by: org.collaxa.thirdparty.apache.wsif.WSIFException: file:/xxxx/soa/PLSQL/4392/INVOKEFMSWS.wsdl [ INVOKEFMSWS_ptt::INVOKEFMSWS(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'INVOKEFMSWS' failed due to: Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    ; nested exception is:
        ORABPEL-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    See root exception for the specific exception. You may need to configure the connection settings in the deployment descriptor (i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml) and restart the server. Caused by javax.resource.spi.InvalidPropertyException: Missing Property Exception.
    Missing Property: [DBManagedConnectionFactory.userName].
    Make sure the property is set in the interaction (activation) spec by editing its definition in the wsdl.
        at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:642)
        at oracle.tip.adapter.client.JCABindingOperation.invokeWsifProvider(JCABindingOperation.java:275)
        at oracle.tip.adapter.client.JCABindingOperation.executeRequestResponseOperation(JCABindingOperation.java:182)
        ... 30 more
    Caused by: ORABPEL-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    See root exception for the specific exception. You may need to configure the connection settings in the deployment descriptor (i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml) and restart the server. Caused by javax.resource.spi.InvalidPropertyException: Missing Property Exception.
    Missing Property: [DBManagedConnectionFactory.userName].
    Make sure the property is set in the interaction (activation) spec by editing its definition in the wsdl.
    And in MOS, I found below related metalink note, But I think my case is not same with the description in that note, bcz the reponsibility I provided is not null, and should be a correct value.
    FND_SOA_SERVICE_EXECUTION_ERR Error When Invoking EBS SOA Gateway Web Service (Doc ID 1512956.1)
    Thanks in advance
    Paul

    Hi, PaulTian ,
      Have you find the solution? I have the same problem, and it world not be responsibility reasons. The webservice worked well ,but it stopped when applied a patch.
    Kevin

  • How can I refresh a calling page on return from a TF activity ?

    Hi,
    I have a (sounds easy) case where a view activity invokes a BTW with fragments. The called BTF has been declared with isolated data control scope. Inside the BTF some updates happen and when the BTF returns the calling view should display the modified data. The BTF should not be opened as a dialog and the above take place inside a region. There are examples in the Internet for how to implement such case but only calling a taskflow with pages from a dialog.
    I tried creating first the Taskflow binding definition [19.10.1 How to Associate a Page Definition File with a Task Flow Activity|http://docs.oracle.com/cd/E35521_01/web.111230/e16182/taskflows_activities.htm#sthref539] , then I set the related operations (Execute, setCurrentRowWithKey, ...) in the Page Definition and invoke the operations inside the “After Listener” Listener (<after-listener>) of the taskflow activity but the binding context is not accessible inside the listener, I get NPE accessing the binding.
    After some tests I have found that I can call the Operations using “#data.taskflowdefinition..” but I afraid using this technique because of so many papers stating that this is a bad practice.
    Additionally I tested using an invokeAction in the calling page definition page and it works but I prefer “refreshing” the model from the activity (there are many pages calling the same activity).
    I am wondering if there is a more elegant solution that I haven’t seen yet.
    Thanks for any ideas,
    Yiannis
    Edited by: Tses on Mar 8, 2013 11:15 PM

    Hi Timo and thank you for your reply,
    As far as I know any method executed in the BTF has no effect in the calling page because of the isolated data control scope.
    Consider the following layout of a very simple TF diagram. The BTF has "Share data controls with calling task flow" unchecked and "Always begin new transaction"
    View --> Method Call --> BTF
    Now imagine that a user navigates from the View to the BTF, make updates and finally commits the transaction from a taskflow return activity. The updates are executed inside the "private" BTF's data control scope because of the BTF settings.
    Returning to the calling View the user sees stale data from the Data Control of the View, until he re-queries the model.
    ADF supports execution of code during the call of the BTF (through Method Call) and also sending and returning parameters from the View to the BTF.
    Conversely on return from the BTF there is no handler for executing code (something like "Return Method Call") in order to refresh (e.g. re-query and set current row) the View exploiting the return parameters.
    The "After Listener" in the taskflow call activity has not access to the bindings context. Using #{data.bindingTFXXX} I guess that has a risk in a high availability environment for NPE where the http call to the BTF might be processed in a different server than the returning http call so the #{data.bindingTFXXX} might not exists.
    The other solution I found using invokeAction with RefreshCondition depends on the returning values of the BTF, bloats the View with Bindings that I would prefer to be in a central place.
    Am i missing something in the whole flow above ?
    Yiannis

  • Manipulating condition value after being returned from IPC

    Hi all,
    How can we manipulate the condition rate data after the value is returned from IPC?
    We tried using CRM_PRICING_I_BADI calling the method CRM_PRICING_I_MERGE. But it did not solve the issue.
    Requirement is to read the data of a particular condition type from a preceedign document and then overwirte the conditon value of condition type in the current transaction with that old value from previous document.
    Can this be achieved without using Java coding and manipulate the value after IPC has returned the conditon value and before it is being presented on GUI?
    Please help me with your suggestions.
    Regards,
    David.

    Hello david,
    You might ned to use the user Exit provided by the Pricing Engine to work this out. this will require Java coding.
    Regards,
    Tanu

  • Oracle.apps.fnd.soa.util.SOAException: ServiceProcessingError: Exception returned from JCA Service Runtime. file:/u01/oracle/VIS/inst/apps/VIS_oracle-ebs/soa/PLSQL/4892/XXBT_MIDAS_ORDER_CREATION.wsdl

    we are getting below issue while generating WSDL .Can you please help me some one ?
    Error Description
    Error occured while service was processing. 
    Error Details
    oracle.apps.fnd.soa.util.SOAException: ServiceProcessingError: Exception returned from JCA Service Runtime. file:/u01/oracle/VIS/inst/apps/VIS_oracle-ebs/soa/PLSQL/4892/XXBT_MIDAS_ORDER_CREATION.wsdl [ XXBT_MIDAS_ORDER_CREATION_ptt::XXBT_MIDAS_ORDER_CREATION(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'XXBT_MIDAS_ORDER_CREATION' failed due to: Could not instantiate InteractionSpec oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec due to: Error while setting JCA WSDL Property. Property setIRepOverloadSeq is not defined for oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec Please verify the spelling of the property. ; nested exception is: ORABPEL-12532 Error while setting JCA WSDL Property. Property setIRepOverloadSeq is not defined for oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec Please verify the spelling of the property. ; nested exception is: org.collaxa.thirdparty.apache.wsif.WSIFException: Could not instantiate InteractionSpec oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec due to: Error while setting JCA WSDL Property. Property setIRepOverloadSeq is not defined for oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec Please verify the spelling of the property. ; nested exception is: ORABPEL-12532 Error while setting JCA WSDL Property. Property setIRepOverloadSeq is not defined for oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec Please verify the spelling of the property. at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke(JCAHandler.java:169) at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.handleRequest(JCAHandler.java:113) at oracle.apps.fnd.soa.provider.SOAProvider.processMessage(SOAProvider.java:342) at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:956) at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:358) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:396) at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:355) at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:466) at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114) at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96) at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:194) at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:619) org.collaxa.thirdparty.apache.wsif.WSIFException: file:/u01/oracle/VIS/inst/apps/VIS_oracle-ebs/soa/PLSQL/4892/XXBT_MIDAS_ORDER_CREATION.wsdl [ XXBT_MIDAS_ORDER_CREATION_ptt::XXBT_MIDAS_ORDER_CREATION(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'XXBT_MIDAS_ORDER_CREATION' failed due to: Could not instantiate InteractionSpec oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec due to: Error while setting JCA WSDL Property. Property setIRepOverloadSeq is not defined for oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec 

    Hi HDeiby,
    I didn't find the "setIRepOverloadSeq" in wsdl file.i have verified all wsdl files but i didn't find. Please let me know excat file name .
    [applmgr@oracle-ebs 4892]$ ls -ltr
    total 24
    -rwxrwxrwx 1 applmgr dba 3167 Sep  5 02:46 XXBT_MIDAS_ORDER_CREATION.wsdl
    -rwxrwxrwx 1 applmgr dba  706 Sep  5 02:46 XXBT_MIDAS_ORDER_CREATION_PKG.wsdl
    -rwxrwxrwx 1 applmgr dba 3534 Sep  5 02:46 XXBT_MIDAS_ORDER_CREATION_PKG_soap.wsdl
    -rwxrwxrwx 1 applmgr dba 3328 Sep  5 02:46 XXBT_MIDAS_ORDER_CREATION_PKG_soap_http.wsdl
    -rwxrwxrwx 1 applmgr dba 1328 Sep  5 02:46 APPS_XXBT_MIDAS_ORDER_CREATION_PKG_XXBT_MIDAS_ORDER_CREATION.xsd
    -rwxrwxrwx 1 applmgr dba 1245 Sep  5 02:46 AppsContextHeader.wsdl

  • Return from a servlet

    Is it possible to return from servlet?
    I have a servlet where i catch exceptions.To display the error messages i call a function from the service method which outputs the error string to the response in a html page.After the error has been displayed i want the servlet to return.Can i do it ?
    eg
    service(..,..)
    on error call displayerror(errorstring);
    ??? now how do i just stop processing ????
    displayerror(String errstr)
    print the errstr in a html page

    The doGet and doPost in a servlet are standard Java Methods:
    public void doGet
    and
    public void doPost
    so you can return from them just as you would from any void method. Just do not return a value.
    ie:
    return;
    will cause the program thread to return to where the method was called from.

  • Return outside method...

    Hi,
    I've got a problem with a method i'm creating.
    I'm trying it to get it to return the boolean value true. But when i compile it gives me the an error message saying "return outside method".
    Does anybody know what it means?
    Here's my code:
        public boolean printOne(String text) {}
            if(sheet >= 0) {
                copy = copy + 1;
                sheet = sheet - 1;
                return true;
        }

    jverd wrote:
    LevelSix wrote:
    jverd wrote:
    LevelSix wrote:
    By the way here's the question i'm trying to answer.
    MyPrinter needs some printing methods. The first, signature:
    public boolean printOne(String text)+
    should take a String as a parameter, and output it on a single line to the terminal window.
    It should also increment (add 1 to) the total number of copies made, and decrement (subtract 1 from) the number of sheets of paper available.
    It should return the boolean value true(this is actually to avoid confusion in the next assignment)
    Okay, and what particular problem are you having with this?There's two problem..
    How do i get..."*The signature:* *+public boolean printOne(String text)+* *should take a String as a parameter, and output it on a single line to the terminal window.*"?Do you know what a method signature is?
    Do you know how to write a method?
    Do you know how to print something on the terminal?
    You haven't really provided any details about what in particular you're having trouble with. Show your work, and ask a more specific question.
    I'm also trying to do this "*It should return the boolean value true*".So, you don't know how to return a value from a method?I know how to do all that.
    The problem i'm having is probably what i wrote above (in reply to oscarjustesen post).

  • Creating Complaints/Returns from external reference for Billing Documents.

    Hi Experts,
    I have question regarding Creating Complaints/Returns from external reference.
    My requirement is to fetch data for Billing Type, Billing Documents and other related from ECC system and to create Complaints/Returns using the same in Web UI.
    Is there any SPRO configuration as such so that we can pinpoint to the ECC system where it should fetch the data or is there be a custom development involved for the Drop down lists in Web UI?
    I know about the BADI CRM_COPY_BADI_EXTERN which is triggered when creating using reference, but I am not able to see where the method SEARCH_HELP_FOR_EXTERN_DOC or GET_SEARCH_HELP are triggered.
    I have gone through many forums within SDN but not able to find any solution. Please help!
    Regards,
    Mahesh

    Hi Ly,
    I wouldn't be able to share the code with you, but I would ask you to check with the functional counterpart regarding the important fields that are to be copied.
    What I did in my case is, based on the Billing document number passed from CRM in the RFC I hit the tables VBRK and VBRP for header and item data respectively.
    For pricing I passed the relevant fields from KONV table (KSCHL, KWERT, KAWRT etc..)
    For document flow VBFA.
    For partner VBPA.
    I faced issues only with pricing as there were many settings and pricing routine logic differences between CRM and ERP.
    Regards,
    Mahesh

  • How to automatically actualize UWL after return from WebDYNPRO?

    Hello,
    in the universal worklist (uwl) i have configured a workstep to open a Web Dynpro application instead of the SAP GUI. This works fine and i can process the Workflow.
    But after processing of workstep I returns to the UWL using
    WDPortalNavigation.navigateAbsolute(          "ROLES:portal_content/tm.eop.fd.eop_root/tm.eop.fd.content_root/tmcz.eop.fd.tmcz_root/tmcz.eop.fd.my_workspace/tmcz.eop.ro.my_workspace/my_workspace/tmcz.eop.iv.uwl",          WDPortalNavigationMode.SHOW_INPLACE,
                        (String) null,
                        (String) null,          WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
                        (String) null,
                        (String) null,
                        (String) null);
    In the UWL there is non relevant item (item that was processed in WebDynpro) and it angers users.
    It is possible to actualize UWL automatically after return from WebDYNPRO application? WebDYNPRO is opened in the same window and frame as UWL.
    Thanks for your help.
    Ondrej Lednicky

    Followed what vinay and Timo sugguested:
    One solution is to use a af:dialog in the popup where you define a dialogListener  to catch the outcome of the dialog and if it's OK you call your other method.
    I wrote method code in back bean like this:
        public void refreshBillFromDialog(DialogEvent dialogEvent) {
            // Add event code here...
            if (dialogEvent.equals(false)){
                return;
            AdfFacesContext adfFacesContext;
            adfFacesContext = AdfFacesContext.getCurrentInstance();
            adfFacesContext.addPartialTarget(Bill4NewReceiptPending);
            //actionEvent.getComponent().processUpdates(FacesContext.getCurrentInstance());
            BindingContainer bindings2 = getBindings();
            System.out.println(" refreshBillFromDialog:bindings2: "+bindings2);
            OperationBinding operationBinding2 = bindings2.getOperationBinding("ExecuteWithParams");
            Object result = operationBinding2.execute();
            if (!operationBinding2.getErrors().isEmpty()) {
                 return ;
    And it works: the adf table(Bill4NewReceiptPending) in the calling page will be refreshed after the dialog popup was closed!
    Thank you all!
    What's more, I found even if I use bounded workflow calling instead of using popup dialog calling, the  returnListener wasnot executed either.
    And there is still a issue in the popup Dialog: The strange behavior of checkbox selection, see the thread:
    Why the page cannot refresh correctly after making checkbox selection?
    I tried and put aside for some days, and have no idea yet.
    Can anyone give helps?
    Thanks!

  • Datas return from Blob data type in Sqlite

    i am using sqlitejdbc-v053.jar through get SQLITE BLOB data type data. But i cannot data return from Blob type.
    Error will be display from :
    not implemented by SQLite JDBC driver
    and point out error line
    blob = rs.getBlob("NGP_REPDATA");
    {try {
                   Class.forName("org.sqlite.JDBC");
                    conn = DriverManager.getConnection("jdbc:sqlite:test.DB");
                    stmt = conn.createStatement();
                    rs = stmt.executeQuery("SELECT * FROM sometable");
                    System.out.println("==============");
                    while(rs.next()) {
                         blob = rs.getBlob("blobDATA");//
                         is = blob.getBinaryStream();
              catch(SQLException e) {
                   e.printStackTrace();
              }}any sample or solution pls give
    sqlite with BLOB sample there pls give link                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    There explicitly tells you that the JDBC driver that you are using will not do the method that you are calling.
    Thus you cannot use that method.
    There is another way to extract blobs which involves using a stream. You can search for that.
    If your blobs are actually short and only have character data then you might be able to use getString() as well.

Maybe you are looking for

  • JS Scripts not working in CS3

    When I was using CS2 2 years ago I was asked to make a calendar for a client. I used a script from Adobe Exchange. I have been asked to do the same this year. I am now running CS3... however this is the first time I have used my scripting panel since

  • Is there a flash player that works on the ipad

    is there a flash player that works on the ipad

  • COMMIT_FOARM IS NOT WORKING INSIDE THE  WHEN-MOUSE-CLICK

    Dear friends I have following script in when-mouse-click trigger BEGIN IF NOT Form_Success THEN Bell; RAISE Form_Trigger_Failure; END IF; IF :System.Form_Status = 'CHANGED' THEN IF :LOCK_FLAG = 1 THEN UPDATE PROJ.IM_REQUEST_HEADER      SET LOCK_FLAG

  • Error when adding columns to table and update sync group schema

    Hi, I have an Azure SQL Database that is synced to five lokal SQL Server Express 2012 clients. Today I had to add some columns to the tables, I did this using SMMS and ALTER TABLE on the hub-database. Then I disabled auto-sync in the Azure Portal and

  • Delegate BKPF to a non-subtype...

    Hi I have a situation were object ZBKPF is created in SWO1 as a copy of BKPF (NOT as a subtype) and should Not be changed. Now I want ZBKPF to be a subtype of BKPF. However, it seems like that door is closed since ZBKPF isn't created as a subtype of