tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Stephen <joseph_vaith...@yahoo.com>
Subject Re: JAVA_HOME on Mac OS X?
Date Mon, 16 Dec 2002 17:48:49 GMT
For Mac OS X You need to set java home as follows.
export JAVA_HOME=/usr

Let me know if you still face problems I am running
tomcat on OS X.

Regards,
Joe

 --- Robert Leach <robleach10@earthlink.net> wrote: >
Thanks.  I'm now facing another problem.  Here's
> what happens now:
> 
> 	[dantooine:Internet/jakarta-tomcat-4.1.12/bin]
> robleach% ./startup.sh
> 	Using CATALINA_BASE:   
>
/Users/robleach/Applications/Internet/jakarta-tomcat-4.1.12
> 	Using CATALINA_HOME:   
>
/Users/robleach/Applications/Internet/jakarta-tomcat-4.1.12
> 	Using CATALINA_TMPDIR: 
>
/Users/robleach/Applications/Internet/jakarta-tomcat-4.1.12/temp
> 	Using JAVA_HOME:       /Library/Java/Home
> 
> Then when I type either localhost:8080 or
> 127.0.0.1:8080 or my IP 
> address:8080, I get this messge:
> 
> 	Cannot Load Address
> 
> 	Temporarily unable to connect: Connection refused
> 
> After these attempts, I tried shutting down Tomcat
> and got a connection 
> refused message:
> 
> [dantooine:Internet/jakarta-tomcat-4.1.12/bin]
> robleach% ./shutdown.sh
> Using CATALINA_BASE:   
>
/Users/robleach/Applications/Internet/jakarta-tomcat-4.1.12
> Using CATALINA_HOME:   
>
/Users/robleach/Applications/Internet/jakarta-tomcat-4.1.12
> Using CATALINA_TMPDIR: 
>
/Users/robleach/Applications/Internet/jakarta-tomcat-4.1.12/temp
> Using JAVA_HOME:       /Library/Java/Home
> Catalina.stop: java.net.ConnectException: Connection
> refused
> java.net.ConnectException: Connection refused
>          at
> java.net.PlainSocketImpl.socketConnect(Native
> Method)
>          at
>
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350)
>          at 
>
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
>          at
>
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124)
>          at java.net.Socket.<init>(Socket.java:268)
>          at java.net.Socket.<init>(Socket.java:95)
>          at
>
org.apache.catalina.startup.Catalina.stop(Catalina.java:579)
>          at 
>
org.apache.catalina.startup.Catalina.execute(Catalina.java:402)
>          at 
>
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>          at java.lang.reflect.Method.invoke(Native
> Method)
>          at 
>
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> 
> What do you think's going on?  I even tried
> forwarding port 8080 
> requests on my router to my computer.  I'm not 100%
> sure Tomcat was 
> actually running.  is there a way I can test that?
> 
> Thanks,
> Rob
> 
> On Sunday, December 15, 2002, at 03:28  PM, Paul
> DuBois wrote:
> 
> > At 15:05 -0700 12/15/02, Robert Leach wrote:
> >> Hi,
> >>
> >> I tried running the startup.sh script for tomcat
> and it says I need a 
> >> value for the JAVA_HOME environment variable.
> >>
> >> I assumed that since I installed the developer
> package that came with 
> >> Mac OS X 10.2 that I would have it, but after
> doing this search:
> >>
> >> 	find / -name "jdk*" -print
> >>
> >> and getting no results, I started searching for
> the JDK online to 
> >> download it.  Sun's website however doesn't
> appear to have one for 
> >> Mac.  I also tried searching apple's website to
> no avail.  Google was 
> >> just as helpful.
> >>
> >> I'm at a loss.  I've been searching for hours and
> I just can't find 
> >> it.  What am I missing here?  This should be
> simple.
> >
> > Try:
> >
> > /System/Library/Frameworks/JavaVM.framework/Home
> >
> >>
> >> Thanks,
> >> Rob
> >>
> >>
>
********************************************************
> >> * Yoda: *sigh* "Always with you, what cannot be
> done." *
> >>
>
********************************************************
> >
> >
> > --
> > To unsubscribe, e-mail:   
> >
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: 
> > <mailto:tomcat-user-help@jakarta.apache.org>
> >
> >
>
********************************************************
> * Yoda: *sigh* "Always with you, what cannot be
> done." *
>
********************************************************
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
>  

________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
       visit http://in.tv.yahoo.com

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message