[JBoss Seam] - Numerics and Decimals in mysql 5
by jdijkmeijer
Hi I'm using seam-gen (seam 1.1GA) and jboss 4.0.5 GA non clustered ejb3 together with mysql.
In de createdb script of mysql I create a colum like amount NUMERIC(10,2), looking at it by desc table shows decimal (10,2). MySQL chooses not to use numerics but decimals instead. What's in a name.
seam generate-entitiies works fine, but the scale is omitted, no problem I can add that by hand. However with the added scale I still get an expected numeric exception on deployment, I checked the dialect (mysql) and I'm a bit lost at this moment. Nor do I see any reference to this problem, which makes me wonder whether I'm doing something very unusual (unlikely numerics are widely used at my work (oracle)), or very stupid...?
any help would be appreciated.
(mysql 5.02, jboss 4.0.5GA seam1.1GA, winxp sp2).
regards,
Jeroen.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996016#3996016
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996016
19 years, 4 months
[Installation, Configuration & Deployment] - Timeout SSL connection
by sponiza
Hi,
I run the JBOSS 3.2 server in a production environment with a HTTPS (SSL) connection. For one of my clients the following happens. He sets up a connection to the JBOSS server for using the web-application. The connection he sets up never closes (unless he switches of his computer). I can see this connection after running netstat on our server. After running a tcpdump I can see that his computer sends every 2 minutes an acknowledgement frame.
I would like to configure the JBOSS server so that after a 1 minute lapse with no sending of any frames connections are closed and returned to the connection pool. Is this possible? How can I do this?
In the jboss-service.xml file I have set the connectionTimeout parameter to 60000 (i.e. 60 seconds). But this does not solve the problem. Is there another parameter or attribute I should set? If so, which parameter and where can I set it? Thanks for any information at all.
Sponiza
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996010#3996010
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996010
19 years, 4 months