Web.xml doesn't work

Hello,
Im trying to deploy a website with a WAR file. But when I upload my war file at my Hosting provider, it seems that my xml file isn't read(and is does work on my locale machine). I compile my war file with the following line.
jar -cvf c:\scarybarry.war -C c:\scarybarry .
Is there something that I have to do, to tell that that is a web.xml file that needs to be run?
Hopefully somebody can help me with this.

Hi,
I didn't exactly understand what you ment. But i though you wanted the output of the command line you gave me. It was a long list, so I have copy past the top part and the bottom part for you. Hopefully you can help me now.
C:\>jar tvf scarybarry.war
0 Mon Jul 05 21:50:30 CEST 2004 META-INF/
71 Mon Jul 05 21:50:30 CEST 2004 META-INF/MANIFEST.MF
1029 Tue Jan 20 20:19:12 CET 2004 ad_footer.jsp
241 Tue Jan 20 2
3082 Sun Feb 29 17:55:28 CET 2004 WEB-INF/classes/website/Review.class
3013 Sun Feb 29 17:55:28 CET 2004 WEB-INF/classes/website/Story.class
0 Sat May 01 12:31:12 CEST 2004 WEB-INF/lib/
54665 Wed Aug 28 14:50:36 CEST 2002 WEB-INF/lib/activation.jar
80984 Thu Dec 19 14:49:00 CET 2002 WEB-INF/lib/mail.jar
25961 Tue Aug 13 15:40:10 CEST 2002 WEB-INF/lib/mysql-connector-java.jar
567 Sun Jul 04 15:36:46 CEST 2004 WEB-INF/web.xml0:24:24 CET 2004 ad_forward.jsp

