Deploying WAR file gets error

Hi,
I am new to weblogic and am trying to deploy jsps and servlets. This is my directory structure:
MiniEjbs --> src, build, myapp dirs
src ---->CalculateHOme,Calculate,CalculateBean. java files
build----> src ----> ejb's class files
----> META-INF-----> *.xml (for ejb)
--->MiniEjb.jar,Miniwebapps.war
myapp--->WEB-INF--->*.xml(web)
--->class---> accessServlet.class
---> calc_num.jsp
when I deploy the war file using console I get an error
J2EE:160043]Missing deployment descriptor "WEB-INF/web.xml"at "C:\bea\user_projects\domains\AnilRukkuDomain\AnilRukku\upload\Miniwebapp.war"
I created a new domain AnilRukkuDomain,but all my ejbs and client apps are in C:\MiniEjbs dir.Is this a problem for my deployment? After I deploy would my context root be myapp or do I set that explicitly? My ejbs are deployed without any problem.Will my application run if I create seperate modules and deploy individually?Is it mandatory for me to create an application?
Kindly help me out with this. I appreciate your help.
Thanks,
Rukmini

Hello,
Could you check weblogic.xml?
Specifically the element jsp-descriptors.
For example:
One can receive the same error if weblogic.xml had specified workingDir to a non-existent directory i.e d:\foo.
The problem was that the weblogic.xml specified a non-existent directory for "workingDir" parameter for jsp-descriptor. Check once weblogic.xml especially <jsp-descriptor>.
<jsp-descriptor>
<jsp-param>
<param-name>compileCommand</param-name>
<param-value>javac</param-value>
</jsp-param>
<jsp-param>
<param-name>workingDir</param-name>
<param-value>d:\foo</param-value>
</jsp-param>
<jsp-param>
<param-name>keepgenerated</param-name>
<param-value>true</param-value>
</jsp-param>
Try to comment any elements in weblogic.xml that is either not used or redundant.
There is one CR also filed for prabably similar issue. You can get more informaiton about CR200819 from bea support.
Regards,
Kuldeep Singh.

