-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
> 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.
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
> 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
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.
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
-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
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
> 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
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
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
-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
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_
> 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:
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.
-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
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
-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
> 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
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)
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
> 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
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.
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.
> 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?
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
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
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
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
> 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
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
>>
>> $
> 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
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
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
> 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
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
36 matches
Mail list logo