RE: Help in JDBC

2002-03-11 Thread Thanh Duong

Hi,
if you are using tomcat 4.0, then you need to generate a jar library file.
Tomcat 4.0 cannot read zip file.

Thanh

-Original Message-
From: Edward Haynes [mailto:[EMAIL PROTECTED]]
Sent: Montag, 11. März 2002 16:30
To: 'Tomcat Users List'
Subject: RE: Help in JDBC


It would be better to put the location of the classes111.zip file in the
tomcat classpath. What I did was to edit the /usr/bin/dtomcat4 file (for rpm
tomcat on linux, or the catalina.sh for other installs) and include the full
path and file name

CLASSPATH=$JAVA_HOME/lib/tools.jar:/usr/acct/oracle/9.0.1/jdbc/lib/classes
111.jar

Ted

-Original Message-
From: Neo Gigs [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 11, 2002 3:16 AM
To: Tomcat Users List
Subject: Re: Help in JDBC


Hi there,

I solved the problem by putting my classes111.zip for Oracle to
%tomcat_home%\lib and %my_application%\WEB-INF\lib

Thanks

Regards,

Neo Gigs

VB?
http://communities.msn.com.my/VisualBasicwithNeo
http://www.vbcity.com/forum
http://www.vbweb.co.uk
Get paid cash receive email?
http://www.MintMail.com/?m=1414418
Reading SMS got paid?
http://www.dynamicsms.com.au/intro.asp?ref=0123502385refc=348
Malaysianshop.com http://www.malaysianshop.com
More Traffic?
http://www.exitblaze.com/cgi-bin/intro_track.pl?b=25924c=xbad1

Note:This is intended to addressees only, if you wanna be removed, let me
know.

- Original Message -
From: Cyber Sagar [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Monday, March 11, 2002 2:06 PM
Subject: RE: Help in JDBC


 Dear Neo Gigs,
 Thank you very much for your kind cooperation.
 Yours
 Sagar

 -Original Message-
 From: Neo Gigs [mailto:[EMAIL PROTECTED]]
 Sent: 11 March 2002 14:54
 To: Tomcat Users List
 Subject: Re: Help in JDBC


 hi there,

 after modifying my codes like this:

 html
 headtitleStored Procedure Call using JDBC/title/head
 body
 To test JDBC call to fire stored procedure named bsp_GetClatTypeIE/b
 %@ page language=java import=java.sql.*, java.math.*, java.io.* %
 %
  String output = ;

  try{
   Class myDriver =
Class.forName(oracle.jdbc.driver.OracleDriver);
  // DriverManager.registerDriver(new
 oracle.jdbc.driver.OracleDriver());
  String url = jdbc:oracle:thin:@10.97.2.50:1521:REL4;
  String scall = begin sp_GetClatTypeIE(?, ?); end;;
  Connection conn = DriverManager.getConnection(url, tux,
 tux);
  CallableStatement cs = conn.prepareCall(scall);
  cs.registerOutParameter(2, Types.VARCHAR);
  cs.setInt(1, 22555);
  cs.execute();
cs.close();
   conn.close();
  output = cs.getString(2);
  } catch (SQLException e) {
  System.err.println(Error:  + e.getMessage());
 }
 out.println(Result is:  + output);
 %
 /body
 /html

 and when i run it, it generates this error:

 javax.servlet.ServletException: oracle.jdbc.driver.OracleDriver
  at org.apache.jasper.runtime.PageContextImpl.handlePageException(Unknown
 Source)
  at SpTest_10._jspService(SpTest_10.java:88)
  at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java)
  at org.apache.tomcat.facade.ServletHandler.doService(Unknown Source)
  at org.apache.tomcat.core.Handler.invoke(Unknown Source)
  at org.apache.tomcat.core.Handler.service(Unknown Source)
  at org.apache.tomcat.facade.ServletHandler.service(Unknown Source)
  at org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
  at org.apache.tomcat.core.ContextManager.service(Unknown Source)
  at

