Re: jdk14 without X libraries?

2005-11-05 Thread Alex Ford
On Fri, 2005-11-04 at 23:48 -0400, Michael P. Soulier wrote:
> >On 11/4/05, Alex Ford <[EMAIL PROTECTED]> wrote:
> > You can add WITHOUT_X11=yes to your /etc/make.conf and that will build
> > our ports without any X11 support (if they have that particular
> > configure option available to them).

> Thanks, I'm currently doing this too.
> 
> Is there a master list of supported options in make.conf? I looked in
> the sample make.conf and the make.conf manpage, and I don't see this
> option.
> 
> Mike

I am not aware of a master list, hopefully somebody will enlighten us,
as I would really love to have a resource like that. There is, however
a /usr/ports/KNOBS file that you can look at that has a lot of common
ones available while compiling ports.

You can use WITH_=yes/no or WITHOUT_=yes/no with those.

-Alex

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: jdk14 without X libraries?

2005-11-04 Thread Michael P. Soulier
On 11/4/05, Alex Ford <[EMAIL PROTECTED]> wrote:
> You can add WITHOUT_X11=yes to your /etc/make.conf and that will build
> our ports without any X11 support (if they have that particular
> configure option available to them).

Thanks, I'm currently doing this too.

Is there a master list of supported options in make.conf? I looked in
the sample make.conf and the make.conf manpage, and I don't see this
option.

Mike

--
Michael P. Soulier <[EMAIL PROTECTED]>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: jdk14 without X libraries?

2005-11-04 Thread Alex Ford
On Fri, 2005-11-04 at 14:16 -0800, Steve Brown wrote:
> I'm building /usr/ports/jdk14 on my 5.4-RELEASE i386, and it's using a 
> lot of X.org stuff to do the build.  I'm already using the -DMINIMAL 
> flag, but I'd like a way to turn off all the graphical stuff.  Does 
> anyone here know how to do this?
> 
> Thanks,
> Steve Brown

You can add WITHOUT_X11=yes to your /etc/make.conf and that will build
our ports without any X11 support (if they have that particular
configure option available to them).


-Alex

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: jdk14 not installing

2005-05-19 Thread Warren Block
On Thu, 19 May 2005, E. J. Cerejo wrote:
I'm running FBSD 5.4 when upgrading jdk14 it fails and
I get this:
registervm: error: JavaVM
"/usr/local/jdk1.4.2/bin/java" is already registered
*** Error code 1
Stop in /usr/ports/java/jdk14.
ecerejo# cd /usr/local/jdk1.4.2/bin/java
/usr/local/jdk1.4.2/bin/java: Not a directory.
any ideas?
Run
  # /usr/local/bin/unregistervm /usr/local/jdk1.4.2/bin/java
to unregister the existing (old) java interpreter.  Then try the port 
install again.

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: JDK14 fails to install

2004-12-11 Thread Zlatozar Zhelyazkov
See http://lists.freebsd.org/pipermail/freebsd-java/2004-July/002568.html


On Fri, 10 Dec 2004 09:57:04 -0700, Tom Connolly <[EMAIL PROTECTED]> wrote:
> Hello List,
> I'm trying to do a fresh install of the jdk14 port and I get the
> following error:
> 
> o linux-sun-jdk-1.4.2.05
> 
> 
> 
> .java
> ../../../src/solaris/classes/java/util/prefs/FileSystemPreferences.java
> ../../../src/solaris/classes/java/util/prefs/FileSystemPreferencesFactor
> y.java ../../../src/solaris/classes/sun/io/ByteToCharCOMPOUND_TEXT.java
> ../../../src/solaris/classes/sun/io/CharToByteCOMPOUND_TEXT.java
> ../../../src/solaris/classes/sun/io/CompoundTextSupport.java
> /work/cvsup/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/lan
> g/Character.java ../../../src/share/classes/sun/misc/AtomicLong.java
> ../../../src/share/classes/sun/misc/AtomicLongCSImpl.java
> ../../../src/share/classes/sun/misc/AtomicLongLockImpl.java ; \
> 
> fi
> 
> /work/cvsup/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/uti
> l/CurrencyData.java:1: 'class' or 'interface' expected
> 
> Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
> location
> 
> ^
> 
> /work/cvsup/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/uti
> l/CurrencyData.java:1: unclosed character literal
> 
> Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
> location
> 
>   ^
> 
> 2 errors
> 
> gmake[4]: *** [.compile.classlist] Error 1
> 
> gmake[4]: Leaving directory
> `/work/cvsup/ports/java/jdk14/work/j2se/make/java/java'
> 
> gmake[3]: *** [optimized] Error 2
> 
> gmake[3]: Leaving directory
> `/work/cvsup/ports/java/jdk14/work/j2se/make/java/java'
> 
> gmake[2]: *** [all] Error 1
> 
> gmake[2]: Leaving directory
> `/work/cvsup/ports/java/jdk14/work/j2se/make/java'
> 
> gmake[1]: *** [all] Error 1
> 
> gmake[1]: Leaving directory
> `/work/cvsup/ports/java/jdk14/work/j2se/make'
> 
> gmake: *** [j2se-build] Error 2
> 
> *** Error code 2
> 
> Can anyone provide some help with this?
> 
> Thanks,
> 
> Thomas
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: JDK14 fails to install

