[SOLVED] Not able to connect to irc

Discuss Tiny Tiny IRC here
sceptiq
Bear Rating Trainee
Bear Rating Trainee
Posts: 3
Joined: 23 Jan 2014, 23:55

[SOLVED] Not able to connect to irc

Postby sceptiq » 24 Jan 2014, 00:11

Hey,

today i installed ttirc on my box - everything went fine after some pgsql hazzle - im able to login create connections... but connecting to the irc never happens.

starting the backend.jar gives me something like this:

Code: Select all

java -jar backend.jar
Jan 23, 2014 9:06:17 PM org.fox.ttirc.Master <init>
INFO: Master 0.8 (Build 0; 2014-01-23) starting up...
Jan 23, 2014 9:06:17 PM org.fox.ttirc.Master lock
INFO: Lock acquired successfully (master.lock).
Jan 23, 2014 9:06:17 PM org.fox.ttirc.Master <init>
INFO: Establishing database connection...
Jan 23, 2014 9:06:17 PM org.fox.ttirc.Master <init>
INFO: jdbc:postgresql://localhost:5432/ttirc_db
Jan 23, 2014 9:06:18 PM org.fox.ttirc.Master <init>
INFO: Database connection established.
Jan 23, 2014 9:06:18 PM org.fox.ttirc.Master cleanup
INFO: Cleaning up...
Jan 23, 2014 9:06:18 PM org.fox.ttirc.Master Run
INFO: Waiting for clients...
Jan 23, 2014 9:06:18 PM org.fox.ttirc.Master$PurgeThread run
INFO: PurgeThread initialized.
Jan 23, 2014 9:06:18 PM org.fox.ttirc.Master purgeOldMessages
INFO: Purging old messages (purge_hours = 168)
Jan 23, 2014 9:06:18 PM org.fox.ttirc.Master checkHandlers
INFO: Spawning connection 2
Exception in thread "main" java.lang.NoClassDefFoundError: org/schwering/irc/lib/IRCConnection
        at org.fox.ttirc.Master.checkHandlers(Unknown Source)
        at org.fox.ttirc.Master.Run(Unknown Source)
        at org.fox.ttirc.Master.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.schwering.irc.lib.IRCConnection
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 3 more


the thing about the irc lib...? thats why im not able to connect? "irclib-1.10" is what i got in my "lib/" the build was successful nothing about irclib.

is there any way to get more output?


thx!
Last edited by sceptiq on 24 Jan 2014, 20:09, edited 2 times in total.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Bot able to connect to irc

Postby fox » 24 Jan 2014, 01:08

You screwed something up while building the jar I think. Either that or you got different irclib.

Code: Select all

-rw-r--r-- 1 fox fox 132202 Feb 11  2010 irclib.jar


e: attached some libs
Attachments
ttirc_libs.zip
(1.27 MiB) Downloaded 92 times

friis
Bear Rating Trainee
Bear Rating Trainee
Posts: 1
Joined: 24 Jan 2014, 12:17

Re: Bot able to connect to irc

Postby friis » 24 Jan 2014, 12:54

I did the same as you yesterday and got the same error.

I Just copied the irclib.jar to the lib/ folder and it worked:

Code: Select all

cp lib/irclib-1.10/irclib.jar lib/

sceptiq
Bear Rating Trainee
Bear Rating Trainee
Posts: 3
Joined: 23 Jan 2014, 23:55

Re: Bot able to connect to irc

Postby sceptiq » 24 Jan 2014, 13:44

oh jeah!

its rocking ;)

my irclib was from 2006... your zip fixed it all! thx!

i can connect to my znc every things fine - i love it!

thx!

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Bot able to connect to irc

Postby fox » 24 Jan 2014, 14:05

I'll mention the list of files that need to be present in lib/ on the wiki page.


Return to “Tiny Tiny IRC”

Who is online

Users browsing this forum: No registered users and 1 guest