org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown
 Source)
  at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
  at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
 Source)
  at java.lang.Thread.run(Thread.java:484)
 Root cause:
 java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
  at
 org.apache.tomcat.util.depend.DependClassLoader.loadClassInternal1(Unknown
 Source)
  at org.apache.tomcat.util.depend.DependClassLoader12$1.run(Unknown
Source)
  at java.security.AccessController.doPrivileged(Native Method)
  at org.apache.tomcat.util.depend.DependClassLoader12.loadClass(Unknown
 Source)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
  at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
  at java.lang.Class.forName0(Native Method)
  at java.lang.Class.forName(Class.java:120)
  at SpTest_10._jspService(SpTest_10.java:63)
  at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java)
  at org.apache.tomcat.facade.ServletHandler.doService(Unknown Source)
  at org.apache.tomcat.core.Handler.invoke(Unknown Source)
  at org.apache.tomcat.core.Handler.service(Unknown Source)
  at 

AJP bad read - 113 with tomcat 4.0.1 and apache 1.3.

2002-03-07 Thread Thanh Duong

Hi all,
I got the error message AJP bad read - 113 from catalina.out and mod_jk.out.
I looked in the tomcat Users group and found a solution posted by GOMEZ Henri.
see http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg36582.html
I copied the ajp.jar, tomcat-util.jar getting from 
http://jakarta.apache.org/~hgomez/ajp13-tc4.0 and followed the construction described 
in the document.
But unfortunately I still get the AJP bad read - 113 error message. 
Does anybody know how can I solve this problem?

Thank you very much for your help in advance.

Thanh 


Click on www.no-voices.de for more infos


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: restarting Tomcat 4

2002-02-14 Thread Thanh Duong

Hi,
to start tomcat in a separate window use
$CATALINA_HOME/bin/catalina.sh start

to stop tomcat use
$CATALINA_HOME/bin/catalina.sh stop

It works fine so you don't need to wait for ending the tomcat process.

Bye
Thanh

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 14. Februar 2002 16:02
To: [EMAIL PROTECTED]
Subject: restarting Tomcat 4


Hi.

 I was wondering if anyone out there has a good way of restarting Tomcat
4...?  In version 3, I used to just be able to do
$TOMCAT_HOME/bin/shutdown.sh; $TOMCAT_HOME/bin/startup.sh.  Now, in
version
4 though, since the starting and stopping scripts seem to have been modified
to be background processes, this no longer works since it won't wait for the
first script to finish anymore before starting the second one.  Now, my
restart alias looks like this: $CATALINA_HOME/bin/shutdown.sh; sleep 40;
$CATALINA_HOME/bin/startup.sh.  Pretty lame, and I just arrived at the
sleep
value by trial and error (actually as I add more stuff in my server.xml
file,
I think the shutdown might even take longer, so I may need to bump this
value
up).  Does anyone have any more elegant/exact ways of doing this?

Thanks,
-Jeff



--
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]




[Ajp13] bad read: -103 on Tomcat4.0.1 with Apache 1.3

2002-02-12 Thread Thanh Duong

Hi all,
I got this error message on tomcat4.0.1 with apache 1.3 when using multiple virtual 
hosts.
[Ajp13] bad read: -103

To pass servlet/jsp requests to tomcat I am using the mod_jk.so instead of web_app.so 
module.
Does someone know the reason for this error message?

Thanks for your help

Thanh Duong



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Maximum url length

2002-02-05 Thread Thanh Duong

Hi
I got this problem too with tomcat 3.3.
Now I am using tomcat 4 and This problem doesnt exist.

Thanh

-Original Message-
From: karkoma [mailto:[EMAIL PROTECTED]]
Sent: Dienstag, 5. Februar 2002 19:48
To: Tomcat Users List
Subject: Maximum url length


Hi...

I'm trying to send a long uri to Tomcat 3.3 but it complains with error code
414, (414 Request-URI Too Long). However Apache can handle the same url.

Is there a way to tell Tomcat to admit long uris / urls??
Something like this

 lynx -dump
