PDA

View Full Version : ANts infestation


View Full Version : ANts infestation


Malicious Intent
July 19th, 2005, 04:47 PM
On my circuit of trying out p2p programs, I thought i would try ants again. It was getting somewhere last time i tried, so my hopes were up. Sadly, I'm having problems.

On my desktop, I'm getting a blank java window (with that horrible beige typical of java). It is titled Warning - Security. The window is typical of java, so i'm guessing it is java fault, rather than ANts. I've reinstalled java with no luck.

What I'm more worried about is my laptop. I got as far as selecting my browser. Not really having any idea what this meant, I selected Firefox - guessed it must have something to do with viewing ANts pages.

Now I'm just getting an "Java Web Start - Unexpected Error" which says "Unable to launch Ants P2P".

Details:


An error occurred while launching/running the application.

Title: Ants P2P
Vendor: Gwren
Category: Unexpected Error

Unexpected exception: java.lang.reflect.InvocationTargetException


..

<?xml version="1.0" encoding="utf-8"?>

<!--
################################################## #############################
#
# @(#)draw.jnlp 1.6 02/09/11
#
# JNLP File for ANts P2P by Gwren (c) 2004
#
################################################## #############################
-->


<jnlp spec="0.2 1.0"
codebase="http://www.myjavaserver.com/~gwren/Ants/"
href="antsp2p.jnlp">
<information>
<title>Ants P2P</title>
<vendor>Gwren</vendor>
<homepage href="http://www.myjavaserver.com/~gwren/home.jsp?page=custom&xmlName=ants"/>
<description>
ANts P2P realizes a third generation P2P net.
It protects your privacy while you are connected and makes you not trackable,
hiding your identity (ip) and crypting everything you are sending/receiving from others.
</description>
<description kind="short">
ANts P2P, anonymous filesharing.
</description>
<icon href="http://antsp2p.sourceforge.net/img/antsLogo.gif"/>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.4.2+" href="http://java.sun.com/products/autodl/j2se"
initial-heap-size="50m"
max-heap-size="300m"/>
<jar href="resources.jar" download="eager"/>
<jar href="log4j-1.2.8.jar" download="eager"/>
<jar href="liquidlnf.jar" download="eager"/>
<jar href="napkinlaf.jar" download="eager"/>
<jar href="trendylaf.jar" download="eager"/>
<jar href="pircbot.jar" download="eager"/>
<jar href="mp3.jar" download="eager"/>
<jar href="jzlib.jar" download="eager"/>
<jar href="lucene-1.4.3.jar" download="eager"/>
<jar href="commons-logging.jar" download="eager"/>
<jar href="commons-httpclient.jar" download="eager"/>
<jar href="BCProvider.jar" download="eager"/>
<jar href="clink170.jar" download="eager"/>
</resources>
<resources os="Windows">
<nativelib href="corelibs.jar" download="eager"/>
<jar href="trayIcon.jar" download="eager"/>
<jar href="AntsP2PWinTray.jar" main="true" download="eager"/>
</resources>
<resources os="Mac">
<jar href="AntsP2P.jar" main="true" download="eager"/>
</resources>
<resources os="Linux">
<jar href="AntsP2P.jar" main="true" download="eager"/>
</resources>
<resources os="Solaris">
<jar href="AntsP2P.jar" main="true" download="eager"/>
</resources>
<resources os="OS/2">
<jar href="AntsP2P.jar" main="true" download="eager"/>
</resources>
<resources os="FreeBSD">
<jar href="AntsP2P.jar" main="true" download="eager"/>
</resources>
<resources os="Irix">
<jar href="AntsP2P.jar" main="true" download="eager"/>
</resources>
<resources os="Digital Unix">
<jar href="AntsP2P.jar" main="true" download="eager"/>
</resources>
<resources os="NetWare 4.11">
<jar href="AntsP2P.jar" main="true" download="eager"/>
</resources>
<resources os="MPE/iX">
<jar href="AntsP2P.jar" main="true" download="eager"/>
</resources>
<resources os="HP-UX">
<jar href="AntsP2P.jar" main="true" download="eager"/>
</resources>
<application-desc main-class="ants.p2p.gui.FrameAnt"/>
</jnlp>

..


