Problems with WEB-INF files not being found.

We are using Sun Java Web Server v6.1SP2. I have tried to install the struts example application into the docroot. The application makes use of tld files (tag libraries) that are stored in the WEB-INF directory.
I receive the following error when starting the web server:
[29/Oct/2004:15:11:30] failure (22379): for host 169.198.12.50 trying to GET /index.jsp, service-j2ee reports: S
tandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: WEB4059: can't find /WEB-INF/struts-bean.tld (File not found)
The file IS in the directory.
Thanks in advance for any assistance.
TJ Herring
[email protected]

Web Server denies access to the WEB-INF directory.

Similar Messages

  • Classes in web-inf/lib not being found.

    I'm having problems with a servlet app in which jar files placed in the web-inf/lib of the application are not found at runtime.
    If I put them in J2ee\home\lib they are found OK.
    This application has previously deployed and worked correctly, then I added another servlet and redeployed, and classes that were previously found OK stopped being found.
    On checking the server all the directories look correct.
    What could be causing this and how can I make my web applications deploy reliably?
    OC4J version is 9.0.3.0.0.
    Thanks

    Guys,
    Have you tried with the production version of OC4J 9.0.2 ? It should work. Please download the production version of OC4J 9.0.2 and give a try.
    regards
    Debu Panda
    Oracle

  • I recently upgraded to iTunes 11.1.5 and now my iPod Nano is not recognized in iTunes. I also upgraded my iPhone 5s to iOS 7.1. i Tunes on my computer does recognize my iPhone. What is the problem with my iPod Nano not being recognized?

    I recently upgraded to iTunes 11.1.5 and now my iPod Nano is not recognized in iTunes. I also upgraded my iPhone 5s to iOS 7.1. i Tunes on my computer does recognize my iPhone. What is the problem with my iPod Nano not being recognized?

    I would think, Twins1995, that if we are having the problem, others are as well. Hopefully, Apple will shortly issue a follow-up software release to fix the problem. Or is that just wishful thinking on my part.
    It would be helpful, if there were some kind of work-around in the interim, so we can use our devices. Pretty frustrating when you consider that all of the hardware and software is produced by Apple.

  • Who else has a problem with parental controls enabled not being able to run Firefox on the Mac?

    Who else has a problem with parental controls enabled not being able to run Firefox on the Mac? (Any solutions?) (BTW. Chrome doesn't work either)

    Although FF4 is so nice I'm almost ready to ditch iGoogle!
    Please fix what appears to be an RSS/iGoogle issue with FF4...
    Gmail is fine, but titles dont show in most RSS feed gadgets and no stories, strangely, apart from this one:
    http://www.google.com.au/ig/directory?hl=en&url=www.google.com/ig/modules/builtin_news_technology.xml
    Which if you enter the last part of the url reports that
    "<Content type="html">
    This is a builtin module, so the UserPrefs and Content are ignored."
    Any ideas?

  • ITunes needs to fix the problem with there gift cards not being activated this is not up to the retailer and they will not return scratched coded cards! There is thousands of people having this problem please fix it

    iTunes needs to fix the problem with there iTunes cards not activating properly! This is not the retailers fault and they will not return iTunes cards that have had the code area scratched there for apple needs to credit and or activated the cards there is thousands of people having this problem please bite the bullet and fix it already I will not be using iTunes until this is corrected...

    If you haven't received the item then try the 'report a problem' page to contact iTunes Support : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • Problems with Starcam clip driver not being recognised / working.

    Hi
    I have recently purchased a starcam clip as my wife kept nicking my web cam to skype her sister.
    I installed as per the instructions and it did not work so I de-installed and then went to the MSI web and got the latest driver for XP. This then works ok until i either unplugged the camera or shut down. I then have to re-install each time i want to use the camera >:(. If i have the camera plugged into the same usb as the last install then the computer (Acer travelmate ) shows the camera installed and plugged in but wont actually work unless I re-install . any suggestions?

    Hi I have now made some progress. If I run the setup.exe as downloaded from the MSI web site the camera works as I would expect. (colour washout aside - but the thread on the 370i cam has explained this)
    (1)The next time I start my computer the camera is recognised but Amcap has the error message of "This graph cannot preview" . The camera is listed in my computer but if I select the camera I get "creation of video preview failed - Check connection and check it is not being used by another application".
    I can get the camera to work by running the setup.exe file again but this is a drag.
     (2)If I swap to another  USB port then I get the "found new hardware" icon and the new hardware wizard starts.
    (3)If I start up with the camera unplugged and plug into the port on which the camera was in on the initial installation then I get the same result as (1).
    Anyone any suggestions - I do not believe it is a hardware (camera) problem as it does work when initially installed.

  • Web.xml file not being read

    Hello, I did a quick search but could not find an answer to my specific problem. (this is also my first night tackling servlets) i hope this hasnt been answered before. here goes...
    i'm using Tomcat 4.1 and this is my file structure where i put my servlets:<intstall dir>/webappps/ROOT/WEB-INF/classes/TestPackage.
    this is my code for the servlet
    package TestPackage;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    /** Example using servlet initialization. Here the message
      * to print and the number of times the message should be
      * repeated is taken from the init parameters.
    public class ShowMessage extends HttpServlet
         private String message;
         private String defaultMessage = "No message.";
         private int repeats = 1;
         public void init(ServletConfig config) throws ServletException
              //Always call super.init
              super.init(config);
              message = config.getInitParameter("message");
              if (message == null)
                   message = defaultMessage;
              try
                   String repeatString = config.getInitParameter("repeats");
                   repeats = Integer.parseInt(repeatString);
              catch(NumberFormatException nfe)
                   //do nothing
         public void doGet(HttpServletRequest request, HttpServletResponse response) throws
                                            ServletException, IOException
              response.setContentType("text/html");
              PrintWriter out = response.getWriter();
              String title = "The ShowMessage Servlet";
              out.println("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 " +
                               "Transitional//EN\">\n" +
                               "<HTML>\n" +
                             "<body bgcolor=\"#FDF5E6\">\n" +
                             "<h1 align=center>" + title + "</h1>");
              for(int i=0; i<repeats; i++)
                   out.println(message + "<br>");
              out.println("</body></html>");
    }my web.xml file is in <intstall dir>/webappps/ROOT/WEB-INF. it looks like:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!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>Welcome to Tomcat</display-name>
      <description>
         Welcome to Tomcat
      </description>
      <servlet>
          <servlet-name>
            ShowMsg
          </servlet-name>
          <servlet-class>
            TestPackage.ShowMessage
          </servlet-class>
          <init-param>
            <param-name>
              message
            </param-name>
            <param-value>
              Shibboleth
            </param-value>
          </init-param>
          <init-param>
            <param-name>
              repeats
            </param-name>
            <param-value>
              5
            </param-value>
          </init-param>
      </servlet>
    </web-app>when i access the servlet i get "No message" one time which is the default message. Any ideas as to why its not picking up the init parameters. I've restarted my laptop and started and stopped Tomcat a few times and i always get the default message...i also tried ShowMessage in replace of ShowMsg as the <servlet-name>, to no avail. I also tried removing the package name in the <servlet-class>, still nothing. Is there another web.xml file some where else that i need to update?
    Thanks! (sorry for the long code)
    BB

    The doGet method works if you are sending data from a form using get method. It is better to use service method.

  • Mac air with external hard drive - not being found on Finder, Time Machine, Migration Assistant

    I have been using an external drive (Imation Apollo) to access only, old files from previous computer (PC) on a new Mac Air.  I had not transferred them across to new computer (didn't want to do that)  just accessing them from the HD.  It had been working fine until recently.  Each time the external drive had been connected Time Machine would come up and ask if i wanted to use this drive for back ups, and I always chose 'Decide later'.  So, as yetI hadn't as yet configured Time Machine to do back ups.
    Recently I noticed that the extrnal HD was no longer showing up on Finder.  Slight panic as i have 5 or 6 yrs of work saved on that HD
    Further investigations - it's also not showing up either on on Disk Utility, or on Migration Assistant.
    I've done the following: 
    Tried HD in each of different USB ports  - made no difference, HD still not showing up
    Tested different Hubs in each port with HD attached - no difference HD not showing up
    Tried USB flash drives in the USB ports - These are working fine and show up on finder
    Tried the HD on other comptuters (a PC though, don't have access to another mac to do this test)- working fine, the HD is showing up and is accessable
    Interrogated the Console logs to try to see if the act of attaching the HD creates a log entry - couldn't find anything
    Rebooted computer via shut down, power disconnect - no difference
    Reset PRAM - no difference still not showing up
    Reset SMC - no differnce still not showing up
    So I think I have established that all the USB ports are functioning correctly and able to access other external drive devices, using hubs with external powersource is not the issue, identified that the external hard drive is working OK, and it appears that the Mac itself is functioning normally.
    What would be the reason the Mac now does not allow this specific external HD to be identified and accessed.  The only possible things I can think of are
    if I had in fact pressed 'Do not use' when Time Machine asked 'do you want to use this drive for back ups'.  Would that mean that the Mac now totally rejects this HD from being a source of accessible files - I hope not!
    I also think that my husband may have disconnected the hard drive from my computer to access some stuff and he just yanked it out rather than use the safe eject method.  Could this create an issue?  The Hard drive works fine on his PC.
    Why is my Mac Air now rejecting this HD and what can I do to access my historical files now. 
    Any assistance anyone can provide would be very greatly appreciated!
    Thanks
    Anna

    I can't answer why it isn't accessing it, but I have a slightly related issue w my back up drive starting to get noisy.
    Realizing that redundancy is safety for critical data.  I talked to my brother about my situation the other day & he said he has 3 small Western Digital portable HDs that he rotates for backup. He even keeps 1 in the safe deposit box.
    I have read for some time that we should have multiple back ups & also have our critical stuff backed up off site. Amazon HD reviews had a woman telling about how she was very backed up on multiple computers & hard drives, but they were robbed or burgeled & all of them were stolen including her thesis that was on the computers.
    Hard drives aren't that expensive. I just bought a new Western Digital 1 TB drive for $89.99. I plan to use it to back up the Seagate that is getting noisy & then maybe alternate them.
    Also, when I came back to Mac, I moved practially all of my documents to Mac. I think I just dragged & dropped or something. Photos, Office, & pdfs do fine that way. & then you could back them up to a couple of different external drives & remove from your MacBookAir.
    Unfortunately I think most of us do not back up until crisis & then it may be too late.
    Also use Time Machine. For the 1st time in my computer life, my computer is well backed up--although now realizing the need for redundancy so will start backing up to at least 2 different HDs alternatly.
    So, not sure why it isn't working & hopefully you have come up w a solution by now.
    I think what I would do in a situation like this, since you can access it on the Windows machine would be to transfer the data to the Windows machine & then transfer it back to a different back up.
    I'm looking into backing up what I still have in Windows using a thumb flash drive. I think it should all fit ok now that they have the larger drives & I don't have very much left in Windows format.

  • I have a new hard drive and itunes and my computer (windows XP) no longer recognise my ipod. I also had the problem with the registry keys not being present but this has now been fixed. However i can no longer link my ipod up with itunes.

    When I first tried itunes with my new hard drive there was the problem with the registry keys but something also flagged up about needing a signed driver. Is this anything to do with why Itunes and my computer no longer recognises when my ipod is linked up? Whatever i try under 'devices' my ipod is never available to sync up. If anyone can help I would be most grateful.

    Thanks for your reply. Unfortunately this has not worked. I didn't have quicktime to begin with so I don't know if that makes a difference? After following the instructions, I get the "registry keys missing" problem appear again (which I've subsequently fixed again) and then when I connected the ipod I got the following message - 'Device driver software was not successfully installed'.
    I've tried windows update but this doesn't do anything as '...the service is not running'.
    Any suggestions?

  • Rendering Forms using SOAPClient - file not being found

    Hello,
    I keep getting an error saying that the file is not found while trying to render my form using the SOAP Client. Even though when I copy and paste the EXACT path given in the JBoss log file, the file comes up.
    I have the LiveCycle form server on Box1 and on Box2 I have JBoss with my web application. Maybe I am misunderstanding what to place for the variables used in RenderForm? The file I want to render is on Box2 with my web application. Is this a problem - does the form need to actually be located on the LiveCycle server? I would think it should be fine and in my local development it worked, so I just don't understand what I have set up incorrectly, but I just wanted to confirm.
    So, here is a snippet of what I have setup:
    //Set the SOAPClient object's SOAP end point
    formServer.setSoapEndPoint("http://myLivecycleServerURL.com:8080/jboss-net/services/AdobeF SService");
    //Declare and populate local variables to pass to renderForm
    String sFormQuery = "myPDF.pdf";
    String sPreference = "PDFForm";
    String sContentRootURI = "https://myWebServer.com:8080/appName/forms; // OR I have tried"c:\\myLocalFolderName" where I have my file saved
    String sTargetURL = "https://myWebServer.com:8080/appName/servlet/RenderForm1";
    String sApplicationWebRoot = "https://myWebServer.com:8080/appName";
    String sOptions = "CachEnabled=False";
    and then the standard stuff:
    try {
    //call renderForm
    IOutputContext myOutputContext = formServer.renderForm(sFormQuery,
    sPreference, null, sOptions, null, sApplicationWebRoot,
    sTargetURL, sContentRootURI, null);
    //Create a ServletOutputStream objectServletOutputStream oOutput = response.getOutputStream();
    //Set the HTTPResponse object's content type
    response.setContentType(myOutputContext.getContentType());
    //Create a byte array. Call IOutputContext interface's
    // getOutputContext method
    byte[] cContent = myOutputContext.getOutputContent();
    //Apply Reader Extensions. The form needs to be extended each time
    //before sending to the client. This is a noted bug in Adobe Reader.
    ExtendPDFForm myPDF = new ExtendPDFForm();
    String sContent = Base64.encodeBytes(cContent);
    String extendedPDF = myPDF.extendForm(sContent);
    byte[] pdfDocument = Base64.decode(extendedPDF);
    //Write a byte stream back to the web browser. pass the byte array
    oOutput.write(pdfDocument);
    catch (Exception ioEx)
    System.out.println("Exeption error is: " +ioEx.getMessage());
    Also, the web server, Box2, is set up in a DMZ with firewall settings for the IP and port 8080 opened up between the two, is there something else that may need to be done for these two boxes to communicate??
    Thanks,
    -Jennifer

    Here is the full error message that I am getting:
    When I set the ContentRootURI to my https:// address:
    [STDOUT] Exeption error is: java.rmi.RemoteException: java.io.FileNotFoundException: https:\myWebServer.com:8080\appName\forms\myPDF.pdf (The filename, directory name, or volume label syntax is incorrect); nested exception is:
    com.adobe.formServer.interfaces.RenderFormException: java.io.FileNotFoundException: https:\myWebServer.com:8080\appName\forms\myPDF.pdf (The filename, directory name, or volume label syntax is incorrect)
    When I set the ContentRootURI to my Local file system:
    [STDOUT] Exeption error is: java.rmi.RemoteException: java.io.FileNotFoundException: c:\myLocalFolderName\myPDF.pdf (The system cannot find the path specified); nested exception is:
    com.adobe.formServer.interfaces.RenderFormException : java.io.FileNotFoundException: c:\myLocalFolderName\myPDF.pdf (The system cannot find the path specified)

  • userlib files not being found in built applicatio​n

    Version: 2012 SP1 f5
    Key Words: Build Application, <userlib>, DAQmx
    I have a project with a Main.vi and and a Sub.vi, both of which make multiple calls to DAQmx vi's in libraries (*.llb).
    The project is located in ...LabView 2012\user.lib\this\this.lvproj
    I note that when I build the application using the default settings, Main.vi set as Startup VI and nothing else changed, running the application from its default build directory gives load "errors" in that the application cannot load various DAQmx vi's like:
    <userlib>:\builds\this\My Application\Application.exe\1abvi3w\vi.lib\DAQmx\c​onfigure\task.llb\DAQmx Clear Task.vi
    nor can it find:
    <userlib>:\builds\this\My Application\Application.exe\1abvi3w\user.lib\this\​sub.vi
    But if I change the Destination directory of the build from its default to:
    C:\Program Files (x86)\National Instruments\LabVIEW 2012\builds\this\My Application
    removing the user.lib and moving the build up one level, everything works fine.
    Is this a feature of just my installation? My solution seems different from similar problems that I have read about and I can't find a coherent explanation of what I "fixed" by changing build folders. Wait ... there's a search term I haven't tired "build folder" ... nope. Must have something to do with <userlib>, but I'm missing the terminology to say what the problem is.
    -Gregory

    Saranac wrote:
    And when did user.lib stop being the folder where users put their vi's? Perhaps I'm misunderstanding your points.
    I work with a team of people. We've always kept our VI's in folders in user.lib where eveybody would have access to them. When we recently decided to move all new development from LV8 to LV2012, we started using 'Projects' and naturally put each project in its own folder in user.lib. Obviously compiled dlls and exe would eventually be deployed to new locations when everything worked, but what is so strange about working in user.lib and accepting all the defaults in building an executable?
    User.lib has never been meant to be a working directory for user projects.  It is there for user's to put templates or subVI's intended for reuse.  Also, a location for 3rd party libraries.  It is the location for files that you want to be a part of LabVIEW, but weren't installed with LabVIEW.
    For your working documents (VI's, projects, libraries) they never should be a part of the Program Files folder.  Depending in your user access rights, your IT department may not even let you save files to that directory path.  Documents are meant to be a part of the Documents file structure.  If you need to share it so that multiple users can work on it, it belongs in the All Users directory of the Documents folder as opposed to the My Documents folder of any specific user.  Note that Microsoft has changed the names of these paths over the years.  Documents and Settings has become Users. 

  • Memory Problems with Photoshop CS2 - RAM not being utlized

    I am having memory issues with Photoshop CS2. I have a G5 dual 2.5 with 8 GB of RAM. PS CS2 keeps hanging on me when I'm doing fairly routine tasks with a fairly complex low-res .psd file. It includes several nested layers...etc.
    I noticed while running activity monitor that Photoshop is utilizing a very small percentage of my system's RAM. Approximately 475 MB of the total 8 GB RAM and 1.07 GB of harddrive space for the scratch disk. This seems odd as there is over 6 GB of free RAM while this is happening.
    I've uploaded a screen capture of my activity monitor while Photoshop is hanging. Note that the CPU percentage is above 98%. That's an awful lot of RAM going unused.
    http://www.tramad.com/Memory.png
    Any idea what's going on here? Could it be a corrupt file or font?

    Doesn't completely make sense as I've been using this particular machine for almost two years without any problems working in much more complex and much larger high-res .psd files. I doubt that's what the issue is here. I'm starting to think the file became corrupted...
    Hard to believe that Adobe/Apple haven't issued a fix for the RAM issue yet.
    I also run routine CRON maintenance using Cocktail and have no other issues with any software....

  • Having a problem with the DVD drive not being recognized by the computer

    Compaq Presario CQ60-215DX NOTEBOOK PC, WINDOWS VISTA,  Error 10 when trying to reinstall the driver, says cannot start.
    I went thru the HP troubleshooting and it said to see the mfg of drive to solve problem!  I finally bought a new DVD drive P/N498479-001 for replacement . uninstalled the old drive & then reinstalled the new drive , restarted the computer & it still will not recognize the DVD player! Same error code, same problem. The problem started when I tried to play a CD that appeared to be scratched pretty badly, however my desk top played the CD with out problems? When you click on "computer" the drive does not show up!
    I did install a new router a couple of days before this happened, but I am using a data cable to it, so that should not be a problem. Any Ideas?

    Apple has moved on from Firewire and the current iMacs (and most MBPs) have Thunderbolt, USB3 and USB2.
    There are Firewire toThunderbolt adaptors. Here's one. You also want a four pin to nine pin FW cable to run from your camera to the adaptor.
    Russ

  • Problems with ISO 6 , and not being able to make recieve calls,

    I dont know if anyone else has this problem, I have a IPHONE 4 , and since upgrading i cant make or recieve calls, I have checked with my carrier and they have veryfied that the problem is with my Iphone,
    Any tips on sorting this out, I tried to restore to ISO 5 but keep getting up a error message.  I called Apple support and guy on phone reckons he didnt know about any ISO 6 problems!

    that's weird.. maybe something wrong with your updates, have you tried to donwload the updates again?? how about the sms??

  • Images and .properties(bunldes) files are not being found from my JSPs

    Hi,
    I have created .ear file by using ANT Application. And deployed into Oracle9iAS(OC4J). Here problem is that images and .properties(internationalization bundles)files are not found from JSPs.
    Here is my directory structure.
    public_html--->locale -->BusinessEntity -->businessentity_en_US.properties
    --->enterprise -->images -->knowldege.jpg
    --->BusinessEntity-->BEAdd.jsp
    in my jsp bundle(.properties)file is accessed like this:-
    <i18n:bundle baseName="/locale/-->BusinessEntity/businessentity" id="businessentity" locale="<%= locale %>" />
    in my jsp images accessed like this:-
    src="/enterprise/images/knowldege.jpg".
    In my working environment, without creating .ear file, images and .properties files are being found my JSPs. But if i create .ear file and after deploy, images and .properties files are not being found my JSPs.
    please let me know where i might did wrong
    thanks in advance
    srinivas

    Hi i am again. Here is my configuration files(server.xml and default-web-site.xml)
    server.xml :-
    <?xml version="1.0"?>
    <!DOCTYPE application-server PUBLIC "-//Evermind//DTD Orion Application-server//EN" "http://xmlns.oracle.com/ias/dtds/application-server.dtd">
    <application-server application-directory="../applications"
    deployment-directory="../application-deployments"
    >
         <library path="../tools.jar" />
         <rmi-config path="./rmi.xml" />
         <jms-config path="./jms.xml" />
         <log>
              <file path="../log/server.log" />
         </log>
         <transaction-config timeout="30000" />
         <global-application name="default" path="application.xml" />
         <application name="nalluri" path="../applications/trainiumear.ear" auto-start="true" />
         <global-web-app-config path="global-web-application.xml" />
         <web-site path="./default-web-site.xml" />
         <cluster id="-1640090707" />
    </application-server>
    default-web-site.xml:-
    <?xml version="1.0"?>
    <!DOCTYPE web-site PUBLIC "Orion Web-site" "http://xmlns.oracle.com/ias/dtds/web-site.dtd">
    <web-site port="8888" display-name="Default Oracle9iAS Containers for J2EE Web Site">
         <default-web-app application="nalluri" name="Commonwar" />
         <access-log path="../log/default-web-access.log" />
    </web-site>
    thanks in advance
    wating for reply
    srinivas

Maybe you are looking for

  • My apple tv is not working on my panasonic projector even when I changed the resolution

    My apple tv is not working on my Panasonic projector even when I have changed the resolution to all of the different settings

  • How to set JFrame MEX and MIN size ?

    Hello All, i want to set my jframe meximum and minimum size but i cant find any method please help me. i m thanksfull. Arif.

  • Storing data in database

    create a table called "details" in MS SQL.create a DSN named userdsn that connects to the details table create an app that has 5 text fields and a submit button . when the user clicks on the submit button, a connection should be made to a DSN named "

  • Question on org level values in derived roles

    I have a set of derived roles for a retail org. They have set the org level for the WERKS object to the store number i.e. 0012. in the  M_MSEG_LGO, M_MSEG_WMB,   and M_MSEG_WWE but set it to "" in the  M_MRES_WWA and M_MSEG_WWA. Needless to stay the

  • Column view error

    Hello, I use column view to open indesign files and place textfiles and pictures into my documents. For a couple of weeks every now and then when i want to browse for an document the column view jumps to the first column, leaving the other colums bla