Peter Kovgan

Ranch Hand
+ Follow
since Sep 18, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Peter Kovgan

I use org.apache.tools.ant.taskdefs.Javac to compile.
I do it programmatically.
How can I log my compilation errors?

I need to log them in log4j file.

any suggestion will be good, If you can propose some method to pull compilation errors into input stream - it is also good, I need any good way to catch these messages!

Thanks in advance!
18 years ago
Please, help me.
On Axis 1.3:

1)If my class has java bean structure it is enough to declare beanMapping to pass this class as parameter?
I suppose answer YES.

2)If my class is implementation of java.io.Serializable and it's contained objects are also Serializable, is it enough to declare beanMapping or I need custom de/serializer?

3)Is java.util.LinkedHashMap may be de/serialized by beanMapping or I need custom de/serializer?

4)Where is tutorial/help for de/serialization??

Thanks a lot!!
18 years ago
Hi!
Reading Collections API I have found that this expression..
SortedSet sub = s.subSet(low, high+"\0");
..returns subset inclusive all elements from low to high.

I don't understand how does it happen.
How addition of "\0" may change pointer of subset?
Could someone explain me?
Tnank you!

Here is explanation found in API(but I don't understand it):
"...
If you need a closed range (which includes both endpoints), and the element type allows for calculation of the successor a given value, merely request the subrange from lowEndpoint to successor(highEndpoint). For example, suppose that s is a sorted set of strings. The following idiom obtains a view containing all of the strings in s from low to high, inclusive:

SortedSet sub = s.subSet(low, high+"\0");
..."
19 years ago
Thank you, Salomon!

Happy holiday!
20 years ago
Hi!
Could you help me?
I know that embedded JMS server installed on every node on WAS ND.
Consider I configured some queue to send messages in the queue from my application, does it mean, that all servers(where application installed) will use TCP/IP connection to send messages into the queue?
Does it mean that provider will be remote for all senders?
Thank you.
20 years ago

Thank you, people,
This is an answer:

String proc = AdminServiceFactory.getAdminService().getProcessName();

ObjectName ob = AdminServiceFactory.getAdminService().getLocalServer();
20 years ago
Can you help me determine server name or server ID from application programmatically?
That means I need to know in my application on what server it runs.
Thanks!
20 years ago
Hi!
I need your help urgently!!
I�m trying to accees ejb on server B from servlet on server A.
(A and B are cluster)
I need to connect from one server to another in cluster.
How to do it?
I�m doing lookup with path
�cell/nodes/NodeName/servers/serverA/ejb/com/bmc/wsm/peter/test/TestJndiHome�
Then lookup with path:
�cell/nodes/NodeName/servers/serverB/ejb/com/bmc/wsm/peter/test/TestJndiHome�
But every time only ejb on server A affected.

The code below:


I know that I should obtain initial context of server B to access it, but I have no idea what are properties that I should write.

I have WAS 5.1 ND, should I write in properties ORB host/port of server B?
Where can I find this port?
Please, help!
Many Thanks!!!
20 years ago
Thank you, Owee Nicolas!
I'll try it.
20 years ago
Hello!
Is it possible to send message from server A to server B in cluster?
Is it possible broadcast message to all servers in cluster?
How can I access other server in cluster using JMS or other staff?
Thanks!
20 years ago
How to work with wsadmin from the java program?

I want to invoke wsadmin scripts from the java code.
How to do it?
20 years ago
People!
Could someone explain me in simple words what is BPEL4WS ?
Thank you.
20 years ago
People!
Do you know how widely used Web Services Gateway in production env-s?
Is it rear case when gateway used?
Thank you.
20 years ago
Hi!
I'm working with Websphere 5.1 ND.
I have several questions regarding possible configuration of WAS ND.
1. Is there any meaning in system(WAS ND)contained several Servers not joined in cluster?
2. Does Deployment Manager able to control(deploy apps on)several stand alone Servers not joined in cluster.
(I've tried to deploy , but only 1 server was affected)
20 years ago