[JBoss-user] [Beginners Corner] - Using MySql
I am trying to use MySql as DB. But I do not want CMP so there will be no jbosscmp-jdbc.xml. Then how do I configure to use MySql in my project? Which file should I modify and how? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877471#3877471 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877471 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: Dukes Bank error can't find default data source
I also have a similar problem. I am using default HSQL DB and deployed Duke's bank. When I restarted server, I am getting the following error. 11:08:10,963 ERROR [EntityContainer] Starting failed jboss.j2ee:jndiName=ebankCu stomer,service=EJB org.jboss.deployment.DeploymentException: Error: can't find data source: java:/D efaultDS; - nested throwable: (javax.naming.NameNotFoundException: DefaultDS not bound) at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.init(JDBCEntit yBridge.java:139) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBC StoreManager.java:420) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManage r.java:353) at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManag er.java:157) at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:340) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS upport.java:272) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB eanSupport.java:222) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:144) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl ler.java:891) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:416) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:144) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy41.start(Unknown Source) at org.jboss.ejb.EjbModule.startService(EjbModule.java:394) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS upport.java:272) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB eanSupport.java:222) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch I went JMX console and list the jndi. There was no DefaultDS. Please advise. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876823#3876823 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876823 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: cmproster's jbosscmp-jdbc.xml
I know where jbosscmp-jdbc.xml in src.zip. My question was after deploying cmproster into jboss, where can I find it in jboss server? in RosterApp.ear? Right now, I can not find it anywhere in jboss. I don't think ant deploying process in example is using jbosscmp-jdbc.xml. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875046#3875046 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875046 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - cmproster's jbosscmp-jdbc.xml
I am trying to deploy cmproster in chapter 7 with MySql. I updated jbosscmp-jdbc.xml. But the xml was not in ear file. Where in ant task do we use this xml? I do not find any place in jboss-build.xml. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875036#3875036 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875036 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: jboss and MySql
The following is the error message when I start server. 15:08:44,678 ERROR [DatabasePersistencePolicy] Starting failed jboss.ejb:service =EJBTimerService,persistencePolicy=database java.lang.IllegalStateException: Cannot find datasource meta data: jboss.jdbc:da tasource=MySqlDS,service=metadata at org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin.init(Ge neralPurposeDatabasePersistencePlugin.java:81) at org.jboss.ejb.txtimer.DatabasePersistencePolicy.startService(Database PersistencePolicy.java:93) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS upport.java:272) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1 73) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:144) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874923#3874923 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874923 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: jboss and MySql
I did what the document said. But jboss does not find MySql DB. Can you recommend some places I should check? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874917#3874917 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874917 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - jboss and MySql
Instead of default HS DB, I want to use MySql for DB. What's the step to replace it? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874353#3874353 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874353 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Tried to MySql
I deployed roster and tried to use MySql. When I start server, I am getting the following error. What's wrong? 15:03:53,936 ERROR [DatabasePersistencePolicy] Starting failed jboss.ejb:service =EJBTimerService,persistencePolicy=database java.lang.IllegalStateException: Cannot find datasource meta data: jboss.jdbc:da tasource=MySqlDS,service=metadata at org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin.init(Ge neralPurposeDatabasePersistencePlugin.java:81) at org.jboss.ejb.txtimer.DatabasePersistencePolicy.startService(Database PersistencePolicy.java:93) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS upport.java:272) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1 73) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:144) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl ler.java:908) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:416) at org.jboss.system.ServiceController.start(ServiceController.java:438) at org.jboss.system.ServiceController.start(ServiceController.java:438) at org.jboss.system.ServiceController.start(ServiceController.java:438) at org.jboss.system.ServiceController.start(ServiceController.java:438) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:144) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:144) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.ja va:272) at $Proxy34.start(Unknown Source) at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:228) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738) at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:144) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874135#3874135 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874135 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - roster DB problem
I deployed roster and am using mysql for default DB. But it does not generate tables. Where should I check? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874105#3874105 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874105 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: jbosscmp-jdbc.xml
Is it supposed to be in jbossj2ee-src.zip? It is not in there. Am I using wrong version of source code? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874097#3874097 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874097 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - jbosscmp-jdbc.xml
I am trying to deploy roster in example and could not find jbosscmp-jdbc.xml. Where can I find it? and where do I have to locate it? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874088#3874088 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874088 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - jbosscmp-jdbc.xml
I am trying to deploy roster in example and could not find jbosscmp.xml. Where can I find it? and where do I have to locate it? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874087#3874087 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874087 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Help: Duke's bank deployment problem on Jboss 4
When I tried package ejb, I am getting the following error. could not find file account-ejb.xml to copy. I verified no account-ejb.xml in dd folder. Please help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873907#3873907 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873907 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user