Challenge locating server resource :)

Hi All,
I have written a servlet and accompanying javabean who's intended function is to determine image characteristics on the server. The characteristics that I am interested in are the images height and width in pixels.
I am using Tomcat version 5, and the images that I am interested in determining characteristics of are stored in the following directory location.
G:\Tomcat-5.5.9\webapps\ferngully\images\craftstamps\largeThe code that constitutes my image characteristics determining javabean is as follows:
package craftstamps;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.net.*;
import javax.imageio.ImageIO;
import javax.servlet.*;
import javax.servlet.http.*;
public class ImageCharacteristics
  private final String urlPrefix = "/ferngully/images/";
  private BufferedImage img;
  private int height;
  private int width;
  private URL imageURL;
  public ImageCharacteristics()
   * Locates and loads relevant image file.
   * @param imageSource Sets search location of image file
  public void setImageSource(ServletContext servCont, String imageSource)
    String imageLocation = urlPrefix + imageSource;
    System.out.println("Inside setImageSource(), selected image source is " +
                       imageLocation);
    try{
      imageURL = servCont.getResource(imageLocation);
      img = ImageIO.read(imageURL);
      height = img.getHeight();
      width = img.getWidth();
    }catch(IllegalArgumentException iae){
      System.out.println("IllegalArgumentException: " + iae.getMessage());
    }catch(IOException ioe){
      System.out.println("IOException reason: " + ioe.getMessage());
    }catch(NullPointerException npe){
      System.out.println("Null Pointer: " + npe.getMessage());
   * Determines the height of a given image file.
   * @return  Height of selected image as an int.
  public int getHeight()
    return height;
   * Determines the width of a given image file.
   * @return  Width of selected image as an int.
  public int getWidth()
    return width;
}The relevant servlet code used to access the desired characteristics is as follows:
ServletContext servCont = getServletContext();
String imageLocation = "craftstamps/large/" + productCode;
ImageCharacteristics imgCharacter = new ImageCharacteristics();
imgCharacter.setImageSource(servCont, imageLocation);
.....The "productCode" variable represents the name of the image (jpeg) that is to be characterized, e.g.:
S1_1G4BA.jpgWhen I run Tomcat I get the following exception report:
Inside setImageSource(), selected image source is /ferngully/images/craftstamps/
large/S1_1G4BA.jpg
IllegalArgumentException: input == null!The above error appears to be indicating that the server doesn't know where the image is located!
If anybody has any suggestions as to how I can fix this challenge they will be greatly appreciated.
Thanks
Kind Regards
Davo

"/" always refers to your context in j2ee web applications.
So if frengully is your context, then "/" will refer to the 'ferngully' folder which would be your web-root folder too incidentally.
This in turn means, your url-prefix in code ought to be as below.
private final String urlPrefix = "/images/";cheers,
ram.

