Re: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil, On 7/24/2009 3:39 PM, Neil Youngman wrote: > I don't think there's a permissions issue. > > $ ls -l > ~/wirefast/dev/tomcat6/servlet-example/webapps/axis2/META-INF/context.xml > -rw-r--r-- 1 neil neil 343 2009-07-22 14:44 > /home/neil/wirefas

RE: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-27 Thread Caldarale, Charles R
> From: Neil Youngman [mailto:neil.young...@wirefast.com] > Subject: RE: [ERROR] Cannot create JDBC driver of class '' for connect > URL 'null' > > No, the axis2.war is the standard Axis2 WAR distribution, as downloaded > from the relevant website.

RE: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-27 Thread Neil Youngman
Caldarale, Charles R wrote: >> From: Neil Youngman [mailto:neil.young...@wirefast.com] >> Subject: RE: [ERROR] Cannot create JDBC driver of class '' for connect >> URL 'null' >> >> The solution to this one seems to be that removing webapps/ax

RE: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-27 Thread Caldarale, Charles R
> From: Neil Youngman [mailto:neil.young...@wirefast.com] > Subject: RE: [ERROR] Cannot create JDBC driver of class '' for connect > URL 'null' > > The solution to this one seems to be that removing webapps/axis2.war > allows it to "see" the con

RE: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-27 Thread Neil Youngman
The solution to this one seems to be that removing webapps/axis2.war allows it to "see" the context.xml file. Neil Youngman - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h.

RE: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-24 Thread Neil Youngman
Christopher Schultz wrote: > Neil, > > On 7/24/2009 10:21 AM, Neil Youngman wrote: >> type="javax.sql.DataSource" >> driverClassName="oracle.jdbc.OracleDr\ >> iver" > > Is that really the content from your XML file with the backslash and > everything? 'cause XML doesn't do backslashe

Re: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil, On 7/24/2009 10:21 AM, Neil Youngman wrote: > type="javax.sql.DataSource" > driverClassName="oracle.jdbc.OracleDr\ > iver" Is that really the content from your XML file with the backslash and everything? 'cause XML doesn't do bac

RE: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-24 Thread Neil Youngman
Caldarale, Charles R wrote: >> From: Neil Youngman [mailto:neil.young...@wirefast.com] >> Subject: RE: [ERROR] Cannot create JDBC driver of class '' for connect >> URL 'null' >> >> That is interesting, because it appears to check the existence of t

RE: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-24 Thread Caldarale, Charles R
> From: Neil Youngman [mailto:neil.young...@wirefast.com] > Subject: RE: [ERROR] Cannot create JDBC driver of class '' for connect > URL 'null' > > That is interesting, because it appears to check the existence of the > axis2/META-INF/context.xml file, but, a

RE: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-24 Thread Neil Youngman
I'm still banging my head against this particular brick wall. I've cut the servlet down to a minimal example and tried to get as much debug out as possible, but I've not got much in the way of clues. I've reached a point where tracing the tomcat session with strace was the only thing I could thi

RE: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-14 Thread Neil Youngman
Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Neil, > > Just a few comments on your connection acquisition code: > > On 7/14/2009 12:45 PM, Neil Youngman wrote: >> private static final String CONTEXT_NAME = "java:/comp/env"; >> private static final String

Re: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil, Just a few comments on your connection acquisition code: On 7/14/2009 12:45 PM, Neil Youngman wrote: > private static final String CONTEXT_NAME = "java:/comp/env"; > private static final String DB_NAME = "jdbc/AppDatabase"; If you have

RE: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-14 Thread Neil Youngman
Caldarale, Charles R wrote: >> From: Neil Youngman [mailto:neil.young...@wirefast.com] >> Subject: RE: [ERROR] Cannot create JDBC driver of class '' for connect >> URL 'null' >> >> private static final String DB_

RE: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-14 Thread Caldarale, Charles R
> From: Neil Youngman [mailto:neil.young...@wirefast.com] > Subject: RE: [ERROR] Cannot create JDBC driver of class '' for connect > URL 'null' > > private static final String DB_NAME = "jdbc/InterceptDatabase"; But your has:

RE: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-14 Thread Neil Youngman
Christopher Schultz wrote: >> Either way, it's >> typically a disconnect between the and it's use in the >> jsp/servlet code. > > He didn't post his code. It would be good to see what is on line 208 in > com.wirefast.wsam.service.WMSSubmissionService.getConnection. Oops. I meant to include that.

Re: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 7/14/2009 11:29 AM, David Smith wrote: > In the past, it's typically been caused by some misspell of the JNDI > name between the element and the > ... in the WEB-INF/web.xml. I've never had to use a element in web.xml for a defined in M

Re: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-14 Thread David Smith
In the past, it's typically been caused by some misspell of the JNDI name between the element and the ... in the WEB-INF/web.xml. I'd have to go back to the original post to tell if that's the case here or not. Either that or the resource was declared as a global resource without the requisite

Re: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 7/14/2009 8:31 AM, Caldarale, Charles R wrote: > The fact that the JDBC-ODBC bridge shows up in the stack trace says > that your published config is not the one being used. Actually, I think it's the driver registration that's failing. Sin

RE: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-14 Thread Caldarale, Charles R
> From: Rainer Frey [mailto:rainer.f...@inxmail.de] > Subject: Re: [ERROR] Cannot create JDBC driver of class '' for connect > URL 'null' > > > Tomcat won't create the [engine]/[host] directory until it > > needs to, such as when copying a elemen

