Prepared/Active state for a Resource adatper.

Hi All,
I am deploying a resource adapter and as soon as the adapter is deployed, though the weblogic page shows it to be in "Prepared" state but it gets started.
If I click on the "Start" button and the weblogic page shows it to be in "Active" state.
What does "Prepared" and "Active" state for a resource adapter signify?
And after this I am unable to stop the resource adatper. Clicking on the "Stop" button makes the status back to to "Prepared" but I can see the adapter still connected to the EIS.
So how to stop a resource adapter?

refer the links;
http://www.dannorris.com/2009/03/12/start-database-services-automatically-after-instance-startup/
http://surachartopun.com/2009/04/why-my-oracle-cluster-could-not-start.html
http://surachartopun.com/2009/07/change-oracle-asm-resource-autostart.html
http://surachartopun.com/2009/11/disableenable-automatic-startup-oracle.html
Re: CRS auto-start
hope this may helps you, please update the output here for future references:

Similar Messages

  • WCF-SQL Adapter Hangs in Active State for hours

    I'm at a new client, and doing a simple test with a content-based-routing solution picks up a file, maps it, and is supposed to update a SQL database.  The WCF-SQL send port is stuck in the "active" state.  No messages in EventLog.  If there's
    an issue, I don't know why it doesn't just suspend.
    Any ideas?
    Thanks,
    Neal Walters

    Hi Neal,
    Few things to check IMO,
    Check if the host instance is running properly
    Check the version of the Host instance, If required make the host instance to 32 bit. 
    If it is using any schemas then make sure the binaries are deployed and gace'ed
    Try to restart the BizTalk host instance to see if it makes a difference
    Check if your SQL Database Instance is UP and running , Make sure the BizTalk service Account has proper rights on the SQL server and has execute permission on the SQL Stored procedure (if using one)
    Check if you have anything on the SQL server event viewer.
    Try to complete you routing of file using a send port also which will copy the input message to a temp folder location , Try  Using Failed Message Routing to see
    if it helps!
    There is an article
    Configuring a Port Using the WCF-SQL Adapter for further reference. 
    HTH,
    Naushad Alam
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or
    Mark As Answer
    alamnaushad.wordpress.com
    My new TechNet Wiki
    "BizTalk Server: Performance Tuning & Optimization"

  • Creating an "active" state for a button

    I am creating a page with six buttons that need to have an
    active state when clicked, ie., the button currently clicked needs
    to change colors to signify that it has been selected. Then it
    needs to change back to its original color when another button is
    clicked. Please help!! I am relatively inexperienced with coding so
    any extra clarity in explaining is appreciated.
    Thanks in advance!
    I had originally posted this topic in the 'site design'
    section, but it seems no one can be bothered to answer this one.
    Please Help Me Out!

    A workaround I like is using movieclips instead of buttons.
    With actionscript they can act like buttons without being a button.
    Just make a moviclip with keyframes, each frame being a different
    button state.
    Ex:
    frame 1 - button off
    frame 2 - button on
    frame 3 - buton active
    sample AS attached to frame:
    button1.onPress = function(){
    button1.gotoAndStop(3); //makes button 1 active
    button2.gotoAndStop(1); //makes button 2 go to off state
    button3.gotoAndStop(1); //makes button 3 go to off state
    button1.onMouseOver = function(){
    button1.gotoAndStop(2);
    button1.onMouseOut = function(){
    gotoAndStop(1);
    My syntax may not be 100% correct, but the theory is there to
    help you figure it out.

  • Spry Slideshow with Filmstrip - Thumbnail 'Active' State

    Does anyone know if it's possible to make an "active" state for the thumbnails so that the thumbnail for the slide that is chosen remains in its 'hover' state?
    And further, if it's possible to specify diferent images for link, hover and active states?
    Thanks in advance to anyone able to help.

    Look at the code and you will see five lines that are:
    Delete the last one and problem solved
    Jon

  • Active State Button

    I can't get my movie track button to change 'states'. It works fine on a computer. On a DVD deck it's impossible to know when a track has been selected. You can't tell when to push 'Enter' on the remote. Of course on a Mac, it's just point the mouse and click to make the track play.
    My button is the movie track, dragged and dropped, so video track icon is also a button. I have tried to assign colors on the Normal, Selected and Active settings, but it doesn't show colors in the Simulator.
    How do I get the button (movie track) to change when it is selected?
    DVDSPRO 4.2.2, MBPro 15, FW800 external drive, FCS 3
    Thanks,
    Bill

    I changed my workflow to make the active state work. I added a button to the menu and then linked the button to the track media. When done that way, the buttons could display an active state for selecting a track using a deck remote.
    I consulted my training DVD from macprovideo.com.

  • Register-widget, active states problem

    hello, I have a question about the register widgets. Is it possible that the registers are closed at the beginning? now the first tab is open? (see Sreenshot)
    Second question: In the telephone mode is shifted in the preview layout to the left and a menu appears which is not available in design mode?
    Third question: The "Active-states" in the menu items work correctly nich. Is not displayed as, for example, only when you scroll minimal ...
    Link: http://mgneu.businesscatalyst.com/
    Thanks for help, Martin

    Hi Martin
    Answering your questions :
    - Yes, you can select hide all initially for the compositions used on page which will hide all targets initially and on mouse click action will show up targets.
    - In phone layout, please check for any empty object like rectangle, text frame along left side of page , the menu which appears can be in master or placed extreme left of page , try to delete that.
    - Enable Active State for Anchor Links from Site Properties > Content
    Thanks,
    Sanjit

  • Applying Active state of top level nav. menu to child pages

    I am trying to keep a consistent look across the child pages of a top level site. I'd like the main navigation bar to remain in an active state for the parent page while the user navigates the child pages associated with that page using submenus. Ideally, I'd like the active state to remain on the top level menu so that the user knows they are still within that parent while they drill down to the specific information they are looking for.
    Brand new at this and am truly your 'no HTML' experience, just design work gal. Any help or suggestions would be appreciated.

    Samianne11
    It seems as if your problem is similar to mine posted on October 2nd 2012, which
    got the following answer from 1.adobelance.
    1.adobelance, 
    Oct 2, 2012 2:22 PM   in reply to ballyd
    Muse menus don't currently support this, although it is on our list of features to add in the future.

  • Application is in 'Prepared' state instead of 'Active' state.

    I m using below code to deploy an application on weblogic 11g
    import java.io.*;
    import java.util.Hashtable;
    import weblogic.deploy.api.tools.*;  //SesionHelper
    import weblogic.deploy.api.spi .*;  //WebLogicDeploymentManager
    import javax.enterprise.deploy.spi.TargetModuleID;
    import javax.enterprise.deploy.spi.status.ProgressObject;
    import javax.enterprise.deploy.spi.status.DeploymentStatus;
    import javax.enterprise.deploy.shared.ModuleType;
    import javax.enterprise.deploy.spi.Target;
    import javax.management.MBeanServerConnection;
    import javax.management.remote.JMXConnector;
    import javax.management.remote.JMXConnectorFactory;
    import javax.management.remote.JMXServiceURL;
    import javax.naming.Context;
    public class WeblogicTest
         public static void main(String ar[]) throws Exception
              System.out.println("Start Deploying");
              WebLogicDeploymentManager deployManager=SessionHelper.getRemoteDeploymentManager( "t3", "10.0.0.47", "7003", "weblogic",
              "weblogic123");
              System.out.println("Deploy Manager  :  " + deployManager);
              DeploymentOptions options = new DeploymentOptions();
              options.setName("TC33");          //TODO
              Target targets[] = deployManager.getTargets();
              System.out.println("Target  :  " + targets);
              Target deployTargets[]=new Target[1];     
              int temp=0;
              for (temp=0; temp < targets.length; temp++){
                   if(targets[temp].getName().equals("managed_2")){
                        deployTargets[0]=targets[temp];
              ProgressObject processStatus=deployManager.distribute(deployTargets, new                
                        File("\\\\10.0.0.47\\Builds\\VertexTest\\domain1\\tc3.3b74_6.2.2011.19\\test.ear"), null,options);
              DeploymentStatus deploymentStatus=processStatus.getDeploymentStatus() ;
              System.out.println("UnDeploymentStayus.getMessage(): "+deploymentStatus.getMessage() );
    System.out.println("Start sleeping");
              Thread.sleep(10000);
    System.out.println("End sleeping");
              TargetModuleID[] targetModuleIDs=deployManager.getAvailableModules(ModuleType.EAR, deployTargets);
              System.out.println("\n\t targetModuleIDs [] = "+targetModuleIDs);
              for (int j=0;j<targetModuleIDs.length;j++){
                   System.out.println("\n\t "+targetModuleIDs[j]);
                   deployManager.start(targetModuleIDs);
                   deployManager.start(targetModuleIDs);
    }This code successfully deployed my application on desired managed server but my application is in 'Prepared' state instead of 'Active' state.
    Currently, I have to manually update my application's state to 'Active'.
    Can anybody tell me if I am missing something in my code.

    It actually looks fine, but what could be the problem is the time to deploy your application and
    the sleep command of ten seconds. When your sleep is finished, is your application deployment finished?
    Maybe you can add a while loop using the isCompleted method of the DeploymentStatus class, for example,
    ProgressObject processStatus = deployManager.distribute(deployTargets, new File("\\\\10.0.0.47\\Builds\\VertexTest\\domain1\\tc3.3b74_6.2.2011.19\\test.ear"), null,options);
    DeploymentStatus deploymentStatus = processStatus.getDeploymentStatus() ;
    while (!deploymentStatus.isCompleted()) {
        Thread.sleep(1000);
    TargetModuleID[] targetModuleIDs = deployManager.getAvailableModules(ModuleType.EAR, deployTargets);
    System.out.println(targetModuleIDs);
    if (targetModuleIDs.length > 0) {
        deployManager.start(targetModuleIDs);
    }Or something else along those lines.

  • Deployments are in Active state on Cluster but in Prepared state on server

    Hi,
    We initially deployed our application (Oracle Identity Manager 11gR2) on standalone managed server and then convert it into cluster using wlst commands.
    readDomain('/app/oracle/Middleware_OAM/user_projects/domains/oim_domain')
    setDistDestType('JRFWSAsyncJmsModule', 'UDD')
    setDistDestType('OIMJMSModule', 'UDD')
    create('oim_cluster','Cluster')
    assign('Server','oim_server1','Cluster','oim_cluster')
    updateDomain()
    The cluster is created fine and we can start the application successfully and access it. However the problem is that all the deployments are in 'Active' state only under Cluster but in prepared state under the server oim_server1 (though application access working on managed server port). Please advise where we are missing and what could be the wrong?
    Thanks

    Hi,
    1. What if you are trying to access the application page, does it come up ?
    2. Use the below wlst command to get the actual state of the deployed application:
    The deploy command returns a WLSTProgress object that you can access to check the status of the command. The WLSTProgress object is captured in a user-defined variable, in this case, progress.
    wls:/mydomain/serverConfig/Servers> progress= deploy(appName='businessApp',path='c:/myapps/business',createplan='true')
    The previous example stores the WLSTProgress object returned in a user-defined variable, in this case, progress. You can then use the progress variable to print the status of the deploy command. For example:
    wls:/mydomain/serverConfig/Servers> progress.printStatus()
    Current Status of your Deployment:
    Deployment command type: deploy
    Deployment State       : completed
    Deployment Message     : null
    wls:/mydomain/serverConfig/Servers>
    3. Restart all the servers, instances, related DB and check if it helps.
    Thanks,
    Sharmela

  • Final trigger for lightbox seems to load in active state

    i am a total noob
    i designed a site with a lightbox and 5 triggers.
    i made the triggers blank boxes and overlayed them on a grid of 5 photos.
    i also added txt to each trigger to define its rollover state- normal is no fill/ rollover and pushed is filled/ active is no fill.
    for some reason, the final trigger does not do the roll over action for the text box. i think it is because it loads into the active state but i can not be sure.
    i noticed that once the corresponding triggers are activated, the text boxes do not resume they're roll over behavior- they remain in the active state.
    this is the site www.joepennella.com
    the trigger i'm taling about is on the bottom right- for "commencement"
    any guidance would be greatly appreciated
    max

    how do i change it so that when the page loads that text frame loads normal state? i can't seem to get this particular txt frame to do that. all the others do it. i've deleted it, copied another, made it from scratch- this last one always seems to load in active state
    also, after coming out of the lightbox- is it possible to make the txt frame return to normal state?

  • I own an eMac. I really enjoy burning my iTunes playlists to a cd. But, now an error message pops up just after iTunes prepares the disc for burning.The message states this: The attempt to burn a disc failed. An unknown error occurred (-3). Any advice?

    Hey everyone! So, here is my problem. I own an eMac. I enjoy burning my iTunes playlists to a CD. Well, all of a sudden, right after iTunes prepares the disc for burning an error message pops up and says this: The attempt to burn a disc failed. An unknown error occurred (-3). Any suggestions on how to correct this problen so I can continue burning my playlists???
    Thanks,
                   broshane

    Hi, I'e never heard of that error before!???
    Is this purchased music, or your own music files?

  • Preparing Dynamic SQL statement for inserting in Pro*C

    Hi Friends,
    From quite some time i am struggling writing Dynamic SQL statement for dynamic insert and update in Pro*C.
    Can somebody go through my code and suggest me the rigth way of doing.
    Right now it throws an error saying " Error while updating ORA-00904: invalid column name "
    Please help me.
    Girish.
    int main()
    EXEC SQL BEGIN DECLARE SECTION;
    char *uid ="scott/tiger";
    static char sqlstmt[129];
    struct /* DEPT record */
    int dept_num;
    char dept_name[15];
    char location[14];
    } dept_rec;
    EXEC SQL END DECLARE SECTION;
    EXEC SQL WHENEVER SQLERROR DO sql_error();
    EXEC SQL CONNECT :uid;
    dept_rec.dept_num = 50;
    strcpy(dept_rec.dept_name,"ADMIN");
    strcpy(dept_rec.location,"IN");
    strcpy(sqlstmt,"UPDATE dept set DNAME = dept_rec.dept_name where DEPTNO = dept_rec.dept_num");
    EXEC SQL EXECUTE IMMEDIATE:sqlstmt;
    EXEC SQL COMMIT;
    exit(0);
    void sql_error()
    printf("\nError while updating %s",sqlca.sqlerrm.sqlerrmc);
    EXEC SQL ROLLBACK;
    }

    A bit rusty here but this is how I see it.
    Think of it this way ..
    all Oracle is going to see is:
    UPDATE dept set DNAME = dept_rec.dept_name where DEPTNO = dept_rec.dept_num
    Its NOT going to know what dept_rec.dept_name is or dept_rec.dept_num is ..
    it doesnt go back and fill in those values.
    You need something like
    strcpy(sqlstmt,"UPDATE dept set DNAME = \"");
    strcat(sqlstmt,dept_rec.dept_name);
    strcat(sqlstmt,"\" where DEPTNO = ");
    strcat(sqlstmt,dept_rec.dept_num);
    printf(sqlsmt); # Just to be sure the update statement look right during testing.

  • Jbo error while trying to prepare VO statement

    Hi,
    The application runs on 10.1.3.5.0
    There is this error that comes up almost every time when users try to submit an application.
    I was able to replicate this issue by turning of AM pooling from the AM configuration.
    Looking at the error ' Invalid column type' I tried to compare the VO attributes with the databse column types - There were some mismatches were a field in database is varchar when the corresponding java type is Date instead of string. Resolving this datatype conflict didn't help though.
    Stranger is the fact that this error is seen only in a production environment, this works fine in other non-production environments.
    Below is the log trace.
    11/12/22 11:35:48 Exception occured at: Thu Dec 22 11:35:48 GMT 2011
    11/12/22 11:35:48 JBO-30003: The application pool (acca.oracle.adf.tuitionprovider.model.services.TPEnterGoldAlpAMLocal) failed to checkout an application module due to the following exception:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.SQLStmtException, msg=JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT XXTPFacilitiesEO.ID,
    XXTPFacilitiesEO.FACILITY_CD,
    XXTPFacilitiesEO.CREATED_BY,
    XXTPFacilitiesEO.CREATED_DATE,
    XXTPFacilitiesEO.MODIFIED_BY,
    XXTPFacilitiesEO.MODIFIED_DATE,
    XXTPFacilitiesEO.TP_PARTY_ID,
    XXTPFacilitiesEO.TPAPP_APPLICATION_ID,
    XXTPCourses.QUALIFICATION_YN,
    XXTPCourses.ID AS ID1,
    XXTPCourses.QUAL_START_DATE,
    XXVariants.VARIANT_CODE,
    XXVariants.ID AS ID2,
    XXVariants.VARIANT_CODE AS VARIANT_CODE1,
    XXTPCourses.QUALIFICATION_YN AS QUALIFICATION_YN1,
    XXTPCourses.QUALIFICATION_YN AS QUALIFICATION_YN2,
    XXTPCourses.QUAL_START_DATE AS QUAL_START_DATE1,
    XXVariants.VARIANT_CODE AS VARIANT_CODE2,
    XXVariants.VARIANT_CODE AS VARIANT_CODE3,
    XXTPCourses.QUALIFICATION_YN AS QUALIFICATION_YN3,
    XXTPCourses.QUAL_START_DATE AS QUAL_START_DATE2,
    XXTPCourses.QUALIFICATION_YN AS QUALIFICATION_YN4,
    XXTPCourses.QUAL_START_DATE AS QUAL_START_DATE3,
    to_char(sysdate) as currdate
    FROM XX_TUITION_PROV.XX_TP_FACILITIES XXTPFacilitiesEO, XX_TUITION_PROV.XX_TP_COURSES XXTPCourses, XX_PAPERPROD.XX_VARIANTS XXVariants
    WHERE (XXTPFacilitiesEO.ID = XXTPCourses.ID)) QRSLT WHERE TPAPP_APPLICATION_ID = :Bind_ApplicationId
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
         at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1517)
         at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1381)
         at oracle.adf.model.BindingContext.beginRequest(BindingContext.java:683)
         at oracle.adf.model.BindingRequestHandler.invokeBeginRequest(BindingRequestHandler.java:352)
         at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:166)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161)
         at acca.oracle.adf.view.common.ACCAADFBindingFilter.doFilter(ACCAADFBindingFilter.java:37)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:233)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:202)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:400)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:414)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    ## Detail 0 ##
    oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT XXTPFacilitiesEO.ID,
    XXTPFacilitiesEO.FACILITY_CD,
    XXTPFacilitiesEO.CREATED_BY,
    XXTPFacilitiesEO.CREATED_DATE,
    XXTPFacilitiesEO.MODIFIED_BY,
    XXTPFacilitiesEO.MODIFIED_DATE,
    XXTPFacilitiesEO.TP_PARTY_ID,
    XXTPFacilitiesEO.TPAPP_APPLICATION_ID,
    XXTPCourses.QUALIFICATION_YN,
    XXTPCourses.ID AS ID1,
    XXTPCourses.QUAL_START_DATE,
    XXVariants.VARIANT_CODE,
    XXVariants.ID AS ID2,
    XXVariants.VARIANT_CODE AS VARIANT_CODE1,
    XXTPCourses.QUALIFICATION_YN AS QUALIFICATION_YN1,
    XXTPCourses.QUALIFICATION_YN AS QUALIFICATION_YN2,
    XXTPCourses.QUAL_START_DATE AS QUAL_START_DATE1,
    XXVariants.VARIANT_CODE AS VARIANT_CODE2,
    XXVariants.VARIANT_CODE AS VARIANT_CODE3,
    XXTPCourses.QUALIFICATION_YN AS QUALIFICATION_YN3,
    XXTPCourses.QUAL_START_DATE AS QUAL_START_DATE2,
    XXTPCourses.QUALIFICATION_YN AS QUALIFICATION_YN4,
    XXTPCourses.QUAL_START_DATE AS QUAL_START_DATE3,
    to_char(sysdate) as currdate
    FROM XX_TUITION_PROV.XX_TP_FACILITIES XXTPFacilitiesEO, XX_TUITION_PROV.XX_TP_COURSES XXTPCourses, XX_PAPERPROD.XX_VARIANTS XXVariants
    WHERE (XXTPFacilitiesEO.ID = XXTPCourses.ID)) QRSLT WHERE TPAPP_APPLICATION_ID = :Bind_ApplicationId
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:836)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669)
         at oracle.jbo.server.ViewObjectImpl.activateNewRowTracker(ViewObjectImpl.java:11690)
         at oracle.jbo.server.ViewRowSetIteratorImpl.activateIteratorState(ViewRowSetIteratorImpl.java:3779)
         at oracle.jbo.server.ViewRowSetImpl.activateIteratorState(ViewRowSetImpl.java:5025)
         at oracle.jbo.server.ViewObjectImpl.activateIteratorState(ViewObjectImpl.java:12458)
         at oracle.jbo.server.ApplicationModuleImpl.activateVOs(ApplicationModuleImpl.java:7235)
         at oracle.jbo.server.ApplicationModuleImpl.doActivateState(ApplicationModuleImpl.java:6981)
         at oracle.jbo.server.ApplicationModuleImpl.doActivateAMState(ApplicationModuleImpl.java:6960)
         at oracle.jbo.server.Serializer.activate(Serializer.java:277)
         at oracle.jbo.server.DBSerializer.activateRootAM(DBSerializer.java:330)
         at oracle.jbo.server.ApplicationModuleImpl.activateState(ApplicationModuleImpl.java:5549)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:178)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7777)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4074)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2161)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
         at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1517)
         at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1381)
         at oracle.adf.model.BindingContext.beginRequest(BindingContext.java:683)
         at oracle.adf.model.BindingRequestHandler.invokeBeginRequest(BindingRequestHandler.java:352)
         at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:166)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161)
         at acca.oracle.adf.view.common.ACCAADFBindingFilter.doFilter(ACCAADFBindingFilter.java:37)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:233)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:202)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:400)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:414)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    ## Detail 0 ##
    java.sql.SQLException: Invalid column type
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:175)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:240)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:7895)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:7572)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:8183)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectAtName(OraclePreparedStatement.java:8206)
         at oracle_jdbc_driver_T4CPreparedStatement_Proxy.setObjectAtName()
         at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:3966)
         at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3335)
         at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:14008)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:804)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669)
         at oracle.jbo.server.ViewObjectImpl.activateNewRowTracker(ViewObjectImpl.java:11690)
         at oracle.jbo.server.ViewRowSetIteratorImpl.activateIteratorState(ViewRowSetIteratorImpl.java:3779)
         at oracle.jbo.server.ViewRowSetImpl.activateIteratorState(ViewRowSetImpl.java:5025)
         at oracle.jbo.server.ViewObjectImpl.activateIteratorState(ViewObjectImpl.java:12458)
         at oracle.jbo.server.ApplicationModuleImpl.activateVOs(ApplicationModuleImpl.java:7235)
         at oracle.jbo.server.ApplicationModuleImpl.doActivateState(ApplicationModuleImpl.java:6981)
         at oracle.jbo.server.ApplicationModuleImpl.doActivateAMState(ApplicationModuleImpl.java:6960)
         at oracle.jbo.server.Serializer.activate(Serializer.java:277)
         at oracle.jbo.server.DBSerializer.activateRootAM(DBSerializer.java:330)
         at oracle.jbo.server.ApplicationModuleImpl.activateState(ApplicationModuleImpl.java:5549)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:178)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7777)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4074)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2161)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
         at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1517)
         at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1381)
         at oracle.adf.model.BindingContext.beginRequest(BindingContext.java:683)
         at oracle.adf.model.BindingRequestHandler.invokeBeginRequest(BindingRequestHandler.java:352)
         at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:166)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161)
         at acca.oracle.adf.view.common.ACCAADFBindingFilter.doFilter(ACCAADFBindingFilter.java:37)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:233)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:202)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:400)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:414)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)

    You can easily check if your problem is AM passivation/activation related by forcing the application to do passivation/activation in your development environment (i.e. in JDev's embedded WLS). Just open the corresponding AM configuration, go to the tab "Pooling and Scalability" and uncheck the checkbox "Enable Application Module Pooling". This will force the AM to do state passivation/activation at each request and you can easily check if there is a problem.
    Have a look here for more information (this material refers to 11g, but it applies to 10g too):
    40.10 Testing to Ensure Your Application Module is Activation-Safe
    Dimitar
    Edited by: Dimitar Dimitrov on Dec 22, 2011 9:28 PM

  • Illegal state for operation deploy: 'STATE_PREPARED'

    Hi I am getting the following exception while updating an ejb jar on OSB for a transport type Business Service
    ]Illegal state for operation deploy: 'STATE_PREPARED'.
    weblogic.management.DeploymentException: [Deployer:149266]Illegal state for operation deploy: 'STATE_PREPARED'.
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.validatePrepare(ActivateOperation.java:231)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:76)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:723)
    at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1190)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    Any help or pointers would be higly appreciated

    Are you calling the right path?
    The call to page.getContentResource("image") will end up calling the following:
    resource.getResourceResolver().getResource(resource, “jcr:content/image”);

  • Error Deployer BEA-149231 Unable to set the activation state to true

    Hi Friends ,
    We are using weblogic 10.3.5.0, one of the deployment module is in failed status.
    In the application logs we could see the following error
    ERROR Util: Initial Spring Application Context creation failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'datasource' defined in class path resource [spring.xml]: Invocation of init method failed; nested exception is javax.naming.NoPermissionException: User &lt;anonymous&gt; does not have permission on comp.env.cpt to perform lookup operation
    in the weblogic server logs we could find the follow error
    <24-Jan-2013 08:47:43 o'clock CET> <Warning> <HTTP> <BEA-101162> <User defined listener org.apache.myfaces.webapp.StartupServletContextListener failed: java.lang.ExceptionInInitializerError.java.lang.ExceptionInInitializerError
    at com.db.cpt.biz.Utilities.Util.<clinit>(Util.java:114)
    at com.db.cpt.web.listener.MyPhaseListener.<clinit>(MyPhaseListener.java:26)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    Truncated. see log file for complete stacktrace
    Caused By: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'datasource' defined in class path resource [spring.xml]: Invocati
    on of init method failed; nested exception is javax.naming.NoPermissionException: User <anonymous> does not have permission on comp.env.cpt to perform lookup operation.
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1170)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
    Truncated. see log file for complete stacktrace
    Caused By: javax.naming.NoPermissionException: User <anonymous> does not have permission on comp.env.xxx to perform lookup operation.
    at weblogic.jndi.internal.ServerNamingNode.checkPermission(ServerNamingNode.java:443)
    at weblogic.jndi.internal.ServerNamingNode.checkLookup(ServerNamingNode.java:423)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:180)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
    Truncated. see log file for complete stacktrace
    >
    <24-Jan-2013 08:47:43 o'clock CET> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'xxx'.
    weblogic.application.ModuleException:
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    Truncated. see log file for complete stacktrace
    Caused By: javax.naming.NoPermissionException: User <anonymous> does not have permission on comp.env.cpt to perform lookup operation.
    at weblogic.jndi.internal.ServerNamingNode.checkPermission(ServerNamingNode.java:443)
    at weblogic.jndi.internal.ServerNamingNode.checkLookup(ServerNamingNode.java:423)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:180)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
    Truncated. see log file for complete stacktrace
    Can you please advise us how can we resolve this issue which with i am struggling
    Raja

    Kumar,
    thanks for the update.
    we fixed the issue,
    for a particular user we didnt add his membership in a group in security realm, we added the user to a particular group, and then restarted weblogic, and deployed the module, and then status of deployment becomes successful.
    Raja

Maybe you are looking for