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
at
org.apache.turbine.services.BaseServiceBroker.getServiceInstance(BaseService
Broker.java:313)
at
org.apache.turbine.services.BaseServiceBroker.getService(BaseServiceBroker.j
ava:258)
at org.apache.turbine.util.Log.error(Log.java:450)
at
org.apache.turbine.om.peer.BasePeer.getMapBuilder(BasePeer.java:1854)
at
pf.cs.csinterne.business.om.BaseClientPeer.<clinit>(BaseClientPeer.java:34)
at
pf.cs.csinterne.business.action.ListClientAction.perform(ListClientAction.ja
va:75)
at
org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.ja
va:1776)
at
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!?
Somebody can help?
Xa.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]