mod_jk won't build on FreeBSD, linux-jdk13 core dumps, JBoss ports, oh my...

mod_jk won't build on FreeBSD, linux-jdk13 core dumps, JBoss ports, oh my...

Post by Jacob S. Barret » Thu, 07 Jun 2001 00:29:47

So I thought I was flying high actually getting this all to work, and
for the most part it does, but for some reason the
linux-jdk13(1.3.0-1.3.1) core dumps every time I run a speficic jsp.  Is
the linux-jdk13 really buggy or is this just me.  I have the problem on
both my servers.  On one where I am just running tomcat I can run it in
classic mode and have no problems.  My personal server though I am
experimenting with JBoss, which seems to have something against the
classic vm.  In classic it only loads up halfway and stops, but that is
for the jboss list.  When I use the hotspot (client and server) in both
int and mixed modes it catches an abort trap and core dumps everytime I
run the tomcat example jsp 'ErrorPage'.  It will core dump on almost all
the others too eventually but the 'ErrorPage' example does it every
time.  I have tried all sorts of combinations with the linux-jdk13 with
no luck.  I am reinstalling my linux-base right now in hopes that that
will fix it.  Are there any known issues with the linux-jdk13?  By they
way I am running FreeBSD-4.3-STABLE (5/20/2001).  My last resort is to
udate to the latest stable.

So on the port front I have started on two for JBoss.  The first on I
have started on is the more complicated one, jboss-current.  Rather than
downloading a release build this checks out the latest source from the
CVS archive.  I added an 'update' target on it that retrieves the latest
changes and clears the '.build_done' and '.install_done' flags.  I am
trying to get it to auto build and install the optional modules and
contrib modules too by defining WITH_X flags.  Right now I have
'WITH_JBOSSCX' for those (me) who need the latest release of the Java
Connector Architecture support.  I am also working on 'WIHT_TOMCAT' to
automate the embeded tomcat support.  I have been trying to use this one
myself to keep up the latest changes and debug it.  The next on I will
work on, and probably finish first, will be a normal port that just
installes the latest release binaries.  So does it sound like I am on
the right track?  Is there anything in particular anyone would like to
see in the ports?  I notice the post about a how-two on JVM dependency,
that would be nice to know how to do.  JBoss needs a Java2 vm so it
would be nice to say something like 'DEPENDS_JAVA=1.2+' to let the ports
engine know that this package depends on Java an more specifically 1.2
or greater.


> Dear Jacob,

>>I have Jakarta/Tomcat working, infact I am using Tomcat
>>embeded in JBoss
>>application server.  Just out of curiousity.  Is anyone working on a
>>ports entry for JBoss?  If no one is and no one plans to how
>>hard would
>>it be for a ports * like myself to contribute one?

> I have to admit to being a bit of a ports * myself *blush*, but I think
> that it would ot be too hard. Have a look at the simpler ports to see how
> it's done.

>     Kees Jan

> ================================================
>  You are only young once,
>        but you can stay immature all your life.

> with "unsubscribe freebsd-java" in the body of the message

with "unsubscribe freebsd-java" in the body of the message

mod_jk won't build on FreeBSD, linux-jdk13 core dumps, JBoss ports, oh my...

Post by Hervey Wilso » Thu, 07 Jun 2001 15:44:12



> Are there any known issues with the linux-jdk13?

Yes; using the HotSpot VM is, in my experience and that of others, a no-no. As I vaguely recall, there are problems with signal
handling in the Linux compatibility layer (don't quote me on that explanation though!). Searching the archive for this list will
give more info. But, as you already know, Classic works fine with Tomcat.

with "unsubscribe freebsd-java" in the body of the message


1. mod_jk won't build on FreeBSD


I'm really having trouble with building and running mod_jk with
Tomcat-3.2.1 + mod_jk + Apache 1.3.19 on FreeBSD 4.3-STABLE

The components from /usr/ports:
?JDK-1.2.2 Linux emulation

Download the binaries for Tomcat, and try it out:
works fine standalone with the example servlets

Download Tomcat src tarball and build :

Attempt #1, with Makefile.freebsd (using gmake).
(Changed APXS=/usr/local/sbin/apxs)
I get:
?Cannot load /usr/local/libexec/apache/ into
?server: /usr/local/libexec/apache/ Undefined symbol "fdatasync"

Attempt #2, using the hint in the mod_jk how-to page:
Add -lposix before -c in the APXS command line to build ${OBJS} mod_jk.o
? ? ? ? $(APXS) -lposix4 -c -o ${OBJS} mod_jk.o
I get:
? /usr/libexec/elf/ld: cannot find -lposix4
? apxs:Break: Command failed with rc=1
? gmake: *** [] Error 1

What is -lposix4? Is it supposed to be in my FreeBSD installation?
(I can't seem to find any libary name posix4.*)

Thanks in advance for any help on this issue.

with "unsubscribe freebsd-java" in the body of the message

2. switching between X and other virtual terms

3. help plz! only root login possible

4. jdk13 core dumps with latest tomcat 4.1 port

5. Module rewrite 13/20: Module versions

6. sed core dumps in /usr/ports/java/jdk13

7. tvtwm

8. Slackware '96 - Syslogd won't run, craps out with a core dump...

9. linux-jdk13 in FreeBSD ports

10. java/48164: ports/java/jdk13: won't compile

11. freebsd 4.0's KDE's kdm core dump on startup

12. FreeBSD ports/java/linux-sun-jdk13 needs updating for j2sdk-