Re: Unhandled exception at 0x7c901230 : User breakpoint

2006-02-27 Thread Adrian Dick
Hi,

Which version of Axis C++ are you using, and are you following the bundled
instructions or latest versions available on
http://ws.apache.org/axis/cpp/documentation.html ?

It sounds like the problem you're seeing is caused by the Xerces-C
libraries not being available on the system library path at runtime.  Check
the latest install/config instructions here:
http://ws.apache.org/axis/cpp/install-guide.html#Installing_Client

Adrian
___
Adrian Dick ([EMAIL PROTECTED])


Yaron Cohen [EMAIL PROTECTED] wrote on 27/02/2006 07:25:15:

 Hi,

 I have the same problem as described at: http://www.nabble.

com/Using-generated-CPP-files-in-visual-studio-2003-t841990.html#a2181671.

 Can you please explain to me:

 How should I configure the conf file? It looks like what ever I do
 in order to configure it, I get the same error.

 Please note that I did what ever you explain under “Client
 Installation and Configuration” and it does not work.

 Thanks
 Yaron


 Yaron Cohen
 VoIP Integrations Software Engineer EIS, RD
 NICE Systems. Israel

 (T) +972 (9) 7752338
 (M) +972 (54) 5442488
 (F) +972 (9) 7753600

 [EMAIL PROTECTED]
 www.nice.com

 ---
 NICE - Insight from Interactions


RE: Unhandled exception at 0x7c901230 : User breakpoint

2006-02-27 Thread Yaron Cohen
Hi,

Thanks for the quick answer.

I am working with the latest version (I think) since I just download it
(axis-c-1-5-win32).

In addition, the first error that I got was that it can not find the
conf file.

After I solved this problem, I did what ever you said in the
http://ws.apache.org/axis/cpp/install-guide.html#Installing_Client.
Nevertheless, I think that I am not configuring it right.

Here is my conf file content:

# The comment character is '#'
#Available directives are as follows
#(Some of these directives may not be implemented yet)
#
#WSDDFilePath:The path to the server wsdd
#LogPath:The path to the axis log 
#ClientLogPath:The path to the axis client log
#ClientWSDDFilePath:The path to the client wsdd
#Transport_http:The HTTP transport library
#Transport_smtp:The SMTP transport library
#XMLParser:The xml parser library
#NodeName:Node name
#ListenPort:Listening port
#Channel_HTTP:The HTTP transport channel library
#Channel_HTTP_SSL:The HTTP transport secure channel library

#LogPath:Axis\logs\AxisLog.txt
#WSDDFilePath:Axis\conf\server.wsdd
Transport_http:D:\mySms\axis-c-win32-current-bin\axis-c-1-5-win32\sample
s\client\WebServiceClientTest3\HTTPTransport.dll
Channel_HTTP:D:\mySms\axis-c-win32-current-bin\axis-c-1-5-win32\samples\
client\WebServiceClientTest3\HTTPChannel.dll
XMLParser:D:\mySms\axis-c-win32-current-bin\axis-c-1-5-win32\samples\cli
ent\WebServiceClientTest3\AxisXMLParserXerces.dll
#ClientWSDDFilePath:C:\Documents and
Settings\yaronco\Desktop\axis-c-win32-current-bin\axis-c-1-5-win32\sampl
es\client\WebServiceClientTest3\deploy\conf\client.wsdd
LogPath:D:\mySms\axis-c-win32-current-bin\axis-c-1-5-win32\samples\clien
t\WebServiceClientTest3\deploy\log\log.txt

I am not getting any logs in the
D:\mySms\axis-c-win32-current-bin\axis-c-1-5-win32\samples\client\WebSe
rviceClientTest3\deploy\log configured directory.

Please help me, it looks like I am lost.