2004-12-10 Thread Mike Brown
Daniel Bye wrote:
> This has come up several times recently.
> 
> The Linux Sun JDK (which is used to bootstrap the build of the native
> JDK) requires that the Linux procfs system is available.  Add this to
> your /etc/fstab:
> 
>  linprocfs   /compat/linux/proc   linprocfs   rw   0  0
> 
> and then, as root:
> 
> kldload linprocfs
> mount /compat/linux/proc
> 
> You can then restart the build of the native JDK.
> 
> FYI, this is mentioned in the linux-sun-jdk* ports' pkg-message files.
> Once the native JDK is built and installed, you can remove the Linux
> one, and you will no longer need to mount the linprocfs.

Does this also apply to the linux-blackdown-jdk* ports/packages?
I tried installing the linux-blackdown-jdk14 package last night
but I could not run the VM; it complained of a missing file in /proc.

-Mike
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: JDK14 fails to install

2004-12-10 Thread Daniel Bye
On Fri, Dec 10, 2004 at 09:57:04AM -0700, Tom Connolly wrote:
> Hello List,
> I'm trying to do a fresh install of the jdk14 port and I get the
> following error:
>  
> o linux-sun-jdk-1.4.2.05

[---snip---]

> gmake: *** [j2se-build] Error 2
> 
> *** Error code 2
>  
> Can anyone provide some help with this?

This has come up several times recently.

The Linux Sun JDK (which is used to bootstrap the build of the native
JDK) requires that the Linux procfs system is available.  Add this to
your /etc/fstab:

 linprocfs   /compat/linux/proc   linprocfs   rw   0  0

and then, as root:

kldload linprocfs
mount /compat/linux/proc

You can then restart the build of the native JDK.

FYI, this is mentioned in the linux-sun-jdk* ports' pkg-message files.
Once the native JDK is built and installed, you can remove the Linux
one, and you will no longer need to mount the linprocfs.

HTH

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgp41i2oJzioD.pgp
Description: PGP signature


Re: jdk14 not building?

2004-09-04 Thread Matthew Seaman
On Sat, Sep 04, 2004 at 04:43:00AM -0500, Mike Meyer wrote:
> I'm getting the attached when trying to build jdk14, using the
> linux-sun-jdk as the pre-installed jdk.
> 
> /datmp/ports/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java:1:
>  'class' or 'interface' expected
> Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
> ^
> /datmp/ports/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java:1:
>  unclosed character literal
> Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
>^
> 2 errors
> gmake[4]: *** [.compile.classlist] Error 1
> gmake[4]: Leaving directory 
> `/datmp/ports/usr/ports/java/jdk14/work/j2se/make/java/java'
> gmake[3]: *** [optimized] Error 2
> gmake[3]: Leaving directory 
> `/datmp/ports/usr/ports/java/jdk14/work/j2se/make/java/java'
> gmake[2]: *** [all] Error 1
> gmake[2]: Leaving directory `/datmp/ports/usr/ports/java/jdk14/work/j2se/make/java'
> gmake[1]: *** [all] Error 1
> gmake[1]: Leaving directory `/datmp/ports/usr/ports/java/jdk14/work/j2se/make'
> gmake: *** [j2se-build] Error 2
> *** Error code 2
> 
> Stop in /usr/ports/java/jdk14.
> 
> Any hints on how to get it to finish greatly appreciated.

Remove the corrupted file -- the build process should regenerate it
automatically.

Make sure that the linux proc filesystem is mounted:

# mount -t linprocfs linprocfs /compat/linux/proc

