Datasource bounding between jboss and informix db
I am creating a informix datasource in jboss4.0.2, but I always got error like this, so the connection is null.
16:29:08,821 INFO [ConnectionFactoryBindingService] Unbound connection factory
for resource adapter for ConnectionManager 'jboss.jca:name=ds/fastDB,service=Dat
aSourceBinding from JNDI name 'java:ds/fastDB'
the following is my informix-ds.xml file and java codes: appreciated if someone can let me know the cause and solution.
-------- informix-ds.xml -------------------------
<datasources>
<local-tx-datasource>
<jndi-name>ds/fastDB</jndi-name>
<connection-url>jdbc:informix-sqli://10.20.10.101:1621/fastdb1:INFORMIXSERVER=dbdev</connection-url>
<driver-class>com.informix.jdbc.IfxDriver</driver-class>
<user-name>fast</user-name>
<password>fast123</password>
<min-pool-size>5</min-pool-size>
<max-pool-size>20</max-pool-size>
<idle-timeout-minutes>10</idle-timeout-minutes>
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.InformixExceptionSorter</exception-sorter-class-name>
<metadata>
<type-mapping>InformixDB</type-mapping>
</metadata>
</local-tx-datasource>
</datasources>
----------my jave codes -----------------
InitialContext initContext = new InitialContext();
ds = (DataSource)initContext.lookup("java:ds/fastDB");
con = ds.getConnection();
Hi,
We have a similar problem but we think its done at the firewall instead of the DB. Did you try this settin gin the data-srouce.xml?
clean-available-connections-threshold="30"
We are testing this to see if this works in addition to:
Configure TCP Keepalive on the database and midtier servers to keep the database connection 'busy' at operating system level. The exact kernel parameters to use depend on the operating system. The TCP Keepalive time setting must be less than the firewall connection timeout setting.
To give an example, for a Linux RedHat server, to enable TCP Keepalive to ping socket connections every 300 seconds, run the following as root:
sysctl -w net.ipv4.tcp_keepalive_time = 300
sysctl -w net.ipv4.tcp_keepalive_probes = 3
sysctl -w net.ipv4.tcp_keepalive_intvl = 20
TCP_KEEPALIVE_TIME
Description: Determines how often to send TCP keepalive packets to keep an connection alive if it is currently unused.
TCP_KEEPALIVE_INTERVAL
Description: Determines the wait time between isAlive interval probes.
TCP_KEEPALIVE_PROBES
Description: Determines the number of probes before timing out.
Note: sysctl will modify runtime settings. To maintain these parameter changes after server reboot, modify the /etc/sysctl.conf file also.
Andrew
Similar Messages
-
Hi All,
See First Method
Lov code in .jspx file
selectOneChoice
<af:selectOneChoice value="#{bindings.vwDmsApplMapDocType.inputValue}"
label="" showRequired="true"
binding="#{docDownload.selectOneChoice3}"
autoSubmit="true" immediate="true" id="selectOneChoice3"
valueChangeListener="#{docDownload.getApplMapDocType}"
partialTriggers="selectOneChoice2" inlineStyle="width:50%">
<f:selectItems value="#{bindings.vwDmsApplMapDocType.items}"/>
</af:selectOneChoice>
valu change listener
getApplMapDocType(ValueChangeEvent valueChangeEvent)
public void getApplMapDocType(ValueChangeEvent valueChangeEvent){
FacesContext fctx = FacesContext.getCurrentInstance();
setAppKey(JSFUtils.getProcessAttribute("appid").toString());
System.out.println("\n value of doc type == "+selectOneChoice3.getValue());
Integer rowKey = null;
String docAppId = null;
try
ValueBinding vbinding = fctx.getApplication().createValueBinding("#{bindings.vwrDMSDocTypeIterator}");
DCIteratorBinding doctypeIterBinding = (DCIteratorBinding)vbinding.getValue(fctx);
if (valueChangeEvent != null && valueChangeEvent.getNewValue() != null) {
System.out.println("\n valueChangeEvent is not null then value is == "+valueChangeEvent.getNewValue());
rowKey = ((Integer)valueChangeEvent.getNewValue()).intValue();
//rowKey = Integer.parseInt(valueChangeEvent.getNewValue().toString());
//rowKey = ((Integer)selectOneChoice3.getValue()).intValue();
//rowKey = Integer.parseInt(selectOneChoice3.getValue().toString());
System.out.println("\n Value of rowKey == "+rowKey);
if (appKey != null) {
Row[] rw = doctypeIterBinding.getAllRowsInRange();
System.out.println("\n Row Value == "+rw);
System.out.println("\n value of doc DocType == "+rw[rowKey].getAttribute("DocType"));
System.out.println("\n value of doc AppId == "+rw[rowKey].getAttribute("AppId"));
System.out.println("\n value of doc DocTypeDesc == "+rw[rowKey].getAttribute("DocTypeDesc"));
System.out.println("row key value means doc type: = "+rowKey);
docType = (String)rw[rowKey].getAttribute("DocType");
docAppId = (String)rw[rowKey].getAttribute("AppId");
docTypeDesc = (String)rw[rowKey].getAttribute("DocTypeDesc");
JSFUtils.putOnProcessScope("jsfdoctype", docType);
this.setDocType(docType);
this.setDocTypeDesc(docTypeDesc);
}else{
JSFUtils.addFacesWarningMessage("Document type is Required");
catch (Exception e)
e.printStackTrace();
FacesContext fc = FacesContext.getCurrentInstance();
FacesMessage fm = new FacesMessage(FacesMessage.SEVERITY_WARN, "Its in getMap Doc Type", null);
fc.addMessage(null, fm);
System.out.println("Error Occurs in " +
e.getMessage());
I am using JDeveloper10.3.2 Application is already developed and running on production, i am doing some changes in this application. I have a lov which is populated from from DB. After choosing these love when i am changing other fields then i am getting below error. Here i am used valuePass=true then also i its not working. Actually its working some time but most of the time is getting below error.
Console Error
13/10/24 11:11:24 [16901] Bind params for ViewObject: vwrShops
13/10/24 11:11:24 [16902] $$added root$$ id=-2
Oct 24, 2013 11:11:24 AM com.sun.faces.lifecycle.ApplyRequestValuesPhase execute
SEVERE: SelectOne submittedValue's index 4 is out of bounds. It should be between 0 and -1
java.lang.IndexOutOfBoundsException: SelectOne submittedValue's index 4 is out of bounds. It should be between 0 and -1
at oracle.adfinternal.view.faces.renderkit.core.xhtml.SimpleSelectOneRenderer.__getIndex(SimpleSelectOneRenderer.java:347)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.SimpleSelectOneRenderer._convertIndexedSubmittedValue(SimpleSelectOneRenderer.java:189)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.SimpleSelectOneRenderer.getConvertedValue(SimpleSelectOneRenderer.java:157)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.InputLabelAndMessageRenderer.getConvertedValue(InputLabelAndMessageRenderer.java:42)
at oracle.adf.view.faces.component.UIXEditableValue.getConvertedValue(UIXEditableValue.java:455)
13/10/24 11:11:24 [16903] Resolving VO:vwrDmsDocMandField for iterator binding:vwrDmsDocMandFieldIterator
13/10/24 11:11:24 [16904] Resolving VO:vwrDMSParamType for iterator binding:vwrDMSParamTypeIterator
13/10/24 11:11:24 [16905] *** DCDataControl.sync() called from :DCBindingContainer.refresh
13/10/24 11:11:24 [16906] *** DCDataControl.sync() called from :DCBindingContainer.refresh
at oracle.adf.view.faces.component.UIXEditableValue.validate(UIXEditableValue.java:198)
at oracle.adf.view.faces.component.UIXEditableValue._executeValidate(UIXEditableValue.java:522)
at oracle.adf.view.faces.component.UIXEditableValue.processDecodes(UIXEditableValue.java:272)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXForm.processDecodes(UIXForm.java:53)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:900)
at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:326)
at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:99)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:171)
at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at amgdms.view.utils.ApplicationSessionExpiryFilter.doFilter(ApplicationSessionExpiryFilter.java:70)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
13/10/24 11:11:24 javax.servlet.ServletException: SelectOne submittedValue's index 4 is out of bounds. It should be between 0 and -1
13/10/24 11:11:24 at javax.faces.webapp.FacesServlet.service(FacesServlet.java:225)
13/10/24 11:11:24 at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
13/10/24 11:11:24 at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
13/10/24 11:11:24 Exception in ApplicationSessionExpiryFilter.doFilter:javax.servlet.ServletException: SelectOne submittedValue's index 4 is out of bounds. It should be between 0 and -1
13/10/24 11:11:24 at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
13/10/24 11:11:24 at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:171)
13/10/24 11:11:24 at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
13/10/24 11:11:24 at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
13/10/24 11:11:24 at amgdms.view.utils.ApplicationSessionExpiryFilter.doFilter(ApplicationSessionExpiryFilter.java:70)
13/10/24 11:11:24 at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
13/10/24 11:11:24 at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
13/10/24 11:11:24 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)
13/10/24 11:11:24 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
13/10/24 11:11:24 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
13/10/24 11:11:24 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
13/10/24 11:11:24 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
13/10/24 11:11:24 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
13/10/24 11:11:24 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
13/10/24 11:11:24 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
13/10/24 11:11:24 at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
13/10/24 11:11:24 at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
13/10/24 11:11:24 at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
13/10/24 11:11:24 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
13/10/24 11:11:24 at java.lang.Thread.run(Thread.java:595)
Oct 24, 2013 11:11:24 AM oracle.jsp.logger.JspMessages infoCannotDispatchJspPage
INFO: Unable to dispatch JSP Page : Exception:java.io.FileNotFoundException: D:\c\Oracle\Middleware\JDeveloper10.1.3.2\jdevstudio10132\jdev\system\oracle.j2ee.10.1.3.40.66\embedded-oc4j\default-web-app\DMSTimeOut.jspx (The system cannot find the file specified)
13/10/24 11:11:40 [16907] ApplicationPoolImpl.resourceStateChanged wasn't release related. No notify invoked.
For Screen Please Click Here To See Screen Shot
Whats the wrong? How can i fix it,
MaroofAny Update?
-
Difference between JBOSS 4.0.1SP1 and JBOSS 4.0.5 GA
Hi,
Would like to know the differnce between JBOSS 4.0.1SP1 and JBOSS 4.0.5 GA versions.?
thanks,
narendrawhat happened to the changelogs?
Or lacking those (and they exist, so don't even try as you'll just be told the same thing) asking in the JBoss support forums? -
Hi,
We are doing a scenario. Where XI will update the data into PSA through ABAP proxy.
Scenario worked perfectly in development system.
We transported the objects from Dev to test. The Strucures are mismatched in SE11 between development and Test systems as below.
Data sources (ZDS_RECIHDR and ZDS_RECTPALL) looks ok. But when I saw the structures in SE11 they are not correct, they got mismatched.
Development:
/BIC/CQZDS_REC00001000 - Header (ZDS_RECIHDR)
/BIC/CQZDS_REC00003000 - Allocation (ZDS_RECTPALL)
Test:
/BIC/CQZDS_REC00001000 - Allocation (ZDS_RECTPALL)
/BIC/CQZDS_REC00003000 - Header (ZDS_RECIHDR)
Kindly let me know where it might have gone wrong?
Thanks
DeepthiWe done it already. Still it is failing.
While transporting, it is failing and showing the error as
Program ZPI_CL_IA_PAYMENT_ALLOCATION1=CP, Include ZPI_CL_IA_PAYMENT_ALLOCATION1=CM001: Syntax error in line 000016
The data object 'L_S_DATA' has no component called'/BIC/ZSALENUM', but there is a component called
Program ZPI_CL_IA_PAYMENT_HEADER======CP, Include ZPI_CL_IA_PAYMENT_HEADER======CM001: Syntax error in line 000016
The data object 'L_S_DATA' has no component called'/BIC/ZTRANDATE', but there are the following com
The Structure is mismatched in SE11 between header and allocation structures. That is the reason it is failing.
Any more ideas pls? -
Difference between 0FI_AP_30 and 0FI_AP_4 Data source
HI,
What is the difference between 0FI_AP_30 and 0FI_AP_4 Data source.
Thanks in advanceHi,
In addition to above differences. Below is the functional difference between 0FI_AP_30 & 0FI_AP_4:
0FI_AP_4 gives you accounts payable line items in your report. Here GL account shows the balances of particular types of vendors/payables to which that particular GL account is been assigned.
And If subledger is activated in ECC, then by using 0FI_AP_30 you can get the break up of that particular GL balance according to vendors.
To make use of datasource 0FI_AP_30, subledger accounting must be activated in ECC.
Regards,
Pradip -
Value must be of type integer (between -2147483648 and 2147483647)
Hi,
Does anyone knows how to overcome this issue?
NW7.01.05
My Table in the View uses as dataSource a node called "DumpReport" - This has been created using a Structure type Zwd_S_Dumpage_Data.
The structure has some elements, and my issue is in the Quantity element. This element is defined as:
Element Name: Quantity
Simple Type Package: [irrelevant]
Simple Type: Zwd_E_Dumpqty
Built-in Type: decimal
Length: 13
Decimals: 3
I have one InputField, binding to this property. When I try to submit any decimal values, I get this error:
" Value must be of type integer (between -2147483648 and 2147483647) " - related to that Context Property (Quantity).
Regards,
DanielFor future reference,
External Length for this dataType was 17. We made it bigger in the R/3, since we compared to a Price field and it was 18 and working.
Somehow this fixed our issue. I'm still looking for some additional information, since the Built-in type was a Decimal (WDP side) and it was being validated as an Integer?!!?
Daniel -
Difference between JOIN and Subquery
HI all,
What is the difference between JOIN and Subquery?
Regards,
- SriJOIN is combining factor or two data sources.
Subquery is the resultant set of datasource(s) which can be joined/compared to other data source in your main query. -
CMP Datasource configuration in jboss
Hi every body,
I am running CMP entity bean in jboss server4.2.2GA in netbeans and i am getting the following error.....
[QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
14:37:26,702 INFO [ConnectionFactoryBindingService] {color:#ff0000}*Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'*{color}
{color:#ff0000}*14:37:26,797 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null*{color}
org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Access is denied)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:179)
i did some of the modifications in configuration files like login....xml and standardjboss.....xml.
but still it gives the same error message..............
and even it is not taking the jndi given instead it took DefaultDS
please help me in this regard.................
Edited by: sathishsona on Dec 10, 2008 9:27 AM
Edited by: sathishsona on Dec 10, 2008 9:29 AMHi every body,
I am running CMP entity bean in jboss server4.2.2GA in netbeans and i am getting the following error.....
[QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
14:37:26,702 INFO [ConnectionFactoryBindingService] {color:#ff0000}*Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'*{color}
{color:#ff0000}*14:37:26,797 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null*{color}
org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Access is denied)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:179)
i did some of the modifications in configuration files like login....xml and standardjboss.....xml.
but still it gives the same error message..............
and even it is not taking the jndi given instead it took DefaultDS
please help me in this regard.................
Edited by: sathishsona on Dec 10, 2008 9:27 AM
Edited by: sathishsona on Dec 10, 2008 9:29 AM -
Difference between J2SE and J2EE...
Hi all. I was wondering what the difference between J2SE and J2EE were. I mean in the code structure. Are the packages the same, like Swing, IO, things like that. I'm a bit of a beginner in Java, only been messing around with it for about 6 months now kind of in my spare time, and I know I'm in now way ready for J2EE, but it's something I think I'd like to maybe look into. I know it's for Enterprise Applications, much bigger scale than I'm used to, but fundamentally, how is it different? Different coding conventions? New packages not in J2SE? I hope what I want is coming across okay. Thanks for all the input.
JamesJ2EE defines a large number of specifications, in addition to J2SE. Examples are the Servlet, JSP, JMS, and EJB specifications. Most of those specifications are designed to have implementations running inside an Application Server. There are free implementations available such as JBoss (combined with for example Tomcat), and I think youre best bet to learn is to download one of those and go from there. Servlets and JSP are a good beginning, and then maybe move on to EJB and the rest.
Br - J -
Consistency between dev and prod systems!!!!
Hi All,
I wuld like to check the consistency between Dev and Prod systems for all the Data model and other objects existing. I would like to do this sanity check to see whether the two systems are in sync. Are there any tools or transaction codes within SAP framework which can guide me in this direction.
Kind Regards,
Surya Tamada.Hi Surya ,
First build whole data flow :
1 .Create Infoarea ,Infoobjects & Masterdata ,Infoproviders ,Infoobject Catelog under Infoarea,MetaData - Characteristics MeteData - Key Figures
2 DSOs ,Infocubes ,Infosets, Multiproviders ,Views in the development system ,Datasources for BW system,Flat File Datasources,Transformations
then get data from the se11 tables as per your requirement :
like RSDVCHA ,RSDBCHATR,RSDCUBEIOBJ,RSDICMULTIIOBJ etc and built view on it as per your requirement .
then built flat file data sources and transformation .
get all data downloaded to flat file in ur PC .In the same way from other system.
make flow from PC File Datasource -> DSO -> Infocube and build queries for different objects .load the downloaded files to them and then run query .
ex : query to compare cube will take cube name and systems name as input and compare objects .
Regards,
Jaya -
Link between 0RECORDMODE AND ROCANCEL
Hi, could you pls explaint the link between 0RECORDMODE and ROCANCEL
I just dont understand why they are mapped in transferrules. and i dont have the field ROCANCEL field in my datasource. actually what scenario makes 0RECORDMODE and ROCANCEL go together could u pls explain
Thanks in Advance,
Pallavi.Hi,
First: the recrodmode controls how data is posted into cubes or ODS (DSO) Objects.
Different Chars have different meanings:
N for new records
B for Pre Imgages
' ' for after images
R for Reverse Images
X for Storno
D for Deletion of a Key (only in ODS possible)
What extractor delivers what different types pof values can be seen via to tables:
ROOSOURCE in the source R/3 System.
There point out th edelta mechanism. With this value, check within Table RODELTAM. There you see the different POSSIBLE Values for ROCANCEL delivered by a DataSource.
The relevant objekt for the controlling of the mode in BW is the InfoObject 0RECORDMODE. Each ODS (DSO) has this Object. For Logistic-Extractors (except MaterialManagement) 0RECORDMODE should be mapped with ROCANCEL.
0STORNO generally is an InfoObject for Reports. E.G. Material movements. Stornos are posted in R/3 with particular so called movement types. Each movement typer contains an information if it is of type "Storno". If this is so, the field storno contains an X.
If you now map the storno field onto 0RECORDMODE, the record is interpreted as a storno record an will be wied blank ini the DataTarget.
If you have monotone increasing document numbers (like in CO-PA, CO-OM, MM-INV ...) 0RECORDMODE should be left blank. 0STORNO can be used for Reporting then and be filled differently.
If you can have changes to an already existing document number (like in sales orders or purchase orders) i'd strongly recommend to map 0RECORDMODE onto the delivered ROCALNCEL field.
also Check
Refer OSS Note 399739 and 333492
Thanks..Assign points if helpful.
´Tony -
Translation - Reduce spacing between label and value
Hi all,
I have translated the text in multi languages. I am not able to adjust the gap between Text and input field.
For example:
Now displaying :
1. Lang 'EN' -> Customer : SAP
2. Lang 'FR' -> Client: SAP
3. Lang 'DE' -> kunde SAP
I need to display as:
1. Lang 'EN' -> Customer : SAP
2. Lang 'FR' -> Client: SAP
3. Lang 'DE' -> kunde: SAP
Concatenate could not be done as i have to display field label in bold.
So I want to reduce the gap between Field label and its content. Above example for english the gap is less but for other langauges gap or spacing is more. How to reduce the spacing?Hi Harryibm ,
If you are simply outputting this information from data bound to the form the you may be able to use a floating field instead of a field and caption. You can just use a text element and then go to Insert->Floating Field while editing the text. You can then bind the floating field to the data connection as usual and the length of the text will vary depending on the content at runtime.
Let me know if this helps.
Ben. -
How to filter XML Datasource bound to Dropdown list?
Dear All,
I quiet new to LiveCycle designer ES from past couple of weeks I am working on this.
Right Now I have issue with filering XML Datasource bound with dropdown list.
I have XML file which has the data to the States and City. I have bound one of my dropdown list to State. My requirement is once I select the 'State' the corresponding City Names has to be listed in the second dropdown list.
I searched in the net and got couple of samples on that. But I failed to make my form work as requirement. Even though I have generated the XML file as given structure in the examples.
Please check the attached xml file which I have created.
I have struckup right now. So, help me this.
Very much thanks in advance.
Regards,
Sree Harshavardhana.Dear BR,
Thanks for the quick reply and most useful example. I'll try to apply the same in to my form and look in to it.
But, I would like to know is what was the corrections you have made in the javascript. I am not wrong the code which you have written in the example pdf the same I had written, but it did not work for me! Please check the code below which I had written.
StatesAndCities.#subform[0].StateName::change - (JavaScript, client)
var stateDataNode = xfa.resolveNode("StatesAndCities.States.(StateID.value == " + this.boundItem(xfa.event.change) + ")");
CityName.clearItems();
for (var i=0; i<stateDataNode.City.all.length; i++)
xfa.host.messageBox(stateDataNode.Cities.all.item(i).Code.value);
CityName.addItem(staffDataNode.City.all.item(i).Code.value);
I'll look forward by highlighting my mistakes, so that I can go by my own.
Regards,
Sree Harshavardhana. -
What is the relation between KTOPL and 0CHRT_ACCTS_ATTR? both Chart of Acct
Hi
If an R3 field e.g. KTOPL (in datasource 0fi_gl_4) which is a "Chart of Accout" is extracted a part of 0fi_gl_4 to BI,
is there the need to separately extract 0CHRT_ACCTS_ATTR & 0CHRT_ACCTS_TEXT which are also "Chart of Accout"
What is the relation between KTOPL and 0CHRT_ACCTS_ATTR & 0CHRT_ACCTS_TEXT in R3?
What is the relation between KTOPL and 0CHRT_ACCTS_ATTR & 0CHRT_ACCTS_TEXT in BI?
ThxHi,
I get these well with examples so let me see if I get your point:
So in the tranx data the 0fg_gl will be a value for KTOPL e.g. 450009 as a G/L Account number? (Values for chart of Acct should be GL Accounts, right?)
but before this tranx data is loaded, preferrably, 0CHRT_ACCTS_ATTR and 0CHRT_ACCTS_TEXT should have been extracted to BI; and data loaded; and this will be the master data and there should have been in it:
.._ATTR -
.._TEXT
450009 -
Petty cash Expenses
Is my understanding exact?
Thnx -
APO/BW: Verifying/Establishing a connection between BW and APO
Hi
1. Is there a way to see that my BW system is connected to an APO system, other than finding a name with APO in it under the Source System tree in BW?
2. Also, if the connection does NOT exist between BW and APO, can you provide me with the steps on how do I establish such a connection?
3. Does a successful in Generate Export DataSource in BW indicate that my BW system is connected to APO DP?
Thanks. Is there a way to see that my BW system is connected to an APO system, other than finding a name with APO in it under the Source System tree in BW?
In source system tree, you will find all the systems that are connected to your BW system. The system name need not have to start with APO.
2. Also, if the connection does NOT exist between BW and APO, can you provide me with the steps on how do I establish such a connection?
Transaction Sm59. you need to know the source and destination IP adresses. Usually, the baais will take care of connections.
3. Does a successful in Generate Export DataSource in BW indicate that my BW system is connected to APO DP?
NO. Export generaion is within BW system; nothing to do with the APO system that is connected.
Ravi Thothadri
Maybe you are looking for
-
How to tell if a purchased battery is legit?
I bought an 8-cell battery for my x61s from what I thought was a reputable seller on Amazon. Now I am not 100% sure, as the data in the Lenovo Power software doesn't match what's on the box label or the battery itself. The battery & software seem to
-
Is Adobe Illustrator CC Lagging because of my computer?
I seem to be experiencing a problem , Adobe Illustrator is going extremely slow ,take this for example I would be trying to move a converted vector image which takes a few seconds before it refreshes and updates. That goes for everything re-sizing,m
-
When I adjust the screen forward on my 15", a blue vertical line appears on the right side of my screen. When I push my display back, the line will sometimes change colors as I begin to push, but then disappear. The line appears more vivid on black b
-
Getting error when trying to link my twitter account to instagram on iphone
bought iphne5 and used my cloud back up to set up my new phone. everything works except for twitter that is linked to my instagram account. i can't delete it and reset it, i tried that. need help.
-
Placeholder for topic heading in master page?
RH9 If I create a new topic with no master page selected, then the topic title that I type into the New Topic dialog becomes the topic heading in the new topic. Is good. If I create a new topic using a master page, how do I get the same result? What