localhost:8080/ABC/myservlet?request=%3C%3Fxml+version%3D%221.0%22+encoding
%3D%22UTF-8%22%3F%3E%0D%0A%3CGPPR%3E%0D%0A%09%3CFUNCION+type%3D%22UPDATE%22%
3EcreateUser%3C%2FFUNCION%3E%0D%0A%09%3CAUTENTIFICATION%3E%0D%0A%09%09%3CCLI
ENT%3Ecesar%3C%2FCLIENT%3E%0D%0A%09%09%3CCLI_PASSWD%3Ecesar%3C%2FCLI_PASSWD%
3E%0D%0A%09%09%3CUSER_LOGIN%3Ecesar%3C%2FUSER_LOGIN%3E%0D%0A%09%09%3CUSER_PA
SSWD%3Ecesar%3C%2FUSER_PASSWD%3E%0D%0A%09%3C%2FAUTENTIFICATION%3E%0D%0A%09%3
CPARAMETERS+identype%3D%22MSISDN%22%3E%0D%0A%09%09%3CATTRIBUTE+name%3D%22USE
R%22+param%3D%22Y%22%3E%0D%0A%09%09%09%3COBJECT%3E%0D%0A%09%09%09%09%3CCLASS
%3EUSER%3C%2FCLASS%3E%0D%0A%09%09%09%09%3CCONTENTS%3E%0D%0A%09%09%09%09%09%3
CATTRIBUTE+name%3D%22TIMEOUTVALIDATE%22%3E%0D%0A%09%09%09%09%09%09%3CINT+val
%3D%220%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09
%3CATTRIBUTE+name%3D%22MASTERLOC%22%3E%0D%0A%09%09%09%09%09%09%3CCHAR+val%3D
%22N%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3C
ATT!
RIBUTE+name%3D%22PUBLIC%22%3E%0D%0A%09%09%09%09%09%09%3CCHAR+val%3D%22N%22%2
F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE
+name%3D%22NAME%22%3E%0D%0A%09%09%09%09%09%09%3CSTRING+val%3D%22UserTest%22%
2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUT
E+name%3D%22MSISDN%22%3E%0D%0A%09%09%09%09%09%09%3CSTRING+val%3D%22346869664
58%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CAT
TRIBUTE+name%3D%22USERDATA%22%3E%0D%0A%09%09%09%09%09%09%3CSTRING+val%3D%22D
atos+de+Utest%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09
%09%09%3CATTRIBUTE+name%3D%22IDPROFILE%22%3E%0D%0A%09%09%09%09%09%09%3CINT+v
al%3D%221%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%
09%3CATTRIBUTE+name%3D%22VALIDATED%22%3E%0D%0A%09%09%09%09%09%09%3CCHAR+val%
3D%22Y%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%
3CATTRIBUTE+name%3D%22DATEINS%22%3E%0D%0A%09%09%09%09%09%09%3CSTRING+val%3D%
22%!
22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%3C%2FCONTE
NTS%3E%0D%0A%09%09%09%3C%2FOBJECT%3E%0D%0A%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%
3C%2FPARAMETERS%3E%0D%0A%3C%2FGPPR%3E%0D%0A

Thanx.
Alberto

--
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]




How to setup multi-virtual hosts on tomcat 4.0 and apache 1.3

2002-02-04 Thread Thanh Duong

Hi,
I am trying to setup multi virtual hosts on tomcat 4.0 and apache 1.3. I
don't know what I did wrong, but it doesn't work.
When I try to call http;//example1.de/index.jsp, it said
The requested resource (/index.jsp) is not available.

Does someone know how to setup virtual hosts correctly?

Thanks
Thanh


I did the following:

in httpd.conf:
NameVirtualHost 1.2.1.211
VirtualHost 1.2.1.211
   DocumentRoot /example1.de
   ServerName example1.de
   ServerPath /example1.de/
   ErrorLog logs/example1-error_log
   CustomLog logs/example1-access_log common
/VirtualHost

VirtualHost 1.2.1.211
   DocumentRoot /example2.de
   ServerName example2.de
   ServerPath /example2.de/
   ErrorLog logs/example2.at-error_log
   CustomLog logs/example2.at-access_log common
/VirtualHost

in server.xml:

Engine name=Standalone defaultHost=localhost debug=0

