You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hivemind.apache.org by Stanczak Group <ju...@stanczakgroup.com> on 2005/07/13 12:36:20 UTC

HiveMind + Hibernate - contains no contributions but expects exactly one contribution?

I'm getting this error when accessing the Hibernate services. Everything
seems to work just fine, so I don't understand why this error shows in
the logs. Can anyone give me insight on how to go about figuring this
out? I used James Carman's article to build the Hibernate part, so it's
pretty much identical, except not transaction parts.

0     INFO  [http-8084-Processor22] servlet.HiveMindFilter -
Constructing HiveMind Registry.
640   INFO  [http-8084-Processor22] servlet.HiveMindFilter - Constructed
org.apache.hivemind.impl.RegistryImpl@31688f in 649 milliseconds.
1401  INFO  [http-8084-Processor25] vitae.StudentBaseEngine - Properties
loaded

THIS ONE>>>>> 12008 ERROR [http-8084-Processor24]
collegevitae.hibernateSession - Error at
context:/WEB-INF/hivemodule.xml, line 92, column 76: Parameters to
service implementation factory

 hibernateSessionFactory contains no contributions but expects exactly
one contribution.
12050 INFO  [http-8084-Processor24] cfg.Environment - Hibernate 3.0.5
12051 INFO  [http-8084-Processor24] cfg.Environment -
hibernate.properties not found

-- 
Justin Stanczak
Stanczak Group
812-735-3600

"All that is necessary for the triumph of evil is that good men do nothing."
Edmund Burke

..________...............__.................
./  _____/..____..._____/..|_..____...____....
/...\..____/.__.\./....\...__\/.._.\./._..\....
\....\_\..\..___/|...|..\..|.(..<_>.|.<_>..)....
.\______../\___.._\__|../__|..\____/.\____/......
........\/.....\/.....\/..........................


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


Re: HiveMind + Hibernate - contains no contributions but expects exactly one contribution?

Posted by linuja <li...@gmail.com>.
see:
http://jakarta.apache.org/hivemind/descriptor.html#service-point



2005/7/14, Stanczak Group <ju...@stanczakgroup.com>:
> 
> Right on, that worked. So the
> org.apache.hivemind.ServiceImplementationFactory expects params? Just
> curious.
>

Re: HiveMind + Hibernate - contains no contributions but expects exactly one contribution?

Posted by Stanczak Group <ju...@stanczakgroup.com>.
Right on, that worked. So the
org.apache.hivemind.ServiceImplementationFactory expects params? Just
curious.

linuja wrote:

> <service-point id="HibernateSessionFactory" interface="...
> parameters-occurs="none"/>
>
> try it..
>
> 2005/7/13, Stanczak Group <justin@stanczakgroup.com
> <ma...@stanczakgroup.com>>:
>
>     I'm getting this error when accessing the Hibernate services.
>     Everything
>     seems to work just fine, so I don't understand why this error shows in
>     the logs. Can anyone give me insight on how to go about figuring this
>     out? I used James Carman's article to build the Hibernate part, so
>     it's
>     pretty much identical, except not transaction parts.
>
>     0     INFO  [http-8084-Processor22] servlet.HiveMindFilter -
>     Constructing HiveMind Registry.
>     640   INFO  [http-8084-Processor22] servlet.HiveMindFilter -
>     Constructed
>     org.apache.hivemind.impl.RegistryImpl@31688f in 649 milliseconds.
>     1401  INFO  [http-8084-Processor25] vitae.StudentBaseEngine -
>     Properties
>     loaded
>
>     THIS ONE>>>>> 12008 ERROR [http-8084-Processor24]
>     collegevitae.hibernateSession - Error at
>     context:/WEB-INF/hivemodule.xml, line 92, column 76: Parameters to
>     service implementation factory
>
>     hibernateSessionFactory contains no contributions but expects exactly
>     one contribution.
>     12050 INFO  [http-8084-Processor24] cfg.Environment - Hibernate 3.0.5
>     12051 INFO  [http-8084-Processor24] cfg.Environment -
>     hibernate.properties not found
>
>     --
>     Justin Stanczak
>     Stanczak Group
>     812-735-3600
>
>     "All that is necessary for the triumph of evil is that good men do
>     nothing."
>     Edmund Burke
>
>     ..________...............__.................
>     ./  _____/..____..._____/..|_..____...____....
>     /...\..____/.__.\./....\...__\/.._.\./._..\....
>     \....\_\..\..___/|...|..\..|.(..<_>.|.<_>..)....
>     .\______../\___.._\__|../__|..\____/.\____/......
>     ........\/.....\/.....\/..........................
>
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail:
>     hivemind-user-unsubscribe@jakarta.apache.org
>     <ma...@jakarta.apache.org>
>     For additional commands, e-mail:
>     hivemind-user-help@jakarta.apache.org
>     <ma...@jakarta.apache.org>
>
>

-- 
Justin Stanczak
Stanczak Group
812-735-3600

"All that is necessary for the triumph of evil is that good men do nothing."
Edmund Burke

..________...............__.................
./  _____/..____..._____/..|_..____...____....
/...\..____/.__.\./....\...__\/.._.\./._..\....
\....\_\..\..___/|...|..\..|.(..<_>.|.<_>..)....
.\______../\___.._\__|../__|..\____/.\____/......
........\/.....\/.....\/..........................


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


Re: HiveMind + Hibernate - contains no contributions but expects exactly one contribution?

Posted by linuja <li...@gmail.com>.
<service-point id="HibernateSessionFactory" interface="... 
parameters-occurs="none"/>

try it..

2005/7/13, Stanczak Group <ju...@stanczakgroup.com>:
> 
> I'm getting this error when accessing the Hibernate services. Everything
> seems to work just fine, so I don't understand why this error shows in
> the logs. Can anyone give me insight on how to go about figuring this
> out? I used James Carman's article to build the Hibernate part, so it's
> pretty much identical, except not transaction parts.
> 
> 0 INFO [http-8084-Processor22] servlet.HiveMindFilter -
> Constructing HiveMind Registry.
> 640 INFO [http-8084-Processor22] servlet.HiveMindFilter - Constructed
> org.apache.hivemind.impl.RegistryImpl@31688f in 649 milliseconds.
> 1401 INFO [http-8084-Processor25] vitae.StudentBaseEngine - Properties
> loaded
> 
> THIS ONE>>>>> 12008 ERROR [http-8084-Processor24]
> collegevitae.hibernateSession - Error at
> context:/WEB-INF/hivemodule.xml, line 92, column 76: Parameters to
> service implementation factory
> 
> hibernateSessionFactory contains no contributions but expects exactly
> one contribution.
> 12050 INFO [http-8084-Processor24] cfg.Environment - Hibernate 3.0.5
> 12051 INFO [http-8084-Processor24] cfg.Environment -
> hibernate.properties not found
> 
> --
> Justin Stanczak
> Stanczak Group
> 812-735-3600
> 
> "All that is necessary for the triumph of evil is that good men do 
> nothing."
> Edmund Burke
> 
> ..________...............__.................
> ./ _____/..____..._____/..|_..____...____....
> /...\..____/.__.\./....\...__\/.._.\./._..\....
> \....\_\..\..___/|...|..\..|.(..<_>.|.<_>..)....
> .\______../\___.._\__|../__|..\____/.\____/......
> ........\/.....\/.....\/..........................
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: hivemind-user-help@jakarta.apache.org
> 
>