Results 1 to 18 of 18

Thread: Installation problems...

  1. #1

    Installation problems...

    I'm doing a manual install without making it a service... java.exe doesn't seem to run at all; I don't think I have any ITClient.jar, the link on the download page gives me a ITClient.zip that seems buggy because it has a few zero-size files.

    I changed java to "C:\Program Files\Java\jre1.5.0\bin\java.exe... because my computer won't recognize java. Is there something I'm doing wrong with the batch file?

    islandNT.bat :
    Code:
    cd "C:\Program Files\DHE"
    :begin
    start /low /b /wait "C:\Program Files\Java\jre1.5.0\bin\java.exe
      -Djava.security.policy=java.policy -jar ITClient.jar 139.184.166.27
      KingKong AySz88 -i 30 -c 60 AySz88@aol.com"
    #goto begin
    Output:
    Code:
    C:\Program Files\DHE>"C:\Program Files\DHE\islandNT.bat"
    
    C:\Program Files\DHE>cd "C:\Program Files\DHE"
    
    C:\Program Files\DHE>start /low /b /wait "C:\Program Files\Java\jre1.5.0\bin\jav
    a.exe -Djava.security.policy=java.policy -jar ITClient.jar 139.184.166.27 KingKo
    ng AySz88 -i 30 -c 60 AySz88@aol.com"
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.

  2. #2
    Target Butt IronBits's Avatar
    Join Date
    Dec 2001
    Location
    Morrisville, NC
    Posts
    8,619
    Change all references of 139.184.166.27 to dhep.dbestern.com

  3. #3
    Didn't fix anything...

    Code:
    C:\Program Files\DHE>cd "C:\Program Files\DHE"
    
    C:\Program Files\DHE>start /low /b /wait "C:\Program Files\Java\jre1.5.0\bin\jav
    a.exe -Djava.security.policy=java.policy -jar ITClient.jar dhep.dbestern.com Kin
    gKong AySz88 -i 30 -c 60 AySz88@aol.com"
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.

  4. #4
    If you don't have the ITClient.jar file , it won't run. Also, you have to change the setting to dhep.dbestern.com in the java.policy file as well as the batch file.

  5. #5
    Clicking on those links on the download page gives me ITClient.zip instead of ITClient.jar for some reason.

  6. #6
    Administrator Bok's Avatar
    Join Date
    Oct 2003
    Location
    Wake Forest, North Carolina, United States
    Posts
    24,473
    Blog Entries
    13
    There isn't an ITClient.zip in the directory??? Do you mean the IslandNT.zip ?

    I've fixed the java.policy file on the site to point to dhep.dbestern.com as well.

    Bok

  7. #7
    Huh? I downloaded the batch file and ITClient.zip, I have no ITClient.jar and can't find any file named ITClient.jar in ITClient.zip.

  8. #8
    Administrator Bok's Avatar
    Join Date
    Oct 2003
    Location
    Wake Forest, North Carolina, United States
    Posts
    24,473
    Blog Entries
    13
    Are you totally sure it's ITclient.zip, remembering that winzip will open the .jar files as they are in fact just another form of compression anyway.

    Perhaps you have explorer set not to show file extensions and are just presuming that it is a zip file because it is associated with winzip ? I apologize if this is not the case but I'm just confused because there really isn't an ITclient.zip on the website that I can see looking on the server itself.

    Bok

  9. #9
    It's apparently a (semi)valid .zip as I can extract some .class files from there...

    I'm clicking on http://www.cogs.susx.ac.uk/users/mmg...s/ITClient.jar on http://www.cogs.susx.ac.uk/users/mmg20/dhe/download.php and getting redirected to a ITClient.zip ...

    Explorer is showing extensions, and it's definately shows a zip extension. Inside the .zip are the folders distrit, META_INF, and a file distrit. distrit contains the folder client, and the files Task.class, InteractiveTaskServer.class, InteractiveTask.class, and the file client. client contains InteractiveTaskClient.class and InteractiveTaskClient$1.class. META_INF contains MANIFEST.MF.

    [edit] No offense taken; I just want this to work.

  10. #10
    Administrator Bok's Avatar
    Join Date
    Oct 2003
    Location
    Wake Forest, North Carolina, United States
    Posts
    24,473
    Blog Entries
    13
    Weird,

    I click on that link and it gives me the .jar

    Are you using a download manager at all ? Grasping at straws!!

    However, that is the old site, though that will not change this problem.

    new site is

    http://dhep.dbestern.com

    Bok

  11. #11
    Same problem with the new site....
    No download manager... I have UltimateZip installed; could there be some sort of weird behavior there?

    [edit] What happens if you just rename that jar to a zip? Are they in fact the same file?

  12. #12
    Target Butt IronBits's Avatar
    Join Date
    Dec 2001
    Location
    Morrisville, NC
    Posts
    8,619
    Right click on the link, and choose 'save as'

  13. #13
    Still shows up as a .zip. I'm suspecting they're actually the same file, just UltimateZip or something doing something screwy with the extension.

  14. #14

    zip = jar

    Java JAR files ARE zip files, just rename it back to .jar.

    miguel

  15. #15
    Did that, still not working.... It still doesn't seem to be running java.exe for any significant amount of time because it doesn't show up on task manager at all.

    I also tried it without the start command at the beginning, and got this:
    Code:
    C:\Program Files\DHE>"C:\Program Files\Java\jre1.5.0\bin\java.exe" -Djava.securi
    ty.policy=java.policy -jar ITClient.jar dhep.dbestern.com KingKong AySz88 -i 30
    -c 60 AySz88@aol.com
    Interact period is 30 minutes.
    Connect period is 60 minutes.
    Trying to get task from server //dhep.dbestern.com/KingKong
    InteractiveTaskClient exception: access denied (java.net.SocketPermission dhep.d
    bestern.com resolve)
    java.security.AccessControlException: access denied (java.net.SocketPermission d
    hep.dbestern.com resolve)
            at java.security.AccessControlContext.checkPermission(Unknown Source)
            at java.security.AccessController.checkPermission(Unknown Source)
            at java.lang.SecurityManager.checkPermission(Unknown Source)
            at java.lang.SecurityManager.checkConnect(Unknown Source)
            at java.net.InetAddress.getAllByName0(Unknown Source)
            at java.net.InetAddress.getAllByName0(Unknown Source)
            at java.net.InetAddress.getAllByName(Unknown Source)
            at java.net.InetAddress.getByName(Unknown Source)
            at java.net.InetSocketAddress.<init>(Unknown Source)
            at java.net.Socket.<init>(Unknown Source)
            at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown S
    ource)
            at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown S
    ource)
            at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
            at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
            at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
            at sun.rmi.server.UnicastRef.newCall(Unknown Source)
            at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
            at java.rmi.Naming.lookup(Unknown Source)
            at distrit.client.InteractiveTaskClient.connectLoop(InteractiveTaskClien
    t.java:85)
            at distrit.client.InteractiveTaskClient.main(InteractiveTaskClient.java:
    248)

  16. #16
    Administrator Bok's Avatar
    Join Date
    Oct 2003
    Location
    Wake Forest, North Carolina, United States
    Posts
    24,473
    Blog Entries
    13
    That looks like you either haven't got the java.policy file or have got it but haven't changed it to point to dhep.dbestern.com or it's in the wrong place.

    Bok

  17. #17
    Oops, forgot I redownloaded it while I was trying to fix it.

    All right, *now* it works. Thanks everyone!

    (the link at the top when you click the banner from this page is still pointing at the old place, btw)


    FYI, I had to change the batch file to...

    start /low /wait C:\Progra~1\Java\jre1.5.0\bin\java.exe -Djava.security.policy=java.policy -jar ITClient.jar dhep.dbestern.com KingKong AySz88 -i 30 -c 60 AySz88@aol.com

    Last edited by AySz88; 03-08-2005 at 09:57 PM.

  18. #18
    Administrator Bok's Avatar
    Join Date
    Oct 2003
    Location
    Wake Forest, North Carolina, United States
    Posts
    24,473
    Blog Entries
    13
    Good spot!

    Fixed now

    Bok

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •