You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Hendrik Schreiber <hs...@tagtraum.com> on 2001/11/01 14:47:58 UTC

AW: Jo! on Phoenix - compile problems

Hi,

thanks for praising, Paul :-)

I just uploaded the jo! release that contains the integration code with
Avalon-Phoenix.

To try it out,
- get a fresh cvs checkout of phoenix
- build dist
- download the jo! release -> http://www.tagtraum.com/
- unpack somehwere
- cd to JO_HOME/integration/phoenix4.0/
- set the property "phoenix.home" in build.xml to your phoenix
dist-directory
- execute ant install
- start phoenix
- jo! should be running on port 8080

Please let me know if something is broken.

I would appreciate, if you guys released a version of phoenix that features
the new SAR structure.

Cheers,

-hendrik
__________________________________________________________________
innoQ Deutschland GmbH      Harkortstr. 21-23     D-40880 Ratingen
Tel +49 2102 771 620  Fax +49 2102 771 601  Mobil +49 173 577 0740
                     mailto:hendrik.schreiber@innoq.com


> -----Ursprungliche Nachricht-----
> Von: Paul Hammant [mailto:Paul_Hammant@yahoo.com]
> Gesendet: Monday, October 29, 2001 09:41
> An: Avalon Development
> Betreff: Jo! on Phoenix
>
>
> Hendrik Schreiber, the author of the excellent webserver Jo! has added
> Phoneix compatability as a feature.
>
> The homepage for Jo! is http://www.tagtraum.com/jo.html
>
> Hendrik is keen to see a release of Phoenix (he is more or less
> compatabile with the latest CVS versions) *before* he lists the
> availability of the sar download.  Actually that's the key point, he has
> done all the work himself with almost no help from me and wants to keep
> the code/libraries in his source tree.
>
> As for features, this is a full webserver with full war file webapp
> capability.  Not only that, but the deployment and undeployment of war
> files for hosts are exposed as a service :
>
>     public void deployWAR(String hostName, String name, String ctxPath,
> String warUrl) throws Exception;
>     public void undeployWAR(String hostName,String name) throws Exception;
>
> This is a really significant development.  Hendrik is "away from desk"
> for some days, but I'd like to be the first to welcome him to our
> commmunity.
>
> Given that 'SAR-INF/lib' introduced major changes to Phoenix, could we
> think of another release and announcement?  The JAMES team might catch
> up at that time too.
>
> Regards,
>
> - Paul H
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


AW: AW: AW: AW: Jo! on Phoenix - compile problems

Posted by Hendrik Schreiber <hs...@tagtraum.com>.
> The problem is that I can only produce the error when the JVM is force 
> shutdown (ie by ctrl-c ing the application)

if that is the only situation it occurs, that's good news :-)

> So I did a siguit just prior to shutdown. It seems that "get_self" is the 
> name of the signal handler for  SIGUSR2. It is located in 
> libhpi.so (an IBM 
> JVM library). Heres the relevent part of log
> 
> SIGUSR2         : get_self (libhpi.so)

Hm. That doesn't tell me anything.

Please turn up the log level by setting jo.loglevel in etc/server.properties to a higher value - maybe 5. Also please set host.eventloglevel in hosts.properties to 5. There should be some more info in the log files server.log and event.log (all the things you never wanted to know :-)). Could you please mail me fresh logfiles with the loglevels set high. With them I might be able to better point you at some part in jo! and see where it gets stuck...

Thanks,

-hendrik


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: AW: AW: AW: Jo! on Phoenix - compile problems

