Constructor in object not invoked

Hi,
I'm loading an object collection via the following SQL and am fnding that the constructor for each instance of the object table is not invoked:
declare
tb_Msg_Batch tb_Msg := tb_Msg();
begin
select cast(multiset (
select ddq.Entry_No
,10
,ddq.Entry_Data
from Datadist_Queue_01 ddq
where ddq.Entry_No = 1
) as tb_Msg
into tb_Msg_Batch
from dual;
end;
The following is the decleration used for the above objects:
create or replace type ty_Msg as object
(Entry_No number(10)
,Msg_Code number(5)
,Data_Msg blob
,constructor function ty_Msg return self as result)
create or replace type body ty_Msg as
constructor function ty_Msg (self in out nocopy ty_Msg) return self as result as
begin
self.Msg_Code := -999;
return;
end;
end;
create type tb_Msg as table of ty_Msg
I thought a default constructor is always called, but when I view the data the MSG_CODE attribute has a value of 10 instead of -999, which is what it is assigned in the function.
Could somebody please advise as to why the constructor function is not invoked for each instance of TY_MSG when populating a collection of that type?
Thanks
Peter

public Void save_as()
Void should be "void" not "Void"...

Similar Messages

  • Unpublish KB Article giving Object Not Found

    Have a client trying to unpublish an article and its giving "Object not found." message. We can't unpublish OLD of the articles. Trace logs aren't
    giving much info either:
    [2015-02-18 13:00:38.214] Process: w3wp |Organization:9684c31e-e64f-46d6-bae5-f668a5c18f83 |Thread:   17 |Category: Exception |User: 7cd551e3-3102-4fb4-98b6-717c02105c87 |Level: Error |ReqId: 40d8fd3c-ccc5-4f8f-84c2-d61081940a93 | CrmException..ctor  ilOffset
    = 0x0
    at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException)  ilOffset = 0x0
    at CrmException..ctor(String message, Int32 errorCode)  ilOffset = 0x0
    at KbArticleService.UnPublish(BusinessEntity entity, ExecutionContext context)  ilOffset = 0x15F
    at KbArticleService.SetState(BusinessEntityMoniker moniker, Int32 newState, Int32 newStatusCode, ExecutionContext context)  ilOffset = 0xC8
    at RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)  ilOffset = 0xFFFFFFFF
    at RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)  ilOffset = 0x25
    at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)  ilOffset = 0x84
    at LogicalMethodInfo.Invoke(Object target, Object[] values)  ilOffset = 0x4F
    at InternalOperationPlugin.Execute(IServiceProvider serviceProvider)  ilOffset = 0x57
    at V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)  ilOffset = 0x58
    at VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)  ilOffset = 0x65
    at Pipeline.Execute(PipelineExecutionContext context)  ilOffset = 0x65
    at MessageProcessor.Execute(PipelineExecutionContext context)  ilOffset = 0x1C5
    at InternalMessageDispatcher.Execute(PipelineExecutionContext context)  ilOffset = 0xE4
    at ExternalMessageDispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode,
    Int32 secondaryObjectTypeCode, ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId, Version endpointVersion)
     ilOffset = 0x16E
    at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, UserAuth userAuth, Guid targetUserId, Boolean
    traceRequest, OrganizationContext context, Boolean returnResponse)  ilOffset = 0x16A
    at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)  ilOffset = 0x34
    at OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)  ilOffset = 0x24
    at InprocessServiceProxy.ExecuteCore(OrganizationRequest request)  ilOffset = 0x34
    at PlatformCommand.XrmExecuteInternal()  ilOffset = 0xF6
    at Article.Unpublish(String articleId)  ilOffset = 0x49
    at UnpublishDialogPage.ConfigureForm()  ilOffset = 0xDB
    at AppUIPage.OnPreRender(EventArgs e)  ilOffset = 0x13
    at Control.PreRenderRecursiveInternal()  ilOffset = 0x54
    at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x6D3
    at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x3C
    at Page.ProcessRequest()  ilOffset = 0x14
    at Page.ProcessRequest(HttpContext context)  ilOffset = 0x31
    at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()  ilOffset = 0x18D
    at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)  ilOffset = 0x15
    at ApplicationStepManager.ResumeSteps(Exception error)  ilOffset = 0x10A
    at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)  ilOffset = 0x5C
    at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)  ilOffset = 0x16A
    at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)  ilOffset = 0x4B
    >Crm Exception: Message: The required object does not exist., ErrorCode: -2147210235
    [2015-02-18 13:00:38.292] Process: w3wp |Organization:9684c31e-e64f-46d6-bae5-f668a5c18f83 |Thread:   17 |Category: Platform.Sdk |User: 7cd551e3-3102-4fb4-98b6-717c02105c87 |Level: Error |ReqId: 40d8fd3c-ccc5-4f8f-84c2-d61081940a93 | VersionedPluginProxyStepBase.Execute
     ilOffset = 0x65
    >Web Service Plug-in failed in SdkMessageProcessingStepId: {49CDBB1B-EA3E-DB11-86A7-000A3A5473E8}; EntityName: kbarticle; Stage: 30; MessageName: SetStateDynamicEntity; AssemblyName: Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel,
    Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; ClassName: Microsoft.Crm.Extensibility.InternalOperationPlugin; Exception: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values)
       at Microsoft.Crm.Extensibility.InternalOperationPlugin.Execute(IServiceProvider serviceProvider)
       at Microsoft.Crm.Extensibility.V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)
       at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
    Inner Exception: Microsoft.Crm.CrmException: The required object does not exist.
       at Microsoft.Crm.ObjectModel.KbArticleService.UnPublish(BusinessEntity entity, ExecutionContext context)
       at Microsoft.Crm.ObjectModel.KbArticleService.SetState(BusinessEntityMoniker moniker, Int32 newState, Int32 newStatusCode, ExecutionContext context)
    [2015-02-18 13:00:38.292] Process: w3wp |Organization:9684c31e-e64f-46d6-bae5-f668a5c18f83 |Thread:   17 |Category: Exception |User: 7cd551e3-3102-4fb4-98b6-717c02105c87 |Level: Error |ReqId: 40d8fd3c-ccc5-4f8f-84c2-d61081940a93 | CrmException..ctor  ilOffset
    = 0x0
    at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException)  ilOffset = 0x0
    at CrmException..ctor(String message, Exception innerException, Int32 errorCode)  ilOffset = 0x0
    at RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)  ilOffset = 0xFFFFFFFF
    at RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)  ilOffset = 0xF7
    at RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)  ilOffset = 0x1E8
    at Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)  ilOffset = 0xB1
    at Activator.CreateInstance(Type type, Object[] args)  ilOffset = 0x0
    at VersionedPluginProxyStepBase.WrapExceptionToThrow(CrmException exception)  ilOffset = 0xA5
    at VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)  ilOffset = 0x65
    at Pipeline.Execute(PipelineExecutionContext context)  ilOffset = 0x65
    at MessageProcessor.Execute(PipelineExecutionContext context)  ilOffset = 0x1C5
    at InternalMessageDispatcher.Execute(PipelineExecutionContext context)  ilOffset = 0xE4
    at ExternalMessageDispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode,
    Int32 secondaryObjectTypeCode, ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId, Version endpointVersion)
     ilOffset = 0x16E
    at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, UserAuth userAuth, Guid targetUserId, Boolean
    traceRequest, OrganizationContext context, Boolean returnResponse)  ilOffset = 0x16A
    at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)  ilOffset = 0x34
    at OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)  ilOffset = 0x24
    at InprocessServiceProxy.ExecuteCore(OrganizationRequest request)  ilOffset = 0x34
    at PlatformCommand.XrmExecuteInternal()  ilOffset = 0xF6
    at Article.Unpublish(String articleId)  ilOffset = 0x49
    at UnpublishDialogPage.ConfigureForm()  ilOffset = 0xDB
    at AppUIPage.OnPreRender(EventArgs e)  ilOffset = 0x13
    at Control.PreRenderRecursiveInternal()  ilOffset = 0x54
    at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x6D3
    at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x3C
    at Page.ProcessRequest()  ilOffset = 0x14
    at Page.ProcessRequest(HttpContext context)  ilOffset = 0x31
    at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()  ilOffset = 0x18D
    at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)  ilOffset = 0x15
    at ApplicationStepManager.ResumeSteps(Exception error)  ilOffset = 0x10A
    at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)  ilOffset = 0x5C
    at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)  ilOffset = 0x16A
    at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)  ilOffset = 0x4B
    >Crm Exception: Message: The required object does not exist., ErrorCode: -2147210235, InnerException: Microsoft.Crm.CrmException: The required object does not exist.
       at Microsoft.Crm.ObjectModel.KbArticleService.UnPublish(BusinessEntity entity, ExecutionContext context)
       at Microsoft.Crm.ObjectModel.KbArticleService.SetState(BusinessEntityMoniker moniker, Int32 newState, Int32 newStatusCode, ExecutionContext context)
    [2015-02-18 13:00:38.292] Process: w3wp |Organization:9684c31e-e64f-46d6-bae5-f668a5c18f83 |Thread:   17 |Category: Platform |User: 7cd551e3-3102-4fb4-98b6-717c02105c87 |Level: Error |ReqId: 40d8fd3c-ccc5-4f8f-84c2-d61081940a93 | MessageProcessor.Execute
     ilOffset = 0x1C5
    >MessageProcessor fail to process message 'SetStateDynamicEntity' for 'kbarticle'.
    [2015-02-18 13:00:38.292] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:   17 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 40d8fd3c-ccc5-4f8f-84c2-d61081940a93 | CrmException..ctor  ilOffset
    = 0x0
    at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException)  ilOffset = 0x0
    at CrmException..ctor(String message, Int32 errorCode)  ilOffset = 0x0
    at PlatformCommand.CreateCrmExceptionFromServiceFault(FaultException`1 fe)  ilOffset = 0x1B
    at PlatformCommand.XrmExecuteInternal()  ilOffset = 0xF6
    at Article.Unpublish(String articleId)  ilOffset = 0x49
    at UnpublishDialogPage.ConfigureForm()  ilOffset = 0xDB
    at AppUIPage.OnPreRender(EventArgs e)  ilOffset = 0x13
    at Control.PreRenderRecursiveInternal()  ilOffset = 0x54
    at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x6D3
    at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x3C
    at Page.ProcessRequest()  ilOffset = 0x14
    at Page.ProcessRequest(HttpContext context)  ilOffset = 0x31
    at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()  ilOffset = 0x18D
    at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)  ilOffset = 0x15
    at ApplicationStepManager.ResumeSteps(Exception error)  ilOffset = 0x10A
    at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)  ilOffset = 0x5C
    at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)  ilOffset = 0x16A
    at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)  ilOffset = 0x4B
    >Crm Exception: Message: The required object does not exist., ErrorCode: -2147210235
    [2015-02-18 13:00:38.308] Process: w3wp |Organization:9684c31e-e64f-46d6-bae5-f668a5c18f83 |Thread:   17 |Category: Application |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 40d8fd3c-ccc5-4f8f-84c2-d61081940a93 | ErrorInformation.LogError
     ilOffset = 0x17
    >MSCRM Error Report:
    Error: Exception of type 'System.Web.HttpUnhandledException' was thrown.
    Error Number: 0x80042C05
    Error Message: The required object does not exist.
    Error Details: The required object does not exist.
    Source File: Not available
    Line Number: Not available
    Request URL: http://sr-ens-085.tatenergosbyt.corp/CRM/_grid/cmds/dlg_unpublish.aspx?iId=%7bBFB9A522-A90D-E411-ABC0-080027E463F8%7d&iIndex=0&iObjType=127&iTotal=1
    Stack Trace Info: [CrmException: The required object does not exist.]
       at Microsoft.Crm.Dialogs.UnpublishDialogPage.ConfigureForm()
       at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e)
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    [HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown.]
       at System.Web.UI.Page.HandleError(Exception e)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest()
       at System.Web.UI.Page.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    [2015-02-18 13:00:38.308] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:   17 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 40d8fd3c-ccc5-4f8f-84c2-d61081940a93 | ExceptionConverter.ConvertToFault
     ilOffset = 0x57
    >UNEXPECTED: no fault?
    [2015-02-18 13:00:38.308] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:   17 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 40d8fd3c-ccc5-4f8f-84c2-d61081940a93 | ExceptionConverter.ConvertMessageAndErrorCode
     ilOffset = 0x23B
    >System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #89864F56: System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown.
    ---> Microsoft.Crm.CrmException: The required object does not exist.
    >   at Microsoft.Crm.Dialogs.UnpublishDialogPage.ConfigureForm()
    >   at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e)
    >   at System.Web.UI.Control.PreRenderRecursiveInternal()
    >   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    >   at System.Web.UI.Page.HandleError(Exception e)
    >   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    >   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    >   at System.Web.UI.Page.ProcessRequest()
    >   at System.Web.UI.Page.ProcessRequest(HttpContext context)
    >   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    >   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    Difficult to tell you without more information..
    Have you inserted some screenshots in your script (if not already present) to better debut? You know that during recording or after recording, you can manually add screenshots for example just before the given stop to be able to identify the real status of the application when the error occurs...
    Maybe you have forgotten to parameterize a value. What are you iterating on? A full business process or do you try to add lines?
    Sometimes, you can try to put a "activate" function just before the action using the //form:listOfValues.
    Can you paste here the portion of your script?
    JB

  • ODI not able to detect primary/foreign keys from XML- user lacks privilege or object not found

    Hi Guys,
    Im trying to load an xml file with two entities address and employee as below. The topology reverse engineering everything works fine. Im even able to view the xml data  in ODI,  but when i try to load the data from these two entities joining by the schema primary keys and foreign keys which odi created on reverse engineering process for xml, im getting the below error.  Im able to load data from one entity, error only occurs when i use the join odi creates internally to identify the xml components employee and address
    XML File:
    <?xml version="1.0" encoding="UTF-8" ?>
    <EMP>
    <Empsch>
    <Employee>
    <EmployeeID>12345</EmployeeID>
    <Initials>t</Initials>
    <LastName>john</LastName>
    <FirstName>doe</FirstName>
    </Employee>
    <Address>
    <WorkPhone>12345</WorkPhone>
    <WorkAddress>Test 234</WorkAddress>
    </Address>
    </Empsch>
    </EMP>
    Topology:  jdbc:snps:xml?f=C:/Temp/RR/Empsch.xml&s=Empsch&re=EMP&dod=true&nobu=false
    Error Message:
    -5501 : 42501 : java.sql.SQLException: user lacks privilege or object not found: EMPSCH.EMPSCHPK
    java.sql.SQLException: user lacks privilege or object not found: EMPSCH.EMPSCHPK
        at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
        at org.hsqldb.jdbc.JDBCPreparedStatement.<init>(Unknown Source)
        at org.hsqldb.jdbc.JDBCConnection.prepareStatement(Unknown Source)
        at com.sunopsis.jdbc.driver.xml.SnpsXmlConnection.prepareStatement(SnpsXmlConnection.java:1232)
        at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at oracle.odi.core.datasource.dwgobject.support.OnConnectOnDisconnectDataSourceAdapter$OnDisconnectCommandExecutionHandler.invoke(OnConnectOnDisconnectDataSourceAdapter.java:200)
        at $Proxy2.prepareStatement(Unknown Source)
        at oracle.odi.runtime.agent.execution.sql.SQLCommand.doInitializeStatement(SQLCommand.java:83)
        at oracle.odi.runtime.agent.execution.sql.SQLCommand.getStatement(SQLCommand.java:117)
        at oracle.odi.runtime.agent.execution.sql.SQLCommand.getStatement(SQLCommand.java:111)
        at oracle.odi.runtime.agent.execution.sql.SQLDataProvider.readData(SQLDataProvider.java:81)
        at oracle.odi.runtime.agent.execution.sql.SQLDataProvider.readData(SQLDataProvider.java:1)
        at oracle.odi.runtime.agent.execution.DataMovementTaskExecutionHandler.handleTask(DataMovementTaskExecutionHandler.java:70)
        at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
        at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
        at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:577)
        at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:468)
        at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)
        at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
        at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
        at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
        at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
        at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
        at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
        at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
        at java.lang.Thread.run(Thread.java:662)
    Caused by: org.hsqldb.HsqlException: user lacks privilege or object not found: EMPSCH.EMPSCHPK
        at org.hsqldb.error.Error.error(Unknown Source)
        at org.hsqldb.ExpressionColumn.checkColumnsResolved(Unknown Source)
        at org.hsqldb.QueryExpression.resolve(Unknown Source)
        at org.hsqldb.ParserDQL.compileCursorSpecification(Unknown Source)
        at org.hsqldb.ParserCommand.compilePart(Unknown Source)
        at org.hsqldb.ParserCommand.compileStatement(Unknown Source)
        at org.hsqldb.Session.compileStatement(Unknown Source)
        at org.hsqldb.StatementManager.compile(Unknown Source)
        at org.hsqldb.Session.execute(Unknown Source)
        ... 27 more
    Please advice
    Thanks
    Revanth

    Thats obvious from the xml file contents you have given here. In this xml file You have four complex type. Two of them are employee and address. However the employee doesnot have any relation with address as you have not added the relationship. Thats why its failing. Its not the fault of ODI.
    Also I would suggest not to use auto generated dtd by ODI as you might face problem in future. For example the address type of XML has 8 attributes and 4 of them are not mandatory. That means each of your xml file may have attributes between 4 to 8.  This is where ODI auto generated DTD fails.
    XML Schema complexType Element
    Thanks
    Bhabani

  • Error : OBJECT NOT SENT

    Hi Experts,
    I am new to ABAP..
    I am facing one dump with the message "OBJECT NOT SENT"  working with User Exit only in Production Server.
    Kindly help.

    Hi ..
    Here it is...
    ABAP runtime errors    RAISE_EXCEPTION
           Occurred on     07.02.2007 at 10:55:17
    >> Short dump has not been completely stored. It is too big.
    Exception condition "OBJECT_NOT_SENT" raised.
    What happened?
    The current ABAP/4 program encountered an unexpected
    situation.
    What can you do?
    Note the actions and input that caused the error.
    Inform your SAP system administrator.
    You can print out this message by choosing "Print". Transaction ST22
    allows you to display and manage termination messages, including keeping
    them beyond their normal deletion date.
    Error analysis
    A RAISE statement in the program "SAPLSOA2 " raised the exception
    condition "OBJECT_NOT_SENT".
    Since the exception was not intercepted by a superior program
    in the hierarchy, processing was terminated.
    Short description of exception condition:
    Object was not sent
    For detailed documentation of the exception condition, use
    Transaction SE37 (Function Library). You can take the called
    function module from the display of active calls.
    How to correct the error
    If the error occurred in a non-modified SAP program, you may be
    able to find a solution in the SAP note system.
    If you have access to the note system yourself, use the following
    search criteria:
    "RAISE_EXCEPTION"
    "SAPLSOA2 " or "LSOA2U01 "
    "SO_OBJECT_SEND"
    or
    "SAPLSOA2 " "OBJECT_NOT_SENT"
    or
    "SAPMV45A " "OBJECT_NOT_SENT"
    If you cannot solve the problem yourself, please send the
    following documents to SAP:
    1. A hard copy print describing the problem.
       To obtain this, select the "Print" function on the current screen.
    2. A suitable hardcopy prinout of the system log.
       To obtain this, call the system log with Transaction SM21
       and select the "Print" function to print out the relevant
       part.
    3. If the programs are your own programs or modified SAP programs,
       supply the source code.
       To do this, you can either use the "PRINT" command in the editor or
       print the programs using the report RSINCL00.
    4. Details regarding the conditions under which the error occurred
       or which actions and input led to the error.
    System environment
    SAP Release.............. "46C"
    Application server....... "secerpa2"
    Network address.......... "10.20.1.151"
    Operating system......... "Windows NT"
    Release.................. "5.0"
    Hardware type............ "3x Intel 80686"
    Database server.......... "SECERPP1"
    Database type............ "ORACLE"
    Database name............ "PK1"
    Database owner........... "SAPR3"
    Character set............ "English_United State"
    SAP kernel............... "46D"
    Created on............... "Jul 25 2006 15:00:57"
    Created in............... "NT 4.0 1381 Service Pack 5 x86 MS VC++ 12.00"
    Database version......... "OCI_805_SHARE__OCI_7_API "
    Patch level.............. "2265"
    Patch text............... " "
    Supported environment....
    Database................. "ORACLE 8.0.5.., ORACLE 8.0.6.., ORACLE
    8.1.6.., ORACLE 8.1.7.., ORACLE 9.2.0.., ORACLE 10.2.0.."
    SAP database version..... "46D"
    Operating system......... "Windows NT 4.0, Windows NT 5.0, Windows NT 5.1,
    Windows NT 5.2, , System build information:,
    , LCHN : 844749"
    User, transaction...
    Client.............. 200
    User................ "SG005"
    Language key........ "E"
    Transaction......... "VA22 "
    Program............. "SAPLSOA2 "
    Screen.............. "SAPMV45A 4001"
    Screen line......... 61
    Information on where termination occurred
    The termination occurred in the ABAP/4 program "SAPLSOA2 " in
    "SO_OBJECT_SEND".
    The main program was "SAPMV45A ".
    The termination occurred in line 1264
    of the source code of program "LSOA2U01 " (when calling the editor 12640).
    Source code extract
    012340     PERFORM SOOD_UPDATE(SAPFSSO0) USING OBJECT_ID
    012350                                CHANGING OBJECT_HD
    012360                                         RCODE.
    012370
    012380
    012390
    012400
    012410   ************************************************************************
    012420   *  Only now it is possible to invoke some sap object with the method
    012430   * "RECEIVE" since the office object SOFM exist on the data base only
    012440   * after the SOFM_INSARR abaove (at least for sure)
    012450   ************************************************************************
    012460     IF OBJECT_RECEIVER_SIZE > 0.
    012470       PERFORM INVOKE_OBJECTS TABLES OBJECT_TABLE
    012480                              USING  OFFICE_OBJECT.
    012490   *   * for object which could not receive this document set status
    012500       PERFORM SET_OBJECT_FAILED TABLES OBJECT_TABLE
    012510                                        RECEIVER_TABLE.
    012520     ENDIF.
    012530   *----
    012540   * 14A.fill receiver list for export                                    *
    012550   *----
    012560   * move all receiver who are noz in receiver table because of an error
    012570   * into receiver table for retransfer
    012580     PERFORM PREPARE_RECLIST_FOR_RETURN TABLES RECEIVERS
    012590                                               RECEIVER_TABLE
    012600                                        USING  SENT_TO_ALL
    012610                                               F_RESUB_SENT.
    012620     IF F_OBJECT_NOT_SEND = ON AND
    012630        F_RESUB_SENT = OFF.
          RAISE OBJECT_NOT_SENT.
    012650     ENDIF.
    012660   *----
    012670   * only if realy at least one recipient go the object make the binding  *
    012680   * in case an binding could not be done the corresponding won't appear  *
    012690   * anymore in the table APPLICATION_OBJECT                              *
    012700   * binding will be done only for new documents
    012710   * 40C: If not object is given it will be look whether some obejcts are
    012720   * published by application
    012730   *----
    012740   *  IF SIZE-APPL_OBJECT LE 0.                               "note 313853
    012750   *    PERFORM LOOK_FOR_PUBLISHED_OBJECTS TABLES APPLICATION_OBJECT
    012760   *                                       USING  SIZE-APPL_OBJECT.
    012770   *  ENDIF.
    012780     IF SIZE-APPL_OBJECT GT 0              AND
    012790        ( SEND_PROC = NEW_OBJ_NO_FILE OR           " new document
    012800          SEND_PROC = NEW_OBJ_WI_FILE    ).
    012810       PERFORM BIND_OBJECTS TABLES APPLICATION_OBJECT
    012820                            USING  OFFICE_OBJECT_KEY
    012830                                   ALL_BINDING_DONE.
    Contents of system fields
    SY field contents..................... SY field contents.....................
    SY-SUBRC 0                             SY-INDEX 1
    SY-TABIX 1                             SY-DBCNT 1
    SY-FDPOS 2550                          SY-LSIND 0
    SY-PAGNO 0                             SY-LINNO 1
    SY-COLNO 1
    Chosen variables
    Name.......................... Contents.1........2........3....+....4
    OBJECT_TABLE
                                   2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +  40
                                   2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +  80
                                   2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... + 120                                ##        ####
                                   22222222
                                   0000000
    OFFICE_OBJECT
                                   2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +  40
                                   22222222222
                                   00000000000
    ERO2                           ERO2
                                   4543222222222222222222222222222222222222
                                   52F2000000000000000000000000000000000000
    ... +  40
                                   222222222222222222222222222222
                                   000000000000000000000000000000
    SYST                           ########################d###############
                                   0000000000000000000000006000000000000000
                                   1000000010001000000010004000000000000000
    ... +  40                      ####ö     ##############################4###
                                   0000F00000000000000000000000000000003000
                                   1000690010000000100000000000000000004D00
    ... +  80                      ################ÿ#######################
                                   0000000000000000F00000000000000000000000
                                   0000000000000000F00000000000000000000000
    ... + 120                      ########################################
                                   00000000
                                   0000000
    OBJECT_TABLE[]                 Table[initial]
                                   0000FFFD
                                   0000FFFF
    RECEIVER_TABLE[]               ############################ ###########
                                   0000000000000000000000000000210000000000
                                   00000000000000000000000041300C0000001000
    ... +  40                      ############d###ÿÿÿÿ4########### â÷I####
                                   0000000000006000FFFF3000000000002EF40000
                                   4000400040004000FFFF4D007000430002790000
    ... +  80                      ############################Ì!##
                                   0000000000000000000000000000C200
                                   0000000000000000000000000000C100
    RECEIVER_TABLE                                   SR007
                                   2222222222222222225533322222222222222222
                                   0000000000000000003200700000000000000000
    ... +  40
                                   2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +  80
                                   2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... + 120
                                   22222222
                                   0000000
    EWSP                           EWSP
                                   4555222222222222222222222222222222222222
                                   5730000000000000000000000000000000000000
    ... +  40
                                   222222222222222222222222222222
                                   000000000000000000000000000000
    RSJOBINFO                                                      00000000
                                   2222222222222222222222222222222233333333
                                   0000000000000000000000000000000000000000
    ... +  40                      000000
                                   3333332222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +  80                      ####
                                   0000
                                   0000
    RECEIVERS[]                    #############################2##########
                                   0000000000000000000000000000930000000000
                                   0000000000000000000000004000021000001000
    ... +  40                      ################ÿÿÿÿ´###########°8÷I####
                                   0000000000000000FFFFB00000000000B3F40000
                                   1000100010001000FFFF4E007000430008790000
    ... +  80                      ############################²!##
                                   0000000000000000000000000000B200
                                   00000000000000000000000000002100
    RECEIVERS                        00000000#000000
                                   2233333333033333322222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +  40
                                   2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +  80                         00000000000000B   SR007
                                   2223333333333333342225533322222222222222
                                   0000000000000000020003200700000000000000
    ... + 120
                                   22222222
                                   0000000
    SENT_TO_ALL
                                   2
                                   0
    F_RESUB_SENT
                                   2
                                   0
    GF_ACC                         2
                                   3
                                   2
    F_OBJECT_NOT_SEND              X
                                   5
                                   8
    ON                             X
                                   5
                                   8
    SPACE
                                   2
                                   0
    OFF
                                   2
                                   0
    MTRP                           MRP
                                   4552222222222222222222222222222222222222
                                   D200000000000000000000000000000000000000
    ... +  40
                                   222222222222222222222222222222
                                   000000000000000000000000000000
    MRKX                           MRKX
                                   4545222222222222222222222222222222222222
                                   D2B8000000000000000000000000000000000000
    ... +  40
                                   222222222222222222222222222222
                                   000000000000000000000000000000
    SIZE-APPL_OBJECT               1
                                   0000
                                   1000
    SEND_PROC                      A
                                   4
                                   1
    NEW_OBJ_NO_FILE                A
                                   4
                                   1
    NEW_OBJ_WI_FILE                B
                                   4
                                   2
    SCREEN                         MESSTXT8
                                   4455555322222222222222222222222222222222
                                   D533484800000000000000000000000000000000
    ... +  40
                                   2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +  80
                                   2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... + 120                                              00001200000#####
                                   22222222
                                   0000000
    ATTA                           ATTA
                                   4554222222222222222222222222222222222222
                                   1441000000000000000000000000000000000000
    ... +  40
                                   222222222222222222222222222222
                                   000000000000000000000000000000
    Active calls / events
    No.... Type........ Name..........................
           Programm
           Include                                  Line
         1 FUNCTION     SO_OBJECT_SEND
           SAPLSOA2
           LSOA2U01                                  1264
         2 FORM         USEREXIT_SAVE_DOCUMENT
           SAPMV45A
           MV45AFZZ                                  1171
         3 FORM         BELEG_SICHERN
           SAPMV45A
           MV45AF0B_BELEG_SICHERN                    1115
         4 FORM         FCODE_SICH
           SAPMV45A
           MV45AF0F_FCODE_SICH                         18
         5 FORM         FCODE_BEARBEITEN
           SAPLV00F
           LV00FF0F                                    91
         6 FUNCTION     SCREEN_SEQUENCE_CONTROL
           SAPLV00F
           LV00FU02                                    58
         7 FORM         FCODE_BEARBEITEN
           SAPMV45A
           MV45AF0F_FCODE_BEARBEITEN                  109
         8 MODULE (PAI) FCODE_BEARBEITEN
           SAPMV45A
           MV45AI0F_FCODE_BEARBEITEN                   10
    Internal notes
    The termination occurred in the function "ab_jfune" of the SAP
    Basis System, specifically in line 1403 of the module
    "//bas/46D/src/krn/runt/abfunc.c#18".
    The internal operation just processed is "FUNE".
    The internal session was started at 20070207104801.
    Active calls in SAP kernel
    SAP (R) - R/3(TM) Callstack, Version 1.0
    Copyright (C) SAP AG. All rights reserved.
    Callstack without Exception:
    App       : disp+work.EXE (pid=3424)
    When      : 2/7/2007 10:55:18.262
    Threads   : 2
    Computer Name       : SECERPA2
    User Name           : sapservicePK1
    Number of Processors: 3
    Processor Type: x86 Family 6 Model 10 Stepping 1
    Windows Version     : 5.0 Current Build: 2195
    Stack Dump for Thread Id 510
    eax=00000000 ebx=03158da0 ecx=00400000 edx=00000000 esi=77f94086 edi=00000840
    eip=77f94091 esp=03158d84 ebp=03158da8 iopl=0         nv up ei ng nz ac po cy
    cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00000297
    function :
             77f87106 58               pop     eax
             77f87107 e9f3800000       jmp     77f8f1ff
             77f8710c 8bc8             mov     ecx,eax
             77f8710e 81e1ff000000     and     ecx,0xff
             77f87114 0f84b3c40000     je      77f935cd
             77f8711a 0fbe8128e0f877   movsx  eax,byte ptr ds:88099d34=0f
             77f87121 e9a7b0ffff       jmp     77f821cd
             77f87126 b848000000       mov     eax,0x48
             77f8712b 8d542404         lea     edx,[esp+0x4]          ss:4b59ec67=????????
             77f8712f cd2e             int     2e
             77f87131 c22800           ret     0x28
             77f87134 ff742410         push    dword ptr    ss:4b59ec67=????????
             77f87138 6a00             push    0x0
             77f8713a 6a00             push    0x0
             77f8713c ff742418         push    dword ptr    ss:4b59ec67=????????
             77f87140 ff742418         push    dword ptr    ss:4b59ec67=????????
             77f87144 ff742418         push    dword ptr    ss:4b59ec67=????????
             77f87148 e8b8800000       call    77f8f205
             77f8714d c21000           ret     0x10
             77f87150 55               push    ebp
             77f87151 8bec             mov     ebp,esp
             77f87153 51               push    ecx
    FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
    053ffcb0 00c310ac 00000a30 00000000 00000007 03325ae0 ntdll!
    List of ABAP programs affected
    Type
    Program
    Gen. date  time
    LoadSize
    Prg
    SAPMV45A
    20.10.2005 17:39:06
    1901568
    Prg
    SAPMSSYD
    14.08.2000 15:39:21
    16384
    Prg
    SAPFSYSCALLS
    21.12.1999 19:32:31
    7168
    Prg
    SAPFV45C
    01.02.2006 18:21:05
    549888
    Prg
    SAPFV45K
    12.12.2004 11:00:10
    623616
    Prg
    SAPFV45E
    12.12.2004 11:00:10
    732160
    Prg
    SAPFV45P
    12.12.2004 11:00:10
    1343488
    Prg
    SAPFV45S
    12.12.2004 11:00:10
    765952
    Prg
    SAPLAIEV
    26.06.2002 23:34:53
    14336
    Prg
    CL_OS_TRANSACTION_END_NOTIFIER
    20.06.2004 17:53:14
    8192
    Prg
    SAPLSYST
    26.06.2002 23:13:17
    38912
    Prg
    SAPLSBDC
    26.06.2002 23:38:38
    66560
    Prg
    SAPLNDAC
    14.10.1999 23:32:54
    7168
    Prg
    SAPLBUOP
    12.12.2004 10:53:50
    69632
    Prg
    SAPLITSR
    20.06.2004 18:07:30
    87040
    Typ
    TPS01
    20.02.1998 09:19:57
    2048
    Prg
    SAPLASTAT_TRIG
    01.04.2003 19:09:20
    12288
    Typ
    T180
    20.02.1998 09:17:43
    2048
    Prg
    SAPLV00F
    13.12.2004 10:28:00
    68608
    Typ
    T185V
    10.11.1999 17:45:26
    4096
    Prg
    SAPLV86E
    12.12.2004 10:57:15
    329728
    Prg
    SAPLVFSP
    11.12.2004 16:23:47
    251904
    Prg
    SAPLDLOG
    04.01.2000 19:06:44
    7168
    Prg
    SAPLVTXC
    26.06.2002 23:35:28
    24576
    Prg
    SAPLV45T
    12.12.2004 11:55:08
    137216
    Typ
    STXDRNAME
    26.02.1999 14:48:42
    2048
    Prg
    SAPLSTXD
    20.06.2004 17:53:32
    407552
    Prg
    SAPCNVE
    04.01.2000 19:06:37
    7168
    Prg
    SAPLLANG
    04.01.2000 19:06:49
    9216
    Prg
    SAPLV01Z
    12.12.2004 10:59:08
    205824
    Prg
    SAPLCLFM
    12.12.2004 10:58:14
    677888
    Prg
    SAPLCUOB
    11.12.2004 15:53:45
    34816
    Prg
    SAPLCLSE
    11.12.2004 16:43:02
    177152
    Prg
    SAPLCTMS
    12.12.2004 10:58:25
    940032
    Prg
    SAPLCTCV
    12.12.2004 10:58:25
    192512
    Prg
    SAPLCTCF
    01.04.2003 20:49:26
    24576
    Prg
    SAPLV01P
    12.12.2004 10:57:28
    163840
    Prg
    SAPFV45L
    12.12.2004 11:00:10
    450560
    Prg
    SAPLV45A
    12.12.2004 11:00:10
    871424
    Typ
    TPAER
    15.04.1998 00:15:36
    2048
    Typ
    VBMUE
    12.04.1999 16:17:03
    1024
    Prg
    SAPLSUSE
    20.06.2004 17:33:55
    44032
    Typ
    TCDCOUPLES
    10.04.2002 10:24:49
    2048
    Prg
    SAPLJ1AZ
    11.12.2004 16:44:41
    29696
    Typ
    TWPA
    03.05.1999 19:52:52
    5120
    Prg
    SAPLVEHS
    12.12.2004 11:00:10
    105472
    Prg
    SAPLPSCONV
    26.06.2002 23:57:31
    11264
    Prg
    SAPLSUNI
    20.06.2004 17:33:13
    138240
    Typ
    TFDIR
    29.07.1998 19:49:08
    2048
    Prg
    SAPLCJPN
    12.12.2004 10:58:11
    310272
    Prg
    SAPLSCNT
    26.06.2002 23:35:28
    28672
    Prg
    SAPLSVSM
    26.06.2002 23:35:28
    25600
    Prg
    SAPLSGUI
    26.06.2002 23:35:28
    33792
    Prg
    SAPLSTTM
    26.06.2002 23:38:39
    84992
    Prg
    CL_DATAPROVIDER===============
    26.06.2002 23:35:25
    51200
    Typ
    OBJ_RECORD
    14.02.1998 08:30:43
    2048
    Prg
    SAPLSTUP
    20.06.2004 17:52:24
    95232
    Prg
    SAPLCNDP
    26.06.2002 23:35:27
    181248
    Prg
    SAPFGUICNTL
    01.04.2003 18:42:31
    20480
    Prg
    SAPLOLEA
    26.06.2002 23:33:43
    81920
    Prg
    SAPLSFES
    20.06.2004 17:33:13
    141312
    Prg
    SAPLGRFC
    26.06.2002 23:33:43
    16384
    Prg
    SAPSHDTV
    01.04.2003 19:09:39
    36864
    Typ
    SHDSTU
    14.12.1998 23:15:34
    1024
    Typ
    SHDSTCIU
    14.12.1998 23:15:34
    1024
    Prg
    CL_GUI_PROPS_CONSUMER=========
    01.04.2003 18:26:40
    26624
    Prg
    CL_DYNAMIC_GUI_EXTENSIONS=====
    11.02.2000 14:36:06
    55296
    Prg
    CL_GUI_DATAMANAGER============
    01.04.2003 18:43:20
    82944
    Typ
    VBAKKOM
    10.04.2002 09:50:02
    22528
    Prg
    /1BCDWBEN/SAPLVEN0000
    01.04.2003 20:55:35
    145408
    Prg
    SAPLSENA
    04.01.2000 19:06:53
    28672
    Prg
    SAPLV45K
    12.12.2004 11:00:10
    110592
    Prg
    SAPLV45I
    12.12.2004 11:00:17
    476160
    Typ
    VBAK
    23.11.2002 15:53:28
    15360
    Prg
    SAPLV21F
    12.12.2004 11:00:10
    142336
    Typ
    TVAK
    26.03.1999 15:09:05
    13312
    Typ
    TVAKT
    14.02.1998 14:38:43
    2048
    Typ
    TVKO
    06.05.1998 02:22:47
    4096
    Prg
    SAPLSZA0
    05.01.2007 15:17:56
    2089984
    Typ
    TSAD3T
    14.02.1998 17:01:10
    2048
    Typ
    ADCNTRYQU
    04.01.2000 18:08:16
    1024
    Typ
    ADRSTATUS
    29.01.1997 19:04:23
    1024
    Typ
    ADRC
    10.03.1999 18:47:25
    11264
    Typ
    ADRCT
    28.08.1997 08:35:27
    2048
    Typ
    ADRG
    03.07.1996 22:44:47
    1024
    Prg
    SAPLSZAD
    05.01.2007 15:17:50
    23552
    Prg
    SAPLSADR
    20.06.2004 17:53:59
    203776
    Typ
    T005
    14.10.1999 22:02:32
    7168
    Typ
    T001
    12.03.1999 15:15:31
    9216
    Typ
    TVTW
    27.05.1992 18:19:33
    1024
    Typ
    TSPA
    10.06.1992 12:18:00
    1024
    Typ
    TVBUR
    25.07.1996 16:33:30
    2048
    Typ
    TVKGR
    14.07.1993 02:32:49
    1024
    Typ
    TVTA
    03.09.1997 03:28:25
    3072
    Typ
    VBKD
    08.04.2002 15:08:30
    10240
    Prg
    SAPLV05I
    12.12.2004 10:57:14
    486400
    Prg
    SAPLSZA13
    26.06.2002 23:39:42
    12288
    Prg
    SAPLV05E
    12.12.2004 10:57:15
    405504
    Typ
    TPAR
    27.08.1994 21:59:27
    2048
    Prg
    SAPLV08D
    11.12.2004 15:57:13
    20480
    Typ
    KNA1
    03.04.2003 18:05:27
    16384
    Prg
    SAPLV09D
    12.12.2004 10:57:17
    168960
    Typ
    ADR2
    25.01.1999 13:08:51
    3072
    Typ
    ADRT
    14.02.1998 05:38:23
    2048
    Prg
    SAPLSZA8
    20.06.2004 17:34:25
    73728
    Typ
    VBADR
    11.12.2004 15:51:24
    5120
    Prg
    SAPLVS01
    03.04.2003 18:05:31
    179200
    Typ
    TPAKD
    26.10.1994 17:32:29
    1024
    Prg
    SAPLXV09
    04.01.2000 19:06:57
    13312
    Prg
    SAPLWY14
    11.12.2004 15:57:26
    23552
    Typ
    KNVK
    01.04.1998 02:08:10
    9216
    Typ
    ADRP
    14.04.1998 11:18:32
    6144
    Typ
    ADRGP
    03.07.1996 22:44:47
    1024
    Typ
    ADCP
    23.04.1998 14:45:51
    2048
    Prg
    SAPLHRMR
    16.08.2000 17:00:24
    26624
    Prg
    SAPLHRAC
    08.04.2002 15:01:41
    55296
    Prg
    SAPLSXCH
    20.06.2004 17:53:46
    80896
    Typ
    V_EXT_ACT
    14.10.1999 22:16:55
    2048
    Typ
    ACT_IMP
    25.01.1999 12:55:20
    1024
    Prg
    CL_HRPAD00AUTH_CHECK_STD======
    16.08.2000 17:03:23
    111616
    Typ
    P0001
    16.08.2000 17:00:14
    6144
    Typ
    T77S0
    08.03.1992 17:36:54
    1024
    Prg
    SAPLHRIPA02CENTRAL_PERSON
    09.12.1999 20:12:54
    25600
    Typ
    PA0105
    03.09.1997 03:22:10
    4096
    Prg
    SAPLHRPAPAXX_T777D_READ
    12.04.1999 17:50:35
    15360
    Typ
    T777D
    25.03.1999 15:43:54
    5120
    Prg
    SAPLSEQ0
    20.06.2004 17:33:45
    87040
    Typ
    PS0001
    13.09.1996 17:21:13
    4096
    Prg
    SAPLSDIF
    20.06.2004 17:11:50
    256000
    Prg
    SAPLSDNT
    01.04.2003 18:57:26
    188416
    Typ
    T522T
    28.08.1997 09:05:45
    2048
    Typ
    T500P
    03.09.1997 03:24:54
    3072
    Prg
    SAPLHRPAPAXX_T582S_READ
    12.04.1999 17:50:35
    10240
    Typ
    T582S
    14.02.1998 11:43:07
    2048
    Prg
    SAPLVADR
    11.12.2004 16:45:16
    67584
    Prg
    SAPLV09A
    12.12.2004 10:59:08
    493568
    Prg
    SAPLV46B
    12.12.2004 11:00:10
    67584
    Prg
    SAPLSWUG
    20.06.2004 17:52:24
    265216
    Typ
    SWOTOBJID
    04.05.1995 15:20:52
    2048
    Typ
    SWHACTOR
    04.04.1995 16:18:07
    1024
    Prg
    CL_GOS_MANAGER================
    26.06.2002 23:35:25
    24576
    Prg
    CL_GOS_VIEW_MANAGER===========
    26.06.2002 23:35:25
    29696
    Typ
    SGOS_MVOBJ
    01.12.1999 08:16:05
    2048
    Prg
    SAPLSUU1
    20.06.2004 17:53:44
    181248
    Typ
    USR02
    26.06.2002 23:13:21
    5120
    Typ
    USREFUS
    01.04.2003 18:41:15
    1024
    Typ
    BORIDENT
    28.08.1997 08:38:50
    1024
    Prg
    CL_GOS_TOOLBOX_MODEL==========
    20.06.2004 17:53:55
    39936
    Typ
    SGOS_MODL
    08.02.2000 16:42:30
    3072
    Prg
    SAPLBDLS
    14.08.2000 15:20:53
    13312
    Typ
    T000
    11.09.1997 10:17:18
    3072
    Prg
    CL_GOS_PUBLICATION============
    26.06.2002 23:35:25
    24576
    Prg
    CL_GUI_OBJECT=================
    26.06.2002 23:35:25
    1024
    Prg
    CL_GUI_CFW====================
    01.04.2003 19:10:31
    196608
    Typ
    TOLE
    29.07.1998 19:56:01
    2048
    Prg
    SAPLSGOSHIST
    26.06.2002 23:40:40
    56320
    Prg
    SAPFSGOS
    26.06.2002 23:40:32
    13312
    Typ
    SGOSHIST
    14.10.1999 22:09:01
    2048
    Prg
    SAPLURFC
    04.01.2000 19:08:13
    14336
    Prg
    CL_GOS_STARTER================
    26.06.2002 23:35:25
    21504
    Prg
    CL_GUI_CONTROL================
    26.06.2002 23:40:31
    117760
    Prg
    CL_GUI_TOOLBAR================
    26.06.2002 23:35:25
    72704
    Prg
    CL_GUI_GOS_CONTAINER==========
    26.06.2002 23:35:25
    38912
    Typ
    CFW_LINK
    01.12.1999 12:16:48
    2048
    Prg
    CL_GUI_CONTAINER==============
    26.06.2002 23:35:25
    58368
    Prg
    SAPLCNTH
    26.06.2002 23:40:20
    26624
    Prg
    SAPLSCONTROLINFO
    04.01.2000 19:06:52
    13312
    Prg
    SAPLSCONTROLSTATUSCHECK
    04.01.2000 19:06:52
    10240
    Typ
    USR05
    09.07.1997 23:46:52
    1024
    Typ
    CNTLWARN
    25.01.1999 13:09:44
    2048
    Prg
    SAPLICON
    14.08.2000 15:39:37
    25600
    Prg
    %_CICON
    14.08.2000 15:39:36
    55296
    Typ
    KUAGV
    01.03.1999 13:28:45
    9216
    Typ
    KNVV
    30.11.1999 10:18:28
    9216
    Typ
    KUPAV
    19.02.2001 12:29:12
    7168
    Prg
    SAPLSUSM
    01.04.2003 18:26:37
    35840
    Typ
    USR21
    10.03.1999 18:32:06
    2048
    Prg
    SAPLSUGS
    04.01.2000 19:06:54
    15360
    Prg
    SAPLSUG2
    04.01.2000 19:06:54
    37888
    Typ
    CVERS
    26.04.1999 17:21:32
    2048
    Typ
    SVERS
    30.07.1992 18:39:23
    1024
    Typ
    UVERS
    16.07.1997 14:46:33
    3072
    Typ
    V_ADDR_USR
    27.08.1999 18:32:38
    15360
    Typ
    TSADCORR
    20.06.2004 17:32:36
    1024
    Typ
    T005T
    14.02.1998 10:26:48
    2048
    Typ
    TSAD3
    16.07.1997 14:46:19
    2048
    Prg
    CL_EXITHANDLER================
    20.06.2004 17:33:43
    13312
    Prg
    CL_ABAP_TYPEDESCR=============
    04.01.2000 19:06:00
    17408
    Prg
    CL_ABAP_ELEMDESCR=============
    04.01.2000 19:06:00
    13312
    Prg
    CL_ABAP_DATADESCR=============
    04.01.2000 19:06:00
    11264
    Prg
    CL_ABAP_REFDESCR==============
    04.01.2000 19:06:00
    14336
    Prg
    CL_ABAP_STRUCTDESCR===========
    04.01.2000 19:06:00
    16384
    Prg
    CL_ABAP_COMPLEXDESCR==========
    04.01.2000 19:06:00
    11264
    Prg
    CL_ABAP_TABLEDESCR============
    04.01.2000 19:06:00
    16384
    Prg
    CL_ABAP_CLASSDESCR============
    04.01.2000 19:06:00
    23552
    Prg
    CL_ABAP_OBJECTDESCR===========
    04.01.2000 19:06:00
    28672
    Prg
    CL_ABAP_INTFDESCR=============
    04.01.2000 19:06:00
    21504
    Prg
    IF_EX_ADDR_PRINTFORM_SHORT====
    01.04.2003 18:43:42
    7168
    Typ
    SXS_INTER
    30.11.1998 15:55:16
    1024
    Prg
    SAPLSEXV
    20.06.2004 17:11:44
    157696
    Prg
    CL_EX_ADDR_PRINTFORM_SHORT====
    01.04.2003 18:43:42
    15360
    Prg
    CL_EXIT_MASTER================
    01.02.2000 09:29:10
    10240
    Typ
    V_EXT_IMP
    14.10.1999 22:16:55
    2048
    Prg
    SAPLSCP5
    20.06.2004 17:11:41
    23552
    Typ
    T683V
    24.02.1999 03:31:49
    2048
    Typ
    KUWEV
    01.12.1999 15:13:15
    11264
    Typ
    KURGV
    23.04.1998 14:51:01
    7168
    Typ
    KNVA
    10.07.1993 03:46:26
    5120
    Prg
    SAPLV52E
    12.12.2004 11:55:16
    506880
    Typ
    KNEX
    15.04.1998 00:23:05
    4096

  • PowerShell script : Directory object not found error in Get-ADGroupMember

    I am new in powershell scripting. I am writing a script to add users in different AD Groups. while doing so I do the following:
    Check if the user already exist in the group:
    $mbr_exist = Get-ADGroupMember $grpname | Where-Object {$_.SamAccountName -eq $sam}
    If user does not exist then add the user to the group.
    When I manually run the script its runs flawless, without any errors. But when I schedule the script to run it gives an error as follows:
    3/30/2015 8:32:15 AM Directory object not foundAt + $mbr_exist = Get-ADGroupMember $grpname | Where-Object {$_.SamAc ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~ Error at Line:$mbr_exist = Get-ADGroupMember
    $grpname | Where-Object {$_.SamAccountName -eq $sam}
    The strange thing is the user for which it throws the error is present in the group.I am not sure why this error is occurring when scheduled. Can any one please help? All the suggestions will be appreciated
    Note: (The script is scheduled using Windows Task Scheduler)
    try
    # # Initialize the variables we will use
    $status = 'false'
    $drivename = "H:"
    $sysdate = Get-Date -UFormat "%m_%d_%Y"
    $foldername = $drivename + "\Script_Result\PowershellData"+ $sysdate
    $backup_folder = "$foldername\AD_Groups_Backup"
    $updatedGroup = "$foldername\Updated_AD_Groups_LogFiles"
    $LogFilePath = "$foldername\Log_Update_ADGroups"+$sysdate+".log"
    # # Initialize the arrays we will use
    $GroupArray = @()
    # # maintain log of program startup
    $logdate = get-date
    $logdate.ToString() + "`tStarted script to Update AD user Groups..." | Out-File -FilePath $LogFilePath
    # # Create a sub folder to store the backup files
    $fileexist = Test-Path $backup_folder -PathType Container
    if($fileexist -ne 'False')
    New-Item -ItemType Directory $backup_folder
    # # Create a sub folder to store Updated AD group Log files
    $fileexist = Test-Path $updatedGroup -PathType Container
    if($fileexist -ne 'False')
    New-Item -ItemType Directory $updatedGroup
    # # Take back up of the AD groups data
    Get-ADGroupMember -Identity "Group1" | Export-csv "$backup_folder\Group1_BackUP$sysdate.csv"
    Get-ADGroupMember -Identity "Group2" | Export-csv "$backup_folder\Group1_BackUP$sysdate.csv"
    Get-ADGroupMember -Identity "Group3" | Export-csv "$backup_folder\Group1_BackUP$sysdate.csv"
    Get-ADGroupMember -Identity "Group4" | Export-csv "$backup_folder\Group1_BackUP$sysdate.csv"
    (an so on..... 11 such groups )
    # # Fetch AD Users data
    $ADusers = Get-ADUser -filter {(EmployeeNumber -gt 1) -and (EmployeeNumber -ne "N/A") -and (Enabled -eq $true)} -Properties * | Sort-Object -Property EmployeeNumber
    $ADusers.Count
    foreach($u in $ADusers)
    $sam = $u.SamAccountName
    $empnum = $u.EmployeeNumber
    $mgr = $u.mgr
    $fsal = $u.'fsalary-Hourly'
    $comp = $u.Company
    $ofc = $u.Office
    Write-Host "$sam : $empnum : $mgr :$fsal : $comp : $ofc" -ForegroundColor Yellow
    $GroupArray = @()
    # # Check if the user fits in any of the 11 scenarios
    if($comp -eq "US")
    # scenario 7
    write-host "7. Add to US Employees"
    $GroupArray += "US Employees"
    if($mgr -eq "Y")
    Write-Host "1. ADD to US MAnagers"
    $group = "US Managers"
    $GroupArray += $group
    if(($fsal -eq "Hourly") -and ($ofc -ne "Canton"))
    Write-Host "3. Add to US Hourly (excluding Canton)"
    $group = "US Hourly (excluding Canton)"
    $GroupArray += $group
    if(($fsal -eq "Hourly") -and ($ofc -eq "Canton"))
    write-host "4. Add to US Canton Hourly"
    $group = "US Canton Hourly"
    $GroupArray += $group
    if(($fsal -eq "Salaried") -and ($ofc -eq "Corporate" -or $ofc -eq "Landis Lakes 1" -or $ofc -eq "Landis Lakes 2"))
    Write-Host "5. Add to US Salaried Corporate"
    $group = "US Salaried Corporate"
    $GroupArray += $group
    if(($fsal -eq "Salaried") -and ($ofc -ne "Corporate" -and $ofc -ne "Landis Lakes 1" -and $ofc -ne "Landis Lakes 2"))
    Write-Host "6. Add to US Salaried Plant"
    $group = "US Salaried Plant"
    $GroupArray +=$group
    elseif($comp -eq "canada")
    # scenario 9
    write-host "9. Canada Employees"
    $GroupArray += "Canada Employees"
    if($mgr -eq "Y")
    Write-Host "2. Add to Canada Managers"
    $group = "Canada Managers"
    $GroupArray += $group
    if($fsal -eq "Hourly")
    Write-Host "10. Add to Canada Hourly"
    $group = "Canada Hourly"
    $GroupArray += $group
    if($fsal -eq "Salaried")
    Write-Host "11. Add to Canada Salaried Plant"
    $group = "Canada Salaried Plant"
    $GroupArray += $group
    elseif($ofc -eq "Corporate" -or $ofc -eq "Landis Lakes 1" -or $ofc -eq "Landis Lakes 2")
    Write-Host "8. Add to Corporate Employees"
    $GroupArray += "Corporate Employees"
    write-host "Final Group List" -ForegroundColor Green
    $grplen = $GroupArray.Length
    #$GroupArray
    $grplen
    for($i= 0; $i -lt $grplen; $i++)
    $grpname = $GroupArray[$i]
    write-host "$sam will be added to Group : $grpname" -ForegroundColor Magenta
    # # Check if the user is already present in the Group
    $mbr_exist = Get-ADGroupMember $grpname | Where-Object {$_.SamAccountName -eq $sam}
    if($mbr_exist -eq $null)
    # #Add user to US Managers group
    Add-ADGroupMember -Identity $grpname -Members $sam
    Write-Host "1. User $sam is added to $grpname group" -ForegroundColor Green
    # # documenting the user list that are added to this group
    $grpmbr = New-Object PSObject
    $grpmbr | Add-Member -MemberType NoteProperty -Name "EmployeeNumber" -Value $empnum
    $grpmbr | Add-Member -MemberType NoteProperty -Name "SamAccountName" -Value $sam
    $grpmbr | Add-Member -MemberType NoteProperty -Name "Name" -Value $u.Name
    $grpmbr | Add-Member -MemberType NoteProperty -Name "DistinguishedName" -Value $u.DistinguishedName
    $grpmbr | Add-Member -MemberType NoteProperty -Name "mgr" -Value $mgr
    $grpmbr | Add-Member -MemberType NoteProperty -Name "Company" -Value $comp
    $grpmbr | Add-Member -MemberType NoteProperty -Name "Salary/Hourly" -Value $fsal
    $grpmbr | Add-Member -MemberType NoteProperty -Name "Office" -Value $ofc
    $grpmbr | Add-Member -MemberType NoteProperty -Name "ADGroup" -Value $grpname
    $grpmbr | Export-Csv "$updatedGroup\ADUsers_To_Group($grpname)_$sysdate.csv" -Append -NoTypeInformation
    else
    Write-Host "Member $sam already exist in $grpname group" -ForegroundColor Red
    $logdate = get-date
    $logdate.ToString() + "`tCompleted script to Update Update AD Groups..." | Out-File -FilePath $LogFilePath -Append
    $status = 'true'
    return $status
    catch
    $err_lineno = $error[0].InvocationInfo.ScriptLineNumber
    $err_line = $error[0].InvocationInfo.Line
    $ExceptionMessage = $_.Exception.Message
    #$ExceptionMessage
    $error_info = $error[0].ToString() + $error[0].InvocationInfo.PositionMessage
    Write-Host "$error_info " -ForegroundColor Red
    $FailedItem = $_.Exception.ItemName
    if($ExceptionMessage)
    $logdate.ToString() + "`t $error_info " | out-file "$foldername\ErrorLog_Update_AD_Groups$sysdate.log" -append
    "Line Number: $err_lineno . `nError at Line: $err_line" | out-file "$foldername\ErrorLog_Update_AD_Groups$sysdate.log" -append
    #Invoke-Item "C:\ErrorLog.log"
    $status = 'false'
    return $status

    Hi mdkelly, Sorry for such a late reply (due to credential issues).
    I am using Windows task scheduler to schedule the task. I am given the administrator access to the server (Windows Server 2012). So I think I set to run the script under system account.
    My apologies for asking this, am I missing something while scheduling the script through task scheduler?  how to check if the scheduled task is running under who's credentials? How to pass my (admin) credentials, so that the script execution won't face
    a problem? Any suggestion on the above questions will be helpful. (I tried to search on net for the questions but didn't get any conclusive answers)  
    Thanks in advance.

  • Coherence objects not released when undeploying application?

    Hi
    Part of our continuous integration build is deploying our application to a Weblogic server and running some selenium test cases against it. We have usually about 15 builds running each day.
    Our problem is that we seem to be experiencing a memory leak in that process; each new build takes more and more memory until weblogic starts throwing out-of-memory errors (as a workaround we'r restarting weblogic every night).
    After spending some time using a profiler (we'r using YourKit Java Profiler) it appears that the calls to Coherence libraries cause references to our objects not being properly released and GC is not able to get rid of them properly. If the calls to the Coherence libraries are removed teh GC correctly releases all our application objects.
    To confirm this I have created this simle test scenario:
    1. Created an empty web application (war) that has only one class in it:
    package com.test;
    import javax.servlet.ServletContextEvent;
    import javax.servlet.ServletContextListener;
    import com.tangosol.net.CacheFactory;
    public class TestServletContextListener implements ServletContextListener {
         public void contextDestroyed(ServletContextEvent arg0) {
              CacheFactory.shutdown();          
         public void contextInitialized(ServletContextEvent arg0) {}
    2. Modified the web.xml to register the ContextListener:
    <listener>
    <listener-class>com.test.TestServletContextListener</listener-class>
    </listener>
    3. Created empty EAR that has only two libraries in it: coherence.jar & tangosol.jar (version 3.3.1)
    5. included the test web application in the EAR (no other classes, projects or libraries are included; no other configuration settings are adjusted from defaults)
    6. While using the profiler I was performing deployemnt and undeployment of teh EAR against the Weblogic server. With each new deployment a new set of com.tangosol* classes is created. Those classes are not released even when GC is forced from the profiler.
    I'm not able to attach a screenshot from the profiler to this post, but with each redeployment I can see the following objects created (ordered with number of objects created in a descending order):
    com.tangosol.util.Base$ComonMonitor: 1024 new objects
    com.tangosol.run.xml.XmlToken: 16 new Objects
    com.tangosol.util.ListMap: 11 new Objects
    com.tangosol.util.RecyclingLingedList$Node: 5 new Objects
    etc.
    Am I doing something wrong or is there really a problem with the object references not properly released in Coherence?
    thank you
    s.

    Hello Robert
    I have double checked that the two coherence libs don’t exist anywhere on the server class path. I have also tried calling shutdown from preStop instead of postStop but it made no difference.
    (Please note that I'm not really looking for the right place to shutdown Coherence; instead I'm trying to demonstrate that calls to Coherence libraries causes object references not to be released properly. I have chosen to use the shutdown method only because it's nicely visible when it's being invoked and also it is something that our application is calling during shutdowns).
    To make sure that I'm not overlooking something with the Weblogic setup I have tried it with Tomcat:
    1. Downloaded and installed Tomcat 6.0.14
    2. Create new WAR project and put coherence.jar & tangosol.jar in WEB-INF/lib
    3. Created one class:
    package com.test;
    import javax.servlet.ServletContextEvent;
    import javax.servlet.ServletContextListener;
    import com.tangosol.net.CacheFactory;
    public class TestServletContextListener implements ServletContextListener {
         public void contextDestroyed(ServletContextEvent arg0) {
              CacheFactory.shutdown();
         public void contextInitialized(ServletContextEvent arg0) {}
    4. modified web.xml:
    <listener>
         <listener-class>com.test.TestServletContextListener</listener-class>
    </listener>
    5. deployed the WAR to the tomcat server with profiler connected to it
    After that I have used Tomcat Web Application Manager (http://localhost:8088/manager/html/list) to Stop & Start the application repeatedly.
    The behavior is the same as on weblogic. Each stop of the application creates another set of tangosol objects that do not get released by GC.
    Am I correct when I say that there is some problem with the Coherence libraries causing memory leaks by not allowing GC to release old objects?
    Thank you
    s.

  • Searching LOV is not invoking any method

    Hello JHeadstart team:
    I have the following behaviour with my LOVs generated from JHeadstart (10.1.2)
    The "Go" button seems to not invoke anything, just give back the same page, not doing any filter.
    By watching the log window in JDeveloper, seems like no event is invoked.
    Also, I don't see in the generated lov.uix page an event called lovFilter under handlers (should I have one?)
    When the page is invoked from the parent page, I have the following log, and the advancedSearch is being invoked giving me the filter, if I typed something before clicking the flashlight:
    12:01:56 DEBUG (JhsActionServlet) -Setting current HttpServletRequest on jhsUserRoles wrapper object on session to allow EL access to request.isUserInRolefunction
    12:01:56 DEBUG (JhsActionServlet) -Request class: com.evermind.server.http.EvermindHttpServletRequest
    12:01:56 DEBUG (JhsActionServlet) -Request URI: /BugTracker-ViewController-context-root/LovUpdProcess2.do
    12:01:56 DEBUG (JhsActionServlet) -Request Character Encoding: windows-1252
    12:01:56 DEBUG (JhsActionServlet) -Parameter baseUIModel: MeineFMUIModel
    12:01:56 DEBUG (JhsActionServlet) -Parameter searchText: <Unbekannt>
    12:01:56 DEBUG (JhsActionServlet) -Parameter multiSelect: false
    12:01:56 DEBUG (JhsActionServlet) -Parameter event: lovFilter
    12:01:56 DEBUG (JhsActionServlet) -Parameter lovUsage: form
    12:01:56 DEBUG (JhsActionServlet) -Parameter searchAttribute:
    12:01:56 DEBUG (JhsActionServlet) -Parameter contextURI: /BugTracker-ViewController-context-root
    12:01:56 DEBUG (JhsActionServlet) -Parameter pageTimeStamp: ignore
    12:01:56 DEBUG (JhsActionServlet) -Parameter source: VB_MeineFMProzess
    12:01:56 DEBUG (JhsActionServlet) -Parameter enc: windows-1252
    12:01:56 DEBUG (JhsActionServlet) -Parameter configName: BaseUIPBCfg1
    12:01:56 DEBUG (JhsDataAction) -Executing action /LovUpdProcess2
    12:01:56 DEBUG (JhsDataAction) -MultiSelect stored on session Context with value false
    12:01:56 DEBUG (JhsDataAction) -lastIssuedPageTimeStamp NOT updated because pageTimeStamp parameter has value 'ignore'
    12:01:56 DEBUG (JhsDataAction) -Found existing searchBean for UpdProcess2UIModel
    12:01:56 DEBUG (JhsDataAction) -Stored searchBean for UpdProcess2UIModel on request
    12:01:56 DEBUG (JhsDataAction) -No commit event in request and multiRowUpdateEvent request param not set, multi-row update NOT executed
    12:01:56 DEBUG (JhsDataAction) -executing onLovFilter
    12:01:56 DEBUG (JhsDataAction) -Lov icon clicked, clear searchText in searchBean
    12:01:56 DEBUG (JhsDataAction) -executing onQuickSearch
    12:01:56 DEBUG (JhsDataAction) -Populating bean: searchBean
    12:01:56 DEBUG (JhsApplicationModuleImpl) -executing advancedSearch for ProzessList
    12:01:56 DEBUG (JhsDataAction) -Storing table binding factory under key jhsTableBindings on request
    12:01:56 DEBUG (JhsDataAction) -Forward set by parameter property returned: /WEB-INF/page/LovUpdProcess2.uix
    But nothing happens when clicking "Go". Is it a bug? Do I have any workaround?

    Here goes my workaround. JHeadstart Team, please check if what I'm doing is right. If yes, I believe this is an important correction for future releases:
    Reason:
    The LOV page generated has in the <listOfValues> tag the attribute searchAreaMode="filter".
    The onLovFilter event has the code:
    String searchAreaMode = request.getParameter(SEARCH_AREA_MODE);
    if ("advanced".equals(searchAreaMode))
    onAdvancedSearch(daContext);
    else if ("simple".equals(searchAreaMode))
    onQuickSearch(daContext);
    else
    // if we get here, we are not yet in the LOV page, the user
    // has invoked the page through clicking on the lov icon.
    // we must clear the search text so it is not displayed as search
    // criterium in the lov (searchAttribute is already empty when
    // clicking the lov icon)
    // And onQuickSearch should only execute the query if iterator
    // is not inf find mode. To signal to the onQuickSearch method that
    // this check is needed and to clear the search text, we set a
    // request attribute
    request.setAttribute(LOV_CHECK_FIND_MODE, "true");
    mLog.debug("Lov icon clicked, clear searchText in searchBean");
    onQuickSearch(daContext);
    But this code is setting the LOV_CHECK_FIND_MODE to true when searchArea = "filter", making the onQuickSearch event to set the searchText to null
    I overriden the whole event adding also the
    else if ("filter".equals(searchAreaMode))
    onQuickSearch(daContext);
    and now is working fine.
    In my previous post I mentioned that also the attribute was wrong, but this was my mistake in the ApplicationStructure file.

  • Custom button with action listener - will not invoke action listener

    Hi
    For whatever reason, I cannot find a concise example of a simple custom component that can invoke an action listener. The tutorials I've read so far either ignore this fundamental topic or only make the slightest make reference to it.
    The best I have come up with - in terms of a simple prototype is below... but, the action listener is never invoked.... Can someone tell me what I am missing (full code below). Hopefully, what is missing or incorrect will be obvious to you JSF experts out there.
    Thanks for any help!!
    -f
    tld
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
    <taglib>
      <tlib-version>0.01</tlib-version>
      <jsp-version>1.2</jsp-version>
      <short-name>jsfcustomcomponent</short-name>
      <uri>http://jsfcustomcomponent/</uri>
      <description><![CDATA[jsf custom component tags]]>  </description>
      <tag>
        <name>specialBtnTag</name>
        <tag-class>jsfcustomcomponent.SpecialBtnTag</tag-class>
        <attribute>
          <name>value</name>
          <required>true</required>
          <rtexprvalue>true</rtexprvalue>
          <description><![CDATA[button value]]></description>
        </attribute>
        <attribute>
          <name>actionListener</name>
          <required>true</required>
          <rtexprvalue>true</rtexprvalue>
          <description><![CDATA[action listener]]> </description>
        </attribute>
      </tag>
    </taglib>
    SpecialBtnComponent
    package jsfcustomcomponent;
    import javax.faces.component.*;
    import javax.faces.context.*;
    import javax.faces.el.*;
    import javax.faces.event.*;
    public class SpecialBtnComponent
        extends UIComponentBase implements ActionSource
        public static final String COMPONENT_TYPE = "SpecialBtnComponent";
        public static final String RENDERER_TYPE = "SpecialBtnRenderer";
        public String getFamily()
            return COMPONENT_TYPE;
        public SpecialBtnComponent()
            super();
            setRendererType(SpecialBtnComponent.RENDERER_TYPE);
        private String value;
        public void setValue(String value, FacesContext facesContext)
            this.value = value;
        public String getValue()
            if (null != value)
                return value;
            ValueBinding _vb = getValueBinding("value");
            if (_vb != null)
                return (String) _vb.getValue(getFacesContext());
            else
                return null;
        private MethodBinding action = null;
        public MethodBinding getAction()
            return action;
        public void setAction(MethodBinding methodBinding)
            this.action = action;
        private MethodBinding actionListener = null;
        public MethodBinding getActionListener()
            return (this.actionListener);
        public void setActionListener(MethodBinding methodBinding)
            this.actionListener = actionListener;
        public boolean isImmediate()
            return false;
        public void setImmediate(boolean _boolean)
            //this.immediate = immediate;
        public void addActionListener(ActionListener actionListener)
            addFacesListener(actionListener);
        public ActionListener[] getActionListeners()
            return (ActionListener[]) getFacesListeners(ActionListener.class);
        public void removeActionListener(ActionListener actionListener)
            removeFacesListener(actionListener);
        public Object saveState(FacesContext context)
            Object values[] = new Object[5];
            values[0] = super.saveState(context);
            values[1] = value;
            values[2] = saveAttachedState(context, action);
            values[3] = saveAttachedState(context, actionListener);
            return ( (Object) (values));
        public void restoreState(FacesContext context, Object state)
            Object values[] = (Object[]) state;
            super.restoreState(context, values[0]);
            value = (String) values[1];
            action = (MethodBinding) restoreAttachedState(context, values[2]);
            actionListener = (MethodBinding) restoreAttachedState(context, values[3]);
        public void broadcast(FacesEvent event) throws AbortProcessingException
            super.broadcast(event);
            if (event instanceof ActionEvent)
                FacesContext context = getFacesContext();
                MethodBinding mb = getActionListener();
                if (mb != null)
                    mb.invoke(context, new Object[]
                              {event});
                ActionListener listener = context.getApplication().getActionListener();
                if (listener != null)
                    listener.processAction( (ActionEvent) event);
        public void queueEvent(FacesEvent e)
            if (e instanceof ActionEvent)
                if (isImmediate())
                    e.setPhaseId(PhaseId.APPLY_REQUEST_VALUES);
                else
                    e.setPhaseId(PhaseId.INVOKE_APPLICATION);
            super.queueEvent(e);
    SpecialBtnRenderer
    package jsfcustomcomponent;
    import java.util.*;
    import javax.faces.component.*;
    import javax.faces.context.*;
    import javax.faces.event.*;
    import javax.faces.render.*;
    public class SpecialBtnRenderer
        extends Renderer
        String value;
        public SpecialBtnRenderer()
        public void decode(FacesContext context, UIComponent component)
            Map requestMap = context.getExternalContext().getRequestParameterMap();
            String clientId = component.getClientId(context);
            SpecialBtnComponent specialBtnComponent = (SpecialBtnComponent) component;
            String value = (String) requestMap.get(clientId);
            if (null != value)
                specialBtnComponent.setValue(value, context);
            ActionEvent actionEvent = new ActionEvent(specialBtnComponent);
            specialBtnComponent.queueEvent(actionEvent);
        public void encodeEnd(FacesContext context, UIComponent component) throws java.io.IOException
            SpecialBtnComponent specialBtnComponent = (SpecialBtnComponent) component;
            ResponseWriter writer = context.getResponseWriter();
            String clientId = component.getClientId(context);
            value = (String) component.getAttributes().get("value");
            if (value == null)
                value = "defaultValue";
            buildSpecialBtn(writer, value, clientId, specialBtnComponent);
        private void buildSpecialBtn(ResponseWriter writer, String value, String clientId, SpecialBtnComponent component) throws java.io.IOException
            writer.startElement("table", component);
            writer.startElement("tbody", component);
            writer.startElement("tr", component);
            writer.startElement("td", component);
            value = String.valueOf(value);
            writer.startElement("input", component);
            writer.writeAttribute("type", "submit", null);
            writer.writeAttribute("name", clientId, "clientId");
            writer.writeAttribute("value", value, null);
            writer.endElement("input");
            writer.endElement("td");
            writer.endElement("tr");
            writer.endElement("tbody");
            writer.endElement("table");
    SpecialBtnTag
    package jsfcustomcomponent;
    import javax.faces.component.*;
    import javax.faces.el.*;
    import javax.faces.webapp.*;
    import com.sun.faces.util.*;
    public class SpecialBtnTag
        extends UIComponentTag
        public String value = null;
        public String actionListener = null;
        public String getComponentType()
            return SpecialBtnComponent.COMPONENT_TYPE;
        public String getRendererType()
            return SpecialBtnComponent.RENDERER_TYPE;
        protected void setProperties(UIComponent component)
            super.setProperties(component);
            if (! (component instanceof SpecialBtnComponent))
                throw new IllegalStateException("Component " + component.toString() +
                                                " not expected type.  Expected: jsfcustomcomponent.SpecialBtnComponent.  Perhaps you�re missing a tag?");
            SpecialBtnComponent specialBtnComponent = (SpecialBtnComponent) component;
            if (value != null)
                if (isValueReference(value))
                    ValueBinding vb = Util.getValueBinding(value);
                    specialBtnComponent.setValueBinding("value", vb);
                else
                    throw new IllegalStateException("The value for �value� must be a ValueBinding.");
            if (actionListener != null)
                if (isValueReference(actionListener))
                    ValueBinding vb = Util.getValueBinding(actionListener);
                    specialBtnComponent.setValueBinding("actionListener", vb);
                else
                    throw new IllegalStateException("The value for �actionListener� must be a ValueBinding.");
        public void release()
            super.release();
            value = null;
            actionListener = null;
        public void setValue(String value)
            this.value = value;
        public String getValue()
            return this.value;
        public void setActionListener(String actionListener)
            this.actionListener = actionListener;
        public String getActionListener()
            return this.actionListener;
    jsp1.jsp
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@taglib uri="http://jsfcustomcomponent/" prefix="j"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>JSP Page</title>
    <link rel="stylesheet" type="text/css" href="./stylesheet.css" title="Style">
    </head>
    <body>
    <f:view>
      <h:form id="form01">
        <h:outputText value="test special button with action listener"/>
        <j:specialBtnTag value="#{specialBtnBacking.specialBtnValue}" actionListener="#{specialBtnBacking.specialBtnActionListener}"/>
        <h:messages/>
        <h:outputText value="#{specialBtnBacking.outcome}"/>
      </h:form>
    </f:view>
    </body>
    </html>
    SpecialBtnBacking
    package specialbtn;
    import javax.faces.context.*;
    import javax.faces.event.*;
    public class SpecialBtnBacking
        private FacesContext context;
        public SpecialBtnBacking()
            this.setSpecialBtnValue("Special Button with action listener");
        private String specialBtnValue;
        public String getSpecialBtnValue()
            return this.specialBtnValue;
        public void setSpecialBtnValue(String specialBtnValue)
            this.specialBtnValue = specialBtnValue;
        private String outcome="actionlistener NOT invoked: click specialBtn above to test";
        public String getOutcome()
            return outcome;
        public void setOutcome(String outcome)
            this.outcome = outcome;
        public void specialBtnActionListener(ActionEvent evt)
            System.out.println("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Jsp1Backing/specialBtnActionListener()!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
            this.outcome="***action listener invoked!!!***";
    faces-config.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <faces-config>
      <managed-bean>
        <managed-bean-name>specialBtnBacking</managed-bean-name>
        <managed-bean-class>specialbtn.SpecialBtnBacking</managed-bean-class>
        <managed-bean-scope>request</managed-bean-scope>
      </managed-bean>
      <component>
        <component-type>SpecialBtnComponent</component-type>
        <component-class>jsfcustomcomponent.SpecialBtnComponent</component-class>
        <component-extension>
          <renderer-type>SpecialBtnRenderer</renderer-type>
        </component-extension>
      </component>
      <render-kit>
        <renderer>
          <component-family>SpecialBtnComponent</component-family>
          <renderer-type>SpecialBtnRenderer</renderer-type>
          <renderer-class>jsfcustomcomponent.SpecialBtnRenderer</renderer-class>
        </renderer>
      </render-kit>
    </faces-config>
    web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">
      <display-name>pagerWEB</display-name>
      <servlet>
        <servlet-name>Faces Servlet</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
      </servlet>
      <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>*.faces</url-pattern>
      </servlet-mapping>
      <jsp-config>
        <taglib>
          <taglib-uri>http://jsfcustomcomponent/</taglib-uri>
          <taglib-location>/WEB-INF/jsfcustomcomponent.tld</taglib-location>
        </taglib>
      </jsp-config>
      <servlet>
        <description>Added by JBuilder to compile JSPs with debug info</description>
        <servlet-name>debugjsp</servlet-name>
        <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
        <init-param>
          <param-name>classdebuginfo</param-name>
          <param-value>true</param-value>
        </init-param>
        <load-on-startup>3</load-on-startup>
      </servlet>
      <servlet-mapping>
        <servlet-name>debugjsp</servlet-name>
        <url-pattern>*.jsp</url-pattern>
      </servlet-mapping>
    </web-app>

    got it working....
    The changes were:
    in "SpecialBtnRenderer"...
    --new--
                        mb.invoke(context, new Object[1]);
    --old--
                        mb.invoke(context, new Object[0]);
    in "SpecialBtnTag"...
    --new--
    import javax.faces.event.ActionEvent;
    --new--
                    MethodBinding mb = FacesContext.getCurrentInstance().getApplication().createMethodBinding(specialBtnListener, new Class[]{ActionEvent.class});
    --old--
                    MethodBinding mb = FacesContext.getCurrentInstance().getApplication().createMethodBinding(specialBtnListener, null);
    -Below is the entire application, again -- for those (like myself) who need concrete examples...
    I hope this helps someone else! --f
    jsp1.jsp
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@taglib uri="http://jsfcustomcomponent/" prefix="j"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>JSP Page</title>
    <link rel="stylesheet" type="text/css" href="./stylesheet.css" title="Style">
    </head>
    <body>
    <f:view>
        <h:messages/>
      <h:form id="form01">
        <h:outputText value="test special button with action listener"/>
        <j:specialBtnTag value="#{specialBtnBacking.specialBtnValue}" specialBtnListener="#{specialBtnBacking.specialBtnActionListener}"/>
        <h:outputText value="#{specialBtnBacking.outcome}"/>
      </h:form>
    </f:view>
    </body>
    </html>
    SpecialBtnBacking
    package specialbtn;
    import javax.faces.context.*;
    import javax.faces.event.*;
    public class SpecialBtnBacking
        private FacesContext context;
        public SpecialBtnBacking()
            this.setSpecialBtnValue("Special Button with action listener");
        private String specialBtnValue;
        public String getSpecialBtnValue()
            return this.specialBtnValue;
        public void setSpecialBtnValue(String specialBtnValue)
            this.specialBtnValue = specialBtnValue;
        private String outcome = "actionlistener NOT invoked: click specialBtn above to test";
        public String getOutcome()
            return outcome;
        public void setOutcome(String outcome)
            this.outcome = outcome;
        public void specialBtnActionListener(ActionEvent evt)
            System.out.println("\n\n");
            System.out.println("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Jsp1Backing/specialBtnActionListener()!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
            System.out.println("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Jsp1Backing/specialBtnActionListener()!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
            System.out.println("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Jsp1Backing/specialBtnActionListener()!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
            System.out.println("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Jsp1Backing/specialBtnActionListener()!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
            System.out.println("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Jsp1Backing/specialBtnActionListener()!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n\n");
            this.outcome = "***action listener invoked!!!***";
    jsfcustomcomponent.tld
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
    <taglib>
      <tlib-version>0.01</tlib-version>
      <jsp-version>1.2</jsp-version>
      <short-name>jsfcustomcomponent</short-name>
      <uri>http://jsfcustomcomponent/</uri>
      <description><![CDATA[jsf custom component tags]]>  </description>
      <tag>
        <name>specialBtnTag</name>
        <tag-class>jsfcustomcomponent.SpecialBtnTag</tag-class>
        <attribute>
          <name>value</name>
          <required>true</required>
          <rtexprvalue>true</rtexprvalue>
          <description><![CDATA[button value]]></description>
        </attribute>
        <attribute>
          <name>specialBtnListener</name>
          <required>true</required>
          <rtexprvalue>true</rtexprvalue>
          <description><![CDATA[action listener]]> </description>
        </attribute>
      </tag>
    </taglib>
    faces-config.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <faces-config>
      <managed-bean>
        <managed-bean-name>specialBtnBacking</managed-bean-name>
        <managed-bean-class>specialbtn.SpecialBtnBacking</managed-bean-class>
        <managed-bean-scope>request</managed-bean-scope>
      </managed-bean>
      <component>
        <component-type>SpecialBtnComponent</component-type>
        <component-class>jsfcustomcomponent.SpecialBtnComponent</component-class>
        <component-extension>
          <renderer-type>SpecialBtnRenderer</renderer-type>
        </component-extension>
      </component>
      <render-kit>
        <renderer>
          <component-family>SpecialBtnComponent</component-family>
          <renderer-type>SpecialBtnRenderer</renderer-type>
          <renderer-class>jsfcustomcomponent.SpecialBtnRenderer</renderer-class>
        </renderer>
      </render-kit>
    </faces-config>
    SpecialBtnComponent.java
    package jsfcustomcomponent;
    import javax.faces.component.*;
    import javax.faces.context.*;
    import javax.faces.el.*;
    import javax.faces.event.*;
    public class SpecialBtnComponent
        extends UIComponentBase implements ActionSource
        public static final String COMPONENT_TYPE = "SpecialBtnComponent";
        public static final String RENDERER_TYPE = "SpecialBtnRenderer";
        public String getFamily()
            return COMPONENT_TYPE;
        public SpecialBtnComponent()
            super();
            setRendererType(SpecialBtnComponent.RENDERER_TYPE);
        private String value;
        public void setValue(String value, FacesContext facesContext)
            this.value = value;
        public String getValue()
            if (null != this.value)
                return this.value;
            ValueBinding _vb = getValueBinding("value");
            if (_vb != null)
                return (String) _vb.getValue(getFacesContext());
            else
                return null;
        private MethodBinding specialBtnListener = null;
        public MethodBinding getActionListener()
            return (this.specialBtnListener);
        public void setActionListener(MethodBinding actionListener)
            this.specialBtnListener = actionListener;
        public Object saveState(FacesContext context)
            Object values[] = new Object[3];
            values[0] = super.saveState(context);
            values[1] = saveAttachedState(context, this.specialBtnListener);
            values[2] = this.value;
            return (values);
        public void restoreState(FacesContext context, Object state)
            Object values[] = (Object[]) state;
            super.restoreState(context, values[0]);
            this.specialBtnListener = (MethodBinding) restoreAttachedState(context, values[1]);
            this.value = (String) restoreAttachedState(context, values[2]);
        public void broadcast(FacesEvent event) throws AbortProcessingException
            super.broadcast(event);
            if (event instanceof ActionEvent)
                FacesContext context = getFacesContext();
                MethodBinding mb = this.getActionListener();
                if (mb != null)
                    try
                        mb.invoke(context, new Object[]
                                  {event});
                    catch (EvaluationException ex)
                        System.out.println("SpecialBtnComponent/broadcast(FacesEvent event)...EvaluationException encountered - ex.getMessage()=" + ex.getMessage());
                        ex.printStackTrace();
                ActionListener actionListener = context.getApplication().getActionListener();
                if (actionListener != null)
                    actionListener.processAction( (ActionEvent) event);
        public void queueEvent(FacesEvent e)
            if (e instanceof ActionEvent)
                e.setPhaseId(PhaseId.INVOKE_APPLICATION);
            super.queueEvent(e);
        public MethodBinding getAction()
            return null;
        public void setAction(MethodBinding methodBinding)
        public boolean isImmediate()
            return false;
        public void setImmediate(boolean _boolean)
        public void addActionListener(ActionListener actionListener)
            addFacesListener(actionListener);
        public ActionListener[] getActionListeners()
            return (ActionListener[]) getFacesListeners(ActionListener.class);
        public void removeActionListener(ActionListener actionListener)
            removeFacesListener(actionListener);
    SpecialBtnTag.java
    package jsfcustomcomponent;
    import javax.faces.component.*;
    import javax.faces.el.*;
    import javax.faces.webapp.*;
    import com.sun.faces.util.*;
    import javax.faces.context.FacesContext;
    import javax.faces.event.ActionEvent;
    public class SpecialBtnTag
        extends UIComponentTag
        public String value = null;
        public String specialBtnListener = null;
        private SpecialBtnComponent specialBtnComponent;
        public SpecialBtnTag()
            super();
        public String getComponentType()
            return SpecialBtnComponent.COMPONENT_TYPE;
        public String getRendererType()
            return SpecialBtnComponent.RENDERER_TYPE;
        protected void setProperties(UIComponent component)
            super.setProperties(component);
            if (! (component instanceof SpecialBtnComponent))
                throw new IllegalStateException("Component " + component.toString() +
                                                " not expected type.  Expected: jsfcustomcomponent.SpecialBtnComponent.  Perhaps you�re missing a tag?");
            specialBtnComponent = (SpecialBtnComponent) component;
            if (value != null)
                if (isValueReference(value))
                    ValueBinding vb = Util.getValueBinding(value);
                    specialBtnComponent.setValueBinding("value", vb);
                else
                    throw new IllegalStateException("The value for �value� must be a ValueBinding.");
            if (specialBtnListener != null)
                if (isValueReference(specialBtnListener))
                    MethodBinding mb = FacesContext.getCurrentInstance().getApplication().createMethodBinding(specialBtnListener, new Class[]{ActionEvent.class});
                    ( (SpecialBtnComponent) component).setActionListener(mb);
                else
                    MethodBinding mb = Util.createConstantMethodBinding(specialBtnListener);
                    ( (SpecialBtnComponent) component).setActionListener(mb);
        public void release()
            super.release();
            value = null;
            specialBtnListener = null;
        public void setValue(String value)
            this.value = value;
        public String getValue()
            return this.value;
        public void setSpecialBtnListener(String specialBtnListener)
            this.specialBtnListener = specialBtnListener;
        public String getSpecialBtnListener()
            return this.specialBtnListener;
    SpecialBtnRenderer
    package jsfcustomcomponent;
    import java.util.*;
    import javax.faces.component.*;
    import javax.faces.context.*;
    import javax.faces.event.*;
    import javax.faces.render.*;
    import javax.faces.el.MethodBinding;
    import javax.faces.el.*;
    public class SpecialBtnRenderer
        extends Renderer
        String value;
        public SpecialBtnRenderer()
            super();
        public void decode(FacesContext context, UIComponent component)
            try
                Map requestMap = context.getExternalContext().getRequestParameterMap();
                String clientId = component.getClientId(context);
                SpecialBtnComponent specialBtnComponent = (SpecialBtnComponent) component;
                String value = (String) requestMap.get(clientId);
                if (null != value)
                    specialBtnComponent.setValue(value, context);
                    MethodBinding mb = specialBtnComponent.getActionListener();
                    if (mb != null)
                        System.out.println("SpecialBtnRenderer/decode...mb.getExpressionString()=" + mb.getExpressionString());
                        //mb.invoke(context, new Object[0]);
                        mb.invoke(context, new Object[1]);
                    ActionEvent actionEvent = new ActionEvent(specialBtnComponent);
                    specialBtnComponent.queueEvent(actionEvent);
            catch (EvaluationException ex)
                ex.printStackTrace();
        public void encodeEnd(FacesContext context, UIComponent component) throws java.io.IOException
            SpecialBtnComponent specialBtnComponent = (SpecialBtnComponent) component;
            ResponseWriter writer = context.getResponseWriter();
            String clientId = component.getClientId(context);
            value = (String) component.getAttributes().get("value");
            if (value == null)
                value = "defaultValue";
            buildSpecialBtn(writer, value, clientId, specialBtnComponent);
        private void buildSpecialBtn(ResponseWriter writer, String value, String clientId, SpecialBtnComponent component) throws java.io.IOException
            writer.startElement("table", component);
            writer.startElement("tbody", component);
            writer.startElement("tr", component);
            writer.startElement("td", component);
            value = String.valueOf(value);
            writer.startElement("input", component);
            writer.writeAttribute("type", "submit", null);
            writer.writeAttribute("name", clientId, "clientId");
            writer.writeAttribute("value", value, null);
            writer.endElement("input");
            writer.endElement("td");
            writer.endElement("tr");
            writer.endElement("tbody");
            writer.endElement("table");
    web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">
      <display-name>pagerWEB</display-name>
      <servlet>
        <servlet-name>Faces Servlet</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
      </servlet>
      <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>*.faces</url-pattern>
      </servlet-mapping>
      <jsp-config>
        <taglib>
          <taglib-uri>http://jsfcustomcomponent/</taglib-uri>
          <taglib-location>/WEB-INF/jsfcustomcomponent.tld</taglib-location>
        </taglib>
      </jsp-config>
    </web-app>

  • Object not exported for Remote object in WSAD

    Hi,
    I have a few classes that extend and implement java.rmi.remote object. The JAR is placed under WEB-INF/lib of a web application.
    I am using WSAD 5.1.1. When I start the server, it gives me the following error.
    Can somebody make out anything?? Please help
    Error Stack:
    [5/3/05 12:07:04:188 IST] 3d410866 Helpers W NMSV0610I: A NamingException is being thrown from a javax.naming.Context implementation. Details follow:
    Context implementation: com.ibm.ws.naming.jndicos.CNContextImpl
    Context method: rebind
    Context name: localhost/nodes/localhost/servers/server1
    Root exception is java.rmi.NoSuchObjectException: object not exported
    I tried creating the stub and the skeleton classes manually and added them to the JAR file but still I get the same error. The JAR is in the CLASSPATH of the server.
    I also tried creating a simple remote object and tried binding it:
    Hashtable propertiesMap = new Hashtable();
    propertiesMap.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.cosnaming.CNCtxFactory");
    propertiesMap.put(Context.PROVIDER_URL, "iiop://localhost:2809" );
    Context context= new InitialContext(propertiesMap);
    myRemote instance = new myRemote();
    context.bind("TestString",instance);
    Even this gives :
    javax.naming.ConfigurationException: Problem with PortableRemoteObject.toStub(); object not exported or stub not found. Root exception is java.rmi.NoSuchObjectException: object not exported
    at sun.rmi.transport.ObjectTable.getStub(ObjectTable.java:115)
    at java.rmi.server.RemoteObject.toStub(RemoteObject.java:88)
    at com.ibm.rmi.util.JDKBridge.getJRMPStub(JDKBridge.java:129)
    at com.ibm.rmi.javax.rmi.PortableRemoteObject.toStub(PortableRemoteObject.java:138)
    at javax.rmi.PortableRemoteObject.toStub(PortableRemoteObject.java:105)
    at java.lang.reflect.Method.invoke(Native Method)
    -sam

    Hi,
    Not sure if this question is not clear ... Can somebody give me some hints please??
    -sam

  • FileChooser is not invoking the file Please Help

    Hi,
    I have created a menuItem when user selects from the menuItem the file chooser come's up after that when he select any file from the JFile chooser dilalog box the r not invoked.Here is the code, please tell me where am i wrong. Please Help me out
    Thanking u
    in advance
    public void actionPerformed(ActionEvent e)
    Object source = evt.getSource();
    if(source == dialerItem)
    JFileChooser chooser = new JFileChooser();
    chooser.setCurrentDirectory(new File("."));
    chooser.setFileFilter(new Javax.swing.filechooser.FileFilter()
    public boolean accept(File f)
    String fname = f.getName().toLowerCase();
    return fname.endWith("html") || f.isDirectory();
    public string getDescription()
    return "Html Files";
    int r = chooser.showOpenDialog(this);
    if(r == JFileChooser.APPROVE_OPTION)
    chooser.getSelectedFile();

    Not "invoking" the file? What does that mean? What did you expect it to do?
    What it actually does, in the last line of your code, is to create a File object based on the selected file, then to discard it because you didn't assign it to a File variable.

  • ActionListener not invoked

    Hi all,
    I have a problem developping a custom component by aggregation and using action listener.
    In the restore state phase, the action listener I have previously add to a child button of my component is null and so not invoked.
    My custom component look like this :
    public class SnpsUIEditPanel extends UIPanel implements NamingContainer
    /** inner classes listeners */
    public class SnpsEditActionHandler implements ActionListener, StateHolder
         * Defines visible the updater footer panel and invisible the editer footer panel.
         * @see javax.faces.event.ActionListener#processAction(javax.faces.event.ActionEvent)
         public void processAction(ActionEvent pEvent) throws AbortProcessingException
         if( pEvent.getComponent() == getEditCommand())
              getEditCommand().setRendered(false);
              getUpdateCommand().setRendered(true);
              getResetCommand().setRendered(true);
         public Object saveState(FacesContext pContext)
         return null;
         public void restoreState(FacesContext pContext, Object pState)
         public boolean isTransient()
         return true;
         public void setTransient(boolean pNewTransientValue)
    public class SnpsUpdateActionHandler implements ActionListener, StateHolder
         * Defines visible the editor footer panel and invisible the updater footer panel.
         * @see javax.faces.event.ActionListener#processAction(javax.faces.event.ActionEvent)
         public void processAction(ActionEvent pEvent) throws AbortProcessingException
         if( pEvent.getComponent() == getUpdateCommand())
              getEditCommand().setRendered(true);
              getUpdateCommand().setRendered(false);
              getResetCommand().setRendered(false);
    /** called by the tag to define this property. It aggregates components for this custom component*/
    public void setEditable(boolean pEditable)
    Editable = new Boolean(pEditable);
    if( Editable.booleanValue())
    UIPanel footer = new UIPanel();
         footer.setRendererType("javax.faces.Group");
         footer.setId("footer");
         UICommand edit = new UICommand();
         edit.setId("edit");
         edit.setValue("Edit");
         edit.getAttributes().put("type", "submit");
    // register the action lsitener
         edit.addActionListener( new SnpsEditActionHandler());
         UICommand update = new UICommand();
         update.setId("update");
         update.setValue("Update Change");
         update.setRendered(false);
    // register the action listener
         update.addActionListener( new SnpsUpdateActionHandler());
         if( UpdateAction != null)
         update.setAction(UpdateAction);
         update.getAttributes().put("type", "submit");
         UICommand reset = new UICommand();
         reset.setId("reset");
         reset.setValue("Reset Change");
         reset.setImmediate(true);
         reset.setRendered(false);
         reset.getAttributes().put("type", "reset");
         footer.getChildren().add(edit);
         footer.getChildren().add(update);
         footer.getChildren().add(reset);
         getFacets().put("footer", footer);
    else
         getFacets().remove("footer");
    protected UICommand getEditCommand()
         return (UICommand)findComponent("edit");
    protected UICommand getUpdateCommand()
         return (UICommand)findComponent("update");
    protected UICommand getResetCommand()
         return (UICommand)findComponent("reset");
    What is going wrong ?
    Thanks a lot for your help

    Well, not a lot of response.... ; )
    So I will explain a bit more my requirement :
    I want to create a custom component extending the basic fonctionnality of UIPanel in this way :
    My custom panel could automatically add a header and a footer according to its property.
    Here is an example :
    Normally to do what I want to do I have to code :
    <h:panelGrid>
          <f:facet name="header">
               <h:panelGroup>
                    <h:outputText id="title" value="My Title"/>
               </h:panelGroup>
          </f:facet>
          .... possible content...
          <f:facet name="footer">
             <h:panelGroup>
                  <h:commandButton id="edit" value="Edit" actionListener="myActionListener" rendered="true"/>
                  <h:commandButton id="update" value="Update" action="myBusinessAction" actionListener="myActionListener" rendered="false"/>
                  <h:commandButton id="reset" value="Reset" rendered="false"/>
             </h:panelGroup>
         </facet>
    </h:panelGrid>myActionListener is an ActionListener that makes rendered the buttons following the performed button : if Edit is performed then it is not rendered and the other are rendered. If Update is performed this is Edit that is rendered.
    So, I want a custom component and/or tag to perform like this :
    <x:editPanel title="My Title" updateAction="myBusinessAction" editable="true" ....>
        ... Possible content....
    </x:editPanel>How to do that ? What is the best way ?
    I have created a custom component, shortly described above that creates its children components dynamically (composite pattern) and adds listener programmatically to the buttons that require one.
    The component itself works well event I don't khow if the implementation is correct (I don't like adding attribute/value pair (like "type" for button) for component that are not part of its own API. Because it give me the feeling that it is HTML attribute and not component specific. If I change the rendering for another device will my component work yet or these attributes will be ignored ?).
    But the ActionListeners are not invoked. It seems this is because there are inner classes. There are not restored correctly during the restor view phase. With standard classes it works well.
    So, is there a manner to defined inner class as listener for a cleaner implementation ?
    Is my implementation of the component correct ? Or I'm going in a wrong direction ?
    Thanks in advence.

  • GetBusinessObject - Error marshalling objects, Not Serializable

    Hi,
    I am having the following in a stateful session to create another satateful session bean.
        public AdminSession getAdminSession() throws UnknownException, WarningException {
            checkSessionUser("getAdminSession");
            if (isAdmin()) {
                AdminSession adminSession;
                try {
                    final Context context = IToolsUtil.getInitialContext();
                    adminSession = (AdminSession)context.lookup("AdminSession");
                    System.out.println("Successfully created the adminsession bean");
                } catch (NamingException ne) {
                    ne.printStackTrace();
                    throw new UnknownException (new CatalogHelper("ITOOLS_100019", new Object[]{"Admin", ne.getMessage()}));
                try {
                    adminSession.initialize((DefaultSessionLocal)context.getBusinessObject(DefaultSessionLocal.class), rfl);
                    System.out.println("adminsession is initialized");
                } catch (WarningException we) {
                    adminSession.remove();
                    adminSession = null;
                    throw we;
                System.out.println("adminsession will be returned");
                return adminSession;
            } else {
                throw new WarningException (new CatalogHelper("ITOOLS_000042", sessionUser.getUserhandle()));
        }While executing initialize method, I am getting the following error. Both the session beans implemented Serializable. Even then I got the error.
    06/10/14 07:05:38 Successfully created the adminsession bean
    2006-10-14 07:05:38.187 ERROR J2EE EJB-08006 [DefaultSession:public com.itools.vs.model.session.AdminSession com.itools.vs.model.session.DefaultSessionBean.getAdminSession() throws com.itools.vs.model.exception.UnknownException,com.itools.vs.model.exception.WarningException] exception occurred during method invocation: oracle.oc4j.rmi.OracleRemoteException: com.evermind.reflect.UndeclaredExceptionTypeException: oracle.oc4j.rmi.OracleRemoteException; nested exception is:
         com.evermind.reflect.UndeclaredExceptionTypeException: oracle.oc4j.rmi.OracleRemoteException
    2006-10-14 07:05:38.234 WARNING J2EE RMI-00009 Exception returned by remote server: {0}
    oracle.oc4j.rmi.OracleRemoteException: com.evermind.reflect.UndeclaredExceptionTypeException: oracle.oc4j.rmi.OracleRemoteException
         at com.evermind.server.ejb.EJBUtils.getUserException(EJBUtils.java:346)
         at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:69)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:844)
         at DefaultSession_RemoteProxy_6nein01.getAdminSession(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    at connection to localhost/127.0.0.1
         at com.evermind.server.rmi.RMICall.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMICall.java:109)
         at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:125)
         at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:480)
         at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:424)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
         at com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:31)
         at __Proxy1.getAdminSession(Unknown Source)
         at com.itools.vs.view.backing.Admin.CreateUser.submit_action(CreateUser.java:182)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:146)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:92)
         at org.ajax4jsf.framework.ajax.AjaxActionComponent.broadcast(AjaxActionComponent.java:88)
         at org.ajax4jsf.framework.ajax.AjaxViewRoot.processEvents(AjaxViewRoot.java:281)
         at org.ajax4jsf.framework.ajax.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:257)
         at org.ajax4jsf.framework.ajax.AjaxViewRoot.processApplication(AjaxViewRoot.java:412)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:95)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:65)
         at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:226)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
         Nested exception is:
    com.evermind.reflect.UndeclaredExceptionTypeException: oracle.oc4j.rmi.OracleRemoteException
         at __Proxy3.initialize(Unknown Source)
         at com.itools.vs.model.session.DefaultSessionBean.getAdminSession(DefaultSessionBean.java:397)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:844)
         at DefaultSession_RemoteProxy_6nein01.getAdminSession(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    oracle.oc4j.rmi.OracleRemoteException: Error marshalling objects, Not Serializable: java.io.NotSerializableException: DefaultSession_LocalProxy_6nein01
         at com.evermind.server.rmi.RMIClientConnection.sendMethodInvocationRequest(RMIClientConnection.java:447)
         at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:423)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
         at com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:31)
         at __Proxy3.initialize(Unknown Source)
         at com.itools.vs.model.session.DefaultSessionBean.getAdminSession(DefaultSessionBean.java:397)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:844)
         at DefaultSession_RemoteProxy_6nein01.getAdminSession(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
         Nested exception is:
    java.io.NotSerializableException: DefaultSession_LocalProxy_6nein01
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
         at com.evermind.server.rmi.RMIProtocol$Version.marshallParameterDirectly(RMIProtocol.java:427)
         at com.evermind.server.rmi.RMIProtocol$Version_1_0.marshallParameter(RMIProtocol.java:467)
         at com.evermind.server.rmi.RMIProtocol.writeObject(RMIProtocol.java:75)
         at com.evermind.server.rmi.RMIProtocol.writeValue(RMIProtocol.java:130)
         at com.evermind.server.rmi.RMIClientConnection.writeArguments(RMIClientConnection.java:498)
         at com.evermind.server.rmi.RMIClientConnection.sendMethodInvocationRequest(RMIClientConnection.java:441)
         at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:423)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
         at com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:31)
         at __Proxy3.initialize(Unknown Source)
         at com.itools.vs.model.session.DefaultSessionBean.getAdminSession(DefaultSessionBean.java:397)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:844)
         at DefaultSession_RemoteProxy_6nein01.getAdminSession(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    at connection to localhost/127.0.0.1
         at oracle.oc4j.rmi.OracleRemoteException.receive(OracleRemoteException.java:123)
         at oracle.oc4j.rmi.RmiTransport.annotateException(RmiTransport.java:149)
         at com.evermind.server.rmi.RMIClientConnection.handleMethodInvocationResponse(RMIClientConnection.java:822)
         at com.evermind.server.rmi.RMIClientConnection.handleOrmiCommandResponse(RMIClientConnection.java:250)
         at com.evermind.server.rmi.RMIClientConnection.dispatchResponse(RMIClientConnection.java:205)
         at com.evermind.server.rmi.RMIClientConnection.processReceivedCommand(RMIClientConnection.java:187)
         at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:152)
         at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:127)
         at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:107)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    oracle.oc4j.rmi.OracleRemoteException: Error marshalling objects, Not Serializable: java.io.NotSerializableException: DefaultSession_LocalProxy_6nein01
         at com.evermind.server.rmi.RMIClientConnection.sendMethodInvocationRequest(RMIClientConnection.java:447)
         at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:423)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
         at com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:31)
         at __Proxy3.initialize(Unknown Source)
         at com.itools.vs.model.session.DefaultSessionBean.getAdminSession(DefaultSessionBean.java:397)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:844)
         at DefaultSession_RemoteProxy_6nein01.getAdminSession(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
         Nested exception is:
    java.io.NotSerializableException: DefaultSession_LocalProxy_6nein01
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
         at com.evermind.server.rmi.RMIProtocol$Version.marshallParameterDirectly(RMIProtocol.java:427)
         at com.evermind.server.rmi.RMIProtocol$Version_1_0.marshallParameter(RMIProtocol.java:467)
         at com.evermind.server.rmi.RMIProtocol.writeObject(RMIProtocol.java:75)
         at com.evermind.server.rmi.RMIProtocol.writeValue(RMIProtocol.java:130)
         at com.evermind.server.rmi.RMIClientConnection.writeArguments(RMIClientConnection.java:498)
         at com.evermind.server.rmi.RMIClientConnection.sendMethodInvocationRequest(RMIClientConnection.java:441)
         at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:423)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
         at com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:31)
         at __Proxy3.initialize(Unknown Source)
         at com.itools.vs.model.session.DefaultSessionBean.getAdminSession(DefaultSessionBean.java:397)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:844)
         at DefaultSession_RemoteProxy_6nein01.getAdminSession(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

    Looks like, I can create a Local interface instance of a Session bean, but cannot pass pass it to the other session beans or classes. If I try to do that, I am getting Exception is "Error marshalling objects, Not Serializable: java.io.NotSerializableException: DefaultSession_RemoteProxy_6nein01; nested exception is:
    java.io.NotSerializableException: DefaultSession_RemoteProxy_6nein01".
    I tried making my SessionBean class implements Serializable like this.
    public class DefaultSessionBean implements SessionSynchronization, Serializable {...}
    No luck, however.
    According to http://www.oracle.com/technology/products/jdev/htdocs/10.1.3.0.3/readme.html
    TopLink POJO's Must Implement java.io.Serializable When Returned From a Session Bean's Remote Interface (4902787)
    When creating a session bean facade for TopLink POJO objects, you must implement java.io.Serializable for each of the TopLink POJO objects returned from the SessionBean facade through a remote interface. This is typically required when using ADF Swing, a EJB Sample Client, or when your EJB Session Bean resides on a separate application server from the client.
    You can also tell you you need to implement java.io.Serializable when you get the following exception:
    com.evermind.reflect.UndeclaredExceptionTypeException:
    /oracle.oc4j.rmi.OracleRemoteException/
    at __Proxy1.[Your Class Name Here] (Unknown Source)
    The workaround is to manually edit each POJO object to implement java.io.Serializable. We plan to remove the need for this manual step in a future release.
    Is this information some where related to my issue? Please help me. I am stucked since so many days because of this.
    regds
    -raju

  • Why the Parameter Dialog not invoked with OpenReport RDC SDK?

    Hai,
      I am working in Crystal Reports XI Release 2 with Visual studio .Net 2003 (VC++).I am using RDC SDK
    OpenReport  function to create report.The report is generating without any fail.But the parameter dialog not invoked though the report is designed with parameter .
    Here is the code snippet i used to generate
    OnInitDialog()
        CoInitialize(NULL);
        IApplicationPtr  m_Application;
        IReportPtr   m_Report;
        HRESULT hr = m_Application.CreateInstance("CrystalRuntime.Application");
        m_Report = m_Application->OpenReport("Sample.rpt");
        m_Viewer.SetReportSource(m_Report);
        m_Viewer.ViewReport();
    It creates report in ActiveX viewer but the parameter dialog not invoked before showing in viewer.
    But in my another project i have used Crystal report 8 and CRPE32 dll(8 version) API PEStartPrintJob
    It invokes parameter dialog automatically before showing report in Viewer.
    Thankyou,
    SatheeshKumar
    Edited by: SatheeshDharmaraj on Mar 18, 2009 12:29 PM

    Please note:
    The RDC is specifically designed around the COM technologies and is intended for use Visual Basic 6 developers; therefore, it is not recommended, nor tested, for use in a .NET application. This limits the support offering for the RDC in a .NET application; however, because COM is a supported technology in .NET the RDC is known to function as expected in a .NET application.
    To support any issue encountered with the RDC in a .NET application, these issues need to be reproducible in a supported COM-based development tool (such as VB6).
    Also, the RDC is a retired technology, no longer shipping in the current version of CR - CR 12.x:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/80bd35e5-c71d-2b10-4593-d09907d95289
    this may have implications to your applications lifecycle as CR XI r2 will be out of support June 10 of this year. See the following for more details:
    Business Objects Product Lifecycles [original link is broken]
    I'd recommend you forget about RDC in .NET and use the CR Assemblies for .NET.
    Nevertheless, if you absolutely must stay with the RDC in .NET, the error suggests that you are either not using any database logon code, or the code is incorrect. To connect the report to a database, you must use the connection properties bag. More information on the connection properties bag is [here|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00635998-751e-2b10-9cba-f50ee1e4ef81]
    C++ code could look something like this:
    bstrt bstrReportPath("C:
    Documents and Settings
    Mujeeb
    Desktop
    VC++
    RDC_VCPP_CR10
    Report1.rpt";);
    m_Application.CreateInstance("CrystalRuntime.Application.10";);
    m_Report = m_Application-->OpenReport(bstrReportPath, vtTempCopy);
    m_Report-->DiscardSavedData();
    m_Report>Database>Tables>GetItem(1)>ConnectionProperties-->DeleteAll();
    m_Report>Database>Tables>GetItem(1)>ConnectionProperties-->Add("Provider","SQLOLEDB.1";);
    m_Report>Database>Tables>GetItem(1)>ConnectionProperties-->Add("Data Source","10.10.17.30";);
    m_Report>Database>Tables>GetItem(1)>ConnectionProperties-->Add("User ID","sa");
    m_Report>Database>Tables>GetItem(1)>ConnectionProperties-->Add("Password","excellence");
    m_Report>Database>Tables>GetItem(1)>ConnectionProperties-->Add("Database","Northwind");
    m_Report>Database>Verify();
    m_Viewer.SetReportSource(m_Report);
    m_Viewer.ViewReport();
    Now, you do not have to use the deleteAll property and simply log on to the database. Unfortunately only code I have handy for that is as described in the above doc. The code woudl be something like this in VB:
    (ODBC)
    report.database.tables(1).connectionProperties("DSN") = "the DSN"
    report.database.tables(1).connectionProperties("user ID") = "the user ID"
    report.database.tables(1).connectionProperties("database" = "the database name"
    report.database.tables(1).connectionProperties("password") = "the password"
    (if using OLE DB)
    report.database.tables(1).connectionProperties("data source") = "the server name"
    report.database.tables(1).connectionProperties("user ID") = "the user ID"
    report.database.tables(1).connectionProperties("initial catalog") = "the database name"
    report.database.tables(1).connectionProperties("password") = "the password"
    (if using native connection)
    report.database.tables(1).connectionProperties("server:) = "the server name"
    report.database.tables(1).connectionProperties("user ID") = "the user ID"
    report.database.tables(1).connectionProperties("password") = "the password"
    I also recommend searching our notes database for more resources:
    https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=&adv=true
    The downloads section may also contain C++ sample code, but I am not sure if there will be anything that uses the connection properties bag. E.g.; do not use deprecated methods such as
    .LogOnserver, .SetNthTableLogOnInfo, etc.
    Ludek

  • ManagedAccounts.aspx Object not reference to object

    SETUP: 2x SharePoint 2010 Servers (14.0.5130.5002); 1x SQL 2008 R2
    I setup alot of managed accounts (about 10) and had them setup to automatically generate the new passwords.  After doing this operation, i can no longer access the managedaccounts.aspx page.  I get object not referenced to object.  I read
    a bunch of forums that said the farm account shouldn't be set to autogenerate passwords and it will cause the error.  Next, what i did is setup a new AD account with static password and made it the farm account.  I then deleted the old farm account
    using powershell.  However, even after doing this, i am still getting the same error.  Any ideas? (everything else is working in the farm as far as i can tell.
    04/12/2011 10:38:06.44  w3wp.exe (0x197C)                        0x1FB0 SharePoint Foundation        
     Runtime                        tkau Unexpected System.NullReferenceException: Object reference not set to an instance of an object.   
    at Microsoft.SharePoint.ApplicationPages.ManagedAccountsDataSourceView.FillDataTable(DataTable table, DataSourceSelectArguments selectArguments)     at Microsoft.SharePoint.WebControls.DataTableDataSourceView.Select(DataSourceSelectArguments
    selectArguments)     at Microsoft.SharePoint.WebControls.AdministrationDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments)     at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments,
    DataSourceViewSelectCallback callback)     at System.Web.UI.WebControls.DataBoundControl.PerformSelect()     at System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound()     at System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildContro... 
    04/12/2011 10:38:06.44* w3wp.exe (0x197C)                        0x1FB0 SharePoint Foundation        
     Runtime                        tkau Unexpected ...ls()     at System.Web.UI.Control.EnsureChildControls()    
    at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Control.PreRenderRecursiveInternal()    
    at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) a5dbe0de-bab0-48cc-9d99-9c094490a1f1

    Here is another thread about this:
    http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010setup/thread/406f1817-d687-49d7-9691-26e487fb5577
    However, none of suggestions worked for me.  i can't reinstall our staging farm cause we are in the middle of a migration.  I am probbably going to open a case with MS as it doesn't seem like anyone has any idea about the problem.

  • "A technical error during invocation : Could not invoke service reference" Error message while calling a service from BPM

    Hi Experts,
    We are facing a issue while calling a Automated activity from BPM process, the process gets suspended and the BPM logs says "Process XYZ suspended, A technical error during invocation: Could not invoke service reference name fdhueoegghejietyhsjk6886 Component name ABC " We have already checked the mapped service reference and provider system. Gone through the below link, but no help.
    http://http://wiki.scn.sap.com/wiki/display/TechTSG/Sending+a+message+from+SAP+NetWeaver+BPM+process+to+PI+fails+via+automated+activity?original_fqdn=wiki.sdn.sap.com
    Any pointers or suggestions to fix up this issue will be highly appreciated. Thanks in advance.
    Regards,
    Mohit Jaju

    The details/ID in NWDS Service Reference must exactly match the SOA configuration. Sometimes it's possible you have changed the reference or the group itself and something changed to become mismatched.
    It's possible they don't match - but the SG itself will show green in NWA since the service exists and responds on the target system. Does the ID listed in the error match what is shown in the NWDS project?
    regards, Nick

Maybe you are looking for

  • Cost Component structure field and table names

    Hey all, i need to code a BADI to push value of one column in cost component structure to another column in ccs for only order settlements.. any idea how to do this?? i am very new to abap please take it easy on ur answer.. i coulndt even find in whi

  • Automatically working out the domain for a cookie

    Hi all           We have a couple of web sites that we want to share cookies between           we have one site www.mysite.com and another, registration.mysite.com           If, when I add a cookie and hardcode the domain to '.mysite.com' everything

  • THE DEATH OF AN iPOD?!??!

    this afternoon.. when i went to turn on my ipod..it didnt respond AT ALL i have tried the "5 R's" nothing works.. i pluged it into my computer (runs on Window XP) and my computer didnt detect it at all.. is it qualified to be returned??!?!?

  • Saplogon.ini: SessManKey

    Hello experts, in my saplogon.ini file I've found the following section: [SessManKey] Item1=-1 Item2=-1 Item3=-1 Item4=-1 I'm working with SAP-Logon 720 and in snote 99435 is written, that this section is no longer relevant, because Session Manager h

  • Spliting a page

    I'm using acrobat 6 to split a A4 page into two pages selecting Print, then in Page scaling --> tile large pages. It's working except that the original document was black and white, but in the processed one it seems to be with shades of gray, because