Re: javax.naming.NamingException: Cannot create resource instance

2008-10-02 Thread Ziggy O
fter > that you won't need to have testapp.xml in conf/Catalina/localhost. Also > you might want to check all the places in your webapp that references a file > and be sure the names match in case to what's on disk. > > > --David > > Ziggy O wrote: > >> H

Re: javax.naming.NamingException: Cannot create resource instance

2008-10-02 Thread Ziggy O
netbeans is including some libraries that are not available on the Unix environment when i run it on the desktop? On Thu, Oct 2, 2008 at 1:48 PM, Ziggy O <[EMAIL PROTECTED]> wrote: > Hi, > > The tomcat version on my Desktop is 5.5.27 and the Tomcat version on the > Unix environment is

Re: javax.naming.NamingException: Cannot create resource instance

2008-10-02 Thread Ziggy O
> in your web.xml should be javax.sql.Datasource, not > oracle.jdbc.pool.OracleDataSource. > > --David > > > Ziggy O wrote: > >> No mate that was the full stack trace. >> >> Thanks >> >> >> On Wed, Oct 1, 2008 at 7:02 PM, David Smith

Re: javax.naming.NamingException: Cannot create resource instance

2008-10-02 Thread Ziggy O
No mate that was the full stack trace. Thanks On Wed, Oct 1, 2008 at 7:02 PM, David Smith <[EMAIL PROTECTED]> wrote: > Seems like such a generic error would have a root cause. Was there > anything more to the stack trace? > > --David > > > Ziggy O wrote: > >&

Re: javax.naming.NamingException: Cannot create resource instance

2008-10-01 Thread Ziggy O
I forgot to mention that i am using Tomcat 5.5 on both the windows and unix environment. Thanks. On Wed, Oct 1, 2008 at 5:54 PM, Ziggy O <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to connect to an oracle database but cant seem to get the jdbc > connection to work. I

javax.naming.NamingException: Cannot create resource instance

2008-10-01 Thread Ziggy O
Hi, I am trying to connect to an oracle database but cant seem to get the jdbc connection to work. I am developing the application on a Windows desktop and transferring it onto a Unix box. When i test it on the Windows environmnet it does manage to connect but if i test it on unix then i get an e

Re: jdbc driver fails with tomcat

2008-09-26 Thread Ziggy O
Hi, When i debug the code, it doesnt get to the point where i am initialising the OracleCallableStatement object. It failed just after the initialisation of the ArrayDescriptor object. I have tried to change it to use CallableStatement and im now getting another error. Here is how i've changed it