Web.Xml file problem

< web - app xmlns = "http://java.sun.com/xml/ns/javaee" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance".
xsi: schemaLocation = "http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd".
version "2.5" = >

I try this to version 3.0 but JDeveloper does not seem to be too much change. Can someone tell me if this is supported? and what I can do to make it work? Unable to run the project at all. I need the 3.0 to run my project, JSP with servlet

Hello.

You do not specify what version of JDeveloper you use. I guess that's 11 GR 1 material or R2, that implement Java Enterprise Edition 5.

If you need version 3.0 of the servlet API, which is part of Java EE 6, you must wait for JDeveloper 12 c.

Either way, WebLogic server 12 c already implements Java EE 6, and you can get support full IDE by Oracle Enterprise Pack for Eclipse and NetBeans. Please note that you will not be able to use the framework of the ADF if you use EPCO, because it does not work on WLS 12 c for now.

Tags: Java

Similar Questions

  • Get the error in the Web.XMl file

    Hi Experts,

    As I established local installation in my system, but I get an error in the web.xml file tomcat server console.

    December 14, 2015 18:06:30 org.apache.catalina.core.AprLifecycleListener init

    NEWS: APR based Apache Tomcat Native library that allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.7.0_79\bin; C:\Windows\Sun\Java\bin; C:\Windows\System32; C:\Windows; C:\oraclexe\app\oracle\product\11.2.0\server\bin; C:\Windows\System32; C:\Windows; C:\Windows\System32\Wbem; C:\Windows\system32\WindowsPowerShell\v1.0\; C:\Program Files (x 86) \Common Files\lenovo\easyplussdk\bin; C:\Program Files\Java\jdk1.7.0_79\bin; E:\digitalM\csinstall\bin;.

    December 14, 2015 18:06:31 org.apache.coyote.http11.Http11Protocol init

    INFO: Initializing Coyote HTTP/1.1 on http-7001

    December 14, 2015 18:06:31 org.apache.catalina.startup.Catalina charge

    INFO: Initializing transformed into 2027 ms

    December 14, 2015 18:06:31 org.apache.catalina.core.StandardService start

    INFO: Starting service Catalina

    December 14, 2015 18:06:31 org.apache.catalina.core.StandardEngine start

    INFO: Starting the Servlet engine: Apache Tomcat/6.0.44

    December 14, 2015 18:06:32 org.apache.tomcat.util.digester.Digester endElement

    SEVERE: End event threw the exception

    java.lang.reflect.InvocationTargetException

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:606)

    at org.apache.tomcat.util.IntrospectionUtils.callMethodN(IntrospectionUtils.java:959)

    at org.apache.catalina.startup.CallMethodMultiRule.end(WebRuleSet.java:789)

    at org.apache.tomcat.util.digester.Rule.end(Rule.java:228)

    at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1158)

    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:609)

    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1782)

    to com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$ FragmentContentDriver.next (XMLDocumentFragmentScannerImpl.java:2973)

    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)

    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)

    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)

    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)

    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)

    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)

    to com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$ JAXPSAXParser.parse (SAXParserImpl.java:648)

    at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1675)

    at org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:365)

    at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1045)

    at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:265)

    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)

    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4616)

    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060)

    at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)

    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060)

    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)

    at org.apache.catalina.core.StandardService.start(StandardService.java:525)

    at org.apache.catalina.core.StandardServer.start(StandardServer.java:759)

    at org.apache.catalina.startup.Catalina.start(Catalina.java:595)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:606)

    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)

    at org.apache.catalina.startup.Bootstrap.main (Bootstrap.java:414)

    Caused by: java.lang.IllegalArgumentException: Servlet mapping specifies a servlet name refreshservlet unknown

    at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:2743)

    at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:2723)

    ... more than 37

    December 14, 2015 18:06:32 org.apache.catalina.startup.ContextConfig applicationWebConfig

    GRAVE: Analyze the error in the Web.XML of the application to jndi:/localhost/cs/WEB-INF/web.xml

    org.xml.sax.SAXParseException; systemId: jndi:/localhost/cs/WEB-INF/web.xml; lineNumber: 43; columnNumber: 37; Error in (43, 37): Servlet mapping specifies a servlet name refreshservlet unknown

    at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2839)

    at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2865)

    at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1161)

    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:609)

    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1782)

    to com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$ FragmentContentDriver.next (XMLDocumentFragmentScannerImpl.java:2973)

    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)

    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)

    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)

    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)

    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)

    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)

    to com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$ JAXPSAXParser.parse (SAXParserImpl.java:648)

    at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1675)

    at org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:365)

    at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1045)

    at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:265)

    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)

    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4616)

    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060)

    at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)

    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060)

    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)

    at org.apache.catalina.core.StandardService.start(StandardService.java:525)

    at org.apache.catalina.core.StandardServer.start(StandardServer.java:759)

    at org.apache.catalina.startup.Catalina.start(Catalina.java:595)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:606)

    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)

    at org.apache.catalina.startup.Bootstrap.main (Bootstrap.java:414)

    Caused by: java.lang.IllegalArgumentException: Servlet mapping specifies a servlet name refreshservlet unknown

    at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:2743)

    at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:2723)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:606)

    at org.apache.tomcat.util.IntrospectionUtils.callMethodN(IntrospectionUtils.java:959)

    at org.apache.catalina.startup.CallMethodMultiRule.end(WebRuleSet.java:789)

    at org.apache.tomcat.util.digester.Rule.end(Rule.java:228)

    at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1158)

    ... more than 29

    December 14, 2015 18:06:32 org.apache.catalina.startup.ContextConfig applicationWebConfig

    GRAVE: Occurred at line 43 37 column

    Org.apache.catalina.startup.ContextConfig December 14, 2015 departure 18:06:33

    GRAVE: Marking this unavailable application due to previous errors

    December 14, 2015 18:06:35 org.apache.catalina.core.StandardContext start

    SEVERE: Error getConfigured

    December 14, 2015 18:06:35 org.apache.catalina.core.StandardContext start

    SEVERE: Context / [CS] failed to start due to previous errors

    December 14, 2015 18:06:36 org.apache.catalina.startup.HostConfig deployDescriptor

    NEWS: Deployment descriptor configuration host - manager .xml

    December 14, 2015 18:06:38 org.apache.catalina.startup.HostConfig deployDescriptor

    NEWS: Deployment configuration descriptor manager.xml

    December 14, 2015 18:06:38 org.apache.catalina.startup.HostConfig deployDirectory

    NEWS: Deployment web application directory case

    December 14, 2015 18:07:28 com.sun.jersey.spi.spring.container.servlet.SpringServlet getContext

    INFO: Using default applicationContext

    December 14, 2015 18:07:28 com.sun.jersey.spi.spring.container.SpringComponentProviderFactory registry

    INFO: Application bean Spring, TicketResource, of type com.fatwire.wem.sso.cas.integration.rest.TicketResource as a class resource root

    December 14, 2015 18:07:28 com.sun.jersey.spi.spring.container.SpringComponentProviderFactory registry

    INFO: Application bean Spring, TicketGrantingTicketResource, of type com.fatwire.wem.sso.cas.integration.rest.TicketGrantingTicketResource as a class resource root

    December 14, 2015 18:07:29 com.sun.jersey.server.impl.application.WebApplicationImpl initiate

    INFO: Initiator asks from Jersey, version "Jersey: 1.1.4.1 11/24/2009-01:30 '"

    December 14, 2015 18:07:34 org.apache.catalina.startup.HostConfig deployDirectory

    NEWS: Deployment of the directory docs web application

    December 14, 2015 18:07:34 org.apache.catalina.startup.HostConfig deployDirectory

    INFO: Examples of Directory deployment web application

    December 14, 2015 18:07:35 org.apache.catalina.startup.HostConfig deployDirectory

    INFO: Deploy the web application ROOT directory

    December 14, 2015 org.apache.coyote.http11.Http11Protocol start 18:07:35

    Please suggest what I'm missing or how to solve this problem


    Thanks in advance.

    It shows the error in the XML parser.  Please validate your XML code for proper syntax. You might have missed some closing etc tags.

    Also make sure that this declaration of refreshservlet and his mapping is appropriate in your web xml.

  • Change in the web.xml file is lost after build

    Hello

    I have a problem with the web.xml file. There is a servlet called ordDeliverMedia which, by default, refers to the class oracle.jheadstart.ord.html.OrdPlayMediaServlet in the web.xml file. I have change the default class to the mine, do you say, app.util.MyOrdPlayMediaServlet. Now, when I generate one of the services in the definition of JHs editor request changes to this article are lost and yet once done ordDeliverMedia refers to its default value, i.e., oracle.jheadstart.ord.html.OrdPlayMediaServlet. I wonder that changes to other topics such as the Faces Servlet or resources are not lost. What's wrong?

    In any case, I've migrated from JDev 11.1.1.4 JHs - JHs 11.1.1.3.35 to JDev 11.1.2.3 - 11.1.2.1.28

    See you soon,.
    Will do

    Will do,

    Unfortunately, we only check if the servlet class is not set to the JHeadstart one, we should add a check if the servlet class is set to a custom class and therefore leaves intact.
    We'll put that on the list to fix for the next version, for now, I fear, you must cancel the web.xml file changes before you check it into source code control system.

    Steven Davelaar,
    JHeadstart team.

  • tag &lt; error page &gt; - in the web.xml file

    Hi all

    I wrote a web application deployed on weblogic 10.3.
    in one of my pages JSP say JSP1 a java.lang.RuntimeException type exception is thrown.

    and I tag error pages configured in my web.xml file
    That is to say
    > error pages <
    java.lang.RuntimeException < exception type > < / exception type >
    error.html < location > < / location >
    < / error pages >

    so when this exception is thrown by the JSP1, user should redirected to error.html
    but it's not not this

    and instead, is to show the http 500 error saying "website cannot display the page. and url in the address rest bar also the same IE specific JSP1.

    What could be the problem. What additional configuration should be doe for tag < error page >-?

    Thank you

    Try/Check with the following options
    (1) If you test with IE error page, try again with other browsers such as Mozilla Firefox.
    (2) make sure that your web.xml file is to have the DTD element.
    (3) try to place the item of after details of the servlet mapping in web.xml.
    (4) If you are using IE, tweak with the following option of the IE browser
    Simplified Tools--> Internet-->--> HTTP Error Messages Advanced Options show
    (5) check error.html file is available in the correct location (this is under the location context root)

  • load at startup in the web.xml file

    Hello

    I know not to load at startup in servlet
    When this servlet is called, it is called automatically, or to call

    Give me an example

    tag may appear inside the tag in web.xml and tells the container of web on this particular servlet loading. If load at startup is not specified then container load a particular servlet when he feels necessary is more likely when the first request for this servlet. According to the specifications of Java enterprise the following rules apply:

    1. to load at startup value > 0, servlet with least number will be loaded first when the web application is deployed or when the server starts. Servlets with a higher number of load-on-startup after loaded as servlets with a smaller number have been loaded.
    2. If the value of is the same for two servlets, then they will be loaded in the order in which they are declared within the web.xml file.
    3. If is 0 or negative, or there is no evidence for any servlet then this servlet will be responsible when the container considers necessary to load it.

    suitable for the servlet that performs tedious work. for example, to create a pool of database connections, prepare a few application environment etc. In web applications based ATG have usually entered us for NucleusServlet to load at startup as 1 that's why NucleusServlet is loaded on startup of the server resulting in the ATG to start services.

  • Export a Final Cut Pro XML file problem any translation problem

    When I export the XML pro final cut, there is always a problem of translation like this "Transition... not translated, chained <>used instead."

    Most of type transition can cause translation problems, except the wipe and cross dissolve.

    Is there any body know the reason? Is it OK?

    Also, I use the trial version of cs5

    Hey Ani_,.

    I work for a long time with Adobe products and generally when you encounter an error that has nothing to with an XML file export problem its due to such things as the effects you may have added in, color correction, bland Crusaders or any type of video transitions between clips. Don't forget that your workflow must be

    Import your videos into Premiere Pro
    Name your clips (help to find things later)
    Place the clips on the timeline in the order you want (DO CUP that DO not add anything, transitions effects color nothing)
    Then once all of your clips are placed on the timeline in your voucher order you then EXPORT > Final Cut Pro XML

    Now you can put this in other programs for adjustment of colors, or whatever it is you do.  You will find there is no error on export.

    Once your fact is do what you do for the clips in another program (for example: the Divinci Resolve color adjustment) you can then export to your main project, and then add your effects and transitions.

  • Edit the web.xml file in Weblogic

    Hi, I'm deploying an application written in 11.1.1.2.0 JDeveloper to Weblogic 10.3.2.

    I am editing the Web.XML of the application. I tried to change it here:
    c:\Oracle\Middleware\user_projects\domains\uat_domain\servers\AdminServer\tmp\_WL_user\DrawingManagement\2ubcsw\war\WEB-INF\web. XML

    However, the changes appear not in demand even if I rebooted Weblogic. However, when I change the values in JDeveloper and then deploy on Weblogic, values are reflected in the Web.XML defined above.

    WebLogic is cached in this web.xml? If so, how do I to change?

    Published by: Sean NGO on August 8, 2010 21:11

    Hello

    If you try to edit the file "web.xml" from the following location: c:\Oracle\Middleware\user_projects\domains\uat_domain\servers\AdminServer\tmp\_WL_user\DrawingManagement\2ubcsw\war\WEB-INF\web.xml

    Then it will not appear. Because as soon as you deploy your Application on WebLogic, it reads the file "web.xml" *(At Deploy time Once) * and he keeps in memory. So if you really want to change the deployment descriptor and then you have to redeploy the Application after editing inside your JDeveloper project yourself.

    Or, as an alternative, you can use the 'plan' WebLogic function to change the DDs... like: http://forums.oracle.com/forums/thread.jspa?threadID=1107834&tstart=0

    .
    .
    Thank you
    Jay SenSharma
    http://WebLogic-wonders.com/WebLogic (WebLogic wonders are here)

  • Reading XML file problem

    Hi all

    I'm reading an xml file and displays the output. I get a blank screen. Can someone help me please.

    Thanks in advance

    I can't attach the xml file. Since this is not a valid extension. Please find the following xml code.


    Samsung

    Busan
    South Korea

    If you can change the saved .xml file, you can modify it to be compatible with Labview XML shema and use Unflatten of XML as in your VI. If you can't, you must use the XML parser library. Attached, you will find 2 exmaples for these situations.

  • Import of XML files problems

    So I've recently switched to a PC from a Mac.  I prefer Windows 8 for all other OS, I know I'm in the minority, but that's what I like.  My question is this: when I imported my catalogues from my Mac to my PC all imported fine with display correctly all files and images showing a history of changes, etc.  However, for some reason a wedding I shot did not in it.  The files are there and the sidecar files.  So I tried to import this file into the catalog, and he did.  However, it has not imported the sidecar files and all my previous edits do not show now.

    How to import these XML files so that my changes are restored?  I see no option to import to the inlcude the screen or not include XML files.  Are my changes lost forever, or can they be saved? Thank you.

    FYI: I use Lightroom 4.3

    Looking for your changes. Things like exposure and contrast and other items.

  • Grouping data in xml file problem

    Hi all

    Here is an example of xml file used as input source in my BEEP stand-alone report:

    rowset <>
    < SAMPLE_ROW >
    < ID > 1234 / < ID >
    < Code > < CODE > A1
    FIRST YEAR < TEXT > < / TEXT >
    B1 < CODE > < code >
    SECOND YEAR < TEXT > < / TEXT >
    < / SAMPLE_ROW >
    < SAMPLE_ROW >
    < ID > 6789 / < ID >
    < Code > < CODE > C1
    THIRD YEAR < TEXT > < / TEXT >
    B1 < CODE > < code >
    SECOND YEAR < TEXT > < / TEXT >
    < / SAMPLE_ROW >
    < / LINES >


    The expected output should be:

    ID # 1234
    Categories: A1
    FIRST YEAR
    B1
    SECOND GRADE

    ID # 6789
    Categories: C1
    THIRD YEAR
    B1
    SECOND GRADE

    And design that I created is:

    <? for-each-group: SAMPLE_ROW; / ID? >
    ID # <? ID? >
    Categories: <? CODE of? >
    <? TEXT? >
    <? end for each group -? >

    I could only show partial result but not able to reach my desired output. Please guide.

    Thank you.

    Ideally, what you want is:


         
              1234
              
              A1
              FIRST YEAR
              

              
              B1
              SECOND GRADE
              

         

         
              6789
              
              C1
              THIRD YEAR
              

              
              B1
              SECOND GRADE
         

         

    With this structure without having to regroup but only for each.
    Your third can reorganize?

    Jorge

  • link to the XML file problem

    I can't understand why I am getting an error when I try to publish a swf with a linked XML file?
    I had to have the original decompiled fla of swf file. all functions work well, no script error, but the file
    Homepage fla published in homepage.swf gives me "error opening URL"file:///Macintosh%20HD/Users/tuneraider/Desktop/valleefiles/xml/homepage.xml"

    the files are in the same folder. Any help?

    double checked that the files were in the same folder

  • adding file web.xml in war by jwsc

    How can I add my own web.xml file in the war using the jwsc ant task? I tried to use the "descriptor".
    < jwsc srcdir = 'src' destdir = 'ear' keepGenerated = "true" >
    "< file="public_html/WEB-INF/web.xml descriptor "/ >
    ....

    < / jwsc >

    but it does not work:
    The type < jwsc > does not support the nested element "descriptor".

    Hello
    Please visit this link, according to her, descriptor element must be under a clement TJS or the module element.

    HTH,
    -LJ

  • Error handling 404 in web.xml

    In my application, I made the following entry in the web.xml file:

    > error pages <

    < code > 404 error < / error code >

    error.jspx < location > < / location >

    < / error pages >

    Error.JSPX is a file jspx and exists in the public_html folder and after admission:

    < f: view >

    < af:document id = "d1" >

    < af:form id = "f1" >

    < af:outputText value = "Hello there error occurred ' id = 'ot_11' / >

    < / af:form >

    < / af:document >

    < / f: view >

    When a 404 error occurs in the application, I get after the application log:

    [< [path to ServletContext@3806419[app:j2ee-app module: Retailer: / retailer spec-version: 2.5]] location of error pages: "/ error.jspx" for the error code: '404' does not exist. Serving the default error page. >

    Any suggestion what to do next?

    Maybe it's a problem with security (especially if you have activated the ADF security and created pageDef for the error page).

    What happens if you call error.jspx directly?

    Try again with a standard html error page (instead of jspx) eliminate security problems or solve the jsf.

    Dario

  • analysis of the Web.XML using runassembler

    Hi guys

    Whie creation file ear using runassembler command how it will identify a module that contains the jsp and base files it identify the web.xml file and parse the file web.xml

    Please give me some clearification on this

    At the time of creation of the atg project, we specify following

    1. j2eeapplication name
    2. name of the Web application
    3. context root
    4. Server

    This will create the following:

    • /J2EE - Apps / {j2ee application name}/META-INF/application.xml

    application.XML, this will serve as runassebler while creating ears (reading manifest file) to determine the associated web application to this

    J2EE application.

    • /J2EE - Apps / {the j2ee application name} / {the web application name} .war

    {the web application name} .war file will be your jsp, taglibs, web.xml, this war is packed in the ear if no problem analysis is delivered and used in the

    application execution time.

    When reading the manifest file (main or dependent module) if runassebler meets ATG-EAR-Module in the manifest file,.

    MANIFESTO. MF:

    ATG-EAR-Module: {j2eeapplication name}

    then he waits for application.xml at the path/j2ee-apps / {j2eeapplication name} / META-INF. It reads the application.xml file and determine the web application.

    application.XML:

    {the web application name}

    {the web application context root}

    Then he waits for {web app name} to attend the path/j2ee-apps / {name of the j2ee application} and it packs the file. War in the ear.

    I hope that this answer to your query.

  • Put the param-value property of web.xml relative instead absolute

    Hello

    In my web.xml file, I value < param > absolute direction pointing to the properties file. But this method has a problem when I run the application in the other computer, because I have to change the direction to run the application again. For this reason I want to put the direction bit up to the application, but I don't know how to do it.

    Currently the strutcture web.xml is the following:

    ..............
    < init-param >
    < param-name >
    Chart.Properties < / param-name >
    < param-value >
    E:\\Aplication\\web\\WEB-INF\\chart. Properties
    < / param-value >
    < / init-param >

    ..................

    I would be very grateful if someone could help me solve this problem.

    Concerning

    There are always alternatives :-)
    In this case, the alternative solution would be to use the ServletContext getRealPath() or getResourceAsStream() method.
    In this way, you can load a resource from your web application, regardless of where it is deployed.
    It's practically the same solution, except for the resource specified from your web application, rather than the path of the classes.

    It is a perfectly acceptable method of Classpath and alternative might be better in terms of use of the servlet API rather than the standard java classpath.

    see you soon,
    evnafets

