About Posix exception
when i used weblogic6.0 with sp1 for linux,
i found an Exception like this:
####<Apr 27, 2001 12:34:30 PM EDT> <Error> <Posix Performance Pack>
<webserver> <myserver> <ExecuteThread: '12' for queue: 'default'
<> <> <000000> <Uncaught Throwable in processSockets>java.io.IOException: unexpected result from poll: -1
at weblogic.socket.PosixSocketMuxer.poll(Native Method)
at
weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java(Compil
ed Code))
at
weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
what is it means??
Thank you very much!I has solved this problem follow your point.
now,i have encounter another problem with below exception,i also didn't know where the exception be throw out.
java.lang.NullPointerException
at javax.swing.plaf.basic.BasicTreeUI.paint(BasicTreeUI.java:1123)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142)
at javax.swing.JComponent.paintComponent(JComponent.java:541)
at javax.swing.JComponent.paint(JComponent.java:808)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4771)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4724)
at javax.swing.JComponent._paintImmediately(JComponent.java:4668)
at javax.swing.JComponent.paintImmediately(JComponent.java:4477)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
Similar Messages
-
Info about conditions, exceptions and celldefinitions
Hi,
Please tell me about conditions, exceptions, cell definition and structures.
can we create conditions characteristics and exceptions on characteristics.
what is the meaning of cell definitions and how it will be useful.
Thanks,
AnnamHi,
Chk this link.
http://help.sap.com/saphelp_nw2004s/helpdata/en/b2/e50138fede083de10000009b38f8cf/frameset.htm
Regards,
Mansi -
What do you think about using exceptions for something more than errors
if you look the java.lang.Exception description at the JDK javadoc, you can see the following text:
"The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch."
... we can�t see "error" word anywhere!!
What do you think about using exceptions for something more than errors? Can be possible use them as a way for send information to upper layers?
Thankx in regards...it seems that what you say is a functional way of achiveing that, yes
but Exceptions are generally reserverd for "Exceptional" situations ie program messing up or invalid data
it does require a fair bit of processor time to actually generate and throw an Exception.
so, all in all its "better" to use "normal" condition flow control to achive what you want.. you can always return early, break loops, call methods to pass information -
Question about throws exception in interface and realized class
Hi,all
If I define a method In the interface like that-
public void Execute() throws NumberFormatException; In the realized class, I can define this method like that-
public void Execute() throws RuntimeException{
System.out.println("test");
}This is a right realization. But if I manage it to throws Exception or to throws Throwable in the class it leads a error. Why add this restrict only to Exception? What is the purpose of this way?
Greetings and thanks,
JasonWhen you say "throws NumberFormatException" you are really saying:
When using classes implementing this interface, you have to be prepared to deal with them throwing a NumberFormatException. Other exceptions won't happen.
When you come to implement it, it might not be possible for it to throw a NumberFormatException, so there's no reason why you should have to lie about that. Code handling it directly will be fine (it doesn't throw a NFE) and code handling it via the interface will be fine (it will handle NFEs, they just don't happen).
If your concrete implementation throws other sorts of exception, such as Exception or IOException, and so on, it's incompatible with code that's manipulating the interface. The interface says "NFEs might get thrown, nothing else will." while your implementation says "IOExceptions might get thrown".
So that explains why you can't use arbitrary exceptions. The special case is RuntimeException. RuntimeExceptions don't have to be caught, and it's expected that they can happen at any time - so there's no point trying to catch and handle them as a general case.
The classic example of a RuntimeException is a NullPointerException. You don't need to declare your method as throwing a NullPointerException even though it might get thrown. And you don't have to add NullPointerException to the throws part of the interface definition, because you already know that the concrete implementation could throw a NPE at any time.
Hope that helps (a little).
I'd recommend reading the API documentation on RuntimeException and Exception to get a clearer insight into this.
Dave. -
Quick question about an exception problem
Hi all,
I'm doing a homework problem with exceptions and there is an outline I have to fill in with some exception handling. There are 2 parts of the problem I'm not sure about that deal with checked and unchecked exceptions and passing exceptions to a calling method.
Here's the problem: in the following method, the call to getStudentNumber( ) may throw a BadNumberException or a FileIOException. Modify the code (aka add try/catch blocks etc.) to do the following.
1. Pass the BadNumberException on to the calling method. It is not a checked exception.
2. Pass FileIOException on to the calling method. It is a checked exception.
Here is the code outline:
public void reportStudents() {
int number;
while(true) {
number = getStudentNumber();
setStudentNumber(number);
} }I know I need to declare the 2nd exception but I'm not sure the syntax of doing so. Any help would be appreciated. Thanks.See this tutorial for the information:
http://java.sun.com/docs/books/tutorial/essential/exceptions/index.html -
when i used weblogic6.0 with sp1 for linux,
i found an Exception like this:
####<Apr 27, 2001 12:34:30 PM EDT> <Error> <Posix Performance Pack>
<webserver> <myserver> <ExecuteThread: '12' for queue: 'default'
<> <> <000000> <Uncaught Throwable in processSockets>java.io.IOException: unexpected result from poll: -1
at weblogic.socket.PosixSocketMuxer.poll(Native Method)
at
weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java(Compil
ed Code))
at
weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
what is it means??"yuanli" <[email protected]> wrote in message
news:[email protected]..
when i used weblogic6.0 with sp1 for linux,
i found an Exception like this:
####<Apr 27, 2001 12:34:30 PM EDT> <Error> <Posix Performance Pack>
<webserver> <myserver> <ExecuteThread: '12' for queue: 'default'
<> <> <000000> <Uncaught Throwable in processSockets>java.io.IOException: unexpected result from poll: -1
at weblogic.socket.PosixSocketMuxer.poll(Native Method)
at
weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java(Compil
ed Code))
at
weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
what is it means??Yuanli,
You should contact support with regards to this issue. It is a known
problem, you can reference CR042529.
Cheers!
Adam -
Get details about Sharepoint Exception when Publishing
Hi all,
We've build a Custom WP which inherits from the CQWP and we have extended the WP with new properties.
Our site uses variations, when we modify the WP in the source variation the properties are replicated in the other variations except for the properties we have added in our custom WP.
When analyzing the SPS logs I have the following error when the replication failed:
Variation WebPart Fixup: The WebPart [g_e7ab00a4_79e7_48c6_8fb3_ff88f4a2bce7, CP - Custom CQ Override WP] on page Seiten/default.aspx was updated.
Die Datei Seiten/default.aspx wurde am 29 Sep 2008 17:00:08 +0200 von SHAREPOINT\system bearbeitet.
Possible mismatch between the reported error with code = 0x81070901 and message: "Die Datei Seiten/default.aspx wurde am 29 Sep 2008 17:00:08 +0200 von SHAREPOINT\system bearbeitet." and the returned error with code 0x81020037. DeploymentWrapper.SynchronizePeerPages() catches SPException while spawning page http://iexternal.testnet1.cec.eu.int/sites/testCBQ/News/de/Seiten/default.aspx
DeploymentWrapper::SynchronizePeerPages(), synchronizeDestUrl = http://iexternal.testnet1.cec.eu.int/sites/testCBQ/News/en/Pages/default.aspx
I tried to increase sharepoint log level to Verbose but I have nothing more.
How could I have details about the "SPException while spawning page..." ?
Any idea ?I got this today from one of my users on SharePoint Server 2010 SP2 Enterprise Edition August 2013 CU
Publishing turned on and Enterprise Keywords, in a Document Library with Versioning turned on.
The Short below:
Possible mismatch between the reported error with code = 0x81070901 and message: "The file VPN Tunnels/NAME.docx has been modified by CORPORATION\USER
The Long below, or the whole correlation ID:
03/27/2015 06:30:05.52 w3wp.exe (0x3360) 0x28D4 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (POST:http://sharepoint:80/Depts/site/subsite/VPN%20Tunnels/Forms/EditForm.aspx?Mode=Upload&CheckInComment=&ID=18&RootFolder=%2FDepts%2Fsite%2Fsubsite%2FVPN%20Tunnels&IsDlg=1) e3b03424-91b1-4d48-9935-adc3a1ab92a4
03/27/2015 06:30:05.55 w3wp.exe (0x3360) 0x28D4 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ e3b03424-91b1-4d48-9935-adc3a1ab92a4
03/27/2015 06:30:05.55 w3wp.exe (0x3360) 0x28D4 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (PostResolveRequestCacheHandler). Execution Time=33.6788 e3b03424-91b1-4d48-9935-adc3a1ab92a4
03/27/2015 06:30:05.74 w3wp.exe (0x3360) 0x28D4 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Execution Time=58.5522 e3b03424-91b1-4d48-9935-adc3a1ab92a4
03/27/2015 06:30:05.74 w3wp.exe (0x3360) 0x28D4 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (VPN Tunnels). Execution Time=138.0561 e3b03424-91b1-4d48-9935-adc3a1ab92a4
03/27/2015 06:30:05.74 w3wp.exe (0x3360) 0x28D4 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Add WebParts). Execution Time=138.3178 e3b03424-91b1-4d48-9935-adc3a1ab92a4
03/27/2015 06:30:05.99 w3wp.exe (0x3360) 0x28D4 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Execution Time=56.8108 e3b03424-91b1-4d48-9935-adc3a1ab92a4
03/27/2015 06:30:06.01 w3wp.exe (0x3360) 0x28D4 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (CachedObjectFactory: Caching ListItem at: /Depts/site/subsite/VPN Tunnels/NAME.docx). Execution Time=94.9952 e3b03424-91b1-4d48-9935-adc3a1ab92a4
03/27/2015 06:30:06.12 w3wp.exe (0x3360) 0x28D4 SharePoint Foundation Office Parser ey9f Medium Metadata demote dirty the file, Csi PreserveCellStorageStateInFfm skipped e3b03424-91b1-4d48-9935-adc3a1ab92a4
03/27/2015 06:30:06.16 w3wp.exe (0x3360) 0x28D4 SharePoint Foundation Office Parser ey9f Medium Metadata demote dirty the file, Csi PreserveCellStorageStateInFfm skipped e3b03424-91b1-4d48-9935-adc3a1ab92a4
03/27/2015 06:30:06.18 w3wp.exe (0x3360) 0x28D4 SharePoint Foundation General 8kh7 High The file VPN Tunnels/NAME.docx has been modified by CORPORATION\USER on 27 Mar 2015 06:30:05 -0400. e3b03424-91b1-4d48-9935-adc3a1ab92a4
03/27/2015 06:30:06.18 w3wp.exe (0x3360) 0x28D4 SharePoint Foundation General 8e2r Medium Possible mismatch between the reported error with code = 0x81070901 and message: "The file VPN Tunnels/NAME.docx has been modified
by CORPORATION\USER on 27 Mar 2015 06:30:05 -0400." and the returned error with code 0x81020037. e3b03424-91b1-4d48-9935-adc3a1ab92a4
03/27/2015 06:30:06.18 w3wp.exe (0x3360) 0x28D4 SharePoint Foundation Runtime tkau Unexpected System.Runtime.InteropServices.COMException: The file VPN Tunnels/NAME.docx has been modified by CORPORATION\USER on 27 Mar 2015
06:30:05 -0400. at Microsoft.SharePoint.Library.SPRequestInternalClass.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bPreserveItemUIVersion, Boolean bUpdateNoVersion,
Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration,
Boolean bPublish, String bstrFileName, ISP2DSafeArrayWriter pListDataValidationCallback, ISP2DSafeArrayWriter pRestrictInsertCallback, ISP2DSafeArrayWriter pUniqueFieldCallback) at Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(String
bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bPreserveItemUIVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion,
Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish, String bstrFileName, ISP2DSafeArrayWriter pListDataValidationCallback, ISP2DSafeArrayWriter
pRestrictInsertCallback, ISP2DSafeArrayWriter pUniqueFieldCallback) e3b03424-91b1-4d48-9935-adc3a1ab92a4
03/27/2015 06:30:06.19 w3wp.exe (0x3360) 0x28D4 SharePoint Foundation Performance nask Monitorable An SPRequest object was not disposed before the end of this thread. To avoid wasting system resources, dispose of this
object or its parent (such as an SPSite or SPWeb) as soon as you are done using it. This object will now be disposed. Allocation Id: {CD2A5193-4F31-465D-9CCC-90DD94C10F70} To determine where this object was allocated, set Microsoft.SharePoint.Administration.SPWebService.ContentService.CollectSPRequestAllocationCallStacks
= true. e3b03424-91b1-4d48-9935-adc3a1ab92a4
03/27/2015 06:30:06.19 w3wp.exe (0x3360) 0x28D4 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (POST:http://sharepoint:80/Depts/site/subsite/VPN%20Tunnels/Forms/EditForm.aspx?Mode=Upload&CheckInComment=&ID=18&RootFolder=%2FDepts%2Fsite%2Fsubsite%2FVPN%20Tunnels&IsDlg=1)).
Execution Time=659.1917 e3b03424-91b1-4d48-9935-adc3a1ab92a4
0x81020037. -
I get the following exception running constantly in the background for 6.0 beta 2 running on Solaris. I believe it happens when making a URLConnection. Any ideas?
<Critical> <Posix Performance Pack> <Failure in ti
meout callback
java.lang.NullPointerException
at weblogic.socket.PosixSocketMuxer.hasCompleteMessageTimeoutExpired(Pos
ixSocketMuxer.java:277)
at weblogic.socket.PosixSocketMuxer.trigger(PosixSocketMuxer.java:254)
at weblogic.time.common.internal.ScheduledTrigger.executeLocally(Schedul
edTrigger.java:225)
at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigg
er.java:216)
at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:6
5)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>I think I solved the problem myself. I noticed when it couldn't resolve the name of the host I was attempting to connect to it would give this error. Fixing the name, the error went away.
andy
"Andrew Monroe" <[email protected]> wrote:
>
I get the following exception running constantly in the background for 6.0 beta 2 running on Solaris. I believe it happens when making a URLConnection. Any ideas?
<Critical> <Posix Performance Pack> <Failure in ti
meout callback
java.lang.NullPointerException
at weblogic.socket.PosixSocketMuxer.hasCompleteMessageTimeoutExpired(Pos
ixSocketMuxer.java:277)
at weblogic.socket.PosixSocketMuxer.trigger(PosixSocketMuxer.java:254)
at weblogic.time.common.internal.ScheduledTrigger.executeLocally(Schedul
edTrigger.java:225)
at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigg
er.java:216)
at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:6
5)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
> -
Problem with http, can you help me about this exception(JSPX)?
Somwone could tell me what's this http error when i try to get data from jspx aplication?
HTTP Status 500 -
exception
javax.servlet.ServletException: Problem accessing the absolute URL "http://localhost:8080/livros/people.jspx". java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8080/livros/people.jspx
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:827)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:763)
org.apache.jsp.Resposta_jsp._jspService(Resposta_jsp.java:95)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:251)
javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
root cause
java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8080/livros/people.jspx
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1133)
org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireReader(ImportSupport.java:331)
org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireString(ImportSupport.java:241)
org.apache.taglibs.standard.tag.common.core.ImportSupport.doEndTag(ImportSupport.java:158)
org.apache.jsp.Resposta_jsp._jspx_meth_c_import_0(Resposta_jsp.java:115)
org.apache.jsp.Resposta_jsp._jspService(Resposta_jsp.java:68)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:251)
javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)Hi
Please try looking at following lines.
org.apache.jsp.Resposta_jsp._jspx_meth_c_import_0(Resposta_jsp.java:115)
org.apache.jsp.Resposta_jsp._jspService(Resposta_jsp.java:68)
and
org.apache.jsp.Resposta_jsp._jspService(Resposta_jsp.java:95)
This is in generated servlet file. Then try to find out in your JSP.
HTTP Status 500 indicates an internal server error.
HTH
VJ -
Hello:
<b>I am using an adaptive RFC model inside a Web Dynpro Application.i encountered a exception:</b>
com.sap.tc.webdynpro.
modelimpl.dynamicrfc.WDDynamicRFCExecuteException: Invalid request., error key: RFC_ERROR_SYSTEM_FAILURE
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:101)
at com.sap.shineway.InputField.exec(InputField.java:169)
at com.sap.shineway.wdp.InternalInputField.exec(InternalInputField.java:291)
at com.sap.shineway.ShineWay_InputView.onActionGoCreate(ShineWay_InputView.java:192)
at com.sap.shineway.wdp.InternalShineWay_InputView.wdInvokeEventHandler(InternalShineWay_InputView.java:248)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessag
eListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:214)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: com.sap.aii.proxy.framework.core.BaseProxyException: Invalid request., error key: RFC_ERROR_SYSTEM_FAILURE
what it means??
thank you
yours
zunxian.chengZunxian,
The error message "Invalid request., error key: RFC_ERROR_SYSTEM_FAILURE" makes it seem like there's something wrong with the request. You generally get an error message of the group RFC_ERROR_SYSTEM_FAILURE when there's something wrong with the backend system, or when you send a request that makes it dump.
What Bapi/RFM are you trying to call?
have a look at <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/f6/daea401675752ae10000000a155106/content.htm">this explaination of different JCO Exceptions</a> for more information.
Regards
Mattias -
Hi All,
I have some problems with bex exception. In my query, I have 3 columns (the third one is a rate calculated from the first (C1) and second columns (C2)). I have a characteristic in row which lists the different values. Sometimes, I have no value for C1 and C2 and also, the value rate is space (thatu2019s normal behaviour). I must highlight some rate by
If rate < 55 bad
If rate => 55 good
I did an exception
Bad except1 BT 0 to 54
good except2 GE 55
That works fine but my problem is :
The rate cells with a space value are also highlighted with the bad colour. Have you some idea to avoid this behaviour ?
C1 C2 Rate
1000 5 200 (C3)
100 20 5 (C3)
space space space (C3)
1st C3 is green
2nd C3 is red
3rd C3 is also red (I want to leave blank)
Thanks fot your help.Hi,
If you are in BW 3.5 then you can make us of class interfaces for this scenario and it was explained here in this article.
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e0b4cfcc-f9c1-2b10-1bb5-d4b61083d471
Hope this helps you.
Regards,
Rajkandula -
About runtime exception in the mapping
Just i am trying to solve the blog http://weblogs.sdn.sap.com/pub/web/3228
in the sxbm_moni it is showing that runtime exception in massage mapping trasformation. But in that scinario i am not using any mapping program? Whithout using any mapping program how we will get exception in massage mapping?Dear Rama Krishna,
I'm unable to open the link to web blog. plz provide the correct path so that I can help.
Regards
Praveen -
About mdb exception in jes8.1
The exception occurs when I create a new MDB, just deploy it to jes8.1,
can you help? Pls be noted that the jes8.1 is not the enterprise edition but just the platform edition.
[#|2005-09-09T16:44:11.781+0800|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb.mdb|_ThreadID=11;|MDB00017: [MyEclipseMDB]: Exception in creating message-driven bean container: [com.sun.enterprise.connectors.ConnectorRuntimeException: JMS resource not created : ejb/MyEclipseMDB]|#]
[#|2005-09-09T16:44:11.781+0800|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb.mdb|_ThreadID=11;|com.sun.enterprise.connectors.ConnectorRuntimeException
com.sun.enterprise.connectors.ConnectorRuntimeException: JMS resource not created : ejb/MyEclipseMDB
at com.sun.enterprise.connectors.system.ActiveJmsResourceAdapter.getPhysicalDestinationFromConfiguration(ActiveJmsResourceAdapter.java:560)
at com.sun.enterprise.connectors.system.ActiveJmsResourceAdapter.updateMDBRuntimeInfo(ActiveJmsResourceAdapter.java:444)
at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:139)
at com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanContainer.java:187)
at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:221)
at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:477)
at com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:125)
at com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:95)
at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:224)
at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:164)
at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:496)
at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:872)
at com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:856)
at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:424)
at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:288)
at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:155)
at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:258)
at com.sun.enterprise.deployment.phasing.StartPhase.runPhase(StartPhase.java:87)
at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:633)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:185)
at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:519)
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:585)
at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:302)
at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:357)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
at $Proxy1.invoke(Unknown Source)
at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.invokeDeploymentService(AutoDeployer.java:504)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployModule(AutoDeployer.java:485)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployApplication(AutoDeployer.java:418)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployApplication(AutoDeployer.java:408)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:228)
at com.sun.enterprise.deployment.autodeploy.AutoDeployControllerImpl$AutoDeployTask.run(AutoDeployControllerImpl.java:342)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
|#]The exception occurs when I create a new MDB, just deploy it to jes8.1,
can you help? Pls be noted that the jes8.1 is not the enterprise edition but just the platform edition.
[#|2005-09-09T16:44:11.781+0800|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb.mdb|_ThreadID=11;|MDB00017: [MyEclipseMDB]: Exception in creating message-driven bean container: [com.sun.enterprise.connectors.ConnectorRuntimeException: JMS resource not created : ejb/MyEclipseMDB]|#]
[#|2005-09-09T16:44:11.781+0800|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb.mdb|_ThreadID=11;|com.sun.enterprise.connectors.ConnectorRuntimeException
com.sun.enterprise.connectors.ConnectorRuntimeException: JMS resource not created : ejb/MyEclipseMDB
at com.sun.enterprise.connectors.system.ActiveJmsResourceAdapter.getPhysicalDestinationFromConfiguration(ActiveJmsResourceAdapter.java:560)
at com.sun.enterprise.connectors.system.ActiveJmsResourceAdapter.updateMDBRuntimeInfo(ActiveJmsResourceAdapter.java:444)
at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:139)
at com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanContainer.java:187)
at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:221)
at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:477)
at com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:125)
at com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:95)
at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:224)
at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:164)
at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:496)
at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:872)
at com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:856)
at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:424)
at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:288)
at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:155)
at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:258)
at com.sun.enterprise.deployment.phasing.StartPhase.runPhase(StartPhase.java:87)
at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:633)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:185)
at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:519)
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:585)
at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:302)
at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:357)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
at $Proxy1.invoke(Unknown Source)
at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.invokeDeploymentService(AutoDeployer.java:504)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployModule(AutoDeployer.java:485)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployApplication(AutoDeployer.java:418)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployApplication(AutoDeployer.java:408)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:228)
at com.sun.enterprise.deployment.autodeploy.AutoDeployControllerImpl$AutoDeployTask.run(AutoDeployControllerImpl.java:342)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
|#] -
Question about throwing exceptions
hi,
i am trying to throw a FileNotFoundException in a certain situation, but Eclipse is giving me the 'unhandled FileNotFoundException' error and insisting I wrap the 'throw' statement in a try/catch statement.
Is that right? is it just a bug in eclipse or does this exception insist i catch the very exception i am trying to throw?
thanks!You can throw it, but you have to declare that your method throws it.
void myMethod() throws FNFExc {
throw new FNFExc("Me no findey");
} -
SOS!! What's the matter about this exception
java.rmi.MarshalException: error marshalling return; nested exception is:
java.io.NotSerializableException: java.util.RandomAccessSubList
at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:284)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:244)
at ejb.CategoryEJB_r6fvxc_EOImpl_812_WLStub.searchItems(Unknown Source)
at test.ejb.TestCategoryEJBTestClient.testSearchItems(TestCategoryEJBTestClient.java:342)
...(Click for full stack trace)...
Caused by: java.io.NotSerializableException: java.util.RandomAccessSubList
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
at java.util.HashMap.writeObject(HashMap.java:958)
at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:795)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1294)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
at weblogic.common.internal.ChunkedObjectOutputStream.writeObject(ChunkedObjectOutputStream.java:116)
at weblogic.rjvm.MsgAbbrevOutputStream.writeObject(MsgAbbrevOutputStream.java:93)
at ejb.CategoryEJB_r6fvxc_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)my project is running on weblogic 8.1sp2, the code snap :
public Page implements Serialable{
List list = new ArrayList;
public Page(){
SearchSessionBean extends SessionBean {
public Page search(Command cmd){
//execute search
listHandler.executeSearch(criteria);
//construct the page
page.setList(listHandler.getNextList());
//***DEBUG:the <code>page</code> here is right
return page.
}i test this method by junit , the code will return the right Page,but i deploy it to weblogic,the exception throws, why???????
Maybe you are looking for
-
How do i create a back-up on my new macbook air? When I rurn on time machine it goes to air port utility and then is unable to connect. Am I doing something wrong ?
-
Lost everything!!!!
so i updated to new software and now itunes wont even recognise my iphone- have also lost all contacts, photos, music everything!! any idea how i can get computer to recognise it?
-
Is it possible to load Content Explorer task flow from Document Explorer
I have document explorer task flow within a page that has one the root folder employee that contains list of html files While selecting the row (html file) is it possible to load the same within Content presenter by capturing the ContentID from there
-
Subscription and Online number conflict.
I have a monthly subscription (Unlimited Europe) that includes an online number. I am being asked to pay to extend my online number (that I've had for a long time), when I click to extend, it says I already have a free number. When I give up and clic
-
i upgraded my firefox to 3.6.4 but when i add some add-ons it tell me that i have 3.5.8 & i have to upgrade it ... i reinstall 3.6.4 several times but still the same problem ... == 2-3 days ago