Peter,
I've been successful in configuring Tomcat 4.0.1 on MacOSX. It
installs without a hitch, but it was quite a challenge to configure. No
need to switch to linux to get it to work...
It sounds like your problem is most likely in the configuration of
the "web application" since the webserver works but it seems like the
servlet subfolders are not.
The first place to look is in the catalina.out log file. If
everything starts up correctly, it should dump out a few lines telling
that is successfully started up the tomcat service. If there are any
errors or exceptions listed in that log file, try to correct them or let
me know what they are.
If there are no errors in that file, check the other log files in
the logs directory. if you're using Apache as the webserver, check the
apache_log.2001-xx-xx.txt file for problems.(if not using apache check
the catalina_log.2001-xx-xx.txt or localhost_log.2001-xx-xx.txt files).
These files are really helpful in identifying the problem.
A harder step was when I wanted to use the warp connector to use
Apache as the web server to connect to the tomcat jsp engine. The
documentation for that was also pretty lame, but with enough
experimentation, I was able to get that working as well.
OSX is a great platform for deploying these web applications.
Once you add MySQL and the JDBC drivers, it makes Tomcat into a great
development platform.
Let me know if I can help,
Dan
On Monday, December 24, 2001, at 02:42 PM, Darth Darknerd wrote:
> Christian,
>
> I really wish Mac OS X was for rookies, but it is by far not the fact.
> Actually, one needs considerable expertise to deal with the Mac OS X,
> because Apple does not follow the standards. It seems that most things
> in the /etc directory are just ignored. Take creating new users and
> groups. This facility is done through NetInfo, which is a LDAP-like
> binary file. This facility using commmands newuser doesn't work, so
> some scripters created scripts that dump the whole binary file to
> ascii, edits the ascii,
> and converts it back to binary. Other times, the directories for
> installs and libraries are stored in unnatural places (usually under
> the /Library tree or /System tree).
>
> As for Apache, one would think they could click on the little jeweled
> button called start, but this is not the case. The http.conf has to
> edited, which cannot be done as root, but then root is disabled, and
> can only be enabled by using NetInfo facility (the LDAP-like library).
>
> There is a strong need for documentation in this department because
> newer users starting out will most likely have more difficulties. For
> me personally, I gave up and simply used Linux-PPC on my Titanium...
>
> - jm
>
>
> On Wednesday, December 19, 2001, at 06:00 AM, Bongiorno.Christian
> wrote:
>
>> I don't know much about mac X, but, did you check the hosts.allow and
>> hosts.deny ?
>> Maybe only 127.0.0.1 is allowed. Given this is unix for COMPLETE PC
>> rookies (let alone unix rookies) they probably don't want people
>> shooting themselves in the foot
>>
>>
>> -----Original Message-----
>> From: Peter Reynolds [mailto:[EMAIL PROTECTED]]
>> Sent: Wednesday, December 19, 2001 8:34 AM
>> To: '[EMAIL PROTECTED]'
>> Subject: No examples with 4.0.1 install on OSX
>>
>>
>> Hello everybody,
>>
>> Having successfully installed a 3.3 distribution of Tomcat on
>> OSX10.1.1 I
>> attempted a 4.0.1 install. However whilst the welcome page and manual
>> pages
>> are successfully displayed by Tomcat at 127.0.0.1:8080 the attempt to
>> view
>> any of the examples or servlets results in a 'Resource not available'
>> 404
>> error message.
>>
>> I've checked the following:
>> * The examples are in the web-apps directory of Tomcat home.
>> * I've removed my old TOMCAT_HOME environment variable that pointed to
>> the
>> 3.3 distribution; and added a CATALINA_HOME variable pointed to the
>> home of
>> 4.0.1.
>> * My JAVA_HOME variable is correctly set.
>> * Running ./startup.sh appears to be fine. It reports where all the
>> paths
>> are; and as described above the home page displays correctly.
>> * All the permissions on the examples directory are correctly set.
>> * No errors are reported in the log.
>>
>> Has any one had any success with 4.0.1 on OSX? If so do they know why
>> it
>> might not be working for me?
>>
>> Thanks,
>>
>>
>> Peter
>>
>> --------
>> Flash Developer
>> London, UK
>> http://www.petescv.co.uk/
>>
>>
>> ___________________________________________________________
>> The information in this email is confidential and is intended solely
>> for the addressee(s) and access to this email by anyone else is
>> unauthorised. If you are not the intended recipient then any
>> disclosure, copying, distribution or any action taken or omitted to
>> be taken in reliance on it, is prohibited and may be unlawful.
>>
>>
>>
>> --
>> To unsubscribe: <mailto:[EMAIL PROTECTED]>
>> For additional commands: <mailto:[EMAIL PROTECTED]>
>> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>>
>>
>> --
>> To unsubscribe: <mailto:[EMAIL PROTECTED]>
>> For additional commands: <mailto:[EMAIL PROTECTED]>
>> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>>
>
>
> --
> To unsubscribe: <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>