[jboss-user] [JBoss Messaging] - Re: JBM and informix

2008-09-23 Thread dd_la_frime
abendt wrote : is your config publically available somewhere?
  | 
  | thanks

Sorry, no.
I just had to modified some data type in the DDL file to be compatible with 
informix.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4178211#4178211

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178211
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM and informix

2008-09-23 Thread dd_la_frime
Here is the xml file :


?xml version=1.0 encoding=UTF-8?

!--
 Postgresql persistence deployment descriptor.

 Tested with PostgresSQL 8.2.3

 $Id$
 --



   !-- Persistence Manager MBean configuration
    --
   
   mbean code=org.jboss.messaging.core.jmx.JDBCPersistenceManagerService
  name=jboss.messaging:service=PersistenceManager
  xmbean-dd=xmdesc/JDBCPersistenceManager-xmbean.xml
  
  jboss.jca:service=DataSourceBinding,name=InformixDS
  
  depends 
optional-attribute-name=TransactionManagerjboss:service=TransactionManager
  
  !-- The datasource to use for the persistence manager --

  java:/InformixDS
  
  !-- If true will attempt to create tables and indexes on every start-up 
--
  
  true
  
  !-- If true then will use JDBC batch updates --
  
  true
  
  ![CDATA[
   CREATE_DUAL=CREATE TABLE JBM_DUAL (DUMMY INTEGER, PRIMARY KEY (DUMMY)) LOCK 
MODE ROW
   CREATE_MESSAGE_REFERENCE=CREATE TABLE JBM_MSG_REF (MESSAGE_ID INT8, 
CHANNEL_ID INT8, TRANSACTION_ID INT8, STATE CHAR(1), ORD INT8, PAGE_ORD INT8, 
DELIVERY_COUNT INTEGER, SCHED_DELIVERY INT8, PRIMARY KEY(MESSAGE_ID, 
CHANNEL_ID)) LOCK MODE ROW
   CREATE_IDX_MESSAGE_REF_TX=CREATE INDEX JBM_MSG_REF_TX ON JBM_MSG_REF 
(TRANSACTION_ID, STATE)
   CREATE_IDX_MESSAGE_REF_ORD=CREATE INDEX JBM_MSG_REF_ORD ON JBM_MSG_REF (ORD)
   CREATE_IDX_MESSAGE_REF_PAGE_ORD=CREATE INDEX JBM_MSG_REF_PAGE_ORD ON 
JBM_MSG_REF (PAGE_ORD)
   CREATE_IDX_MESSAGE_REF_MESSAGE_ID=CREATE INDEX JBM_MSG_REF_MESSAGE_ID ON 
JBM_MSG_REF (MESSAGE_ID)
   CREATE_IDX_MESSAGE_REF_SCHED_DELIVERY=CREATE INDEX 
JBM_MSG_REF_SCHED_DELIVERY ON JBM_MSG_REF (SCHED_DELIVERY)
   CREATE_MESSAGE=CREATE TABLE JBM_MSG (MESSAGE_ID INT8, RELIABLE CHAR(1), 
EXPIRATION INT8, TIMESTAMP INT8, PRIORITY SMALLINT, TYPE SMALLINT, HEADERS 
BYTE, PAYLOAD BYTE, PRIMARY KEY (MESSAGE_ID))  LOCK MODE ROW   
   CREATE_TRANSACTION=CREATE TABLE JBM_TX (NODE_ID INTEGER, TRANSACTION_ID 
INT8, BRANCH_QUAL BYTE, FORMAT_ID INTEGER, GLOBAL_TXID BYTE, PRIMARY KEY 
(TRANSACTION_ID)) LOCK MODE ROW
   CREATE_COUNTER=CREATE TABLE JBM_COUNTER (NAME VARCHAR(255), NEXT_ID INT8, 
PRIMARY KEY(NAME)) LOCK MODE ROW
   INSERT_DUAL=INSERT INTO JBM_DUAL VALUES (1)
   CHECK_DUAL=SELECT 1 FROM JBM_DUAL
   INSERT_MESSAGE_REF=INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, 
TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES 
(?, ?, ?, ?, ?, ?, ?, ?)
   DELETE_MESSAGE_REF=DELETE FROM JBM_MSG_REF WHERE MESSAGE_ID=? AND 
CHANNEL_ID=? AND STATE='C'
   UPDATE_MESSAGE_REF=UPDATE JBM_MSG_REF SET TRANSACTION_ID=?, STATE='-' WHERE 
MESSAGE_ID=? AND CHANNEL_ID=? AND STATE='C'
   UPDATE_PAGE_ORDER=UPDATE JBM_MSG_REF SET PAGE_ORD = ? WHERE MESSAGE_ID=? AND 
CHANNEL_ID=?
   COMMIT_MESSAGE_REF1=UPDATE JBM_MSG_REF SET STATE='C', TRANSACTION_ID = NULL 
WHERE TRANSACTION_ID=? AND STATE='+'
   COMMIT_MESSAGE_REF2=DELETE FROM JBM_MSG_REF WHERE TRANSACTION_ID=? AND 
STATE='-'
   ROLLBACK_MESSAGE_REF1=DELETE FROM JBM_MSG_REF WHERE TRANSACTION_ID=? AND 
STATE='+'
   ROLLBACK_MESSAGE_REF2=UPDATE JBM_MSG_REF SET STATE='C', TRANSACTION_ID = 
NULL WHERE TRANSACTION_ID=? AND STATE='-'
   LOAD_PAGED_REFS=SELECT MESSAGE_ID, DELIVERY_COUNT, PAGE_ORD, SCHED_DELIVERY 
FROM JBM_MSG_REF WHERE CHANNEL_ID = ? AND PAGE_ORD BETWEEN ? AND ? ORDER BY 
PAGE_ORD
   LOAD_UNPAGED_REFS=SELECT MESSAGE_ID, DELIVERY_COUNT, SCHED_DELIVERY FROM 
JBM_MSG_REF WHERE STATE = 'C' AND CHANNEL_ID = ? AND PAGE_ORD IS NULL ORDER BY 
ORD
   LOAD_REFS=SELECT MESSAGE_ID, DELIVERY_COUNT, SCHED_DELIVERY FROM JBM_MSG_REF 
WHERE STATE = 'C' AND CHANNEL_ID = ? ORDER BY ORD
   UPDATE_REFS_NOT_PAGED=UPDATE JBM_MSG_REF SET PAGE_ORD = NULL WHERE PAGE_ORD 
BETWEEN ? AND ? AND CHANNEL_ID=?
   SELECT_MIN_MAX_PAGE_ORD=SELECT MIN(PAGE_ORD), MAX(PAGE_ORD) FROM JBM_MSG_REF 
WHERE CHANNEL_ID = ?
   SELECT_EXISTS_REF_MESSAGE_ID=SELECT MESSAGE_ID FROM JBM_MSG_REF WHERE 
MESSAGE_ID = ?
   UPDATE_DELIVERY_COUNT=UPDATE JBM_MSG_REF SET DELIVERY_COUNT = ? WHERE 
MESSAGE_ID = ? AND CHANNEL_ID = ?
   UPDATE_CHANNEL_ID=UPDATE JBM_MSG_REF SET CHANNEL_ID = ? WHERE CHANNEL_ID = ?
   MOVE_REFERENCE=UPDATE JBM_MSG_REF SET CHANNEL_ID = ? WHERE MESSAGE_ID = ? 
AND CHANNEL_ID = ?
   LOAD_MESSAGES=SELECT MESSAGE_ID, RELIABLE, EXPIRATION, TIMESTAMP, PRIORITY, 
HEADERS, PAYLOAD, TYPE FROM JBM_MSG
   INSERT_MESSAGE=INSERT INTO JBM_MSG (MESSAGE_ID, RELIABLE, EXPIRATION, 
TIMESTAMP, PRIORITY, TYPE, HEADERS, PAYLOAD) VALUES (?, ?, ?, ?, ?, ?, ?, ?)
   INSERT_MESSAGE_CONDITIONAL=INSERT INTO JBM_MSG (MESSAGE_ID, RELIABLE, 
EXPIRATION, TIMESTAMP, PRIORITY, TYPE) SELECT ?, ?, ?, ?, ?, ? FROM JBM_DUAL 
WHERE NOT EXISTS (SELECT MESSAGE_ID FROM JBM_MSG WHERE MESSAGE_ID = ?)
   UPDATE_MESSAGE_4CONDITIONAL=UPDATE JBM_MSG SET HEADERS=?, PAYLOAD=? WHERE 
MESSAGE_ID=?
   INSERT_MESSAGE_CONDITIONAL_FULL=INSERT INTO JBM_MSG (MESSAGE_ID, RELIABLE, 
EXPIRATION, 

[jboss-user] [JBoss Messaging] - Re: JBM and informix

2008-09-23 Thread dd_la_frime
abendt wrote : thanks a lot!
  | 

your welcome.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4178409#4178409

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178409
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM and informix

2008-02-21 Thread dd_la_frime
Ok, same for the postoffice_name I guess ?

Do you know, when do you plan to release JBM 2.x ?

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131042#4131042

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131042
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM and informix

2008-02-21 Thread dd_la_frime
Ok, thank you very much.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131058#4131058

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131058
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - JBM and informix

2008-02-20 Thread dd_la_frime
Hello,

I need to know if JBM runs with informix database as there is no 
informix-persistence-service.xml file ?
If JBM can run with such a database could you please give me the xml file for 
the SQL schema to be created.

Cheers.

Christophe.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4130807#4130807

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4130807
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Installation of jbp 2.6

2007-08-27 Thread dd_la_frime
Hi,

I did, indeed, install Jboss AS with JEMS-installer. But you may add this in 
your documentation. Well...

I have absolutely nothing in the logs. I only have this null right above the 
form after submitted it.
I even try to modify the password directly in MySQL. Nothing works.

cheers.

Christophe.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4078224#4078224

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4078224
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Installation of jbp 2.6

2007-08-27 Thread dd_la_frime
Even for the null thing on the form ?

cheers.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4078331#4078331

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4078331
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Installation of jbp 2.6

2007-08-25 Thread dd_la_frime
Hello,

I'm sure I'm missing something.

My configuration is as follow :
- jboss 4.0.5 GA with EJB 3 module (I'm working with seam)
- MySQL 5 (with the truncation bug fixed)
- jboss portal 2.6.1

Ok so I downloaded jboss portal and started to read (RTFM, right ?).
I did exactly as it is written for the installation from binary distribution 
(not the bundle one).
I created the DB, modified the xml file.
I placed the .sar and the *-ds.xml in my serder/default/deploy directory.

I launched jboss and baamm !
I got a ClassNotFoundException for org.jboss.varia.scheduler.Scheduler. I 
started to search and found the package 20 minutes later 
(scheduler-plugin.jar). It's not written in the documentation !
I relaunched jboss, everything installed. Ok great !
I glanced at the schema and the data in MySQL, sounds ok to me.
I opened firefox and go to http://127.0.0.1/portal.
It 's working,great !
So I decided to login with admin/admin or user/user.
Everytime I try to submit the form I've got a null just above the form. I 
created a new account just to test it. The creation worked fine as I can see 
the datas in the DB. Again I try to login with this new account and same thing 
always this null above the form. So my portal is working fine but I can't 
login ;o). What a joke !!!

I tried a lot of thing with MySQL and I did search on this very forum and on 
internet but I couln't find my 2 problems.
For the first one you can admit that you can give this scheduler-plugin.jar 
with the portal.jar, no ?

If you have any idea with my second problem or if you know another portal 
solution. I'm aware.

Cheers.

Christophe

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4078017#4078017

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4078017
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - web:character-encoding-filter

2007-06-13 Thread dd_la_frime
Hello,

I took a look to the web-1.2.xsd and did not find the element name 
character-encoding-filter ? Am I missing something ?
Maybe it will explain why I can't override the character encoding of the client 
and the fact that I can't get my well formed html params in GET action.

Cheers.

Christophe.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4053916#4053916

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4053916
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: web:character-encoding-filter

2007-06-13 Thread dd_la_frime
I don't understand what you're saying.
I'm already using seam 1.2.1 GA.
What I'm saying is that in the components.cml you have to add these lines 
http://jboss.com/products/seam/web http://jboss.com/products/seam/web-1.2.xsd; 
to use the we:character-encoding-filter and this attribute name doesn't exist 
in web-1.2.xsd.
Do I have to change the declaration of the xsd ?

Cheers.

Christophe

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4053929#4053929

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4053929
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Can't set Character encoding for submitted form data

2007-06-13 Thread dd_la_frime
Just an answer to pull up this important *bug* for french people.
Exactly the problem I have at this time.

Cheers.

Christophe

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4053932#4053932

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4053932
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: web:character-encoding-filter

2007-06-13 Thread dd_la_frime
you must have this one also : xmlns:web=http://jboss.com/products/seam/web;

Anyway it's still not working I can't have my french character [é|à|è|...]

Christophe

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4053940#4053940

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4053940

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: web:character-encoding-filter

2007-06-13 Thread dd_la_frime
Ok me too I've got it in seam sources.
So how did you declare it in the components.xml ? You must not use the http 
one, right ?

Cheers.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4053935#4053935

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4053935
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Charset encoding problem in URL parameters

2007-06-13 Thread dd_la_frime
At least !

This problem is not a problem but a recognized bug.

Thank you mate.

Christophe

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4054069#4054069

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4054069
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Problem pasting text from Word using s:formattedText

2007-05-12 Thread dd_la_frime
Hi,

after typing text in Word, I copied and pasted it in my form. Submitted it 
and it works. But whenever I want to display the text stored in the database 
I've got this error :

java.lang.RuntimeException: line 1:61: unexpected char: 0x2019
  | at 
org.jboss.seam.ui.UIFormattedText.encodeBegin(UIFormattedText.java:34)
  | at javax.faces.render.Renderer.encodeChildren(Renderer.java:65)
  | at 
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:524)
  | at 
org.ajax4jsf.framework.renderer.RendererBase.renderChild(RendererBase.java:252)
  | at 
org.richfaces.renderkit.AbstractRowsRenderer.encodeCellChildren(AbstractRowsRenderer.java:252)
  | at 
org.richfaces.renderkit.AbstractTableRenderer.encodeOneRow(AbstractTableRenderer.java:168)
  | at 
org.richfaces.renderkit.AbstractRowsRenderer.process(AbstractRowsRenderer.java:75)
  | at 
org.ajax4jsf.ajax.repeat.SequenceDataModel.walk(SequenceDataModel.java:101)
  | at 
org.ajax4jsf.ajax.repeat.UIDataAdaptor.walk(UIDataAdaptor.java:855)
  | at 
org.richfaces.renderkit.AbstractRowsRenderer.encodeRows(AbstractRowsRenderer.java:92)
  | at 
org.richfaces.renderkit.AbstractRowsRenderer.encodeChildren(AbstractRowsRenderer.java:124)
  | at 
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:524)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:573)
  | at 