java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unkn own Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.UnsatisfiedLinkError: no TrayIcon12 in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.jeans.trayicon.WindowsTrayIcon.<clinit>(WindowsTrayIcon.java:672)
at ants.p2p.gui.FrameAnt.jbInit(FrameAnt.java:194)
at ants.p2p.gui.FrameAnt.<init>(FrameAnt.java:77)
at ants.p2p.gui.FrameAnt.getInstance(FrameAnt.java:91 )
at ants.p2p.gui.FrameAnt.main(FrameAnt.java:136)
... 11 more


I get that after the security warning whenever trying to run ants now. I'm concerned it is half installed on my laptop. Any ideas how I could fix it? Remove Ants?

Best I've come up with is to restart my laptop. I've also tried running ants from IE with firefox closed in case there is a conflict, but that doesnt help either.

riderx
July 19th, 2005, 04:59 PM
haha and hear i was going to tell you to fumigate your house
haha

Malicious Intent
July 19th, 2005, 05:05 PM
Well i think i'm going to have to fumigate my PC - or point a large magnet at the HDD.

Malicious Intent
July 19th, 2005, 05:10 PM
Didn't take long with google to solve the desktop problem. I should have checked before, but I was worried more about my laptop :(

.:sp00ky:.
July 19th, 2005, 05:13 PM
Iv heard magnets speed up your computer...

anywho...are you using the new java 04update cos i upgraded to it a few days ao and have had nothing but "Unexpected Error" with apps that worked fine on 03update hmmmmm

The Hunter
July 19th, 2005, 05:20 PM
When I first started modding here, I tested every new thing that came out. After formatting 3 times in one week, I now sit back and wait for feedback before testing something.

Malicious Intent
July 19th, 2005, 05:21 PM
My desktop is running update 4 and is working fine (i'm struggling to connect, but give me time!).

Laptop is running.... hmmm....

Ants has just appeared in add/remove. I clicked add/remove and it vanished again. I've also just discovered that 1.4.2 is installed along side 5. Perhaps i'm getting a conflict.

AussieMatt
July 19th, 2005, 05:33 PM
Java Versions can create all sorts of issues especially Java 5 with Java 4 seems to have a swathe of problems .If your having isses with Ants you can always email Robertto.

Malicious Intent
July 19th, 2005, 06:10 PM
I think I can safely conclude that the error was due to having two versions of Java on my laptop. No idea how that happened.

My laptop is fussing about my firewall and now and again connects to 1 peer. Guess I will have to set up my router. The PC doesnt even try. Just says Initializing.... then Ant is not running. Getting late now and I'm beginning to reminisce how easy setting up BitTorrent is...

DwarfBaby
July 19th, 2005, 08:57 PM
Run like hell and don't look back. Any program causing that much trouble is not worth it.

Malicious Intent
July 20th, 2005, 05:16 AM
I'm a bit more patient than that.

I've put the desktop project on hold given that it is still refusing to do anything. My laptop is connected to 4 peers, but it is still bitching about my NAT/firewall. That is kinda funny given that I wrote a guide on overcoming that problem...

1985
July 20th, 2005, 05:34 AM
Uninstall ol Java stuff and install ONLY Java 5.0 Update 4. Having more Java is a bad idea.

Them open Firefox and install java simply going here:
http://www.myjavaserver.com/~gwren/Ants/antsp2p.jnlp

If this don't work with Firefox, try using Explorer.

To start ANts, open this:
C:\Programs\Java\jre1.5.0_04\bin\javaws.exe (or where you have installed Java)

It should appair a warning for certificate, click Yes

Launch ANts and set port to 443

Open Windows Firewall (from Control Panel) and add an exception for 443 (TCP and UDP, TCP shoulb be enough I think)

If you got a problem while probing your firewall, close and restart ANts until you got ok :icon_blac

Malicious Intent
July 20th, 2005, 08:26 AM
Yes it does :) My connection is correctly set. Im only connected to one peer, but it is still a connection! Lesson = if you try and set ANts up on more than one computer at a time, you are going to lose track where you go to!

Sadly it found no result for "mp3".

Now to try and get it working on my desktop where I want it. Given that it doesnt really try to connect, I think my problems are now more serious on my desktop.

I've got a few ideas, but the sun outside is calling me first :)