Restart the build.

Failing that, do a 'make clean' and try building from scratch with
linprocfs mounted.

This bug has bitten quite a few people: that's why the port Makefile
does explicitly print out instructions to mount linprocfs nowadays.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp6cDWkzcvbK.pgp
Description: PGP signature


Re: JDK14 for FreeBSD

2004-05-13 Thread Malcolm Kay
On Monday 10 May 2004 13:29, Adam Smith wrote:
> On Sun, May 09, 2004 at 10:51:29PM -0500, Dan Nelson said:
> > In the last episode (May 10), Adam Smith said:
> > > I thought that last year FreeBSD finally got it's own version of JDK
> > > which stopped us having to rely on using the Linux version.
> >
> > There is a native FreeBSD binary jdk 1.3.1, but jdk 1.4 requires an
> > existing 1.4 java install to build, so it can't be used.
>
> I'll try 1.3.1 for now then -- there's no reason I need 1.4 specifically.
>
> > It's for the initial build.  Once the native binary is installed, you
> > can uninstall the linux one.
>
> Eep.  Sounds messy.

Agreed; but I find the FreeBSD version works fine in a situation where the 
Linux version often bombs after starting many processes and then claiming 
that memory has run out.

Malcolm 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: JDK14 for FreeBSD

2004-05-09 Thread Adam Smith
On Sun, May 09, 2004 at 10:51:29PM -0500, Dan Nelson said:
> In the last episode (May 10), Adam Smith said:
> > I thought that last year FreeBSD finally got it's own version of JDK
> > which stopped us having to rely on using the Linux version.
> 
> There is a native FreeBSD binary jdk 1.3.1, but jdk 1.4 requires an
> existing 1.4 java install to build, so it can't be used.

I'll try 1.3.1 for now then -- there's no reason I need 1.4 specifically.

> It's for the initial build.  Once the native binary is installed, you
> can uninstall the linux one.

Eep.  Sounds messy.

-- 
Adam Smith
Internode   : http://www.internode.on.net
Phone   : (08) 8228 2999

ԿԬ
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: JDK14 for FreeBSD

2004-05-09 Thread Dan Nelson
In the last episode (May 10), Adam Smith said:
> I thought that last year FreeBSD finally got it's own version of JDK
> which stopped us having to rely on using the Linux version.

There is a native FreeBSD binary jdk 1.3.1, but jdk 1.4 requires an
existing 1.4 java install to build, so it can't be used.
 
> Why, when choosing to install jdk14 from the ports, am I asked to install
> the Linux version first?  I thought it was supposed to be stand alone.
> 
> ===>   jdk-1.4.2p6_4 depends on file: /usr/local/linux-sun-jdk1.4.2/bin/javac - not 
> found
> ===>Verifying install for /usr/local/linux-sun-jdk1.4.2/bin/javac in 
> /usr/ports/java/linux-sun-jdk14
> ===>  linux-sun-jdk-1.4.2.04 You must manually fetch the J2SE SDK self-extracting 
> file for the Linux platform (j2sdk-1_4_2_04-linux-i586.bin) from 
> http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=j2sdk-1.4.2_04-oth-JPR&SiteId=JSC&TransactionId=noreg,
>  place it in /usr/ports/distfiles and then run make again.
> *** Error code 1
> 
> Should I continue from here and download the Linux version?  What's it for
> when it comes to installing FreeBSD's java?

It's for the initial build.  Once the native binary is installed, you
can uninstall the linux one.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: jdk14

2004-04-23 Thread Radu MOLNAR
Yep, that was the problem.
When i had started the make i didn't have the linprocfs mounted.
I did a make clean and a make and it compiled properly.
Thanks


 Thu, 22 Apr 2004, Matt Navarre wrote:

> You might have to make clean and restart the build. I was getting the same
> error building java after I started the build without linprocfs mounted,
> blowing it away and starting over built fine.
>
> On Thursday 22 April 2004 06:26, Martin Hudec wrote:
> > Hello Radu,
> >
> > and do you have linux_enable="YES" set in /etc/rc.conf?
> >
> >
> > Cheers,
> >
> > Martin
> >
> > On Thu, Apr 22, 2004 at 04:13:27PM +0300 or thereabouts, Radu MOLNAR wrote:
> > > I have problems installing jdk14 from the ports. I searched for the error
> > > and i found that i have to have linuxprocfs mounted so i did that:
> > > linprocfs on /usr/compat/linux/proc (linprocfs, local)
> > >
> > > I also have installed linux_base package:
> > > linux_base-7.1_7The base set of packages needed in Linux mode
> > >
> > > Do i have to do something else to get this to compile?
>
> --
> [EMAIL PROTECTED] http://badstateofgruntledness.blogspot.com
> it was a hard sell, since he's a database person, and as far as I've seen,
> once those database worms eat into your brain, it's hard to ever get anything
> practical done again. To a database person, every nail looks like a thumb. Or
> something like that. - jwz
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: jdk14

