Problem in deploying an ear file in weblogic 8.1 SP5

Hi,
When I tried deploying my ear file in Weblogic 8.1 SP5, I am getting the following error:
weblogic.management.ApplicationException:
Exception:weblogic.management.ApplicationException: prepare failed for counter-ejb.jar
Module: counter-ejb.jar Error: Exception preparing module: EJBModule(counter-ejb.jar,status=NEW)
Unable to deploy EJB: com_liferay_counter_service_ejb_CounterServiceEJB from counter-ejb.jar:
[EJB:011026]The EJB container failed while creating the java:/comp/env namespace for this EJB deployment.
weblogic.deployment.EnvironmentException: [EJB:010174]The resource-ref 'mail/MailSession' declared in the ejb-jar.xml descriptor has no JNDI name mapped to it. The resource-ref must be mapped to a JNDI name using the resource-description element of the weblogic-ejb-jar.xml descriptor.
at weblogic.ejb20.deployer.EnvironmentBuilder.addConnectorRef(EnvironmentBuilder.java:294)
at weblogic.ejb20.deployer.EnvironmentBuilder.addResourceReferences(EnvironmentBuilder.java:232)
at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentContext(EJBDeployer.java:384)
at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentFor(EJBDeployer.java:1181)
at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:952)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1437)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:498)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:3149)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1590)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1234)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1077)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2530)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2480)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2396)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:883)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:591)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2484)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2396)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:883)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:591)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
The config.xml is
<?xml version="1.0" encoding="UTF-8"?>
<Domain ConfigurationVersion="8.1.5.0" Name="mydomain">
<Server ListenAddress="" ListenPort="7001" Name="myserver"
NativeIOEnabled="true" ReliableDeliveryPolicy="RMDefaultPolicy" ServerVersion="8.1.5.0">
<SSL Enabled="false" HostnameVerificationIgnored="false"
IdentityAndTrustLocations="KeyStores" Name="myserver"/>
</Server>
<JMSFileStore Directory="rmfilestore" Name="FileStore"/>
<WSReliableDeliveryPolicy DefaultRetryCount="10"
DefaultTimeToLive="60000" Name="RMDefaultPolicy" Store="FileStore"/>
<JDBCConnectionPool
DriverName="com.microsoft.jdbc.sqlserver.SQLServerDriver"
Name="LiferayPool" PasswordEncrypted="{3DES}MO3m0i6yVqM="
Properties="user=lportal;url=jdbc:microsoft:sqlserver://localhost:1433;selectMethod=cursor;userName=lportal;dataSourceName=SQL2000JDBC;databaseName=lportal;serverName=localhost"
Targets="myserver" TestConnectionsOnReserve="true"
TestTableName="SQL SELECT * from sysobjects" URL="jdbc:microsoft:sqlserver://localhost:1433"/>
<JDBCTxDataSource JNDIName="jdbc/LiferayPool" Name="LiferayPool"
PoolName="LiferayPool" Targets="myserver"/>
<Security Name="mydomain"
PasswordPolicy="wl_default_password_policy"
Realm="wl_default_realm" RealmSetup="true"/>
<EmbeddedLDAP
CredentialEncrypted="{3DES}VKU1Z+Rt+9H2BdJ/IWLykO3UHDGbDN2w3so0iy8xk1o=" Name="mydomain"/>
<SecurityConfiguration
CredentialEncrypted="{3DES}HVQXen+OHn1WVUhPVXQ5Etq0wZGW3TnCcMyK65ekuw56D9CS2M/ODdh/PomFZBYLRYlkhysTEvGDijpcBUYz6FzUcyq5JYry"
Name="mydomain" RealmBootStrapVersion="1"/>
<Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
<FileRealm Name="wl_default_file_realm"/>
<PasswordPolicy Name="wl_default_password_policy"/>
<JMSServer Name="WSStoreForwardInternalJMSServermyserver"
Store="FileStore" Targets="myserver">
<JMSQueue CreationTime="1155021233552"
JNDIName="jms.internal.queue.WSStoreForwardQueue"
JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSStoreForwardQueuemyserver"/>
<JMSQueue CreationTime="1155021233723"
JNDIName="jms.internal.queue.WSDupsEliminationHistoryQueue"
JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSDupsEliminationHistoryQueuemyserver"/>
</JMSServer>
<MailSession JNDIName="mail/MailSession" Name="mail/MailSession"
Properties="mail.pop3.host=localhost;mail.imap.host=localhost;mail.transport.protocol=smtp;mail.smtp.host=localhost;mail.store.protocol=imap" Targets="myserver"/>
</Domain>
The ejb-jar.xml is :
<?xml version="1.0"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar>
     <enterprise-beans>
          <session>
               <display-name>CounterServiceEJB</display-name>
               <ejb-name>com_liferay_counter_service_ejb_CounterServiceEJB</ejb-name>
               <home>com.liferay.counter.service.ejb.CounterServiceHome</home>
               <remote>com.liferay.counter.service.ejb.CounterServiceEJB</remote>
               <ejb-class>com.liferay.counter.service.ejb.CounterServiceEJBImpl</ejb-class>
               <session-type>Stateless</session-type>
               <transaction-type>Bean</transaction-type>
               <resource-ref>
                    <res-ref-name>jdbc/LiferayPool</res-ref-name>
                    <res-type>javax.sql.DataSource</res-type>
                    <res-auth>Container</res-auth>
                    <res-sharing-scope>Shareable</res-sharing-scope>
               </resource-ref>
               <resource-ref>
                    <res-ref-name>mail/MailSession</res-ref-name>
                    <res-type>javax.mail.Session</res-type>
                    <res-auth>Container</res-auth>
               </resource-ref>
          </session>
     </enterprise-beans>
     <assembly-descriptor>
          <method-permission>
               <unchecked />
               <method>
                    <ejb-name>com_liferay_counter_service_ejb_CounterServiceEJB</ejb-name>
                    <method-name>*</method-name>
               </method>
          </method-permission>
     </assembly-descriptor>
