Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
JSP - A mailing list about Java Server Pages specification and reference
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
- Tomcat db connection problem

- Tomcat db connection problem

2007-08-13       - By Stateless Bean

 Back
Hi,
I moved my app to Seam 2.0 Beta1 and tomcat 6 and here I get problem.
For some reasons my connection get faild, before migration everythink worked
fine.

Here is my stacktrace:

 | 2007-08-13 17:00:06 org.apache.catalina.core.AprLifecycleListener init
 | INFO: The Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path: C:\Program
Files\Java\jre1.5.0_09\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32
;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Grzesiek - Laptop\Programy\Ant-1 (See http://Ant-1.ora-code.com).7.0\bin
;
 | 2007-08-13 17:00:07 org.apache.coyote.http11.Http11Protocol init
 | INFO: Initializing Coyote HTTP/1.1 on http-8080 (See http://ttp-8080.ora-code.com)
 | 2007-08-13 17:00:07 org.apache.catalina.startup.Catalina load
 | INFO: Initialization processed in 1516 ms
 | WARN  13-08 17:00:10,921 (UnifiedLoaderRepository3.java:addClassLoader:675)
 -Tried to add non-URLClassLoader.  Ignored
 | WARN  13-08 17:00:15,203 (TxControl.java:<clinit>:266)  -[com.arjuna.ats
.arjuna.coordinator.TxControl_1] - Name of XA node not defined. Using -3f57ffff
:66d:46c071ff:0
 | WARN  13-08 17:00:24,359 (JDBCPersistenceManager.java:start:143)  -
 |
 | JBoss Messaging Warning: DataSource connection transaction isolation should
be READ_COMMITTED, but it is currently NONE.
 |                          Using an isolation level less strict than READ
_COMMITTED may lead to data consistency problems.
 |                          Using an isolation level more strict than READ
_COMMITTED may lead to deadlock.
 |
 | 2007-08-13 17:00:27 org.apache.catalina.core.StandardService start
 | INFO: Starting service Catalina
 | 2007-08-13 17:00:27 org.apache.catalina.core.StandardEngine start
 | INFO: Starting Servlet Engine: Apache Tomcat/6.0.13
 | 2007-08-13 17:00:27 org.apache.catalina.startup.HostConfig deployWAR
 | INFO: Deploying web application archive Universum.war
 | 2007-08-13 17:00:30 org.apache.catalina.loader.WebappLoader start
 | INFO: Dual registration of jndi stream handler: factory already defined
 | WARN  13-08 17:01:14,656 (JBossTimerServiceFactory.java:restoreTimerService
:112)  -TIMER SERVICE IS NOT INSTALLED
 | WARN  13-08 17:01:15,171 (JBossTimerServiceFactory.java:restoreTimerService
:112)  -TIMER SERVICE IS NOT INSTALLED
 | WARN  13-08 17:01:20,921 (InternalManagedConnectionPool.java:getConnection
:278)  -Throwable while attempting to get a new connection: null
 | org.jboss.resource.JBossResourceException: Could not create connection; -
nested throwable: (org.jboss.resource.JBossResourceException: Apparently wrong
driver class specified for URL: class: org.postgresql.Driver, url: jdbc
:postgresql://localhost:5432/Universum)
 |   at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory
.getLocalManagedConnection(LocalManagedConnectionFactory.java:201)
 |   at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory
.createManagedConnection(LocalManagedConnectionFactory.java:182)
 |   at org.jboss.resource.connectionmanager.InternalManagedConnectionPool
.createConnectionEventListener(InternalManagedConnectionPool.java:586)
 |   at org.jboss.resource.connectionmanager.InternalManagedConnectionPool
.getConnection(InternalManagedConnectionPool.java:254)
 |   at org.jboss.resource.connectionmanager.JBossManagedConnectionPool
$BasePool.getConnection(JBossManagedConnectionPool.java:580)
 |   at org.jboss.resource.connectionmanager.BaseConnectionManager2
.getManagedConnection(BaseConnectionManager2.java:341)
 |   at org.jboss.resource.connectionmanager.TxConnectionManager
.getManagedConnection(TxConnectionManager.java:351)
 |   at org.jboss.resource.connectionmanager.BaseConnectionManager2
.allocateConnection(BaseConnectionManager2.java:394)
 |   at org.jboss.resource.connectionmanager.BaseConnectionManager2
$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:838)
 |   at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection
(WrapperDataSource.java:88)
 |   at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
.getConnection(InjectedDataSourceConnectionProvider.java:47)
 |   at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:76)
 |   at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2006)
 |   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java
:1289)
 |   at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory
(Ejb3Configuration.java:691)
 |   at org.hibernate.ejb.HibernatePersistence
.createContainerEntityManagerFactory(HibernatePersistence.java:127)
 |   at org.jboss.ejb3.entity.PersistenceUnitDeployment.start
(PersistenceUnitDeployment.java:246)
 |   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 |   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 |   at java.lang.reflect.Method.invoke(Unknown Source)
 |


 | <?xml version="1.0" encoding="UTF-8 (See http://UTF-8.ora-code.com)"?>
 |
 | <!DOCTYPE datasources
 |     PUBLIC "-//JBoss//DTD JBOSS JCA Config 1.5//EN"
 |     "http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd">
 |
 | <datasources>
 |     <local-tx-datasource>
 |         <jndi-name>UniversumDatasource</jndi-name>
 |         <connection-url>jdbc:postgresql://localhost:5432/Universum<
/connection-url>
 |         <driver-class>org.postgresql.Driver</driver-class>
 |         <user-name>***</user-name>
 |         <password>***</password>
 |     <blocking-timeout-millis>50000</blocking-timeout-millis>
 |        
 |         <metadata>
 |             <type-mapping>PostgreSQL 8.2</type-mapping>
 |         </metadata>
 |     </local-tx-datasource>
 | </datasources>
 |

my connection driver is in *.war -> lib/ directory
postgresql-8 (See http://sql-8.ora-code.com).2-505.jdbc3.jar

I use postgres 8.2, can anyone explain me why after migration my connection
doesn't work?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic
&p=4073607#4073607

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode
=reply&p=4073607
__ ____ ____ ____ ____ ____ ____ ____ ____ ____
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user

©2008 junlu.com - Jax Systems, LLC, U.S.A.