Error deploying war file to Oracle OC4J

Hi
I am deploying a WAR file compiled under creator 2 update 1 and exported for the 1.3 environment. The WAR is to be deployed on Oracle's OC4J 10.1.2.0.2 server.
Previously, everything worked fine, and I could deploy this war and make all the oracle config changes required to run the creator application. Now, it has stopped working. However, I can deploy another app compiled in the same way to oc4j no worries.
When I deploy this particular WAR file (for this particular project), I get the following error:
500 Internal Server Error
java.lang.IllegalArgumentException: Resource /faces/index.jsp not found     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.EvermindPageContext.forward(EvermindPageContext.java:221)     at JSCreator_index._jspService(_JSCreator__index.java:47)     [SRC:/JSCreator_index.jsp:3]     at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Thread.java:534)
Now, it seems to be that the server can't find the index.jsp page which is redirected to from the jscreator_index.jsp default file. however, the index.jsp file is there in the war file - and seems to be valid. I am not sure if it is something to do with the /faces/ mapping as I can't figure out where this is set or pointing to.
Anyone got any pointers as to where I can look for a config issue with this WAR or with OC4J to see if everything is being set up right. Like I say, if I compile any other WAR and deploy it in exactly the same sequence of steps it works fine - something i tested by running up a quick test app to the server and checking it could be served.
I can still deploy an older version of this war, which tells me it is to do with something that has changed in the last 6 weeks or so of our development, but I am not sure how to go about trouble shooting this war file to see what I can do to fix the issue.
any help would be really appreciated.
ta
ben

on a follow up to this, it seems that the issue was caused by the source safe product - we had got some of the project files checked into source safe, and after checking them out, the war would compile and deploy and run. i am following this up but if anyone has any pointers as to why this might be or what file (the nbproject directory specifically, plus the manifest file) would cause this sort of behavior, I would appreciate it

