Hi Petar,I've changed the schema definition to a dtd in the profileContext. Can you try to start the site again with the attached file?
Regards, Bart On 29-10-2008 18:57, Petar Becic wrote:
Hi all, I have a problem to start Hippo Site on the acct server (Linux - RedHat). There is an error: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanDefinitionStoreException: Line 29 in XML document from class path resource [profileContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'. (In the attach you can find log file) XML document "profileContext.xml" is defined in "hippo-community-apps-core-2.02.00.jar", and IMO it is correct (I attached this file also) The strange thing is that everything works fine on the our test server (Linux - SuSE) and on the local environment (Windows) Do you have any idea what can be the cause of this problem. Thanks in advance. -- Met vriendelijke groet / Kind regards, Petar Becic Senior Software Developer Levi9 Global Sourcing =============================================================== Adress: Jan van Goyenkade 8, 1075 HP Amsterdam Tel.: (+31) (0) 20 6701 947 Mobile: (+381) (0) 62 415 171 Email: [EMAIL PROTECTED] SkypeID: p.becic Internet: www.levi9.com Chamber of commerce Levi9 Global Sourcing BV: 34221951 Chamber of commerce Levi9 Global Sourcing Benelux BV: 34224746 =============================================================== This e-mail may contain confidential or privileged information. If you are not (one of) the intended recipient(s), please notify the sender immediately by reply e-mail and delete this message and any attachments permanently without retaining a copy. Any review, disclosure, copying, distribution or taking any action in reliance on the contents of this e-mail by persons or entities other than the intended recipient(s) is strictly prohibited and may be unlawful. The services of Levi9 are exclusively subject to its general terms and conditions. These general terms and conditions can be found on www.levi9.com and a copy will be promptly submitted to you on your request and free of charge.
-- Hippo B.V. - Amsterdam Oosteinde 11, 1017 WT, Amsterdam, +31(0)20-5224466 Hippo USA Inc. - San Francisco 101 H Street, Suite Q, Petaluma CA, 94952-3329, +1 (707) 773-4646 ----------------------------------------------------------------- http://www.onehippo.com - [EMAIL PROTECTED] -----------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> <!-- * Copyright 2006 Hippo Webworks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. --> <!-- $Id: profileContext.xml 7651 2007-08-13 11:05:16Z jjoachimsthal $ --> <beans> <!-- Profile DAO --> <bean id="profileDao" class="nl.hippo.hca.profiles.dao.jdo.ProfileJdoDao"> <property name="persistenceManagerFactory" ref="persistenceManagerFactory"/> </bean> <!-- User service facade --> <bean id="profileServiceTarget" class="nl.hippo.hca.profiles.services.impl.ProfileServiceImpl"> <property name="dao" ref="profileDao"/> <property name="passwordService" ref="passwordService"/> </bean> <bean id="profileService" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean"> <property name="transactionManager"> <ref bean="transactionManager"/> </property> <property name="target"> <ref bean="profileServiceTarget"/> </property> <property name="transactionAttributes"> <props> <prop key="get*">PROPAGATION_REQUIRED,readOnly</prop> <prop key="list*">PROPAGATION_REQUIRED,readOnly</prop> <prop key="count*">PROPAGATION_REQUIRED,readOnly</prop> <prop key="*">PROPAGATION_REQUIRED</prop> </props> </property> </bean> <!-- Password service: configure here which kind of algorithm is used. Available values are: MD5,SHA --> <bean id="passwordService" class="nl.hippo.hca.profiles.services.impl.PasswordServiceImpl"> <property name="hashAlgorithm" value="MD5"/> </bean> </beans>
******************************************** Hippocms-dev: Hippo CMS development public mailinglist Searchable archives can be found at: MarkMail: http://hippocms-dev.markmail.org Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
