RE: HibernateSessionSource - error - thx for any assistance

2013-05-27 Thread Ken in Nashua
strange... I can run fine on eclipse in a reverted source code branch...

but if I deploy love... it quits with the hibernate session creation failure

Seems I need to wait for the release to deploy live again

ouch
  

RE: HibernateSessionSource - error - thx for any assistance

2013-05-25 Thread Ken in Nashua
Sorry folks,

I think its fair that this is the problem.

http://stackoverflow.com/questions/8799121/java-lang-nosuchmethoderror-org-hibernate-sessionfactory-opensessionlorg-hibe

But I still have no solution to the framework am using.


  

RE: HibernateSessionSource - error - thx for any assistance

2013-05-25 Thread Ken in Nashua
Hi Folks,

I determined this guy

dependency
groupIdorg.apache.tapestry/groupId
artifactIdtapestry-hibernate/artifactId
version${tapestry-release-version}/version
scopeprovided/scope
exclusions
exclusion
artifactIdorg.hibernate/artifactId
groupIdhibernate-commons-annotations/groupId
/exclusion
/exclusions
/dependency

is pulling 3.0 binaries

But even if I exclude... it gets the next 3.X revision of 3.0 binaries

So I try adding this...

dependency
groupIdorg.hibernate.common/groupId
artifactIdhibernate-commons-annotations/artifactId
version4.0.1.Final/version
scopeprovided/scope
/dependency

Do you think this will cause my 5.3.7 tapestry to behave properly ?
  

RE: HibernateSessionSource - error - thx for any assistance

2013-05-25 Thread Ken in Nashua
well it didnt

does anyone know a way out of this hole ?

2013-05-25 17:29:18.142:WARN:oejw.WebAppContext:Failed startup of context 
o.m.j.p.JettyWebAppContext{/,file:/C:/Prototype/Mavenized/Product/kwc/pphl/src/main/webapp/},file:/C:/Prototype/Mavenized/Product/kwc/pphl/src/main/webapp/
java.lang.RuntimeException: Exception constructing service 'SeedEntity': Error 
invoking constructor public 
org.tynamo.seedentity.hibernate.services.SeedEntityImpl(org.slf4j.Logger,org.apache.tapestry5.hibernate.HibernateSessionSource,java.util.List):
 org.hibernate.SessionFactory.openSession()Lorg/hibernate/classic/Session;


here is the pom


project xmlns=http://maven.apache.org/POM/4.0.0; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;

modelVersion4.0.0/modelVersion
artifactIdtapestry-hibernate-seedentity/artifactId
nameTynamo Hibernate Seedentity/name
packagingjar/packaging
version0.1.4-SNAPSHOT/version
description
Object oriented seed entities for your Tapestry 5 Hibernate application
/description

parent
groupIdorg.tynamo/groupId
artifactIdtynamo-parent/artifactId
version0.0.6/version
/parent

dependencies
dependency
groupIdorg.apache.tapestry/groupId
artifactIdtapestry-hibernate/artifactId
version${tapestry-release-version}/version
scopeprovided/scope
exclusions
exclusion
artifactIdorg.hibernate/artifactId
groupIdhibernate-commons-annotations/groupId
/exclusion
/exclusions
/dependency
dependency
groupIdorg.hibernate/groupId
artifactIdhibernate-validator/artifactId
version4.0.1.GA/version
scopeprovided/scope
/dependency
dependency
groupIdorg.hibernate.common/groupId
artifactIdhibernate-commons-annotations/artifactId
version4.0.1.Final/version
scopeprovided/scope
/dependency
dependency
groupIdcommons-beanutils/groupId
artifactIdcommons-beanutils/artifactId
version1.8.1/version
/dependency
!-- Not needed for now and problematic because the artifact is not in 
repo1
dependency
groupIdcom.formos.tapestry/groupId
artifactIdtapestry-testify/artifactId
version1.0.0/version
scopetest/scope
/dependency
 --
dependency
groupIdcom.h2database/groupId
artifactIdh2/artifactId
scopetest/scope
/dependency
dependency
groupIdorg.mockito/groupId
artifactIdmockito-all/artifactId
scopetest/scope
/dependency
dependency
groupIdorg.testng/groupId
artifactIdtestng/artifactId
classifierjdk15/classifier
scopetest/scope
/dependency
/dependencies

distributionManagement
site
idtynamo-site/id
!-- Note the url. Only static files deployed in /constant/ can be 
decorated by Unity --

urldav:https://dav.codehaus.org/tynamo/constant/sites/tapestry-hibernate-seedentity/url
/site
/distributionManagement

build
resources
resource
directorysrc/main/resources/directory
/resource
resource
directorysrc/main/filtered-resources/directory
filteringtrue/filtering
/resource
/resources

plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-jar-plugin/artifactId
configuration
archive
manifestEntries

Tapestry-Module-Classesorg.tynamo.seedentity.hibernate.services.SeedEntityModule/Tapestry-Module-Classes
/manifestEntries
/archive
/configuration
/plugin
/plugins
/build

  scm

