Error in Java compilation: \s7u.log (The system cannot find the file specified)

Hi there,
I got an error when I tried to compile a group of sqlj and java files. The error below:
----------------------------------------------sqlj -status -passes -compile=true -ser2class -d=. -classpath=.;%CLASSPATH% E:\work\src\java\com\interadnet\persistence\*.sqlj E:\work\src\java\com\interadnet\persistence\*.java
out [Translating 53 files]
out [Reading file AdServerInformationType]
out [Reading file AdsType]
out [Reading file AgencyType]
out [Reading file CampaigntocompletionType]
out [Reading file CampaignType]
out [Reading file ChannelType]
out [Reading file ClientType]
out [Reading file CompletionType]
out [Reading file ContactType]
out [Reading file CreativeType]
out [Reading file FtpServerType]
out [Reading file InsertioninstructionType]
out [Reading file MediaServerType]
out [Reading file SystemPropertyType]
out [Reading file VendorType]
out [Reading file AdServerInformationTypeRef]
out [Reading file AdServerInformationView]
out [Reading file AdsTypeRef]
out [Reading file AdsView]
out [Reading file AgencyTypeRef]
out [Reading file AgencyView]
out [Reading file CampaigntocompletionTypeRef]
out [Reading file CampaignToCompletionView]
out [Reading file CampaignTypeRef]
out [Reading file CampaignTypeRefs]
out [Reading file CampaignView]
out [Reading file ChannelTypeRef]
out [Reading file ChannelTypeRefs]
out [Reading file ChannelView]
out [Reading file ClientTypeRef]
out [Reading file ClientTypeRefs]
out [Reading file ClientView]
out [Reading file CompletionTypeRef]
out [Reading file CompletionTypeRefs]
out [Reading file CompletionView]
out [Reading file ContactTypeRef]
out [Reading file ContactView]
out [Reading file CreativeTypeRef]
out [Reading file CreativeTypeRefs]
out [Reading file CreativeView]
out [Reading file FtpServerTypeRef]
out [Reading file FtpServerView]
out [Reading file InsertioninstructionTypeRef]
out [Reading file InsertioninstructionTypeRefs]
out [Reading file InsertionInstructionView]
out [Reading file MediaServerTypeRef]
out [Reading file MediaServerView]
out [Reading file SystemPropertyTypeRef]
out [Reading file SystemPropertyTypeRefs]
out [Reading file SystemPropertyView]
out [Reading file VendorTypeRef]
out [Reading file VendorTypeRefs]
out [Reading file VendorView]
out [Translating file AdServerInformationType]
out [Translating file AdsType]
out [Translating file AgencyType]
out [Translating file CampaigntocompletionType]
out [Translating file CampaignType]
out [Translating file ChannelType]
out [Translating file ClientType]
out [Translating file CompletionType]
out [Translating file ContactType]
out [Translating file CreativeType]
out [Translating file FtpServerType]
out [Translating file InsertioninstructionType]
out [Translating file MediaServerType]
out [Translating file SystemPropertyType]
out [Translating file VendorType]
out [Translating file AdServerInformationTypeRef]
out [Translating file AdServerInformationView]
out [Translating file AdsTypeRef]
out [Translating file AdsView]
out [Translating file AgencyTypeRef]
out [Translating file AgencyView]
out [Translating file CampaigntocompletionTypeRef]
out [Translating file CampaignToCompletionView]
out [Translating file CampaignTypeRef]
out [Translating file CampaignTypeRefs]
out [Translating file CampaignView]
out [Translating file ChannelTypeRef]
out [Translating file ChannelTypeRefs]
out [Translating file ChannelView]
out [Translating file ClientTypeRef]
out [Translating file ClientTypeRefs]
out [Translating file ClientView]
out [Translating file CompletionTypeRef]
out [Translating file CompletionTypeRefs]
out [Translating file CompletionView]
out [Translating file ContactTypeRef]
out [Translating file ContactView]
out [Translating file CreativeTypeRef]
out [Translating file CreativeTypeRefs]
out [Translating file CreativeView]
out [Translating file FtpServerTypeRef]
out [Translating file FtpServerView]
out [Translating file InsertioninstructionTypeRef]
out [Translating file InsertioninstructionTypeRefs]
out [Translating file InsertionInstructionView]
out [Translating file MediaServerTypeRef]
out [Translating file MediaServerView]
out [Translating file SystemPropertyTypeRef]
out [Translating file SystemPropertyTypeRefs]
out [Translating file SystemPropertyView]
out [Translating file VendorTypeRef]
out [Translating file VendorTypeRefs]
out [Translating file VendorView]
out [Compiling 53 Java files]
err*** The following character string is too long:
err***
out Error in Java compilation: \s7u.log (The system cannot find the file specified)
Any suggestion appreciated.
Daniel Huang

