Thank you, it's working.
now i can run the axis2 as standalone and also can see the services provided.

i have another question, can i run the soapmonitor with the axis2 standalone? i have deploy the module the same way as stated on the axis2 website about soapmonitor but when i access http://localhost:8080/axis2/SOAPMonitor, it always bounce me back to http://localhost:8080/axis2/services/ page.

what should i do?

thank you for your help,
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 16:37:36 +0530

you can download the jar from
http://people.apache.org/repository/org.apache.httpcomponents/jars/

Saminda Abeyruwan wrote:

> 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]
>
>
>

---------------------------------------------------------------------
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]

Reply via email to