Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (404)
games submitted by our members
Games in WIP (289)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  log4j issues with JInput  (Read 1630 times)
0 Members and 1 Guest are viewing this topic.
Offline paulb

Senior Newbie





« Posted 2009-11-23 11:56:11 »

Hi,
  I use log4j in my application and have noted that the application doesnt run correctly i.e. the thread waiting on the event queue doesnt run or seems to hang!

I also notice that when I run my app and when I call the getDefaultEnvironment.getControllers() method that some debug/info is printed.  This looks suspiciously like a log4j format?

Are there any known issues relating to log4j?

Thanks.
Offline endolf
« League of Dukes »

JGO Coder


Medals: 4
Projects: 1


Current project release date: sometime in 3003


« Reply #1 - Posted 2009-11-24 07:54:17 »

Hi

Which build are you using?. Up until a couple of weeks ago JInput used to dump some information straight to stdout/stderr. I changed this so that it's using java logging.

I have no idea why you are seeing some threads hang, have you considered that when running in debug mode you are still generating OS events that JInput will try and process when it next gets a chance?. Unfortunatly this might be one of those cases when running a debugger effects the operation of the application.

Endolf

Offline paulb

Senior Newbie





« Reply #2 - Posted 2009-11-25 10:07:11 »

Hi

Which build are you using?. Up until a couple of weeks ago JInput used to dump some information straight to stdout/stderr. I changed this so that it's using java logging.

I have no idea why you are seeing some threads hang, have you considered that when running in debug mode you are still generating OS events that JInput will try and process when it next gets a chance?. Unfortunatly this might be one of those cases when running a debugger effects the operation of the application.

Endolf

Not sure which version it is.  Doesnt seem to be any info in the readme file.  I noticed that there is a version.java file, which has the version variable.  This is set to 2.0.0.-b01.  Is this correct?

I downloaded it a couple of weeks ago.

Maybe I should look at the source code.
Games published by our own members! Check 'em out!
Play the free demo of Revenge of the Titans!
Offline endolf
« League of Dukes »

JGO Coder


Medals: 4
Projects: 1


Current project release date: sometime in 3003


« Reply #3 - Posted 2009-11-26 07:46:49 »

Hi

You can try the latest nightly build from here. Looks like the file size changed on the 1st of november build and later.

HTH

Endolf

Offline paulb

Senior Newbie





« Reply #4 - Posted 2009-11-30 16:39:51 »

Hi

You can try the latest nightly build from here. Looks like the file size changed on the 1st of november build and later.

HTH

Endolf

Thanks Endolf for your response again.  The link you have listed is for the build.  I need to rebuild the source code for glibc 2.7, if I recall.

At what point did the source code change?
Offline endolf
« League of Dukes »

JGO Coder


Medals: 4
Projects: 1


Current project release date: sometime in 3003


« Reply #5 - Posted 2009-12-02 18:36:16 »

Hi

According the ever slow and painful java.net, I checked in a change with a timestamp of 2009-10-31 11:06:12+0000

HTH

Endolf

P.S sorry for the wait, I've been hiding under a duvet with man flu for a few days.

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Try the Free Demo of Revenge of the Titans

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (35 views)
2013-05-17 21:29:12

alaslipknot (44 views)
2013-05-16 21:24:48

gouessej (73 views)
2013-05-16 00:53:38

gouessej (73 views)
2013-05-16 00:17:58

theagentd (81 views)
2013-05-15 15:01:13

theagentd (75 views)
2013-05-15 15:00:54

StreetDoggy (117 views)
2013-05-14 15:56:26

kutucuk (141 views)
2013-05-12 17:10:36

kutucuk (141 views)
2013-05-12 15:36:09

UnluckyDevil (151 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!
Page created in 0.106 seconds with 21 queries.