RMI server side Exception
Hi,
I am getting following an error when i try to run rmi programs in unix platform.
Steps are followed
1.compilation successful(Interface,Client as well as Server)
2.rmic Server Implementation(Stub & skeleton are created successfully)
3.rmiregistry &
4.Java serverprogramname
I am getting an error at this stage.Please kindly let me know where i made mistakes.
Please give me sample program to understand the implementation of rmi in unix platform.
Note:The sample program i had tried in windows platform it was successful.
Please help me to come from this problem.
I am expecting eagerly from you at the earliest.
thanks®ards,
Manohar Mani
Hi,
Steps are followed
1.compilation successful(Interface,Client as well as
Server)
2.rmic Server Implementation(Stub & skeleton are
created successfully)2.5 Have you deployed the remote interfaces and stubs where the Registry and client can find them? (There are various ways to do this.)
I am getting an error at this stage.Please kindly let
me know where i made mistakes.The first mistake is not to state exactly what the error is and what line of code you get it on. We are not mind-readers (although we do try hard).
Please give me sample program to understand the
implementation of rmi in unix platform.There are samples provided with the JDK.
Similar Messages
-
Hi,
I'm trying a Rmi implementation. The server side classes-interface look to work properly, but when I try to refer to remote objects from my client, it throws the following exception:
java.rmi.UnmarshalException: error unmarshalling return; nested
exception is:
java.lang.ClassNotFoundException:
RmiImplementation.RiceviFileImp_Stub
I run the client with the command:
java
- Djava.rmi.server.codebase=file:/d:\RmiImplementation/ RmiClient.RmiClient
The server run on a NT 4.0 workstation, and the stub calss is
d:\RmiImplementation\RiceviFileImp_Stub.class
Thanks in advance
FabioOf course, the class is downloadble frm a server!!!
The matter is that on the su. web site, they write an example using an applet, that's a little different, since it's compiled on the server machine and just excecuted on the client side.
Do I have to do something different if I'm not implementing an Applet? -
RMI-server communicates oracle: Exception
Hallo everybody,
My task is:
- to implement in oracle Java stored procedure,
- to implement RMI server
- to load in oracle wrapper for Connection-object (ConnectionImpl), that has a reference at Connection (default oracle Connection), this ConnectionImpl-object will be passed to RMI-server, the RMI-server will call a method on this object.
- Stub and Skeleton of ConnectionImpl are on both sides available (inside of oracle (as .jar) and on RMI-server side).
First I start RMI-server. Then I call the stored procedure. It finds RMI-server, calls the method on RMI-server side, then RMI-server tries to call the method of ConnectionImpl with the following result:
Fehler: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.net.SocketException: Connection reset
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.net.SocketException: Connection reset
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.net.SocketException: Connection reset
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:292)
at sun.rmi.transport.Transport$1.run(Transport.java:148)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:534)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
at server.NativeDllServer_Stub.init(Unknown Source)
at storedprocedure.OracleTest.verbinde(OracleTest:26)
Caused by: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.net.SocketException: Connection reset
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:274)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101)
at elena.ConnectionImpl_Stub.returnString(Unknown Source)
at server.NativeDllServer.init(NativeDllServer.java:18)
I will be thankful for every tip, how I can resolve it.Its clear you have the java permission set to allow db Java to write to a socket, since the call to the RMI server works, but maybe you are missing the permission to allow db java to listen and/or read from a socket?
See:
http://download-west.oracle.com/docs/cd/B14117_01/java.101/b12021/security.htm#sthref714
for java.net.SocketPermission
Chris -
Hi
I have a Server instance which is used by clients once in 2 days.
what i want is ,if the instance is not used by any client for 1 day,it should be cleaned up.And if the clients give a request on second day,a new instance should be made and serve the clinets.
Is there any timeout feature for RMI Server side object.I would use an Activatable server so you can reactivate automatically, and implement an Unreferenced.unreferenced() method in which you call Activatable.inactive() if the object has been idle for too long.
-
RMI server and client in one application - Exceptions during some calls
I wrote an application, which is an RMI-Server (Server1), and another separate application, which is an RMI-Client (Client1). Because I wont use dynamic class loading, I gave the client beside the interface.java also an interface_implementation.java, which is only a dummy of the original interface_implementation of the server. This dummy contains only declarations of the methods (parameters and return values) and no functional code. From this dummy the _stub.class is generated, and it works fine - no problem.
Now I want to modify Client1 to become also an RMI-Server (Server2) for a second, separate Client (Client2), the methods used are different from the first RMI connection. This Client2 uses a dummy of the implementation of Server2 in the same way as described above. The application Client1+Server2 only has to "translate" the calls from Client2 to Server2 into calls of Client1 to Server1 (Server1 is not changed at all). In case of primitive method parameters or return values this chain of RMI-applications works fine, but in case of more complex structures (my own classes) during the call of Client1 to Server1 an "ClassNotFoundException: access denied to class loader" occurs by running through the stub. Both stub.classes are found, all of the applications know the objects needed, the call of Client1 to Server1 is exactly the same call as it was during the simple version (only Server1 and Client1).
Does anybody know, why this exception occurs and how I can overcome this ?
AxelI figured out a solution - it's a problem of policies. In detail: Server1's codebase entry (file:) refers to the class directory of Server1's project. In the simple case of only Client1, which has no codebase entry, it works fine without a file permission on the side of Server1. In the complex case of Client1+Server2, which has to have a codebase entry (file:) refering to the class directory of the Server2's project on a separate machine, for exactly the same method call from Client1 to Server1 a file permission entry on the side of Server1 is needed for Server1's class directory. But WHY ???
It seems to be a little confusing with the codebase entries, many of the posts are contrary to others and to my personal experiences. Some comments given by Adrian Colley throw a little light upon some aspects. Is there anybody, who can explain the whole topic, when, why, and which part of RMI application deals with codebase entries, also in case of not dynamic code downloading ? May be there is also a reference into the java docs, which I didn't found up to now.
Thanks in advance
Axel -
Problem to update Swing components from RMI object at server side
Greetings, I have a RMI client/server application, both client and server have a Swing GUI. But at the server side, it appears to me that I can't pass object or make function call to my server GUI class. Because I can't have GUI instance or reference in my Remote object. (java.rmi.MarshalExceptio, java.io.NotSerializableException, blar blar ...)
My problem is, if a client does something, I want to reflect the changes on the server side GUI. How can I do this except using a spin query?
Any help would be greatly appreciated.
Thanks.
John
Edited by: zgliang on Sep 13, 2007 3:30 AMI'd like to suggest you read the topic "Questions RMI & Swing & SwingWorker", which is similar to yours.
-
I'm trying to run an RMI application (under Windows XP, one machine for client and server) like this:
at server side:
java -Djava.rmi.server.codebase=file://\..\..\..\j\ -Djava.security.policy=file:.\polityka.txt sss
- and it works fine, but at client side:
java -Djava.security.policy=file:.\polityka.txt -Djava.rmi.server.codebase=file://\..\..\..\j\ kkk
results in:
Exception in thread "main" java.lang.NoClassDefFoundError: PrzykladowaKlasa
at kkk.main(kkk.java:31)
when I'm listing directory (at client side) got with System.getProperty("java.rmi.server.codebase") i get this
file://\..\..\..\j\
OdleglaKlasa_Stub.class
PrzykladowaKlasa.class
Folder Structure is:
|------j\
| |------(*_Stub.class, and ClassNeededByClient.class)
|------2\
| |------Server\
| | |------(serwer files)
| |------Klient\
| | |------(klient files)
I'm fresh in RMI and Codebase poperty, but with some exp with Java...
(policy files are allright - grant {permission java.security.AllPermission;};)
Any help will be appreciated.I've come back to this issue again (since I am moving code around to different systems again). Using linux I can use -Djava.rmi.server.codebase=file://$PWD/build/
Presumably there is a similar command in WIndows. -
Crazy Exception blocked my RMI server
Hi all one crazy exception is thrown when I try to start the server. Plz reply me the the possible cause and solution.
thanks in advance
The exception is :
Error starting service
java.rmi.server.ExportException: Listen failed on port: 0; nested exception is:
java.net.SocketException: JVM_Bind (code=10055)You cant listen / bind on port 0. Try a different port number greater than 1024. That should work out.
-
Hello Guys,
I'm getting the following error when calling a method of a normally
deployed facade session bean.
java.rmi.ServerError: A error occurred the server; nested exception is:
java.lang.AbstractMethodError
It's very confusing, it sometimes appear and sometimes the method is
invoked normally.
Thanks in advance for ur help.
Itani
[att1.html]That error means your are not running xserver process. Or, your ssh connection is not set-up to forward X-11 data.
-
How RMI implements multithreading in Server-side?
In [http://my.execpc.com/~gopalan/java/rmi_internals.html] says:
"On the server side, when a client connects to the server socket, a new thread is forked to deal with the incoming call. The original thread can continue listening to the original socket so that additional calls from other clients can be made."
I have traced Java source code (jdk-6u18-ea-src-b05-jrl-18_nov_2009.jar) , but i could not find where and how Java RMI do it.
Could anyone give me some hint? Thanks!In [http://my.execpc.com/~gopalan/java/rmi_internals.html] says:
The status of that site is zero. All you can rely on is the RMI specification.
"On the server side, when a client connects to the server socket, a new thread is forked to deal with the incoming call. The original thread can continue listening to the original socket so that additional calls from other clients can be made."That accurately describes the Sun implementation of RMI as of 1.5, the latest source code I have looked at. It doesn't accurately describe the IBM implementation nor I suspect the Sun 1.6 implementation.
I have traced Java source code (jdk-6u18-ea-src-b05-jrl-18_nov_2009.jar) , but i could not find where and how Java RMI do it. So? Why does it matter? The RMI specification tells you what the multi-threading guarantees of RMI are. They are all you can rely on. -
Handle exception on server side and display a customized jsp error page
Hi,
I am developing a java/j2EE web application using servlet, jsp, ejb3 with JBOSS and ECLIPSE.
Two cases can occur on the server side :
1) either I have not an expected result in a method and in this case I want to display an error page (a JSP page I suppose) with a personnalized error message
2) or I have an exception thrown and I want to display the exception message in the former JSP page
I don't know how to cope with this problem of personnalized error message (or the message of a thrown exception) with a JSP page.
Does anybody can help me ? Thank you
Edited by: xflamant on Jun 20, 2009 10:51 AMFor the case of an unknown Error, simply use a default error page.
The redirection to this page can be accomplished by inserting folowing code into your web.xml:
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/WEB-INF/jsp/error.jsp</location>
</error-page>Known exception can be caught via a try-catch block.
Then simply dispatch to the page you want displayed an add an attribute containing the error message to the response object.
This attribute can then be used in the target page to diplay the error. -
Getting following exception on TCP ssl at server side
Hi,
I am trying to setup an ssl client and ssl server.
But on ssl client side, My need_wrap going into loop(Buffer overflow)
On my server side, i am getting following error.
Please help me...I am not getting much discussion/articles to solve this problem.
javax.net.ssl.SSLProtocolException: Handshake message sequence violation, state = 1, type = 1
javax.net.ssl.SSLProtocolException: Handshake message sequence violation, state = 1, type = 1
at sun.security.ssl.Handshaker.checkThrown(Handshaker.java:1371)
at sun.security.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:513)
at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:790)
at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:758)
at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624)
at com.ipay.ssl.SSLServerNio.doHandshake(SSLServerNio.java:55)
at com.ipay.ssl.SSLServerNio.main(SSLServerNio.java:215)
Caused by: javax.net.ssl.SSLProtocolException: Handshake message sequence violation, state = 1, type = 1
at sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:156)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:868)
at sun.security.ssl.Handshaker$1.run(Handshaker.java:808)
at sun.security.ssl.Handshaker$1.run(Handshaker.java:806)
at java.security.AccessController.doPrivileged(Native Method)
at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1299)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
My server handshake code look like this.
void doHandshake(SocketChannel socketChannel, SSLEngine engine,
ByteBuffer myNetSendData, ByteBuffer myNetRecieveData) throws Exception {
// Create byte buffers to use for holding application data
ByteBuffer myAppDataSend = ByteBuffer.allocate(engine.getSession().getApplicationBufferSize());
ByteBuffer myAppDataRecieve = ByteBuffer.allocate(engine.getSession().getApplicationBufferSize());
System.out.println(engine.getPeerPort());
// Begin handshake
engine.beginHandshake();
SSLEngineResult.HandshakeStatus hs = engine.getHandshakeStatus();
// Process handshaking message
while (hs != SSLEngineResult.HandshakeStatus.FINISHED &&
hs != SSLEngineResult.HandshakeStatus.NOT_HANDSHAKING) {
switch (hs) {
case NEED_UNWRAP:
System.out.println("Reached NEED UNWRAP");
// Receive handshaking data from peer
if (socketChannel.read(myNetRecieveData) < 0) {
// Handle closed channel
System.out.println("not able toRead data from channel to buffer at client");
myNetRecieveData.flip();
// Process incoming handshaking data
SSLEngineResult res = engine.unwrap(myNetRecieveData, myAppDataRecieve);
// myNetRecieveData.compact();
// Getting handshake status
hs = res.getHandshakeStatus();
System.out.println("Debugging in NEED_UNWRAP-->"+hs);
// Check status
switch (res.getStatus()) {
case OK :
// Handle OK status
System.out.println("OK");
break;
case BUFFER_OVERFLOW:
System.out.println("BUFFER OVERFLOW");
break;
case BUFFER_UNDERFLOW:
System.out.println("BUFFER UNDERFLOW");
/* if (socketChannel.read(myNetRecieveData) < 0) {
// Handle closed channel
System.out.println("not able toRead data from channel to buffer at client");
hs=HandshakeStatus.NEED_UNWRAP;
System.out.println("Read data on underflow condition");
break;
case CLOSED:
System.out.println("CLOSED");
break;
// Handle other status: BUFFER_UNDERFLOW, BUFFER_OVERFLOW, CLOSED
break;
case NEED_WRAP :
System.out.println("Reached NEED WRAP");
// Empty the local network packet buffer.
// Generate handshaking data
//myAppDataSend.flip();
res = engine.wrap(myAppDataSend, myNetSendData);
// Getting handshake status
hs = res.getHandshakeStatus();
System.out.println("Debugging in NEED_WRAP-->"+hs);
// Check status
switch (res.getStatus()) {
case OK :
System.out.println("OK");
myNetSendData.flip();
// Send the handshaking data to peer
while (myNetSendData.hasRemaining()) {
if (socketChannel.write(myNetSendData) < 0) {
// closing socket channel
break;
case BUFFER_OVERFLOW:
System.out.println("BUFFER OVERFLOW");
//Writing network send buffer
myNetSendData.flip();
while (myNetSendData.hasRemaining()) {
if(socketChannel.write(myNetSendData) < 0)
System.out.println("Some thing wrong happened");
System.out.println("written data");
hs=HandshakeStatus.NEED_WRAP;
break;
case BUFFER_UNDERFLOW:
System.out.println("BUFFER UNDERFLOW");
break;
case CLOSED:
System.out.println("CLOSED");
break;
// Handle other status: BUFFER_OVERFLOW, BUFFER_UNDERFLOW, CLOSED
break;
case NEED_TASK :
System.out.println("NEED TASK");
System.out.println("Debugging in NEED_TASK-->"+hs);
Runnable task;
while((task=engine.getDelegatedTask()) != null)
System.out.println("Inside while loop");
ExecutorService executorService = Executors.newFixedThreadPool(1);
executorService.execute(task);
// Handle blocking tasks
hs=engine.getHandshakeStatus();
System.out.println("Printing"+engine.getHandshakeStatus());
break;
case FINISHED:
System.out.println("Debugging in FINISHED-->"+hs);
System.out.println("handshake done");
hs=HandshakeStatus.FINISHED;
break;
// Handle other status: // FINISHED or NOT_HANDSHAKING
// Processes after handshaking
brs,
vargheseHi Zia,
The error is...
Caused by: java.io.InvalidClassException: org.eclipse.persistence.indirection.IndirectList; local class incompatible: stream classdesc serialVersionUID = 4038061360325736360, local class serialVersionUID = -494763524358427112
...which means you have two different versions of org.eclipse.persistence.indirection.IndirectList, one on the server and one in the client (JDeveloper). As these classes have different serialVersionUID values then Java throws an exception when deserializing as they are probably not compatible.
I don't know much about the Eclipse stuff but from looking at your post I can only assume one version of the class is in D:\Coherence\toplink\jlib\eclipselink.jar on the Coherence server side and the other is in JDevloper in D:\OracleSOA\Middleware\modules\org.eclipse.persistence_1.1.0.0_2-1.jar as these are the only jar file containing "eclipse" that I can see on the classpaths.
JK -
Exception thrown by rmi server
We are getting this follwing error -
Thu Jul 18 09:41:45 EDT 2002:<E> <Adapter> Exception thrown by rmi server: [1509
452174786178111S10.15.3.21:[7001,7001,7002,7002,7001,-1]/3]
java.lang.SecurityException:
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.lang.RuntimeException.<init>(Compiled Code)
at java.lang.SecurityException.<init>(SecurityException.java:39)
at weblogic.t3.srvr.T3Srvr.checkServerLock(T3Srvr.java:1926)
at weblogic.jndi.internal.WLNamingManager.checkServerLock(WLNamingManage
r.java:97)
at weblogic.jndi.internal.RemoteContextFactoryImpl.getContext(RemoteCont
extFactoryImpl.java:95)
at weblogic.jndi.internal.RemoteContextFactoryImpl_WLSkel.invoke(RemoteC
ontextFactoryImpl_WLSkel.java:55)
at weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(Compiled Code
at weblogic.rmi.extensions.BasicRequestHandler.handleRequest(Compiled
Co
de)
at weblogic.rmi.internal.BasicExecuteRequest.execute(Compiled Code)
Does any one has a clue about this? Thanks in advance.I am suffering the same problem, any fix for this problem??
-
Raising new Exception within RMI server
hi all,
i implemented an RMI server which, in one of his method, throws my custom exception.
Since my RMI server is loading classes dynamically, i grabbed all those exceptions that comes when a class cannot be loaded in an MyClassNotLoadedException
in my code i write the following lined
try {
MyClass example = (MyClass)class.forName("MyClass").newInstance();
} catch(Exception e) {
throws new MyClassNotLoadedException(e);
when i am running my test client, i always got the following exception:
java.rmi.activation.ActivateFailedException: failed to activate object; nested e
xception is:
java.rmi.activation.ActivationException: group creation failed after 2 t
ries; nested exception is:
java.rmi.UnmarshalException: Error unmarshaling return; nested exception
is:
java.lang.ClassNotFoundException: com.nokia.jiacc.IACClassNotLoadedExcep
tion
java.rmi.activation.ActivationException: group creation failed after 2 tries; ne
sted exception is:
java.rmi.UnmarshalException: Error unmarshaling return; nested exception
is:
java.lang.ClassNotFoundException: com.nokia.jiacc.IACClassNotLoadedExcep
tion
java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
java.lang.ClassNotFoundException: com.nokia.jiacc.IACClassNotLoadedExcep
tion
java.lang.ClassNotFoundException: com.nokia.jiacc.IACClassNotLoadedException
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream
RemoteCall.java:245)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:
220)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
at sun.rmi.server.Activation$ActivatorImpl_Stub.activate(Unknown Source)
at java.rmi.activation.ActivationID.activate(ActivationID.java:89)
at sun.rmi.server.ActivatableRef.activate(ActivatableRef.java:250)
at sun.rmi.server.ActivatableRef.invoke(ActivatableRef.java:110)
at com.nokia.jiacc.IACCPlugInImpl_Stub.callMeRemotely(Unknown Source)
at com.nokia.jiacc.examples.Client.main(Client.java:52)
If instead, in the catch statement i don't raise any exception, everything works fine.
can anyone help me?? is it so that every exception that i raise in my RMI server must
extends RemoteException??
hope that someone can help me
thanx in advance and regards
marcoDon't need to extends RemoteException. But have you defined your
Exception that is implements Serializable?
public class YourException extends Exception
implements Serializable
{...}Regards,
Geri -
Hello Everyone,
I encountered the following errors during deployment using J2ee's Deployment Tool.
I have an Entity EJB called Books using Cloudscape as the database. When I clicked on 'Generate SQL Now' in Deployment Tool, I received the following errors. "java.rmi.ServerException, - nested exception - connecting to database - no suitable driver".
Prior to deployment I have j2ee server, cloudscape database up and running. Cloudscape has the following Driver Class - COM.core.RmiJdbcDriver, COM.cloudscape.core.RmiJdbcDriver 1.7.2. The Database JNDI name is jdbc/BooksInCloudscape. I tried to re-register the driver in j2ee and cloudscape, then brought both servers down and up with no luck. I have put c:\Books\classes in my CLASSPATH.
Could anyone please shed lights on this issue? Thanks in advance.I am having the EXACT SAME ISSUE. I've been to countless message boards and support sites to no avail (I'm assuming you are also working from EJB 2.1 Kick Start by Peter Thaggard.)
If you've resolved this issue from another source please update this posting any help would be greatly appreciated. I can't express how much time has been wasted on this simple connectivity issue.
Maybe you are looking for
-
Error while updating to target CUBE
Hi,gurus here. I upload data from ODS into CUBE via DTP. The error happens: Error while updating to target ZICMM0200 (type INFOCUBE) Message no. RSBK241 Package 3 / 2011.11.21 07:05:07 / Status 'Processed with Errors' Message no. RSBK257 I've impleme
-
Unstable BIOS P965 Plat. v1.3
Hi, does anyone else experience bluescreens and in window when overclocking the new BIOS? Before updating, I could boot with 370MHz FSB, no problem. Now I get bluescreen when loading Windows XP, or if I'm lucky, the bluescreen does't come before aft
-
Can we override Exception Class in Java ?
I have done a project in structs 1.2 . I have used String variable without checking for null. so I get a null pointer exception. String str = null; str.equals("jayaraj"); //exception raised can i make a customized null pointer exception ?
-
Need Serial Numbers frm Database
Hi all, How to take dump for serial numbers in stocks for a given material group from the SAP database. I have tried using table "EQUI" but here I could not get the details as required by me though plant and storage are available in table "EQUI".T
-
hi experts, my query is: In a Co. there is two sales dept:A: SALES OF BIKES and B: SALES OF CARS now if a n employee working as sales executive in the dept sales of bikes is shifted to sales of cars dept...so how we will represent him in the organiza