Re: AW: Re: AW: Re: error on createdb - Not a definitive answer

Stefan Burkard <[email protected]> Fri, 13 Aug 2004 17:06:16 +0200
Newsgroups gmane.comp.java.keel.user
Message-ID <[email protected]>
as you can read soon (in my last post in the root-thread of my problem), 
the problems gone by reimporting the "default"-keel from cvs and running 
all ant-operations again.

perhaps this assert-problem is in the "all"-keel because before i had 
checked out this one...

stefan

Vidakovic Aleksandar wrote:

> There is an ant.sh shell script in the ANT_HOME/bin ... I think it uses JAVA_HOME/bin/java to find the JDK... so check your JAVA_HOME environment variable. Maybe it points to a wrong JDK installation and this is the reason...
> 
> Aleks
> 
> -----Ursprüngliche Nachricht-----
> Von: Stefan Burkard [mailto:[email protected]]
> Gesendet: Freitag, 13. August 2004 14:33
> An: user-keelframework.org-rI8AND0JKYOgdSakss0wQjfEH8FBEnyy@public.gmane.org
> Betreff: [Keel User] Re: AW: Re: error on createdb - Not a definitive
> answer
> 
> 
> yes i did. it says:
> 
> java version "1.4.2_03"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-117.1)
> Java HotSpot(TM) Client VM (build 1.4.2-34, mixed mode)
> 
> therefore i was wondering - can ant use another jre anyway? by config?
> 
> greetings
> stefan
> 
> Vidakovic Aleksandar wrote:
> 
> 
>>did you type "java -version" to check which JDK you are using?
>>
>>-----Ursprüngliche Nachricht-----
>>Von: Stefan Burkard [mailto:[email protected]]
>>Gesendet: Freitag, 13. August 2004 12:19
>>An: user-keelframework.org-rI8AND0JKYOgdSakss0wQjfEH8FBEnyy@public.gmane.org
>>Betreff: [Keel User] Re: error on createdb - Not a definitive answer
>>
>>
>>here some additional infos to my problem:
>>
>>- i'm working on mac os x 10.3.x
>>- i have about 40 errors when i run "ant tests". it seems that they are 
>>all of type "assert". is it possible that ant uses the jre 1.3.x instead 
>>of the (default-) jre 1.4?
>>
>>greetings
>>stefan
>>
>>Shash Chatterjee wrote:
>>
>>
>>>Stefan/Nate,
>>>
>>>The problem (at least Nate's) is that the client-timeout is too short while
>>>creating the DB (that's why the second time and on works fine).  This is
>>>because in web.xml, the required config. parm. is incorrectly specified as
>>>client-timeout.  I fixed this in CVS last week, soi get an update for the
>>>keel-client module.  Or in, keel-client/config/client/snippets/web-1.xml, put
>>>the following to set the timeout to 60s (and do a "ant build-all"):
>>>
>>> <context-param>
>>>    <param-name>keel.client.timeout</param-name>
>>>    <param-value>60000</param-value>
>>> </context-param>
>>>
>>>Now, Stefan may have additional config. issues...we'll see after this fix
>>>
>>>Shash
>>>
>>>
>>>
>>>
>>>>Stefan, 
>>>>
>>>>What database are you using?  I have been using MySQL and still have 
>>>>this problem.  What I have been able to do is run, createdb twice 
>>>>and the second time it completes.  I am lost as to why this is 
>>>>occuring.  Also, when I use the native Keel database, hypersonic, I 
>>>>don't get this time out.
>>>>
>>>>This didn't used to happen and my database version hasn't changed. 
>>>>I wonder if a database driver has been updated in Keel to cause 
>>>>this, I haven't checked them yet.....
>>>>
>>>>-Nate
>>>>
>>>>Quoting Stefan Burkard <[email protected]>:
>>>>
>>>>
>>>>
>>>>
>>>>>hi keel-users
>>>>>
>>>>>i'm currently working through your quickstart-manual and have some 
>>>>>problems (keel-newbie).
>>>>>
>>>>>first of all, the tests doesn't run because it can't create a 
>>>>>"junit"-task. is there a jar-file missing in ant's lib-dir?
>>>>>
>>>>>however, this doesn't seem to affect the tomcat-start, because this runs 
>>>>>well and i also get the startpage (/default) in my browser.
>>>>>
>>>>>but if i then try to call the create-db-url like suggested in the 
>>>>>quickstart, i receive an exception (see below) thats already mentioned 
>>>>>in this mailinglist, but has no replies.
>>>>>
>>>>>can anybody help me with this???
>>>>>
>>>>>thanks and greetings
>>>>>stefan
>>>>>
>>>>>--------------------------
>>>>>the exception is:
>>>>>org.keel.services.model.ModelException: null, [KeelStarter] :Channel 
>>>>>timed out waiting for response
>>>>>	org.keel.clients.direct.KeelClientDirect.execute(KeelClientDirect.java:70)
>>>>>
>>>>
>>>org.keel.clients.AbstractClientConnector.execute(AbstractClientConnector.java:59)
>>>
>>>org.keel.clients.webapp.AbstractWebappClientConnector.execute(AbstractWebappClientConnector.java:73)
>>>
>>>org.keel.clients.struts.StrutsClientConnector.execute(StrutsClientConnector.java:106)
>>>
>>>
>>>
>>>>>	org.keel.clients.struts.ModelAction.execute(ModelAction.java:70)
>>>>>
>>>>
>>>org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
>>>
>>>
>>>
>>>>>	org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
>>>>>	org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
>>>>>	org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
>>>>>	javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>>>>>	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>>>
>>>>>_______________________________________________
>>>>>User mailing list
>>>>>[email protected]
>>>>>http://lists.keelframework.org/listinfo.cgi/user-keelframework.org
>>>>>
>>>>
>>>>_______________________________________________
>>>>User mailing list
>>>>[email protected]
>>>>http://lists.keelframework.org/listinfo.cgi/user-keelframework.org
>>
>>
>>_______________________________________________
>>User mailing list
>>[email protected]
>>http://lists.keelframework.org/listinfo.cgi/user-keelframework.org
> 
> 
> _______________________________________________
> User mailing list
> [email protected]
> http://lists.keelframework.org/listinfo.cgi/user-keelframework.org