[JBoss Seam] - Pageflow problems with back button
by jbeaken
Hi, I hope someone may be able to help with a stateful model pageflow issue I am currently having.
I have a pageflow defined, a little bit of which is here:
<?xml version="1.0"?>
<pageflow-definition name="requestTrackQuote" conversation-required="true">
<start-page view-id="/quote/searchTracks.xhtml" name="start">
</start-page>
<page name="searchTracks"
view-id="/quote/searchResults.xhtml"
no-conversation-view-id="/quote/searchTracks.xhtml">
I start a convesation using an s:link
<s:link action="start" propagation="begin" pageflow="requestTrackQuote" value="Search for tracks"/>
The conversation proceeds fine unless I click on the back button. When I do, I am returned to the previous page but upon clicking any of the action links, nothing happens.
On reading the docs I came across this :
Seam transparently detects the use of the back button, and blocks any attempt to perform an action from a previous, "stale" page, and simply redirects the user to the "current" page (and displays a faces message).
This is simply not happening for me, there is no redirect to the 'current page', I'm just left stranded on the previous page
Anybody got any ideas??
thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087242#4087242
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087242
18 years, 8 months
[JBoss Seam] - Deployment fails jee5 GlassFish example
by ajayjadhav
Hi,
I am trying to deploy the Seam jee5 booking example application on GlassFish V2. The application is getting deployed but showing nothing on the browser when accessed.
Environment:
JDK 1.6
Seam 2.0.0.CR1
GlassFish V2 (build b58g-fcs)
Can anybody pls. help me in resolving this. Am I missing anything in the configuration?
Pls. find below stack-trace from server.log file
============================================================================================================================
[#|2007-09-21T16:30:56.652+0530|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=18 ;_ThreadName=Timer-5;|[AutoDeploy] Selecting file C:\GlassFish-V2-Final\glassfish\domains\domain1\autodeploy\jboss-seam-jee5.ear for autodeployment.|#]
[#|2007-09-21T16:31:02.235+0530|WARNING|sun-appserver9.1|javax.enterprise.system.util|_ThreadID=18 ;_ThreadName=Timer-5;5;C:\GlassFish-V2-Final\glassfish\domains\domain1\applications\j2ee-apps\jboss-seam-jee5\jboss-seam-jee5_war\WEB-INF\lib\ajax4jsf-1.1.1.jar;_RequestID=d5df71f5-3d07-4252-943a-84fbf9efa52c;|UTIL6051: After 5 retries these files could not be deleted and are now marked for delete-on-exit: C:\GlassFish-V2-Final\glassfish\domains\domain1\applications\j2ee-apps\jboss-seam-jee5\jboss-seam-jee5_war\WEB-INF\lib\ajax4jsf- 1.1.1.jar|#]
[#|2007-09-21T16:31:02.235+0530|WARNING|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=18;_ThreadName=Timer-5;_RequestID=d5df71f5-3d07-4252-943a-84fbf9efa52c;|The following file(s) were left(locked) from the previous deployment; they were not updated during this deployment and could interfere with the application:
C:\GlassFish-V2-Final\glassfish\domains\domain1\applications\j2ee-apps\jboss-seam-jee5\jboss-seam-jee5_war\WEB-INF\lib\ajax4jsf-1.1.1.jar|#]
[#|2007-09-21T16:31:02.330+0530|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=18 ;_ThreadName=Timer-5;|deployed with moduleid = jboss-seam-jee5|#]
[#|2007-09-21T16:31:02.409+0530|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=18;_ThreadName=Timer-5;_RequestID=d5df71f5-3d07-4252-943a-84fbf9efa52c;|
log4j:WARN No appenders could be found for logger (org.hibernate.ejb.Version).|#]
[#|2007-09-21T16:31:02.409+0530|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=18;_ThreadName=Timer-5;_RequestID=d5df71f5-3d07-4252-943a-84fbf9efa52c;|
log4j:WARN Please initialize the log4j system properly.|#]
[#|2007-09-21T16:31:06.510+0530|INFO|sun-appserver9.1|javax.enterprise.system.core.naming|_ThreadID=18;_ThreadName=Timer-5;java:comp/env/org.jboss.seam.example.booking.AuthenticatorAction/em;|naming.bind|#]
[#|2007-09-21T16:31:06.526+0530|INFO|sun-appserver9.1|javax.enterprise.system.core.naming|_ThreadID=18;_ThreadName=Timer-5;java:comp/env/org.jboss.seam.example.booking.ChangePasswordAction/em;|naming.bind|#]
[#|2007-09-21T16:31:06.526+0530|INFO|sun-appserver9.1|javax.enterprise.system.core.naming|_ThreadID=18;_ThreadName=Timer-5;java:comp/env/org.jboss.seam.example.booking.RegisterAction/em;|naming.bind|#]
[#|2007-09-21T16:31: 06.526+0530|INFO|sun-appserver9.1|javax.enterprise.system.core.naming|_ThreadID=18;_ThreadName=Timer-5;java:comp/env/org.jboss.seam.example.booking.HotelBookingAction/em;|naming.bind|#]
[#|2007-09-21T16:31:06.526+0530|INFO|sun-appserver9.1|javax.enterprise.system.core.naming|_ThreadID=18 ;_ThreadName=Timer-5;java:comp/env/org.jboss.seam.example.booking.HotelSearchingAction/em;|naming.bind|#]
[#|2007-09-21T16:31:06.542+0530|INFO|sun-appserver9.1|javax.enterprise.system.core.naming|_ThreadID=18;_ThreadName=Timer-5;java:comp/env/org.jboss.seam.example.booking.BookingListAction/em;|naming.bind|#]
[#|2007-09-21T16:31:06.589+0530|INFO|sun-appserver9.1|javax.enterprise.system.core.classloading|_ThreadID=18;_ThreadName=Timer-5;jboss-seam-jee5;|LDR5010: All ejb(s) of [jboss-seam-jee5] loaded successfully!|#]
[#|2007-09-21T16:31:06.873+0530|INFO|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=18;_ThreadName=Timer-5;/seam-jee5;|Initializing Sun's JavaServer Faces implementation (1.2_04-b20-p03 ) for context '/seam-jee5'|#]
[#|2007-09-21T16:31:07.409+0530|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=18;_ThreadName=Timer-5;_RequestID=d5df71f5-3d07-4252-943a-84fbf9efa52c;|
javax.faces.FacesException: org.ajax4jsf.framework.renderer.ChameleonRenderKitFactory
at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:556)
at javax.faces.FactoryFinder.getImplementationInstance (FactoryFinder.java:448)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:249)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1036)
at com.sun.faces.config.ConfigureListener.configure (ConfigureListener.java:493)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:381)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4515)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5176)
at com.sun.enterprise.web.WebModule.start(WebModule.java:327)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java :973)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:957)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:688)
at com.sun.enterprise.web.WebContainer.loadWebModule (WebContainer.java:1581)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1222)
at com.sun.enterprise.web.WebContainer.loadJ2EEApplicationWebModules(WebContainer.java:1147)
at com.sun.enterprise.server.TomcatApplicationLoader.doLoad (TomcatApplicationLoader.java:141)
at com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:244)
at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:336)
at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:210)
at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:645)
at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener (AdminEventMulticaster.java:928)
at com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:912)
at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent (AdminEventMulticaster.java:461)
at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:176)
at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent (DeploymentNotificationHelper.java:308)
at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:226)
at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent (ServerDeploymentTarget.java:298)
at com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)
at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase (DeploymentPhase.java:108)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java :276)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:294)
at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.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:597)
at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:375)
at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean (MBeanHelper.java:358)
at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:464)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java :25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
at $Proxy1.invoke(Unknown Source)
at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke (SunoneInterceptor.java:304)
at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.invokeDeploymentService(AutoDeployer.java :564)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployJavaEEArchive(AutoDeployer.java:545)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:492)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll (AutoDeployer.java:267)
at com.sun.enterprise.deployment.autodeploy.AutoDeployControllerImpl$AutoDeployTask.run(AutoDeployControllerImpl.java:374)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:549)
... 55 more
Caused by: javax.faces.FacesException: java.lang.IllegalArgumentException: argument type mismatch
at org.ajax4jsf.framework.resource.ResourceBuilderImpl.registerConfig (ResourceBuilderImpl.java:193)
at org.ajax4jsf.framework.resource.ResourceBuilderImpl.registerResources(ResourceBuilderImpl.java:131)
at org.ajax4jsf.framework.resource.ResourceBuilderImpl.init(ResourceBuilderImpl.java :202)
at org.ajax4jsf.framework.renderer.ChameleonRenderKitFactory.(ChameleonRenderKitFactory.java:62)
... 60 more
Caused by: java.lang.IllegalArgumentException: argument type mismatch
at org.apache.commons.digester.Digester.createSAXException(Digester.java:2792)
at org.apache.commons.digester.Digester.createSAXException(Digester.java:2818)
at org.apache.commons.digester.Digester.endElement(Digester.java :1070)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch (Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse (Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse (Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1591)
at org.ajax4jsf.framework.resource.ResourceBuilderImpl.registerConfig(ResourceBuilderImpl.java:186)
... 63 more
|#]
[#|2007-09-21T16:31:07.409+0530|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=18;_ThreadName=Timer-5;_RequestID=d5df71f5-3d07-4252-943a-84fbf9efa52c;|WebModule[/seam-jee5]PWC1275: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
javax.faces.FacesException: org.ajax4jsf.framework.renderer.ChameleonRenderKitFactory
at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:556)
at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:448)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:249)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java :1036)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:493)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:381)
at org.apache.catalina.core.StandardContext.listenerStart (StandardContext.java:4515)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5176)
at com.sun.enterprise.web.WebModule.start(WebModule.java:327)
at org.apache.catalina.core.ContainerBase.addChildInternal (ContainerBase.java:973)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:957)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:688)
at com.sun.enterprise.web.WebContainer.loadWebModule (WebContainer.java:1581)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1222)
at com.sun.enterprise.web.WebContainer.loadJ2EEApplicationWebModules(WebContainer.java:1147)
at com.sun.enterprise.server.TomcatApplicationLoader.doLoad (TomcatApplicationLoader.java:141)
at com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:244)
at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:336)
at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:210)
at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:645)
at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener (AdminEventMulticaster.java:928)
at com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:912)
at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent (AdminEventMulticaster.java:461)
at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:176)
at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent (DeploymentNotificationHelper.java:308)
at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:226)
at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent (ServerDeploymentTarget.java:298)
at com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)
at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase (DeploymentPhase.java:108)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java :276)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:294)
at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.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:597)
at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:375)
at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean (MBeanHelper.java:358)
at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:464)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java :25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
at $Proxy1.invoke(Unknown Source)
at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke (SunoneInterceptor.java:304)
at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.invokeDeploymentService(AutoDeployer.java :564)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployJavaEEArchive(AutoDeployer.java:545)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:492)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll (AutoDeployer.java:267)
at com.sun.enterprise.deployment.autodeploy.AutoDeployControllerImpl$AutoDeployTask.run(AutoDeployControllerImpl.java:374)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:549)
... 55 more
Caused by: javax.faces.FacesException: java.lang.IllegalArgumentException: argument type mismatch
at org.ajax4jsf.framework.resource.ResourceBuilderImpl.registerConfig (ResourceBuilderImpl.java:193)
at org.ajax4jsf.framework.resource.ResourceBuilderImpl.registerResources(ResourceBuilderImpl.java:131)
at org.ajax4jsf.framework.resource.ResourceBuilderImpl.init(ResourceBuilderImpl.java :202)
at org.ajax4jsf.framework.renderer.ChameleonRenderKitFactory.(ChameleonRenderKitFactory.java:62)
... 60 more
Caused by: java.lang.IllegalArgumentException: argument type mismatch
at org.apache.commons.digester.Digester.createSAXException(Digester.java:2792)
at org.apache.commons.digester.Digester.createSAXException(Digester.java:2818)
at org.apache.commons.digester.Digester.endElement(Digester.java :1070)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch (Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse (Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse (Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1591)
at org.ajax4jsf.framework.resource.ResourceBuilderImpl.registerConfig(ResourceBuilderImpl.java:186)
... 63 more
|#]
[#|2007-09-21T16:31:07.504+0530|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=18;_ThreadName=Timer-5;_RequestID=d5df71f5-3d07-4252-943a-84fbf9efa52c;|WebModule[/seam-jee5]PWC1275: Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
java.lang.RuntimeException: error while reading jar:file:/C:/GlassFish-V2-Final/glassfish/domains/domain1/applications/j2ee-apps/jboss-seam-jee5/jboss-seam-jee5_war/WEB-INF/lib/jboss- seam-ui.jar!/META-INF/components.xml
at org.jboss.seam.init.Initialization.initComponentsFromXmlDocuments(Initialization.java:118)
at org.jboss.seam.init.Initialization.create(Initialization.java:88)
at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4515)
at org.apache.catalina.core.StandardContext.start (StandardContext.java:5176)
at com.sun.enterprise.web.WebModule.start(WebModule.java:327)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:973)
at org.apache.catalina.core.ContainerBase.addChild (ContainerBase.java:957)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:688)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1581)
at com.sun.enterprise.web.WebContainer.loadWebModule (WebContainer.java:1222)
at com.sun.enterprise.web.WebContainer.loadJ2EEApplicationWebModules(WebContainer.java:1147)
at com.sun.enterprise.server.TomcatApplicationLoader.doLoad(TomcatApplicationLoader.java:141)
at com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:244)
at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:336)
at com.sun.enterprise.server.ApplicationManager.applicationDeployed (ApplicationManager.java:210)
at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:645)
at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener (AdminEventMulticaster.java:928)
at com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:912)
at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent (AdminEventMulticaster.java:461)
at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:176)
at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent (DeploymentNotificationHelper.java:308)
at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:226)
at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent (ServerDeploymentTarget.java:298)
at com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)
at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase (DeploymentPhase.java:108)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java :276)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:294)
at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.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:597)
at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:375)
at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean (MBeanHelper.java:358)
at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:464)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java :25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
at $Proxy1.invoke(Unknown Source)
at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke (SunoneInterceptor.java:304)
at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.invokeDeploymentService(AutoDeployer.java :564)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployJavaEEArchive(AutoDeployer.java:545)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:492)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll (AutoDeployer.java:267)
at com.sun.enterprise.deployment.autodeploy.AutoDeployControllerImpl$AutoDeployTask.run(AutoDeployControllerImpl.java:374)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: java.io.FileNotFoundException: JAR entry META-INF/components.xml not found in C:\GlassFish-V2-Final\glassfish\domains\domain1\applications\j2ee-apps\jboss-seam-jee5\jboss-seam-jee5_war\WEB-INF\lib\jboss- seam-ui.jar
at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122)
at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:132)
at java.net.URL.openStream (URL.java:1009)
at org.jboss.seam.init.Initialization.initComponentsFromXmlDocuments(Initialization.java:114)
... 52 more
|#]
[#|2007-09-21T16:31:07.504+0530|SEVERE|sun-appserver9.1|org.apache.catalina.core.StandardContext|_ThreadID=18 ;_ThreadName=Timer-5;_RequestID=d5df71f5-3d07-4252-943a-84fbf9efa52c;|PWC1306: Startup of context /seam-jee5 failed due to previous errors|#]
[#|2007-09-21T16:31:07.504+0530|WARNING|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=18 ;_ThreadName=Timer-5;_RequestID=d5df71f5-3d07-4252-943a-84fbf9efa52c;|Warning while deploying : The following file(s) were left(locked) from the previous deployment; they were not updated during this deployment and could interfere with the application:
C:\GlassFish-V2-Final\glassfish\domains\domain1\applications\j2ee-apps\jboss-seam-jee5\jboss-seam-jee5_war\WEB-INF\lib\ajax4jsf-1.1.1.jar
.|#]
[#|2007-09-21T16:31:07.520+0530|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=18 ;_ThreadName=Timer-5;|[AutoDeploy] Autodeployed : C:\GlassFish-V2-Final\glassfish\domains\domain1\autodeploy\jboss-seam-jee5.ear with at least one warning. Please check the server.log file and make sure the autodeployment completed as expected.|#]
============================================================================================================================
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087238#4087238
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087238
18 years, 8 months
[Installation, Configuration & DEPLOYMENT] - missing jboss_xmbean_1_1.dtd in jboss.com DTD repository?
by jwenting
When trying to deploy an application on JBoss 3.2.7 we get (since today, could start the server yesterday) the following error (with the application failing to deploy):
anonymous wrote : 15:30:45,293 ERROR [MainDeployer] Could not initialise deployment: file:/C:/tools/jboss-3.2.7/server/default/deploy/mxs-server-1.4.ear
| org.jboss.deployment.DeploymentException: http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd; - nested throwable: (java.io.FileNotFoundException: http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd)
| at org.jboss.deployment.SARDeployer.init(SARDeployer.java:173)
| at org.jboss.deployment.MainDeployer.init(MainDeployer.java:696)
| at org.jboss.deployment.MainDeployer.init(MainDeployer.java:713)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:631)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
| at sun.reflect.GeneratedMethodAccessor34.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:198)
| 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:478)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
| 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:198)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:899)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:415)
| 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:198)
| 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 org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:588)
| 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.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:198)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
| at $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:407)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:311)
| at org.jboss.Main.boot(Main.java:191)
| at org.jboss.Main$1.run(Main.java:480)
| at java.lang.Thread.run(Thread.java:534)
| Caused by: java.io.FileNotFoundException: http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd
| at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:792)
| at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
| at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
| at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
| at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
| at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
| at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
| at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
| at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
| at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
| at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
| at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
| at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:528)
| at org.jboss.deployment.SARDeployer.init(SARDeployer.java:137)
| ... 66 more
|
|
When trying to retrieve the DTD manually I get a 404, the file is apparently no longer there.
Is this deliberate or in error, and what (if anything) can we do to prevent this problem?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087236#4087236
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087236
18 years, 8 months