Error when working with the substring

Hi,
i am getting a error when using a substring
Scenario : from Flat file to IDoc
input = 30 char
output1 = first 10 chars
output2 = last  4 chars
when my input filed has the maximum number of characters say 30 in this case, then my scenerio works fine.
but if my input string has only first 6 chars, remaining all "spaces" . i get a stringindexoutof boundexception, when i post a flat file. Can anyone tell me if we are suppose to handle such conditions differently

Hi,
you could do it like:
> if input.length >= 10 char
> output1 = first 10 chars
> else output1 = input
> if input.length >= 4 chars
> output2 = last 4 chars
> else output2 = input
Regards
Patrick

Similar Messages

  • Unknown Error when working with the GWObject API

    Hello,
    in a given environment, we've ancountered an Exception with the
    Message-Text "An Unknown Error has occured", being thrown in various
    Methods of the Object API. Does anyone know what the reason for these
    Exceptions might be?
    24.11.2009 19:30:16 Error An unknown error occurred.
    at System.RuntimeType.ForwardCallToInvokeMember(Strin g memberName,
    BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData&
    msgData)
    at GroupwareTypeLibrary.DIGWFormattedText.get_PlainTe xt()
    at
    com.vivex.archiveconnector.groupwise.GroupWiseInte rfaces.OAPIGroupWise.FillMessageFields(GWMessage
    gwmsg, Message3 fullmsg, GroupWiseRetrievalSettings Settings,
    GroupWiseRetrievalFilter Filter)
    at
    com.vivex.archiveconnector.groupwise.GroupWiseInte rfaces.OAPIGroupWise.GetMessage(QuickMessage2
    qmsg, GroupWiseRetrievalSettings settings, GWFolder[]
    enclosingFoldersForFiltering)
    at
    com.vivex.archiveconnector.groupwise.GroupWiseInte rfaces.OAPIGroupWise.CollectMessages(ArrayList
    gwmsgs)
    24.11.2009 19:11:41 Error An unknown error occurred.
    at System.RuntimeType.ForwardCallToInvokeMember(Strin g memberName,
    BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData&
    msgData)
    at GroupwareTypeLibrary.DIGWQuickMessage2.get_Message ()
    at
    com.vivex.archiveconnector.groupwise.GroupWiseInte rfaces.OAPIGroupWise.GetMessage(QuickMessage2
    qmsg, GroupWiseRetrievalSettings settings, GWFolder[]
    enclosingFoldersForFiltering)
    at
    com.vivex.archiveconnector.groupwise.GroupWiseInte rfaces.OAPIGroupWise.CollectMessages(ArrayList
    gwmsgs)
    25.11.2009 21:26:30 Error An unknown error occurred.
    at System.RuntimeType.ForwardCallToInvokeMember(Strin g memberName,
    BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData&
    msgData)
    at GroupwareTypeLibrary.DIGWMessages.Add(Object Class, Object Type,
    Object Version)
    at
    com.vivex.archiveconnector.groupwise.GroupWiseInte rfaces.OAPIGroupWise.AddMail(GWMail
    message, Mail5 draftmsg)
    at
    com.vivex.archiveconnector.groupwise.GroupWiseInte rfaces.OAPIGroupWise.AddMessage(GWMessage
    message)
    at
    com.vivex.archiveconnector.groupwise.Agent.Archive Message(GWMessage msg,
    User user, Group group, ArchiveSettings archSettings,
    GroupWiseArchiveFilter arcFilter)
    Best regards, Martin Schmidt.

    That error is too generic.
    It is reported in 100's or places.
    We would need steps to duplicate the problem.
    >>> On Friday, November 27, 2009 at 7:11 AM, Martin
    Schmidt<[email protected]> wrote:
    > Hello,
    >
    > in a given environment, we've ancountered an Exception with the
    > Message‑Text "An Unknown Error has occured", being thrown in various
    > Methods of the Object API. Does anyone know what the reason for these
    > Exceptions might be?
    >
    > 24.11.2009 19:30:16 Error An unknown error occurred.
    > at System.RuntimeType.ForwardCallToInvokeMember(Strin g memberName,
    > BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData&
    > msgData)
    > at GroupwareTypeLibrary.DIGWFormattedText.get_PlainTe xt()
    > at
    >
    com.vivex.archiveconnector.groupwise.GroupWiseInte rfaces.OAPIGroupWise.FillM
    > essageFields(GWMessage
    > gwmsg, Message3 fullmsg, GroupWiseRetrievalSettings Settings,
    > GroupWiseRetrievalFilter Filter)
    > at
    >
    com.vivex.archiveconnector.groupwise.GroupWiseInte rfaces.OAPIGroupWise.GetMe
    > ssage(QuickMessage2
    > qmsg, GroupWiseRetrievalSettings settings, GWFolder[]
    > enclosingFoldersForFiltering)
    > at
    >
    com.vivex.archiveconnector.groupwise.GroupWiseInte rfaces.OAPIGroupWise.Colle
    > ctMessages(ArrayList
    > gwmsgs)
    >
    > 24.11.2009 19:11:41 Error An unknown error occurred.
    > at System.RuntimeType.ForwardCallToInvokeMember(Strin g memberName,
    > BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData&
    > msgData)
    > at GroupwareTypeLibrary.DIGWQuickMessage2.get_Message ()
    > at
    >
    com.vivex.archiveconnector.groupwise.GroupWiseInte rfaces.OAPIGroupWise.GetMe
    > ssage(QuickMessage2
    > qmsg, GroupWiseRetrievalSettings settings, GWFolder[]
    > enclosingFoldersForFiltering)
    > at
    >
    com.vivex.archiveconnector.groupwise.GroupWiseInte rfaces.OAPIGroupWise.Colle
    > ctMessages(ArrayList
    > gwmsgs)
    >
    > 25.11.2009 21:26:30 Error An unknown error occurred.
    > at System.RuntimeType.ForwardCallToInvokeMember(Strin g memberName,
    > BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData&
    > msgData)
    > at GroupwareTypeLibrary.DIGWMessages.Add(Object Class, Object Type,
    > Object Version)
    > at
    >
    com.vivex.archiveconnector.groupwise.GroupWiseInte rfaces.OAPIGroupWise.AddMa
    > il(GWMail
    > message, Mail5 draftmsg)
    > at
    >
    com.vivex.archiveconnector.groupwise.GroupWiseInte rfaces.OAPIGroupWise.AddMe
    > ssage(GWMessage
    > message)
    > at
    > com.vivex.archiveconnector.groupwise.Agent.Archive Message(GWMessage msg,
    > User user, Group group, ArchiveSettings archSettings,
    > GroupWiseArchiveFilter arcFilter)
    >
    > Best regards, Martin Schmidt.

  • Error when working with TableView using JCA

    Hi sdns,
    I am getting an iview rutnime error when working with Tableview using JCA. Here i am putting all my code, go thorugh it and tell me if any error is there.One more thing is Usermappping and all properties are set to system object.
    Now you can throught he code which is followed by error also.
    <u>Java file.</u>
    public class DisplayComponent extends PageProcessorComponent {
         public DynPage getPage() {
              return new DisplayComponentDynPage();
         public static class DisplayComponentDynPage extends JSPDynPage {
              private JCATviewBean bean;
              public void doInitialization() {
                   IPortalComponentProfile profile =
                        ((IPortalComponentRequest) getRequest())
                             .getComponentContext()
                             .getProfile();
                   Object o = profile.getValue("myBean");
                   if (o == null || !(o instanceof JCATviewBean)) {
                        bean = new JCATviewBean();
                        profile.putValue("myBean", bean);
                   } else {
                        bean = (JCATviewBean) o;
                   // fill your bean with data here...
                   IPortalComponentRequest request =
                        (IPortalComponentRequest) this.getRequest();
                   doJca(request);
              public void doProcessAfterInput() throws PageException {
              public void doProcessBeforeOutput() throws PageException {
                   this.setJspName("Report.jsp");
              private IConnection getConnection(
                   IPortalComponentRequest request,
                   String alias)
                   throws Exception {
                   IConnectorGatewayService cgService =
                        (IConnectorGatewayService) PortalRuntime
                             .getRuntimeResources()
                             .getService(
                             IConnectorService.KEY);
                   ConnectionProperties prop =
                        new ConnectionProperties(
                             request.getLocale(),
                             request.getUser());
                   return cgService.getConnection(alias, prop);
              public void doJca(IPortalComponentRequest request) {
                   IConnectionFactory connectionFactory = null;
                   IConnection client = null;
                   String rfm_name = "BAPI_COMPANYCODE_GETLIST";
                   try {
                        try {
                             //       pass the request & system alias
                             //       Change the alias to whatever the alias is for your R/3 system
                             client = getConnection(request, "MyIDES");
                        } catch (Exception e) {
                             System.out.println(
                                  "Couldn't establish a connection with a target system.");
                             return;
    Start Interaction
                        IInteraction interaction = client.createInteractionEx();
                        IInteractionSpec interactionSpec =
                             interaction.getInteractionSpec();
                        interactionSpec.setPropertyValue("Name", rfm_name);
    CCI api only has one datatype: Record
                        RecordFactory recordFactory = interaction.getRecordFactory();
                        MappedRecord importParams =
                             recordFactory.createMappedRecord(
                                  "CONTAINER_OF_IMPORT_PARAMS");
                        IFunctionsMetaData functionsMetaData =
                             client.getFunctionsMetaData();
                        IFunction function = functionsMetaData.getFunction(rfm_name);
                        if (function == null) {
                             System.out.println(
                                  "Couldn't find " + rfm_name + " in a target system.");
                             return;
    How to invoke Function modules
                        System.out.println("Invoking... " + function.getName());
                        MappedRecord exportParams =
                             (MappedRecord) interaction.execute(
                                  interactionSpec,
                                  importParams);
    How to get structure values
                        IRecord exportStructure = (IRecord) exportParams.get("RETURN");
                        String columnOne = exportStructure.getString("TYPE");
                        String columnTwo = exportStructure.getString("CODE");
                        String columnThree = exportStructure.getString("MESSAGE");
                        System.out.println("  RETURN-TYPE    = " + columnOne);
                        System.out.println("  RETURN-CODE    = " + columnTwo);
                        System.out.println("  RETURN-MESSAGE =" + columnThree);
    How to get table values
                        IRecordSet exportTable =
                             (IRecordSet) exportParams.get("COMPANYCODE_LIST");
                        exportTable.beforeFirst();
                        // Moves the cursor before the first row.
                        while (exportTable.next()) {
                             String column_1 = exportTable.getString("COMP_CODE");
                             String column_2 = exportTable.getString("COMP_NAME");
                             System.out.println(
                                  "  COMPANYCODE_LIST-COMP_CODE = " + column_1);
                             System.out.println(
                                  "  COMPANYCODE_LIST-COMP_NAME = " + column_2);
                        //       create the tableview mode in the bean
                        bean.createData(exportTable);
    Closing the connection
                        client.close();
                   } catch (ConnectorException e) {
                        //       app.putValue("error", e);
                        System.out.println("Caught an exception: \n" + e);
                   } catch (Exception e) {
                        System.out.println("Caught an exception: \n" + e);
    <u>Bena file</u>
    package com.sap.JCA.bean;
    import java.util.Vector;
    import com.sapportals.connector.execution.structures.IRecordSet;
    import com.sapportals.htmlb.table.DefaultTableViewModel;
    import com.sapportals.htmlb.table.TableViewModel;
    public class JCATviewBean {
         public DefaultTableViewModel model;
         public TableViewModel getModel() {
         return this.model;
         public void setModel(DefaultTableViewModel model) {
         this.model = model;
         public void createData(IRecordSet table) {
    //       this is your column names
         Vector column = new Vector();
         column.addElement("Company Code");
         column.addElement("Company Name");
    //       all this logic is for the data part.
         Vector rVector = new Vector();
         try {
         table.beforeFirst();
         while (table.next()) {
         Vector data = new Vector();
         data.addElement(table.getString("COMP_CODE"));
         data.addElement(table.getString("COMP_NAME"));
         rVector.addElement(data);
         } catch (Exception e) {
         e.printStackTrace();
    //       this is where you create the model
         this.setModel(new DefaultTableViewModel(rVector, column));
    <b>JSP File:</b>
    <%@ taglib uri="tagLib" prefix="hbj" %>
    <jsp:useBean id="myBean" scope="application" class="com.sap.JCA.bean.JCATviewBean" />
    <hbj:content id="myContext" >
      <hbj:page title="PageTitle">
       <hbj:form id="myFormId" >
       <br>
       <hbj:textView id = "tv1" text = "<b>TableView Example Using JCA</b> <br>"/>
    <hbj:tableView
        id="myTableView1"
        model="myBean.model"
        design="ALTERNATING"
        headerVisible="true"
        footerVisible="true"
        fillUpEmptyRows="true"
        navigationMode="BYLINE"
        selectionMode="MULTISELECT"
        headerText="TableView example1"
        visibleFirstRow="1"
        visibleRowCount="30"
        width="500 px"
        />
       </hbj:form>
      </hbj:page>
    </hbj:content>
    <b>Error when Executing this component:</b><u></u>
      Portal Runtime Error
    <b>An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    com/sapportals/portal/htmlb/page/PageProcessorComponent.
    Exception id: 12:21_28/10/05_0173_94105150
    See the details for the exception ID in the log file</b>  
    If anybody find the error please reply to this post.
    Regards,
    sireesha.

    Thanks for your response Martin,
    I have already seen the log file but im couldn't findout anything from that since it is so long here im putting some part of please see this.if u able to find it clarify me,
    <b>Here the log file:</b>
    1.5#001321FD6213005D0000907100001CB000040419258FBF4E#1130405957843#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler/JobStore#Plain###With in the acquireLockForNextAvailableJob DataStore#
    #1.5#001321FD6213005D0000907200001CB00004041925916735#1130405957953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Acquired the job null#
    #1.5#001321FD6213005D0000907300001CB0000404192591688D#1130405957953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Did not find any job.So, Waiting for sometime for the next job#
    #1.5#001321FD621300650000120E00001CB00004041925C953D7#1130405961625#com.sap.aii.af.sample.adapter.ra.SPIManagedConnectionFactory##com.sap.aii.af.sample.adapter.ra.SPIManagedConnectionFactory.XIManagedConnectionFactoryController.run()######04d7f690469311da8d52001321fd6213#Thread[Thread-114,5,SAPEngine_System_Thread[impl:5]_Group]##0#0#Debug#1#/Applications/ExchangeInfrastructure/AdapterFramework/ThirdPartyRoot/comsap/Server/Adapter Framework#Java###MCF with GUID is running. (,)#3#964bfca0444711dabb51001321fd6213#com.sap.engine.services.deploy.server.ApplicationLoader@1586c77#964bfca0444711dabb51001321fd6213#
    #1.5#001321FD6213005D0000907400001CB000040419275B24FC#1130405987953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###within the infinite of the Scheduler Thread#
    #1.5#001321FD6213005D0000907500001CB000040419275B25D9#1130405987953#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler/JobStore#Plain###With in the acquireLockForNextAvailableJob DataStore#
    #1.5#001321FD6213005D0000907600001CB000040419275B2E27#1130405987953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Acquired the job null#
    #1.5#001321FD6213005D0000907700001CB000040419275B2EFA#1130405987953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Did not find any job.So, Waiting for sometime for the next job#
    #1.5#001321FD6213005D0000907800001CB0000404192924ED59#1130406017953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###within the infinite of the Scheduler Thread#
    #1.5#001321FD6213005D0000907900001CB0000404192924EE36#1130406017953#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler/JobStore#Plain###With in the acquireLockForNextAvailableJob DataStore#
    #1.5#001321FD6213005D0000907A00001CB0000404192924F652#1130406017953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Acquired the job null#
    #1.5#001321FD6213005D0000907B00001CB0000404192924F710#1130406017953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Did not find any job.So, Waiting for sometime for the next job#
    #1.5#001321FD621300650000120F00001CB000040419295CCD8B#1130406021625#com.sap.aii.af.sample.adapter.ra.SPIManagedConnectionFactory##com.sap.aii.af.sample.adapter.ra.SPIManagedConnectionFactory.XIManagedConnectionFactoryController.run()######04d7f690469311da8d52001321fd6213#Thread[Thread-114,5,SAPEngine_System_Thread[impl:5]_Group]##0#0#Debug#1#/Applications/ExchangeInfrastructure/AdapterFramework/ThirdPartyRoot/comsap/Server/Adapter Framework#Java###MCF with GUID is running. (,)#3#964bfca0444711dabb51001321fd6213#com.sap.engine.services.deploy.server.ApplicationLoader@1586c77#964bfca0444711dabb51001321fd6213#
    #1.5#001321FD6213005D0000907C00001CB0000404192AEEB1E2#1130406047953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###within the infinite of the Scheduler Thread#
    #1.5#001321FD6213005D0000907D00001CB0000404192AEEB2C0#1130406047953#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler/JobStore#Plain###With in the acquireLockForNextAvailableJob DataStore#
    #1.5#001321FD6213005D0000907E00001CB0000404192AEEBAD8#1130406047968#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Acquired the job null#
    #1.5#001321FD6213005D0000907F00001CB0000404192AEEBB9E#1130406047968#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Did not find any job.So, Waiting for sometime for the next job#

  • Nexus 1000V. problem when working with the console VMWare

    I have a problem when working with the console VMWare.
    Sometimes it is impossible to connect any of the hypervisor to the guest OS managed by them.
    I get the message: "Unable connect to the MKS: Host address lookup for server <name of the hypervisor> failed: No such host is known."
    This message always appears in conjunction with the reconfiguration of virtual switch: "Reconfigure vNetwork Distributed Switch .... Initiated by Cisco_Nexus_1000V_ ....."
    Upon completion of the reconfiguration, Communication console, with guest OS is restored, or on its own or after a reboot srv-vc.
    In this time, I do not see any message in Nexus 1000v log.
    What is this?
    Thanks in advance.

    Smells of a DNS issue.  Are you sure your ESX hosts are reachable from your client via DNS hostname?  Try pinging them from a command prompt/terminal.  You may have DNS server issues.
    As a temp fix, edit your [windowspath]/system32/etc/drivers/hosts file and manually add the ESX host name and IP, then re-test.
    Regards,
    Robert

  • Getting an error when working with Responsive Design Output: MasterThemeSchema.xml

    When generating a Responsive Design HTML 5 output, I'm getting this error:  "MasterThemeSchema.xml file has invalid data." I am unable to  access the manage layout features now to continue my customizations.  I had imported a customized font before seeing this message. I'm moved the project to my harddrive, where the software is installed, and and still getting it (I know RH doesn't always do well on a network drive).  Any ideas?

    I searched this blog for similar posts and found posts that described similar issues.  I ended up moving my RH project file to my local drive, deleting the masterthemeschema.xml, and replacing it with another masterthemeschema.xml from another project via Windows Explorer.  I will recreate my customizations and hope for the best.  Any ideas on what causes this corruption of the mastertheme schema files in the first place?  Does this masterthemeschema.xml error only occur when working on a network drive and not local?

  • Data incompatibility error when working with objets

    Hi
    I am passing an object to the procedure inside package.
    when i am using for loop it's working fine
    the code is below
    create or replace type emp_obj as
    object(empno number(10),
    ename varchar2(10),
    sal number(10,3));
    create or replace type emp_tab is table of emp_obj;
    CREATE OR REPLACE PACKAGE emp_obj_pkg
    AS
    PROCEDURE emp_ins_proc(p_emp_tab IN emp_tab);
    END emp_obj_pkg;
    CREATE OR REPLACE PACKAGE BODY emp_obj_pkg
    AS
    PROCEDURE emp_ins_proc(p_emp_tab IN emp_tab)
    IS
    BEGIN
         FOR i IN 1..p_emp_tab.count
         LOOP
    INSERT INTO emp VALUES( p_emp_tab(i).empno,p_emp_tab(i).ename,p_emp_tab(i).sal);
         END LOOP;
    END emp_ins_proc;
    END emp_obj_pkg;
    declare
    v_emp_tab emp_tab;
    begin
    select emp_obj(empno,ename,sal) bulk collect into v_emp_tab from emp;
    emp_obj_pkg.emp_ins_proc(v_emp_tab);
    end;
    when i am trying to use the forall in the package it throwing the error data incompatibility error
    the procedure code for the package is
    CREATE OR REPLACE PACKAGE BODY emp_obj_pkg
    AS
    PROCEDURE emp_ins_proc(p_emp_tab IN emp_tab)
    IS
    BEGIN
         FORALL i IN 1..p_emp_tab.count
    INSERT INTO emp VALUES p_emp_tab(i);
    END emp_ins_proc;
    END emp_obj_pkg;
    i got below errors
    ERROR
    PL/SQL: SQL Statement ignored
    PL/SQL: ORA-00932: inconsistent datatypes: expected - got -
    pls help me how to do this with for all
    Thanks & Regards
    Bala Sake

    954925 wrote:
    when i am trying to use the forall in the package it throwing the error data incompatibility errorThe structure following the VALUE clause need to match the structure of the table being inserted into.
    Basic examples of using record structures for inserting data, for object and normal tables.
    SQL> create or replace type TEmployee is object(
      2          emp_id  number,
      3          emp_name varchar2(10),
      4          dept_id number
      5  );
      6  /
    Type created.
    SQL>
    SQL> create or replace type TEmployeeTable is table of TEmployee;
      2  /
    Type created.
    SQL>
    SQL> create table employees of TEmployee(
      2          constraint pk_employees primary key( emp_id )
      3  ) organization index;
    Table created.
    SQL>
    SQL> create or replace procedure EmpInsert( empTable TEmployeeTable ) is
      2  begin
      3          forall i in 1..empTable.Count
      4                  insert into employees values empTable(i);
      5  end;
      6  /
    Procedure created.
    SQL>
    SQL> declare
      2          empArray        TEmployeeTable;
      3  begin
      4          select
      5                  TEmployee( empno, ename, deptno )
      6          bulk collect into
      7                  empArray
      8          from    emp;
      9 
    10          EmpInsert( empArray );
    11  end;
    12  /
    PL/SQL procedure successfully completed.
    SQL> create table employees(
      2          emp_id  number primary key,
      3          emp_name varchar2(10),
      4          dept_id number
      5  ) organization index;
    Table created.
    SQL>
    SQL> declare
      2          cursor c is select  empno, ename, deptno from emp;
      3          type TCursorBuffer is table of c%RowType;
      4          buffer TCursorBuffer;
      5  begin
      6          open c;
      7          loop
      8                  fetch c bulk collect into buffer limit 100;
      9 
    10                  forall i in 1..buffer.Count
    11                          insert into employees values buffer(i);
    12 
    13                  exit when c%NotFound;
    14          end loop;
    15          close c;
    16  end;
    17  /
    PL/SQL procedure successfully completed.
    SQL> Of course, these example do not show how one should code when moving data from one table to another (using native SQL only is by far faster and more scalable).
    However it does show the basics of inserting a structure via the INSERT call in PL/SQL (as oppose to individual variables) - and this is an important consideration as the resulting code is more robust and requires less keystrokes.

  • Error when working with fillin or droplist fields as part ofgrid field

    Hello,
    A customer at Eli Lilly & Co. is experiencing an error when trying to
    change the properties of a gridfield that contains droplists as part of an
    array that is gridded. They get this error when trying to do any
    modification of the grid field.
    Have any of you experienced this? Any insight for resolution? We do have
    a trouble ticket into Forte regarding this but wanted to see if anyone
    else has experienced this. We get this bug in C1 and F2 versions:
    System Error: Unable to allocate resources for object
    &lsquo;dtlArray.status_ind&rsquo; of class &lsquo;qqds_DropList&rsquo;.
    Class: qqsp_systemResourceException with ReasonCode: SP_ER_WINDOWLIMIT
    error#[701,13]
    detected at widget. ThrowResourceException at 1 Last tool statement:
    method cw.load
    error time: thu feb 20 8:47:23.
    Exception occured (locally) on partition &lsquo;Forte_cl0_client&rsquo;,(partition
    Id=BD14F94489D1-11D0-9BEE-06814DBAA77:ox124:0x1,taskid=[BD14F94489D1-11D0-
    9BEE-062814DBAA77-ox1243654 on node p8888 in environment DevEnv_2F2.
    Thanks,
    Peggy Adrian
    [email protected]

    Hi Jason,
    If you have problems with the network this has to be solved.
    I don't think we can have a software working if a cable was unplug ).
    We advice our customer to use citrix servers in case if the latency into network is high (more than 200 ms) and of course in case of loosing packages.
    But I don't think the problem in your case is related to the network.
    It seems in your case it was a problem of send governor.
    This can have problem when the cube and dimension are not syncronize or you have an error in one of dimensions.
    Also can you check the table sgqueue if you have any record there when nobody is sending data?
    If you have records there then you have to delete these records.
    Check also tbl"your application"lock if you have records.
    Regards
    Sorin Radulescu

  • Error Message:  Adobe Presenter has encountered an unexpected error when working with this pres...

    Suddenly, today, three of my colleagues around the US with Presenter 7 licenses can no longer save PowerPoint files or work with Presenter.  All of us successfully created courses last week.
    We all get the "unexpected error" message telling us to "Try saving your work to a new file and restarting PowerPoint.  If the problem persists, consult the Help menu item..."  We get the message even if all we do is type one word on a slide and try to save the file.
    We cannot open the Presenter Help menu... the same error message pops up.
    So now we cannot save a PowerPoint file.  We cannot save a Presenter file.  We cannot record or import audio in Presenter.  No matter what we click on the Presenter toolbar, we get the same error message.  Nothing is working.
    Help!

    The updater will only get you to 7.0.6. 7.0.7 was a major update, that took Presenter from an AS2 application to an AS3 application. I would recomend that you do the update process for 7.0.7, as it is "required" to use with Connect 8.1 and newer. Presentations published wit 7.0.6 and older should still work though.
    The update process for 7.0.7 can be found here: http://helpx.adobe.com/presenter.html
    There is a link to download Product Updates, where you can get the installer for 7.0.7.
    There is also the instructions for upgrading to 7.0.7 as a stand alone application or as part of a Suite.

  • 601 errors when working with DLU

    Hey all,
    I've been running into issues at a single site in a WAN-connected school
    district.
    We have 1 tree with eDirectory 8.7.3.7 on all servers and no errors via
    the health checks, DSREPAIR, etc.
    The bottom line is this:
    If I make a new administrator policy package and enable DLU (under the
    XP policy section) and hit the Properties button, I get the error shown
    in my screenshot here:
    http://www.bndservices.com/novell/dlu1.jpg
    Now this only happens with ZENworks which is why I posted it here
    instead of the eDirectory forums. I can post there if it's recommended
    instead of here but wanted to ask you guys first. Version of ZEN is 6.5.
    I have deleted the policy, recreated, used DSBROWSE -A to remove all old
    entries of the policy... (as I noticed it was left behind on a few
    occasions, even with plenty of time to be cleaned up on its own) This is
    the only site this happens at right now.
    We had one problem with this school in the past where Novell said there
    was an eDirectory problem and had to come in with their programmers
    remotely to fix the issue. I can't help but think it could be a similar
    situation, but we'll see.
    Thanks for any thoughts on this.
    Brian

    I was thinking it could be a timing issue, which is kind of what you
    seem to be describing. Object gets created and then is available for
    editing right away, but errors because it's "not quite all there yet"...
    I do not have file caching enabled on the client. In the past I would
    have thought it was possible, but I make silent installers and package
    them into single-stand-alone executables.
    The zen agent and client32 ones are quite handy. Get the PC up and
    running and then 2 single EXE files install the client and zen agent
    from my USB drive (with reboots in between, of course)
    I use the acu and install all my switches and options via the
    unattend.txt file so I know I won't accidentally forget a setting as
    important as file caching...like i used to :P
    Marcus Breiden wrote:
    > On Tue, 14 Aug 2007 18:44:35 GMT, Brian Binder wrote:
    >
    >> Thanks - I'll post back if necessary. ;)
    >
    > good. the problem with the zensnapins is that when you select an option it
    > will create a new object and links it directly with the package, sometimes
    > the object is created but not there yet.
    >
    > do you have caching enabled on the client32?

  • How do I stop PSE 13 organizer from quitting unexpectedly when working with the PSE editor

    Every time I'm working in the editor I get  the error message "the organizer has quit unexpectedly" I have uninstalled and reinstalled as per chat supports recommendation with no improvement. I have studied the Adobe support information and don't see anyone else having the same issue. Would love to hear from someone who may have an idea for me!  Thanks in advance

    Hi,
    Please give the instructions mentioned in the article: http://helpx.adobe.com/elements-organizer/kb/organizer-crashes-launch-does-not-start.html
    a try.
    Thanks,
    Anwesha

  • Problem occurs when working with the struts and mYsql database

    Hi all,
    I am working on Struts and using database mysql. I am getting this error when i tries to modify the values of jsp page and after modify when i submit a page ,the values are modifying but it is showing this error.
    After modifying the values i am forwarding the controller to the Display page where all records from the databse will be displayed.Please tell me how to solve.this..
    Thanks
    javax.servlet.ServletException: Cannot find bean employees in any scope
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:495)
         at org.apache.jsp.viewEmployee_jsp._jspService(viewEmployee_jsp.java:208)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:92)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:162)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:627)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:306)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:716)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)
    root cause
    javax.servlet.jsp.JspException: Cannot find bean employees in any scope
         at org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:938)
         at org.apache.struts.taglib.logic.IterateTag.doStartTag(IterateTag.java:277)
         at org.apache.jsp.viewEmployee_jsp._jspService(viewEmployee_jsp.java:124)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:92)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:162)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:627)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:306)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:716)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)
    Apache Tomcat/4.1.31

    Hi,
    i think you have got this sample application from Mastering Jakarta Struts book.
    Try the following changes, you can escape from this exception:
    1) In the employeelist.jsp, change the name attribute to "USER instead of "employees" as follows
    <logic:iterate id="employee" name="USER">
    and also <logic:present name="USER"> </logic:present> before and after the iterate tags.
    2)In the EmployeeList Action.java,add the following in the excute method...
              EmployeesActionMapping employeesMapping =
                   (EmployeesActionMapping)mapping;
                   if ( employeesMapping.isLoginRequired() ) {
                        HttpSession session = request.getSession();
                             if ( session.getAttribute("USER") == null ) {
                                  System.out.println("session.getAttribute is NULL");
                                  target = "login";
                             ActionErrors errors = new ActionErrors();
                             errors.add(ActionErrors.GLOBAL_ERROR,
                             new ActionError("errors.login.required"));
                             if (!errors.empty()) {
                             saveErrors(request, errors);
                        }else{
                   session.setAttribute("USER",getEmployees());
    Thanks,
    Shanmu

  • Data Services IDOC Errors when working with a newl Basic Type

    Hello,
    Just wondering if anyone else has encountered an issue similar to the one I am dealing with. We are trying to create business partners in SAP CRM from Data Services via IDOC. We are not using the standard IDOC, but instead we are using a new IDOC type.
    This IDOC type is generated by SAP CRM automatically through a transaction BDFG. This transaction creates a new basic type for an standard IDOC with the additional fields that we have added through the easy enhancement workbench (EEWB).
    The issue that we are having is that when we import the IDOC type into data services and we look at the schema many fields and sub-structures of the IDOC are duplicated. This means that we receive hundreds of errors when we try to validate our data flow. I can delete the duplicated sub structures in my query transformation but then the query transformation and the output schema and the idoc input schema are no longer identical.
    I have searched all over oss and different web forums for a solution but no one else it seems has even encountered this error. If anyone else has had a similar issue and can offer help it would be greatly appreciated.
    Bill

    Issue is resolved.
    After importing the meta data for the IDOC into data services I then proceeded to edit out all of the duplicate structures and fields from the IDOC.
    After making the IDOC structure in data services identical to the structure of the IDOC  in SAP I then proceeded to test this IDOC and it executed successfully.

  • Error when working with Session bean

    HI !!!!
    CAN ANYBODY HELP ME WITH THIS ERROR
    SEE THIS CODE FROM MY CONTROL FILE
    import weblogic.jws.*;
    import weblogic.jws.control.*;
    * @jws:ejb home-jndi-name="com/unisys/comms/jdal/ejb/sql/session/messagestoresb"
    * @editor-info:ejb home="jdalMailbox-ejb.jar" bean="jdalMailbox-ejb.jar"
    public interface MessageStoreSBControl
    extends com.unisys.comms.jdal.ejb.sql.session.messagestoresb.MessageStoreSBHome,
    // home interface
    com.unisys.comms.jdal.ejb.sql.session.messagestoresb.MessageStoreSB,
    // bean interface
    weblogic.jws.control.SessionEJBControl // control interface
    EVERYTHING IS RIGHT HERE BUT I GET AN ERROR
    THE ERROR IS AS FOLLOWS -------
    addMessageStore
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode> SOAP-ENV:JWSError </faultcode>
    <faultstring> Interface interface MessageStoreSBControl does not extend an EJB
    home interface </faultstring>
    <detail>
    <JW-ERR:jwErrorDetail xmlns:JW-ERR="http://www.bea.com/2002/04/jwErrorDetail/">
    weblogic.jws.control.ControlException: Interface interface MessageStoreSBControl
    does not extend an EJB home interface at weblogic.knex.control.EJBControlImpl.<init>(EJBControlImpl.java:94)
    at weblogic.knex.control.SessionEJBControlImpl.<init>(SessionEJBControlImpl.java:24)
    at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:232)
    at weblogic.knex.control.ControlHandler.invoke(ControlHandler.java:255) at MessageStoreSBControl.create(MessageStoreSBControl.ctrl)
    at MessageStoreWS.addMessageStore(MessageStoreWS.jws:40) </JW-ERR:jwErrorDetail>
    </detail>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

    Hi PK,
    Are you able to run the TraderEJBClient.jws EJBControl sample? This is
    also a StatelessSession ejb control sample.
    If you are able to run the sample and the exception occurs only with
    your ejb,, please attach your sample ejb to the newsgroup post.
    Also provide the OS, and Workshop Service pack level you are working
    with.
    Thanks
    Raj Alagumalai
    WebLogic Workshop Support
    "PKRIS" <[email protected]> wrote in news:3ee74564$[email protected]:
    >
    HI !!!!
    CAN ANYBODY HELP ME WITH THIS ERROR
    SEE THIS CODE FROM MY CONTROL FILE
    import weblogic.jws.*;
    import weblogic.jws.control.*;
    * @jws:ejb
    home-jndi-name="com/unisys/comms/jdal/ejb/sql/session/messagestoresb"
    * @editor-info:ejb home="jdalMailbox-ejb.jar"
    bean="jdalMailbox-ejb.jar" */
    public interface MessageStoreSBControl
    extends
    com.unisys.comms.jdal.ejb.sql.session.messagestoresb.MessageSto
    reSBHome,
    // home interface
    com.unisys.comms.jdal.ejb.sql.session.messagestoresb.Me
    ssageStoreSB,
    // bean interface
    weblogic.jws.control.SessionEJBControl // control
    interface
    EVERYTHING IS RIGHT HERE BUT I GET AN ERROR
    THE ERROR IS AS FOLLOWS -------

  • Channel error when working with BlazeDS and JBoss

    I am getting this error... can someone just help me on this front
    this is the mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Script>
    <![CDATA[
    import mx.rpc.events.ResultEvent;
    import mx.controls.Alert;
    import mx.events.ResizeEvent;
    public function showData(evt:ResultEvent):void{
    var data:String = evt.result as String;
    Alert.show(data);
    ]]>
    </mx:Script>
    <mx:RemoteObject id="remoteSend" destination="CreateRpc"
    result="showData(event)" />
    <mx:Button id ="myclick" label="Get Me"
    click="remoteSend.getResults('Priyank')"/>
    </mx:Application>
    =====================================
    remoting-config.xml entry for createrpc
    <destination id="CreateRpc">
    <properties>
    <source>RemoteServiceHandler</source>
    <scope>application</scope>
    </properties>
    <adapter ref="java-object"/>
    </destination>
    ========================== error i get ===============
    [RPC Fault faultString="Send failed"
    faultCode="Client.Error.MessageSend"
    faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed:
    HTTP: Status 404: url: 'http://localhost:9081/biz/messagebroker/amf'"]
    Any solutions

    Ensure the services-config.xml on the running server contains the same
    channel definition as the services-config.xml you point at when you compile
    the Flex application.
    It looks like the application is attempting to use a URL
    ('http://localhost:9081/biz/messagebroker/amf') that the server is not
    listening to (404 not found).
    Hope that helps
    Tom Jordahl

  • Error cannot connect to server or DNS name when working with the SRDemo

    I receive the error cannot connect to server or Dns name when trying to
    display the SRlist.jspx page in the SRDemo. I am using the embedded OC4J server . I tried to using the debugger to trouble shoot the problem but I did not get any information that was useful. The url I am using is http://localhost:8989/SRDemo-UserInterface-context-root/faces/app/SRlist.jspx I also tried using the IP address that didn't work . I really need to get through this demo.

    What about using:
    http://127.0.0.1:8989/SRDemo-UserInterface-context-root/faces/app/SRlist.jspx
    Or disabling any proxy settings your browser might have?

Maybe you are looking for

  • Sony SR7 Mpeg support

    Hi Two question: I Captured footage through a camcorder using Edius and a Canopus capturing card. It saved my file as a .avi on a pc... I now want to open it in FCP but it only gives me sound and no image... When I try to render it it tells me I ned

  • E51 Unable to perform bluetooth operation.

    Hi Team, I am a proud owner of Nokia E51 from last one year,i am facing issue in turning on the bluetooth from past few day . Whenever i try to turn on the bluetooth it gives an error message "Unable to perform bluetooth operation." I tried both soft

  • Problem in understanding literals

    Hi Im learning Java for about a week now and I still dont know what literals are used for. But i have a suggestion: They are used if a method expects a certain simple variable type (e.g. float) and you want to give the number 10 to it. And now you ne

  • Plz help!! array of object (for search)

    i've got few questions of array of object 1-how to search for a price that is greater than 300 in the array of object and how to list all of them? 2- how to search for the smallest price in the array of object, and how to list? can anyone provde a ja

  • Lock/power button doesn't work and phone tries to turn itself off

    So this morning i woke up and for some reason my power/lock button on my iphone 4s doesn't work, but that's not the biggest problem because there are work around's. the real weird thing is that now my phone just decides its going to shut down. It wil