Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E253991DA for ; Thu, 10 May 2012 13:00:19 +0000 (UTC) Received: (qmail 17961 invoked by uid 500); 10 May 2012 13:00:19 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 17902 invoked by uid 500); 10 May 2012 13:00:19 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 17892 invoked by uid 99); 10 May 2012 13:00:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 May 2012 13:00:19 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of damiansima@gmail.com designates 209.85.216.49 as permitted sender) Received: from [209.85.216.49] (HELO mail-qa0-f49.google.com) (209.85.216.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 May 2012 13:00:11 +0000 Received: by qabj40 with SMTP id j40so370414qab.15 for ; Thu, 10 May 2012 05:59:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=MH0NOvhPb9sCpt3H30IZVjOgR74UFN54rThV79PM/V4=; b=1G+2yAy12WVWThrIh1W9db6SuiqdPGmHTYeriOEzwkgmu7npj+6QZ2a9n/Uskjas1P YA/sR34LtSHsK+pmwkDpUrwRWPhKIMUQYR+umdTz9VsuZKuQ/Xge2NDh/+ArrPKWLUuX AKjcWQaUkYXLEwoc9iKHjHVZqlTGabBwgGeomsjezdu1DOj0R8Xh1BKHj6x0PTfZmQXX 6zzapKKtXAssraEA6KtY+fPvbYKLK2+e84l7XqZ1ubP96XvyqoKueF+gkZRCQKtW1hHl 3dqyemOLPBJwtwtZCute/dYPtEG09fzIah+eCvpQUykPzTlVlpJHm840KfD1CnKJzU0o v6Rg== MIME-Version: 1.0 Received: by 10.50.42.129 with SMTP id o1mr2292122igl.72.1336654789912; Thu, 10 May 2012 05:59:49 -0700 (PDT) Received: by 10.42.145.67 with HTTP; Thu, 10 May 2012 05:59:49 -0700 (PDT) In-Reply-To: <691cb1ea57b596d2b138bec5e1a5d3cb-EhVcXl9JQQFXRwQFDQkEXR0wfgZLV15fQUBFBEFYXS9ZUF0WWlloB11LX15YLkQBXFxcSV1WUAw=-webmailer2@server01.webmailer.hosteurope.de> References: <691cb1ea57b596d2b138bec5e1a5d3cb-EhVcXl9JQQFXRwQFDQkEXR0wfgZLV15fQUBFBEFYXS9ZUF0WWlloB11LX15YLkQBXFxcSV1WUAw=-webmailer2@server01.webmailer.hosteurope.de> Date: Thu, 10 May 2012 09:59:49 -0300 Message-ID: Subject: Re: Repository.properties not loading From: Damian Sima To: =?ISO-8859-1?Q?Florian_M=FCller?= Cc: dev@chemistry.apache.org Content-Type: multipart/alternative; boundary=14dae9340a2df0a94204bfae3109 --14dae9340a2df0a94204bfae3109 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Yep that did the trick :D Thanks a lot! Now if I can abuse a little more of you brain guys I keep getting the following exception, with both serviceFactories (the dummy one the my custom factory) INFO: Initialized Services Factory: com.mulesoft.core.cmis.server.ServiceFactory 2012-05-10 09:57:00.183:WARN:/cmissrv:unavailable java.lang.NullPointerException at org.apache.chemistry.opencmis.server.impl.webservices.CmisWebServicesServle= t.getDelegate(CmisWebServicesServlet.java:42) at com.sun.xml.ws.transport.http.servlet.WSServlet.init(WSServlet.java:60) at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440) at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:685= ) at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1272= ) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517= ) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:489) at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebA= ppContext.java:115) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:= 152) at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCo= llection.java:156) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:= 152) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130= ) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:1= 32) at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.jav= a:441) at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:3= 83) at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.= java:210) at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:184) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildP= luginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:= 209) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:= 153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:= 145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(Lif= ecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(Lif= ecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(Li= fecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStart= er.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3= 9) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp= l.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.j= ava:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher= .java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352= ) 2012-05-10 09:57:00.207:INFO::Started SelectChannelConnector@0.0.0.0:8080 [INFO] Started Jetty Server I followed the code and I see no reason for this to be happening. Cheers, Damian. On 9 May 2012 17:29, Florian M=FCller wrote: > Hi Damian, > > I assume you are using Maven to build your project. > Try putting the file into /src/main/webapp/WEB-INF/**classes. > > Have a look at the InMemory repository folder structure. > > > Cheers, > > Florian > > > > > Hi guys, >> >> I manage to get the server running. >> >> But I can make it load my repository.properties, it keeps loading anothe= r >> one pointing DummyServiceFactory. >> >> After running mvn package I made sure to delete all references in any >> repository.properties I could find to DummyServiceFactory but it still >> keeps loading that factory instead of mine. >> >> Any ideas?? >> >> >> My own properties file is located in /target/myproject/WEB-INF/**classes >> >> Cheers, Damian. >> > > --=20 Dami=E1n. > - ) --14dae9340a2df0a94204bfae3109--