Hello all!
I new in Broadleaf, i had a lot of problem with java versions and others but i fix it all.
Now i`ve load the site but i can´t enter on admin site.This is the error:
HTTP ERROR: 503
Problem accessing /admin. Reason:
Service Unavailable
Powered by Jetty://
I upload a cut of log.
Buildfile: C:\Users\Carloos\workspace\eclipse-workspace\DemoSite\admin\build.xml
jetty-demo:
[artifact:mvn] JVM args ignored when same JVM is used.
[artifact:mvn] [INFO] Scanning for projects...
[artifact:mvn] [INFO]
[artifact:mvn] [INFO] ------------------------------------------------------------------------
[artifact:mvn] [INFO] Building admin 1.0
[artifact:mvn] [INFO] ------------------------------------------------------------------------
[artifact:mvn] [INFO]
[artifact:mvn] [INFO] --- build-helper-maven-plugin:1.7:timestamp-property (timestamp-property) @ admin ---
[artifact:mvn] [WARNING] Using platform locale (es_ES actually) to format date/time, i.e. build is platform dependent!
[artifact:mvn] [INFO] Setting property 'clientBuildDate' to '2013-05-25 15:37:44'.
[artifact:mvn] [INFO]
[artifact:mvn] [INFO] --- keytool-maven-plugin:1.2:clean (clean) @ admin ---
[artifact:mvn] [INFO] Keystore file 'C:\Users\Carloos\workspace\eclipse-workspace\DemoSite\admin\target\admin\WEB-INF\blc-example.keystore' deleted successfully.
[artifact:mvn] [INFO]
[artifact:mvn] [INFO] --- keytool-maven-plugin:1.2:genkey (genkey) @ admin ---
[artifact:mvn] [INFO]
[artifact:mvn] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ admin ---
[artifact:mvn] [debug] execute contextualize
[artifact:mvn] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[artifact:mvn] [INFO] Copying 12 resources
[artifact:mvn] [INFO] Copying 2 resources
[artifact:mvn] [INFO]
[artifact:mvn] [INFO] --- jrebel-maven-plugin:1.1.3:generate (generate-rebel-xml) @ admin ---
[artifact:mvn] [INFO]
[artifact:mvn] [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ admin ---
[artifact:mvn] [INFO] Nothing to compile - all classes are up to date
[artifact:mvn] [INFO]
[artifact:mvn] [INFO] --- maven-war-plugin:2.1.1:exploded (default-cli) @ admin ---
[artifact:mvn] [INFO] Exploding webapp
[artifact:mvn] [INFO] Assembling webapp [admin] in [C:\Users\Carloos\workspace\eclipse-workspace\DemoSite\admin\target\admin]
[artifact:mvn] [INFO] Processing war project
[artifact:mvn] [INFO] Copying webapp resources [C:\Users\Carloos\workspace\eclipse-workspace\DemoSite\admin\src\main\webapp]
[artifact:mvn] [INFO] Webapp assembled in [671 msecs]
[artifact:mvn] [INFO]
[artifact:mvn] [INFO] >>> jetty-maven-plugin:8.1.5.v20120716:run (default-cli) @ admin >>>
[artifact:mvn] [INFO]
[artifact:mvn] [INFO] --- build-helper-maven-plugin:1.7:timestamp-property (timestamp-property) @ admin ---
[artifact:mvn] [WARNING] Using platform locale (es_ES actually) to format date/time, i.e. build is platform dependent!
[artifact:mvn] [INFO] Setting property 'clientBuildDate' to '2013-05-25 15:37:47'.
[artifact:mvn] [INFO]
[artifact:mvn] [INFO] --- keytool-maven-plugin:1.2:clean (clean) @ admin ---
[artifact:mvn] [INFO] Keystore file 'C:\Users\Carloos\workspace\eclipse-workspace\DemoSite\admin\target\admin\WEB-INF\blc-example.keystore' deleted successfully.
[artifact:mvn] [INFO]
[artifact:mvn] [INFO] --- keytool-maven-plugin:1.2:genkey (genkey) @ admin ---
[artifact:mvn] [INFO]
[artifact:mvn] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ admin ---
[artifact:mvn] [debug] execute contextualize
[artifact:mvn] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[artifact:mvn] [INFO] Copying 12 resources
[artifact:mvn] [INFO] Copying 2 resources
[artifact:mvn] [INFO]
[artifact:mvn] [INFO] --- jrebel-maven-plugin:1.1.3:generate (generate-rebel-xml) @ admin ---
[artifact:mvn] [INFO]
[artifact:mvn] [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ admin ---
[artifact:mvn] [INFO] Nothing to compile - all classes are up to date
[artifact:mvn] [INFO]
[artifact:mvn] [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ admin ---
[artifact:mvn] [debug] execute contextualize
[artifact:mvn] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[artifact:mvn] [INFO] skip non existing resourceDirectory C:\Users\Carloos\workspace\eclipse-workspace\DemoSite\admin\src\test\resources
[artifact:mvn] [INFO]
[artifact:mvn] [INFO] --- maven-compiler-plugin:2.0.2:testCompile (default-testCompile) @ admin ---
[artifact:mvn] [INFO] Nothing to compile - all classes are up to date
[artifact:mvn] [INFO]
[artifact:mvn] [INFO] <<< jetty-maven-plugin:8.1.5.v20120716:run (default-cli) @ admin <<<
[artifact:mvn] [INFO]
[artifact:mvn] [INFO] --- jetty-maven-plugin:8.1.5.v20120716:run (default-cli) @ admin ---
[artifact:mvn] [INFO] Configuring Jetty for project: admin
[artifact:mvn] [INFO] Webapp source directory = C:\Users\Carloos\workspace\eclipse-workspace\DemoSite\admin\target\admin
[artifact:mvn] [INFO] Reload Mechanic: automatic
[artifact:mvn] [INFO] Classes = C:\Users\Carloos\workspace\eclipse-workspace\DemoSite\admin\target\admin\WEB-INF\classes
[artifact:mvn] [INFO] Context path = /
[artifact:mvn] [INFO] Tmp directory = C:\Users\Carloos\workspace\eclipse-workspace\DemoSite\admin\target\tmp
[artifact:mvn] [INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
[artifact:mvn] [INFO] Web overrides = none
[artifact:mvn] [INFO] web.xml file = file:/C:/Users/Carloos/workspace/eclipse-workspace/DemoSite/admin/target/admin/WEB-INF/web.xml
[artifact:mvn] [INFO] Webapp directory = C:\Users\Carloos\workspace\eclipse-workspace\DemoSite\admin\target\admin
[artifact:mvn] 2013-05-25 17:37:49.073:INFO:oejs.Server:jetty-8.1.5.v20120716
[artifact:mvn] 2013-05-25 17:37:55.543:INFO:oejpw.PlusConfiguration:No Transaction manager found - if your webapp requires one, please configure one.
[artifact:mvn] 2013-05-25 17:38:23.156:INFO:/:No Spring WebApplicationInitializer types detected on classpath
[artifact:mvn] 2013-05-25 17:38:23.679:INFO:oejsh.ContextHandler:started o.m.j.p.JettyWebAppContext{/admin,file:/C:/Users/Carloos/workspace/eclipse-workspace/DemoSite/admin/target/admin/},file:/C:/Users/Carloos/workspace/eclipse-workspace/DemoSite/admin/target/admin/
[artifact:mvn] 2013-05-25 17:38:23.679:INFO:oejsh.ContextHandler:started o.m.j.p.JettyWebAppContext{/admin,file:/C:/Users/Carloos/workspace/eclipse-workspace/DemoSite/admin/target/admin/},file:/C:/Users/Carloos/workspace/eclipse-workspace/DemoSite/admin/target/admin/
[artifact:mvn] 2013-05-25 17:38:23.680:INFO:oejsh.ContextHandler:started o.m.j.p.JettyWebAppContext{/admin,file:/C:/Users/Carloos/workspace/eclipse-workspace/DemoSite/admin/target/admin/},file:/C:/Users/Carloos/workspace/eclipse-workspace/DemoSite/admin/target/admin/
[artifact:mvn] 2013-05-25 17:38:23.683:INFO:/:Set web app root system property: 'blAdmin.root' = [C:\Users\Carloos\workspace\eclipse-workspace\DemoSite\admin\target\admin]
[artifact:mvn] SLF4J: Class path contains multiple SLF4J bindings.
[artifact:mvn] SLF4J: Found binding in [jar:file:/C:/Users/Carloos/.m2/repository/org/slf4j/slf4j-log4j12/1.6.1/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[artifact:mvn] SLF4J: Found binding in [jar:file:/C:/Users/Carloos/workspace/eclipse-workspace/DemoSite/admin/target/admin/WEB-INF/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[artifact:mvn] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
[artifact:mvn] 2013-05-25 17:38:23.788:INFO:/:Initializing log4j from [C:\Users\Carloos\workspace\eclipse-workspace\DemoSite\admin\target\admin\WEB-INF\log4j.xml]
[artifact:mvn] 2013-05-25 17:38:23.879:INFO:oejsh.ContextHandler:started o.m.j.p.JettyWebAppContext{/admin,file:/C:/Users/Carloos/workspace/eclipse-workspace/DemoSite/admin/target/admin/},file:/C:/Users/Carloos/workspace/eclipse-workspace/DemoSite/admin/target/admin/
[artifact:mvn] 2013-05-25 17:38:23.880:INFO:/:Initializing Spring root WebApplicationContext
[artifact:mvn] [ WARN] 17:38:29 RuntimeEnvironmentPropertiesConfigurer - Unable to determine runtime environment, using default environment 'development'
[artifact:mvn] [ERROR] 17:38:32 Ejb3Configuration - Container is providing a null PersistenceUnitRootUrl: discovery impossible
[artifact:mvn] [ WARN] 17:38:33 Ejb3Configuration - hibernate.connection.autocommit = false break the EJB3 specification
[artifact:mvn] [ WARN] 17:38:34 AbstractEhcacheRegionFactory - Couldn't find a specific ehcache configuration for cache named [blSandBoxElements]; using defaults.
[artifact:mvn] [ WARN] 17:38:36 AbstractEhcacheRegionFactory - Couldn't find a specific ehcache configuration for cache named [org.hibernate.cache.UpdateTimestampsCache]; using defaults.
[artifact:mvn] [ERROR] 17:38:38 Ejb3Configuration - Container is providing a null PersistenceUnitRootUrl: discovery impossible
[artifact:mvn] [ WARN] 17:38:38 Ejb3Configuration - hibernate.connection.autocommit = false break the EJB3 specification
[artifact:mvn] [ERROR] 17:38:38 Ejb3Configuration - Container is providing a null PersistenceUnitRootUrl: discovery impossible
[artifact:mvn] [ WARN] 17:38:38 Ejb3Configuration - hibernate.connection.autocommit = false break the EJB3 specification
[artifact:mvn] [ERROR] 17:38:39 ContextLoader - Context initialization failed
[artifact:mvn] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateExporter' defined in resource loaded from byte array: Invocation of init method failed; nested exception is org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [org.hibernate.jmx.StatisticsService@1d80a92] with key 'org.broadleafcommerce:name=hibernate.statistics-mycompany-admin'; nested exception is java.security.AccessControlException: access denied ("javax.management.MBeanTrustPermission" "register")
[artifact:mvn] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)
[artifact:mvn] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
[artifact:mvn] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
[artifact:mvn] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
[artifact:mvn] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
[artifact:mvn] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
[artifact:mvn] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
[artifact:mvn] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:605)
[artifact:mvn] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:925)
[artifact:mvn] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:472)
[artifact:mvn] at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)
[artifact:mvn] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
Thanks for all could help me.
This forum is in readonly mode and serves as an archive of old information. All posting, registration and commenting abilities have been turned off. To get help, the Broadleaf team reguarly monitors the broadleaf-commerce tag on Stack Overflow so please ask your questions there.