!-- Define the default virtual host --
Host name=localhost debug=0 appBase=webapps unpackWARs=true
Context path=/manager docBase=manager
 debug=0 privileged=true/
   Context path=/iw-mount/default/main/Development/WORKAREA
 docBase=/.iwmnt/default/main/Development/WORKAREA
 crossContext=false
 debug=0
 reloadable=true 
/Context
...
/Host

Host name=example1.de appBase=/example1.de debug=0
Context path=/static_js
 docBase=/example1.de/static_js
 crossContext=false
 debug=0
 override=true
 reloadable=true 
/Context

Context path=
 docBase=/example1.de
 crossContext=false
 debug=0
 override=true
 reloadable=true 
/Context
/Host

Host name=example2.de appBase=/example1.de debug=0
Context path=/static_js
 docBase=/example2.de/static_js
 crossContext=false
 debug=0
 override=true
 reloadable=true 
/Context

Context path=
 docBase=/example2.de
 crossContext=false
 debug=0
 override=true
 reloadable=true 
/Context
/Host
/Engine


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




FW: How to setup multi-virtual hosts on tomcat 4.0 and apache 1.3

2002-02-04 Thread Thanh Duong



-Original Message-
From: Thanh Duong [mailto:[EMAIL PROTECTED]]
Sent: Montag, 4. Februar 2002 19:55
To: Tomcat Users List
Subject: How to setup multi-virtual hosts on tomcat 4.0 and apache 1.3


Hi,
I am trying to setup multi virtual hosts on tomcat 4.0 and apache 1.3. I
don't know what I did wrong, but it doesn't work.
When I try to call http;//example1.de/index.jsp, it said
The requested resource (/index.jsp) is not available.

Does someone know how to setup virtual hosts correctly?

Thanks
Thanh


I did the following:

in httpd.conf:
NameVirtualHost 1.2.1.211
VirtualHost 1.2.1.211
   DocumentRoot /example1.de
   ServerName example1.de
   ServerPath /example1.de/
   ErrorLog logs/example1-error_log
   CustomLog logs/example1-access_log common
/VirtualHost

VirtualHost 1.2.1.211
   DocumentRoot /example2.de
   ServerName example2.de
   ServerPath /example2.de/
   ErrorLog logs/example2.at-error_log
   CustomLog logs/example2.at-access_log common
/VirtualHost

in server.xml:

Engine name=Standalone defaultHost=localhost debug=0

!-- Define the default virtual host --
Host name=localhost debug=0 appBase=webapps unpackWARs=true
Context path=/manager docBase=manager
 debug=0 privileged=true/
   Context path=/iw-mount/default/main/Development/WORKAREA
 docBase=/.iwmnt/default/main/Development/WORKAREA
 crossContext=false
 debug=0
 reloadable=true 
/Context
...
/Host

Host name=example1.de appBase=/example1.de debug=0
Context path=/static_js
 docBase=/example1.de/static_js
 crossContext=false
 debug=0
 override=true
 reloadable=true 
/Context

Context path=
 docBase=/example1.de
 crossContext=false
 debug=0
 override=true
 reloadable=true 
/Context
/Host

Host name=example2.de appBase=/example1.de debug=0
Context path=/static_js
 docBase=/example2.de/static_js
 crossContext=false
 debug=0
 override=true
 reloadable=true 
/Context

Context path=
 docBase=/example2.de
 crossContext=false
 debug=0
 override=true
 reloadable=true 
/Context
/Host
/Engine


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: RE: javax.servlet.ServletException: Servlet.init() for servlet js p threw exception in Tomcat4.0.1 with JBuilder6

2002-01-31 Thread Thanh Duong

Thanks to all for help.
I got it running now. I include the package SAX and it works.

Thanh

Tomcat Users List [EMAIL PROTECTED] schrieb am 31.01.02:
 Just from reading the error logs you sent:
 
  root cause 
  
  java.lang.NoClassDefFoundError: org/xml/sax/SAXException
 
 ...it sounds like your classpath for JBuilder doesn't include this class.
 
 J.
 -- 
 You're only jealous cos the little penguins are talking to me. 
 
 
 
 ***
 For more information on Ordnance Survey products and services,
 visit our web site at http://www.ordnancesurvey.co.uk
 ***
 
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 

-- 
-
www.no-voices.de

Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! 
Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




