Rüdiger Meier
2008-07-16 19:23:24 UTC
Hello,
Finally I got time to try the brutus thing again!
We installed brutus server 1.0 on a fresh WinXp, then I wanted to test the
sample client first on openSuse 10.2 64bit.
I checked out
http://svn.42tools.net/repos/brutus-idl/trunk/
After installing ace-tao (rebuilded from ace-tao-5.6.5-6.fc9.src.rpm)
I did:
$ cd brutus-idl/trunk/samples
$ make stubs
$ make
After that I got a binary
samples/C++/client/brutus_client
$ ./brutus_client
[...]
Parsing configuration file..
Use SSL.. NO
Getting BrutusLogOn server object key.. OK, "BRUTUS_LOGON"
Getting Brutus server address.. OK, "gabrutus"
Getting Brutus server SSL port.. not defined
Getting Brutus server IIOP port.. OK, "2003"
Sanity checking Brutus server ports.. ok, using port 2003
Getting MAPI Profile name.. OK, "ruediger.meier"
Getting MAPI Profile password.. OK, "*****"
Getting Exchange server.. OK, "gaexchg"
Getting Exchange mailbox..
OK, "SMTP:***@wiesinginvestments.com"
Getting Windows user.. OK, "ruediger.meier"
Getting Windows user domain.. OK, "GA"
Getting Windows user password.. OK, "*****"
Choosing initial bootstrap method.. resolve_initial_references()
Test notifications.. NO
Initializing CORBA..
Invoking ORB_Init().. OK
Getting root POA.. ERROR - could not get the root POA
Shutting down CORBA.. not started
FAILURE
.......
Any ideas?
Is it correct to use my usual windows logon for MAPI_PROFILE or what does it
mean?
Thx for help,
Rudi
BTW
-----------------------------------------
First build of brutus client failed
$ make
[...]
make[2]: Entering directory
`/home/rudi/brutus/brutus-idl/trunk/samples/C++/init_orb'
gcc -Wall -g -O0 -fno-inline -I/usr/include/ -I/home/rudi/brutus/brutus-idl/trunk/samples/C++ -I/home/rudi/brutus/brutus-idl/trunk/samples/C++/idl_output -c
init_orb.cpp -o init_orb.o
init_orb.cpp: In function ‘char* build_init_ref_arg(bool, const char*, const
char*, const char*, uint16_t)’:
init_orb.cpp:91: error: jump to label ‘out’
init_orb.cpp:75: error: from here
init_orb.cpp:77: error: crosses initialization of ‘char server_port_str [6]’
init_orb.cpp:91: error: jump to label ‘out’
init_orb.cpp:71: error: from here
init_orb.cpp:77: error: crosses initialization of ‘char server_port_str [6]’
init_orb.cpp:91: error: jump to label ‘out’
init_orb.cpp:67: error: from here
init_orb.cpp:77: error: crosses initialization of ‘char server_port_str [6]’
init_orb.cpp:91: error: jump to label ‘out’
init_orb.cpp:63: error: from here
init_orb.cpp:77: error: crosses initialization of ‘char server_port_str [6]’
make[2]: *** [init_orb.o] Error 1
make[2]: Leaving directory
`/home/rudi/brutus/brutus-idl/trunk/samples/C++/init_orb'
[...]
$ gcc --version
gcc (GCC) 4.1.2 20061115 (prerelease) (SUSE Linux)
I could solve that by editing "samples/C++/init_orb/init_orb.cpp"
using curly brackets around these lines:
{
char server_port_str[6] = { '\0' };
snprintf(server_port_str, 6, "%hu", server_port);
init_ref_arg = append_string(&init_ref_arg, server_port_str);
}
Maybe you want to fix this in svn too.
-------------------------------------------
Finally I got time to try the brutus thing again!
We installed brutus server 1.0 on a fresh WinXp, then I wanted to test the
sample client first on openSuse 10.2 64bit.
I checked out
http://svn.42tools.net/repos/brutus-idl/trunk/
After installing ace-tao (rebuilded from ace-tao-5.6.5-6.fc9.src.rpm)
I did:
$ cd brutus-idl/trunk/samples
$ make stubs
$ make
After that I got a binary
samples/C++/client/brutus_client
$ ./brutus_client
[...]
Parsing configuration file..
Use SSL.. NO
Getting BrutusLogOn server object key.. OK, "BRUTUS_LOGON"
Getting Brutus server address.. OK, "gabrutus"
Getting Brutus server SSL port.. not defined
Getting Brutus server IIOP port.. OK, "2003"
Sanity checking Brutus server ports.. ok, using port 2003
Getting MAPI Profile name.. OK, "ruediger.meier"
Getting MAPI Profile password.. OK, "*****"
Getting Exchange server.. OK, "gaexchg"
Getting Exchange mailbox..
OK, "SMTP:***@wiesinginvestments.com"
Getting Windows user.. OK, "ruediger.meier"
Getting Windows user domain.. OK, "GA"
Getting Windows user password.. OK, "*****"
Choosing initial bootstrap method.. resolve_initial_references()
Test notifications.. NO
Initializing CORBA..
Invoking ORB_Init().. OK
Getting root POA.. ERROR - could not get the root POA
Shutting down CORBA.. not started
FAILURE
.......
Any ideas?
Is it correct to use my usual windows logon for MAPI_PROFILE or what does it
mean?
Thx for help,
Rudi
BTW
-----------------------------------------
First build of brutus client failed
$ make
[...]
make[2]: Entering directory
`/home/rudi/brutus/brutus-idl/trunk/samples/C++/init_orb'
gcc -Wall -g -O0 -fno-inline -I/usr/include/ -I/home/rudi/brutus/brutus-idl/trunk/samples/C++ -I/home/rudi/brutus/brutus-idl/trunk/samples/C++/idl_output -c
init_orb.cpp -o init_orb.o
init_orb.cpp: In function ‘char* build_init_ref_arg(bool, const char*, const
char*, const char*, uint16_t)’:
init_orb.cpp:91: error: jump to label ‘out’
init_orb.cpp:75: error: from here
init_orb.cpp:77: error: crosses initialization of ‘char server_port_str [6]’
init_orb.cpp:91: error: jump to label ‘out’
init_orb.cpp:71: error: from here
init_orb.cpp:77: error: crosses initialization of ‘char server_port_str [6]’
init_orb.cpp:91: error: jump to label ‘out’
init_orb.cpp:67: error: from here
init_orb.cpp:77: error: crosses initialization of ‘char server_port_str [6]’
init_orb.cpp:91: error: jump to label ‘out’
init_orb.cpp:63: error: from here
init_orb.cpp:77: error: crosses initialization of ‘char server_port_str [6]’
make[2]: *** [init_orb.o] Error 1
make[2]: Leaving directory
`/home/rudi/brutus/brutus-idl/trunk/samples/C++/init_orb'
[...]
$ gcc --version
gcc (GCC) 4.1.2 20061115 (prerelease) (SUSE Linux)
I could solve that by editing "samples/C++/init_orb/init_orb.cpp"
using curly brackets around these lines:
{
char server_port_str[6] = { '\0' };
snprintf(server_port_str, 6, "%hu", server_port);
init_ref_arg = append_string(&init_ref_arg, server_port_str);
}
Maybe you want to fix this in svn too.
-------------------------------------------