org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:229)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:29)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:43)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | at 

[jboss-user] [JBoss Seam] - Re: Problem pasting text from Word using s:formattedText

2007-05-12 Thread dd_la_frime
Ok thank you very much.
So the problem is with Office Word, the apostrophe is not well encoded (well 
in french for sure).

Maybe if you can add this character it will be great for french people.

Cheers.

[EMAIL PROTECTED] wrote : This is the character:
  | 
  | http://www.fileformat.info/info/unicode/char/2019/index.htm
  | 
  | These are the current Unicode ranges supported by the parser:
  | 
  | 
  |   | WORD: ('a'..'z'|'A'..'Z'|'0'..'9'|
  |   |   '\u00c0'..'\u00d6' |
  |   |   '\u00d8'..'\u00f6' |
  |   |   '\u00f8'..'\u00ff' |
  |   |   '\u0100'..'\u1fff' |
  |   |   '\u3040'..'\u318f' |
  |   |   '\u3300'..'\u337f' |
  |   |   '\u3400'..'\u3d2d' |
  |   |   '\u4e00'..'\u9fff' |
  |   |   '\uf900'..'\ufaff')+
  |   | 
  | 
  | If you can find out a reasonable range that qualifies as characters in a 
WORD, we can add it.
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4045228#4045228

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4045228
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Upgrade from 1.1.6 to 1.2.1