connectionscm:svn:http://svn.codehaus.org/tynamo/trunk/tapestry-hibernate-seedentity/connection

developerConnectionscm:svn:https://svn.codehaus.org/tynamo/trunk/tapestry-hibernate-seedentity/developerConnection

urlhttp://svn.tynamo.codehaus.org/tynamo/trunk/tapestry-hibernate-seedentity/url
  /scm
  
repositories
!-- Not needed for now, see above
repository
idtapestry/id
urlhttp://tapestry.formos.com/maven-repository/url
/repository
 --
/repositories

profiles
profile
idrepositories/id
repositories
repository
idrepository.jboss.org/id


RE: HibernateSessionSource - error - thx for any assistance

2013-05-25 Thread Ken in Nashua
Here is my dependency tree

tapestry-hibernate I think might be tripping up my whole project by anchoring 
to 3.X hibernate as shown here

[INFO] |  +- org.apache.tapestry:tapestry-hibernate:jar:5.3.7:compile
[INFO] |  |  \- org.apache.tapestry:tapestry-hibernate-core:jar:5.3.7:compile
[INFO] |  | +- geronimo-spec:geronimo-spec-jta:jar:1.0-M1:runtime
[INFO] |  | \- 
org.hibernate:hibernate-commons-annotations:jar:3.2.0.Final:compile



C:\Prototype\Mavenized\Product\kwc\pphlmvn dependency:tree
[INFO] Scanning for projects...
[INFO]
[INFO] 
[INFO] Building Tynamo Example - pphl 1.0-SNAPSHOT
[INFO] 
[INFO]
[INFO] --- maven-dependency-plugin:2.4:tree (default-cli) @ pphl ---
[INFO] org.tynamo.examples:pphl:war:1.0-SNAPSHOT
[INFO] +- org.tynamo:tapestry-model-hibernate:jar:0.5.1-SNAPSHOT:compile
[INFO] |  +- org.tynamo:tapestry-model-core:jar:0.5.1-SNAPSHOT:compile
[INFO] |  |  +- commons-collections:commons-collections:jar:3.2.1:compile
[INFO] |  |  \- org.tynamo:tapestry-ckeditor:jar:0.0.1:compile
[INFO] |  +- org.apache.tapestry:tapestry-hibernate:jar:5.3.7:compile
[INFO] |  |  \- org.apache.tapestry:tapestry-hibernate-core:jar:5.3.7:compile
[INFO] |  | +- geronimo-spec:geronimo-spec-jta:jar:1.0-M1:runtime
[INFO] |  | \- 
org.hibernate:hibernate-commons-annotations:jar:3.2.0.Final:compile
[INFO] |  +- org.hibernate:hibernate-validator:jar:4.3.0.Final:compile
[INFO] |  |  \- javax.validation:validation-api:jar:1.0.0.GA:compile
[INFO] |  \- org.apache.tapestry:tapestry-beanvalidator:jar:5.3.7:compile
[INFO] +- org.tynamo:tapestry-model-test:jar:0.5.1-SNAPSHOT:test
[INFO] |  \- net.sourceforge.htmlunit:htmlunit:jar:2.11:test
[INFO] | +- xalan:xalan:jar:2.7.1:test
[INFO] | |  \- xalan:serializer:jar:2.7.1:test
[INFO] | +- org.apache.httpcomponents:httpmime:jar:4.2.2:test
[INFO] | +- net.sourceforge.htmlunit:htmlunit-core-js:jar:2.11:test
[INFO] | +- net.sourceforge.cssparser:cssparser:jar:0.9.8:test
[INFO] | |  \- org.w3c.css:sac:jar:1.3:test
[INFO] | \- org.eclipse.jetty:jetty-websocket:jar:8.1.7.v20120910:test
[INFO] |+- org.eclipse.jetty:jetty-util:jar:8.1.7.v20120910:test
[INFO] |+- org.eclipse.jetty:jetty-io:jar:8.1.7.v20120910:test
[INFO] |\- org.eclipse.jetty:jetty-http:jar:8.1.7.v20120910:test
[INFO] +- org.tynamo:tapestry-model-web:jar:0.5.1-SNAPSHOT:compile
[INFO] +- com.h2database:h2:jar:1.2.125:compile
[INFO] +- org.tynamo:tapestry-routing:jar:0.0.7-SNAPSHOT:compile
[INFO] |  \- org.apache.tapestry:tapestry-core:jar:5.3.7:compile
[INFO] | +- org.antlr:antlr-runtime:jar:3.3:compile
[INFO] | |  \- org.antlr:stringtemplate:jar:3.2.1:compile
[INFO] | +- commons-codec:commons-codec:jar:1.5:compile
[INFO] | \- org.apache.tapestry:tapestry-json:jar:5.3.7:compile
[INFO] +- org.tynamo:tapestry-security:jar:0.5.2-SNAPSHOT:compile
[INFO] |  +- org.apache.shiro:shiro-web:jar:1.2.0:compile
[INFO] |  |  \- org.apache.shiro:shiro-core:jar:1.2.0:compile
[INFO] |  +- org.apache.tapestry:tapestry-ioc:jar:5.3.4:compile
[INFO] |  |  +- org.apache.tapestry:tapestry-func:jar:5.3.4:compile
[INFO] |  |  +- javax.inject:javax.inject:jar:1:compile
[INFO] |  |  +- log4j:log4j:jar:1.2.14:compile
[INFO] |  |  +- javassist:javassist:jar:3.12.1.GA:compile
[INFO] |  |  \- org.apache.tapestry:plastic:jar:5.3.4:compile
[INFO] |  \- org.tynamo:tapestry-exceptionpage:jar:0.1.2:compile
[INFO] +- 
org.tynamo.security:tynamo-federatedaccounts-core:jar:0.4.0-SNAPSHOT:compile
[INFO] |  +- org.apache.httpcomponents:httpclient:jar:4.2.2:compile
[INFO] |  |  +- org.apache.httpcomponents:httpcore:jar:4.2.2:compile
[INFO] |  |  \- commons-logging:commons-logging:jar:1.1.1:compile
[INFO] |  \- org.slf4j:slf4j-api:jar:1.7.2:compile
[INFO] +- 
org.tynamo.security:tynamo-federatedaccounts-facebook:jar:0.4.0-SNAPSHOT:compile
[INFO] +- 
org.tynamo.security:tynamo-federatedaccounts-twitter:jar:0.4.0-SNAPSHOT:compile
[INFO] |  \- org.twitter4j:twitter4j-core:jar:2.2.3:compile
[INFO] +- 
org.tynamo.security:tynamo-federatedaccounts-openid:jar:0.4.0-SNAPSHOT:compile
[INFO] |  +- org.slf4j:slf4j-log4j12:jar:1.6.1:compile
[INFO] |  +- org.openid4java:openid4java-consumer:pom:0.9.6:compile
[INFO] |  |  +- org.openid4java:openid4java-nodeps:jar:0.9.6:compile
[INFO] |  |  |  \- net.jcip:jcip-annotations:jar:1.0:compile
[INFO] |  |  \- net.sourceforge.nekohtml:nekohtml:jar:1.9.17:compile
[INFO] |  | \- xerces:xercesImpl:jar:2.10.0:compile
[INFO] |  |\- xml-apis:xml-apis:jar:1.3.03:compile
[INFO] |  +- com.google.inject:guice:jar:2.0:compile
[INFO] |  |  \- aopalliance:aopalliance:jar:1.0:compile
[INFO] |  \- org.apache.commons:commons-lang3:jar:3.1:compile
[INFO] +- org.tynamo.gae:esxx-httpclient-gae:jar:0.0.1:compile
[INFO] +- javax.servlet:servlet-api:jar:2.5:provided
[INFO] +- 

