axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <indra.sha...@sungard.com>
Subject SV: Axis2/c source in VS
Date Thu, 18 Sep 2008 09:15:06 GMT
It might also be good to know that I have enable_libcurl = 0 in NR2. I did it by adding enable_libcurl
=0 in my preprocessor settings and removing libcurl_imp from properties -> Linker ->
Input -> additional dependencies.

/Indra


-----Ursprungligt meddelande-----
Från: Supun Kamburugamuva [mailto:supun06@gmail.com]
Skickat: to 2008-09-18 11:05
Till: Apache AXIS C Developers List
Ämne: Re: Axis2/c source in VS
 
Did you try to run the NR2 from the command line?

On Thu, Sep 18, 2008 at 2:00 PM, <indra.sharma@sungard.com> wrote:

> Yes, I have it in the lib folder.
>
> I have 2 axis2_http_server.exe, one that is working and one that is not
> working.
> The one that is working i compiled with the instructions from the webpage
> with nmake and that .exe runs fine and i will call it NR1. The one I have
> compiled in VS is the one with an .exe that's not starting and I will call
> it NR2. I tried to exchange just axutil.dll generated for NR1 with the
> axutil.dll for NR2 and then NR1s' server (.exe) runs fine. So I guess that
> something is wrong generating the axutil.dll...
>
> /Indra
>
> -----Ursprungligt meddelande-----
> Från: Supun Kamburugamuva [mailto:supun06@gmail.com]
> Skickat: to 2008-09-18 10:50
> Till: Apache AXIS C Developers List
> Ämne: Re: Axis2/c source in VS
>
> Sorry I have misspelled the axis2_http_sender.dll as
> axis2_http_library.dll.
> Do you have the axis2_http_sender.dll?
>
> Supun..
>
> On Thu, Sep 18, 2008 at 1:40 PM, <indra.sharma@sungard.com> wrote:
>
> > I have tried to build it in VS and it works, no compiling errors. The
> > problem is when I try to run the .exe that is generated. I have OpenSSL
> > installed and the axis2c lib-files.
> >
> > When I compile and run from the comand promt with nmake (as described on
> > the webpage but without libcurl, enable_libcurl=0) it works and the .exe
> > starts, but I need to get it working using VS environment. I don't have
> any
> > library called axis2_http_library.dll in any project, not the one working
> > nor the one I'm having trouble with...
> >
> >
> > -----Ursprungligt meddelande-----
> > Från: Supun Kamburugamuva [mailto:supun06@gmail.com]
> > Skickat: to 2008-09-18 10:38
> > Till: Apache AXIS C Developers List
> > Ämne: Re: Axis2/c source in VS
> >
> > Try to build the visual studio solution again and see what is the error.
> > You
> > need OpenSLL installed and configured for building the sender from the
> > visual studio. You need OpenSSL include files and library files included
> > for
> > the axis2_http_sender project.
> >
> > Supun.
> >
> >
> >
> > On Thu, Sep 18, 2008 at 1:22 PM, <indra.sharma@sungard.com> wrote:
> >
> > > Hi Supun!
> > > Thank you for your reply.
> > > I've checked for the library named axis2_http_library but I can't find
> > one.
> > > It seems I don't have it but I don't know why, do you?
> > >
> > >
> > >
> > > /Indra
> > >
> > >
> > > -----Ursprungligt meddelande-----
> > > Från: Supun Kamburugamuva [mailto:supun06@gmail.com]
> > > Skickat: on 2008-09-17 18:25
> > > Till: Apache AXIS C Developers List
> > > Ämne: Re: Axis2/c source in VS
> > >
> > > Also please make sure that the axis2_http_sender.dll is in the lib
> folder
> > > of
> > > Axis2/C build.
> > >
> > > Supun..
> > >
> > > On Wed, Sep 17, 2008 at 8:47 PM, Supun Kamburugamuva <
> supun06@gmail.com
> > > >wrote:
> > >
> > > > I think the problem is with the axis2_http_library.dll. Please make
> > sure
> > > > that all the libraries that are linked to this dll are in the PATH.
> > > >
> > > > Supun..
> > > >
> > > >
> > > > On Wed, Sep 17, 2008 at 7:58 PM, Supun Kamburugamuva <
> > supun06@gmail.com
> > > >wrote:
> > > >
> > > >> Did you set the working directory? If you are running from the VS
> > > solution
> > > >> you should set the current working directory.
> > > >>
> > > >> Supun.
> > > >>
> > > >> On Wed, Sep 17, 2008 at 7:39 PM, <indra.sharma@sungard.com>
wrote:
> > > >>
> > > >>> Hello,
> > > >>> I'm trying to compile axis2/c in Visual Studios (2008) (using
> > > axis2c.sln)
> > > >>> and it works out well in both release (and debug mode). I'm only
> > using
> > > these
> > > >>> projects: axutil, axis2_parser, axiom, neethi, axis2_engine,
> > > >>> axis2_http_sender, axis2_httpreceiver, axis2_http_server,
> > > axis2_mod_addr.
> > > >>> I'm having trouble to start the server.
> > > >>>
> > > >>> When I try to run the server wich was compiled in release mode
it
> > > doesn't
> > > >>> start and the log sais:pu
> > > >>>
> > > >>>
> > > >>> [Wed Sep 17 16:16:20 2008] [info]  Starting Axis2 HTTP server....
> > > >>> [Wed Sep 17 16:16:20 2008] [info]  Apache Axis2/C version in use
:
> > > 1.5.0
> > > >>> [Wed Sep 17 16:16:20 2008] [info]  Server port : 9090
> > > >>> [Wed Sep 17 16:16:20 2008] [info]  Repo location : ../
> > > >>> [Wed Sep 17 16:16:20 2008] [info]  Read Timeout : 60000 ms
> > > >>> [Wed Sep 17 16:16:20 2008] [debug]
> > > >>> ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t
> > > >>> *request_uri_based_dispatcher added to the index 0 of the phase
> > > Transport
> > > >>> [Wed Sep 17 16:16:20 2008] [debug]
> > > >>> ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t
> > > >>> *addressing_based_dispatcher added to the index 1 of the phase
> > > Transport
> > > >>> [Wed Sep 17 16:16:20 2008] [debug]
> > > >>> ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t
> > > *rest_dispatcher
> > > >>> added to the index 0 of the phase Dispatch
> > > >>> [Wed Sep 17 16:16:20 2008] [debug]
> > > >>> ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t
> > > >>> *soap_message_body_based_dispatcher added to the index 1 of the
> phase
> > > >>> Dispatch
> > > >>> [Wed Sep 17 16:16:20 2008] [debug]
> > > >>> ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t
> > > >>> *soap_action_based_dispatcher added to the index 2 of the phase
> > > Dispatch
> > > >>> [Wed Sep 17 16:16:20 2008] [debug]
> > > >>> ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t
> > > >>> *dispatch_post_conditions_evaluator added to the index 0 of the
> phase
> > > >>> PostDispatch
> > > >>> [Wed Sep 17 16:16:20 2008] [debug]
> > > >>> ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t
> > > *context_handler
> > > >>> added to the index 1 of the phase PostDispatch
> > > >>> [Wed Sep 17 16:16:20 2008] [debug]
> > > >>> ..\..\..\..\src\core\deployment\conf_builder.c(233) No custom
> > > dispatching
> > > >>> order found. Continue with the default dispatching order
> > > >>> [Wed Sep 17 16:16:20 2008] [debug]
> > > >>> ..\..\..\..\src\core\deployment\conf_builder.c(378) Module
> addressing
> > > found
> > > >>> in axis2.xml
> > > >>> [Wed Sep 17 16:16:20 2008] [error]
> > > >>> ..\..\..\..\util\src\class_loader.c(167) Loading shared library
> > > >>> ..//lib/axis2_http_sender.dll  Failed. DLERROR IS DLL Load Error
> 126:
> > T
> > > >>> [Wed Sep 17 16:16:20 2008] [error]
> > > >>> ..\..\..\..\src\core\deployment\conf_builder.c(898) Transport
> sender
> > is
> > > NULL
> > > >>> for transport http, unable to continue
> > > >>> [Wed Sep 17 16:16:20 2008] [error]
> > > >>> ..\..\..\..\src\core\deployment\conf_builder.c(261) Processing
> > > transport
> > > >>> senders failed, unable to continue
> > > >>> [Wed Sep 17 16:16:20 2008] [error]
> > > >>> ..\..\..\..\src\core\deployment\dep_engine.c(752) Populating Axis2
> > > >>> Configuration failed
> > > >>> [Wed Sep 17 16:16:20 2008] [error]
> > > >>> ..\..\..\..\src\core\deployment\conf_init.c(64) Loading deployment
> > > engine
> > > >>> failed for repository ../.
> > > >>> [Wed Sep 17 16:16:20 2008] [error]
> > > >>> ..\..\..\..\src\core\transport\http\receiver\http_receiver.c(127)
> > > unable to
> > > >>> create private configuration contextfor repo path ../
> > > >>> [Wed Sep 17 16:16:20 2008] [error]
> > > >>>
> > >
> >
> ..\..\..\..\src\core\transport\http\server\simple_axis2_server\http_server_main.c(215)
> > > >>> Server creation failed: Error code: 101 :: Failed in creating
DLL
> > > >>>
> > > >>>
> > > >>>
> > > >>>
> > > >>> I have tested to fix this and then discovered that something seems
> to
> > > be
> > > >>> wrong with the axutil.dll...
> > > >>> Does anyone know what might be wrong?
> > > >>>
> > > >>> Sincerely
> > > >>> Indra Sharma
> > > >>>
> > > >>>
> > > >>>
> ---------------------------------------------------------------------
> > > >>> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> > > >>> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
> > > >>>
> > > >>>
> > > >>
> > > >>
> > > >> --
> > > >> Software Engineer, WSO2 Inc
> > > >> http://wso2.com
> > > >>
> > > >
> > > >
> > > >
> > > > --
> > > > Software Engineer, WSO2 Inc
> > > > http://wso2.com
> > > >
> > >
> > >
> > >
> > > --
> > > Software Engineer, WSO2 Inc
> > > http://wso2.com
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: axis-c-dev-help@ws.apache.org
> > >
> >
> >
> >
> > --
> > Software Engineer, WSO2 Inc
> > http://wso2.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-c-dev-help@ws.apache.org
> >
>
>
>
> --
> Software Engineer, WSO2 Inc
> http://wso2.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>



-- 
Software Engineer, WSO2 Inc
http://wso2.org


Mime
View raw message