You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Peter Courcoux <pe...@courcouxhall.co.uk> on 2001/10/14 23:24:49 UTC

TDK newapp set-up problem

>From peter@courcouxhall.co.uk Sun Oct 14 22:13:16 2001
Date: Sun, 14 Oct 2001 01:21:31 +0100 (BST)
From: Peter Courcoux <pe...@courcouxhall.co.uk>
To: turbine-user@jakarta.apache.org
Subject: TDK newapp example setup problem

Hi all,

I have recently downloaded the tdk and installed it as suggested. I have
followed the webapps/newapp/WEB-INF/build/getting_started.txt and modified
the build.properties (not newapp.properties as set out in the
getting_started.txt file) to show my DBMS properties for the postgresql
server I use.

ant init produces a method unknown error at the turbine-id-table-init-sql
task.

I have read the postgres howto which appears to deal with jdbc issues but
unless I am mistaken ant is not dealing with jdbc at this point. I have
however, removed the normal postgresql driver from my classpath and
replaced it with the postgres.jar from the tdk distribution which although
I can find no reference to it may be an already patched driver?

Turbine sounds like A Good Thing to me. I would love to put it through its
paces.

If anyone can point me in the right direction to clear the error I would
appreciate it.

My system is redHat 7.1, with postgresql 7.03. I already have a working
tomcat-3.2.1 installation, with the usual libraries in the classpath. I
am trying to use tdk-2.1.

Many thanks in  advance.

Peter Courcoux

StackTrace follows :-

method unknown (eip = 2b)
SIGSEGV   11*  segmentation violation
    si_signo [11]: SIGSEGV   11*  segmentation violation
    si_errno [0]: Success
    si_code [1]: SEGV_MAPERR [addr: 0x4]

	stackpointer=0xbfffbd18

Full thread dump Classic VM (1.2.2-I, green threads):
    "process reaper" (TID:0x40ee0e90, sys_thread_t:0x86d9920, state:CW) prio=5
	at java.lang.Object.wait(Native Method)
	at java.lang.UNIXProcess.run(Native Method)
	at java.lang.Thread.run(Thread.java:479)
    "Finalizer" (TID:0x40ef6320, sys_thread_t:0x8108338, state:CW) prio=8
	at java.lang.Object.wait(Native Method)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java, Compiled Code)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java, Compiled Code)
	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:174)
    "Reference Handler" (TID:0x40ef63b0, sys_thread_t:0x81035e8, state:CW) prio=10
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java, Compiled Code)
	at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:114)
    "Signal dispatcher" (TID:0x40ef63e0, sys_thread_t:0x8101730, state:CW) prio=5
    "main" (TID:0x40ef61e0, sys_thread_t:0x804c948, state:R) prio=5
	at org.apache.commons.collections.ExtendedProperties.load(ExtendedProperties.java, Compiled Code)
	at org.apache.velocity.runtime.Runtime.setDefaultProperties(Runtime.java)
	at org.apache.velocity.runtime.Runtime.initializeProperties(Runtime.java)
	at org.apache.velocity.runtime.Runtime.init(Runtime.java)
	at org.apache.velocity.app.Velocity.init(Velocity.java)
	at org.apache.velocity.texen.ant.TexenTask.execute(TexenTask.java)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java, Compiled Code)
	at org.apache.tools.ant.Target.execute(Target.java, Compiled Code)
	at org.apache.tools.ant.Project.runTarget(Project.java, Compiled Code)
	at org.apache.tools.ant.Project.executeTarget(Project.java, Compiled Code)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java, Compiled Code)
	at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java, Compiled Code)
	at org.apache.tools.ant.Target.execute(Target.java)
	at org.apache.tools.ant.Project.runTarget(Project.java)
	at org.apache.tools.ant.Project.executeTarget(Project.java)
	at org.apache.tools.ant.Project.executeTargets(Project.java)
	at org.apache.tools.ant.Main.runBuild(Main.java)
	at org.apache.tools.ant.Main.main(Main.java)
Monitor Cache Dump:
    java.lang.Object@40EE1140/41166FE8: <unowned>
	Waiting to be notified:
	    "process reaper" (0x86d9920)
    java.lang.Class@40E4E010/416CDFB8: owner "main" (0x804c948) 1 entry
    java.lang.ref.Reference$Lock@40EF63C0/40F2B890: <unowned>
	Waiting to be notified:
	    "Reference Handler" (0x81035e8)
    java.lang.ref.ReferenceQueue$Lock@40EF6338/40F2BD60: <unowned>
	Waiting to be notified:
	    "Finalizer" (0x8108338)
    org.apache.commons.collections.ExtendedProperties@40E7B5B8/41547E98: owner "main" (0x804c948) 1 entry
Registered Monitor Dump:
    Invoker change lock: <unowned>
    utf8 hash table: <unowned>
    JNI pinning lock: <unowned>
    JNI global reference lock: <unowned>
    BinClass lock: <unowned>
    Class linking lock: <unowned>
    System class loader lock: <unowned>
    Code rewrite lock: <unowned>
    Heap lock: <unowned>
    Monitor cache lock: owner "main" (0x804c948) 1 entry
    Dynamic loading lock: <unowned>
    Monitor IO lock: <unowned>
    User signal monitor: <unowned>
	Waiting to be notified:
	    "Signal dispatcher" (0x8101730)
    Child death monitor: <unowned>
    I/O monitor: <unowned>
    Alarm monitor: <unowned>
	Waiting to be notified:
	    <unknown thread> (0x8057db0)
    Thread queue lock: owner "main" (0x804c948) 1 entry
    Monitor registry: owner "main" (0x804c948) 1 entry

################## End of StackTrace###################


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Re: TDK newapp set-up problem

Posted by dcr <da...@wanadoo.fr>.
May I suggest you to try an other java virtual machine ?

For example SUN JDK or JRE 1.3.1,
or even the SUN JDK 1.4 beta.

Just be carefull with the 1.4 beta because you will
encounter compilation error with the postgresql
JDBC source code. (because of some abstract
classes which have new methods...).


I'm currently using :

[tomcat@bordeaux logs]$ java -version
java version "1.4.0-beta2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta2-b77)
Java HotSpot(TM) Client VM (build 1.4.0-beta2-b77, mixed mode)

David.

-- 
// David CROSSON
// mailto:david.crosson@wanadoo.fr
// http://gamma.dyndns.org




---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org