struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vickyfaizal <vicky.fai...@meruvian.org>
Subject Re: Running Struts2 in Weblogic
Date Mon, 31 Oct 2011 01:55:14 GMT
i have the same problem

this is the error messages:

============================================================
[INFO] ContextLoader - Root WebApplicationContext: initialization started
[INFO] XmlWebApplicationContext - Refreshing Root WebApplicationContext:
startup date [Mon Oct 31 08:39:00 ICT 2011]; root of context hierarchy
[INFO] DefaultListableBeanFactory - Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@621bd7:
defining beans []; root of factory hierarchy
[INFO] ContextLoader - Root WebApplicationContext: initialization completed
in 289 ms
[INFO] XmlConfigurationProvider - Parsing configuration file
[struts-default.xml]
[INFO] XmlConfigurationProvider - Parsing configuration file
[struts-plugin.xml]
[ERROR] Dispatcher - Dispatcher initialization failed <Unable to load
configuration. - [unknown location]>Unable to load configuration. - [unknown
location]
	at
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)
	at
org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:380)
	at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:424)
	at
org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)
	at
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)
	at
weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:332)
	at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
	at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
	at
weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:98)
	at
weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:59)
	at
weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1876)
	at
weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
	at
weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
	at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
	at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
	at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
	at
weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
	at
weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
	at
weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
	at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
	at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
	at
weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
	at
weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
	at
weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
	at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
	at
weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
	at
weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
	at
weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
	at
weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
	at
weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
	at
weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
	at
weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
	at
weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
	at
weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
	at
weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
	at
weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
	at
weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
	at
weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
	at
weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
	at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: Error loading configuration file struts.xml - [unknown location]
	at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:158)
	at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:121)
	at
com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:179)
	at
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)
	... 41 more
Caused by: unable to attain an URLClassLoader - [unknown location]
	at
com.opensymphony.xwork2.util.ClassPathFinder.findMatches(ClassPathFinder.java:80)
	at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:951)
	at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:154)
	... 44 more

<Oct 31, 2011 8:39:01 AM ICT> <Error> <HTTP> <BEA-101165> <Could
not load
user defined filter in web.xml:
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.
Unable to load configuration. - [unknown location]
	at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:437)
	at
org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)
	at
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)
	at
weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:332)
	at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
	Truncated. see log file for complete stacktrace
Caused By: Unable to load configuration. - [unknown location]
	at
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)
	at
org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:380)
	at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:424)
	at
org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)
	at
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)
	Truncated. see log file for complete stacktrace
Caused By: Error loading configuration file struts.xml - [unknown location]
	at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:158)
	at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:121)
	at
com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:179)
	at
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)
	at
org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:380)
	Truncated. see log file for complete stacktrace
Caused By: unable to attain an URLClassLoader - [unknown location]
	at
com.opensymphony.xwork2.util.ClassPathFinder.findMatches(ClassPathFinder.java:80)
	at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:951)
	at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:154)
	at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:121)
	at
com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:179)
	Truncated. see log file for complete stacktrace
============================================================

im already trying this
:http://tech-architecture.blogspot.com/2009/02/getting-struts-21-to-work-in-weblogic.html


thanks


--
View this message in context: http://struts.1045723.n5.nabble.com/Running-Struts2-in-Weblogic-tp4951179p4951218.html
Sent from the Struts - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message