Hello, I have been struggling with issue for sometime. Any help is greatly
appreciated.
I downloaded uPortal 3.2.2 source code release, imported it into Eclipse,
compiled per wiki instructions and all is ok.
https://wiki.jasig.org/display/UPC/uPortal+3+Development+Documentation
I can verify my project setup because all the following commands return
SUCCESSFUL:
mvn eclipse:eclipse
mvn clean install
mvn test
ant initportal
ant dbtest
ant deploy-ear
ant deploy-war
I initially ran the setup against mysql instance following wiki instructions:
https://wiki.jasig.org/display/UPM30/03+MySQL+Configuration
And was able to confirm that all db tables were created and populated by (ant
initportal).
So I switched the configuration back to hsql running it as a server like so:
java -cp hsqldb-1.8.0.10.jar org.hsqldb.Server -port 8887 -database
portal
But still didn't work and in both cases received the following dump:
the problem occurs after deployment to tomcat, access the site
http://localhost:8080/uPortal renders the landing page with no skin or style
sheet and the following errors thrown in uPortal.log
RROR [http-8080-1] Aug/19 17:54:12,118 hibernate.LazyInitializationException.[]
- failed to lazily initialize a collection, no session or session was closed
org.hibernate.LazyInitializationException: failed to lazily initialize a
collection, no session or session was closed
at
org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:358)
at
org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:350)
at
org.hibernate.collection.AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:97)
at org.hibernate.collection.PersistentSet.size(PersistentSet.java:139)
at java.util.LinkedHashSet.<init>(LinkedHashSet.java:151)
at
org.jasig.portal.channel.dao.jpa.ChannelDefinitionImpl.getParameters(ChannelDefinitionImpl.java:368)
at
org.jasig.portal.channel.XmlGeneratingBaseChannelDefinition.addParameters(XmlGeneratingBaseChannelDefinition.java:111)
at
org.jasig.portal.channel.XmlGeneratingBaseChannelDefinition.getDocument(XmlGeneratingBaseChannelDefinition.java:153)
.....
ERROR [http-8080-1] Aug/19 17:54:12,128
permissionsmanager.PermissibleSubscribeChannels.[] -
org.jasig.portal.PortalException: org.hibernate.LazyInitializationException:
failed to lazily initialize a collection, no session or session was closed
org.jasig.portal.PortalException: org.hibernate.LazyInitializationException:
failed to lazily initialize a collection, no session or session was closed
at
org.jasig.portal.ChannelRegistryManager.getChannelRegistry(ChannelRegistryManager.java:162)
at
org.jasig.portal.channels.permissionsmanager.PermissibleSubscribeChannels.<init>(PermissibleSubscribeChannels.java:57)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
....
Caused by: org.hibernate.LazyInitializationException: failed to lazily
initialize a collection, no session or session was closed
....
ERROR [http-8080-1] Aug/19 17:54:19,391 portal.UserInstance.[] - A fatal error
occurred during transforamtion.
; SystemID:
file:/usr/local/apache-tomcat-6.0.24/webapps/uPortal/WEB-INF/classes/layout/theme/universality/page.xsl;
Line#: 95; Column#: 49
javax.xml.transform.TransformerException: no skin configuration found at
media/skins/universality
/uportal3/uportal3_aggr.skin.xml or
media/skins/universality
/uportal3/skin.xml
Can someone please tell me what I am doing wrong? or give any lead on where I
should look.
Thank you!
--
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