Error setting up RMAN

Ok, I've installed 11g Enterprice to learn.
I got a book for it, by ORACLE - Oracle Database 11g DBA Handbook.
Trying to issue this sql statements to setup RMAN.
I get an error from sql*plus:
SQL> create tablespace rman datafile '+data1'
2 size 125m autoextend on next 50m maxsize 500m;
create tablespace rman datafile '+data1'
ERROR at line 1:
ORA-01119: error in creating database file '+data1'
ORA-17502: ksfdcre:4 Failed to create file +data1
ORA-15001: diskgroup "DATA1" does not exist or is not mounted
ORA-15077: could not locate ASM instance serving a required diskgroup
ORA-29701: unable to connect to Cluster Manager
Need help, newbie.

Either the instructions in that book are incomplete or you have missed reading some of the instructions.
The notation "'+DATA1'" signifies that the database should be talking to an ASM (AutomaticStorageManagement) instance for the DiskGroup called "DATA1". The expectation is that you have also configured and started an ASM Instance which has a DiskGroup called "DATA1" created.
If you do not have ASM configured and running, you can create the tablespace datafile on the filesystem -- eg
create tablespace rman datafile '/u01/oradata/MYDB/rman01.dbf' size 125M autoextend on ;

Similar Messages

  • Setting up rman backups - am I missing something?

    I have inherited an oracle 10g database on Windows and I need to set up RMAN backups. I am going through the steps and I think I am still missing something.
    I am trying to put the database in archivelog mode and it gives me this error:
    ORA-01126: database must be mounted in this instance and not open in any instance
    So I try to mount the database (alter database mount;) and it says:
    ORA-01100: database already mounted
    So I figure someone else has it open so I shut it down (shutdown immediate), which works fine, but when I try to restart it (startup mount;) it tells me:
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    So I try to log into a new session and it tells me:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    The only way I can find to restart it is to restart the service OracleServiceDATABASENAME. When it is restarted, it lets me log in, but then I get the same errors as above when I try to mount the database or put it in archivelog mode.
    Please let me know what I am missing.
    Thanks!

    Over Windows, database service has a vital role in the management of the database. Without it being started, you can't do anything with oracle db. Fro your error,
    >
    ORA-24324:
    service handle not initialized
    Cause:     An attempt was made to use an improper service context handle.
    Action:     Verify that the service context handle has all the parameters initialized prior to this call.>
    It may be possible that you have used an inappropriate service name to start teh database. The other error comes up when the datbase is either just started or is unaware about teh name being requested by teh client to get connected, due to wrong name being chosen or an unknown name being chosen.
    All this basically means that you may have either done typos or tried to start some service which was never there. The best way is to set Oracle sid using
    set oracle_sid=<your sid>And then do what ever you want to.
    HTH
    Aman....

  • Errors while using RMAN APM in Bakbone

    I am trying to implement RMAN using Bakbone Netvault. The thing is I am able to take a backup without any problems. But when I try to do a restore to the DB from the Bakbone tool it is failing with the following error message. I am not sure what is going wrong.
    The error message is as follows:
    RMAN-03002:failure of restore command at 06/21/2007 15:43:50
    ORA-19507 :failed to retrieve sequential file,handle="machine...
    ORA-27029 : skgfrtrv:sbtrestore returned error
    ORA-19511 : Error received from the media manager layer,error text.
    RMAN Configuration details are as given below:
    starting full resync of recovery catalog
    full resync complete
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
    CONFIGURE CONTROLFILE AUTOBACKUP OFF;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 3;
    CONFIGURE DEVICE TYPE SBT_TAPE PARALLELISM 1; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' PARMS 'ENV=(NSR_SERVER=andromeda)';
    RMAN configuration has no stored or default parameters
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/home/oracle/Ora9i/dbs/snapcf_recman.f'; # default
    Important Note: I am kind of doing a remote desktop to the machine using VMC viewer.
    Any pointers to where I am going wrong would be really helpful,.

    Yes, it's solved.  Sorry for the long delay in reply (Mike) - I'm not getting email notification of replies from the forum, even though I've set them.
    As a solution, use disk2vhd instead of the SC12VMM P2V wizard, which will seemingly always fail in this situation in my hands.
    http://technet.microsoft.com/en-us/sysinternals/ee656415.aspx

  • Essbase Error:Set is too large to be processed. Set size exceeds 2^64 tuple

    Hi,
    we are using obiee 11.1.1.6 version with essbase 9.3.3 as a data source . when I try to run a report in obiee, I am getting the below error :
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 96002] Essbase Error: Internal error: Set is too large to be processed. Set size exceeds 2^64 tuples (HY000)
    but if I run the same query in excel add in, I am just getting 20 records . wondering why I am getting this error in obiee . Does any one encountered the same issue ?
    Thanks In advance,

    Well if you want to export in I think you have to manually do it.
    The workaround it to open your aperture library by right clicking it and show contents...
    Then go into your project right click show contents...
    In here there are sub folders on dates that the pictures were added to those projects. If you open the sub folder and search for your pictures name it should be in that main folder.
    You can just copy it out as you would any normal file to any other location.
    Voila you have manually exported out your file.
    There is a very similar post that has been close but again you can't export the original file that you are working on - FYI http://discussions.apple.com/thread.jspa?threadID=2075419

  • Error while registering RMAN from primary to catalog database

    Hi all,
    Here we have a 10g dataguard environment with db1(db_unique_name) as primary and db2(db_unique_name) as physical standby database. Also we configured one schema on a third machine as catalog database using following steps.
    The steps executed in catalog database(appsdb):
    SQL> create tablespace rmancatlog_tbs datafile '/u01/app/oracle/oradata/NEW/rman_catalog.dbf' size 500M autoextend off extent management local segment space management auto;
    SQL> create user rman identified by oracle
    2 default tablespace rmancatlog_tbs
    3 quota unlimited on rmancatlog_tbs
    4 ;
    SQL> GRANT connect, resource, recovery_catalog_owner TO rman;
    RMAN> create catalog;
    recovery catalog created
    Added tns entries of catalog database in primary and standby. Then from primary database we tried to register to catalog database. It is showing that it is registering. But every query afterwards in rman is throwing the error. Below are the steps and error:
    [oracle@db1 ~]$ rman target sys/oracle catalog rman/oracle@appsdb
    Recovery Manager: Release 10.2.0.3.0 - Production on Mon Aug 13 21:39:32 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: NIOS (DBID=1589015669)
    connected to recovery catalog database
    RMAN> register database;
    database registered in recovery catalog
    RMAN> report schema;
    Report of database schema
    List of Permanent Datafiles
    ===========================
    File Size(MB) Tablespace RB segs Datafile Name
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of report command at 10/08/2012 06:16:06
    RMAN-00600: internal error, arguments [8201] [] [] [] []
    Can anyone help regarding this error?
    Thanks in advance.

    on resync catalog it is throwing no output or error.
    but it shows same error afterwards.
    RMAN> resync catalog;
    RMAN> report schema;
    Report of database schema
    List of Permanent Datafiles
    ===========================
    File Size(MB) Tablespace RB segs Datafile Name
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of report command at 10/09/2012 03:55:53
    RMAN-00600: internal error, arguments [8201] [] [] [] []

  • I am getting below error while taking RMAN backup.

    Friends,
    I am getting below error while taking RMAN backup.
    The issue is related with a lock while trying to backup the controlfile.
    The lock is more likely caused by the autobackup controlfile process started just before RMAN process was also trying the backup controlfile as shown in the following alert.log excerpt.
    Starting Control File and SPFILE Autobackup at 2009-04-07 09:24:58
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of Control File and SPFILE Autobackup command on ORA_DISK_1 channel at 04/07/2009 09:25:03
    ORA-00230: operation disallowed: snapshot control file enqueue unavailable
    Is there anyway to solve this issue?Thanks in advance.

    Hi,
    SQL> SELECT s.sid, username AS "User", program, module, action, logon_time "Logon", l.*
    FROM v$session s, v$enqueue_lock l
    WHERE l.sid = s.sid and l.type = 'CF' AND l.id1 = 0 and l.id2 = 2; 2 3
    no rows selected
    Oracle version : 10.2.0.3
    I am getting this error once in a month not everyday.
    Starting Control File and SPFILE Autobackup at 2009-04-07 09:24:58
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of Control File and SPFILE Autobackup command on ORA_DISK_1 channel at 04/07/2009 09:25:03
    ORA-00230: operation disallowed: snapshot control file enqueue unavailable
    Please suggest me based on this..Thanks in advance..

  • Strange Runtime Error - Error setting property 'page1' in bean of type null

    All I have here is a treenode with its URL set to a web page. When the node is clicked, I get this:
    ===============================
    [#|2006-07-25T09:39:20.204-0600|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=16;|WebModule[/HNESWebApp]org.apache.jasper.JasperException: Error setting property 'page1' in bean of type null
    javax.faces.FacesException: org.apache.jasper.JasperException: Error setting property 'page1' in bean of type null
    at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:327)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
    at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:311)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at ccic2s.netsvr.hnes.web.hneswebapp.login.LoginFilter.doFilter(LoginFilter.java:198)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
    at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)
    Caused by: org.apache.jasper.JasperException: Error setting property 'page1' in bean of type null
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:384)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
    at sun.reflect.GeneratedMethodAccessor200.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:482)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:417)
    at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:80)
    at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:95)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:313)
    at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
    ... 49 more
    |#]
    ======================
    Any ideas?
    TIA

    Okay, I found it - my bad but this might help you..
    Turns out the managed-beans.xml (and possibly other files /directories) under WEB-INF were set to read only due to the CM tool I am using - these files were checked in at one point (probably shouldn't have been). I thought I got them all but had missed a few.
    So the moral of the story is beware of setting read-only files!

  • P6v7 Web Services Oracle Universal Installer Error Setting Java_Home veriab

    Hi,
    I am installing Primavera P6 v7 web serivces on a Ms Windows 2003 SP2 server machine but it gives error "error setting Java_Home environment variable" every time i run the oracle universal installer setup of P6 v7 web services. I have already installed Java JRE1.6.0_14 and set the JAVA_HOME variables in both system and user variables. I have also tried manually setting path of JAVA during setup but no luck so far everytime same error. I have been looking at the log file in oracle inventory folder but did not find any hint to resolve the issue.
    Please suggest a solution or workaround.
    Regards,
    Shahid

    r u using 32bit or 64bit java?? better to use 32 bit java. Create 3 variable for EPPM P6
    1) variable name: JAVA_HOME Value: c:\Java32\JRE1.6.0_27
    2) variable name: JRE_Location value: c:\Java32\jdk.1.6.0_27\jre
    3) variable name: p6_java_home value: c:\Java32\jdk.1.6.0_27

  • Troubleshoot-Adapter engine:Error Setting the message status to DLNG failed

    Dear Experts,
    We use SAP RFC- PI-JDBC(MSSQL).  here the Data(message) successfully transfered to mssql table but the status is been set to DLNG failed,  And it finally shown as SYSTEM ERROR.
    QoS required: ExactlyOnce ,  here The Message has got inserted in that particular table and in PI adapter the  status turned to  DLNG faild and the service again tries to send the same message which is not possible becoz the data is set for primary value.
    2010-09-15 09:59:48 Success Message successfully received by messaging system. Profile: XI URL: http://XXXXX:50000/MessagingSystem/receive/AFW/XI Credential (User): YYYY
    2010-09-15 09:59:48 Success Using connection JDBC_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
    2010-09-15 09:59:48 Success Message successfully put into the queue.
    2010-09-15 09:59:48 Success The message was successfully retrieved from the receive queue.
    2010-09-15 09:59:48 Error Setting the message status to TBDL failed, due to: com.sap.aii.af.ra.ms.api.DeliveryException: Error updating status..
    2010-09-15 09:59:48 Success Delivering to channel: CCR_JDBC_ZZZZZ
    2010-09-15 09:59:48 Success MP: Entering module processor
    2010-09-15 09:59:48 Success MP: Processing local module localejbs/CallSapAdapter
    2010-09-15 09:59:48 Success Receiver JDBC adapter: processing started; QoS required: ExactlyOnce
    2010-09-15 09:59:48 Success JDBC adapter receiver channel CCR_JDBC_ZZZZZ : processing started; party  , service BS_BCP_IMPLOG_ZZZZZ 
    2010-09-15 09:59:49 Success Database request processed successfully
    2010-09-15 09:59:49 Success MP: Leaving module processor
    2010-09-15 09:59:49 Success The message was successfully delivered to the application using connection JDBC_http://sap.com/xi/XI/System.
    2010-09-15 09:59:49 Error Setting the message status to DLNG failed, due to: com.sap.aii.af.ra.ms.api.DeliveryException: Error updating status..
    2010-09-15 10:37:01 Success The message was successfully retrieved from the receive queue.
    2010-09-15 10:37:01 Success The message status set to DLNG.
    2010-09-15 10:37:01 Success Delivering to channel: CCR_JDBC_ZZZZZ
    2010-09-15 10:37:01 Success MP: Entering module processor
    2010-09-15 10:37:01 Success MP: Processing local module localejbs/CallSapAdapter
    2010-09-15 10:37:01 Success Receiver JDBC adapter: processing started; QoS required: ExactlyOnce
    2010-09-15 10:37:01 Success JDBC adapter receiver channel CCR_JDBC_ZZZZZ : processing started; party  , service BS_BCP_IMPLOG_ZZZZZ
    2010-09-15 10:37:01 Error Unable to execute statement for table or stored procedure. 'imp_log' (Structure 'STATEMENT') due to com.microsoft.sqlserver.jdbc.SQLServerException: Violation of PRIMARY KEY constraint 'PK_XXX_log'. Cannot insert duplicate key in object 'dbo.XXX_log'.
    2010-09-15 10:37:01 Error JDBC message processing failed; reason Error processing request in sax parser: Error when executing statement for table/stored proc. 'imp_log' (structure 'STATEMENT'): com.microsoft.sqlserver.jdbc.SQLServerException: Violation of PRIMARY KEY constraint 'PK_XXX_log'. Cannot insert duplicate key in object 'dbo.XXX_log'.
    Thanks in advance for your valuable answer.

    Hi Vinaygam,
    2010-09-15 10:37:01 Error Unable to execute statement for table or stored procedure. 'imp_log' (Structure 'STATEMENT') due to com.microsoft.sqlserver.jdbc.SQLServerException: Violation of PRIMARY KEY constraint 'PK_XXX_log'. Cannot insert duplicate key in object 'dbo.XXX_log'.
    2010-09-15 10:37:01 Error JDBC message processing failed; reason Error processing request in sax parser: Error when executing statement for table/stored proc. 'imp_log' (structure 'STATEMENT'): com.microsoft.sqlserver.jdbc.SQLServerException: Violation of PRIMARY KEY constraint 'PK_XXX_log'. Cannot insert duplicate key in object 'dbo.XXX_log'.
    See above error, It cannot the Duplicate Key in your log table. Duplicate means repeated as a same data.So kindly check once your data.
    IF,I assume your scenario is Synchronous, If you are using any sender JDBC adapter  just check with your Quality of Service and set it to "Exactly once".
    so kindly do it.
    Thank you,
    Sateesh
    Edited by: sateesh kumar .N on Sep 17, 2010 8:17 AM

  • Error setting property in bean of type null

    Hi i have jsf page and input text
    a managed bean with property sum of type float
    i attached this property to the input text:
    <h:inputText id="adr" value="#{userBean.sum}"/>
    but when enter a value and submit the page
    it prints me error in the page:
    Error setting property 'sum' in bean of type null
    any idea?

    The message says that the userBean is null.
    Check your faces-config.xml.

  • Error setting property 'html1' in bean of type null

    Dear All;
    I am currently on site, and away from my team, so they send over additional screens, that i treid to add to the project i have with me, i added the model, i add the SRC folder, and the .JSPX pages, only when i run the pages, i get Error setting property 'html1' in bean of type null, i checked previous threads, and i know the error and accordingly i checked that the page def exists, which it does, and that all the managed beans are there, and linked to faces config, which they are, so i am just wondering if any1 has any idea, as to how to make the pages work...
    regards
    Halim

    hi frank,
    I cross checked, all the entries in the bean, with those in the JSPX source code, and chceked in the auto comment of the JSPX page the name of the bean, i have checked the faces config, i am going to remove the the new models and re-add them, just tell me if i need to add any files other than those:
    MODEL X folder, which contains the model
    JSPX folder, which contans the pages
    SRC folder in view controller
    And the faces config to web-inf
    thanks in advance man
    regards
    Halim

  • Solaris 10 on HP DL385 "Error setting up next portion of DMA transfer" ??

    We've got an HP DL385-g2 box running Solaris 10 that has started spewing messages of this form:
    Error setting up next portion of DMA transfer
    Apr 21 07:44:30 teak scsi: [ID 107833 kern.warning] WARNING: /pci@0,0/pci1166,14
    2@12/pci103c,3234@0/sd@1,0 (sd2):
    These only show up under moderately heavy load. This is on a P400/512 SAS controller, hardware mirrored, ZFS filesystem. Apparently there's no data corruption but users are complaining about slow performance. HP support has the knee-jerk response to update controller firmware and the cpqary3 driver. The error message is coming out of the 'sd' driver.
    Has anyone else seen this problem ??
    thanks,
    Don M.

    Solved the problem. I changed every piece of hardware i could remove. Last but not least, it was a problem with the 2 GB RAM Modules. I don't really know what exactly.
    Funny that it works with Linux (memtest still running), but solaris fails to boot.

  • Error setting FSS as the scheduler

    Hi,
    I'm getting an error setting FSS as the default scheduler and it's not listed as a configured class from dispadmin on Solaris 10. Here is the error:
    # dispadmin -d FSS
    dispadmin: Invalid or unconfigured class FSS
    # dispadmin -l
    CONFIGURED CLASSES
    ==================
    SYS (System Class)
    TS (Time Sharing)
    IA (Interactive)
    RT (Real Time)
    # poolcfg -c 'modify pool pool_default (string pool.scheduler="FSS")'
    poolcfg: put property pool.scheduler failed: Error putting property
    # uname -a
    SunOS uno 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Fire-V240 Solaris
    # pkginfo -l SUNWfss
    PKGINST: SUNWfss
    NAME: Fair Share Scheduler
    CATEGORY: system
    ARCH: sparc
    VERSION: 11.10.0,REV=2005.01.21.15.53
    BASEDIR: /
    VENDOR: Sun Microsystems, Inc.
    DESC: core software for the fair share scheduler
    PSTAMP: on10ptchfeat20080228002232
    INSTDATE: Jun 17 2008 12:58
    HOTLINE: Please contact your local service provider
    STATUS: completely installed
    FILES: 10 installed pathnames
    6 shared pathnames
    7 directories
    3 executables
    157 blocks used (approx)
    I've installed the SUNWfss package and all the necessary zone packages but no luck. I'm not sure what install cluster was originally used to setup the server so it could be missing some other packages that is causing this to fail. Anyone have any ideas on how to resolve this issue?
    Thanks in advance,
    Ryan

    here is the output:
    uno#truss -f dispadmin -l
    11433: execve("/usr/sbin/dispadmin", 0xFFBFFC9C, 0xFFBFFCA8) argc = 2
    11433: resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
    11433: resolvepath("/usr/sbin/dispadmin", "/usr/sbin/dispadmin", 1023) = 19
    11433: stat("/usr/sbin/dispadmin", 0xFFBFFA78) = 0
    11433: open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT
    11433: stat("/usr/local/lib/libc.so.1", 0xFFBFF530) Err#2 ENOENT
    11433: stat("/usr/sfw/lib/libc.so.1", 0xFFBFF530) Err#2 ENOENT
    11433: stat("/usr/lib/libc.so.1", 0xFFBFF530) = 0
    11433: resolvepath("/usr/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
    11433: open("/usr/lib/libc.so.1", O_RDONLY) = 3
    11433: mmap(0x00010000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFF3A0000
    11433: mmap(0x00010000, 1015808, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF280000
    11433: mmap(0xFF280000, 909301, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFF280000
    11433: mmap(0xFF36E000, 32017, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 909312) = 0xFF36E000
    11433: mmap(0xFF376000, 5984, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF376000
    11433: munmap(0xFF35E000, 65536) = 0
    11433: memcntl(0xFF280000, 144128, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
    11433: close(3) = 0
    11433: munmap(0xFF3A0000, 8192) = 0
    11433: mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF3A0000
    11433: getcontext(0xFFBFF768)
    11433: getrlimit(RLIMIT_STACK, 0xFFBFF748) = 0
    11433: getpid() = 11433 [11432]
    11433: setustack(0xFF3A2088)
    11433: priocntlsys(1, 0xFFBFFB2C, 1, 0x00000000, 0) = 4
    11433: ioctl(1, TCGETA, 0xFFBFED44) = 0
    11433: fstat64(1, 0xFFBFEC60) = 0
    11433: stat("/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1", 0xFFBFE808) = 0
    11433: resolvepath("/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1", "/platform/sun4u-us3/lib/libc_psr.so.1", 1023) = 37
    11433: open("/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1", O_RDONLY) = 3
    11433: mmap(0x00010000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFF390000
    11433: mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF380000
    11433: close(3) = 0
    CONFIGURED CLASSES
    ==================
    11433: write(1, " C O N F I G U R E D C".., 39) = 39
    SYS (System Class)
    11433: write(1, " S Y S\t ( S y s t e m ".., 19) = 19
    11433: priocntlsys(1, 0xFFBFFB2C, 1, 0xFFBFFBA4, 0) = 4
    11433: schedctl() = 0xFF26E000
    11433: fork1() = 11434
    11433: lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
    11434: fork1() (returning as child ...) = 11433
    11434: getpid() = 11434 [11433]
    11434: lwp_self() = 1
    11434: lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
    11434: execve("/usr/lib/class/TS/TSdispadmin", 0xFFBFF6C8, 0xFFBFFCA8) argc = 2
    11434: resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
    11434: resolvepath("/usr/lib/class/TS/TSdispadmin", "/usr/lib/class/TS/TSdispadmin", 1023) = 29
    11434: stat("/usr/lib/class/TS/TSdispadmin", 0xFFBFFA58) = 0
    11434: open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT
    11434: stat("/usr/local/lib/libc.so.1", 0xFFBFF510) Err#2 ENOENT
    11434: stat("/usr/sfw/lib/libc.so.1", 0xFFBFF510) Err#2 ENOENT
    11434: stat("/usr/lib/libc.so.1", 0xFFBFF510) = 0
    11434: resolvepath("/usr/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
    11434: open("/usr/lib/libc.so.1", O_RDONLY) = 3
    11434: mmap(0x00010000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFF3A0000
    11434: mmap(0x00010000, 1015808, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF280000
    11434: mmap(0xFF280000, 909301, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFF280000
    11434: mmap(0xFF36E000, 32017, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 909312) = 0xFF36E000
    11434: mmap(0xFF376000, 5984, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF376000
    11434: munmap(0xFF35E000, 65536) = 0
    11434: memcntl(0xFF280000, 144128, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
    11434: close(3) = 0
    11434: munmap(0xFF3A0000, 8192) = 0
    11434: mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF3A0000
    11434: getcontext(0xFFBFF748)
    11434: getrlimit(RLIMIT_STACK, 0xFFBFF728) = 0
    11434: getpid() = 11434 [11433]
    11434: setustack(0xFF3A2088)
    11434: ioctl(1, TCGETA, 0xFFBFEDBC) = 0
    11434: fstat64(1, 0xFFBFECD8) = 0
    11434: stat("/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1", 0xFFBFE880) = 0
    11434: resolvepath("/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1", "/platform/sun4u-us3/lib/libc_psr.so.1", 1023) = 37
    11434: open("/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1", O_RDONLY) = 3
    11434: mmap(0x00010000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFF390000
    11434: mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF380000
    11434: close(3) = 0
    TS (Time Sharing)
    11434: write(1, " T S\t ( T i m e S h a".., 18) = 18
    11434: _exit(0)
    11433: waitid(P_ALL, 0, 0xFFBFF600, WEXITED|WTRAPPED) = 0
    11433: priocntlsys(1, 0xFFBFFB2C, 1, 0xFFBFFBA4, 0) = 4
    11433: fork1() = 11436
    11433: lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
    11436: fork1() (returning as child ...) = 11433
    11436: getpid() = 11436 [11433]
    11436: lwp_self() = 1
    11436: lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
    11436: execve("/usr/lib/class/IA/IAdispadmin", 0xFFBFF6C8, 0xFFBFFCA8) argc = 2
    11436: resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
    11436: resolvepath("/usr/lib/class/IA/IAdispadmin", "/usr/lib/class/IA/IAdispadmin", 1023) = 29
    11436: stat("/usr/lib/class/IA/IAdispadmin", 0xFFBFFA58) = 0
    11436: open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT
    11436: stat("/usr/local/lib/libc.so.1", 0xFFBFF510) Err#2 ENOENT
    11436: stat("/usr/sfw/lib/libc.so.1", 0xFFBFF510) Err#2 ENOENT
    11436: stat("/usr/lib/libc.so.1", 0xFFBFF510) = 0
    11436: resolvepath("/usr/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
    11436: open("/usr/lib/libc.so.1", O_RDONLY) = 3
    11436: mmap(0x00010000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFF3A0000
    11436: mmap(0x00010000, 1015808, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF280000
    11436: mmap(0xFF280000, 909301, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFF280000
    11436: mmap(0xFF36E000, 32017, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 909312) = 0xFF36E000
    11436: mmap(0xFF376000, 5984, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF376000
    11436: munmap(0xFF35E000, 65536) = 0
    11436: memcntl(0xFF280000, 144128, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
    11436: close(3) = 0
    11436: munmap(0xFF3A0000, 8192) = 0
    11436: mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF3A0000
    11436: getcontext(0xFFBFF748)
    11436: getrlimit(RLIMIT_STACK, 0xFFBFF728) = 0
    11436: getpid() = 11436 [11433]
    11436: setustack(0xFF3A2088)
    11436: ioctl(1, TCGETA, 0xFFBFEDBC) = 0
    11436: fstat64(1, 0xFFBFECD8) = 0
    11436: stat("/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1", 0xFFBFE880) = 0
    11436: resolvepath("/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1", "/platform/sun4u-us3/lib/libc_psr.so.1", 1023) = 37
    11436: open("/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1", O_RDONLY) = 3
    11436: mmap(0x00010000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFF390000
    11436: mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF380000
    11436: close(3) = 0
    IA (Interactive)
    11436: write(1, " I A\t ( I n t e r a c t".., 17) = 17
    11436: _exit(0)
    11433: waitid(P_ALL, 0, 0xFFBFF600, WEXITED|WTRAPPED) = 0
    11433: priocntlsys(1, 0xFFBFFB2C, 1, 0xFFBFFBA4, 0) = 4
    11433: fork1() = 11438
    11433: lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
    11438: fork1() (returning as child ...) = 11433
    11438: getpid() = 11438 [11433]
    11438: lwp_self() = 1
    11438: lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
    11438: execve("/usr/lib/class/RT/RTdispadmin", 0xFFBFF6C8, 0xFFBFFCA8) argc = 2
    11438: resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
    11438: resolvepath("/usr/lib/class/RT/RTdispadmin", "/usr/lib/class/RT/RTdispadmin", 1023) = 29
    11438: stat("/usr/lib/class/RT/RTdispadmin", 0xFFBFFA58) = 0
    11438: open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT
    11438: stat("/usr/local/lib/libc.so.1", 0xFFBFF510) Err#2 ENOENT
    11438: stat("/usr/sfw/lib/libc.so.1", 0xFFBFF510) Err#2 ENOENT
    11438: stat("/usr/lib/libc.so.1", 0xFFBFF510) = 0
    11438: resolvepath("/usr/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
    11438: open("/usr/lib/libc.so.1", O_RDONLY) = 3
    11438: mmap(0x00010000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFF3A0000
    11438: mmap(0x00010000, 1015808, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF280000
    11438: mmap(0xFF280000, 909301, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFF280000
    11438: mmap(0xFF36E000, 32017, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 909312) = 0xFF36E000
    11438: mmap(0xFF376000, 5984, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF376000
    11438: munmap(0xFF35E000, 65536) = 0
    11438: memcntl(0xFF280000, 144128, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
    11438: close(3) = 0
    11438: munmap(0xFF3A0000, 8192) = 0
    11438: mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF3A0000
    11438: getcontext(0xFFBFF748)
    11438: getrlimit(RLIMIT_STACK, 0xFFBFF728) = 0
    11438: getpid() = 11438 [11433]
    11438: setustack(0xFF3A2088)
    11438: ioctl(1, TCGETA, 0xFFBFEDBC) = 0
    11438: fstat64(1, 0xFFBFECD8) = 0
    11438: stat("/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1", 0xFFBFE880) = 0
    11438: resolvepath("/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1", "/platform/sun4u-us3/lib/libc_psr.so.1", 1023) = 37
    11438: open("/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1", O_RDONLY) = 3
    11438: mmap(0x00010000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFF390000
    11438: mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF380000
    11438: close(3) = 0
    RT (Real Time)
    11438: write(1, " R T\t ( R e a l T i m".., 15) = 15
    11438: _exit(0)
    11433: waitid(P_ALL, 0, 0xFFBFF600, WEXITED|WTRAPPED) = 0
    11433: _exit(0)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Conversion Error setting value ''{0}'' for ''{1}''

    Hi
    I have to populate a drop-down list on my page with the values coming from the DB.
    JSF code:
    <td align="right"><div id="wait" style="visibility:hidden;">Select an existing Application</div></td>
    <td align="left"><div id="wait1" style="visibility:hidden;" >
    <h:selectOneMenu id="exist" value="#{processApplication.selectedOwner}" styleClass="selectOneMenu">
    <f:selectItems value="#{processApplication.existingOwners}"></f:selectItems>
    </h:selectOneMenu>
    </div>
    </td>
    processApplication bean:
    public List<SelectItem> getExistingOwners() {                    
    //existingOwners = this.getOwners();
    try{
         List < SelectItem > existingOwners = new ArrayList < SelectItem > ( ) ;
         SelectItem si_0 = new SelectItem();
         SelectItem si_1 = new SelectItem();
    SelectItem si_2 = new SelectItem();
         si_0.setValue("11");
         si_0.setLabel("sri");
         si_1.setValue("21");
         si_1.setLabel("ADAMS");
         existingOwners.add(si_0);
         existingOwners.add(si_1);
         logger.info("values in the list" +existingOwners.get(1).getValue());
              }catch(Exception e){
                   logger.debug(e.getCause());
                   e.printStackTrace();
              return existingOwners;
         public void setExistingOwners(List<SelectItem> existingOwners) {
              try{
              this.existingOwners = existingOwners;
              }catch(Exception e){
                   logger.debug("%%%%");
                   logger.debug(e.getCause());
                   e.printStackTrace();
    public String getSelectedOwner() {
         try{
         List<SelectItem> test = this.getExistingOwners();
         selectedOwner = (String)test.get(1).getValue();
         logger.debug("selected owner from the list" +selectedOwner);
         }catch(Exception e){
         logger.debug(e.getCause());
         e.printStackTrace();
         return selectedOwner;
         public void setSelectedOwner(String selectedOwner) {
              this.selectedOwner = selectedOwner;
    public List<SelectItem> getExistingOwners() should actually be a call to the DB to get the list.
    But since i was getting exception I tried to hard code the list in the method itself.
    But , I get this exception:
    logger.info values in the list 21
    [6/15/09 12:49:45:687 EDT] 0000003d ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: /processApplication.jsp. Exception thrown : javax.servlet.ServletException: Conversion Error setting value ''{0}'' for ''{1}''.
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:658)
         at com.ibm._jsp._processApplication._jspService(_processApplication.java:149)
         at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:907)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:701)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:646)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
    Earlier, I had a drop down list that was working perfectly fine.
    But its values came from a Helper class and not the DB.
    What is it that Iam missing or doing wrong?
    Please help me.
    Thanks.

    Based on your example on the link that you referred to I tried to do this
    fillSelectItems();
    as the initialization block (I read what it means)
    changed my getter method to
    public List<SelectItem> getExistingOwners() { return existingOwners; }
    private void fillSelectItems() {
    this.existingOwners = new ArrayList<SelectItem>();
    try{
         existingOwners.clear();
         List test = this.getOwners();
         SelectItem[] myitem = new SelectItem[test.size()];
         for(int i=0;i<test.size();i++) {
         Object[] arrayOne = (Object[])test.get(i);
    try{
         SelectItem tmp = new SelectItem();
         tmp.setLabel(arrayOne[0].toString()+(String)arrayOne[1]);
         tmp.setValue((Integer)arrayOne[0]);
         myitem[i] = tmp;
    this.existingOwners.add(myitem);
    }catch(Exception e){
              logger.debug(e.getCause());
              e.printStackTrace();
         }catch(Exception e){
              logger.debug(e.getCause());
              e.printStackTrace();
    Basically, I moved what I had earlier in getter method I have it now in the fillSelectItems()
    Butthen, I get a NullPointerException.

  • Error: Set type Z contains multiple-value attributes

    Hi forum,
    I have a problem when i try to assign a set type with the same value but diferent name on another set type to the same product category.
    This is the detail of the error but i dont know where i have to set this indicator:
    If you set this indicator for a particular hierarchy, all categories and set types in this hierarchy are created in the PME.
    This gives you the following extended maintenance options at category level:
    You can assign set types with multiple-value attributes
    You can restrict value ranges and maintain default values for attributes of customer set types.
    Any sugerence about this?
    Regards and thanks in advance,
    Mon

    Hi Nelson,
    I create two set types, the description is not the problem. I have discover that when i try to assign these attributes in the same set type or in other appears this error.
    The set types have the same values. For example:
    zcountry1. Values: sp - spain. fr - france.
    zcountry2. Values: sp - spain. fr - france.
    When i try to configurate the comm_hierarchy in my category appears this error:
    Set type zcountry2 contains multiple-value attributes.
    Diagnosis
    The set type ZGAME5 contains multiple-value attributes. It cannot be assigned to the category as extended maintenance has not been activated.
    Procedure
    Multiple-value attributes are stored in the PME. If you want to use the set type ZGAME5, you must set the Extended Maintenance Options indicator for the hierarchy.
    Extended Maintenance Is Possible for the Hierarchy
    Definition
    If you set this indicator for a particular hierarchy, all categories and set types in this hierarchy are created in the PME.
    This gives you the following extended maintenance options at category level:
    You can assign set types with multiple-value attributes
    You can restrict value ranges and maintain default values for attributes of customer set types.
    Where is this indicator¿? in R3?
    So, these are the steps...can anybody help to me?
    Regards and thanks in advance.

Maybe you are looking for

  • Message no. F5883

    SAP Gurus, I struck at another while posting an invoice ( MIRO) for a newly created plant and newly created company code. Change business place in document --> long text Usually while doing MIRO, system doesn't ask about business place or section. an

  • MM.MYSQL jdbc driver

    Environment: - mm.mysql-2.0.14-bin.jar; - JDK 1.4 - Tomcat 4 I've put the jar file in all places it is needed ($JAVA_HOME/jre/lib/ext - MyWebApp/Web-Inf/lib); My code: <%@ page import="java.sql.*"%> <%@ page import="java.util.*"%> <%@ page import="ja

  • Hard Time Syncing to computer

    Having a hard time syncing my iPad 2, troubleshooting techniques suggest computer is fine, but the iPad is not reading the newly exchanged iPad with the iTune software.  Think it could be the sync cord?

  • Release Strategy ERROR in SAP-MM

    Dear gurus, I got a error while doing release strategy in SPRO. When click the Classifiaction button this error shows below: ERROR: Error in classification(class TITAN CLASS RP class type 032) Kindly give me brief solution for this error. Regards, Ra

  • What is the diff between the ipad 3 and the i pad 4th generation

    what are the main differences between the i pad 3 and the 4th generation