Perhaps I misunderstood a few things and am trying to force something that
works on my test rig to work in production?
Can a Should I let hibernate manage it's own and give tomcat it's own
seperate for authentication?
any help is hugely appreciated.
--
aplogies
--
From: "Pid"
Sent: Wednesday, June 23, 2010 1:44 PM
To: "Tomcat Users List"
Subject: Re: fantastic! but what's going on?
-
To unsubscribe, e-mail: users-unsubscr...
I am pleased to say that myearlier issue appears to have solved itself? But
what is happening? I had to remake, recompile, redeploy and restart just to
get tomcat and hibernate to play nicely with the database! Now I am unable
to use the realm to authenticate users but I don't know why.
perhaps
I am pleased to say that myearlier issue appears to have solved itself? But
what is happening? I had to remake, recompile, redeploy and restart just to
get tomcat and hibernate to play nicely with the database! Now I am unable
to use the realm to authenticate users but I don't know why.
perhap
tomcats!, clearly it is time to move onbecause there is a workaround to
this issue by having hibernate manage it's own connection pool. I am not
going to recheck my iurls again and jndi names because they are correct and
my hosting provider has assisted me in checking and found no wrong. for
Hello, I have done as David suggested and has not fixed issue. If you visit
thejarbar.org you will see the test page that confirms the jdbc has been
opned and therefore the lib is present
I found a possible reason in hibernate .cfg and fixed it but still got error
after redeployment 1 my databse
--
From: "Martin Gainty"
Sent: Monday, June 21, 2010 1:16 PM
To: "Tomcat Users List"
Subject: RE: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create
JDBC driver of class '' for connect URL 'null' AGAIN!
if you took time to look at
Ok I thought I found my solution yesterday with eapps but turns out not to
be. I am posting a possible fix in hope that this may help someone els who
reads this thread one day.
apart from making sure that paths are correct, driver is inside tomcat/lib
and that resource etc are defined correct,
I have no choice left but to not let hibernate use my tomcat datasource. This
is not good. I have even moved host provider in hope that it was previous fult
tomcat install from dailyrazor (tomcat 6 does not hav common/lib) and is meant
to have tomcat/lib
I can say that my new container is corre
I moved hosting provider and have found eapps to be excellent. Despite the
same version of tomcat and same layout, I am unable to resolve this
exception. my databases are correct, the jdbc jar is in tomcat/lib. I don't
know what more to do :(
--
Please can someone also explain process of ensuring that my dns name comes
with me to new host?
--
From: "Ken Bowen"
Sent: Wednesday, June 16, 2010 6:14 PM
To: "Tomcat Users List"
Subject: Re: recommend a host please.
Previously suggested eApp
I would like some feedback on a hosting provider for me. I have had little
choice but to cancel at dailyrazor as they failed to provide me with what I was
paying for. To my horror, I asked for new tomcat and was given a tomcat 5 again
as was evident again by the presence of no lib in root and pr
The bottom line for me is that this exception from what I have read usually
happens when container can not find the mysql connector. Gonna ask them to
reinstall my tomcat instance and take it from there.
--
From: "Pid"
Sent: Wednesday, June 16, 2
I manually added the "lib" dir to root of production server and am still
stuck with same exception
I now have also remove mysql connector as provider instructed me t because
there is already a connector on server-side...
My last hope, it would appear is that I missed something in config f
Ok I am getting to the bottom of this but my hosting provider wish to argue.
They moved me over a month ago from tomcat 5 to 6 and I remember the
installation was not clean because I had some stuff left over from the
tomcat 5 in my new tomcat 6.
I downloaded tomcat 5 and viewed the root direct
my provider has asked me to use common/lib for connector or those wishing to
argue that there is no common/lib. This is where I currently have it in
production and am getting the runtime exception.
as mentioned, in test server I am uaing tomcat/lib and all works, waiting to
confirm that tomcat
Ok, no need to accuse me of lying, please see screenshot showing common/lib
and other screenie showing there is no tomcat/lib :o
--
From: "Caldarale, Charles R"
Sent: Wednesday, June 16, 2010 4:03 AM
To: "Tomcat Users List"
Subject: RE: org.apac
production is tomcat 6.0.20 thanks for the reply. had to call it a night so
sorry for delay in reply.
--
From: "Mark Eggers"
Sent: Wednesday, June 16, 2010 3:16 AM
To: "Tomcat Users List"
Subject: Re: org.apache.tomcat.dbcp.dbcp.SQLNestedExceptio
I have tried to check why this exception is thrown in production but not
development
The difference between production snd development server is:
development) put mysql jar into CATALINA/lib (tomcat 6.0.26)
production) choice of common/lib or share/lib
exception is thrown by hibernate whic
Much appreciated, Very nice wiki that got me up and running apart from some
odd exception (does not happen in development only production)
root cause
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of
class '' for connect URL 'null'
org.apache.tomcat.db
Please add to the wiki that hibernate dialect must still be set. Wiki says,
must have NO database configuration properties but just got an exception
complaining om missing dialect properties
--
From: "Mark Eggers"
Sent: Monday, June 14, 2010 11:4
That is so fantastic! Well done. I was able to get it working. Perhaps
someone can explain the reasons for runtime exception complaining that the
jndi name was not bound in current context? The wiki is very good but I like
to understand the work behind the ecene a little too. My guess is that l
--
From: "Christopher Schultz"
Sent: Tuesday, June 15, 2010 12:03 AM
To: "Tomcat Users List"
Subject: Re: hibernate not finding global resource datasource defined by
tomcat
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Yuccal Nel,
On 6/14/2
Hello tomcats!!
Please advise as to why hibernate us unable to find jndi datasource configured
in tomcat?
Trying 2 different setups here:
1) server.xml resource as follows:
throws:
Jun 14, 2010 10:13:20 PM org.apache.catalina.core.ApplicationContext log
Jun 14, 2010 10:13:
Hello tomcats !! I learnt a lot since last discussion(problems at
thejarbar.org) and am moving on...
I now wish to configure the datasource used by the realm to also be used by
hibernate
Currently my server.xml looks as follows:
Hello tomcats !! :) A quick question as I tackle configuring jndi resource
for first time: I was referred to using jndi in production environmrnt snd
hsve noted through documentation found in test server that there are 3
possible places to define jndi resources:
1)the server .xml(for every web
--
From: "Pid"
Sent: Wednesday, June 09, 2010 1:09 AM
To: "Tomcat Users List"
Subject: Re: What is the difference between ${param.P} and <%=
request.getParameter("P") %>?
other than the one being EL and easier/quicker to code, not much I think
Ok I appreciatethis big help. I am expecting a small amount of users though
so does that mean that a datasource realm may be overkill? I am not implying
that this is what was being said earlier, just trying to learn more. I have
noticed though that forum posters seem to assume a lot at times, an
Hello, with all this confusion (and I am loving it) I will reveal what I am
doing :p My website and webapp is to showcase my skills to get work and with
a very long term goal of blogging about Java development and having a site
to distribute stuff from.
There was a question as to why I am usi
According to the stack trace I posted, is it possible that hibernate could
also be a seperate casue of transient mysql exception or does this only need
to be fixed in tomcat?
--
From: "Mark Eggers"
Sent: Monday, May 31, 2010 11:57 AM
To: "Tomcat U
30 matches
Mail list logo