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

Similar Messages

  • HT4623 I AM FACING PROBLEM AFTER UPDATING (7.0.4) MY PHONE MODEL 5C,AFTER THIS UPDATE SOME TIMES I CANT MAKE CALLS & SOME TIMES WHEN ANY BODY ELSE WANTS TO CALL ME BACK THE MESSAGE COME THAT THE USER IS NOT REACHABLE.PLS HELP

    I AM FACING PROBLEM AFTER UPDATING (7.0.4) MY PHONE MODEL 5C,AFTER THIS UPDATE SOME TIMES I CANT MAKE CALLS & SOME TIMES WHEN ANY BODY ELSE WANTS TO CALL ME BACK THE MESSAGE COME THAT THE USER IS NOT REACHABLE.PLS HELP

    I am facing the same issue! I bought 5c few days back
    and everything was fine till I updated the software 7.0.4!
    Whenever am connected to wifi am unable to make a call and if someone tries
    Calling me they get the message that my number is not
    Reachable! When I go back to 3G the calls work perfectly!!
    Please help me out since I use wifi more than my network.
    Appreciate any advise on this

  • TS4006 Facing problem in updating my apps through wifi since last two weeks?

    Facing problem in updating my apps through wifi since last two weeks?

    Hi there,
    You may find the troubleshooting steps in the article below helpful.
    iOS: Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/kb/TS1398
    -Griff W.

  • Facing problem in xml schema xsd file registration

    Hi,
    i am facing problem in xml schema xsd file registration when
    the number of column is more. It is showing persing error.
    if i am deleting few column from xsd file . It is working otherwise
    showing error. Is there any solution for that please suggest me.
    The Error is
    ORA-31011:XML parsing failed
    ORA_19202: Error occurred in XML processing
    LPX-00230 : (message vary time to time-like invalid tag ending etc.)
    Regards
    Manoranjan
    and thanks in advance

    Where is you XML coming from. Are you sure it's valid. If you are hard coding it as a SQL String constant are you hitting the 4k / 32K limit on the size of SQL / PL/SQL constant. Have you tried loading the content from a bfile..

  • 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

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

  • 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

  • How to update a war file safely

    Hi,
    I have a war file that has some files in it. I would like to update the war file to replace an existing web.xml file and add a new file in a different directory.
    I know that i can simply unzip the file and make the changes then zip it back again.
    I would like to do this using Ant but i was wondering if it is possible to do the update with only the updated files. I think the way ANT would work is it would check every file on the new directory and replace it if it is newer. The problem i have is i dont have copies of the existing files in the war file. I only have the files i want to replace in the war file. If i try it, will i end up with a new war file with just the new files and everything else deleted or will it just update the new file?

    Hi,
    Thank you for your response.
    A zip file is not really what i was querying about. I am working with a war file (Which is deployable on the application server) which is what i was asking about and probably why i didnt look at the zip task when i looked at the manual.
    I am using the war task to create the war file. When i looked at the manual (and googled it) i did find that i could use the update=true property on the war task to update the war file. Maybe i should have rephrased my question in another way. What i wanted to ask was if i use the update=true property will it:
    1. Update the war file with the new files and leave everything thing else unchanged.
    2. Replace the war file with a new one with just the new files.
    3. What happens if the new file i want to include has an older timestamp?
    As i mentioned earlier, i also know that i can rename the war file with .zip extension, unzip the war file using winzip, make the necessary changes and zip it back and rename it to a .war file. I dont really want to do this as it doesnt feel like its the right way to do it.
    Apologies if my initial post was not clear enough.

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

  • 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

Maybe you are looking for

  • JFRAME- JPANEL question

    I have a JFrame that holds a JPanel. If that JPanel needs to contact the JFrame how do I get access to parent? I tried panelname.getParent, when I did I got a java.lang.ClassCastException Any help would be great. Brock

  • Battery & Leads between iMac/Macbook

    Love my new MacBook, good spec and delivered in 24 hours, great display. Three questions... 1) With regard the battery. The manual and promo's tell me the battery will last 5 hours, depending on 'usage'. I've charged it for the second time this morni

  • Planning table

    Hello, In planning table MF50 , the row 'not yet assigned ' is displayed from where we can assign plnd orders to any Packign line. But when i assign the qty from this row to any other packing line the qty from 'not yet assigned ' is not getting deduc

  • CUA Server Sizing

    Hi all, what are the minimal requirements in SAPS and Memory to host the CUA (Central User Administartion) Service? Bernhard

  • Useable Premiere Elements 11 Serial Number

    I bought Elements 11 and Premiere Elements 11 together last year from Amazon.com.  When I tried to start Premiere on my old computer, it was taking forever, so I started and registered Elements 11.  Because I bought them together in one box, I didn't