Archive for Java Hosting

Groovy

It is an object-oriented programming language which is mainly designed for the Java platform, it also has features common to Python, Ruby, Perl, and Smalltalk. It uses a syntax which is similar to java and is dynamically compiled to JVM bytecodes that work with other Java code and libraries. The compiler can be used to generate standard Java bytecode or can also be used dynamically as a language script.

Related Posts:

  • No Related Posts

YOIX – A JAVA PROGRAMMING LANGUAGE

It is a Java programming language for the implementation of scripting language which is developed by researchers at AT&T Labs. Its syntax and grammar is very learn for the people who are familiar with the C programming language and Java. This application is indistinguishable from a Java application, for a application developer, it provides a simpler coding.

Related Posts:

  • No Related Posts

Sleep programming language

It is a procedural scripting language which is inspired by Perl and Objective-C. It is the only known implementation of the language is written in Java intended for embedding into existing Java applications to provide scripting services. It integrates easier with applications.

Related Posts:

  • No Related Posts

What is BeanShell?

It is a Java scripting language which was invented by Pat Niemeyer and runs in the Java Runtime Environment and mainly utilizes Java’s own syntax.

BeanShell allows its users to designate its functions that can be called from within a script, its main has been to not pollute its syntax with too many extensions and “syntactic sugar” and ensuring that code written for a Java compiler are executed interpretively by BeanShell without changes which make BeanShell a popular testing and debugging tool.

It is basically an open source project and has mainly been incorporated into many applications and provides easy integrated API and can run in command-line mode or within its graphical environment. It can be called as a part of java platform.

Related Posts:

  • No Related Posts

Apache Tomcat

Apache Tomcat is the servlet container that is used in the official Reference Implementation for the Java Servlet and JavaServer Pages technologies. Apache Tomcat is developed in an open and participatory environment and released under the Apache Software License.

Apache Tomcat powers numerous large-scale, mission-critical web applications across a diverse range of industries and organizations.

INSTALLING TOMCAT

cd /root

wget http://www.visionexcomm.com/downloads/tc5-install.tar.gz

tar -zxvf tc5-install.tar.gz

cd TC5Install/

./pre-install.sh

./fix-my-jvm.sh

./install.sh

pico /usr/sbin/starttomcat
————————-
#!/bin/sh
export JAVA_HOME=/usr/local/jdk
export PATH=$JAVA_HOME/bin:$PATH
export XML=$JAVA_HOME/lib
export SSL=$JAVA_HOME/lib
export JAVAMYSQL=$JAVA_HOME/lib
export CLASSPATH=.:$JAVA_HOME/lib/classes.zip
export JAKARTA_HOME=/usr/local/jakarta
for file in $JAKARTA_HOME/lib/*
do
export CLASSPATH=”$CLASSPATH:$file”
done
export PATH=”$PATH:/usr/local/bin:/usr/X11R6/bin”
export TOMCAT_HOME=$JAKARTA_HOME/tomcat
export CATALINA_HOME=/usr/local/jakarta/tomcat
(cd ; ./bin/startup.sh)

========make change to above file =========

#!/bin/sh
export JAVA_HOME=/usr/local/jdk
export PATH=$JAVA_HOME/bin:$PATH
export XML=$JAVA_HOME/lib
export SSL=$JAVA_HOME/lib
export JAVAMYSQL=$JAVA_HOME/lib
export CLASSPATH=.:$JAVA_HOME/lib/classes.zip
export JAKARTA_HOME=/usr/local/jakarta
for file in $JAKARTA_HOME/lib/*
do
export CLASSPATH=”$CLASSPATH:$file”
done
export PATH=”$PATH:/usr/local/bin:/usr/X11R6/bin”
export TOMCAT_HOME=$JAKARTA_HOME/tomcat
export CATALINA_HOME=/usr/local/jakarta/tomcat
(cd /usr/local/jakarta/tomcat; ./bin/startup.sh)

————————-

pico /usr/sbin/stoptomcat

————————-

#!/bin/sh
export JAVA_HOME=/usr/local/jdk
export PATH=$JAVA_HOME/bin:$PATH
export XML=$JAVA_HOME/lib
export SSL=$JAVA_HOME/lib
export JAVAMYSQL=$JAVA_HOME/lib
export CLASSPATH=.:$JAVA_HOME/lib/classes.zip
export JAKARTA_HOME=/usr/local/jakarta
for file in JAKARTA_HOME/common/lib/*
do
export CLASSPATH=”.:/usr/local/jdk/lib/classes.zip:/usr/local/jakarta/lib/activation.jar:/usr/local/jakarta/lib/cimapi.jar:/usr/local$
done
export PATH=”$PATH:/usr/local/bin:/usr/X11R6/bin”
export TOMCAT_HOME=$JAKARTA_HOME/tomcat
export CATALINA_HOME=/usr/local/jakarta/tomcat
(cd ; ./bin/shutdown.sh)
sleep 3
kill -9 `ps xww |grep tomcat|grep java|grep -v grep |awk ‘{ print $1 }’`

========make change to above file =========

#!/bin/sh
export JAVA_HOME=/usr/local/jdk
export PATH=$JAVA_HOME/bin:$PATH
export XML=$JAVA_HOME/lib
export SSL=$JAVA_HOME/lib
export JAVAMYSQL=$JAVA_HOME/lib
export CLASSPATH=.:$JAVA_HOME/lib/classes.zip
export JAKARTA_HOME=/usr/local/jakarta
for file in JAKARTA_HOME/common/lib/*
do
export CLASSPATH=”.:/usr/local/jdk/lib/classes.zip:/usr/local/jakarta/lib/activation.jar:/usr/local/jakarta/lib/cimapi.jar:/usr/local$
done
export PATH=”$PATH:/usr/local/bin:/usr/X11R6/bin”
export TOMCAT_HOME=$JAKARTA_HOME/tomcat
export CATALINA_HOME=/usr/local/jakarta/tomcat
(cd /usr/local/jakarta/tomcat; ./bin/shutdown.sh)
sleep 3
kill -9 `ps xww |grep tomcat|grep java|grep -v grep |awk ‘{ print $1 }’`

————————-

/usr/sbin/starttomcat

/root/TC5install/cpinstall.sh

cp /usr/local/jakarta/jakarta-tomcat-5.0.19/conf/web.xml /usr/local/jakarta/conf/

/etc/init.d/httpd restart

Site: http://tomcat.apache.org

Related Posts:

  • No Related Posts
« Previous Page« Previous entries « Previous Page · Next Page » Next entries »Next Page »