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
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
JSP - A mailing list about Java Server Pages specification and reference
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
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
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
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
- Just Seam - no ORM

- Just Seam - no ORM

2007-06-13       - By urosmil

 Back
Hi,

I want to add Seam to our application which has UI implemented in JSF-RI-1.1 +
Facelets.

- Plan is to use Seam capabilities only in UI in 1st step and in 2nd to
connect it with ORM layer (implemented throw Hibernate 3).
- We deploy app on Tomcat 5.5.

I have created test project fot tomcat without JBoss Microcontainer libs. Test
app works without problems but I get error:

Jun 13, 2007 9:51:15 AM org.jboss.seam.servlet.SeamExceptionFilter doFilter
SEVERE: could not roll back transaction
javax.naming.NamingException Source code of javax.naming.NamingException: Cannot create resource instance
  at org.apache.naming.factory.TransactionFactory Source code of org.apache.naming.factory.TransactionFactory
(TransactionFactory.java:112)
  at javax.naming.spi.NamingManager Source code of javax.naming.spi.NamingManager(Unknown Source)
  at org.apache.naming.NamingContext Source code of org.apache.naming.NamingContext(NamingContext.java:792)
  at org.apache.naming.NamingContext Source code of org.apache.naming.NamingContext(NamingContext.java:139)
  at org.apache.naming.NamingContext Source code of org.apache.naming.NamingContext(NamingContext.java:780)
  at org.apache.naming.NamingContext Source code of org.apache.naming.NamingContext(NamingContext.java:152)
  at org.apache.naming.SelectorContext Source code of org.apache.naming.SelectorContext(SelectorContext.java:136)
  at javax.naming.InitialContext Source code of javax.naming.InitialContext(Unknown Source)
  at org.jboss.seam.util.Transactions.getUserTransaction(Transactions.java:153)
  at org.jboss.seam.util.Transactions.isUTTransactionActiveOrMarkedRollback
(Transactions.java:122)
  at org.jboss.seam.util.Transactions.isTransactionActiveOrMarkedRollback
(Transactions.java:50)
  at org.jboss.seam.servlet.SeamExceptionFilter.rollbackTransactionIfNecessary
(SeamExceptionFilter.java:92)
  at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter
.java:52)
  at org.apache.catalina.core.ApplicationFilterChain Source code of org.apache.catalina.core.ApplicationFilterChain
(ApplicationFilterChain.java:202)
  at org.apache.catalina.core.ApplicationFilterChain Source code of org.apache.catalina.core.ApplicationFilterChain
(ApplicationFilterChain.java:173)
  at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java
:32)
  at org.apache.catalina.core.ApplicationFilterChain Source code of org.apache.catalina.core.ApplicationFilterChain
(ApplicationFilterChain.java:202)
  at org.apache.catalina.core.ApplicationFilterChain Source code of org.apache.catalina.core.ApplicationFilterChain
(ApplicationFilterChain.java:173)
  at org.apache.catalina.core.StandardWrapperValve Source code of org.apache.catalina.core.StandardWrapperValve(StandardWrapperValve
.java:213)
  at org.apache.catalina.core.StandardContextValve Source code of org.apache.catalina.core.StandardContextValve(StandardContextValve
.java:178)
  at org.apache.catalina.core.StandardHostValve Source code of org.apache.catalina.core.StandardHostValve(StandardHostValve.java
:126)
  at org.apache.catalina.valves.ErrorReportValve Source code of org.apache.catalina.valves.ErrorReportValve(ErrorReportValve.java
:105)
  at org.apache.catalina.core.StandardEngineValve Source code of org.apache.catalina.core.StandardEngineValve(StandardEngineValve
.java:107)
  at org.apache.catalina.connector.CoyoteAdapter Source code of org.apache.catalina.connector.CoyoteAdapter(CoyoteAdapter.java:148)
  at org.apache.coyote.http11.Http11Processor Source code of org.apache.coyote.http11.Http11Processor(Http11Processor.java:869)
  at org.apache.coyote.http11.Http11BaseProtocol Source code of org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler
.processConnection(Http11BaseProtocol.java:664)
  at org.apache.tomcat.util.net.PoolTcpEndpoint Source code of org.apache.tomcat.util.net.PoolTcpEndpoint(PoolTcpEndpoint
.java:527)
  at org.apache.tomcat.util.net.LeaderFollowerWorkerThread Source code of org.apache.tomcat.util.net.LeaderFollowerWorkerThread
(LeaderFollowerWorkerThread.java:80)
  at org.apache.tomcat.util.threads.ThreadPool Source code of org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:684)
  at java.lang.Thread Source code of java.lang.Thread(Unknown Source).

When "org.jboss.seam.servlet.SeamExceptionFilter" filter mapping from web.xml
is removed there is no Exception.

All config files for data persistence are removed and other config files are
set as required (parameters for data persistence removed from component.xml, ..
. ).
What is actually happening? Are Exceptions still there but just not showed in
console?
Is it possible to achieve what I want?

IMPORTANT: even with Exceptions app works all time as expected!

Thanks,
Uros.

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

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

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