Monday, June 28, 2010

An internal error occurred during: "Starting Oracle WebLogic Server 10gR3 at". java.lang.NoSuchMethodError: org.w3c.dom.Node.getTextContent()Ljava/la

An internal error occurred during: "Starting Oracle WebLogic Server 10gR3 at".

java.lang.NoSuchMethodError: org.w3c.dom.Node.getTextContent()Ljava/lang/String;

its been quite long, i have not been blogging as the work load in my new company is so freakin heavy. Well, just want to share up some small thing but its very annoying and noisy. Well, here is the story behind this error.

Previously, I had a problem on using BIRT on Maximo. and it seems that the problem is caused by some incompatible library. After googling around, I found out that a few people experiencing the same problem as me even not specifically for the use in BIRT and Maximo.

Then, I followed what the suggestion told me to. Yet, the result is not as what I had expected. It does not work at all. Seeing that this problem took too much of time and also the due date of the project is quite close, then I was moving forward to deal with another stuff. The day after, I got my PC restarted and then I got the problem as the above. After troubleshooting the problem, I found out that the problem relies on the endorsed method which I took to sort out the problem of maximo and BIRT.

Rolling back all the changes, will give back your eclipse to normal.

Sunday, February 7, 2010

The path does not contain a valid WebLogic Server install

Its been a while for not blogging. huehue... now im working in a different company and different business. Most of the time, I deal a lot with weblogic and etc. Alright, the first time dealing this application server with eclipse, I have a problem saying a non existence of home directory as in the title of this blog.

Upon googling around, I found out some discussion about this message. We need to point eclipse to some part of the directory of weblogic which is /weblogic81 or whatever version that maybe another user uses. Well, as most of the beginner, many people will not be aware of bea home and bea installation directory (I havent tried to differ between bea home and bea installation directory). Anyway, it is sorted out by pointing the explained-above directory.

Monday, January 11, 2010

Project properties of JIRA

Currently, I am doing plugin development of JIRA. A request of my friend in hongkong. The functionality of this plugin is to clone the existing project with all the issues and the configuration of the project. Thus, this project will be akin of template to create 'real' project.

One interesting part of developing this plugin is cloning the issue type scheme. As we know that JIRA has issue type scheme to differentiate the type of the issue. JIRA divides the issue type scheme to be global and not global. By default, the global issue type scheme is Default Issue Type Scheme. But, strange thing is happening when I try to fetch the entity of Default Issue Type Scheme. When I use the following line to get the entity:

FieldConfigScheme fieldConfigScheme = issueTypeSchemeManager.getConfigScheme(existingProject);

and the above result is checked against the isGlobal() method of object fieldConfigScheme. The result is false which I think, it is supposed to be true. However, what i did to solve the problem is to check the object against the default fieldConfigScheme and it works.