Steps to Deploy WAR File in iPlanet

Hi All,
Please tell me how to deploy a War file in iPlanet 6.0
Is there any document for the same.
Please Advice.

Go to your <iashome>/ias/ias-samples directory. There are lot of technology examples which shall guide.

Similar Messages

  • Deploying war files on iplanet web server 6.0

    Hello All,
    I tried to deploy an war file on iplanet web server 6.0 using both command line wdeploy and iplanet webserver browser based admin tool. Both the times it did say successfully deployed. I checked the WEB-INF files and it does contain all class files..But the problem is when I try to post a form to one of the class files the error log says as if it cannot find the class file.(I tried the sample app HelloWorld supplied by vendor)
    =========
    05/Mar/2002:13:19:14] config (13777): for host xx.xx.xx.xx trying to POST /samples/helloworld/GreeterServlet, handle-processed reports: The request method is not applicable to this requested resource.
    =================
    any help in this regards is appreciated
    Thanks
    sudhir

    Hello,
    I got few steps to deploy the WAR file, if you followed the same steps and got the error then ignore this else try with this steps.
    a) Set your environment variable IWS_SERVER_HOME to your server_root directory.
    b) Add the server_root/bin/https/httpsadmin/bin directory to your classpath.
    c) Configure your virtual server for web applications.
    From the Server Manager page, select the VirtualServerClass tab, select a Class, and click the Manage button.
    Select a Virtual Server and go to the Java Web Apps Settings page for that virtual server. Make sure that the virtual server has Web Apps State turned On, and web-apps.xml is the name of Web Apps File.
    To extract the sample WAR file HelloWorld.war in server_root/plugins/servlets/examples/web-apps/HelloWorld, use the wdeploy command as follows:
    wdeploy deploy -u /hello -i server.iplanet.com -v testvs -d
    /iws60/https-server.mydomain.com/testvs/web-apps/hello
    /iws60/plugins/servlets/examples/web-apps/HelloWorld/HelloWorld.war
    The syntax for the command is as follows:
    wdeploy deploy -u uri_path -i instance -v vs_id [-d directory] war_file
    uri_path Specify the URI prefix (a path to access the web application from the browser).
    instance Specify the server instance name. (Note: Do not include "https" in the front.)
    vs_id Specify the Virtual Server name as it appears on the Manage Virtual Servers page.
    directory Specify a directory to extract WAR files. If this directory doesn't exist already, it will be created for you now.
    war_file Specify the name of the WAR file.
    If the WAR file is extracted successfully, the message "web application deploy successful" appears at the command line.
    For verification, go to the /iws60/https-server.iplanet.com/testvs/web-apps/hello directory. It should have the following contents:
    colors
    index.jsp
    META-INF
    WEB-INF/
    web.xml
    /classes/
    HelloWorldServlet.class
    HelloWorldServlet.java
    SnoopServlet.class
    SnoopServlet.java
    In the server_instance/config directory, the web-apps.xml file should have the following entry:
    <vs>
    <web-app uri="/hello"
    dir="/iws60/https-server.iplanet.com/testvs/web-apps/hello"/>
    </vs>
    Restart the server instance from the command line or go to the admin GUI and apply configuration changes to the server instance.
    Now when you access the webserver instance in your browser, the Error log of that server instance will record successful initialization of the web application environment(web-apps.xml) for the virtual server(vs name). You can access the web application from a browser as follows:
    http://server.Mydomain.com:80/hello/index.jsp
    or:
    http://server.Mydomain.com/hello/
    The syntax is as follows:
    http://vs_urlhost[:vs_port]/uri_path/[index_page]
    Thanks
    Selva

  • Deploying war file on iplanet application server 6.5

    Hi ,
    We are trying to deploy WebObjects application on Iplanet Application server server 6.5.
    Steps we tried for deployment :
    1) War file generated by WebObjects.
    2) Started IPlanet Application server.
    3) Opened the War file in the deployment tool.
    4) Verified that the WAR file to be deployed using the verify option in the deployment tool(Verified successfully)
    5) We tried to save the archive, then it throws an error saying "
    "Invalid entry compressed size (expected 52 bytes but got 51 bytes)".
    We ignored this message and proceeded further by clicking on OK.
    6) Deployed the WAR file using the deploy option
    7) In the deploy message box, it diplays that the application was deployed successfully.
    Then we tried to access the application by trying the following url : " http://localhost/NASApp/<CONTEXT NAME>/WebObjects/<APPLICATION NAME>"
    (eg : http://localhost/NASApp/SampleApplication/WebObjects/SampleApplication.woa>)
    We are getting the error saying that " GXError". We are not sure whether the the above mentioned url is the correct way to access the application !
    What we think the problem in deployment is
    i) because of error while saving the WAR file (Invalid entry compressed size (expected 52 bytes but got 51 bytes)
    ii) URL not appropriate
    Other observations :
    We tried to deploy to deploy sample application on Iplanet Application server. All these sample applications are deployed properly without the above mentioned error message. All these application are accessed by typing following url : " http:localhost/NASApp/<CONTEXT NAME>/<APPLICATION NAME>". IN all the sample application, url contains "NASApp" . We are not sure what this stand for and maps to. What we assumed is that it maps to the the iplanet app document root i.e "installedroot/ias6/ias/App"
    The exception throw while saving the WAR file is " com.iplanet.ias.tools.buzz.util.ArchiveHandlerException"
    Has any body who has tried this can help us?
    Thanks,
    Raju and Venkatesh

    Hi,
    First of all the application you are trying is from a WebObjects application server. I don't know how they package the modules and what is the format/file structure. I just went to their site, though they say that the WebObjects applications can be deploy on any J2EE Application server but still how they package and how they write the xml descriptors is not known.
    Looking at your exception it seem that first it is something to do the war/jar archive file compression thing (as the deployment tool is not able to read the complete file) then comes the deployment descriptors.
    I tried to get a few sample application from their site but I couldn't fine any, it will be great help if you can provide a WebObjects sample app to me (mail it to [email protected]).
    Regarding the NASApp string in URL, it has nothing to do with document root of iAS and also installedroot/ias6/ias/APPS dir is not the document root of iPlanet app server, this is the place where it save/explodes all the archives (ear).
    See iPlanet App server don't have any HTTP daemon to listen to the HTTP requests, so it needs a web server with a plugin (web connector) to forward the HTTP requests meant for iAS, and this NASApp string in the URL is the key to that.
    All the URLs are first send to the iAS plugin (as configured in web server's obj.conf file) and plugin look for this NASApp string (configurable), if it is there in the URL then it converts the HTTP request and send it to iAS over a proprietary protocol (KCP), otherwise it gives the request as it is to web server to process it.
    The NASApp string is a iAS registry parameter which you can change any time. And generally the context root part of the URL is the war file name (by default). So the typical URL for any web application (MyWeb.war) will be:
    http://<host>:<port>/NASApp/MyWeb/<Servlet_name>.
    I don't know why that extension "*.woa" is there. So if you send me a sample war file, I will be able to try it out.
    Please feel free to ask further questions.
    Sanjeev,
    Developer Support, Sun ONE Application Server-India.

  • 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 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

  • 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

  • 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 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

  • 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

  • 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.

  • Error : generate war file for iplanet server 6.5

    I use war file that generate from WSAD V.4 and deploy this war file to iPlanet sun one app server V6.5.
    before deploy to iplanet
    I must use command to generate war file for iplanet server (convert J2EE Archive to IAS Archive)
    but i found problem after use this command
    ./deploycmd -j2ee2ias -f xxxx.war
    com.iplanet.ias.tools.buzz.util.ArchiveHandlerException: invalid EXT descriptor signatureat com.iplanet.ias.tools.buzz.util.ArchiveHandler.<init>(Unknown Source)
    at com.iplanet.ias.tools.buzz.common.ArchiveFile.<init>(Unknown Source)
    at com.iplanet.ias.tools.buzz.common.WarArchiveFile.<init>(Unknown Sourc
    e)
    at com.iplanet.ias.tools.buzz.common.WarArchiveFile.<init>(Unknown Sourc
    e)
    at com.iplanet.ias.tools.buzz.common.iascom.processOption(Unknown Source
    at com.iplanet.ias.tools.buzz.common.iascom.main(Unknown Source)
    Any body please help?
    Thanks alot.

    I use war file that generate from WSAD V.4 and deploy this war file to iPlanet sun one app server V6.5.
    before deploy to iplanet
    I must use command to generate war file for iplanet server (convert J2EE Archive to IAS Archive)
    but i found problem after use this command
    ./deploycmd -j2ee2ias -f xxxx.war
    com.iplanet.ias.tools.buzz.util.ArchiveHandlerException: invalid EXT descriptor signatureat com.iplanet.ias.tools.buzz.util.ArchiveHandler.<init>(Unknown Source)
    at com.iplanet.ias.tools.buzz.common.ArchiveFile.<init>(Unknown Source)
    at com.iplanet.ias.tools.buzz.common.WarArchiveFile.<init>(Unknown Sourc
    e)
    at com.iplanet.ias.tools.buzz.common.WarArchiveFile.<init>(Unknown Sourc
    e)
    at com.iplanet.ias.tools.buzz.common.iascom.processOption(Unknown Source
    at com.iplanet.ias.tools.buzz.common.iascom.main(Unknown Source)
    Any body please help?
    Thanks alot.

  • [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

  • Deploying WAR files under a single virtual-host

    I wonder why when you deploy war files with the ASADMIN tool and tell it to run them under one virtual server with the --virtual-servers option it deploy's them under all the virtual servers you have defined on the AS?.. why is that?
    Chris.

    Hi, Chris
    I will assume you are using the J2EE SDK1.4 FCS bundle.
    I've tried this myself on solaris machine today, and seems working fine for me.
    1. I created a virtual server called server2 and created new http-listener-3 which listens at port 8081.
    2. Then I used this command to deploy:
    <J2EE_HOME>/bin/asadmin deploy --virtualservers server2 foo.war
    From the server log, it shows this war is only loaded under virtual server "server2" and not the others.
    And if I use my browser to point to
    http://localhost:8080/foo (which is where the virtual server "server" listens)
    I got a HTTP 404 which is expected.
    And I point my browser to
    http://localhost:8081/foo (which is where the virtual server "server2" listens)
    I can access the web app and it runs fine.
    If you still see problems, please provide the exact steps you tried so we can try to reproduce it.
    Thanks,
    - Hong

  • 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.

  • 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.

Maybe you are looking for

  • Having a big problem with my 6 day old macbook, please help!

    My macbook was working fine, I haven't had much of a chance to install the hardware that came with it until tonight though. I was starting to install the first disk that came with my macbook, when I saw that it would take over 3 hours to install. SIn

  • Zoom level keeps resetting in Acrobat X

    Can someone tell me how to set the zoom level to be constant? Everytime i open a PDF, the zoom level is reset (usually to a very low zoom level). And everytime i click a bookmark, the zoom level gets reset. In preferences i have the zoom level set to

  • Mapviewer technical issues

    Hallo everybody, I have a question concerning the technical components of MapViewer. 1. MapViewer is part of the Oracle Application Server and can be deployed in an Oracle Application Server-Environment or in an Oracle Application Server Container fo

  • Can LabVIEW handle fast and large amount of data?

    Hello, I want to develop server for GPS Tracking system. This system will be communication with about thousands of devices at a time. My question is that whether LabVIEW can b used to implement a server on LINUX platform to handle such fast and heavy

  • IBook G4 or Powerbook

    I'm wanting to purchase an apple laptop and I'm desperate for some advice. Should i get an ibook or a powerbook. Any advice is welcome. Kate