did you update everything, including tapestry-hibernate?

János Jarecsni wrote:
> I upgraded to 5.0.11, but nothing works now :) I saw some complains that
> Hibernate is missing, added Hibernate jars, then now I see some IOC problems
>
>
> like this:
>
> Caused by: java.lang.RuntimeException: Error invoking service contribution
> method
> org.apache.tapestry.hibernate.HibernateModule.contributeHibernateSessionSource(OrderedConfiguration,
> ClassNameLocator, HibernateEntityPackageManager): No service implements the
> interface org.apache.tapestry.ioc.services.ClassNameLocator.
>         at
> org.apache.tapestry.ioc.internal.ContributionDefImpl.invokeMethod(ContributionDefImpl.java:107)
>         at
> org.apache.tapestry.ioc.internal.ContributionDefImpl.contribute(ContributionDefImpl.java:62)
>         at
> org.apache.tapestry.ioc.internal.RegistryImpl.addToOrderedConfiguration(RegistryImpl.java:501)
>         at
> org.apache.tapestry.ioc.internal.RegistryImpl.getOrderedConfiguration(RegistryImpl.java:367)
>         at
> org.apache.tapestry.ioc.internal.ServiceResourcesImpl.getOrderedConfiguration(ServiceResourcesImpl.java:88)
>         at
> org.apache.tapestry.ioc.internal.AbstractServiceCreator.addOrderedConfigurationParameter(AbstractServiceCreator.java:131)
>         at
> org.apache.tapestry.ioc.internal.AbstractServiceCreator.getParameterDefaultsWithConfiguration(AbstractServiceCreator.java:112)
>         at
> org.apache.tapestry.ioc.internal.ServiceBuilderMethodInvoker.getParameterDefaultsWithConfigurations(ServiceBuilderMethodInvoker.java:47)
>         at
> org.apache.tapestry.ioc.internal.ServiceBuilderMethodInvoker.createObject(ServiceBuilderMethodInvoker.java:68)
>         ... 116 more
> Caused by: java.lang.RuntimeException: No service implements the interface
> org.apache.tapestry.ioc.services.ClassNameLocator.
>         at
> org.apache.tapestry.ioc.internal.RegistryImpl.getService(RegistryImpl.java:517)
>         at
> org.apache.tapestry.ioc.internal.services.MasterObjectProviderImpl.provide(MasterObjectProviderImpl.java:46)
>         at
> $MasterObjectProvider_11971314589.provide($MasterObjectProvider_11971314589.java)
>         at
> org.apache.tapestry.ioc.internal.RegistryImpl.getObject(RegistryImpl.java:621)
>         at
> org.apache.tapestry.ioc.internal.RegistryImpl.getObject(RegistryImpl.java:675)
>         at
> org.apache.tapestry.ioc.internal.ObjectLocatorImpl.getObject(ObjectLocatorImpl.java:50)
>         at
> org.apache.tapestry.ioc.internal.util.InternalUtils.calculateParameterValue(InternalUtils.java:207)
>         at
> org.apache.tapestry.ioc.internal.util.InternalUtils.calculateParameters(InternalUtils.java:237)
>         at
> org.apache.tapestry.ioc.internal.util.InternalUtils.calculateParametersForMethod(InternalUtils.java:216)
>         at
> org.apache.tapestry.ioc.internal.ContributionDefImpl.invokeMethod(ContributionDefImpl.java:90)
>         ... 124 more
>
> could someone point me to some description what and how to configure for
> upgrading 5.0.10 to 5.0.11?
>
> thanks in advance
> Janos
>
> On 21/04/2008, János Jarecsni <[EMAIL PROTECTED]> wrote:
>   
>> thanks for the prompt help! I'm now updating everything :)
>> have a nice day!
>>
>>
>> On 21/04/2008, Sven Homburg <[EMAIL PROTECTED]> wrote:
>>     
>>> now i am see it too ;-
>>>
>>> 2008/4/21, Chris Lewis <[EMAIL PROTECTED]>:
>>>
>>>       
>>>> Hi,
>>>>
>>>> From the package in the stack trace it looks like you're using the old
>>>> version of that component. It has since been merged into the
>>>> http://code.google.com/p/tapestry5-components/, so try that. Also, the
>>>> latest T5 release is 5.0.11.
>>>>
>>>> chris
>>>>
>>>>
>>>> János Jarecsni wrote:
>>>>         
>>>>> Hi,
>>>>>
>>>>> the fckeditor component doesn't work in my environment. For the page
>>>>>           
>>>> below I
>>>>         
>>>>> get an error message:
>>>>>
>>>>> An unexpected application exception has occurred.
>>>>>
>>>>> Render queue error in BeginRender[AddCelebrity:biography]:
>>>>> org.apache.tapestry.ioc.internal.util.TapestryException
>>>>>
>>>>> And in the tomcat log I find this:
>>>>>
>>>>> Caused by: java.lang.NullPointerException
>>>>>         at
>>>>> net.keso.ted.fckeditor.components.Editor.getScript(Editor.java:53)
>>>>>         at
>>>>>
>>>>>           
>>> net.keso.ted.fckeditor.components.Editor.writeFieldTag(Editor.java:85)
>>>       
>>>>>         at
>>>>>
>>>>>           
>>> org.apache.tapestry.corelib.base.AbstractTextField.begin(AbstractTextField.java:152)
>>>       
>>>>>         at
>>>>>
>>>>>           
>>> org.apache.tapestry.corelib.base.AbstractTextField.beginRender(AbstractTextField.java)
>>>       
>>>>>         at
>>>>>           
>>>> net.keso.ted.fckeditor.components.Editor.beginRender(Editor.java)
>>>>         
>>>>>         at
>>>>>
>>>>>           
>>> org.apache.tapestry.internal.structure.ComponentPageElementImpl$11$1.run(ComponentPageElementImpl.java:338)
>>>       
>>>>>         at
>>>>>
>>>>>           
>>> org.apache.tapestry.internal.structure.ComponentPageElementImpl.invoke(ComponentPageElementImpl.java:880)
>>>       
>>>>> I have T5 5.0.10 (latest I think) and fckeditor 1.0.2. With a
>>>>>           
>>> literal:
>>>       
>>>> value
>>>>         
>>>>> it works fine, and sometimes also with the property. I could not
>>>>>           
>>> find
>>>       
>>>> out a
>>>>         
>>>>> pattern when it is ok, and when not :)
>>>>>
>>>>> Any ideas?
>>>>> thx
>>>>>
>>>>> Janos
>>>>>
>>>>>
>>>>> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd
>>>>>           
>>> ">
>>>       
>>>>>     <head>
>>>>>         <title>Celebrity Collector: Adding New Celebrity</title>
>>>>>         <link rel="stylesheet" href="${styles}" type="text/css"/>
>>>>>     </head>
>>>>>     <body>
>>>>>         <h1>Adding New Celebrity</h1>
>>>>>
>>>>>         <t:beaneditform t:id="celebrity" t:submitLabel="Save"
>>>>>             remove="id"
>>>>>
>>>>>
>>>>>           
>>> reorder="firstName,lastName,dateOfBirth,birthDateVerified,occupation,biography">
>>>       
>>>>>             <t:parameter name="biography">
>>>>>             <table cellpadding="0" cellspacing="0"><tr>
>>>>>                 <td><t:fckeditor.editor t:id="biography"
>>>>> t:value="celebrity.biography"
>>>>>                     t:toolbarSet="Medium" t:width="350"
>>>>> t:height="200"/></td></tr>
>>>>>             </table>
>>>>>               </t:parameter>
>>>>>         </t:beaneditform>
>>>>>     </body>
>>>>> </html>
>>>>>
>>>>>
>>>>>           
>>>> --
>>>> http://thegodcode.net
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>
>>>>
>>>>         
>>>
>>> --
>>> with regards
>>> Sven Homburg
>>> http://tapestry5-components.googlecode.com
>>>
>>>       
>>     

-- 
http://thegodcode.net


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to