Removed a few transitive dependencies and got it to work. YEY :) Now I need to figure out why my jquery wont work out of the box (probably conflict)
TypeError: Property '$' of object [object Object] is not a function On Mon, Nov 11, 2013 at 12:26 PM, Boris Horvat <horvat.z.bo...@gmail.com>wrote: > When jetty runs this is the output > > Configuring Jetty for project: flow blackbox > webAppSourceDirectory not set. Defaulting to > C:\Users\borish\Documents\NetBeansProjects\flow\src\main\webapp > Reload Mechanic: automatic > Classes = C:\Users\borish\Documents\NetBeansProjects\flow\target\classes > Context path = / > Tmp directory = C:\Users\borish\Documents\NetBeansProjects\flow\target\tmp > Web defaults = org/eclipse/jetty/webapp/webdefault.xml > Web overrides = none > web.xml file = > file:/C:/Users/borish/Documents/NetBeansProjects/flow/src/main/webapp/WEB-INF/web.xml > Webapp directory = > C:\Users\borish\Documents\NetBeansProjects\flow\src\main\webapp > 2013-11-11 12:15:49.074:INFO:oejs.Server:jetty-8.1.13.v20130916 > 2013-11-11 12:15:50.480:INFO:oejpw.PlusConfiguration:No Transaction > manager found - if your webapp requires one, please configure one. > SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". > SLF4J: Defaulting to no-operation (NOP) logger implementation > SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further > details. > Nov 11, 2013 12:15:57 PM com.mchange.v2.log.MLog <clinit> > INFO: MLog clients using java 1.4+ standard logging. > Nov 11, 2013 12:15:57 PM com.mchange.v2.c3p0.C3P0Registry banner > INFO: Initializing c3p0-0.9.1 [built 16-January-2007 14:46:42; debug? > true; trace: 10] > Nov 11, 2013 12:15:57 PM > com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource getPoolManager > INFO: Initializing c3p0 pool... > com.mchange.v2.c3p0.PoolBackedDataSource@4ff435fa [ > connectionPoolDataSource -> > com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@cc0ae4f8 [ > acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> > 1000, autoCommitOnClose -> false, automaticTestTable -> null, > breakAfterAcquireFailure -> false, checkoutTimeout -> 0, > connectionCustomizerClassName -> null, connectionTesterClassName -> > com.mchange.v2.c3p0.impl.DefaultConnectionTester, > debugUnreturnedConnectionStackTraces -> false, factoryClassLocation -> > null, forceIgnoreUnresolvedTransactions -> false, identityToken -> > 1hge15w8yjnya0paevk6d|20f672e9, idleConnectionTestPeriod -> 3000, > initialPoolSize -> 5, maxAdministrativeTaskTime -> 0, maxConnectionAge -> > 0, maxIdleTime -> 300, maxIdleTimeExcessConnections -> 0, maxPoolSize -> > 20, maxStatements -> 50, maxStatementsPerConnection -> 0, minPoolSize -> 5, > nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@adcb9520[ > description -> null, driverClass -> null, factoryClassLocation -> null, > identityToken -> 1hge15w8yjnya0paevk6d|35627163, jdbcUrl -> > jdbc:hsqldb:mem:test;sql.enforce_strict_size=true, properties -> > {user=******, password=******} ], preferredTestQuery -> null, propertyCycle > -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, > unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> > false; userOverrides: {} ], dataSourceName -> null, factoryClassLocation -> > null, identityToken -> 1hge15w8yjnya0paevk6d|160faa11, numHelperThreads -> > 3 ] > 2013-11-11 12:15:59.048:INFO:oejs.AbstractConnector:Started > SelectChannelConnector@0.0.0.0:8080 > Started Jetty Server > > it could be that my logging configuration is for some reason now not being > pickup hence I dont see any logs :S > > > On Mon, Nov 11, 2013 at 12:22 PM, Boris Horvat > <horvat.z.bo...@gmail.com>wrote: > >> Hi everyone, >> >> I am trying to run a 5.4 on my application. >> >> I have modified my pom to use tapestry-hibernate 5.4-alpha-3-SNAPSHOT, as >> well as tapestry5-jquery 4.0.0-SNAPSHOT (this version is development for >> the 5.4). >> >> After fixing a problem with ioc conflicts coming from tapestry-security I >> run the application. >> >> Unfortunately it still failed >> An exception has occurred processing this request. >> >> Render queue error in SetupRender[blackbox/Index]: Error invoking method >> public static org.apache.tapestry5.hibernate.HibernateSessionManager >> org.apache.tapestry5.hibernate.HibernateCoreModule.buildHibernateSessionManager(org.apache.tapestry5.hibernate.HibernateSessionSource,org.apache.tapestry5.ioc.services.PerthreadManager): >> org.hibernate.SessionFactory.openSession()Lorg/hibernate/Session; >> java.lang.RuntimeException >> >> *Error invoking method public static >> org.apache.tapestry5.hibernate.HibernateSessionManager >> org.apache.tapestry5.hibernate.HibernateCoreModule.buildHibernateSessionManager(org.apache.tapestry5.hibernate.HibernateSessionSource,org.apache.tapestry5.ioc.services.PerthreadManager): >> org.hibernate.SessionFactory.openSession()Lorg/hibernate/Session;* >> java.lang.NoSuchMethodError >> >> *org.hibernate.SessionFactory.openSession()Lorg/hibernate/Session;* >> >> >> Stack trace: >> >> - >> >> org.apache.tapestry5.internal.hibernate.HibernateSessionSourceImpl.create(HibernateSessionSourceImpl.java:69) >> >> >> Has something changed in the tapestry-hibernate that I am not aware of? >> >> I am using >> >> <dependency> >> <groupId>org.hsqldb</groupId> >> <artifactId>hsqldb</artifactId> >> <version>2.3.1</version> >> </dependency> >> >> as in-memory database. Also I when application was running I didnt see my >> hibernate 'table creation and data insertion script' running >> >> Any suggestions? >> >> -- >> Sincerely >> *Boris Horvat* >> > > > > -- > Sincerely > *Boris Horvat* > -- Sincerely *Boris Horvat*