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
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
 
- OracleThinPersistenceManager instabili

- OracleThinPersistenceManager instabili

2007-08-10       - By barnaby33

 Back
When testing a normal failure mode using oracle thin persistence manager I get
an exception when trying to add new messages. The sequence goes like this

1) Add 2 messages to the queue. ( On checking the jms_messages table there
appears to be 4 messages being written. I assume it has something to with the
blob workaround but not sure.)
2) Make sure MDB cannot deliver messages.
3) Turn off server without exiting JBoss. (This seems to be a very normal
failure condition to me)
4)Turn on Jboss server. (During startup JMS system barfs on the two records
with null blobs. I worked around this by modifying the select query to only
return messages with non-null blobs.)
5)Add more messages. This causes a SQL exception because each time you restart
the server, the messageid is reset to zero. (I looked through the code to find
that little nugget.)

So I'd like to sub-class the oraclethinpersistence manager and goto the jms
_messages table to find out what its highest messageId is, then increment it by
one and use this as the messageid for the new message. I wrote a class that
does just that but when I startup jboss I get an exception along the lines of
major and minor version are incorrect. Is there something preventing me
administratively, say an xml config option, that I need to change? Whats are
some other alternatives to my situation?

       Josh

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

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

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