Getting exception errors. can't find why

first bit of code im getting an arrayindexoutofbounds exception, i've checked it over and over and the arrays and counters don't go out of bounds... run it by you guys maybe might catch something i missed:
int passNumber = 1;
                    while (passNumber < numRecordsResult)
                         int a = 0;
                         while (a < numRecordsResult)
                              if (bestLift[a] < bestLift[a + 1])
                                   int temp = bestLift[a];
                                   bestLift[a] = bestLift[a + 1];
                                   bestLift[a + 1] = temp;
                                   String nameTemp = name[a];
                                   name[a] = name[a + 1];
                                   name[a + 1] = nameTemp;
                              a++;
                         passNumber++;
                    }if that looks good, the arrays are created in this bit of code which is alse getting a numberformatexception, i think it's trying to parse a white space into an integer but i've checked over and over and looks good, run that by too to see if you can catch somethin.
int numRecordsResult = (int)(raf.length() / RECORD_SIZE);
                    String name[] = new String[numRecordsResult];
                    int bestLift[] = new int[numRecordsResult];
                    int arraySorted[] = new int[numRecordsResult];
                    int madeOneRank = 0;
                    int madeTwoRank = 0;
                    int madeThreeRank = 0;
                    String madeOneReader = " ";
                    String madeTwoReader = " ";
                    String madeThreeReader = " ";
                    int indexer = 0;
                    int x = 1;
                    while (x < numRecordsResult)
                         raf.seek((x - 1) * RECORD_SIZE);
                         name[x] = Utils.readString(raf, NAME_SIZE);
                         // arrayalize if time permits
                         raf.seek((RECORD_SIZE * (x-1)) + ((NAME_SIZE + WEIGHT_ONE) * 2));
                         madeOneReader = Utils.readString(raf, MADE_ONE);
                         indexer = madeOneReader.indexOf(" ") - 1;
                         madeOneRank = Integer.parseInt(madeOneReader.substring(0, indexer));
                         raf.seek((RECORD_SIZE * (x-1)) + ((NAME_SIZE + WEIGHT_ONE + MADE_ONE +
                              WEIGHT_TWO) * 2));
                         madeTwoReader = Utils.readString(raf, MADE_TWO);
                         indexer = madeOneReader.indexOf(" ");
                         madeTwoRank = Integer.parseInt(madeTwoReader.substring(0, indexer));
                         raf.seek((RECORD_SIZE * (x-1)) + ((NAME_SIZE + WEIGHT_ONE + MADE_ONE +
                              WEIGHT_TWO + MADE_TWO + WEIGHT_THREE) * 2));
                         madeThreeReader = Utils.readString(raf, MADE_THREE);
                         indexer = madeThreeReader.indexOf(" ");
                         madeThreeRank = Integer.parseInt(madeThreeReader.substring(0, indexer));
                         if (madeOneRank > (madeTwoRank & madeThreeRank))
                              bestLift[x] = madeOneRank;
                         else if (madeTwoRank > madeThreeRank)
                              bestLift[x] = madeTwoRank;
                         else
                              bestLift[x] = madeThreeRank;
                         x++;
                         //numRecordsResult--;
                    }

run by = read thru
see if you can see where my logic is failing...If you get NumberFormatExceptions then one or more of your Integer.parseInt statements are failing. The stacktrace of the exception will tell you which statement failed (it wil give the line where the exception was thrown), and I even think it will tell you what the string was you tried to parse into an int.
You can also add a couple of System.out.println to write the values of the strings you are using to the console. That will help you debug the problem.