Similar Messages

  • File Server Resource Manager 2012 - Fails to generate storage report - Event ID: 8242 and 602

    Installed file server resource manager roll on new 2012 file server.   When I attempt to run a dup report on the local volume, I received an error message: "the report generation task failed with the following errors: Error generating report
    job with task name".  "
    Event ID 8242 and 602 are logged in the event viewer.
    Log Name:      Application
    Source:        SRMSVC
    Date:          6/24/2013 11:11:03 AM
    Event ID:      8242
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      xxxxxxxxxxxxxxxxx
    Description:
    Reporting or classification consumer '' has failed.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SRMSVC" />
        <EventID Qualifiers="32772">8242</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-06-24T16:11:03.000000000Z" />
        <EventRecordID>1276</EventRecordID>
        <Channel>Application</Channel>
        <Computer>xxxxxxxxxx</Computer>
        <Security />
      </System>
      <EventData>
        <Data>
        </Data>
        <Data>
    Error-specific details:
       Error: (0x80131501) Unknown error</Data>
        <Binary>2D20436F64653A20434E534D4D4F444330303030303234332D2043616C6C3A20434E534D4D4F444330303030303231322D205049443A202030303030333036302D205449443A202030303030333734382D20434D443A2020433A5C57696E646F77735C73797374656D33325C73726D686F73742E657865202D20557365723A204E616D653A204E5420415554484F524954595C53595354454D2C205349443A532D312D352D313820</Binary>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        SRMREPORTS
    Date:          6/24/2013 11:11:03 AM
    Event ID:      602
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      xxxxxxxxxxxxxxxxxxxx
    Description:
    Error generating report job with the task name ''.
    Context:
     - Exception encountered = System error.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SRMREPORTS" />
        <EventID Qualifiers="0">602</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-06-24T16:11:03.000000000Z" />
        <EventRecordID>1277</EventRecordID>
        <Channel>Application</Channel>
        <Computer>xxxxxx</Computer>
        <Security />
      </System>
      <EventData>
        <Data>Error generating report job with the task name ''.
    Context:
     - Exception encountered = System error.
    </Data>
      </EventData>
    </Event>
    When I click on schedule a new report task, I get an error "Class not registered".
    nada

    Hi,
    When we schedule a new job, we add a scheduled task to the c:\windows\tasks folder.
    The scheduled task will contain the following command line
    "c:\WINDOWS\system32\storrept.exe reports generate /scheduled /Task:"FSRM_Report_Task{GUID.......}"
    There is also a folder on the system drive
    C:\StorageReports\Scheduled
    We Also store information in the system volume information folder in the following files:
    c:\system Volume Information\SRM\Settings\ReportSettings.xml (we use .old and .alt extentions}
    c:\system Volume Information\SRM\reports\reportX.xml (where X = an incrementing number set, in writing to these files, we also use .old and .alt extentions}
    When experiencing issues relating to scheduled report jobs, you will want to examine these files and check for NTFS permissions issues on these locations also.
    Make sure you check the volume that you will be running the report on.
    TechNet Subscriber Support in forum |If you have any feedback on our support, please contact [email protected]

  • Remote Access Management Console - configuration issue with Network Location Server

    2012 Std R2
    The remote Access management console operation status shows  all green except for network location server .
    Error: There is no response from the network location server URL. DirectAccess connectivity might not work as expected, and DirectAccess clients located inside the corporate network might not be able to reach internal resources.
    Resolution listed as:
    1. Configure the network location server on a server that is highly available to clients on the internal network.
    2. If the network location server is running on the Remote Access server, ensure that IIS is running, and that the URL is available.
    The remote access server is located on this server. IIS is running. What URL: show I be looking at?
    Any other thoughts so I can get remote access working.
    l also am getting a remote access error for IPV6, could this be a cause:
    RoutingDomainID- {00000000-0000-0000-0000-000000000000}: Unable to add the interface {D37062B2-A3E0-4496-A459-9E0BBCE5423C} with the Router Manager for the IPV6 protocol. The following error occurred: Cannot complete this function.
    John Lenz

    Hi John,
    please follow the steps to reinstall TCP/IP stack.
    1.Restart your PC into Safe Mode with Networking.
    2.
    Edit your registry. Delete the following keys:
    HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Winsock
    HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Winsock2
    3.
    Open the nettcpip.inf file in your %winroot%/inf folder
    (%winroot% is usually c:/windows).
    Find the [MS_TCPIP.PrimaryInstall] section. Change the Characteristics value from 0xA0 to 0x80.
    Open the properties of the network connection you want to fix. In the General tab, click on the Install button. Click on the Have Disk button, and point the location to %winroot%/inf. After that select TCP/IP (not version 6).
    4.
    Now you would notice that you can uninstall TCP/IP!
    Do that, then restart the PC.
    Go back to your network connection, and install TCP/IP again as per the above. After another reboot, you should be up and running.
    I also noted that the XP network repair tool may yank out the ISA 2004 firewall client stuff. Just run the firewall clinet repair or install it again to fix that problem after you did your reboot. Before you do this kind of crazy stuff.
    5.
    This along with a TCP/IP reset using the netsh command:
    netsh int ip reset resetlog.txt
    wish you have a nice thanksgiving too
    Regards,
    Mike
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Viewing location and resource details in iCal

    Hi,
    I'm trying to better understand the use of the ICal Server Utlity for creating shared resources and locations. I'm still a SLS Server user (no plan to migration to Lion server soon), and all my users are using Lion.
    Simply put, I have rooms I'd like my users to reserve. I've created them in iCal Server Utility and I can see and reserve them in iCal, so that's fine.
    However, the locations (and resources for that matter) have extra "metadata" such as address, map, location, capacity and even a picture. But I've seen no way to let my users visualize this information. Browsing the directory through Address book does not return any of my resources so all this metadata seems lost.
    Is there a way to let my users access this info? For example, I'd expect my users to right-click the conference room in iCal and view the resources' details, but this clearly doesn't work... :-(
    Have any of you resolved this? Is an extra application required for this, e.g. browse the metadata of Open Directory locations and resources?
    Thanks.

    Hello
    If you are creating the orders using MRP, you should make sure that the field MRP is set to 1 on the source list. The field 'fixed vendor' is not relevant to MRP. When the vendor is selected from the source list, the purchasing organization should be also copied to the purchase requisition.
    The storage location will be copied from the respective field on the material master tab MRP2.
    Also take a look on the following document:
    MRP: Vendor is not selected and general problems on source determination
    BR
    Caetano

  • Directory Server Resource Kit - ldapsubtdel

    Hi
    I'm trying to locate the ldapsubtdel command which I understand come's with the Directory Server Resource Kit. I have downloaded version 5.2 but ldapsubtdel is not included. Is there a latter version that I should be using?
    DJC

    The program is part of the DSRK in 6.x. I too don't have it with my 5.2 DSRK. In 6.x, it is available as <serverroot>/dsrk6/bin/ldapsubtdel

  • Http to RFC [http adapter issue] - The system can not locate the resource.

    Hi,
    When I post the message with http client, I am getting the below error.
    Line 33: The system can not locate the resource specified.
    i.e --> xhttp.send (payload);
    It is a java script error.
    Result URL:
    http://xxx.xxx.xxx.xxx:8000/sap/xi/adapter_plain?namespace=http%3A//www.cisco.com/httptobapi&interface=MI_request_response_cisco&service=BS_HTTP_CISCO&party=&agency=&scheme=&QOS=BE&sap-user=xxxxX&sap-password=xxxx&sap-client=500&sap-language=EN
    Any idea what went wrong?
    Thanks
    Balaji

    hi,
    I have given all the details correct.
    Server Host,Port, Client, Sender Service, Interface and namespace and then payload.
    It looks like problem is with http client. It is not posting the data correctly.
    I tried on 2 different systems.
    On one system it gave a problem at line 33 which i mentioned at the first post.
    And second system gave line: 27 Permission denied.
    Line 27 :  xhttp.open ("POST", reqString, false);
    Payload:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_request_sales_cisco xmlns:ns0="http://www.cisco.com/httptobapi">
      <Customer_Number>1002</Customer_Number>
      <Sales_Organization>1000</Sales_Organization>
    </ns0:MT_request_sales_cisco>
    Thanks
    Balaji

  • Unable to add File Server Resource Manager Tools on Windows Server 2012 - Errors on restart and roll back install

    Unable to install Windows Server 2012 Feature -  [Tools] File Server Resource Manager Tools.
    Installs, however when I restart the server error messages appears saying feature unable to install, windows reverting changes.
    In the Setup event logs have the following information message "Update FSRM-Infrastructure of package FSRM-All failed to be turned on. Status: 0x800f0922"
    Does anyone have any idea's on why this Feature can not be installed ??
    Scott

    Hi Shaun
    Tried both of your suggestions, however neither strategy worked.
    Strategy 1
    Tried installing via powershell - "install-windowsfeature -name fs-resource-manager -includemanagementtools"   
    Feature un-installed itself during the restart.
    Attempted to use the command "DISM /online /remove-feature /featurename:FSRM-Infrastructure-Services".  However
    this did work because one the Service was'nt installed or two because there was no command option for "/remove-feature"
    PACKAGE SERVICING COMMANDS:
      /Add-Package            - Adds packages to the image.
      /Remove-Package         - Removes packages from the image.
      /Enable-Feature         - Enables a specific feature in the image.
      /Disable-Feature        - Disables a specific feature in the image.
      /Get-Packages           - Displays information about all packages in the image.
      /Get-PackageInfo        - Displays information about a specific package.
      /Get-Features           - Displays information about all features in a package.
      /Get-FeatureInfo        - Displays information about a specific feature.
      /Cleanup-Image          - Performs cleanup and recovery operations on the image.
    Strategy 2
    Tried installing via powershell, using the following command DISM
    /online /enable-feature /featurename:FSRM-Infrastructure-Services, however got the same result, the install backed out during the restart.
    All up back to where I started?

  • File Server Resource Manager will not load WMI Objects on Windows 8.0/8.1 Preview with Hyper-V and Server Tools Loaded

    Hi Folks,
    I have a problem getting "File Server Resource Manager" to start properly because WMI objects are not loading??? I don't understand this at all because I am able to access them with other Apps, etc. I have been over my Services list as well but
    have not yet discovered which Service turns on/off "File Server Resource Manager". I have looked in Windows\System32\ and I can not find SrmSvc. I found other Srm's there though. I also found the FSRM Snapin which generates the Figure below but I
    can not find it in the WMI Browser. I believe the Firewall is OKAY since I have been over that thoroughly. I do have the Server Tools Installed for Windows 8.0 or Windows 8.1 Clients as well as the Windows Updates applied, which is where I got "File Server
    Resource Manager" in the first place. I have had WMI and Powershell 3.0 Package, installed since Windows 7 but I run a repair on them anyway.
    I have read through "File Server Resource Manager could not load WMI objects on Windows Server 2012
    Article ID: 2831687" but since I don't seem to have SrmSvc the solution doesn't help me. I haven't been able to find a similar one for the Windows Client.
    If there is anything you could share on this problem I would be much obliged.
    Thanks again,
    Crysta
    PhotM Phantom of the Mobile

    Hello,
    The Windows Desktop Perfmon and Diagnostic tools forum is to discuss performance monitor (perfmon), resource monitor (resmon), and task manager, focusing on HOW-TO, Errors/Problems, and usage scenarios.
    As the question is off topic here, I am moving it to the
    Where is the Forum... forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Can not start messaging server resource group in cluster 3.2

    Hi all,
    Please help in the following issue.
    I am not able to start resource group (msg-rg) and following is the error:
    ms1@root# clrg online -M -e msg-rg
    clrg: (C748634) Resource group msg-rg failed to start on chosen node and might fail over to other node(s)
    clrg: (C135343) No primary node could be found for resource group msg-rg; it remains offline
    scstat output (remove some for brief description)
    -- Device Group Servers --
    Device Group Primary Secondary
    Device group servers: SJMS ms1 ms2
    -- Device Group Status --
    Device Group Status
    Device group status: SJMS Online
    -- Resource Groups and Resources --
    Group Name Resources
    Resources: msg-rg mail msg-hasp-rs msg-rs
    -- Resources --
    Resource Name Node Name State Status Message
    Resource: mail ms1 Offline Offline - LogicalHostname offline.
    Resource: mail ms2 Offline Offline - LogicalHostname offline.
    Resource: msg-hasp-rs ms1 Offline Offline
    Resource: msg-hasp-rs ms2 Offline Offline
    Resource: msg-rs ms1 Offline Offline - Stop Succeeded
    Resource: msg-rs ms2 Offline Offline - Stop Succeeded
    Following is the from /var/adm/messages (remove some for brief description)
    Sep 26 12:25:19 ms1 Cluster.RGM.rgmd: [ID 224900 daemon.notice] launching method <ims_svc_start> for resource <msg-rs>, resou
    rce group <msg-rg>, node <ms1>, timeout <300> seconds
    Sep 26 12:25:19 ms1 Cluster.RGM.rgmd: [ID 784560 daemon.notice] resource msg-rs status on node ms1 change to R_FM_UNKNOWN
    Sep 26 12:25:19 ms1 Cluster.RGM.rgmd: [ID 922363 daemon.notice] resource msg-rs status msg on node ms1 change to <Starting>
    Sep 26 12:25:19 ms1 Cluster.RGM.rgmd: [ID 751138 daemon.notice] 47 fe_rpc_command: cmd_type(enum):<1>:cmd=</usr/cluster/lib/r
    gm/rt/hafoip/hafoip_monitor_start>:tag=<msg-rg.mail.7>: Calling security_clnt_connect(..., host=<ms1>, sec_type {0:WEAK, 1:ST
    RONG, 2:DES} =<1>, ...)
    Sep 26 12:25:19 ms1 Cluster.RGM.rgmd: [ID 268902 daemon.notice] 45 fe_rpc_command: cmd_type(enum):<1>:cmd=</opt/sun/comms/msg
    scha/bin/imssvc_start>:tag=<msg-rg.msg-rs.0>: Calling security_clnt_connect(..., host=<ms1>, sec_type {0:WEAK, 1:STRONG, 2:
    DES} =<1>, ...)
    Sep 26 12:25:19 ms1 Cluster.RGM.rgmd: [ID 515159 daemon.notice] method <hafoip_monitor_start> completed successfully for reso
    urce <mail>, resource group <msg-rg>, node <ms1>, time used: 0% of timeout <300 seconds>
    Sep 26 12:25:19 ms1 Cluster.RGM.rgmd: [ID 443746 daemon.notice] resource mail state on node ms1 change to R_ONLINE
    Sep 26 12:26:53 ms1 Cluster.PMF.pmfd: [ID 887656 daemon.notice] Process: tag="msg-rg,msg-rs,1.svc", cmd="/bin/sh -c /opt/sun/
    comms/messaging64/bin/start-msg watcher", Failed to stay up.
    Sep 26 12:26:55 ms1 Cluster.RGM.rgmd: [ID 784560 daemon.notice] resource msg-rs status on node ms1 change to R_FM_ONLINE
    Sep 26 12:26:55 ms1 Cluster.RGM.rgmd: [ID 922363 daemon.notice] resource msg-rs status msg on node ms1 change to <Start succe
    eded.>
    Sep 26 12:26:55 ms1 Cluster.PMF.pmfd: [ID 819736 daemon.notice] PMF is restarting process that died: tag=msg-rg,msg-rs,1.svc,
    cmd_path=/bin/sh -c /opt/sun/comms/messaging64/bin/start-msg watcher, max_retries=0, num_retries=0
    Sep 26 12:27:25 ms1 SC[SUNW.ims:7.0,msg-rg,msg-rs,ims_svc_start]: [ID 141062 daemon.error] Failed to connect to host 192.168.
    0.250 and port 27442: Connection refused.
    Sep 26 12:29:55 ms1 last message repeated 6 times
    Sep 26 12:30:26 ms1 Cluster.RGM.rgmd: [ID 764140 daemon.error] Method <ims_svc_start> on resource <msg-rs>, resource group <m
    sg-rg>, node <ms1>: Timeout.
    Sep 26 12:30:26 ms1 Cluster.RGM.rgmd: [ID 443746 daemon.notice] resource msg-rs state on node ms1 change to R_START_FAILED
    Sep 26 12:30:26 ms1 Cluster.RGM.rgmd: [ID 529407 daemon.notice] resource group msg-rg state on node ms1 change to RG_PENDING_
    OFF_START_FAILED
    Sep 26 12:30:26 ms1 Cluster.RGM.rgmd: [ID 784560 daemon.notice] resource msg-rs status on node ms1 change to R_FM_FAULTED
    Sep 26 12:30:26 ms1 Cluster.RGM.rgmd: [ID 443746 daemon.notice] resource msg-rs state on node ms1 change to R_STOPPING
    S

    I got the mistake in adding /etc/hosts. I pasted the area here for any person who can notice if they encountered same problem or same mistake.
    it should be following format:
    192.168.0.250 mail.test.com mail msg-lcreate logical hostname as follow:
    clrslh create -g msg-rg msg-lNotice qfe0:1
    # ifconfig -a
    lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
    inet 127.0.0.1 netmask ff000000
    eri0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
    inet 192.168.0.240 netmask ffffff00 broadcast 192.168.0.255
    groupname sc_ipmp0
    ether 0:3:ba:29:8a:ac
    eri0:1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 >index 2
    inet 192.168.0.242 netmask ffffff00 broadcast 192.168.0.255
    qfe0: flags=9040842<BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 3
    inet 192.168.0.243 netmask ffffff00 broadcast 192.168.0.255
    groupname sc_ipmp0
    ether 0:3:ba:22:d4:36
    qfe0:1: flags=1040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4> mtu 1500 index 3
    inet 192.168.0.250 netmask ffffff00 broadcast 192.168.0.255
    qfe2: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index 5
    inet 172.16.0.129 netmask ffffff80 broadcast 172.16.0.255
    ether 0:3:ba:22:d4:38
    qfe3: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index 4
    inet 172.16.1.1 netmask ffffff80 broadcast 172.16.1.127
    ether 0:3:ba:22:d4:39
    clprivnet0: flags=1009843<UP,BROADCAST,RUNNING,MULTICAST,MULTI_BCAST,PRIVATE,IPv4> mtu 1500 >index 6
    inet 172.16.4.1 netmask fffffe00 broadcast 172.16.5.255
    ether 0:0:0:0:0:1Now I am able to plumb logical hostname ip. messaging resource group is able to swing over between nodes and resource group is able to go online (before creating messaging server resource (msg-rs).
    after creating messaging server resource, use following command to start message resource group:
    ms1@root #clrg online -eM msg-rgI used the following command to create message resource (msg-rs)
    clrs create -g msg-rg -t SUNW.ims -x IMS_serverroot=/opt/sun/comms/messaging64 -y >Resource_dependencies=msg-l,msg-hasp-rs msg-rsBut still having problem in starting resource group after adding msg-rs
    Please advise where I went wrong..
    Thanks.

  • Help!! How to install and use Sun ONE Directory Server Resource Kit 5.2

    Hi ! Friend:
    I have some problem on install and use Sun ONE Directory Server Resource Kit 5.2, when I execute "java DSRK", afterwards something like this : com.iplanet.install.until.wbResource::gerstring:resource bundle"locale.resources.S1DSRKResource" not found appeared in the window ,that's why?
    Meanwhile ,can you give some data about it on how to use it ?
    Thank you !

    You should be aware of the following characteristics of your directory when using this tool:
    Size and number of entries.
    Directory structure and access permissions.
    Virtual attributes, class of service, and indexing.
    Usage, types of access, and access patterns.
    Post your error messages completely.
    Thanks
    --Britto                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Need Help! "Could not locate the resource file in the Configuration folder."

    I had just purchased and installed Adobe Crerative Design Suite last night. Every program works except Dreamweaver, which gives me the error message:"Could not locate the resource file in the Configuration folder. This File is required to run Dreamweaver. Please reinstall the application". I am suspicious because the was a previous version of Dreamweaver on the computer before this installation, but I unistalled it. I do not understand why I get this message. Is there a file somewhere that is missing or at faut. How can I remedy this? Thanks
    ~Todd

    Nadia,
    Your posted resources worked for me. Thank you! After many attempts (to include Adobe's overseas call canter) to resolve the same installation and run errors, I used your suggested steps and I finally have a clean and running install. I did have to take a few extra steps;
    First I downloaded both Cleaning  scripts. For CS4 & CS3.
    Next I downloaded Windows installer/cleaner. I have Windows Vista Home Premium and that is a required installed program to run Adobe's cleaning script.
    Once I was sure I had all the programs/scripts I needed (per your instructions and the instructions found on the Cleaning scripts site) I disconnected my computer from the Internet.
    Then I disabled all running programs especially all Anti-virus and firewall programs and any others that have calls of any kind: i.e. Boinc (Seti), Skype, email programs (Windows Live Mail), etc.
    Next I uninstalled all CS4 products and even though I was told that Macromedia Studio MX 2004 can stay installed (read that on one site and the overseas Tech also reinforced that information) I uninstalled MX 2004.
    I then rebooted and installed the Windows installer/cleaner program and ran the Adobe CS4 cleaner script twice.
    After another reboot I installed Dreamweaver CS4 first, rebooted (can't reboot enough with Windows!) and, yes you guessed it, rebooted.
    I then attempted to open Dreamweaver CS4 and for the first time it ran without the error!
    I then installed Adobe Ps CS4 and rebooted and that work for the first time as well.
    I can't say for sure if Macromedia Studio MX 2004 caused the install errors on the Adobe products but without it and ALL that uninstalling and rebooting and running cleaning scripts and installing and rebooting, Adobe finally felt my computer was clean enough to call it home and work.
    Thank you again for your information and I suggest if anyone else finds their way here that they follow your instructions to the letter. Takes a long time but a proper and clean install will be the result.

  • "Could not locate the Resources file in the Configuration folder"

    While opening DW cs5 on my iMac OS X 10.7.5 a window came up that says:  "Could not locate the Resources file in the Configuration folder. This file is required to run Dreamweaver. Please reinstall the application."
    After downloading and reinstalling Adobe Creative Suite CS5 yesterday per the instruction of Adobe tech support, the application still had the same message when I attempt to open it.  Not sure where else to turn.  Please advise.  Thanks

    See if this previous thread regarding the same issue will help:
    http://forums.adobe.com/message/2274699#2274699
    Nadia
    Adobe Community Expert : Dreamweaver
    Unique CSS Templates | Tutorials | SEO Articles
    http://www.DreamweaverResources.com
    Web Design & Development
    http://www.perrelink.com.au
    http://twitter.com/nadiap

  • SQL 2008 R2 error: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified

    after some year work with SQL server 2005,i decide change to  SQL server 2008 R2.
    When i completed install SQL 2008 R2,i can't connected to SQL server due to this following error
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
    SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (.Net SqlClient Data Provider)
    And when i click to technical details,i take some thing like this
    ===================================
    Cannot connect to HUY-PC\SQLEXPRESS.
    ===================================
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
    SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (.Net SqlClient Data Provider)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=-1&LinkId=20476
    Error Number: -1
    Severity: 20
    State: 0
    Program Location:
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject)
       at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)
       at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
       at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
       at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.SqlClient.SqlConnection.Open()
       at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.ValidateConnection(UIConnectionInfo ci, IServerType server)
       at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()
    Please!!!Some body help me solve this problem(except format my computer),i really really need your advice.

    Hi huydaibang,
    The older version SQL Server 2005 could be installed with SQL Server 2008 R2 side-by-side.  It could not be the problem.
    The reason that we get this error message is the client stack could not receive SSRP response UDP packet from SQL Browser.
    Here are the steps:
    1) Make sure your server name is correct, e.g., no typo on the name.
    2) Make sure your instance name is correct and there is actually such an instance on your target machine.
    3) Make sure the server machine is reachable, e.g, DNS can be resolve correctly, you are able to ping the server (not always true).
    4) Make sure SQL Browser service is running on the server.
    5) If firewall is enabled on the server, you need to put sqlbrowser.exe and/or UDP port 1434 into exception.
    For more information, please refer to
    http://blogs.msdn.com/b/sql_protocols/archive/2007/05/13/sql-network-interfaces-error-26-error-locating-server-instance-specified.aspx.
    Thanks,
    Maggie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. This can be beneficial to other community members reading the thread.

  • Pooled jdbc connection(s), and server resources

    Hello All,
    I am curious about the difference between jdbc connections in a connections pool, and 'stand alone' connection. I have Oracle 9.2
    To describe...
    In my application server (WebLogic) I have a connection pool, with 10 connections. Does this take less server resources than 10 separate connections? I notice that there are still 10 server processes appearing.
    thanks!
    JM
    the jdbc Programmer's Guide and Reference says...
    (( start quote ))
    A pooled connection instance encapsulates a physical connection to a database. This
    database would be the one specified in the connection properties of the connection
    pool data source instance used to produce the pooled connection instance.
    A pooled connection instance is an instance of a class that implements the standard
    javax.sql.PooledConnection interface. The getConnection() method
    specified by this interface returns a logical connection instance that acts as a
    temporary handle to the physical connection, as opposed to encapsulating the
    physical connection, as does a non-pooling connection instance:
    (( end quote ))
    ...I had the impression that a connection pool of 10, results in one 'physical' connection. But it appears not!

    No, and yes...
    A pool of 10 connections creates 10 physical database connections, which require exactly the same resources as 10 connections from a standalone Java app or 10 connections from SQL*Plus.
    The connection pool, however, allows those 10 physical connections to server one the order of 100 logical connections (in an average OLTP application). If you have a JSP page that opens a connection, runs a couple of DML statements, and closes the connection, having a connection pool greatly reduces the load on the database because it does not have to create a new physical connection for every JSP page-- the JSP page gets a connection from the pool, uses it for a bit, and returns it to the pool where it can be assigned to another JSP page. Because each user only needs the connection a small percentage of the time, you can server many physical users with only 1 physical database connection.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Does Directory Server Resource Kit 5.2.1 work on Windows XP?

    The Sun ONE Directory Server Resource Kit 5.2.1 is supported on the
    following platforms, as per the URL
    http://wwws.sun.com/software/download/products/3f74a0db.html.
    1. Solaris 8 & 9 - SPARC
    2. Solaris 9 x86
    3. AIX 5.1
    4. HP-UX 11.11
    5. RedHat Linux 7.2
    6. Sun Linux 5.0
    7. Windows 2000 Adv. Server sp2
    8. Windows NT 4.0 SP6a
    Which software should be used for LDAP access for the following platforms:
    a) Red Hat Linux Advanced Server 2.1
    b) Red Hat Linux Advanced Server 3.0
    c) Red Hat Linux 6
    d) Windows XP Professional
    e) Solaris 2.6 (also referred to as Solaris 6).

    Which software should be used for LDAP access forthe
    following platforms:
    a) Red Hat Linux Advanced Server 2.1
    b) Red Hat Linux Advanced Server 3.0So far, DSRK has not been validated for these
    platforms.
    c) Red Hat Linux 6Don't know/cannot remember. DSRK 5.1 works with 2.2
    kernels, see
    http://wwws.sun.com/software/download/products/3ed6999
    3.html
    d) Windows XP ProfessionalSo far, DSRK has not been validated for this
    platform, either.
    It is theoretically possible that XP support may come
    with Sun Java Studio,
    http://wwws.sun.com/software/learnabout/javastudio/ind
    ex.html
    e) Solaris 2.6 (also referred to as Solaris 6).DSRK 5.1 also supports Solaris 2.6.We had ported our app to RH Server 2.1 using 5.2.1 with no problem... however, we encountered undefined symbol errors attempting to build against 5.2.1 on RH Server 3.0, specifically __ctype... symbols.
    Doe Sun intend on supporting RH servers? or only the older RH distributions?

