[JBoss JIRA] Updated: (JBAS-3343) JCA 1.5 Resource Adapter Config Properties cannot be specified
by Dimitris Andreadis (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-3343?page=all ]
Dimitris Andreadis updated JBAS-3343:
-------------------------------------
Fix Version/s: JBossAS-5.1.0.CR1
(was: JBossAS-5.0.0.Beta4)
> JCA 1.5 Resource Adapter Config Properties cannot be specified
> --------------------------------------------------------------
>
> Key: JBAS-3343
> URL: http://jira.jboss.com/jira/browse/JBAS-3343
> Project: JBoss Application Server
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: JCA service
> Affects Versions: JBossAS-4.0.4.GA
> Environment: All.
> Reporter: Andreas Mueller
> Assigned To: Vicky Kak
> Fix For: JBossAS-5.1.0.CR1
>
> Attachments: ra.xml
>
>
> A JCA 1.5 resource adapter might contain config properties in ra.xml. It is not possible in JBoss to override them with -ds.xml file.
> For example, here is an excert of SwiftMQ's intraVM ra.xml:
> <resourceadapter>
> <resourceadapter-class>
> com.swiftmq.connector.v15.ResourceAdapterImpl
> </resourceadapter-class>
> <config-property>
> <config-property-name>ProviderURL</config-property-name>
> <config-property-type>java.lang.String</config-property-type>
> <config-property-value>smqp://intravm/timeout=10000</config-property-value>
> </config-property>
> <config-property>
> <config-property-name>IntraVM</config-property-name>
> <config-property-type>java.lang.Boolean</config-property-type>
> <config-property-value>true</config-property-value>
> </config-property>
> <config-property>
> <config-property-name>DebugMode</config-property-name>
> <config-property-type>java.lang.Boolean</config-property-type>
> <config-property-value>false</config-property-value>
> </config-property>
> <config-property>
> <config-property-name>RouterWorkingDirectory</config-property-name>
> <config-property-type>java.lang.String</config-property-type>
> <config-property-value><swiftmq_dir>/scripts/unix</config-property-value>
> </config-property>
> <config-property>
> <config-property-name>ConfigurationFilename</config-property-name>
> <config-property-type>java.lang.String</config-property-type>
> <config-property-value>../../config/router1/routerconfig.xml</config-property-value>
> </config-property>
> It is not possible to overwrite them during deployment. It is only possible to specify the config properties of the ManagedConnectionFactory in -ds.xml.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 10 months
[JBoss JIRA] Updated: (JBAS-11) Error redeploying dependent war
by Dimitris Andreadis (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-11?page=all ]
Dimitris Andreadis updated JBAS-11:
-----------------------------------
Fix Version/s: Backlog
(was: JBossAS-5.0.0.Beta4)
> Error redeploying dependent war
> -------------------------------
>
> Key: JBAS-11
> URL: http://jira.jboss.com/jira/browse/JBAS-11
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Web (Tomcat) service
> Affects Versions: JBossAS-4.0.0 Final
> Reporter: bern
> Assigned To: Scott M Stark
> Fix For: Backlog
>
>
> This is a taken from the forum post from octopus see http://www.jboss.org/index.html?module=bb&op=viewtopic&t=56015.
> I have a deployed webapp which depends on some mbean (having depends clause in jboss-web.xml).
> When mbean is being redeployed it causes redeploying this webapp which finishes with NPE in WebModule.java
> This bug reproduced in both jboss 4.0.0 and 3.2.6
> Simple test case:
> Create sample service in /deploy, for example test-properties-service.xml
> Code:
> <server>
> <mbean code="org.jboss.varia.property.SystemPropertiesService"
> name="test:service=SystemProperties">
> <!-- Set propertuies using the properties file style. -->
> <attribute name="Properties">
> </attribute>
> </mbean>
> </server>
>
> Create sample war which depends on this service, for example
> Code:
> test.war
> |
> WEB-INF
> |
> web.xml
> jboss-web.xml
> |
> META-INF
>
> where web.xml
> Code:
> <web-app >
> </web-app>
>
> jboss-web.xml
> Code:
> <jboss-web>
> <depends>test:service=SystemProperties</depends>
> </jboss-web>
>
> now both test-properties-service.xml and test.war placed in /deploy and deployed successfully.
> Now update test-properties-service.xml (edit-save, touch, etc)
> jboss will try to redeploy test.war with following result:
> Code:
> 13:22:33,483 DEBUG [MainDeployer] Undeploying file:/C:/Cluster/jboss-3.2.6/server/all/deploy/test-pr
> operties-service
> .xml
> 13:22:33,483 DEBUG [SARDeployer] undeploying document file:/C:/Cluster/jboss-3.2.6/server/all/deploy
> /test-properties
> -service.xml
> 13:22:33,499 DEBUG [SARDeployer] stopping mbean test:service=SystemProperties
> 13:22:33,499 DEBUG [ServiceController] stopping service: test:service=SystemProperties
> 13:22:33,514 DEBUG [ServiceController] stopping dependent services for: test:service=SystemPropertie
> s depende
> nt services are: [ObjectName: jboss.web.deployment:war=test.war,id=-1080743623
> state: RUNNING
> I Depend On: test:service=SystemProperties
> Depends On Me: ]
> 13:22:33,530 DEBUG [ServiceController] stopping service: jboss.web.deployment:war=test.war,id=-10807
> 43623
> 13:22:33,530 DEBUG [ServiceController] stopping dependent services for: jboss.web.deployment:war=tes
> t.war,id=-1080743623
> dependent services are: []
> 13:22:33,546 DEBUG [WebModule] Stopping jboss.web.deployment:war=test.war,id=-1080743623
> 13:22:33,546 INFO [TomcatDeployer] undeploy, ctxPath=/test, warUrl=file:/C:/Cluster/jboss-3.2.6/ser
> ver/all/tmp/deploy/tm
> p45130test.war/
> 13:22:33,577 DEBUG [Context] Stopping
> 13:22:33,577 DEBUG [Context] Stopping filters
> 13:22:33,577 DEBUG [Context] Stopping filter 'CommonHeadersFilter'
> 13:22:33,592 DEBUG [Context] Processing standard container shutdown
> 13:22:33,608 DEBUG [Context] Sending application stop events
> 13:22:33,624 DEBUG [Context] resetContext jboss.web:j2eeType=WebModule,name=//localhost/test,J2EEApp
> lication=none,J2EESer
> ver=none org.jboss.mx.server.MBeanServerImpl@f99ff5
> 13:22:33,624 DEBUG [Context] Stopping complete
> 13:22:33,639 DEBUG [WebModule] Stopped jboss.web.deployment:war=test.war,id=-1080743623
> 13:22:33,639 DEBUG [LocalJBossServerDomain] handleNotification: javax.management.Notification[source
> =jboss.system:service
> =ServiceController,type= org.jboss.system.ServiceMBean.stop,sequenceNumber=225,timeStamp=10993981536
> 39,message=null,userD
> ata=jboss.web.deployment:war=test.war,id=-1080743623]
> 13:22:33,655 DEBUG [LocalJBossServerDomain] handleNotification: javax.management.Notification[source
> =jboss.system:service
> =ServiceController,type= org.jboss.system.ServiceMBean.stop,sequenceNumber=226,timeStamp=10993981536
> 55,message=null,userD
> ata=test:service=SystemProperties]
> 13:22:33,671 DEBUG [LocalJBossServerDomain] handleNotification: javax.management.Notification[source
> =jboss.system:service
> =ServiceDeployer,type=org.jboss.deployment.SubDeployer.stop,sequenceNumber=114,timeStamp=10993981536
> 71,message=null,userD
> ata=org.jboss.deployment.DeploymentInfo@cb27219d { url=file:/C:/Cluster/jboss-3.2.6/server/all/deplo
> y/test-propertie
> s-service.xml }
> deployer: org.jboss.deployment.SARDeployer@15a0305
> status: Deployed
> state: STARTED
> watch: file:/C:/Cluster/jboss-3.2.6/server/all/deploy/test-properties-service.xml
> lastDeployed: 1099397960936
> lastModified: 1099397960874
> mbeans:
> test:service=SystemProperties state: Stopped
> ]
> 13:22:33,717 DEBUG [SARDeployer] destroying mbean test:service=SystemProperties
> 13:22:33,717 DEBUG [ServiceController] destroying service: test:service=SystemProperties
> 13:22:33,717 DEBUG [ServiceController] destroying dependent services for: test:service=SystemPropert
> ies depen
> dent services are: [ObjectName: jboss.web.deployment:war=test.war,id=-1080743623
> state: STOPPED
> I Depend On: test:service=SystemProperties
> Depends On Me: ]
> 13:22:33,749 DEBUG [ServiceController] destroying service: jboss.web.deployment:war=test.war,id=-108
> 0743623
> 13:22:33,749 DEBUG [ServiceController] destroying dependent services for: jboss.web.deployment:war=t
> est.war,id=-108074362
> 3 dependent services are: []
> 13:22:33,764 DEBUG [ServiceController] stopping service: jboss.web.deployment:war=test.war,id=-10807
> 43623
> 13:22:33,764 DEBUG [WebModule] Destroying jboss.web.deployment:war=test.war,id=-1080743623
> 13:22:33,764 DEBUG [WebModule] Destroyed jboss.web.deployment:war=test.war,id=-1080743623
> 13:22:33,764 DEBUG [LocalJBossServerDomain] handleNotification: javax.management.Notification[source
> =jboss.system:service
> =ServiceController,type= org.jboss.system.ServiceMBean.destroy,sequenceNumber=227,timeStamp=10993981
> 53764,message=null,us
> erData=jboss.web.deployment:war=test.war,id=-1080743623]
> 13:22:33,780 DEBUG [DefaultManagedObjectFactoryMap] Failed to find factory for event: javax.manageme
> nt.Notification[sourc
> e=jboss.system:service=ServiceController,type= org.jboss.system.ServiceMBean.destroy,sequenceNumber=
> 227,timeStamp=1099398
> 153764,message=null,userData=jboss.web.deployment:war=test.war,id=-1080743623]
> 13:22:33,811 DEBUG [ServiceController] stopping service: test:service=SystemProperties
> 13:22:33,811 DEBUG [LocalJBossServerDomain] handleNotification: javax.management.Notification[source
> =jboss.system:service
> =ServiceController,type= org.jboss.system.ServiceMBean.destroy,sequenceNumber=228,timeStamp=10993981
> 53811,message=null,us
> erData=test:service=SystemProperties]
> 13:22:33,827 DEBUG [DefaultManagedObjectFactoryMap] Failed to find factory for event: javax.manageme
> nt.Notification[sourc
> e=jboss.system:service=ServiceController,type= org.jboss.system.ServiceMBean.destroy,sequenceNumber=
> 228,timeStamp=1099398
> 153811,message=null,userData=test:service=SystemProperties]
> 13:22:33,827 DEBUG [SARDeployer] removing mbean test:service=SystemProperties
> 13:22:33,842 DEBUG [ServiceController] removing service: test:service=SystemProperties
> 13:22:33,842 DEBUG [ServiceController] removing test:service=SystemProperties from server
> 13:22:33,842 DEBUG [ServiceController] Context not removed, it is recording dependencies: ObjectName
> : test:se
> rvice=SystemProperties
> state: DESTROYED
> I Depend On:
> Depends On Me: jboss.web.deployment:war=test.war,id=-1080743623
> 13:22:33,874 DEBUG [SARDeployer] Unregistering service UCL=jmx.loading:UCL=17210a5
> 13:22:33,874 DEBUG [UnifiedLoaderRepository3] UnifiedLoaderRepository removed(false) org.jboss.mx.lo
> ading.UnifiedClassLoa
> der3@17210a5{ url=file:/C:/Cluster/jboss-3.2.6/server/all/tmp/deploy/tmp45117test-properties-service
> .xml ,addedOrder
> =21}
> 13:22:33,889 DEBUG [LocalJBossServerDomain] handleNotification: javax.management.Notification[source
> =jboss.system:service
> =ServiceDeployer,type=org.jboss.deployment.SubDeployer.destroy,sequenceNumber=115,timeStamp=10993981
> 53889,message=null,us
> erData=org.jboss.deployment.DeploymentInfo@cb27219d { url=file:/C:/Cluster/jboss-3.2.6/server/all/de
> ploy/test-proper
> ties-service.xml }
> deployer: org.jboss.deployment.SARDeployer@15a0305
> status: Deployed
> state: STARTED
> watch: file:/C:/Cluster/jboss-3.2.6/server/all/deploy/test-properties-service.xml
> lastDeployed: 1099397960936
> lastModified: 1099397960874
> mbeans:
> test:service=SystemProperties (state not available)
> ]
> 13:22:33,936 DEBUG [J2EEManagedObject] removeObject(), name: test:service=SystemProperties, encrypte
> d name: d
> ukascopy.system%3aservice%3dSystemProperties, search criteria: jboss.management.local:j2eeType=MBean
> ,*,name=test.sys
> tem%3aservice%3dSystemProperties
> 13:22:33,952 DEBUG [MBean] preDeregister(), parent: jboss.management.local:J2EEServer=Local,j2eeType
> =ServiceModule,name=d
> ukascopy-properties-service.xml
> 13:22:33,967 DEBUG [ServiceModuleFactory] Destroy MBean, name: test:service=SystemProperties
> 13:22:33,967 DEBUG [ServiceModule] destroy(), remove Service Module: test-properties-service.xml
> 13:22:33,967 DEBUG [J2EEManagedObject] removeObject(), name: test-properties-service.xml, encrypted
> name: test-
> properties-service.xml, search criteria: jboss.management.local:j2eeType=ServiceModule,*,name=test-p
> roperties-servic
> e.xml
> 13:22:33,983 DEBUG [ServiceModule] preDeregister(), parent: jboss.management.local:j2eeType=J2EEServ
> er,name=Local
> 13:22:33,983 DEBUG [ServiceModuleFactory] Removed JSR-77 SAR: test-properties-service.xml
> 13:22:33,999 DEBUG [UnifiedClassLoader] Unregistering ucl=org.jboss.mx.loading.UnifiedClassLoader3@1
> 7210a5{ url=file:/C:/
> Cluster/jboss-3.2.6/server/all/tmp/deploy/tmp45117test-properties-service.xml ,addedOrder=21}
> 13:22:33,999 DEBUG [UnifiedLoaderRepository3] UnifiedLoaderRepository removed(true) org.jboss.mx.loa
> ding.UnifiedClassLoad
> er3@17210a5{ url=file:/C:/Cluster/jboss-3.2.6/server/all/tmp/deploy/tmp45117test-properties-service.
> xml ,addedOrder=
> 21}
> 13:22:34,014 DEBUG [DeploymentInfo] Cleaned Deployment: file:/C:/Cluster/jboss-3.2.6/server/all/tmp/
> deploy/tmp45117dukasc
> opy-properties-service.xml
> 13:22:34,014 DEBUG [MainDeployer] Undeployed file:/C:/Cluster/jboss-3.2.6/server/all/deploy/test-pro
> perties-service.
> xml
> 13:22:34,030 DEBUG [MainDeployer] Starting deployment of package: file:/C:/Cluster/jboss-3.2.6/serve
> r/all/deploy/dukascop
> y-properties-service.xml
> 13:22:34,030 DEBUG [MainDeployer] Starting deployment (init step) of package at: file:/C:/Cluster/jb
> oss-3.2.6/server/all/
> deploy/test-properties-service.xml
> 13:22:34,046 DEBUG [MainDeployer] Copying file:/C:/Cluster/jboss-3.2.6/server/all/deploy/test-proper
> ties-service.xml
> -> C:\Cluster\jboss-3.2.6\server\all\tmp\deploy\tmp45131test-properties-service.xml
> 13:22:34,061 DEBUG [MainDeployer] using deployer org.jboss.deployment.SARDeployer@15a0305
> 13:22:34,077 DEBUG [SARDeployer] about to copy 0 local directories
> 13:22:34,077 DEBUG [SARDeployer] looking for nested deployments in : file:/C:/Cluster/jboss-3.2.6/se
> rver/all/deploy/dukas
> copy-properties-service.xml
> 13:22:34,092 DEBUG [LocalJBossServerDomain] handleNotification: javax.management.Notification[source
> =jboss.system:service
> =ServiceDeployer,type=org.jboss.deployment.SubDeployer.init,sequenceNumber=116,timeStamp=10993981540
> 92,message=null,userD
> ata=org.jboss.deployment.DeploymentInfo@cb27219d { url=file:/C:/Cluster/jboss-3.2.6/server/all/deplo
> y/test-propertie
> s-service.xml }
> deployer: org.jboss.deployment.SARDeployer@15a0305
> status: null
> state: INIT_DEPLOYER
> watch: file:/C:/Cluster/jboss-3.2.6/server/all/deploy/test-properties-service.xml
> lastDeployed: 0
> lastModified: 0
> mbeans:
> ]
> 13:22:34,139 DEBUG [DeploymentInfo] createLoaderRepository from config: LoaderRepositoryConfig(repos
> itoryName: JMImplemen
> tation:service=LoaderRepository,name=Default, repositoryClassName: null, configParserClassName: null
> , repositoryConfig: n
> ull)
> 13:22:34,155 DEBUG [UnifiedClassLoader] New jmx UCL with url file:/C:/Cluster/jboss-3.2.6/server/all
> /tmp/deploy/tmp45131d
> ukascopy-properties-service.xml
> 13:22:34,155 DEBUG [UnifiedClassLoader] setRepository, r=org.jboss.mx.loading.UnifiedLoaderRepositor
> y3@1b8e059, ucl=org.j
> boss.mx.loading.UnifiedClassLoader3@37dde9{ url=file:/C:/Cluster/jboss-3.2.6/server/all/tmp/deploy/t
> mp45131test-prop
> erties-service.xml ,addedOrder=0}
> 13:22:34,171 DEBUG [UnifiedClassLoader] setRepository, r=org.jboss.mx.loading.UnifiedLoaderRepositor
> y3@1b8e059, ucl=org.j
> boss.mx.loading.UnifiedClassLoader3@37dde9{ url=file:/C:/Cluster/jboss-3.2.6/server/all/tmp/deploy/t
> mp45131test-prop
> erties-service.xml ,addedOrder=0}
> 13:22:34,186 DEBUG [UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3@37dde9
> { url=file:/C:/Cluste
> r/jboss-3.2.6/server/all/tmp/deploy/tmp45131test-properties-service.xml ,addedOrder=0}
> 13:22:34,186 DEBUG [MainDeployer] found 0 subpackages of file:/C:/Cluster/jboss-3.2.6/server/all/dep
> loy/test-propert
> ies-service.xml
> 13:22:34,202 DEBUG [MainDeployer] Watching new file: file:/C:/Cluster/jboss-3.2.6/server/all/deploy/
> test-properties-
> service.xml
> 13:22:34,202 DEBUG [MainDeployer] create step for deployment file:/C:/Cluster/jboss-3.2.6/server/all
> /deploy/test-pro
> perties-service.xml
> 13:22:34,217 DEBUG [SARDeployer] Deploying SAR, create step: url file:/C:/Cluster/jboss-3.2.6/server
> /all/deploy/test
> -properties-service.xml
> 13:22:34,217 DEBUG [SARDeployer] Registering service UCL=jmx.loading:UCL=37dde9
> 13:22:34,233 DEBUG [ModelMBeanInvoker] No persistence-manager descriptor found, null persistence wil
> l be used
> 13:22:34,233 DEBUG [SnmpAgentService] It's for me: javax.management.MBeanServerNotification: notific
> ationType=JMX.mbean.r
> egistered source=JMImplementation:type=MBeanServerDelegate seq-no=487 time=1099398154233 message=nul
> l objectName=jmx.load
> ing:UCL=37dde9 userData=null, handback:2147483647
> 13:22:34,264 DEBUG [ServiceCreator] About to create bean: test:service=SystemProperties with code: o
> rg.jboss.
> varia.property.SystemPropertiesService
> 13:22:34,280 DEBUG [ModelMBeanInvoker] No persistence-manager descriptor found, null persistence wil
> l be used
> 13:22:34,280 DEBUG [SnmpAgentService] It's for me: javax.management.MBeanServerNotification: notific
> ationType=JMX.mbean.r
> egistered source=JMImplementation:type=MBeanServerDelegate seq-no=488 time=1099398154280 message=nul
> l objectName=dukascop
> y.system:service=SystemProperties userData=null, handback:2147483647
> 13:22:34,296 DEBUG [ServiceCreator] Created bean: test:service=SystemProperties
> 13:22:34,296 DEBUG [ServiceConfigurator] Properties set to {test.mt.chart.chartserver.url=http://fre
> eserv.test.
> com/ru.test.server.auto.image/chart/, test.mt.datalayer.cache.url=rmi://192.168.100.174:1099/CacheSe
> rver} in du
> kascopy.system:service=SystemProperties
> 13:22:34,311 DEBUG [ServiceController] Creating service test:service=SystemProperties
> 13:22:34,311 DEBUG [LocalJBossServerDomain] handleNotification: javax.management.Notification[source
> =jboss.system:service
> =ServiceController,type= org.jboss.system.ServiceMBean.create,sequenceNumber=229,timeStamp=109939815
> 4311,message=null,use
> rData=test:service=SystemProperties]
> 13:22:34,327 DEBUG [DefaultManagedObjectFactoryMap] Failed to find factory for event: javax.manageme
> nt.Notification[sourc
> e=jboss.system:service=ServiceController,type= org.jboss.system.ServiceMBean.create,sequenceNumber=2
> 29,timeStamp=10993981
> 54311,message=null,userData=test:service=SystemProperties]
> 13:22:34,342 DEBUG [ServiceController] Creating dependent components for: test:service=SystemPropert
> ies depen
> dents are: [ObjectName: jboss.web.deployment:war=test.war,id=-1080743623
> state: DESTROYED
> I Depend On: test:service=SystemProperties
> Depends On Me: ]
> 13:22:34,374 DEBUG [ServiceController] Creating service jboss.web.deployment:war=test.war,id=-108074
> 3623
> 13:22:34,374 DEBUG [WebModule] Creating jboss.web.deployment:war=test.war,id=-1080743623
> 13:22:34,389 DEBUG [WebModule] Created jboss.web.deployment:war=test.war,id=-1080743623
> 13:22:34,405 DEBUG [LocalJBossServerDomain] handleNotification: javax.management.Notification[source
> =jboss.system:service
> =ServiceController,type= org.jboss.system.ServiceMBean.create,sequenceNumber=230,timeStamp=109939815
> 4405,message=null,use
> rData=jboss.web.deployment:war=test.war,id=-1080743623]
> 13:22:34,421 DEBUG [DefaultManagedObjectFactoryMap] Failed to find factory for event: javax.manageme
> nt.Notification[sourc
> e=jboss.system:service=ServiceController,type= org.jboss.system.ServiceMBean.create,sequenceNumber=2
> 30,timeStamp=10993981
> 54405,message=null,userData=jboss.web.deployment:war=test.war,id=-1080743623]
> 13:22:34,436 DEBUG [ServiceController] Creating dependent components for: jboss.web.deployment:war=t
> est.war,id=-108074362
> 3 dependents are: []
> 13:22:34,436 DEBUG [LocalJBossServerDomain] handleNotification: javax.management.Notification[source
> =jboss.system:service
> =ServiceDeployer,type=org.jboss.deployment.SubDeployer.create,sequenceNumber=117,timeStamp=109939815
> 4436,message=null,use
> rData=org.jboss.deployment.DeploymentInfo@cb27219d { url=file:/C:/Cluster/jboss-3.2.6/server/all/dep
> loy/test-propert
> ies-service.xml }
> deployer: org.jboss.deployment.SARDeployer@15a0305
> status: null
> state: CREATE_DEPLOYER
> watch: file:/C:/Cluster/jboss-3.2.6/server/all/deploy/test-properties-service.xml
> lastDeployed: 1099398154202
> lastModified: 1099398154061
> mbeans:
> test:service=SystemProperties state: Created
> ]
> 13:22:34,483 DEBUG [MainDeployer] Done with create step of deploying test-properties-service.xml
> 13:22:34,499 DEBUG [MainDeployer] Begin deployment start file:/C:/Cluster/jboss-3.2.6/server/all/dep
> loy/test-propert
> ies-service.xml
> 13:22:34,499 DEBUG [SARDeployer] Deploying SAR, start step: url file:/C:/Cluster/jboss-3.2.6/server/
> all/deploy/test-
> properties-service.xml
> 13:22:34,514 DEBUG [ServiceController] starting service test:service=SystemProperties
> 13:22:34,514 DEBUG [LocalJBossServerDomain] handleNotification: javax.management.Notification[source
> =jboss.system:service
> =ServiceController,type= org.jboss.system.ServiceMBean.start,sequenceNumber=231,timeStamp=1099398154
> 514,message=null,user
> Data=test:service=SystemProperties]
> 13:22:34,530 DEBUG [ServiceController] Starting dependent components for: test:service=SystemPropert
> ies depen
> dent components: [ObjectName: jboss.web.deployment:war=test.war,id=-1080743623
> state: CREATED
> I Depend On: test:service=SystemProperties
> Depends On Me: ]
> 13:22:34,546 DEBUG [ServiceController] starting service jboss.web.deployment:war=test.war,id=-108074
> 3623
> 13:22:34,546 DEBUG [WebModule] Starting jboss.web.deployment:war=test.war,id=-1080743623
> 13:22:34,561 ERROR [WebModule] Starting failed jboss.web.deployment:war=test.war,id=-1080743623
> java.lang.NullPointerException
> at org.jboss.web.WebModule.startModule(WebModule.java:61)
> at org.jboss.web.WebModule.startService(WebModule.java:40)
> at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
> at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
> at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
> at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:884)
> at $Proxy18.start(Unknown Source)
> at org.jboss.system.ServiceController.start(ServiceController.java:414)
> at org.jboss.system.ServiceController.start(ServiceController.java:436)
> 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.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
> at $Proxy4.start(Unknown Source)
> at org.jboss.deployment.SARDeployer.start(SARDeployer.java:251)
> at org.jboss.deployment.MainDeployer.start(MainDeployer.java:829)
> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
> at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
> at $Proxy8.deploy(Unknown Source)
> at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
> at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:460)
> at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeplo
> ymentScanner.java:201
> )
> at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploym
> entScanner.java:212)
> at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeployme
> ntScanner.java:191)
> 13:22:34,717 WARN [ServiceController] Problem starting service jboss.web.deployment:war=test.war,id
> =-1080743623
> RuntimeMBeanException: java.lang.NullPointerException
> Cause: java.lang.NullPointerException
> at org.jboss.mx.server.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.ja
> va:82)
> at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:64)
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
> at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:884)
> at $Proxy18.start(Unknown Source)
> at org.jboss.system.ServiceController.start(ServiceController.java:414)
> at org.jboss.system.ServiceController.start(ServiceController.java:436)
> 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.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
> at $Proxy4.start(Unknown Source)
> at org.jboss.deployment.SARDeployer.start(SARDeployer.java:251)
> at org.jboss.deployment.MainDeployer.start(MainDeployer.java:829)
> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
> at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
> at $Proxy8.deploy(Unknown Source)
> at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
> at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:460)
> at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeplo
> ymentScanner.java:201
> )
> at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploym
> entScanner.java:212)
> at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeployme
> ntScanner.java:191)
> Caused by: java.lang.NullPointerException
> at org.jboss.web.WebModule.startModule(WebModule.java:61)
> at org.jboss.web.WebModule.startService(WebModule.java:40)
> at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
> at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
> at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
> ... 40 more
> 13:22:34,921 DEBUG [LocalJBossServerDomain] handleNotification: javax.management.Notification[source
> =jboss.system:service
> =ServiceDeployer,type=org.jboss.deployment.SubDeployer.start,sequenceNumber=118,timeStamp=1099398154
> 921,message=null,user
> Data=org.jboss.deployment.DeploymentInfo@cb27219d { url=file:/C:/Cluster/jboss-3.2.6/server/all/depl
> oy/test-properti
> es-service.xml }
> deployer: org.jboss.deployment.SARDeployer@15a0305
> status: Starting
> state: START_DEPLOYER
> watch: file:/C:/Cluster/jboss-3.2.6/server/all/deploy/test-properties-service.xml
> lastDeployed: 1099398154202
> lastModified: 1099398154061
> mbeans:
> test:service=SystemProperties state: Started
> ]
> 13:22:34,967 DEBUG [ModelMBeanInvoker] No persistence-manager descriptor found, null persistence wil
> l be used
> 13:22:34,967 DEBUG [SnmpAgentService] It's for me: javax.management.MBeanServerNotification: notific
> ationType=JMX.mbean.r
> egistered source=JMImplementation:type=MBeanServerDelegate seq-no=489 time=1099398154967 message=nul
> l objectName=jboss.ma
> nagement.local:J2EEServer=Local,j2eeType=ServiceModule,name=test-properties-service.xml userData=nul
> l, handback:2147
> 483647
> 13:22:34,983 DEBUG [ServiceModule] postRegister(), parent: jboss.management.local:j2eeType=J2EEServe
> r,name=Local
> 13:22:34,999 DEBUG [ServiceModule] Created JSR-77 ServiceModule, name: test-properties-service.xml
> 13:22:34,999 DEBUG [ServiceModuleFactory] Created ServiceModule: jboss.management.local:J2EEServer=L
> ocal,j2eeType=Service
> Module,name=test-properties-service.xml
> 13:22:35,014 DEBUG [ModelMBeanInvoker] No persistence-manager descriptor found, null persistence wil
> l be used
> 13:22:35,014 DEBUG [SnmpAgentService] It's for me: javax.management.MBeanServerNotification: notific
> ationType=JMX.mbean.r
> egistered source=JMImplementation:type=MBeanServerDelegate seq-no=490 time=1099398155014 message=nul
> l objectName=jboss.ma
> nagement.local:J2EEApplication=null,J2EEServer=Local,ServiceModule=test-properties-service.xml,j2eeT
> ype=MBean,name=d
> ukascopy.system%3aservice%3dSystemProperties userData=null, handback:2147483647
> 13:22:35,030 DEBUG [MBean] postRegister(), parent: jboss.management.local:J2EEServer=Local,j2eeType=
> ServiceModule,name=du
> kascopy-properties-service.xml
> 13:22:35,046 DEBUG [ServiceModuleFactory] Create MBean, name: test:service=SystemProperties, SAR Mod
> ule: jbos
> s.management.local:J2EEServer=Local,j2eeType=ServiceModule,name=test-properties-service.xml
> 13:22:35,046 DEBUG [MainDeployer] End deployment start on package: test-properties-service.xml
> 13:22:35,046 DEBUG [MainDeployer] Deployed package: file:/C:/Cluster/jboss-3.2.6/server/all/deploy/t
> est-properties-s
> ervice.xml
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 10 months
[JBoss JIRA] Created: (JBAS-3883) JBoss ignores "Class-Path" attribute in WAR's MANIFEST.MF
by Amit Kasher (JIRA)
JBoss ignores "Class-Path" attribute in WAR's MANIFEST.MF
---------------------------------------------------------
Key: JBAS-3883
URL: http://jira.jboss.com/jira/browse/JBAS-3883
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: ClassLoading, Web (Tomcat) service
Affects Versions: JBossAS-5.0.0.Beta1
Reporter: Amit Kasher
Assigned To: Scott M Stark
An EAR file that deploys well in JBoss4.0.5 fails to deploy in JBoss5.0Beta1 when initializing the web application (NoClassDefFound).
However, this ear does deploy well when taking the required jar files (the WAR dependencies) out of the EAR and placing them inside the .war/WEB-INF/lib folder, as well as removing the "Class-Path" entry in the WAR's MANIFEST.MF.
Documents stating, as far as I understand, the existence of the requirement that this should work are here:
http://java.sun.com/j2ee/verified/packaging.html
... as well as in the spec ... (http://jcp.org/en/jsr/detail?id=244) in section EE.8.2.1 (Bundled Libraries) starting in page 155.
It's related to Tomcat's classpath (or to the classpath augmentation JBoss performs, where there were probably recent changes to support resource injection into web clients, like servlets). This is why I indicated Tomcat as an additional affected component.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 11 months
[JBoss JIRA] Created: (JBAS-4306) Invalid invoker mbean names in standardjboss.xml
by Scott M Stark (JIRA)
Invalid invoker mbean names in standardjboss.xml
------------------------------------------------
Key: JBAS-4306
URL: http://jira.jboss.com/jira/browse/JBAS-4306
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: EJB2
Affects Versions: JBossAS-5.0.0.Beta2
Reporter: Scott M Stark
Assigned To: Scott M Stark
Fix For: JBossAS-5.0.0.Beta3
The following invoker-proxy-binding is useless in terms of defining the invoker-mbean such that it can be used as a ejb container dependency:
<invoker-proxy-binding>
<name>message-driven-bean</name>
<invoker-mbean>default</invoker-mbean>
<proxy-factory>org.jboss.ejb.plugins.jms.JMSContainerInvoker</proxy-factory>
<proxy-factory-config>
<JMSProviderAdapterJNDI>DefaultJMSProvider</JMSProviderAdapterJNDI>
<ServerSessionPoolFactoryJNDI>StdJMSPool</ServerSessionPoolFactoryJNDI>
<CreateJBossMQDestination>false</CreateJBossMQDestination>
<!-- WARN: Don't set this to zero until a bug in the pooled executor is fixed -->
<MinimumSize>1</MinimumSize>
<MaximumSize>15</MaximumSize>
<KeepAliveMillis>30000</KeepAliveMillis>
<MaxMessages>1</MaxMessages>
<MDBConfig>
<ReconnectIntervalSec>10</ReconnectIntervalSec>
<DLQConfig>
<DestinationQueue>queue/DLQ</DestinationQueue>
<MaxTimesRedelivered>10</MaxTimesRedelivered>
<TimeToLive>0</TimeToLive>
</DLQConfig>
</MDBConfig>
</proxy-factory-config>
</invoker-proxy-binding>
Either there should be an mbean representing the state of the default invoker, or the mdb invoker config specified in another way such that dependencies can be configured.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 11 months