-Original Message-
From: Adrian Dick [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 27, 2006 10:44 AM
To: Apache AXIS C User List
Subject: Re: Unhandled exception at 0x7c901230 : User breakpoint

Hi,

Which version of Axis C++ are you using, and are you following the
bundled
instructions or latest versions available on
http://ws.apache.org/axis/cpp/documentation.html ?

It sounds like the problem you're seeing is caused by the Xerces-C
libraries not being available on the system library path at runtime.
Check
the latest install/config instructions here:
http://ws.apache.org/axis/cpp/install-guide.html#Installing_Client

Adrian
___
Adrian Dick ([EMAIL PROTECTED])


Yaron Cohen [EMAIL PROTECTED] wrote on 27/02/2006 07:25:15:

 Hi,

 I have the same problem as described at: http://www.nabble.

com/Using-generated-CPP-files-in-visual-studio-2003-t841990.html#a218167
1.

 Can you please explain to me:

 How should I configure the conf file? It looks like what ever I do
 in order to configure it, I get the same error.

 Please note that I did what ever you explain under Client
 Installation and Configuration and it does not work.

 Thanks
 Yaron


 Yaron Cohen
 VoIP Integrations Software Engineer EIS, RD
 NICE Systems. Israel

 (T) +972 (9) 7752338
 (M) +972 (54) 5442488
 (F) +972 (9) 7753600

 [EMAIL PROTECTED]
 www.nice.com

 ---
 NICE - Insight from Interactions




RE: Unhandled exception at 0x7c901230 : User breakpoint

2006-02-27 Thread Adrian Dick
Hi,


ok, for the logs.
LogPath is used by Axis c++ server, for client you need to use
ClientLogPath

The paths you're specifying for the various Axis C++ DLLs look a little
suspicious to me, are they really located within your samples structure?
or should your paths look more like:

Transport_http:D:\mySms\axis-c-win32-current-bin\axis-c-1-5-win32\bin\HTTPTransport.dll

Asides from that you look to have the right settings.  So it could be a
path issue.   Your path needs to include:  Axis C++ libraries ( axis
install\bin ) and the Xerces-c libraries ( xerces-c install\bin )  (must
be v2.2.0 if using binary package).

Adrian
___
Adrian Dick ([EMAIL PROTECTED])
WebSphere MQ and ESB Development
IBM United Kingdom Ltd.
Tel: +44-(0)-1962-819212
Notes: Adrian Dick/UK/[EMAIL PROTECTED]

Yaron Cohen [EMAIL PROTECTED] wrote on 27/02/2006 08:57:14:

 Hi,

 Thanks for the quick answer.

 I am working with the latest version (I think) since I just download it
 (axis-c-1-5-win32).

 In addition, the first error that I got was that it can not find the
 conf file.

 After I solved this problem, I did what ever you said in the
 http://ws.apache.org/axis/cpp/install-guide.html#Installing_Client.
 Nevertheless, I think that I am not configuring it right.

 Here is my conf file content:

 # The comment character is '#'
 #Available directives are as follows
 #(Some of these directives may not be implemented yet)
 #
 #WSDDFilePath:The path to the server wsdd
 #LogPath:The path to the axis log
 #ClientLogPath:The path to the axis client log
 #ClientWSDDFilePath:The path to the client wsdd
 #Transport_http:The HTTP transport library
 #Transport_smtp:The SMTP transport library
 #XMLParser:The xml parser library
 #NodeName:Node name
 #ListenPort:Listening port
 #Channel_HTTP:The HTTP transport channel library
 #Channel_HTTP_SSL:The HTTP transport secure channel library

 #LogPath:Axis\logs\AxisLog.txt
 #WSDDFilePath:Axis\conf\server.wsdd
 Transport_http:D:\mySms\axis-c-win32-current-bin\axis-c-1-5-win32\sample
 s\client\WebServiceClientTest3\HTTPTransport.dll
 Channel_HTTP:D:\mySms\axis-c-win32-current-bin\axis-c-1-5-win32\samples\
 client\WebServiceClientTest3\HTTPChannel.dll
 XMLParser:D:\mySms\axis-c-win32-current-bin\axis-c-1-5-win32\samples\cli
 ent\WebServiceClientTest3\AxisXMLParserXerces.dll
 #ClientWSDDFilePath:C:\Documents and
 Settings\yaronco\Desktop\axis-c-win32-current-bin\axis-c-1-5-win32\sampl
 es\client\WebServiceClientTest3\deploy\conf\client.wsdd
 LogPath:D:\mySms\axis-c-win32-current-bin\axis-c-1-5-win32\samples\clien
 t\WebServiceClientTest3\deploy\log\log.txt

 I am not getting any logs in the
 D:\mySms\axis-c-win32-current-bin\axis-c-1-5-win32\samples\client\WebSe
 rviceClientTest3\deploy\log configured directory.

 Please help me, it looks like I am lost.



 -Original Message-
 From: Adrian Dick [mailto:[EMAIL PROTECTED]
 Sent: Monday, February 27, 2006 10:44 AM
 To: Apache AXIS C User List
 Subject: Re: Unhandled exception at 0x7c901230 : User breakpoint

 Hi,

 Which version of Axis C++ are you using, and are you following the
 bundled
 instructions or latest versions available on
 http://ws.apache.org/axis/cpp/documentation.html ?

 It sounds like the problem you're seeing is caused by the Xerces-C
 libraries not being available on the system library path at runtime.
 Check
 the latest install/config instructions here:
 http://ws.apache.org/axis/cpp/install-guide.html#Installing_Client

 Adrian
 ___
 Adrian Dick ([EMAIL PROTECTED])


 Yaron Cohen [EMAIL PROTECTED] wrote on 27/02/2006 07:25:15:

  Hi,
 
  I have the same problem as described at: http://www.nabble.
 
 com/Using-generated-CPP-files-in-visual-studio-2003-t841990.html#a218167
 1.

  Can you please explain to me:
 
  How should I configure the conf file? It looks like what ever I do
  in order to configure it, I get the same error.
 
  Please note that I did what ever you explain under Client
  Installation and Configuration and it does not work.
 
  Thanks
  Yaron
 
 
  Yaron Cohen
  VoIP Integrations Software Engineer EIS, RD
  NICE Systems. Israel
 
  (T) +972 (9) 7752338
  (M) +972 (54) 5442488
  (F) +972 (9) 7753600
 
  [EMAIL PROTECTED]
  www.nice.com
 
  ---
  NICE - Insight from Interactions
 




Re: Solaris Axis C++ compilation problem

2006-02-27 Thread Adrian Dick
Hi,

Have you tried using the latest code from SVN, as I believe a fix may
already have been included.

Instructions for accessing this are available here:
http://ws.apache.org/axis/cpp/developers-guide.html#checkingOut

Regards,
Adrian
___
Adrian Dick ([EMAIL PROTECTED])


Antoine Galataud [EMAIL PROTECTED] wrote on 27/02/2006
17:29:04:

 Hi all !

 I saw some threads in this mailing list concerning the same problem,
 but no solution seems to appear;

 I am working on a project to include Axis C++ framework on a lot of
 different platforms; for the moment, i've just tried with Solaris (our
 dev platform), and I am running in troubles. I get the following error
 while calling ant build target :

 BUILD FAILED
 axis/1.5.0/build.xml:231: The following error occurred while executing
 this line:
 axis/1.5.0/build.xml:219: The following error occurred while executing
 this line:
 axis/1.5.0/build.xml:90: The following error occurred while
 executing this line:
 axis/1.5.0/build/buildClient.xml:23: CC failed with return code 1

 and cpp compile error :

 [cc] /rms/sunpro/sun-one-
 studio-8/C++patch04/SUNWspro/prod/include/CC/Cstd/./list.cc,
 line 171: Error: The operation axiscpp::HandlerChain::ChainItem ==
 const axiscpp::HandlerChain::ChainItem is illegal.
 [cc] 1 Error(s) detected

 I tried to figure out where was located the instruction throwing this
 error, but don't want to modify source code. Is there somebody here
 that had the same problem, and maybe found a solution ?

 Thanks !
 --
 Antoine Galataud
 [EMAIL PROTECTED]
 Département Architecture des Systèmes d'Information
 INSA - Rouen



exception code 61

2006-02-27 Thread Tao Yang

Hi there,

I am trying moving my Axis C++ client from linux box to windows box but 
no luck yet -
it seems the client loads the dll OK as I saw following from the output 
window in MS Visual Studio:


'searchClient.exe': Loaded 
'C:\opt\utils\axis-c-1-5-win32\bin\AxisXMLParserXerces.dll', No symbols 
loaded.
'searchClient.exe': Loaded 
'C:\opt\utils\xerces-c2_2_0-win32\bin\xerces-c_2_2_0.dll', No symbols 
loaded.
'searchClient.exe': Loaded 'C:\WINDOWS\system32\msvcirt.dll', No symbols 
loaded.
'searchClient.exe': Loaded 
'C:\opt\utils\axis-c-1-5-win32\bin\HTTPTransport.dll', No symbols loaded.
'searchClient.exe': Loaded 
'C:\opt\utils\axis-c-1-5-win32\bin\HTTPChannel.dll', No symbols loaded.


However, once it step into the generated stub code and call initialize at :
   if (AXIS_SUCCESS != m_pCall-initialize(CPP_RPC_PROVIDER))
   return RetArray;
it throws an exception which has a exception code 61 and and error msg: 
Error: expression cannot be evaluated

as observed from the Locals window; at the same time, the output is:

First-chance exception at 0x7c81eb33 in searchClient.exe: Microsoft C++ 
exception: HTTPTransportException @ 0x014ff854.
First-chance exception at 0x7c81eb33 in searchClient.exe: Microsoft C++ 
exception: axiscpp::AxisGenException @ 0x014ff8f4.
First-chance exception at 0x7c81eb33 in searchClient.exe: Microsoft C++ 
exception: [rethrow] @ 0x.


Any idea what have I done wrong?

I am trying to rebuild the axis to get an debuggable version - but 
without luck neither, the error from ant is:
4290: C++ exception specification ignored except to indicate a function 
is not __declspec(nothrow)
  [cc] C:\opt\work\axis-c-src-1-5-win32\src\engine\Axis.cpp(302) : 
error C2440: 'reinterpret_ca

st' : cannot convert from 'volatile long *' to 'void ** '
  [cc] Conversion loses qualifiers
  [cc] C:\opt\work\axis-c-src-1-5-win32\src\engine\Axis.cpp(302) : 
fatal error C1903: unable to

recover from previous error(s); stopping compilation
where the code is like this:

static volatile long g_uModuleInitializing = 0;
static void start_initializing()
{
   long exchange = 1;
   long comperand = 0;
   while (InterlockedCompareExchange(((void **)g_uModuleInitializing), 
static_castvoid *(exchange), static_castvoid *(comperand)));

}
the line 302 is the last line where calling 
InterlockedCompareExchange(((void **)...

Any suggestion?

By the way, the same code works ok on linux.

Thanks!
Tao