You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "mohan Goud Devanoor (JIRA)" <ax...@ws.apache.org> on 2006/01/19 14:23:41 UTC

[jira] Created: (AXISCPP-913) couldnt call axis c++ webservice from a client ( warning: /axiscpp.conf not found)

couldnt call axis c++ webservice  from a client ( warning: /axiscpp.conf not found)
-----------------------------------------------------------------------------------

         Key: AXISCPP-913
         URL: http://issues.apache.org/jira/browse/AXISCPP-913
     Project: Axis-C++
        Type: Task
  Components: Client - Stub  
    Versions: 1.5 Beta    
 Environment: windows 2000, apache 2.0.55 and axis c++ 1.5 version
    Reporter: mohan Goud Devanoor
    Priority: Critical


hello all,
can any one help me please. i have installed apache 2.0.55 and axis c++ 1.5 version . The sample calculator.exe runs perfectly on my system. but when i copy it to other system and run giving endpoint url, it gives an error message
Message:
warning configuration file was not found ( /axiscpp.conf)
Using default values
Exception : DLOPEN failed in loading parser library..

NOTE: when i copy all the parser libraries to that system then it works giving only the warning...


Exception: 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-913) couldnt call axis c++ webservice from a client ( warning: /axiscpp.conf not found)

Posted by "Adrian Dick (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-913?page=comments#action_12363642 ] 

Adrian Dick commented on AXISCPP-913:
-------------------------------------

You application containing the generated client stubs MUST have the Axis C++ runtime libraries available
- if you wish to minimise the install, the libraries required for the client are:  axis_client, HTTPTransport, HTTPChannel, (optionally) HTTPSSLChannel and AxisXMLParserXerces (possibly renamed to AxisXMLParser to avoid the need for axiscpp.conf), and also the Xerces 2.2.0 libraries.

You do NOT require Apache and the web service implementation to be present on the same system, they can be hosted remotely.

If you are unable to connect remotely, check your application is using the correct endpoint URI (if not explicitely provided by invoking code, the generated stubs will use the value from the WSDL file), if this is still failing ensure the service is correctly running and you don't have any connection issues (firewalls, etc.)

> couldnt call axis c++ webservice  from a client ( warning: /axiscpp.conf not found)
> -----------------------------------------------------------------------------------
>
>          Key: AXISCPP-913
>          URL: http://issues.apache.org/jira/browse/AXISCPP-913
>      Project: Axis-C++
>         Type: Task
>   Components: Client - Stub
>     Versions: 1.5 Beta
>  Environment: windows 2000, apache 2.0.55 and axis c++ 1.5 version
>     Reporter: mohan Goud Devanoor
>     Priority: Critical

>
> hello all,
> can any one help me please. i have installed apache 2.0.55 and axis c++ 1.5 version . The sample calculator.exe runs perfectly on my system. but when i copy it to other system and run giving endpoint url, it gives an error message
> Message:
> warning configuration file was not found ( /axiscpp.conf)
> Using default values
> Exception : DLOPEN failed in loading parser library..
> NOTE: when i copy all the parser libraries to that system then it works giving only the warning...
> Exception: 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (AXISCPP-913) couldnt call axis c++ webservice from a client ( warning: /axiscpp.conf not found)

Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/AXISCPP-913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

nadir amra closed AXISCPP-913.
------------------------------

    Resolution: Invalid

I am closing this issue because there does not appear to be a problem to be fixed....if not true please reopen describing problem.

> couldnt call axis c++ webservice  from a client ( warning: /axiscpp.conf not found)
> -----------------------------------------------------------------------------------
>
>                 Key: AXISCPP-913
>                 URL: https://issues.apache.org/jira/browse/AXISCPP-913
>             Project: Axis-C++
>          Issue Type: Task
>          Components: Client - Stub
>    Affects Versions: 1.5 Beta
>         Environment: windows 2000, apache 2.0.55 and axis c++ 1.5 version
>            Reporter: mohan Goud Devanoor
>            Priority: Critical
>
> hello all,
> can any one help me please. i have installed apache 2.0.55 and axis c++ 1.5 version . The sample calculator.exe runs perfectly on my system. but when i copy it to other system and run giving endpoint url, it gives an error message
> Message:
> warning configuration file was not found ( /axiscpp.conf)
> Using default values
> Exception : DLOPEN failed in loading parser library..
> NOTE: when i copy all the parser libraries to that system then it works giving only the warning...
> Exception: 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Commented: (AXISCPP-913) couldnt call axis c++ webservice from a client ( warning: /axiscpp.conf not found)

Posted by "Adrian Dick (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-913?page=comments#action_12363249 ] 

Adrian Dick commented on AXISCPP-913:
-------------------------------------

