Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!

Dionisius Purba

+ Follow
since May 02, 2004
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Dionisius Purba

Hi Marcos,

I'd like to thank you very very much for such a clear and easy to follow instruction!!!
I've just posted a new thread about my issue on to auto-start managed server , and I'm surely will be thankful if you can share your expertise again if you have time for it.

Thanks so much again Marcos.

12 years ago
Hi everyone,

Could you please kinly give your advise on the following issue:
when OS is booted, I need the Managed Server to be automatically started.
My Managed Server (name = MS1) is part of cluster (name = mycluster) -- I don't know whether clustering has effect or not with the procedures.

Here are what I have done, could you please kindly help seeing what is missing?

1. For the Machine of MS1 (the name of the machine is M1), I have registered
the Node Manager listen address, listen port, etc.

2a. For MS1, in "Server Start" tab, I have fills in the user name, password, and also arguments (-Xnohup).
2b. and for MS1, in "Health Monitoring", the Auto-Restart checkbox is already checked/ticked. The description displayed is:
"Specifies whether the Node Manager can automatically restart this server if it crashes or otherwise or goes down unexpectedly."
-- I'm not sure whether it can also handle OS boot.

3. I run Node Manager manually, then go to Admin console, open MS1,
try to start this MS, and it is working well. So I conclude that node manager is running fine.

4. Then I install the Node Manager (NM) as service. I stop the NM which is already running (from step 3). Then I start the service, and as in step 3, I try to start MS2, and it is working well.

5. Then I reboot my machine. I then open the administration console and see that MS1 is unexpectedly not running yet.

To be able to start Managed Server automatically after OS boot,
could you please help advise where I did wrong or miss?

Thank you very very much in advance for your advise.

Best Regards,

My question:
1. What
12 years ago
Hi everyone,

I need to setup weblogic cluster in 2 hardware.
I have tried to find existing discussion on this and the closest one is

Weblogic Cluster - Config

However, that thread's conclusion is not very clear to me -- no final conclusion..

Could someone please help explaining to me in clear steps/sequence?
I'm trying to explain this as clearest as possible..

In Hardware #1:
1. setup weblogic
2. create domain mydomain
3. create machine M1
4. create managed server MS1, e.g. will listen to

in Hardware #2
5. setup weblogic
6. create domain mydomain
7. create machine M2
8. create managed server MS2, e.g. will listen to

back to hardware #1:
9. open admin console for mydomain
10. create cluster ("mycluster"), with address,
11. Question: Should I also creating MS2 again here -- in hardware #2 -- remember that I've created MS2 in hardware #2 in step 7?

back to hardware #2:
12. Question: Should I also duplicate creating cluster here -- in hardware #2 -- remember that I've created mycluster in hardware #1 in step 10.

13. in hardware #1, I start the MS1:
startmanagedserver MS1

14. Question: Where should I start MS2?
In hardware #1 or in hardware #2?
And where should I point out the Administration URL?
Is it to the Administration URL of MS1 or MS2?

Could you please advise on my question above (and also correcting any
missing/wrong steps), please.. ?
Sorry if some of the questions above are too basic.
I'll appreciate your help and advise very much in advance!!!

12 years ago
Jaikiran and Arulk, thanks a lot for your advise.
Hi everyone,

I was wondering what's the recommended way/patterns for this situation in Hibernate:
1. I have one (or more) field with type is integer (or double or any numeric types), let's say age.
2. that field is nullable.
3. one solution: use primitive (i.e. int) instead of the wrapper class (i.e. Integer). primitive int always have value, thus I can not use this without any workaround.
3b. one of the workaround for primitive is assigning with a constant value (e.g. -9999) when the real value is null. But the consequences are there are effort for changing the value in retrieval and saving, not to mention that it is not elegant solution.
4. another solution: use wrapper class (Integer). But some says that using Integer will be slower than using primitive. And also when I need math operation, I need to call the .intValue() method.

I think that this is a common issue, but I can not find the pattern for this issue yet.

Any recommendations are much appreciated.
Hi all,

I need to convert ResultSet into JavaBean,
I understand that DBUtils from Jakarta-Common has this functionality,
the problem is that the database's field name is different from than
the property's name.

Person table:
first_name (String) (JavaBean)
String firstName;

public String getFirstName() { return firstName(); }
public void setFirstName(String str) { this.firstName = str; }

As you can see, there's delimiter (in this case is "_") between
"first" and "name".

So how do you guys deal with this?
I know that I wont' be the first one to deal with this.
Any suggestion is very appreciated.