Undeploy the application if deployed in unauthorised system

Hi,
I am new to create web application, I want to secure my web application by undeploying the application when a user copies into other system then it has to automatically undeploy the system.
here i was trying to check the system configuration in deployment descriptor and then if it is invalid then i want to undeploy it. My problem is to detect system configuration in web.xml and undeploy it after checking - process is confusing and not finding exact solution. Could any one please suggest me ......whether it is effective manner or not.
thanks in advance

http://onesearch.sun.com/search/onesearch/index.jsp?qt=run+only+one+instance&subCat=siteforumid%3Ajava31&site=dev&dftab=siteforumid%3Ajava31&chooseCat=javaall&col=developer-forums

Similar Messages

  • Undeploying the application fails...!!!

    Hi,
    i am trying to undeploy the existing application but it throws the below error message.
    Error accessing information for application "Olam". OC4J specific deployment descriptors for the application cannot be found. Check to make sure that the application has indeed been deployed correctly.
    Below is the log file details found in D:\Ora10gAS\dcm\logs folder...
    D:\Ora10gAS\dcm\logs\daemon_logs\log.xml
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2009-03-24T13:50:59.156+08:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>DCM</COMPONENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>IOLAMAS164</HOST_ID>
    <HOST_NWADDR>192.168.37.19</HOST_NWADDR>
    <MODULE_ID>oracle/defaultLogger/ExceptionLogger</MODULE_ID>
    <THREAD_ID>Deamon Worker for TaskMaster of iAS instance at: d:\Ora10gAS JVM Id =
    b64435.120369fd362.-8000</THREAD_ID>
    <USER_ID>SYSTEM</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>192.168.37.19:34442:1237873858765:0</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>Remote Execute failed: </MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[java.lang.NullPointerException
         at oracle.ias.sysmgmt.repository.plugin.orionp.ApplicationTreeBuilder.prepare(Unknown Source)
         at oracle.ias.sysmgmt.repository.plugin.orionp.ApplicationCollection.prepare(Unknown Source)
         at oracle.ias.sysmgmt.repository.plugin.orionp.CollectionDispatcher.prepare(Unknown Source)
         at oracle.ias.sysmgmt.repository.plugin.orionp.OC4JInstanceManager.prepare(Unknown Source)
         at oracle.ias.sysmgmt.repository.plugin.orionp.PlugInImpl._saveChanges(Unknown Source)
         at oracle.ias.sysmgmt.repository.plugin.orionp.PlugInImpl.resyncConf(Unknown Source)
         at oracle.ias.sysmgmt.repository.DcmPlugin.resyncConf(Unknown Source)
         at oracle.ias.sysmgmt.repository.SyncUpHandler._prepareResyncPlugins(Unknown Source)
         at oracle.ias.sysmgmt.repository.SyncUpHandler._syncUpFromPersistence(Unknown Source)
         at oracle.ias.sysmgmt.repository.SyncUpHandler.syncUpFromPersistence(Unknown Source)
         at oracle.ias.sysmgmt.repository.RepositoryImpl.syncUpFromPersistence(Unknown Source)
         at oracle.ias.sysmgmt.configsvc.ConfigurationServiceImpl.syncUp(Unknown Source)
         at oracle.ias.sysmgmt.task.ConfigAdapter.resync(Unknown Source)
         at oracle.ias.sysmgmt.task.TaskMaster.internal_resync(Unknown Source)
         at oracle.ias.sysmgmt.task.TaskMaster.internal_resync(Unknown Source)
         at oracle.ias.sysmgmt.task.TaskMaster.sysInit(Unknown Source)
         at oracle.ias.sysmgmt.task.TaskMaster.sysInit(Unknown Source)
         at oracle.ias.sysmgmt.task.InstanceManager.sysInit(Unknown Source)
         at oracle.ias.sysmgmt.task.InstanceManager.init(Unknown Source)
         at oracle.ias.sysmgmt.cmdline.DcmCmdLine.checkInit(Unknown Source)
         at oracle.ias.sysmgmt.cmdline.DcmCmdLine.execute(Unknown Source)
         at oracle.ias.sysmgmt.cmdline.DcmCmdLine.main(Unknown Source)
    ]]></SUPPL_DETAIL>
    </PAYLOAD>
    </MESSAGE>
    D:\Ora10gAS\dcm\logs\dcmctl_logs
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2009-03-24T13:50:59.203+08:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>DCM</COMPONENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>IOLAMAS164</HOST_ID>
    <HOST_NWADDR>192.168.37.19</HOST_NWADDR>
    <MODULE_ID>oracle/defaultLogger/ExceptionLogger</MODULE_ID>
    <THREAD_ID>main</THREAD_ID>
    <USER_ID>Administrator</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>192.168.37.19:34442:1237873858765:0</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>[TM] Remote evaluate failed.
    Current StackTrace:
    java.lang.Throwable
         at oracle.ias.sysmgmt.task.TaskMaster.remote_evaluate(Unknown Source)
         at oracle.ias.sysmgmt.task.TaskMaster.evaluate(Unknown Source)
         at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.undeploy(Unknown Source)
         at oracle.ias.sysmgmt.deployment.j2ee.console.EarUnDeployerImpl.undeploy(Unknown Source)
         at oracle.ias.sysmgmt.cmdline.DcmCmdLine.undeployApp(Unknown Source)
         at oracle.ias.sysmgmt.cmdline.DcmCmdLine.execute(Unknown Source)
         at oracle.ias.sysmgmt.cmdline.DcmCmdLine.main(Unknown Source)
    remote exception: oracle.ias.sysmgmt.exception.TaskException: The configuration files for this Oracle
    Application Server instance are inconsistent with the
    configuration stored in the repository. In order to protect the repository,
    no further configuration or deployment operations are allowed until the problem with the configuration on
    the filesystem is resolved. This condition arises when a prior operation was unsuccessful. The exception
    associated with this failed operation is:
    {0}
    . Please also check the logs located at
    ORACLE_HOME/dcm/logs to determine why DCM was unsuccessful in updating
    the configuration files on disk. Some possible causes are:
    *     permissions on files
    *     file contention issues on Windows NT
    *     internal Oracle error
    After resolving the problem that prevented DCM from updating the configuration
    files, you may use the dcmctl resyncInstance command to resolve the problem.
    Alternatively, you can stop and then restart the active dcmctl or EMD
    process and resyncInstance will automatically be performed.
    Resolution:
    Base Exception:
    java.lang.NullPointerException
    null
    remote exception StackTrace:
    java.lang.NullPointerException
         at oracle.ias.sysmgmt.repository.plugin.orionp.ApplicationTreeBuilder.prepare(Unknown Source)
         at oracle.ias.sysmgmt.repository.plugin.orionp.ApplicationCollection.prepare(Unknown Source)
         at oracle.ias.sysmgmt.repository.plugin.orionp.CollectionDispatcher.prepare(Unknown Source)
         at oracle.ias.sysmgmt.repository.plugin.orionp.OC4JInstanceManager.prepare(Unknown Source)
         at oracle.ias.sysmgmt.repository.plugin.orionp.PlugInImpl._saveChanges(Unknown Source)
         at oracle.ias.sysmgmt.repository.plugin.orionp.PlugInImpl.resyncConf(Unknown Source)
         at oracle.ias.sysmgmt.repository.DcmPlugin.resyncConf(Unknown Source)
         at oracle.ias.sysmgmt.repository.SyncUpHandler._prepareResyncPlugins(Unknown Source)
         at oracle.ias.sysmgmt.repository.SyncUpHandler._syncUpFromPersistence(Unknown Source)
         at oracle.ias.sysmgmt.repository.SyncUpHandler.syncUpFromPersistence(Unknown Source)
         at oracle.ias.sysmgmt.repository.RepositoryImpl.syncUpFromPersistence(Unknown Source)
         at oracle.ias.sysmgmt.configsvc.ConfigurationServiceImpl.syncUp(Unknown Source)
         at oracle.ias.sysmgmt.task.ConfigAdapter.resync(Unknown Source)
         at oracle.ias.sysmgmt.task.TaskMaster.internal_resync(Unknown Source)
         at oracle.ias.sysmgmt.task.TaskMaster.internal_resync(Unknown Source)
         at oracle.ias.sysmgmt.task.TaskMaster.sysInit(Unknown Source)
         at oracle.ias.sysmgmt.task.TaskMaster.sysInit(Unknown Source)
         at oracle.ias.sysmgmt.task.InstanceManager.sysInit(Unknown Source)
         at oracle.ias.sysmgmt.task.InstanceManager.init(Unknown Source)
         at oracle.ias.sysmgmt.cmdline.DcmCmdLine.checkInit(Unknown Source)
         at oracle.ias.sysmgmt.cmdline.DcmCmdLine.execute(Unknown Source)
         at oracle.ias.sysmgmt.cmdline.DcmCmdLine.main(Unknown Source)
    </MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    D:\Ora10gAS\dcm\logs\emd_logs\log.xml
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2009-03-24T13:46:09.390+08:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>DCM</COMPONENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>IOLAMAS164</HOST_ID>
    <HOST_NWADDR>192.168.37.19</HOST_NWADDR>
    <MODULE_ID>oracle/defaultLogger/ExceptionLogger</MODULE_ID>
    <THREAD_ID>Thread-23</THREAD_ID>
    <USER_ID>SYSTEM</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>192.168.37.19:76568:1237873569125:4</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>[TM] Remote evaluate failed.
    Current StackTrace:
    java.lang.Throwable
         at oracle.ias.sysmgmt.task.TaskMaster.remote_evaluate(Unknown Source)
         at oracle.ias.sysmgmt.task.TaskMaster.evaluate(Unknown Source)
         at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deployCommon(Unknown Source)
         at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.redeploy(Unknown Source)
         at oracle.ias.sysmgmt.deployment.j2ee.console.EarDeployerImpl.redeploy(Unknown Source)
         at oracle.sysman.ias.sta.oc4j.InstanceAdminObject.redeployApplication(InstanceAdminObject.java:808)
         at oracle.sysman.ias.sta.oc4j.Redeploy$RedeployBean.doWork(Redeploy.java:443)
         at oracle.sysman.emSDK.eml.util.iAS.ProcessingBean$ProcessingThread.run(ProcessingBean.java:264)
         at java.lang.Thread.run(Thread.java:534)
    remote exception: oracle.ias.sysmgmt.exception.TaskException: The configuration files for this Oracle
    Application Server instance are inconsistent with the
    configuration stored in the repository. In order to protect the repository,
    no further configuration or deployment operations are allowed until the problem with the configuration on
    the filesystem is resolved. This condition arises when a prior operation was unsuccessful. The exception
    associated with this failed operation is:
    {0}
    . Please also check the logs located at
    ORACLE_HOME/dcm/logs to determine why DCM was unsuccessful in updating
    the configuration files on disk. Some possible causes are:
    *     permissions on files
    *     file contention issues on Windows NT
    *     internal Oracle error
    After resolving the problem that prevented DCM from updating the configuration
    files, you may use the dcmctl resyncInstance command to resolve the problem.
    Alternatively, you can stop and then restart the active dcmctl or EMD
    process and resyncInstance will automatically be performed.
    Resolution:
    Base Exception:
    java.lang.NullPointerException
    null
    remote exception StackTrace:
    java.lang.NullPointerException
         at oracle.ias.sysmgmt.repository.plugin.orionp.ApplicationTreeBuilder.prepare(Unknown Source)
         at oracle.ias.sysmgmt.repository.plugin.orionp.ApplicationCollection.prepare(Unknown Source)
         at oracle.ias.sysmgmt.repository.plugin.orionp.CollectionDispatcher.prepare(Unknown Source)
         at oracle.ias.sysmgmt.repository.plugin.orionp.OC4JInstanceManager.prepare(Unknown Source)
         at oracle.ias.sysmgmt.repository.plugin.orionp.PlugInImpl._saveChanges(Unknown Source)
         at oracle.ias.sysmgmt.repository.plugin.orionp.PlugInImpl.resyncConf(Unknown Source)
         at oracle.ias.sysmgmt.repository.DcmPlugin.resyncConf(Unknown Source)
         at oracle.ias.sysmgmt.repository.SyncUpHandler._prepareResyncPlugins(Unknown Source)
         at oracle.ias.sysmgmt.repository.SyncUpHandler._syncUpFromPersistence(Unknown Source)
         at oracle.ias.sysmgmt.repository.SyncUpHandler.syncUpFromPersistence(Unknown Source)
         at oracle.ias.sysmgmt.repository.RepositoryImpl.syncUpFromPersistence(Unknown Source)
         at oracle.ias.sysmgmt.configsvc.ConfigurationServiceImpl.syncUp(Unknown Source)
         at oracle.ias.sysmgmt.task.ConfigAdapter.resync(Unknown Source)
         at oracle.ias.sysmgmt.task.TaskMaster.internal_resync(Unknown Source)
         at oracle.ias.sysmgmt.task.TaskMaster.internal_resync(Unknown Source)
         at oracle.ias.sysmgmt.task.TaskMaster.sysInit(Unknown Source)
         at oracle.ias.sysmgmt.task.TaskMaster.sysInit(Unknown Source)
         at oracle.ias.sysmgmt.task.InstanceManager.sysInit(Unknown Source)
         at oracle.ias.sysmgmt.task.InstanceManager.init(Unknown Source)
         at oracle.ias.sysmgmt.cmdline.DcmCmdLine.checkInit(Unknown Source)
         at oracle.ias.sysmgmt.cmdline.DcmCmdLine.execute(Unknown Source)
         at oracle.ias.sysmgmt.cmdline.DcmCmdLine.main(Unknown Source)
    </MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    I am using oracle10g AS R2...
    Please advice...!!!
    Regards,
    Ashok Kumar.G

    Hi,
    I was luck enough to resolve this issue after surfing the forum and articles over metalink and Net.
    First i checked the sync status of my instance;
    D:\Ora10gAS\dcm\bin>dcmctl getstate
    Current State for Instance:olam.iolamas164
    Component Type Up Status In Sync Status
    ====================================================
    1 home OC4J Up True
    2 HTTP_Server HTTP_Server Up True
    The sync status were all true but i tried to resync and update the config as shown below.
    D:\Ora10gAS\dcm\bin>dcmctl resyncinstance -i olam
    Current State for Instance:olam
    Component Type Up Status In Sync Status
    ============================================
    1 home OC4J Up True
    2 HTTP_Server HTTP_Server Up True
    D:\Ora10gAS\dcm\bin>dcmctl updateConfig
    D:\Ora10gAS\dcm\bin>
    Post this i tried to redeploy my application and it was successful.
    undeploying the application also worked.
    My issue has been resolved now.
    Regards,
    Ashok Kumar.G

  • Can we undeploy the application while the server is down?

    Hi Experts,
    We ran into a problem when we deployed the Web Dynpro application and restarted the instance because we made some change on the rfc. Unfortunately, the server never came back up since then, and we are unable to deploy the application anymore.
    I would like to undeploy the application that I deployed earlier and restart the again, but since the server is still down (almost 5 hours up to now) I cannot connect to the Visual Administrator. In addition, the dispatcher is always red at this point, but the SDM and server are green. Could anyone give some suggestion? I would very appreciate that.
    Thank you,
    -Don P.

    i don't think server is down in your case ... only dispatcher process is down. Try to make this process up.
    You can always undeploy using SDM.bat which will be available if SDM is up and running.
    Mahesh

  • Can not programmatically undeploy the application from a Weblogic Server

    Hi experts,
    I have a weblogic client application that is used to deploy/undeploy the application to weblogic server. The following code call undeploy() method to undeploy the application. But I still can see the application shown in the admin console after undeploying the app. Click the link of the app and the status is shown as "remove Successful".
    // source codes
    String protocol=”t3″;
    String hostName=”localhost”;
    String portString=”7001″;
    String adminUser=”weblogic”;
    String adminPassword=”weblogic”;
    WebLogicDeploymentManager deployManager=SessionHelper.getRemoteDeploymentManager( protocol,hostName,portString,adminUser,adminPassword);
    ProgressObject processStatus=deployManager.undeploy(new TargetModuleID[]{target}); //assume target is created already
    However I can successfully undeploy the application in oc4j server by calling the undeploy() API. Is there anything wrong with my code?

    Hi,
    Sometimes back i developed a JMX code to Deploy and Undeploy the Applications may be that's going to be helpful for you :
    http://weblogic-wonders.com/weblogic/2010/01/15/undeploying-application-using-java-method-jmx/ (For Undeployment)
    And
    http://weblogic-wonders.com/weblogic/2010/01/21/deploying-applications-using-java-jmx/ (For Deployment)
    Thanks
    Jay SenSharma

  • J2EE admin is locked every time the application is Deployed.

    J2EE admin is locked every time the application is Deployed.
    So, the admin should be unlocked after every deployment
    Please give me why this is happning? It's very very urgent

    Hi Krishnaveni,
       Can you check for this property "No password change required" - in your visual Admin?
    For this one please follow below steps.
        Open "Visual Administrator" in that "Cluster> Server>Services-->Security Provider"
        Goto "Runtime" - tab and then "User Management". Search for the user "J2EE_Admin" and double click on the user name to get the user management property sheet. There you can find "No password change required". If it is not checked, please check that one. then that password wont expire for every deployment.
    Regards,
    Sridhar

  • Help!! - Unable to use the Application Module Deployed as Corba Object in Oracle 8i

    I have been able to successfully deploy an Application Module in Oracle 8i but i am un able to get a reference to the Application Module from the database the code used by me is -
    package client;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import java.util.Hashtable;
    import oracle.jbo.*;
    import org.omg.CORBA.*;
    public class Corba8IClient{
    Hashtable env = new Hashtable();
    ApplicationModule appMod = null;
    String theAMDefName = "test/jd/freshJBO.FreshJBOModule";
    public Corba8IClient() {
    System.out.println("Started...");
    // Load the Application Module
    try{
    // Component deployed to Oracle8i CORBA Server.
    // Set up the 8i environment
    System.out.println("Setting up initial Context...");
    env.put(Context.INITIAL_CONTEXT_FACTORY, JboContext.JBO_CONTEXT_FACTORY);
    env.put(JboContext.DEPLOY_PLATFORM, JboContext.PLATFORM_ORACLE8I);
    env.put(Context.SECURITY_PRINCIPAL, "jd");
    env.put(Context.SECURITY_CREDENTIALS, "jd");
    env.put(JboContext.HOST_NAME, "Dev51");
    env.put(JboContext.CONNECTION_PORT, "2481");
    env.put(JboContext.ORACLE_SID, "ORA8I");
    // env.put(JboContext.APPLICATION_PATH, "test/jd/");
    System.out.println("Getting initial Context.");
    Context ic = new InitialContext(env);
    System.out.println("Doing Lookup...");
    ApplicationModuleHome home = (ApplicationModuleHome)ic.lookup(theAMDefName);
    System.out.println("Calling create...");
    // home
    System.out.println("Home Class Name : "+home.getClass().getName());
    oracle.jbo.client.remote.corba.aurora.AuroraApplicationModuleHome am = (oracle.jbo.client.remote.corba.aurora.AuroraApplicationModuleHome)home;
    System.out.println("DefName "+am.getDefName());
    appMod = home.create();
    System.out.println("Setting up connetion from AppMod to database...");
    appMod.getTransaction().connect("jdbc:oracle:thin:jd/jd@dev51:1521:ORA8I");
    }catch(Exception e) {
    e.printStackTrace();
    System.out.println("AppMod full Name "+ appMod.getFullName());
    public ApplicationModule getAppMod(){
    return appMod;
    public static void main(String args[]){
    Corba8IClient c8c = new Corba8IClient();
    after running the output is -
    Started...
    Setting up initial Context...
    Getting initial Context.
    Doing Lookup...
    Diagnostics: Silencing all diagnostic output (use -Djbo.debugoutput=console to see it)
    Calling create...
    Home Class Name : oracle.jbo.client.remote.corba.aurora.AuroraApplicationModuleHome
    DefName null
    oracle.jbo.ApplicationModuleCreateException: JBO-25222: Unable to create application module.
    at oracle.jbo.client.remote.corba.CORBAApplicationModuleHomeImpl.create(CORBAApplicationModuleHomeImpl.java:63)
    at client.Corba8IClient.<init>(Corba8IClient.java:39)
    at client.Corba8IClient.main(Corba8IClient.java:53)
    java.lang.NullPointerException
    at client.Corba8IClient.<init>(Corba8IClient.java:45)
    at client.Corba8IClient.main(Corba8IClient.java:53)
    Corba Object is deployed as -
    ObjectName = /test/jd/freshJBOModule
    Server Class = freshJBO.server.o8.FreshJBOModuleServerO8
    Helper Class = oracle.jbo.common.remote.corba.RemoteApplicationModuleHomeHelper
    The Application Module conatians an entity object and a view object for Dept Table in schema jd(Username -jd, Password -jd).

    Moneesh,
    I believe there is a problem with the way you set the variable theAMDefName. It should be:
    String theAMDefName = freshJBO.FreshJBOModule";
    Then you need to reinstate the line you commented out, to set the application path (but remove the trailing / from the path, as shown):
    env.put(JboContext.APPLICATION_PATH, "test/jd");
    If that doesn't work, and for future reference, I suggest testing your deployed application module from the Business Component Browser (aka the tester) before trying your hand-coded client. Start the tester, select Oracle8i as the middle tier server type, make sure the other information in the connect window is correct, then click Connect.
    Good luck
    Blaise

  • The Pages doesn't show information when the application is deployed

    Why when I deployed one simple web fussion application (jdevelopper 11.1.1.0.0) with only one page with only one View Object to another web logic server (10.3) in another pc.
    The page show this:
    SvpClientesView1
    <span id="j_id_id7::content
    and doesn't show the form.
    When I run the application from embedded web logic server it works fine.

    Thank you so much for your response.
    The WLS's log show this error:
    ]] Root cause of ServletException.
    oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
    at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:253)
    at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:168)
    at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:546)
    at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:327)
    at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:104)
    Truncated. see log file for complete stacktrace
    java.sql.SQLException: ORA-01005: null password given; logon denied
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
    I don't know what I should do to correct this error.
    Thank's.

  • Shell script to monitor the application health deployed on weblogic

    Hi All,
    Is it possible to monitor the health of a application deployed on weblogic and send a mail if it is not running. I have JasperServer reporting application deployed on weblogic. The shell script should check if the application is running, if it down a mail should be sent.
    Thanks

    You can use WLST to get information on the state of your deployments, for example,
    the python script can be used
    class DeploymentInfo:
         def __init__(self,name,target):
              self.name = name;
              self.target = target;
         def getName(self):
              return self.name;
         def getTarget(self):
              return self.target;
    print 'CONNECT TO ADMIN SERVER';
    connect('weblogic', 'transfer11g');
    print 'OBTAINING DEPLOYMENT INFORMATION';
    deploymentsInfo = [];
    applications = cmo.getAppDeployments();
    for application in applications:
         name = application.getName();
         target = application.getTargets()[0].getName();
         deploymentsInfo.append(DeploymentInfo(name, target));
    print 'CHANGE TO DOMAIN RUNTIME ENVIRONMENT';
    domainRuntime();
    print 'APPLICATION LIFE CYCLE INFORMATION';
    applicationRuntime = cmo.getAppRuntimeStateRuntime();
    for deploymentInfo in deploymentsInfo:
         state = applicationRuntime.getCurrentState(deploymentInfo.getName(), deploymentInfo.getTarget())
         print 'Application: ' + deploymentInfo.getName() + ', State: ' + state;
         if (state != 'STATE_ACTIVE'):
              startApplication(deploymentInfo.getName());In the example above the application gets started when it is not running, you can also
    send an e-mail by using the smtplib package, for example
    import smtplib;
    server = smtplib.SMTP('email-server-host');
    server.set_debuglevel(1);
    server.sendmail(fromaddress, toaddress, message);
    server.quit();More information on the package smtplib can be found here:
    http://www.jython.org/docs/library/smtplib.html

  • Is it possible to add a "prior" year after the application is deployed?

    Hi expert,
    We have created and deployed a HP application (EPMA, version 11.1.2.1), but find out that we need to add another year before the first year we have right now, e.g. currently we set the "start year" as FY10 and find out that we need to add FY09 to the application. Is it possible to do? Please kindly help!
    Thanks!

    Without hacking which is not supported and not advisable then the answer if no, the cleanest way is to export everything out with LCM, recreate the planning app, import.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Error in undeployment the Ear File in oracle 10g Application server

    Hii while undeploying EAR in Oracle Enterprise Manager 10g. I am getting following error message and an resoluation message,which i could not able to proceed further
    An error occured while undeploying the application.Base Exception : Another operation in progress which prevents your operation from completing at this time.
    Resolution : If you are using a file-based repository and there are no other concurrent operations,please use the dcmctl utility resetFile Transaction command to clean up any abnormaly terminated file-based repository operations.
    I have tried undeploying 3 times via OEM then executed.
    /LOCALDATA4/ora10gAS/dcmctl resetFileTransaction twice as indicated in the resolution
    but error still persists.
    Have restarted the server several times also but same error occurs.
    Pls help me.
    Thanks
    Praveen Tyagi

    Can you tell me what's the status of components (value of "In sync" column) when you run "dcmctl getState" command?
    Thanks
    Shail

  • OMG, the application cannot be undeployed...

    The application cannot be undeployed from the admin console.
    The engine was restarted
    The weblogic was restarted
    Still cannot undeploy the application...
    The log was checked, some weird sql error "invalid column type"
    what can i do..........................please help!
    I have to say it is really pain to use obpm...

    You cannot in any case buy an upgrade from Acrobat 6, it is too old. So it's a full price purchase I'm afraid.

  • How can I remove the applications form Content Administrator

    I had undeployed the applications from Content Administrator in two ways:
    A:
    1. Start the tool using the go.bat located in \usr\sap\<SID>\<Instance Name>\j2ee\admin folder
    2. Log in with an Administrator user.
    3. Under the Server node click Services-> Deploy.
    4. In the runtime tab, on the right hand side screen click on the Applications checkbox. The list of all deployed applications appears.
    5. Select the application and click on the Remove button.
    B:
    Undeploying using SDM remoteGUI.
    after I finished that,the application still exist in the browse of Content Administrator Web Dynpro.
    But it is'n invailable.When I click the application name,it throws exceptions:
    Failed to get the list of names of referenced deployable objects for deployable object 'local/Welcome'.
    Failed to get list of defined JCO clients for deployable object 'local/Welcome'.
    Failed to get the list of names of referenced deployable objects for deployable object 'local/Welcome'.
    Failed to get enable state for 'local/Welcome'.
    No resource bundles found for development component ''local/Welcome''.
    My question is , how can I remove it form the list.

    Hello,
         What is the version of the server you are using?
         The steps you have followed are perfectly fine and I don't see any issue there.
         I hope you refreshed the list on the Content Administrator before accessing the application.
    Kind Regards,
    Padma

  • How can I remove the applications from the Content Administrator

    I had undeployed the applications from Content Administrator in two ways:
    A:
    1. Start the tool using the go.bat located in \usr\sap\<SID>\<Instance Name>\j2ee\admin folder
    2. Log in with an Administrator user.
    3. Under the Server node click Services-> Deploy.
    4. In the runtime tab, on the right hand side screen click on the Applications checkbox. The list of all deployed applications appears.
    5. Select the application and click on the Remove button.
    B:
    Undeploying using SDM remoteGUI.
    after I finished that,the application still exist in the browse of Content Administrator Web Dynpro.
    But it is'n invailable.When I click the application name,it throws exceptions:
    Failed to get the list of names of referenced deployable objects for deployable object 'local/Welcome'.
    Failed to get list of defined JCO clients for deployable object 'local/Welcome'.
    Failed to get the list of names of referenced deployable objects for deployable object 'local/Welcome'.
    Failed to get enable state for 'local/Welcome'.
    No resource bundles found for development component ''local/Welcome''.
    My question is , how can I remove it form the list.

    Hi,
       Have you restarted the server after removing the application from the Visual Admin?
    Regards,
    Satyajit.

  • Can't figure out why I can't undeploy an application using WLST

    Hi,
    I have WebLogic 9.2.2 installed locally on my WinXP machine. I am running a WLST script (through Ant 1.6) to attempt to undeploy my application. This line
    undeploy("RoutingEngine (v1.0)")
    is causing this error,
    [wlst] Undeploying application RoutingEngine (v1.0) ...
    [wlst] <Mar 4, 2009 1:04:40 PM MST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating undeploy operation for application, RoutingEngine (v1.0) [archive: null], to AdminServer .>
    [wlst] Failed to undeploy the application with status failed
    [wlst] Current Status of your Deployment:
    [wlst] Deployment command type: undeploy
    [wlst] Deployment State : failed
    [wlst] Deployment Message : weblogic.management.ManagementException: [Deployer:149001]No application named 'RoutingEngine (v1.0)' exists for operation undeploy
    If I log in to my WebLogic admin console under "Deployments", there is an application named "RoutingEngine (v1.0)" listed. Should I be naming this something else or referencing it under another name?
    Thanks, - Dave

    Hi, something similar has happened in an oracle weblogic 10.3.5, when i tried to delete an application deployed as library, the adminserver responded with error “[Deployer:149001]No application named ‘my-web-9(9.2.1)’ exists for operation undeploy”.
    I solved this problem, using weblogic.Deployer but specifying the appversion like this:
    java weblogic.Deployer -verbose -noexit -name my-web-9 -appversion 9.2.1 -adminurl t3://192.168.40.66:7000 -user weblogic -undeploy

  • Undeploying the BPM project from Oracle Business Process Workspace

    Hi all,
    I am facing problem in deploying the project to Oracle Business Process Workspace, I had some issues while deploying the project for the first time, and now when i am again trying to deploy the same project, it is giving the error "*Deployment failed, Module already exists on server*".
    is there any way i can deploy the project or delete the existing project from workspace and then redeploy the project ?
    IDE used : Jdeveloper 11.1.5
    Server used : Weblogic 10.3
    Please guide me in this as soon as possible.
    Thanks and Regards
    Debarati

    Hi
    1. Yes, from EM Console, first Undeploy the Workflow Project that you can find under SOA -> soa_infra -> default node.
    2. Then expand Application Deployments -> Look for the UI Project (that has taskforms etc) and make sure to select it and Undeploy this also.
    3. Now comes, what and how exactly are you deploying your SOA/BPM application. Any SOA/BPM application will have one Workflow project (atleast) and one or more UI Projects (for each user task). Also there may be some other utility projects or EJB projects. Now to deploy the entire application you have couple of options. Just select your Workflow project and deploy and during this time, it will list out all UI Projects and you can check all of them. Also for Workflow you can check one check box to overwrite any existing versions like 1.0. In this way you will have full Workflow deployed and all UI Projects also deployed. Once you do this, you cannot again deploy just the UI Project. Thats when you get these errors like already deployed etc. Now disadvantage here is, if you just make only UI changes, you cannot deploy only UI Project since it is already deployed as part of full app. So you had to again deploy Workflow project and check all ui projects also. this means all your existing workflow instances will become stale (redeploy of workflow makes all old tasks stale).
    4. Another and more ideal standard way is, first deploy just the Workflow project and DO NOT check any UI Projects. Then from the Application Level, deploy the entire application that includes all the UI Project and any other Projects. Just select your application, properties and deployment section. And see the projects included in the application. Make sure you DO NOT check the workflow project. But check all other projects like UI or any other project. In this way, any changes you make to UI or EJBs, just deploy the application. Your workflow is still the same old. Bottom line, Workflow Project is created as a SAR (SOA Archive) which is like a jar file. And entire application is deployed like an EAR file. So you will have 2 files for deployment to any other Env where you do not have like JDev.
    For now, follow first 2 steps, to undeploy all the stuff you have. Then you should be able to redeploy using one of the above options.
    Thanks
    Ravi Jegga

