facebook

Problem running the weblogic portal7.0 using myeclipse

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #259552 Reply

    venkat
    Member

    Hi,

    I am getting these errors when i start the server in eclipse console, if i run the server in command line its running fine 🙁

    weblogic.management.configuration.ConfigurationException: Error creating MBean while parsing META-INF/application-config.xml: FirstWeb:Application=portalApp,ApplicationConfiguration=portalApp,Name=CampaignService,Type=CampaignService with parent FirstWeb:Application=portalApp,Name=portalApp,Type=ApplicationConfiguration. – with nested exception:
    [weblogic.management.configuration.ConfigurationError: Unable to find valid package for MBean type CampaignService]
    at com.bea.p13n.management.internal.lifecycle.ConfigurationParser$ConfigurationHandler.createAdminMBean(ConfigurationParser.java:449)
    at com.bea.p13n.management.internal.lifecycle.ConfigurationParser$ConfigurationHandler.startElement(ConfigurationParser.java:307)
    at weblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1348)
    at weblogic.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:1299)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1838)
    at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1207)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:399)
    at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:1147)
    at com.bea.p13n.management.internal.lifecycle.ConfigurationParser.parse(ConfigurationParser.java:122)
    at weblogic.management.mbeans.custom.ApplicationConfiguration.doLoad(ApplicationConfiguration.java:500)
    at weblogic.management.mbeans.custom.ApplicationConfiguration.load(ApplicationConfiguration.java:116)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:736)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:718)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:435)
    at com.bea.p13n.management.internal.ServiceConfigurationMBeanImpl.invoke(ServiceConfigurationMBeanImpl.java:117)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:1107)
    at weblogic.management.internal.MBeanProxy.dynamicInvoke(MBeanProxy.java:503)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:198)
    at $Proxy11.invoke(Unknown Source)
    at com.bea.p13n.management.MBeanAccess$InvokeSupport.run(MBeanAccess.java:855)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:726)
    at com.bea.p13n.management.MBeanAccess._pMBeanInvoke(MBeanAccess.java:268)
    at com.bea.p13n.management.internal.lifecycle.ApplicationLifecycleHandler.initializingApplication(ApplicationLifecycleHandler.java:272)
    at weblogic.j2ee.ListenerInvocationAction.run(ListenerInvocationAction.java:25)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
    at weblogic.j2ee.J2EEApplicationContainer.notifySecureListener(J2EEApplicationContainer.java:2146)
    at weblogic.j2ee.J2EEApplicationContainer.notify(J2EEApplicationContainer.java:2139)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:529)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:462)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareAllStagedApplications(SlaveDeployer.java:521)
    at weblogic.management.deploy.slave.SlaveDeployer.initialize(SlaveDeployer.java:271)
    at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.initialize(DeploymentManagerServerLifeCycleImpl.java:164)
    at weblogic.t3.srvr.ServerLifeCycleList.initialize(ServerLifeCycleList.java:61)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:786)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)

    ——————————————————————————————–

    Unable to deploy EJB: C:\bea\user_projects\FirstWeb\beaApps\portalApp\ebusiness.jar from ebusiness.jar:

    EJB : Encryptor .Unable to initialize method info for remote or home interface.The error is java.lang.NoClassDefFoundError: com/beasys/commerce/ebusiness/security/InconsistentStateException
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Class.java:1655)
    at java.lang.Class.privateGetPublicMethods(Class.java:1778)
    at java.lang.Class.getMethods(Class.java:832)
    at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.initializeMethodInfos(ClientDrivenBeanInfoImpl.java:1091)
    at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.<init>(ClientDrivenBeanInfoImpl.java:224)
    at weblogic.ejb20.deployer.SessionBeanInfoImpl.<init>(SessionBeanInfoImpl.java:108)
    at weblogic.ejb20.deployer.BeanInfoImpl.createBeanInfoImpl(BeanInfoImpl.java:343)
    at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:438)
    at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:165)
    at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfo(EJBDeployer.java:965)
    at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1276)
    at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:235)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:1742)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:745)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:559)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:462)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareAllStagedApplications(SlaveDeployer.java:521)
    at weblogic.management.deploy.slave.SlaveDeployer.initialize(SlaveDeployer.java:271)
    at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.initialize(DeploymentManagerServerLifeCycleImpl.java:164)
    at weblogic.t3.srvr.ServerLifeCycleList.initialize(ServerLifeCycleList.java:61)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:786)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)

    at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfo(EJBDeployer.java:1106)
    at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1276)
    at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:235)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:1742)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:745)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:559)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:462)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareAllStagedApplications(SlaveDeployer.java:521)
    at weblogic.management.deploy.slave.SlaveDeployer.initialize(SlaveDeployer.java:271)
    at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.initialize(DeploymentManagerServerLifeCycleImpl.java:164)
    at weblogic.t3.srvr.ServerLifeCycleList.initialize(ServerLifeCycleList.java:61)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:786)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    >
    <Sep 29, 2006 10:08:12 AM EDT> <Info> <EJB> <010008> <EJB Deploying file: campaign.jar>
    <Sep 29, 2006 10:08:13 AM EDT> <Info> <EJB> <010008> <EJB Deploying file: portal.jar>

    #259575 Reply

    Riyad Kalla
    Member

    com/beasys/commerce/ebusiness/security/InconsistentStateException

    The trick is to find which JAR contributes this Class, and any other class you have problems loading, and Append it to your Classpath under the WebLogic 7 > Paths connector settings. You are essentially trying to duplicate the startup-scripts settings using the Connector in MyEclipse.

    #259707 Reply

    Riyad Kalla
    Member

    Was this problem resolved?

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Problem running the weblogic portal7.0 using myeclipse

You must be logged in to post in the forum log in