Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tomcat in appserverdev_7k248 non-root startup problems



it works fine on my PBG4/10.3.3 Tomcat 4.1.29
even apache's lenya started to work for me
(it was kind of tricky to make it work )


didn't see any exceptions: start listening on port 9006 (by default)
didn't set CLASSPATH variable at all
startup/shutdown works fine for me (in the normal mode: not via sudo)
I'm not sure that's important but I'm starting those scripts from /Library/Tomcat/bin directory
so I do cd before

cd /Library/Tomcat/bin
./startup.sh
or just
startup.sh
if you have . in your path


check your permissions


On Apr 28, 2004, at 1:18 AM, Jay Lawrence wrote:

Not sure what has caused this - but I'm perplexed.

So I want to start up my tomcat server:
sudo /Library/Tomcat/bin/startup.sh
or just me as a normal user

However my Tomcat server throws an exception trying to startup:
Apr 28, 2004 12:28:57 AM org.apache.commons.digester.Digester startElement
SEVERE: Begin event threw exception
java.lang.ClassNotFoundException: org.apache.coyote.tomcat4.CoyoteConnector

But here's the odd thing - if I "su -" to root - then it will start up just fine.

I added an echo of my CLASSPATH:
Using CLASSPATH: /Library/Java/Home/lib/tools.jar:/Library/Tomcat/bin/bootstrap.jar

Is there something that could be coming through my environment? I don't have any thing unusual set.

Any ideas?
TIA,
Jay
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Do not post admin requests to the list. They will be ignored.


Dmitry Markman
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Tomcat in appserverdev_7k248 non-root startup problems (From: Jay Lawrence <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.