Re: HibernateSessionSource - error - thx for any assistance

2013-05-25 Thread Boris Horvat
I think it will fail as 5.3.7 depends on 3.x hibernate. If I remember
correctly 5.4 will depend on 4.x branch


On Sat, May 25, 2013 at 11:29 PM, Ken in Nashua kcola...@live.com wrote:

 Hi Folks,

 I determined this guy

 dependency
 groupIdorg.apache.tapestry/groupId
 artifactIdtapestry-hibernate/artifactId
 version${tapestry-release-version}/version
 scopeprovided/scope
 exclusions
 exclusion
 artifactIdorg.hibernate/artifactId
 groupIdhibernate-commons-annotations/groupId
 /exclusion
 /exclusions
 /dependency

 is pulling 3.0 binaries

 But even if I exclude... it gets the next 3.X revision of 3.0 binaries

 So I try adding this...

 dependency
 groupIdorg.hibernate.common/groupId
 artifactIdhibernate-commons-annotations/artifactId
 version4.0.1.Final/version
 scopeprovided/scope
 /dependency

 Do you think this will cause my 5.3.7 tapestry to behave properly ?





-- 
Sincerely
*Boris Horvat*


RE: HibernateSessionSource - error - thx for any assistance

2013-05-25 Thread Ken in Nashua
Thank You Boris,

Any time frame ? I am hard for feedback. Already caught. Burned out from trying 
to back tread.

Wish I knew of it sooner. But not sure if it would have helped me anyway.

I will be happy when it happens.

Thanks for any info
  

Re: HibernateSessionSource - error - thx for any assistance

2013-05-25 Thread Boris Horvat
I really have no idea since 5.4 will be huge rewrite of the javascript
layer. Since I am not in development team I dont know the time frame
however I do expect it to be relatively soon


On Sun, May 26, 2013 at 12:15 AM, Ken in Nashua kcola...@live.com wrote:

 Thank You Boris,

 Any time frame ? I am hard for feedback. Already caught. Burned out from
 trying to back tread.

 Wish I knew of it sooner. But not sure if it would have helped me anyway.

 I will be happy when it happens.

 Thanks for any info





-- 
Sincerely
*Boris Horvat*