2007-04-04 Thread dd_la_frime
[EMAIL PROTECTED] wrote : Are you sure schema validation was enabled before?  
I can't imagine it was.

What do you mean by that ? Do I have to modify something in the configuration 
files like persistence.xml ?

cheers.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4034401#4034401

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4034401
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Upgrade from 1.1.6 to 1.2.1

2007-04-04 Thread dd_la_frime
Thank you very much Norman,

I had indeed in my persistence-dev.xml the following line in 1.1.6 :


and in 1.2.1


So for the moment I change the value of the value attribute to update and 
it's working. I don't know if it's the good choice but I don't know very well 
hibernate, I used to develop with OJB. ;o).

Thanks again.

Christophe.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4034404#4034404

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4034404
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - bad copy/paste

2007-04-04 Thread dd_la_frime
As I had a problem with copy and paste I repost my previous post :

Thank you very much Norman,

I had indeed in my persistence-dev.xml the following line in 1.1.6 :
lt;property name=hibernate.hbm2ddl.auto value=update /gt;

and in 1.2.1
lt;property name=hibernate.hbm2ddl.auto value=validate /gt;

So for the moment I change the value of the value attribute to update and 
it's working. I don't know if it's the good choice but I don't know very well 
hibernate, I used to develop with OJB. ;o).