Maybe you are looking for

  • Thunderbolt display becomes black, forcing manual reboot

    I have a TB 27 "display with graphic AMD over-pants D500 3072 MB connected to my MacPro (2013) on El Capitan (v. 10.11.3).  TB Firmware is up-to-date. Occasionally, while in Safari, TB will be suddenly go dark and stay there.  I have to manually turn

  • L50-A-11 t satellite - cannot set up the audio output

    Hello I have a Satellite L50-A-11 t with Win8.1, and I can't set it up to get the sound out of the speakears computer and the speakers connected to the audio output. The realteck controller does not show me almost any configuration option, is this no

  • new hard drive for laptop

    I have a laptop dv7-3140el and HD samsung HM641JI 640GB 2.5 "SATA 5400 RPM (to replace car failure). To buy a new hard drive I have to take the same or I can take 7200 RPM instead of 5400? What technical specifications should I look for when buying a

  • Stop and run option is missing from the Start Menu.

    Original title: Administrator group of experts. On the Admin Panel when I want to close I normally press start and the "closing". However the button turn off disappeared and only shows button "quit". In addition the 'run' button is gone as well. How

  • Why microsoft keep removing my spooler to my lexmark printer

    My computer is equipped with a lexmark printer and is Windows XP using Microsoft Security Essentials for protection and I also used as malwarebites anti malware and everything works fine except that I get this message from Microsoft that they are to