[Installation, Configuration & Deployment] - JBoss 5.0.0Beta2 datasource meta data problem
by ebross
JBoss 5.0.0Beta2 datasource meta data problem
I download and installed JBoss 5.0.0Beta a day ago but I keep getting the following error:
23:03:41,609 ERROR [AbstractKernelController] Error installing to Start: name=jboss.ejb:persistencePolicy=database,service=EJBTimerService state=Create mode=Manual requiredState=Installed
| java.lang.IllegalStateException: Cannot find datasource meta data: jboss.jdbc:datasource=DefaultDS,service=metadata
|
| at org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin.init(GeneralPurposeDatabasePersistencePlugin.java:104)
| at org.jboss.ejb.txtimer.DatabasePersistencePolicy.startService(DatabasePersistencePolicy.java:83)
|
I have left every settings except the following changes:
Replace lib\hsqldb.jar and lib\hsqldb-plugin.jar with mysql-connector library
Replace deploy\hsqldb-ds.xml with deploy\mysql-ds.xml
In my mysql-ds.xml, I have (truncated):
<datasources>
| <local-tx-datasource>
| <jndi-name>DefaultDS</jndi-name>
| <connection-url>jdbc:mysql://localhost:3306/odmsdb</connection-url>
| <driver-class>com.mysql.jdbc.Driver</driver-class>
| <user-name>devteam1</user-name>
| <password>devteam1</password>
| <min-pool-size>5</min-pool-size>
| <max-pool-size>20</max-pool-size>
| :
| :
| <metadata>
| <type-mapping>mySQL</type-mapping>
| </metadata>
| </local-tx-datasource>
| </datasources>
|
|
In my standardjbosscmp-jdbc.xml, I have (truncated):
<jbosscmp-jdbc>
| <defaults>
| <datasource>java:/DefaultDS</datasource>
| <datasource-mapping>mySQL</datasource-mapping>
| <create-table>true</create-table>
| <remove-table>false</remove-table>
| <read-only>false</read-only>
| <read-time-out>300000</read-time-out>
| <row-locking>false</row-locking>
| <pk-constraint>true</pk-constraint>
| :
|
These settings are the exact ones that I have been using in JBoss 4.2 0CR1. I have spent a few hours searching for solutions on the Internet to no avail--none of the suggestions helps in solving the problem. Could someone help me with the problem in JBoss 5.0.0Beta2 ?
You can assume that I am an advanced user of JBossAS and other related products.
Thanks in advance.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035560#4035560
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035560
19 years
[JBoss Seam] - Re: Doco for locale cookie C13 Section 13.5
by tony.herstell@gmail.com
Erm...
cough couch..
Your kung-foo is strong but....
>and in components.xml
It doesn't say in the doco to put this strong kung-foo in components.xml.
Me thinks you think I know what I am doing here !!!
anonymous wrote :
| 13.5. Persisting locale and theme preferences via cookies
| The locale selector, theme selector and timezone selector all support persistence of locale and theme preference
| to a cookie. Simply set the cookie-enabled configuration property:
| <theme:theme-selector cookie-enabled="true">
| <theme:available-themes>
| default
| accessible
| printable
| </theme:available-themes>
| </theme:theme-selector>
| <core:locale-selector cookie-enabled="true"/>
| Internationalization and themes
| JBoss Seam 1.2.1.GA 142
|
:)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035559#4035559
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035559
19 years
[JBoss Messaging] - Re: Marshalling Exception
by chip_schoch
A little more info.
When I start JBossAS and my .sar that uses JBossMessaging is in the deploy directory everything starts and works correctly. Then if I undeploy it I get the following when the JMSConnection.close() is called:
java.lang.NullPointerException
| at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:620)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:464)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
| at org.jboss.jms.client.delegate.DelegateSupport.handleThrowable(DelegateSupport.java:215)
| at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:200)
| at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:155)
| at org.jboss.jms.client.delegate.ClientConnectionDelegate.org$jboss$jms$client$delegate$ClientConnectionDelegate$close$aop(ClientConnectionDelegate.java:151)
| at org.jboss.jms.client.delegate.ClientConnectionDelegate$close_N4742752445160157748.invokeNext(ClientConnectionDelegate$close_N4742752445160157748.java)
| at org.jboss.jms.client.container.ConnectionAspect.handleClose(ConnectionAspect.java:166)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:121)
| at org.jboss.jms.client.delegate.ClientConnectionDelegate$close_N4742752445160157748.invokeNext(ClientConnectionDelegate$close_N4742752445160157748.java)
| at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:91)
| at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
| at org.jboss.jms.client.delegate.ClientConnectionDelegate$close_N4742752445160157748.invokeNext(ClientConnectionDelegate$close_N4742752445160157748.java)
| at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:171)
| at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
| at org.jboss.jms.client.delegate.ClientConnectionDelegate$close_N4742752445160157748.invokeNext(ClientConnectionDelegate$close_N4742752445160157748.java)
| at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:71)
| at org.jboss.jms.client.delegate.ClientConnectionDelegate$close_N4742752445160157748.invokeNext(ClientConnectionDelegate$close_N4742752445160157748.java)
| at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
| at org.jboss.jms.client.delegate.ClientConnectionDelegate$close_N4742752445160157748.invokeNext(ClientConnectionDelegate$close_N4742752445160157748.java)
| at org.jboss.jms.client.delegate.ClientConnectionDelegate.close(ClientConnectionDelegate.java)
| at org.jboss.jms.client.JBossConnection.close(JBossConnection.java:132)
| at com.eLynx.Messaging.MessageReceiver.run(MessageReceiver.java:609)
I am pretty much stumped so any help would really be appreciated.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035557#4035557
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035557
19 years