Channel error when working with BlazeDS and JBoss
I am getting this error... can someone just help me on this front
this is the mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute">
<mx:Script>
<![CDATA[
import mx.rpc.events.ResultEvent;
import mx.controls.Alert;
import mx.events.ResizeEvent;
public function showData(evt:ResultEvent):void{
var data:String = evt.result as String;
Alert.show(data);
]]>
</mx:Script>
<mx:RemoteObject id="remoteSend" destination="CreateRpc"
result="showData(event)" />
<mx:Button id ="myclick" label="Get Me"
click="remoteSend.getResults('Priyank')"/>
</mx:Application>
=====================================
remoting-config.xml entry for createrpc
<destination id="CreateRpc">
<properties>
<source>RemoteServiceHandler</source>
<scope>application</scope>
</properties>
<adapter ref="java-object"/>
</destination>
========================== error i get ===============
[RPC Fault faultString="Send failed"
faultCode="Client.Error.MessageSend"
faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed:
HTTP: Status 404: url: 'http://localhost:9081/biz/messagebroker/amf'"]
Any solutions
Ensure the services-config.xml on the running server contains the same
channel definition as the services-config.xml you point at when you compile
the Flex application.
It looks like the application is attempting to use a URL
('http://localhost:9081/biz/messagebroker/amf') that the server is not
listening to (404 not found).
Hope that helps
Tom Jordahl
Similar Messages
-
Error when working with TableView using JCA
Hi sdns,
I am getting an iview rutnime error when working with Tableview using JCA. Here i am putting all my code, go thorugh it and tell me if any error is there.One more thing is Usermappping and all properties are set to system object.
Now you can throught he code which is followed by error also.
<u>Java file.</u>
public class DisplayComponent extends PageProcessorComponent {
public DynPage getPage() {
return new DisplayComponentDynPage();
public static class DisplayComponentDynPage extends JSPDynPage {
private JCATviewBean bean;
public void doInitialization() {
IPortalComponentProfile profile =
((IPortalComponentRequest) getRequest())
.getComponentContext()
.getProfile();
Object o = profile.getValue("myBean");
if (o == null || !(o instanceof JCATviewBean)) {
bean = new JCATviewBean();
profile.putValue("myBean", bean);
} else {
bean = (JCATviewBean) o;
// fill your bean with data here...
IPortalComponentRequest request =
(IPortalComponentRequest) this.getRequest();
doJca(request);
public void doProcessAfterInput() throws PageException {
public void doProcessBeforeOutput() throws PageException {
this.setJspName("Report.jsp");
private IConnection getConnection(
IPortalComponentRequest request,
String alias)
throws Exception {
IConnectorGatewayService cgService =
(IConnectorGatewayService) PortalRuntime
.getRuntimeResources()
.getService(
IConnectorService.KEY);
ConnectionProperties prop =
new ConnectionProperties(
request.getLocale(),
request.getUser());
return cgService.getConnection(alias, prop);
public void doJca(IPortalComponentRequest request) {
IConnectionFactory connectionFactory = null;
IConnection client = null;
String rfm_name = "BAPI_COMPANYCODE_GETLIST";
try {
try {
// pass the request & system alias
// Change the alias to whatever the alias is for your R/3 system
client = getConnection(request, "MyIDES");
} catch (Exception e) {
System.out.println(
"Couldn't establish a connection with a target system.");
return;
Start Interaction
IInteraction interaction = client.createInteractionEx();
IInteractionSpec interactionSpec =
interaction.getInteractionSpec();
interactionSpec.setPropertyValue("Name", rfm_name);
CCI api only has one datatype: Record
RecordFactory recordFactory = interaction.getRecordFactory();
MappedRecord importParams =
recordFactory.createMappedRecord(
"CONTAINER_OF_IMPORT_PARAMS");
IFunctionsMetaData functionsMetaData =
client.getFunctionsMetaData();
IFunction function = functionsMetaData.getFunction(rfm_name);
if (function == null) {
System.out.println(
"Couldn't find " + rfm_name + " in a target system.");
return;
How to invoke Function modules
System.out.println("Invoking... " + function.getName());
MappedRecord exportParams =
(MappedRecord) interaction.execute(
interactionSpec,
importParams);
How to get structure values
IRecord exportStructure = (IRecord) exportParams.get("RETURN");
String columnOne = exportStructure.getString("TYPE");
String columnTwo = exportStructure.getString("CODE");
String columnThree = exportStructure.getString("MESSAGE");
System.out.println(" RETURN-TYPE = " + columnOne);
System.out.println(" RETURN-CODE = " + columnTwo);
System.out.println(" RETURN-MESSAGE =" + columnThree);
How to get table values
IRecordSet exportTable =
(IRecordSet) exportParams.get("COMPANYCODE_LIST");
exportTable.beforeFirst();
// Moves the cursor before the first row.
while (exportTable.next()) {
String column_1 = exportTable.getString("COMP_CODE");
String column_2 = exportTable.getString("COMP_NAME");
System.out.println(
" COMPANYCODE_LIST-COMP_CODE = " + column_1);
System.out.println(
" COMPANYCODE_LIST-COMP_NAME = " + column_2);
// create the tableview mode in the bean
bean.createData(exportTable);
Closing the connection
client.close();
} catch (ConnectorException e) {
// app.putValue("error", e);
System.out.println("Caught an exception: \n" + e);
} catch (Exception e) {
System.out.println("Caught an exception: \n" + e);
<u>Bena file</u>
package com.sap.JCA.bean;
import java.util.Vector;
import com.sapportals.connector.execution.structures.IRecordSet;
import com.sapportals.htmlb.table.DefaultTableViewModel;
import com.sapportals.htmlb.table.TableViewModel;
public class JCATviewBean {
public DefaultTableViewModel model;
public TableViewModel getModel() {
return this.model;
public void setModel(DefaultTableViewModel model) {
this.model = model;
public void createData(IRecordSet table) {
// this is your column names
Vector column = new Vector();
column.addElement("Company Code");
column.addElement("Company Name");
// all this logic is for the data part.
Vector rVector = new Vector();
try {
table.beforeFirst();
while (table.next()) {
Vector data = new Vector();
data.addElement(table.getString("COMP_CODE"));
data.addElement(table.getString("COMP_NAME"));
rVector.addElement(data);
} catch (Exception e) {
e.printStackTrace();
// this is where you create the model
this.setModel(new DefaultTableViewModel(rVector, column));
<b>JSP File:</b>
<%@ taglib uri="tagLib" prefix="hbj" %>
<jsp:useBean id="myBean" scope="application" class="com.sap.JCA.bean.JCATviewBean" />
<hbj:content id="myContext" >
<hbj:page title="PageTitle">
<hbj:form id="myFormId" >
<br>
<hbj:textView id = "tv1" text = "<b>TableView Example Using JCA</b> <br>"/>
<hbj:tableView
id="myTableView1"
model="myBean.model"
design="ALTERNATING"
headerVisible="true"
footerVisible="true"
fillUpEmptyRows="true"
navigationMode="BYLINE"
selectionMode="MULTISELECT"
headerText="TableView example1"
visibleFirstRow="1"
visibleRowCount="30"
width="500 px"
/>
</hbj:form>
</hbj:page>
</hbj:content>
<b>Error when Executing this component:</b><u></u>
Portal Runtime Error
<b>An exception occurred while processing a request for :
iView : N/A
Component Name : N/A
com/sapportals/portal/htmlb/page/PageProcessorComponent.
Exception id: 12:21_28/10/05_0173_94105150
See the details for the exception ID in the log file</b>
If anybody find the error please reply to this post.
Regards,
sireesha.Thanks for your response Martin,
I have already seen the log file but im couldn't findout anything from that since it is so long here im putting some part of please see this.if u able to find it clarify me,
<b>Here the log file:</b>
1.5#001321FD6213005D0000907100001CB000040419258FBF4E#1130405957843#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler/JobStore#Plain###With in the acquireLockForNextAvailableJob DataStore#
#1.5#001321FD6213005D0000907200001CB00004041925916735#1130405957953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Acquired the job null#
#1.5#001321FD6213005D0000907300001CB0000404192591688D#1130405957953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Did not find any job.So, Waiting for sometime for the next job#
#1.5#001321FD621300650000120E00001CB00004041925C953D7#1130405961625#com.sap.aii.af.sample.adapter.ra.SPIManagedConnectionFactory##com.sap.aii.af.sample.adapter.ra.SPIManagedConnectionFactory.XIManagedConnectionFactoryController.run()######04d7f690469311da8d52001321fd6213#Thread[Thread-114,5,SAPEngine_System_Thread[impl:5]_Group]##0#0#Debug#1#/Applications/ExchangeInfrastructure/AdapterFramework/ThirdPartyRoot/comsap/Server/Adapter Framework#Java###MCF with GUID is running. (,)#3#964bfca0444711dabb51001321fd6213#com.sap.engine.services.deploy.server.ApplicationLoader@1586c77#964bfca0444711dabb51001321fd6213#
#1.5#001321FD6213005D0000907400001CB000040419275B24FC#1130405987953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###within the infinite of the Scheduler Thread#
#1.5#001321FD6213005D0000907500001CB000040419275B25D9#1130405987953#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler/JobStore#Plain###With in the acquireLockForNextAvailableJob DataStore#
#1.5#001321FD6213005D0000907600001CB000040419275B2E27#1130405987953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Acquired the job null#
#1.5#001321FD6213005D0000907700001CB000040419275B2EFA#1130405987953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Did not find any job.So, Waiting for sometime for the next job#
#1.5#001321FD6213005D0000907800001CB0000404192924ED59#1130406017953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###within the infinite of the Scheduler Thread#
#1.5#001321FD6213005D0000907900001CB0000404192924EE36#1130406017953#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler/JobStore#Plain###With in the acquireLockForNextAvailableJob DataStore#
#1.5#001321FD6213005D0000907A00001CB0000404192924F652#1130406017953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Acquired the job null#
#1.5#001321FD6213005D0000907B00001CB0000404192924F710#1130406017953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Did not find any job.So, Waiting for sometime for the next job#
#1.5#001321FD621300650000120F00001CB000040419295CCD8B#1130406021625#com.sap.aii.af.sample.adapter.ra.SPIManagedConnectionFactory##com.sap.aii.af.sample.adapter.ra.SPIManagedConnectionFactory.XIManagedConnectionFactoryController.run()######04d7f690469311da8d52001321fd6213#Thread[Thread-114,5,SAPEngine_System_Thread[impl:5]_Group]##0#0#Debug#1#/Applications/ExchangeInfrastructure/AdapterFramework/ThirdPartyRoot/comsap/Server/Adapter Framework#Java###MCF with GUID is running. (,)#3#964bfca0444711dabb51001321fd6213#com.sap.engine.services.deploy.server.ApplicationLoader@1586c77#964bfca0444711dabb51001321fd6213#
#1.5#001321FD6213005D0000907C00001CB0000404192AEEB1E2#1130406047953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###within the infinite of the Scheduler Thread#
#1.5#001321FD6213005D0000907D00001CB0000404192AEEB2C0#1130406047953#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler/JobStore#Plain###With in the acquireLockForNextAvailableJob DataStore#
#1.5#001321FD6213005D0000907E00001CB0000404192AEEBAD8#1130406047968#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Acquired the job null#
#1.5#001321FD6213005D0000907F00001CB0000404192AEEBB9E#1130406047968#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Did not find any job.So, Waiting for sometime for the next job# -
FCPX 10.0.7 collapses when working with 25p and 23,98p clips in the same timeline.
Did anybody reported this? never happened to me in previous versions.
It seems to be solved when transcoding the 25p clips to 23,98p (both Canon EOS 5dMKII clips)
But *** it must work!
ThanxFCPX 10.0.7 collapses when working with 25p and 23,98p clips in the same timeline.
Did anybody reported this? never happened to me in previous versions.
It seems to be solved when transcoding the 25p clips to 23,98p (both Canon EOS 5dMKII clips)
But *** it must work!
Thanx -
Keymapping problem when working with emacs and openbox
I have an apple keyboard and I had to do some remapping of the keys to make the mod-4 key the first key to the left of the space bar for when working with Emacs. The below script worked fine when I was using the dwm window manager, but after switching to openbox I have found that instead of swapping keycodes between the option and command keys, only the command key seems to be working since the initial openbox command-space doesn't work when pressing option-space.
One odd thing I noticed, was on the new setup when I click run `showkey` and press the option and command keys I get 56 and 125 respectively, but these keys don't work at all when inserting them into the below script instead of the 64 and 133.
I must admit I created the script below by continually tweaking it until it worked so there could be a much better way of doing it.
//.xmodmap
### capslock => ctrl
xmodmap -e "clear Lock"
xmodmap -e "add Control = Caps_Lock"
### switch alt and command
xmodmap -e "keycode 64 = Alt_L"
xmodmap -e "keycode 133 = Meta_L"
### remap of mod 4
xmodmap -e "clear Mod4"
xmodmap -e "add Mod4 = Super_L"
** Update: The Alt key is not being swapped with the command key, but is not just a duplicate. So no M-x can be done by both Alt-x and Command-x
Last edited by iso (2011-02-19 19:21:01)java -cp "E:\Java Programmes\class" mygame.server.Server
-
How to use Flex builder with blazeds and JBoss
Following the instructions it is pretty easy to set up a project to work with the turnkey tomcat. However, I am having problems with JBoss because the app has to be deployed as a .war file. I can create a war file manually and depoly it no problem. How do I get flex builder to deploy to a war file? I want to be able to debug in flex builder and run at the click of a button.
Hi,<br /> I am trying to configure BlazeDS with JBOSS Application Server.<br /> I have downloaded BlazeDS binary version - blazeds_bin_3-0-0-544.zip from Adobe. But in the installation steps, it says that copy blazeds.war, samples.war and console.war into <JBOSS_HOME>/server/default/deploy folder. But in this zip, it contains only blazeds.war file only. I have copied it to <JBOSS_HOME>/server/default/deploy folder.<br /><br />I have restarted JBoss. I didn't get any error. But when i give <br /> http://localhost:8080/blazeds ... i am always getting "Page not found 404" error.<br /><br />Please help me, if you have detailed steps to configure BlazeDS on JBoss.<br /><br />Thanks for your time.
-
Problem with dual currency when working with AMEX and VISA
Hi all,
We are in process of implementing SAP travel on demand with integration of AMEX and VISA corporate cards. Paymentric was in charge of our configuration and the information is comming to our system now.
As per our set up, the statements are being procesed with errors, due the currency we are receiving the charges is USD instead of country home currency. Example -> Argentinian employee travel to Brazil, and paid with BRL currency. We are receiving the statements in USD instead of BRL (There is a validation in the tool which cannot process statements in other than local currency)
I spoke with AMEX and VISA representatives, and both says that they work with dual currency model, so changing the currency in the statements is not a possibility.
Are we missing something in the config? I was reading information and discover that other countries like China are having same issue.
Thanks for your help,
HernánHi Hernán,
credit card statements usually contain two currencies:
1. 1. Local Currency: if the Argentinian employee travels to Brazil and buys something there, the local currency would be BRL
2. 2. Billed Currency: this is the currency in which the credit card is billed (according to the credit card setup). Each transaction is converted to the billed currency in case of foreign transactions.
Cloud for Travel and Expenses knows for each employee exactly one home currency. An expense report is always processed with home currency.
Up to release 1502 it is not possible to import credit card transactions if the credit card billed currency does no match the employee’s home currency (there is no restriction to the local currency).
As of release 1505 this is possible, but it has to be activated in Business Configuration:
Travel and Expenses -> Expense Reimbursement -> Expense Input Channels -> Group: Credit Card -> Do you want to import credit card transactions with a credit card currency that differs from the home currency of the employee?
In addition, you must use the new posting interface "SAP ERP Financials Using IDoc (with extensibility)". If you detect settlement deviations or differences on the reconciliation or credit card account (split payment) due to the currency exchange rates in your financial system, you can correct this situation by implementing BAdIs in the ERP system.
Hope this helps.
Best regards,
Ralph -
Getting an error when working with Responsive Design Output: MasterThemeSchema.xml
When generating a Responsive Design HTML 5 output, I'm getting this error: "MasterThemeSchema.xml file has invalid data." I am unable to access the manage layout features now to continue my customizations. I had imported a customized font before seeing this message. I'm moved the project to my harddrive, where the software is installed, and and still getting it (I know RH doesn't always do well on a network drive). Any ideas?
I searched this blog for similar posts and found posts that described similar issues. I ended up moving my RH project file to my local drive, deleting the masterthemeschema.xml, and replacing it with another masterthemeschema.xml from another project via Windows Explorer. I will recreate my customizations and hope for the best. Any ideas on what causes this corruption of the mastertheme schema files in the first place? Does this masterthemeschema.xml error only occur when working on a network drive and not local?
-
Error when working with fillin or droplist fields as part ofgrid field
Hello,
A customer at Eli Lilly & Co. is experiencing an error when trying to
change the properties of a gridfield that contains droplists as part of an
array that is gridded. They get this error when trying to do any
modification of the grid field.
Have any of you experienced this? Any insight for resolution? We do have
a trouble ticket into Forte regarding this but wanted to see if anyone
else has experienced this. We get this bug in C1 and F2 versions:
System Error: Unable to allocate resources for object
‘dtlArray.status_ind’ of class ‘qqds_DropList’.
Class: qqsp_systemResourceException with ReasonCode: SP_ER_WINDOWLIMIT
error#[701,13]
detected at widget. ThrowResourceException at 1 Last tool statement:
method cw.load
error time: thu feb 20 8:47:23.
Exception occured (locally) on partition ‘Forte_cl0_client’,(partition
Id=BD14F94489D1-11D0-9BEE-06814DBAA77:ox124:0x1,taskid=[BD14F94489D1-11D0-
9BEE-062814DBAA77-ox1243654 on node p8888 in environment DevEnv_2F2.
Thanks,
Peggy Adrian
[email protected]Hi Jason,
If you have problems with the network this has to be solved.
I don't think we can have a software working if a cable was unplug ).
We advice our customer to use citrix servers in case if the latency into network is high (more than 200 ms) and of course in case of loosing packages.
But I don't think the problem in your case is related to the network.
It seems in your case it was a problem of send governor.
This can have problem when the cube and dimension are not syncronize or you have an error in one of dimensions.
Also can you check the table sgqueue if you have any record there when nobody is sending data?
If you have records there then you have to delete these records.
Check also tbl"your application"lock if you have records.
Regards
Sorin Radulescu -
Suddenly, today, three of my colleagues around the US with Presenter 7 licenses can no longer save PowerPoint files or work with Presenter. All of us successfully created courses last week.
We all get the "unexpected error" message telling us to "Try saving your work to a new file and restarting PowerPoint. If the problem persists, consult the Help menu item..." We get the message even if all we do is type one word on a slide and try to save the file.
We cannot open the Presenter Help menu... the same error message pops up.
So now we cannot save a PowerPoint file. We cannot save a Presenter file. We cannot record or import audio in Presenter. No matter what we click on the Presenter toolbar, we get the same error message. Nothing is working.
Help!The updater will only get you to 7.0.6. 7.0.7 was a major update, that took Presenter from an AS2 application to an AS3 application. I would recomend that you do the update process for 7.0.7, as it is "required" to use with Connect 8.1 and newer. Presentations published wit 7.0.6 and older should still work though.
The update process for 7.0.7 can be found here: http://helpx.adobe.com/presenter.html
There is a link to download Product Updates, where you can get the installer for 7.0.7.
There is also the instructions for upgrading to 7.0.7 as a stand alone application or as part of a Suite. -
UI not getting change update when working with LIST and INotifyPropertyChanged
i was trying to know two way data binding. i have simple car class which extend INotifyPropertyChanged for notify the change to update UI. bind List object to few textboxes and notice when one textbox value change then other textbox value not updated. all
textboxes bind to same property. so one's value change should propagate to other textboxes.
this is my code
public class Car : INotifyPropertyChanged
private string _make;
private string _model;
private int _year;
public event PropertyChangedEventHandler PropertyChanged;
public Car(string make, string model, int year)
_make = make;
_model = model;
_year = year;
public string Make
get { return _make; }
set
_make = value;
this.NotifyPropertyChanged("Make");
public string Model
get { return _model; }
set
_model = value;
this.NotifyPropertyChanged("Model");
public int Year
get { return _year; }
set
_year = value;
this.NotifyPropertyChanged("Year");
private void NotifyPropertyChanged(string name)
if (PropertyChanged != null)
PropertyChanged(this, new PropertyChangedEventArgs(name));
This way i bind
Car carTest;
private void Form1_Load(object sender, EventArgs e)
carTest = new Car("Ford", "Mustang", 1967);
List<Car> ol = new List<Car>();
ol.Add(carTest);
this.textBox1.DataBindings.Add("Text", ol, "Make", true, DataSourceUpdateMode.OnPropertyChanged);
this.textBox2.DataBindings.Add("Text", ol, "Make", true, DataSourceUpdateMode.OnPropertyChanged);
this.textBox3.DataBindings.Add("Text", ol, "Make");
when run the code then Ford was showing as make name but when change value in any textbox then that change is not shown in other textboxes.
the moment i change this line List<Car> ol = new List<Car>(); to
BindingList<Car> ol = new BindingList<Car>(); then code started to work fine.
My Question
1) what is the difference between List and BindingList class ?
2) can't we use List<> for my situation instead of BindingList
3)
this.textBox2.DataBindings.Add("Text", ol, "Make", true, DataSourceUpdateMode.OnPropertyChanged);
this.textBox3.DataBindings.Add("Text", ol, "Make");
see the above code and tell me what is the advantage of using DataSourceUpdateMode.OnPropertyChanged because i have seen if we do not use this code
DataSourceUpdateMode.OnPropertyChanged then also data change is propagated to other textbox when cursor focus change.I would have thought that'd work with List<t>, in fact I think there must be something wrong in your code there. I can't spot it though.
I recommend use of ObservableCollection rather than BindingList.
The default on bindings is that changes are propagated from the target ( view ) to source ( vm ) when the control loses focus.
If you want to do the equivalent to a keydown event handler in a viewmodel then onpropertychanged is the way to go.
You want to avoid creating bindings in code unless you really really have to, it's way easier to put them in xaml.
Even if your ui is dynamic, you can build xaml and use that to create the ui objects:
http://social.technet.microsoft.com/wiki/contents/articles/28797.aspx
The difference between BindingList and List is, literally, iBindingList.
See
https://msdn.microsoft.com/en-us/library/system.componentmodel.ibindinglist%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396
What probably isn't very obvious is that BindingList fires an event - iirc itemchanged when properties on objects in it change.
Maybe you did something wrong in your implementation of inotifypropertychanged. I must admit, I can't see anything there though.
You don't really need those magic strings since .net4.5 and you also don't need to explicitly implement inotifypropertychanged you could use:
public event PropertyChangedEventHandler PropertyChanged;
public void RaisePropertyChanged([CallerMemberName] String propertyName = "")
if (PropertyChanged != null)
PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
As used in this:
https://gallery.technet.microsoft.com/WPF-Dynamic-Fonts-ad3741ca
If you try that sample you can have:
public class FontDetails : INotifyPropertyChanged
or
public class FontDetails
And you can see it still notifies change successfully to both windows.
Most wpf devs will use observablecollection rather than List or bindinglist.
Observablecollection notifies addition or removal of entries. It can be used to notify an entry has changed, but does not detect change of property. You would have to raise the event in code if you want to tell it an item changed.
Hope that helps.
Technet articles: Uneventful MVVM;
All my Technet Articles -
Data Services IDOC Errors when working with a newl Basic Type
Hello,
Just wondering if anyone else has encountered an issue similar to the one I am dealing with. We are trying to create business partners in SAP CRM from Data Services via IDOC. We are not using the standard IDOC, but instead we are using a new IDOC type.
This IDOC type is generated by SAP CRM automatically through a transaction BDFG. This transaction creates a new basic type for an standard IDOC with the additional fields that we have added through the easy enhancement workbench (EEWB).
The issue that we are having is that when we import the IDOC type into data services and we look at the schema many fields and sub-structures of the IDOC are duplicated. This means that we receive hundreds of errors when we try to validate our data flow. I can delete the duplicated sub structures in my query transformation but then the query transformation and the output schema and the idoc input schema are no longer identical.
I have searched all over oss and different web forums for a solution but no one else it seems has even encountered this error. If anyone else has had a similar issue and can offer help it would be greatly appreciated.
BillIssue is resolved.
After importing the meta data for the IDOC into data services I then proceeded to edit out all of the duplicate structures and fields from the IDOC.
After making the IDOC structure in data services identical to the structure of the IDOC in SAP I then proceeded to test this IDOC and it executed successfully. -
Error when working with Session bean
HI !!!!
CAN ANYBODY HELP ME WITH THIS ERROR
SEE THIS CODE FROM MY CONTROL FILE
import weblogic.jws.*;
import weblogic.jws.control.*;
* @jws:ejb home-jndi-name="com/unisys/comms/jdal/ejb/sql/session/messagestoresb"
* @editor-info:ejb home="jdalMailbox-ejb.jar" bean="jdalMailbox-ejb.jar"
public interface MessageStoreSBControl
extends com.unisys.comms.jdal.ejb.sql.session.messagestoresb.MessageStoreSBHome,
// home interface
com.unisys.comms.jdal.ejb.sql.session.messagestoresb.MessageStoreSB,
// bean interface
weblogic.jws.control.SessionEJBControl // control interface
EVERYTHING IS RIGHT HERE BUT I GET AN ERROR
THE ERROR IS AS FOLLOWS -------
addMessageStore
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode> SOAP-ENV:JWSError </faultcode>
<faultstring> Interface interface MessageStoreSBControl does not extend an EJB
home interface </faultstring>
<detail>
<JW-ERR:jwErrorDetail xmlns:JW-ERR="http://www.bea.com/2002/04/jwErrorDetail/">
weblogic.jws.control.ControlException: Interface interface MessageStoreSBControl
does not extend an EJB home interface at weblogic.knex.control.EJBControlImpl.<init>(EJBControlImpl.java:94)
at weblogic.knex.control.SessionEJBControlImpl.<init>(SessionEJBControlImpl.java:24)
at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:232)
at weblogic.knex.control.ControlHandler.invoke(ControlHandler.java:255) at MessageStoreSBControl.create(MessageStoreSBControl.ctrl)
at MessageStoreWS.addMessageStore(MessageStoreWS.jws:40) </JW-ERR:jwErrorDetail>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>Hi PK,
Are you able to run the TraderEJBClient.jws EJBControl sample? This is
also a StatelessSession ejb control sample.
If you are able to run the sample and the exception occurs only with
your ejb,, please attach your sample ejb to the newsgroup post.
Also provide the OS, and Workshop Service pack level you are working
with.
Thanks
Raj Alagumalai
WebLogic Workshop Support
"PKRIS" <[email protected]> wrote in news:3ee74564$[email protected]:
>
HI !!!!
CAN ANYBODY HELP ME WITH THIS ERROR
SEE THIS CODE FROM MY CONTROL FILE
import weblogic.jws.*;
import weblogic.jws.control.*;
* @jws:ejb
home-jndi-name="com/unisys/comms/jdal/ejb/sql/session/messagestoresb"
* @editor-info:ejb home="jdalMailbox-ejb.jar"
bean="jdalMailbox-ejb.jar" */
public interface MessageStoreSBControl
extends
com.unisys.comms.jdal.ejb.sql.session.messagestoresb.MessageSto
reSBHome,
// home interface
com.unisys.comms.jdal.ejb.sql.session.messagestoresb.Me
ssageStoreSB,
// bean interface
weblogic.jws.control.SessionEJBControl // control
interface
EVERYTHING IS RIGHT HERE BUT I GET AN ERROR
THE ERROR IS AS FOLLOWS ------- -
Error when working with the substring
Hi,
i am getting a error when using a substring
Scenario : from Flat file to IDoc
input = 30 char
output1 = first 10 chars
output2 = last 4 chars
when my input filed has the maximum number of characters say 30 in this case, then my scenerio works fine.
but if my input string has only first 6 chars, remaining all "spaces" . i get a stringindexoutof boundexception, when i post a flat file. Can anyone tell me if we are suppose to handle such conditions differentlyHi,
you could do it like:
> if input.length >= 10 char
> output1 = first 10 chars
> else output1 = input
> if input.length >= 4 chars
> output2 = last 4 chars
> else output2 = input
Regards
Patrick -
Error when communicating with server, and locked fields
Hi there,
I am having a really weird, and annoyingly intermittent, problem.
I'm trying to write a single value to my application via an Input EVDRE, for testing purposes. I've been doing this all morning (admittedly to a different application set but still...) but this time when I "send and refresh", it takes ages before coming back with this error:
"An error has occurred while communicating with the server"
Further more, if I look at the table "dbo.lckFinance" there is now a locked field in the database for this specific category and time. So a user without access to a DBA (or the database, in my case!) would be stuck now - even if the communication problem was solved, they couldn't post anyway.
The application is not part of appshell, we are running BPC version 7.0.112 on SQL Server 2005.
I've looked in the Event Viewer on the server and found nothing untoward there.
Any idea what is happening and how I can avoid this in future? The communication thing is obviously a problem, but I'm just as concerned by the locking.
Please help!
Many thanks,
JasonHi Jason,
If you have problems with the network this has to be solved.
I don't think we can have a software working if a cable was unplug ).
We advice our customer to use citrix servers in case if the latency into network is high (more than 200 ms) and of course in case of loosing packages.
But I don't think the problem in your case is related to the network.
It seems in your case it was a problem of send governor.
This can have problem when the cube and dimension are not syncronize or you have an error in one of dimensions.
Also can you check the table sgqueue if you have any record there when nobody is sending data?
If you have records there then you have to delete these records.
Check also tbl"your application"lock if you have records.
Regards
Sorin Radulescu -
Data incompatibility error when working with objets
Hi
I am passing an object to the procedure inside package.
when i am using for loop it's working fine
the code is below
create or replace type emp_obj as
object(empno number(10),
ename varchar2(10),
sal number(10,3));
create or replace type emp_tab is table of emp_obj;
CREATE OR REPLACE PACKAGE emp_obj_pkg
AS
PROCEDURE emp_ins_proc(p_emp_tab IN emp_tab);
END emp_obj_pkg;
CREATE OR REPLACE PACKAGE BODY emp_obj_pkg
AS
PROCEDURE emp_ins_proc(p_emp_tab IN emp_tab)
IS
BEGIN
FOR i IN 1..p_emp_tab.count
LOOP
INSERT INTO emp VALUES( p_emp_tab(i).empno,p_emp_tab(i).ename,p_emp_tab(i).sal);
END LOOP;
END emp_ins_proc;
END emp_obj_pkg;
declare
v_emp_tab emp_tab;
begin
select emp_obj(empno,ename,sal) bulk collect into v_emp_tab from emp;
emp_obj_pkg.emp_ins_proc(v_emp_tab);
end;
when i am trying to use the forall in the package it throwing the error data incompatibility error
the procedure code for the package is
CREATE OR REPLACE PACKAGE BODY emp_obj_pkg
AS
PROCEDURE emp_ins_proc(p_emp_tab IN emp_tab)
IS
BEGIN
FORALL i IN 1..p_emp_tab.count
INSERT INTO emp VALUES p_emp_tab(i);
END emp_ins_proc;
END emp_obj_pkg;
i got below errors
ERROR
PL/SQL: SQL Statement ignored
PL/SQL: ORA-00932: inconsistent datatypes: expected - got -
pls help me how to do this with for all
Thanks & Regards
Bala Sake954925 wrote:
when i am trying to use the forall in the package it throwing the error data incompatibility errorThe structure following the VALUE clause need to match the structure of the table being inserted into.
Basic examples of using record structures for inserting data, for object and normal tables.
SQL> create or replace type TEmployee is object(
2 emp_id number,
3 emp_name varchar2(10),
4 dept_id number
5 );
6 /
Type created.
SQL>
SQL> create or replace type TEmployeeTable is table of TEmployee;
2 /
Type created.
SQL>
SQL> create table employees of TEmployee(
2 constraint pk_employees primary key( emp_id )
3 ) organization index;
Table created.
SQL>
SQL> create or replace procedure EmpInsert( empTable TEmployeeTable ) is
2 begin
3 forall i in 1..empTable.Count
4 insert into employees values empTable(i);
5 end;
6 /
Procedure created.
SQL>
SQL> declare
2 empArray TEmployeeTable;
3 begin
4 select
5 TEmployee( empno, ename, deptno )
6 bulk collect into
7 empArray
8 from emp;
9
10 EmpInsert( empArray );
11 end;
12 /
PL/SQL procedure successfully completed.
SQL> create table employees(
2 emp_id number primary key,
3 emp_name varchar2(10),
4 dept_id number
5 ) organization index;
Table created.
SQL>
SQL> declare
2 cursor c is select empno, ename, deptno from emp;
3 type TCursorBuffer is table of c%RowType;
4 buffer TCursorBuffer;
5 begin
6 open c;
7 loop
8 fetch c bulk collect into buffer limit 100;
9
10 forall i in 1..buffer.Count
11 insert into employees values buffer(i);
12
13 exit when c%NotFound;
14 end loop;
15 close c;
16 end;
17 /
PL/SQL procedure successfully completed.
SQL> Of course, these example do not show how one should code when moving data from one table to another (using native SQL only is by far faster and more scalable).
However it does show the basics of inserting a structure via the INSERT call in PL/SQL (as oppose to individual variables) - and this is an important consideration as the resulting code is more robust and requires less keystrokes.
Maybe you are looking for
-
Running Permission Scripts for App-V packages in VDI environment
Hi We use App-V 5.0 SP1 in VDI environment. We have a major problem with packages' permissions Our users don't have administrative privileges on their machines. As the option for "Security Descriptors" is discontinued, the only way to give permission
-
Exporting or saving the filled-out form to a specified location.
Hi, I have created a pdf form using Acrobat X Standard. Currently, the way I have designed it is- the filled out form is attached to the email when the user clicks submit button. I am using some java code that I found through this forum. I do not kno
-
Help!!! HD video question, answers needed
Hey guys. I just received a 5th generation iPod Touch as a Christmas gift, but I have one quick question about it. When playing videos on YouTube, how can I make them not HD? On my old iPod Touch (it was a 1st gen iPod) it didn't have a Retina Displa
-
Regarding component's x position
hi i dont whether this is the correct forum to ask my doubt.im entirely new to form development. so plz help me with this doubt. i placed a text item in a form.i specified some x position to that text item.then is specified its prompt.so it displayed
-
I used to have my tabs reload every 2 - 5 minutes. I downloaded the new Tab Mix Plus and now when I click on "Reload all tab: button I don't get the drop down box any longer. Steve