</ejb-jar>
The weblogic-ejb-jar.xml is:
<?xml version="1.0"?>
<!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN" "http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd">
<weblogic-ejb-jar>
     <weblogic-enterprise-bean>
          <ejb-name>com_liferay_counter_service_ejb_CounterServiceEJB</ejb-name>          
          <reference-descriptor>
          <resource-description>
          <res-ref-name>mail/MailSession</res-ref-name>
          <jndi-name>MailSession</jndi-name>
          </resource-description>
          </reference-descriptor>
          <jndi-name>com_liferay_counter_service_ejb_CounterServiceEJB</jndi-name>
     </weblogic-enterprise-bean>
</weblogic-ejb-jar>
Please Help!
Thanks in Advance.
- Karthikeyan

Hi,
I am still getting the error even after changing the JNDI name.
The modified weblogic-ejb-jar.xml is:
<?xml version="1.0"?>
<!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN" "http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd">
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>com_liferay_counter_service_ejb_CounterServiceEJB</ejb-name>
<reference-descriptor>
<resource-description>
<res-ref-name>mail/MailSession</res-ref-name>
<jndi-name>mail/MailSession</jndi-name>
</resource-description>
</reference-descriptor>
<jndi-name>com_liferay_counter_service_ejb_CounterServiceEJB</jndi-name>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>
Thanks..
- Karthikeyan