Posted by Peter Donald <do...@apache.org>.
On Sat, 3 Nov 2001 21:19, Hendrik Schreiber wrote:
> Pete,
>
> > Well it stalls the whole JVM with that message and I am forced to
> > kill -9 it.
> > I will try it again tomorrow and see if I can track down exactly where it
> > occurs.
>
> If it does it again, can you try a sig quit instead of the -9 (in case you
> haven't tried that) and mail the thread dump to me.

The problem is that I can only produce the error when the JVM is force 
shutdown (ie by ctrl-c ing the application) and thus it is already in a 
signal handler and wont get the sig quit. If I shutdown JVM gracefully (via 
the test web interface thingie) then it goes down fine and I dont get that 
wierd message.

So I did a siguit just prior to shutdown. It seems that "get_self" is the 
name of the signal handler for  SIGUSR2. It is located in libhpi.so (an IBM 
JVM library). Heres the relevent part of log

SIGUSR2         : get_self (libhpi.so)

Not sure if this makes it easier to understand what 

"get_self can't find pthread_self"

means. I may have to go through and put lots of System.out.printlns() in jo 
to see where exactly the issue is.

-- 
Cheers,

Pete

--------------------------------------------------
you've made a dangerous leap right over common 
sense, like some kind of metaphysical Evil Knievel
--------------------------------------------------

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


AW: AW: AW: Jo! on Phoenix - compile problems

Posted by Hendrik Schreiber <hs...@tagtraum.com>.
Pete,

> Well it stalls the whole JVM with that message and I am forced to 
> kill -9 it. 
> I will try it again tomorrow and see if I can track down exactly where it 
> occurs.

If it does it again, can you try a sig quit instead of the -9 (in case you haven't tried that) and mail the thread dump to me.

Thanks,

-hendrik


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: AW: AW: Jo! on Phoenix - compile problems

Posted by Peter Donald <do...@apache.org>.
On Fri, 2 Nov 2001 22:10, Hendrik Schreiber wrote:
> > Actually I seem to get the following printed out to console.
> >
> > get_self can't find pthread_self
> >
> > Haven't ever seen this before ...has anyone else? Does anyone
> > else get this
> > problem when running jo! ?
> >
> > I have a feeling it may be something to do with my OS/JVMs combo
> > (linux + sun
> > 1.3_001 and IBM 1.3.0).
>
> I tried it with Linux Sun JDK 1.3 and haven't seen this. There is some
> issue with some IBM JDKs that I will eventually look into... Can you give
> some more details? Does it cause problems?

Well it stalls the whole JVM with that message and I am forced to kill -9 it. 
I will try it again tomorrow and see if I can track down exactly where it 
occurs.

-- 
Cheers,

Pete

--------------------------------------------------
you've made a dangerous leap right over common 
sense, like some kind of metaphysical Evil Knievel
--------------------------------------------------


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


AW: AW: Jo! on Phoenix - compile problems

Posted by Hendrik Schreiber <hs...@tagtraum.com>.
Peter,

> > works for me!

cool.

> Actually I seem to get the following printed out to console.
> 
> get_self can't find pthread_self
> 
> Haven't ever seen this before ...has anyone else? Does anyone 
> else get this 
> problem when running jo! ?
> 
> I have a feeling it may be something to do with my OS/JVMs combo 
> (linux + sun 
> 1.3_001 and IBM 1.3.0).

I tried it with Linux Sun JDK 1.3 and haven't seen this. There is some issue with some IBM JDKs that I will eventually look into... Can you give some more details? Does it cause problems?

Thanks,

-hendrik


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: AW: Jo! on Phoenix - compile problems

Posted by Peter Donald <do...@apache.org>.
On Fri, 2 Nov 2001 21:10, Peter Donald wrote:
> > To try it out,
> > - get a fresh cvs checkout of phoenix
> > - build dist
> > - download the jo! release -> http://www.tagtraum.com/
> > - unpack somehwere
> > - cd to JO_HOME/integration/phoenix4.0/
> > - set the property "phoenix.home" in build.xml to your phoenix
> > dist-directory
> > - execute ant install
> > - start phoenix
> > - jo! should be running on port 8080
> >
> > Please let me know if something is broken.
>
> works for me!

Actually I seem to get the following printed out to console.

get_self can't find pthread_self

Haven't ever seen this before ...has anyone else? Does anyone else get this 
problem when running jo! ?

I have a feeling it may be something to do with my OS/JVMs combo (linux + sun 
1.3_001 and IBM 1.3.0).


-- 
Cheers,

Pete

*-----------------------------------------------------------------------*
PROGRAM: n.  a magic spell cast over a computer allowing it to turn
one's input into error messages.  v.t.  to engage in a pastime similar
to banging one's head against a wall, but with fewer opportunities for 
reward.
*-----------------------------------------------------------------------*

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: AW: Jo! on Phoenix - compile problems

Posted by Peter Donald <do...@apache.org>.
On Fri, 2 Nov 2001 00:47, Hendrik Schreiber wrote:
> Hi,

hi ;)

> I just uploaded the jo! release that contains the integration code with
> Avalon-Phoenix.

kool. Will have to go download it again ;)