Maybe you are looking for

  • How do I use the credit on my AppleID to buy a book.

    I have a credit on my AppleID.  I click on 'buy book' in iPhoto and a window comes up asking about addding 1-click purchasing to my account.  Yet, the 'account info' button is greyed out.  The only button I can choose is 'create account'.  Any help w

  • ITunes update  bad signature

    iTunes 9.01 on XP SP3, suggests upgrade with quicktime bundle but download reports an invalid signature (occurs multiple times on multiple XP computers) Download of iTunes 8.02 direct will not install, installer jsut says it has encountered an error

  • PDF does not show 2 nodes

    Hi I have a pdf where under the main node that is  bound to the inetractive form, I have placed two notes. Each note is of cardinality 0.n. The problem I have is the following: when the pdf is created, only the first subform with the first node is fi

  • Pan Gesture doesn't get triggered

    Can Some one explain me why my "TransformGestureEvent.GESTURE_PAN" doesn't get triggered? All the other gesture events are triggered. I find it a bit confusing Oh yeah, i am developing for every platform but testing on a google phone nexus S package

  • Automate query that export to excel

    Hi, I'm not sure if this is the right place to post this question... but.... I run some queries every day and export to an excel file and send by email every day, there is any way to make it automatic? Do anyone have any suggestion? Thanks, Leandro T