IOException TooManyOpenFiles (File not Found) ???

Hi all,
I am getting filenotfound (too many open files) on this piece of code.
private boolean containsNOURL(String s)
          noURLLock.lock();
          Scanner reader = null;
          try
               reader = new Scanner(new File(NOURL_PATH));
          catch (FileNotFoundException e)
               System.out.println("Again too many files :((");
               return false;
          boolean temp = contains(reader,s);
          reader.close();
          noURLLock.unlock();
          return temp;
     private boolean contains(Scanner reader, String s)
          if (reader == null)
               return false;
          while (reader.hasNext())
               String current = reader.nextLine();
               if (current.equals(s))
                    reader.close();
                    return true;
          reader.close();
          return false;
     }@ this part:
catch (FileNotFoundException e)
               System.out.println("Again too many files :((");
               return false;
          }(I have changed the description later). My application is multi threaded but I have a lock that guards this method so it shouldn't be possible two threads to enter the same file (noURL) at the same time. And contains is the helper method for containsNOURL so no other method uses that method. I am stucked up with this error since my application goes crazy when it fires. So any help will be highly appreciated.
Thanks, regards...

Do you think that I have some Scanners that are still open but have no use?I have no idea - but as noted in reply 1, the OS is refusing to allocate more file handle resources, so I'd start looking for files that were opened but not closed.
Btw, does a scanner close itself directly after it finishes reading the file (I mean
there is no more scannerobject.hasNext()It's not documented to do that. And it would be a bit odd if it did. Scanners are things that iterate over Readables to provide Strings. I wouldn't be happy if a scanner took it upon itself to close its source. It has a close() method, of course, which can be called explicitly, but this is useful because the scanner can tell if the underlying source can be closed. It has no way of knowing if the source should be closed.
Also I don't think it is caused by a "Spider hater" cause first I am only interested in
Turkish documents [...]I only mentioned that because it wasn't clear whether you meant the exception always occured at the same place in your code, or the same place on the Internet. Only if you can find a particular URL that triggers the behaviour, should you investigate. The bait needn't look like bait! In particular it won't be in some client scripting language (because the intended victim probably won't implement scripting!). The telltale sign will be the invisibility of the link (or other resource!) to the browser.