Similar Messages

  • Stand-Alone application with LabView 7.0 getting error can't find DAQmx clear task.vi

    I have attempted to create a stand alone vi with the Build Application or Shared Library(dll) in LabVeiw 7.0
    When I put it on another PC to test it I get the error "can't find DAQmx clear task.vi"
    the other PC has Labview 7.0 and DAQmx 8.1 also.
    I believe my problem is in the source tab where you are supposed to add support and dynamic vi's I have search the forums and Ni's data base and have not found a solution.
    Solved!
    Go to Solution.

    Hi LabTech09,
    When you run the executable on the other computer is when you get this error?  Do you have the exact same versions of LabVIEW and DAQmx on both computers?  Does the dialog allow you to navigate to the DAQmx clear task.vi?  If so, you can find these VIs in C:\Program Files\National Instruments\LabVIEW 7.0\vi.lib\DAQmx\configure\task.llb.  Does the executable work on the development machine (the machine it was compiled on)?
    Regards,
    Jim Schwartz

  • OWB 11gR2 - Internal ERROR: Can not find the ACL containter

    OWB 11gR2 - Internal ERROR: Can not find the ACL containter
    =======================================
    I am using OWB 11gR2 (11.2.0.1) on Win XP 32 bit. I have 3.23 GB RAM. OWB design center is ver slow on my desktop. We have our OWB repository is on Unix server.
    We applied the patch 10270220.
    We are getting
    Internal ERROR: Can not find the ACL containter for object:CMPPhysicalMap@19654/id=104020/owningFCO=104020/proxyFor=(CMPPhysicalMapGen@19f99ae/id=104020/stname=null/pname=MAPPING_1/lname=MAPPING_1/status=POSTED/committed=true/persistent=true/propsLoaded=true)
    What is happening here?
    Thanks in helping.

    We have a map with 3 sources and 1 target. The 3 sources pass through Joiner then Expression then Target.
    We are getting this error, during deployment. It shows compling for awhile, then through this error.
    Here is the piece from detail window:
    ===========
    at oracle.wh.repos.pdl.security.SecurityPolicyManager.getAccessCharMapOfPrivilegeOwner(SecurityPolicyManager.java:174)
         at oracle.wh.repos.impl.foundation.CMPElement.getAccessCharMapOfPrivilegeOwner(CMPElement.java:2806)
         at oracle.wh.repos.pdl.security.OWBSecurityImpl.hasPrivilege(OWBSecurityImpl.java:914)
         at oracle.wh.repos.pdl.security.OWBSecurityImpl.internalSecurityCheck(OWBSecurityImpl.java:1542)
         at oracle.wh.repos.pdl.security.OWBSecurityImpl.securityCheck(OWBSecurityImpl.java:694)
         at oracle.wh.repos.pdl.security.SecurityModuleImpl.securityCheck(SecurityModuleImpl.java:959)
         at oracle.wh.repos.pdl.security.SecurityModuleImpl.securityCheck(SecurityModuleImpl.java:924)
         at oracle.wh.repos.pdl.dispatcher.EventDispatcherImpl.beforeReadObject(EventDispatcherImpl.java:824)
         at oracle.wh.repos.pdl.foundation.OWBRoot.beforeRead(OWBRoot.java:1785)
         at oracle.wh.repos.owbGen.CMPStringPropertyValueGen.getValue(CMPStringPropertyValueGen.java:217)
         at oracle.wh.repos.impl.properties.CMPStringPropertyValue.getValue(CMPStringPropertyValue.java:117)
         at oracle.wh.repos.impl.extended.PropertyFactory.getStringValue(PropertyFactory.java:440)
         at oracle.wh.repos.impl.extended.CMPWBPrimitiveProperty.rawStringValue(CMPWBPrimitiveProperty.java:260)
         at oracle.wh.repos.sdk.mapping.WBMapHelper.getStringProperty(WBMapHelper.java:716)
         at oracle.wh.repos.sdk.mapping.WBMapHelper.getStringProperty(WBMapHelper.java:733)
         at oracle.wh.repos.sdk.mapping.WBMapHelper.getReferencedLocations(WBMapHelper.java:1361)
         at oracle.wh.service.impl.runtime.EnvironmentUtils.getReferencedLocations(EnvironmentUtils.java:284)
         at oracle.wh.service.impl.runtime.EnvironmentUtils.getReferencedLocations(EnvironmentUtils.java:141)
         at oracle.wh.service.impl.runtime.EnvironmentUtils.getReferencedLocations(EnvironmentUtils.java:135)
         at oracle.wh.service.impl.runtime.RuntimePlatformServiceImpl.getReferencedLocations(RuntimePlatformServiceImpl.java:1238)
         at oracle.wh.ui.runtime.application.WHRuntimeCommandUtil.addConnectorLocations(WHRuntimeCommandUtil.java:477)
         at oracle.wh.ui.runtime.application.WHRuntimeCommandGenerateDeploy.getSingleDeployLocations(WHRuntimeCommandGenerateDeploy.java:3408)
         at oracle.wh.ui.runtime.application.WHRuntimeCommandGenerateDeploy.getLocationsAndNewConnectors(WHRuntimeCommandGenerateDeploy.java:3517)
         at oracle.wh.ui.runtime.application.WHRuntimeCommandGenerateDeploy.doPreDeploymentActions(WHRuntimeCommandGenerateDeploy.java:3224)
         at oracle.wh.ui.runtime.application.WHRuntimeCommandGenerateDeploy._internalDeploy(WHRuntimeCommandGenerateDeploy.java:2420)
         at oracle.wh.ui.runtime.application.WHRuntimeCommandGenerateDeploy.doDeploymentAsynch(WHRuntimeCommandGenerateDeploy.java:2117)
         at oracle.wh.ui.runtime.application.WHRuntimeCommandHandler$1.construct(WHRuntimeCommandHandler.java:1005)
         at oracle.wh.ui.runtime.SwingWorker$2.run(SwingWorker.java:124)
         at java.lang.Thread.run(Thread.java:595)
    ===========
    Did anyone receive such errors?

  • I have an iMac G4 PowerPC with OS 10.5.? The OS10.5.8 update failed. Now get blue screen and error-can't find Intel Power Manager. What now??

    I have an iMac G4 PowerPC with OS 10.5.? After deleting 17G of music files to make room on the 74G drive, The iPhoto and iWeb updates seemed to load okay, but the OS 10.5.8 update failed - message opened said the computer encountered an error and must shut down. Now I get the blue screen. Startup with 'V' pressed shows multiple lines saying: error-can't find IntelCPU Power Manager. What now?? I  reset PRAM, I think.....?????

    I am concerned that you might have applied a system updated intended for an Intel iMac, while you have a PPC (non-Intel) iMac. Your PPC OS should not be looking for an "IntelCPU Power Manager."
    Have you tried booting from the 10.5 install DVD/CD and repairing the hard drive, plus repairing permissions?
    If you done the repairs mentioned above, and your problem still persists, you can also try doing a safe boot. (see http://support.apple.com/kb/HT1455 ) Then, if none of these things worked, if I were in your shoes (it's hard to diagnose these things without being there in person) I would first check that there is adequate disk space, then I would boot from the 10.5 DVD/CD install disk and reinstall the operating system. There is an option to do an archive and install preserving user files/settings, that would be the option you want, as it will save your files but install a new OS. Make sure you have a good backup of your files first. If you do not have one, use "target mode" to copy all your files before embarking on an new OS install. Assuming that you do succeed with this install, then use Software Update to get the right updates for your iMac.

  • I frequently get the "Firefox can't find the server" error message.

    I frequently get the "Firefox can't find the server" error message. Refreshing the page normally causes the page to load, although sometimes it takes more than one try.
    I have checked my connection settings. IPv6 and DNS prefetching are disabled, as recommended by this article: https://support.mozilla.com/en-US/kb/Firefox%20cannot%20load%20websites%20but%20other%20programs%20can?s=Firefox+can%27t+find+the+server+at&r=1&as=s

    A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.com/kb/Server+not+found
    *https://support.mozilla.com/kb/Firewalls

  • Nternal ERROR: Can not find the ACL containter for object ...

    We are using OWB 10.2.0.3. We tried to introduce two basic roles to prevent user A from accessing certain parts of our project. Somehow (I cannot really say how) we ended up in the error message below whenever we want to modify the security properties of an object.
    Neither in metalink nor in the oracle forums I could find any hint about that error.
    Can anyone help??
    Thanks in advance, Maren
    Internal ERROR: Can not find the ACL containter for object:CMPMap@1ba11bc/id=2023180/owningFCO=2023180/proxyFor=(CMPMapGen@1a4d5c6/id=2023180/stname=CMPBatchMap/pname=LOAD_XML/lname=LOAD_XML/status=CLEAN/committed=true/persistent=true/propsLoaded=false)
    Internal ERROR: Can not find the ACL containter for object:CMPMap@1ba11bc/id=2023180/owningFCO=2023180/proxyFor=(CMPMapGen@1a4d5c6/id=2023180/stname=CMPBatchMap/pname=LOAD_XML/lname=LOAD_XML/status=CLEAN/committed=true/persistent=true/propsLoaded=false)
         at oracle.wh.repos.pdl.security.SecurityPolicyManager.getAccessCharMapOfPrivilegeOwner(SecurityPolicyManager.java:166)
         at oracle.wh.repos.impl.foundation.CMPElement.getAccessCharMapOfPrivilegeOwner(CMPElement.java:2743)
         at oracle.wh.repos.pdl.security.OWBSecurityImpl.hasPrivilege(OWBSecurityImpl.java:820)
         at oracle.wh.repos.pdl.security.OWBSecurityImpl.internalSecurityCheck(OWBSecurityImpl.java:1449)
         at oracle.wh.repos.pdl.security.OWBSecurityImpl.securityCheck(OWBSecurityImpl.java:649)
         at oracle.wh.repos.pdl.security.SecurityModuleImpl.securityCheck(SecurityModuleImpl.java:660)
         at oracle.wh.repos.pdl.security.SecurityModuleImpl.securityCheck(SecurityModuleImpl.java:623)
         at oracle.wh.ui.common.WhSecurityHelper.securityCheck(WhSecurityHelper.java:112)
         at oracle.wh.ui.console.commands.EditObjectCmd.performAction(EditObjectCmd.java:107)
         at oracle.wh.ui.console.commands.TreeMenuHandler$1.run(TreeMenuHandler.java:188)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

    Hi Maren
    Like you I get this error and do not know what steps caused it.In my scenario I have some mappings that give the error and some that do not - the repository user gets the error but the repository owner does not.
    Thinking back over the last number of months (as this project contains 7-8 months od work - we do have exports of the project) I think the ones giving the error are those that perhaps were copied from another to start the coding but I cannot be sure.
    I have read the metalink note mentioned above as well as the the queries posted by Oleg and yourself. The queries posted are slightly different, one has a where clause
    fco.classname = 'CMPACLContainer' (Maren's)
    and the other
    fco.classname='CMPMap' (Oleg's).
    Was this intentional Maren on your behalf for your problem to be fixed?
    We are using 10.2.0.3.33 OWB client and 10.2.0.3.0 OWB repository.
    Thanks
    Edwin

  • I cant access firefox, everytime i try i get that windows can't find the file, i tried redownloading it but it still gave me the same message?

    i cant access firefox, everytime i try i get that windows can't find the file, i tried downloading it again but it still gave me the same message. the problem has nothign to do with my internet because it wonks on internet explorer and everythign is fine, my computer just can't access firefox for some reason. i tried uninstallign ti adn then installing it again, but that didnt work, i tried installing a different version and it still didnt work.
    okay the exact message is" Windows cannot find 'C:\Program Files\Mozilla Forefox 4.0 Beta 1\firefox.exe'. make sure you typed the name correctly, and then try again. To search for a file, click the Start button, and then click Search.
    Nothing happens after i install is the "Launch Firefox now" checkbox set, the same message comes up.
    i usually start firefox from the shortcut i have on my desktop but when this happened i thought that the shortcut is the problem, but i went to the Mozilla firefox folder and tried it from there, but it didnt work. i also tried downloading different versions of firefox but that didnt work either.

    can you tell me the solution to "windows cant find firefox" error. thanks.

  • Error -Can't find bundle ,locale en_US

    hi all,
    Im plementing custom reports for finding the empty folder
    in the repository..i had implemented successfully..
    i had encounted the following error while running the report..
    Error: Can't find bundle for base name com.sap.km.reporting.SimpleReport, locale en_US..
    could any one provide me a remedy for ths..
    Regards,
    Vinoth

    hi Detlev,
    im getting ths result as report in the output result of simple report..
    hi all,
    im implementing a report for reporting empty filder..
    i got an error while running the report in portal.
    i got this error..
    unexpected error accessing report com.sap.km.reporting.SimpleReport@641ffc: java.util.MissingResourceException: Can't find bundle for base name com.sap.km.reporting.SimpleReport, locale en_IE
    at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:839)
    at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:729)
    at java.util.ResourceBundle.getBundle(ResourceBundle.java:579)
    at com.sap.km.reporting.SimpleReport.getDisplayName(SimpleReport.java:68)
    at com.sapportals.wcm.repository.manager.reporting.monitor.ReportComponent$ReportWrapper.getDisplayName(ReportComponent.java:294)
    at com.sapportals.wcm.repository.manager.reporting.types.RPReportHandler$DisplayNameGen.getProperty(RPReportHandler.java:160)
    at com.sapportals.wcm.repository.manager.reporting.types.RPPropHandler.getProperties(RPPropHandler.java:110)
    at com.sapportals.wcm.repository.manager.reporting.types.RPPropHandler.getProperties(RPPropHandler.java:143)
    at com.sapportals.wcm.repository.manager.reporting.RPPropertyManager.getProperties(RPPropertyManager.java:89)
    at com.sapportals.wcm.repository.ResourceImpl.internalGetProperties(ResourceImpl.java:3699)
    at com.sapportals.wcm.repository.ResourceImpl.internalGetPropertiesExtended(ResourceImpl.java:1343)
    at com.sapportals.wcm.repository.ResourceImpl.getProperties(ResourceImpl.java:1308)
    at com.sapportals.wcm.repository.CollectionImpl.getChildren(CollectionImpl.java:383)
    at com.sapportals.wcm.service.resourcelistfilter.cm.ResourceListFilter.getChildren(ResourceListFilter.java:425)
    at com.sapportals.wcm.rendering.collection.cm.InternalTree.getChildren(InternalTree.java:1868)
    at com.sapportals.wcm.rendering.collection.cm.InternalTree.getFirstCallOpenResources(InternalTree.java:1142)
    at com.sapportals.wcm.rendering.collection.cm.InternalTree.getFirstCallOpenResources(InternalTree.java:1172)
    at com.sapportals.wcm.rendering.collection.cm.InternalTree.buildNewTree(InternalTree.java:704)
    at com.sapportals.wcm.rendering.collection.cm.InternalTree.renderTree(InternalTree.java:852)
    at com.sapportals.wcm.rendering.collection.cm.InternalTree.render(InternalTree.java:546)
    at com.sapportals.wcm.rendering.collection.cm.InternalTree.buildContent(InternalTree.java:2295)
    at com.sapportals.wcm.control.util.components.base.BaseCompositeComponent.buildComposition(BaseCompositeComponent.java:196)
    at com.sapportals.htmlb.AbstractCompositeComponent.preRender(AbstractCompositeComponent.java:33)
    at com.sapportals.htmlb.Container.preRender(Container.java:118)
    at com.sapportals.htmlb.Container.preRender(Container.java:118)
    at com.sapportals.htmlb.Container.preRender(Container.java:118)
    at com.sapportals.htmlb.Container.preRender(Container.java:118)
    at com.sapportals.htmlb.AbstractCompositeComponent.preRender(AbstractCompositeComponent.java:34)
    at com.sapportals.htmlb.Container.preRender(Container.java:118)
    at com.sapportals.htmlb.Container.preRender(Container.java:118)
    at com.sapportals.htmlb.Container.preRender(Container.java:118)
    at com.sapportals.portal.htmlb.PrtContext.render(PrtContext.java:413)
    at com.sapportals.htmlb.page.DynPage.doOutput(DynPage.java:237)
    at com.sapportals.wcm.portal.component.base.KMControllerDynPage.doOutput(KMControllerDynPage.java:130)
    at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:129)
    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
    at com.sapportals.wcm.portal.component.base.ControllerComponent.doContent(ControllerComponent.java:73)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)
    i think ths s bcoz i dnt hav any proprty file inside Portal-inf/private..
    is it bcoz of ths?
    if it is so could u tel me how to create that one..
    Regards,
    Vinoth

  • ERROR:can't find native registration class while J2EE Engine startup

    Hi
    Iam trying to integrate a Java Profiler application which contains a native library(namely ProfilerDLL.dll) with the J2EE Server.Here are the steps which i had followed
    1. Added the following Java option through the config tool of WebAS.<b> -XrunProfilerDLL</b>.
    2.Restarted the server.
    Server does not starup and throws a error with exit
    code -1 .
    Here is the log
    JStartupIReadSection: read node properties [ID7217950]
    -> node name       : server0
    -> node type       : server
    -> java path       : C:\j2sdk1.4.2_04
    -> java parameters : -Djava.security.policy=./java.policy -Djava.security.egd=file:/dev/urandom -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy -Djava.library.path=/usr/sap/J2E/JC00/j2ee/os_libs -XX:NewSize=32m -XX:MaxNewSize=64m -XX:NewRatio=3 -XX:+DisableExplicitGC -XX:MaxPermSize=128m -XrunProfilerDLL:1 -Xbootclasspath/a:jakarta-regexp.jar;profiler_trace.jar;commons-lang.jar -D__PROFILER_PACKAGE_FILTER=__A__com.sap.engine.boot.Start;__M__sun.;__M__com.sun.;__M__java.;__M__javax.; -D__PROFILER_TIMING_METHOD=1 -Drdbms.driverLocation=C:/sapdb/programs/runtime/jar/sapdbc.jar -Dsys.global.dir=C:/usr/sap/J2E/SYS/global/
    -> java vm version : 1.4.2_04-b05
    -> java vm vendor  : Java HotSpot(TM) Server VM (Sun Microsystems Inc.)
    -> java vm type    : server
    -> java vm cpu     : x86
    -> heap size       : 256M
    -> init heap size  : 128M
    -> root path       : C:\usr\sap\J2E\JC00\j2ee\cluster\server0
    -> class path      : .\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.
    -> OS libs path    : C:\usr\sap\J2E\JC00\j2ee\os_libs
    -> main class      : com.sap.engine.boot.Start
    -> framework class : com.sap.bc.proj.jstartup.JStartupFramework
    -> registr. class  : com.sap.bc.proj.jstartup.JStartupNatives
    -> framework path  : C:\usr\sap\J2E\JC00\j2ee\os_libs\jstartup.jar
    -> shutdown class  : com.sap.engine.boot.Start
    -> parameters      :
    -> debuggable      : no
    -> debug mode      : no
    -> debug port      : 1024
    -> shutdown timeout: 120000
    [Thr 420] JLaunchISetDebugMode: set debug mode [no]
    [Thr 5780] JLaunchIStartFunc: Thread 5780 started as Java VM thread.
    JHVM_LoadJavaVM: VM Arguments of node [server0]
    -> stack   : 262144 Bytes
    -> arg[  0]: exit
    -> arg[  1]: abort
    -> arg[  2]: -Denv.class.path=;C:\D\vim\Intellisense\javaft.jar;C:\j2sdk1.4.2_04\lib\tools.jar
    -> arg[  3]: -Djava.security.policy=./java.policy
    -> arg[  4]: -Djava.security.egd=file:/dev/urandom
    -> arg[  5]: -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy
    -> arg[  6]: -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy
    -> arg[  7]: -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy
    -> arg[  8]: -Djava.library.path=/usr/sap/J2E/JC00/j2ee/os_libs
    -> arg[  9]: -XX:NewSize=32m
    -> arg[ 10]: -XX:MaxNewSize=64m
    -> arg[ 11]: -XX:NewRatio=3
    -> arg[ 12]: -XX:+DisableExplicitGC
    -> arg[ 13]: -XX:MaxPermSize=128m
    -> arg[ 14]: -XrunProfilerDLL:1
    -> arg[ 15]: -Xbootclasspath/a:jakarta-regexp.jar;profiler_trace.jar;commons-lang.jar
    -> arg[ 16]: -D__PROFILER_PACKAGE_FILTER=__A__com.sap.engine.boot.Start;__M__sun.;__M__com.sun.;__M__java.;__M__javax.;
    -> arg[ 17]: -D__PROFILER_TIMING_METHOD=1
    -> arg[ 18]: -Drdbms.driverLocation=C:/sapdb/programs/runtime/jar/sapdbc.jar
    -> arg[ 19]: -Dsys.global.dir=C:/usr/sap/J2E/SYS/global/
    -> arg[ 20]: -Dsys.global.dir=C:\usr\sap\J2E\SYS\global
    -> arg[ 21]: -Dapplication.home=C:\usr\sap\J2E\JC00\j2ee\os_libs
    -> arg[ 22]: -Djava.class.path=C:\usr\sap\J2E\JC00\j2ee\os_libs\jstartup.jar;.\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.
    -> arg[ 23]: -Djava.library.path=C:\j2sdk1.4.2_04\jre\bin\server;C:\j2sdk1.4.2_04\jre\bin;C:\j2sdk1.4.2_04\bin;C:\usr\sap\J2E\JC00\j2ee\os_libs;c:\sapdb\programs\bin;c:\sapdb\programs\pgm;C:\PROGRA1\SECUDE\SECUDE1;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Symantec\pcAnywhere\;c:\progra~1\ixos\bin;C:\j2sdk1.4.2_04\bin;C:\j2sdk1.4.2_04\jre\bin\server;C:\j2sdk1.4.2_04\lib\tools.jar;C:\Program Files\JProbe Profiler 5.2.1\bin;C:\usr\sap\J2E\JC00\exe;C:\usr\sap\sherlok;C:\cygwin\bin;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\JVMStatAnalysis\jvmstat\bat;;C:\usr\sap\J2E\SCS01\exe;C:\usr\sap\J2E\JC00\exe;C:\usr\sap\J2E\SYS\exe\run
    -> arg[ 24]: -Dmemory.manager=256M
    -> arg[ 25]: -Xmx256M
    -> arg[ 26]: -Xms128M
    -> arg[ 27]: -DLoadBalanceRestricted=no
    -> arg[ 28]: -Djstartup.mode=JCONTROL
    -> arg[ 29]: -Djstartup.ownProcessId=1740
    -> arg[ 30]: -Djstartup.ownHardwareId=I1361390454
    -> arg[ 31]: -Djstartup.whoami=server
    -> arg[ 32]: -Djstartup.debuggable=no
    -> arg[ 33]: -DSAPINFO=J2E_00_server
    -> arg[ 34]: -DSAPSTARTUP=1
    -> arg[ 35]: -DSAPSYSTEM=00
    -> arg[ 36]: -DSAPSYSTEMNAME=J2E
    -> arg[ 37]: -DSAPMYNAME=INLD50035793_J2E_00
    -> arg[ 38]: -DSAPDBHOST=
    -> arg[ 39]: -Dj2ee.dbhost=INLD50035793
    [Thr 5780] Wed Sep 22 15:30:06 2004
    [Thr 5780] JHVM_LoadJavaVM: Java VM created OK.
    <u>[Thr 5780] ***ERROR => can't find native registration class [com.sap.bc.proj.jstartup.JStartupNatives] [jhvmxx.c     417]
    [Thr 5780] JLaunchCloseProgram: good bye (exitcode=-1)</u>
    Any ideas how to fix this problem?
    Thanks
    S.Shylaja

    Btw: I get the warning starting IIS - It seems to me that IIS tries to load Tomcat on-the-fly. The Tomcat load the fails and IIS continues to load successfully.
    The beginning of the IIS Event log outputs this:
    Apache Jakarta Connector2, Information, Info: [jk_vm_default.c (340)]: vm.detach() ok
    Apache Jakarta Connector2, Warning, Error: [jk_worker_jni.c (308)]: Can't find class org/apache/jk/apr/AprImpl
    Apache Jakarta Connector2, Information, Info: [jk_worker_jni.c (297)]: Loaded org/apache/jk/apr/TomcatStarter
    Apache Jakarta Connector2, None, Debug: [jk_vm_default.c (302)]: vm.attach() allready attached
    Apache Jakarta Connector2, Information, Info: [jk_worker_jni.c (252)]: jni.validate() class= org/apache/jk/apr/TomcatStarter
    Apache Jakarta Connector2, Information, Info: [jk_vm_default.c (607)]: vm.open2() done
    Apache Jakarta Connector2, Information, Info: [jk_vm_default.c (500)]: vm.init(): Jni lib: C:\wwwapps\j2sdk1.4.2_01\jre\bin\client\jvm.dll
    /watson

  • Error: can't find libjava.so

    First the facts:
    1. I can use my java and javac tool from anywhere on the tree.
    2. My compilation works without a problem also the running of java classes.
    3. Every time I try to install a program from a copmany called Navini for Solaris.
    #./install.bin
    Preparing to install . . .
    Extracting the JRE from the installer archive. . .
    Unpacking the JRE . . .
    Extracting the installation resources from the installer archive . . .
    Configuring the installer for this system's environment. . .
    Launching installer. . .
    Error: can't find libjava.so.
    This is the error I get. I tried puting the APPHOME, and JREHOME variables to what they be. I look for the link dependencies and all are correct.
    Any help will be appreciated.
    Thanks,
    Georgios

    Hello Georgios,
    I would suggest that you repost on one of the <b>Java Forums</b>.
    EDIT: Using <b>'Error: can't find libjava.so' +Solaris</b> for a google search found the following website that may give a hint.<br />
    http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id =tn_18347
    Michael

  • TS3694 when restoring my iphone i get an error code of 1015 , why is this and how do i restore my phone as now its stuck in recovery mode ?

    when restoring my iphone i get an error code of 1015 , why is this and how do i restore my phone as now its stuck in recovery mode ?

    Errors related to downgrading iOS
    The required resource cannot be found: This alert message occurs when your device has a newer version of iOS than what is available in iTunes. When troubleshooting a device that presents this alert message, go to Settings > General > About and check the version of iOS on the device. If it is newer than the latest released iOS version, the device may have a prerelease developer version of iOS installed. Installing an older version of iOS over a newer version is not supported.
    Error 1015: This error is typically caused by attempts to downgrade the iPhone, iPad, or iPod touch's software. This can occur when you attempt to restore using an older .ipsw file. Downgrading to a previous version is not supported. To resolve this issue, attempt to restore with the latest iPhone, iPad, or iPod touch software available from Apple. This error can also occur when an unauthorized modification of the iOS has occurred and you are now trying to restore to an authorized, default state.

  • Error: Can't find Class

    Hi there,
    I have added an external library (jtom) to my project. I get this runtime error when running my midlet:
    Error: Can't find Class jtom.service.JTOMException.
    When I extract the contents of the library(jtom), I can see that the class (jtom.service.JTOMException) exists. I can also see this class in myProject>>Build>>compiled folder.
    I'm using Netbeans Mobility 5.5
    Please Assist,
    Pheks

    Can you please post the solution, I'm having similar problem.
    I set the classpath before compiling the program
    export CLASSPATH=/usr/java/lib/classes.zip:/oracle/product/8.1.6/demo/lib/classes111.zip
    When I try to run the program at the command prompt
    $ java JdbcTest
    I am getting error message "Can't find class JdbcTest"
    When tried
    $ java -classpath . JdbcTest
    I was getting different error message
    java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver at JdbcTest.main(Compiled Code)
    Any help is appreiated
    Thanks
    SJ

  • Getting the error "Windows cannot find '-Xmx128m' "

    Hi all,
    When I try to I execute workbench.cmd, downloaded with OracleR TopLink 10g Release 3 (10.1.3), I am getting the error "Windows cannot find '-Xmx128m' .Make sure that you typed the name correctly...." .Further, my application is based on Java Swing and not a web application.
    I made the following changes in the <TOPLINK_HOME>/bin/workbench.cmd file :
    a) Set the 'JAVA_HOME' to the JDK path, same as that given in the
    Environment Variables setting.
    b) Set 'DRIVER_CLASSPATH' to point to
    <TOPLINK_HOME>/jlib/classes12.jar.
    My System configuration is as follows :-
    Operating System : WindowsXP
    JDK Version : JDK1.4.1
    Data Base Client : Oracle9i
    Data Base Server: Oracle8i
    Can anyone please suggest any solution for this problem.I 'll be very thankful.
    Regards,
    Manju

    Have you run across this thread while trying to resolve this problem - How to start Workbench (Toplink 10g) Not sure if it applies to your situation, but thought it might be helpful.
    If this doesn't help, perhaps you can paste the contents of your workbench.cmd file into this thread and we can try to debug the issue further.
    Neil

  • HT4009 Unfortunately, I keep getting the error "can not connect to iTunes. Code:0" I've tried rebooting, signing out of my apple ID, can someone please help or advise me on what to do? Many thanks, Ryan

    Unfortunately, I keep getting the error "can not connect to iTunes. Code:0" I've tried rebooting, signing out of my apple ID, can someone please help or advise me on what to do? Many thanks, Ryan

    hi i had the same problem today when i updated my itunes to latest version. however, i have just found my songs in the 'itunes media' folder. this was accessed through 'my music'  then keep clicking through until you find itunes media and all my library songs were in there and i then just added these files to my library and all were restored however, i have lost all my playlists but at least my 700 songs are back. very dissapointed with apple that they have let this happen with their latest update, the previous version was miles better than this one . hope you find them. stevo

  • Error: can't find Themes folder

    After opening idvd program, I immediately get the message 'Can't find theme folder'. Instructs to search for theme folder or reinstall idvd. Can this reinstall be done from the Mac Leopard dvd? Custom install with out reinstalling ALL programs?

    Hi
    You could try to find them first and try to put them where iDVD looks for them.
    BUT name of iDVD are not same as version no.
    iDVD 6 = version 6.0.0 - 4
    iDVD'08 = version 7.0.1 -
    iDVD'09 = version 7.0.4 -
    iDVD'11 = version 7.1.0 -
    *iDVD Themes*
    iDVD 1 to 7.0.4
    Root level = Macintosh HD / Library / Application Support / iDVD / Themes
    or
    Macintosh HD / USERS / Your name or login identity / Library / Application Support / iDVD / Installed Themes
    *iDVD 7.1* (from F Shippey )
    The iDVD 7 themes are part of the iDVD 7 application package.
    iDVD - ctrl-click Show content of package
    Resorses/Plug-ins/ - and here they are
    Yours Bengt W