Re: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-14 Thread Mark Shifman
I wonder if somehow the factory classes are confused. My tomcat6/lib contains tomcat-dbcp.jar and I don't have commons-dbcp-1.1.jar in my webapp at all. I also don't have a factory attribute in my resource definition since the right one is picked up by default. (I think this changed in tomcat6)

Re: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-14 Thread Rainer Frey
On Tuesday 14 July 2009 15:56:07 Caldarale, Charles R wrote: > > From: Neil Youngman [mailto:neil.young...@wirefast.com] > > Subject: RE: [ERROR] Cannot create JDBC driver of class '' for connect > > URL 'null' > > > > As an experiment I removed th

RE: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-14 Thread Caldarale, Charles R
> From: Neil Youngman [mailto:neil.young...@wirefast.com] > Subject: RE: [ERROR] Cannot create JDBC driver of class '' for connect > URL 'null' > > As an experiment I removed the WSAM directory and several restarts have > not recreated it. Tomcat won't

RE: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-14 Thread Neil Youngman
Caldarale, Charles R wrote: >> From: Neil Youngman [mailto:neil.young...@wirefast.com] >> Subject: RE: [ERROR] Cannot create JDBC driver of class '' for connect >> URL 'null' >> >> I should have realised that WSAM is the engine name from server.

RE: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-14 Thread Neil Youngman
Rainer Frey (Inxmail GmbH) wrote: > On Tuesday 14 July 2009 10:42:19 Neil Youngman wrote: >> I'm having trouble getting Oracle access from Axis2 to work under >> Tomcat 6. I've spent a lot of time Googling and prodding and poking >> the application and I haven't found a solution that works for me.

RE: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-14 Thread Caldarale, Charles R
> From: Neil Youngman [mailto:neil.young...@wirefast.com] > Subject: RE: [ERROR] Cannot create JDBC driver of class '' for connect > URL 'null' > > I should have realised that WSAM is the engine name from server.xml So what's under the WSAM directory?

Re: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-14 Thread Rainer Frey (Inxmail GmbH)
On Tuesday 14 July 2009 10:42:19 Neil Youngman wrote: > I'm having trouble getting Oracle access from Axis2 to work under > Tomcat 6. I've spent a lot of time Googling and prodding and poking > the application and I haven't found a solution that works for me. > > Oddly the configuration I'm using s

RE: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-14 Thread Neil Youngman
Rainer Frey wrote: > Maybe 'WSAM' is the engine name. Maybe the OP should post his complete > server.xml. Rainer is of course right. I should have realised that WSAM is the engine name from server.xml The server.xml is quite simple. $ cat /home/tomcat6/wsam/conf/server.xml

Re: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-14 Thread Rainer Frey
On Tuesday 14 July 2009 14:31:06 Caldarale, Charles R wrote: > > From: Neil Youngman [mailto:neil.young...@wirefast.com] > > Subject: RE: [ERROR] Cannot create JDBC driver of class '' for connect > > URL 'null' > > > > That's $CATALINA_BASE/co

RE: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-14 Thread Neil Youngman
Caldarale, Charles R wrote: >> From: Neil Youngman [mailto:neil.young...@wirefast.com] >> That's $CATALINA_BASE/conf, not $CATALINA_HOME/conf > > Regardless, the lack of an [engine] subdirectory is an indication that you > may not be running Tomcat from where you think you are. > > 1) What's in $C

RE: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-14 Thread Caldarale, Charles R
> From: Neil Youngman [mailto:neil.young...@wirefast.com] > Subject: RE: [ERROR] Cannot create JDBC driver of class '' for connect > URL 'null' > > That's $CATALINA_BASE/conf, not $CATALINA_HOME/conf Regardless, the lack of an [engine] subdirectory is an

RE: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-14 Thread Neil Youngman
Caldarale, Charles R wrote: >> From: Neil Youngman [mailto:neil.young...@wirefast.com] >> Subject: RE: [ERROR] Cannot create JDBC driver of class '' for connect >> URL 'null' >> >> Using CATALINA_BASE: /home/tomcat6/wsam >> >> $

RE: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-14 Thread Caldarale, Charles R
> From: Neil Youngman [mailto:neil.young...@wirefast.com] > Subject: RE: [ERROR] Cannot create JDBC driver of class '' for connect > URL 'null' > > Using CATALINA_BASE:   /home/tomcat6/wsam > > $ ls -l /home/tomcat6/wsam/conf/ > total 28 > -rw-r--r

RE: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-14 Thread Neil Youngman
Konstantin Kolinko wrote: > Look at $CATALINA_BASE/conf/Catalina/localhost/.xml > > That is a copy of your context.xml file that Tomcat creates when the > app is deployed. This copy takes precedence over its original. Maybe > your Resource isn't defined there. I can't see any sign that tomcat is c

Re: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-14 Thread Konstantin Kolinko
2009/7/14 Neil Youngman : > I'm having trouble getting Oracle access from Axis2 to work under > Tomcat 6. I've spent a lot of time Googling and prodding and poking > the application and I haven't found a solution that works for me. > > Oddly the configuration I'm using seems to work for another > a

RE: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-14 Thread Neil Youngman
> Perhaps you should try the Tomcat configuration method then: > > http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html Oddly enough, my configuration matches the Oracle example in that document, as far as I can see, possibly because I've read that document half a dozen tim

Re: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-14 Thread Pid
On 14/7/09 09:42, Neil Youngman wrote: I'm having trouble getting Oracle access from Axis2 to work under Tomcat 6. I've spent a lot of time Googling and prodding and poking the application and I haven't found a solution that works for me. > Oddly the configuration I'm using seems to work for an