Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

ianywhere driver with tomcat under linux error [Sybase][ODBC Driver Manager] Unable to load resource file

2 posts in General Discussion Last posting was on 2012-08-13 15:13:40.0Z
chris Posted on 2012-08-09 11:54:46.0Z
Sender: 4702.5023a4b6.1804289383@sybase.com
From: CHRIS
Newsgroups: ianywhere.public.general
Subject: ianywhere driver with tomcat under linux error [Sybase][ODBC Driver Manager] Unable to load resource file
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <5023a506.470f.1681692777@sybase.com>
NNTP-Posting-Host: 172.20.134.41
X-Original-NNTP-Posting-Host: 172.20.134.41
Date: 9 Aug 2012 04:54:46 -0700
X-Trace: forums-1-dub 1344513286 172.20.134.41 (9 Aug 2012 04:54:46 -0700)
X-Original-Trace: 9 Aug 2012 04:54:46 -0700, 172.20.134.41
Lines: 89
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:8169
Article PK: 7180

ianywhere driver with tomcat under linux error [Sybase][ODBC
Driver Manager] Unable to load resource file

Problem using ianywhere driver to connec to sybase sql
anywhere 12 web edition with tomcat under linux I get the
error [Sybase][ODBC Driver Manager] Unable to load resource
file

The connection string is

jdbc:ianywhere:driver=libdbodbc12.so;dbn=mydatabase;eng=myserver;

All libraries that are required are placed to the correct
folders of java ld_library_path

Please help.

Please also reply at stavrinc@gmail.com

Thanks

org.apache.jasper.JasperException:
javax.servlet.ServletException:
java.sql.SQLException: [Sybase][ODBC Driver Manager] Unable
to load
resource file

org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:548)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:456)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)

javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

root cause

javax.servlet.ServletException: java.sql.SQLException:
[Sybase][ODBC
Driver Manager] Unable to load resource file

org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:911)

org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:840)

org.apache.jsp.sybread_jsp._jspService(sybread_jsp.java:157)

org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:433)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)

javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

root cause

java.sql.SQLException: [Sybase][ODBC Driver Manager] Unable
to load
resource file

ianywhere.ml.jdbcodbc.jdbc3.IDriver.makeODBCConnection(Native
Method)

ianywhere.ml.jdbcodbc.jdbc3.IDriver.connect(IDriver.java:768)

java.sql.DriverManager.getConnection(DriverManager.java:579)

java.sql.DriverManager.getConnection(DriverManager.java:221)

org.apache.jsp.sybread_jsp._jspService(sybread_jsp.java:95)

org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:433)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)

javax.servlet.http.HttpServlet.service(HttpServlet.java:722)


Jeff Albion [Sybase iAnywhere] Posted on 2012-08-13 15:13:40.0Z
From: "Jeff Albion [Sybase iAnywhere]" <firstname.lastname@sybase.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
Newsgroups: ianywhere.public.general
Subject: Re: ianywhere driver with tomcat under linux error [Sybase][ODBC Driver Manager] Unable to load resource file
References: <5023a506.470f.1681692777@sybase.com>
In-Reply-To: <5023a506.470f.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <502919a4$1@forums-1-dub>
Date: 13 Aug 2012 08:13:40 -0700
X-Trace: forums-1-dub 1344870820 172.20.134.152 (13 Aug 2012 08:13:40 -0700)
X-Original-Trace: 13 Aug 2012 08:13:40 -0700, vip152.sybase.com
Lines: 26
X-Authenticated-User: techsupp
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:8171
Article PK: 7183

Hello,

Where is 'dblgen12.res' located?

http://dcx.sybase.com/index.html#1201/en/dbprogramming/server-deploy.html

On 09/08/2012 7:54 AM, CHRIS wrote:
> Please also reply at stavrinc@gmail.com

Replies are only provided through the newsgroup. If you wish direct
e-mail support, please open a technical support case:
http://www.sybase.com/contactus/support/

Regards,

--
Jeff Albion, Sybase iAnywhere, an SAP Company

SQL Anywhere Developer Community :
http://www.sybase.com/developer/library/sql-anywhere-techcorner
SQL Anywhere Documentation : http://dcx.sybase.com/
Archived SQL Anywhere Documentation :
http://manuals.sybase.com/onlinebooks/group-sas/
SQL Anywhere Patches and EBFs :
http://downloads.sybase.com/swd/summary.do?baseprod=144&client=ianywhere&timeframe=0
Report a Bug/Open a Case : http://case-express.sybase.com/cx/