How to comile INVALID dba & user_objects...

Hi,
While upgrading 12.1.3, i am getting INVALID object error in more then 2222 objects, now i need to compile INVALID objects ONLY...
I have tried adadmin to compile but it has taken more then 20hrs to complete also this has compiling all the records, so i need to know how to compile those 2222 records..
Please some one suggest me the command or sql query to use for succeed this..
Thanks
Suresh

Hi Hussein,
I have listed all invalid objects as per blow query...
select OBJECT_NAME, OWNER from dba_objects where status = 'INVALID';
NOTE: I have compiled invalid objects in database by using SQL> @utlrp.sql (as sysdba)
AND in application tier i tried through adadmin (APPS schema) even though its not compiling, invalid objects are not reducing..
OBJECT_NAME
OWNER
MTH_UDA_PKG
APPS
MTH_UTIL_PKG
APPS
OKL_DEAL_ASSET_PVT_W
APPS
OBJECT_NAME
OWNER
OKL_DEAL_CREAT_PVT_W
APPS
OKL_INTERNAL_BILLING_PVT
APPS
OE_OUTBOUND_INT
APPS
OBJECT_NAME
OWNER
OE_INBOUND_INT
APPS
OE_GENESIS_UTIL
APPS
OZF_SUPP_TRD_PRFLS_PKG
APPS
OBJECT_NAME
OWNER
OZF_SD_BATCH_PVT
APPS
OZF_SD_BATCH_FEED_PVT
APPS
OZF_SD_UTIL_PVT
APPS
OBJECT_NAME
OWNER
OZF_SUPP_TRADE_PROFILE_PVT
APPS
OZF_SUPP_TRADE_PROFILE_PVT_W
APPS
PA_CONTROL_API_PVT
APPS
OBJECT_NAME
OWNER
PAY_PAYJPCAD_XMLP_PKG
APPS
PAY_PAYJPGMT_XMLP_PKG
APPS
PAY_PAYJPLTX_XMLP_PKG
APPS
OBJECT_NAME
OWNER
PAY_PAYJPMAG_XMLP_PKG
APPS
PAY_PAYJPSDD_XMLP_PKG
APPS
PAY_PAYJPSQD_XMLP_PKG
APPS
OBJECT_NAME
OWNER
PAY_PAYJPSMT_XMLP_PKG
APPS
PAY_PAYJPWTM_XMLP_PKG
APPS
PAY_PYAURECP_XMLP_PKG
APPS
OBJECT_NAME
OWNER
PAY_DK_ARCHIVE_EIN
APPS
PAY_RETRO_STATUS_INTERNAL
APPS
HR_HELPDESK_UTIL_SS
APPS
OBJECT_NAME
OWNER
PER_GB_PENSRV_SVPN
APPS
PER_SUCCESSION_PLAN_API
APPS
PER_SUCCESSION_PLAN_SWI
APPS
OBJECT_NAME
OWNER
PN_MTM_ROLLFORWARD_PKG
APPS
RRS_SITE_UTILS
APPS
WSH_WSHRDINV_XMLP_PKG
APPS
OBJECT_NAME
OWNER
WSH_WSHRDPAK_XMLP_PKG
APPS
XLA_HIST_LEDGER_UPG_PKG
APPS
PER_SUCCESSION_PLAN_BK1
APPS
OBJECT_NAME
OWNER
PER_SUCCESSION_PLAN_BK2
APPS
MSC_CURRENCY_CONV_MV
APPS
MSD_DEM_OBI_DEMANTRA_MV
APPS
OBJECT_NAME
OWNER
FFP62356_01012000
APPS
FFP62357_01012000
APPS
FFP62358_01012000
APPS
OBJECT_NAME
OWNER
FFP62359_01012000
APPS
FFP62376_01012000
APPS
FFP62377_01012000
APPS
OBJECT_NAME
OWNER
FFP62378_01012000
APPS
FFP62379_01012000
APPS
F
CA
OBJECT_NAME
OWNER
G
CA
2032 rows selected.
SQL>
please guide me how to move forward ....
Thanks & Regard...
Suresh

