Unable to Deploy WAR file  (Unknown assembly root-tag attribute: version)

Hello,
I created a simple web application with eclipse + tomcat plugin + struts2 (JPA Spring Hibernate ) and created the WAR file using the tomcat plugin compiler. When I deploy the war file into Tomcat 6 the file is deployed properly and i can view the website properly. But when I try to deploy the the WAR file from Oracle 9i Application Server I get the following error.
Failed to deploy web application "mytest". Nested exception Root Cause: Error loading web-app 'mytest' at C:\ora9ias\j2ee\MySystem\applications\mytest\mytest: Unknown assembly root-tag attribute: version; nested exception is: java.lang.InstantiationException: Error loading web-app 'SFPD' at C:\ora9ias\j2ee\MySystem\applications\mytest\mytest: Unknown assembly root-tag attribute: version.
My Current web.xml is this.
<?xml version="1.0" ?>
<web-app id="WebApp_9" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
     http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>My Test Project System</display-name>
<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
</web-app>
thanks in advance,

Thanks for the reply sasesha,
I've changed my web.xml to
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
     "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>     
     <display-name>My Test Project System</display-name>
     <filter>
          <filter-name>struts2</filter-name>
          <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
     </filter>
     <filter-mapping>
          <filter-name>struts2</filter-name>
          <url-pattern>/*</url-pattern>
     </filter-mapping>
     <listener>
          <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
     </listener>
     <welcome-file-list>
          <welcome-file>index.html</welcome-file>
     </welcome-file-list>
</web-app>
During the initial upload the previous error doesn't show anymore, however, I'm getting this new error and currently I'm a bit at a loss since i included the spring.jar library file in my war file. I tried the new war file in Tomcat and the war file deploys fine. Am I missing a configuration or setup ?
Failed to deploy web application "mytest". Nested exception Root Cause: Class not found: org.springframework.beans.factory.BeanDefinitionStoreException; nested exception is: java.lang.ClassNotFoundException: org.springframework.beans.factory.BeanDefinitionStoreException. Class not found: org.springframework.beans.factory.BeanDefinitionStoreException; nested exception is: java.lang.ClassNotFoundException: org.springframework.beans.factory.BeanDefinitionStoreException
Thanks again,
sethsera

Similar Messages

  • Unable to deploy war file

    hi,
    I am getting this error.
    Unable to access the selected application.
    [J2EE Deployment SPI:260089]Unable to determine type of application at path C:\bea\user_projects\domains\myproject\applications\myservletWAR.war.
    I am using BEA WEBLOGIC SERVER 9.0.please help.I am not able to deploy the war file using admin console.
    bye

    The error means that your war file is not a valid application.
    Since I do not know what you put or didn't put in that war, I'm afraid that I can't be of further help.

  • Unable to Deploy war file in 6.1/sp1/solaris

    We are using wl 6.1/sp1 solaris. What I can gather is when the server trying to
    parse the dtd for weblogic.xml..for some reason it does not find the local copy
    of th e dtd? any clues how I can fix this. Any help is appreciated.
    java.net.ConnectException: Tried all: '1' addresses, but could not connect over
    HTTP to server: 'www.bea.com', port: '80'
    at weblogic.net.http.HttpClient.openServer(HttpClient.java:203)
    at weblogic.net.http.HttpClient.openServer(HttpClient.java:254)
    at weblogic.net.http.HttpClient.<init>(HttpClient.java:117)
    at weblogic.net.http.HttpClient.New(HttpClient.java:149)
    at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:10
    9)
    at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.
    java:279)
    at java.net.URL.openStream(URL.java:798)
    at weblogic.apache.xerces.readers.DefaultReaderFactory.createReader(Defa
    ultReaderFactory.java:149)
    at weblogic.apache.xerces.readers.DefaultEntityHandler.startReadingFromE
    xternalEntity(DefaultEntityHandler.java:769)
    at weblogic.apache.xerces.readers.DefaultEntityHandler.startReadingFromE
    xternalSubset(DefaultEntityHandler.java:566)
    at weblogic.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTD
    Scanner.java:1139)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(X
    MLDocumentScanner.java:2215)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocum
    entScanner.java:2170)
    at weblogic.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher
    .dispatch(XMLDocumentScanner.java:790)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocu
    mentScanner.java:381)
    at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:967)
    at weblogic.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilder
    Impl.java:175)
    @xp.DocumentBuilderImpl.parse(DocumentBuilder
    Impl.java:175)
    TIA
    Srinivas

    We are using wl 6.1/sp1 solaris. What I can gather is when the server trying to
    parse the dtd for weblogic.xml..for some reason it does not find the local copy
    of th e dtd? any clues how I can fix this. Any help is appreciated.
    java.net.ConnectException: Tried all: '1' addresses, but could not connect over
    HTTP to server: 'www.bea.com', port: '80'
    at weblogic.net.http.HttpClient.openServer(HttpClient.java:203)
    at weblogic.net.http.HttpClient.openServer(HttpClient.java:254)
    at weblogic.net.http.HttpClient.<init>(HttpClient.java:117)
    at weblogic.net.http.HttpClient.New(HttpClient.java:149)
    at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:10
    9)
    at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.
    java:279)
    at java.net.URL.openStream(URL.java:798)
    at weblogic.apache.xerces.readers.DefaultReaderFactory.createReader(Defa
    ultReaderFactory.java:149)
    at weblogic.apache.xerces.readers.DefaultEntityHandler.startReadingFromE
    xternalEntity(DefaultEntityHandler.java:769)
    at weblogic.apache.xerces.readers.DefaultEntityHandler.startReadingFromE
    xternalSubset(DefaultEntityHandler.java:566)
    at weblogic.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTD
    Scanner.java:1139)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(X
    MLDocumentScanner.java:2215)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocum
    entScanner.java:2170)
    at weblogic.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher
    .dispatch(XMLDocumentScanner.java:790)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocu
    mentScanner.java:381)
    at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:967)
    at weblogic.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilder
    Impl.java:175)
    @xp.DocumentBuilderImpl.parse(DocumentBuilder
    Impl.java:175)
    TIA
    Srinivas

  • Error when deploying war file

    Hi,
    I develop application using visual web pack + netbeans, it work fine with tomcat but when i want deploy it in our prod environment (Oracle ias) i have the following error:
    Base Exception:
    java.rmi.RemoteException
    deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: version. deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: version
    the web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"><context-param><param-name>javax.faces.STATE_SAVING_METHOD</param-name><param-value>server</param-value></context-param><context-param><param-name>javax.faces.CONFIG_FILES</param-name><param-value>/WEB-INF/navigation.xml,/WEB-INF/managed-beans.xml</param-value></context-param><context-param><param-name>com.sun.faces.validateXml</param-name><param-value>true</param-value></context-param><context-param><param-name>com.sun.faces.verifyObjects</param-name><param-value>false</param-value></context-param><filter><filter-name>UploadFilter</filter-name><filter-class>com.sun.rave.web.ui.util.UploadFilter</filter-class><init-param><description>
    The maximum allowed upload size in bytes. If this is set
    to a negative value, there is no maximum. The default
    value is 1000000.
    </description><param-name>maxSize</param-name><param-value>1000000</param-value></init-param><init-param><description>
    The size (in bytes) of an uploaded file which, if it is
    exceeded, will cause the file to be written directly to
    disk instead of stored in memory. Files smaller than or
    equal to this size will be stored in memory. The default
    value is 4096.
    </description><param-name>sizeThreshold</param-name><param-value>4096</param-value></init-param></filter><filter-mapping><filter-name>UploadFilter</filter-name><servlet-name>Faces Servlet</servlet-name></filter-mapping><servlet><servlet-name>Faces Servlet</servlet-name><servlet-class>javax.faces.webapp.FacesServlet</servlet-class><load-on-startup> 1 </load-on-startup></servlet><servlet><servlet-name>ExceptionHandlerServlet</servlet-name><servlet-class>com.sun.errorhandler.ExceptionHandler</servlet-class><init-param><param-name>errorHost</param-name><param-value>localhost</param-value></init-param><init-param><param-name>errorPort</param-name><param-value>24444</param-value></init-param></servlet><servlet><servlet-name>ThemeServlet</servlet-name><servlet-class>com.sun.rave.web.ui.theme.ThemeServlet</servlet-class></servlet><servlet-mapping><servlet-name>Faces Servlet</servlet-name><url-pattern>/faces/*</url-pattern></servlet-mapping><servlet-mapping><servlet-name>ExceptionHandlerServlet</servlet-name><url-pattern>/error/ExceptionHandler</url-pattern></servlet-mapping><servlet-mapping><servlet-name>ThemeServlet</servlet-name><url-pattern>/theme/*</url-pattern></servlet-mapping><welcome-file-list><welcome-file>faces/Page4.jsp</welcome-file></welcome-file-list><error-page><exception-type>javax.servlet.ServletException</exception-type><location>/error/ExceptionHandler</location></error-page><error-page><exception-type>java.io.IOException</exception-type><location>/error/ExceptionHandler</location></error-page><error-page><exception-type>javax.faces.FacesException</exception-type><location>/error/ExceptionHandler</location></error-page><error-page><exception-type>com.sun.rave.web.ui.appbase.ApplicationException</exception-type><location>/error/ExceptionHandler</location></error-page><jsp-config><jsp-property-group><url-pattern>*.jspf</url-pattern><is-xml>true</is-xml></jsp-property-group></jsp-config>
    <resource-ref>
    <description>Creator generated DataSource Reference</description>
    <res-ref-name>jdbc/dataSource32</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    thanks for your help
    Walid

    Quick and short answer:
    Oracle AS/OC4J 10.1.2.x only supports J2EE 1.3
    Oracle AS/OC4J 10.1.3.x supports J2EE 1.4
    --olaf                                                                                                                                                                                                                                                               

  • 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

  • Deploy Web Site Error:Could not load file or assembly 'System.Data.SqlServerCe, Version=4.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies

    I have created a ASP.NET web Site (not Web application), using Visual Studio 2012 Ultimate and "SQL Server Compact 4.0 Local Database" in my C# Code.
    I am able to successfully compile & publish the website to another IIS Web Server, with Operating System Windows Server 2008 R2 Standard. I can even test, successfully, this website on the machine I developed it in.
    I am publishing the website, from within Visual Studio, to a Network web server running IIS.  To Publish I am using Build-> "Publish Web Site".  In the Publish Profile, I am using Web Deploy Method. Even though I am using, successfully,
    "SQL Server Compact 4.0 Local Database" in my website, the "settings" (in Publish Profile) does not detect any Databases in the project. Which may not be a problem.
    When I try to bring up the web site on the IIS Web Server machine I get the following error..    
    Could not load file or assembly 'System.Data.SqlServerCe, Version=4.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies .
    As my project is a Web Site, not Web Site Application, I do not have a references node in the Solution Explorer. I think the System.Data.SqlServerCe.dll, which is type GAC in my project, is not getting published to the webserver, which is causing this Error.
    Can I copy this .dll over manually ? If yes, where to put on the ISS Web Server ? I do not see any bin folder.
    Any help to resolve this error will be appreciated.
    diana4

    Hello.. I went ahead and created web application project and have gone past that error. But I have a new error now
    System.Data.SqlServerCe.SqlCeException: Unable to load the native components of
    SQL Server Compact corresponding to the ADO.NET provider of version 8876.
    Install the correct version of SQL Server Compact. Refer to KB article 974247
    for more details.
    Compiling and Publishing (Deployment) are both successful 
    In my project, when adding reference to SQL Server Compact Edition , there are 2 possible locations to reference the DDL from:
    C:\Program Files\Microsoft SQL Server Compact Edition\v4.0\Private
    C:\Program Files\Microsoft SQL Server Compact Edition\v4.0\Desktop.
    I have tried both. I get the same error as shown above.
    Interestingly, in My WebConfig, I do not see any reference to System.Data.SqlServerCe.
    Yet, the Website works when I click on Ctrl+F5 
    diana4

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

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

  • 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

Maybe you are looking for

  • How do I keep my new finder window preference set to open a certain folder on the server?

    Since switching to Lion, my new finder window preference keeps resetting itself to default. When I open a new finder window I want it to be a certain folder on our server. This setting was persistent in Snow Leopard. Now I have to keep setting it bac

  • Iteration - how to find out if an object is a button?

    Using "for (var i in _parent) {}" I'd like to find out all button objects and call "i.disable()". However, I have the problem to be unable to tell if any "i" is a button, because instanceof does not work, and all other methods I tried, including simp

  • Squares in different colors

    I get a lot of squares in different colors in my Firefox for android. This started today How or where can I send a screen shot? ToddeSwe

  • Differnece GR, GI and transfer posting.

    Hi friends, Can any one explain me what is GR, GI, Transfer Posting and Goods Movement and how they are lincked. Its urgent, Regards, Niki.

  • How can I get rid of 'ask jeeves'?

    I have previously used google for searches. My home page now shows 'Ask Jeeves'. I am now unable to bookmark pages and I no longer have easy access to hotmail. I started using firefox because it gave me exactly what I wanted so there are now two choi