2004-04-22 Thread Radu MOLNAR

Yes, i do.


On Thu, 22 Apr 2004, Martin Hudec wrote:

> Hello Radu,
>
>   and do you have linux_enable="YES" set in /etc/rc.conf?
>
>
>   Cheers,
>
>   Martin
>
>
> On Thu, Apr 22, 2004 at 04:13:27PM +0300 or thereabouts, Radu MOLNAR wrote:
> > I have problems installing jdk14 from the ports. I searched for the error
> > and i found that i have to have linuxprocfs mounted so i did that:
> > linprocfs on /usr/compat/linux/proc (linprocfs, local)
> >
> > I also have installed linux_base package:
> > linux_base-7.1_7The base set of packages needed in Linux mode
> >
> > Do i have to do something else to get this to compile?
>
> --
> Martin Hudec  | corwin at aeternal.net
>   | corwin at web.markiza.sk
> http://www.aeternal.net   | cell +421 907 303 393
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: jdk14

2004-04-22 Thread Matt Navarre
You might have to make clean and restart the build. I was getting the same 
error building java after I started the build without linprocfs mounted, 
blowing it away and starting over built fine.

On Thursday 22 April 2004 06:26, Martin Hudec wrote:
> Hello Radu,
>
>   and do you have linux_enable="YES" set in /etc/rc.conf?
>
>
>   Cheers,
>
>   Martin
>
> On Thu, Apr 22, 2004 at 04:13:27PM +0300 or thereabouts, Radu MOLNAR wrote:
> > I have problems installing jdk14 from the ports. I searched for the error
> > and i found that i have to have linuxprocfs mounted so i did that:
> > linprocfs on /usr/compat/linux/proc (linprocfs, local)
> >
> > I also have installed linux_base package:
> > linux_base-7.1_7The base set of packages needed in Linux mode
> >
> > Do i have to do something else to get this to compile?

-- 
[EMAIL PROTECTED] http://badstateofgruntledness.blogspot.com 
it was a hard sell, since he's a database person, and as far as I've seen, 
once those database worms eat into your brain, it's hard to ever get anything 
practical done again. To a database person, every nail looks like a thumb. Or 
something like that. - jwz
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: jdk14

2004-04-22 Thread Martin Hudec
Hello Radu,

and do you have linux_enable="YES" set in /etc/rc.conf?


Cheers,

Martin


On Thu, Apr 22, 2004 at 04:13:27PM +0300 or thereabouts, Radu MOLNAR wrote:
> I have problems installing jdk14 from the ports. I searched for the error
> and i found that i have to have linuxprocfs mounted so i did that:
> linprocfs on /usr/compat/linux/proc (linprocfs, local)
> 
> I also have installed linux_base package:
> linux_base-7.1_7The base set of packages needed in Linux mode
> 
> Do i have to do something else to get this to compile?

-- 
Martin Hudec| corwin at aeternal.net
| corwin at web.markiza.sk
http://www.aeternal.net | cell +421 907 303 393

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: jdk14+tomcat5 crashing box

2004-01-06 Thread Sheldon Hearn
On (2003/12/31 04:55), Brett Gulla wrote:

> Thanks for the input, but the problem seems to have been fixed.  Here's what I
> did:
> 1. cvsup'd to 5.2 RC
> 2. upgraded to tomcat 5.0.16
> 
> PS.  Using native threads (-lc_r not -pthread)

I believe that the problem was fixed in FreeBSD itself, because an
upgrade from a pre-5.2-RC1 to 5.2-CURRENT fixed exactly this problem for
me.  I didn't need to upgrade Tomcat.

Ciao,
Sheldon.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: jdk14+tomcat5 crashing box

2003-12-31 Thread Brett Gulla
Thanks for the input, but the problem seems to have been fixed.  Here's what I
did:
1. cvsup'd to 5.2 RC
2. upgraded to tomcat 5.0.16

