It has been 10 days so I am declaring that Jason's suggestion did indeed
solve the problem.
Thanks Jason.
- Original Message -
From: "Steve Ryder"
To: "Tomcat Users List"
Sent: Thursday, October 07, 2010 10:03 AM
Subject: Re: Tomcat5.5 MySQL14.12 java.net.Soc
he.org/dbcp/configuration.html
Jason
On Wed, Oct 6, 2010 at 8:18 PM, Steve Ryder wrote:
I am getting this during mysql connection (about once a week).
I have read the thread on MySQL forum, which has a "solution", but the
link
to the solution is broken and points back to the same pag
I am getting this during mysql connection (about once a week).
I have read the thread on MySQL forum, which has a "solution", but the link
to the solution is broken and points back to the same page.
Suggestions have been use autoconnect=true
Another was that the server timeout was shorter than t
AS EXPECTED this solved the problem. All I had to do was set the file
permissions for the file I overwrite. The application is now working just
fine.
- Original Message -
From: "Steve Ryder"
To: "Tomcat Users List"
Sent: Friday, October 01, 2010 5:48 PM
Su
ity.policy=$CATALINA_BASE/conf/catalina.policy"
fi
Thanks.
- Original Message -
From: "Caldarale, Charles R"
To: "Tomcat Users List"
Sent: Friday, October 01, 2010 1:02 PM
Subject: RE: Tomcat5.5: java.io.FilePermission access denied
From: Steve Ryder
ssage -
From: "Caldarale, Charles R"
To: "Tomcat Users List"
Sent: Friday, October 01, 2010 11:59 AM
Subject: RE: Tomcat5.5: java.io.FilePermission access denied
From: Steve Ryder [mailto:sry...@jsrsys.com]
Subject: Tomcat5.5: java.io.FilePermission access denied
I have
Tomcat5.5: java.io.FilePermission access denied:
When I added the code on 02-08 it fixed the SocketPermission and
PropertyPermission exceptions for my servlets. What am I doing wrong that
I now get FilePermission exceptions.
I have changed Linux permissions for Data to 377. Still get error.
But
How do it fix this?
INFO: The Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path:
i.e., what library is missing and/ how do I put it in the java.library.path.
I presume an update to JAVA_OPTS in etc/init.d/tomcat5.5
ay as well.
- Original Message -
From: "Rainer Jung"
To:
Sent: Sunday, September 26, 2010 6:50 AM
Subject: Re: Tomcat 5.5: java.io.FilePermission read access denied to
logging.properties
On 15.09.2010 11:02, Pid wrote:
On 14/09/2010 23:35, André Warnier wrote:
Pid wrote:
On 14/
ve,
On 9/24/2010 12:17 PM, Steve Ryder wrote:
java.lang.NoClassDefFoundError:
org/apache/commons/lang/exception/NestableRuntimeException
This is likely to be due to your placement of libraries.
Aside from Chuck's comments (with which I completely agree: it's upgrade
time for you),
I am new to jasypt. I have installed the commons libraries that came with
the jasypt download in Apache.../common/lib.
The class not being found is in one of the libraries.
Tomcat 5.0, Java 1.4 running on Windows.
Do I need to do something in addition to copying the jar files into
common/lib?
com
ist" Sent: Tuesday, September 14, 2010 3:33PMSubject: Re: Tomcat 5.5: java.io.FilePermission read
access deniedtologging.propertiesOn 14/09/2010 16:17, Steve Ryder wrote:>java.security.AccessControlException:
accessdenied(java.io.FilePermission/home/sryder/JsrSystems.info/ROOT/WEB-INF/classes/logging.properties r
java.security.AccessControlException: access denied (java.io.FilePermission
/home/sryder/JsrSystems.info/ROOT/WEB-INF/classes/logging.properties read)
When I first noticed this I added the java.io.FilePermission
to catalina.policy under WEB APP PERMISSIONS
grant {
// Added by JSR 2010-09-13
: "Tomcat Users List"
Sent: Tuesday, January 26, 2010 1:47 AM
Subject: Re: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to
javax.sql.DataSource
Steve,
--- On Mon, 1/25/10 at 10:50 PM, Steve Ryder wrote:
I understand what you mean by don't
use, but "I" am n
nuary 26, 2010 12:29 AM
Subject: Re: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to
javax.sql.DataSource
2010/1/26 Steve Ryder :
at gnu.gcj.convert.Input_iconv.read(libgcj.so.81)
Stop right there. Do not use GNU "Java" for anything.
---
4:JsrSQL: Context cast successfull
- Original Message -
From: "Konstantin Kolinko"
To: "Tomcat Users List"
Sent: Monday, January 25, 2010 3:14 PM
Subject: Re: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to
javax.sql.DataSource
2010/1/25 Steve Ryder :
T
cat Users List"
Sent: Monday, January 25, 2010 3:14 PM
Subject: Re: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to
javax.sql.DataSource
2010/1/25 Steve Ryder :
The above should be "javax.sql.DataSource"
Do you have any references to
M
Subject: Re: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to
javax.sql.DataSource
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Steve,
On 1/25/2010 2:56 PM, Steve Ryder wrote:
Starting from the bottom up of your suggestions:
1) I tried removing the try/catch. No can do, Java co
l+ ": connect Other exception: "
+ eOther.getMessage();
sysout.display(lastException);
}
}
- Original Message -
From: "Christopher Schultz"
To: "Tomcat Users List"
Sent: Monday, January 25, 2010 2:40 PM
Subject: Re: Tomcat 5.5 org.apache.naming.ResourceRef can
Removing the Class.forName code did not change anything, I still get the
same error.
2010-01-25 20:00:03:*WARNING*Connection to jdbc/MySql:: connect Other
exception: org.apache.naming.ResourceRef cannot be cast to
javax.sql.DataSource
2010-01-25
20:00:03:Stack(4)=org.apache.jasper.runtime.HttpJ
DataSource
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Steve,
On 1/25/2010 11:16 AM, Steve Ryder wrote:
When I remove the factory line I now get: Cannot create resource
instance
2010-01-25 15:56:06:*WARNING*Connection to jdbc/MySql:: connect Other
exception: Cannot create resource insta
"Caldarale, Charles R"
To: "Tomcat Users List"
Sent: Monday, January 25, 2010 8:52 AM
Subject: RE: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to
javax.sql.DataSource
From: Steve Ryder [mailto:sry...@jsrsys.com]
Subject: Tomcat 5.5 org.apache.naming
Exception);
//System.exit(4);
}
catch(Exception eOther)
{ lastException="*WARNING*"+sql+ ": connect Other exception: "
+ eOther.getMessage();
sysout.display(lastException);
//System.exit(4);
}
}
- Original Message -
From: "Caldarale, Charles R"
To: &q
I am migrating from Tomcat 5.0 w/ MSQL 4.1 to Tomcat 5.5 w/ MySQL Server
version: 5.0.51a-3ubuntu5 (Ubuntu). I have followed the Tomcat Tutorials
changing
from: ResourceLink in context.xml -> Resource in server.xml
to: just Resource in context.xml.
Note: password ** not real password!
24 matches
Mail list logo