Hi, I use run-jetty-run myself to start Djigzo-Web from Eclipse so it should work. Now we need to find out why it works for me and not for you :)
It seems you are trying to run Djigzo-web from the WAR file? >>Extract jar:file:/opt/local/share/java/jetty-6.1.6/webapps/djigzo-web.war Why not directly from the source? My run-jetty-run settings: Context: /djigzo Webapp dir: WebContent Arguments: -Djetty.host=0.0.0.0 -Dorg.mortbay.jetty.webapp.parentLoaderPriority=true -Ddjigzo.https.all=false -Dtapestry.production-mode=false To make running in Eclipse easier you should disable SSL in run-jetty-run. Kind regards, Martijn Brinkers Валера Харсеко wrote: > _______________________________________________ > Users mailing list > [email protected] > http://lists.djigzo.com/lists/listinfo/users > > > ------------------------------------------------------------------------ > > Subject: > [Djigzo users] need help - run djigzo-web project in jetty eclipse > From: > Валера Харсеко <[email protected]> > Date: > Mon, 26 Apr 2010 15:13:20 +0400 > To: > [email protected] > > To: > [email protected] > > > It is impossible to start a web the project from under eclipse > plugin run-jetty-run it is established, jetty 616 it is established > > Here a log example > > > > java.net.BindException: Address already in use > WARN: Not listening on monitor port: 8079 > 2010-04-26 14:42:07.866::INFO: Logging to STDERR via > org.mortbay.log.StdErrLog > 2010-04-26 14:42:07.061::INFO: jetty-6.1.6 > 2010-04-26 14:42:08.097::INFO: Deploy > /opt/local/share/java/jetty-6.1.6/contexts/test-jndi.xml -> > org.mortbay.jetty.webapp.webappcont...@69b01afa{/test-jndi,/opt/local/share/java/jetty-6.1.6/contexts/test-jndi.d} > 2010-04-26 14:42:08.107::INFO: Deploy > /opt/local/share/java/jetty-6.1.6/contexts/djigzo-web.xml -> > org.mortbay.jetty.webapp.webappcont...@28bb494b{/djigzo-web,/opt/local/share/java/jetty-6.1.6/webapps/djigzo-web.war} > 2010-04-26 14:42:08.121::INFO: Deploy > /opt/local/share/java/jetty-6.1.6/contexts/test.xml -> > org.mortbay.jetty.webapp.webappcont...@14004204{/test,/opt/local/share/java/jetty-6.1.6/webapps/test} > 2010-04-26 14:42:08.179::INFO: Deploy > /opt/local/share/java/jetty-6.1.6/contexts/javadoc.xml -> > org.mortbay.jetty.handler.contexthand...@4e2016b0{/javadoc,file:/opt/local/share/java/jetty-6.1.6/javadoc/} > 2010-04-26 14:42:08.311::INFO: No Transaction manager found - if your webapp > requires one, please configure one. > 2010-04-26 14:42:08.681::INFO: Extract > jar:file:/opt/local/share/java/jetty-6.1.6/webapps/djigzo-web.war!/ to > /var/folders/HN/HNTMOSeAF74AzyJBHwj4HU+++TI/-Tmp-/Jetty_127_0_0_1_8080_djigzo-web.war__djigzo-web__r5o54c/webapp > 2010-04-26 14:42:09.872::INFO: No Transaction manager found - if your webapp > requires one, please configure one. > 2010-04-26 14:42:10.123:/djigzo-web:INFO: Initializing Spring root > WebApplicationContext > [26 апр 2010 14:42:10 main] INFO Root WebApplicationContext: initialization > started (org.springframework.web.context.ContextLoader) > [26 апр 2010 14:42:10 main] INFO Refreshing > org.springframework.web.context.support.xmlwebapplicationcont...@4b4ed577: > display name [Root WebApplicationContext]; startup date [Mon Apr 26 14:42:10 > MSD 2010]; root of context hierarchy > (org.springframework.web.context.support.XmlWebApplicationContext) > [26 апр 2010 14:42:10 main] INFO Loading XML bean definitions from > ServletContext resource [/WEB-INF/spring.xml] > (org.springframework.beans.factory.xml.XmlBeanDefinitionReader) > [26 апр 2010 14:42:10 main] INFO Loading XML bean definitions from > ServletContext resource [/WEB-INF/spring-default-authenticator.xml] > (org.springframework.beans.factory.xml.XmlBeanDefinitionReader) > [26 апр 2010 14:42:10 main] INFO Bean factory for application context > [org.springframework.web.context.support.xmlwebapplicationcont...@4b4ed577]: > org.springframework.beans.factory.support.defaultlistablebeanfact...@1aa632be > (org.springframework.web.context.support.XmlWebApplicationContext) > [26 апр 2010 14:42:10 main] INFO Pre-instantiating singletons in > org.springframework.beans.factory.support.defaultlistablebeanfact...@1aa632be: > defining beans > [_authenticationManager,_filterChainProxy,_httpSessionContextIntegrationFilter,_filterChainProxyPostProcessor,_filterChainList,_securityContextHolderAwareRequestFilter,_accessManager,_portMapper,_exceptionTranslationFilter,_filterSecurityInterceptor,_sessionFixationProtectionFilter,_rememberMeServices,_rememberMeFilter,_rememberMeServicesInjectionBeanPostProcessor,_logoutFilter,_formLoginFilter,_formLoginEntryPoint,_entryPointInjectionBeanPostProcessor,_userServiceInjectionPostProcessor,org.springframework.security.providers.dao.DaoAuthenticationProvider#0,org.springframework.security.config.AuthenticationProviderBeanDefinitionParser$AuthenticationProviderCacheResolver#0,passwordEncoder,saltSource,userDetailsService,authenticationEventListener]; > root of factory hierarchy (org.springframework.beans.factory.support. DefaultListableBeanFactory) > [26 апр 2010 14:42:10 main] INFO Destroying singletons in > org.springframework.beans.factory.support.defaultlistablebeanfact...@1aa632be: > defining beans > [_authenticationManager,_filterChainProxy,_httpSessionContextIntegrationFilter,_filterChainProxyPostProcessor,_filterChainList,_securityContextHolderAwareRequestFilter,_accessManager,_portMapper,_exceptionTranslationFilter,_filterSecurityInterceptor,_sessionFixationProtectionFilter,_rememberMeServices,_rememberMeFilter,_rememberMeServicesInjectionBeanPostProcessor,_logoutFilter,_formLoginFilter,_formLoginEntryPoint,_entryPointInjectionBeanPostProcessor,_userServiceInjectionPostProcessor,org.springframework.security.providers.dao.DaoAuthenticationProvider#0,org.springframework.security.config.AuthenticationProviderBeanDefinitionParser$AuthenticationProviderCacheResolver#0,passwordEncoder,saltSource,userDetailsService,authenticationEventListener]; > root of factory hierarchy > (org.springframework.beans.factory.support.Default ListableBeanFactory) > [26 апр 2010 14:42:10 main] ERROR Context initialization failed > (org.springframework.web.context.ContextLoader) -- Djigzo open source email encryption _______________________________________________ Users mailing list [email protected] http://lists.djigzo.com/lists/listinfo/users
