Owee Nicolas

Ranch Hand
+ Follow
since Jun 16, 2002
Merit badge: grant badges
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 Owee Nicolas

Very helpful. Thanks!
11 years ago
Happy Birthday JavaRanch
14 years ago
Hi Java Ranch Experts,

Need your help. We�re trying to write out all values stored in the beans in our web application into a log file. We have a �writer� class that invokes all the getter methods within the beans. If the return type of the getter method is a String or primitive value, we log it. Otherwise, if an object (other than a String) is returned, the code then proceeds to invoke all the getter methods of that object (recursion). We�ve hit a problem wherein one of our beans returns a java.util.GregorianCalendar object, which has a getAvailableLocales() method that returns Locale[]. However, Locale class also has a getAvailableLocales() method that returns Locale[] leading to an infinite loop.

We�ve tried to stop recursion when the object being returned is the same as the containing class, and instead, return a �toString� to get a String value to log. However, at GregorianCalendar, the Locale[] array contains 140+ entries. Thus, the code will loop through each of this � it will then get to the fix to stop and return �toString�, but this still leads to 145x145 worth of values, generating an out of memory error.

We don�t really need the value of getAvailableLocales(), but if possible, we�d like to find a solution that won�t be specific to GregorianCalendar, since we�re expecting that this situation could occur for other classes as well.

Let me know if you have any idea to sort out this issue.

Any help will be much appreciated.

Thanks!
16 years ago
Hi Sameer,

I've answered your survey. Do you guys have a definite time when the next release will be out? It's been years since JRun came out with a major release.

Cheers,
[ October 18, 2005: Message edited by: Owee Nicolas ]
18 years ago
Hi guys!

I downloaded WAS 6.0 base trial installer. I was wondering where's the location of the Plug-ins installation wizard? I need to configure my WAS with my IBM HTTP Server v6.

Cheers!
[ September 06, 2005: Message edited by: Owee Nicolas ]
18 years ago
Hi,

It's possible that the components of your application uses a different class loader than the J2EE-based components. In order to force the helper classes to be reloaded (allowing any changes to show up), you can do one of the following:

1. Restart the JRun server.

Restarting the JRun server will cause the helper class (and everything else) to reload, making the new/modified class file accessible. Since restarting a server can be time consuming and disruptive, an easiest solution to this problem is to:

2. "touch" the web.xml file of the web application.

Making and saving a minor modification to the web.xml file (or using the Unix "touch" command to update the file's modification date) will cause the entire application (including the modified helper class) to redeploy, without having to restart the server.

Hope that helps!
18 years ago
Hi guys!

I know this is a bit late. But I passed the Websphere Basic Administration Test 340 last 8 April 2005. Like what most of the guys here were saying, it's a lot tougher than the IBM Assessment Test. Practical Websphere Administration experience IS A MUST! I had a lot of Troubleshooting questions like Log file formats, filenames, etc. Thanks for all your help!

Bdw, I got my digital certificate last 12 April 2005. I was wondering if IBM is going to send me a certificate package like Sun and Microsoft?

Thanks!
You could also set the Port of your Virtual Host to 80 so that you do not have to specify a port number on your URL.

To Update the Port of your Virtaul Host, go to the Administrative Console:
Environment -> Virtual Hosts -> (server name) -> General Properties -> Port

Hope that helps!
19 years ago
I think the counterparts of those files are:

- ibm-ejb-jar-bnd.xmi
- ibm-ejb-jar-ext.xmi

They are also located on the META-INF folder of the EJB jar file.

Hope that helps.
19 years ago
Jeanne's Right. By default, CVS doesn't delete folders to preserve the history of the files. So you can not delete the folders from the CVS Client (in your case WSAD). You have to manually delete them from the server.

Hope that helps!
19 years ago
Hi,

Can you post your jsp code so we can have a better look?

Thanks!
19 years ago
Hi,

If you're planning to send messages in a clustered WAS environment, I would suggest you set-up something like a Messaging Host which will be use to distribute messages among the different clustered servers.

Check out Chapter 11.6 WebSphere clusters and MQ clusters on the book IBM WebSphere Application Server V5.1 System Management and Configuration WebSphere Handbook Series for details.

Hope that helps.
19 years ago
Hi WAS Masters,

I've created a Datasource under my MS SQL Server 2000 JDBC Provider. But I can not seem to find the "Test Connection" button under the Data Source List as indicated in the linkhttp://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/ae/cdat_testcon.html.

I would appreciate any help.

Thanks!
19 years ago
Hi Rohit,

Can you give the details on how you installed your Websphere Application Server? What version and configuration are you using?

Regards,
[ March 15, 2005: Message edited by: Owee Nicolas ]
19 years ago