Problem redeploying war files with deployment tool

I'm going thru the j2ee tutorial(downloaded Dec 03). I can't successfully redeploy war files. After making changes to a java file and then rebuilding using asant, using the deploytool I save changes and then redeploy. I always get the old version unless I completely remove the old web module and create a new one. I've seen this problem over and over in the forum but nobody has addressed it properly. Please help.

To be more specific, I'm working on the bookstore example in the J2ee tutorial. If I just add a single web module(banner servlet) to the existing standalone war module bookstore1, The tools->update module tools->deploy works fine. If I add the rest of the modules(bookDetailsServlet,bookStoreServlet,etc). After making changes and rebuilding the .java files if I go to tools->update module the window displays nothing under the heading "the following entries have changes".
Under the heading "the following entries were not found on disk" is a list of all the files under the war module bookstore1.war. I'm don't understand why it is not recognizing the changes. Any help would be appreciated.

Similar Messages

  • Project librarys not included in WAR file with deployment (WEB-INF/lib)

    Using JDeveloper 9.0.5.2
    Project Libraries are not included in WEB-INF/lib when deploying. Although the files are selected in the deployment file at 'Contributors'. Within the 'filter' the .jar files are missing.
    To solve it i have to register again (i have already made the librarys project library's) the files within Tools->ManageLibrarys as user library's.
    The other workaround is to make the library's System Library's within the project.
    In my opinion it is a bug that you must include the project librarys as user librarys within the 'LibraryManager'

    Unfortunately no, the issue with output folder being ignored occurs only with example apps bundled with Workshop product.
    You can try the following workaround:
    - In Workshop, Project > Properties - Java Build Path, switch to Source tab - "Remove the source folder listing" - Click OK and dismiss Properties window.
    - Project > Properties - Java Build Path > Source Tab, add the same source folder entry - Click OK
    - Export as WAR
    With this you should see the class files bundled under output directory structure (Ex: WEB-INF/classes).

  • How to deploy ear file with jar file and war file with different names

    Hi,
    As part of weblogic migration from WL 6.1 sp3 to WL 10, Iam facing some problem.
    Problem:
    I have one ear file(abc.ear) to deploy which contains one jar file(xyz.jar) and one war file(pqr.war).
    In config.xml file of WL 6.1, it was mentioned as :
    <Application Deployed="true" Name="abc" Path="./config/mydomain/applications/abc.ear">
    <EJBComponent Name="xyz" Targets="myserver" URI="xyz.jar"/>
    <WebAppComponent Name="pqr" Targets="myserver" URI="pqr.war"/>
    </Application>.
    The above is working fine.
    But in config.xml file WL10,I cannot mention the same.
    I need to have different application anmes for ear,jar and war.If I deploy as a ear file,the jar and war files are deployed with the same ear file name.
    I tried the following options:
    1) Deploying as a ear file by adding <sub-deployments>
    2) Deploying both war and jar seperately which is not recommended in my application.
    Please provide the content I should place in the config.xml so that everything works fine correctly.
    Any help is appreciated.

    Hi,
    As part of weblogic migration from WL 6.1 sp3 to WL 10, Iam facing some problem.
    Problem:
    I have one ear file(abc.ear) to deploy which contains one jar file(xyz.jar) and one war file(pqr.war).
    In config.xml file of WL 6.1, it was mentioned as :
    <Application Deployed="true" Name="abc" Path="./config/mydomain/applications/abc.ear">
    <EJBComponent Name="xyz" Targets="myserver" URI="xyz.jar"/>
    <WebAppComponent Name="pqr" Targets="myserver" URI="pqr.war"/>
    </Application>.
    The above is working fine.
    But in config.xml file WL10,I cannot mention the same.
    I need to have different application anmes for ear,jar and war.If I deploy as a ear file,the jar and war files are deployed with the same ear file name.
    I tried the following options:
    1) Deploying as a ear file by adding <sub-deployments>
    2) Deploying both war and jar seperately which is not recommended in my application.
    Please provide the content I should place in the config.xml so that everything works fine correctly.
    Any help is appreciated.

  • Generating war files with jdev

    Hi,
    I am trying to generate a war file with jdev and wish to exclude the connections.xml file from the war file. Is there any settings in the xxx.deploy file that I can change in jdev to do this?
    I am using 9i (v 9.0.3.4)
    Thanks

    Doesn't it come with a file called assembly.bat which launches the Java assembly tool. Webphere 4 does.
    That makes everything a lot easier.
    Dom.

  • Building a war file with a folder structure

    How do a build a war file with a folder structure? I have code that creates JarEntrys and writes jar files and resource files etc. to the war. When I look at the war that gets created using winzip the path names for all the entries are correct and everything appears correct. When I try to deploy this to Tomcat nothing deploys. It appears my war is in a folder structure. How can a build this folder structure in the war? When I look at a good war using BeyondCompare I see folders and files in the folders just like I would see looking at a directory on my system. When I use BeyondCompare to view one of my "bad" war files that I have created everything is in the root. There are no folders and no folder structure. I am using the java.util.jar API to create the war but I don't see any methods or any API that will let me build up any sort of folder structure. It seems like I am missing something basic here.

    command is same for creating jar/war/ear.
    u simply need to execute jar /? for detail.

  • Redeploying war files WL 7.0

    When a war file is updated and uploaded this error occurs when redeploying
    weblogic.management.ApplicationException: Prepare failed. Task Id = 10
    Start server side stack trace:
    weblogic.management.ApplicationException: Prepare failed. Task Id = 10
    Module Name: emi.war, Error: weblogic.j2ee.DeploymentException: Cannot deploy
    ServletContext(id=87601,name=emi.war,context-path=/emi) from /ec/prod/server/weblogic/projects/prod/prod-ms-a-1/stage/emi-all-1.9p5/emi.war
    on prod-ms-a-1 because there is already a webapp named ServletContext(id=3674494,name=emi.war,context-path=/emi)
    loaded from /ec/prod/server/weblogic/projects/prod/prod-ms-a-1/stage/emi-all-1.9p5/emi.war,
    which is using the context path /emi.
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:697)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:576)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1064)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:732)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    End server side stack trace
    Module Name: emi.war, Error: weblogic.j2ee.DeploymentException: Cannot deploy
    ServletContext(id=87601,name=emi.war,context-path=/emi) from /ec/prod/server/weblogic/projects/prod/prod-ms-a-1/stage/emi-all-1.9p5/emi.war
    on prod-ms-a-1 because there is already a webapp named ServletContext(id=3674494,name=emi.war,context-path=/emi)
    loaded from /ec/prod/server/weblogic/projects/prod/prod-ms-a-1/stage/emi-all-1.9p5/emi.war,
    which is using the context path /emi.
    Despite destroying the old war file to deploy this new one .Only when the server
    is restarted does the deployment work .
    please help
    Sandra

    When a war file is updated and uploaded this error occurs when redeploying
    weblogic.management.ApplicationException: Prepare failed. Task Id = 10
    Start server side stack trace:
    weblogic.management.ApplicationException: Prepare failed. Task Id = 10
    Module Name: emi.war, Error: weblogic.j2ee.DeploymentException: Cannot deploy
    ServletContext(id=87601,name=emi.war,context-path=/emi) from /ec/prod/server/weblogic/projects/prod/prod-ms-a-1/stage/emi-all-1.9p5/emi.war
    on prod-ms-a-1 because there is already a webapp named ServletContext(id=3674494,name=emi.war,context-path=/emi)
    loaded from /ec/prod/server/weblogic/projects/prod/prod-ms-a-1/stage/emi-all-1.9p5/emi.war,
    which is using the context path /emi.
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:697)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:576)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1064)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:732)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    End server side stack trace
    Module Name: emi.war, Error: weblogic.j2ee.DeploymentException: Cannot deploy
    ServletContext(id=87601,name=emi.war,context-path=/emi) from /ec/prod/server/weblogic/projects/prod/prod-ms-a-1/stage/emi-all-1.9p5/emi.war
    on prod-ms-a-1 because there is already a webapp named ServletContext(id=3674494,name=emi.war,context-path=/emi)
    loaded from /ec/prod/server/weblogic/projects/prod/prod-ms-a-1/stage/emi-all-1.9p5/emi.war,
    which is using the context path /emi.
    Despite destroying the old war file to deploy this new one .Only when the server
    is restarted does the deployment work .
    please help
    Sandra

  • Hi,Can a WAR file be deployed as EAR file and vice versa.

    Hi,Can a WAR file be deployed as EAR file and vice versa.If so what are the changes we need to do.

    hi tel me in detail why u want 2 do that
    why u want to cnvert a web arch into enterp arch

  • Problem opening PDF files with adobe

    I cannot get adobe to open my pdf files. Not from internet nor from desktop.
    I downloads fine,. I have installed and reinstalled several times.
    If I try to open it looks like it opens but closes immediately. I tried to open adobe, but nothing. A grey screen and that's it. I cannot access the help button

    Yes, I finally got it working using number 2:-) Thank you very much
    2013/8/1 Pat Willener <[email protected]>
       Re: Problem opening PDF files with adobe  created by Pat Willener<http://forums.adobe.com/people/pwillener>in
    Adobe Reader - View the full discussion<http://forums.adobe.com/message/5557146#5557146

  • Extract WAR file while deploying

    hi
    Is there any way or option which we need to give in deployment descripter to
    extract the war file while deploying.
    Any one can suggest me how to proceed in this aspact.
    Thanks and Regards
    Anand Mohan

    Anand,
    Can you give a context for this question? Are you packaging your J2EE modules
    into an ear file and need to extract the war file? What is the use case for
    the scenario you are describing?
    Chuck Nelson
    DRE
    BEA Technical Support

  • Error while deploying war file with jsp precompile option in weblogic 7.0

              Hi
              I am trying to precompile jsp file which is there in a war.Main jsp file code
              includes one more jsp which is there in other folder under defaultweb directory.
              While deploying the war i am getting the following error.Can any bosy help me
              in this regard
              <Nov 23, 2002 5:01:28 PM IST> <Error> <HTTP> <101045> <[ServletContext(id=464413
              3,name=ArkinTestWeb,context-path=/ArkinTestWeb-3)] translation of /Admin/account
              _access.jsp failed: weblogic.utils.ParsingException: nested TokenStreamException
              : antlr.TokenStreamException: Could not include ./../includes/sessionStatusPage.
              jsp>
              <Nov 23, 2002 5:01:28 PM IST> <Error> <Deployer> <149201> <The Slave Deployer
              fa
              iled to complete the deployment task with id 1 for the application ArkinTestWeb.
              weblogic.management.ApplicationException: Prepare failed. Task Id = 5
              Module Name: ArkinTestWeb, Error: Could not load ArkinTestWeb: weblogic.utils.Ne
              stedException: ArkinTestWeb:ArkinTestWeb Failure while Precompiling JSPs: weblog
              ic.utils.ParsingException: nested TokenStreamException: antlr.TokenStreamExcepti
              on: Could not include ./../includes/sessionStatusPage.jsp - with nested exceptio
              n:
              [weblogic.utils.ParsingException: nested TokenStreamException: antlr.TokenStream
              Exception: Could not include ./../includes/sessionStatusPage.jsp]
              at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
              er.java:657)
              at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
              er.java:548)
              at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
              veDeployer.java:1026)
              at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
              loyer.java:700)
              at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
              dler.java:24)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
              >
              Regards
              Anand Mohan
              

    Hi,
    1] Remove following from server.xml
    <Context path="/SEA" docBase="SEA" debug="0"/>
    2] Paste SEA.WAR (test WAR file) into /webapps of TOMCAT
    3] Start Tomcat Server - This will create SEA folder under webapps
    4] Stop server.
    5] Add following to server.xml
    <Context path="/SEA" docBase="SEA" debug="0"/>
    6] Start Tomcat Server
    7] Access the URL.
    This will work. Somehow Tomcat does not extract war file contents which are mentioned in server.xml.
    I have Apache Tomcat 4.0.3 and faced this problem. The above solution works for it.
    Regards,
    Sandesh
    hi.
    I have put my SEA.WAR (test WAR file) into /webapps of
    TOMCAT.
    I checked the server.xml and put:
         <Context path="/SEA" docBase="SEA" debug="0"/>
    I restarted TOMCAT and tried to execute the file:
         http://localhost:8080/SEA/index.jsp
    But I got error message:
    Apache Tomcat/4.0.3 - HTTP Status 404 -
    /SEA/index.jsp
    What was happenning?
    Anyone can help me?
    Thank you.

  • Deploying WAR file with jdev 11g in weblogic 10.0

    Hello,
    I´m Facing a problem deploying a simple aplication in Weblogic with jdev 11g
    here´s the Error Message :
    2009-05-06 13:52:41.781: Writing WAR file to C:\JDeveloper\mywork\Application3\Project1\deploy\webapp1.war
    2009-05-06 13:52:41.781: Wrote WAR file to C:\JDeveloper\mywork\Application3\Project1\deploy\webapp1.war
    Deploying Application...
    [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application webapp1 on AdminServer.: [HTTP:101064][WebAppModule(webapp1:webapp1.war)] Error parsing descriptor in Web appplication "/opt/oracle/bea/user_projects/domains/alui/./servers/AdminServer/upload/webapp1/app/webapp1.war"
    weblogic.application.ModuleException: Unmarshaller failed
         at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:858)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:285)
         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)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:719)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1186)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    Caused by: com.bea.xml.XmlException: failed to load java type corresponding to e=weblogic-web-app@http://www.bea.com/ns/weblogic/weblogic-web-app
         at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:329)
         at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:296)
         at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:306)
         at com.bea.staxb.runtime.internal.UnmarshalResult.determineRootType(UnmarshalResult.java:287)
         at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:153)
         at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
         at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:141)
         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.servlet.internal.WebAppDescriptor.getWeblogicWebAppBean(WebAppDescriptor.java:164)
         at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:853)
         ... 25 more
    weblogic.application.ModuleException: Unmarshaller failed.
    weblogic.application.ModuleException: [HTTP:101064][WebAppModule(webapp1:webapp1.war)] Error parsing descriptor in Web appplication "/opt/oracle/bea/user_projects/domains/alui/./servers/AdminServer/upload/webapp1/app/webapp1.war"
    weblogic.application.ModuleException: Unmarshaller failed
         at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:858)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:285)
         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)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:719)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1186)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    Caused by: com.bea.xml.XmlException: failed to load java type corresponding to e=weblogic-web-app@http://www.bea.com/ns/weblogic/weblogic-web-app
         at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:329)
         at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:296)
         at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:306)
         at com.bea.staxb.runtime.internal.UnmarshalResult.determineRootType(UnmarshalResult.java:287)
         at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:153)
         at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
         at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:141)
         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.servlet.internal.WebAppDescriptor.getWeblogicWebAppBean(WebAppDescriptor.java:164)
         at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:853)
         ... 25 more
    weblogic.application.ModuleException: Unmarshaller failed
    #### Deployment incomplete. #### May 6, 2009 1:52:43 PM
    Deployment Failed
    does anyone had this problem , please help, i´m trying to solve this problem and still couldn´t make it.
    Best Regard,
    Vitor

    Applications that you build with JDeveloper 11g are normally aimed at WebLogic 10.3 servers.
    They require Java EE 1.5 and JDK 6.

  • How to deploy .war file with Spring 2.5/Hibernate 3 into WebLogic 10.3.6

    Hey everyone,
    I tried to deploy a .war file, which is written in Spring 2.5/Hibernate 3/J2EE 1.4, into WebLogic 10.3.6. Failed.
    following are steps I did:
    install the war file via Install Application Assistant of webLogic console
    1. select .war file
    2. select Install this deployment as an application
    3. select a Server (WLS_easement)
    4. follow default steps
    5 ...
    6. click Finish button
    7. go back to Deployments, State of the .war is Distribute Initializing
    8. click Active Changes button.
    9. state is changed to Prepared
    10. select the Deployment, select Start -> Servicing all requests
    11. got Failed state
    12, then I check WLS_easement.out
    ...org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springSessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Instantiation of bean failed...
    13. in /WEB-INF/applicationContext.xml,
    <bean id="springSessionFactory"
      class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
      <property name="configLocation">
       <value>classpath:hibernate.cfg.xml</value>
      </property>
    </bean>
    so looks like WebLogic has trouble to connect Hibernate 3? is there specific .jar required?
    Can somebody shed a light on this or any input you may have?
    Thanks in advance,
    Feng

    Please attach the error log to this thread
    Also did you package hibernate libraries within the application?  or added to classpath explicitly for server classloader to load it?
    Please check and revert back.
    Thanks,
    Vijaya

  • How to deploy a war file with no descriptors in WLS - quick question

    Hi All
    How do we deploy a war file, which doesnt have weblogic.xml nor web.xml in it ?
    We have these xml files.
    1- How do we include these xml files ? any command line to do that ?
    2- Which is an easier approach to deploy a war file
    a) include these xml files into the war and then deploy with WLS using weblogic.Deployer or
    b) explode the war and then copy these xml files to its WEB-INF ?
    Is there an example we could use to follow to deploy our war file ?
    Thanks

    Puthanampatti, thanks for responding.
    What is the complete command line to deploy the war to a managed server, not Admin Server ?
    Our thinking is to deploy an exploded war directory but copy the descriptor files first.
    What do you think ?

  • Can I deploy a war file with the mixture of JSP and servlet?

    I have a project, which the JSP has been created for view page, and the servlet was created to retrieve the database, but we have trouble to pass the session variable from servlet back to JSP, it is NULL, with different session ID.
    Now, I try to add the servlet into the same JSP project, and deploy them as one war file, so, it will be called under the same subdirectory (Tomcat).
    It failed to call the servlet, with the error message
    Servlet FirstServlet is not available
    I wonder whether this is valid, if it is, what I may lost, if it is not, how to pass the session variable between them.
    Thanks.

    I double checked the web.xml file, the FirstServlet was defined as servlet class, and the FirstServlet class was found under WEB-INF/classes/FirstServletPackage directory.
    Here it is the web.xml file
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
    <servlet>
    <servlet-name>FirstServlet</servlet-name>
    <servlet-class>FirstServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>FirstServlet</servlet-name>
    <url-pattern>/FirstServlet</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>
    30
    </session-timeout>
    </session-config>
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    </web-app>
    and here it is the message from Tomcat log
    May 28, 2009 5:09:43 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Allocate exception for servlet FirstServlet
    java.lang.ClassNotFoundException: FirstServlet
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1094)
    at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:808)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:595)
    I will try to rename it, then test it again.

  • Deploying war files with JBuilder 5 to Tomcat 4

    Hi,
    I'm developing a webapp in JBuilder 5. When I copy my war file to tomcat 3.2 webapps directory and start tomcat it works just fine, but when I copy my war file to the webapps directory in tomcat 4 I have the following error when I start tomcat 4:
    ERROR reading java.io.ByteArrayInputStream@33f8f6
    At Line 15 /web-app/servlet/
    All the examples in Tomcat 4 works just fine, and if I create a war file from the command prompt it also works, but the war file generated with JBuilder 5 doesn't work.
    does this sound familiar?
    please help

    Hi Lilja,
    ran into this myself, and had to do a full web search to find the answer.
    JBuilder5 will let you change the Tomcat version a certain project uses, but it won't necessarily like it.
    Creating a new project with Tomcat 4 as the default server, and then putting your existing files into it seems to work.
    Dodgy, I know, but blame Borland. ;-)
    Ta,
    Martin Hughes

Maybe you are looking for

  • File to File Scenario error

    Hello All,           I have done new server installation and doing File to File  Scenario .while doing this scenario file was picked but my error is "no message are available in the SXI_MONI".I checked Adapter Monitoring Source Communaction channal w

  • Moved half of right screen to left

    hi i have macbook pro 17'  made  2011 with vga 1 amd radeon core i 7 8gig ram hdd 750 last night when i worked my screen  got half and the part of half right went to left .. my quarranty support is finished . and i need to repair this .. as i ask  th

  • Help on Javascript call APEX on demand process

    Hi, Guys: I have a problem needs help: I need to add session protection with checksum for one of my page (page 2); but I have another page (page 1) which displays a Gogle map with a marker with infowindow, in this infowindow there should be a link th

  • Black Oval at Log In Screen

    My Late 2009 iMac 27 Inch has been running fine.  Earlier this year, I had the screen repaired/replaced by official Apple store under 5-year extended warranty because dust was accumulating in lines between the glass and the monitor. Now, several mont

  • My lap top with   Adobe Premiere Elements 8 had a hard drive crash and I cannot find the download for it?

    My laptops hard drive crashed and I lost this program.  I still have the serial number but cannot find the download for it.