Thanks again.

Christophe.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4034406#4034406

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4034406
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Help! A4JSF a:support problem

2007-04-04 Thread dd_la_frime
What is the signature of the method checkTitle() in your component fairManager ?

If I remember, Ajax4JSF wrote in its taglib javadoc that actionListener 
attribute can call a method if and only if this method returns void.

Is it the case with your method ?

Christophe

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4034409#4034409

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4034409
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Upgrade from 1.1.6 to 1.2.1

2007-04-03 Thread dd_la_frime
Hi all,

I developped an application under seam 1.1.6. I'm using MySQL 5.
Everything works fine. Really, seam team keep up the good work !

I have just an annoying issue. 
I want to upgrade seam 1.1.6 to 1.2.1.
So I'm creating a new project using seam-gen under seam 1.2.1. I'm copying the 
java sources from 1.1.6 to 1.2.1 in the src/model and src/action directories 
within my new project. I'm modifying some xml files: pages.xml, 
faces-config.xml, application.xml (adding librairies like opncsv.jar, 
rsslib4j.jar) and that's about it. 
I'm building the project after modifying a little bit the build.xml to 
integrate the new librairies. Everything is ok.
As soon as I'm starting jboss my EJBs are deploying but I have problems with 
SQL data type that I don't had with seam 1.1.6. I'm using TEXT SQL data type in 
MySQL, I know it's not a good data type but with seam 1.1.6 it worked 
perfectly. So when deploying I have a Hibernate error which tells me to modify 
my column data type to VARCHAR(255). I noticed as well that both version of 
hibernate in seam 1.1.6 and seam 1.2.1 are the same.

