Page 1 of 1

unable to start up jetty demo for admin

Posted: Tue Jan 15, 2013 12:54 pm
by mkj
Hi,

Appreciate your time and help.

I am trying to install the demo and was able to successfully install and run the main site but ant target 'jetty-demo' for admin build successfully but doesn't start up admin


Code: Select all

[artifact:mvn] 2013-01-15 11:36:06.549:INFO:/admin:Initializing Spring root WebApplicationContext
[artifact:mvn] [ WARN] 11:36:13 RuntimeEnvironmentPropertiesConfigurer - Unableto determine runtime environment, using default environment 'development'
[artifact:mvn] [ERROR] 11:36:19 Ejb3Configuration - Container is providing a null PersistenceUnitRootUrl: discovery mpossible
[artifact:mvn] [ WARN] 11:36:22 Ejb3Configuration - hibernate.connection.autocommit = false break the EJB3 specification
[artifact:mvn] [ WARN] 11:36:23 AbstractEhcacheRegionFactory - Couldn't find a specific ehcache configuration for cache named [blSandBoxElements]; using defaults.
[artifact:mvn] [ WARN] 11:36:26 AbstractEhcacheRegionFactory - Couldn't find a specific ehcache configuration for cache named [org.hibernate.cache.UpdateTimesta
mpsCache]; using defaults.[artifact:mvn] [ERROR] 11:36:29 Ejb3Configuration - Container is providing a null PersistenceUnitRootUrl: discovery impossible
[artifact:mvn] [ WARN] 11:36:29 Ejb3Configuration - hibernate.connection.autocommit = false break the EJB3 specification
[artifact:mvn] [ERROR] 11:36:35 Ejb3Configuration - Container is providing a null PersistenceUnitRootUrl: discovery impossible
[artifact:mvn] [ WARN] 11:36:35 Ejb3Configuration - hibernate.connection.autocommit = false break the EJB3 specification
[artifact:mvn] [ WARN] 11:36:38 DefaultFilterChainValidator - Possible error: Filters at position 9 and 10 are both instances of org.springframework.security.web.access.intercept.FilterSecurityInterceptor
[artifact:mvn] 2013-01-15 11:36:39.373:INFO:oejsh.ContextHandler:started o.m.j.p.JettyWebAppContext{/admin,file:/C:/GitWorkspace_bleaf/eclipse-workspace/DemoSite/admin/target/admin/},file:/C:/GitWorkspace_bleaf/eclipse-workspace/DemoSite/admin/target/admin/
[artifact:mvn] 2013-01-15 11:36:39.501:INFO:/admin:Initializing Spring FrameworkServlet 'admin'
[artifact:mvn] [ WARN] 11:36:40 RuntimeEnvironmentPropertiesConfigurer - Unableto determine runtime environment, using default environment 'development'
[artifact:mvn] 2013-01-15 11:36:42.881:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:8081
[artifact:mvn] 2013-01-15 11:36:43.175:INFO:oejus.SslContextFactory:Enabled Protocols [SSLv2Hello, SSLv3, TLSv1] of SSLv2Hello, SSLv3, TLSv1]
[artifact:mvn] 2013-01-15 11:36:43.177:INFO:oejs.AbstractConnector:Started SslSelectChannelConnector@0.0.0.0:8444
[artifact:mvn] [INFO] Started Jetty Server
[artifact:mvn] Java Result: -1073740791

BUILD SUCCESSFUL
Total time: 3 minutes 59 seconds




Thanks,
M

Re: unable to start up jetty demo for admin

Posted: Tue Jan 15, 2013 4:14 pm
by mkj
I was able to make it work..Thanks anyway :)

Re: unable to start up jetty demo for admin

Posted: Tue Jan 15, 2013 10:05 pm
by phillipuniverse
Could you elaborate as to what the problem was and how you were able to fix it?

Re: unable to start up jetty demo for admin

Posted: Wed Jan 16, 2013 2:11 pm
by mkj
phillipuniverse wrote:Could you elaborate as to what the problem was and how you were able to fix it?


Just when I thought I have fixed the admin it by increasing the java heap size, i started getting the issue again now in 'site' when moving from HSQL to MYSQL . Only hint I got so far is http://bugs.sun.com/view_bug.do?bug_id=6772139.

Thanks,
Manish

Re: unable to start up jetty demo for admin

Posted: Wed Jan 16, 2013 6:20 pm
by mkj
phillipuniverse wrote:Could you elaborate as to what the problem was and how you were able to fix it?


I think the java error was coming because I was hitting the port 8000 (debug port). Both site and admin are working fine now but I can reproduce what I was doing wrong by trying to hit the port 8000 instead of 8080 for site and 8001 instead of 8081 for admin from my browser and I get the java -1073740791 error.

Hope it make sense.

Thanks,
M