You can see the target directory is getting created within the Tomcat bin
directory even just with the Tuscany samples like calculator-webapp. What is
this for and the storeInRepository stuff about?

  ...ant

On 7/16/07, Luciano Resende <[EMAIL PROTECTED]> wrote:

Are you calling ContributionService.contribute yourself ? if so,
please make the storeInRepository to false and let me know if this
helps.


On 7/16/07, Robert Young <[EMAIL PROTECTED]> wrote:
> I don't think the problem is with the jsonrpc now actually. I have
> been playing around with removing services from the .composite file
> and the error occurs even when the jsonrpc binding is not mentioned.
>
> While making changes I started receiving a memory exception so I
> restarted Tomcat and now I'm getting an IO exception stating that it
> cannot create a directory target (trace below). I can change the
> permissions on the filesystem but it doesn't tell me where, do you
> know where I can find out?
>
> org.osoa.sca.ServiceRuntimeException:
> org.osoa.sca.ServiceRuntimeException:
> org.apache.tuscany.sca.core.runtime.ActivationException:
> java.io.IOException: Unable to create directory target
>         at
org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(
SCADomain.java:263)
>         at org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(
SCADomain.java:81)
>         at org.apache.tuscany.sca.webapp.SCADomainHelper.initSCADomain(
SCADomainHelper.java:63)
>         at
com.ipcmedia.nutch.webapp.context.NutchWebappContextListener.contextInitialized
(NutchWebappContextListener.java:83)
>         at org.apache.catalina.core.StandardContext.listenerStart(
StandardContext.java:3764)
>         at org.apache.catalina.core.StandardContext.start(
StandardContext.java:4216)
>         at org.apache.catalina.core.ContainerBase.addChildInternal(
ContainerBase.java:760)
>         at org.apache.catalina.core.ContainerBase.addChild(
ContainerBase.java:740)
>         at org.apache.catalina.core.StandardHost.addChild(
StandardHost.java:544)
>         at org.apache.catalina.startup.HostConfig.deployWAR(
HostConfig.java:825)
>         at org.apache.catalina.startup.HostConfig.deployWARs(
HostConfig.java:714)
>         at org.apache.catalina.startup.HostConfig.deployApps(
HostConfig.java:490)
>         at org.apache.catalina.startup.HostConfig.check(HostConfig.java
:1206)
>         at org.apache.catalina.startup.HostConfig.lifecycleEvent(
HostConfig.java:293)
>         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
LifecycleSupport.java:120)
>         at org.apache.catalina.core.ContainerBase.backgroundProcess(
ContainerBase.java:1306)
>         at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren
(ContainerBase.java:1570)
>         at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren
(ContainerBase.java:1579)
>         at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(
ContainerBase.java:1559)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: org.osoa.sca.ServiceRuntimeException:
> org.apache.tuscany.sca.core.runtime.ActivationException:
> java.io.IOException: Unable to create directory target
>         at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain
.<init>(DefaultSCADomain.java:89)
>         at
org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(
SCADomain.java:229)
>         ... 19 more
> Caused by: org.apache.tuscany.sca.core.runtime.ActivationException:
> java.io.IOException: Unable to create directory target
>         at
org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder.createContributionService
(ReallySmallRuntimeBuilder.java:186)
>         at
org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.start(
ReallySmallRuntime.java:93)
>         at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain
.<init>(DefaultSCADomain.java:86)
>         ... 20 more
> Caused by: java.io.IOException: Unable to create directory target
>         at
org.apache.tuscany.sca.contribution.service.util.FileHelper.forceMkdir(
FileHelper.java:178)
>         at
org.apache.tuscany.sca.contribution.service.impl.ContributionRepositoryImpl
.<init>(ContributionRepositoryImpl.java:84)
>         at
org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder.createContributionService
(ReallySmallRuntimeBuilder.java:184)
>         ... 22 more
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to