Maybe you are looking for

  • JAVA PACKAGES and JSP

    i Have two problems one is i am designing a website which consists of a form. I am trying to write the Connectiviy and all other insert statements in seperate java packages and include them in JSP files. i Have two java packages one is DBUtil(having

  • How to separate "random" code into their own place. (with source code)

    Hi, i can't seem to figure out how use random to separate the letters and how you would select the individual code from the menu and display it. I know a major part of the code is missing, so any help will be greatly appreciated. Here are my instruct

  • Random Shutdowns (Driving me crazy)

    After owning my MacBook for about a month, just 2 days ago, my MacBook randomly shutdown right after I booted it up. Then when I went to power up again, it immediately shutdown after the ding start-up noise. The shutdowns have gotten more frequent an

  • I need help choosing a monitor! PLEASE HELP!

    I getting a brand new mac mini from ebay and i am deciding between a 15-inch or a 14-inch LCD display. I was just wondering, if both of the displays have a resolution of 1024 x 768, is that the pixel count too? so does that mean the pixels on the 15-

  • N8 slow in terminating call process

    Hi Guys, I'm feel inconvenient  when i try to end the call, it will take around 2 second to go back to  main homescreen. It is troublesome when you want to end a call and straight need to make another new call.  It should be like iphone where it is f