Exception throws on lookup()
I develop a Swing Client, which by RMI a JBoss (on Vista machine) accesses and services implements.
Properties objProperties = new Properties();
objProperties.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
objProperties.put(Context.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interfaces");
objProperties.put(Context.PROVIDER_URL, "serverIPv4:2001" );
javax.naming.InitialContext initial = new javax.naming.InitialContext(objProperties);
NamingEnumeration ne=initial.list("");
while(ne.hasMore()){
System.out.println("Bind Objects :"+ne.next());
Object ref=initial.lookup("project_projectQ");An exception is thrown with the Swing Client on the Debian machine, here:
{color:#0000ff}initial.lookup("project_projectQ");{color}
The exception reads:
{color:#0000ff}java.lang.ClassNotFoundException: project.query.projectQHome
{color}(in this moment there is not one reaction in the server log of the JBoss (on Vista machine), also not in the Debug mode)
The {color:#0000ff}project.query.projectQHome{color} is with us an interface in one project.ear, which is on the JBoss (the Vista machine) deployed.
The interface {color:#0000ff}project.query.projectQHome{color} does not exist in the.jar file of the Swing Client.
The Swing Client runs thus completely conflict-free on various Machinen, on which only one network entrance and jre 1.6.0 must be present.
On the Debian machine all functionalities of the Swing Client normally, also an email dispatch run functioned smoothly, but the exception already becomes here with the attempt of {color:#0000ff}initial.lookup("project_projectQ"){color} thrown. All ports of the JBoss (on Vista machine) of the Debian machine are attainable and visible.
Main question position:
1. Why funtioniert {color:#0000ff}initial.lookup("project_projectQ"){color} not on the Debian machine?
2. From where does the exception know the name of the interface {color:#0000ff}project.query.projectQHome{color}?
3. Why can in the variable{color:#0000ff} javax.naming.InitialContext initial = new javax.naming.InitialContext (objProperties);{color} obviously existing information for the Naming object "project_projectQ" in {color:#0000ff}*initial*.lookup("project_projectQ");{color} not to be used?
Regards
If the interface {color:#0000ff}project.query.ProjectQHome{color} is merged in the.jar file of the Swing Client,
those of port 2001,2000 and 4444 are used.
If this interface is not merged, those of port 2001,2000,4444 and *8083* are used.
When starting of the JBoss the following is logged:
{color:#003300}08:47:05,244 INFO [WebService] Using RMI server codebase: http://MAINSERV:8083
08:47:05,986 INFO [NamingService] Started jndi bootstrap jnpPort=2001, rmiPort=2000, backlog=50, bindAddress=/192.168.1.2, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076 {color}
The WebService Using RMI server code base 8083 has here the attitude on MAINSERV.
MAINSERV is the computer name of the Vista machine.
In my opinion that could be the cause for the CommunicationException,
there all Windows machines in the local network the computer 'MAINSERV' to reach (e.g. http://KOPIASSES:8080/ for the starting side of the JBoss),
the Debian distribution can so not, but only over the IP address http://192.168.1.2:8080/ for the starting side of the JBoss and http://192.168.1.88:8083/ for the WebService.
I tried to change the codebase properties for run.bat of JBoss.
The changes were also accepted according to JBoss for the WebService, e.g.:
-Djava.rmi.server.codebase=http://192.168.1.2/
-Djava.rmi.server.codebase=http://192.168.1.2:8083/
Perhaps a possibility seems to be,
but that does not function in such a way, because I probably set the wrong data over here.
The local Windows machines throw then an exception, as before with the Debian machine:
javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: project.query.ProjectQHome]
Similar Messages
-
How to catch exception throw bc4j
Dear Forum
I am user of JDeveloper Swing application.
while exception throw from bc4j some particular
type error such as (oracle.jbo.DMLException) JBO-26041
message display.
i want to catch error no 26041 inorder to display own
messageBox.
There is two methods
1-:
i used messageBundle class i overite message string but unable to change dialogBox,i want to use own dialog.
2-:
And i fund ,DML exception message return from JUErrorHandlerDlg class.So using this subclass how
to catch and throw own message.
Plase send me some code to write sub class of JUErrorHandlerDlg.You want this method System to throw an exception if the String[] is empty?
public void system( ObjectOutputStream output, String cmd [] ) {
if (cmd.length == 0)
throw new IllegalArgumentException("Hey! This is an empty array!");
//...rest of your method
}You can choose for yourself which exception type is most appropriate. You can in theory always use the base Exception but is not very specific nor recommended. In this case, I think an existing unchecked exception such as IllegalArgumentException would be the most appropriate. -
Exception in dataSource lookup
HI,
I get Exception in dataSource lookup everytime in my code. How to solve this problem.
I use java,tomcat and sql server
ERROR [ajp-apr-8009-exec-9] 08:37:18,898 com.general.EditBean - Exception in dataSource lookup.
java.sql.SQLException: Exception in dataSource lookup.
at com.dbmodel.DSUtil.getConnection(DSUtil.java:41)
at com.dbmodel.DSUtil.getConnection(DSUtil.java:49)
at com.general.EditBean.getEditRecord(EditBean.java:91)
at org.apache.jsp.lr.blendedtrainingplan_jsp._jspService(blendedtrainingplan_jsp.java:873)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.upside.lms.servlets.GlobalFilter.doFilter(GlobalFilter.java:54)
at com.upside.lms.servlets.GlobalFilter.doFilter(GlobalFilter.java:38)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:208)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at com.googlecode.psiprobe.Tomcat60AgentValve.invoke(Tomcat60AgentValve.java:30)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:197)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1812)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: javax.naming.NameNotFoundException: Name [null] is not bound in this Context. Unable to find [null].
at org.apache.naming.NamingContext.lookup(NamingContext.java:820)
at org.apache.naming.NamingContext.lookup(NamingContext.java:154)
at org.apache.naming.NamingContext.lookup(NamingContext.java:831)
at org.apache.naming.NamingContext.lookup(NamingContext.java:154)
at org.apache.naming.NamingContext.lookup(NamingContext.java:831)
at org.apache.naming.NamingContext.lookup(NamingContext.java:168)
at org.apache.naming.SelectorContext.lookup(SelectorContext.java:158)
at javax.naming.InitialContext.lookup(InitialContext.java:411)
at com.dbmodel.DSUtil.getConnection(DSUtil.java:39)
... 30 moreHello,
"JNDI names are registered in the registry, if you try to access the name which is not registered or by the wrong format, you would get the javax.naming.NameNotFoundException"
Source:
http://www.javabeat.net/javax-naming-namenotfoundexception/
Please look at the following resource too:
http://stackoverflow.com/questions/6468109/javax-naming-namenotfoundexception-name-jdbc-is-not-bound-in-this-context
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
I have a situation when a runtime exception should be thrown and an utility class is used
for the exception throwing.
Example:
public class ErrorUtils {
public static void throwARuntimeException(Exception e) throws ARuntimeException {
throw new ARuntimeException(p1, p2, p3, p4, p5);
I think such technique is wrong because:
1. When an exception is thrown the programmer will see ErrorUtils.throwARuntimeException() in the top of the stacktrace.
2. It allows to write incorrect code. For example:
try {
// do somethink that can throw an exception
catch (Exception e) {
throwARuntimeException(e);
e.printStackTrace(); // this line will be never reached but compiler allows to do that
Maybe somebody can tell me more arguments why it is not good to throw an exception in a separate method?I have a situation when a runtime exception should be
thrown and an utility class is used
for the exception throwing.
Example:
public class ErrorUtils {
public static void
oid throwARuntimeException(Exception e) throws
ARuntimeException {
throw new ARuntimeException(p1, p2, p3, p4,
p3, p4, p5);
I think such technique is wrong because:
1. When an exception is thrown the programmer will see
ErrorUtils.throwARuntimeException() in the top of the
stacktrace.
2. It allows to write incorrect code. For example:
try {
// do somethink that can throw an exception
catch (Exception e) {
throwARuntimeException(e);
e.printStackTrace(); // this line will be never
ver reached but compiler allows to do that
Maybe somebody can tell me more arguments why it is
not good to throw an exception in a separate method?You're real problem here is not so much a question of what you're doing, but how you're doing it.
Consider the following
public void someMethod() throws RuntimeException {
try{
// ... Do something here that throws a RuntimeException
catch(Exception e){
e.printStackTrace(System.err) ;
throw new RuntimeException(e.toString()) ;
}Ok, looks better, I reversed the order of operations in the catch block so that the stack trace would print before it throws the exception, but there's still a problem, and that's one of lost granularity.
If you cast or convert a double to an int, you lose precision because you lose the decimal places. The same is true if you cast from a more specific class to a more general class. So rather than catching a generic Exception, catch a RuntimeException.
However, the only thing you've gained by doing that is a bit of precision, and you're duplicating effort.
In dealing with exceptions, the question is WHERE should it be handled. If the code that generated the exception can deal with it that's fine, there's no need to throw it. This is the situation where you want a try catch block to handle it. But if you can't deal with it at that point, then you have to throw it to a higher level for disposition.
What I'm driving at here is that if all you're going to do in your catch block is print the stack trace and then throw the error upstream, why bother with catching it here at all. In the code where your method is called you're going to have to handle the exception anyway, so you have a catch block for something that you're going to have to do again anyway.
So, what I would do is the following (Assuming all I want to do is report the error to a higher level).
public void callingMethod(){
try{
myMethodThatThrowsARuntimeException() :
someOtherMethodThatMightThrowAnotherTypeOfException() ;
catch(RuntimeException re){
messageTheUserWithTheProblem(re) ;
doSomethingSpecificAboutTheRuntimeException ;
re.printStackTrace(System.err) ;
catch(Exception e){
messageTheUserWithTheProblem(e) ;
e.printStackTrace(System.err) ;
public void myMethodThatThrowsARuntimeException() throws RuntimeException{
// ... Code that causes a RuntimeException to occur
}There are other ways of doing it, but I find that this 1) allows me to write less code and that's always a good thing as far as I'm concerned, and 2) makes the handling of exceptions by my application more predictable.
Of course your milage may vary. -
Hi Experts,
I have a query in Graphical RFC Lookup function.
I am working on Pi 7.1 and scenario is File to Idoc.
In the file, material number is coming, and I have to find out the corresponding Customer number from ECC table using RFC Lookup.
I know how to use RFC lookup.
But here issue is, if Customer Number is not maintained in the ECC table for the incoming material number, then exception should be thrown and processing should be stopped at that moment.
Please tell me how to throw this exception and hence fail the mapping.
-Supriya.Hi ,
I guess you want to fail the message transformation at Message mapping level with Red Error in Monitoring , If LOOKUP return Nothing ...
What You can Do Is , Instead of RFC LOOKUP Function , Use UDF Based RFC LOOKUP , and Inside UDF you can easily raise exception.
Or
In Grapphical Message mapping pass the result from RFCLOOKUP To a 1..1 Target , if during transfermation if 1..1 node will not get any value , so mapping will get failed automatoicaly ..
hope the idea Helps
regards
PS -
Raising exceptions in database lookups in message mapping
Hi
We have been able to successfully do a database lookup from within a message mapping - thanks to weblogs already existing out there. However, we have requirement that states that - if the lookup fails ( failure to connect to DB / data retrieved is null ) , then the mapping should fail - and an exception raised.
How can we go about doing this from within the java code - of the mapping lookup ?
Any correct pointers /solutions to achieve this will be rewarded rightaway. Thanks in advance for your time.Hi,
you can use Alessandro's way:
/people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
this way you can throw smart exceptions:)
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
API0408 Exception throws when open mapping in owb 11.2.0.1
We got the following error message when openning mapping
API0408: Within the same namespace domain one object has already used the name
This exception will throw when the mapping name is the same as the table name. The mapping can be openned if changing the name to some name different from exsiting table name.
A similar notes in metalink(Note:219649.1 Subject: API0408 followed by java.lang.NullPointerException on Mapping Validation), but it's for 10g specific.
Do you have any clue on this?Looks like you are facing Bug 9662211 CAN NOT ADD AN OPERATOR WITH THE SAME NAME AS THAT OF THE MAPPING
which is not yet fixed -
RuntimePermission exception on RMI lookup on a signed Applet
Hi everybody,
Here is my problem : I want to call an ejb from my applet, using RMI.
But, as it is an applet, I get a security exception when I make the naming lookup :
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.rmi.server)
I have been wandering for two days in the Java Sun sites and forums to find out how to pass through this problem.
Too many information is no information : I am not sure to have the correct answer; but here is what I have found :
All I have to do is to make a self-signed Applet (for testing purpose, before having a real certificate), using keytool and jarsigner, and use it with Java Plugin. Doing that will give AllPermission to the signed code, if the user agrees through a Java Plugin dialog.
(see http://java.sun.com/products/plugin/1.2/docs/nsobjsigning.html)
But... that doesn't work (who said 'of course' ?) :
I get the granting dialog, and even if I agree, I always get the same java.lang.RuntimePermission accessClassInPackage exception.
The strange think is that I tried to write a file on the client machine for testing the permission, and that works fine with this same signed applet.
I think that AllPermission implies FilePermission and also RuntimePermission, doesn't ?
Is this behaviour related to my self-signed certificate ? (in this case, why can i write a file ?)
What am I missing ?
Any help will be welcome,
many thanks
bernard
PS. : Of course, i don't want the user to modify its java policy or security configuration as it is often "mission impossible".Sorry, i forgot : i am using Java Plugin v 1.3.1_02
B -
I get the below exception from bean client accessing a stateless session bean.What is the possible reason
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x48205586
Function name=(N/A)
Library=(N/A)
NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.
Current Java thread:
at com.kivasoft.eb.EBActivatorCB.getEBHomenative(Native Method)
at com.kivasoft.eb.EBActivatorCB.getEBHome(Unknown Source)
at com.netscape.server.ejb.EjbContext.createHomeRef(Unknown Source)
at com.netscape.server.ejb.EjbContext.getHomeRef(Unknown Source)
at com.netscape.server.ejb.EjbContext.lookup(Unknown Source)
at com.netscape.server.jndi.RootContext.lookup(Unknown Source)
at com.netscape.server.jndi.RootContext.lookup(Unknown Source)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at com.agent.HelloworldEARReferenceProvider.getGreeterHome(HelloworldEARReferenceProvider.java:61)
at com.agent.HelloworldEARReferenceProvider.getGreeter(HelloworldEARReferenceProvider.java:25)
at com.agent.GreeterMBean.getGreeting(GreeterMBean.java:26)
at java.lang.reflect.Method.invoke(Native Method)
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:1273)
at javax.management.modelmbean.RequiredModelMBean.getAttribute(RequiredModelMBean.java:906)
at javax.management.modelmbean.RequiredModelMBean.getAttribute(RequiredModelMBean.java:782)
at javax.management.MBeanServerImpl.getAttribute(MBeanServerImpl.java:925)
at com.adventnet.manageengine.ruleengine.impl.ConditionImpl.execute(ConditionImpl.java:313)
at com.adventnet.manageengine.ruleengine.impl.RuleImpl.execute(RuleImpl.java:244)
at com.adventnet.manageengine.ruleengine.impl.RuleImpl.run(RuleImpl.java:132)
at com.adventnet.agent.utilities.scheduler.WorkerThread.run(WorkerThread.java:60)
Dynamic libraries:
Local Time = Wed Nov 27 12:03:20 2002
Elapsed Time = 29
# The exception above was detected in native code outside the VM
# Java VM: Java HotSpot(TM) Server VM (1.3.1_02-b02 mixed mode)Does anyone have the fix for this issue? I am also getting the txt files. I have enclosed below:
Current Java thread:
at sun.plugin.services.WPlatformService.waitEvent(Native Method)
at sun.plugin.viewer.frame.IExplorerEmbeddedFrame.destroy(Unknown Source)
Dynamic libraries:
0x00400000 - 0x00419000 C:\Program Files\Internet Explorer\iexplore.exe
0x7C900000 - 0x7C9B0000 C:\WINDOWS\system32\ntdll.dll
0x7C800000 - 0x7C8F4000 C:\WINDOWS\system32\kernel32.dll
0x77C10000 - 0x77C68000 C:\WINDOWS\system32\msvcrt.dll
0x77D40000 - 0x77DD0000 C:\WINDOWS\system32\USER32.dll
0x77F10000 - 0x77F57000 C:\WINDOWS\system32\GDI32.dll
0x77F60000 - 0x77FD6000 C:\WINDOWS\system32\SHLWAPI.dll
0x77DD0000 - 0x77E6B000 C:\WINDOWS\system32\ADVAPI32.dll
0x77E70000 - 0x77F01000 C:\WINDOWS\system32\RPCRT4.dll
0x77760000 - 0x778CE000 C:\WINDOWS\system32\SHDOCVW.dll
0x77A80000 - 0x77B14000 C:\WINDOWS\system32\CRYPT32.dll
0x77B20000 - 0x77B32000 C:\WINDOWS\system32\MSASN1.dll
0x754D0000 - 0x75550000 C:\WINDOWS\system32\CRYPTUI.dll
0x76C30000 - 0x76C5E000 C:\WINDOWS\system32\WINTRUST.dll
0x76C90000 - 0x76CB8000 C:\WINDOWS\system32\IMAGEHLP.dll
0x77120000 - 0x771AC000 C:\WINDOWS\system32\OLEAUT32.dll
0x774E0000 - 0x7761D000 C:\WINDOWS\system32\ole32.dll
0x5B860000 - 0x5B8B4000 C:\WINDOWS\system32\NETAPI32.dll
0x771B0000 - 0x77256000 C:\WINDOWS\system32\WININET.dll
0x76F60000 - 0x76F8C000 C:\WINDOWS\system32\WLDAP32.dll
0x77C00000 - 0x77C08000 C:\WINDOWS\system32\VERSION.dll
0x773D0000 - 0x774D2000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
0x7C9C0000 - 0x7D1D5000 C:\WINDOWS\system32\SHELL32.dll
0x5D090000 - 0x5D127000 C:\WINDOWS\system32\comctl32.dll
0x5AD70000 - 0x5ADA8000 C:\WINDOWS\system32\uxtheme.dll
0x74720000 - 0x7476B000 C:\WINDOWS\system32\MSCTF.dll
0x75F80000 - 0x7607D000 C:\WINDOWS\system32\BROWSEUI.dll
0x20000000 - 0x20012000 C:\WINDOWS\system32\browselc.dll
0x77B40000 - 0x77B62000 C:\WINDOWS\system32\appHelp.dll
0x76FD0000 - 0x7704F000 C:\WINDOWS\system32\CLBCATQ.DLL
0x77050000 - 0x77115000 C:\WINDOWS\system32\COMRes.dll
0x77260000 - 0x77300000 C:\WINDOWS\system32\urlmon.dll
0x77FE0000 - 0x77FF1000 C:\WINDOWS\system32\Secur32.dll
0x77A20000 - 0x77A74000 C:\WINDOWS\System32\cscui.dll
0x76600000 - 0x7661D000 C:\WINDOWS\System32\CSCDLL.dll
0x77920000 - 0x77A13000 C:\WINDOWS\system32\SETUPAPI.dll
0x10000000 - 0x1012A000 c:\program files\google\googletoolbar2.dll
0x71AD0000 - 0x71AD9000 C:\WINDOWS\system32\WSOCK32.dll
0x71AB0000 - 0x71AC7000 C:\WINDOWS\system32\WS2_32.dll
0x71AA0000 - 0x71AA8000 C:\WINDOWS\system32\WS2HELP.dll
0x76B40000 - 0x76B6D000 C:\WINDOWS\system32\WINMM.dll
0x76380000 - 0x76385000 C:\WINDOWS\system32\MSIMG32.dll
0x59A60000 - 0x59B01000 C:\WINDOWS\system32\DBGHELP.DLL
0x76EE0000 - 0x76F1C000 C:\WINDOWS\system32\RASAPI32.DLL
0x76E90000 - 0x76EA2000 C:\WINDOWS\system32\rasman.dll
0x76EB0000 - 0x76EDF000 C:\WINDOWS\system32\TAPI32.dll
0x76E80000 - 0x76E8E000 C:\WINDOWS\system32\rtutils.dll
0x77C70000 - 0x77C93000 C:\WINDOWS\system32\msv1_0.dll
0x76D60000 - 0x76D79000 C:\WINDOWS\system32\iphlpapi.dll
0x722B0000 - 0x722B5000 C:\WINDOWS\system32\sensapi.dll
0x769C0000 - 0x76A73000 C:\WINDOWS\system32\USERENV.dll
0x01310000 - 0x01398000 C:\WINDOWS\system32\shdoclc.dll
0x68000000 - 0x68051000 C:\Program Files\Yahoo!\Companion\Installs\cpn\ycomp5_5_5_0.dll
0x015A0000 - 0x015AE000 C:\Program Files\Adobe\Acrobat 7.0\ActiveX\AcroIEHelper.dll
0x7C340000 - 0x7C396000 C:\WINDOWS\system32\MSVCR71.dll
0x015E0000 - 0x015FB000 C:\WINDOWS\system32\dla\tfswshx.dll
0x01600000 - 0x0160F000 C:\WINDOWS\system32\tfswapi.dll
0x01610000 - 0x0164A000 C:\WINDOWS\system32\dla\tfswcres.dll
0x75E90000 - 0x75F40000 C:\WINDOWS\system32\SXS.DLL
0x016C0000 - 0x01985000 C:\WINDOWS\system32\xpsp2res.dll
0x75CF0000 - 0x75D81000 C:\WINDOWS\system32\mlang.dll
0x71A50000 - 0x71A8F000 C:\WINDOWS\system32\mswsock.dll
0x662B0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
0x71A90000 - 0x71A98000 C:\WINDOWS\System32\wshtcpip.dll
0x01F30000 - 0x021F6000 C:\WINDOWS\system32\msi.dll
0x019A0000 - 0x019B9000 c:\progra~1\mcafee.com\vso\McVSSkt.dll
0x76FC0000 - 0x76FC6000 C:\WINDOWS\system32\rasadhlp.dll
0x76F20000 - 0x76F47000 C:\WINDOWS\system32\DNSAPI.dll
0x76FB0000 - 0x76FB8000 C:\WINDOWS\System32\winrnr.dll
0x605D0000 - 0x605D9000 C:\WINDOWS\system32\mslbui.dll
0x7DC30000 - 0x7DF1F000 C:\WINDOWS\System32\mshtml.dll
0x746C0000 - 0x746E7000 C:\WINDOWS\System32\msls31.dll
0x76BF0000 - 0x76BFB000 C:\WINDOWS\System32\PSAPI.DLL
0x746F0000 - 0x7471A000 C:\WINDOWS\System32\msimtf.dll
0x5C2C0000 - 0x5C300000 C:\WINDOWS\ime\sptip.dll
0x74C80000 - 0x74CAC000 C:\WINDOWS\system32\OLEACC.dll
0x76080000 - 0x760E5000 C:\WINDOWS\system32\MSVCP60.dll
0x02B20000 - 0x02B31000 C:\WINDOWS\IME\SPGRMR.DLL
0x02B40000 - 0x02B9B000 C:\Program Files\Common Files\Microsoft Shared\INK\SKCHUI.DLL
0x75C50000 - 0x75CBE000 C:\WINDOWS\System32\jscript.dll
0x66E50000 - 0x66E90000 C:\WINDOWS\System32\iepeers.dll
0x73000000 - 0x73026000 C:\WINDOWS\System32\WINSPOOL.DRV
0x73300000 - 0x73367000 C:\WINDOWS\System32\vbscript.dll
0x73DD0000 - 0x73ECE000 C:\WINDOWS\System32\MFC42.DLL
0x30000000 - 0x30222000 C:\WINDOWS\system32\Macromed\Flash\Flash8.ocx
0x763B0000 - 0x763F9000 C:\WINDOWS\system32\comdlg32.dll
0x72D20000 - 0x72D29000 C:\WINDOWS\system32\wdmaud.drv
0x72D10000 - 0x72D18000 C:\WINDOWS\system32\msacm32.drv
0x77BE0000 - 0x77BF5000 C:\WINDOWS\system32\MSACM32.dll
0x77BD0000 - 0x77BD7000 C:\WINDOWS\system32\midimap.dll
0x76200000 - 0x76271000 C:\WINDOWS\System32\mshtmled.dll
0x04CB0000 - 0x04CCC000 C:\Program Files\Adobe\Acrobat 7.0\ActiveX\PDFShell.dll
0x5DE30000 - 0x5DF07000 C:\Program Files\Common Files\Microsoft Shared\VGX\vgx.dll
0x76B20000 - 0x76B31000 C:\WINDOWS\system32\ATL.DLL
0x4EC50000 - 0x4EDF3000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.2600.2180_x-ww_522f9f82\gdiplus.dll
0x767F0000 - 0x76817000 C:\WINDOWS\system32\schannel.dll
0x0FFD0000 - 0x0FFF8000 C:\WINDOWS\system32\rsaenh.dll
0x68100000 - 0x68124000 C:\WINDOWS\system32\dssenh.dll
0x76C00000 - 0x76C2E000 C:\WINDOWS\system32\credui.dll
0x5E0C0000 - 0x5E0CD000 C:\WINDOWS\system32\pstorec.dll
0x71B20000 - 0x71B32000 C:\WINDOWS\system32\MPR.dll
0x75F60000 - 0x75F67000 C:\WINDOWS\System32\drprov.dll
0x71C10000 - 0x71C1E000 C:\WINDOWS\System32\ntlanman.dll
0x71CD0000 - 0x71CE7000 C:\WINDOWS\System32\NETUI0.dll
0x71C90000 - 0x71CD0000 C:\WINDOWS\System32\NETUI1.dll
0x71C80000 - 0x71C87000 C:\WINDOWS\System32\NETRAP.dll
0x71BF0000 - 0x71C03000 C:\WINDOWS\System32\SAMLIB.dll
0x75F70000 - 0x75F79000 C:\WINDOWS\System32\davclnt.dll
0x73D70000 - 0x73D83000 C:\WINDOWS\System32\shgina.dll
0x75970000 - 0x75A67000 C:\WINDOWS\system32\MSGINA.dll
0x76360000 - 0x76370000 C:\WINDOWS\system32\WINSTA.dll
0x74320000 - 0x7435D000 C:\WINDOWS\system32\ODBC32.dll
0x01C00000 - 0x01C17000 C:\WINDOWS\system32\odbcint.dll
0x092D0000 - 0x09349000 C:\WINDOWS\system32\Audiodev.dll
0x086C0000 - 0x08904000 C:\WINDOWS\system32\WMVCore.DLL
0x070D0000 - 0x0710B000 C:\WINDOWS\system32\WMASF.DLL
0x593F0000 - 0x59482000 C:\WINDOWS\system32\wiashext.dll
0x73BA0000 - 0x73BB3000 C:\WINDOWS\System32\sti.dll
0x74AE0000 - 0x74AE7000 C:\WINDOWS\System32\CFGMGR32.dll
0x055B0000 - 0x055B5000 C:\WINDOWS\system32\xpsp3res.dll
0x69000000 - 0x6900E000 C:\WINDOWS\system32\Macromed\Common\SwSupport.dll
0x6D430000 - 0x6D43A000 C:\WINDOWS\System32\ddrawex.dll
0x73760000 - 0x737A9000 C:\WINDOWS\System32\DDRAW.dll
0x73BC0000 - 0x73BC6000 C:\WINDOWS\System32\DCIMAN32.dll
0x76820000 - 0x76834000 C:\WINDOWS\system32\HLINK.DLL
0x76390000 - 0x763AD000 C:\WINDOWS\system32\imm32.dll
0x71D40000 - 0x71D5C000 C:\WINDOWS\System32\actxprxy.dll
0x325C0000 - 0x325D2000 C:\Program Files\Microsoft Office\OFFICE11\msohev.dll
0x6CC60000 - 0x6CC6B000 C:\WINDOWS\System32\dispex.dll
0x76990000 - 0x769B5000 C:\WINDOWS\system32\ntshrui.dll
0x76980000 - 0x76988000 C:\WINDOWS\system32\LINKINFO.dll
0x73B30000 - 0x73B45000 C:\WINDOWS\system32\mscms.dll
0x6D440000 - 0x6D450000 C:\Program Files\Java\j2re1.4.2\bin\npjpi142.dll
0x5EDD0000 - 0x5EDE7000 C:\WINDOWS\system32\OLEPRO32.DLL
0x6D310000 - 0x6D327000 C:\Program Files\Java\j2re1.4.2\bin\jpiexp32.dll
0x6D380000 - 0x6D397000 C:\Program Files\Java\j2re1.4.2\bin\jpishare.dll
0x08000000 - 0x08136000 C:\PROGRA~1\Java\J2RE14~1.2\bin\client\jvm.dll
0x05E50000 - 0x05E57000 C:\PROGRA~1\Java\J2RE14~1.2\bin\hpi.dll
0x06450000 - 0x0645E000 C:\PROGRA~1\Java\J2RE14~1.2\bin\verify.dll
0x06460000 - 0x06478000 C:\PROGRA~1\Java\J2RE14~1.2\bin\java.dll
0x06480000 - 0x0648D000 C:\PROGRA~1\Java\J2RE14~1.2\bin\zip.dll
0x07510000 - 0x0761A000 C:\Program Files\Java\j2re1.4.2\bin\awt.dll
0x07000000 - 0x07050000 C:\Program Files\Java\j2re1.4.2\bin\fontmanager.dll
0x73940000 - 0x73A10000 C:\WINDOWS\system32\D3DIM700.DLL
0x6D2F0000 - 0x6D304000 C:\Program Files\Java\j2re1.4.2\bin\jpicom32.dll
0x07F40000 - 0x07F62000 C:\Program Files\Java\j2re1.4.2\bin\dcpr.dll
0x07F70000 - 0x07F7F000 C:\Program Files\Java\j2re1.4.2\bin\net.dll
0x5CB00000 - 0x5CB6E000 C:\WINDOWS\System32\shimgvw.dll
Heap at VM Abort:
Heap
def new generation total 576K, used 12K [0x10130000, 0x101d0000, 0x10890000)
eden space 512K, 2% used [0x10130000, 0x10133120, 0x101b0000)
from space 64K, 0% used [0x101c0000, 0x101c0000, 0x101d0000) -
AbstractTable model exception throws clause error?
I want to display a JDialog whenever the user tries to enter a string when the column class is Double. To do this, I am trying to throw an exception from the setValueAt() method in my class that extends AbstractTable model. However, my code results in an "Exception StatisticsException is not compatible with throws clause in AbstractTableModel.setValueAt()". Any idea how I can work around this? Is there a better way to display a JDialog in this case? Thanks in advance.
public void setValueAt(Object text, int rowIndex, int columnIndex)throws StatisticsException{
if(variables[columnIndex].isDouble()){
try{
Double.parseDouble(text.toString());
Object[] temp = data.get(rowIndex);
temp[columnIndex] = text.toString();
data.remove(rowIndex);
data.add(rowIndex, temp);
}catch(NumberFormatException ex){
throw new StatisticsException("Numeric value required.");
}else{
Object[] temp = data.get(rowIndex);
temp[columnIndex] = text.toString();
data.remove(rowIndex);
data.add(rowIndex, temp);
}Ah, yes of course. In the midst of trying to account for data entry errors, I forgot that. The following revised code works just fine. Thanks.
public void setValueAt(Object text, int rowIndex, int columnIndex){
Object[] temp = data.get(rowIndex);
temp[columnIndex] = text.toString();
data.remove(rowIndex);
data.add(rowIndex, temp);
} -
ClassCast Exception during EJB lookup
Context ctx = new InitialContext();
Object ref = ctx.lookup("MessageSender");
SenderHome senderHome= (SenderHome)PortableRemoteObject.narrow(ref,SenderHome.class);
sender = senderHome.createSender();
where MessageSender is the JNDI name of bean.
The error is ::
java.lang.ClassCastException: com.sap.message.sender.SenderHome#
I have even tried SenderHome senderHome = (SenderHome)ref
bcos SenderHome is locally deployed. I have also tried with SenderLocalHome ,but it also gives ClassCast Exception.
Message was edited by:
Shilpa BhanotHi,
Have you tried to find out what the class actually is ?
<code>
Context ctx = new InitialContext();
Object ref = ctx.lookup("MessageSender");
Object objUnknown= PortableRemoteObject.narrow(ref,SenderHome.class);
System.out.println ("Class of object is :" +objUnknown.getClass());
</code> -
** Exception Throw in Fork Step - How to inform ?
Hi Friends,
Customer sends 2 IDoc DEBMAS, ADRMAS. The conditions is when both the IDocs is having the same customer no we need to send to the outside system. (DEBMAS - E1KNA1M - KUNNR) equals to (ADRMAS - E1ADRMAS - OBJ_ID).
I have designed BPM for this : Start --> Fork Step --> 2 Receive Step --> Correlation mentioned in 2 receive step --> Next Block --> Fork --> Transformation Step & Send Step (Two sets : 1 is for DEBMAS & 2nd is for ADRMAS)
I have checked the design. It is semantcially correct. But, I have the following doubts.
1) If no matching records found in first block (DEBMAS customer no is not equal to ADRMAS) how much time the fork will wait ?
2) To effect this, 'Exception Branch' is inserted. After Fork which contains 2 receive steps, one control step is inserted to trigger an exception. Question here is, after how much time, this control step will trigger an exception
3) What is the purpose of 'End Condition' Property in Fork Step ? Is it required.
Could you kindly help me friends to clarify the above 3 points. If those clarified, my BPM will be complete.
Thanking you.
Kind regards,
Jegathees P.>
Jegatheeswaran Pitchaimuthu wrote:
> Hi Friends,
>
> Customer sends 2 IDoc DEBMAS, ADRMAS. The conditions is when both the IDocs is having the same customer no we need to send to the outside system. (DEBMAS - E1KNA1M - KUNNR) equals to (ADRMAS - E1ADRMAS - OBJ_ID).
>
> I have designed BPM for this : Start --> Fork Step --> 2 Receive Step --> Correlation mentioned in 2 receive step --> Next Block --> Fork --> Transformation Step & Send Step (Two sets : 1 is for DEBMAS & 2nd is for ADRMAS)
>
> I have checked the design. It is semantcially correct. But, I have the following doubts.
>
> 1) If no matching records found in first block (DEBMAS customer no is not equal to ADRMAS) how much time the fork will wait ?
> 2) To effect this, 'Exception Branch' is inserted. After Fork which contains 2 receive steps, one control step is inserted to trigger an exception. Question here is, after how much time, this control step will trigger an exception
> 3) What is the purpose of 'End Condition' Property in Fork Step ? Is it required.
>
> Could you kindly help me friends to clarify the above 3 points. If those clarified, my BPM will be complete.
>
> Thanking you.
>
> Kind regards,
> Jegathees P.
your design should be Fork with two receive steps and correlation should be the customer number field for both. This will ensure that only when the customer numbers are equal the BPM will process further.
Now you need to handle the exception using a block step around the fork step. You can define a time of your choice until how long should the BPM process wait to receive the different idoc with the same customer num. If within the specified time it is not received then you can raise a exception, trigger alerts etc. as u need. -
Hi all,
I was programing j2me by using: NetBean + Sun wireless Toolkit. When running on emularor, my app perfomce very good. But when I deploy on real device(e.g Samsung B7330 using window mobile) I got so much errors.
So I google and find out: J2ME SDK 3.0 intergrating debug on real device. I setup enviroments and run some sample application, they run smooth. But when I run my app, I got an exception when I try to open RMS
javax.microedition.rms.RecordStoreException: error opening record store fileHere my code:
public void saveProfile() {
byte[] data = toByteArray();
try {
rs = RecordStore.openRecordStore("kunkunProfile", true);
for (RecordEnumeration e = rs.enumerateRecords(null, null, false); e.hasNextElement();) {
int id = e.nextRecordId();
rs.deleteRecord(id);
rs.addRecord(data, 0, data.length);
rs.closeRecordStore();
} catch (Exception ex) {
System.out.println("Exception in OpenRecordStore..." + ex.getMessage());
try {
rs.addRecord(data, 0, data.length);
rs.closeRecordStore();
} catch (Exception e) {
ex.printStackTrace();
}Can anyone help me?
Sorry for my english, I not good English.Note: This thread was originally posted in the [Java Programming|http://forums.sun.com/forum.jspa?forumID=31] forum, but moved to this forum for closer topic alignment.
-
About "Illegal group reference" exception throws in Matcher
I somehow need to have a string containing one or more '$' be used in some appendReplacement() function in a matcher, so I decided to modify the "$" character in that string into "\$" to escape from capturing an invalid group.
Here is an example illustrating my case:
http://developer.domaindlx.com/ron/TestRE.java.txt
But after changing the "$" to "\\$", supposedly I did, "Illegal group reference" exception still threw when I try to use that "$"-containing string in appendReplacement() method in Matchers.
Can anyone kindly tell me the reason behind and suggest me possible solution?
Thank you very much.You didn't put enough backslashes in (and no I don't know why the extra is needed - probably because there is another layer in there.)
String newString = oldString.replaceAll("[\\$]", "\\\\\\$"); -
I've tried everything that I have read, but to no avail. the song keeps comming up, it is a purchased song, maybe this has someting to do with why I can not delete it?
What version of IOS are you running?
To delete a song simply swipe from right to left and an option to delete will pop up.
Maybe you are looking for
-
No sound when I connect my Macbook pro (2012) to TV via HDMI!
Hi! I have a problem with the sound when I connect my Macbook pro (bought in 2012) to a Phillips HD TV. The strange thing is that it only happens with some videos (specially youtube videos) but the sound works perfectly with films and audio files I h
-
Any solution on iPhone 4 can't connect to iPad 2 with iOS 6.0.1?
Any solution on iPhone 4 can't bluetooth connect to iPad 2 both with iOS 6.0.1?
-
Connect to host on same computer
Hi all, I have a small server app that opens a TCP socket on listens for a connection from my flash project, but if I try to connect using Socket("localhost",[port]) I get a 2031 Socket Error. I haven't worked with the networking in flash so I am pre
-
The left side of my mini ipad is unresponsive. Is there a fix for this hardware issue without costing me an arm and a leg?
-
I just bought a new mac, and let the setup app transfer my files from Time Machine. It worked great, but now I can't access any of my old Time Machine files (fwiw this also happened the LAST time I attached a new computer to the same Time Machine dri