[JBoss-user] [Installation, Configuration & Deployment] - Jboss4.0.2-MSsql2000-Jtds1.2 driver Problem
Hi, I have setup using JDK1.5, Jboss-4.0.2,MsSql2000,jtds1.2 and started the server. I have the below errors -- 2006-01-12 14:41:55,437 INFO [org.jboss.resource.adapter.jdbc.remote.WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=DataSourceBinding,name=MSSQLDS to JNDI name 'java:MSSQLDS' 2006-01-12 14:41:55,437 DEBUG [org.jboss.resource.adapter.jdbc.remote.WrapperDataSourceService] Started jboss.jca:service=DataSourceBinding,name=MSSQLDS 2006-01-12 14:41:55,437 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.jca:service=DataSourceBinding,name=MSSQLDS dependent components: [ObjectName: jboss.ejb:service=EJBTimerService,persistencePolicy=database State: CREATED I Depend On: jboss.jca:service=DataSourceBinding,name=MSSQLDS , ObjectName: jboss.mq:service=PersistenceManager State: CREATED I Depend On: jboss.jca:service=DataSourceBinding,name=MSSQLDS Depends On Me: jboss.mq:service=DestinationManager ] 2006-01-12 14:41:55,437 DEBUG [org.jboss.system.ServiceController] starting service jboss.ejb:service=EJBTimerService,persistencePolicy=database 2006-01-12 14:41:55,437 DEBUG [org.jboss.ejb.txtimer.DatabasePersistencePolicy] Starting jboss.ejb:service=EJBTimerService,persistencePolicy=database 2006-01-12 14:41:55,452 ERROR [org.jboss.ejb.txtimer.DatabasePersistencePolicy] Starting failed jboss.ejb:service=EJBTimerService,persistencePolicy=database java.lang.IllegalStateException: Cannot find datasource meta data: jboss.jdbc:datasource=MSSQLDS,service=metadata . 2006-01-12 14:41:55,624 WARN [org.jboss.system.ServiceController] Problem starting service jboss.ejb:service=EJBTimerService,persistencePolicy=database java.lang.IllegalStateException: Cannot find datasource meta data: jboss.jdbc:datasource=MSSQLDS,service=metadata . 2006-01-12 14:42:01,968 DEBUG [org.jboss.mq.pm.jdbc2.PersistenceManager] Could not create table with SQL: CREATE TABLE JMS_MESSAGES (MESSAGEID INTEGER NOT NULL, DESTINATION VARCHAR(150) NOT NULL, TXID INTEGER, TXOP CHAR(1), MESSAGEBLOB IMAGE, PRIMARY KEY (MESSAGEID, DESTINATION)) java.sql.SQLException: There is already an object named 'JMS_MESSAGES' in the database. 2006-01-12 14:42:01,984 DEBUG [org.jboss.mq.pm.jdbc2.PersistenceManager] Could not create table with SQL: CREATE TABLE JMS_TRANSACTIONS ( TXID INTEGER, PRIMARY KEY (TXID) ) java.sql.SQLException: There is already an object named 'JMS_TRANSACTIONS' in the database --- MBeans waiting for other MBeans --- ObjectName: jboss.ejb:service=EJBTimerService,persistencePolicy=database State: FAILED Reason: java.lang.IllegalStateException: Cannot find datasource meta data: jbo ss.jdbc:datasource=MSSQLDS,service=metadata I Depend On: jboss.jca:service=DataSourceBinding,name=MSSQLDS ObjectName: jboss.mq:service=InvocationLayer,type=HTTP State: CONFIGURED I Depend On: jboss.mq:service=Invoker jboss.web:service=WebServer ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo State: CONFIGURED I Depend On: jboss:service=TransactionManager jboss.jca:service=DataSourceBinding,name=DefaultDS ObjectName: jboss.mq.destination:service=Topic,name=testTopic State: CONFIGURED I Depend On: jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager ObjectName: jboss.mq.destination:service=Topic,name=securedTopic State: CONFIGURED I Depend On: jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager ObjectName: jboss.mq.destination:service=Topic,name=testDurableTopic State: CONFIGURED I Depend On: jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager ObjectName: jboss.mq.destination:service=Queue,name=testQueue State: CONFIGURED I Depend On: jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager ObjectName: jboss.mq.destination:service=Queue,name=A State: CONFIGURED I Depend On: jboss.mq:service=DestinationManager ObjectName: jboss.mq.destination:service=Queue,name=B State: CONFIGURED I Depend On: jboss.mq:service=DestinationManager ObjectName: jboss.mq.destination:service=Queue,name=C State: CONFIGURED I Depend On: jboss.mq:service=DestinationManager ObjectName: jboss.mq.destination:service=Queue,name=D State: CONFIGURED I Depend On: jboss.mq:service=DestinationManager ObjectName: jboss.mq.destination:service=Queue,name=ex State: CONFIGURED I Depend On: jboss.mq:service=DestinationManager ObjectName: jboss.mq:service=Invoker State: CONFIGURED I Depend On: jboss.mq:service=TracingInterceptor Depends On Me: jboss.mq:service=InvocationLayer,type=HTTP jboss.mq:service=InvocationLayer,type=JVM jboss.mq
[JBoss-user] [JCA/JBoss] - Re: Prototype JavaMail RAR in head
Hello, I did as-is in this topic.I packed the MDB with the below ejb-jar descriptor. I used the DEFAULT server of Jboss for deployment. When I tried to deploy the Mdb with the below descriptor changes: I don't even see the Mail-ra.rar debug statements.Plz help me if I made any wrong.A reply is deeply appreciated. Thanks in Advance An MDB that accepts mail messages MailMDB TestJavaMailMDB org.jboss.resource.adapter.mail.inflow.MailListener mailServer pop.xyz.com mailFolder INBOX storeProtocol pop/activation-config-property-value> userName [EMAIL PROTECTED] password vts Container View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3900174#3900174 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3900174 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: JCA-Deployment-Connector- JNDI-Problem
I have gone through the Jboss AdminGuide 4.0.2 and found all I need especially in Chapter 7 which is mainly regarding JCA:"Connectors on JBOSS". Thanx to the Jboss team. -rgds View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897044#3897044 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3897044 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - JCA-Deployment-Connector- JNDI-Problem
Hi, I'm using JBOSS4.0.2.windowsXP(pro) I deployed the rar file "MyHelloWorldRar.rar" and a JAR(SLSBean) which contains a SLSbean only , to use/connect to the Connectionfactory. 1) I'm not able to connect 'MyHelloWorldRar' adapter from the SLSB(code below).Something to do with the JNDI Lookup. 2) Should we pack both ra.xml & -ds.xml in the .rar file or -dx.xml should be deployed seperately as a file in the server\default\deploy directory?I have packed both xml's in the META-INF in RAR and had no errors on the console.But if I deploy seperately the -ds.xml file I have the below error; Please help me on this issue, your help is greatly appreciated. --- 18:12:04,843 ERROR [MainDeployer] Could not initialise deployment: file:/E:/jbos s-4.0.2/server/default/deploy/HelloWorld-ds.xml org.jboss.deployment.DeploymentException: Could not parse dd; - nested throwable : (org.xml.sax.SAXParseException: A pseudo attribute name is expected. ) at org.jboss.deployment.XSLSubDeployer.findDd(XSLSubDeployer.java:263) at org.jboss.deployment.XSLSubDeployer.init(XSLSubDeployer.java:195) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:828) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:765) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738) at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept or.java:121) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM BeanOperationInterceptor.java:127) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy8.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen tScanner.java:325) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS canner.java:501) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. doScan(AbstractDeploymentScanner.java:204) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. loop(AbstractDeploymentScanner.java:215) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. run(AbstractDeploymentScanner.java:194) Caused by: org.xml.sax.SAXParseException: A pseudo attribute name is expected. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) at org.jboss.deployment.XSLSubDeployer.findDd(XSLSubDeployer.java:258) ... 22 more --- The ra.xml file -ra.xml-- http://java.sun.com/dtd/connector_1_0.dtd'> HelloWorld Resource Adapter HelloWorld Resource Adapter abc 1.0 Helloworld 1.0 copy right true adapter.helloworld.ManagedConnectionFactoryImpl adapter.helloworld.HWConnectionFactory adapter.helloworld.ConnectionFactoryImpl adapter.helloworld.HWConnection adapter.helloworld.ConnectionImpl NoTransaction BasicPassword javax.resource.spi.security.PasswordCredential false -- the hw-ds.xml file --hw-ds.xml- MyHelloWorldRar MyHelloWorldRar MyHelloWorldRar.rar javax.resource.cci.ConnectionFactory -- the helloBean.java file helloBean.java-statelesssessionbean import javax.ejb.*; import javax.naming.*; import java.util.*; import javax.rmi.*; import adapter.helloworld.*; public class HelloBean imp
[JBoss-user] [Installation & Configuration] - Re: Starting failed java.sql.SQLException: User not found: S
I didn't change any settings...Just Insatalled Jboss 4.0 and all my classpath was set to this installation.when I started the server...I got this error. Do u think I have to delete the prior Installation of Jboss 3.x on my system which was running successfully? Thanx n Rgds View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836924#3836924 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836924 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Starting failed java.sql.SQLException: User not found: SA
Hello All, I got the below error when starting "Jboss-4.0.0DR4" today. Kindly , suggest me if I have to go through any setting files and do any settings. 2004-05-28 14:27:53,590 ERROR [org.jboss.jdbc.HypersonicDatabase] Starting failed jboss:database=localDB,service=Hypersonic java.sql.SQLException: User not found: SA at org.hsqldb.Trace.getError(Unknown Source) at org.hsqldb.Trace.error(Unknown Source) at org.hsqldb.UserManager.get(Unknown Source) at org.hsqldb.UserManager.getUser(Unknown Source) at org.hsqldb.Database.connect(Unknown Source) at org.hsqldb.jdbcConnection.openStandalone(Unknown Source) at org.hsqldb.jdbcConnection.(Unknown Source) at org.hsqldb.jdbcDriver.connect(Unknown Source) at java.sql.DriverManager.getConnection(DriverManager.java:512) at java.sql.DriverManager.getConnection(DriverManager.java:171) at org.jboss.jdbc.HypersonicDatabase.getConnection(HypersonicDatabase.java:812) at org.jboss.jdbc.HypersonicDatabase.startStandaloneDatabase(HypersonicDatabase.java:623) at org.jboss.jdbc.HypersonicDatabase.startService(HypersonicDatabase.java:593) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) 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:232) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:643) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:844) at $Proxy29.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:369) at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) 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:232) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:643) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:260) 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:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) 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:232) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:643) at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:272) at $Proxy27.start(Unknown Source) at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:225) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:863) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:674) at org.jboss.deployment.MainDeployer.addDeployer(MainDeployer.java:267) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) 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:232) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:643) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanP