[jboss-user] [EJB] - Re: EJB2 Entity bean: Max length of a string stored in DB?
Sorry. Let me elaborate a bit more: I'm using EJB2 CMP. When a database table is created, if nothing is specified, what is the default VARCHAR length of string/character data? Is it 255? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263838#4263838 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263838 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB] - EJB2 Entity bean: Max length of a string stored in DB?
Hi, What is the maximum character length of a string that can be stored in a database when the table is created by an EJB2 Entity Bean? Is it configurable? Thanks in advance. Mark View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263837#4263837 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263837 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Configuring JBoss 4.2.1 remote access ...
Hi, My apologies if this has been asked before.. I just downloaded JBoss 4.2.1 (I was using 4.0.4 before). And unless I start it using run.sh with the option -b 0.0.0.0, it otherwise defaults to localhost, and I cannot access the server from a remote machine. My question is: Is there a place in the config files where I can set the default to 0.0.0.0:8080 instead of localhost (127.0.0.1:8080). Note: I didn't have to do this in 4.0.4. Thanks, Mark View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251286#4251286 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251286 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Get TransactionRolledbackException when calling home.findByP
Hi, I'm running JBoss 4.0.4 with MySQL 5.1. I have an EJB2 solution that uses a facade-like design pattern: a message driven bean instantiates a stateless session bean which in turn instantiates CMP Entity beans. The session bean calls findByPrimaryKey() to instantiate a particular entity bean. Under normal operation, everything appears to work fine under heavy loads -- except if the server goes down and is then restarted. If messages are piled up in the JMS queue, then findByPrimaryKey() fails on the first message invocation: 2009-07-13 09:25:39,115 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackException in method: public abstract com.adobe.liaisonEJB.AccountRemoteEB com.adobe.liaisonEJB.AccountHomeEB.findByPrimaryKey(java.lang.String) throws java.rmi.RemoteException,javax.ejb.FinderException, causedBy: java.lang.IllegalStateException: createBeanClassInstanceCommand == null at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createBeanClassInstance(JDBCStoreManager.java:575) at org.jboss.ejb.plugins.CMPPersistenceManager.createBeanClassInstance(CMPPersistenceManager.java:139) at org.jboss.ejb.EntityContainer.createBeanClassInstance(EntityContainer.java:238) at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:183) at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:113) . Any ideas as to why this is happening? Is it something to do with the MySQL configuration? Or the CMP configuration? Thanks in advance, Mark View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4243367#4243367 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4243367 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user