Similar Messages

  • "File Not Found" when addCourse through iTunesU web service.

    I have problem to add Course to my institute's iTunesU site through Web Service.
    I was able to get the xml doc back through showTree operation and here is part of it:
    <Site>
    <Name>my institute's name</Name>
    <Handle>123</Handle>
    <AggregateFileSize>63057465318</AggregateFileSize>
    <Section> <Name>Your Classes</Name>
    <Handle>456</Handle>
    <AggregateFileSize>57423912007</AggregateFileSize>
    <Course>
    <Name>course 1</Name>
    <Handle>111</Handle>
    </Course>
    </Section>
    <Section>
    I was able to get the uploadURL back too. The URL to get the uploadURL request:
    https://deimos.apple.com/WebObjects/Core.woa/API/GetUploadURL/myInstitute.edu.45 6?type=XMLControlFile
    The uploadURL I got back looks like:
    https://deimos2.apple.com/WebObjects/Files.woa/Upload/myInstitute.edu.456/X_1371095208_1a.43c06fa3.467dc4f2/%5Banonymous1371095208%5D/0046e71254900a071aa9241221a469d98ff1ef6fa973544c45ef9 5260dac6c64f05b10aefc
    But when I use the uploadURL above and post the addCourse.xml:
    <ITunesUDocument>
    <AddCourse>
    <ParentHandle>456</ParentHandle>
    <Course>
    <Name>Jing Test iTunesU Web service Course</Name>
    <ShortName>Jing Test</ShortName>
    </Course>
    </AddCourse>
    </ITunesUDocument>
    The response I got
    <error>File Not Found</error> File Not Found
    I used myInstitute.edu.456 to get the uploadURL and set it to ParentHandle on addCourse.xml since 456 is the section handler in whoch I want to add the course.
    I tried to remove 456 from the myInstitute.edu to get the uploadURL and then use it to add course, got the same error.
    Is there something wrong with the URL I used to get the uploadURL?
    here is the code and the values pass to the methodI used to send addCourse request:
    url = uploadURl on above
    name="file"
    fileName="file.xml";
    data=addCourse xml on above
    contentType="text/xml"
    public String invokeAction(String url,
    String name,
    String fileName,
    String data,
    String contentType) throws MessagingException {
    // Send a request to iTunes U and record the response.
    StringBuffer response = null;
    System.out.println("xml doc: ---" + data);
    try {
    // Verify that the communication will be over SSL.
    if (!url.startsWith("https")) {
    throw new MalformedURLException("ITunesUFilePOST.invokeAction(): URL \""
    + url + "\" does not use HTTPS.");
    // Build the multipart data.
    MimeMultipart multipart = new MimeMultipart();
    MultipartFormBuilder.addMultipartFormBody(multipart,
    name,
    fileName,
    data,
    contentType);
    // Create a connection to the requested iTunes U URL.
    HttpURLConnection connection =
    (HttpURLConnection) new URL(url).openConnection();
    connection.setUseCaches(false);
    connection.setDoOutput(true);
    connection.setRequestMethod("POST");
    connection.setRequestProperty("Content-Type",
    "multipart/form-data; boundary="
    + MultipartFormBuilder.getMultipartBoundary(multipart));
    String multipartData = MultipartFormBuilder.getMultipartData(multipart);
    // Send the multipart data to iTunes U.
    connection.connect();
    OutputStream output = connection.getOutputStream();
    output.write(multipartData.getBytes("UTF-8"));
    output.flush();
    output.close();
    // Read iTunes U's response.
    response = new StringBuffer();
    InputStream input = connection.getInputStream();
    Reader reader = new InputStreamReader(input, "UTF-8");
    reader = new BufferedReader(reader);
    char[] buffer = new char[16 * 1024];
    for (int n = 0; n >= 0;) {
    n = reader.read(buffer, 0, buffer.length);
    if (n > 0) response.append(buffer, 0, n);
    // Clean up.
    input.close();
    connection.disconnect();
    } catch (UnsupportedEncodingException e) {
    // ITunes U requires UTF-8 and ASCII encoding support.
    throw new java.lang.AssertionError("ITunesUFilePOST.invokeAction(): UTF-8 encoding not supported!");
    } catch (IOException e) {
    // Report communication problems.
    throw new java.lang.AssertionError("ITunesUFilePOST.invokeAction(): I/O Exception " + e);
    // Return the response received from iTunes U.
    System.out.println("response from ITunesUFilePOST: " + response.toString());
    return response.toString();
    }

    I'm having a similar "File Not Found" error, but it's happening for any API request other than GetUploadURL. I'm sending a POST request to the GetUploadURL, and that part is working correctly, as I get a URL such as the following:
    https://deimos2.apple.com/WebObjects/Files.woa/Upload/wvu.edu/X_1372071795_4d9433be.4c3fdd3d.4c3fdd3e/%22Chris%20Scharf%22%20%3Ccbscharf%40mail.wvu.edu%3E%20%28cbscharf%29%20%5B3258 7%5D/0046eaaaf078cf5d6b60f18926106a50a5050cf8f9c91a7608074e6d2949a8759017969ece
    Then, I've tried using curl (within 90 seconds) to submit a simple XML document containing a ShowTree request:
    <?xml version="1.0" encoding="UTF-8"?>
    <ITunesUDocument>
    <ShowTree>
    <KeyGroup>most</KeyGroup>
    </ShowTree>
    </ITunesUDocument>
    The command executed is "curl -F file=test.xml URL" (where URL is the URL retrieved from GetUploadURL. But I simply get "<error>File Not Found</error>"
    I'm correctly sending credentials, since I'm getting upload URLs. And it's not an issue with the XML document, since it's not even getting to the server.

  • ConfigurationException during deploy "CONFIGURATION FAILED! File not found"

    Hello All,
    The deployment of my adf app. is failing with the following error. Although till yesterday also, it was failing but atleast it was going much farther than this. What is causing this error? I did make changes to config.xml but then restored it. Any help is appreciated. This is critical.
    ####<Sep 14, 2011 1:23:36 PM CDT> <Info> <J2EE Deployment SPI> <brksvw379> <AdminServer> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <u00w669> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae49> <1316024616200> <BEA-260121> <Initiating deploy operation for application, myProject [archive: F:\Oracle\Middleware\user_projects\domains\BPEL_DEV\servers\AdminServer\upload\myProject.ear], to AdminServer .>
    ####<Sep 14, 2011 1:23:47 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <u00w669> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae49> <1316024627386> <BEA-149038> *<Initiating Task for myProject : [Deployer:149026]deploy application myProject on AdminServer.>*
    ####<Sep 14, 2011 1:23:50 PM CDT> <Info> <J2EE> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024630053> <BEA-160170> <Imported library Extension-Name: adf.oracle.domain, Specification-Version: 1, Implementation-Version: 11.1.1.2.0 for Application myProject>
    ####<Sep 14, 2011 1:23:50 PM CDT> <Info> <WorkManager> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024630069> <BEA-002903> <Creating WorkManager from "wm/SOAWorkManager" WorkManagerMBean for application "myProject">
    ####<Sep 14, 2011 1:23:50 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024630272> <BEA-149059> <Module weblogic.xml.registry.XMLModule of application myProject is transitioning from STATE_NEW to STATE_PREPARED on server AdminServer.>
    ####<Sep 14, 2011 1:23:50 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024630272> <BEA-149060> <Module weblogic.xml.registry.XMLModule of application myProject successfully transitioned from STATE_NEW to STATE_PREPARED on server AdminServer.>
    ####<Sep 14, 2011 1:23:50 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024630272> <BEA-149059> <Module empty.jar of application myProject is transitioning from STATE_NEW to STATE_PREPARED on server AdminServer.>
    ####<Sep 14, 2011 1:23:50 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024630272> <BEA-149060> <Module empty.jar of application myProject successfully transitioned from STATE_NEW to STATE_PREPARED on server AdminServer.>
    ####<Sep 14, 2011 1:23:50 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024630272> <BEA-149059> <Module mySubProj of application myProject is transitioning from STATE_NEW to STATE_PREPARED on server AdminServer.>
    ####<Sep 14, 2011 1:23:50 PM CDT> <Info> <HTTP> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024630771> <BEA-101363> <Application: myProject, WebApp: mySubProj has context-root specified in application.xml: "mySubProj". The context-root specified in weblogic.xml: "mySubProj" will be ignored.>
    ####<Sep 14, 2011 1:24:53 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024693171> <BEA-149060> <Module mySubProj of application myProject successfully transitioned from STATE_NEW to STATE_PREPARED on server AdminServer.>
    ####<Sep 14, 2011 1:24:53 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac> <1316024693312> <BEA-149059> <Module weblogic.xml.registry.XMLModule of application myProject is transitioning from STATE_PREPARED to STATE_ADMIN on server AdminServer.>
    ####<Sep 14, 2011 1:24:53 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac> <1316024693312> <BEA-149060> <Module weblogic.xml.registry.XMLModule of application myProject successfully transitioned from STATE_PREPARED to STATE_ADMIN on server AdminServer.>
    ####<Sep 14, 2011 1:24:53 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac> <1316024693312> <BEA-149059> <Module empty.jar of application myProject is transitioning from STATE_PREPARED to STATE_ADMIN on server AdminServer.>
    ####<Sep 14, 2011 1:24:53 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac> <1316024693312> <BEA-149060> <Module empty.jar of application myProject successfully transitioned from STATE_PREPARED to STATE_ADMIN on server AdminServer.>
    ####<Sep 14, 2011 1:24:53 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac> <1316024693312> <BEA-149059> <Module mySubProj of application myProject is transitioning from STATE_PREPARED to STATE_ADMIN on server AdminServer.>
    ####<Sep 14, 2011 1:24:53 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac> <1316024693312> <BEA-149060> <Module mySubProj of application myProject successfully transitioned from STATE_PREPARED to STATE_ADMIN on server AdminServer.>
    ####<Sep 14, 2011 1:24:54 PM CDT> <Warning> <HTTP> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac> <1316024694451> <BEA-101162> *<User defined listener com.sun.faces.config.ConfigureListener failed: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! File not found.*
    java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! File not found
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:294)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1874)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:485)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:637)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:164)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:69)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused By: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! File not found
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:357)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:227)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1874)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:485)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:637)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:164)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:69)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused By: java.io.FileNotFoundException: File not found
    at java.util.zip.ZipFile.open(Native Method)
         at java.util.zip.ZipFile.<init>(ZipFile.java:117)
         at java.util.jar.JarFile.<init>(JarFile.java:135)
         at java.util.jar.JarFile.<init>(JarFile.java:72)
         at com.sun.faces.facelets.util.Classpath.getAlternativeJarFile(Classpath.java:262)
         at com.sun.faces.facelets.util.Classpath.search(Classpath.java:115)
         at com.sun.faces.facelets.util.Classpath.search(Classpath.java:92)
         at com.sun.faces.config.configprovider.MetaInfFacesConfigResourceProvider.loadURLs(MetaInfFacesConfigResourceProvider.java:159)     
    at com.sun.faces.config.configprovider.MetaInfFacesConfigResourceProvider.getResources(MetaInfFacesConfigResourceProvider.java:107)
         at com.sun.faces.config.ConfigManager$URLTask.call(ConfigManager.java:1096)
         at com.sun.faces.config.ConfigManager$URLTask.call(ConfigManager.java:1064)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:642)
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:309)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:226)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >
    I did some more research and found out that method loadURLs of class MetaInfFacesConfigResourceProvider.java is throwing IOException. Is this some kind of class path issue? Please help!
    private Collection<URL> loadURLs(ServletContext context) throws IOException {
    154
    155 Set<URL> urls = new HashSet<URL>();
    156 for (Enumeration<URL> e = Util.getCurrentLoader(this).getResources(META_INF_RESOURCES); e.hasMoreElements();) {
    157 urls.add(e.nextElement());
    158 }
    159 urls.addAll(Arrays.asList(Classpath.search("META-INF/", ".faces-config.xml")));
    160 // special case for finding taglib files in WEB-INF/classes/META-INF
    161 Set paths = context.getResourcePaths(WEB_INF_CLASSES);
    162 if (paths != null) {
    163 for (Object path : paths) {
    164 String p = path.toString();
    165 if (p.endsWith(".taglib.xml")) {
    166 urls.add(context.getResource(p));
    167 }
    168 }
    169 }
    170 return urls;
    171
    172 }
    173
    Edited by: user12054715 on Sep 14, 2011 2:13 PM

    I did a couple of things ( gathered from various posts on OTN). I am not sure which one did the trick but the error is gone now. I am mentioning the steps that I took. Later when I have more time, I will narrow down to exactly what worked.
    1. The following was missing from my web.xml (Thanks Rene!) Added it
    <listener>
    <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
    </listener>
    2. Removed any mention of 'Anonymous-User' from Jazn-data.xml.
    Application tab -> Secure -> Configure ADF Security -> Jazn-data.xml (source tab and removed block of code referring to anonymous user)
    Hope this will help others.

  • 404 File not Found error trying servlet under https

    Hi,
    This is the first time that I've had to work with SSL. I have a servlet that worked fine under regular http. I had to implement SSL and run my site over https. When I try to access my servlet under HTTPS, I get the 404 File not found error. Is there something that I need to setup for servlets to run under SSL in apache or server.xml? or Do I need to modify my JSP and Servlet code?
    I call my servlet from my JSP on the action method of the form like such:
    * JSP call to servlet
    <form action="https://www.benefitserver.com:8081/FDFServlet" method="post">
    * Servlet code
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.net.ssl.*;
    import java.io.*;
    import java.util.*;
    import com.yoursummit.benefitserver.*;
    import com.adobe.fdf.*;
    import com.adobe.fdf.exceptions.*;
    public class FDFServlet extends HttpServlet
    private static final String CONTENT_TYPE = "text/html";
    private String fileout = "";
    //Initialize global variables
    public void init() throws ServletException
    System.setProperty("java.protocol.handler.pkgs","sun.net.ssl.internal.www.protocol");
    java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    //Process the HTTP Get request
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    doPost( request, response);
    //Process the HTTP Post request
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    String planID = request.getParameter("planID");
    String empID = request.getParameter("empID");
    HttpSession session = request.getSession();
              try {
                   FDFDoc outputFDF = null;
                   /* Create a new FDF. */
                   outputFDF = new FDFDoc();
    // Set the form fields with values from the database
    if ( planID.equalsIgnoreCase("31") )
    formDeltaPopulation formDP = new formDeltaPopulation();
    fileout = formDP.populateDeltaForm( outputFDF, planID, empID, request );
    if (planID.equalsIgnoreCase("29") )
    formUnicarePopulation formUC = new formUnicarePopulation();
    fileout = formUC.populateUnicareForm( outputFDF, planID, empID, request );
    if (planID.equalsIgnoreCase("30") || planID.equalsIgnoreCase("32") || planID.equalsIgnoreCase("33") || planID.equalsIgnoreCase("34") || planID.equalsIgnoreCase("35"))
    formSunLifePopulation formSL = new formSunLifePopulation();
    fileout = formSL.populateSunLifeForm( outputFDF, planID, empID, request );
    response.sendRedirect(com.yoursummit.utils.urlRewrite.getServletURL(request,"emp_main.jsp?empID=" + empID));
    } catch(FDFException fdfe) {
    /* We handle an error by emitting an html header */
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    out.println("Caught FDF exception");
    out.println(fdfe.toString());
    fdfe.printStackTrace(out);
    IOException e = new IOException ( fdfe.getMessage() );
    throw e;
    catch(IOException ioe) {
         /* We handle an error by emitting an html header */
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    out.println("Caught FDF exception");
    out.println(ioe.toString());
    ioe.printStackTrace(out);
    throw ioe;
    catch(Exception e) {
    /* We handle an error by emitting an html header */
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    out.println("Caught tomcatDB exception");
    out.println(e.toString());
    e.printStackTrace(out);
    IOException ioe = new IOException ( e.getMessage() );
    throw ioe;
    //Clean up resources
    public void destroy()
    }

    I have been told that there is problem with my configuration of Tomcat. I have followed the documentation found at
    http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ssl-howto.html
    and it doesn't work. I have been working on this for a week now and can't seem to get it to work. Can someone please take a look at it and tell me what I am doing wrong? THANKS!
    I get "HTTP 404 - File not Found" with the URL https://www.benefitserver.com/FDFServlet
    I get "Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request" with the URL https://www.benefitserver.com/servlet/FDFServlet
    I've looked at the log files for Apache and I don't see any errors listed. No errors logged in the Tomcat log file either.
    * httpd.conf
    ## Include line for mod_jk.so (Jakarta-Tomcat installation)
    #Include /usr/home/summimps/usr/local/jakarta/jakarta-tomcat-3.2.3/conf/mod_jk.conf-auto
    LoadModule jk_module libexec/mod_jk.so
    AddModule mod_jk.c
    JkWorkersFile /usr/home/summimps/usr/tomcat4.1.24/conf/worker.properties
    JkLogFile /usr/home/summimps/var/log/mod_jk.log
    JkLogLevel info
    #JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
    #JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
    #JkRequestLogFormat "%w %V %T"
    JkMount /*.jsp benefitserver
    JkMount /solarc/*.jsp benefitserver
    JkMount /servlet/* ajp13
    JkMount /solarc/servlet/* ajp13
    # Should mod_jk send SSL information to Tomcat (default is On)
    #JkExtractSSL On
    # What is the indicator for SSL (default is HTTPS)
    JkHTTPSIndicator HTTPS
    # What is the indicator for SSL session (default is SSL_SESSION_ID)
    JkSESSIONIndicator SSL_SESSION_ID
    # What is the indicator for client SSL cipher suit (default is SSL_CIPHER)
    JkCIPHERIndicator SSL_CIPHER
    # What is the indicator for the client SSL certificated (default is SSL_CLIENT_CERT)
    JkCERTSIndicator SSL_CLIENT_CERT
    <Directory />
    AllowOverride None
    </Directory>
    <Directory "/usr/tomcat4.1.24/webapps/ROOT">
      Options Indexes
      <IfDefine SSL>
        SSLRequireSSL
        SSLOptions +StdEnvVars +ExportCertData +StrictRequire
        SSLVerifyClient require
        SSLVerifyDepth 1
      </IfDefine>
    </Directory>
    <VirtualHost benefitserver.com www.benefitserver.com>
    SSLRequireSSL
    ServerName benefitserver.com
    ServerAdmin [email protected]
    DocumentRoot /usr/local/etc/httpd/htdocs/benefitserver
    TransferLog /usr/local/etc/httpd/logs/bsAccess_log
    ErrorLog /usr/local/etc/httpd/logs/bsError_log
    </VirtualHost>
    * server.xml
    <?xml version='1.0' encoding='utf-8'?>
    <Server className="org.apache.catalina.core.StandardServer" debug="0" port="8006" shutdown="SHUTDOWN">
      <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" debug="0" jsr77Names="false"/>
      <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" debug="0"/>
      <GlobalNamingResources>
      </GlobalNamingResources>
      <Service className="org.apache.catalina.core.StandardService" debug="0" name="Tomcat-Standalone">
        <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
    redirectPort="8443" bufferSize="2048" port="8081" connectionTimeout="20000" scheme="https" enableLookups="true" secure="true" protocolHandlerClassName="org.apache.coyote.http11.Http11Protocol" debug="0" disableUploadTimeout="true" maxKeepAliveRequests="100" proxyPort="0" tcpNoDelay="true" minProcessors="5" maxProcessors="75" acceptCount="100" useURIValidationHack="false" connectionLinger="-1" compression="off">
          <Factory className="org.apache.catalina.net.SSLServerSocketFactory" keystoreFile="//.keystore" keystoreType="JKS" algorithm="SunX509" clientAuth="false" protocol="TLS"/>
        </Connector>
        <Engine className="org.apache.catalina.core.StandardEngine" mapperClass="org.apache.catalina.core.StandardEngineMapper" debug="0" defaultHost="localhost" name="Standalone">
          <Host className="org.apache.catalina.core.StandardHost" appBase="webapps" liveDeploy="true" mapperClass="org.apache.catalina.core.StandardHostMapper" autoDeploy="true" configClass="org.apache.catalina.startup.ContextConfig" errorReportValveClass="org.apache.catalina.valves.ErrorReportValve" debug="9" deployXML="true" contextClass="org.apache.catalina.core.StandardContext" unpackWARs="true" name="localhost">
            <Context className="org.apache.catalina.core.StandardContext" crossContext="false" reloadable="false" mapperClass="org.apache.catalina.core.StandardContextMapper" useNaming="true" debug="0" swallowOutput="false" privileged="false" displayName="Welcome to Tomcat" wrapperClass="org.apache.catalina.core.StandardWrapper" docBase="/usr/tomcat4.1.24/webapps/ROOT" cookies="true" path="" cachingAllowed="true" charsetMapperClass="org.apache.catalina.util.CharsetMapper">
              <Environment name="uploadUrl" override="true" type="java.lang.String" description="URL to display uploaded file in Benefit Server" value="http://www.benefitserver.com:8081/bsup"/>
              <Environment name="exportPath" override="true" type="java.lang.String" description="Export Path for Benefit Server Export Utility" value="/usr/tomcat4.1.24/webapps/ROOT/bsex"/>
              <Environment name="uploadPath" override="true" type="java.lang.String" description="Upload Path for Benefit Server" value="/usr/tomcat4.1.24/webapps/ROOT/bsup/"/>
              <Environment name="tempPath" override="true" type="java.lang.String" description="Temporary Directory for File Upload in Benefit Server - Developm" value="/usr/home/summimps/tmp/benefitserver"/>
              <Resource name="BS_Data" type="javax.sql.DataSource" scope="Shareable"/>
              <ResourceParams name="BS_Mail">
                <parameter>
                  <name>mail.smtp.host</name>
                  <value>localhost</value>
                </parameter>
              </ResourceParams>
              <ResourceParams name="BS_Data">
                <parameter>
                  <name>url</name>
                  <value>jdbc:mysql://localhost/BS_Data</value>
                </parameter>
                <parameter>
                  <name>password</name>
                  <value>kdsusa1350</value>
                </parameter>
                <parameter>
                  <name>maxActive</name>
                  <value>50</value>
                </parameter>
                <parameter>
                  <name>maxWait</name>
                  <value>5000</value>
                </parameter>
                <parameter>
                  <name>driverClassName</name>
                  <value>com.mysql.jdbc.Driver</value>
                </parameter>
                <parameter>
                  <name>username</name>
                  <value>summimps</value>
                </parameter>
                <parameter>
                  <name>maxIdle</name>
                  <value>5</value>
                </parameter>
              </ResourceParams>
            </Context>
            <Logger className="org.apache.catalina.logger.FileLogger" debug="0" verbosity="1" prefix="localhost_log." directory="logs" timestamp="true" suffix=".txt"/>
          </Host>
          <Logger className="org.apache.catalina.logger.FileLogger" debug="0" verbosity="1" prefix="catalina_log." directory="logs" timestamp="true" suffix=".txt"/>
          <Realm className="org.apache.catalina.realm.UserDatabaseRealm" debug="0" resourceName="UserDatabase" validate="true"/>
        </Engine>
      </Service>
    </Server>
    * web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!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>
           <servlet>
                 <servlet-name>FDFServlet</servlet-name>
                 <servlet-class>FDFServlet</servlet-class>
           </servlet>
           <servlet-mapping>
                <servlet-name>FDFServlet</servlet-name>
                <url-pattern>/FDFServlet</url-pattern>
           </servlet-mapping>
    </web-app>

  • Preverify doesn't work. Always return error 2 "File not found"

    Hello,
    I have this configuration:
    - Latest JDK and JRE
    - Ubuntu Linux 7.10 64 bits
    - NetBeans 6RC2 Mobility Pack
    When I try to build a project, NetBeans returns:
    Preverifying 6 file(s) into /home/alfredbaudisch/NetBeansProjects/GameBuilderDemo2/build/preverified directory. 
    java.io.IOException: Cannot run program "/home/alfredbaudisch/Desenvolvimento/Utils/WTK2.5.2/bin/preverify": java.io.IOException: error=2, File not found
    Then I downloaded WTK 2.5.2 by myself and tried to build it using the toolbar:
    Creating project "GameBuilderDemo2" 
    Place Java source files in "/home/alfredbaudisch/j2mewtk/2.5.2/apps/GameBuilderDemo2/src" 
    Place application resource files in "/home/alfredbaudisch/j2mewtk/2.5.2/apps/GameBuilderDemo2/res" 
    Place application library files in "/home/alfredbaudisch/j2mewtk/2.5.2/apps/GameBuilderDemo2/lib" 
    Settings updated 
    Project settings saved 
    Building "GameBuilderDemo2" 
    java.io.IOException: Cannot run program "/home/alfredbaudisch/Desenvolvimento/Utils/WTK2.5.2/bin/preverify": java.io.IOException: error=2, File not found 
    Build failed  Any suggestion?
    Thanks.
    Edited by: AlfredBaudisch on Nov 25, 2007 1:36 PM

    The problem was that WTK was not accepting JRE 64-bits, then I installed JRE 32-bits and set up WTK to look for it.
    I wrote an article about the platform Ubuntu + NetBeans 6:
    http://mobiledeveloper.auriummobile.com/index.php/2007/11/25/perfect-java-development-platform-with-ubuntu-710-and-netbeans-6/
    Edited by: AlfredBaudisch on Nov 25, 2007 6:47 PM

  • JBO:33001 bc4j.xcfg file not found in class path

    Hi,
    I am yet another victim of the age-old error JBO:33001 bc4j.xcfg file not found in class path, When i have my BC4JApp.jar in Tomcat Web-inf/lib directory. All the other jar files and class files in my webserver-application web-inf classes and lib directory works.
    But Tomcat server is not able to read this bc4j.xcfg file. I can see in my jar file that this bc4j.xcfg exists and in the specified package directory. still the problem persists. My BC4JApp.jar is perfectly working when i use JDeveloper. but not when i use tomcat4.0 and call a JSP using BC4JApp.jar from browser (My environment is Jdeveloper3.2, Tomcat4.0+IIS in middle tier and oracle 8i as DB, everything on windows2k)
    I have gone through almost all the threads possible that relates to this error in this form. None of them have a answer except to say "put the file in classpath". and last reply is "will fix in jDeveloper 9i. So what happens to us who are working in Jdeveloper 3.2?
    1. I have this file in my jar file.
    2. I also tried creating a seperate directory manually, with the same name as my package under web-inf/classes, web-inf/lib , just under web-inf directory and atlast under approot directory also. I tried having my package directory containing bc4j.xcfg in these folders one at a time and also tried having this directory in all these folders at the same time.
    Still no solution.
    Itz frustrating that neither proper documentation nor a right url page nor i am aware of available addressing this. page links given in above threads only gives me the wonderful page of ie's "Page cannot be displayed".
    Is there a answer to this error and my problem. If this doesn't work, then i have to all the way develop from scratch creating my jsp using JDBC calls and Stored packages etc.
    I don't want to give up on this Jdeveloper at this final moment because if this bc4j.xcfg file is found, my application will work perfectly. on these final moments, if this doesn't work, i am frightened to imagine to develop my application in standard way. Atlast, if thatz the option left,we have to do that bcos our production date is close by.
    Please can some one in this forum or Jdeveloper help me to solve this problem. I am desperate and very urgent.
    Waiting for a reply from Jdev team very much...
    ( I just posted in the other thread which is pretty old, dated backto May 2001, which was relevant to this error. Just to make sure it is noticed, I am posting it seperately too)
    Thanks
    Hari(2/3/02)

    Hi All,
    For those who are following this thread, I got a solution for this error with the help of Jdev Team.
    This solution may work, if you have deployed your application in Tomcat4.0.1. This is the environment in which I work and tested.
    As you may be aware, Tomcat ignores value in CLASSPATH variable.
    To see any files that are existing or newly deployed, it has it own way of detecting it.
    Addition information on Tomcat working, you can follow this link,
    http://jakarta.apache.org/tomcat/tomcat-4.0-doc/index.html
    Coming to point, Tomcat has got five classloaders and each classloader invoked, looks in their related directories for files in following order.
    1. /WEB-INF/classes of your web-application
    2. /WEB-INF/lib/*.jar of your web application
    3. BootStrap classes of your JVM (Tomcat's $JAVA_HOME/jre/lib/ext)
    4. System class loader classes($CATALINA_HOME/bin/bootstrap.jar,CATALINA_HOME/lib/tools.jar)
    5. $CATALINA_HOME/common/classes
    6. $CATALINA_HOME/common/lib/*.jar
    7. $CATALINA_HOME//classes
    8. $CATALINA_HOME/lib/*.jar
    So All your individual application related files should be deployed in your application's WEB-INF/classes or WEB-INF/lib directory accordingly.
    If your application files are unpacked, they should be deployed or copied under WEB-INF/classes directory
    if the files are within a jar, they should be under WEB-INF/lib directory.
    If your Jar-files contains bc4j components, then those jar files should be deployed under WEB-INF/lib directory. Also,do the next step to copy all relavant BC4J runtime libraries under lib directory.
    IMPORTANT: Please remember to copy and paste all the required BC4j runtime libraries in the Same WEB-INF/lib directory along with your application jar files. This is the real reason which can solve this JBO:33001 to disappear. It worked for me.
    To configure your directory for tag-lib uri's, use web.xml to set the taglib-uri attribute.
    Put your web.xml and DataTags.tld in the WEB-INF directory.
    Your simple web.xml may look like as follows.
    <?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>
         <taglib>
              <taglib-uri>
                   /webapp/DataTags.tld
              </taglib-uri>
              <taglib-location>
                   /WEB-INF/DataTags.tld
              </taglib-location>
         </taglib>
    </web-app>
    You may then modify this web.xml to suit further requirements of your application.
    Remember to stop and restart the Tomcat Server (service) by using shutdown and startup scripts after updating any jar files/class files/ JSP or source files deployed in Tomcat.
    Sometimes, only this helps even though your context's reloadable attribute is set to true in Tomcat Server's server.xml file.
    Hope this above information helps you to solve this error in Tomcat environment. My Sincere thanks once again to Juan and Jdev team for their help and efforts to solve this problem.
    Thanks
    Hari

  • Error on WWI server EHS_GLM_GENSERV: Results file not found on production

    Hi Experts,
    I need some help/advice. We have issues with our new EH&S WWI server. 
    This new setup working OK with Dev and QA (the WWI and GLM part is just fine), We did try to link this server to production then it gives below error.
    Only difference between  existing WWI QA and production server is that
    Existing QA and development WWI server installed at location C:\Program Files (x86)\EHS\WWI 
    And Same path maintain on new server C:\Program Files (x86)\EHS\WWI  
    But existing production WWI server installation path  is  different C:\Program Files\EHS\WWI
    So is there any customizing changes required from SAP side to avoid this error on production
    Can you please advise on this.
    ================================================================================
    Error on WWI server EHS_GLM_GENSERV: Results file not found
    Message no. C$830
    Diagnosis
    The results file of the generation was not found on the WWI server EHS_GLM_GENSERV.
    System Response
    Generation was not carried out.
    Procedure
    Advise your system administrator to check the WWI installation on the WWI server EHS_GLM_GENSERV.
    Check the Windows event log on the WWI generation server. The event log may contain other error messages.
    SAP Note 1058521 provides possible solutions for this error.
    ==================================================================================
    Log shows
    ============================================================================================================================================
    E000 Error: OLE Exception (-2146823114) from Word8_OpenDoc (docs.Open) by Microsoft Word: This file could not be found. (C:\Windows\...\r00000000000001422051.rtf) (HRESULT Code:5174)
    E000 Error opening document (Word8_OpenDoc: Documents.Open failed)
    ================================================================================================================================================

    Hello Gajanan,
    the path of the temporay workfolder can be configured in the IMG. Often this path is setup as the WWI server installed location but it is just a temporay workfolder which must exist on the WWI server. The path can be configured under:
    For ECC 6.0 Ehp 0-2 and lower
    Environment, Health and Safety -> Basic Data and Tools -> Basic Settings -> Specify Environment Parameters
    For ECC 6.0 Ehp 3-6
    Environment, Health and Safety -> Product Safety -> Global Label Management -> Make Settings for Basic Data
    For ECC 6.0 Ehp 7
    Environment, Health and Safety -> Global Label Management -> Set Basic Data and Tools for Global Label Management -> Make Settings for Basic Data

  • I have lightroom 5.7 and a macbook pro 10.9.5.  Occasionally when I am editing a photo in the develop module, I suddenly get a "file not found" message and the editing ceases to work.  There is no "exclamation" icon below the histogram box in the Library

    I have lightroom 5.7 and a macbook pro 10.9.5.  Occasionally when I am editing a photo in the develop module, I suddenly get a "file not found" message and the editing ceases to work.  There is no "exclamation" icon below the histogram box in the Library module or on the photo in grid view, and the histogram is gone.  What is going on? Trying to find it using the "find missing photos" in the library menu does nothing.

  • ITunes:  "File not found"

    I have been having a problem for quite some time with iTunes and I can't seem to get an answer as to how to resolve it. On many of my songs listed in the iTunes library, when I click on the song I get an error message to the effect of "File not found. Would you like iTunes to try to locate this file?", and when I say "yes" to this, I get my "iTunes Music" folder (where my music files are stored) and I have to search around and find the file (which I am usually able to do) and then it plays. However, when sometime later I may try to play the song again, I get the same error message and have to go through the same process. Can anyone explain why this may be happening and how I can prevent it from happening again? What is the simplest way to store your music files on your hard drive to ensure iTunes captures everything and does not have difficulty locating files? Many thanks for your help and advice!

    This really shouldn't happen. There are no setting in iTunes to prevent it.
    If you want to do a bit of detective work, you find out where iTunes this the missing file is located.
    If you want to try this, identify a track or two with exclamation marks.
    Open iTunes Library.xml with WORDPAD. (it's in the iTunes folder)
    Use search to look for the track or album name. If you know the actual file name you can use that but watch out for spaces, the space character is represented by %20.
    WHen you have found a track or album you need to scroll to the line starting:
    <key>Location</key>
    This contains the path and file name.
    Is it correct, or something different?
    That might give you clue about files being moved or renamed.
    If it is all correct them something odd is happening with iTunes.
    Message was edited by: polydorus

  • Why am I getting File not Found alert when I type into my browser?

    Why do I keep getting a File not Found alert when I type into my browser?
    I have been using firefox for about 4 yrs now with very few problems. The problem I am having is that when ever I go to type in anything into my browser I keep receiving this message:
    (Scroll down to see the rest)
    File not found
    Firefox can't find the file at jar:file:///C:/Program Files (x86)/Mozilla Firefox/omni.jar!/chrome/en-US/locale/browser-region/region.propertieschronic+fatigue+syndrome.
    I recently installed Firefox 5.0 and this keeps happening. It happened with the 4.0 version a couple of days ago but mostly it is the 5.0 version that I am having problems with. When ever I want to do a search I have to manually type in google.com. Is there a solution to fix this?

    The NuGet is a dll that was built with 4.0.0.0.  The easiest thing to fix problem is target you VS project to use Net 4.0.  You could get a new version of NuGet, but if you do make sure you rebuild your entire project.  The dependencies in
    the VS compiler doesn't always recognize updated libraries.  So I normally rename the bin folder in the project and then delete the bin folder.  VS will create a new bin folder and then rebuild all the source files.  If your project contains
    multiple projects then remember to delete the bin from all projects.
    jdweng

  • Cannot delete file error -43 file not found

    I cannot find and/or delete a file. The error is -43 file not found. It prevents me form making a backup with carbon copy.
    The file was in applications / illustrator / legal / strangecharacters.html (now in trash) and size 112kb.
    I am the admin of the machine on OSX 10.4.8
    I have read & write permissions
    Owner og the file is system.
    I cannot change the filename: Unexpected error code -43!
    I cannot change owner: Unexpected error code 213!
    I cannot drag the file out of the containing folder i.e. legal (i get grayed stop icon instead of the expected green plug icon at the mouse pointer).
    I can drag the legal folder around i.e. to the trash.
    I can not delete the folder and its contents with empty or secure emtpy trash.
    I tried:
    Repairing privileges. Nothing to repair, all is well.
    Rebuilding Locate Database but got 'cannot find the file code-43' while the folder was still in its original location: applications / illustrator /
    I logged out and back as admin and different user.
    I restarted.
    I tried to delete the file via Terminal with rm and with command below as suggested by apple technote. The result is not as desired:
    % chflags -R nouchg /Users/macuser/.Trash/Legal\ 22-06-59/Tie\314\202\314\201ng\ Vie\314\202\314\243t.html
    chflags: /Users/macuser/.Trash/Legal 22-06-59/Tiếng Việt.html: No such file or directory
    I started up from a different volume and tried the above.
    Anyone?

    as in my previous post, i found that part of my hard drive directory was corrupt. .ie. short version: there was a discrepancy between what the directory knew to be on the disk and what the finder showed me...
    so i did a startup in single mode (command-s) and type fsck -fy at the prompt to do a disk repair. took aout three runs and 20 minutes but after that i got the desired message: disk appears to be ok. i typed reboot which restarted the machine. i then ran disk utillity repair privileges.
    everything now is fine.
    note: working with bluetooth keyboard and mouse in single mode worked on my G5 (not sure though if this applies to all models), also fans make a lot of noise, like your machine is about to take off... dont worry)
    hope this helps
    G5dual   Mac OS X (10.4.5)  

  • How to embed audio to my website using quicktime when I get "file not found

    hi,
    i've been trying to embed audio into my website all night and I get a file not found message even though I;ve checked 100 times and all files are where links say they should be..
    but even just linking to audio (mp4) files won't work...
    everything is o.k. with non-audio links on my website - only the mp4 audio can't be found.
    can anyone help me? or post the correct code?
    I've tried using these formats..
    <EMBED SRC="anymovie.mov" HEIGHT=176 WIDTH=136>
    <embed
    src="http://www.crossandthrone.com/.samples/qt/sample-reference2.mov"
    width="242" height="199" autoplay="false" loop="false"
    controller="true" bgcolor="#666666"
    pluginspage="http://www.apple.com/quicktime/"></embed>
    the pages that should play audio just have a quicktime file with a question mark on them
    help would be much appreciated!

    Start here:
    http://www.mediacollege.com/video/streaming/
    --Nancy O.
    Alt-Web Design & Publishing
    www.alt-web.com
    "subdued2u" <[email protected]> wrote in
    message
    news:gbg2th$r13$[email protected]..
    > Hello ,guys, i have a website,, and i would like to add
    upload vidoes on
    my
    > website i have tried but did not work can anyone please
    tell me how to
    embed my
    > videos in my website using dreamwever ?
    > thank so much
    >

  • Removing warning for "Default CSS file not found."

    I am getting this warning in Flash Builder:
    "Default CSS file not found."
    I can not for the life of me figure out how to get rid of it. Any suggestions?

    Default css file can be specified as a compiler option (per SWC, I think).
    See http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_14.html
    For example, flex framework has a default CSS file: C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\3.5.0\frameworks\projects\framework\default.css
    Do you have some library project or a swc with default css file option turned on, but the css file is missing?

  • I get error message''one file not found'' when tring to sync Ipod Nano 6th gen to I tunes. Help

    I get error message''one file not found'' when tring to sync Ipod nano 6th gen to Itunes. Help

    See:
    iTunes cannot sync... apps not determined installed on...: Apple Support Communities
    installed apps could not be determined...: Apple Support Communities

  • 'Error loading plugin: Plugin file not found' message on ONLY 5 sites, but all others OK.  Help, please!

    Hi Again!
    I posted this problem here before, but since I really need to access the sites that receive this error message in less than a month, I had to re-post; hopefully someone who didn't see it before will see it & have a solution for me.
    Here are the details:  I'm running windows 8.1 & I use Firefox 33.1.1, Pale Moon 25.1.0 or Opera 26.0 as my browsers, (I have IE installed & up-to-date, but I never use it).  I followed the 10-point checklist on Adobe & everything was done, except for "uncheck Hardware Acceleration" in Flash 'Settings'; I tried to uncheck it on this site, where it's indicated, as well as in my 4 browsers when I'm doing something that uses Flash, but no matter how hard I try, I can't 'uncheck' the check mark in that tiny box!  Since this error problem only affects 5 web sites, & I can watch streaming media on all other sites, I don't think it's an issue. 
    Here's how this problem began:  I was watching a live, streaming nest-cam on 5/09/14 around 11:00AM, (yes, I DO know the exact time & date, because it happened so suddenly while I was watching this website that I'd been watching since the end of February, 2014), when my screen went black.  I thought it was probably an Adobe Crash, but when the usual Crash Report window didn't show up, I just closed Firefox & reopened it, expecting to resume watching the nest-cam.  When I went back to the site, I got the black screen with the "Error loading plugin: Plugin file not found" message.  The chat portion on the site still works, though. I know there are other sites with this nest-cam feed, so I started trying them, but it took several tries for me to find one that didn't get the error message! I posted this problem on "Windows BBS" forum, & someone else posted that the same thing happened to them AND on the same sites!  They didn't have a solution, either.  I cleared my cache, rebooted my PC & even did a System Restore, but whatever happened in that brief second made using ONLY 5 sites impossible.  Here are the sites that receive the error message:
    http://pixcontroller.com/eagles, (but I CAN go to http://pixcontroller.com, but there isn't any streaming media)
    http://cbslocal.com/eagles
    http://westmorelandconservancy.org/BlueBirdwebcam-1.htm
    http://wildearth.tv/cam/pittsburgh-bald-eagles, (I get the error message on ALL cams on this site)
    http://aviary.org/BE-NestCam1 (I get the error message on ALL cams on this site)
    Now if any videos from the 5 websites above are uploaded to YouTube, I can watch them perfectly...no error message if I watch the videos elsewhere.  Luckily, I found Ustream, & they have most of the nest cams I watch, but I need to fix this issue, because it's nearing nesting time!  I'm an amateur nest-watcher & it's vital that I have access to these 5 sites, so if anyone knows how to fix this, PLEASE tell me!
    Thanks for taking the time to read my post.
    All suggestions/solutions are gratefully accepted.
    Thanks in advance for your help!
    DogPal 

    File Not Found Error in Welcome Screen
    07-Nov-2013 10:25
    Tags: #dreamweaver_cs6_update
    Help please!
    Live preview also not working.
    I have exactly the exact problem described below but do not have a folder with the same name as the volume created under the volume. Please can someone help - I've tried everything. This problem only happened when I upgraded to Dreaweaver CC!
    "On launching Dreamweaver on your Macintosh if your Welcome Screen is not loading and if you see a "File not found" error, please check if you have a folder with the same name as your volume created under the volume. For more info on this please go through the attached pdf document. Other dialogs/panels in dreamweaver that will be blank due to this issue are Jquery Swatches panel, Adobe Edge Webfonts tab in Manage Fonts dialog,W3c Error Info dialog, Externalise Javascript dialog and svn revert dialog. After following the changes mentioned in the attached document please check all the affected dialogs/panels to confirm everything is working as expected."
    Thanks,
    Martin Bond
    [personal information removed by moderator]

Maybe you are looking for

  • Where can I find the app upgrade feature in genius???

    Please see the screen shot above. This was from an article dated 2010 when genius first came out. It stated that genius had a feature that would let you know what apps that you had installed on an iphone could be upgraded to the app made for ipad. Ha

  • DB statistics for BW DSO table

    Hello, We have performance problems with one of our DSO tables which contains 16m rec of CATS data. The ABAP program reads from the DSO table by sec.index (trace shows that the index is used) but still we get like 500k cpu and 280 iocost. I was looki

  • How to create scheduled GANTT with subresources?

    Hi, Jdev 11.1.1.2.0 I want to create a scheduled GANTT where the first column contains a group name and the second column the name of the resource. I could found examples for project GANTT where the first column is a group which can be collapsed. But

  • PNG or JPEG images in Flash not showing up after publishing from Captivate

    Hello, I'm new to this forum and relatively new to working with Captivate. Hopefully there is someone here with more experience that can shed some light on a problem I'm having. I'm creating a presentation using Captivate4 that includes animation seq

  • Virus on my computer wiped out all my music files...

    I recently got a virus on my computer that wiped out all my files, including my all my music files. I downloaded iTunes again, but it says that my ipod is associated with another computer, and will not sync my music into the newly downloaded iTunes.