PS.  Using native threads (-lc_r not -pthread)

Quoting Josef Grosch <[EMAIL PROTECTED]>:

> 
> I am getting the same problem. Restarting Tomcat5 and Tomcat41 causes the
> system to crash. This is completly repeatable. Other Java programs such as
> Eclispe and Bugseeker can be restarted multiple times without problems.
> 
> 
> ** Java Version **
> berkeley% java -version
> java version "1.4.2-p5"
> Java(TM) 2 Runtime Environment, Standard Edition (build
> 1.4.2-p5-root_13_dec_2003_19_39)
> Java HotSpot(TM) Client VM (build 1.4.2-p5-root_13_dec_2003_19_39, mixed
> mode)
> berkeley% 
> 
> 
> ** Tomcat Version **
> jakarta-tomcat-5.0.16
> 
> 
> ** System Version **
> berkeley% uname -a
> FreeBSD berkeley.mooseriver.com 5.1-RELEASE-p11 FreeBSD 5.1-RELEASE-p11 #1:
> Tue Dec 30 00:13:24 PST 2003
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BERKELEY  i386
> berkeley% 
> 
> 
> On Tue, Dec 30, 2003 at 08:58:21AM -0500, Lucas Holt wrote:
> > >
> > >system:
> > >FreeBSD 5.1-RELEASE-p11 FreeBSD 5.1-RELEASE-p11 #1: Fri Nov 28 0
> > >5:09:25 EST 2003 /usr/obj/usr/src/sys/BSD1007  i386
> > >
> > >packages:
> > >apache-2.0.47
> > >mod_jk-apache2-1.2.2
> > >jakarta-tomcat-5.0.14
> > >jdk-1.4.2p5
> > >
> > 
> > What threading model did you use with the JDK?
> 
> If you mean what JVM am I using, I am using client. I'll try switching to
> server in the file /usr/local/java/jre/lib/i386/jvm.cfg
> 
> *NOTE* I have a symbolic link from /usr/local/jdk1.4.2 to
> /usr/local/java. Saves me the trouble of having to redo paths and
> classpaths everytime I upgrade java.
> 
> > 
> > Does the problem occur when starting other java software multiple times 
> > that uses threads?
> 
> See above. This is the only java package that exhibits this problem, so far.
> 
> > 
> > I'd also try a newer version of tomcat as they fixed a lot of bugs.  I 
> > installed 5.0.16 the other day, and as I recall the change log wasn't 
> > tiny.
> 
> Yep. Running 5.0.16
> 
> > 
> > My working setup:
> > apache 2.0.48
> > Tomcat 5.0.16
> > mod jk  (1) connector for 4.1.27 tomcat
> > jdk-1.4.2p5
> > 
> > FreeBSD 4.9 Stable cvsup'd about a week ago.
> 
> cvsup'd last night
> 
> 
> 
> Josef
> 
> -- 
> Josef Grosch   | Another day closer to a | FreeBSD 5.1
> [EMAIL PROTECTED] |   Micro$oft free world  | Berkeley, Ca.
> 





This message was sent using IMP, the Internet Messaging Program.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: jdk14+tomcat5 crashing box

2003-12-31 Thread Josef Grosch

I am getting the same problem. Restarting Tomcat5 and Tomcat41 causes the
system to crash. This is completly repeatable. Other Java programs such as
Eclispe and Bugseeker can be restarted multiple times without problems.


** Java Version **
berkeley% java -version
java version "1.4.2-p5"
Java(TM) 2 Runtime Environment, Standard Edition (build 
1.4.2-p5-root_13_dec_2003_19_39)
Java HotSpot(TM) Client VM (build 1.4.2-p5-root_13_dec_2003_19_39, mixed mode)
berkeley% 


** Tomcat Version **
jakarta-tomcat-5.0.16


** System Version **
berkeley% uname -a
FreeBSD berkeley.mooseriver.com 5.1-RELEASE-p11 FreeBSD 5.1-RELEASE-p11 #1: Tue Dec 30 
00:13:24 PST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BERKELEY  i386
berkeley% 


On Tue, Dec 30, 2003 at 08:58:21AM -0500, Lucas Holt wrote:
> >
> >system:
> >FreeBSD 5.1-RELEASE-p11 FreeBSD 5.1-RELEASE-p11 #1: Fri Nov 28 0
> >5:09:25 EST 2003 /usr/obj/usr/src/sys/BSD1007  i386
> >
> >packages:
> >apache-2.0.47
> >mod_jk-apache2-1.2.2
> >jakarta-tomcat-5.0.14
> >jdk-1.4.2p5
> >
> 
> What threading model did you use with the JDK?