Similar Messages

  • Error while deploying war file using JRUN JMC

    Hi,
    I am getting "Deployment service failed to deploy war file" Error
    while trying to deploy a war file using JRUN Mgmt console.
    If anyone has any idea about it, please help.
    Thanks
    Jit

    Check the logs. There might be a detailed exception in it. My guess is that it might have something to do with the deployment descriptors.
    If you could post the deployment descriptors and the exception stack trace, it would be easier to figure out.

  • Images and js files within a deployed war file are generating 404 errors.

    Greetings,
    I have an odd situation in that image files and js files that are part of a deployed war file are generating 404 (not found) errors when accessed via https but ARE found when accessed via http.
    Unfortunately we are required to use https.
    I have verified via jar -tf that the files are indeed part of the war file. So, it is not that they are missing as is evident when accessed via http. (they appear as expected)
    A work around is to create the sub directories under the document root, on the ohs, and populate the sub directories with the images and js files that were used as part of the war file build. While this works, it doesn't explain why they would generate a 404 error when referenced from within the war via https.
    The war file works correctly on our 10g installation.
    I also have a very simple deployed war file and it too seems to have an issue finding direcotries/files that are part of the war file when referenced via https but not http.
    We are using Oracle 11g OHS and using the WLS Admin Console to do the deploying. We also are using the OSSO for the performing the required authentication.
    I have an SR in with oracle and have been working with them but I thought I would post here too.
    Suggestions?
    Thanks in advance.
    Edited by: emmett on Jan 5, 2011 2:47 PM

    Don't crosspost. Continue here: http://forum.java.sun.com/thread.jspa?threadID=5251627

  • How to deploy war file in wesphere5.1

    hi
    i am new to websphere 5.1. i am trying to deploy war file in websphere admin it giving an error that ear file is corrupt. same file is working with weblogicc..
    so please tell me step by step .
    if is there any other site where can i get the step step process..
    thanks
    anagh

    first step: read documentation
    second step: apply gathered knowledge
    a few pointers, if i am not mistaken your problem is that a weblogic ear uses weblogic specific application.xml, you might wanna focus on that

  • [b]problem with deploy .war file

    Hi
    I am trying to deploy a war file. I have Oracle 9iAS (release 2) in Sun Solaris server.
    I am using the enterprise manager gui to try to deploy a .war file as follows.
    My .war file has the structure: folder META-INF, folder WEB-INF, and other folders. THe folder
    WEB-INF has the file web.xml and the folder classes.
    I connect to enterprise manager at port 1810 and go to the OC4J home page and under
    deployed applications, I choose under applications "Deploy WAR file". It takes me to the next page
    where I enter the war file (pippo.war)
    Application Name: pippo
    Map to URL: /pippo
    THe only choice I have then is to click the Deploy button. I then get the response
    "Failed to deploy web application "pippo". Jar file: /var/tmp/jar29056.tmp is missing its standard xml descriptor located at WEB-INF/web.xml"
    In that path there is not that file, there are 2 folders, one with the file .war and one with the file .ear
    I have no idea what this error message means.
    The documentation for deploying servlets in 9ias using enterprise manager makes no mention of this.
    Thanks,
    Marcella

    Marcella,
    Are you using Oracle9iAS 9.0.3 ?
    Does this happen with any war file ?
    Are you able to deploy a ear file without problems ?
    Can you please test if you can deploy your war in a
    OC4J standalone environment ? steps from the general faq available at http://otn.oracle.com/tech/java/oc4j
    How can I deploy a WAR file to OC4J standalone ?
    The command line deployment tool (admin.jar) requires an EAR file as it's deployment archive. To deploy a WAR file using this, you must package the WAR file within a EAR file.
    You can manually deploy a WAR file to OC4J However following are the steps involved in deploying a WAR file in OC4J.
    1. Copy the file to D:\oc4j\j2ee\home\applications where d:\oc4j is the location OC4J is installed in.
    copy mywar.war D:\oc4j\j2ee\home\applications
    2. Open the application.xml file in D:\oc4j\j2ee\home\config directory
    and add the following after the <web-module id="defaultWebApp" path="../default-web-app" />
    line:
    <web-module id="mywar" path="../applications/mywar.war" />
    3. Open the default-web-site.xml file in D:\oc4j\j2ee\home\config directory and add the following after the <default-web-app application="default" name="defaultWebApp" /> line:
    <web-app application="default" name="mywar" root="/mywar" />
    In Oracle9iAS Release 2; deployment of applications is done either using EM or via the DCM commands.
    thanks,
    -Prasad

  • Ias console and deploy war file

    Hi All,
    I need to deploy a war file into EBS R12. I thought of enable the ias console and deploy. I followed the steps
    1. Change $INST_TOP/ora/10.1.3/Apache/Apache/conf/trusted.conf file and change
    [Location ~ “/ascontrol”]
    Order deny,allow
    Deny from all
    Allow from localhost
    [Location]
    to
    [Location ~ “/ascontrol”]
    Order deny,allow
    Allow from all
    [Location]
    2. Restart Apache
    adapcctl.sh stop
    adapcctl.sh start
    3. Access it via
    http://server:port/ascontrol
    After doing the above steps, am able to open ias console. But when i go to tab oc4j-instances and click on any instance oafm or forms or oacore, its saying an error Error Mesg: Unable to login to the OC4J "default_group" on  Application Server "oacore" the OC4J is not running . I checked opmnctl status, all components are running. Please let me know any suggestion on this.
    Also is there any way to deploy war file from back end. I got one utility like admin_client.jar. but when i try to validate using the following command
    java -jar admin_client.jar deployer:oc4j:<host>:6003 oc4jadmin welcome123 -validateURI .. giving error as below
    Failed at "Could not get DeploymentManager".
    This is typically the result of an invalid deployer URI format being supplied, the target server not being in a started state or incorrect authentication details being supplied.
    More information is available by enabling logging -- please see the Oracle Containers for J2EE Configuration and Administration Guide for details.
    Valid connection_uris are:
    1. To target all OC4J instances that belongs to an OC4J group in an Oracle Application Server Cluster:
    deployer:cluster:[ormis:]opmn://opmnHost[:opmnPort]/oc4jGroupName
    2. To target a specific OC4J instance within a cluster:
    deployer:oc4j:[ormis:]opmn://opmnHost[:opmnPort]/oc4jInstanceName
    deployer:oc4j:[ormis:]opmn://opmnHost[:opmnPort]/asInstanceName/oc4jInstanceName
    3. To target a standalone OC4J server:
    deployer:oc4j:oc4jHost:rmiPort
    deployer:oc4j:ormis:oc4jHost:ormisPort
    opmnPort is the OPMN request port specified in opmn.xml.
    If omitted, defaults to 6003.
    Thanks,
    Manikandan

    Hi;
    Please check below thread than recheck your steps
    Re: Deploy .war file in Ebs 11i-11.5.10.2
    Regard
    Helios

  • Customizing AM Images & Facing Problem in Update & Deploy War files

    Hey Guys!
    This is Yash Bansal from Gurgaon, India. i am new to access manager. i am now customizing it and facing problem in customizing.
    I have customized images which is present in directory path:
    opt/SUNWam/web-src/services/images/
    and updated services.war file which is present in directory path:
    opt/SUNWam/war/
    with command
    jar -uvf services.war /opt/SUNWam/web-src/services/images/login-backimage.jpg
    then deployed configuration from the web server 7.0 admin console.
    after that when i open the url
    http://<hostname>/amserver/console
    then Page Not Found error comes in the browser.
    Just wanted to ask you guys am i doing the steps right. please help if someone know how to update and deploy war file on Sun Web server 7.0.
    Thanks & Regards,
    Yash Bansal

    Hi!
    Deploying the configuration does not (re)deploy the application. Webserver stores a copy of the deployed application and all configurations in the admin instance. When you change anything in the webserver console it is first written there and only applied to the productive instance when you deploy configuration.
    When you add images, jsps or something else to /opt/SUNWam/... and want it redeployed you have to use amconfig command. in /opt/SUNWam/bin there is a file called amsamplesilent. You have to fill the values in this file and then use
    ./amconfig -s amsamplesilent
    I believe for a redeploy you have to set DEPLOY_LEVEL to 21, not sure here, check documentation.
    I personally usually do not redeploy for images and such, I simply copy them directly the deployed location.
    Why http://.../amserver/console does not work anymore, I have no idea. But at least after a redeploy it should be there again.
    hth Chris

  • Deploy .war file in Ebs 11i-11.5.10.2

    Hi,
    My boss is asking me to deploy the .war file in one of the EBS 11i - 11.5.10.2 instance. I am wondering to know how can we deploy .war in EBS 11i Instance?
    If we can deploy the .war in EBS 11i Instance please post the high level steps and if not kinldy suggest the softwares how to deploy the .war?
    As my understanding is We would required to install OC4J in new machine which will install the default DB and we can deploy the .war file in that OC4J server.
    Thanks,
    Syed

    Hi,
    I believe your understanding is correct. Please see (Note: 557221.1 - Oracle WebCenter 10g Application Creation and Deployment Guide for Oracle E-Business Suite Release 12) but it is for R12 for the steps of deploying war files.
    Regards,
    Hussein

  • How to deploy WAR file in tomcat.?

    Can anybody please provide step by step information of deploying war file to Jakarta tomcat without IDE.
    I am working on Windows XP with jakarta tomcat 4.1.30.
    Thanks in advance.
    Regards,
    Aman Aggarwal

    See if tomcat runs as a service in your operating system. If you can locate it, you can set the start type to automatic. A very crud way is to run the tomcat startup file from autoexe.bat.
    I don't know how to do this in Linux. Here is a link for tomcat 6. Maybe it is the same in tomcat 4
    [http://tomcat.apache.org/tomcat-6.0-doc/setup.html]
    Edited by: nirvan on Dec 29, 2008 9:15 AM

  • How to Deploy war file in oracle apps 12

    Hi,
    Please advice the steps to deploy war file on the Oracle apps release 12.
    Thanks..

    Hi,
    Have a look at the following note, it may be helpful.
    Note: 557221.1 - Oracle WebCenter 10g Application Creation and Deployment Guide for Oracle E-Business Suite Release 12
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=557221.1
    Regards,
    Hussein

  • How to Deploy WAR file in solaris

    I want to deploy WAR file in Solaris.

    Install Java on Solaris.
    Install Tomcat (or whatever app server you want to on Solaris)
    Deploy the WAR file in the standard place for that app server.
    ie Tomcat would be [TOMCAT]/webapps directory.

  • Deploying WAR file using IAS Test Drive edition...

    Hi:
    Is it okay to deploy a build using a WAR file instead of an EAR file? Is
    there any documentation for deploying WAR files? All the available docs and
    examples start with EAR files.
    Thanks,
    George

    Hi,
    A war file is okay if you are using servlets & JSP, WAR means Web Archive.
    So you can very well go ahead with a war file, incase you are thinking of EJB's
    then a .ear file will help you.
    Regards
    Raj
    George Sang wrote:
    Hi:
    Is it okay to deploy a build using a WAR file instead of an EAR file? Is
    there any documentation for deploying WAR files? All the available docs and
    examples start with EAR files.
    Thanks,
    George

  • How to deploye .war files in SOA_Server1 ?

    Hi,
    I was created Auto Generated Task form for Human Task in 11G.After that how to deploye .WAR files manually in
    "Infra -Soa(Soa_srerver1)" .Plz help me now

    When you auto-generated the UI it would have defaulted to creating a web app project in your application. When you deploy the BPMN process, there are three steps in the wizard:
    1. Deploy Configuration
    2. Task flow deployment
    3. Select Server
    In step 2 you can select some of all of the UI projects in the app and deploy them as part of deploying the composite. The build/deploy process will automatically create the war(s) and ear file. Once they're deployed, you can leave them un-selected to avoid redeploying them each time you just change the process definition. If you make changes to the UI, you can just select them again during deployment and select the option to overrwrite the EAR.

  • Deploying WAR files in JDeveloper

    How do I deploy war file in JDeveloper? In Tomcat, I can just place the war file in the webapps directory and it deploys by itself, but, in JDev what needs to be done?

    Try the following section in the online help:
    Testing and Optimizing Your Code >
    Running in JDeveloper >
    Running Java Programs
    http://otn.oracle.com/jdeveloper/902/help/
    You can import a war file into JDeveloper.
    I just want to know how I import a war file in JDeveloper when only one choice is given - EAR file.
    OC4J is the Oracle J2EE container (Servlet,JSP and
    EJB server). It is embedded inside JDeveloper to let
    you test run your J2EE applications.
    You can also install it stand alone on your server -
    and JDeveloper will let you deploy directly to it.

  • Deploy war-files on application server 6.40?

    Hello,
    when i try to deploy war-files direct from sap netweaver developer studio 2.0.5 it is not possible. It is possible to deploy a war-file direct on the application server by an tool?
    Thanks,
    Frank

    The RemoteGui.bat is a GUI client for the SDM tool, which is the same tool that you use when deploying from the Developer Studio. So, the answer to your question is again no, you must pack your application into an EAR to deploy it on the server.
    However, you can use the Deploy Tool that comes with J2EE Engine to deploy a J2EE application module. For more information, see the following documentation: http://help.sap.com/saphelp_nw04/helpdata/en/55/600e64a6793d419b82a3b7d59512a5/frameset.htm
    Zornitsa

Maybe you are looking for

  • How do I change the filename on the home page?

    I am trying to change the file name from the home page.. I go to page properties > options > filename .... but it is frozen as index.html Is there a way to change that and name it something else?

  • Apps missing in appworld online when BB connected

    I recently installed a bunch of apps (mostly the free before 12/31 ones) via the Apps web site. The apps installed properly and showed in my Installed apps tab in My World online on my PC. Now when I log in online on my PC to my world I see all the a

  • Flash Player 10.0.45.2 - Youtube Video playback

    Hi guys, My computer automatically downloaded the new 10.0.45.2 version of Adobe Flash Player sometime last night and now I am unable to play videos on the internet for longer than a couple of seconds - (At most about 90 seconds), I've tried removing

  • Error This message can't be opened

    I am running 10.2.0.429 currently.  However, since updating from 10.0, I have been unable to open any Notifications from the Hub.  When I select a notification, the view switches to a new window that says: Error Date label area This message can't be

  • How can i save my recordings from the Vestax Spin DJ USB Controller onto my iPod

    When i record a mix, it does go onto my itunes library, however even after syncing my ipod, the recording wont transfer onto the ipod.  i also saved recording onto a playlist, so they are on the mac/itunes library but wont go on the ipod tuch