Similar Messages

  • 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

  • Error while Deploying war file on standalone OC4J 9.4.0.0

    Hi,
    I am getting following error when I deploy my war file.
    12/19/2007 16:15:21,178 - ContextLoader.initWebApplicationContext (ContextLoader.java:203) >> ERROR: Context initialization failed org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from URL location [classpath:spring/applicationContext.xml]
    Offending resource: ServletContext resource [WEB-INF/applicationContext.xml]; nested exception is org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from URL location [classpath:spring/helper-beans.xml]Offending resource: class path resource [spring/applicationContext.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Parser configuration exception parsing XML from class path resource [spring/helper-beans.xml]; nested exception is javax.xml.parsers.ParserConfigurationException:Unable to validate using XSD: Your JAXP provider [oracle.xml.jaxp.JXDocumentBuilderFactory@19f03d7] does not support XML Schema. Are you running on Java 1.4 orbelow with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support.
    Caused by:
    org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from URL location [classpath:spring/helper-beans.xml]
    Offending resource: class path resource [spring/applicationContext.xml]; nestedexception is org.springframework.beans.factory.BeanDefinitionStoreException: Parser configuration exception parsing XML from class path resource [spring/helper-beans.xml]; nested exception is javax.xml.parsers.ParserConfigurationException:Unable to validate using XSD: Your JAXP provider [oracle.xml.jaxp.JXDocumentBuilderFactory@19f03d7] does not support XML Schema. Are you running on Java 1.4 orbelow with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support.
    Caused by:
    org.springframework.beans.factory.BeanDefinitionStoreException: Parser configuration exception parsing XML from class path resource [spring/helper-beans.xml]; nested exception is javax.xml.parsers.ParserConfigurationException: Unable to validate using XSD: Your JAXP provider [oracle.xml.jaxp.JXDocumentBuilderFactory@19f03d7] does not support XML Schema. Are you running on Java 1.4 or below with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support.
    Caused by:
    javax.xml.parsers.ParserConfigurationException: Unable to validate using XSD: Your JAXP provider [oracle.xml.jaxp.JXDocumentBuilderFactory@19f03d7] does not support XML Schema. Are you running on Java 1.4 or below with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support.
    at org.springframework.beans.factory.xml.DefaultDocumentLoader.createDoc
    umentBuilderFactory(DefaultDocumentLoader.java:101)
    My JAVA_HOME points to jdk 1.5 but still I am getting error.
    Is there any thing i need to change in my application-context.xml files or any other xml files.
    I am new to OC4j. Till now I have been deploying my war file to tomcat and it is running fine.
    But, whin I tried to run it in oc4j, i m geting above error.
    Please help me . Thanks in advance
    -- Naveen

    Hi,
    I am getting following error when I deploy my war file.
    12/19/2007 16:15:21,178 - ContextLoader.initWebApplicationContext (ContextLoader.java:203) >> ERROR: Context initialization failed org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from URL location [classpath:spring/applicationContext.xml]
    Offending resource: ServletContext resource [WEB-INF/applicationContext.xml]; nested exception is org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from URL location [classpath:spring/helper-beans.xml]Offending resource: class path resource [spring/applicationContext.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Parser configuration exception parsing XML from class path resource [spring/helper-beans.xml]; nested exception is javax.xml.parsers.ParserConfigurationException:Unable to validate using XSD: Your JAXP provider [oracle.xml.jaxp.JXDocumentBuilderFactory@19f03d7] does not support XML Schema. Are you running on Java 1.4 orbelow with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support.
    Caused by:
    org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from URL location [classpath:spring/helper-beans.xml]
    Offending resource: class path resource [spring/applicationContext.xml]; nestedexception is org.springframework.beans.factory.BeanDefinitionStoreException: Parser configuration exception parsing XML from class path resource [spring/helper-beans.xml]; nested exception is javax.xml.parsers.ParserConfigurationException:Unable to validate using XSD: Your JAXP provider [oracle.xml.jaxp.JXDocumentBuilderFactory@19f03d7] does not support XML Schema. Are you running on Java 1.4 orbelow with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support.
    Caused by:
    org.springframework.beans.factory.BeanDefinitionStoreException: Parser configuration exception parsing XML from class path resource [spring/helper-beans.xml]; nested exception is javax.xml.parsers.ParserConfigurationException: Unable to validate using XSD: Your JAXP provider [oracle.xml.jaxp.JXDocumentBuilderFactory@19f03d7] does not support XML Schema. Are you running on Java 1.4 or below with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support.
    Caused by:
    javax.xml.parsers.ParserConfigurationException: Unable to validate using XSD: Your JAXP provider [oracle.xml.jaxp.JXDocumentBuilderFactory@19f03d7] does not support XML Schema. Are you running on Java 1.4 or below with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support.
    at org.springframework.beans.factory.xml.DefaultDocumentLoader.createDoc
    umentBuilderFactory(DefaultDocumentLoader.java:101)
    My JAVA_HOME points to jdk 1.5 but still I am getting error.
    Is there any thing i need to change in my application-context.xml files or any other xml files.
    I am new to OC4j. Till now I have been deploying my war file to tomcat and it is running fine.
    But, whin I tried to run it in oc4j, i m geting above error.
    Please help me . Thanks in advance
    -- Naveen

  • Deploy war file to Oracle Application 10.1.2

    Hi all,
    can someone explain me how to deploy an application developed under Sun Studio Creator 2 to Oracle Application Server 10.1.2?
    Thank's in adavanced,
    Ciro.

    Thak's for replying!
    Using Export Utility Wizard i created thw war file and deployed to Oracle Application Server 10.1.3. Up till this point ok. When i try to execute the application the server return the following error message:
    500 Internal Server Error
    oracle.classloader.util.AnnotatedNoClassDefFoundError:
           Classe mancante: javax.servlet.jsp.jstl.core.Config
         Classe dipendente: com.sun.faces.application.ViewHandlerImpl
                  Loader: RegionalBusinessPlan.web.RegionalBusinessPlan:0.0.0
             Origine codice: /E:/appsias_j2ee_1013/j2ee/OC4J_RBP/applications/RegionalBusinessPlan/RegionalBusinessPlan/WEB-INF/lib/jsf-impl.jar
           Configurazione: WEB-INF/lib/ directory in E:\appsias_j2ee_1013\j2ee\OC4J_RBP\applications\RegionalBusinessPlan\RegionalBusinessPlan\WEB-INF\lib
    La classe mancante � disponibile nelle seguenti posizioni:
         1. Origine codice: /E:/appsias_j2ee_1013/j2ee/home/default-web-app/WEB-INF/lib/jstl.jar (from WEB-INF/lib/ directory in E:\appsias_j2ee_1013\j2ee\home\default-web-app\WEB-INF\lib)
            Questa origine codice � disponibile nel loader default.web.defaultWebApp:0.0.0.
         at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2051) [/E:/appsias_j2ee_1013/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@10719543]
         at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1665)
    etc. etc.....Could you help me to solve this problem?
    thank you very mutch.
    Ciro.

  • BEA-101162 error deploying WAR file

    I am trying to deploy a WAR file, and I am getting a BEA-101162 error:
    User defined listener com.rmt.arch.hwa.bootstrap.WebApplicationBootstrap failed: java.lang.NullPointerException
    The class com.rmt.arch.hwa.bootstrap.WebApplicationBootstrap is in a JAR file in the WAR file itself in WEB-INF/lib. Shouldn't WebLogic be able to find it?
    Eric MacAdie

    Hi,
    The exception NullPointerException does not indicates that the class failed to load. If it would fail to load the class you would see a NoClassDefFound exception.
    Regards,
    LG

  • Deploy .war file directly to OC4J

    is it possible to deploy a .war file directly with having to create a .ear file

    The command line deployment requires an EAR file; so you can just
    package the WAR in a EAR. However you can do the following to deploy an WAR file:
    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" />
    great that works
    but with the OC4J developer preview you have to modify http-web-site.xml
    as opposed to default-web-site.xml
    (guess they changed the name of the file in the newer release)

  • Error while deploying war file inOC4J through o9ias

    Dear friends
    I receive an error while deploying a war file to oracle 9i application server stating that one or more process is running, shutdown by 9iAS or by enterprise manager or use dcmctl resynInstance to free the resource.
    This error happens when one deploy is either interrupted or not deployed properly. But even after stopping the process by "dcmctl stop" or by the command "dcmctl resynInstance" i am not able to deploy any more applications. Kindly guide me

    You probably want to post this question over in the OC4J forum or in one of the 9iAS forums. ODBC is a Windows C++ & VB client API, so it doesn't have a lot to do with the Oracle application server or OC4J.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • How Do You Deploy a War File to The OC4J Standalone ?

    I have a .war file that contains example code and I would like to deploy it to my OC4J Standalone.
    I tried putting the war file in the applications directory and adding a line in the server.xml file but I received the error:
    Error instantiating application at file:/C:/OC4JStandAlone/pdk101202_oc4j_extended/j2ee/home/applications/displaytag-examples-1.1.war: Unable to find/read assembly info for C:\OC4JStandAlone\pdk101202_oc4j_extended\j2ee\home\applications\displaytag-examples-1.1 (META-INF/application.xml)
    It appears it was expecting an .ear file instead of a .war file
    Is there an easy way to deploy a .war file to the OC4J Standalone?
    Thanks,

    Please refer to the OC4J FAQ on :-
    http://www.oracle.com/technology/tech/java/oc4j/1012/collateral/OC4J-FAQ-101202.pdf
    Q 24 should have your answer.
    Cheers!

  • 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

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

  • Deploying a war file on Oracle's ApacheJServ

    Hi all,
    I am attempting to deploy a war file on Oracle 9i's Apache JServ. The docs from Oracle are immense and I haved searched them to no avail.
    Does anyone know how to deploy a war file(that I have created with netbeans) to JServ?
    Specifically what directory to drop the war file into(Tomcat it is webapps and then restart and the app is ready)
    I am hoping it is this easy in JServ.
    Thanks in advance!!!

    I love precise questions like this. :)
    My understanding is that JServ does not automatically unpack WAR files, which might be why you're running into problems. I do notice that Sun Microsystems at this point recommends Tomcat over JServ so I seriously doubt you'll ever get that functionality. You will have to manually unpack the WAR and place the files where they should go.
    I do remember that servlets must go into the c:/JServ/servlets directory, and the zone.properties file in that directory must be modified to recognize the presence of the servlets you are adding.
    This was before JSPs so I'm not certain where they go. The Oracle documentation I just looked at implies that you can place JSP files in the c:/Apache Group/Apache/htdocs directory as if they were normal HTML files. They do not mention whether you have to configure Apache to redirect JSPs to JServ. I would think this is the case, and suggest looking at the JServ specific documentation.
    If you're still stuck, let us know and we'll help you research it further.

  • Urgent :- Unable to deploy EAR file in Oracle application server

    Hello folks,
    I am trying to deploy an application containing jsps and servlets
    packaged into EAR using ant. However when am trying to do so by using
    the Deploy EAR option in the Enterprise manager, it throws the
    following error -
    "Invalid J2EE application file specified - Jar file:
    /var/tmp/jar47241.tmp is missing its standard xml descriptor located at
    META-INF/ejb-jar.xml"
    I suspect that something could be wrong with regards to the way the ear
    file has been created.
    Please if someone could pin point the problem and help me understand
    the the above error message , it will be of great help to me and I d
    really appreciate this.
    Many Thanks,
    Ramn.

    Hello,
    I try to deploy an ear file (contains jar and war files) in Oracle Application server in linux, but the time is so long. The same file I deploy in a OAS in windows and the deploy time was 2 minutes, but in linux I leave the hole night and the session close and the deploy in unable.
    I don't know if I need configure an especial option in the OAS in Linux, how I can load my ear file.
    The OAS in windows was installed with oc4j options only, but the OAS in linux was full installation
    Please help me....
    Thanks.

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

  • 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