Did I miss something ?

Thank you.

Christophe.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4033901#4033901

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4033901
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Upgrade from 1.1.6 to 1.2.1

2007-04-03 Thread dd_la_frime
fady.matar wrote : Can you post the code of the bean that generates this 
error?

I can but there's nothing to do with the code as it is working perfectly with 
1.1.6.
I think there was a slightly change in a configuration file for hibernate in 
seam.
It's the only thing I can see for now.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4033989#4033989

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4033989
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Upgrade from 1.1.6 to 1.2.1

2007-04-03 Thread dd_la_frime
damianharvey wrote : I have a project under 1.2.1 with a Text datatype that 
generated fine. 
  | 
  | Try creating a test database and re-generating (ie. using 'vanilla' SeamGen)

After creating a new seam-project using seam-gen, I've just created a simple 
Entity Bean mapping an entity in my MySQL database as is :

CREATE TABLE  `dda`.`e_test` (
  |   `test_id` int(10) unsigned NOT NULL auto_increment,
  |   `test_name` varchar(45) NOT NULL,
  |   `test_text` text,
  |   `test_date` timestamp NOT NULL default CURRENT_TIMESTAMP,
  |   `test_number` smallint(5) default NULL,
  |   PRIMARY KEY  (`test_id`)
  | );

the source code of my bean, sorry for the french javadoc ;o)

