Best way to install Apache, Tomcat and Jboss

2001-08-06 Thread Utech - Han Lim

Hi, does anybody here can explain step by step the best way to install
Apache+Tomcat+Jboss? Or any reference will be appreciated. Thanks.

regards,
Han Lin




RE: Application Server

2001-08-02 Thread Utech - Han Lim

Thanks Dim for the answer, I'm not posting anything on JBoss list. Ok, I
will try to post to JBoss list.

Thanks.

regards,
Han Lim

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dmitri
Colebatch
Sent: Thursday, August 02, 2001 2:42 PM
To: [EMAIL PROTECTED]
Subject: Re: Application Server


Utech - Han Lim wrote:

 Hi, About WebLogic I don't think it's free:( Do you know the free one
beside
 JBoss and JRun Developer Edition?

orion is free (http://www.orionserver.org), but there are plenty of ppl
running JBoss on BSD, did you post on the JBoss list with your problem?

cheers
dim


 Thanks.

 regards,
 Han Lim

 -Original Message-
 From: Moin Anjum H. [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 02, 2001 1:39 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Application Server

 Hi,

   How about WebLogic from BEA Systems.

 HTH
 Regards
 Moin,

 Utech - Han Lim wrote:

  Does anyone know the good application server that support EJB and J2EE?
I
  found JBoss but I have a problem when running it on FreeBSD machine, any
  suggestion?
 
  Thanks
 
  Han Lim




RE: Application Server

2001-08-01 Thread Utech - Han Lim

Hi, About WebLogic I don't think it's free:( Do you know the free one beside
JBoss and JRun Developer Edition?

Thanks.

regards,
Han Lim

-Original Message-
From: Moin Anjum H. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 02, 2001 1:39 PM
To: [EMAIL PROTECTED]
Subject: Re: Application Server


Hi,

  How about WebLogic from BEA Systems.


HTH
Regards
Moin,

Utech - Han Lim wrote:

 Does anyone know the good application server that support EJB and J2EE? I
 found JBoss but I have a problem when running it on FreeBSD machine, any
 suggestion?

 Thanks

 Han Lim





JSP pages cannot be viewed

2001-07-30 Thread Utech - Han Lim

Hi, I just installed the Apache-1.3.20 and Tomcat-3.2.3, and all running
smoothly until I try to view the .jsp pages at http://localhost:8080/ and I
got this error result :

Error: 500
Location: /examples/jsp/num/numguess.jsp
Internal Servlet Error:

javax.servlet.ServletException: sun/tools/javac/Main
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:508)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)

Root cause:
java.lang.NoClassDefFoundError: sun/tools/javac/Main
at
org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:136)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
at
org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:258)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:268)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)

What is the causes of this problem? And another problem I got is when I try
to create a helloworld.jsp that contain :

HTML
HEAD
TITLE/TITLE
META name=description content=
META name=keywords content=
META name=generator content=CuteHTML
/HEAD
BODY BGCOLOR=#FF TEXT=#00 LINK=#FF VLINK=#800080
h1Hello World - HTML .../h1
h1% out.println(Hello World - JSP ...); %/h1
/BODY
/HTML

And I got error when view this page in browser :

2001-07-30 02:50:56 - Ctx( /examples ): 404 R( /examples +
/jsp/helloworld.jsp + null) JSP file not found

Any help and suggestion will be appreciated. Thanks


Han Lin
System Consultant
Unidux Technologies Pte Ltd
(subsidiary of the public-listed Unidux Electronics Ltd)
Tel : (65) 293 4797
Fax : (65) 293 4920
Email : [EMAIL PROTECTED]




RE: JSP pages cannot be viewed

2001-07-30 Thread Utech - Han Lim

I think I'm already set the classpath to point to the servlet.jar as you can
see it obviously from my environment setting. Any else suggestion? I still
cannot view the .jsp pages, and got stuck with it:(

Thanks.

regards,
Han Lin

-Original Message-
From: AN Sathe [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 30, 2001 6:48 PM
To: [EMAIL PROTECTED]
Subject: RE: JSP pages cannot be viewed
Sensitivity: Personal


I think you need to set the classpath to point to the servet.jar files


ans
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 31, 2001 3:05 AM
To: [EMAIL PROTECTED]
Subject: RE: JSP pages cannot be viewed
Sensitivity: Personal


Yes, I'm sure I am using the JDK and JRE too, here is my Environment
setting :

TOMCAT_HOME=/usr/local/jakarta-tomcat
LANG=en_US
JAVA_HOME=/usr/java/jdk1.3.1
LOGNAME=hanlim
SHLVL=2
SHELL=/bin/bash
HOSTTYPE=i386
OSTYPE=linux-gnu
HISTSIZE=10
TERM=xterm
HOME=/root
PATH=/usr/java/jdk1.3.1/bin:/usr/java/jdk1.3.1/lib/tools.jar:/usr/local/
jakarta-servletapi/lib/servlet.jar:/usr/local/bin:/bin:/usr/bin:/usr/X11
R6/bin:/home/hanlim/bin
_=/usr/bin/env

I think I set all thing properly but still cannot view the .jsp file.

And according to Emir Alikadic's recommended website
http://marc.theaimsgroup.com/?l=tomcat-userm=97870338519857w=2, I'm
not understand this statement :

/* One word of caution though: on a windows system, even if you
installed
the development kit, a JRE is installed as well.  Make sure you set your
JAVA_HOME environment variable to correct one.
(On my system the JDK is on c:\java\jdk1.3 and the JRE on c:\program
files\JavaSoft\JRE\1.3) */

How can I set the JRE path?



Thanks for help and suggestion.

regards,
Han Lin