RE: Is Java/Tomcat on FBSD practical?

2003-11-06 Thread Heath Volmer
Thanks for the replies.  

I ran Tomcat as root (or other users, doesn't matter).  What happens
means absolutely nothing to me.

I get on screen: lefty /kernel: pid 22239 (java), uid 0: exited on
signal 6 (core dumped)

This is what I get in Catalina.out:

SIGABRT   6*   abort (generated by abort(3) routine)

Full thread dump Classic VM (diablo-1.3.1-0, green threads):
Finalizer (TID:0x28e9d528, sys_thread_t:0x80d6080, state:CW)
prio=8
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:108)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:123)
at
java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:162)
Reference Handler (TID:0x28e9d300, sys_thread_t:0x8096480,
state:CW) prio=10
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at
java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110)
Signal dispatcher (TID:0x28e9d330, sys_thread_t:0x8096280,
state:CW) prio=5
main (TID:0x28e9d1b0, sys_thread_t:0x8054080, state:R) prio=5
at java.lang.Long.toString(Long.java:91)
at java.lang.String.valueOf(String.java:2071)
at java.lang.StringBuffer.append(StringBuffer.java:532)
at
org.apache.catalina.startup.Catalina.createStartDigester(Catalina.java:3
81)
at org.apache.catalina.startup.Catalina.load(Catalina.java:481)
at org.apache.catalina.startup.Catalina.load(Catalina.java:552)
at java.lang.reflect.Method.invoke(Native Method)
at
org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:396)
Monitor Cache Dump:
[EMAIL PROTECTED]/28ED2F98: unowned
Waiting to be notified:
Reference Handler (0x8096480)
[EMAIL PROTECTED]/28ED3478: unowned
Waiting to be notified:
Finalizer (0x80d6080)
Registered Monitor Dump:
utf8 hash table: unowned
JNI pinning lock: unowned
JNI global reference lock: unowned
BinClass lock: unowned
Class linking lock: unowned
System class loader lock: unowned
Code rewrite lock: unowned
Heap lock: unowned
Monitor cache lock: owner main (0x8054080) 1 entry
Dynamic loading lock: unowned
Monitor IO lock: unowned
User signal monitor: unowned
Waiting to be notified:
Signal dispatcher (0x8096280)
Child death monitor: unowned
I/O monitor: unowned
Alarm monitor: unowned
Waiting to be notified:
unknown thread (0x8054280)
Thread queue lock: owner main (0x8054080) 1 entry
Monitor registry: owner main (0x8054080) 1 entry



-Original Message-
From: Dirk-Willem van Gulik [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 05, 2003 2:03 AM
To: Heath Volmer
Cc: [EMAIL PROTECTED]
Subject: Re: Is Java/Tomcat on FBSD practical?



 My biggest problem has been Java.  I've done the diablo 1.3 package 
 and java seemed to work (java -v), but when I install Tomcat it won't 
 start. I've done the same install on mac and windows with no problem.

 The stack trace is completely alien to me and I can try to get it if 
 it would help.

If the stacktrace looks like it is some VM issue - posting it here may
help - otherwise the tomcat folks may be a better bet.

One quick test - try running it as root and see if that changes anything
- some JDK version had that problem - which since is fixed if I recall
correctly.

 I'm basically wondering if running Tomcat or any other java on this 
 machine is realistic or not.

We are using it with no great issue (other than that java can be quite
memory hungry :-)

DW.

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


Re: Is Java/Tomcat on FBSD practical?

2003-11-05 Thread Dirk-Willem van Gulik

 My biggest problem has been Java.  I've done the diablo 1.3 package and
 java seemed to work (java -v), but when I install Tomcat it won't start.
 I've done the same install on mac and windows with no problem.  The
 stack trace is completely alien to me and I can try to get it if it
 would help.

If the stacktrace looks like it is some VM issue - posting it here may
help - otherwise the tomcat folks may be a better bet.

One quick test - try running it as root and see if that changes anything -
some JDK version had that problem - which since is fixed if I recall
correctly.

 I'm basically wondering if running Tomcat or any other java on this
 machine is realistic or not.

We are using it with no great issue (other than that java can be quite
memory hungry :-)

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


Re: Is Java/Tomcat on FBSD practical?

2003-11-05 Thread Jan Grant
On Tue, 4 Nov 2003, Heath Volmer wrote:

 Hi. I'm new to FreeBSD, my previous -nix experience coming from OSX and
 Debian/Suse linux.  I've been generally very happy with the performance
 and relative ease of setup on my 4.8 system.

 My biggest problem has been Java.  I've done the diablo 1.3 package and
 java seemed to work (java -v), but when I install Tomcat it won't start.
 I've done the same install on mac and windows with no problem.  The
 stack trace is completely alien to me and I can try to get it if it
 would help.

 I'm basically wondering if running Tomcat or any other java on this
 machine is realistic or not.

 Thanks, Heath

Check on how up-to-date your system is. There were fixes that went into
the base system post 4.8-R which are probably relevant.

FWIW I've got tomcat running happily under the 1.3 and the 1.4 native
ports on a -stable freebsd.


-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
(Things I've found in my attic, #2: A hundredweight of pornography.)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is Java/Tomcat on FBSD practical?

2003-11-05 Thread bsdlists
On Tue, 4 Nov 2003 16:58:19 -0700, Heath Volmer wrote
 Hi. I'm new to FreeBSD, my previous -nix experience coming from OSX and
 Debian/Suse linux.  I've been generally very happy with the performance
 and relative ease of setup on my 4.8 system.
 
 My biggest problem has been Java.  I've done the diablo 1.3 package and
 java seemed to work (java -v), but when I install Tomcat it won't start.
 I've done the same install on mac and windows with no problem.  The
 stack trace is completely alien to me and I can try to get it if it
 would help.
 
 I'm basically wondering if running Tomcat or any other java on this
 machine is realistic or not.
 
 Thanks, Heath

I have Tomcat 4.1.27 running with a native compile of JDK1.4.  It's been 
working fine for me for almost a year now.  It's a low volume site, but I've 
been happy running it on FreeBSD.  
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is Java/Tomcat on FBSD practical?

2003-11-04 Thread Lee Harr
Hi. I'm new to FreeBSD, my previous -nix experience coming from OSX and
Debian/Suse linux.  I've been generally very happy with the performance
and relative ease of setup on my 4.8 system.
My biggest problem has been Java.  I've done the diablo 1.3 package and
java seemed to work (java -v), but when I install Tomcat it won't start.
I've done the same install on mac and windows with no problem.  The
stack trace is completely alien to me and I can try to get it if it
would help.
I'm basically wondering if running Tomcat or any other java on this
machine is realistic or not.
How did you install tomcat? Which version?

You say you are new to FreeBSD, so maybe this will help...

cd /usr/ports/
make search name=tomcat
I see 4 different versions in ports... and they all depend on the java-1.4
port (not 1.3) so that is probably one part of the problem.
_
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail

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