Error running javaws.exe  "The directory name is invalid"

I am attempting to run a VPN client for Sabre. Once I installed their VPN client (installing JRE 1.5 + their custom icon) I am unable to successfully launch the VPN using the desktop icon as a power user in an active directory network environment, however as an admin it works fine.
C:\Program Files\java\jre1.5.0_11\bin\javaws.exe "The Directory name is Invalid" <----Error message I get when I launch VPN.
This is what the target location says - "C:\Program Files\Java\jre1.5.0_11\bin\javaws.exe" http://sabrevpn.sabre.com/vpnclient/sslvpn-tn.jnlp
Now I have enabled access for our limited users by adding their group with modify access to the c:\program files\java folder and still I get this error. Any idea what this could be?!
Thanks in advance.

Hi,
Thanks for your question.
Can you access other websites?
Did you use TMG 2010 and install SP1 on it? Did you configure HTTPS inspection?
If yes, it may because TMG 2010 SP1 sends an empty client certificate to the web server during the initial Secure Sockets Layer handshake and
you can refer to the KB below:
http://support.microsoft.com/kb/2423401/en-us
In addition, did you mean that the issue went away after you start Windows Firewall service? In general, Windows Firewall must be enabled on the computer where TMG operates. I am not sure if it is due to the Windows Firewall is not working.
You can also check if Windows Firewall is enabled when you receive that error.
Best regards,
Susie

