Need help installing SDK

I am an admin of linux given the task to get .jsp sripts to work on our server.

#1 is tomcat required or can I do it with just apache

#2 Is there an easy to follow instructions anywhere to get it running?

I have gotten the jpackage-utils installed via yum and now downloading sdk onto the server.

I am hoping someone can point me to an easy to follow instructions before I get in to deep.

#3 is the easy to follow admin instructions anywhere? If the .jsp scripts don't work after install, ways to test and check the install, log files, etc?

Brad

[589 byte] By [bcddd214a] at [2007-11-27 11:16:51]
# 1

#1: You need some JSP Container like Tomcat. Apache is not enough.

#2: Go to Tomcat homepage and follow the instructions. If you just want to get it running, it's very easy...

bytoa at 2007-7-29 14:21:31 > top of Java-index,Java Essentials,New To Java...
# 2

Yum will probably also be able to install Tomcat for you

georgemca at 2007-7-29 14:21:31 > top of Java-index,Java Essentials,New To Java...
# 3

Do you have a link?

I am having trouble find an install for someone whom already has a production Apache server running and does not want to screw it up with a tomcat installation.

bcddd214a at 2007-7-29 14:21:31 > top of Java-index,Java Essentials,New To Java...
# 4

> Do you have a link?

>

> I am having trouble find an install for someone whom

> already has a production Apache server running and

> does not want to screw it up with a tomcat

> installation.

Why would it screw Apache up?

georgemca at 2007-7-29 14:21:31 > top of Java-index,Java Essentials,New To Java...
# 5

Well, right now I am doing one of the step by step installs and after I expand the package, I am supposed to mv it to the /usr/lib/ directory.

I should see a startup.sh fill that does not exist.

This is a pain!

bcddd214a at 2007-7-29 14:21:31 > top of Java-index,Java Essentials,New To Java...
# 6

yeah, easy, yeah righ!

I am getting my but handed to me on the tomcat section.

It says to use ant

set the enviroment variable for the ant directory.

include path/bin

did it.

evn shows proper/path/bin.

enter test command and

command not found.

Geeze, what a pain...!

Does anyone know of a working how to for CentOS?

bcddd214a at 2007-7-29 14:21:31 > top of Java-index,Java Essentials,New To Java...
# 7

Almost home!

I am really close, I just need some help testing and debugging.

apache-tomcat-5.5.23

jdk1.6.02

java 1.6.0

apache 2.0.52

jdk env set

i do the command

/downloads/apache-tomcat-5.5.23/bin/startup.sh

no errors

this is the output

Using CATALINA_BASE:/downloads/apache-tomcat-5.5.23

Using CATALINA_HOME:/downloads/apache-tomcat-5.5.23

Using CATALINA_TMPDIR: /downloads/apache-tomcat-5.5.23/temp

Using JRE_HOME:/usr/lib/jdk

but when I

/downloads/apache-tomcat-5.5.23/bin/shutdown.sh

Using CATALINA_BASE:/downloads/apache-tomcat-5.5.23

Using CATALINA_HOME:/downloads/apache-tomcat-5.5.23

Using CATALINA_TMPDIR: /downloads/apache-tomcat-5.5.23/temp

Using JRE_HOME:/usr/lib/jdk

Error occurred during initialization of VM

Could not reserve enough space for object heap

Could not create the Java virtual machine.

How do I test whether it is working?

What is that error?

What are the debuggers?

bcddd214a at 2007-7-29 14:21:31 > top of Java-index,Java Essentials,New To Java...