Maybe you are looking for

  • _Unable to connect to the Music Store

    After upgrading to iTunes 6.0 I can not access the Music Store. The error message I receive is: "iTunes could not connect to the Music Store. The Music Store is temporarily unavailable. Please try again later." I have taken the following actions in m

  • White screen (of death), zap pram doesn't work

    Four year old MacBook pro, running 10.6.something, this morning I touched the cursor and the screen went wonky (plaid crisscrossing), then white nothingness. Out of AppleCare, four hours from a store.  Zap pram did not changed anything. Time for a sh

  • No picture through receiver

    I have just purchased my first brand new mini mac with the intention of getting rid of my windows pc but I am not having the best of starts.  I am trying to connect via hdmi through my Denon 4308a receiver but get nothing just a black screen but when

  • Using variables in message long text ( SE91)

    Hi everyone, Does anyone know how we insert the variables passed in the message can also be used to be printed in the long text as well. Suppose , say message e000 with a b c d. where a ,b , c and  d are the variables... How do i use these inside the

  • Depreciation for certain Category of Buildings in Netherlands

    Hello, In one of the roll-out I have come across specific requirement in Netherlands related to depreciation charge. APC Value - 100000 WOZ Value -  90000  Useful life of the Asset - 20 Years WOZ Value is the Govt. determined value of the asset.  You