package com.cmc.dda.bean;
  | 
  | import java.io.Serializable;
  | import java.util.Date;
  | 
  | import javax.persistence.Basic;
  | import javax.persistence.Column;
  | import javax.persistence.Entity;
  | import javax.persistence.GeneratedValue;
  | import javax.persistence.Id;
  | import javax.persistence.Table;
  | import javax.persistence.Temporal;
  | import javax.persistence.TemporalType;
  | 
  | import org.hibernate.validator.Length;
  | import org.hibernate.validator.NotNull;
  | 
  | /**
  |  * La classe Test.
  |  */
  | @Entity
  | @Table(name = E_TEST)
  | public class Test implements Serializable {
  | 
  | /**
  |  * Le date.
  |  */
  | private Date   date   = null;
  | 
  | /**
  |  * Le id.
  |  */
  | private intid = -1;
  | 
  | /**
  |  * Le name.
  |  */
  | private String name   = null;
  | 
  | /**
  |  * Le number.
  |  */
  | private intnumber = -1;
  | 
  | /**
  |  * Le text.
  |  */
  | private String text   = null;
  | 
  | /**
  |  * Retourne le date.
  |  * 
  |  * @return the date.
  |  */
  | @Basic(optional = false)
  | @Temporal(TemporalType.TIMESTAMP)
  | @Column(name = TEST_DATE, nullable = false)
  | public Date getDate() {
  | return date;
  | }
  | 
  | /**
  |  * Retourne le id.
  |  * 
  |  * @return the id.
  |  */
  | @GeneratedValue
  | @Id
  | @Column(name = TEST_ID, unique = true, nullable = false)
  | public int getId() {
  | return id;
  | }
  | 
  | /**
  |  * Retourne le name.
  |  * 
  |  * @return the name.
  |  */
  | @Column(name = TEST_NAME, nullable = false, length = 45)
  | @NotNull
  | @Length(min = 1, max = 45)
  | public String getName() {
  | return name;
  | }
  | 
  | /**
  |  * Retourne le number.
  |  * 
  |  * @return the number.
  |  */
  | @Column(name = TEST_NUMBER)
  | public int getNumber() {
  | return number;
  | }
  | 
  | /**
  |  * Retourne le text.
  |  * 
  |  * @return the text.
  |  */
  | @Column(name = TEST_TEXT)
  | public String getText() {
  | return text;
  | }
  | 
  | /**
  |  * Positionne le date.
  |  * 
  |  * @param pDate the date to set.
  |  */
  | public void setDate(Date pDate) {
  | date = pDate;
  | }
  | 
  | /**
  |  * Positionne le id.
  |  * 
  |  * @param pId the id to set.
  |  */
  | public void setId(int pId) {
  | id = pId;
  | }
  | 
  | /**
  |  * Positionne le name.
  |  * 
  |  * @param pName the name to set.
  |  */
  | public void setName(String pName) {
  | name = pName;
  | }
  | 
  | /**
  |  * Positionne le number.
  |  * 
  |  * @param pNumber the number to set.
  |  */
  | public void setNumber(int pNumber) {
  | number = pNumber;
  | }
  | 
  | /**
  |  * Positionne le text.
  |  * 
  |  * @param pText the text to set.
  |  */
  | public void setText(String pText) {
  | text = pText;
  | }
  | }

here is a fragment of the stack trace at the start of jboss :

15:05:08,578 WARN  [ServiceController] Problem starting service 
persistence.units:ear=deja10ans.ear,
  | unitName=deja10ans
  | javax.persistence.PersistenceException: org.hibernate.HibernateException: 
Wrong column type: TEST_NUMBER, expected: integer
  | at 
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:698)
  | 
  | at 
org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:127)
  | at 
org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:264)
  | ...
  | 

I forgot to mention that this code is perfectly working on 1.1.6.

Cheers.

Christophe

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4034064#4034064

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4034064
___
jboss-user mailing list
jboss-user@lists.jboss.org

[jboss-user] [JBoss Seam] - Re: Upgrade from 1.1.6 to 1.2.1

2007-04-03 Thread dd_la_frime
If I modify the datatype of TEST_NUMBER column to integer, I have the next 
error :

15:14:04,062 WARN  [ServiceController] Problem starting service 
persistence.units:ear=deja10ans.ear,
  | unitName=deja10ans
  | javax.persistence.PersistenceException: org.hibernate.HibernateException: 
Wrong column type: TEST_TEXT, expected: varchar(255)
  | at 
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:698)
  | 
  | at 
org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:127)
  | at 
org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:264)

And this was working great on 1.1.6, again and again !

Christophe

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4034071#4034071

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4034071
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user