aspose file tools*
The moose likes Websphere and the fly likes WebSphere 7 logger not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "WebSphere 7 logger not working" Watch "WebSphere 7 logger not working" New topic
Author

WebSphere 7 logger not working

amar malik
Greenhorn

Joined: May 27, 2012
Posts: 2
Hi, appn technology are struts2, spring 3.0. Application is working 5n in Tomcat 6.0 in spite of some warnings even logs are also generating. Below are Tomcat console output:

May 27, 2012 6:42:39 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre6\bin;D:\Tomcat server\apache-tomcat-6.0.29\bin
May 27, 2012 6:42:40 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8081
May 27, 2012 6:42:40 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 739 ms
May 27, 2012 6:42:40 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
May 27, 2012 6:42:40 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.29
May 27, 2012 6:42:40 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
May 27, 2012 6:42:40 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
May 27, 2012 6:42:40 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
May 27, 2012 6:42:40 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory OBTLEEN
May 27, 2012 6:42:41 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(D:\Tomcat server\apache-tomcat-6.0.29\webapps\OBTLEEN\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
May 27, 2012 6:42:42 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing log4j from [D:\Tomcat server\apache-tomcat-6.0.29\webapps\OBTLEEN\WEB-INF\conf\log4j\obtleenlog4j.xml]
May 27, 2012 6:42:43 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
May 27, 2012 6:42:53 PM org.apache.tiles.context.AbstractTilesApplicationContextFactory createFactory
INFO: Initializing Tiles2 application context. . .
May 27, 2012 6:42:53 PM org.apache.tiles.context.ChainedTilesApplicationContextFactory init
WARNING: Cannot find TilesContextFactory class org.apache.tiles.portlet.context.PortletTilesApplicationContextFactory
May 27, 2012 6:42:53 PM org.apache.tiles.context.AbstractTilesApplicationContextFactory createFactory
INFO: Finished initializing Tiles2 application context.
May 27, 2012 6:42:53 PM org.apache.tiles.context.ChainedTilesApplicationContextFactory init
WARNING: Cannot find TilesContextFactory class org.apache.tiles.portlet.context.PortletTilesApplicationContextFactory
May 27, 2012 6:42:53 PM org.apache.tiles.factory.TilesContainerFactory initializeContainer
WARNING: DEPRECATION WARNING! You are using parameter-based initialization, that is no longer supported! Please see docs: http://tiles.apache.org/framework/tutorial/configuration.html
May 27, 2012 6:42:53 PM org.apache.tiles.factory.TilesContainerFactory initializeContainer
INFO: Initializing Tiles2 container. . .
May 27, 2012 6:42:53 PM org.apache.tiles.context.ChainedTilesApplicationContextFactory init
WARNING: Cannot find TilesContextFactory class org.apache.tiles.portlet.context.PortletTilesApplicationContextFactory
May 27, 2012 6:42:53 PM org.apache.tiles.context.ChainedTilesRequestContextFactory init
INFO: Cannot find TilesRequestContextFactory class org.apache.tiles.portlet.context.PortletTilesRequestContextFactory, skipping support for the managed platform
May 27, 2012 6:42:53 PM org.apache.tiles.factory.TilesContainerFactory initializeContainer
INFO: Tiles2 container initialized
May 27, 2012 6:42:53 PM org.apache.tiles.access.TilesAccess setContainer
INFO: Publishing TilesContext for context: org.apache.tiles.servlet.context.ServletTilesApplicationContext
INFO [com.opensymphony.xwork2.config.providers.XmlConfigurationProvider] Parsing configuration file [struts-default.xml]
INFO [com.opensymphony.xwork2.config.providers.XmlConfigurationProvider] Parsing configuration file [struts-plugin.xml]
INFO [com.opensymphony.xwork2.config.providers.XmlConfigurationProvider] Parsing configuration file [struts.xml]
INFO [org.apache.struts2.config.BeanSelectionProvider] Choosing bean (spring) for class com.opensymphony.xwork2.ObjectFactory
INFO [org.apache.struts2.config.BeanSelectionProvider] Choosing bean (struts) for class com.opensymphony.xwork2.conversion.impl.XWorkConverter
INFO [org.apache.struts2.config.BeanSelectionProvider] Choosing bean (struts) for interface com.opensymphony.xwork2.TextProvider
INFO [org.apache.struts2.config.BeanSelectionProvider] Choosing bean (struts) for interface com.opensymphony.xwork2.ActionProxyFactory
INFO [org.apache.struts2.config.BeanSelectionProvider] Choosing bean (struts) for interface com.opensymphony.xwork2.conversion.ObjectTypeDeterminer
INFO [org.apache.struts2.config.BeanSelectionProvider] Choosing bean (struts) for interface org.apache.struts2.dispatcher.mapper.ActionMapper
INFO [org.apache.struts2.config.BeanSelectionProvider] Choosing bean (jakarta) for interface org.apache.struts2.dispatcher.multipart.MultiPartRequest
INFO [org.apache.struts2.config.BeanSelectionProvider] Choosing bean (struts) for class org.apache.struts2.views.freemarker.FreemarkerManager
INFO [org.apache.struts2.config.BeanSelectionProvider] Choosing bean (struts) for interface org.apache.struts2.components.UrlRenderer
INFO [org.apache.struts2.config.BeanSelectionProvider] Choosing bean (struts) for interface com.opensymphony.xwork2.validator.ActionValidatorManager
INFO [org.apache.struts2.config.BeanSelectionProvider] Choosing bean (struts) for interface com.opensymphony.xwork2.util.ValueStackFactory
INFO [org.apache.struts2.config.BeanSelectionProvider] Choosing bean (struts) for interface com.opensymphony.xwork2.util.reflection.ReflectionProvider
INFO [org.apache.struts2.config.BeanSelectionProvider] Choosing bean (struts) for interface com.opensymphony.xwork2.util.reflection.ReflectionContextFactory
INFO [org.apache.struts2.config.BeanSelectionProvider] Choosing bean (struts) for interface com.opensymphony.xwork2.util.PatternMatcher
INFO [org.apache.struts2.config.BeanSelectionProvider] Choosing bean (struts) for interface org.apache.struts2.dispatcher.StaticContentLoader
INFO [org.apache.struts2.config.BeanSelectionProvider] Choosing bean (struts) for interface com.opensymphony.xwork2.UnknownHandlerManager
INFO [com.opensymphony.xwork2.config.impl.DefaultConfiguration] Overriding property struts.i18n.reload - old value: false new value: true
INFO [com.opensymphony.xwork2.config.impl.DefaultConfiguration] Overriding property struts.configuration.xml.reload - old value: false new value: true
INFO [org.apache.struts2.config.BeanSelectionProvider] Loading global messages from ApplicationResources
INFO [org.apache.struts2.config.BeanSelectionProvider] Loading global messages from obtleen
INFO [org.apache.struts2.spring.StrutsSpringObjectFactory] Initializing Struts-Spring integration...
INFO [com.opensymphony.xwork2.spring.SpringObjectFactory] Setting autowire strategy to name
INFO [org.apache.struts2.spring.StrutsSpringObjectFactory] ... initialized Struts-Spring integration successfully
May 27, 2012 6:42:56 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
May 27, 2012 6:42:56 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8081
May 27, 2012 6:42:56 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
May 27, 2012 6:42:56 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/34 config=null
May 27, 2012 6:42:56 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 16888 ms
WARN [org.apache.struts2.components.ServletUrlRenderer] No configuration found for the specified action: '#' in namespace: '/'. Form action defaulting to 'action' attribute's literal value.
WARN [org.apache.struts2.util.TextProviderHelper] The first TextProvider in the ValueStack (com.chrysler.leen.action.po.CPOInquiryAction) could not locate the message resource with key 'cpoMasterVO.sourceTypeKey'
WARN [org.apache.struts2.util.TextProviderHelper] The default value expression 'cpoMasterVO.sourceTypeKey' was evaluated and did not match a property. The literal value 'cpoMasterVO.sourceTypeKey' will be used.
WARN [org.apache.struts2.util.TextProviderHelper] The default value expression 'cpoMasterVO.efftOpearListKey' evaluated to ''
WARN [org.apache.struts2.util.TextProviderHelper] The first TextProvider in the ValueStack (com.chrysler.leen.action.po.CPOInquiryAction) could not locate the message resource with key 'cpoMasterVO.implOpearListKey'
WARN [org.apache.struts2.util.TextProviderHelper] The default value expression 'cpoMasterVO.implOpearListKey' was evaluated and did not match a property. The literal value 'cpoMasterVO.implOpearListKey' will be used.
WARN [org.apache.struts2.util.TextProviderHelper] The first TextProvider in the ValueStack (com.chrysler.leen.action.po.CPOInquiryAction) could not locate the message resource with key 'cpoMasterVO.termOpearList'
WARN [org.apache.struts2.util.TextProviderHelper] The default value expression 'cpoMasterVO.termOpearList' evaluated to '{===, >=>, <=<, >==>=, <==<=}'
WARN [org.apache.struts2.components.ServletUrlRenderer] No configuration found for the specified action: '#' in namespace: '/'. Form action defaulting to 'action' attribute's literal value.
WARN [org.apache.struts2.components.ServletUrlRenderer] No configuration found for the specified action: '#' in namespace: '/'. Form action defaulting to 'action' attribute's literal value.
WARN [org.apache.struts2.components.ServletUrlRenderer] No configuration found for the specified action: '#' in namespace: '/'. Form action defaulting to 'action' attribute's literal value.

Customer is using WebSphere7. Appn is also working 5n thr, but server is not writing log in file. WebSphere7 SystemOut.log:

[5/27/12 17:48:05:097 IST] 0000002a ServletUrlRen W com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn No configuration found for the specified action: '#' in namespace: '/'. Form action defaulting to 'action' attribute's literal value.
[5/27/12 17:48:05:130 IST] 0000002a ServletUrlRen W com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn No configuration found for the specified action: '#' in namespace: '/'. Form action defaulting to 'action' attribute's literal value.
[5/27/12 17:48:05:156 IST] 0000002a ServletUrlRen W com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn No configuration found for the specified action: '#' in namespace: '/'. Form action defaulting to 'action' attribute's literal value.

amar malik
Greenhorn

Joined: May 27, 2012
Posts: 2
hi, SystemOut.log from WebSphere7

[5/28/12 6:59:17:316 IST] 00000014 XmlConfigurat I com.opensymphony.xwork2.util.logging.commons.CommonsLogger info Parsing configuration file [struts-default.xml]
[5/28/12 6:59:17:771 IST] 00000014 XmlConfigurat I com.opensymphony.xwork2.util.logging.commons.CommonsLogger info Parsing configuration file [struts-plugin.xml]
[5/28/12 6:59:18:046 IST] 00000014 XmlConfigurat I com.opensymphony.xwork2.util.logging.commons.CommonsLogger info Parsing configuration file [struts.xml]
[5/28/12 6:59:18:161 IST] 00000014 DefaultConfig I com.opensymphony.xwork2.util.logging.commons.CommonsLogger info Overriding property devMode - old value: true new value: false
[5/28/12 6:59:18:273 IST] 00000014 BeanSelection I com.opensymphony.xwork2.util.logging.commons.CommonsLogger info Loading global messages from ApplicationResources
[5/28/12 6:59:18:358 IST] 00000014 BeanSelection I com.opensymphony.xwork2.util.logging.commons.CommonsLogger info Loading global messages from obtleen
[5/28/12 6:59:19:121 IST] 00000014 StrutsSpringO I com.opensymphony.xwork2.util.logging.commons.CommonsLogger info Initializing Struts-Spring integration...
[5/28/12 6:59:19:210 IST] 00000014 SpringObjectF I com.opensymphony.xwork2.util.logging.commons.CommonsLogger info Setting autowire strategy to name
[5/28/12 6:59:19:300 IST] 00000014 StrutsSpringO I com.opensymphony.xwork2.util.logging.commons.CommonsLogger info ... initialized Struts-Spring integration successfully
[5/28/12 6:59:41:379 IST] 00000014 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [OBTLEEN] [/] [/WEB-INF/jsp/layouts/baseLayout.jsp]: Initialization successful.
[5/28/12 6:59:41:680 IST] 00000014 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [OBTLEEN] [/] [/WEB-INF/jsp/tiles/header.jsp]: Initialization successful.
[5/28/12 6:59:42:020 IST] 00000014 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [OBTLEEN] [/] [/WEB-INF/jsp/tiles/menu.jsp]: Initialization successful.
[5/28/12 6:59:42:105 IST] 00000014 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [OBTLEEN] [/] [/WEB-INF/jsp/common/employeeHome.jsp]: Initialization successful.
[5/28/12 6:59:42:150 IST] 00000014 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [OBTLEEN] [/] [/WEB-INF/jsp/tiles/footer.jsp]: Initialization successful.
[5/28/12 6:59:42:191 IST] 00000014 ServletUrlRen W com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn No configuration found for the specified action: '#' in namespace: '/'. Form action defaulting to 'action' attribute's literal value.
[5/28/12 6:59:43:641 IST] 00000014 ServletUrlRen W com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn No configuration found for the specified action: '#' in namespace: '/'. Form action defaulting to 'action' attribute's literal value.
[5/28/12 6:59:43:857 IST] 00000014 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [OBTLEEN] [/] [FilterProxyServlet]: Initialization successful.
[5/28/12 6:59:43:890 IST] 00000014 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on D:\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\ffdc\server1_4f094f09_12.05.28_06.59.43.8667174770702193539764.txt com.ibm.ws.webcontainer.servlet.FilterProxyServlet.dispatch 312
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WebSphere 7 logger not working
 
Similar Threads
Conneting to database but unable to save object.
Page not found
Namespace Problem in Struts2
struts2.2.1 combined tutorial with modified changes not able to work
Resource not found