Very much so.  The ConnectionFactory loader now uses mbean-refs to make
sure what it needs is there, and the parameter names for the pool are fewer
and simpler (and differenty named).  Compare to hsqldb-service.xml or the
examples in the manual.

After you get it working again, would you send it to me so I can include it
as an example in the manual?

Thanks
david jencks

On 2001.11.19 04:16:20 -0500 Peter Levart wrote:
> Hi JBoss developers!
> 
> I have a quick question. I just need some pointers...
> 
> The following worked fine with the RH CVS code as of Nov, 7th. Since I 
> updated today from the CVS and rebuilt I get the following error (see 
> attached exception.txt) when the service XML file (see attached 
> sybase-service.xml) is being deployed.
> 
> Has something changed in the meantime that breaks the syntax/semantics of
> my 
> file?
> 
> Regards, Peter
> 
> [09:50:49,960,AutoDeployer] Auto deploy of
> file:/net/stsrv_vol1/homes/peter/J2EE/jboss-3.0.0alpha/deploy/sybase-service.xml
> [09:50:50,100,Default] Libraries adding URLClassLoader -1325046644 key
> URL file:/net/stsrv_vol1/homes/peter/J2EE/jboss-3.0.0alpha/lib/ext/jconn2.jar
> [09:50:50,105,ServiceCreator] About to create the
> beanJBOSS-SYSTEM:service=ConnectionFactoryLoader,name=Sybase_J2EETEST
> [09:50:50,109,ServiceCreator] Created the
> beanJBOSS-SYSTEM:service=ConnectionFactoryLoader,name=Sybase_J2EETEST
> [09:50:50,578,ServiceController] Could not configure MBean:
> JBOSS-SYSTEM:service=ConnectionFactoryLoader,name=Sybase_J2EETEST
> java.lang.NullPointerException
>         at 
>org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:225)
>         at org.jboss.system.ServiceController.deploy(ServiceController.java:215)
>         at java.lang.reflect.Method.invoke(Native Method)
>         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
>         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
>         at org.jboss.deployment.ServiceDeployer.invoke(ServiceDeployer.java:732)
>         at org.jboss.deployment.ServiceDeployer.addMBeans(ServiceDeployer.java:668)
>         at org.jboss.deployment.ServiceDeployer.deploy(ServiceDeployer.java:215)
>         at 
>org.jboss.deployment.DeployerMBeanSupport.deploy(DeployerMBeanSupport.java:107)
>         at java.lang.reflect.Method.invoke(Native Method)
>         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
>         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
>         at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:654)
>         at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:327)
>         at org.jboss.deployment.AutoDeployer.startService(AutoDeployer.java:509)
>         at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:117)
>         at java.lang.reflect.Method.invoke(Native Method)
>         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
>         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
>         at 
>org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:775)
>         at $Proxy0.start(Unknown Source)
>         at org.jboss.system.ServiceController.start(ServiceController.java:479)
>         at 
>org.jboss.system.ServiceController.registerAndStartService(ServiceController.java:273)
>         at org.jboss.system.ServiceController.deploy(ServiceController.java:257)
>         at java.lang.reflect.Method.invoke(Native Method)
>         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
>         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
>         at org.jboss.deployment.ServiceDeployer.invoke(ServiceDeployer.java:732)
>         at org.jboss.deployment.ServiceDeployer.addMBeans(ServiceDeployer.java:668)
>         at org.jboss.deployment.ServiceDeployer.deploy(ServiceDeployer.java:215)
>         at 
>org.jboss.deployment.DeployerMBeanSupport.deploy(DeployerMBeanSupport.java:107)
>         at java.lang.reflect.Method.invoke(Native Method)
>         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
>         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
>         at org.jboss.Main.<init>(Main.java:199)
>         at org.jboss.Main$1.run(Main.java:411)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at org.jboss.Main.main(Main.java:406)
> 
> 
> <?xml version="1.0" encoding="UTF-8"?>
> 
> <server>
> 
>   <depends>JBOSS-SYSTEM:service=Naming</depends>
>   <depends>JBOSS-SYSTEM:service=TransactionManager</depends>
>   
><depends>JCA:service=ConnectionManagerFactoryLoader,name=MinervaSharedLocalCMFactory</depends>
>   <depends>JCA:service=RARDeployer</depends>
> 
>   <classpath archives="jconn2.jar"/>
> 
>   <mbean code="org.jboss.resource.ConnectionFactoryLoader" 
>        name="JBOSS-SYSTEM:service=ConnectionFactoryLoader,name=Sybase_J2EETEST">
>     <attribute 
>name="ManagedConnectionFactoryProperties">ConnectionURL=jdbc:sybase:Tds:vino:4100
>   DriverClass=com.sybase.jdbc2.jdbc.SybDriver
>   UserName=j2eetest
>   Password=j2eetest</attribute>
>     <attribute name="JndiName">Sybase_J2EETEST</attribute>
>     <attribute name="TransactionManagerName">java:/TransactionManager</attribute>
>     <attribute name="ResourceAdapterName">Minerva JDBC LocalTransaction
> ResourceAdapter</attribute>
>     <attribute name="RARDeployerName">JCA:service=RARDeployer</attribute>
>     <attribute 
>name="ConnectionManagerFactoryName">MinervaSharedLocalCMFactory</attribute>
>     <attribute name="ConnectionManagerProperties">#
>       #Wed Aug 15 16:17:29 EDT 2001
>       InvalidateOnError=false
>       BlockingTimeoutMillis=500000
>       IdleTimeoutMillis=1800000
>       MaxSize=10
>       TimestampUsed=false
>       IdleTimeoutEnabled=false
>       CleanupIntervalMillis=120000
>       MinSize=1
>       GCMinIdleMillis=1200000
>       GCEnabled=false
>       MaxIdleTimeoutPercent=1.0
>     </attribute>
>     <attribute name="PrincipalMappingClass">
>       org.jboss.resource.security.ManyToOnePrincipalMapping
>     </attribute>
>     <attribute name="PrincipalMappingProperties"/>
>   </mbean>
> 
> </server>
> 
> 
> 
> 
> 
> 
> 

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to