Maybe you are looking for

  • How to open a Promotion from an ABAP report/program?

    Hello SDN, I have a normal ABAP report and would like to open a specific promotion (markteing project) after a PAI event. I know it is the OBJTYPE=BUS2010030 (the businesspartner is objtype BUS1006), but how can I open it? Regards from Germany, Fried

  • How to exclude certain values in a measure.

    Hi, I have fact data something like.. ID MyValue MySetValue 1 200 1 2 300 1 3 400 0 4 500 0 5 600 1 Now I want to create a measure MyValue which would be sum(MyValue). This i can do using SUM aggregation. But I also want a measure which is SUM(MyValu

  • I cant recover my password for my other account!!

    i cant recover my password for my other account, because i have two accounts and both accounts have the same mail and when i try to get a new password for my main account it gives me the password for my other account so this account * mod edit: Pleas

  • Could not initialize class com.crystaldecisions.reports.dataengine.DataSour

    Dear All, I am getting nuts and frustrated with Crystal Reports currently. One day or the other some problem is coming where there is no reference how to solve it. The support is very slow for java developers. Anyhow, i made to work the formula, i wa

  • Well, I draw a cube which is a menu and it can switch on every side(3D)!

    I want to create but i don't no how to do it, because i am only fourteen years old. That's why I asking you how to presented it to Apple(Apple is the best company for mobiles i ever know)! PLEASE help me!