Similar Messages

  • How to compile INVALID dba & user_objects...

    Hi,
    While upgrading 12.1.3, i am getting INVALID object error in more then 2103 objects, now i need to compile INVALID objects ONLY...
    I have tried adadmin to compile but it has taken more then 20hrs to complete also this has compiling all the records, so i need to know how to compile those 2103 records..
    Please some one suggest me the command or sql query to use for succeed this..
    Thanks
    Suresh
    Edited by: Suresh on Mar 8, 2011 10:29 AM

    Hi Hussein,
    I have listed all invalid objects as per blow query...
    select OBJECT_NAME, OWNER from dba_objects where status = 'INVALID';
    NOTE: I have compiled invalid objects in database by using SQL> @utlrp.sql (as sysdba)
    AND in application tier i tried through adadmin (APPS schema) even though its not compiling, invalid objects are not reducing..
    OBJECT_NAME
    OWNER
    MTH_UDA_PKG
    APPS
    MTH_UTIL_PKG
    APPS
    OKL_DEAL_ASSET_PVT_W
    APPS
    OBJECT_NAME
    OWNER
    OKL_DEAL_CREAT_PVT_W
    APPS
    OKL_INTERNAL_BILLING_PVT
    APPS
    OE_OUTBOUND_INT
    APPS
    OBJECT_NAME
    OWNER
    OE_INBOUND_INT
    APPS
    OE_GENESIS_UTIL
    APPS
    OZF_SUPP_TRD_PRFLS_PKG
    APPS
    OBJECT_NAME
    OWNER
    OZF_SD_BATCH_PVT
    APPS
    OZF_SD_BATCH_FEED_PVT
    APPS
    OZF_SD_UTIL_PVT
    APPS
    OBJECT_NAME
    OWNER
    OZF_SUPP_TRADE_PROFILE_PVT
    APPS
    OZF_SUPP_TRADE_PROFILE_PVT_W
    APPS
    PA_CONTROL_API_PVT
    APPS
    OBJECT_NAME
    OWNER
    PAY_PAYJPCAD_XMLP_PKG
    APPS
    PAY_PAYJPGMT_XMLP_PKG
    APPS
    PAY_PAYJPLTX_XMLP_PKG
    APPS
    OBJECT_NAME
    OWNER
    PAY_PAYJPMAG_XMLP_PKG
    APPS
    PAY_PAYJPSDD_XMLP_PKG
    APPS
    PAY_PAYJPSQD_XMLP_PKG
    APPS
    OBJECT_NAME
    OWNER
    PAY_PAYJPSMT_XMLP_PKG
    APPS
    PAY_PAYJPWTM_XMLP_PKG
    APPS
    PAY_PYAURECP_XMLP_PKG
    APPS
    OBJECT_NAME
    OWNER
    PAY_DK_ARCHIVE_EIN
    APPS
    PAY_RETRO_STATUS_INTERNAL
    APPS
    HR_HELPDESK_UTIL_SS
    APPS
    OBJECT_NAME
    OWNER
    PER_GB_PENSRV_SVPN
    APPS
    PER_SUCCESSION_PLAN_API
    APPS
    PER_SUCCESSION_PLAN_SWI
    APPS
    OBJECT_NAME
    OWNER
    PN_MTM_ROLLFORWARD_PKG
    APPS
    RRS_SITE_UTILS
    APPS
    WSH_WSHRDINV_XMLP_PKG
    APPS
    OBJECT_NAME
    OWNER
    WSH_WSHRDPAK_XMLP_PKG
    APPS
    XLA_HIST_LEDGER_UPG_PKG
    APPS
    PER_SUCCESSION_PLAN_BK1
    APPS
    OBJECT_NAME
    OWNER
    PER_SUCCESSION_PLAN_BK2
    APPS
    MSC_CURRENCY_CONV_MV
    APPS
    MSD_DEM_OBI_DEMANTRA_MV
    APPS
    OBJECT_NAME
    OWNER
    FFP62356_01012000
    APPS
    FFP62357_01012000
    APPS
    FFP62358_01012000
    APPS
    OBJECT_NAME
    OWNER
    FFP62359_01012000
    APPS
    FFP62376_01012000
    APPS
    FFP62377_01012000
    APPS
    OBJECT_NAME
    OWNER
    FFP62378_01012000
    APPS
    FFP62379_01012000
    APPS
    F
    CA
    OBJECT_NAME
    OWNER
    G
    CA
    2032 rows selected.
    SQL>
    please guide me how to move forward ....
    Thanks & Regard...
    Suresh

  • How to login as DBA in oracle 9i from sql plus .

    how to login as DBA in oracle 9i from sql plus . ???

    First you need to check whether your HR schema is still unlocked or not? If it is locked - then you have to unlock it. And, then you can connect the Hr schema.
    But, i'm not sure - why you need system to log into the HR schema?
    Regards.
    Satyaki De.

  • How to add a dba group in Unix after Installation

    I need help in figuring out how to add a dba group, which one would do prior to installation, but how can one do it after installation?
    I need to have a group that will have people allowed to start and stop oracle. Is this possible to modify to do after installation?
    Please help... Thank you.

    Thanks for the advice. I am looking in my config.s file and this is what i see..
         .section     ".text",#alloc,#execinstr
    /* 0x0000     7 */          .file     "x.c"
         .section     ".data",#alloc,#write
    /* 0x0000     9 */          .global     ss_dba_grp
    /* 0x0000     10 */          .align     8
         .global ss_dba_grp
    ss_dba_grp:
    /* 0x0000     17 */          .align     8
    /* 0x0000     18 */          .xword     (.L12+0)
    /* 0x0004     24 */          .align     8
    /* 0x0004     25 */          .xword     (.L13+0)
    /* 0x0008     26 */          .type     ss_dba_grp,#object
    /* 0x0008     27 */          .size     ss_dba_grp,16
         .section     ".rodata1",#alloc
    /* 0x0008     13 */          .align     8
    .L12:
    /* 0x0008     15 */          .ascii     "dba\0"
    /* 0x0014     20 */          .align     8
    .L13:
    /* 0x0014     22 */          .ascii     "dba\0"
    What should i change?

  • How to do oracle dba on windows plotform

    Hi all,
    how to do oracle dba on windows plotform

    musukoni undu ok naaaaaaaaTry to behave in a forum. Mundu neevu adigina question clear ga ledu. Athanu cheppina daanilo theppemi ledu. Windows lo DBA activities cheyali ante adi 2-3 lines lo cheppe answer kaadu. Windows lo DBA activities different ga untaya ani adagali. Poni nuvvu already edanna problem lo undi unte LINUX lo ilaa chese vadini, Windows lo elaa cheyali ani adgi unte bagundedi. Chivaraga, forum lo post chesi manchi replies ravalante nee pravarthana marchuko.
    Guys who don't understand the above, I just replied to him that he should change the way he asks the questions in the forum and asked him to be polite in doing so.
    Cheers
    Sarma.

  • How to compile invalid objects parallel

    how to compile invalid objects parallelly in EBS 11i / 11g R2 DB in Linux

    SQL> alter package apps.AD_PA_SUBMIT_REQUEST compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY APPS.AD_PA_SUBMIT_REQUEST:
    LINE/COL ERROR
    674/4 PL/SQL: Statement ignored
    674/16 PLS-00302: component 'SET_AGGREGATE_LIST' must be declared
    SQL> alter package AD_PA_SUBMIT_REQUEST compile;
    alter package AD_PA_SUBMIT_REQUEST compile
    ERROR at line 1:
    ORA-04043: object AD_PA_SUBMIT_REQUEST does not existPlease run adpasrb.pls and adpasrs.pls under $AD_TOP/patch/115/sql directory to recreate this package and see if you get the same error or not.
    SQL> alter package apps.AD_PA_INSERT_PACKAGE compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY APPS.AD_PA_INSERT_PACKAGE:
    LINE/COL ERROR
    149/3 PL/SQL: SQL Statement ignored
    186/24 PL/SQL: ORA-02289: sequence does not exist
    SQL> show error
    Errors for PACKAGE BODY APPS.AD_PA_INSERT_PACKAGE:
    LINE/COL ERROR
    149/3 PL/SQL: SQL Statement ignored
    186/24 PL/SQL: ORA-02289: sequence does not existPlease run adpaipb.pls and adpaips.pls under $AD_TOP/patch/115/sql directory to recreate this package and see if you get the same error or not.
    SQL> alter package apps.CS_WF_ACTIVITIES_PKG compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY APPS.CS_WF_ACTIVITIES_PKG:
    LINE/COL ERROR
    611/9 PL/SQL: SQL Statement ignored
    624/35 PL/SQL: ORA-00918: column ambiguously definedPlease see these docs.
    CS_WF_ACTIVITIES_PKG Invalid Package With "ORA-00918: column ambiguously defined" [ID 464633.1]
    Invalid Package CS_WF_ACTIVITIES_PKG [ID 375355.1]
    Thanks,
    Hussein

  • How to avoid invalid data entering in LOV through code

    hi
    1)i have developed lov in table region, but user easily can enter invalid data and saved into the database tables.
    2)i created one formvalue and mapping into that return item , still its not working in table region LOV.
    3)how to avoid invalid data entering in LOV through code. i have tried this below code in EOimpl set value method. but some how its not wokring.
    if (value!=null)
    throw new OAAttrValException(OAAttrValException.TYP_ENTITY_OBJECT,
    getEntityDef().getFullName(),
    getPrimaryKey(),
    "ProcurementCategory",
    getProcurementCategory(),
    "FND",
    "FND_LOV_SELECT_VALUE");
    Thanks.
    krish.

    Thanks reetesh and gourav for your help.
    i followed below mapping details
    LOV Item Properties
    ID -PurcCommodity
    ViewInstance -VendorVO1
    ViewObject -PurcCommodity
    map1 properties
    LOV Region Item - segment1
    Return Item -PurcCommodity
    CriteriaItem -PurcCommodity
    Usefor Validation -Default
    map2 properties
    LOV Region Item - segment1
    Return Item -validation(formvalue)
    CriteriaItem -
    Usefor Validation -yes
    form value properties
    ID -validation
    ViewInstance -VendorVO1
    ViewObject -PurcCommodity
    Gourav- i double checked multiple rows it is not working, some times it is not working for single row too.
    Thanks
    krish.

  • How to minimize Remote DBA's Right?

    How to minimize Remote DBA's permission for data.  I would like to encript data  in database user level?   Thank you in anticipation.....

    In addition to Erland's reply, if the Remote DBA connects as a member of sysadmin server role he/she are able to do anything on the instance.. You have to grant the only rights she/he needs depends on your business requirements.
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • How to add OCA DBA track Logo to Resume

    Hi all,
    Can anyone please help me out in how to add OCA DBA track logo to Resume,
    Please help me out...
    Regards,
    - Sri

    you should have received a letter from the Oracle Certification Program where the logo usage is stated, otherwise you can go to the Oracle Education site for further information.
    On the other hand, logo and title usage may mean different things, there are countries where showing a document or a degree is more important thant the knowledge and experience; there are other countries where it is the other way around. Either way, showing an OCA (logo or reference) in a resume isn´t considered enough to make a difference in a very keen and competitive job market.
    Message was edited by:
    Madrid

  • How to Correct Invalid Synonyms

    Hi All,
    Before everyone jumps to conclusions, I am not a newbie and I am NOT getting "ORA-00980: synonym translation is no longer valid".
    I am aware of and very familiar with scripts, like http://www.oracle.com/technology/oramag/code/tips2003/113003.html , that detect and drop synonyms that are pointing to objects that do not exist. That isn't my problem either.
    My problem is that I have thousands on synonyms on my 10.1.0.3 database that point to valid objects but claim to be invalid (SELECT STATUS FROM DBA_OBJECTS). If I reference one of these synonyms (say by selecting from it)it becomes valid.
    The Documentation, http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10759/statements_2.htm#i2295590, claims that there is no "alter synonym" command. Yet garbage alter commands return:
    ORA-00940: invalid ALTER command
    While running "ALTER SYNONYM owner.synonym COMPILE;" as system returns: "ORA-01031: insufficient privileges"
    So what is going on here? And how is a DBA supposed to make all of the synonyms valid?
    Steven

    Yes, that is right. If I run the same script that you show it doesn't work for me.
    10:58:03 sbx4 > create user a identified by a ;
    User created.
    10:58:13 sbx4 > grant create session, dba to a ;
    Grant succeeded.
    10:58:28 sbx4 > connect scott/tiger@sbx4
    Connected.
    10:59:53 sbx4 > create synonym emp_synonym for scott.emp ;
    Synonym created.
    10:59:56 sbx4 > connect a/a@sbx4
    Connected.
    11:00:09 sbx4 > alter synonym scott.emp_synonym compile ;
    alter synonym scott.emp_synonym compile
    ERROR at line 1:
    ORA-01031: insufficient privileges
    I've tried this in a few different databases, all 10.1.0.3, some on Tru64 some on Linux Itanium.

  • How to restrict Invalid record in 0Material_Text Master Data

    Hi,
    In R/3 ,during legacy data loading through Excel file , invalid Material code ( with Balnk spaces ) gives error BW data .It comes upto PSA & gives error Invalid material code. Because there is no field in for deletion Flag in Material_ text . How we can stop the material in BW.
    Thanks with Regards,
    Anand Mehrotra.

    Hi Anand,
    First identify the list of invalid materials. If the list is small, say less than 10 or so, you can correct the data is PSA and then load the master data. This will save you from doing any change to the data model.
    If there are huge number of records, follow any one of the below steps.
    1) Try to edit the data in the Source file (Excel file)
    2) Write a code in the Start Routine in the Material transformation, to eliminate the invalid materials.
    Regards,
    Balaji V

  • How to handle invalid images in "Image" report item?

    I have a report that displays images in Image item (MIMEType image/jpeg) in the table. Images are stored in the database.
    Some of the images are, however, not a valid jpeg files (not sure what they are but I saved them as files and they cannot be opened by any graphics editor). When report server tries to display such an image in the report whole report fails.
    Similarly, web application that tries to display them on the web page throws an exception. In web application we can catch that exception and show static "IMAGE IS INVALID" bitmap instead.
    Is there a way to handle/catch such errors in SSRS? The way it is now is not good because error message doesn't tell you anything specific about error.

    Enabling SSRS Remote errors
    http://technet.microsoft.com/en-us/library/aa337165.aspx
    http://www.sharepointjohn.com/sql-reporting-services-2008-r2-enable-remote-errors/
    Displaying custom error message
    http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/2b891541-836f-4d9d-89f3-d2340319f453/
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • How to avoid Invalidation of Stateful Session Bean in case of an Exception?

    Hi developers,
    I'm working on a project using JSF, Toplink and EJB 3.0 using JDev.
    I'm using a statefull session bean that is stored in the session but when an exception occurs in a business method in the stateful bean the bean crashed and can never be reused and returns the following trace :
    06/06/05 10:19:12 java.rmi.NoSuchObjectException: Session has timed out or was invalidated
    06/06/05 10:19:12      at com.evermind.server.ejb.StatefulSessionEJBObject.throwPassivisationException(StatefulSessionEJBObject.java:335)
    06/06/05 10:19:12      at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_transactionPreExecute(StatefulSessionEJBObject.java:717)
    06/06/05 10:19:12      at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:51)
    06/06/05 10:19:12      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
    06/06/05 10:19:12      at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    06/06/05 10:19:12      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
    06/06/05 10:19:12      at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:840)
    06/06/05 10:19:12      at PriseChargePS_StatefulSessionBeanWrapper21.trouverAssure(PriseChargePS_StatefulSessionBeanWrapper21.java:1747)
    06/06/05 10:19:12      at Pensions.Traitements.AssureTraitement.donnerAssure(AssureTraitement.java:130)
    06/06/05 10:19:12      at Pensions.view.backing.priseCharge.PriseCharge.chercherAssure_action(PriseCharge.java:189)
    06/06/05 10:19:12      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    06/06/05 10:19:12      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    06/06/05 10:19:12      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    06/06/05 10:19:12      at java.lang.reflect.Method.invoke(Method.java:585)
    06/06/05 10:19:12      at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
    06/06/05 10:19:12      at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
    06/06/05 10:19:12      at javax.faces.component.UICommand.broadcast(UICommand.java:312)
    06/06/05 10:19:12      at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
    06/06/05 10:19:12      at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
    06/06/05 10:19:12      at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
    06/06/05 10:19:12      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
    06/06/05 10:19:12      at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
    06/06/05 10:19:12      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
    06/06/05 10:19:12      at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    06/06/05 10:19:12      at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
    06/06/05 10:19:12      at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
    06/06/05 10:19:12      at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
    06/06/05 10:19:12      at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
    06/06/05 10:19:12      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:629)
    06/06/05 10:19:12      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
    06/06/05 10:19:12      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
    06/06/05 10:19:12      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
    06/06/05 10:19:12      at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
    06/06/05 10:19:12      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
    06/06/05 10:19:12      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    06/06/05 10:19:12      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    06/06/05 10:19:12      at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
    06/06/05 10:19:12      at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
    06/06/05 10:19:12      at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
    06/06/05 10:19:12      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    Please help !

    Your question is not how to create/compile a stateless session bean, you are asking how to use those weblogic specific annotations. A weblogic forum is a better place to ask that.

  • How to catch invalid emails & How to send to multiple emails

    This is a long two-part question.
    Part One:
    I would like to catch invalid emails within the JavaMail code and send the valid emails. I am using the following code to do this. The problem I am running into is when there is a valid email, sometimes it will be caught within the code without being sent and it will show up as a validunsentemail. I have set sendpartial to true, so this shouldn't be happening. Also, is there a way to check if a domain name is in existence before sending the email?
    Part Two:
    For testing purposes, I would like to mix valid and invalid emails for TO, but I don't know how to send to more than one email using an array. I have looked at other posting on the forum of how to do this, but I keep getting errors when I try other's suggestions. Maybe somebody will be able to help with this problem if they see the code below.
    Thanks in advance for all your help!
    import javax.mail.*;
    import javax.mail.internet.*;
    import java.util.*;
    import javax.mail.event.*;
    import javax.activation.*;
    public class Practice
    public static void main (String[] args) {
    Transport trans = null;
    try {
    Properties props = System.getProperties();
    props.put("mail.smtp.host", "hostname");
    props.put("mail.smtp.sendpartial","true");
    Session mailConnection = Session.getDefaultInstance(props, null);
    Message msg = new MimeMessage(mailConnection);
    Address angela= new InternetAddress("[email protected]");
    InternetAddress[] address ={new InternetAddress("[email protected]")};
    msg.setRecipients(Message.RecipientType.TO, address);
    msg.setContent("This is a test. This is only a test. What's Next?", "text/plain");
    msg.setFrom(angela);
    msg.setSubject("Testing 123");
    msg.setSentDate(new Date());
    msg.saveChanges();
    trans = mailConnection.getTransport(address[0]);
    trans.connect();
    trans.send(msg, address);
    System.out.println("Mail was sent successfully.");
    try {Thread.sleep(5);}catch(InterruptedException e){}
    } catch (MessagingException mex){
    try {Thread.sleep(5);}catch(InterruptedException e){}
    mex.printStackTrace();
    System.out.println();
    Exception ex = mex;
    do{
    if (ex instanceof SendFailedException){
    SendFailedException sfex = (SendFailedException) ex;
    Address[] invalid = sfex.getInvalidAddresses();
    if (invalid != null){
    System.out.println(" ** Invalid Addresses");
    if (invalid != null) {
    for (int i=0; i< invalid.length; i++)
    System.out.println(" " + invalid);
    Address[] validUnsent = sfex.getValidUnsentAddresses();
    if (validUnsent != null){
    System.out.println(" ** ValidUnsent Addresses");
    if (validUnsent !=null){
    for (int i=0; i<validUnsent.length; i++)
    System.out.println(" "+validUnsent[i]);
    Address[] validSent = sfex.getValidSentAddresses();
    if (validSent != null){
    System.out.println(" **ValidSent Addresses");
    if (validSent != null){
    for (int i=0; i<validSent.length; i++)
    System.out.println(" "+validSent[i]);
    System.out.println();
    if (ex instanceof MessagingException)
    ex = ((MessagingException)ex).getNextException();
    else
    ex = null;
    } while (ex != null);
    } finally {
    try {
    trans.close();
    } catch (MessagingException mex){  /*  ignore */}

    I am working on exactly the same problem. What you need to do is use the destination mail server to send mails. For example: address
    [email protected] is an invalid user.
    Using normal way you wont be able to catch invalid mail box error.
    If you use mail server of jabcreative.com to send email then you will get an unknown user exception.
    To find mail server of jabcreative.com you will have to do MX LookUp on DNS entry
    Have a look at this URL
    http://www.cee.hw.ac.uk/courses/5nn2/3/12.htm

  • How to clear invalid item value?

    Hi, All.
      I have two items: selectOneChoice and inputComboboxListOfValues. The second item list of values depends on the first item selected value. When the value of the first item is changed, the second item should be reset. I do this by
    calling setValue(null) on the second item. The partialTriggers property of the second item is set to the first item id. If the second item has a valid value, then everything works well. But if the second item has an invalid value, for
    example, the user after entering an incorrect value, clicks on another item, the setValue(null) does not reset the value.
      Moreover, it is possible that a user saves to the database invalid data. For example:
      1. Select a valid value on the second item.
      2. Remove some characters making the invalid value.
      3. Go to some other item by clicking the mouse.
      4. Change value in the first item. (At this time will invoke setValue(null), and the list of values of the second item will change.)
      5. Edit the value in second field to the value set in the first paragraph (this value is not valid after changing the value in the first element).
      6. After that the document can be saved, no further checks are not happening.
    Version of JDeveloper is 11.1.2.4.
    How to set null value and how to ensure that in the second item it was impossible to enter not valid value?
    Regards,
    Alexey

    OK, I looked into the issue. There are two problems:
    1) your data model does not check the entries in the SOME_DOCUMENTS. You only check the FK against the master tables. You need to check if hte combination of the keys are valid. On solution would be to use model driven dependent lov. Check Andrejus Baranovskis's Blog: Cascading LOV's in JDeveloper 11.1.2.3.0 for a sample. Next the VO you use is based on multiple EO which is not necessary if you use Andrejus's approach.
    2) There might be a bug in the af:inputComboboxListOfValues in this scenario when you you allow to enter values (or parts of it) in the inputText. However, if you validate the keys correctly, you can't insert something invalid. This problem has it's root in your data model. If you use the dependent lov and don't allow user input you can't change the selected value to something invalid. So my advice is to use dependent lov and don't allow input in the inputComboboxListOfValues (set editMode='select'), the user can still search or select the value, but only the valid ones.
    The inputComboboxListOfValues error need some more investigation which need more time. I'll see if I find out something more.
    Timo

Maybe you are looking for

  • Error while running adlnkoh.sh. Please check logfile

    Hi All, i got this error while cloning i ran perl adcfgclone.pl dbTechStack on db tier Starting ORACLE_HOME relinking... Instantiating adlnkoh.sh Starting relink of ORACLE_HOME - RDBMS Adding execute permission to : /erpapp/prod/proddb/10.2.0/appsuti

  • Letter of Credit Updation

    Hi, I have an issue with Letter of Credit. I have created an LC using financial document and processed the order and PGI is done. Now the LC value is not getting updated. Even if the order value is greater than the LC value it is getting processed wi

  • How can I prevent a security breach?

    Can anyone tell me if there is a way to prevent a hacker from gaining access to my computer. A Kevin Mitnick wannabe was successful in breaking into my computer while I was away from it by using some kind of hacking program.

  • Transferring certain songs from ipod to another ipod...HELP!!!

    okay...i dont know if you can pull this off but i just got a new ipod classic 120g...and my friend has the same. he has a TON of songs and i want alot of the stuff hes got...theres a catch though: i have itunes with about 6 g's of music on it, and i

  • URGENT HELP- Can't install Oracle Portal on Windows 2000

    I am trying to install Oracle Portal as part of installation of Oracle 9iAS v1.0.2.2.2a on Windows 2000 and I get this message from the OPCA Installation Log: STEP 8 : Installing WWV layer Components INSTALL_ACTION:installWWV() : ..\..\bin\sqlplus po