Configuring log4j 1.1.2 with WL6.0
I'm sure many of you have configured Log4J version 1.1.2 with weblogic 6.0? following is the problem I have configuring it, any help is appreciatedI am setting the system property log4j.configuration during weblogic start up using "-Dlog4j.configuration=log4j.properties". I have the file in WEB-INF/classes directory of my web-application as documented in log4j manual, but I still get the well documentedlog4j: No appenders could be found for category (some.category.name).log4j: Please initialize the log4j system properlycould someone please point me in the right direction??thanx in advance
We've had to do the same for log4j and now for resource bundles. My
understanding was that anything under web-inf/classes was part of the
classpath for the webapp. WLS 6.0sp1 does provide isolation between webapps,
but it seems that things that are found by searching the classpath
(properties/resources) don't get found. This is a big issue for us because
separate web apps may need their own version of log4j, resource bundles,
etc. The example Daniel provided works for us, until we want a separate
configuration for different web apps.
I hope someone [BEA?] can clarify the behavior of classpath searching (not
class loading) when using webapps. Maybe this should be in the Servlet
thread, but I didn't see anything like this thread over there.
"Daniel Hoppe" <[email protected]> wrote in message
news:[email protected]..
Hi Kiran,
you could specify a complete file url like this one:
-Dlog4j.configuration=file:/c:/dev/fbs2/repository/fbs_config/log_config
.xml
Cheers,
Daniel
-----Ursprüngliche Nachricht-----
Von: Kiran [mailto:[email protected]]
Bereitgestellt: Freitag, 8. Juni 2001 08:23
Bereitgestellt in: environment
Unterhaltung: Configuring log4j 1.1.2 with WL6.0
Betreff: Configuring log4j 1.1.2 with WL6.0
I'm sure many of you have configured Log4J version 1.1.2 with weblogic
6.0? following is the problem I have configuring it, any help is
appreciatedI am setting the system property log4j.configuration during
weblogic start up using "-Dlog4j.configuration=log4j.properties". I
have the file in WEB-INF/classes directory of my web-application as
documented in log4j manual, but I still get the well documentedlog4j: No
appenders could be found for category (some.category.name).log4j: Please
initialize the log4j system properlycould someone please point me in the
right direction??thanx in advance
Similar Messages
-
Steps to configuring log4j with plain text file
can anyone help me with the steps involved with configuring log4j with a plain text configuration file...Where should log4j.properties file be stored?.....do you have a simple example of a config file using a file appender?.....do I have to make changes within the startWebLogic.cmd script?.....Is it possible for you to lay out the procedure for me to begin logging?.....nothing I have tried thus far has worked.....Any help you may be able to provide will be greatly appreciated.
i am using sun jsf implementaion version 1.2
can i know do we need to specify anything for application bean to be called. beacause when i tried to print in sample application also my log was not getting printed.
i have mentioned in my managed bean
<managed-bean>
<managed-bean-name>ApplicationBean1</managed-bean-name>
<managed-bean-class>webapplication3.ApplicationBean1</managed-bean-class>
<managed-bean-scope>application</managed-bean-scope>
</managed-bean>
i my page class
protected webapplication3.ApplicationBean1 getApplicationBean1() {
return (webapplication3.ApplicationBean1)getBean("ApplicationBean1");
can i know why it is not getting called. -
How to configur log4j logging for weblogic 10.1
Hi,
I am tried to set log4j logging for my application running in weblogic 10.1. I set a log4j.properties file and loaded the properties by a servlet. Where its load the properties files and configure it by PropertyConfigurator.
The same logic has worked out in websphere. But in weblogic, it is not working. I set the server logging and domain logging to Log4j in Admin console. Now it is writing all the log statements.
If i write a property for a package to Error level and root level is Debug. Its not working, all debug statements are getting written.
Can you please tell me the steps to configure log4j logging in weblogic 10.1.
Thanks & Regards,
Nasrin.NDid you manage to get this working?
If yes ... what did you do?
I am having the same problem implementing commons-logging with log4j -
Configuring Log4j for weblogic
Hi
can any one tell me how to configure Log4j for weblogic. I have added the log4j jar files to the weblogic classpath but it does not seem to work..
Thanks and Regards
NarayanYou must make a new directory on the same level with applications directory, place "log4j.properties" file in it, include this directory in the "PRE_CLASSPATH" entry in your startup script and that's all.
Sample line in "startWebLogic.cmd" script
'set PRE_CLASSPATH=%_LIBJARS%;classes'
in classes dir you have "log4j.properties"
Should work,
Cristian Negoita -
Configuring log4j in jboss ??
Hi All,
i am using jboss.i need to configure log4j with my log4j.properties file.
i did for this is ..
1) under WEB-INF i created one xml file named ,jboss-web.xml. under this..
<jboss-web>
<class-loading java2ClassLoadingCompliance="false">
<loader-repository>
com.WIL:loader=WIL.war
<loader-repository-config>java2ParentDelegation=false</loader- repository-config>
</loader-repository>
</class-loading>
</jboss-web>
2) raname \server\default\conf\log4j.xml to jboss-log4j.xml
3) change in \server\default\conf\jboss-service.xml ......... reource:log4j.xml to resource:jboss-log4j.xml
<mbean code="org.jboss.logging.Log4jService"
name="jboss.system:type=Log4jService,service=Logging">
<attribute name="ConfigurationURL">resource:jboss-log4j.xml</attribute>
4) write log4j.properties...
log4j.rootCategory=DEBUG, Default
log4j.appender.Default=org.apache.log4j.FileAppender
log4j.appender.Default.File=c:/newLog.log
log4j.appender.Default.layout=org.apache.log4j.PatternLayout
log4j.appender.Default.layout.ConversionPattern=%d{DATE} %-5p: %m%n
log4j.appender.Default.Append=false
i restarted the jboss server.
Every time i am getting ClassCastException..
java.lang.ClassCastException
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1001)
can anybody solve this. it is very urgent.
Thanks in advance.In my web.xml i wrote like this..
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>Times Warner Cable</display-name>
<servlet>
<servlet-name>RequestHandler</servlet-name>
<servlet-class>com.mportal.twc.wil.controller.RequestHandler</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>RequestHandler</servlet-name>
<url-pattern>/RequestHandler/*</url-pattern>
</servlet-mapping>
<listener>
<listener-class>com.mportal.twc.wil.common.WILSessionListener</listener-class>
</listener>
</web-app>
i need Request Handler class has to be load on start up.
when i started jboss server i am getting exception..
08:53:20,750 INFO [TomcatDeployer] deploy, ctxPath=/WIL, warUrl=file:/C:/jboss-3.2.8.SP1/server/default/deploy/WIL.war/
08:53:22,578 INFO [Engine] StandardContext[WIL]Marking servlet RequestHandler as unavailable
08:53:22,578 ERROR [Engine] StandardContext[WIL]Servlet /WIL threw load() exception
javax.servlet.ServletException: Class com.mportal.twc.wil.controller.RequestHandler is not a Servlet
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1005)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:876)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4017)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
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.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:163)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
at org.apache.catalina.core.StandardContext.init(StandardContext.java:5456)
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.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:163)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:288)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:98)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:334)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor37.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:74)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:968)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:404)
at sun.reflect.GeneratedMethodAccessor5.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:74)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:184)
at $Proxy27.start(Unknown Source)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:371)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:841)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:653)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
at sun.reflect.GeneratedMethodAccessor38.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:74)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:184)
at $Proxy7.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:316)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:490)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:213)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:286)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
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:74)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:968)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:404)
at sun.reflect.GeneratedMethodAccessor5.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:74)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:184)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:263)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:841)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:653)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:600)
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:74)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:184)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:462)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:353)
at org.jboss.Main.boot(Main.java:201)
at org.jboss.Main$1.run(Main.java:459)
at java.lang.Thread.run(Thread.java:534)
08:53:22,578 ERROR [Engine] ----- Root Cause -----
java.lang.ClassCastException
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1001)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:876)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4017)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
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.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:163)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
at org.apache.catalina.core.StandardContext.init(StandardContext.java:5456)
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.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:163)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:288)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:98)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:334)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor37.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:74)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:968)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:404)
at sun.reflect.GeneratedMethodAccessor5.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:74)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:184)
at $Proxy27.start(Unknown Source)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:371)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:841)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:653)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
at sun.reflect.GeneratedMethodAccessor38.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:74)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:184)
at $Proxy7.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:316)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:490)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:213)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:286)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
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:74)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:968)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:404)
at sun.reflect.GeneratedMethodAccessor5.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:74)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:184)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:263)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:841)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:653)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:600)
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:74)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:184)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:462)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:353)
at org.jboss.Main.boot(Main.java:201)
at org.jboss.Main$1.run(Main.java:459)
at java.lang.Thread.run(Thread.java:534)
Can Plaease give me solution.It is very urgent.. -
Configure log4j to write to different log files conditionally
Hi folks,
Is there is way log4j could be configured to write to multiple log files conditionally? Let me try to explain what i am trying to do.
I have two classes DatabaseChecker and FTPChecker extends Checker class. Within Checker class, there is a method logTestResult(CheckerType c, boolean isFailed, int retry, int isMaxRetryExceeded). Depending on the CheckerType(database or FTP), I need to write log outputs to different files (dbchecker.log or ftpchecker.log). How do i configure log4j to do this?
I've seen how to configure log4j based on classes from different package, but not sure on this one. Any clue would be much appreciated.lgmqy2000 wrote:
I have two classes DatabaseChecker and FTPChecker extends Checker class. Within Checker class, there is a method logTestResult(CheckerType c, boolean isFailed, int retry, int isMaxRetryExceeded). Depending on the CheckerType(database or FTP), I need to write log outputs to different files (dbchecker.log or ftpchecker.log). How do i configure log4j to do this?
if (checker.isType(CheckerType.DATABASE)) {
dbLogger.info(someMessage);
} else if (checker.isType(CheckerType.FTP)) {
ftpLogger.info(someMessage);
} else {
defaultLogger.info(someMessage);
}~ -
How do I print a configuration page from a Mac with Snowleopard?
How do I print a configuration page from a Mac with Snowleopard? Printer is workinhg fine, but I just put in a new cartridge and I'd like to know how many pages I'm printing.
DaveHi there Dave, aka @dewanio , welcome back
I saw that you are looking to print off a configuration page.
The printer itself will print a test page however, the model depends on how it will print. Let me know which printer you have and I will get back to you!
Thanks!
R a i n b o w 7000I work on behalf of HP
Click the “Kudos Thumbs Up" at the bottom of this post to say
“Thanks” for helping!
Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution! -
How to configure Oracle 8 to work with Weblogic portal4.0
Hi! I'm trying to configure my portal to work with oracle8i using thin driver.I've set classes12.zip in the classpath.But if I set the DATABASE=ORACLE_OCI value inthe set-environment.sh file the server does not start.Pls help.
Here's the error log it throws for the problem:
: 'Fatal initialization exception
Throwable: java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.R
DBMSException: An error occured creating a database connection for the realm.]
java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.RDBMSExcepti
on: An error occured creating a database connection for the realm.]
at weblogic.security.acl.Realm.getRealm(Realm.java:91)
at weblogic.security.acl.Realm.getRealm(Realm.java:62)
at weblogic.security.SecurityService.initializeRealm(SecurityService.jav
a:258)
at weblogic.security.SecurityService.initialize(SecurityService.java:115
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:390)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
at weblogic.Server.main(Server.java:35)
'> -
How do i configure my airport to work with my other wireless router
how do i configure my airport to work with my other wireless router? I want to be able to listen to itunes through my speakers wirelessly.
Please check out the following Apple Support article for details on the many methods to use an AirPort Express for iTunes streaming.
-
I created a wsdl based on a dbadapter in jdeveloper, imported into eclipse and created the biz and the proxy and uploaded to oracle service bus, it works fine,
but happens now that i need to have a xsd and wsdl with business names and not table names, invented to create a xsd and wsdl file in jdeveloper
and then went to eclipse and tried t xquery tranformation, but when i add the replace in the message flow in the filed in Variable : body and Expression i look for the xquery and in the binding trying to put
$body/input parameter, get the following error [RouteNode1, Replace action] XQuery expression validation failed: The current configuration is out of sync with the XQuery resource in the repository.
what im doing wrong or its configuration
thanks in advance soniathanks
ok have created a table with only in column varchar2(1)
then the type object and the procedure to insert it works the proxy in the osb if i test it inserts
now in jdeveloper i created an xml file with
<?xml version="1.0" encoding="windows-1252" ?>
<vessel>
<barco>a</barco>
</vessel>
then i created a xsd based on this xml, and a wsdl based on the xsd
in eclipse created a xquery transformation and selected source as the xsd created in adf and target the xsd input parameter, dont know why in the purple ball of the input parameter it puts a ?, an a f.
then in the proxy xpath not writing anything in variable body and in the expression select the xquery and in binding select the parameter -
Configuring Cisco Router for use with Syslog Server
Configuring Cisco Router for use with Syslog Server:
Does anyone know of a good doc for this?
-AshleyStart with that one: http://security-planet.de/wp-content/uploads/2008/12/logging-ios.pdf
And if you need more informations, just ask what you want to achieve.
Don't stop after you've improved your network! Improve the world by lending money to the working poor:
http://www.kiva.org/invitedby/karsteni -
DRAM configuration is 64 bits wide with parity enabled?
What is the meaning of this?... How much DRAM has our router(CME)?...how can I know this?..
CME-ROUTER#show version
Cisco IOS Software, C2900 Software (C2900-UNIVERSALK9-M), Version 15.0(1)M7, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2011 by Cisco Systems, Inc.
Compiled Thu 04-Aug-11 21:40 by prod_rel_team
ROM: System Bootstrap, Version 15.0(1r)M12, RELEASE SOFTWARE (fc1)
DMM_VG_2921 uptime is 32 weeks, 3 days, 1 hour, 59 minutes
System returned to ROM by power-on
System restarted at 14:06:30 UTC Mon Aug 19 2013
System image file is "flash0:c2900-universalk9-mz.SPA.150-1.M7.bin"
Last reload type: Normal Reload
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
[email protected].
Cisco CISCO2921/K9 (revision 1.0) with 483328K/40960K bytes of memory.
Processor board ID FGL1532334
3 Gigabit Ethernet interfaces
2 Channelized E1/PRI ports
DRAM configuration is 64 bits wide with parity enabled.
255K bytes of non-volatile configuration memory.
255744K bytes of ATA System CompactFlash 0 (Read/Write)
License Info:
License UDI:
Device# PID SN
*0 CISCO2921/K9 GSD9053712S8
Technology Package License Information for Module:'c2900'
Technology Technology-package Technology-package
Current Type Next reboot
ipbase ipbasek9 Permanent ipbasek9
security None None None
uc uck9 Permanent uck9
data None None None
Configuration register is 0x2102
CISCO2921/K9Hi guys,
Try configure the with
Example:
voice-port 0/0/0
trunk-group LINE_FXO_outgoing -> This is a trunkgroup for outgoing calls.
supervisory disconnect dualtone mid-call
cptone BR
timeouts call-disconnect 1
timeouts wait-release 3
connection plar 372428
description --[NUMBER-ANALOG-LINE]
Best regards,
Daniel Sobrinho -
How to configure a new product type with a new operation deal?
hello, All,
I wonder to know if somebody knows, how to configure a new product type with a new operation deal with the amortization divided?, I mean in the SPRO, portfolio of securities with the characteristics mentioned.
Hope you help me.
Bests regards.Hi Prasad,
Thanks for the information, but the directions that you give me not be useful, I want that the UPDATE TYPE appears in the position cash flow in the transaction deal in the option-->operative valuation area( 2nd option) or in the report TPM13, this for two treasury ledger dates.
I mean that the update type "samxx" affect the accountant as amortization divided?, this transaction deal is a purchase.
Thanks in advanced -
Does anyone have a recommended network, hardware and software configuration guide for a Portal installation running with multiple gateways load balanced (ie one URL) that talk to multiple servers?
David,
We've used Resonate (software) to load balance the gateways. It allows
you to group all the gateways under 1 virtual URL and load balance the
incoming connections over each gateway depending on the rules that you
define in Resonate. Look in the SUN portal whitepapers there is one that
talks about it specifically.
As far as load balancing the calls to the portals, the gateways will
automatically load balance across all the portals that they know about
using a simple round-robin rotation. You may be able to use Resonate in
front of the portals but you may need to activate persistance within
Resonate to ensure that the user always ends up on the portal that he
established his initial connection on (if you want that), check with Sun
on this one.
David Broeren wrote:
Recommended configuration for load balanced Portal with load balancer,
multiple gateways and multiple servers.
Does anyone have a recommended network, hardware and software
configuration guide for a Portal installation running with multiple
gateways load balanced (ie one URL) that talk to multiple servers?
Try our New Web Based Forum at http://softwareforum.sun.com
Includes Access to our Product Knowledge Base! -
How to configure log4J ?
Hi All,
Can anyone please let me know how to configure log4J in portal?
I searched in sdn, help.sap and market place, but in vain. Could n't really get any help.
Thanks in advance
-SudheerHi Kathik,
That's pretty much not very different from configuring log4j in another IDE. Look at the documentation website of the Log4J project, see: http://logging.apache.org/log4j/docs/documentation.html.
You can find a good intro at: http://supportweb.cs.bham.ac.uk/documentation/tutorials/docsystem/build/tutorials/log4j/log4j.html.
You could also use the logging mechanism of the Java SE.
Ronald
Maybe you are looking for
-
Cheaper way to stream to my HDMI tv without apple tv?
Anyone know a cheaper option for streaming tv video and music from my mac to a TV in another room it is not connected to? I currently stream to one tv with a mac mini connected or to my macbook. I have just purchased a new tv but cant afford apple tv
-
Upgrade of SOA 2 nodes 10.1.3.3 and patch failure
During upgrade of SOA 10.1.3.3 two node clusters, the first node is made successfully, however, when continue on 2nd node, during the configuration assistant stage, it hangs at BPEL CA : [java] 09/09/23 09:57:37 Notification ==>Binding web applicatio
-
Drag & Drop, ALV or Table Control to Tree Control
Hi Experts, If i want Drag & Drop feature in ALV or Table Control to Tree Control
-
hello experts I am sending a message WS2RFC and recieve an error message that return from the RFC. <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> - <!-- Call Adapter --> - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP
-
Office365 incorrectly labeling my mail as Bulk Mail/ spam
At my office, we send about 5k transactional emails per day. Our email provider shows us has having an excellent reputation with top 10% open and click rates. However, last week Office365 started labeling our email as spam. Specifically, it is label