On 3/23/07, muhwas <[EMAIL PROTECTED]> wrote:

Thank you for your reply Simon. Yes i am also able to
run this from home. I found that when i run this in
the office where i am behind firewall it doesn't work
but when i run it from home it worked fine. i also
checked that axis2-1.0-incubator-M2.jar and
databinding-sdo-1.0-incubator-M2.jar are in the
extension direcoty and also in my maven repository. do
you think how i can make in run behind farewall ?


--- Simon Laws <[EMAIL PROTECTED]> wrote:

> On 3/21/07, muhwas <[EMAIL PROTECTED]> wrote:
> >
> > Hi everybody,
> >
> > I am new tu tuscany. I am trying to run
> > helloworldwsclient sample. when i am running
> > java -jar ../../../bin/launcher.jar
> > target/samplehelloworldwsclient.jar
> >
> > I am getting following exception. I have
> > axis2-1.0-incubator-M2.jar  and
> > databinding-sdo-1.0-incubator-M2.jar in my
> extension
> > direcotry. I can run the calculator standalone
> sample
> > but not this one.
> >
> > Exception in thread "main"
> > org.apache.tuscany.spi.component.TargetException :
> Err
> > or initializing component instance
> > [directoryScanExtender]
> >         at
> >
>
org.apache.tuscany.core.implementation.PojoAtomicComponent.init(PojoA
> > tomicComponent.java:96)
> >         at
> >
>
org.apache.tuscany.core.component.scope.InstanceWrapperImpl.start
> (Ins
> > tanceWrapperImpl.java:49)
> >         at
> >
>
org.apache.tuscany.core.component.scope.ModuleScopeContainer.eagerIni
> > tComponents(ModuleScopeContainer.java:145)
> >         at
> >
>
org.apache.tuscany.core.component.scope.ModuleScopeContainer.onEvent
> (
> > ModuleScopeContainer.java:72)
> >         at
> >
>
org.apache.tuscany.spi.component.AbstractSCAObject.publish(AbstractSC
> > AObject.java:94)
> >         at
> >
>
org.apache.tuscany.core.implementation.composite.AbstractCompositeCom
> >
> ponent.publish(AbstractCompositeComponent.java:139)
> >         at
> >
>
org.apache.tuscany.core.implementation.composite.AbstractCompositeCom
> > ponent.start(AbstractCompositeComponent.java:106)
> >         at
> >
>
org.apache.tuscany.runtime.standalone.host.StandaloneRuntimeImpl.init
> > ialize(StandaloneRuntimeImpl.java:82)
> >         at
> >
>
org.apache.tuscany.launcher.MainLauncherBooter.main(MainLauncherBoote
> > r.java:83)
> > Caused by:
> >
>
org.apache.tuscany.core.injection.ObjectCallbackException:
> > Exception
> > thrown by callback method [public void
> > org.apache.tuscany.runtime.standalone.hos
> > t.DirectoryScanExtender.init()]
> >         at
> >
>
org.apache.tuscany.core.injection.MethodEventInvoker.invokeEvent(Meth
> > odEventInvoker.java:46)
> >         at
> >
>
org.apache.tuscany.core.implementation.PojoAtomicComponent.init(PojoA
> > tomicComponent.java:94)
> >         ... 8 more
> > Caused by:
> >
>
org.apache.tuscany.services.maven.TuscanyDependencyException
> :
> > Unable
> > to resolve artifact:
> >
>
org.apache.tuscany.sca.services.bindings:axis2:1.0-incubato
> > r-M2:jar
> >
>
[org.apache.tuscany.sca.services.bindings:axis2:1.0-incubator-M2:jar]
> >         at
> >
>
org.apache.tuscany.services.maven.MavenArtifactRepository.resolve
> (Mav
> > enArtifactRepository.java:72)
> >         at
> >
>
org.apache.tuscany.core.implementation.composite.CompositeLoader.load
> > (CompositeLoader.java:99)
> >         at
> >
>
org.apache.tuscany.core.implementation.composite.CompositeLoader.load
> > (CompositeLoader.java:55)
> >         at
> >
>
org.apache.tuscany.core.loader.LoaderRegistryImpl.load(LoaderRegistry
> > Impl.java:92)
> >         at
> >
>
org.apache.tuscany.core.loader.LoaderRegistryImpl.load(LoaderRegistry
> > Impl.java:109)
> >         at
> >
>
org.apache.tuscany.core.implementation.system.loader.SystemCompositeC
> > omponentTypeLoader.loadFromSidefile(
> > SystemCompositeComponentTypeLoader.java:68)
> >         at
> >
>
org.apache.tuscany.core.implementation.system.loader.SystemCompositeC
> >
>
omponentTypeLoader.load(SystemCompositeComponentTypeLoader.java:59)
> >         at
> >
>
org.apache.tuscany.core.implementation.system.loader.SystemCompositeC
> >
>
omponentTypeLoader.load(SystemCompositeComponentTypeLoader.java
> :38)
> >         at
> >
>
org.apache.tuscany.core.loader.LoaderRegistryImpl.loadComponentType(L
> > oaderRegistryImpl.java:159)
> >         at
> >
>
org.apache.tuscany.core.deployer.DeployerImpl.load(DeployerImpl.java:
> > 101)
> >         at
> >
>
org.apache.tuscany.core.deployer.DeployerImpl.deploy(DeployerImpl.jav
> > a:76)
> >         at
> >
>
org.apache.tuscany.core.services.extension.AbstractExtensionDeployer.
> > deployExtension(AbstractExtensionDeployer.java
> :104)
> >         at
> >
>
org.apache.tuscany.core.services.extension.AbstractExtensionDeployer.
> > deployExtension(AbstractExtensionDeployer.java:67)
> >         at
> >
>
org.apache.tuscany.runtime.standalone.host.DirectoryScanExtender.init
> > (DirectoryScanExtender.java:57)
> >         at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method)
> >         at
> >
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> > java:39)
> >         at
> >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> > sorImpl.java:25)
> >         at
> > java.lang.reflect.Method.invoke(Method.java:585)
> >         at
> >
>
org.apache.tuscany.core.injection.MethodEventInvoker.invokeEvent
> (Meth
> > odEventInvoker.java:42)
> >         ... 9 more
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> > Hi muhwas
>
> Sorry for the slightly tardy reply, only just got
> round to trying this. I'm
> afraid I may not be giving you the best advice as
> I'm not doing this
> precisely by the instructions but here's what I did
> to get this working....
>
> I set up my directory structure as before but with
> the addition of Tomcat.
> So...
>
> I downloaded tuscany-sca-1.0-incubator-M2-bin.zip
> and unpacked it to
> \sca-bin
> I downloaded
> tuscany-sca-1.0-incubator-M2-samples.zip and
> unpacked it to
> \samples
> I already had the zip of Tomcat5.55.20 so I unpacked
> that to \tomcat
>
>
=== message truncated ===


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

Hi Muhwas

It depends what sort of firewall you're talking about I think. There are
some instructions in the on-line maven help pages about proxy settings (
http://maven.apache.org/guides/mini/guide-proxies.html). I do note though at
the bottom of this NTLM proxies are not supported. Here are some tips I
surfed up if you are in that situation (
http://www.jumpingbean.co.za/blogs/mark/maven2_tips). I have to admit I
don't have the problem so I haven't tried these but this is the kind of info
I would look for to fix it.

Regards

Simon

Reply via email to