Managing exception in data action
Hello,
I am working on a web j2ee project based on struts/adf technology scope.
I need to do some complex elaboration when the user press a button, so:
1. I develop a data action
2. from the data action I call a method of the application module
3. I get the result from the method and forward to the proper page,
4. etc.
My method in the application module raises exceptions (when no data are found on the database, when parameters are null, when the database is down...).
If I let my method to throw exceptions (i write "throws Exception" in the declaration), the wizard doesnt let me to export the method to the client!!
Otherwise I should catch the exceptions in my method in the application module, return an integer to the data action and write some code to decode the return value and eventually raise the exception again: I can't believe I have to do it this way!!!
Anyone can help me?
Thank you,
Marco.
Thnaks for reply.
I will try it from another system. as i am the administrator of my desktop also I am trying to uplode a Image from Desktop so don't think that there is the problem b'coz of permisions.
May be problem is with GUI only.
Regards,
Darshan...
Similar Messages
-
How to log the exception using Log action in Oracle Service Bus
Hi,
Whenever an exception is raised how to log the exception using Log action in oracle service bus.After logging where I have to find the logged message.It would be in the log file for the managed server which ran the request. If you are logging the message at a lower level than your app server, however, you won't see it. You should be logging the exception at Error level.
-
Error loading Virtual Machine Manager 2012 and Data Protection Manager 2012 modules together
Hi.
Very strange issue: when i try to load together Virtual Machine Manager 2012 and Data Protection Manager 2012 modules - script fails. If first loaded Virtual Machine Manager 2012 module:
Import-Module : Cannot load Windows PowerShell snap-in C:\Program Files\Microsoft Data Protection Manager\DPM2012\bin\ObjectModelCmdlet.dll because of the following error: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property
for more information.
Loader Exceptions:
Could not load type 'Microsoft.Internal.EnterpriseStorage.Dls.Utils.AlertTypes.AlertEnum' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
At C:\Program Files\Microsoft Data Protection Manager\DPM2012\bin\Modules\DataProtectionManager\DataProtectionManager.psm1:2 char:14
+ Import-Module <<<< (Join-Path $cmdletDllPath ObjectModelCmdlet.dll)
+ CategoryInfo : ResourceUnavailable: (:) [Import-Module], PSSnapInException
+ FullyQualifiedErrorId : PSSnapInLoadFailure,Microsoft.PowerShell.Commands.ImportModuleCommand
If first loaded DPM 2012 module::
Import-Module : Cannot load Windows PowerShell snap-in C:\Program Files\Microsoft System Center 2012\Virtual Machine Manager\bin\Microsoft.SystemCenter.VirtualMachineManager.dll because of the following error: Unable to load one or more of the requested
types. Retrieve the LoaderExceptions property for more information.
Loader Exceptions:
Could not load type 'Microsoft.VirtualManager.Utils.TypeConverterEnumHelper`1' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.TypeConverterEnumHelper`1' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineException' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Method 'get_BootOrder' in type 'Microsoft.SystemCenter.VirtualMachineManager.ClientObjectHWSettingsSourceAdapter' from assembly 'Microsoft.SystemCenter.VirtualMachineManager, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have
an implementation.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMStartAction' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Method 'get_BootOrder' in type 'HardwareConfigSettingsAdapter' from assembly 'Microsoft.SystemCenter.VirtualMachineManager, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an implementation.
Could not load type 'Microsoft.VirtualManager.Utils.VMStartAction' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMStartAction' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMStartAction' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMSCSIControllerType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMSCSIControllerType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.ServicingTypeValues' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.FabricCapabilityType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.SKUType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral,PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
At \\team\dfs\scripts\Admin\Scvmm\Move-VirtualMachine.ps1:103 char:16
+ Import-Module <<<< 'C:\Program Files\Microsoft System Center 2012\Virtual Machine Manager\bin\psModules\virt
ualmachinemanager\virtualmachinemanager.psd1';
+ CategoryInfo : ResourceUnavailable: (:) [Import-Module], PSSnapInException
+ FullyQualifiedErrorId : PSSnapInLoadFailure,Microsoft.PowerShell.Commands.ImportModuleCommandVote if you have same problem:
https://connect.microsoft.com/PowerShell/feedback/details/873348/scvmm-and-scdpm-powershell-modules-cant-work-together -
How to display values after doing some business logic in data action
hi guys i got the same problem but iam unable to display the values..in my display page when iam trying to do some business logic in my data action class..
can u guys help me out
iam pasting my code which iam working here
my struts-config.xml
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<form-beans>
<form-bean name="DataForm" type="oracle.adf.controller.struts.forms.BindingContainerActionForm"/>
</form-beans>
<action-mappings>
<action path="/inputform" className="oracle.adf.controller.struts.actions.DataActionMapping" type="oracle.adf.controller.struts.actions.DataForwardAction" name="DataForm" parameter="/inputform.uix">
<set-property property="modelReference" value="inputformUIModel"/>
<forward name="success" path="/inputAction.do"/>
</action>
<action path="/inputAction" className="oracle.adf.controller.struts.actions.DataActionMapping" type="order.view.InputAction" name="DataForm">
<set-property property="modelReference" value="displaypageUIModel"/>
<forward name="success" path="/displaypage.do"/>
</action>
<action path="/displaypage" className="oracle.adf.controller.struts.actions.DataActionMapping" type="oracle.adf.controller.struts.actions.DataForwardAction" name="DataForm" parameter="/displaypage.uix">
<set-property property="modelReference" value="displaypageUIModel"/>
</action>
</action-mappings>
<message-resources parameter="order.view.ApplicationResources"/>
</struts-config>
my input form uix
<?xml version="1.0" encoding="windows-1252"?>
<page xmlns="http://xmlns.oracle.com/uix/controller"
xmlns:ui="http://xmlns.oracle.com/uix/ui"
xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
xmlns:html="http://www.w3.org/TR/REC-html40"
expressionLanguage="el">
<content>
<dataScope xmlns="http://xmlns.oracle.com/uix/ui">
<provider>
<!-- Add DataProviders (<data> elements) here -->
</provider>
<contents>
<document>
<metaContainer>
<!-- Set the page title -->
<head title=""/>
</metaContainer>
<contents>
<body>
<contents>
<form name="form0" method="post">
<contents>
<messageTextInput model="${bindings.password}" text="username"/>
<messageTextInput model="${bindings.username}" text="password"/>
<submitButton text="submit" event="success" destination="inputAction.do"/>
</contents>
</form>
</contents>
</body>
</contents>
</document>
</contents>
</dataScope>
</content>
<handlers>
<!-- Add EventHandlers (<event> elements) here -->
</handlers>
</page>
my display uix
<?xml version="1.0" encoding="windows-1252"?>
<page xmlns="http://xmlns.oracle.com/uix/controller"
xmlns:ui="http://xmlns.oracle.com/uix/ui"
xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
xmlns:html="http://www.w3.org/TR/REC-html40"
expressionLanguage="el">
<content>
<dataScope xmlns="http://xmlns.oracle.com/uix/ui">
<provider>
<!-- Add DataProviders (<data> elements) here -->
</provider>
<contents>
<document>
<metaContainer>
<!-- Set the page title -->
<head title=""/>
</metaContainer>
<contents>
<body>
<contents>
<form name="form0">
<contents>
<messageStyledText model="${bindings.password}" prompt="Prompt 0"/>
<messageStyledText model="${bindings.username}" prompt="Prompt 1"/>
</contents>
</form>
</contents>
</body>
</contents>
</document>
</contents>
</dataScope>
</content>
<handlers>
<!-- Add EventHandlers (<event> elements) here -->
</handlers>
</page>
my model bean
package order.model;
public class TestBean
private String username;
private String password;
public TestBean()
public String getUsername()
return username;
public void setUsername(String username)
this.username=username;
System.out.println("the username after actions class:"+username);
public String getPassword()
return password;
public void setPassword(String password)
this.password=password;
my data Action class
package order.view;
import oracle.adf.controller.struts.actions.DataAction;
import oracle.adf.controller.struts.actions.DataActionContext;
import oracle.jbo.uicli.binding.JUCtrlActionBinding;
import oracle.jbo.uicli.binding.JUCtrlAttrsBinding;
import order.model.TestBean;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionForward;
public class InputAction extends DataAction
* Delegate to the Struts page lifecycle implementation
* {@link StrutsJspLifecycle#findForward findForward}
* @param actionContext the lifecycle context for the DataAction
* @throws Exception
protected void findForward(DataActionContext actionContext) throws Exception
// TODO: Override this oracle.adf.controller.struts.actions.DataAction method
//super.findForward(actionContext);
TestBean testbean=new TestBean();
System.out.println("this is action form"+actionContext.getActionForm());
String username=(String)((JUCtrlAttrsBinding)actionContext.getBindingContainer().findCtrlBinding("username")).getInputValue();
System.out.println("this is username"+username);
String username1=username+"hye wats up";
testbean.setUsername(username1);
ActionForward forward=actionContext.getActionForward();
ActionMapping mapping =actionContext.getActionMapping();
System.out.println("this is mapping"+mapping);
mapping.findForward("success");
// To handle an event named "yourname" add a method:
// public void onYourname(DataActionContext ctx)
// To override a method of the lifecycle, go to
// the main menu "Tools/Override Methods...".
check this out iam unable to display in my display page so help me out if any one canNo, in this case, I'm using standard JSP with ADF and struts validator.
If I don't use struts validator and there are errors (such as putting a string into a number which produces a jbo-25009), the list value will be retained.
When using the validator, it appears that it is NOT retained.
I've written some code to attempt to set the list element back, which "looks like" it's working right now.
There's still a problem with the second scenario:
1. user clicks checkbox and hits [submit]
2. get's error - you have to enter 5 address items
3. User wants to backout, so he unchecks the box and resubmits
4. The box redisplays as "checked"
SO, at that point, I thought... can't I use YOUR EXAMPLE on how to handle a checkbox.
I place some code in the reset method of the form to perform this:
map.put("AddressChangeFlag", (String) "" );
(that is, I've detected via the request that this flag is null), so I'm trying to make sure it retains it!
I do that and it runs into a problem during the processUpdateModel aT:
BindingContainerValidationForm updateForm= (BindingContainerValidationForm) actionContext.getActionForm();
//Get the binding for our particular column JUCtrlAttrsBinding checkBoxBinding = (JUCtrlAttrsBinding)updateForm.get("AddressChangeFlag");
call, with an error:
JBO-29000: Unexpected exception caught: java.lang.ClassCastException, msg=java.lang.String
java.lang.String
The value for updateForm.get("AddressChangeFlag") is "", which I'm assuming means the form field is no longer in the request object??
I'm lost at this point, and have been working on it for more than 1 day.
Thanks for responding though, and I await feedback ;) -
WLI 7.0 Question about Set Task due date action
Hi,
I am trying to manage time out issue efficiently and, as described in the
WLI documentation, the
timeout has to be design with a dedicated path with, as the first task, a
set task due date action.
I was wondering about the timeout of this task due date...
How can I stop this action before the end of the 'due date' without deleting
the instance associated to my workflow ?
Do you have any advice ?
Thanks
AlexandreHI,
Customizing the Task List
You can customize the column headers or search for required tasks by clicking on Customize Table Header. The option allows you to specify the columns to be showed in the list table, to provide the sorting order, and to set the page size. The sorting order could be complex with option to provide multiple columns for sorting and the order (ascending/descending) for each of them.
To create a custom query and search for tasks:
1.In the Task List page, click Customize Table Header.
In the Construct a Custom Query form, specify the search criteria by specifying any of the following values.
2.Enter the task name. You can use the * character at the start or the end of the name.
3.Enter the task ID. Separate multiple values using comma.
4.Select the check box against the Administration and Working state of the task.
5.Enter any comment. You can use regular expression.
6.Enter the priority range.
7.Enter the Assignee, Owner, or Claimant names.
8.Specify the completion due date range.
9.If required, select the Include tasks with no completion due date check box.
10.Click Apply.
All tasks that match the specified criteria are displayed in the Task List page.
To customize the table header:
1.In the Task List page, click Customize Table Header. The Construct a Custom Query form appears.
2.In the View form, select the columns that you want to view in the Task List page.
3.Select the Preserve Search Criteria check box to retain these details for the current session.
4.Select the maximum number of search results that should be displayed on the page.
5.Select the number of rows that should be displayed in the page.
6.Click Apply.
The view in the Task List page is updated based on the current settings.
Using this option you can set the completion due date
Hope this information will help you solve the issue.
Regards,
Kal. -
[ADF Swing] Manage exceptions
Hi all!
I want to manage exceptions handling in a Swing ADF application. In my Application Module, I have a method that adds data in the DB (by creating a new row in the corresponding VO, etc). This method is called by an object whish is in the application view project. When a constraint violation occures, I'd like that Application Module method catch the JboException and throw it to the calling Java object. The traditionnal way to throw exception doens't work:
public void addMethod(params) throws CustomException
try
catch(JboException e)
throw new CustomException(e.getMessage());
So I create my own mechanism with event and listener, but I suppose that a common way should exists.
Could somebody help me?
RegardsMark,
exceptions are catched and handled in the page lifecycle. See:
http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3/state/content/navId.4/navSetId._/vtAnchor.CIHHBEEJ/vtTopicFile.adfdevguide%7Cweb_val%7Ehtm/
An implementation of this is available in the SRDemo example you get through
help-->check for updates
Frank -
Urgent: unable to call a plsql stored procedure with a struts data action
Hello ALL,
I'm trying to call a plsql stored procedure within a struts DataAction,
The scenario is:
When a user a click on a button, then it should call a specific stored procedure,,
I create struts data action a class to handle the event which is to call the procedure
Here is my code:
public class RequestAction extends DataForwardAction
public void onCall(DataActionContext ctx)
String amDef = "model.AppModule";
String config = "AppModuleLocal";
ApplicationModule am =
Configuration.createRootApplicationModule(amDef, config);
try{
AppModuleImpl myAm = (AppModuleImpl)am;
DBTransaction tr = (DBTransaction) myAm.getTransaction();
CallableStatement stmt = tr.createCallableStatement
("begin pkg_test.test; end;", DBTransaction.DEFAULT);
stmt.execute();
stmt.close();
tr.commit();
catch(Exception e){System.out.println(e.getMessage());}
Configuration.releaseRootApplicationModule(am,true);
but when I ran the application and click on the button, I got the following Exception:
04/07/08 00:45:50 ORA-06550: line 1, column 7:
PLS-00201: identifier 'PKG_TEST.TEST' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
It seems that the DBTransaction object unable to see the stored procedure,
Am I do something wrong or miss something???
I've checked the examples on the OTN HOW TO, and searched in the JDeveloper Forum but unable to find an answer,
Please anyone can help???
Thanks a lot
With Regards,
HayatHere's an example application that illustrates how to do this. I haven't had a chance to writeup a little paper to go with it yet, but will as soon as I have a chance.
http://otn.oracle.com/products/jdev/tips/muench/storedproc/CallStoredProc.zip
See the "callStoredProcedure" method in the application module in the Model project.
See the "callStoredProcedure" method binding in the binding container of the "CallStoredProcedure" data page.
Notice the name "event_callStoredProcedure" of the (Call Stored Procedure) button on the CallStoredProcedure.jsp page which triggers the declaratively invocation of the method.
You could also call the method from code in a custom data action.
The code example illustrates how to create your own JDBC prepared statement for invoking the stored procedure, and doing it in a way that is efficient by keeping the prepared statement around across invocations. -
Hi Anyone can assisting on this. The SCOM 2007r2 i managed suddenly do not pump out alerts.
I have perform full scom service restart(data access, agent, config). it no load up related datawarehouse like(stored, write)
I also restarted my sql db services. It show me the error like this. Anyhow i can fix it
The request to synchronize state for OpsMgr Health Service identified by "bdb1712b-0a9a-bbe3-9630-41f2da9f64a1" failed due to the following exception "System.Data.SqlClient.SqlException: Cannot open database "OperationsManager" requested
by the login. The login failed.
Login failed for user 'HK\svc-scomsdk'.
at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at Microsoft.EnterpriseManagement.Mom.DataAccess.SqlConnectionHandler.Open(SqlConnection sqlConnection, RetryPolicy retryPolicy, DatabaseConnection databaseConnection)
at System.Data.SqlClient.SqlConnection.Open()
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at Microsoft.EnterpriseManagement.Mom.DataAccess.SqlConnectionHandler.Open(SqlConnection sqlConnection, RetryPolicy retryPolicy, DatabaseConnection databaseConnection)
at System.Data.SqlClient.SqlConnection.Open()
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at Microsoft.EnterpriseManagement.Mom.DataAccess.SqlConnectionHandler.Open(SqlConnection sqlConnection, RetryPolicy retryPolicy, DatabaseConnection databaseConnection)
at Microsoft.EnterpriseManagement.Mom.DataAccess.DatabaseConnection.Open()
at Microsoft.EnterpriseManagement.Mom.DataAccess.QueryRequest.Execute(SqlNotificationRequest sqlNotificationRequest)
at Microsoft.Mom.ConfigService.OpsMgrDataAccess.ConfigurationDataAccessor.QueryInstanceProperties(ReadOnlyCollection`1 instances)
at Microsoft.Mom.ConfigService.DataAccess.DatabaseAccessor.QueryInstanceProperties(ReadOnlyCollection`1 instances)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems.Instances.CollectPublicProperties(ReadOnlyCollection`1 identities, IConfigurationDataAccessor dataAccessor)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems.ConfigurationItemCollection`2.CollectPublicProperties(IConfigurationDataAccessor dataAccessor)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems..ctor(StateContext stateContext, IConfigurationDataAccessor dataAccessor)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.CreateResponse(Managers managers)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.Managers.Synchronize(OnDoSynchronizedWork onDoSynchronizedWork)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.Execute(Managers managers)
at Microsoft.EnterpriseManagement.Mom.DataAccess.SqlConnectionHandler.Open(SqlConnection sqlConnection, RetryPolicy retryPolicy, DatabaseConnection databaseConnection)
at Microsoft.EnterpriseManagement.Mom.DataAccess.DatabaseConnection.Open()
at Microsoft.EnterpriseManagement.Mom.DataAccess.QueryRequest.Execute(SqlNotificationRequest sqlNotificationRequest)
at Microsoft.Mom.ConfigService.OpsMgrDataAccess.ConfigurationDataAccessor.QueryInstanceProperties(ReadOnlyCollection`1 instances)
at Microsoft.Mom.ConfigService.DataAccess.DatabaseAccessor.QueryInstanceProperties(ReadOnlyCollection`1 instances)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems.Instances.CollectPublicProperties(ReadOnlyCollection`1 identities, IConfigurationDataAccessor dataAccessor)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems.ConfigurationItemCollection`2.CollectPublicProperties(IConfigurationDataAccessor dataAccessor)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems..ctor(StateContext stateContext, IConfigurationDataAccessor dataAccessor)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.CreateResponse(Managers managers)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.Managers.Synchronize(OnDoSynchronizedWork onDoSynchronizedWork)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.Execute(Managers managers)
at Microsoft.EnterpriseManagement.Mom.DataAccess.SqlConnectionHandler.Open(SqlConnection sqlConnection, RetryPolicy retryPolicy, DatabaseConnection databaseConnection)
at Microsoft.EnterpriseManagement.Mom.DataAccess.DatabaseConnection.Open()
at Microsoft.EnterpriseManagement.Mom.DataAccess.QueryRequest.Execute(SqlNotificationRequest sqlNotificationRequest)
at Microsoft.Mom.ConfigService.OpsMgrDataAccess.ConfigurationDataAccessor.QueryInstanceProperties(ReadOnlyCollection`1 instances)
at Microsoft.Mom.ConfigService.DataAccess.DatabaseAccessor.QueryInstanceProperties(ReadOnlyCollection`1 instances)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems.Instances.CollectPublicProperties(ReadOnlyCollection`1 identities, IConfigurationDataAccessor dataAccessor)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems.ConfigurationItemCollection`2.CollectPublicProperties(IConfigurationDataAccessor dataAccessor)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems..ctor(StateContext stateContext, IConfigurationDataAccessor dataAccessor)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.CreateResponse(Managers managers)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.Managers.Synchronize(OnDoSynchronizedWork onDoSynchronizedWork)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.Execute(Managers managers)
at Microsoft.EnterpriseManagement.Mom.DataAccess.SqlConnectionHandler.Open(SqlConnection sqlConnection, RetryPolicy retryPolicy, DatabaseConnection databaseConnection)
at Microsoft.EnterpriseManagement.Mom.DataAccess.DatabaseConnection.Open()
at Microsoft.EnterpriseManagement.Mom.DataAccess.DatabaseConnection.Open()
at Microsoft.EnterpriseManagement.Mom.DataAccess.QueryRequest.Execute(SqlNotificationRequest sqlNotificationRequest)
at Microsoft.Mom.ConfigService.OpsMgrDataAccess.ConfigurationDataAccessor.QueryInstanceProperties(ReadOnlyCollection`1 instances)
at Microsoft.EnterpriseManagement.Mom.DataAccess.QueryRequest.Execute(SqlNotificationRequest sqlNotificationRequest)
at Microsoft.Mom.ConfigService.DataAccess.DatabaseAccessor.QueryInstanceProperties(ReadOnlyCollection`1 instances)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems.Instances.CollectPublicProperties(ReadOnlyCollection`1 identities, IConfigurationDataAccessor dataAccessor)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems.ConfigurationItemCollection`2.CollectPublicProperties(IConfigurationDataAccessor dataAccessor)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems..ctor(StateContext stateContext, IConfigurationDataAccessor dataAccessor)
at Microsoft.Mom.ConfigService.DataAccess.DatabaseAccessor.QueryInstanceProperties(ReadOnlyCollection`1 instances)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.CreateResponse(Managers managers)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems.Instances.CollectPublicProperties(ReadOnlyCollection`1 identities, IConfigurationDataAccessor dataAccessor)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.Execute(Managers managers)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.Run(Guid source, String cookie, Managers managers, IConfigurationDataAccessor dataAccessor, Stream stream, IConnection connection)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems.ConfigurationItemCollection`2.CollectPublicProperties(IConfigurationDataAccessor dataAccessor)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems..ctor(StateContext stateContext, IConfigurationDataAccessor dataAccessor)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.CreateResponse(Managers managers)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.Managers.Synchronize(OnDoSynchronizedWork onDoSynchronizedWork)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.Execute(Managers managers)
at Microsoft.EnterpriseManagement.Mom.DataAccess.SqlConnectionHandler.Open(SqlConnection sqlConnection, RetryPolicy retryPolicy, DatabaseConnection databaseConnection)
at Microsoft.EnterpriseManagement.Mom.DataAccess.DatabaseConnection.Open()
at Microsoft.EnterpriseManagement.Mom.DataAccess.QueryRequest.Execute(SqlNotificationRequest sqlNotificationRequest)
at Microsoft.Mom.ConfigService.OpsMgrDataAccess.ConfigurationDataAccessor.QueryInstanceProperties(ReadOnlyCollection`1 instances)
at Microsoft.EnterpriseManagement.Mom.DataAccess.SqlConnectionHandler.Open(SqlConnection sqlConnection, RetryPolicy retryPolicy, DatabaseConnection databaseConnection)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems.ConfigurationItemCollection`2.CollectPublicProperties(IConfigurationDataAccessor dataAccessor)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems..ctor(StateContext stateContext, IConfigurationDataAccessor dataAccessor)
at Microsoft.EnterpriseManagement.Mom.DataAccess.DatabaseConnection.Open()
at Microsoft.EnterpriseManagement.Mom.DataAccess.QueryRequest.Execute(SqlNotificationRequest sqlNotificationRequest)
at Microsoft.Mom.ConfigService.OpsMgrDataAccess.ConfigurationDataAccessor.QueryInstanceProperties(ReadOnlyCollection`1 instances)
at Microsoft.Mom.ConfigService.DataAccess.DatabaseAccessor.QueryInstanceProperties(ReadOnlyCollection`1 instances)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems.Instances.CollectPublicProperties(ReadOnlyCollection`1 identities, IConfigurationDataAccessor dataAccessor)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems.ConfigurationItemCollection`2.CollectPublicProperties(IConfigurationDataAccessor dataAccessor)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.Managers.Synchronize(OnDoSynchronizedWork onDoSynchronizedWork)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems..ctor(StateContext stateContext, IConfigurationDataAccessor dataAccessor)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.Execute(Managers managers)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.CreateResponse(Managers managers)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.Managers.Synchronize(OnDoSynchronizedWork onDoSynchronizedWork)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.Run(Guid source, String cookie, Managers managers, IConfigurationDataAccessor dataAccessor, Stream stream, IConnection connection)
at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.Run(Guid source, String cookie, Managers managers, IConfigurationDataAccessor dataAccessor, Stream stream, IConnection connection)".Hi,
I would like to suggest you reset the SDK account password (in this case, it seems like that the account is 'scomsdk'). And change the password for the account in service configuration.
Please go through the below article for details:
How to change the credentials for the SDK Service and for the Config Service in Microsoft System Center Operations Manager
http://support.microsoft.com/kb/936220/en-us
Regards,
Yan Li
Regards, Yan Li -
Managed Beans and Data Access Object
I have a question / need help understanding how to configure backing bean and model objects so that memory and object creation/deletion is done as efficiently as possible.
1. I have a .jsf page with a form and a commandbutton that submits the form inputs to a backing bean (enrollispbean is backing bean)
<h:commandButton value="Enter" action="#{enrollispbean.insert}"/>
2. The backing bean is used for form handling - the insert() method is used to read the data fields from the form and create a SQL string that will be submitted to a model object, DbInsert, that is used as a generic data access object that connects to the database and insert the SQL string:
public class EnrollIspBean {
private String beanvar1="";
private String beanvar2= "";
// DbInsert is data access object
private DbInsert dbinsert = new DbInsert();
public String insert (){
String sqlstmt;
sqlstmt = "INSERT INTO ispmain VALUES(beanvar1, beanvar2,..)"
dbinsert.insert(sqlstmt);
return "success"; }
3. DbInsert is the data access object that contains a method, insert(), that accepts a sql string to insert into the database. This method contains the code to obtain a connection from the database connection pool and then execute the sql statement (note: error checking code not shown):
public class DbInsert {
public void insert(String sqlstmt) throws SQLException {
Connection conn = null;
GetDBConnection getdbconnection = new GetDBConnection();
PreparedStatement stmt = null;
conn = getdbconnection.getdbconn();
stmt = conn.prepareStatement(sqlstmt);
stmt.executeUpdate();
stmt.close();
conn.close();
return;
Where I need help understanding is how to set up the scope for the managed beans and data access object. Currently, I have the backing bean within the session scope (using the facesconfig.xml file). My main question is how to set up the scope for the Data Access Object - currently I do not have it as a managed bean within facesconfig.xml. Instead I am creating a new instance within the backing bean:
private DbInsert dbinsert = new DbInsert();
Is this the best way to do this? Will the DBInsert object now be tied to the session scope of the backing bean (i.e., when backing bean is deleted, the DbInsert object will be deleted from session scope as well.)
Ideally I would like the data access object to be available as a shared object throughout the life of the application. When I was programming using a servlet approach, I would have created a servlet to load on startup. Now that I'm using java server faces, I'm confused about the scope / how to efficiently set up a data access object that I want to be available to all backing beans in the application.
tnanks for any help understanding this.
TomI was thinking about setting the data access object as application scope so that it can be used by an backing bean to execute sql statements.
If I do set it as application scope, however, if I do this, do I still need to declare a new instance of the object from within each bean that uses the object?
For example do I need to declare a new instance of the data access object from within the bean? or, should I assume that there is always an instance of the bean available in the application scope, and if so, how do I reference it from within the bean?
Bean Code:
public class EnrollIspBean {
// DbInsert is data access object
private DbInsert dbinsert = new DbInsert();
Finally, I understand performance may be an issue if I have one instance of the data access object available in the application scope - is there a way to make multiple instances available in the application scope?
thanks -
Managed Provider: The data protection operation was unsuccessful.
We just attempted to deploy a new .net 4 web application with the beta managed provider. When attempting to open a new connection, we hit this exception:
The data protection operation was unsuccessful. This may have been caused by not having the user profile loaded for the current thread's user context, which may be the case when the thread is impersonating.
Is there an app pool setting in IIS that we need to change to get this to work? Locally it works fine, so I'm assuming it's some type of permissions issue.I could provide you with a test case, but honestly it's as simple as it gets - just a blank web forms app that includes the managed provider! Here is the code I have to open the connection:
using System;
using System.Configuration;
using System.Data;
using Oracle.ManagedDataAccess.Client;
public class CatalogDB : IDisposable
private readonly OracleConnection _conn;
private OracleCommand _oCmd;
private OracleDataAdapter _oDA;
private DataTable _dt;
public CatalogDB()
string connString = ConfigurationManager.ConnectionStrings["connCBSProd"].ConnectionString;
_conn = new OracleConnection(connString);
_conn.Open(); // EXCEPTION THROWN HERE
Could this be a medium trust issue? The server we're deploying to is also manged by plesk, so there is a virtual guarantee that there is some non-standard setting applied. -
How do I manage my iCloud Data across my apple devices
How do I manage my iCloud data across various devices....like my iPhone 5 and Macbook
If you are using the same iCloud account on all your devices (as recommended), then you could manage your iCloud storage in "Settings > iCloud > Storage & Backup > Manage Storage" which would have effects accross devices.
-
Using ADF View object create method in Data Action
I need to know how to create a new row in an application module method and get the attributes from the ADF input form.
If i Drag drop the create method in the data action form it is working fine. But how to do this programmatically, I have a need where i need to execute a query on another view object and set the create method.
Thanks.Steven:
(My application does not need to show all records and provide Edit/ Remove buttons at row level, navgational buttons and Create button for inserting new record. Instead, I would just open a blank record for entry, and commit)
As per your post, I followed the following steps (action class) to insert blank record:
DCBindingContainer bindings = actionContext.getBindingContainer();
DCControlBinding binding = bindings.findCtrlBinding("Id");
Row row = binding.getRowIterator().createRow();
row.setNewRowState(row.STATUS_INITIALIZED);
RowSetIterator rs =(RowSetIterator)
binding.getRowIterator();
rs.insertRow(row);
End Results: It works fine and a new blank record is created. The only problem is <html:errors/> in JSP throws error for the first time. I do not want to elliminate error object from JSP.
Please help!
Thanks in advance -
When I tried to kick off PSConfig on WFE, I receive the following error:
Task upgradebootstrap has failed with an unknown exception
<o:p></o:p>
Exception: System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The
server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
I was able to test that I'm able to connect to Database from the WFE by creating a udl file.
Made sure that Named pipes and tcp/ip is enabled on the SQL server...
Any help would be greatly appreciated.
ThanksCreate an inbound rule in windows firewall to enable port 1433. Otherwise you will not be able to connect to SQL from SharePoint farm.
http://blogs.technet.com/b/wbaer/archive/2011/09/02/sharepoint-2010-and-windows-firewall-with-advanced-security.aspx
http://technet.microsoft.com/en-us/library/ff607733(v=office.15).aspx
Please mark the replies as answers if they help or unmark if not. -
Is it Possible to manage BP Master Data in all Currencies?
Hi,
I want to know that, how to manage BP Master Data in All Currencies like ( Dollar, Euro, INR )
Our Marketing Document shows all these Currencies when we punch it .
Plz reply me soon ................................................?
Thanks,
JyotasnaHi,
For the Multi-Currency Business Partner, all the transactions will be converted to Local Currency in whatever Foreign Currency these are entered in database.
The lead currency will be Local Currency.
You can check the same in the Demo database with already available BP which is in Multi Currency. The Aging Report will display the total outstanding in asterisk (****) for multi currency BP if BP Currency is selected.
Check out these things in the Demo.
Let us know if any more thing is unclear.
Kind Regards,
Jitin
SAP Business One Forum Team -
BC Implementations in Data Actions
Hi there,
I have a UIX 2.2.8, Struts, BC4J project. There are custom base classes for all the business objects. In data actions view objects and application modules appear as instances of WSObjectImpl. The method getImplObject usually returns the client implementation (e.g. an subclass of oracle.jbo.client.remote.ApplicationModuleImpl). However the project is deployed in local mode. So how do I get access to business components derived from the custom base classes and not only client objects?
Can someone help?
Regards,
JanHi,
Please check if cookings are enabled on your browser.
This error occurs when cookies are disabled in the browser. SharePoint assumes that cookies are enabled and doesn’t explicitly checks for it.
http://community.office365.com/en-us/f/154/t/168463.aspx
vThis error occurs when cookies are disabled in the browser. SharePoint assumes that cookies are enabled and doesn’t explicitly checks for it.
vThis error occurs when cookies are disabled in the browser. SharePoint assumes that cookies are enabled and doesn’t explicitly checks for it.
Please remember to click 'Mark as Answer' on the answer if it helps you
Maybe you are looking for
-
XML Publisher Report Output from OAF Page
Hi, I created a button in a OAF page, and called the XML publisher Report program on click of this button. The concurrent request was ran when check from View Requests. When I click on viewout, the pdf document was open with the option, open, save, c
-
Problem with Audio on HP Envy 6-1130sw (C6F62EA)
Hello everyone. I have a problem with audio on my ultrabook HP Envy 6. Sometimes when I try to play music there are no low tones and music plays really silent... And then when I restart PC problem dissapears and music plays fine... I thought there is
-
Couln't save a buffered image as BMP with java 1.4
Dear friends, I tried to save a buffered image as BMP with java 1.4. When I run the program ,it executes sucessfully, but no image wasn't created. When I tried the same code with java 1.5 got the right result. This is the code I have written. public
-
MultiThread for data acquisition (basic problem)
Hi there, I want to create a data acquisition VI that perform acquiring data in an independant thread, and when the data is ready, displaying it in a graph. In another word, one thread for acquisition and another one for UI events (button to start /
-
Hello! I have an Image within a Canvas. Both of them have width set to 100%: - the Canvas has that so that it will stretch as much as it's own containter allows it. - the Image has both width and height set to 100% so that images larger than the Canv