Hi,

You need to include,

jakarta-httpcore-4.0-alpha2.jar to your classpathe, which is available
in {user.home}/.maven/repository/httpcomponents-httpcore/jars,

Thank you

Saminda

i don't have  /.maven/repository/ folder....only have /.maven/cache

do i really need to build and host it with maven?
can it be done without relates to maven?

Wan


From: Saminda Abeyruwan <[EMAIL PROTECTED]>
Reply-To: axis-user@ws.apache.org
To: axis-user@ws.apache.org
Subject: Re: [Axis2 v1.0] how to run axis2 as standalone server
Date: Wed, 12 Jul 2006 16:28:49 +0530

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

You need to include,

jakarta-httpcore-4.0-alpha2.jar to your classpathe, which is available
in {user.home}/.maven/repository/httpcomponents-httpcore/jars,

Thank you

Saminda

Wan Kaveevivitchai wrote:
>
> i got this as the result
>
> 12.07.2006 11:02:38 org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : addressing
> 12.07.2006 11:02:38 org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : soapmonitor
> [JAM] Warning: You are running under a pre-1.5 JDK.  JSR175-style source
> annotations will not be available
> 12.07.2006 11:02:38 org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying Web service  version1.aar
> 12.07.2006 11:02:38 org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying Web service  fileTest.aar
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/http/protocol/HttpService
>     at java.lang.ClassLoader.defineClass0(Native Method)
>     at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
>     at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
>     at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
>     at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
>     at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
>     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
>     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
>     at
> org.apache.axis2.transport.http.SimpleHTTPServer.<init>(SimpleHTTPServer.java:71)
>
>     at sample.security.standAlone.main(standAlone.java:31)
>
> any idea where can i find org.apache.http.protocol.HttpService?
>
> thank you
>
> Wan
>
>> From: Deepal Jayasinghe <[EMAIL PROTECTED]>
>> Reply-To: axis-user@ws.apache.org
>> To: axis-user@ws.apache.org
>> Subject: Re: [Axis2 v1.0] how to run axis2 as standalone server
>> Date: Wed, 12 Jul 2006 14:04:51 +0530
>>
>>    ConfigurationContext configurationContextFromFileSystem =
>>
>> ConfigurationContextFactory.createConfigurationContextFromFileSystem("repo",
>>
>> null);
>>         SimpleHTTPServer smt = new
>> SimpleHTTPServer(configurationContextFromFileSystem, 8080);
>>         smt.start();
>>
>> Wan Kaveevivitchai wrote:
>>
>> > Dear all,
>> >
>> >     I would like to know how can i start axis2 as standalone
>> > application. Since i have been having problem about running
>> > soapmonitor earlier. The only difference of my environment and others
>> > is that i am using Jetty as webserver, and others are using Tomcat. So >> > i would like to test it with axis2 itself whether it is the problem at
>> > Jetty or not.
>> >
>> >     My soapmonitor GUI is doing fine except when i run the client to
>> > communicate with the server, the soapmonitor cannot detect any action
>> > so i cannot see any soap message on the flow.
>> >
>> >     How can i start axis2 as standalone?
>> >
>> >      Best regards,
>> >
>> >        Wan
>> >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>> >
>>
>> --
>> Thanks,
>> Deepal
>> ................................................................
>> ~Future is Open~
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEtNXpYmklbLuW6wYRArfPAKCDE70/vM6WNUsgBk00/l+OYal8gwCgtSeE
CJA4jxju4vEAaSKlr5Ui7k8=
=7cs7
-----END PGP SIGNATURE-----

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




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

Reply via email to