Similar Messages

  • How can I activate an old version of Photoshop that I've loaded on my new tablet? The web activation doesn't work, and when I call the number, it says it's not being used anymore. Meanwhile, I'm down to 13 days till it stops working due to not being activ

    How can I activate an old version of Photoshop that I've loaded on my new tablet? The web activation doesn't work, and when I call the number, it says it's not being used anymore. Meanwhile, I'm down to 13 days till it stops working due to not being activated. HELP?  I really need to continue using this product for my home business.It works fine not activated but the threat is that it will stop working in 13 more days if I don't get it activated, and none of the activation methods they list seem to work.

    The new serial number is to the right of your chosen download.

  • Smart Web Printing doesn't work in IE9

    Smart Web Printing doesn't work in IE9...
    This question was solved.
    View Solution.

    IE9 has not yet been released in final form, it is still in Beta.  I do not know if HP has any plans to support the Web Printing application on IE9, but if they do I would not expect them to release anything before the official IE9 release.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • My web browsers doesn't work anymore because i accidentally deleted the certificates. help me how to retrieve it .. thanks apple :)

    my web browsers doesn't work anymore because i accidentally deleted the certificates. help me how to retrieve it .. thanks apple

    Apple - Support - iPod - Repair pricing - http://www.apple.com/support/ipod/service/prices/

  • In Safari, the link to "mail this web page" doesn't work, and the share link shows "no service". Does anyone have a solution? I have a MacBook Pro and upgraded to Yosemite yesterday

    In Safari, the link to "mail this web page" doesn't work, and the share link shows "no service". Does anyone have a solution? I have a MacBook Pro and upgraded to Yosemite yesterday.

    See here:  If sharing options and Markup are missing after you install OS X Yosemite
    This resolved the issue for me.
    Rick

  • prefer-web-inf-classes in weblogic.xml doesn't work

    When I try to use <prefer-web-inf-classes>true</prefer-web-inf-classes> it works fine with default classloaders structure. But after I changed classloaders hierarhy by means of <classloader-structure> in weblogic-application.xml classes from web app are ignored and classes from outside web app are loaded.
    Here is classloaders structure I use
    <weblogic-application>
    <classloader-structure>
    <module-ref>
    <module-uri>mywar.war</module-uri>
    </module-ref>
    <classloader-structure>
    <module-ref>
    <module-uri>myejb.jar</module-uri>
    </module-ref>
    </classloader-structure>
    </classloader-structure>
    </weblogic-application>
    Has anybody encountered this before?

    Hi, Rob
    Does it work in WL9.2?
    It seems I do it exactly as the explained at http://edocs.bea.com/wls/docs81/programming/classloading.html - and it fails :o(.
    I try to run my app.ear with WL9.2 There are 2 components in it: webapp and mdb. The webapp/WEB-INF contains weblogic.xml:
    <weblogic-web-app>
    <container-descriptor>     
    <prefer-web-inf-classes>true</prefer-web-inf-classes>
    </container-descriptor>
    </weblogic-web-app>
    Mdb is expected to run in the same mode, i.e. to prefer the webapp/WEB-INF/*.jar over the parent Weblogic classloader. To do so I add the weblogic-application.xml to the app.ear!/META-INF:
    <weblogic-application>
    <classloader-structure>
    <module-ref>
    <!-- reminder: this webapp contains
    prefer-web-inf-classes -->
    <module-uri>webapp</module-uri>
    </module-ref>
    <classloader-structure>
    <module-ref>
    <module-uri>mdb.jar</module-uri>
    </module-ref>
    </classloader-structure>
    </classloader-structure>
    </weblogic-application>
    Now, when classloader-structure specified, both webabb and mdb prefer the weblogic root loader as if prefer-web-inf-classes not defined at all.

  • Web.xml mapping not working

    I have a servlet located at com.conversion.web called leftNavReader.java
    I'm trying to access this servlet on my localhost with the following URL: http://localhost:8080/Conversion/start
    but I keep getting this error:
    HTTP Status 404 - /Conversion/start
    type Status report
    message /Conversion/start
    description The requested resource (/Conversion/start) is not available.
    Here is what my web.xml looks like:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app>
         <display-name>DataConversionWeb</display-name>
         <servlet>
              <servlet-name>start</servlet-name>
              <display-name>Start</display-name>
              <servlet-class>com.conversion.web.leftNavReader</servlet-class>
         </servlet>
         <servlet-mapping>
              <servlet-name>start</servlet-name>
              <url-pattern>/start</url-pattern>
         </servlet-mapping>
    </web-app>
    Does anyone have any idea why I'm getting this error?

    Since the spaces may cause problems and I have
    everything in the My Projects directory, I decide to
    just start from scratch. Very good.
    But... someone else
    installed eclipse for me and set that up, so I may
    need some help with that, not sure if you can help.As far as I know Eclipse can also be Unzipped to any folder, and
    theres a file called eclipse.exe , one would simply double click on that to invoke eclipse. I don't think you would have to re-install Eclipse.
    You could create a new project, and set
    C:\dev\projects\Conversion\ as your Eclipse Workspace .
    But lets put Eclipse on hold for now, we can still configure this whole project manually without Eclipse, which will help you understand what's going on under the hood. Also, in the beginning it's simpler to configure independent of the IDE.
    So I recommend that you save your work, uninstall
    Tomcat 6.0.x and re-install it on a path thatdoesn't
    have any spaces in it.
    For example:
    C:\dev\tomcat\ So I've uninstalled tomcat and re-installed in
    c:\dev\tomcat as recommended...Good, I assume that immediately under C:\dev\tomcat\ folder you see folders like bin, conf, webapps etc
    Assuming that Tomcat was Unzipped to the above
    folder. and there isn't another main folder underthe
    above folder, set you system envrionment variable
    CATALINA_HOME to the above folder.How do I do this?On MS Windows, click Start ---> Settings ----> Control Panel
    Look for System , --> Doubl Click on System -----> Click on the Advanced tab ----> then under the "System Variables" panel ------> Click on New button -------->
    in the Variable Name: type CATALINA_HOME
    in the Variable Value: type C:\dev\tomcat
    Then click Ok , that will set CATALINA_HOME to C:\dev\tomcat
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    There's a RUNNING.txt file under Tomcat's folderthat
    explains configuring it. Tomcat expects JAVA_HOMEto
    be set to your JDK's root folder . Again if JDK is
    installed on a path that has spaces then Irecommend
    installing it on a path with no spaces forexample:
    C:\dev\jdk\
    Similarly , follow the above steps to set JAVA_HOME to C:\dev\jdk
    Also, under System Variables you may see a variable called Path
    If it doesn't exist , then create a new one, if it already exists then add the following to the Path variable. (notice how the semi colon is used as a separater)
    ;%JAVA_HOME%/bin;%CATALINA_HOME%/bin;
    By setting the above you will be able to call
    java , javac and Tomcat's startup.bat and shutdown.bat from anywhere on the DOS Command line.
    >>
    ~~~~~~~~~~~~~~~~~~~~~~~~~~I've moved the jdk to the director as recommended,
    but not sure hot to set the JAVA_HOME.See above...
    I haven't even gotten through the rest of your post
    yet, as I need to work on getting Eclipse set up
    again too Leave Eclipse for later ---- it will just complicate things for now.
    Once you have the project runnun under Tomcat we can figure out Eclipse.
    and I figure I might as well set up my
    "new" project using Virtual Hosts from the beginningLeave Virtual Host for later ------ it is easy to understand , I will explain it later , once you have the above basic set up running.
    and do this right... This is quite the learning
    experience ;)First , second and third time it is... but if you do this often, it will get much easier.

  • Client-cert auth impl in web.xml does not work in Oracle Application Server

    Hi,
    I am new to implementing security features on the web applications.. I have developed a new web service using jdev1012 and deployed in OAS 10.1.2. Its working fine according to the business requirements, but I am in need of implementing client-cert authentication to enable the web service available to only those who have client certificate.
    My server details are:
    Oracle Application Server 10g Release 2 (10.1.2)
    Server certificate is in place and SSL mode have been already enabled.. able to access my web service through https://<mydomain.com>/myws/TreqWS as well able to see the WSDL file through https://<mydomain.com>/myws/TreqWS?WSDL.
    I tried to include the following in my web.xml file as part of implementing CLIENT-CERT authentication.
    <security-constraint>
    <display-name>SecurityConstraint</display-name>
    <web-resource-collection>
    <web-resource-name>WSCollection</web-resource-name>
    <url-pattern>/*</url-pattern>
    </web-resource-collection>
    <user-data-constraint>
    <transport-guarantee>CONFIDENTIAL</transport-guarantee>
    </user-data-constraint>
    </security-constraint>
    <login-config>
    <auth-method>CLIENT-CERT</auth-method>
    <realm-name>WSCollection</realm-name> <!-- am not sure about this realm-name and its purpose -->
    </login-config>
    It is not woking as expected, though I have restarted my oc4j container after including this content to the web.xml file. i.e, I am able to invoke the web service though my sample java client program, though I donot have client certificate/keystore.
    I believe I am missing something..Can anyone help me in this regard to implement CLIENT-CERT authentication successfully?
    Thanks,
    Ms

    I am having the same problem with doc and xsl. I have added this
    <mime-mapping>
    <extension>xls</extension>
    <mime-type>application/vnd.ms-excel</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>doc</extension>
    <mime-type>application/msword</mime-type>
    </mime-mapping>
    to my web.xml. I even restarted the server. I still see doc and xsl in binary.
    Is there some other setting that needs to take place?
    I am using WL6.1 with fixpack 1.
    I can see the doc and excel files in the browser if I don't go through the weblogic
    server. That just confirms it's not my browser.
    Kumar Allamraju <[email protected]> wrote:
    <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
    <html>
    It works fine for me in 6.1 SP1.
    <br><br>
    If the following doesn't work , can you
    <br>try application/winword instead of application/msword?
    <p>--
    <br>Kumar
    <p>Siming Mu wrote:
    <blockquote TYPE=CITE>Hi,
    <p>I setup in my web.xml a mime mapping as follows,
    <p><mime-mapping>
    <br><extension>doc</extension><mime-type>application/msword</mime-type>
    <br></mime-mapping>
    <p>When I specify a test.doc url, the doc file appears in my browser
    as
    binary data
    <br>instead of download.
    <p>Please reference change request 055002, which decribes this problem. 
    According
    <br>to edocs, it has been fixed in wls6.1sp1.
    <p>But I am seeing it fixed.  Am I doing anything wrong? Thanks.
    <p>Siming</blockquote>
    </html>

  • Link To Web Gallery doesn't work

    I created a password protected web gallery in Aperture, but when it has completed uploading, the URL to the gallery doesn't work, it never loads in Safari. When I go to My Gallery home page I see the icon for the gallery with the lock as it should be but when I click on it, I get the message " that access for this gallery is restricted and to contact the owner of the gallery" instead of asking me for the password.
    If a gallery is not password protected it shows up just fine. Am I missing something? Why doesn't the url for a password protected gallery work.

    Just as a note, it works fine in Firefox. It seems to be an issue with Safari and .Mac.

  • Views dropdown on list view web part doesn't work

    Thank you very much beforehand for any help with this issue, I really can't figure out what is going on.
    So, I have big list (36125 items and about 25 public views there) and view selector on list view web part just stopped respond there couple of days ago. You click on down arrow and nothing happens... There are no any java script errors in browser console,
    there are no any errors in ULS log. Profiler shows that request even is not sent to server when you click it to get list of views.
    At the same time, this web-part works correctly with other lists on this site. 
    Do you have any ideas?

    Hi,
    I understand that the view drop down doesn’t work for a specific list. Can you browse these publish views by manually change the view name in the URL? There are two view drop downs in the ribbon(one under the List tab and one under the browser tab). Are
    they all not working?
    It is a big list, you need to make sure that there are no more than 5000 items in a single view. Only 8 lookups can be added to a view at the same time. You need to make sure that these thresholds.
    For more information about these thresholds, please refer  to this site:
    Manage lists and libraries with many items:
    http://office.microsoft.com/en-us/sharepoint-foundation-help/manage-lists-and-libraries-with-many-items-HA010377496.aspx
    Thanks,
    Entan Ming
    Entan Ming
    TechNet Community Support

  • Web service doesn't work on tomcat server

    I uploaded the war file to tomcat server.
    The structure as follows:
    <MyWebServiceName>\classes (all the complied class files)
    <MyWebServiceName>\wsdl (The generated wsdl file is in this folder)
    <MyWebServiceName>\web.xml
    But I can not get wsdl file from the url:
    http://localhost:8080/<MyWebServiceName>/<MyWebServiceName>?wsdl
    The error is the requested resource is not available.
    I deloyed some other sample web services, they all work well. But I can not find any wsdl file for these web services on tomcat server. It is very strange.
    Anyone can help me?

    Toshiba knowledge base - how to fix webcam - http://forums.toshiba.com/t5/Video-Display-Knowled​ge-Base/How-can-I-fix-my-webcam/ta-p/281393
    Here is another post that gives some suggestions - http://www.pcauthorities.com/pc-errors/how-to-fix-​webcam-problems/
    S70-ABT2N22 Windows 7 Pro & 8.1Pro, C55-A5180 Windows 8.1****Click on White “Kudos” STAR to say thanks!****

  • Web Interface doesn't work after installing 11g

    A couple days ago I decided to install Oracle 11g (after already having 10g Express Edition), after successfully installing 11g, I tried to access 10g EE using http://127.0.0.1:8080/apex/apex, and it doesn't work anymore. I tried using a java program with Netbeans that connects to my 10g Database and there's connection with no problems and I can upload/download data with no problems, I just can't access the web interface.
    Thanks in advance.

    jalvarito wrote:
    A couple days ago I decided to install Oracle 11g (after already having 10g Express Edition), after successfully installing 11g, I tried to access 10g EE using http://127.0.0.1:8080/apex/apex, and it doesn't work anymore. I tried using a java program with Netbeans that connects to my 10g Database and there's connection with no problems and I can upload/download data with no problems, I just can't access the web interface.
    Thanks in advance.And the error message is . . . ????

  • Web Gallery - Upload from web page doesn't work

    I've created a web gallery with upload permissions set, no name or password, and none of my friends or relatives can get anything to successfully upload.
    I'm using iPhoto 8 version 7.0.2 (341) to build my web gallery, but uploading for others just doesn't work. They get the dialog to enter their name and email, they can choose images, they get the progress window, then nothing. I've deleted the gallery and rebuilt it, I've renamed it, I've looked in my _gallery folders on iDisk, and so no, ad nauseum, ad infinitum.
    Anybody know what's up with the Gallery?

    I've not used the upload but some have reported that it does not work BUT that uploading via e-mail does work -- give the e-mail route a try as a work around and report the problem to Apple -- iPhoto menu ==> Provide iPhoto Feedback
    Larry Nebel

  • (unbelievable) gmail tasks (web app) doesn't work on 10.2.429 browser

    Google provides Tasks as web app
    http://mail.google.com/mail/help/tasks/
    here https://support.google.com/calendar/answer/128061?p=tasks&rd=1 they say to test if your device is xhtml compatible
    to test if it is, they suggets to visit this link from the mobile device
    Minimum requirements
    These are the minimum requirements to access Tasks for mobile web browsers:
    Your browser needs to be XHTML compliant. To determine whether your browser is compatible, visit http://www.google.com/xhtml and perform a search. If it doesn't work, your browser may not be XHTML compliant.
    OS 10.2 allows to browse http://www.google.com/xhtml and also to perform searches, but next it fails to parse/load the tasks page
    try it yourself http://gmail.com/tasks
    is it google not-compliant or is it the BlackBerry OS 10.2 browser?
    Thank you
    Cor

    Try to open the right-click context menu of the Back button and see if you can go back further.
    The current active entry in that list has a bullet in front of it.
    If you hover an entry in that session history list then it shows the direction by adding an arrow at the left.
    You can left click an item to open it in the current tab or middle-click or Ctrl left-click an entry in that list to open that link in new tab, just like you can with other links.

  • QT Pro Export for Web--poster doesn't work in Firefox or IE, only Safari

    Hi QuickTime gurus (within Apple and in the 'real world
    I had thought that when you Export for Web in QuickTime Player Pro, the 'poster' movie would display in all browsers, on Mac and Windows.
    Unfortunately, the poster does NOT work in Firefox (neither Mac nor Windows) nor in IE. It only works in Safari.
    See this example - http://www.wellesley.edu/~kenny/a.html
    Am I doing something wrong, or is there something wrong with the JavaScript such that it doesn't work in all browsers, or....?
    Thanks...k

    Ok here try this:
    http://setfreedenver.org/a/readme.html
    And here's the zip file for the above.
    http://setfreedenver.org/a.zip
    You should have four files in the folder that makes everything for the video in the html:
    video.m4v This is the actual video that plays.
    video.mov This is the referance video that points to video.m4v
    poster.jpg This is the poster frame.
    html.html This is the html for the above video to play in.
    Move one of the above to somewhere else and it will break the video playing in the html.
    Sidebar:
    I couldn't get this to work on my server. I had to go to my server control panel (somewhere out there in Texas) and make a MIME Type setting for the .m4v, so the video could play. Not all servers are setup to play different kinds of videos, documents or images. So, if you ever run across something that plays locally on your computer and not on your sever and your at your wits end.. Contact you server administrator and have them check the MINE setting on the server.
    Message was edited by: David M Brewer

Maybe you are looking for

  • Purchase order and Payment terms

    Hi, My client requirement. The delivery date in PO: 25-09-2008. If the vendor pays goods delivery to us after 25-09-2008 he want to deduct 2% on po value as Late Delivery Fees. My client is asking automation of this scenario. Automatically at that ti

  • Transfer songs from iphone directly to ipad

    So i'm thinking of getting an iPad.  I already have an iPhone 4 32GB.  I cannot afford anything larger than the 16GB ipad, so I am wondering if there is any built in utility or app where I can transfer songs, pictuers, music, etc. from my iphone to m

  • Problem opening 32bit HDR tif file

    Hi This is driving me mad. I've searched the forum and there are several similar posts, none of which solve this problem, so I'm posting a new thread. Essential stuff: CS5 v12.0.3 x32 Windows Vista 2G RAM Memory usage in CS5 performance preferences s

  • [Solved] Only x11 works with mplayer

    When I try xv or gl I get sound but no picture. Any ideas? My xorg.conf Section "ServerLayout" Identifier "X.org Configured" Screen 0 "aticonfig-Screen[0]" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Secti

  • Using wireless keyboard with Apple TV

    So why don't they make things easy and somehow add a firmware upgrade that allows you to use your wireless keyboard when making searches on the Apple TV. Every new owner of an iMac has one! This would be a great improvement over the hunt and pick tha