Re: problems at thejarbar.org

2010-06-01 Thread yuccanel
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

Re: [OT] Re: problems at thejarbar.org

2010-06-02 Thread yuccanel
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

Re: [OT] Re: problems at thejarbar.org

2010-06-02 Thread yuccanel
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

Re: What is the difference between ${param.P} and <%= request.getParameter("P") %>?

2010-06-09 Thread yuccanel
-- 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

Re: [OT] Re: problems at thejarbar.org

2010-06-11 Thread yuccanel
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

How to bind jndi realm datasource so that my hibernate can find it can find it

2010-06-14 Thread yuccanel
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:

hibernate not finding global resource datasource defined by tomcat

2010-06-14 Thread yuccanel
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:

Re: hibernate not finding global resource datasource defined by tomcat

2010-06-14 Thread yuccanel
-- 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

Re: hibernate not finding global resource datasource defined by tomcat

2010-06-15 Thread yuccanel
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

tomcat hibernate wiki

2010-06-15 Thread yuccanel
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

Re: tomcat hibernate wiki

2010-06-15 Thread yuccanel
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

org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

2010-06-15 Thread yuccanel
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

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

2010-06-15 Thread yuccanel
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

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

2010-06-15 Thread yuccanel
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

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

2010-06-15 Thread yuccanel
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

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

2010-06-16 Thread yuccanel
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

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

2010-06-16 Thread yuccanel
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

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

2010-06-16 Thread yuccanel
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

recommend a host please.

2010-06-16 Thread yuccanel
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

Re: recommend a host please.

2010-06-16 Thread yuccanel
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

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

2010-06-19 Thread yuccanel
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 :( --

org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' AGAIN!

2010-06-19 Thread yuccanel
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

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' AGAIN!

2010-06-21 Thread yuccanel
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,

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' AGAIN!

2010-06-21 Thread yuccanel
-- 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

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' AGAIN!

2010-06-21 Thread yuccanel
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

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' AGAIN!

2010-06-22 Thread yuccanel
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

fantastic! but what's going on?

2010-06-23 Thread yuccanel
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

What's going on (are my wars getting corrupted?

2010-06-23 Thread yuccanel
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

Re: fantastic! but what's going on?

2010-06-23 Thread yuccanel
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...

Nothing helps

2010-06-24 Thread yuccanel
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. --