Axis c++ uses the file axiscpp.conf (located in %AXISCPP_DEPLOY% on Windows, or %AXISCPP_DEPLOY/etc on Unix) to locate the transport and XML parser libraries.

If this file is not found you will see the message you describe and it will attempt to continue using hard-coded default values within the engine :
If you're using the binary package the default values should match all the required libraries, but you will need to ensure these are available on the PATH.

Hence, why it works after you copy across the parser libraries.

> couldnt call axis c++ webservice  from a client ( warning: /axiscpp.conf not found)
> -----------------------------------------------------------------------------------
>
>          Key: AXISCPP-913
>          URL: http://issues.apache.org/jira/browse/AXISCPP-913
>      Project: Axis-C++
>         Type: Task
>   Components: Client - Stub
>     Versions: 1.5 Beta
>  Environment: windows 2000, apache 2.0.55 and axis c++ 1.5 version
>     Reporter: mohan Goud Devanoor
>     Priority: Critical

>
> hello all,
> can any one help me please. i have installed apache 2.0.55 and axis c++ 1.5 version . The sample calculator.exe runs perfectly on my system. but when i copy it to other system and run giving endpoint url, it gives an error message
> Message:
> warning configuration file was not found ( /axiscpp.conf)
> Using default values
> Exception : DLOPEN failed in loading parser library..
> NOTE: when i copy all the parser libraries to that system then it works giving only the warning...
> Exception: 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-913) couldnt call axis c++ webservice from a client ( warning: /axiscpp.conf not found)

Posted by "mohan Goud Devanoor (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-913?page=comments#action_12363366 ] 

mohan Goud Devanoor commented on AXISCPP-913:
---------------------------------------------

Hi adrian,
wat u said is exactly correct . But the thing is i  clearly gave the path of parserlibraries (i.e PATH= d:\Apache2;d:\Apache2\axis\lib;d:\Apache2\bin;C:\Xerces2_2_0\bin;C:\Xerces2_2_0\lib
AXISCPP_DEPLOY=d:\Apache2\axis

as it was mentioned in wininstal manual.

but still the problem remains the same.

i am getting the same warning and Exception.
is anything wrong with the version iam using. please help me out.


> couldnt call axis c++ webservice  from a client ( warning: /axiscpp.conf not found)
> -----------------------------------------------------------------------------------
>
>          Key: AXISCPP-913
>          URL: http://issues.apache.org/jira/browse/AXISCPP-913
>      Project: Axis-C++
>         Type: Task
>   Components: Client - Stub
>     Versions: 1.5 Beta
>  Environment: windows 2000, apache 2.0.55 and axis c++ 1.5 version
>     Reporter: mohan Goud Devanoor
>     Priority: Critical

>
> hello all,
> can any one help me please. i have installed apache 2.0.55 and axis c++ 1.5 version . The sample calculator.exe runs perfectly on my system. but when i copy it to other system and run giving endpoint url, it gives an error message
> Message:
> warning configuration file was not found ( /axiscpp.conf)
> Using default values
> Exception : DLOPEN failed in loading parser library..
> NOTE: when i copy all the parser libraries to that system then it works giving only the warning...
> Exception: 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-913) couldnt call axis c++ webservice from a client ( warning: /axiscpp.conf not found)

Posted by "mohan Goud Devanoor (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-913?page=comments#action_12363367 ] 

mohan Goud Devanoor commented on AXISCPP-913:
---------------------------------------------

continued...
axiscpp.conf is placed in %AXISCPP_DEPLOY% by default and i added the required changes i.e giving full path of dll's. Is there anything to set in httpd.conf other than    
LoadModule  axis_module/mod_axis2.dll
<location /axis>
sethandler axis
</location>



> couldnt call axis c++ webservice  from a client ( warning: /axiscpp.conf not found)
> -----------------------------------------------------------------------------------
>
>          Key: AXISCPP-913
>          URL: http://issues.apache.org/jira/browse/AXISCPP-913
>      Project: Axis-C++
>         Type: Task
>   Components: Client - Stub
>     Versions: 1.5 Beta
>  Environment: windows 2000, apache 2.0.55 and axis c++ 1.5 version
>     Reporter: mohan Goud Devanoor
>     Priority: Critical

>
> hello all,
> can any one help me please. i have installed apache 2.0.55 and axis c++ 1.5 version . The sample calculator.exe runs perfectly on my system. but when i copy it to other system and run giving endpoint url, it gives an error message
> Message:
> warning configuration file was not found ( /axiscpp.conf)
> Using default values
> Exception : DLOPEN failed in loading parser library..
> NOTE: when i copy all the parser libraries to that system then it works giving only the warning...
> Exception: 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-913) couldnt call axis c++ webservice from a client ( warning: /axiscpp.conf not found)

Posted by "mohan Goud Devanoor (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-913?page=comments#action_12363396 ] 

