When will I learn to be neater and not leave junk lying around??? I didn't implement the server and port attributes in the mcf. You have to specify them so:
server/port:/path/to/mydb.gdb which is undeniably unusual nonstandard and confusing syntax, but matches the native C connection string for firebird. david jencks On 2002.07.27 15:36:52 -0400 Stephen Davidson wrote: > Greetings. > > I am trying to set up a Firebird database. It is not on the same box as > I am developing on. > > When I try to uncomment the Server Block in the firebird-service.xml > file, I get the attached error. > > Please help? > > -Steve > > <===Begin Excerpt from firebird-service.xml===> > <!-- Uncommented to contact other server===> > <config-property> > <config-property-name>Server</config-property-name> > <config-property-type>java.lang.String</config-property-type> > <config-property-value>test1</config-property-value> > </config-property> > <config-property> > <config-property-name>Port</config-property-name> > <config-property-type>java.lang.Integer</config-property-type> > <config-property-value>3050</config-property-value> > </config-property> > > <===Begin Error message (excerpt from JBoss.log)===> > 13:47:27,638 INFO [MainDeployer] Starting deployment of package: > >file:/home/jboss/jboss-all/build/output/jboss-3.0.1RC1/server/default/deploy/firebirdsql.rar > 13:47:27,748 WARN [ServiceController] > jboss.jca:service=RARDeployment,name=Firebird Database Connector does not > implement any Service methods13:47:27,749 WARN [ServiceController] > jboss.jca:service=XaTxDS,name=FirebirdDS does not implement any Service > methods > 13:47:27,749 INFO [XATxConnectionManager] Creating > 13:47:27,754 INFO [XATxConnectionManager] Created > 13:47:27,787 INFO [XATxConnectionManager] Starting > 13:47:27,848 INFO [JaasSecurityManagerService] Created > securityMgr=org.jboss.security.plugins.JaasSecurityManager@5d3388 > 13:47:27,851 INFO [JaasSecurityManagerService] setCachePolicy, > c=org.jboss.util.TimedCachePolicy@e2670b > 13:47:27,852 INFO [JaasSecurityManagerService] Added FirebirdDBRealm, > org.jboss.security.plugins.SecurityDomainContext@db23f1 to map > 13:47:27,966 WARN [RARDeployment] The class 'class > org.firebirdsql.jca.FBManagedConnectionFactory' has no setter for config > property 'Server'13:47:27,971 ERROR [XATxConnectionManager] Starting > failed > java.lang.IllegalArgumentException: The class 'class > org.firebirdsql.jca.FBManagedConnectionFactory' has no setter for config > property 'Server' > at >org.jboss.resource.connectionmanager.RARDeployment.setManagedConnectionFactoryAttribute(RARDeployment.java:658) > at >org.jboss.resource.connectionmanager.RARDeployment.setMcfProperties(RARDeployment.java:786) > at >org.jboss.resource.connectionmanager.RARDeployment.startManagedConnectionFactory(RARDeployment.java:555) > 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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) > at >org.jboss.resource.connectionmanager.BaseConnectionManager2.startService(BaseConnectionManager2.java:382) > at >org.jboss.resource.connectionmanager.XATxConnectionManager.startService(XATxConnectionManager.java:162) > at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:164) > at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) > at >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at >org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) > at >org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:950) > at $Proxy6.start(Unknown Source) > at org.jboss.system.ServiceController.start(ServiceController.java:384) > at org.jboss.system.ServiceController.start(ServiceController.java:403) > at org.jboss.system.ServiceController.start(ServiceController.java:403) > at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) > at >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at >org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) > at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) > at $Proxy7.start(Unknown Source) > at org.jboss.resource.RARDeployer.start(RARDeployer.java:212) > at org.jboss.deployment.MainDeployer.start(MainDeployer.java:786) > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:615) > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:581) > at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) > at >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at >org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) > at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) > at $Proxy4.deploy(Unknown Source) > at >org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:412) > at >org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:607) > at >org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:480) > at >org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:238) > at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:164) > at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) > at >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at >org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) > at >org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:950) > at $Proxy0.start(Unknown Source) > at org.jboss.system.ServiceController.start(ServiceController.java:384) > at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) > at >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at >org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) > at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) > at $Proxy3.start(Unknown Source) > at org.jboss.deployment.SARDeployer.start(SARDeployer.java:243) > at org.jboss.deployment.MainDeployer.start(MainDeployer.java:786) > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:615) > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:581) > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:565) > 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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) > at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:319) > at org.jboss.system.server.ServerImpl.start(ServerImpl.java:216) > at org.jboss.Main.boot(Main.java:142) > at org.jboss.Main$1.run(Main.java:375) > at java.lang.Thread.run(Thread.java:536) > 13:47:27,984 WARN [ServiceController] Problem starting service > jboss.jca:service=XaTxCM,name=FirebirdDS > > > > -- > Java Developer > Looking for a new job opportunity > 214-724-7741 > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user