If you mean what JVM am I using, I am using client. I'll try switching to
server in the file /usr/local/java/jre/lib/i386/jvm.cfg

*NOTE* I have a symbolic link from /usr/local/jdk1.4.2 to
/usr/local/java. Saves me the trouble of having to redo paths and
classpaths everytime I upgrade java.

> 
> Does the problem occur when starting other java software multiple times 
> that uses threads?

See above. This is the only java package that exhibits this problem, so far.

> 
> I'd also try a newer version of tomcat as they fixed a lot of bugs.  I 
> installed 5.0.16 the other day, and as I recall the change log wasn't 
> tiny.

Yep. Running 5.0.16

> 
> My working setup:
> apache 2.0.48
> Tomcat 5.0.16
> mod jk  (1) connector for 4.1.27 tomcat
> jdk-1.4.2p5
> 
> FreeBSD 4.9 Stable cvsup'd about a week ago.

cvsup'd last night



Josef

-- 
Josef Grosch   | Another day closer to a | FreeBSD 5.1
[EMAIL PROTECTED] |   Micro$oft free world  | Berkeley, Ca.


pgp0.pgp
Description: PGP signature


Re: jdk14+tomcat5 crashing box

2003-12-30 Thread Lucas Holt
system:
FreeBSD 5.1-RELEASE-p11 FreeBSD 5.1-RELEASE-p11 #1: Fri Nov 28 0
5:09:25 EST 2003 /usr/obj/usr/src/sys/BSD1007  i386
packages:
apache-2.0.47
mod_jk-apache2-1.2.2
jakarta-tomcat-5.0.14
jdk-1.4.2p5
What threading model did you use with the JDK?

Does the problem occur when starting other java software multiple times 
that uses threads?

I'd also try a newer version of tomcat as they fixed a lot of bugs.  I 
installed 5.0.16 the other day, and as I recall the change log wasn't 
tiny.

My working setup:
apache 2.0.48
Tomcat 5.0.16
mod jk  (1) connector for 4.1.27 tomcat
jdk-1.4.2p5
FreeBSD 4.9 Stable cvsup'd about a week ago.

Note: I don't use ports for apache, tomcat, or mod jk

Lucas Holt
[EMAIL PROTECTED]

FoolishGames.com  (Jewel Fan Site)
JustJournal.com (Free blogging)
'Re-implementing what I designed in 1979 is not interesting to me 
personally. For kids who are 20 years younger than me, Linux is a great 
way to cut your teeth. It's a cultural phenomenon and a business 
phenomenon. Mac OS X is a rock-solid system that's beautifully 
designed. I much prefer it to Linux.'
-- Bill Joy, Wired Article 2003

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: jdk14 port

2003-11-08 Thread horio shoichi
On 06 Nov 2003 20:17:11 -0500
Frank Laszlo <[EMAIL PROTECTED]> wrote:
> Ok, I figured out what the problem was.
> It's really quite interesting.
> you see, I was building this via ssh to my server. My server has had
> network issues (due to the connection) all day, and my ssh sessions were
> lagging horribly. it would freeze for a long amount of time. I noticed
> the build always seemed to error at a different point. So I thought to
> myself, maybe the ssh freezing is causing a problem
> so i fired screen and ran:
> cd /usr/ports/java/jdk14 && script jdk14-out.log make package
> then i detached from the screen, and ran xtail jdk14-out.log to keep an
> eye on it.
> and sure enough, it built with no problems whatsoever.
> 
> I have NEVER seen anything like this, but I guess it makes sense. Oh
> well.. 
> 
> 
> -Frank Laszlo
> 
> 
> On Thu, 2003-11-06 at 12:49, Frank Laszlo wrote:
> > It seems this port wont build, I do have linux_base installed and the
> > linprocfs is mounted. here is my uname and error message.
> > 
> > ([EMAIL PROTECTED] /usr/ports/java/jdk14)% uname -a
> > FreeBSD ritamari.vonostingroup.com 4.9-RC FreeBSD 4.9-RC #0: Thu Oct 16
> > 14:19:39 EDT 2003
> > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/RITAMARI  i386
> > 
> > 
> > 
> > 
> > Exception in thread "main" java.lang.IllegalMonitorStateException
> > at java.lang.ref.Finalizer.add(Finalizer.java:42)
> > at java.lang.ref.Finalizer.(Finalizer.java:67)
> > at java.lang.ref.Finalizer.register(Finalizer.java:72)
> > at sun.tools.java.ClassFile.getInputStream(ClassFile.java:60)
> > at
> > com.sun.tools.javah.oldjavah.JavahEnvironment.getClass(JavahEnvironment.java:171)
> > at
> > com.sun.tools.javah.oldjavah.JavahEnvironment.getAllFields(JavahEnvironment.java:89)
> > at com.sun.tools.javah.oldjavah.JNI.write(JNI.java:38)
> > at com.sun.tools.javah.oldjavah.Gen.run(Gen.java:149)
> > at com.sun.tools.javah.oldjavah.Main.run(Main.java:174)
> > at com.sun.tools.javah.oldjavah.Main.main(Main.java:41)
> > at com.sun.tools.javah.Main.main(Main.java:40)
> > gmake[4]: ***
> > [/usr/home/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/java/obj_g/.class.headers.i586]
> >  Error 1
> > 
> > 
> > 
> > Any help would be greatly sppriciated. Thanks
> > 
> > -Frank Laszlo
> > 
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

I have seen the same (or similar named) exception on 4.8-STABLE. 
Since it was made on Oct.30, the log file on /var/tmp has been flushed.

Last night, I tried to reproduce the log but (unfortunately) have
succeeded this time. So the sameness or similarity is only in my
vague memory.

The differences in my case are:

o when failed, I was complained there was no linprocfs. I tried to remake
  without flushing $WRKDIR after mounting it,

o last night, there were other heavy metals, such as 'make buildworld'
  and 'make release' so the loads were constantly high. Remake is done on
  a new $WRKDIR, though.


Um, neither seem to have any significance.


horio shoichi

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: jdk14 port

2003-11-06 Thread Frank Laszlo
Ok, I figured out what the problem was.
It's really quite interesting.
you see, I was building this via ssh to my server. My server has had
network issues (due to the connection) all day, and my ssh sessions were
lagging horribly. it would freeze for a long amount of time. I noticed
the build always seemed to error at a different point. So I thought to
myself, maybe the ssh freezing is causing a problem
so i fired screen and ran:
cd /usr/ports/java/jdk14 && script jdk14-out.log make package
then i detached from the screen, and ran xtail jdk14-out.log to keep an
eye on it.
and sure enough, it built with no problems whatsoever.

I have NEVER seen anything like this, but I guess it makes sense. Oh
well.. 


-Frank Laszlo


On Thu, 2003-11-06 at 12:49, Frank Laszlo wrote:
> It seems this port wont build, I do have linux_base installed and the
> linprocfs is mounted. here is my uname and error message.
> 
> ([EMAIL PROTECTED] /usr/ports/java/jdk14)% uname -a
> FreeBSD ritamari.vonostingroup.com 4.9-RC FreeBSD 4.9-RC #0: Thu Oct 16
> 14:19:39 EDT 2003
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/RITAMARI  i386
> 
> 
> 
> 
> Exception in thread "main" java.lang.IllegalMonitorStateException
> at java.lang.ref.Finalizer.add(Finalizer.java:42)
> at java.lang.ref.Finalizer.(Finalizer.java:67)
> at java.lang.ref.Finalizer.register(Finalizer.java:72)
> at sun.tools.java.ClassFile.getInputStream(ClassFile.java:60)
> at
> com.sun.tools.javah.oldjavah.JavahEnvironment.getClass(JavahEnvironment.java:171)
> at
> com.sun.tools.javah.oldjavah.JavahEnvironment.getAllFields(JavahEnvironment.java:89)
> at com.sun.tools.javah.oldjavah.JNI.write(JNI.java:38)
> at com.sun.tools.javah.oldjavah.Gen.run(Gen.java:149)
> at com.sun.tools.javah.oldjavah.Main.run(Main.java:174)
> at com.sun.tools.javah.oldjavah.Main.main(Main.java:41)
> at com.sun.tools.javah.Main.main(Main.java:40)
> gmake[4]: ***
> [/usr/home/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/java/obj_g/.class.headers.i586]
>  Error 1
> 
> 
> 
> Any help would be greatly sppriciated. Thanks
> 
> -Frank Laszlo
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"