mod_webapp.so for tomcat 4.0.1 with apache 1.3.20 on the solaris 5.7

2002-01-31 Thread Thanh Duong

Hi,
Does somebody have the mod_webapp.so connector for solaris 5.7 in order to make 
tomcat-4.0.1 run with apache 1.3.20?

The mod_webapp.so to download in jakarta.apache.org is for solaris 8.

Thanks

Thanh

-- 
-
www.no-voices.de

Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! 
Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




How to configurate tomcat 4.0 with JBuilder 6.0 professional?

2002-01-30 Thread Thanh Duong

Hi,
Does anybody know to configurate tomcat 4.0 with JBuilder 6.0 Professional?

Thanks
Thanh

Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! 
Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: AW: How to configurate tomcat 4.0 with JBuilder 6.0 professional?

2002-01-30 Thread Thanh Duong

Hi Oliver,
I have to configurate the project properties in order to make tomcat 4 running.
Sorry, I do not understand your answer.
Can you let me know what you have in your project properties under run tab?

Thanks
Thanh


Tomcat Users List [EMAIL PROTECTED] schrieb am 30.01.02:
 TC4.0 is within JB6, just push the right mouse button and select web run. TC
 starts..!
 What's your problem ?
 Oliver 
 
  AXA eSolutions GmbH
  AXA Konzern AG Germany
  Oliver Lauer 
  Web Architect
  Wörthstraße 34
  D-50668 Köln
  Germany
  Tel.: +49 221 148 31277
  Fax: +49 221 148 43963
  Mobil: +49 179 59 064 59
  e-Mail: [EMAIL PROTECTED]
  _
  
 
 
 -Ursprüngliche Nachricht-
 Von: Thanh Duong [mailto:[EMAIL PROTECTED]]
 Gesendet: Mittwoch, 30. Januar 2002 16:42
 An: [EMAIL PROTECTED]
 Betreff: How to configurate tomcat 4.0 with JBuilder 6.0 professional?
 
 
 Hi,
 Does anybody know to configurate tomcat 4.0 with JBuilder 6.0 Professional?
 
 Thanks
 Thanh
 
 Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! 
 Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 
 --
 Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene Information 
nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung reichen wir Ihnen gerne 
auf Anforderung in schriftlicher Form nach. Beachten Sie bitte, dass jede Form der 
unautorisierten Nutzung, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des 
Inhalts dieser E-Mail nicht gestattet ist.Diese Nachricht  ist ausschliesslich fuer 
den bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie nicht der 
vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, so bitten wir Sie, 
sich mit dem Absender der E-Mail in Verbindung zu setzen.
 
 For legal and security reasons the information provided in this e-mail is not 
legally binding. Upon request we would be pleased to provide you with a legally 
binding confirmation in written form. Any form of unauthorised use, publication, 
reproduction, copying or disclosure of the content of this e-mail is not permitted. 
This message is exclusively for the person addressed or their representative. If you 
are not the intended recipient of this message and its contents, please notify the 
sender immediately.
 
 ==
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 


__
Die Nummer, die man nie vergisst: Ihre persönliche Wunschrufnummer von WEB.DE! 
Jetzt einsteigen http://freemail.web.de


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception in Tomcat4.0.1 with JBuilder6

2002-01-30 Thread Thanh Duong

Hi,
I got an exception when calling JSP page using Tomcat4 in JBuilder6.
If I run tomcat4.0.1 in a Dos window, then I dont get any exceptions. It works fine.
Does anybody know the reason for this? 

Thanks in advance.

Thanh


Below a cut-out of the error message:
type Exception report

message Internal Server Error

description The server encountered an internal error (Internal Server Error) that 
prevented it from fulfilling this request.

exception 

javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:871)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:615)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
at 
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
at java.lang.Thread.run(Thread.java:484)


root cause 

java.lang.NoClassDefFoundError: org/xml/sax/SAXException
at 
org.apache.jasper.compiler.TldLocationsCache.processWebDotXml(TldLocationsCache.java:164)
at org.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache.java:138)
at org.apache.jasper.EmbededServletOptions.(EmbededServletOptions.java:324)
at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:266)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:852)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:615)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at