Having not seen this before, I assume that the issue is that the command line string is too long when Javac is invoked.
Here are a few things to reduce the size of the command line:
- do not use the CLASSPATH option, but set the CLASSPATH environment variable (you can to that in a .bat file)
- do not provide the .java files but rely on the implicit make capability in both, the SQLJ translator and the Java compiler. (Note: you must mention all of the .sqlj files that your program requires, do not rely on implicit make to find all of those.)
- you can perform the -ser2class conversion as a separate step (see the SQLJ FAQ), as well as the Java compilation
- there may or may not be a facility in your operating system to increase the size of the environment (and this may or may not have an effect on the maximum command line length)
- you could try to omit the -passes option and see if that helps (that may actually be where your invocation if failing in the first place, in that it cannot write to some temporary file).
Let us know how it goes. Thanks!

Similar Messages

  • Java.lang.Error: java.util.zip.ZipException: The system cannot find the fil

    I got maven 221 installed
    i got jdk 1.6 and 1.5 installed (have tested both)
    I have a strange error. All my co-workers can build but I cant. The only thing I can find is that I dont have installed BEA Weblogic but I dont want to have that installed. It should be able to run anyway.
    Could someone tell me what is wrong? If you need pom.xml I got that one as well.
    process-classes:
    [copy] Copying 4 files to C:\hudson\jobs\albpm_ip-identity-asserter_-_Build\workspace\target\mbean-content
    [mkdir] Created dir: C:\hudson\jobs\albpm_ip-identity-asserter_-_Build\workspace\target\mbean-jar
    [java] Creating an MJF from the contents of directory C:\hudson\jobs\albpm_ip-identity-asserter_-_Build\workspace\target\mbean-content...
    [java] Compiling the files...
    [java] Creating the list.
    [java] Doing the compile.
    [java] WLMaker-SubProcess: : Exception in thread "main" java.lang.Error: java.util.zip.ZipException: The system cannot find the file specified
    [java] WLMaker-SubProcess: :      at weblogic.management.commo.BeanGenDriver.getManagementTempDir(BeanGenDriver.java:93)
    [java] WLMaker-SubProcess: :      at weblogic.management.commo.BeanGenDriver.main(BeanGenDriver.java:117)
    [java] WLMaker-SubProcess: : Caused by: java.util.zip.ZipException: The system cannot find the file specified
    [java] WLMaker-SubProcess: :      at java.util.zip.ZipFile.open(Native Method)
    [java] WLMaker-SubProcess: :      at java.util.zip.ZipFile.<init>(ZipFile.java:203)
    [java] WLMaker-SubProcess: :      at java.util.jar.JarFile.<init>(JarFile.java:132)
    [java] WLMaker-SubProcess: :      at java.util.jar.JarFile.<init>(JarFile.java:97)
    [java] WLMaker-SubProcess: :      at weblogic.management.commo.BeanGenDriver.getManagementTempDir(BeanGenDriver.java:90)
    [java] WLMaker-SubProcess: :      ... 1 more
    [java] WLMaker-SubProcess: : Stopped draining WLMaker-SubProcess:
    [java] WLMaker-SubProcess: : Stopped draining WLMaker-SubProcess:
    [java] BeanGen code generation failed
    [HUDSON] Archiving C:\hudson\jobs\albpm_ip-identity-asserter_-Build\workspace\pom.xml to C:\hudson\jobs\albpmip-identity-asserter_-Build\modules\dk.skat.ip.integration.albpm$ip-identity-asserter\builds\2010-11-2213-41-28\archive\dk.skat.ip.integration.albpm\ip-identity-asserter\1.2\pom.xml
    [INFO] ------------------------------------------------------------------------

    from my experience, using weblogic jars can be a pain if the full install is not on the local box.
    Note that you dont have to 'install' it. Just copy the directory.
    Reason is that the jar files have manifests with relative classpaths.
    For an example of horror take a look at the weblogic.jar MANIFEST's classpath entry.
    -Fred

  • VSTO 2010 Addin installed on Outlook 2007 Machine: Giving binding error - 0x80070002. The system cannot find the file specified (Fusion Log).

    Fusion log:
    The operation failed.
    Bind result: hr = 0x80070002. The system cannot find the file specified.
    Assembly manager loaded from: C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\clr.dll
    Running under executable C:\PROGRA~1\MICROS~2\Office12\OUTLOOK.EXE
    --- A detailed error log follows.
    === Pre-bind state information ===
    LOG: User = XP-2007\Administrator
    LOG: DisplayName = Blue Jeans Outlook Addin, Version=3.0.233.24954, Culture=neutral, processorArchitecture=MSIL
    (Partial)
    WRN: Partial binding information was supplied for an assembly:
    WRN: Assembly Name: Blue Jeans Outlook Addin, Version=3.0.233.24954, Culture=neutral, processorArchitecture=MSIL | Domain ID: 2
    WRN: A partial bind occurs when only part of the assembly display name is provided.
    WRN: This might result in the binder loading an incorrect assembly.
    WRN: It is recommended to provide a fully specified textual identity for the assembly,
    WRN: that consists of the simple name, version, culture, and public key token.
    WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue.
    LOG: Appbase = file:///C:/Program Files/Blue Jeans/Outlook Addin/
    LOG: Initial PrivatePath = NULL
    LOG: Dynamic Base = NULL
    LOG: Cache Base = NULL
    LOG: AppName = OUTLOOK.EXE
    Calling assembly : (Unknown).
    ===
    LOG: Start binding of native image Blue Jeans Outlook Addin, Version=3.0.233.24954, Culture=neutral, PublicKeyToken=null.
    WRN: No matching native image found.
    LOG: IL assembly loaded from C:\Documents and Settings\Administrator\Local Settings\Application Data\assembly\dl3\LZMMEM67.CTT\397DNQ77.1W9\c337c5e7\0023f77f_891ed001\Blue Jeans Outlook Addin.dll.
    The required correct settings file is present in the location C:\Program Files\Blue Jeans\Outlook Addin but the .NET created user.config in AppData have wrong entries. The machine is installed with VSTO 2010 and .NET 4.0 Client Profile. Also the KB 976477 is
    already installed the registry entry EnableLocalMachineVSTO (KB 976811) is made. May someone please give me a clue on why the user.config file is created with wrong entries and also, why this assembly binding error happening?
    Thanks in advance.
    Prasad

    this might help:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/2601334c-d5cb-4f51-a99a-4d8ea9217938/userconfig-file-problem-after-upgrading-to-outlook-2010-from-2007?forum=vsto
    VSTO Word add-in user.config lost every update

  • Known Issue: MIDL fails to compile IDL files in UAP projects. Gives following error: midlrt : error MIDL4034: Failed to load a dependency file. Windows.winmd (HRESULT:0x80070002 - The system cannot find the file specified. )

    Visual Studio gives the following error:
    midlrt : error MIDL4034: Failed to load a dependency file. Windows.winmd (HRESULT:0x80070002 - The system cannot find the file specified. )
    This is because Visual Studio is looking for a WinMD file that contains the base types.  Unfortunately the metadata path passed by default to MIDL through Visual Studio does not resolve to the correct file.

    Work around:
    Update the "Additional Metadata Directories" for MIDL to include the Windows.Foundation.FoundationContract.WinMD
    To update the “Additional Metadata Directories” in Visual Studio, do the following:
    1)  Right click on your C++ Project file.
    2)  Choose properties.
    3)  Under Configuration Properties, click MIDL
    4)  Under MIDL choose “Command Line”
    5)  In the Additional Options text box enter:
    /Metadata_dir "C:\Program Files (x86)\Windows Kits\10\References\Windows.Foundation.FoundationContract\1.0.0.0”
    or on X86 machines
    /Metadata_dir "C:\Program Files\Windows Kits\10\References\Windows.Foundation.FoundationContract\1.0.0.0”

  • The system cannot find the file specified error in ftp upload

    Hi,
    i am using filezilla ftp server and apache common ftp client and while uploading a file i am getting below error:
    code to call ftp client
    String local_file ="D:\\home2.JPEG";
    String remote_file ="\\abc";
    ApacheFTPClient apacheFTP = new ApacheFTPClient();
    String[] abc ={"-s", "127.0.0.1", "Manender", "Manender", remote_file, local_file};
    apacheFTP.main(abc);
    error log:
    220-FileZilla Server version 0.9.31 beta
    220-written by Tim Kosse ([email protected])
    220 Please visit http://sourceforge.net/projects/filezilla/
    Connected to 127.0.0.1.
    USER Manender
    331 Password required for manender
    PASS Manender
    230 Logged on
    SYST
    215 UNIX emulated by FileZilla
    Remote system is UNIX emulated by FileZilla
    java.io.FileNotFoundException: D:\home2.JPEG (The system cannot find the file specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(Unknown Source)
         at java.io.FileInputStream.<init>(Unknown Source)
         at com.po.ApacheFTPClient.main(ApacheFTPClient.java:152)
         at com.po.sample.main(sample.java:120)
    i have file in my d directory with same name.
    please help me in this.
    thanks in advace..

    i have file in my d directory with same name.Doesn't look like that? Are you sure that it isn't named e.g. home2.jpg?

  • The system cannot find the path specified.---- Error code:-2147467259 Error code name:failed

    Friends,
                I'm facing below issue while accessing a crystal report. I heard it might be an access issue. But i'm able to access a report within a same folder.
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException : The system cannot find the path specified.---- Error code:-2147467259 Error code name:failed
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    Any suggestions would be very helpful.
    Thanks in Advance,
    Bharath

    Apply trace on RAS and look for errors in the RAS logs at the same timestamp.
    These errors come for various errors and tracing RAS would give us a better idea.
    It might hapen that you observe these errors for reports which takes more than the RAS timeout to export the reports.
    Post getting the RAS logs you can try below steps if we see timeout errors in RAS logs.
    Copy clientSDKOptions.xml file from <BO install path>\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\java\lib to the machine where your app is running Open clientSDKOptions.xml and change CORBARequestTimeOut from 600000 to a value large enough to allow the report to render, for instance 1200000. Default value is 600000 (10 minutes)
    Specify the location of the clientSDKOptions.xml file at run-time. In your JSP or Java files, use the Java method setProperty from the System class. Set the system property indicated by the ras.config key to the specified directory as: system.setProperty("ras.config","c:\temp"). This function call specifies that the clientSDKOptions.xml file in c:\temp is to be used for locating RAS servers.
    Thanks,
    Prithvi

  • Receiving error message 'Could not load file or assembly 'System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'

    I started getting this error message for the first time today. When I look in the event log I see it every time anyone tries to sync to a mobile device to the exchange server. I've also had this problem trying to connect using
    Outlook. I believe it is an IIS issue but I'm not absolutely sure so I'm posting this in the Exchange forum as well.
    The event viewer has the following information...
    3008
    A configuration error has occurred.
    5/1/2014 10:41:08 PM
    5/2/2014 5:41:08 AM
    7539d8a38c8b47869eda3f1749aba08d
    1
    1
    0
    /LM/W3SVC/1/ROOT/Microsoft-Server-ActiveSync-75-130434828686436855
    Full
    /Microsoft-Server-ActiveSync
    C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\sync\
    SERVER
    16284
    w3wp.exe
    NT AUTHORITY\SYSTEM
    ConfigurationErrorsException
    Could not load file or assembly 'System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
    https://remote.testserver.com:443/Microsoft-Server-ActiveSync/default.eas?User=user.name&DeviceId=ApplC39GQ5xxxxxx&DeviceType=iPhone&Cmd=Ping
    /Microsoft-Server-ActiveSync/default.eas
    174.224.130.31
    False
    NT AUTHORITY\SYSTEM
    24
    NT AUTHORITY\SYSTEM
    False
    at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) at System.Web.Configuration.Common.ModulesEntry..ctor(String name, String typeName, String propertyName, ConfigurationElement configElement) at System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList) at System.Web.HttpApplication.GetModuleCollection(IntPtr appContext) at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)
    I have tried most, if not all, of the different post's suggestions to no avail.
    The steps I have taken are as follows...
    1. Repaired .Net 4 (Both the client and extended)
    2. Uninstalled and reinstalled .Net Framework 4.0.
    3. Verified that the dll exists.
    4. Checked the applicationHost.config file. It contains the follow statement...
    <add name="ServiceModel-4.0" type="System.ServiceModel.Activation.ServiceHttpModule, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler,runtimeVersionv2.0"
    />
    5. Changed the following line in web.config to include the runtimeVersion...
    <add name="ServiceModel" type="System.ServiceModel.Activation.HttpModule, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler,runtimeVersionv2.0" />
    6. Executed aspnet_regiis.exe -iru from the ...\Framework64\v4.0.30319 directory.
    7. Went to inetpub\history to use an applicationHost.config file from yesterday but it only has history from 9PM tonight. It probably had what I needed before I started changing it tonight.
    I still receive the same error message.
    Like I said everything was working yesterday. In fact I didn't hear or see any issue until after 1PM today.
    Any help would be very appreciated!

    Hi,
    Please confirm whether users can access their mailboxes from Outlook Web Access or not. We can do the following changes to have a try:
    1. In IIS > Application Pools, change the .NET Framework Version to v2.0 and restart IIS service.
    2. If it doesn’t work, explore the Default Web site.
    3. Renamed the web.config file to web.config.old
    4. Reset IIS using iisreset command to have a try.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • Error [0x80070003] The system cannot find the path specified

    We have Windows 2012 Server hosting 2 VMs - Domain Controller & RDS.  We have been doing Windows Server Backup incremental and have an ongoing issue with scheduled backups each night.  The backup shows completed with warnings and generates
    2 log files.
    The first log files shows:  
    Backup of volume \\?\Volume{5d46f853-5db2-11e2-93e7-806e6f6e6963}\ succeeded.
    Backup of volume C: succeeded.
    Backup of volume F: succeeded.
    Application backup
    Writer Id: {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
       Component: ACBCD71E-A8CA-4672-B951-52C1BE8444BE
       Caption     : Backup Using Child Partition Snapshot\FMLRDS1
       Logical Path: 
    Writer Id: {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
       Component: Host Component
       Caption     : Host Component
       Logical Path: 
    The 2nd log file more often than not shows:  
    Backup of volume E: has failed. Backup failed as shadow copy on source volume got deleted. This might caused by high write activity on the volume. Please retry the backup. If the issue persists consider increasing shadow copy storage using 'VSSADMIN Resize
    ShadowStorage' command.
    Error in backup of E:\ during enumerate: Error [0x80070003] The system cannot find the path specified.
    Application backup
    Writer Id: {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
       Component: 2B4A9541-C88B-442E-9A7A-6D8A27342C11
       Caption     : Backup Using Child Partition Snapshot\FMLDC1
       Logical Path: 
       Error           : 8078010D
       Error Message   : Enumeration of the files failed.
       Detailed Error  : 80070003
       Detailed Error Message : (null)
    We had been getting a successful backup once or twice a week which showed completed (with no mentioned of warnings) but now it regularly shows completed with warnings as noted above.  
    We did a manual full backup of the DC to a different external drive a few days ago and that completed without warnings and the backup shows:  E: Completed 63.38 Full - VSS Copy Backup Successful, 8/27/13 3:35 PM - 4:43 PM. Data Transferred 63.38
    On a side note, we can view the logs in the windows/logs/windowsserverbackup directory but when we attempt to view the details of a log file through the Local Backup Console for any log which shows completed with errors, we get a "MMC has detected an
    error in the snapin and will unload and then it shows Object referenced not set to instance of an object."  The manual backup noted above that was successful is able to be viewed through the Local Backup Console without this error.  
    Any idea as to why this is failing during the scheduled backups?  This hosts a database that we need to have regular successful backups.

    Hi,
    First please follow the steps below to re-register dll files. Detailed information could be found here: http://support.microsoft.com/kb/940032:
    1. Click Start, click Run, type cmd, and then click OK. 
    2. Type the following commands at a command prompt. Press ENTER after you type each command. 
    3. cd /d %windir%\system32 
    4. Net stop vss 
    5. Net stop swprv 
    6. regsvr32 ole32.dll 
    7. regsvr32 oleaut32.dll 
    8. regsvr32 vss_ps.dll 
    9. vssvc /register 
    10. regsvr32 /i swprv.dll 
    11. regsvr32 /i eventcls.dll 
    12. regsvr32 es.dll 
    13. regsvr32 stdprov.dll 
    14. regsvr32 vssui.dll 
    15. regsvr32 msxml.dll 
    16. regsvr32 msxml3.dll 
    17. regsvr32 msxml4.dll 
    Please let us know if any command failed to be performed with an error.
    If issue still exists, have a try with the step it provided "VSSADMIN Resize ShadowStorage" to enlarge the shadow storage.
    Also you could test to delete all old Shadow Copies by acccessing <Drive> Properties --> Shaodow Copies --> Delete Now. This will remove all your backup information so if it is not acceptable, just skip this step.
    TechNet Subscriber Support in forum |If you have any feedback on our support, please contact [email protected]

  • "The system cannot find the file specified" - error reading properties file

    I have packaged a class file and a .properties file in the same folder as a ejb-jar file and in the class file i try reading the properties file and it throws me the error - "The system cannot find the file specified". But when I put the complete path, it has no problem finding the file.
    I know that this must be the problem with classpath, but can anybody tell me why it is not finding the properties file even if they are in the same folder. How do I make class files find .properties file which are in a folder.
    Any help will be greatly appreciated.

    Hi,
    I am not sure if your question is realted to the Oracle Application Server - anyway, if you are packaging a class file and a properties file in a JAR File, you need to read the contents in a different manner...something like this... :
    URL url = new URL("jar:file:/home/duke/duke.jar!/");
    JarURLConnection jarConnection = (JarURLConnection)url.openConnection();
    You might want to have a look at this link for more information :
    http://java.sun.com/docs/books/tutorial/index.html
    You may also get better responses if you post your question in one of the Java Forums.
    Regards,
    Sandeep

  • The system cannot find the file specified.Windows sockets error code:2.

    Hi All,
      I am on MDM 5.5 SP6.
      I am getting the following error message when trying to logging in to the DM.
    The system cannot find the file specified.Windows sockets error code:2.This application will now exit.
    Runtime Error :
    Program C :\Program Files\SAP MDM 5.5\Data Manager\Datamanager.exe
    R6025.
    -Pure virtual function call.
    And in console also the MDM server is stopped after getting the above error message.
    Can anybody tell me what could be the problem?
    Thanks & Regards
    Sireesha.

    Hi Sireesha,
    According to me, there can be 3 problems,
    1. Kindly check whether the MDM server is stopped. If it is, then restart the MDM Server and Load the repository with Update indices.
    2. If this error is coming with every repository, the problem will be either in the Version mismatch of the Server and the GUI's you are using. Kindly ensure that the versions for the MDM server and the MDM Gui's Match.
    3. If only Data manager Client is giving the problem, then you can un-install and install the DM GUI again.
    Along with this, please refer to the link below :
    [[The system cannot find the file specified.Windows sockets error code:2.;]
    Hope it helps.
    Thanks and Regards
    Nitin jain

  • The NLS operation failed because the registry key Control Panel\International\User Profile cannot be opened. Error code is 2. Error message: The system cannot find the file specified.

    H,
    Since upgrading Windows server 2008 R2 to Server 2012 Standard edition, we get this repetitious critical error in the event log:
    Event 1001
    Op Code NLS initialization
    The NLS operation failed because the registry key Control Panel\International\User Profile cannot be opened. Error code is 2. Error message: The system cannot find the file specified.
    We originally found that the regional date settings after changing them in regional settings (DD/MM/YYYY) and they did not inherit properly from the upgrade but they are ok now. 
    I've looked at HKCU\.Default\Control Panel\International and nothing looks obviously wrong. Country codes, time & date formats are correct.
    How do we ascertain the  cause of this error and the specific registry key that might be problematic?

    Hi,
    This could be caused by firewall rules or security softwares.
    http://www.tomshardware.com/forum/242579-44-hkcu-control-panel-international-opened
    And in addition, the fix is worth a try.
    Nothing happens when you double-click "Region" in Control Panel 
    http://support.microsoft.com/kb/2958845
    Please Note: Since the first web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

  • "The system cannot find the path specified" error when installing a network printer running Win 7

    Some of the end users are having issues when trying to install network printers. We have created a portal where they can locate the printer they want to connect to, click connect, and the printer will download with the correct drivers on their PC's. The
    entire company is running Win 7 for their operating system. One end user in particular has had issues installing multiple printers from the portal, when I go to test installing these same printers on my PC, they all install successfully. trying to figure out
    why some end users hav issues with installation and others do not. They will get the error, The system cannot find the specified path. Any help would be great

    Hi JeffWilko,
    What is your current situation?
    To receive better analyzation, please provide more details?
    1. Could you explain a bit about the sentence ‘installing multiple printers from the portal’ ?
    2. Check the event viewer and share us the related error log.
    Please take the following steps for troubleshooting:
    1. Ping the printers
    2. Check if there are network firewall to block the access
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

  • Fatal Error: The system cannot find the path specified. WSUS

    Hi,
    WSUS post installation failed with the below error log. Any Suggestions pls. 
    2015-02-04 09:47:03  Postinstall started
    2015-02-04 09:47:03  Detected role services: Api, UI, WidDatabase, Services
    2015-02-04 09:47:03  Start: LoadSettingsFromParameters
    2015-02-04 09:47:03  Content local is: True
    2015-02-04 09:47:03  Content directory is: D:\WSUS
    2015-02-04 09:47:03  SQL instname is: 
    2015-02-04 09:47:03  End: LoadSettingsFromParameters
    2015-02-04 09:47:03  Start: Run
    2015-02-04 09:47:03  Fetching WsusAdministratorsSid from registry store
    2015-02-04 09:47:03  Value is S-1-5-21-738919999-2738570043-745769279-1003
    2015-02-04 09:47:03  Fetching WsusReportersSid from registry store
    2015-02-04 09:47:03  Value is S-1-5-21-738919999-2738570043-745769279-1004
    2015-02-04 09:47:04  Configuring content directory...
    2015-02-04 09:47:04  Configuring groups...
    2015-02-04 09:47:04  Starting group configuration for WSUS Administrators...
    2015-02-04 09:47:04  Found group in regsitry, attempting to use it...
    2015-02-04 09:47:20  Writing group to registry...
    2015-02-04 09:47:20  Finished group creation
    2015-02-04 09:47:20  Starting group configuration for WSUS Reporters...
    2015-02-04 09:47:20  Found group in regsitry, attempting to use it...
    2015-02-04 09:47:20  Writing group to registry...
    2015-02-04 09:47:20  Finished group creation
    2015-02-04 09:47:20  Configuring permissions...
    2015-02-04 09:47:20  Fetching content directory...
    2015-02-04 09:47:20  Fetching ContentDir from registry store
    2015-02-04 09:47:20  Value is D:\WSUS
    2015-02-04 09:47:20  Fetching group SIDs...
    2015-02-04 09:47:20  Fetching WsusAdministratorsSid from registry store
    2015-02-04 09:47:20  Value is S-1-5-21-738919999-2738570043-745769279-1003
    2015-02-04 09:47:20  Fetching WsusReportersSid from registry store
    2015-02-04 09:47:20  Value is S-1-5-21-738919999-2738570043-745769279-1004
    2015-02-04 09:47:20  Creating group principals...
    2015-02-04 09:47:20  Granting directory permissions...
    2015-02-04 09:47:20  Granting permissions on content directory...
    2015-02-04 09:47:20  Granting registry permissions...
    2015-02-04 09:47:20  Granting registry permissions...
    2015-02-04 09:47:20  Granting registry permissions...
    2015-02-04 09:47:20  Configuring shares...
    2015-02-04 09:47:20  Configuring network shares...
    2015-02-04 09:47:20  Fetching content directory...
    2015-02-04 09:47:20  Fetching ContentDir from registry store
    2015-02-04 09:47:20  Value is D:\WSUS
    2015-02-04 09:47:20  Fetching WSUS admin SID...
    2015-02-04 09:47:20  Fetching WsusAdministratorsSid from registry store
    2015-02-04 09:47:20  Value is S-1-5-21-738919999-2738570043-745769279-1003
    2015-02-04 09:47:20  Content directory is local, creating content shares...
    2015-02-04 09:47:20  Creating share "UpdateServicesPackages" with path "D:\WSUS\UpdateServicesPackages" and description "A network share to be used by client systems for collecting all software packages (usually applications) published
    on this WSUS system."
    2015-02-04 09:47:20  Deleting existing share...
    2015-02-04 09:47:20  Creating share...
    2015-02-04 09:47:20  Share successfully created
    2015-02-04 09:47:20  Creating share "WsusContent" with path "D:\WSUS\WsusContent" and description "A network share to be used by Local Publishing to place published content on this WSUS system."
    2015-02-04 09:47:20  Deleting existing share...
    2015-02-04 09:47:20  Creating share...
    2015-02-04 09:47:20  Share successfully created
    2015-02-04 09:47:20  Creating share "WSUSTemp" with path "C:\Program Files\Update Services\LogFiles\WSUSTemp" and description "A network share used by Local Publishing from a Remote WSUS Console Instance."
    2015-02-04 09:47:20  Deleting existing share...
    2015-02-04 09:47:20  Creating share...
    2015-02-04 09:47:20  Share successfully created
    2015-02-04 09:47:20  Finished creating content shares
    2015-02-04 09:47:20  Stopping service WSUSService
    2015-02-04 09:47:20  Stopping service W3SVC
    2015-02-04 09:47:21  Configuring WID database...
    2015-02-04 09:47:21  Configuring the database...
    2015-02-04 09:47:21  Establishing DB connection...
    2015-02-04 09:47:21  Checking to see if database exists...
    2015-02-04 09:47:21  Database exists
    2015-02-04 09:47:21  Switching database to single user mode...
    2015-02-04 09:47:24  Loading install type query...
    2015-02-04 09:47:24  DECLARE @currentDBVersion       int
    DECLARE @scriptMajorVersion     int = (9600)
    DECLARE @scriptMinorVersion     int = (16384)
    DECLARE @databaseMajorVersion   int 
    DECLARE @databaseMinorVersion   int 
    DECLARE @databaseBuildNumber    nvarchar(10)
    IF NOT EXISTS(SELECT * FROM sys.databases WHERE name='SUSDB')
    BEGIN
        SELECT 1
    END
    ELSE
    BEGIN
        SET @currentDBVersion = (SELECT SchemaVersion FROM SUSDB.dbo.tbSchemaVersion WHERE ComponentName = 'CoreDB')
        SET @databaseBuildNumber = (SELECT BuildNumber FROM SUSDB.dbo.tbSchemaVersion WHERE ComponentName = 'CoreDB')
        DECLARE @delimiterPosition INT = CHARINDEX('.', @databaseBuildNumber)
        IF (@delimiterPosition = 0)
        BEGIN
            RAISERROR('Invalid schema version number', 16, 1) with nowait
            return 
        END 
        SET @databaseMajorVersion = SUBSTRING(@databaseBuildNumber, 1, @delimiterPosition - 1)
        SET @databaseMinorVersion = SUBSTRING(@databaseBuildNumber, (@delimiterPosition + 1), (10 - @delimiterPosition))
        IF @currentDBVersion < 926
        BEGIN
            SELECT 3
        END
        ELSE
        BEGIN
            IF (@scriptMajorVersion > @databaseMajorVersion OR
               (@scriptMajorVersion = @databaseMajorVersion AND @scriptMinorVersion > @databaseMinorVersion))
            BEGIN
                SELECT 2
            END
            ELSE IF (@scriptMajorVersion = @databaseMajorVersion AND
                     @scriptMinorVersion = @databaseMinorVersion)
            BEGIN
                SELECT 0
            END
            ELSE
            BEGIN
                SELECT 4
            END
        END
    END
    2015-02-04 09:47:24  Install type is: Reinstall
    2015-02-04 09:47:24  Creating logins...
    2015-02-04 09:47:24  Fetching account info for S-1-5-20
    2015-02-04 09:47:24  Found principal
    2015-02-04 09:47:24  Found account
    2015-02-04 09:47:24  Got binary SID
    2015-02-04 09:47:24  Fetching WsusAdministratorsSid from registry store
    2015-02-04 09:47:24  Value is S-1-5-21-738919999-2738570043-745769279-1003
    2015-02-04 09:47:24  Fetching account info for S-1-5-21-738919999-2738570043-745769279-1003
    2015-02-04 09:47:24  Found principal
    2015-02-04 09:47:24  Found account
    2015-02-04 09:47:24  Got binary SID
    2015-02-04 09:47:24  Setting content location...
    2015-02-04 09:47:24  Fetching ContentDir from registry store
    2015-02-04 09:47:24  Value is D:\WSUS
    2015-02-04 09:47:24  Swtching DB to multi-user mode......
    2015-02-04 09:47:25  Finished setting multi-user mode
    2015-02-04 09:47:25  Writing DB settings to registry...
    2015-02-04 09:47:25  Marking PostInstall done for UpdateServices-WidDatabase in the registry...
    2015-02-04 09:47:25  Starting service W3SVC
    2015-02-04 09:47:25  Configuring IIS...
    2015-02-04 09:47:25  Start: ConfigureWebsite
    2015-02-04 09:47:25  System.Runtime.InteropServices.COMException (0x80070003): The system cannot find the path specified.
       at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
       at System.DirectoryServices.DirectoryEntry.Bind()
       at System.DirectoryServices.DirectoryEntry.get_AdsObject()
       at System.DirectoryServices.PropertyValueCollection.PopulateList()
       at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
       at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
       at Microsoft.UpdateServices.Administration.UseCustomWebSite..ctor()
       at Microsoft.UpdateServices.Administration.PostInstall.ConfigureWebsite(Int32 portNumber)
       at Microsoft.UpdateServices.Administration.PostInstall.Run()
       at Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)
    Syed

    Hi Syed,
    >>2015-02-04 09:47:25  Configuring IIS...
         2015-02-04 09:47:25  Start: ConfigureWebsite
         2015-02-04 09:47:25  System.Runtime.InteropServices.COMException (0x80070003): The system cannot find the path specified.
    According to the log, WSUS post install can not configure the website successfully.
    Have you change any default setting in IIS? If there is no other website running on the IIS, please try to reinstall the IIS role.
    Best Regards.
    Steven Lee Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Java.io.FileNotFoundException: test.txt (The system cannot find the file sp

    Hi All,
    am getting the following error, help me out. Thanks in advance...
    java.io.FileNotFoundException: test.txt (The system cannot find the file specified)
         java.io.FileInputStream.open(Native Method)
         java.io.FileInputStream.<init>(FileInputStream.java:106)
         java.io.FileInputStream.<init>(FileInputStream.java:66)
         BinaryStreamServlet.doGet(BinaryStreamServlet.java:13)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    I have placed "test.txt" in the path"D:\Backup\Tomcat web server\apache-tomcat-6.0.14\webapps\examples\WEB-INF\classes\test.txt".
    web.xml entry is as follows,
    <servlet>
    <servlet-name>demoservlet2</servlet-name>
    <servlet-class>BinaryStreamServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>demoservlet2</servlet-name>
    <url-pattern>/demoservlet2</url-pattern>
    </servlet-mapping>
    Source code:
    import java.io.*;
    import java.net.*;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class BinaryStreamServlet extends HttpServlet{
    public void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException{     
    response.setContentType("text/plain"); /* set the MIME type */
         File f= new File("test.txt");
         byte[] arBytes = new byte[(int) f.length()];
         FileInputStream is= new FileInputStream("test.txt");
         is.read(arBytes);
         OutputStream os = response.getOutputStream();
         os.write(arBytes);
         os.flush();
    }

    I have one Drivers.xml file in /WEB-INF that i want to read .but everytime i get exception file not found..
    i m trying to read this xml file in DriverUtilties.java (a non servlet class)
    inside of /WEB-INF/classess folder is there and hierarchy for non-servlet class DriverUtilties is :- com.dds.apps.ptes.pidentifier.admin.util.common.DriverUtilties
    what code shall i write so that i can read the xml file. ???
    where i set in classpath ?
    MYCODE is like this :
    public static final String DEFAULT_FILE = "/WEB-INF/drivers.xml";
    InputStream in = new FileInputStream(DEFAULT_FILE);
    Thanks in advance

  • AnyConnect client and "The system cannot find the file specified" error

    Hello,
    I am trying  to connect to vpn via API (using example programs) and I get following error on start:
    Description:
    Function: RestoreProxySettingsToBrowser
    File: .\Proxy\BrowserProxy.cpp
    Line: 1025
    Invoked Function: DeleteFile
    Return Code: 2 (0x00000002)
    Description: The system cannot find the file specified.
    I cannot find any more informations and quick google search points me to anti-virus companies site. Do you know any idea what is happening here?
    Thanks,
    Nemanja

    Hi,
    I am not sure if your question is realted to the Oracle Application Server - anyway, if you are packaging a class file and a properties file in a JAR File, you need to read the contents in a different manner...something like this... :
    URL url = new URL("jar:file:/home/duke/duke.jar!/");
    JarURLConnection jarConnection = (JarURLConnection)url.openConnection();
    You might want to have a look at this link for more information :
    http://java.sun.com/docs/books/tutorial/index.html
    You may also get better responses if you post your question in one of the Java Forums.
    Regards,
    Sandeep

Maybe you are looking for

  • Week Cal HD app removed from App Store because it is too similar to the build in calendar - what is your take?

    Apple apparently removed the Week Cal HD app from the App Store becuase it is too similar to the build in calendar app. I loved that app and am really annoyed that Apple removes an app I paid for, thus making it impossible for the developer to post a

  • Account 'Contra account: Acquisition value' could not be found for area 01

    Hi, everyone! I am practicing in T-code ABZON. I created one asset and purchased it. When I use T-code ABZON to acquisition with automatic, I cannot post because it has error: Account 'Contra account: Acquisition value' could not be found for area 01

  • Send Single Message to Client

    What is the best way to send a single message from the server to a client using flex/blazeds? The one caveat is that the message could take several minutes before it is sent. Think of a long calculation that is done on the server that the client wait

  • Appending namespaces attributes

    Hi there, We have a proxy service (pswsdl) and business service (bswsdl) I am currently working on transforming xml payload from proxy service (pswsdl) to the xml as compliant with business service (bswsdl). I grab the payload from the proxy service

  • Ip igmp snooping querier?

    i've been reading these forums and noticed that lot of people have problems with configuring multicast. basicly, problems are flooding bandwidth, no querier, confusing pim router configuration ... also, ive seen some promisses from tehnical stuff tha