[JBoss Seam] - Re: I need help with scope type
by rcherchi
Here is what happens when I change scope from SESSION to PAGE and try to redeploy my application:
2007-11-02 15:57:05,989 INFO [org.jboss.seam.Component] Component: localSearchManager, scope: PAGE, type: JAVA_BEAN, class: com.easycity.ejb.search.LocalSearchManagerBean
| 2007-11-02 15:57:05,989 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
| java.lang.RuntimeException: Could not create Component: localSearchManager
| at org.jboss.seam.init.Initialization.addComponent(Initialization.java:865)
| at org.jboss.seam.init.Initialization.installComponents(Initialization.java:796)
| at org.jboss.seam.init.Initialization.init(Initialization.java:503)
| at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33)
| at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
| at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
| at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
| at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
| at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101353#4101353
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101353
18 years, 5 months
[JBoss Messaging] - JBoss Messaging and MySQL
by haagenhasle
Hi!
I'm using JBoss Messaging as a part of JBossESB 4.2.1GA, and I'm trying to switch from hsqldb to MySQL. I've followed instructions I've gotten in the JBossESB forum, but I have one final (?) problem, and was told to go ask you guys here..
I get this WARN statement when I start the server:
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'juddidb.jbm_postoffice' doesn't exist
I have manually created the juddidb-database before. After getting this warningmessage, I tried to create the jbm_postoffice-table manually as well. I executed the following command in MySQL:
CREATE TABLE JBM_POSTOFFICE (POSTOFFICE_NAME VARCHAR(255), NODE_ID INTEGER, QUEUE_NAME VARCHAR(255),
| COND VARCHAR(1023), SELECTOR VARCHAR(1023), CHANNEL_ID BIGINT, CLUSTERED CHAR(1), ALL_NODES CHAR(1)
| , PRIMARY KEY(POSTOFFICE_NAME, NODE_ID, QUEUE_NAME)) ENGINE = INNODB
And I got this in return:
Error code 1071, SQL state 42000: Specified key was too long; max key length is 1024 bytes
|
Can anyone help me out with this?
Regards, Haagen
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101347#4101347
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101347
18 years, 5 months