Win a copy of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java this week in the Agile and Other Processes forum!

Margit Bork

Greenhorn
+ Follow
since Mar 03, 2004
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Margit Bork

does i work for you to set the log4j.rootLogger to warn ?
When i try to get a logger that does not make output unles the logger is specified i fail. I mean if i havent specified the logger that i instantiate it get at default loglevel on debug - and i dont want that.
I hope it is possible to define a hieracy of loggers mirroring my class hieracy, so that i dont have to make a specific configuration for each class's logger (I want each class to have its own logger to be able to pinpoint logging in the production environment )
Any experience with this ??
logger.setAdditivity(false);
is also a possibility, to avoid logging to a logger up the hieracy
Hi
I am trying to implement log4j in my application and I want to be able to turn logging on and of in any class I might want. To this i instantiate loggers with the full class name. But do I then have to configure all these loggers or is it enough to configure a basic logger
e.g. dk.myhome.myproject
and will loggers with the name dk.myhome.myproject.package.class inherit loglevel from the basic logger ?
can i get an example ??
I have an application running on a websphere 3.5.4 and when i start it up
i get this exception:
resolveEntity('-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN', 'http://java.sun.com/j2ee/dtds/web-app_2_2.dtd')
Not registered, use system identifier
Parse Fatal Error at line 5 column -1: External entity not found: "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd".
java.net.UnknownHostException: java.sun.com
at org.xml.sax.SAXException.<init> (SAXException.java:78)
at org.xml.sax.SAXParseException. <init>(SAXParseException.java:78)
at com.sun.xml.parser.Parser.fatal (Parser.java:2817)
at com.sun.xml.parser.Parser. externalParameterEntity(Parser.java(Compiled Code))
at com.sun.xml.parser.Parser. maybeDoctypeDecl(Parser.java:1137)
at com.sun.xml.parser.Parser. parseInternal(Parser.java:481)
at com.sun.xml.parser.Parser. parse(Parser.java:284)
at javax.xml.parsers.SAXParser .parse(SAXParser.java:155)
at javax.xml.parsers.SAXParser .parse(SAXParser.java:77)
at org.apache.struts.digester. Digester.parse(Digester.java:755)
at org.apache.struts.action. ActionServlet.initServlet(ActionServlet.java:1433)
at org.apache.struts.action. ActionServlet.init(ActionServlet.java:473)
at javax.servlet.GenericServlet. init(GenericServlet.java:258)
at com.ibm.servlet.engine.webapp. StrictServletInstance.doInit(ServletManager.java:604)
at com.ibm.servlet.engine.webapp. StrictLifecycleServlet._init(StrictLifecycleServlet.java:136)
at com.ibm.servlet.engine.webapp. PreInitializedServletState.init(StrictLifecycleServlet.java:244)
at com.ibm.servlet.engine.webapp. StrictLifecycleServlet.init(StrictLifecycleServlet.java:102)
at com.ibm.servlet.engine.webapp. ServletInstance.init(ServletManager.java:284)
at javax.servlet.GenericServlet. init(GenericServlet.java:258)
at com.ibm.servlet.engine.webapp. ServletManager.addServlet(ServletManager.java:76)
at com.ibm.servlet.engine.webapp. WebAppServletManager.loadServlet(WebAppServletManager.java:91)
at com.ibm.servlet.engine.webapp. WebAppServletManager.getServletReference (WebAppServletManager.java:135)
at com.ibm.servlet.engine.webapp. WebApp.getServletReference(WebApp.java:293)
at com.ibm.servlet.engine.webapp. WebAppRequestDispatcherInfo. calculateInfo( WebAppRequestDispatcherInfo.java:151)
at com.ibm.servlet.engine.webapp. WebAppRequestDispatcherInfo.<init>(WebAppRequestDispatcherInfo.java:50)
at com.ibm.servlet.engine.webapp. WebApp.getRequestDispatcher(WebApp.java:962)
at dk.lec.nice. servlet.NiceWebServletDispatcher. gotoPage(Trace.java(1k):305)
at dk.lec.nice.servlet. NiceWebServletDispatcher.handleDoPost$ ajcPostCall(Trace.java(1k):151)
at dk.lec.nice.servlet. NiceWebServletDispatcher.handleDoPost(Trace.java(1k):1163)
at dk.lec.nice.servlet. NiceWebServletDispatcher.handleDoPost $method_call(Trace.java(1k))
at dk.lec.nice.servlet.NiceWebServletDispatcher .doPost(Trace.java(1k):24)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:626)
at com.ibm.servlet.engine.webapp. StrictLifecycleServlet._service(StrictLifecycleServlet.java:160)
at com.ibm.servlet.engine.webapp. IdleServletState.service(StrictLifecycleServlet.java:287)
at com.ibm.servlet.engine.webapp. StrictLifecycleServlet.service(StrictLifecycleServlet.java:105)
at com.ibm.servlet.engine.webapp. ServletInstance.service(ServletManager.java:360)
at com.ibm.servlet.engine.webapp. ValidServletReferenceState.dispatch (ServletManager.java:775)
at com.ibm.servlet.engine.webapp. ServletInstanceReference.dispatch(ServletManager.java:701)
at com.ibm.servlet.engine.webapp. WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:478)
at com.ibm.servlet.engine.webapp. WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:234)
at com.ibm.servlet.engine.webapp. WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:138)
at com.ibm.servlet.engine.srt. WebAppInvoker.handleInvocationHook(WebAppInvoker.java:77)
at com.ibm.servlet.engine.invocation. CachedInvocation.handleInvocation (CachedInvocation.java:67)
at com.ibm.servlet.engine.invocation. CacheableInvocationContext.invoke (CacheableInvocationContext.java:106)
at com.ibm.servlet.engine.srp .ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:160)
at com.ibm.servlet.engine.oselistener .OSEListenerDispatcher.service(OSEListener.java:300)
at com.ibm.servlet.engine.oselistener. SQEventListenerImp$ServiceRunnable. run(SQEventListenerImp.java:230)
at com.ibm.servlet.engine.oselistener. SQEventListenerImp.notifySQEvent (SQEventListenerImp.java:104)
at com.ibm.servlet.engine.oselistener .serverqueue.SQEventSource.notifyEvent(SQEventSource.java:212)
at com.ibm.servlet.engine.oselistener. serverqueue.SQWrapperEventSource$ SelectRunnable.notifyService(SQWrapperEventSource.java:353)
at com.ibm.servlet.engine.oselistener. serverqueue.SQWrapperEventSource $SelectRunnable.run(SQWrapperEventSource.java:220)
at com.ibm.servlet.engine.oselistener .outofproc.OutOfProcThread$ CtlRunnable.run(OutOfProcThread.java:248)
at java.lang.Thread.run(Thread.java:481)
[03.07.24 09:01:38:031 GMT+02:00] e5967865 WebGroup A SRVE0092I: [Servlet LOG]: "action: null": java.net.UnknownHostException: java.sun.com
at org.xml.sax.SAXException. <init>(SAXException.java:78)
at org.xml.sax.SAXParseException. <init>(SAXParseException.java:78)
at com.sun.xml.parser.Parser.fatal(Parser.java:2817)
at com.sun.xml.parser.Parser. externalParameterEntity(Parser.java(Compiled Code))
at com.sun.xml.parser.Parser. maybeDoctypeDecl(Parser.java:1137)
at com.sun.xml.parser.Parser. parseInternal(Parser.java:481)
at com.sun.xml.parser.Parser. parse(Parser.java:284)
at javax.xml.parsers. SAXParser.parse(SAXParser.java:155)
at javax.xml.parsers. SAXParser.parse(SAXParser.java:77)
at org.apache.struts. digester.Digester.parse(Digester.java:755)
at org.apache.struts. action.ActionServlet.initServlet(ActionServlet.java:1433)
at org.apache.struts. action.ActionServlet.init(ActionServlet.java:473)
at javax.servlet.GenericServlet. init(GenericServlet.java:258)
at com.ibm.servlet.engine.webapp. StrictServletInstance.doInit(ServletManager.java:604)
the line:
'-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN', 'http://java.sun.com/j2ee/dtds/web-app_2_2.dtd'
is from the web.xml file
Does anyone have a suggestion to what is going on ??
16 years ago
I have an application running on a websphere 3.5.4 and when i start it up
i get this exception:
resolveEntity('-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN', 'http://java.sun.com/j2ee/dtds/web-app_2_2.dtd')
Not registered, use system identifier
Parse Fatal Error at line 5 column -1: External entity not found: "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd".
java.net.UnknownHostException: java.sun.com
at org.xml.sax.SAXException.<init> (SAXException.java:78)
at org.xml.sax.SAXParseException. <init>(SAXParseException.java:78)
at com.sun.xml.parser.Parser.fatal (Parser.java:2817)
at com.sun.xml.parser.Parser. externalParameterEntity(Parser.java(Compiled Code))
at com.sun.xml.parser.Parser. maybeDoctypeDecl(Parser.java:1137)
at com.sun.xml.parser.Parser. parseInternal(Parser.java:481)
at com.sun.xml.parser.Parser. parse(Parser.java:284)
at javax.xml.parsers.SAXParser .parse(SAXParser.java:155)
at javax.xml.parsers.SAXParser .parse(SAXParser.java:77)
at org.apache.struts.digester. Digester.parse(Digester.java:755)
at org.apache.struts.action. ActionServlet.initServlet(ActionServlet.java:1433)
at org.apache.struts.action. ActionServlet.init(ActionServlet.java:473)
at javax.servlet.GenericServlet. init(GenericServlet.java:258)
at com.ibm.servlet.engine.webapp. StrictServletInstance.doInit(ServletManager.java:604)
at com.ibm.servlet.engine.webapp. StrictLifecycleServlet._init(StrictLifecycleServlet.java:136)
at com.ibm.servlet.engine.webapp. PreInitializedServletState.init(StrictLifecycleServlet.java:244)
at com.ibm.servlet.engine.webapp. StrictLifecycleServlet.init(StrictLifecycleServlet.java:102)
at com.ibm.servlet.engine.webapp. ServletInstance.init(ServletManager.java:284)
at javax.servlet.GenericServlet. init(GenericServlet.java:258)
at com.ibm.servlet.engine.webapp. ServletManager.addServlet(ServletManager.java:76)
at com.ibm.servlet.engine.webapp. WebAppServletManager.loadServlet(WebAppServletManager.java:91)
at com.ibm.servlet.engine.webapp. WebAppServletManager.getServletReference (WebAppServletManager.java:135)
at com.ibm.servlet.engine.webapp. WebApp.getServletReference(WebApp.java:293)
at com.ibm.servlet.engine.webapp. WebAppRequestDispatcherInfo. calculateInfo( WebAppRequestDispatcherInfo.java:151)
at com.ibm.servlet.engine.webapp. WebAppRequestDispatcherInfo.<init>(WebAppRequestDispatcherInfo.java:50)
at com.ibm.servlet.engine.webapp. WebApp.getRequestDispatcher(WebApp.java:962)
at dk.lec.nice. servlet.NiceWebServletDispatcher. gotoPage(Trace.java(1k):305)
at dk.lec.nice.servlet. NiceWebServletDispatcher.handleDoPost$ ajcPostCall(Trace.java(1k):151)
at dk.lec.nice.servlet. NiceWebServletDispatcher.handleDoPost(Trace.java(1k):1163)
at dk.lec.nice.servlet. NiceWebServletDispatcher.handleDoPost $method_call(Trace.java(1k))
at dk.lec.nice.servlet.NiceWebServletDispatcher .doPost(Trace.java(1k):24)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:626)
at com.ibm.servlet.engine.webapp. StrictLifecycleServlet._service(StrictLifecycleServlet.java:160)
at com.ibm.servlet.engine.webapp. IdleServletState.service(StrictLifecycleServlet.java:287)
at com.ibm.servlet.engine.webapp. StrictLifecycleServlet.service(StrictLifecycleServlet.java:105)
at com.ibm.servlet.engine.webapp. ServletInstance.service(ServletManager.java:360)
at com.ibm.servlet.engine.webapp. ValidServletReferenceState.dispatch (ServletManager.java:775)
at com.ibm.servlet.engine.webapp. ServletInstanceReference.dispatch(ServletManager.java:701)
at com.ibm.servlet.engine.webapp. WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:478)
at com.ibm.servlet.engine.webapp. WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:234)
at com.ibm.servlet.engine.webapp. WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:138)
at com.ibm.servlet.engine.srt. WebAppInvoker.handleInvocationHook(WebAppInvoker.java:77)
at com.ibm.servlet.engine.invocation. CachedInvocation.handleInvocation (CachedInvocation.java:67)
at com.ibm.servlet.engine.invocation. CacheableInvocationContext.invoke (CacheableInvocationContext.java:106)
at com.ibm.servlet.engine.srp .ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:160)
at com.ibm.servlet.engine.oselistener .OSEListenerDispatcher.service(OSEListener.java:300)
at com.ibm.servlet.engine.oselistener. SQEventListenerImp$ServiceRunnable. run(SQEventListenerImp.java:230)
at com.ibm.servlet.engine.oselistener. SQEventListenerImp.notifySQEvent (SQEventListenerImp.java:104)
at com.ibm.servlet.engine.oselistener .serverqueue.SQEventSource.notifyEvent(SQEventSource.java:212)
at com.ibm.servlet.engine.oselistener. serverqueue.SQWrapperEventSource$ SelectRunnable.notifyService(SQWrapperEventSource.java:353)
at com.ibm.servlet.engine.oselistener. serverqueue.SQWrapperEventSource $SelectRunnable.run(SQWrapperEventSource.java:220)
at com.ibm.servlet.engine.oselistener .outofproc.OutOfProcThread$ CtlRunnable.run(OutOfProcThread.java:248)
at java.lang.Thread.run(Thread.java:481)
[03.07.24 09:01:38:031 GMT+02:00] e5967865 WebGroup A SRVE0092I: [Servlet LOG]: "action: null": java.net.UnknownHostException: java.sun.com
at org.xml.sax.SAXException. <init>(SAXException.java:78)
at org.xml.sax.SAXParseException. <init>(SAXParseException.java:78)
at com.sun.xml.parser.Parser.fatal(Parser.java:2817)
at com.sun.xml.parser.Parser. externalParameterEntity(Parser.java(Compiled Code))
at com.sun.xml.parser.Parser. maybeDoctypeDecl(Parser.java:1137)
at com.sun.xml.parser.Parser. parseInternal(Parser.java:481)
at com.sun.xml.parser.Parser. parse(Parser.java:284)
at javax.xml.parsers. SAXParser.parse(SAXParser.java:155)
at javax.xml.parsers. SAXParser.parse(SAXParser.java:77)
at org.apache.struts. digester.Digester.parse(Digester.java:755)
at org.apache.struts. action.ActionServlet.initServlet(ActionServlet.java:1433)
at org.apache.struts. action.ActionServlet.init(ActionServlet.java:473)
at javax.servlet.GenericServlet. init(GenericServlet.java:258)
at com.ibm.servlet.engine.webapp. StrictServletInstance.doInit(ServletManager.java:604)
the line:
'-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN', 'http://java.sun.com/j2ee/dtds/web-app_2_2.dtd'
is from the web.xml file
Does anyone have a suggestion to what is going on ??
16 years ago
Hi
I have encountered a problem with my websphere application server 3.5
Error during native write operation! Status Code: -1":
The problem occurs when there are many users on the site.
And on websphere-world i have found an article saying that
For WAS 3.5, this has been fixed by efix pq43653 in PTF 3.
Does anyone have any experience with this. Did it fix the problem.
Did you encounter (m)any problems installing the fix-pack
I have never tryed to install such a fixpack so I would like as many
information as possible - like how do i do it ??
Please help me
Margit (a quite green developer)
16 years ago
Hi
I have found this site about the error
http://www.websphere-world.com/modules.php?Sections&op=viewarticle&artid=1093
Maybe it will help
I have encountered the same problem, with a page that suddenly
have increased the amount of users, and now this error frequently occurs

I have not yet tryed the fix pack referred to in the link
Margit
16 years ago