Problem with context root

Hi,
i have a big problem with the context root in jdeveloper 10 g, for this i can´t found a file using "getClass().getResourceAsStream", i don't know why?, i think that is the context root,
the project uses a class WebParametersServlet extends HttpServlet, "WebParameters.SITE_ROOT" read it of a xml.
Please help me.

same app, but with two diff context root ?
A web app packaged in WAR can have only one context root. Package a web app in two different WARs for two different context roots.
  weabpp1.war web.xml
<?xml version='1.0' encoding='UTF-8'?>
<weblogic-web-app>
  <context-root>context-1</context-root>
</weblogic-web-app>
  weabpp2.war web.xml
<?xml version='1.0' encoding='UTF-8'?>
<weblogic-web-app>
  <context-root>context-2</context-root>
</weblogic-web-app>

Similar Messages

  • Problem with conText

    Hello,
    I use Oracle 8i and I have a problem with conText.
    In fact, there are no result even if threre must have.
    I create my table by setting the type of the text row as clob.
    CREATE TABLE artefact(targetTool, keyWord clob);
    Then, I create an index with the command:
    CREATE INDEX ind3 ON artefact(keyWord) INDEXTYPE IS CTX.CONTEXT
    Then, I insert the values as a classic insert.
    And finally, I search with the Query:
    SELECT targetTool FROM artefact WHERE CONTAINS(keyWord,'test')>0;
    My table has a keyWord row which contains the sentence :"This is a test" but there is no result.
    Thank you.
    PS:All the query are done through a Java application
    PS2:Excuse my English, I'm not english.

    Please try to follow the quick start example: http://otn.oracle.com/products/text/x/Samples/Quick_Start/index.html

  • MDS Customization Problem with multiple root components

    Hello,
    Oracle JDeveloper 11.1.1.5.0 and WebLogic Server Version: 10.3.5.0
    I am using Oracle MDS Customization class with the following classes:
    oracle.adf.view.rich.change.MDSDocumentChangeManager
    org.apache.myfaces.trinidad.change.ChangeManager
    org.apache.myfaces.trinidad.change.MoveChildComponentChange
    Based on these classes I am moving UI components
    <af:panelStretchLayout>
    <f:facet name="center">
    <af:region />
    </f:facet>
    </af:panelStretchLayout>
    into another component thanks to the MDS.
    Once I do the movement and persist, I receive the following waning message:
    *<RegionRenderer> <encodeAll> The region component with id: pt1:r1:0:pt2:r1:0:r1 has detected a page fragment with multiple root components. Fragments with more than one root component may not display correctly in a region and may have a negative impact on performance. It is recommended that you restructure the page fragment to have a single root component.*
    When I run the application in Oracle JDeveloper 11.1.1.5.0, it work fine, but when I deploy it on WebLogic Server Version: 10.3.5.0 it is not working.
    I receive the same warning message on the server and in JDeveloper.
    I think that MDS makes a copy of the components that I move because of that it says me that "a page fragment with multiple root components"
    The problem is not because of duplication any of the tags <af:document> <f:view><f:form> <html> <head> <body>
    After the movement and persistence, I also call the FacesContext to reset its view root with the following code:
    FacesContext context =FacesContext.getCurrentInstance();
    String currentView = context.getViewRoot().getViewId();
    ViewHandler vh = context.getApplication().getViewHandler();
    UIViewRoot x = vh.createView(context, currentView);
    x.setViewId(currentView);
    context.setViewRoot(x);
    The idea is that the entire JSF tree to be rebuild on entering page with aim to clear previously drag and drop settings.
    Do you know how I can overcome the problem on the server WebLogic Server Version: 10.3.5.0?
    This worked on Oracle JDeveloper 11.1.1.3.0 and now the problem is with Oracle JDeveloper 11.1.1.5.0.
    Regards,
    Niki

    Hi,
    what the error means is that you have more than one node under the jsp:root node of the fragment. Say the content of your fragment is
    <af:panelGroupLayout id="pgl1">
    </af:PanelGrouPLayout>
    Then this is okay
    if you have
    <af:panelGroupLayout id="pgl1">
    </af:PanelGrouPLayout>
    <af:panelGroupLayout id="pgl2">
    </af:PanelGrouPLayout>
    or
    <af:panelGroupLayout id="pgl1">
    </af:PanelGrouPLayout>
    <af:commandButton id="cb1"/>
    Then these mean duplicated root components. The JDeveloper IDE flags this as Warnings (Structure Window) when selecting the page fragment
    Frank

  • Problem with Context in mapping

    Hi.
    I  have a big problem with my mapping.
    My input look like this.:
    - <Rec>
    - <raw>
      <Rec_type>B</Rec_type>
      <Record_data>0000340H150000006269 N2007020105070000727001000009000540006599350000000000</Record_data>
      </raw>
    - <raw>
      <Rec_type>C</Rec_type>
      <Record_data>0000350H1500000062690000107074030000610000000060800000004910001080 80620000727001</Record_data>
      </raw>
    - <raw>
      <Rec_type>D</Rec_type>
      <Record_data>0000360H15000000626900001070740000107079030000610000000060800000004920000000727001</Record_data>
      </raw>
    - <raw>
      <Rec_type>D</Rec_type>
      <Record_data>0000370H15000000626900001070740000107432030000000000000000000000000000000000727001</Record_data>
      </raw>
    - <raw>
      <Rec_type>C</Rec_type>
      <Record_data>0000380H1500000062690000115008010004995000000499900000041630001610 83470000727001</Record_data>
      </raw>
    - <raw>
      <Rec_type>C</Rec_type>
      <Record_data>0000390H1500000062690000115008050003997000000400300000033320001660 83470000727001</Record_data>
      </raw>
    - <raw>
      <Rec_type>C</Rec_type>
      <Record_data>0000400H1500000062690000115008030002996000000300000000024980001640 83470000727002</Record_data>
      </raw>
    - <raw>
      <Rec_type>C</Rec_type>
      <Record_data>0000410H1500000062690000115008040003995000000399900000033300001630 83470000727002</Record_data>
      </raw>
    - <raw>
      <Rec_type>C</Rec_type>
      <Record_data>0000420H1500000062690000115483010004850000000480100000040250000300 83110000727002</Record_data>
      </raw>
    - <raw>
      <Rec_type>D</Rec_type>
      <Record_data>0000430H15000000626900001154830000107432010000000000000000000000000000000000727002</Record_data>
      </raw>
    - <raw>
      <Rec_type>D</Rec_type>
      <Record_data>0000440H15000000626900001154830000107079010001453000000144000000011710000000727002</Record_data>
      </raw>
    - <raw>
      <Rec_type>D</Rec_type>
      <Record_data>0000450H15000000626900001154830000115124010003397000000336100000028590000000727002</Record_data>
      </raw>
    - <raw>
      <Rec_type>C</Rec_type>
      <Record_data>0000460H1500000062690000115502020004012000000399900000029470001240 73570000727001</Record_data>
      </raw>
    My target is an iDoc with this structure.:
    IDOC
    - E1OILT1
    - -   xxxx
    - -   xxxx
    - -   E1OILT2
    - -   E1OILT2
    - -   E1OILT2
    - -   E1OILT3
    - -   E1OILT3
    For each B-record I'm going to produce an iDoc.
    My problem is that all "C"-records shall into the first E1OILT3-segment and
    all "D"-records shall into the second E1OILT3-segment.
    It works well with the C-record but not with the D-records.
    D is depend on C, but C dont need to have a D-record.
    C could also have several D-records.
    Don't know if I explained this good enough but i hope  someone could give me an hint whats wrong with my context.
    Thanks

    then i think you need to write some JAVA code to do this.
    Create a User-Defined Function.
    and start using some of the ResultList Methods.
    check the blogs to how to do this.
    it will take you some time beacuse you need to understand the concept of Context if you don't know already.
    there is some methods like "addValue" that create a new Value.
    Regards,
    Roi Grosfeld

  • Problem with context search in iFS

    Hello , here is my problem with iFS.
    We have installation of Oracle 8.1.7 Enterprise edition with interMedia and iFS 1.1 on same server (Windows NT Server 4.0/512 RAM). During install everything went fine.
    I had uploaded about 200 MB files in the iFS (pdf's and html's).
    The problem is when I try to use context based search. If I search for file's name everything is fine, but when I search for a word that is in a file it almost immediately gives mi "0 file(s) found", and I'm sure that there are files that have that word in their body's.
    What can be the problem?
    Any sugestions will be in help.
    Thanks in advance.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by mark_d_Drake ():
    That's the way it works. Content Indexing is not on insert, it occurs when the ctxsrv process runs. See the IntermediaText doc for more information.
    <HR></BLOCKQUOTE>
    Documents's content is stored in the GLOBALINDEXEDBLOB column of the IFSSYS.ODMM_CONTENTSTORE table.
    There is an text index GLOBALINDEXEDBLOB_I built on this column.
    To make the context search possible just update this index using the following command in SQL*Plus:
    SQL> exec ctx_ddl.sync_index('GLOBALINDEXEDBLOB_I');
    If you want this index be updated automatically when new documents are uploaded/changed/deleted in iFS then start the ctxsrv utility on the computer where your Oracle database resides. To do this issue the following command in OS command line:
    ctxsrv -user ctxsys/ctxpwd@db_alias
    just replace here ctxpwd and db_alias with real values you specified during the installation.
    null

  • Newbie:Problems with SCSI root disk

    Hello
    I have periodic problems with no matter what disk I put in my root partition. My Sun has several disks, so I can take another disk not being used and configure it as my new root disk, installing Solaris root on it.
    But when, this way, I replace the disk by another "fresh" disk and reinstall Solaris all goes Ok during some time (days or months) until suddenly I get I/O Errors allways in that disk.
    I use a E250 with Solaris8. The problem also arises with Solaris7.
    If I do a probe-scsi-all at ok prompt I frequently see hardware errors in that disk. All those errors where not present previously when my disk wan't the root.
    What is corrupting my disks a I use them?
    Am I missing something when I put a new disk? Should I change the ID of my previous SCSI disk?
    If so, how?
    Thanks

    Are you using the disks in the same slot? It may be the controller....

  • Problem with Context - calculated Value

    I have a problem with my WebDynPro-Project.
    The Errors which is shown by the NWDS:
    "Web Dynpro Generation: Metadata constraint of Component KeyMappingComponent is violated: CalculatedAttributeProvider "//WebDynpro/Controller:de.vwfsag.keymapping.ui.KeyMappingComponent/CalculatedAttributeProvider:BusinessAttributeDataSprache", Role "Attribute": A minimum of 1 object(s) is required"
    What I've done:
    - changed valueproperties calculated from "true" to "false" and back.
    The problem is that the set und get methods remained after resetting the calculateproperty to "false".
    I've tried several time to switch the property but now I got more remained set and get methods (..._1, ..._2, ...), which I can't delete in the NWDS.
    What I also tried was to change the .wdcontroller"-file of my controller-component, but this file is generated so after a rebuild the ".wdcontroller"-file is still corrupted.
    I think the conclusion should be something to delete these methods or change the calculatedproperty in some files you can't access directly from the NWDS.
    I hope anyone could help me out with this?
    Greetz Christian
    Edited by: christian.zuehlsdorf on Dec 14, 2009 6:24 PM

    Tushar Sinha wrote:Tushar Sinha wrote:Hey Sinha,
    thank you fr your answer!
    >
    > Just try deleting the attribute for which you tried setting the calculated property as true and then false, try repairing your project, reload and build again. Hopefully this should get you rid of the getters and setters.
    That was the first thing I already tried. I deleted the whole context und then rebuild and repair and rebuild... But none of that help.
    >
    > Do, not manually try deleting the getters/setters manually for any attribute as it is autogenerated for an attribute.
    These getters/setters only have part of the configuration with no context-attribute-bind, which in fact seems to be the problem for the build-process.

  • Problem with context binding

    Hi all,
    I have the following problem with my context element.
    I have this structure in my context:
    DynamicText (valueNode)
      Person (valueAttribute)
      SourceRegistration (valueAttribute)
      Persons (valueNode in node DynamicText)
        Persons (valueAttribute in node Persons)
    Now im trying to fill this context data in my code like this:
    IPublicTESTComponent.IDynamicTextElement dynamicText = wdContext.createDynamicTextElement();
    dynamicText.setSourceRegistration("sourceRegistration");
    dynamicText.setPerson("person");
    Collection personList = new ArrayList();
    for (int i=0; i<4; i++) {
      IPersonsElement dynamicPerson = wdContext.createPersonsElement();
      dynamicPerson.setPersons("test person: " +i);
      personList.add(dynamicPerson);
    wdContext.nodePersons().bind(personList);
    wdContext.nodeDynamicText().bind(dynamicText);
    On this code i receive the following fault message:
    com.sap.tc.webdynpro.progmodel.context.ContextException: Node(TESTComponent.DynamicText.Persons): cannot bind or add elements because the node has no valid parent
    How can I bind the persons on this context please?

    Hi
    The problem in the code I see DynamicText node must be supplied before Persons one because it's a parent node.
    Binding the Persons node depends on property "singleton" setted on the node. If 'singleton'==false
    wdContext.nodeDynamicText().bind(dynamicText);
    wdContext.nodeDynamicText().getDynamicTextElementAt(0).nodePersons().bind(personList);
    If 'singleton'==true ensure that 'initializeLeadSelection' property of DynamicText node is TRUE then use
    wdContext.nodeDynamicText().bind(dynamicText);
    wdContext.nodePersons().bind(personList);
    BR
    Sergei

  • Problem with E2E Root Cause analysis in EHP1

    Hi All,
    I'm facing a very strange problem with using the E2E RCA functionality in EHP1. The problem is when I select the systems that I want to analyse and click on a functionality such as change analysis, I get the following error message in SAP GUI:
    Action canceled
    Internet Explorer was unable to link to the Web page you requested. The page might be temporarily unavailable.
    I'm fairly sure that this is a connectivity problem because it only happens on my client machines which are behind the firewall. If I connect to solution manager without going trough the firewall I can access the application. I have checked all firewall logs and it is not blocking anything. I also did a trace using wireshark but could not find anything suspicious.
    Has anybody faced this problem? Any suggestions to resolve the problem?
    Cheers,
    Masoud

    Hi,
    If you have PI system in your landscape, I would strongly recommend to upgrade to SP15.
    Trace monitoring for PI is to be available from SP17 (Not yet released)
    Check [this Link.|http://service.sap.com/e2e].
    Hope this solves your problem.
    Feel free to revert back.
    --Ragu

  • Problems with context-sensitive HTML made from importing FM 10 to RH9

    This worked in October and it doesn’t work now.
    Start with a clean, well-formatted Frame 10 book with multiple chapters.  Chapters, Heading 1, 2 and 3 headings have various FM Markers TopicAlias with ID for calling the help.
    Example of FM marker: ID_HELP_SYSTEM_DEFAULT
    Import FM book to RH 9 –pointed to an AllStyles.fm doc as a template, pagination on the above 4 headings, cross-refs mapped, on the Other Settings page the Context Sensitive Help Marker is set to TopicAlias.
    Import looks spiffy;  great TOC, Index, formatting, links, everything is exactly like I expected. Create chm file help. It looks great too. This part works well IMO.
    My.h file is formatted with Hex number to match the application’s call.
    Example:
    #define ID_HELP_SYSTEM_DEFAULT 0x3F131
    #define ID_HELP_EDITDATASET_TOOLBAR 0x3F132
    Rename my mapping h file to BSSCDefault.h and put in root directory replacing the one RH makes.  [When RoboHelp makes an h file, the numbers it assigns do not match what my application calls for. Changing these is not an option. I have hundreds of mapped IDs.]
    Reopen RH  and view the BSSCDefault. h file from RH. It has magically changed the Hex numbers to 6 digit numbers.
    Example:
    ID_HELP_SYSTEM_DEFAULT              258353      Saving Project Defaults as System Defaults
    ID_HELP_EDITDATASET_TOOLBAR  258354      Editing Datasets Using the Mouse
    The Mapped IDs are blue and are not locked.  My FM TopicAlias Markers are all listed as Map IDs, I have Map#s for them and they point to the correct topic.  The center panel  shows Assign as grayed out. The project that worked in October looked just like this too, I checked.
    Recomplie. Place new chm file in application. It will open from the menu item for Help, it will open from F1 but it will not open from any of the mapped Help buttons.
    I uninstalled/reinstalled RH 9 and tried reimporting/compileing with an unpatched version. No change, still borked.
    There has not been a change in the application; there are no new IDs in this version. I tried the new compiled help in an older version of my application and it will not work. Same behavior.
    Any suggestions? Anyone else have this problem? What am i missing?

    I dont use the settings file, I use a FrameMaker doc as a template. It has all my styles and I set the others before the import. There arent very many.
    But, since you import from Frame, would you look at this and verify?
    Looking at Map File in the Edit Map IDs dialog On the left the panel the Map ID is listed, then the Map # and finally the topic title.
    Do your Topics show a notation at the end?
    Example: Averaging Datasets #CSH_71
    Then on the Topic panel if you find that same topic you see
    Topic symbol -Averaging Datasets   [and the Topic properties show “no map ids for this topic]
    Bookmark symbol -Averaging Dataset#CSH_71 [topic properties show the map id when you select it]
    Bookmark symbol -Averaging Datasets#IX_averaging_datasets
    Bookmark symbol-Averaging Datasets#XREF_25075_Averaging Datasets
    I understand the Index and cross ref markers, but the isolated book mark is odd. You would think the notation would be on the topic
    The chm file from October works in my latest build, and the developers swearz they changed NOTHING in the way it is called. I still have to talk to QM who do the builds just in case.

  • Problems with context in JAXB and ActiveX bridge

    Hello!
    I'm using Java ActiveX Bridge for accesing from Navision to a digital invoice API developed by spanish Industry, Commerce and Tourism Department.
    I successfully executed the invoice creation process from a standalone java application. However, it doesn't work through activex bridge.
    I suspect the problem is probably related to a classloader woe. Here's the first code snippet I used:
      public static void marshal(es.mityc.facturae31.Facturae paramFacturae, String paramString)
        try
          logger.info("Loading context es.mityc.facturae31");
          JAXBContext localJAXBContext = JAXBContext.newInstance("es.mityc.facturae31");
          logger.info("Creating marshaller"); The obtained exception is:
    java.lang.NullPointerException
         at javax.xml.bind.ContextFinder.find(ContextFinder.java:279)
         at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:372)
         at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:337)
         at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:244)
         at es.mityc.facturae.utils.MarshallerUtil.marshal(MarshallerUtil.java:85)
         at com.mailgrafica.navifacturae.Facturae31.firmar(Facturae31.java:3153)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at sun.plugin.javascript.JSInvoke.invoke(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at sun.plugin.javascript.JSClassLoader.invoke(Unknown Source)
         at sun.plugin.com.MethodDispatcher.invoke(Unknown Source)
         at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
         at sun.plugin.com.BeanDispatchImpl.invoke(Unknown Source)Then, I changed code to make sure the context creation method receives a classloader which loads classes from appropiate jar file (Facturae-API.jar):
          URL[] urls = { new URL("file:///c:/Archivos de programa/Java/jre6/axbridge/lib/Facturae-API.jar"),
                    new URL("file:///c:/Archivos de programa/Java/jre6/axbridge/lib/lib/jaxb-api.jar"),
                    new URL("file:///c:/Archivos de programa/Java/jre6/axbridge/lib/lib/jaxb-impl.jar"),
                    new URL("file:///c:/Archivos de programa/Java/jre6/axbridge/lib/lib/jsr173_1.0_api.jar")};
          ClassLoader oldcloader = Thread.currentThread().getContextClassLoader();
          URLClassLoader cloader = new URLClassLoader(urls, oldcloader);
          Thread.currentThread().setContextClassLoader(cloader);
          logger.info("Created URLClassloader");
          logger.info("Loading context es.mityc.facturae31");
          JAXBContext localJAXBContext = JAXBContext.newInstance("es.mityc.facturae31", cloader);
          logger.info("Creating marshaller");
          Marshaller localMarshaller = localJAXBContext.createMarshaller();
          FacturaeNamespacePrefixMapper localFacturaeNamespacePrefixMapper = new FacturaeNamespacePrefixMapper();
          localMarshaller.setProperty("com.sun.xml.bind.namespacePrefixMapper", localFacturaeNamespacePrefixMapper);
          FileOutputStream localFileOutputStream = new FileOutputStream(paramString + ".xsig");
          logger.info("Starting the marshal process");
          System.out.println("Starting the marshal process");
          localMarshaller.marshal(paramFacturae, localFileOutputStream);  // Exception now is produced here.  Now the exception is:
    javax.xml.bind.JAXBException: class es.mityc.facturae31.Facturae nor any of its super class is known to this context.
         at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getBeanInfo(JAXBContextImpl.java:556)
         at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsRoot(XMLSerializer.java:478)
         at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:328)
         at com.sun.xml.bind.v2.runtime.MarshallerImpl.marshal(MarshallerImpl.java:257)
         at javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(AbstractMarshallerImpl.java:75)
         at es.mityc.facturae.utils.MarshallerUtil.marshal(MarshallerUtil.java:92)
         at com.mailgrafica.navifacturae.Facturae31.firmar(Facturae31.java:3153)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at sun.plugin.javascript.JSInvoke.invoke(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at sun.plugin.javascript.JSClassLoader.invoke(Unknown Source)
         at sun.plugin.com.MethodDispatcher.invoke(Unknown Source)
         at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
         at sun.plugin.com.BeanDispatchImpl.invoke(Unknown Source)Could anybody help me? Thanks in advance.

    According problem 1: this is not normal behavior and you could try first to restart Bridge holding down option key to reset the preferences.
    But if you experience this also on the server I don't know if this solutions works. And according to problem 2, you should open a case on Adobe support using the little contact button top right on this page, not many users (including me) of this forum are using a server or know a lot about of that workflow :-(
    You could try a forum search also on the word server (Search for forum only works when you are on the mainpage with al the post for Bridge for some strange reason...)

  • Problem with Context-aware

    Hello,
    I have MSE 3310 ,which is connected toWCS.
    The problem that I can not see the exact location for the devices on the heatmap.
    they told me that they have already registered the Context- aware.
    can you help me please with this.
    What do I need to see the locations of the devices

    Please try to follow the quick start example: http://otn.oracle.com/products/text/x/Samples/Quick_Start/index.html

  • Sun 7120 - problems with resetting root password?

    We have just taken delivery of a Sun 7120 system, did the initial config today no problems, then came to log in to tweak it and it refused my root password. Logged on the serial console with the same password fine, logged out and now it won't let me back in, just says "login incorrect". Have reset the CLR PW jumper on the mainboard, and rebooted and it then comes up in the preboot system, but reports errors about the ILOM. After powering down and removing the jumper, the root password is still there!
    Output on bootup attached below, can anyone help?
    Cheers
    Primary Bootstrap.
    U-Boot 1.1.4
    Custom AST2100 U-Boot 3.0 (Aug 17 2010 - 01:30:05) r58107
    DRAM: 119 MB
    Flash bank 0 at 10000000 has 32MB in 256 sectors (chipSize 1<<25, ratio 1, bufSz
    1024).
    Flash: 32 MB
    VUART1 at port 0x03f8, SerIRQ[4] disabled
    VUART2 at port 0x02f8, SerIRQ[3] disabled
    Protecting U-Boot flash sectors; monitor_base=10040000.
    board_findGpioNum(): ERROR, 'BIOS_TOP_BLOCK_LOCK' does not match any pin.
    board_findGpioNum(): ERROR, 'SP_PECI_ENABLE' does not match any pin.
    H/W: Lynxplus Service Processor; SOC: AST2100 Rev. 02 ('A3')
    PWC_SP_Broken_OD = 0; ARM restart caused by: power-on
    The host is OFF(S5) (hostWantsPwr=0, powerGood=0,
    allowPwrOn=0|0, outOfReset=0, fatalError=0).
    Reset straps=0x8c819180, def. H-PLL=264 MHz, CPU/AHB=2:1, boot CS0# normal spe
    ed
    PCI w/VGA noVBIOS; NOR 38ns/byte; DRAM clock is M-PLL: 264 MHz (DDR2-528)
    DRAM: 128MB data - 8MB VGA, 32-bit noECC, 2 BA 10 CA, CL=4 BL=4 ap=1, 61440 us
    refr
    Board Revision - 8d
    Date: 2011-01-19 (Wednesday) Time: 7:04:21
    Reading FRUID...Valid CRC.
    ethaddr=00:21:28:3D:BD:9A
    eth1addr=00:21:28:3D:BD:9B
    Net: MAC1 PHY not ready faradaynic#0, faradaynic#1
    Enter Diagnostics Mode ['q'uick/'n'ormal(default)/e'x'tended(manufacturing mode)
    ] ..... 0
    Diagnostics Mode - NORMAL
    <DIAGS> Memory Data Bus Test ... PASSED
    <DIAGS> Memory Address Bus Test ... PASSED
    I2C Probe Test - Motherboard
    Bus Device Address Result
    === ============================ ======= ======
    2 Sys FRUID (U3003) 0xA0 PASSED
    2 Power CPLD (U3301) 0x4E PASSED
    2 CPU0 Fault LED's (U3001) 0x40 PASSED
    2 CPU1 Fault LED's (U3002) 0x42 PASSED
    2 PCA9555 (Misc) (U3005) 0x44 PASSED
    2 DIMM IMAX (U3102) 0x12 PASSED
    6 Bank Panel Led's (U2701) 0xC6 PASSED
    6 DS1338(RTC) ( U803) 0xD0 PASSED
    6 Temp Sensor1(LM75) (U3011) 0x90 PASSED
    6 Temp Sensor2(LM75) (U3012) 0x92 PASSED
    6 Temp Sensor3(LM75) (U3010) 0x94 PASSED
    I2C Probe Test - Chassis(2U HYDE24)
    PDB Board
    Bus Device Address Result
    === ============================ ======= ======
    1 PCA9548 Mux (U0202) 0xE0 PASSED
    1 PDB FRUID (U0203) 0xAA PASSED
    1 MAX7313 (U0201) 0x40 PASSED
    1 MAX7315 (U1001) 0x46 PASSED
    Power Supply 0
    BUS Port DEVICE Address Result
    === ==== ==================== ======= ======
    1 0 PS 0 FRUID ( - ) 0xAC PASSED
    1 0 PS 0 CTRL ( - ) 0x7C PASSED
    Power Supply 1
    BUS Port DEVICE Address Result
    === ==== ==================== ======= ======
    1 1 PS 1 FRUID ( - ) 0xAC PASSED
    1 1 PS 1 CTRL ( - ) 0x7C PASSED
    Unified Fan Module
    BUS Port DEVICE Address Result
    === ==== ==================== ======= ======
    1 2 FT 0 FRUID (U0203) 0xAC PASSED
    1 2 FT 0 MAX7313 (U0201) 0x42 PASSED
    1 2 FT 0 ADT7462 (U0202) 0xB8 PASSED
    1 3 FT 1 MAX7313 (U0501) 0x42 PASSED
    1 3 FT 1 ADT7462 (U0502) 0xB8 PASSED
    24 Disk Backplane
    BUS Port DEVICE Address Result
    === ==== ==================== ======= ======
    1 4 BP MAX7313 ( U8) 0x44 PASSED
    1 4 BP FRUID ( U6) 0xAC PASSED
    LSI Daughter Card
    BUS Port DEVICE Address Result
    === ==== ==================== ======= ======
    1 4 EXP FRUID ( U07) 0xA0 PASSED
    1 4 EXP Tmp Sens ( U04) 0x98 PASSED
    1 4 EXP PCA9538 ( U10) 0xE6 PASSED
    1 4 EXP EMP570 ( U05) 0x50 PASSED
    Connector Board
    BUS Port DEVICE Address Result
    === ==== ==================== ======= ======
    1 4 CONN FRUID ( U05) 0xA2 PASSED
    <DIAGS> PHY #0 R/W Test ... PASSED
    <DIAGS> PHY #0 Link Status ... FAILED
    MAC1 PHY not ready <DIAGS> ETHERNET PHY #0, Internal Loopback Test ... RX error
    status = 0xB00905C0
    FAILED
    No data received
    <DIAGS> USB 1.1 Test ... PASSED
    <DIAGS>Access to BIOS Flash ... PASSED
    <DIAGS> Testing PowerCPLD version ... PASSED
    checking for abnormal reboots: 0:0.
    abnormal reboot found -- too long, ignore
    Booting linux in 3 seconds...
    Un-Protect Flash Bank # 1
    flctrl: Recovery U-Boot (r58107) at 0x10040000 is valid (min. r51654).
    flctrl: Current U-Boot is not the main one.
    bootpkg: Not safe to boot ILOM (stat=1). Check Preboot "vers" command,
    then reload ILOM ("net flash") as needed.
    ILOM Pre-boot Menu
    Type "h" and [Enter] for a list of commands, or "?" [Enter] for
    command-line key bindings. Type "h cmd" for summary of 'cmd' command.
    Idle time-out is disabled. Set 'bootretry' to enable it.
    This is Recovery U-Boot. Use "vers all" to check flash images.
    Preboot> vers all
    Main ILOM image at 0x100a0000:
    Service Processor Firmware
    Version = 3.0.9.27, for SP type 52
    Date ='Tue Aug 17 01:54:07 EDT 2010', Build ='r58107'
    Name ='sysbios'
    uboot @0a0000 OK, kernel @102000 OK, root @20d684 OK,
    sysbios @c9b6c4 OK, pwrseq @d51aa2 OK, pbsw @d6096c OK
    coredump @1500000 8192 KiB, persist @1d00000 2048 KiB, params @1f00000 1024
    KiB
    Recovery firmware and data:
    Normal U-Boot at 0x100a0000:
    Date ='Aug 17 2010', Build ='r58107'
    uboot @0a0000 OK
    Recovery U-Boot at 0x10040000:
    Date ='Aug 17 2010', Build ='r58107'
    uboot @040000 OK
    Primary Bootstrap build: r52205
    Permanent environment: not found

    I don't think it is. The jumper you saw is likely the ILOM jumper. The ILOM is different than the BUI(OS) password so they can be reset/changed independently.

  • Problems with square root approximations with loops program

    i'm having some trouble with this program, this loop stuff is confusing me and i know i'm not doing this correctly at all. the expected values in the tester are not matching up with the output. i have tried many variations of the loop in this code even modifying the i parameter in the loop which i guess is considered bad form. nothing seems to work...
    here is what i have for my solution class:
    /** A class that takes the inputted number by the tester and squares it, and
    *  loops guesses when the nextGuess() method is called. The epsilon value is
    *  also inputted by the user, and when the most recent guess returns a value
    *  <= epsilon, then the hasMoreGuesses() method should return false.
    public class RootApproximator
       /** Takes the inputted values from the tester to construct a RootApproximator.
        * @param val the value of the number to be squared and guessed.
        * @param eps the gap in which the approximation is considered acceptable.
         public RootApproximator(double val, double eps)
              value = val;
              square = Math.sqrt(val);
              epsilon = eps;
       /** Uses the algorithm where 1 is the first initial guess of the
        *  square root of the inputted value. The algorithm is defined by
        *  "If X is a guess for a square root of a number, then the average
        *  of X and value/X is a closer approximation.
        *  @return increasingly closer guesses as the method is continually used.
       public double nextGuess()
             final int TRIES = 10000;
             double guess = 1;
              for (double i = 1; i < TRIES; i++)
                   double temp = value / guess;
                   guess = (guess + temp) / 2.0;
              return guess;
       /** Determines if there are more guesses left if the difference
        *  of the square and current guess are not equal to or less than
        *  epsilon.
        *  @return the value of the condition.
       public boolean hasMoreGuesses()
              return (square - guess <= epsilon);
       private double square;
       private double value;
       private double epsilon;
       private double guess;
    here is the tester:
    public class RootApproximatorTester
       public static void main(String[] args)
          double a = 100;
          double epsilon = 1;
          RootApproximator approx = new RootApproximator(a, epsilon);
          System.out.println(approx.nextGuess());
          System.out.println("Expected: 1");
          System.out.println(approx.nextGuess());
          System.out.println("Expected: 50.5");
          while (approx.hasMoreGuesses())
             approx.nextGuess();
          System.out.println(Math.abs(approx.nextGuess() - 10) < epsilon);
          System.out.println("Expected: true");
    and here is the output:
    10.0
    Expected: 1 // not sure why this should be 1, perhaps because it is the first guess.
    10.0
    Expected: 50.5 // (100 + 1) / 2, average of the inputted value and the first guess.
    true
    Expected: true
    i'm new to java this is my first java course and this stuff is frustrating. i'm really clueless as to what to do next, if anyone could please give me some helpful advice i would really appreciate it. thank you all.

    i'm new to java this is my first java course and this
    stuff is frustrating. i'm really clueless as to what
    to do nextMaybe it's because you don't have a strategy for what the program is supposed to do? To me it looks like a numerical scheme for finding the squareroot of a number.
    Say the number you want to squarerroot is called value and that you have an approximation called guess. How do you determine whether guess is good enought?
    Well in hasMoreGuesses you check whether,
    (abs(value-guess*guess) < epsilon)
    The above decides if guess is within epsilon of being the squareroot of value.
    When you calculate the next guess in nextGuess why do you loop so many times? Aren't you supposed to make just one new guess like,
    guess = (guess + value/guess)/2.0
    The above generates a new guess based on the fact that guess and value/guess must be on each side of value so that the average of them must be closer too value.
    Now you can put the two together to a complete algoritm like,
    while (hasMoreGuesses()) {
       nextGuess();
    }In each iteration of the loop a new "guess" of the squareroot is generated and this continues until the guess is a sufficiently close approximation of the squareroot.

  • Problem with context mapping and data flow in a FPM application

    Hi All,
    I am trying to develop an ESS application using FPM. For the same, the requirement is to see the history of an employee in the second view.
    The first view has got just the overview information and the second one has got the detail. So, the records or the fields are the same on both the views.
    As per the FPM guidelines, the Model is residing in the Fc component and the respective Vc components are using the model data accordingly.
    I am executing the model in the Fc component calling the executable method in the interfaceController of the first view and then trying to display the output data of the BAPI in the first view which provides the overview information.This is working fine.
    But when i am trying to map the same output node to the Table UI for the second view, the record size is coming zero and thus no information is available.
    For the above issue, I am again executing the RFC in the InterfaceController of the second view to populate the records, which is incorrect as it is already executed and the data is available for the first view.
    I request you to let me know the correct approach to Context mapping and data flow when using FPM-roadmap. Is their any standard method or approach available to deal with such requirements? Please let me know.
    Thanks in advance.
    Regards
    DK

    Hi Idhaya,
    I model node is available in Fc and the Fc interface controller is being used in the first Vc and the second Vc.
    So the idea is, as the executable method is generated in the Fc, so i have created a custom method to call the executable method in Fc, where the input parameter is getting passed and this custom method is finally getting called is the first Vc.
    So , now my first Vc is ready to call the custom method in Fc and execute the RFC. Once the RFC is executed, the nodes in the Fc should get populated which is the ideal case.
    And as the Fc is used as a component in the second Vc, the same node is available to the UI elements.
    But, when I check the record size for the output node, it is always zero, for the second Vc.
    Regards
    DK

Maybe you are looking for