Problems with classification datasource
Dear experts,
I need to assign a new char to a classification datasource. I have created de char in CT04 transaction, and then I have assigned this new char to the class in CL02 transaction.
At CTBW transaction I have assigned the new char, and then I push DataSource button to generate de datasource, but then a error messagge appears that indicate a char does not exist, but not the new char other. If I a review the class all chars are ok.
I have tried to save without the char of the error messagge and then the error indicate other char.
what can i do?
Thanks in advance.
yeberri
Hi,
check in the following link
http://affine.co.uk/files/How%20to%20Extract%20Classification%20Data%20into%20BW.pdf
Thanks
reddy
Similar Messages
-
Performance problems with 0EC_PCA_3 datasource
Hi experts,
We have recently upgraded the Business Content in our BW system, as well as the plug-in on R/3 side. Now we have BC3.3 and PI2004.1. Given the opportunity, we decided to apply the new 0EC_PCA_3 and 0EC_PCA_4 datasources that provide more detailed data from table GLPCA.
The new datasources have been activated and transported to the QA system, where we experience serious performance problems while extracting data from R/3. All other data extractions work as before so there should not be any problem with the hardware.
Do you use 0EC_PCA_3? Have you experienced any problem with the speed of data extraction/transfer? We already have applied the changes suggested in note 597909 (Performance of FI-SL line item extractors: Creating indexes) and created secondary indexes on GLPCA table but it did not help.
thanks and regards,
CsabaSeems the problem was caused by a custom development - quantity conversion in user exit. However, we tried loading earlier after removal of the exit, it did not help then (loading took even longer...). Now it did.
-
Problem with Generic datasource from function
I developed generic datasource from function module.
But I have problem with the select options.
First one is order number OBJECT_ID type char 10. When I input Object_ID = 45755 , no data selected.
When input 0000045755, one data record selected.
But I called functiion CONVERSION_EXIT_ALPHA_INPUT to conevet the input data. And I found 45755 was converted to 0000045755, but no record selected.
LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'OBJECT_ID'.
MOVE-CORRESPONDING L_S_SELECT TO L_R_OBJECT_ID.
APPEND L_R_OBJECT_ID.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = L_R_OBJECT_ID-high
IMPORTING
OUTPUT = L_R_OBJECT_ID-high
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = L_R_OBJECT_ID-low
IMPORTING
OUTPUT = L_R_OBJECT_ID-low
ENDLOOP.
Another problem is CREATED_AT, which type is DEC 15, how could I handle it ? input is yyyymmdd, I tried to add '000000', but can't select any data.
Thanks for any help.code is :
FUNCTION ZACTIVITY_PLAN_PARTNER.
""Local Interface:
*" IMPORTING
*" VALUE(I_REQUNR) TYPE SRSC_S_IF_SIMPLE-REQUNR
*" VALUE(I_DSOURCE) TYPE SRSC_S_IF_SIMPLE-DSOURCE OPTIONAL
*" VALUE(I_MAXSIZE) TYPE SRSC_S_IF_SIMPLE-MAXSIZE OPTIONAL
*" VALUE(I_INITFLAG) TYPE SRSC_S_IF_SIMPLE-INITFLAG OPTIONAL
*" VALUE(I_READ_ONLY) TYPE SRSC_S_IF_SIMPLE-READONLY OPTIONAL
*" VALUE(I_REMOTE_CALL) TYPE SBIWA_FLAG DEFAULT SBIWA_C_FLAG_OFF
*" TABLES
*" I_T_SELECT TYPE SRSC_S_IF_SIMPLE-T_SELECT OPTIONAL
*" I_T_FIELDS TYPE SRSC_S_IF_SIMPLE-T_FIELDS OPTIONAL
*" E_T_DATA STRUCTURE ZACTIVITY_PLAN_PARTNER OPTIONAL
*" EXCEPTIONS
*" NO_MORE_DATA
*" ERROR_PASSED_TO_MESS_HANDLER
Example: DataSource for table SFLIGHT
TABLES: CRMD_ORDERADM_H.
Auxiliary Selection criteria structure
DATA: L_S_SELECT TYPE SRSC_S_SELECT.
DATA: BEGIN OF ACTIVITY,
OBJECT_ID type CRMT_OBJECT_ID_DB,
PROCESS_TYPE type CRMT_PROCESS_TYPE_DB,
OBJECT_TYPE type CRMT_SUBOBJECT_CATEGORY_DB,
CREATED_BY type CRMT_CREATED_BY,
CREATED_AT type CRMT_CREATED_AT,
END OF ACTIVITY.
DATA: ZACTIVITY LIKE TABLE OF ACTIVITY WITH HEADER LINE,
Zorder LIKE TABLE OF ZORDER_S WITH HEADER LINE,
d_start type c length 15,
d_end type c length 15
Maximum number of lines for DB table
STATICS: S_S_IF TYPE SRSC_S_IF_SIMPLE,
counter
S_COUNTER_DATAPAKID LIKE SY-TABIX,
cursor
S_CURSOR TYPE CURSOR.
Select ranges
RANGES: L_R_OBJECT_ID FOR CRMD_ORDERADM_H-OBJECT_ID,
L_R_CREATED_AT FOR CRMD_ORDERADM_H-CREATED_AT,
L_R_date for ZACTIVITY_PLAN_PARTNER-ZPLAN_DAT.
Initialization mode (first call by SAPI) or data transfer mode
(following calls) ?
IF I_INITFLAG = SBIWA_C_FLAG_ON.
Check DataSource validity
CASE I_DSOURCE.
WHEN 'ZACTIVITY_PLAN_PARTNER'.
WHEN OTHERS.
IF 1 = 2. MESSAGE E009(R3). ENDIF.
this is a typical log call. Please write every error message like this
RAISE ERROR_PASSED_TO_MESS_HANDLER.
ENDCASE.
APPEND LINES OF I_T_SELECT TO S_S_IF-T_SELECT.
Fill parameter buffer for data extraction calls
S_S_IF-REQUNR = I_REQUNR.
S_S_IF-DSOURCE = I_DSOURCE.
S_S_IF-MAXSIZE = I_MAXSIZE.
APPEND LINES OF I_T_FIELDS TO S_S_IF-T_FIELDS.
ELSE. "Initialization mode or data extraction ?
First data package -> OPEN CURSOR
IF S_COUNTER_DATAPAKID = 0.
LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'OBJECT_ID'.
MOVE-CORRESPONDING L_S_SELECT TO L_R_OBJECT_ID.
APPEND L_R_OBJECT_ID.
ENDLOOP.
if L_R_OBJECT_ID-option is initial.
L_R_OBJECT_ID-option = 'EQ'.
L_R_OBJECT_ID-sign ='I'.
endif.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = L_R_OBJECT_ID-high
IMPORTING
OUTPUT = L_R_OBJECT_ID-high
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = L_R_OBJECT_ID-low
IMPORTING
OUTPUT = L_R_OBJECT_ID-low
LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'CREATED_AT'.
MOVE-CORRESPONDING L_S_SELECT TO L_R_CREATED_AT.
APPEND L_R_CREATED_AT.
ENDLOOP.
OPEN CURSOR WITH HOLD S_CURSOR FOR
SELECT OBJECT_ID FROM CRMD_ORDERADM_H
WHERE OBJECT_ID IN L_R_OBJECT_ID
AND CREATED_AT IN L_R_CREATED_AT and
PROCESS_TYPE EQ 'Z220'.
ENDIF. "First data package ?
Fetch records into interface table.
named E_T_'Name of extract structure'.
FETCH NEXT CURSOR S_CURSOR
APPENDING CORRESPONDING FIELDS
OF TABLE E_T_DATA
PACKAGE SIZE S_S_IF-MAXSIZE.
IF SY-SUBRC <> 0.
CLOSE CURSOR S_CURSOR.
RAISE NO_MORE_DATA.
ENDIF.
S_COUNTER_DATAPAKID = S_COUNTER_DATAPAKID + 1.
ENDIF. "Initialization mode or data extraction ?
ENDFUNCTION. -
Problem with DataGrid DataSource
Hello,
I am having problems to populate my advanced datagrid. Though
the grid is getting headers, it is not getting the data from my
datasource (Please note that I am using a cfc functions called
"getOrds" to retrieve the data.
Am I missing something in the code??
It would be great if someone could help me out with this one.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="vertical">
<mx:Script>
<![CDATA[
import mx.collections.IHierarchicalCollectionView;
[Bindable]
[Bindable]
public var ords:ArrayCollection = new ArrayCollection;
public function getOrds(event:ResultEvent):void
ords = event.result as ArrayCollection;
]]>
</mx:Script>
<mx:AdvancedDataGrid id="adg" x="28" y="64" width="609"
height="228" creationComplete="gc2.refresh();"
initialize="gc2.refresh();" designViewDataType="tree"
defaultLeafIcon="{null}" folderClosedIcon="{null}"
folderOpenIcon="{null}" >
<mx:dataProvider>
<mx:GroupingCollection id="gc2" source="{ords}" >
<mx:Grouping>
<mx:GroupingField name="rule_no" >
<mx:summaries>
<mx:SummaryRow summaryPlacement="group">
<mx:fields>
<mx:SummaryField dataField="rule_no" operation="SUM" />
</mx:fields>
</mx:SummaryRow>
</mx:summaries>
</mx:GroupingField>
<mx:GroupingField name="cakes">
<mx:summaries>
<mx:SummaryRow summaryPlacement="group" >
<mx:fields>
<mx:SummaryField dataField="cakes" operation="COUNT" />
</mx:fields>
</mx:SummaryRow>
</mx:summaries>
</mx:GroupingField>
</mx:Grouping>
</mx:GroupingCollection>
</mx:dataProvider>
<mx:groupedColumns>
<mx:AdvancedDataGridColumn headerText="rule_no" />
<mx:AdvancedDataGridColumn headerText="Cakes"
dataField="cakes"/>
</mx:groupedColumns>
</mx:AdvancedDataGrid>
<mx:RemoteObject id="myService" destination="ColdFusion"
source="components.AdvancedDG" showBusyCursor="true"
fault="Alert.show(event.fault.message,'Error')">
<mx:method name="getOrds" result="getOrs(event)"/>
</mx:RemoteObject>
</mx:Application>Please see following changes:
<mx:ViewStack id="menuOptions" width="100%" paddingBottom="5" height="100%">
<mx:Panel width="100%" height="100%" layout="absolute" id="panel1" label="Panel 1" title="Panel 1" titleIcon="@Embed(source='resources/panel_icon.png')">
<mx:DataGrid id="grid1" width="100%" height="100%"/>
</mx:Panel>
<mx:Panel width="100%" height="100%" layout="absolute" id="panel2" label="Panel 2" title="Panel 2" titleIcon="@Embed(source='resources/panel_icon.png')">
<mx:DataGrid id="grid2" width="100%" height="100%" />
</mx:Panel>
<mx:Panel width="100%" height="100%" layout="absolute" id="panel3" label="Panel 3" title="Panel 3" titleIcon="@Embed(source='resources/panel_icon.png')">
<mx:DataGrid id="grid3" width="100%" height="100%"/>
</mx:Panel>
</mx:ViewStack> -
Problem with Z Datasource on the R/3 side
Hi Gurus,
When I check in the 'Details' tab in the Monitor of a Infopackage created on a Standard DataSource,
it shows data received as packets of size 25908 records.
"25908 Records sent ( 25908 Records received ) "
"25908 Records sent ( 25908 Records received ) "
"25908 Records sent ( 25908 Records received ) " and so on.
I created a Z data source on FM. When I try to execute the infopackage created for this Z Datasource,
it tried to fetch all the records in a single packet and failed.
"1920452 Records sent ( 0 Records received )".
Am I missing some settings for this datasource.
This is failing in the R/3 side with error "TSV_TNEW_PAGE_ALLOC_FAILED" because it is appending all the data to a single internal table in this case. Whereas in the above standard datasource case, it is sending data in form of packets.
Please suggest if i am missing any settings in this case.
Regards
Nageswara ReddyHi Nageswara,
You would find the following code in the function module,
Fill parameter buffer for data extraction calls
S_S_IF-REQUNR = I_REQUNR.
S_S_IF-DSOURCE = I_DSOURCE.
S_S_IF-MAXSIZE = I_MAXSIZE.
Here you have to determine number of database records to be read per FETCH statement
from input parameter I_MAXSIZE. If there is a one to one relation between DataSource table lines and database entries, this is trivial. In other cases, it may be impossible and some estimated value has to
be determined.
As per the above statement, you have to estimate some value for the parameter I_MAXSIZE.
This would resolve your issue
Regards,
Prem -
LSMW problem with classification RCCLBI03
Hello
I have created and LSMW object for classification
of material, define the files
but while trying to read a file a have a following
information about file *.lsmw.read
File *.lsmw.read cound not be open for written
(file is defined on server...)
Does somebody have idea about a problem
Thank you very much.
BogusiaHello,
There are 2 possibilities for the cause of this error:
1. You do not have necessary permissions to save the READ file in the relevant folder.
2. File name may be very long. Make it short in Specify Files Step.
I hope you have given proper file related data in Specify Files step.
A short File name in file for Read Data.
A short File name in file for Convert Data.
If you see Logical path you can give 'LSMW' (Normally this is tha path name given) and the same file name in the 'Logical File'.
Hope this helps you.
Best Regards, Murugesh AS -
Problem with JDBC datasource configuration
Hi Experts,
I am encountering the following error while configuring the JDBC connector.
#1.5#001560DEB814000B0000000C00004569000440EAEC713145#1197277640208#com.sap.engine.services.connector##com.sap.engine.services.connector#Administrator#143##bdhp4530.na.pg.com_GGE_78680350#Administrator#c00e94b0a6fd11dc817a001560deb814#SAPEngine_Application_Thread[impl:3]_23##0#0#Error##Plain###ResourceObjectFactory.getConnectionSet(APT_DataSource), Exception: com.sap.engine.services.connector.exceptions.BaseResourceException: ConnectionFactory "APT_DataSource" does not exist. Possible reasons: the connector in which ConnectionFactory "APT_DataSource" is defined is not deployed or not started.
at com.sap.engine.services.connector.ResourceObjectFactory.getConnectionSet(ResourceObjectFactory.java:671)
at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.listFreeConnections(DataSourceManagerImpl.java:540)
at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.getCurrentSize(DataSourceManagerImpl.java:944)
at sun.reflect.GeneratedMethodAccessor377.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58)
at com.sap.pj.jmx.mbeaninfo.AdditionalInfoProviderMBean.invoke(AdditionalInfoProviderMBean.java:289)
at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944)
at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)
at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:400)
at com.sap.pj.jmx.server.interceptor.BasicMBeanServerInterceptor.invoke(BasicMBeanServerInterceptor.java:277)
at com.sap.jmx.provider.ProviderInterceptor.invoke(ProviderInterceptor.java:258)
at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)
at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)
at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287)
at com.sap.engine.services.jmx.MBeanServerInvoker.invokeMbs(MBeanServerInvoker.java:157)
at com.sap.engine.services.jmx.ClusterInterceptor.invokeMbs(ClusterInterceptor.java:220)
at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:803)
at com.sap.engine.services.jmx.MBeanServerInterceptorInvoker.invokeMbs(MBeanServerInterceptorInvoker.java:102)
at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImpl.invokeMbs(P4ConnectorServerImpl.java:61)
at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImplp4_Skel.dispatch(P4ConnectorServerImplp4_Skel.java:64)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:304)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)#
I have used the following configuration:
Application Name Test_Application
DataSource Name APT_DataSource
Description DataSource to the SDC Dev Oracle DB
Alias APT_DS
Driver Name SYSTEM_DRIVER
Database Version Oracle9i Enterprise Edition Release 9.2.0.6.0
JDBC Version 1.x ( No XA support)
Driver Class oracle.jdbc.driver.OracleDriver
Database URL jdbc:oracle:oci:@<hostname>:1521:<sid>
User User
Password password
Connection Pooling
Initial Connections 0
Max Connections 25
Max Time to Wait for Connection 60
Default Connection Isolation DEFAULT
Expiration Enable
Connection Lifetime 300
Cleanup Thread 5
SQL Engine Vendor SQL
TNSNAMES.ORA File Entry <sid>.WORLD =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = <host>)
(PORT = 1521)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = <sid>.WORLD)
(SID = <sid>)
Can you please help.
Regards,
Ashish ShahHi,
Take note of the following and review the configuration,
1. In general, ojdbc14.jar is used in the SAP environment for Oracle JDBC Driver. The other being classes12.jar.
2. The driver class must be, oracle.jdbc.OracleDriver
3. The database URL for the Oracle JDBC thin driver has the following syntax:
jdbc:oracle:thin:@<host>:<port>:<sid>
jdbc:oracle:thin:<user>/<password>@<host>:<port>:<sid>
Hope these hints help you in solving !
Regards
Srinivasan T -
Urg Problem with using DataSources in Tomcat
I am trying to use DataSource in Tomcat4.0
I have a simple jsp file as shown below:=
<html>
<head>
<title>DB Test using DataSource</title>
</head>
<body>
<%
foo.DBTest dbt = new foo.DBTest();
dbt.init();
%>
<h2>Results</h2>
Foo <%= dbt.getFoo() %>
Bar <%= dbt.getBar() %>
</body>
</html>
and a Servlet by the name of DBTest as shown below:-
package foo;
import javax.naming.*;
import javax.sql.*;
import java.sql.*;
public class DBTest
String foo = "Not Connected";
int bar = -1;
public void init()
try
System.out.println("Inside INIT of DBTest");
Context ctx = new InitialContext();
Context envCtx = (Context)ctx.lookup("java:comp/env");
if(ctx == null )
throw new Exception("Boom - No Context");
//DataSource ds = (DataSource)ctx.lookup("java:comp/env/jdbc/TestDB");
DataSource ds = (DataSource)envCtx.lookup("jdbc/TestDB");
if (ds != null)
Connection conn = ds.getConnection();
if(conn != null)
foo = "Got Connection "+conn.toString();
Statement stmt = conn.createStatement();
ResultSet rst = stmt.executeQuery("select id, foo, bar from testdata");
if(rst.next())
foo=rst.getString(2);
bar=rst.getInt(3);
conn.close();
}catch(Exception e)
e.printStackTrace();
}//end of init
public String getFoo() { return foo; }
public int getBar() { return bar;}
}//end of class
I modified my server.xml file to include this:=
<!-- Tomcat My DataSource Testing Context -->
<Context path="/DBTest" docBase="C:\Program Files\Apache Tomcat 4.0\webapps\DBTest"
debug="5" reloadable="true" crossContext="true">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="localhost_DBTest_log." suffix=".txt"
timestamp="true"/>
<Resource name="jdbc/TestDB"
auth="Container"
type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/TestDB">
<parameter>
<name>factory</name>
<value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
</parameter>
<parameter>
<name>maxActive</name>
<value>5</value>
</parameter>
<parameter>
<name>maxIdle</name>
<value>2</value>
</parameter>
<parameter>
<name>maxWait</name>
<value>10000</value>
</parameter>
<parameter>
<name>username</name>
<value>system</value>
</parameter>
<parameter>
<name>password</name>
<value>manager</value>
</parameter>
<parameter>
<name>driverClassName</name>
<value>oracle.jdbc.OracleDriver</value>
</parameter>
<parameter>
<name>url</name>
<value>jdbc:oracle:thin:@localhost:1521:Test2</value>
</parameter>
</ResourceParams>
</Context>
<!-- Tomcat My DataSource Testing Context -->
and my web.xml file is as shown below:=
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<description>Oracle DataSource Test App</description>
<resource-ref>
<description>DB Connection</description>
<res-ref-name>jdbc/TestDB</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</web-app>
Now when i start Tomcat and try to access the jsp page i get this error in Tomcat Console:=
Inside INIT of DBTest
javax.naming.NamingException: Cannot create resource instance
at org.apache.naming.NamingContext.lookup(NamingContext.java:837)
at org.apache.naming.NamingContext.lookup(NamingContext.java:181)
at org.apache.naming.NamingContext.lookup(NamingContext.java:822)
at org.apache.naming.NamingContext.lookup(NamingContext.java:194)
at foo.DBTest.init(DBTest.java:25)
at org.apache.jsp.test$jsp._jspService(test$jsp.java:60)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspSer
vlet.java:202)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
82)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:201)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
2344)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:164)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
rValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
462)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:163)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcesso
r.java:1011)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.ja
va:1106)
at java.lang.Thread.run(Unknown Source)
Why is this happening .
I am making sure the resource name in server.xml and web.xml are the same
Any Help highly appreciated
Thanks
RajHi rajess_kr,
Looks to me like you're pretty close.
I'm assuming that you've got the JDBC driver JAR in TOMCAT_HOME/common/lib. The JAR containing your data source factory class org.apache.commons.dbcp.BasicDataSourceFactory should be in that directory, too. Since you're using Oracle, I'd also suggest that you repackage classes12.zip as a JAR file if it's not already a JAR.
I think the JNDI lookup string should be "java:comp/env/jdbc/TestDB".
I've got a working example on my desktop at work, but I don't seem to have one here at home. I'll give it a look on Monday and see if I can provide more details. It looks to me like you're not very far off. - MOD -
Problems with DBConnect datasources when triggered from pchain (DB2 databas
Hello,
We are using BI 7 and DB Connect functionality to remotely connect to our DB2/DB6 database to extract some data.
We created source system and data sources based on dbconnect and included infopackages, etc. into our process chains to load.
When we schedule process chain to run at certain times, InfoPackages fail at random or continue to run indefinitely. There is no clear error message, other than: Database system cannot be reached or The request is still running in the source system.
We made sure database was up during the times we are trying to schedule process chain. So, this is not the issue. The interesting thing is that whenever we try to run InfoPackages manually (not through pchain), we do not get any errors ever.
It appears that this issue occurs only when the load is triggered from the process chain (BWREMOTE user). And it happens at random. One day it could work fine, another day the same infopckage would fail.
Any ideas of what might be happening?
Thanks
Edited by: AG on Mar 16, 2010 1:30 PMHello,
I am not sure with this just trying to help you..
When you run the infopackage manually it uses the User name and password hard coded in the Source System Connection Settings, and when you run it from process chain does it still use the same username and password as this happens in backgroud please check that.
Also clear any other yellow loads/pending jobs in SM37 of this job(triggered from process chain) type in the past.
waiting for your feedback.
Regards
Nitin Bhatia -
Problem with activating datasource in BI7
i am using BI7 and ECC6. iwas generating data source using genrice view.....
when i replicate in BI i find the data source but i find it activation icon disabled.
how can i activate the data source please guideHi Satish,
If it is standard DS, you should be able to find it in RSA5. If it is a Generic Datasource, goto RSA6 trans in source system. Click the cursor on main node. Then Click on Expand(Top left button)> Now search for your DS. Once u find it, select change DS> Activate DS.
Then in BW system as you are alreday able to see the DS> Right click> Replicate Metadata--> goto Change mode --> Activate. Then you will have to activate your transformations as well.
Hope it helps!
Regards,
Pavan -
Delta Problem with CRM Datasource 0CRM_OPPT_H
Hi gurus!
We are facing an issue with Delta of the DS 0CRM_OPPT_H.
use has created a record with particular Transaction ID in CRM system.
Now when the record is deleted the same is not updated in the BI system.
The change log shows a record is existant with Record Mode N. I doubt if the deletion of record carried at CRM isnt transferred to the BI system.
Kindly suggest onthe same, what to do incase of these scenarios?
Thanks & Regards
JanaHello,
How was this fixed? What steps did you take. Thanks....Joel -
Problem with Text data Extraction from R/3
Hi Experts,
The problem is extracting Text data from R/3 system.
Actually its an delta load.The load is running fine....but it is not bringing any data from the source system (R/3)0 Record.When I checked the table in R/3 system the data are there.
I tried with Fullupdate too, still its bring 0 record.
What will be the solution for this?
Thanks in Advance!
Regds,
SPSHello SPS, I cant remember very well, but when we found this issue, the problem was Language key. There was a problem with standard datasource.
Did you try to find any notes for your datasource ?
Hugs,
Bueno -
Problem with Matrix/Checkbox/Datasource
Hi, i have a problem with a Matrix.
There are 3 Columns on this Matrix, one of those is a Checkbox. I fill the Columns with data, the Checkboxes where just added (no Checkbox is selected), the user has to select the value (Checkbox)he want's to by hand.
After i filled the Matrix i can see all the data on the Form, it's OK, but then i loose all entries after SBO is doing some work. There where shown only the empty rows and the checkboxes.
I guess it has something to do with the databinding. My problem is that i don't have the Data for this form on a db-table. I fill in the matrix the result of some querys. It looks like i need at least a DB-Field for the checkboxes, otherwise there are not working (not selectable)
Somebody knows a solution how i can keep the Data in the Matrix after SBO is doing some work? What could be the reason that i loose the data after filling it in the Matrix? Is there an easy way?
Thanks AndreasAlmost every item on a form need a datasource... If the item reprecents some data in a table the databinding must be a dbds... If the data does not reflect any data in a table (Calulated value, user-decision, ect.) a userdatasource need to be created...
Add a userdatasource
oForm.DataSources.UserDataSources.Add(UID,type,length);
Databind to DBDS
col.DataBind.SetBound(true,TABLE,FIELD);
Databind to UDS
col.DataBind.SetBound(true,,UID); -
Datasource Configuration problem with Tomcat-4.0.3
Hi All !
When I trying to open connection to my DB2 database in tomcat -4.0.3,
I have put db2java.jar in /usr/local/jakartha-tomcat-4.03/common/lib directory
when I am trying to connect Database through my servlet getting expections
java.lang.NullPointerException: at DataSource ds = (DataSource)envContext.lookup("jdbc/SmsDBDS");
here is my dbconnection class
package com.ebizon.util.jdbc;
import java.sql.*;
import java.util.*;
import javax.naming.*;
import javax.sql.*;
public class DBUtil {
/* Ebizon DB Connection for Tomcat */
public static Connection getEbizDBConnection() throws NamingException, SQLException {
Connection conn = null;
try {
InitialContext initCtx = new InitialContext();
Context envContext = (Context)initContext.lookup("java:/comp/env");
DataSource ds = (DataSource)envContext.lookup("jdbc/SmsDBDS");
conn = ds.getConnection();
} catch (NamingException ne) {
throw ne;
} catch (SQLException se) {
throw se;
return conn;
And my resource definition in server.xml (/usr/local/jakartha-tomcat-4.0.3/conf/server.xml)
<Context path="/DBTest" docBase="DBTest"
debug="5" reloadable="true" crossContext="true">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="localhost_DBTest_log." suffix=".txt"
timestamp="true"/>
<Resource name="jdbc/SmsDBDS"
auth="Container"
type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/SmsDBDS">
<parameter>
<name>factory</name>
<value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
</parameter>
<parameter>
<name>maxActive</name>
<value>100</value>
</parameter>
<parameter>
<name>maxIdle</name>
<value>30</value>
</parameter>
<parameter>
<name>maxWait</name>
<value>10000</value>
</parameter>
<!-- DB2 dB username and password for dB connections -->
<parameter>
<name>username</name>
<value>smsdb</value>
</parameter>
<parameter>
<name>password</name>
<value>smsdb</value>
</parameter>
<!-- Class name for mm.mysql JDBC driver -->
<parameter>
<name>driverClassName</name>
<value>COM.ibm.db2.jdbc.app.DB2Driver</value>
</parameter>
<parameter>
<name>url</name>
<value>jdbc:db2:smsdb</value>
</parameter>
</ResourceParams>
</Context>
this is my Web Application descriptor /WEB-INF/web.xml
<resource-ref>
<description>
Resource reference to a factory for java.sql.Connection
instances that may be used for talking to a particular
database that is configured in the server.xml file.
</description>
<res-ref-name>
jdbc/EmployeDB
</res-ref-name>
<res-type>
javax.sql.DataSource
</res-type>
<res-auth>
Container
</res-auth>
</resource-ref>
Please look at once above , Do i missing any thing?
Anyhelp is greatly appreciate
Many thanks in advance
With Regards
Madhu ReddyI don't see any problem with your files, so unfortunately I can't help. Since this forum is about the J2EE SDK, people may not have that much experience with standalone Tomcat. You may want to try the Tomcat user mailing list for a question about Tomcat: http://jakarta.apache.org/site/mail2.html
-
Very urgent : Problem with field attributes in Datasource
Hi
I am getting a problem with field attributes in the datasource.
The issue came up after i modified the extract structure-i modified one field and
added one field to the structure.Now those two fields are not visible in BW.
When i checked with transaction rsa2, i could find that for those two fields , the
field attribute is <b>'A'</b> which is <b>'Field in OLTP and BW Hidden by SAP'</b>.
I tried to modify the field attribute to make it visible.Now the issue is that it is not getting reflected after transport in the Q system.What can be the issue.In the Q system its still the old value 'A' ,which makes the fields invisible.
Please let me know what can be the issue.
Regards
LeonHi,
did you change this attribute via RSA2?
you need to change your datasource via postprocessing (RSA6); then transport your DS to your Q source system.
Replicate your datasources in your BW.
Finally modifiy your Transfer Structure by editing your TRules ( tab Datasource/Tran structure), move your new fields from the right frame to the left frame)
Maintain your TRules
Activate
hope this helps...
Olivier.
Maybe you are looking for
-
Question re synching with Ipad under different ICloud account
My question concerns how I sync my ICloud with an Ipad under my wife's email. I have an iCloud account on my MacBookPro, my iphone and my ipad. They work fine. I also want to send my calendar and other info shared on my 3 devices to my wife's ipad.
-
HP Officejet Pro 8500 A909g Wireless - Can't Clear Print Que - Vista SP 1
I have an HP Officejet Pro 8500 A909G Wireless printer which is set up wireless through a router. Used to be able to print to this printer from any computer in the house except now. I tried to print a document from my HP Pavilion laptop to the prin
-
Problem when saving the outline
Hello: We're working with Essbase 9.3.1. When saving an outline with EAS, the message windows "Starting save of outline" appears and it never close (even if the modification is as simple as adding an alias or an UDA). We've found that If we make Ctrl
-
Aligning "endcap" images to CSS div/text?
Hi all- I am trying to figure out a way to create "arrow" endcaps to use around text that is styled in a solid block using CSS, but cannot figure out how to get them to perfectly align. Above is the end result desired; below, the two graphic "endcaps
-
Connect SAP BO server to domain after the installation.
Hello, I would like to ask if it is fine to connect SAP BO BI 4.x Windows host to the customer domain after the installation of SAP BO. I was trying to find answer on this but nowhere is explicitly recommended to connect SAP BO host to domain before