Weblogic.application.ApplicationException cannot be resolved error

Hi,
I am new to Weblogic Server. I am creating a web application in which I have created a custom MBean. Right now, I am coding the class which extends 'ApplicationLifecycleListener' in order to register the custom MBean automatically when the app is started. I am getting the following error (a red mark appears at the very top of the class, before anything else):
“The type weblogic.application.ApplicationException cannot be resolved. It is indirectly referenced from required .class files”
I am using WL server 10.0. When I looked at the API for 'ApplicationLifecycleListener' for WLS 10.0, the methods do not throw this exception, although the 9.0 API does. see here:
[url http://edocs.bea.com/wls/docs100/javadocs/weblogic/application/ApplicationLifecycleListener.html]
this is my listener class
package Files;
import javax.management.MBeanServer;
import javax.management.MalformedObjectNameException;
import javax.management.ObjectName;
import javax.naming.InitialContext;
import weblogic.application.*;
import weblogic.application.ApplicationContext;
import weblogic.application.ApplicationLifecycleEvent;
import weblogic.application.ApplicationLifecycleListener;
public class AppLifeCycleListenerImp extends ApplicationLifecycleListener  {
     private MBeanServer server;
     public void postStart(ApplicationLifecycleEvent evt){
          try{     
               ApplicationContext appctx = evt.getApplicationContext();
               String appID = appctx.getApplicationId();                              
               ObjectName name = new ObjectName("RIM.SVandV:Name="+appID+",Type=customObjectMBean");
               InitialContext ctx = new InitialContext();
               //Listener running within J2EE module =>the JNDI name for the Runtime MBeanServer is: java:comp/env/jmx/runtime
               server = (MBeanServer)ctx.lookup("java:comp/env/jmx/runtime");
               CustomObject mbean = new CustomObject(); 
               mbean.setInteger1(12);mbean.setInteger2(22);
               mbean.setString1("hello12");mbean.setString2("hello22");
               server.registerMBean(mbean, name);
          }catch (Exception e){
               e.printStackTrace();
     public void preStop(ApplicationLifecycleEvent evt){
          try{          
               ApplicationContext appctx = evt.getApplicationContext();
               String appID = appctx.getApplicationId();                              
               ObjectName name = new ObjectName("RIM.SVandV:Name="+appID+",Type=customObjectMBean");
               server.unregisterMBean(name);
          }catch (Exception e){
               e.printStackTrace();
This is my MBean class
package Files;
public interface CustomObjectMBean {
     public int getInteger1();     
     public int getInteger2();     
     public String getString1();     
     public String getString2();
and this is the MBean implementing class
package Files;
public class CustomObject implements CustomObjectMBean{
     private int integer1;
     private int integer2;
     private String string1;
     private String string2;
     public int getInteger1(){
          return integer1;
     public int getInteger2(){
          return integer2;
     public String getString1(){
          return string1;          
     public String getString2(){
          return string2;
     public void setInteger1(int integer1){
          this.integer1 = integer1;
     public void setInteger2(int integer2){
          this.integer2=integer2;
          public void setString1(String string1){
          this.string1=string1;          
     public void setString2(String string2){
          this.string2=string2;
}any help would be great. thank you.

weblogic.application.ApplicationException should be in weblogic.jar, in your server/lib directory.
George

Similar Messages

  • Weblogic.application.ApplicationException missing - weblogic server 9.2

    I am using the [url http://e-docs.bea.com/wls/docs92/javadocs/weblogic/application/ApplicationLifecycleListener.html]ApplicationLifecycleListener to register the listener. While building it is giving the error weblogic.application.ApplicationException is missing. I can find this exception only here http://edocs.bea.com/wls/docs92/javadocs/weblogic/management/ApplicationException.html
    which is under weblogic.management package.
    Anyone have any idea where this class is?
    Thanks

    We are having this problem as well. I e-mailed BEA support, but they just said we needed to include the jar in the EAR (this is all supposed to be assembled automatically by the workshop).
    For us the issue seems to be the files not being put into the EAR automatically as they are with other types of projects. If we have to manually copy/jar up our class files then we might as well just use notepad and some batch files and skip BEA altogether.
    Edited by jmckitt at 09/18/2007 11:04 AM
    Edited by jmckitt at 09/18/2007 11:05 AM

  • Newbie: Application descriptor cannot be parsed error 100

    Here's my descriptor file:
    <?xml version=1.0" encoding ="UTF-8"?>
    <application xmlns="http://ns.adobe.com/air/application/1.5.1">
        <id>myTest</id>
        <filename>myTest</filename>
        <description>A simple AIR hello world application</description>
        <version>0.1</version>
        <initialWindow>
            <content>myTest.html</content>
            <title>AIR Hello World</title>
            <systemChrome>standard</systemChrome>
            <transparent>false</transparent>
            <visible>true</visible>
            <minimizable>true</minimizable>
            <maximizable>true</maximizable>
            <resizable>true</resizable>
        </initialWindow>
    </application>
    and here's the error I'm getting
    /Volumes/My Book/Air Applications/myTest.html: error 100: Application descriptor cannot be parsed
    Can anyone help?

    Stupid error.  Forgot a quote in the first line.  Fixed it, but I have another problem now that I'll ask in another thread.

  • Startup error, weblogic.application.ModuleException

    startup error, weblogic.application.ModuleException
    I got a error when I startup my server. Here is the trace."workspace " is my application.
    <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating distribute task for application 'workspace'.>
    <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException:
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:295)
    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    Truncated. see log file for complete stacktrace
    java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory
    at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136)
    at weblogic.servlet.internal.WebAppHelper.addListenerElements(WebAppHelper.java:244)
    at weblogic.servlet.internal.WebAppHelper$IOHelperImpl.parseXML(WebAppHelper.java:224)
    at weblogic.descriptor.DescriptorCache.parseXML(DescriptorCache.java:324)
    at weblogic.servlet.internal.WebAppHelper.registerTagLibListeners(WebAppHelper.java:174)
    Truncated. see log file for complete stacktrace
    Here is the weblogic.xml in my application.
    <?xml version="1.0" encoding="UTF-8"?>
    <weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd">
    <context-root>/workspace</context-root>
    <container-descriptor>
    <prefer-web-inf-classes>true</prefer-web-inf-classes>
    </container-descriptor>
    </weblogic-web-app>
    I have two ways to deploy my application,using installer or deploying it manually.
    Using installer is ok,but I deployed it by myself,the problem came up.That's odd
    I need the weblogic.xml to resovle another problem.

    some one can help,thanks.

  • Name cannot be resolved

    hi,
    how to modify this code?to solve name cannot be resolved error.
    function ValidateUsername(formobj)
    var name=formobj.username.value;
    alert(name);
    <%
    UserDAO userDao = new UserDAOHibernate();
    Integer userID = userDao.getValidUserForForgotPassword(name);
    %>
    }

    Glad you fixed it, but in the future please post compilation errors in the 'New to Java' forum.

  • Always getting 'import cannot be resolved' for IPrivate* imports

    Hi,
    Everytime I import a Web Dynpro DC from our NWDI I see 'import cannot be resolved' errors when I open for example the Component Controller implementation. An Organize Imports does not fix this. If I rightclick inside the code and select 'Show in Package Explorer' it jumps to the .java file for the implementation (within the gen_wdp folder). In that same tree I can see the IPrivate*.java files as well.
    I also tried Repairing and Rebuilding the project. All to no avail...
    Why is this happening and how can I resolve it?
    Kind regards,
    Pascal Willemsen

    If I open the generated Java files in gen_wdp I see loads of errors (all '...cannot be resolved...'), but the Tasks view contains no errors at all (answer to Armin).
    A development component build runs and seems to succeed without problems.
    It seems that the Web Dynpro's contain a circular dependency, which I think is the cause of the problem:
    1. wdThis in the Component Controller is an IPrivateComponent instance.
    2. IPrivateComponent extends IPublicComponent.
    3. IPublicComponent has a gen_delegate member which is an InternalComponent instance.
    4. InternalComponent implements IPrivateComponent.
    I guess NWDS doesn't know where to start...?

  • The import weblogic.utils.collections.MultiMap cannot be resolved

    Hi,
    I imported a project from weblogic to eclipse. I'm getting the below mentioned error
    "The import weblogic.utils.collections.MultiMap cannot be resolved "
    Added the necessary weblogic jar files to the project in eclipse.
    Kindly help me.
    Thanks in advance.

    Please Close this thread and reopen it in
    Oracle Discussion Forums » Application Server » WebLogic Server - General

  • Error: cannot be resolved to type

    Hi Guys,
    I downloaded an application to launch an RTP client/server but I cannot compile it, yhe error message is below:
    vmplanet@vmplanet-desktop:~/JavaRTP/playerv1$ make
    javac Client.java
    1. ERROR in Client.java (at line 306)
         RTPpacket rtp_packet = new RTPpacket(rcvdp.getData(), rcvdp.getLength());
         ^^^^^^^^^
    RTPpacket cannot be resolved to a type
    2. ERROR in Client.java (at line 306)
         RTPpacket rtp_packet = new RTPpacket(rcvdp.getData(), rcvdp.getLength());
         ^^^^^^^^^
    RTPpacket cannot be resolved to a type
    2 problems (2 errors)make: *** [Client.class] Error 255
    Can anyone help me with this error.
    Thanks alot..

    Thanks for the response jverd, I got it from "http://www.mobilelife.eu/OSU/classes/multimedia-networking-streaming.php" and the instructions just say to type make and it will compile all, I then tried to compile all of the files separately but that did not work either. On the website they say that it will work under RedHat and Solaris but I am using Ubuntu, this shouldn't make a difference with Java should it?
    Also in the tar file I downloaded there is an RTPpacket.java file, I tried to compile it first but that did not help..
    Thanks

  • FileDataSource cannot be resolved to a type (client application)

    Hi,
    I'm trying to send a file to a (rpc) web-service. My client java application does it with the following code.
    mySoapProxy.myMethod(new DataHandler(new FileDataSource(filename)));
    The error stated is the following:
    "FileDataSource cannot be resolved to a type"
    And I do have imported all classes from javax.activation package.
    Do you have any idea?
    Thanks

    Hi,
    I'm trying to send a file to a (rpc) web-service. My client java application does it with the following code.
    mySoapProxy.myMethod(new DataHandler(new FileDataSource(filename)));
    The error stated is the following:
    "FileDataSource cannot be resolved to a type"
    And I do have imported all classes from javax.activation package.
    Do you have any idea?
    Thanks

  • Error while installing Identity Minder 6.0 on weblogic Application server8.

    Hi,
    I am getting the follwing error while installing Netegrity Identity Minder 6.0 on weblogic Application server8.1:
    java.lang.UnsatisfiedLinkError: javaagent_api_init
    at netegrity.siteminder.javaagent.AgentAPI.javaagent_api_init(Native Method)
    at netegrity.siteminder.javaagent.AgentAPI.init(AgentAPI.java:488)
    at com.netegrity.ra.policyserver.impl.PSManagedConnectionFactory.createManagedConnection(PSManagedConnectionFactory.java:200)
    at weblogic.connector.common.internal.ConnectionFactory.createResource(ConnectionFactory.java:127)
    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1145)
    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1079)
    at weblogic.common.resourcepool.ResourcePoolImpl.setInitialCapacity(ResourcePoolImpl.java:739)
    at weblogic.connector.common.internal.ConnectionPoolManager.updateInitialCapacity(ConnectionPoolManager.java:495)
    at weblogic.connector.common.internal.ConnectionPoolManager.preparePool(ConnectionPoolManager.java:140)
    at weblogic.connector.deploy.Deployer.preparePool(Deployer.java:618)
    at weblogic.connector.deploy.Deployer.prepare(Deployer.java:230)
    at weblogic.connector.deploy.ConnectorModule.prepare(ConnectorModule.java:248)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:3142)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1583)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1227)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1070)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2513)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2463)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2379)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    --------------- nested within: ------------------
    weblogic.management.ManagementException: [Deployer:149233]An unexpected error was encountered during the deployment process. - with nested exception:
    [java.lang.UnsatisfiedLinkError: javaagent_api_init]
    at weblogic.management.deploy.slave.SlaveDeployer.convertThrowable(SlaveDeployer.java:1017)
    at weblogic.management.deploy.slave.SlaveDeployer.access$500(SlaveDeployer.java:124)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2395)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    No Exception Messages
    Any suggestion in this regard will be help ful.
    Thanx in Advance ,
    Anshita
    Edited by anshita at 03/27/2008 11:47 PM

    Hi Seetharam,
    I am getting the same issue when trying to install a different BI application in Solaris sparc 64bit environment. Were you able to resolve the issue?? If so, could you please explain what the problem was and how you resolved it.
    Thanks

  • When Loading a Webdynpro Application getting Page Cannot be displayed Error

    Hi All,
    Webdynpro application when loading through Internet or VPN connection is displaying a Page Cannot be displayed Error and when we try to refresh it automatically loads the page.
    Application is launched from the SAP Netweaver Portal. Operating System is Windows Vista and IE -7. Can anyone please let us know how to resolve the issue.
    Any help is higly appreciated.
    Thanks,
    Madhavi

    Hi,
    How is configured the Cache of Your Internet Explorer, try to set it to verify the new version at "Every visit to page".
    Maybe a cache problem.
    Best regards

  • Error deploying EAR - weblogic.management.ApplicationException:None

    Hello,
    When deploying a EAR, I get the following exception:
    [Deployer:149033]preparing application esb on <xxx-admin>
    [Deployer:149033]failed application esb on <xxx-admin>
    [Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application esb on <xxx-admin>.: Exception:weblogic.management.ApplicationException: None
    Nested Exception:
    java.lang.RuntimeException: Failed to deploy process <ProcessName.jpd>. Internal error.
    at com.bea.wli.management.WLIAppListener.checkProject(WLIAppListener.java:194)
    at com.bea.wli.management.WLIAppListener.initializingApplication(WLIAppListener.java:130)
    at weblogic.j2ee.ListenerInvocationAction.run(ListenerInvocationAction.java:42)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.j2ee.J2EEApplicationContainer.notifySecureListener(J2EEApplicationContainer.java:4721)
    at weblogic.j2ee.J2EEApplicationContainer.notify(J2EEApplicationContainer.java:4706)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:986)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    I am not able to get anything out this. Can someone help me please?
    Thanks.
    Prabhu

    HI prabhusethuraman,
    We have an error than seems the same error that you has before, the stack trace when we deploy the whorkshop application that is this one:
    [java] Initiated Task: [7] [Deployer:149026]Deploy application q99j on integracion.
    [java] Task 7 failed: [Deployer:149026]Deploy application q99j on integracion.
    [java] Deployment failed on Cluster integracion
    [java] Exception:weblogic.management.ApplicationException: None
    [java] Nested Exception:
    [java] java.lang.RuntimeException: Failed to deploy process /q99jdummyDynamicRouterProcess/com/ejie/notifications/Q99jNotificationsP.jpd. Internal error.
    [java]      at com.bea.wli.management.WLIAppListener.checkProject(Lcom.bea.wli.management.processmanifest.ProcessManifestDocument$ProcessManifest$Project;Lweblogic.application.ApplicationLifecycleEvent;)Z(WLIAppListener.java:194)
    [java]      at com.bea.wli.management.WLIAppListener.initializingApplication(Lweblogic.application.ApplicationLifecycleEvent;)V(WLIAppListener.java:130)
    [java]      at weblogic.j2ee.ListenerInvocationAction.run()Ljava.lang.Object;(ListenerInvocationAction.java:42)
    [java]      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Optimized Method)
    [java]      at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:118)
    [java]      at weblogic.j2ee.J2EEApplicationContainer.notifySecureListener(ILweblogic.application.ApplicationLifecycleListener;)V(J2EEApplicationContainer.java:4721)
    [java]      at weblogic.j2ee.J2EEApplicationContainer.notify(I)V(J2EEApplicationContainer.java:4706)
    [java]      at weblogic.j2ee.J2EEApplicationContainer.prepare(Ljava.lang.String;[Lweblogic.management.configuration.ComponentMBean;[Ljava.lang.String;)V(J2EEApplicationContainer.java:1006)
    [java]      at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer()V(SlaveDeployer.java:2444)
    [java]      at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer()Z(SlaveDeployer.java:2394)
    [java]      at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare()V(SlaveDeployer.java:2310)
    [java]      at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Lweblogic.management.deploy.OamVersion;Lweblogic.management.runtime.DeploymentTaskRuntimeMBean;Z)V(SlaveDeployer.java:866)
    [java]      at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(Lweblogic.management.deploy.OamDelta;Lweblogic.management.deploy.OamVersion;ZLjava.lang.StringBuffer;)Z(SlaveDeployer.java:594)
    [java]      at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(Ljava.util.ArrayList;Z)V(SlaveDeployer.java:508)
    [java]      at weblogic.drs.internal.SlaveCallbackHandler$1.execute(Lweblogic.kernel.ExecuteThread;)V(SlaveCallbackHandler.java:25)
    [java]      at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219)
    [java]      at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
    [java]      at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
    [java] java.lang.Exception: Delta :26 ErrorMessage :
    Can you say us the solution that you found in your case ?
    Thanks,
    Carmel.

  • Weblogic.management.ApplicationException in Enterprise Application?

    Hi guys,
    I deployed one Enterprise Application in weblogic server 8.1. It shows the following Exception..
    Exception:weblogic.management.ApplicationException: activate failed for jasmine.jar Module: jasmine.jar Error: Exception activating module: EJBModule(jasmine.jar,status=PREPARED) Unable to deploy EJB: ProductBean from jasmine.jar:
    [EJB:011020]The database table: products does not contain the columns: orderLineItemID. Please consult your database mappings in the weblogic-cmp-rdbms.xml deployment descriptor and ensure these match your database schema.
    Database Table are follows.
    create table products (productID varchar(64), name varchar(64), basePrice numeric(18), description varchar(64));
    create table orderLineItems( orderLineItemID varchar(64),productID varchar(64), orderID varchar(64),quantity int, discount numeric(18));
    <u><b>weblogic-cmp-rdbms-jar.xml file</b></u>
    <weblogic-rdbms-relation>
    <relation-name>OrderBean_customer-CustomerBean</relation-name>
    <weblogic-relationship-role>
    <relationship-role-name>CustomerBean_null-Has-OrderBean_customer</relationship-role-name>
    <relationship-role-map>
    <column-map>
    <foreign-key-column>OrderBean_orderID</foreign-key-column>
    <key-column>orderID</key-column>
    </column-map>
    </relationship-role-map>
    </weblogic-relationship-role>
    </weblogic-rdbms-relation>
    <weblogic-rdbms-relation>
    <relation-name>OrderLineItemBean_order-OrderBean</relation-name>
    <weblogic-relationship-role>
    <relationship-role-name>OrderBean_null-Has-OrderLineItemBean_order</relationship-role-name>
    <relationship-role-map>
    <column-map>
    <foreign-key-column>OrderLineItemBean_orderLineItemID</foreign-key-column>
    <key-column>orderLineItemID</key-column>
    </column-map>
    </relationship-role-map>
    </weblogic-relationship-role>
    </weblogic-rdbms-relation>
    <weblogic-rdbms-relation>
    <relation-name>OrderLineItemBean_product-ProductBean</relation-name>
    <weblogic-relationship-role>
    <relationship-role-name>ProductBean_null-Has-OrderLineItemBean_product</relationship-role-name>
    <relationship-role-map>
    <column-map>
    <foreign-key-column>OrderLineItemBean_orderLineItemID</foreign-key-column>
    <key-column>orderLineItemID</key-column>
    </column-map>
    </relationship-role-map>
    </weblogic-relationship-role>
    </weblogic-rdbms-relation>
    <pre></pre>
    Pls give me a solution to this exception.
    Regards
    Priya

    Hi guys,
    I deployed one Enterprise Application in weblogic server 8.1. It shows the following Exception..
    Exception:weblogic.management.ApplicationException: activate failed for jasmine.jar Module: jasmine.jar Error: Exception activating module: EJBModule(jasmine.jar,status=PREPARED) Unable to deploy EJB: ProductBean from jasmine.jar:
    [EJB:011020]The database table: products does not contain the columns: orderLineItemID. Please consult your database mappings in the weblogic-cmp-rdbms.xml deployment descriptor and ensure these match your database schema.
    Database Table are follows.
    create table products (productID varchar(64), name varchar(64), basePrice numeric(18), description varchar(64));
    create table orderLineItems( orderLineItemID varchar(64),productID varchar(64), orderID varchar(64),quantity int, discount numeric(18));
    <u><b>weblogic-cmp-rdbms-jar.xml file</b></u>
    <weblogic-rdbms-relation>
    <relation-name>OrderBean_customer-CustomerBean</relation-name>
    <weblogic-relationship-role>
    <relationship-role-name>CustomerBean_null-Has-OrderBean_customer</relationship-role-name>
    <relationship-role-map>
    <column-map>
    <foreign-key-column>OrderBean_orderID</foreign-key-column>
    <key-column>orderID</key-column>
    </column-map>
    </relationship-role-map>
    </weblogic-relationship-role>
    </weblogic-rdbms-relation>
    <weblogic-rdbms-relation>
    <relation-name>OrderLineItemBean_order-OrderBean</relation-name>
    <weblogic-relationship-role>
    <relationship-role-name>OrderBean_null-Has-OrderLineItemBean_order</relationship-role-name>
    <relationship-role-map>
    <column-map>
    <foreign-key-column>OrderLineItemBean_orderLineItemID</foreign-key-column>
    <key-column>orderLineItemID</key-column>
    </column-map>
    </relationship-role-map>
    </weblogic-relationship-role>
    </weblogic-rdbms-relation>
    <weblogic-rdbms-relation>
    <relation-name>OrderLineItemBean_product-ProductBean</relation-name>
    <weblogic-relationship-role>
    <relationship-role-name>ProductBean_null-Has-OrderLineItemBean_product</relationship-role-name>
    <relationship-role-map>
    <column-map>
    <foreign-key-column>OrderLineItemBean_orderLineItemID</foreign-key-column>
    <key-column>orderLineItemID</key-column>
    </column-map>
    </relationship-role-map>
    </weblogic-relationship-role>
    </weblogic-rdbms-relation>
    <pre></pre>
    Pls give me a solution to this exception.
    Regards
    Priya

  • Weblogic.management.ApplicationException: - Internal Error

    Hello,
    When deploying a EAR, I get the following exception:
    [Deployer:149033]preparing application esb on <xxx-admin>
    [Deployer:149033]failed application esb on <xxx-admin>
    [Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application esb on <xxx-admin>.: Exception:weblogic.management.ApplicationException: None
    Nested Exception:
    java.lang.RuntimeException: Failed to deploy process <ProcessName.jpd>. Internal error.
    at com.bea.wli.management.WLIAppListener.checkProject(WLIAppListener.java:194)
    at com.bea.wli.management.WLIAppListener.initializingApplication(WLIAppListener.java:130)
    at weblogic.j2ee.ListenerInvocationAction.run(ListenerInvocationAction.java:42)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.j2ee.J2EEApplicationContainer.notifySecureListener(J2EEApplicationContainer.java:4721)
    at weblogic.j2ee.J2EEApplicationContainer.notify(J2EEApplicationContainer.java:4706)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:986)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    I m working on Weblogic 8.1.2 Integration domain. When I delete all the Wli_process_* tables, I m able to deploy the ear and it runs fine for a few days, after which it again starts giving the Internal Error and I m forced to delete the tables and restart the server.
    Does anyone have any idea about this? the cause?
    Is there some alternative solution of getting rid of it?
    Thanks in Advance,
    Looking forward to quick replies
    ak

    I think the deployment fails because you might have inflight processes
    running. And it succeds after you delete the in-process data.
    It will be worthwhile to investigate "Internal Error " rather then the
    re-deployment workaround.
    ~ Veerendra
    "AK Tiwari" <[email protected]> wrote in message
    news:18418117.1103279949606.JavaMail.root@jserv5...
    Hello,
    When deploying a EAR, I get the following exception:
    [Deployer:149033]preparing application esb on <xxx-admin>
    [Deployer:149033]failed application esb on <xxx-admin>
    [Deployer:149034]An exception occurred for task [Deployer:149026]Deploy
    application esb on <xxx-admin>.:
    Exception:weblogic.management.ApplicationException: None
    Nested Exception:
    java.lang.RuntimeException: Failed to deploy process <ProcessName.jpd>.
    Internal error.
    at
    com.bea.wli.management.WLIAppListener.checkProject(WLIAppListener.java:194)
    at
    com.bea.wli.management.WLIAppListener.initializingApplication(WLIAppListener.java:130)
    at
    weblogic.j2ee.ListenerInvocationAction.run(ListenerInvocationAction.java:42)
    at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at
    weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at
    weblogic.j2ee.J2EEApplicationContainer.notifySecureListener(J2EEApplicationContainer.java:4721)
    at
    weblogic.j2ee.J2EEApplicationContainer.notify(J2EEApplicationContainer.java:4706)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:986)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
    at
    weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
    at
    weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
    at
    weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
    at
    weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    I m working on Weblogic 8.1.2 Integration domain. When I delete all the
    Wli_process_* tables, I m able to deploy the ear and it runs fine for a
    few days, after which it again starts giving the Internal Error and I m
    forced to delete the tables and restart the server.
    Does anyone have any idea about this? the cause?
    Is there some alternative solution of getting rid of it?
    Thanks in Advance,
    Looking forward to quick replies
    ak

  • I cannot open Pages from the app or from a saved document on the desk top.  I get an error: "The application Pages cannot be opened  -1712"  Any suggestions?

    I cannot open Pages from the app or from a saved document on the desk top.  I get an error: "The application Pages cannot be opened  -1712"  Any suggestions?

    The following previous discussion has a solution that worked for a variety of people with the -1712 error on a variety of applications and may help: The application Safari can't be opened -1712

Maybe you are looking for