Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!

billson chew

Greenhorn
+ Follow
since Oct 03, 2007
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by billson chew

i'm having this kind of issue is because i'm using org.apache.log4j.AsyncAppender
if i change back to use org.apache.log4j.rolling.RollingFileAppender
it was working perfect and sweet.

if you still insist to use asyncappender
here is the solution i got from: http://marc.info/?l=log4j-user&m=105581147910000&w=2

<appender name="ASYNC" class="org.apache.log4j.AsyncAppender">
<param name="BufferSize" value="256"/>
<param name="LocationInfo" value="true"/>
</appender>

after add in <param name="LocationInfo" value="true"/>
you'll get the filename and linenumber appear correctly.

Krishna Chaithanya dhulipala wrote:Hi all,
I am facing a problem printing filename and line number in log file using log4j.
When I am try this from eclipse its working perfectly. When I am creating a jar of my standalone application using Ant and try to running it form Jar then it is printing (?:?) in place of filename and line number.
Krishna

Originally posted by Merrill Higginson:
Upgrade to RAD 7.



thanks for response, is there any other way to solove this problem?
i'm preparing for ibm test 255, took once before, but failed.

hope to hear any solution for rad v6.

thank you,
billson.
12 years ago
hi all,

i'm a junior programmer with 2 years in .NET language, now moved into java for 8 months, and never done any application at all.

installed RAD v6, with [IBM DB2� Express-C 9].

error meet:
force to create new db connection by choosing [Express V8.2] to connect to IBM DB2� Express-C 9, then i got this error while testing connection.

"Connection to SAMPLE failed. IWAS0126E Problems encountered while trying to establish connection Con1. Reason: 'unknown'"


have a list of questions which to let me continue my development learning. (preparing with IBM TEST 255)
1. where to get db2 express v8.2 installer since rad v6 just only have selection of db2 express v8.2? (due to IBM no longer available to download db2 express v8.2)

from ibm:
DB2 8.x downloads
DB2 Express-C 8.x downloads are no longer available for download. We encourage you to move up to DB2 9.

2. if continue to use db2 express-c v9, what should i do in order to have selection of Express v9.x during create new database connection?


thank you.
billson.
[ October 03, 2007: Message edited by: billson chew ]
12 years ago

Originally posted by Devendra Inamdar:
Hi Ranchers,
I want to download trial version for RAD 6 but all the links seem to redirect to download page for "Rational Application Developer for WebSphere Software V7.0". Can I use this for exams 256/257?
thanks,
Devendra



now they provided "previous version" for download
i download RAD v6 build:20041130_1528 at the end of 2007 Sept.
now running with that version(rad v6).

but problem here i got now is to create new database connection in rad v6 to [IBM DB2� Express-C 9].
- unable to find any download link for db2 express v8.2

if force to create new db connection by choosing [Express V8.2] to connect to IBM DB2� Express-C 9, then i got this error while testing connection.

"Connection to SAMPLE failed. IWAS0126E Problems encountered while trying to establish connection Con1. Reason: 'unknown'"

searched from google, there is no perfect solution for this error code.


advice needed for this problem.
thank you in advance.
billson.
[ October 03, 2007: Message edited by: billson chew ]