Newbie answer: Are you sure you are waiting long enough? The fisrt
timre a page is requested tomcat does the compilation, and so it can
take quite a while (a few seconds). After this the page is servered
much quicker.
HTH,
Hugh
Abid Hussain wrote:
Hi everybody,
After restarting Tomcat (5
Stephen More wrote:
Is there a war file available for download that will do nothing more than:
select 'HelloWorld from MySQL'; using JNDI ?
I have tried following many examples on the web and I keep ending up with:
Cannot create JDBC driver of class '' for connect URL 'null'
At this poin
I have finally fixed this problem. It was to do with the Resource tags
name parameter in server.xml not matching the res-ref-name tag in the
applications WEB-INF/web.xml file.
Thanks for all the patient help I got here.
Hugh Morgan
Pascal wrote:
Hello
Do you tried to connect to your databse normaly (I mean without tomcat)
to see if your user/pwd and database are set correctly in Mysql
Like this for example
#mysql -uUSER -pPASSWORD DATABASE
[EMAIL PROTECTED] [~/temp/java]# mysql -uroot -pROOT_PASSWORD smsserver
Reading
David Smith wrote:
Yes, authority in the url is the name of the database being accessed.
URL syntax looks something like this:
jdbc:mysql//[DNS_name|IP][:portNum]/database
portNum is 3306 if not specified and you can add a ? and connect options
after the database name as needed.
I have made
Franck Borel wrote:
Try this:
usernameroot
passwordROOT_PASSWORD
driverClassNamecom.mysql.jdbc.Driver
urljdbc:mysql://localhost/authority
Same error (after changing paramater ;) ). Did make me think though,
what is authority? Should I have cganged this (to the name of
Franck Borel wrote:
Where did you place your Realm block?
It must be placed inside the context block like this:
I did not have it here, I had it in the Engine tag. I have now changed
it, and stoped and restarted the server. I still get the same error.
The relavent bit of my server.
Franck Borel wrote:
Have you set the entry unpackWARs true like this ?
Yes, that is exactly what my Host tag looks like, and the war file is
unpacked correctly;
Thanks for the help.
-
To unsubscribe, e-mail: [EM
Michael McQuade wrote:
Newbie question here folks I read in previous mails that there is a Catalina.out file Is this an error logging file? I looked in my Tomcat directory for it, but I do not have one If its not, do I need to Enable error logging files somehow Or, are they th
Franck Borel wrote:
Have you installed a mysql-connector?
--> http://dev.mysql.com/downloads/connector/j/3.0.html
- unpack
- find a file called mysql-connector-java-..jar
- copy this file into the common/lib directory of your Tomcat installation
-- Franck
On the VPS there is already the
I am tring to get an web site that I have developed with Java Studio
Creator working on a VPS. I cannot get tomcat to comunicate with the
MySQL database. I have got a minimal web site working, and I have added
a simple dtabase query to it and I get the error at [1] (for full error
see http://
11 matches
Mail list logo