2 Replies Latest reply on Jan 20, 2015 3:46 PM by Gopinath Ponnivalavan

    Struts looking for exploded ear file while migration to jboss 6

    Gopinath Ponnivalavan Newbie

      We are migrating from Jboss 4.2 to Jboss 6.  While deploying struts looking for classes in exploded ear.  But we have only actual ear in deploy folder.  Any idea

       

       

       

      09:07:50,118 INFO  [BasicTilesContainer] Tiles2 container initialization complete.

      09:07:50,118 INFO  [TilesAccess] Publishing TilesContext for context: org.apache.catalina.core.ApplicationContextFacade

      09:07:50,149 INFO  [XmlConfigurationProvider] Parsing configuration file [struts-default.xml]

      09:07:50,181 INFO  [XmlConfigurationProvider] Parsing configuration file [struts-plugin.xml]

      09:07:50,244 INFO  [XmlConfigurationProvider] Parsing configuration file [struts.xml]

      09:07:50,244 WARN  [Settings] Settings: Could not parse struts.locale setting, substituting default VM locale

      09:07:50,291 INFO  [ResolverUtil] Scanning for classes in [/C:/softwares/jboss/JBossAS-6.1.0/server/project/deploy/project.ear/project.jar/com/parago/project/adminapp/web/] matching criteria: org.apache.struts2.config.ClasspathConfigurationProvider$1@75477c3f

      09:07:50,291 ERROR [ResolverUtil] Could not search jar file 'C:\softwares\jboss\JBossAS-6.1.0\server\project\deploy\project.ear\project.jar\com\parago\project\adminapp\web' for classes matching criteria: org.apache.struts2.config.ClasspathConfigurationProvider$1@75477c3f due to an IOException: java.io.FileNotFoundException: C:\softwares\jboss\JBossAS-6.1.0\server\project\deploy\project.ear\project.jar\com\parago\project\adminapp\web (The system cannot find the path specified)

              at java.io.FileInputStream.open(Native Method) [:1.7.0_25]

              at java.io.FileInputStream.<init>(FileInputStream.java:138) [:1.7.0_25]

              at com.opensymphony.xwork2.util.ResolverUtil.loadImplementationsInJar(ResolverUtil.java:341) [:]

              at com.opensymphony.xwork2.util.ResolverUtil.findInPackage(ResolverUtil.java:288) [:]

              at com.opensymphony.xwork2.util.ResolverUtil.find(ResolverUtil.java:240) [:]

              at org.apache.struts2.config.ClasspathConfigurationProvider.loadPackages(ClasspathConfigurationProvider.java:234) [:]

              at org.apache.struts2.config.ClasspathConfigurationProvider.loadPackages(ClasspathConfigurationProvider.java:402) [:]

              at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:152) [:]

              at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:52) [:]

              at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:395) [:]

              at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:452) [:]

              at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:201) [:]

              at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:447) [:6.1.0.Final]

              at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3246) [:6.1.0.Final]

              at org.apache.catalina.core.StandardContext.start(StandardContext.java:3843) [:6.1.0.Final]

              at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:294) [:6.1.0.Final]

              at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146) [:6.1.0.Final]

              at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:476) [:6.1.0.Final]

              at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) [:6.1.0.Final]

              at org.jboss.web.deployers.WebModule.start(WebModule.java:95) [:6.1.0.Final]

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.7.0_25]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [:1.7.0_25]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [:1.7.0_25]

              at java.lang.reflect.Method.invoke(Method.java:606) [:1.7.0_25]

              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) [:6.0.0.GA]