Similar Messages

  • TMG Error Code 502 Proxy Error. The directory name is invalid. (267)

    Hi,
    I am having problem with a website in specific.
    Is showing the following error message.
    Error Code: 502 Proxy Error. The Directory name is invalid. (267)
    Server: TMG.personaldomain.local
    Source: web filter
    I have found no information in the logs to help identify the problem.
    I suspect that may be temporarily unavailable from the website. I enter the site without using the TMG and the same is responding.
    The problem is solved when I restart the service "Microsoft Forefront TMG Firewall"
    I suspect that may be cached in TMG that the site remains unavailable.
    Any idea?
    Tks.
    MCITP|Enterprise Administrator

    Hi,
    Thank you for the post.
    I did some research and found 267 error code may occur where the TMG tracing showed an issue accessing the Malware Temporary Storage directory which was resolved by changing the direction from C:\windows\temp directory
    to a custom directory. You could make this change as a pro-active step. Meanwhile, if you are running AV software on the TMG server, please also ensure you have reviewed the following article:
    http://technet.microsoft.com/library/cc707727.aspx
    Regards,
    Nick Gu - MSFT

  • Certutil -crl problems (the directory name is invalid)

    Another problem for you fine experts to consider...2 tier PKI, offline Root 2008 R2, 1 Sub Ent CA in Domain1 (2008 R2) and 1 Sub Ent CA in Domain2 (2012 R2).
    SubCA 1 and 2 are configured pretty much identically, however when setting up SubCA 2 I am having issues running the Certutil -CRL command to publish the CRL.
    My CDP locations are configured as follows;
    65:c:\WIndows\System32\CertSrv\CertEnroll\%3%8%9.crl
    79:ldap://CN=%7%8,CN=CDP,CN=Public Key Services,CN=Services,%6%10
    6:http://pki.domain2/CertEnrolment/%3%8%9.crl
    65:file://\\pki.domain2\CertEnrolment\%3%8%9.crl
    I can confirm that the base CRL publishes correctly to the CertEnroll location and LDAP correctly. But it fails trying to publish to the HTTP/File location (which is the same path).
    I get the error:
    CertUtil: -CRL command FAILED: 0x8007010b (WIN32/HTTP: 267 ERROR_DIRECTORY)
    CertUtil: The directory name is invalid
    Also the Delta CRL fails on the CertEnroll default directory as well as the file/http path with error;
    Active Directory Certificate Services could not publish a Delta CRL for key 0 to the following location: file://\\pki.domain\CertEnrolment\CANAME+.crl.
    Operation aborted 0x80004004 (-2147467260 E_ABORT)<o:p></o:p>
    I'm pretty certain it's not a permissions issue as I've added Everyone for NTFS/share permissions to test without any change. The install was done with an Enterprise
    Admin account but I'm doing all the testing now with a normal admin account (admin in the CA/server but not domain or enterprise admin).<o:p></o:p>
    <o:p></o:p>
    The File/HTTP location is on the CA itself (I know this is likely not best practise, but needs to be there in the short term) so not sure if the Windows firewall comes into play.
    Thanks!

    Hi driko,
    It's not a best practise to give Everyone NTFS/share permissions!
    What I suggest is you
    1. Create a dedicated folder f.e. "C:\Repository" on CA and share it only with permissions to specific account (see below)
    2. In CA publish CRLs to c:\WIndows\System32\CertSrv\CertEnroll\%3%8%9.crl
    only and create a task in task scheduler that will be running on the dedicated account and will copy c:\WIndows\System32\CertSrv\CertEnroll\*.crl
    to \\pki.domain2\Repozitory\*.crl 
    3. Make sure that account that is running this task on CA1 (Domain 1) has enough permissions for Repository share in Domain 2 (try running cmd as this user on
    CA1 and copy files manually to \\pki.domain2\Repository\)
    4. Map your http://pki.domain/CertEnrolment URL with IIS to physial C:\Repository\  folder path
    Did my post help you or make you laugh? Don't forget to click the Helpful vote :) If I answered your question please mark my post as an Answer.

  • •Error Code: 502 Proxy Error. The directory name is invalid. (267)

    Hi..my name is Fajar..
    I facing same situation getting an error cannot access
    www.pajak.go.id. I have followed up soulution  to restart firewall services its resolved only one day, once I get back to the office cannot access again.
    btw sometimes after the error shown up, I press refresh button and the page getting blank and then refresh again. the error shown up again.
    is there any permanent solution to resolved this issue?

    Hi,
    Thanks for your question.
    Can you access other websites?
    Did you use TMG 2010 and install SP1 on it? Did you configure HTTPS inspection?
    If yes, it may because TMG 2010 SP1 sends an empty client certificate to the web server during the initial Secure Sockets Layer handshake and
    you can refer to the KB below:
    http://support.microsoft.com/kb/2423401/en-us
    In addition, did you mean that the issue went away after you start Windows Firewall service? In general, Windows Firewall must be enabled on the computer where TMG operates. I am not sure if it is due to the Windows Firewall is not working.
    You can also check if Windows Firewall is enabled when you receive that error.
    Best regards,
    Susie

  • The directory name is invalid

    Can anyone explain how to avoid this error when using CreateProcess to launch a java app from within a Windows Service.
    The exact same call works fine when executed from the context of a Windows application or Windows Command Windows (DOS box). Yet, it fails when invoked from a Windows service.
    I've tried all the standard tricks of running the services as a specific user, granting FULL rights to all user ID on my machine, etc.
    Is there something weird about the relationship between a service and the java engine. It looks like the java engine doesn't even get launched...

    Have a read of Techincal reference document on 'Quoting and Special Characters in MaxL'.
    I just picked these lines for you,
    One backslash is treated as one backslash by the shell, but is ignored or treated as an escape
    character by MaxL. Two backslashes are treated as one backslash by the shell and MaxL.
    Hope it helps.

  • When trying to install Firefox 3.6.11, after extraction, I get the message "The directory name is invalid", and the installation won't continue (Windows Vista Home Basic 6.0).

    That's about it.

    I downloaded a program from Roboform called rfwipeout.exe. I backed up my passwords, identities, etc and completely removed all traces of roboform. This did not help. When I re-installed the roboform new release it got the same message that it thinks I am using version 3.6 of Firefox instead of 11.0. There must be some setting in the Firefox folders that never gets changed when you update to a new version.
    Soon after that I ran a backup of Firefox profiles identities, etc using MOZ BACKUP. I had never noticed this until then but the message asks if I want to backup Mozilla Firefox 3.6. Since 2 completely different programs refer to my installation as 3.6 there must be something wrong in one of the Firefox files.

  • I downloaded the newest version of firefox but it will not install, it is giving me a message saying the directory name is invalid. Why and what can I do to fix.

    The above message pops up when I try to install the new version of firefox. It will not let me install the new version. I do not know how to fix it. Please advise.

    Try a custom install.
    *https://support.mozilla.com/kb/Custom+installation+of+Firefox+on+Windows

  • TREX creation process fails - directory name is invalid

    Hello All,
    I've installed a TREX instance to be linked up to two SRM instances (SRD and SRT).  I had done this successfully on a prior server, but recently we got a new
    server to run TREX on.
    When I reinstalled TREX on the new server, I have
    success having SRD connect to TREX via SM59, but SRT fails because the program isn't getting registered.
    While looking into the details, I find this error message in the traces:
    [00344] 2007-04-16 14:05:25.519 i Daemon TrexDaemon.cpp(03508) :
    start 'TREXRfcServer.exe -r -host=usalsapt -instance=sapgw52
    -service=TREXRfcServer_13' failed
    [00344] 2007-04-16 14:05:25.519 e Daemon TrexDaemon.cpp(02951) :
    creation of process '"TREXRfcServer.exe" -r -host=usalsapt
    -instance=sapgw52 -service=TREXRfcServer_13' failed: The directory name
    is invalid.
    Has anyone experienced something similar before?  Or have an idea as to which directory the error message references?  Thank you
    ~TJ

    Hi TJ,
    did you check in SM59 if the RFC destination is of type "regestration" and has case-sensitive correct the name in there ?
    Do you see a different error when SRT is down ?
    I guess, you checked to ping usalsapt from the TREX box already ? The instance number is 52 as well ?
    Regards
    Volker Gueldenpfennig, consolut.gmbh
    http://www.consolut.de - http://www.4soi.de - http://www.easymarketplace.de

  • Error 127: The specified file or directory name is invalid

    Hello,
    I am trying, for the first time, to Groom a users home directory. I had created user Home directory policy and have added vault and groom...

    On 5/14/2013 7:16 AM, nwadmsitn wrote:
    >
    > Hi,
    >
    > I'm trying to evaluate File Reporter. I have installed the agent on a
    > OES11 box. This agent is acting as my proxy agent.
    >
    > Then i setup a policie to scan a volume on 2 differents server. One is
    > OES11, the other is OES2.
    >
    > When i launch my policies i have very differents result :
    > - Volume Free Space : After 5 attempts finally it is working
    > -File System DATA : I have most of the time this error : (127) - The
    > specified file or directory name is invalid. Sometimes Operation is
    > successfull but in the reports i have only data for 1 of the 2 volume
    > and only for 2 directories
    >
    > In the log file of the nfr proxy agent i have this kind of error :
    > 01 2013-05-14 13:00:29 7200 3 0006 5953 7f674b5e0700
    > SRSScanAndCollectFileSystemDataService::FinalizeSc anDataEntry() - Worker
    > thread encountered an error and is exiting, Scan ID = "18", Result = 0.
    >
    > Can someone help me ?
    >
    > Stephane
    >
    >
    Stephane,
    Just to clarify a few things:
    1. Do you get these results for both scan targets? Or only a proxied
    scan of the OES11 or OES2 volume?
    2. What sort of volumes are being scanned? NSS? AFP? NCP? What's the
    underlying Linux filesystem type, if applicable?
    Thanks for helping us understand your problem better.
    - NFMS Support Team

  • "Error running javac.exe compiler" when using ant to compile Eclipse plugin

    Hi
    I encounter an error "Error running C:\jdk1.5.0_06\bin\javac.exe compiler" when building my project using ant1.7.
    My project has 10 eclipse plugins, and each plugin is compiled by invoking following ant target
    <!-- ===================================================================
    Compile specified plugin
         target parameters:
              param.plugin.dir: the plugin directory
              param.plugin.targetJarFile: the name of jar file for the given plugin
              param.plugin.src.dir: the folder name of source codes. Note: it is relative path name
              param.fork: indicate if another process is forked to run javac
    =================================================================== -->
    <target name="compilePlugin">
         <!-- Prepare compile environment -->
         <!-- Delete obsolete build folder -->
         <delete dir="${param.plugin.dir}/${build.dir}" quiet="true"/>
         <!-- Delete obsolete jar file -->
         <delete file="${param.plugin.dir}/${param.plugin.targetJarFile}" quiet="true"/>
         <mkdir dir="${param.plugin.dir}/${build.dir}"/>
         <!-- Compile source codes -->
         <javac      srcdir="${param.plugin.dir}/${param.plugin.src.dir}"
                   destdir="${param.plugin.dir}/${build.dir}"
                   failonerror="${javacFailOnError}"
                   verbose="${javacVerbose}"
                   debug="${javacDebugInfo}"
                   deprecation="${javacDeprecation}"
              optimize="${javacOptimize}"
                   source="${javacSource}"
                   target="${javacTarget}"     
                   fork="${param.fork}" memoryInitialSize="256m" memoryMaximumSize="512m">
              <classpath refid="compile.classpath" />
         </javac>
         <!-- Create plugin jar file -->
         <copy todir="${param.plugin.dir}/${build.dir}" failonerror="true">
              <fileset dir="${param.plugin.dir}/${param.plugin.src.dir}" excludes="**/*.java, **/package.htm*" />
         </copy>
         <jar jarfile="${param.plugin.dir}/${param.plugin.targetJarFile}" basedir="${param.plugin.dir}/${build.dir}"/>
         <delete dir="${param.plugin.dir}/${build.dir}" quiet="true"/>
    </target>
    Since each of first 9 plugins contains less than 500 java source files, we always set "param.fork" to false when invoking this ant target.
    For the 10th plugin, it has about 1000 source files. If we set "param.fork" to false, we will get the error "Error running javac.exe compiler". So we have to set "param.fork" to true when compiling it. This week, this plugin contains about 1250 files and we get the same error again when compiling it. I tried to increase the "memoryMaximumSize" to "768", but still couldn't get through it.
    BTW, There are about 150 jar files in our classpath for compiling plugins. Do many jar files cause this problem?
    Any help is highly appreciated.
    Many thanks
    Oceanman

    I encountered a very similar error and I was able to resolve it by removing the following parameters from the javac task:
    fork="${param.fork}"
    memoryInitialSize="256m"
    memoryMaximumSize="512m"My values were not the same as yours, before I removed them, the values were set to:
    fork="true"
    memoryInitialSize="256m"
    memoryMaximumSize="256m" Not sure why this fixed my problem but it did. I was using Ant 1.7 and Java 1.6_07 hope this helps.

  • Error message "javaw.exe has encountered..."

    For a past few days I've been having this problems....
    Whenever I use " Your Freedom" and "Azerues" program...I will get this standard Windows error message "javaw.exe has encountered a problem and need to close. Sorry for the incovinience" after running the program for about 5 minutes. Then, the program (Your Freedom) shuts down...
    I dont know what causes the problem since I've been using Your Freedom for 1 week now and it's been working fine till yesterday...
    For your information, I'm using:
    java version: "1.5.0_06"
    java (TM) Runtime Environment, Standard Edition (build 1.5.0_06-b05) java HotSpot (TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
    Antivirus prog: Norton Antivirus 2005
    Please help me because I really need to use the program

    I have just recently upgraded my computer to windows xp and downloaded all of the applicable java software and get the same error message that you do. I tried your suggestion,but to no avail. Have you heard of any other potential causes for this error. I thought maybe it was a firewall issue, but I contacted the manufacturer of the program and there should not be an compatability problems. I can 't seem to find any info regarding that error message. Any advice would be appreciated.
    Thanks

  • SharePoint 2010, Visual Studio 2010, Packaging a solution - The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

    Hi,
    I have a solution that used to contain one SharePoint 2010 project. The project is named along the following lines:
    <Company>.<Product>.SharePoint - let's call it Project1 for future reference. It contains a number of features which have been named according
    to their purpose, some are reasonably long and the paths fairly deep. As far as I am concerned we are using sensible namespaces and these reflect our company policy of "doing things properly".
    I first encountered the following error message when packaging the aforementioned SharePoint project into a wsp:
    "The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters."
    I went through a great deal of pain in trying to rename the project, shorten feature names and namespaces etc... until I got it working. I then went about gradually
    renaming everything until eventually I had what I started with, and it all worked. So I was none the wiser...not ideal, but I needed to get on and had tight delivery timelines.
    Recently we wanted to add another SharePoint project so that we could move some of our core functinality out into a separate SharePoint solution - e.g. custom workflow
    error logging. So we created another project in Visual Studio called:
    <Company>.<Product>.SharePoint.<Subsystem> - let's call it Project2 for future reference
    And this is when the error has come back and bitten me! The scenario is now as follows:
    1. project1 packages and deploys successfully with long feature names and deep paths.
    2. project2 does not package and has no features in it at all. The project2 name is 13 characters longer than project1
    I am convinced this is a bug with Visual Studio and/or the Package MSBuild target. Why? Let me explain my findings so far:
    1. By doing the following I can get project2 to package
    In Visual Studio 2010 show all files of project2, delete the obj, bin, pkg, pkgobj folders.
    Clean the solution
    Shut down Visual Studio 2010
    Open Visual Studio 2010
    Rebuild the solution
    Package the project2
    et voila the package is generated!
    This demonstrates that the package error message is in fact inaccurate and that it can create the package, it just needs a little help, since Visual Studio seems to
    no longer be hanging onto something.
    Clearly this is fine for a small time project, but try doing this in an environment where we use Continuous Integration, Unit Testing and automatic deployment of SharePoint
    solutions on a Build Server using automated builds.
    2. I have created another project3 which has a ludicrously long name, this packages fine and also has no features contained within it.
    3. I have looked at the length of the path under the pkg folder for project1 and it is large in comparison to the one that is generated for project2, that is when it
    does successfully package using the method outlined in 1. above. This is strange since project1 packages and project2 does not.
    4. If I attempt to add project2 to my command line build using MSBuild then it fails to package and when I then open up Visual Studio and attempt to package project2
    from the Visual Studio UI then it fails with the path too long error message, until I go through the steps outlined in 1. above to get it to package.
    5. DebugView shows nothing useful during the build and packaging of the project.
    6. The error seems to occur in
    CreateSharePointProjectService target called at line 365 of
    Microsoft.VisualStudio.SharePoint.targetsCurrently I am at a loss to work out why this is happening? My next task is to delete
    project2 completely and recreate it and introduce it into my Visual Studio solution.
    Microsoft, can you confirm whether this is a known issue and whether others have encountered this issue? Is it resolved in a hotfix?
    Anybody else, can you confirm whether you have come up with a solution to this issue? When I mean a solution I mean one that does not mean that I have to rename my namespaces,
    project etc... and is actually workable in a meaningful Visual Studio solution.

    Hi
    Yes, I thought I had fixed this my moving my solution from the usual documents  to
    c:\v2010\projectsOverflow\DetailedProjectTimeline
    This builds ok, but when I come to package I get the lovely error:
    Error 2 The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. C:\VS2010\ProjectsOverflow\DetailedProjectTimeline\VisualDetailedProjectTimelineWebPart\Features\Feature1\Feature1.feature VisualDetailedProjectTimeline
    Now, the error seems to be related to 
    Can anyone suggest what might be causing this. Probably some path in an XML file somewhere. Here is my prime suspect!
    <metaData>
    <type name="VisualDetailedProjectTimelineWebPart.VisualProjectTimelineWebPart.VisualProjectTimeline, $SharePoint.Project.AssemblyFullName$" />
    <importErrorMessage>$Resources:core,ImportErrorMessage;</importErrorMessage>
    </metaData>
    <data>
    <properties>
    <property name="Title" type="string">VisualProjectTimelineWebPart</property>
    <property name="Description" type="string">My Visual WebPart</property>
    </properties>
    </data>
    </webPart>
    </webParts>
    .... Unless I can solve this I will have to remove the project and recreate but with simple paths. Tho I will be none the wiser if I come across this again.
    Daniel

  • Does anyone have a cure for the following error running on Windows, "The procedure entry point sqlite3_wal_checkpoint could not be found located in the dynamic link library SQLite.dll.

    Does anyone have a cure for the following error running on Windows, "The procedure entry point sqlite3_wal_checkpoint could not be found located in the dynamic link library SQLite.dll.

    I have searched my computer for that file SQlite3.dll and also file QTCF.dll and I cannot find either one when I search my whole computer for it.  I cannot fix this!  I deleted Itunes and every time I try to download it, it goes through all this download till the end when it says that iTunes.exe-entry point now found and that Procedure entry point message comes up.  HELP!  This is driving me crazy.  How can I get itunes to work again when I can't find the danged .dll file to remove, move or rename!?!?!??

  • How do I get the directory name from my program?

    Hi,
    I want to indentify the directory name where my executable is running from the program.
    Is there any API similar to GetCurrentDirectory in Windows.
    Thanks,
    Ram

    I think you may be looking for the getcwd(3C) call.
    That call will get you the current working directory
    for your process. See the man page for details (man
    getcwd).
    Alan
    Sun Developer Technical Support
    http://www.sun.com/developers/support

  • Get-ChildItem : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

    Hi, Im trying to get the whole path in my server, so i tried that with this following code
    Get-ChildItem $sourceFolder  -Recurse | ?{$_.PsIsContainer} |Get-Acl
    But then, it showed me somtehing like this :
    Get-ChildItem : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
     I tried to find the solver everywhere and mostly they propose to change the path name, which is impossible, since I am working with my company server, and those folder have already there before i start to work here, then the other ask me to use robocopy,
    but all of the trick just dont work
    is there any way to solve this problem? thanks

    There is no simple solution to this. And it is not a limitation of powershell itself, but of the underlying NTFS file system.
    If the problem is that a folder with a name longer than 248 exists anywhere within your directory structure, you are hooped.
    If the problem is that some fully qualified path names exceed 260 characters, then, in those cases, the solution already given is to create a psdrive partway up the path from the drive letter or server/share root of the path. Unfortunately, the output produced
    will be relative to that psdrive and not to what is specified as the $sourcefolder.
    unless you already know where those problematic paths are, you might consider trying to trap those errors and have your script figure out where it needs to create psdrives. You might then be able to calculate the equivalent path for each file or folder and
    output that. the programming effort would be simpler to just created a psdrive for each folder encountered, however I expect that would be very inefficient.
    Al Dunbar -- remember to 'mark or propose as answer' or 'vote as helpful' as appropriate.

Maybe you are looking for