b panigrahy

Greenhorn
+ Follow
since Apr 11, 2006
Merit badge: grant badges
For More
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 b panigrahy

Hi techies,

i have a requirement related to weblogic8.1 throttling.
Details of the requirement is as below:
=========================

i have an application ( deployed in weblogic 8.1 Application server). I want to restrict maximum 100 users can access that application , concurrently . If 101th user tries to access that application then he will get some error page mentioning some valid message e.g. " Too many users. Try later."

Is there any way to configure this in weblogic 8.1 ?
Waiting for your response.

The idea is put this restriction at my application level.
(in other applications deployed in the server , there can be different restriction e.g. applicationX can have max 300 users to access etc...).

Thanks a lot in advance.

Regards,
Bichitra.
SCJP5.0, SCWCD J2EE5.
14 years ago
HI Techies,

i am new to plugin development.
At present facing some problem . Can anyone help me in this regard ? Thanks in advance.

1. When we require to add any action in the rulerbar of any editor ( ex. XML editor etc) we need to provide the targetID of that editor( in the plugin.xml ). How to find which is the target suitable for which editor ? Is there any registry or anyway to make out ? I tried a lot to find. iex. the targetId for DefaultTextEditor is "org.eclipse.ui.DefaultTextEditor".

Hopeful to get positive reponse from the techies.

Regards,
BP.
Hi Techies,

i have a requirement for a custom debugger in xml .
So either we need to have a new perspective ( with similar views as Debug perspective contains) or using the default Debug perspective.

i tried a lot to use the default Debug perspective but could not suceed.
Can anybody let me know about the default behaviour of the variables view ( which picks value from the associated jave or .class file ) if the application is in debug mode ?

Regards,
BP
I have been using MAPPING File. But, My Problem is, the Order of XML Tags in Source XML is not proper/aligned with the Marshalled XML.

For e.g.,

SOURCE XML:
----------------
<root>
<group>
<A1>c</A1>
<B1>d</B1>
</group>

<eg>abc</eg>
<ad>cdef</ad>
</root>

My mapping file also contains the same order as above and it's appropriate Java objects. Say, "Root.java" is the Main Java Object, wich consists of all the tags/child tags data and When, I MARSHAL this Java Object back to XML, the tags ORDER is disturbed/not aligned with the SOURCE.XML

OUTPUT.XML
---------------
<root>
<group>
<A1>c</A1>
<B1>d</B1>
</group>

<eg>abc</eg>
<ad>cdef</ad>
</root>

In above, the <group> tag came at the end of XML instead of at beginng.
But, Ofcourse, I am not losing any data of source xml.

I hope, I am clear.

Thanks.

hi,

the pop-up window was some third party written. I want to avoid this feature.

Let us say in this way : " If i get any error ( like some validation error) how can i show that error in Problems view ? "

The behaviour is limited till the file is opened. ex. if i have opened abc.xml file and modified something so that will be caught for custom validation . hence i will get the error message. But i need to divert the validation error messages to the "Problems" view. If i close abc.xml( which has custom validation problem but we have closed ) then all the errors ( in problems view , related to this file ) should be cleaned from the "Problems" view.

Thanks,
BP
you can change the settings to accept compile level to java5 ( in windows-->preferences-->java-->compile)
Hi Techies,


I have a requirement related to updating "Problems" view in eclipse.
In my application whenever there is some error or warning comes the existing behaviour shows these(errors or warnings) on a pop-up window. Now i need to move these errors or warnings to the "Problems" view instead of showing in pop up window.

Can anybody show me the proper direction to reach the requirement ?
Thanks in advance.

Regards,
Bichitra.
I am Using CASTOR to Marshal into an XML document and the Object(s),
information is not getting Marshalled in the Same Order which I set.
So, Is there any mechanism/way to SPECIFY/RESTRICT the ORDER OF CASTOR XML MARSHALLING.

Please, Suggest.

Thanks.
Hi,

I am parsing an XML file against a XSD with Apache XERCES parser.
I am using a FileReader object to pass it to the PARSE method of XERCES parser and after it finishes parsing, it's closing the STREAM of FILEREADER.

But, I would not like to close the STREAM as I would use the same READER further in the code.

Pleae, suggest me.
At this moment i have not written any code for this. So the intention is to extend the existing plug in for properties view ( so as to add the custom attribute "file name " with browse button to select and upload file.

Any idea about the Plug-in which handles the properties view ? How can we add any new property in that view ?
Hi TechGurus,

i am new to eclipse plug-in development. I need to make one extra property in eclipse's properties view ( ex. property name = "attached file" and Property value = browse button to find a file).

Any pointer to proceed , will be of great help to me.

Thanks ,

Bichitra.
Marker interface is meant for Reference type checking

Ex. if class A implements java.io.Serializable then when you transfer object of class A using ObjectOutputStream class then it will check inside writeObject(Object obj, boolean unshared) method.

Code snippet is :
if (obj instanceof Serializable) {
writeOrdinaryObject(obj, desc, unshared);
}else {
...
}

Marker is a logical term .
when private access modifier is used -- overriding concept does not come into picture.This is bcoz private fields or methods are visible only inside the class where they are defined. so here in class c we are not overriding f() rather a new function is defined with same name i.e. f().

so during evaluation of the method (at run time only the f() in B class is called). is it clear?
hi teachers,
in our application there is one navigation bar. which is an applet. previsously i was using java 1.4.2 , that navigation bar was coming when the application was up.

But now (by using 1.5)that applet is not coming in the application. am i missing something? do i need to configure something?
please guide me.
thank u all in advance.
18 years ago