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: Hi, I am trying to connect to an oracle

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

2008-10-02 Thread Ziggy O
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 [EMAIL PROTECTED] wrote: Seems like such a generic error would have a root cause

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

2008-10-02 Thread Ziggy O
that 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 5.5.23. Could the above

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

2008-10-02 Thread Ziggy O
/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: Hi, The tomcat version on my Desktop is 5.5.27 and the Tomcat version on the Unix environment is 5.5.23

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

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 am developing

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