|
From: Cote, W. <Wil...@hp...> - 2006-05-11 18:33:15
|
I was able to get it going. There is no HPUX-IA64 Makefile so I had to
kind of "roll my own". The pthread_create gave me a clue. I had to add
-lpthread to the Makefile and it appears to be working (at least I don't
get the timer thread error).
The other thing I had to do to get it to build was to specify
-Dsun.arch.data.model=3D64 after build64.sh. If I didn't do that I was
getting bit mismatch errors. This might be something helpful in a
readme somewhere. So I think I may have made some progress. =20
Thanks,=20
Bill=20
-----Original Message-----
From: wra...@li...
[mailto:wra...@li...] On Behalf Of Leif
Mortenson
Sent: Wednesday, May 10, 2006 10:45 PM
To: wra...@li...
Subject: Re: [Wrapper-user] Timer Thread not created on HPUX IA64
Bill,
I was hoping someone else might have some information on this. I=20
unfortunately
do not have any HPUX systems to test with personally. I reviewed the=20
man page
for the pthread_create command on HP-UX and everything appears to be
fine.
http://www.calpoly.edu/cgi-bin/man-cgi?pthread_create+3
What does the man page on your actual system say?
The relevant code follows:
---
void *timerRunner(void *arg) {
/* snip */
return NULL;
}
int initializeTimer() {
int res;
res =3D pthread_create(
&timerThreadId,
NULL, /* No attributes. */
timerRunner,
NULL); /* No parameters need to be passed to the thread. */
if (res) {
log_printf(WRAPPER_SOURCE_WRAPPER, LEVEL_FATAL,
"Unable to create a timer thread: %d, %s", res,
getLastErrorText());
return 1;
} else {
return 0;
}
}
---
Cheers,
Leif
Cote, William wrote:
> I just downloaded and compiled wrapper version 3.2 and I am trying to=20
> get it to run on HPUX IA64. I am getting the following error.
> =20
> wrapper | Unable to create a timer thread: 251, Invalid argument.=20
> =20
> If I set the wrapper.use_system_time=3DTRUE in the .conf file I am =
able=20
> to get the wrapper running.
> =20
> Does the new behavior of setting the use_system_time=3DFALSE not work =
on
> HPUX IA64?
>
> Bill
> =20
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D=
121642
_______________________________________________
Wrapper-user mailing list
Wra...@li...
https://lists.sourceforge.net/lists/listinfo/wrapper-user
|