> To try it out,
> - get a fresh cvs checkout of phoenix
> - build dist
> - download the jo! release -> http://www.tagtraum.com/
> - unpack somehwere
> - cd to JO_HOME/integration/phoenix4.0/
> - set the property "phoenix.home" in build.xml to your phoenix
> dist-directory
> - execute ant install
> - start phoenix
> - jo! should be running on port 8080
>
> Please let me know if something is broken.

works for me!

>
> I would appreciate, if you guys released a version of phoenix that features
> the new SAR structure.

well try for end of next week or so. That work for you ?

-- 
Cheers,

Pete

--------------------------------
My opinions may have changed, 
but not the fact that I am right
--------------------------------

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


AW: Jo! on Phoenix - oops, actually no compile problems

Posted by Hendrik Schreiber <hs...@tagtraum.com>.
... forget the subject - I started a mail, that I never sent, instead - well
you know :-)
-hendrik

> -----Ursprungliche Nachricht-----
> Von: Hendrik Schreiber [mailto:hs@tagtraum.com]
> Gesendet: Thursday, November 01, 2001 14:48
> An: Avalon Developers List
> Betreff: AW: Jo! on Phoenix - compile problems
>
>
> Hi,
>
> thanks for praising, Paul :-)
>
> I just uploaded the jo! release that contains the integration code with
> Avalon-Phoenix.
>
> To try it out,
> - get a fresh cvs checkout of phoenix
> - build dist
> - download the jo! release -> http://www.tagtraum.com/
> - unpack somehwere
> - cd to JO_HOME/integration/phoenix4.0/
> - set the property "phoenix.home" in build.xml to your phoenix
> dist-directory
> - execute ant install
> - start phoenix
> - jo! should be running on port 8080
>
> Please let me know if something is broken.
>
> I would appreciate, if you guys released a version of phoenix
> that features
> the new SAR structure.
>
> Cheers,
>
> -hendrik
> __________________________________________________________________
> innoQ Deutschland GmbH      Harkortstr. 21-23     D-40880 Ratingen
> Tel +49 2102 771 620  Fax +49 2102 771 601  Mobil +49 173 577 0740
>                      mailto:hendrik.schreiber@innoq.com
>
>
> > -----Ursprungliche Nachricht-----
> > Von: Paul Hammant [mailto:Paul_Hammant@yahoo.com]
> > Gesendet: Monday, October 29, 2001 09:41
> > An: Avalon Development
> > Betreff: Jo! on Phoenix
> >
> >
> > Hendrik Schreiber, the author of the excellent webserver Jo! has added
> > Phoneix compatability as a feature.
> >
> > The homepage for Jo! is http://www.tagtraum.com/jo.html
> >
> > Hendrik is keen to see a release of Phoenix (he is more or less
> > compatabile with the latest CVS versions) *before* he lists the
> > availability of the sar download.  Actually that's the key point, he has
> > done all the work himself with almost no help from me and wants to keep
> > the code/libraries in his source tree.
> >
> > As for features, this is a full webserver with full war file webapp
> > capability.  Not only that, but the deployment and undeployment of war
> > files for hosts are exposed as a service :
> >
> >     public void deployWAR(String hostName, String name, String ctxPath,
> > String warUrl) throws Exception;
> >     public void undeployWAR(String hostName,String name) throws
> Exception;
> >
> > This is a really significant development.  Hendrik is "away from desk"
> > for some days, but I'd like to be the first to welcome him to our
> > commmunity.
> >
> > Given that 'SAR-INF/lib' introduced major changes to Phoenix, could we
> > think of another release and announcement?  The JAMES team might catch
> > up at that time too.
> >
> > Regards,
> >
> > - Paul H
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>