How to debug and run a JSP file or Servlet with JBuilder 4 ?

2001-05-27 Thread Huynh Tin

Hi all,
I have Jbuilder4 Foundation version, it doesn't include Tomcat ..,
But i had Jakarta-Tomcat-3.2.1

Anyone help me , let me know how could i debug or run JSP or Servlet with
this version of JBuilder4 and Tomcat,
Or let me know any Document about this problem, how could i config TomCat
with this version of JBuilder4.
Thank you
Best regards !

Huynh Tin





What Webserver is different from Web Application Server ?

2001-05-27 Thread Huynh Tin

Hi All,
I'm sorry for my basic question.
I don't know what is different between WebServer and WebApplication Server.
Could anyone help me to answer or let me know any document about this
problem.

Thank you !
Best regards !
Huynh Tin





Re: Run Tomcat as a NT Service Problem

2001-05-24 Thread Huynh Tin



Dear Louzon,
Thank you for your information, but i didn't have 
"xerces.jar" ...This file not existed in Jboss-Tomcat2.2 !
What i need to do . Thank you !
 
I'm using JDK1.3, JBoss-Tomcat2.2
 
Best regards !
Huynh Tin
 
 

  - Original Message - 
  From: 
  Ronald G. Louzon 
  To: '[EMAIL PROTECTED]' 
  
  Sent: Thursday, May 24, 2001 8:42 
PM
  Subject: RE: Run Tomcat as a NT Service 
  Problem
  
  It 
  sounds like you don't have "xerces.jar" as the first thing on your 
  classpath.  To make this the first thing on your 
  classpath:
   
  1) 
  Edit the file %TOMCAT_HOME%\conf\wrapper.properties 
  2) 
  You see some lines in this file that start with "wrapper.classpath".  
  Before the first of those lines, add a line
  wrapper.classpath=
  3) 
  Restart the service and see if things are better.
   
  Also, be aware that if you are using the 
  jk_nt_service.exe wrapper for your NT service, and if you are using version 
  1.3 of the JVM, when you log out of NT, the service will be stopped.  I 
  had to use JavaService.exe to get around this problem.
   
   
  
-Original Message-From: Huynh Tin 
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, May 23, 2001 11:23 
PMTo: [EMAIL PROTECTED]Subject: Run 
Tomcat as a NT Service Problem

  
Hi all , 
 
I used jk_nt_service.exe to add Tomcat like 
NT service .
 
I finished adding Tomcat into a NT service 
named TomcatService. I went to Control Panel to start 
TomcatService
It started ok , but also stoped after 
started. What's happen.
 
In "logs" dicrectory 
generate file named "jvm.stderr" and it's content as 
follow:
 

java.lang.NoClassDefFoundError: org/xml/sax/HandlerBase
at java.lang.ClassLoader.defineClass0(Native Method)
at 
java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
at 
java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
at 
java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at 
java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native 
Method)
at 
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at 
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at 
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at 
org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:178)
at 
org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
Exception in thread "main"
Anyway, in "conf\server.xml" file, 
i also didn't know how to define AJPV12 connector. There are 
not any information about AJPV12 in this "server.xml" file. How could i 
do it ?
     
    Anybody help me , what's this error , how 
could i fix it ??
 
Thank you
Huynh Tin
 
 
 


Run Tomcat as a NT Service Problem

2001-05-23 Thread Huynh Tin




  
Hi all , 
 
I used jk_nt_service.exe to add Tomcat like NT 
service .
 
I finished adding Tomcat into a NT service 
named TomcatService. I went to Control Panel to start 
TomcatService
It started ok , but also stoped after started. 
What's happen.
 
In "logs" dicrectory generate 
file named "jvm.stderr" and it's content as follow:
 

java.lang.NoClassDefFoundError: org/xml/sax/HandlerBase
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
at 
java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
at 
java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native 
Method)
at 
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at 
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at 
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:178)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
Exception in thread "main"
Anyway, in "conf\server.xml" file, i 
also didn't know how to define AJPV12 connector. There are not any 
information about AJPV12 in this "server.xml" file. How could i do it 
?
 
Anybody help me , what's this error , how could 
i fix it ??
 
Thank you
Huynh Tin
 
 
 


NT Service Problem

2001-05-23 Thread Huynh Tin



Hi all , 
 
I used jk_nt_service.exe to add Tomcat like NT 
service .
I modified wrapper.properties file and then updated 
parameters as follows:
        
wrapper.tomcat_home = path of TOMCAT_HOME
        
wrapper.java_home = path of JAVA_HOME
 
I finished adding Tomcat into a NT service named 
TomcatService, and i saw it's existed at Control Panel. But 
When i start service use net start "service name" 
 Error happens like following :
 
 
<<<<<
The TomcatService service is 
starting.The TomcatService service could not be 
started.
 
The service did not report an 
error.
 
More help is available by typing NET 
HELPMSG 3534.
>>>>>
 
Anybody help me , what's this error , how could i 
fix it ??
 
Thank you
 
Huynh Tin