19/06/2001 05:20:50, "Xavier" <[EMAIL PROTECTED]> wrote:
>Hi all,
>
>I generated my project and my Client class with
>
> <table name="CLIENT" javaName="Client" idMethod="autoincrement">
> <column name="ID" required="true" autoIncrement="true" primaryKey="true"
>type="INTEGER"/>
> <column name="NOM" required="true" size="99" type="VARCHAR"/>
> </table>
>
>I check in ClientMapBuilder class and I have :
>tMap.setPrimaryKeyMethod(TableMap.AUTOINCREMENT);
>
>The only thing I tried to do, "the most common use of Peers" (what say
>peers-howto.html):
> Criteria aCriteria = new Criteria();
> Vector aClientList = ClientPeer.doSelect (aCriteria);
>
>and I got from "doSelect"
>
>java.lang.ExceptionInInitializerError:
>org.apache.turbine.services.InstantiationException: ServiceBroker: unknown
>service LoggingSer
>vice requested
Do you have a line in turbine log showing that your LoggingService is in place?
e.g.
INFO -- Added Mapping for Service: LoggingService
It looks like the service isn't being initialised for a start... Make sure
appropriate lines are in the TurbineResources.properties file.
<snip>
>org.apache.struts.action.ActionServlet.process(ActionServlet.java:1575)
> at
>org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:490)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>
>So, I don't anderstand what ServiceBroker try to do, after I tried to skip
>to use it!?
I haven't used Struts, Xa, but if the LoggingService isn't being initialised it
might be that this exception is caused by Turbine simply trying to write an
informational message during perfectly valid activity, no?
colm
................................................................
colm mccartan
panasonic owl uk
[EMAIL PROTECTED]
(44) 131 561 1035
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]