mohan Goud Devanoor commented on AXISCPP-913:
---------------------------------------------

Thanks Adrain,
    Thanks for the information. 
  -But is there any way to access the webservice from any remote system(NOT     
    INSTALLED Apache and Axis c++) without copying the runtime libraries/dependencies.
  -As to my knowledge we deploy any webservice in the server to access it from remote host. So if i install axis c++ 
     on client system is that to be called a webservice implementation ?
  please do clarify me in this regard.

> couldnt call axis c++ webservice  from a client ( warning: /axiscpp.conf not found)
> -----------------------------------------------------------------------------------
>
>          Key: AXISCPP-913
>          URL: http://issues.apache.org/jira/browse/AXISCPP-913
>      Project: Axis-C++
>         Type: Task
>   Components: Client - Stub
>     Versions: 1.5 Beta
>  Environment: windows 2000, apache 2.0.55 and axis c++ 1.5 version
>     Reporter: mohan Goud Devanoor
>     Priority: Critical

>
> hello all,
> can any one help me please. i have installed apache 2.0.55 and axis c++ 1.5 version . The sample calculator.exe runs perfectly on my system. but when i copy it to other system and run giving endpoint url, it gives an error message
> Message:
> warning configuration file was not found ( /axiscpp.conf)
> Using default values
> Exception : DLOPEN failed in loading parser library..
> NOTE: when i copy all the parser libraries to that system then it works giving only the warning...
> Exception: 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-913) couldnt call axis c++ webservice from a client ( warning: /axiscpp.conf not found)

Posted by "mohan Goud Devanoor (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-913?page=comments#action_12363620 ] 

mohan Goud Devanoor commented on AXISCPP-913:
---------------------------------------------

Hi Adrain,
 am i clear ? . Could you please clarify .

> couldnt call axis c++ webservice  from a client ( warning: /axiscpp.conf not found)
> -----------------------------------------------------------------------------------
>
>          Key: AXISCPP-913
>          URL: http://issues.apache.org/jira/browse/AXISCPP-913
>      Project: Axis-C++
>         Type: Task
>   Components: Client - Stub
>     Versions: 1.5 Beta
>  Environment: windows 2000, apache 2.0.55 and axis c++ 1.5 version
>     Reporter: mohan Goud Devanoor
>     Priority: Critical

>
> hello all,
> can any one help me please. i have installed apache 2.0.55 and axis c++ 1.5 version . The sample calculator.exe runs perfectly on my system. but when i copy it to other system and run giving endpoint url, it gives an error message
> Message:
> warning configuration file was not found ( /axiscpp.conf)
> Using default values
> Exception : DLOPEN failed in loading parser library..
> NOTE: when i copy all the parser libraries to that system then it works giving only the warning...
> Exception: 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-913) couldnt call axis c++ webservice from a client ( warning: /axiscpp.conf not found)

Posted by "mohan Goud Devanoor (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-913?page=comments#action_12363653 ] 

mohan Goud Devanoor commented on AXISCPP-913:
---------------------------------------------

Thanks Adrain.
Now iam clear. Thanx for the information.

> couldnt call axis c++ webservice  from a client ( warning: /axiscpp.conf not found)
> -----------------------------------------------------------------------------------
>
>          Key: AXISCPP-913
>          URL: http://issues.apache.org/jira/browse/AXISCPP-913
>      Project: Axis-C++
>         Type: Task
>   Components: Client - Stub
>     Versions: 1.5 Beta
>  Environment: windows 2000, apache 2.0.55 and axis c++ 1.5 version
>     Reporter: mohan Goud Devanoor
>     Priority: Critical

>
> hello all,
> can any one help me please. i have installed apache 2.0.55 and axis c++ 1.5 version . The sample calculator.exe runs perfectly on my system. but when i copy it to other system and run giving endpoint url, it gives an error message
> Message:
> warning configuration file was not found ( /axiscpp.conf)
> Using default values
> Exception : DLOPEN failed in loading parser library..
> NOTE: when i copy all the parser libraries to that system then it works giving only the warning...
> Exception: 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-913) couldnt call axis c++ webservice from a client ( warning: /axiscpp.conf not found)

Posted by "Adrian Dick (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-913?page=comments#action_12363390 ] 

Adrian Dick commented on AXISCPP-913:
-------------------------------------

Ah, I think I'm now understanding the problem.

I'm just going to summarize, to ensure I've understood the whole picture correctly:
On the first system, you have:
  - installed Axis C++ and Apache2
  - generated and compiled client and server applications
  - successfully tested applications
On the second system, you have:
  - the client application
  - NOT installed Axis C++
  - application fails (unable to load libraries)

But the application works, once the libraries have been copied across to the second machine.

