image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old August 25th, 2002, 09:55 AM
Registered User
 
Join Date: Oct 2001
Location: tokyo
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
mntamago is on a distinguished road
TOMCAT, JBOSS, JSP troubles...

I have been running jakarta-tomcat-4.0.1 on my Mac OSX, to do some JSP developing. I install TOMCAT before 10.2 came out. Installation was done according to Apple's TOMCAT page listed below:

http://developer.apple.com/internet/java/tomcat1.html

After installing 10.2 TOMCAT will not start up. I get the following message when I start and stop TOMCAT:
=========
starting TOMCAT server ....
Using CLASSPATH: /usr/local/jakarta-tomcat-4.0.1/bin/bootstrap.jar
Using CATALINA_BASE: /usr/local/jakarta-tomcat-4.0.1
Using CATALINA_HOME: /usr/local/jakarta-tomcat-4.0.1
Using JAVA_HOME: /usr
.
.
.
stopping TOMCAT server ....
Using CLASSPATH: /usr/local/jakarta-tomcat-4.0.1/bin/bootstrap.jar
Using CATALINA_BASE: /usr/local/jakarta-tomcat-4.0.1
Using CATALINA_HOME: /usr/local/jakarta-tomcat-4.0.1
Using JAVA_HOME: /usr
dyld: /usr/bin/java multiple definitions of symbol _JNI_OnLoad
/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Libraries/libjava.jnilib(java.o) definition of _JNI_OnLoad
/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Libraries/libnet.jnilib(net.o) definition of _JNI_OnLoad
/usr/local/jakarta-tomcat-4.0.1/bin/catalina.sh: line 234: 616 Trace/BPT trap $JAVA_HOME/bin/java $CATALINA_OPTS -classpath $CP -Dcatalina.base=$CATALINA_BASE -Dcatalina.home=$CATALINA_HOME org.apache.catalina.startup.Bootstrap "$@" stop
=========

At the start, everything looks fine. Yet, when I go to browse the JSP pages I have created, I get no response from my server. When I try as TOMCAT stop/start -i.e. restart - I get the above error message.

Additionally, when I tried to get around using TOMCAT by using JBoss-2.4.4_Jetty-3.1.7-1 I get the following at startup:

=============
[MacOSX:JBoss-2.4.4_Jetty-3.1.7-1/jboss/bin] mattie% run_with_jetty.sh
JBOSS_CLASSPATH=:/lib/tools.jar:run.jar:../lib/crimson.jar
jboss.home = /usr/local/jboss/JBoss-2.4.4_Jetty-3.1.7-1/jboss
Using JAAS LoginConfig: file:/usr/local/jboss/JBoss-2.4.4_Jetty-3.1.7-1/jboss/conf/jetty/auth.conf
JBoss release: JBoss-2.4.4 CVSTag=JBoss_2_4_4
JBoss version: 2.4.4.2001-12-29 02:48:57 PST
Using configuration "jetty"
dyld: java multiple definitions of symbol _JNI_OnLoad
/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Libraries/libjava.jnilib(java.o) definition of _JNI_OnLoad
/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Libraries/libnet.jnilib(net.o) definition of _JNI_OnLoad
./run.sh: line 29: 582 Trace/BPT trap java $HOTSPOT $JAXP -classpath $JBOSS_CLASSPATH org.jboss.Main $@

=============

So, what we find here is in both cases I am being told I have...
"dyld: java multiple definitions of symbol _JNI_OnLoad"

Any ideas for a fix around for this?
__________________
mntamago
Reply With Quote
  #2  
Old September 21st, 2002, 12:29 AM
Registered User
 
Join Date: Oct 2001
Location: tokyo
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
mntamago is on a distinguished road
Just a final update on the TC/dyld-multiple definitions error that I was getting when I went to start/stop TC - today I downloaded and installed OS X 10.2.1, along with the 2002-09-20 security update. And what do I find but to my surprise TC now mysteriously works without a hitch!

I had been wondering if an update might not just fix my problem!
__________________
mntamago
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tomcat...JSP....Struts....Servlets Pengu Software Programming & Web Scripting 2 October 11th, 2003 08:32 PM
Request for a how-to on integrating Tomcat with Apache stephan Networking & Compatibility 0 September 14th, 2003 05:53 AM
Tomcat & Cocoon Loto Unix & X11 0 June 13th, 2002 03:42 PM
Stuck on Tomcat mhuntley Mac OS X System & Mac Software 11 April 29th, 2002 01:04 AM
Installing Tomcat and Cocoon Randy Smith Mac OS X System & Mac Software 0 March 28th, 2002 09:47 AM


All times are GMT -5. The time now is 06:33 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.