CONFIGURING HOW MUCH MEMORY TOMCAT USES

2012-10-08 Thread CHRISTOS STAVRINOU
Hello,

I want to configure the following

Initial memory pool

Maximum memory pool

Thread stack size

on tomcat 7 under Centos Linux but I don't know how.

The reason I want to increase the values of these parameters is because I get 
out of memory error when upload files with jsp code.

Please help

Thank you


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

2012-08-09 Thread CHRISTOS STAVRINOU
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 stavr...@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)

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Problem with tomcat 7 and java ld_library_path under centos 6 using IANYWHERE JDBC DRIVER

2012-08-08 Thread CHRISTOS STAVRINOU
Problem with tomcat 7 and java ld_library_path under centos 6 using
IANYWHERE JDBC DRIVER

At what path I must copy the file dbjodbc12.so? What is the correct
configuration?

How I can configure the java.library.path under under centos 6 and
tomcat 7 in order to fix the problem?

Please help me. If you have any answers please email me to
stavr...@gmail.com

Thanks in advance

The connection string is as follows:

jdbc:ianywhere:driver=libdbodbc12.so;ENG=host;DBN=database
But when running the program, I get the following exception (with the
relevant stack trace) -
Exception in thread main java.lang.UnsatisfiedLinkError: no
dbjodbc12 in java.library.path
   at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
   at java.lang.Runtime.loadLibrary0(Runtime.java:823)
   at java.lang.System.loadLibrary(System.java:1030)
   at ianywhere.ml.jdbcodbc.IDriver.try_load(IDriver.java:247)
   at ianywhere.ml.jdbcodbc.IDriver.clinit(IDriver.java:216)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:169)

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org