On 04/24/2012 09:13 AM, prabhu wrote:
Hi,Am getting the following error while building the package using *ant initportal *.Importing Data from: /usr/src/uPortal-4.0.4/uportal-war/src/main/data/required_entities[java] WARN SQL Error: 1064, SQLState: 42000[java] ERROR You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND UP_USER.USER_ID=0' at line 1 [java] INFO Scanning for files to Import from: /usr/src/uPortal-4.0.4/uportal-war/src/main/data/required_entities [java] INFO Found 17 files to Import from: /usr/src/uPortal-4.0.4/uportal-war/src/main/data/required_entities [java] INFO Importing 7 files of type <entity-type script="classpath://org/jasig/portal/io/import-entity-type_v3-2.crn"> [java] INFO Looking up bean 'counterStore' in ApplicationContext due to context not yet being initialized [java] INFO Imported : entity-type/org.jasig.portal.groups.IEntity.entity-type.xml[java] INFO Imported : entity-type/java.lang.Object.entity-type.xml[java] INFO Imported : entity-type/org.jasig.portal.security.IPerson.entity-type.xml [java] INFO Imported : entity-type/org.jasig.portal.services.entityproperties.EntityProperties.entity-type.xml [java] INFO Imported : entity-type/org.jasig.portal.portlet.om.IPortletDefinition.entity-type.xml [java] INFO Imported : entity-type/org.jasig.portal.groups.IEntityGroup.entity-type.xml [java] INFO Imported : entity-type/org.jasig.portal.security.IPermissionSet.entity-type.xml [java] INFO Importing 2 files of type <{https://source.jasig.org/schemas/uportal/io/stylesheet-descriptor}stylesheet-descriptor <https://source.jasig.org/schemas/uportal/io/stylesheet-descriptor%7Dstylesheet-descriptor> version="4.0"> [java] INFO Imported : stylesheet-descriptor/DLMXHTML.stylesheet-descriptor.xml [java] INFO Imported : stylesheet-descriptor/DLMTabsColumns.stylesheet-descriptor.xml [java] INFO Importing 1 files of type <{https://source.jasig.org/schemas/uportal/io/user}template-user <https://source.jasig.org/schemas/uportal/io/user%7Dtemplate-user> version="4.0">[java] INFO Imported : user/defaultTemplateUser.user.xml[java] INFO Importing 2 files of type <{https://source.jasig.org/schemas/uportal/io/user}user <https://source.jasig.org/schemas/uportal/io/user%7Duser> version="4.0">[java] INFO Imported : user/system.user.xml [java] INFO Imported : user/guest.user.xml[java] INFO Importing 1 files of type <{https://source.jasig.org/schemas/uportal/io/portlet-type}portlet-type <https://source.jasig.org/schemas/uportal/io/portlet-type%7Dportlet-type> version="4.0">[java] INFO Imported : portlet-type/Portlet.portlet-type.xml[java] INFO Importing 2 files of type <profile script="classpath://org/jasig/portal/io/import-profile_v3-2.crn">[java] WARN SQL Error: 1213, SQLState: 40001[java] ERROR Deadlock found when trying to get lock; try restarting transaction [java] ERROR Failed: importing file [/usr/src/uPortal-4.0.4/uportal-war/src/main/data/required_entities/profile/system_default.profile.xml] [java] INFO Imported : profile/defaultTemplateUser_default.profile.xml [java] Exception in thread "main" java.lang.RuntimeException: data-import from /usr/src/uPortal-4.0.4/uportal-war/src/main/data/required_entities matching null failed [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [java] at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [java] at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77) [java] at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102) [java] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:54) [java] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182) [java] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:194)[java] at upshell_1795560153.run(upshell_1795560153.groovy:113)[java] at groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:266)[java] at groovy.lang.GroovyShell.run(GroovyShell.java:229)[java] at org.jasig.portal.shell.PortalShell.main(PortalShell.java:84) [java] Caused by: java.lang.RuntimeException: 1 <profile script="classpath://org/jasig/portal/io/import-profile_v3-2.crn"> entities failed to import.[java][java] Per entity exception logs and a full report can be found in /usr/src/uPortal-4.0.4/target/data-import-reports[java][java] at org.jasig.portal.io.xml.JaxbPortalDataHandlerService.importData(JaxbPortalDataHandlerService.java:422) [java] at org.jasig.portal.io.xml.IPortalDataHandlerService$importData.call(Unknown Source) [java] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) [java] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) [java] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124)[java] at upshell_1795560153.run(upshell_1795560153.groovy:109) [java] ... 3 more [copy] Copying 1 file to /usr/src/uPortal-4.0.4/target BUILD FAILED/usr/src/uPortal-4.0.4/build.xml:142: The following error occurred while executing this line: /usr/src/uPortal-4.0.4/build.xml:148: The following error occurred while executing this line: /usr/src/uPortal-4.0.4/build.xml:1253: The following error occurred while executing this line: /usr/src/uPortal-4.0.4/build.xml:1017: The following error occurred while executing this line: /usr/src/uPortal-4.0.4/build.xml:467: The following error occurred while executing this line: /usr/src/uPortal-4.0.4/build.xml:1430: The following error occurred while executing this line: /usr/src/uPortal-4.0.4/build.xml:1403: The following error occurred while executing this line: /usr/src/uPortal-4.0.4/build.xml:1406: The following error occurred while executing this line: /usr/src/uPortal-4.0.4/build.xml:1433: The following error occurred while executing this line: /usr/src/uPortal-4.0.4/build.xml:473: /usr/src/uPortal-4.0.4/build.xml:476: Java returned: 1-- Regards: J.PRABHU, RedHat Certified Engineer, Cisco Ceritified Network Associate, Coimbatore. -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev
smime.p7s
Description: S/MIME Cryptographic Signature
