Error in simple CQL
I am trying to implement very simple CEP program.Cep is consist of the following component.
1.Jms adapter named MarketEventInputadapter,which is reading map message data from a simple queue.
2.one input channel named MarketEventInputchannel.
3.one processor named MarketEventprocessor containing CQL " <![CDATA[select * from MarketEventInputchannel[now]]]> ".
4.one output channel MarketEventOutputChannel.
5.one event bean MarketEventBean
while trying to deploy I am getting error as:
<Error> <Deployment> <BEA-2045016> <The application context "My_CEP" could not be started. Could not initialize component "MarketEventprocessor": Event property [cTimeStamp] defined in query [ExampleQuery] must exist in event type [MarketEvent]. Consider using the expression 'cTimeStamp AS ...' in the query.
I have use MarketEvent.java:
package com.bea.wlevs.example.algotrading.event;
public class MarketEvent {
private Long TimeStamp;
private String symbol;
private Double price;
private Long volume;
private Long latencyTimestamp;
* @return the latencyTimestamp
public Long getLatencyTimestamp() {
return latencyTimestamp;
* @param latencyTimestamp the latencyTimestamp to set
public void setLatencyTimestamp(Long latencyTimestamp) {
this.latencyTimestamp = latencyTimestamp;
* @return the timestamp
public Long getTimestamp() {
return TimeStamp;
* @param timestamp the timestamp to set
public void setTimestamp(Long TimeStamp) {
this.TimeStamp = TimeStamp;
* @return the symbol
public String getSymbol() {
return symbol;
* @param symbol the symbol to set
public void setSymbol(String symbol) {
this.symbol = symbol;
* @return the price
public Double getPrice() {
return price;
* @param price the price to set
public void setPrice(Double price) {
this.price = price;
* @return the volume
public Long getVolume() {
return volume;
* @param volume the volume to set
public void setVolume(Long volume) {
this.volume = volume;
I have also use MarketEventBean.java:
package com.bea.wlevs.example.algotrading;
import com.bea.wlevs.ede.api.StreamSink;
import com.bea.wlevs.example.algotrading.event.MarketEvent;
public class MarketEventBean implements StreamSink {
public void onInsertEvent(Object event) {
if (event instanceof MarketEvent) {
MarketEvent marketEvent = (MarketEvent) event;
System.out.println("Price: " + marketEvent.getPrice());
Can anybody give an idea about the root cause of the error?
The root cause of this issue is the event property named timestamp. Timestamp is a CQL keyword and there appears to be a bug in the way we handle event property names that are CQL keywords.
One way to get around this is to use a different property name; for example, eventTimestamp. We will take a look at the bug and fix it. Could you open a service request so that it will be tracked? Thanks,
Manju.
Similar Messages
-
I can no longer open excel documents in my doc to go app. Error message simple reads can not open attachment. And the attachment is now a winmail.dat
winmail.dat files usually mean the email has been sent in rich text format - you could either the person who sent it to send it in a different format e.g. plain text or HTML, or there are a few apps in the store that support it (search for winmail.date in the store).
winmail.dat files : http://support.apple.com/kb/TS1506 -
Simple CQL query error - Invalid statement: select one from inputChannel
Hi,
I am new to oracle cep, I wrote a simple query....
"select * from inputChannel RETAIN 5 EVENTS" but some how it shows the error as .
Invalid statement: "select one from >>inputChannel RETAIN<< 5 EVENTS"
Cause: generic syntax error
Action: The syntax expects '[', as, match_recognize, xmltable, end-of-file, ')', ',', where, group,
having, order, left, right, partition, on, primary token
Any help is greatly appreciated.
Thanks,
S.VishalOracle CEP CQL Reference : http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e12048/toc.htm
Also you can check the other documents about Oracle CEP at : http://download.oracle.com/docs/cd/E14571_01/nav/portal_booklist.htm . -
Error in simple user defined function
Hi all,
I have seen one simple user defined function on scenario. Now it is working fine. Same code I have used another place. But it is giving some errors
D:/usr/sap/C08/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapc6fa0c70297511dbaf7e00c09f4504e7/source/com/sap/xi/tf/_ST_MM_.java:3: package javax.mail.internet does not exist
import com.sap.aii.mappingtool.tf3.;import com.sap.aii.mappingtool.tf3.rt.;import java.util.;import java.io.; import java.lang.reflect.;import javax.mail.internet.;import javax.mail.;import java.util.;import java.util.Date;import javax.activation.;import java.lang.reflect.;import javax.mail.event.*;
Like that it has shown 13 errors. I have given the package names in imports field what previous function has.Hi,
Please see this from SAP help
<i>a. You can import Java packages to your methods from the Imports input field, by specifying them separated by a comma or semi-colon:
You do not need to import the packages java.lang., java.util., java.io., and java.lang.reflect. since all message mappings require these packages and therefore import them. You should be able to access standard JDK and J2EE packages of the SAP Web Application Server by simply specifying the package under Import. In other words, you do not have to import it as an archive into the Integration Repository. You can also access classes of the SAP XML Toolkit, the SAP Java Connector, and the SAP Logging Service (see also: Runtime Environment (Java-Mappings)).
In addition to the standard packages, you can also specify Java packages that you have imported as archives and that are located in the same, or in an underlying software component version as the message mapping.
b. Create your Java source text in the editor window or copy source text from another editor.</i>
http://help.sap.com/saphelp_nw04/helpdata/en/22/e127f28b572243b4324879c6bf05a0/content.htm
Regards
Vijaya -
Error in simple(File-XI-File)scenario
Hi,
Using this blog i was doing simple(File-XI-File)scenario.
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
But i am getting the error
Runtime error
com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_MM_FILE_TO_FILE_CC_: Fatal Error: com.sap.engine.lib.xml.parser.
What could be the problem ?
Thanks.Hi,
Check ur Mapping objects and do test it in the test tab of MM or IM before activating.Once it is done do activate it.
Refer to below links as well:
/people/srinivas.vanamala2/blog/2007/02/05/step-by-step-guide-xml-file-2-xml-file-scenario-part-i
/people/srinivas.vanamala2/blog/2007/02/05/step-by-step-guide-xml-file-2-xml-file-scenario-part-ii
Cheers,
Prasanthi. -
Hi experts,
When executing a simple oops program ..i got the following error. Please correct the code.
"VAR" is not type-compatible with formal parameter "I_DATA".
CLASS main DEFINITION
CLASS main DEFINITION.
PUBLIC SECTION.
"// Instance Methods ( Note we use the statement 'METHODS'
"// to define an instance method )
METHODS set_data IMPORTING i_data TYPE string.
METHODS get_data RETURNING value(r_data) TYPE string.
METHODS print_attribute IMPORTING i_data TYPE string.
"// Instance Methods ( Note we use the statement 'CLASS-METHODS'
"// to define a static method )
CLASS-METHODS set_classdata IMPORTING i_data TYPE string.
CLASS-METHODS get_classdata RETURNING value(r_data) TYPE string.
CLASS-METHODS print_classattribute IMPORTING i_data TYPE string.
PROTECTED SECTION.
"// Instance Attribute ( Note we use the statement 'DATA'
"// to define an instance attribute )
DATA attribute TYPE string.
"// Static Attribute ( Note we use the statement 'CLASS-DATA'
"// to define a static attribute )
CLASS-DATA classattribute TYPE string.
PRIVATE SECTION.
"// Instace event ( Note we use the statement 'EVENTS'
"// to define aN instance event )
EVENTS event EXPORTING value(e_data) TYPE string.
"// Instace event ( Note we use the statement 'CLASS-EVENTS'
"// to define a static event )
CLASS-EVENTS classevent EXPORTING value(e_data) TYPE string.
"// For more informations about events see the following example:
"// ABAP Objects - Creating your First Local Class - Using Events
ENDCLASS. "main DEFINITION
CLASS main IMPLEMENTATION
CLASS main IMPLEMENTATION.
METHOD set_data.
CONCATENATE 'Instance Attribute value' i_data
INTO attribute SEPARATED BY space.
ENDMETHOD. "set_data
METHOD get_data.
MOVE attribute TO r_data.
ENDMETHOD. "get_data
METHOD set_classdata.
CONCATENATE 'Static Attribute value' i_data
INTO classattribute SEPARATED BY space.
ENDMETHOD. "set_classdata
METHOD get_classdata.
MOVE main=>classattribute TO r_data.
ENDMETHOD. "get_classdata
METHOD print_attribute.
WRITE: i_data, /.
ENDMETHOD. "print_attribute
METHOD print_classattribute.
WRITE: i_data, /.
ENDMETHOD. "print_classattribute
ENDCLASS. "main IMPLEMENTATION
DATA: var type char20.
START-OF-SELECTION.
"// Calling a Static method (note we don't have a object )
"// instead we use the <class name>=><method name>.
main=>set_classdata( 'SDN' ).
var = main=>get_classdata( ).
"// Print the var value
main=>print_classattribute( var ).
DATA: object_reference TYPE REF TO main.
CREATE OBJECT object_reference.
"// - Calling a Instance Method( Note we have to use a object to
"// access the insntace components of class main )
"// - Note we're using the statment "CALL METHOD", see looking for
"// functional & General methods for more informations
CALL METHOD object_reference->set_data( 'BPX' ).
var = object_reference->get_data( ).
object_reference->print_attribute( var ).
Thanks in Advance.
Regards
NaniHi Nani,
try changing your data definition for var from CHAR20 to STRING.
regards,
Peter -
The LabVIEW supplied "Simple PID" vi contains an error which disables the Integral function. The "First Call?" node is located outside of the main loop and is therefore only evaluated once. Consequently, each time around the loop the value selected for "prev error sum" is always 0. Moving the "First Call?" node to the inside of the loop cures the problem.
I have run this VI, and it performs as it is supposed to with the first call node outside the main loop.
This VI is meant to be inserted into a while loop. Its own while loop is only there to retain the previous values (in the shift registers); it doesn't execute more than once on its own.
By placing the entire Simple PID.vi into another while loop and running, you'll see that the first call node works properly. -
hi,
I am new to JNI and I am trying a simple HelloWorld project but I am getting the following exception :
Exception in thread "main" java.lang.UnsatisfiedLinkError: displayHelloWorld
at HelloWorld.displayHelloWorld(Native Method)
at HelloWorld.main(HelloWorld.java) where comes my error from?c header
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class HelloWorld */
#ifndef _Included_HelloWorld
#define _Included_HelloWorld
#ifdef __cplusplus
extern "C" {
#endif
* Class: HelloWorld
* Method: displayHelloWorld
* Signature: ()V
JNIEXPORT void JNICALL Java_HelloWorld_displayHelloWorld
(JNIEnv *, jobject);
#ifdef __cplusplus
#endif
#endifimplementation for native
#include <jni.h>
#include "HelloWorld.h"
#include <stdio.h>
JNIEXPORT void JNICALL
Java_HelloWorld_displayHelloWorld(JNIEnv *env, jobject obj)
printf("Hello world!\n");
return;
} -
Error in simple javascript search web-part.
Hi everybody. I need a help. I want to write simple sharepoint farm solution web-part (not App) with javascript for search like describe
http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2013/04/18/how-to-query-search-with-the-sharepoint-2013-javascript-client-object-model.aspx But I get error. My visual web-part code:
<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="VisualWebPart1UserControl.ascx.cs" Inherits="tester.VisualWebPart1.VisualWebPart1UserControl" %>
<script src="~/_layouts/15/sp.search.js"></script>
<script src="~/_layouts/15/RDBranding/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript">
var results;
var context;
_spBodyOnLoadFunctionNames.push("tester");
function tester() {
$("#searchButton").click(function () {
context = SP.ClientContext.get_current();
var keywordQuery = new Microsoft.SharePoint.Client.Search.Query.KeywordQuery(context);
keywordQuery.set_queryText($("#searchTextBox").val());
var searchExecutor = new Microsoft.SharePoint.Client.Search.Query.SearchExecutor(context);
results = searchExecutor.executeQuery(keywordQuery);
context.executeQueryAsync(onQuerySuccess, onQueryFail);
function onQuerySuccess() {
$("#resultsDiv").append('<table>');
$.each(results.m_value.ResultTables[0].ResultRows, function () {
$("#resultsDiv").append('<tr>');
$("#resultsDiv").append('<td>' + this.Title + '</td>');
$("#resultsDiv").append('<td>' + this.Author + '</td>');
$("#resultsDiv").append('<td>' + this.Write + '</td>');
$("#resultsDiv").append('<td>' + this.Path + '</td>');
$("#resultsDiv").append('</tr>');
$("#resultsDiv").append('</table>');
function onQueryFail(sender, args) {
alert('Query failed. Error:' + args.get_message());
</script>
<div>
<label for="searchTextBox">Search: </label>
<input id="searchTextBox" type="text" />
<input id="searchButton" type="button" value="Search" />
</div>
<div id="resultsDiv">
</div>
And my error in browser console after button click:
Any idea? Why?
Aleksandr ShramkoI resolve my problem using next code
$(document).ready(function () {
Initialise();
function Initialise() {
var scriptBase = _spPageContextInfo.webAbsoluteUrl + "/" + _spPageContextInfo.layoutsUrl + "/";
$.getScript(scriptBase + "sp.runtime.js", function () {
$.getScript(scriptBase + "sp.js", function () {
$.getScript(scriptBase + "sp.search.js", tester);
Aleksandr Shramko -
Hi all,
since i am relatively new to this field, i created a simple application which takes in carrid and displays the sflight details...i too have binded the table but whenever i try to test the application it displays the following error_..."Adapter error in INPUT_FIELD "INPUT_CARRID" of view "Z_TEST_DETAILS.MAIN": Context binding for property VALUE cannot be resolved: The MAIN.1.SFLIGHT1 node does not contain any elements "*_
i even cannot enter debug mode because it dumps in the beginning.Could you please help me out with this.
Thanks and regards,
Urbashihi Abhi...
dat problem is solved bt nw after entering the carrid it again dumps saying "Number of Elements of the Collection of Node MAIN.1.SFLIGHT1 Violates the Cardinality. "
i have set the cardinality to 1-n.
the code written is:
data itab_sflight type standard table of sflight.
DATA lo_nd_sflight1 TYPE REF TO if_wd_context_node.
DATA lo_el_sflight1 TYPE REF TO if_wd_context_element.
DATA ls_sflight1 TYPE wd_this->Element_sflight1.
DATA lv_carrid TYPE wd_this->Element_sflight1-carrid.
navigate from <CONTEXT> to <SFLIGHT1> via lead selection
lo_nd_sflight1 = wd_context->get_child_node( name = wd_this->wdctx_sflight1 ).
@TODO handle non existant child
IF lo_nd_sflight1 IS INITIAL.
ENDIF.
get element via lead selection
lo_el_sflight1 = lo_nd_sflight1->get_element( ).
alternative access via index
lo_el_sflight1 = lo_nd_sflight1->get_element( index = 1 ).
@TODO handle not set lead selection
IF lo_el_sflight1 IS INITIAL.
ENDIF.
get single attribute
lo_el_sflight1->get_attribute(
EXPORTING
name = `CARRID`
IMPORTING
value = lv_carrid ).
select * from sflight into table itab_sflight
where carrid = 'lv_carrid'.
lo_nd_sflight1 = wd_context->get_child_node( name = wd_this->wdctx_SFLIGHT1 ).
lo_nd_sflight1->bind_table( itab_sflight ).
Regards,
Urbashi -
i have created simple page with simple emp search. i have created query region(construction mode is autocustomizationcriteria, for that i have created query components(simplesearchpanel and simplesearchmapping) and i am searching based on empno.
when i am running the page, if i click just go button w/o entering anything in empno textbox, it is giving all the details.
but if i enter any particular empno in the textbox then click go button then it is giving error like,
No current row for View .
i have added advanced panel also, it is working fine in advanced search. and if i add LOV to the empno textbox then also it is working fine.
only in simple search, if i don't add any LOV if i enter any particular empno then it is giving above error.
i don't know where i am wrong.can anyone help.
Message was edited by:
user536125Do you have any view object and attribute mapped to the Emp. No. Criteria Message Text Input...?
Is yes, please remove it. -
Error in Simple transformation
Hi Guys,
I am very new to Simple transformation,there is an error in my ST,but I have no idea how to fix it,Please take a look at my simple transformation file.Thanks.
I want to deseralize the XML file to ABAp Structure
my xml file is like:
<Content>
<BookEntity name="A">
<Id>01</id>
<Title>My Book A</Title>
</BookEntity>
<BookEntity name="B">
<Id>02</id>
<Title>My Book B</Title>
<Author>Jamy</Author>
</BookEntity>
<BookEntity name="C">
<Id>03</id>
<Author>L</Author>
<Year>2007</Year>
<Group>C</Group>
</BookEntity>
</Content>
my structure likes:
DATA: BEGIN OF content,
BEGIN OF bookentity,
name TYPE string,
id TYPE string,
title TYPE string,
author TYPE string,
year TYPE string,
group TYPE string,
END OF contextentity,
END OF content.
<?sap.transform simple?>
<tt:transform xmlns:tt="http://www.sap.com/transformation-templates">
<tt:root name="ROOT" />
<tt:template>
<Content>
<tt:loop ref=".ROOT" name="content" >
<BookEntity tt:ref="bookentity">
<tt:attribute name="name" value-ref="name" />
<tt:apply name="SUB">
<b> <tt:with-parameter name="NAME" ref="name"/></b> <--Error here
</tt:apply>
</ContextEntity>
</tt:loop>
</Content>
</tt:template>
<tt:template name="SUB">
<tt:context>
<tt:parameter name="NAME"/>
</tt:context>
<tt:switch-var>
<tt:cond-var check="NAME='A'">
<Id>
<tt:value ref="id"/>
</Id>
<Title>
<tt:value ref="title"/>
</Title>
</tt:cond-var>
<tt:cond-var check="NAME='B'">
<Id>
<tt:value ref="id"/>
</Id>
<Title>
<tt:value ref="title"/>
</Title>
<Author>
<tt:value ref="author"/>
</Author>
</tt:cond-var>
<tt:cond-var check="NAME='C'">
<Id>
<tt:value ref="id"/>
</Id>
<Author>
<tt:value ref="author"/>
</Author>
<Year>
<tt:value ref="year"/>
</Year>
<Group>
<tt:value ref="group"/>
</Group>
</tt:cond-var>
</tt:switch-var>
</tt:template>
</tt:transform>Check the flag "use SAP XML toolkit" for the operation mapping and try, if that works then.
Check the flag for all XSLT and Java mappings which is migrated from PI 7.0 -
Hi All,
I am OAF learner, I got error in a page like
- No method with signature -
initDetails(class java.lang.String, class java.lang.String)
I tried with couple of times but there was no use..
How Can I fix that error?
Please suggest me ASAP.
Best Regards
AliHi All,
I am getting error when I run the above simple form
Logout
Error Page
Exception Details.
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT FirstFormEO.UNAME, FirstFormEO.PASSWORD, FirstFormEO.LAST_UPDATE_LOGIN, FirstFormEO.LAST_UPDATED_BY, FirstFormEO.LAST_UPDATE_DATE, FirstFormEO.CREATED_BY, FirstFormEO.CREATION_DATE FROM LOGIN FirstFormEO
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:862)
at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:985)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:210)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:152)
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:721)
at sdpt.oracle.apps.ak.firstform.webui.SimpleFormMyCO.processFormRequest(SimpleFormMyCO.java:55)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:799)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1118)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2633)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
at OA.jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
java.sql.SQLException: ORA-00904: "FIRSTFORMEO"."CREATION_DATE": invalid identifier
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1983)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1141)
at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2487)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2854)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:622)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:550)
at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:627)
at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:515)
at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3347)
at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:825)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4465)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3311)
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3298)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
at sdpt.oracle.apps.ak.firstform.server.SimpleFormAMImpl.initDetails(SimpleFormAMImpl.java:50)
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:324)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:189)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:152)
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:721)
at sdpt.oracle.apps.ak.firstform.webui.SimpleFormMyCO.processFormRequest(SimpleFormMyCO.java:55)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:799)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1118)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2633)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
at OA.jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
java.sql.SQLException: ORA-00904: "FIRSTFORMEO"."CREATION_DATE": invalid identifier
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1983)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1141)
at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2487)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2854)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:622)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:550)
at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:627)
at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:515)
at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3347)
at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:825)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4465)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3311)
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3298)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
at sdpt.oracle.apps.ak.firstform.server.SimpleFormAMImpl.initDetails(SimpleFormAMImpl.java:50)
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:324)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:189)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:152)
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:721)
at sdpt.oracle.apps.ak.firstform.webui.SimpleFormMyCO.processFormRequest(SimpleFormMyCO.java:55)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:799)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1118)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2633)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
at OA.jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
Please help me to fix above issue......ASAP
Best Regards
Ali -
Encountering error in simple file 2 file scenario
Hi,
Working on a very simple file 2 file scenario , where input contains 1 header record identified with a key field and detail record conntains more than 1 records identified with key field. Used very specific FCC. But it was unable to generate the output file (a simple text file without any translation) giving errors as below -
1. File Adapter Receiver Channel cc_target: Not initialized - cannot proceed: null
2. MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: Channel has not been correctly initialized and cannot process messages
3. Adapter Framework caught exception: Channel has not been correctly initialized and cannot process messages
4. Delivering the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Channel has not been correctly initialized and cannot process messages.
Input File structure is like
H1,XXXXX
D1,YYYYYY
D1,ZZZZZ
D1,NNNN
H1 and D1 are key identifiers of header and detail record
Need same format output file, used FCCs (1) fieldSeperator (2) endSeparator (3)ignoreRecordsetname (4) fieldNames (5) keyfieldvalue.
Can anyone pls suggest ?
ACHi ,
Use FCC Like this.
Doccument Name MT_Source( Your Source Message Type name)
Doccument Namespace http://xxxxxx(Your Message type Name space)
Recordset Structure Header,1,Detail,*
Key Field Name field1
Key Field Type String
Header.fieldSeparator ','
Header.fieldNames field1,field2
Header.keyFieldValue 'H1'
Header.endSeparator 'nl'
Detail.fieldSeparator ','
Detail.fieldNames field1,field2
Detail.keyFieldValue 'D1'
Detail.ignoreRecordsetname true
Detail.endSeparator 'nl'
Let me know if you are getting any problem.
Thanks. -
Hello All
I have a simple app that consists of a client and server. This works fine when both components are on the same network (either on the same machine or two different machines), however I get the following error when the client and server are on different networks:
java.net.SocketException Unrecognized Windows Sockets Error :10071
Some strange things:
1) If I reverse the client & server, the app works (ie if the client is on network 1 and the server on network 2, the app fails but if the client is on network 2 and server on network 1, it's ok)
2) The above error appears to be an NFS error - both machines are Windows
3) My network administrator says there are no problems with the firewall and this should work ok.
Thanks for any help
ChrisThe problem actually raised itself in an rmi app, so I thought I'd just write the following test code to eliminate the rmi layer. As you can see, it's all simple stuff:
Server Code:
import java.io.*;
import java.net.*;
public class TestServer
public static void main(String[] args)
int port = 1099;
if (args.length > 0)
try
port = Integer.parseInt(args[0]);
catch (NumberFormatException e)
e.printStackTrace();
System.exit(0);
try
ServerSocket s = new ServerSocket(port);
while (true)
new MessageDumper(s.accept()).run();
catch (Exception e)
e.printStackTrace();
static class MessageDumper implements Runnable
public MessageDumper(Socket s)
this.s = s;
public void run()
try
BufferedReader br = new BufferedReader(new InputStreamReader(s.getInputStream()));
String str = br.readLine();
System.out.println(s.getInetAddress().getHostName() + " says " + str);
PrintWriter pw = new PrintWriter(new BufferedWriter(new OutputStreamWriter(s.getOutputStream())));
pw.println("GoodBye");
pw.flush();
pw.close();
br.close();
s.close();
catch (Exception e)
e.printStackTrace();
Socket s;
Client Code:
import java.io.*;
import java.net.*;
public class TestClient
public static void main(String[] args)
int port = 1099;
String host = "localhost";
// arg 0 is host, arg 1 is port
switch (args.length)
case 2:
try
port = Integer.parseInt(args[1]);
catch (NumberFormatException e)
e.printStackTrace();
case 1:
host = args[0];
try
Socket s = new Socket(host, port);
PrintWriter pw = new PrintWriter(new OutputStreamWriter(new BufferedOutputStream(s.getOutputStream())));
pw.println("Hello");
pw.flush();
BufferedReader br = new BufferedReader(new InputStreamReader(s.getInputStream()));
String str = br.readLine();
System.out.println(str);
br.close();
pw.close();
s.close();
catch (Exception e)
e.printStackTrace();
}
Maybe you are looking for
-
when an image is inserted here in forum po editor using clipboard, it appears in the editor, but it does not appear in the post. When the image is inserted from a file, it works
-
FM Derivation FMDERIVE,FMRULES,RFMXPR47,RFMXPR49
Hi, Please confirm what should be the sequence for the derivation steps in DEV environment: FMRULES (To select pre-defind rules) FMDERIVE (To select some function module) RFMXPR47 (conversion program) RFMXPR49 (Conversion program) or RFMXPR47 RFMXPR4
-
Consume web service in ABAP with SOAP header
I'm trying to call a SalesForce Web Service from ABAP. After the login I use the WS_HEADER to pass header information. TRY. Additional Header: CONCATENATE '<soap:Header>' '<s1:SessionHeader>' '<s1:sessionId>' login_output-re
-
hi, I installed ovi maps and dowloaded Asia/Lebanon. However half the country is blank, without any street name or city name. I have downloaded it several times still the same issue. And I can see the map complete on the website of ovi. why is that?
-
If I am downloading a new version of an album that I already have in itunes, do I need to delete the older version before downloading the new?