Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!

Krishna Varma Adluru

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

Recent posts by Krishna Varma Adluru

Hi All,
I have created a web service and deployed it on machine A. It works fine when I run the web service client. Then, I deployed the same web service in machine B and when I run the client, I get this weird error: Does anyone have any clue?
Please let me know.
Exception is received fault: "Missing port information" (code: "Server" namespace: "http://schemas.x
mlsoap.org/soap/envelope/"); nested exception is:
received fault: "Missing port information" (code: "Server" namespace: "http://schemas.xmlsoa
p.org/soap/envelope/")
java.rmi.RemoteException: received fault: "Missing port information" (code: "Server" namespace: "htt
p://schemas.xmlsoap.org/soap/envelope/"); nested exception is:
received fault: "Missing port information" (code: "Server" namespace: "http://schemas.xmlsoa
p.org/soap/envelope/")
at work.EmployeeDirectoryPort_Stub.findAllPeers(Unknown Source)
at Client.main(Client.java:20)
Caused by: received fault: "Missing port information" (code: "Server" namespace: "http://schemas.xml
soap.org/soap/envelope/")
at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.java:321)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:211)
... 2 more
Regards,
Krishna Varma
17 years ago
Vishal,
I wish I can draw the directory structure. I will
try to draw and explain it in words ...Here is how
my package structure was:
fbn ---- docs (directory which has javadocs)
---- suncertify (directory which contains source code)
---- client.jar (client classes)
---- server.jar (server classes)
---- java.policy (policy file)
--- db.db (database)

suncertify --- client (directory which contains client related classes)
--- db (directory which contains database related classes)
--- server (directory which contains server code)
--- utility (directory which contains utility classes)

client --- GUI (directory which has classes related to visuals)
I hope, I answered your question.

Regards,
Krishna Varma Adluru
18 years ago
Thank You all guys for your help
Regards,
Krishna Varma Adluru
18 years ago
Hi Ranchers,
First, Thank You very much for all your help.
Without your help, I would not have did it.
Today, I passed SCJD with score 147/155. I got the
results exactly in 2 weeks.
Here are my score details:
--------------------------
The maximum possible # of points is 155; the minimum to pass is 124. General Considerations(maximum = 58): 55 Documentation(maximum = 20): 20 GUI(maximum = 24): 23 Server(maximum = 53): 49
If you guys have any questions, I will be more than happy to help you. I will stay around Java Ranch sometime and will help you guys if I can with my limited knowledge(answer questions).
Thank You again everyone.
Regards,
Krishna Varma Adluru
18 years ago
Seems like a good solution;
I would go for it than "LeaseValue"
Regards,
Krishna
Mark,
You are right ..!!! No need to hide column !!!
Previously, I thought "Record Number" will also be
visible in the JTable ...
Thanks,
Regards,
Krishna Varma
Sai,
Thank You .. I will try it out and see how it works.
Thanks again,
Regards,
Krishna Varma Adluru
Hi,
Thank You all guys for replying .. I will try them out and find how they work.
Thanks again,
Regards,
Krishna Varma Adluru
18 years ago
Hi Guys,
How can I hide a table column from JTable without removing it from the underlying table model?
Thank You,
Regards,
Krishna Varma Adluru
Hi Guys,
How can I hide a table column from JTable without removing it from the underlying table model?
Thank You,
Regards,
Krishna Varma Adluru
18 years ago
Hi guys,
Suggestion to anyone using java1.2.2... Don't waste your precious time by using Java1.2.2 for doing this project ....It has serious bugs/problems in its Swing package.
I had wasted 4 days of my time trying to fix the problems in Swing part of the project ...At the end of the 4th day,figured that it was the problem with java1.2.2. How foolish? It worked perfectly fine in Java1.3.1
Anyone for java1.4 ?

Thank You,

Regards,
Krishna Varma Adluru
Hi Ranchers,
Another quick question.
We all have a Data class like:
public class Data {
.
.
public synchronized DataInfo getRecord(int recNum) throws DatabaseException {
}
.
.
}
I have a RemoteDataAdapter class which adapts to
Remote Connections like:
public class RemoteDataAdapter {
Data data = null;
public RemoteDataAdapter(Data data) {
this.data = data;
}
.
.
public DataInfo getRecord(int recNum)
throws RemoteConnection, DatabaseException {
data.getRecord(recNum);
}
.
.
}

Should I declare getRecord() method in
RemoteDataAdapter also to be synchronized ? What are the pros and cons of it ? Are there any performance issues ?
Please note that there is only 1 line of code in the getRecord() method of RemoteDataAdapter class.
Thanks,
Regards,
Krishna Varma Adluru
John,
You understood right ..!!! Thank You ...!!!
Now, I got it ...
Regards,
Krishna Varma Adluru
Have a quick question regarding synchronization();
Let's go through an example:
I have an interface called DataAccess like:
interface DataAccess {
.
.
public void lock() throws Exception;
.
.
}
Another interface called RemoteDataAccess like:
interface RemoteDataAccess extends DataAccess {
.
.
public void lock() throws RemoteException;
.
.
}
Class RemoteDataAdapter like:
public class RemoteDataAdapter implements RemoteDataAccess {
.
.
public synchronized void lock() {
}
.
.
}

Client will only have access only to DataAccess interface depending on local or Remote.
My question is whether we will loose the synchronized behaviourof Lock method in RemoteDataAdapter as we cannot declare lock() method as synchronized in DataAccess interface ?

Am I going crazy ?

Thanks,
Regards,
Krishna Varma Adluru
[ April 11, 2002: Message edited by: Krishna Varma Adluru ]
[ April 11, 2002: Message edited by: Krishna Varma Adluru ]