Sent: 03/09/08 12:35 pm
> To: Tomcat Users List
> Subject: Re: Can't execute servlet project
>
> If the context xml file is in
> /tomcat/apache-tomcat-5.5.26/conf/Catalina/localhost, it should be named
> after your webapp (e.g.: DBTest.xml). It's only named context.xm
If the context xml file is in
/tomcat/apache-tomcat-5.5.26/conf/Catalina/localhost, it should be named
after your webapp (e.g.: DBTest.xml). It's only named context.xml when
in your webapp's META-INF folder.
--David
sam wun wrote:
After moved the context.xml file to
/tomcat/apache-tomcat-5.
riginal Message -
From: sam wun
Sent: 03/09/08 11:13 am
To: Tomcat Users List
Subject: Re: Re: Can't execute servlet project
After moved the context.xml file to
/tomcat/apache-tomcat-5.5.26/conf/Catalina/localhost/
with the content changed to:
WEB-INF/web.xml
type=&
/conf #
do I need to remove DBTest.xml and web.xml here?
Thanks
Sam
> - Original Message -
> From: sam wun
> Sent: 03/09/08 11:13 am
> To: Tomcat Users List
> Subject: Re: Re: Can't execute servlet project
>
> After moved the context.xml file to
> /tom
let.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
...
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> - Original Message -
> From: David Smith
> Sent: 03/09/08 03:06 am
> To: Tomcat Users List
> Subject: Re:
- Original Message -----
From: David Smith
Sent: 03/09/08 01:49 am
To: Tomcat Users List
Subject: Re: Can't execute servlet project
DataSource invalid: "org.apache.tomcat.dbcp.dbcp.SQLNestedException:
Cannot create JDBC driver of class '' for connect URL
03/09/08 01:49 am
> To: Tomcat Users List
> Subject: Re: Can't execute servlet project
>
> DataSource invalid: "org.apache.tomcat.dbcp.dbcp.SQLNestedException:
> Cannot create JDBC driver of class '' for connect URL 'null'"
>
> This error ty
upport.doStartTag(QueryTagSupport.java:159)
> >
> >
> org.apache.jsp.testdb_jsp._jspx_meth_sql_005fquery_005f0(testdb_jsp.java:101)
> > org.apache.jsp.testdb_jsp._jspService(testdb_jsp.java:58)
> > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:
am
> To: Tomcat Users List
> Subject: Re: Re: Can't execute servlet project
>
> Thanks David,
>
>
>
> After copied the jstl and standard dot jar files into the directory:
>
> linux:~/tomcat/apache-tomcat-5.5.26/webapps/DBTest/WEB-INF/lib # ls
> . .. jstl.ja
pServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
- Original Message -
From: David Smith
Sent: 03/09/08 01:23 am
To: Tomcat Users List
Subject: Re: Can't execute servlet project
Download the binary zip file and expand
Servlet.java:803)
> - Original Message -
> From: David Smith
> Sent: 03/09/08 01:23 am
> To: Tomcat Users List
> Subject: Re: Can't execute servlet project
>
> Download the binary zip file and expand it. Within it is a lib
> directory with just standard
ither.
Thanks
- Original Message -
From: David Smith
Sent: 02/09/08 11:44 pm
To: Tomcat Users List
Subject: Re: Can't execute servlet project
Hmmm... good question. I moved over to Maven and don't manually
download these any more. This looks like it should do the tri
ervlet.JspServletWrapper.service(JspServletWrapper.java:302)
> >>
> >>>
> >>>
> >>
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
> >>
> >>> org.apache.jasper.servlet.JspServlet.servi
the common/lib/ directory.
where can I download it from?
Thanks
Sam
- Original Message -
From: David Smith
Sent: 02/09/08 10:39 pm
To: Tomcat Users List
Subject: Re: Can't execute servlet project
Do you have jstl.jar and standard.jar in your WEB-INF/lib directory?
--David
Hi David,
No, I don't have this 2 jar files in the common/lib/ directory.
where can I download it from?
Thanks
Sam
> - Original Message -
> From: David Smith
> Sent: 02/09/08 10:39 pm
> To: Tomcat Users List
> Subject: Re: Can't execute servlet project
javax.sql.DataSource
Container
Thanks
Sam
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
- Original Message -
From: Martin Gainty
Sent: 28/08/08 10:07 pm
To: [EMAIL PROTECTED]
Subject: RE: Can't execute servlet project
d
6 am
> To: Tomcat Users List
> Subject: Re: Can't execute servlet project
>
> The datasource for your webapp isn't setup correctly. Take a look at
>
> http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html
> for help on how to properly setup a da
vice(HttpServlet.java:803)
> - Original Message -
> From: Martin Gainty
> Sent: 28/08/08 10:07 pm
> To: [EMAIL PROTECTED]
> Subject: RE: Can't execute servlet project
>
> david's advice is correc
true"/>
where username/password is the root/admin user/password of the mysql
database?
thanks
- Original Message -
From: David Smith
Sent: 28/08/08 03:06 am
To: Tomcat Users List
Subject: Re: Can't execute servlet project
The datasource for your webapp isn&
5.26/common/lib # ls
mysql-connector-java-5.1.3-rc-bin.jar
mysql-connector-java-5.1.3-rc-bin.jar
Do you know how to configure tomcat to make use of it?
Thanks
Sam
- Original Message -
From: Pid
Sent: 28/08/08 06:47 pm
To: Tomcat Users List
Subject: Re: Can't execute serv
of it?
Thanks
Sam
> - Original Message -
> From: Pid
> Sent: 28/08/08 06:47 pm
> To: Tomcat Users List
> Subject: Re: Can't execute servlet project
>
> sam wun wrote:
> > Do I need to put mysql driver in the common/lib/ directory in linux?
>
> Yes, t
t;
> thanks
>
>
>
>
>
>> - Original Message -
>> From: David Smith
>> Sent: 28/08/08 03:06 am
>> To: Tomcat Users List
>> Subject: Re: Can't execute servlet project
>>
>> The datasource for your webapp isn't setup c
> Thanks
>
>
>
>> - Original Message -
>> From: sam wun
>> Sent: 28/08/08 04:44 pm
>> To: Tomcat Users List
>> Subject: Re: Re: Can't execute servlet project
>>
>> HI there,
>>
>>
>>
>> According to the tomcat online
t Users List
> Subject: Re: Re: Can't execute servlet project
>
> HI there,
>
>
>
> According to the tomcat online document, do I have to modify the
> context.xml file?
>
> $CATALINA_HOME/conf/context.xml
>
>
>
> with the following
age -
> From: David Smith
> Sent: 28/08/08 03:06 am
> To: Tomcat Users List
> Subject: Re: Can't execute servlet project
>
> The datasource for your webapp isn't setup correctly. Take a look at
>
> http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howt
inal Message -
From: David Smith
Sent: 28/08/08 12:44 am
To: Tomcat Users List
Subject: Re: Can't execute servlet project
Looks normal .. you won't get a file named CreateCustomerServlet under
DbTest. You should get a class named CreateCustomerServlet.class in
WEB-INF/classes/ser
o: Tomcat Users List, Tomcat Users List
Subject: Re: Re: Can't execute servlet project
HI there,
I managed to fix the jdk version error, now it comes with a different
error.
The url I am trying to put on the firefox browser is
http://10.1.9.1:8080/DBTest/CreateCustomerServlet
The e
t Users List
> Subject: Re: Re: Can't execute servlet project
>
> HI there,
>
>
>
> I managed to fix the jdk version error, now it comes with a different
> error.
>
> The url I am trying to put on the firefox browser is
>
> http://10.1.9.1:8080/DBTes
ce of the root cause is available in the Apache
Tomcat/5.5.26 logs.
> - Original Message -
> From: David Smith
> Sent: 28/08/08 12:44 am
> To: Tomcat Users List
> Subject: Re: Can't execute servlet project
>
> Looks normal .. you won't get a file nam
> From: sam wun [mailto:[EMAIL PROTECTED]
> OK, I followed your instruction to invoke the servlet class
> file, but I got errors.
[...]
> root cause java.lang.UnsupportedClassVersionError: Bad version number in
> .class file
You're compiling your class with a newer Java version than your Tomcat in
; From: David Smith
> Sent: 28/08/08 12:44 am
> To: Tomcat Users List
> Subject: Re: Can't execute servlet project
>
> Looks normal .. you won't get a file named CreateCustomerServlet under
> DbTest. You should get a class named CreateCustomerServlet.class in
> WEB-INF
ctory listing of my tomcat server (in linux):
linux:~/tomcat/apache-tomcat-5.5.26/webapps/DBTest # ls
. .. META-INF WEB-INF customers.jsp
Thanks
Sam
- Original Message -
From: David Smith
Sent: 27/08/08 11:29 pm
To: Tomcat Users List
Subject: Re: Can't execute servlet pro
1:29 pm
> To: Tomcat Users List
> Subject: Re: Can't execute servlet project
>
> But if you followed the tutorial, there should be a servlet mapping in
> your web.xml looking like what I copied and pasted from the article
> below:
>
>
> Create Customer
older.
Thanks
Sam
- Original Message -
From: David Smith
Sent: 27/08/08 09:59 pm
To: Tomcat Users List
Subject: Re: Can't execute servlet project
I see the jsp is a view and as such wasn't designed to be run on
it's own. Try http://localhost/DBTest/ListCusto
HI there,
It sounds logical, but there is no LIstCustomers in the DBTest folder.
Thanks
Sam
> - Original Message -
> From: David Smith
> Sent: 27/08/08 09:59 pm
> To: Tomcat Users List
> Subject: Re: Can't execute servlet project
>
> I see the
within this transmission.
> Date: Wed, 27 Aug 2008 07:59:16 -0400
> From: [EMAIL PROTECTED]
> To: users@tomcat.apache.org
> Subject: Re: Can't execute servlet project
>
> I see the jsp is a view and as such wasn't designed to be run on
> it's own. Try h
t: 26/08/08 11:28 pm
To: Tomcat Users List
Subject: Re: Can't execute servlet project
1. The 404 error accessing /DbTest/ -- define a welcome file in
DBTest/WEB-INF/web.xml. Online docs at tomcat.apache.org and the
servlet spec will help with this.
2. It would appear you need to do some
vid Smith
> Sent: 26/08/08 11:28 pm
> To: Tomcat Users List
> Subject: Re: Can't execute servlet project
>
> 1. The 404 error accessing /DbTest/ -- define a welcome file in
> DBTest/WEB-INF/web.xml. Online docs at tomcat.apache.org and the
> servlet spec will help with
1. The 404 error accessing /DbTest/ -- define a welcome file in
DBTest/WEB-INF/web.xml. Online docs at tomcat.apache.org and the
servlet spec will help with this.
2. It would appear you need to do some more research on what you want to
do. It looks like you are trying to expose an ArrayList
39 matches
Mail list logo