Similar Messages

  • Deploying the .ear file on weblogic 10.3.

    I Am deploying the .ear file on weblogic 10.3. but we got the exception on deployment time mention below in mail.
    1*. Unable to access the selected application.*
    *2. Exception in AppMerge flows' progression*
    *3. Exception in AppMerge flows' progression*
    *4. VALIDATION PROBLEMS WERE FOUND problem: cvc-datatype-valid.1.1: string value '' does not match pattern for war-pathType in namespace http://java.sun.com/xml/ns/javaee:<null>; problem: cvc-datatype-valid.1.1: string value '' does not match pattern for war-pathType in namespace http://java.sun.com/xml/ns/javaee:<null>;*
    *5. VALIDATION PROBLEMS WERE FOUND problem: cvc-datatype-valid.1.1: string value '' does not match pattern for war-pathType in namespace http://java.sun.com/xml/ns/javaee:<null>; problem: cvc-datatype-valid.1.1: string value '' does not match pattern for war-pathType in namespace http://java.sun.com/xml/ns/javaee:<null>;*
    any body help me.Thanks in advance.

    Hi Crimsonious,
    Did u solve your problem because i am having the same issue right now!
    Carl

  • How to deploy an Ear File into Weblogic Server

    Hello,
    i have created an ADF application successfully and make it as an EAR file.
    How can we deploy that EAR file into weblogic server..?
    Let me know step-by-step procedure.
    Regards.

    Hi,
    Steps to deploy EAR file on Weblogic server:
    1) login to http://<hostname>:<port>/console
    2) Go to deployments and then install your ear on weblogic server.
    Also you will need to create a data source with same name as given in your Application Module.
    Following link contains steps for data source creation - http://www.oracle.com/webfolder/technetwork/jdeveloper/howto/11114/managedserver/wlsadfms.html ( section - "Configure a JDBC Data Source")
    Thanks,
    Randhir

  • Difficulty deploying an EAR file to WebLogic 10.0

    Hello, I've been having severe difficulty trying to deploy a particular EAR file into WebLogic, using either the Weblogic's wldeploy Ant task or doing a manual upload of the EAR using the Weblogic Console. Looking at the error stack below, for some reason there may be a keystore reading problem, but I'm not certain why keystores are important here while deploying an application. I'm also puzzled because when I start WebLogic, the server output claims it read the wlidentity.jks keystore without a problem:
    <Jun 27, 2008 6:29:18 PM EDT> <Notice> <Security> <BEA-090171> <Loading the iden
    tity certificate and private key stored under the alias weblogic from the JKS ke
    ystore file C:\myprograms\bea\user_projects\domains\business_domain\wlidentity.j
    ks.>
    <Jun 27, 2008 6:29:18 PM EDT> <Notice> <Security> <BEA-090169> <Loading trusted
    certificates from the JKS keystore file C:\myprograms\bea\user_projects\domain
    s\business_domain\wltrust.jks.>
    Here is the error message I keep getting:
    <Jun 27, 2008 6:35:18 PM EDT> <Error> <Security> <BEA-090133> <Could not load a
    JKS keystore from the file C:\myprograms\bea\user_projects\domains\tomcat_doma
    in\wlidentity.jks. Exception: java.io.IOException: Keystore was tampered with, o
    r password was incorrect>
    <Jun 27, 2008 6:35:18 PM EDT> <Warning> <HTTP> <BEA-101162> <User defined listen
    er weblogic.wsee.deploy.ServletDeployListener failed: weblogic.wsee.deploy.WSEES
    ervletEndpointException: Failed to prepare wsse module: alsb/samlrecipient/Consu
    merR.war.
    weblogic.wsee.deploy.WSEEServletEndpointException: Failed to prepare wsse module
    : alsb/samlrecipient/ConsumerR.war
    at weblogic.wsee.deploy.ServletDeployListener.contextPrepared(ServletDep
    loyListener.java:32)
    at weblogic.servlet.internal.EventsManager$FireContextPreparedAction.run
    (EventsManager.java:480)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.EventsManager.notifyContextPreparedEvent(Ev
    entsManager.java:149)
    Truncated. see log file for complete stacktrace
    weblogic.wsee.ws.WsException
    at weblogic.wsee.deploy.WSEEModule.prepare(WSEEModule.java:129)
    at weblogic.wsee.deploy.ServletDeployListener.contextPrepared(ServletDep
    loyListener.java:29)
    at weblogic.servlet.internal.EventsManager$FireContextPreparedAction.run
    (EventsManager.java:480)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    Truncated. see log file for complete stacktrace
    java.lang.NullPointerException
    at weblogic.wsee.security.bst.ServerBSTCredentialProvider.getX509Credent
    ial(ServerBSTCredentialProvider.java:168)
    at weblogic.wsee.security.bst.ServerBSTCredentialProvider.initCredential
    FromContext(ServerBSTCredentialProvider.java:149)
    at weblogic.wsee.security.bst.ServerBSTCredentialProvider.initCredential
    s(ServerBSTCredentialProvider.java:99)
    at weblogic.wsee.security.configuration.WssConfiguration.initDefaultConf
    iguration(WssConfiguration.java:327)
    at weblogic.wsee.security.configuration.WssConfiguration.init(WssConfigu
    ration.java:119)
    Truncated. see log file for complete stacktrace
    >
    Anyone see this before--know what the solution to it might be? The java.lang.NullPointerException above at ServerBSTCredentialProvider.java:168 might point quickly to the problem, so if any Weblogic team members can clue me in on what the problem is there, that would be great.
    Thanks,
    Glen

    Fixed the problem. I was following these instructions[1] to set up my ALSB/WebLogic configuration, and had entered the wrong password for the "IntegrityKeyStorePassword" field.
    [1] http://forums.bea.com/thread.jspa?threadID=300003724

  • Problems with deploying an EAR file (Geronimo)

    hey guys,
    i just want to deploy one EAR-File with two different deployment plans. however, i get the following problem, even if i change the groupId, artifactId,... in the environment and in the modules of the deployment plan, when i deploy the EAR with the second deployment plan (after deploying with the first one):
    "Application cannot be deployed as it contains deployment ids which are in use"
    but the ids are completely unique in my deployment plan
    Does anybody know how to fix that problem, or how to deploy two application-instances with one and the same EAR ??
    PLEASE HELP MEEE...! :D
    Greetz, iTob
    Edited by: -iTob- on May 28, 2009 4:15 AM

    Apache Geronimo has a mailing list. Post the question there.
    Kaj

  • Problem in deploying Application War file on weblogic 8.1.

    Hi All,
    <BR><BR>
    I am getting folowing error while deploying a war file in weblogic server.
    <BR><BR>
    <b>####<May 9, 2006 4:35:43 AM BST> <Error> <HTTP> <dygenint01> <admin_dyressit> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-101018> <[ServletContext(id=6530739,name=OneViewWriteback,context-path=/OneViewWriteback)] Servlet failed with ServletException
    java.lang.Throwable: Servlet class: 'com.corizon.ps.oneview.servlet.OneViewWritebackResultServlet' doesn't have a default constructor
         at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1032)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:904)
         at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:883)
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:822)
         at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:535)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:373)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)</b>
    <BR><BR>
    I am using weblogic version 8.1 .
    <BR><BR>
    How can I get rid of this error ?
    <BR><BR>
    Can any body Please guide me on this ?
    <BR><BR>
    Thanks in advance.
    <BR><BR>
    Ninad

    dkarr, Thanks for your reply.<BR>
    here is the constructor I got for the class 'com.corizon.ps.oneview.servlet.OneViewWritebackResultServlet'
    <BR><BR>
    <b> public OneViewWritebackResultServlet()<BR>
    {<BR>
    senderThread = null;<BR>
    jmsConnectionHandler = null;<BR>
    closureManager = null;<BR>
    mRequestSenderThread = null;<BR>
    connected = false;<BR>
    }</b><BR>
    <BR>
    Is this ok ?
    <BR>
    Thanks,<BR>
    -Ninad<BR>

  • Problem While deploying an ear file

    I created a ear file Which has a BeanHello.jar and BeanHello.war and an application.xml. I tried doing it like the petstore application of weblogic6.0. It is deploying on the server , But the internal components of the ear file is not being deployed . Kindly send me one small example.

    We are also having the same problem with our application. And it works OK when
    we deploy the ejb jars and Webapplication(war)separately.
    We think we've followed all the steps in the WebLogic documentation, but same
    as Meena, the internal components of our ear file is not being deployed. And when
    we try to start Weblogic server, it throws the exceptions as below.
    We'll highly appreciate any help. Thanks in advance.
    Ting
    [weblogic.xml.process.XMLProcessingException: Could not locate processor for public
    id = "-//Sun Microsystems,Inc.//DTD J2EE Application 1.2//EN" - with nested exception:
    [weblogic.xml.process.ProcessorFactoryException: Could not locate processor for
    public id = "-//Sun Microsystems,Inc.//DTD J2EE Application 1.2//EN"]
    at weblogic.j2ee.dd.xml.J2EEUtils.loadDeploymentDescriptor(J2EEUtils.java:85)
    at weblogic.j2ee.dd.xml.J2EEUtils.loadDeploymentDescriptor(J2EEUtils.java:67)
    at weblogic.management.mbeans.custom.Application.getDD(Application.java:602)
    at weblogic.management.mbeans.custom.Application.adminLoad(Application.java:499)
    at weblogic.management.mbeans.custom.Application.load(Application.java:310)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
    at $Proxy6.load(Unknown Source)
    at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:550)
    at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:526)
    at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:450)
    at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:402)
    at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:152)
    at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:665)
    "Amirthamurugaraj" <[email protected]> wrote:
    U can take the petstore appplication as an example.
    If everything U did with the creation of ear files and deployment goes
    fine,
    make ur application as the default application and try.
    If that doesn't work for U,make sure the ejb(jar) and Webapplication(war)
    are working when deployed separetly.
    In addition to this,check for any exceptions in the console.
    Reply back on success or any queries..........
    Amirthamurugaraj.
    Meena <[email protected]> wrote in message
    news:[email protected]...
    I created a ear file Which has a BeanHello.jar and BeanHello.war andan
    application.xml. I tried doing it like the petstore application of
    weblogic6.0. It is deploying on the server , But the internal components
    of
    the ear file is not being deployed . Kindly send me one small example.

  • Problem while deploying the ear file in sap itc server

    error loading archive
    manifest attributes are missing while deploying ear file in sap itc server
    attribute key location is missing
    attribute key vendor is missing

    error loading archive
    manifest attributes are missing while deploying ear file in sap itc server
    attribute key location is missing
    attribute key vendor is missing

  • Error while deploying EAR file on weblogic

    When i deploy an EAR file on weblogic 10.3 i get the following.
    Please tell how to rectify it?
    Unable to access the selected application.
    Exception in AppMerge flows' progression
    Exception in AppMerge flows' progression
    [J2EE:160161]Error while parsing the Application descriptors for Portal-0.0.1-SNAPSHOT.ear: weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND problem: cvc-complex-type.2.4c: Expected element 'module@http://java.sun.com/xml/ns/javaee' before the end of the content in element application@http://java.sun.com/xml/ns/javaee: at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:234) at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:221) at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:146) at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:292) at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:260) at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:774) at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:395) at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:745) at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:754) at weblogic.application.ApplicationDescriptor.getApplicationDescriptor(ApplicationDescriptor.java:307) at weblogic.application.compiler.CompilerCtx.setApplicationDescriptor(CompilerCtx.java:131) at weblogic.application.compiler.AppcUtils.setDDs(AppcUtils.java:142) at weblogic.application.compiler.flow.DescriptorParsingFlow.compile(DescriptorParsingFlow.java:57) at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36) at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96) at weblogic.application.compiler.ReadOnlyEarMerger.merge(ReadOnlyEarMerger.java:49) at weblogic.application.compiler.flow.AppMergerFlow.mergeInput(AppMergerFlow.java:94) at weblogic.application.compiler.flow.AppMergerFlow.compile(AppMergerFlow.java:47) at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36) at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96) at weblogic.application.compiler.AppMerge.runBody(AppMerge.java:142) at weblogic.utils.compiler.Tool.run(Tool.java:158) at weblogic.utils.compiler.Tool.run(Tool.java:115) at weblogic.application.compiler.AppMerge.merge(AppMerge.java:154) at weblogic.deploy.api.internal.utils.AppMerger.merge(AppMerger.java:79) at weblogic.deploy.api.internal.utils.AppMerger.getMergedApp(AppMerger.java:60) at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createDeployableObject(WebLogicDeployableObjectFactoryImpl.java:184) at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createLazyDeployableObject(WebLogicDeployableObjectFactoryImpl.java:151) at weblogic.deploy.api.tools.SessionHelper.inspect(SessionHelper.java:646) at com.bea.console.actions.app.install.Flow.appSelected(Flow.java:459) 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:585) at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870) at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809) at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478) at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306) at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336) at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:52) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:64) at org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptor.wrapAction(ActionInterceptor.java:168) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.invoke(ActionInterceptors.java:50) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:58) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:87) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2116) at com.bea.console.internal.ConsolePageFlowRequestProcessor.processActionPerform(ConsolePageFlowRequestProcessor.java:251) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853) at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631) at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158) at com.bea.console.internal.ConsoleActionServlet.process(ConsoleActionServlet.java:241) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at com.bea.console.internal.ConsoleActionServlet.doGet(ConsoleActionServlet.java:130) at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1170) at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:686) at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:142) at com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.processAction(PageFlowStubImpl.java:106) at com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:107) at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:180) at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:168) at com.bea.netuix.servlets.controls.content.NetuiContent.handlePostbackData(NetuiContent.java:223) at com.bea.netuix.nf.ControlLifecycle$2.visit(ControlLifecycle.java:178) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:324) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:375) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:341) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:332) at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:164) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:139) at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:377) at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:253) at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:194) at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:266) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:124) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(Unknown Source) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200) at weblogic.work.ExecuteThread.run(ExecuteThread.java:172) .

    Hi,
    Can you please paste your "application.xml" file, Looks like you are using a Wrong DTD/XSD declaration in this file or May be ou are using Wrong Tags in this file.
    The Standard "application.xml" should look something like below, as described in the following link: http://middlewaremagic.com/weblogic/?p=1952
    <?xml version="1.0" encoding="UTF-8"?>
    <application xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.4">
    <description>Test EAR Example</description>
    <display-name>TestEAR Example</display-name>
    <module>
    <ejb>EJB1.jar</ejb>
    </module>
    <module>
    <web>
    <web-uri>WebApp1.war</web-uri>
    <context-root>WebApp1ContextRoot</context-root>
    </web>
    </module>
    </application>
    NOTE: please make sure that you donot change the order of the <display-name> Tag....Sometimes it causes Parsing failure as yours.
    Thanks
    Jay SenSharma
    http://middlewaremagic.com/weblogic/?p=1952 (Middleware Magic Is Here)

  • Want to deploy BI Office.ear file on weblogic version 10

    Hi,
    I want to deploy BIOffice.ear file on weblogic 10version.
    As per oracle weblogic version 9 is supported with OBIEE 10.2.3.4.1 version.
    Please let me know if anyone hase done that.
    Thanks
    Nitasha
    Edited by: user13005863 on Jan 11, 2011 4:03PM

    Do you have solution for this?

  • Deploying EAR file in weblogic

    I am new to weblogic and the situation needs deep knowledge. I have to deploy an EAR file in weblogic . This deployment should not be from console, every work should be done from backend. Please help me. I need step by step guidance.
    Thanks

    you are using data sources to connect to DB but the data source is NOT in your weblogic domain.
    Can you create the datasource 'CustomUI_2DS' in the web logic and try deplooying the EAR?
    Thanks,
    Navaneeth

  • Deploying EAR file in weblogic domain

    Hi all,
    i am getting following error when i deployed an ear file to weblogic domain
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: javax.naming.NameNotFoundException: While trying to lookup 'jdbc.CustomUI_2DS' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/CustomUI_2DS'
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:247)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
    at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:411)
    at javax.naming.InitialContext.lookup(InitialContext.java:392)
    at weblogic.jndi.internal.WLNamingManager.getObjectInstance(WLNamingManager.java:102)
    But when i directly deploy the application from jdeveloper to same weblogic server it is working fine.can pls suggest me a solution for the following
    i am using jdev 11.1.1.5
    thanks in advance

    you are using data sources to connect to DB but the data source is NOT in your weblogic domain.
    Can you create the datasource 'CustomUI_2DS' in the web logic and try deplooying the EAR?
    Thanks,
    Navaneeth

  • Getting runtime error when i am deploying my ear file in weblogic8.1

    I deployed my ear file into weblogic server, the below error i got in console of weblogic server. please tell where i need to setup class path. I am using eclipse as IDE and running the project in eclipse.
    How can i set classpath in weblogic server ? Give me step by step please.
    <May 25, 2006 8:13:45 PM GMT+05:30> <Error> <HTTP> <BEA-101017> <[ServletContext(id=19766836,name=MarketFusionCom.war,context-path=)] Root cause of ServletException.
    weblogic.servlet.jsp.CompilationException: Compilation of C:\bea\user_projects\domains\mydomain\marketfusioncom\jsp_servlet\__index.java failed.java.io.IOException: CreateProcess: javac -classpath "C:\bea\user_projects\domains\mydomain\MarketFusionServer\.wlnotdelete\extract\MarketFusionServer_MarketFusionCom_MarketFusionCom.war\MarketFusionCom.war;C:\bea\user_projects\domains\mydomain\MarketFusionServer\.wlnotdelete\MarketFusionCom\MarketFusionCom.jar;marketfusioncom;C:\Program Files\Java\j2re1.4.2_01\lib\rt.jar;C:\Program Files\Java\j2re1.4.2_01\lib\i18n.jar;C:\Program Files\Java\j2re1.4.2_01\lib\sunrsasign.jar;C:\Program Files\Java\j2re1.4.2_01\lib\jsse.jar;C:\Program Files\Java\j2re1.4.2_01\lib\jce.jar;C:\Program Files\Java\j2re1.4.2_01\lib\charsets.jar;C:\Program Files\Java\j2re1.4.2_01\classes;C:\bea\weblogic81\server\lib\weblogic.jar;C:\bea\weblogic81\server\lib\wlcipher.jar;C:\bea\weblogic81\server\lib\jsafeFIPS.jar;C:\bea\weblogic81\server\lib\webservices.jar;C:\bea\weblogic81\server\lib\xmlx.jar;C:\bea\weblogic81\server\lib\ojdbc14.jar;C:\bea\weblogic81\server\lib\jconn2.jar;C:\bea\weblogic81\server\lib\jConnect.jar;C:\bea\weblogic81\server\lib\EccpressoAsn1.ja?
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Unknown Source)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Unknown Source)
    at java.lang.Runtime.exec(Unknown Source)
    at java.lang.Runtime.exec(Unknown Source)
    at weblogic.utils.Executable.exec(Executable.java:227)
    at weblogic.utils.Executable.exec(Executable.java:156)
    at weblogic.utils.Executable.exec(Executable.java:142)
    at weblogic.utils.compiler.CompilerInvoker.execCompiler(CompilerInvoker.java:249)
    at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:428)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:321)
    at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:451)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:246)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:196)
    at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:598)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:406)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:478)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:246)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:196)
    at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:598)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:406)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    Caused by: java.io.IOException: Compiler failed executable.exec
    at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:470)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:321)
    at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:451)
    ... 12 more
    >

    Hi i got this same problem and i solved this
    weblogic8 containing ejbcompiler supports only the jdk1.4 versioning class files
    so plz compile u r java file with jdk1.4 version and deploy in weblogic8 . u r problem will be solved
    Regards
    Srinivasa Rao.Teki
    Software Engineer
    ITON Technologies
    Tanuku, W.G.Dt, A.P,India
    GSM: 9885504303 (+91)

  • EXCEPTION in deploying ear file on weblogic server 11g

    Hi, I am trying to deploy an ear file on the weblogic server 11g(10.3.5) application installed successfully but when i tried to start application to listen service requests its throws exceptions and application state changed from prepared to failed
    I have unchecked the check box Auto generate and synchronize weblogic JDBC descriptors during deployment in application properties under the deployment node. I also have created same jdbc datasource with name Connection1 and JINDI name jdbc/Connection1 on my weblogic server.
    Exceptions that application throwing are.
    Message icon - Error weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: No credential mapper entry found for password indirection user=hr for data source Connection1
    But when I tried to deploy this from jdeveloper deployment console directly on the server it deployed successfully and starts listening requests.
    please give me solution of this problem.
    Thanks in advance
    Edited by: Rao on Nov 29, 2012 10:22 AM
    Edited by: Rao on Nov 29, 2012 10:23 AM

    I have resolved this exception. Exception occur due wrong settings in weblogig_Application.xml file remove Data source information from this file and provide datasource on weblogic server.

  • Error in deploying .ear file in weblogic 6.1

    Hi
    i had deployed an ear file named ProjectBroker.ear using hte weblogic console
    and it was working fine .i had made changes to the ejb bean file and hence tried
    redeploy it,though on the console it shows that it is deployed it , i'm not able
    to access the ejb methods ,also when i start the server it gives me the following
    error ---
    <Mar 11, 2002 11:22:32 AM IST> <Error> <J2EE> <Error deploying application web-s
    ervices: Cannot deploy WebAppServletContext(5197502,web-services,/ProjectBroker)
    on myserver because WebAppServletContext(5450599,web-services,/ProjectBroker)
    i
    s already registered for path /ProjectBroker>
    java.lang.reflect.UndeclaredThrowableException: weblogic.j2ee.DeploymentExceptio
    n: Cannot deploy WebAppServletContext(5197502,web-services,/ProjectBroker) on
    my
    server because WebAppServletContext(5450599,web-services,/ProjectBroker) is alre
    ady registered for path /ProjectBroker
    could any one help me out on this issue
    Rgds
    ravi

    Hi Ivaylo,
    to answer your first question, the EAR that I am trying
    to deploy gets created as part of the publish step. When
    I look in the application.xml file of this EAR I see a
    version attribute with value of 1.4 in the application
    tag, can we assume that this implies J2EE 1.4 compliancy?
    One thing about this generated EAR is that it does not
    include any java code (VM or otherwise). When I generate
    the EAR by hand (by exporting the EJB project as an EAR
    file there is a JAR for the actual java code put in
    there, but when generating the EAR via publish there is
    only some xml and manifest stuff put in the EAR, with the
    result that it's only 2KB or so in size. I have specified
    a J2EE module dependency from the Enterprise Application
    project to the EJB project, but is there something else I
    need to do to ensure that the java code (jar) gets
    included in the EAR of the Enterprise Application when
    attempting to deploy via publish?
    Thanks for the other suggest, "Import J2EE Archive".
    However, I am having difficulty locating this button.
    When I look at the "Deploy View" window I see on the left
    the Workspace and External Deployable Archives trees,
    and on the right there are "Setting for Updating
    SCAs/SDAs" radio buttons, as well as "Error Strategy"
    radio buttons, but no "Import J2EE Archive" button.
    Thanks for the info about SDM by the way, I was wondering
    why I was not able to launch it (there is still a remote
    gui shortcut, which should probably go away).

Maybe you are looking for

  • Officejet L7680 won't complete a scan. Windows 8.1

    I have Dell desktop with Windows 8.1.  I recently had to install a new hard drive and reinstall all my software.  Prior to that I had Windows 8.0 and my Officejet L7680 printed and scanned just fine.  After the new hard drive, it will not complete a

  • Is this a bug in JDK1.4.1 regarding JDesktopPane

    Is this a bug in JDK1.4.1 regarding JDesktopPane, when i drag my JInternalFrame in JDesktopPane it becomes little bit sticky and flickery, but when i run same application with JDK1.4.0, works fine, any idea/comments why ?

  • My ipod isnt recognised

    i plugged in my ipod nano, the computer recognises it but then it goes "One of the USB Devices attached to this computer has malfunctioned and Windows does not recognise it. Device is UNKOWN, i have installed the drivers provided on the disk provided

  • Fast pixel access

    Hi there, I need to display an image that can change over time (the pixel values are subject to change). I get the image changes (int[] array) from the network and every time a change happens (and I get raw pixel data from the network) I need to upda

  • Web page not loading with iweb

    I have a problem with my web page loading. I have set up my domain name and forwarded it to my .mac account. but when I enter http://www.paulphillips.ca it goes to the apple/dotmac.com web site if I enter either of these three variations it works: pa