If this is a correct summary, then this is behaving as I'd expect.
Your application has a dependency on the Axis C++ runtime libraries (and indeed Xerces 2.2.0).
So, you will need to ensure that either you install Axis C++ on to the other machine, or copy across the runtime libraries with your client application.

> couldnt call axis c++ webservice  from a client ( warning: /axiscpp.conf not found)
> -----------------------------------------------------------------------------------
>
>          Key: AXISCPP-913
>          URL: http://issues.apache.org/jira/browse/AXISCPP-913
>      Project: Axis-C++
>         Type: Task
>   Components: Client - Stub
>     Versions: 1.5 Beta
>  Environment: windows 2000, apache 2.0.55 and axis c++ 1.5 version
>     Reporter: mohan Goud Devanoor
>     Priority: Critical

>
> hello all,
> can any one help me please. i have installed apache 2.0.55 and axis c++ 1.5 version . The sample calculator.exe runs perfectly on my system. but when i copy it to other system and run giving endpoint url, it gives an error message
> Message:
> warning configuration file was not found ( /axiscpp.conf)
> Using default values
> Exception : DLOPEN failed in loading parser library..
> NOTE: when i copy all the parser libraries to that system then it works giving only the warning...
> Exception: 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-913) couldnt call axis c++ webservice from a client ( warning: /axiscpp.conf not found)

Posted by "Adrian Dick (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-913?page=comments#action_12363379 ] 

Adrian Dick commented on AXISCPP-913:
-------------------------------------

I've had a check in the code and it would appear the default value for the Axis XML parser library  doesn't match that produced by the nightly build.

It is expecting (on Windows):  AxisXMLParser.dll
But you actually have:  AxisXMLParserXerces.dll

I believe this may also be a problem for the XML Parser library on other platforms.


As an aside, assuming you're using just the Axis C++ client (as seems to be the case here), you don't need the Apache server.

> couldnt call axis c++ webservice  from a client ( warning: /axiscpp.conf not found)
> -----------------------------------------------------------------------------------
>
>          Key: AXISCPP-913
>          URL: http://issues.apache.org/jira/browse/AXISCPP-913
>      Project: Axis-C++
>         Type: Task
>   Components: Client - Stub
>     Versions: 1.5 Beta
>  Environment: windows 2000, apache 2.0.55 and axis c++ 1.5 version
>     Reporter: mohan Goud Devanoor
>     Priority: Critical

>
> hello all,
> can any one help me please. i have installed apache 2.0.55 and axis c++ 1.5 version . The sample calculator.exe runs perfectly on my system. but when i copy it to other system and run giving endpoint url, it gives an error message
> Message:
> warning configuration file was not found ( /axiscpp.conf)
> Using default values
> Exception : DLOPEN failed in loading parser library..
> NOTE: when i copy all the parser libraries to that system then it works giving only the warning...
> Exception: 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-913) couldnt call axis c++ webservice from a client ( warning: /axiscpp.conf not found)

Posted by "mohan Goud Devanoor (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-913?page=comments#action_12363383 ] 

mohan Goud Devanoor commented on AXISCPP-913:
---------------------------------------------

hi Adrian,
ya dats fine. It was AxisXmlParserXerces.dll and as mentioned in wininstall manual i renamed it to AxisXmlParser.dll. earlier itself, and i also had renamed 
axiscpp.conf_win to axiscpp.conf and 
server.wsdd_win to server.wsdd as mentioned in manual.. 
still getting the same warning and Exception.

Let me make u  one thing clear.
I have Apache2.x and axis  c++ 1.5 (Binary version zipped to my system) version in my system.
we have sample server and client programs. I hav Rebuid the client calculator sample and got the exe file(calculator.exe) . It  works fine when run on my system.
when i copy the exe file to athor system ( This system does not have any Apache or Axis c++ Installed) then it shows the WARNING and EXCEPTION message. 

Please help me out..




> couldnt call axis c++ webservice  from a client ( warning: /axiscpp.conf not found)
> -----------------------------------------------------------------------------------
>
>          Key: AXISCPP-913
>          URL: http://issues.apache.org/jira/browse/AXISCPP-913
>      Project: Axis-C++
>         Type: Task
>   Components: Client - Stub
>     Versions: 1.5 Beta
>  Environment: windows 2000, apache 2.0.55 and axis c++ 1.5 version
>     Reporter: mohan Goud Devanoor
>     Priority: Critical

>
> hello all,
> can any one help me please. i have installed apache 2.0.55 and axis c++ 1.5 version . The sample calculator.exe runs perfectly on my system. but when i copy it to other system and run giving endpoint url, it gives an error message
> Message:
> warning configuration file was not found ( /axiscpp.conf)
> Using default values
> Exception : DLOPEN failed in loading parser library..
> NOTE: when i copy all the parser libraries to that system then it works giving only the warning...
> Exception: 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira