Phani Raj Kumar

Greenhorn
+ Follow
since Feb 13, 2006
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 Phani Raj Kumar

Hi,
With our production application, I am getting "javax.management.InstanceAlreadyExistsException" error messeges repeatedly before resulting in "OutOfMemoryError".

SEVERE: Error registering Catalina:type=RequestProcessor,worker=jk-8009,name=JkRequest9845
javax.management.InstanceAlreadyExistsException: Catalina:type=RequestProcessor,worker=jk-8009,name=JkRequest9845
at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(Unknown Source)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(Unknown Source)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(Unknown Source)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(Unknown Source)
at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(Unknown Source)
at org.apache.commons.modeler.Registry.registerComponent(Registry.java:871)
at org.apache.jk.common.ChannelSocket.registerRequest(ChannelSocket.java:436)
at org.apache.jk.common.HandlerRequest.decodeRequest(HandlerRequest.java:443)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:352)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
Jan 21, 2010 5:05:52 PM org.apache.jk.common.ChannelSocket registerRequest
WARNING: Error registering request

-------------------

SEVERE: Exception invoking periodic operation:
java.lang.OutOfMemoryError: Java heap space
at org.apache.catalina.session.ManagerBase.findSessions(ManagerBase.java:752)
at org.apache.catalina.session.StandardManager.processExpires(StandardManager.java:778)
at org.apache.catalina.session.StandardManager.backgroundProcess(StandardManager.java:795)
at org.apache.catalina.core.StandardContext.backgroundProcess(StandardContext.java:4662)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1619)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1628)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1628)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1608)
at java.lang.Thread.run(Unknown Source)

-------------------------

The below are the env details of our production system:
Apache Proxy: 2.2.11
Apache Tomcat: 5.0.30
JDK: 1.5.0_15

With JDK 1.4.2_15 on development, I could resolve this by adding request.registerRequests="false" in $TOMCAT_HOME/conf/jk2.properties. When applied the same to JDK 1.5.0_15, I am getting the below errors repeatedly before resulting in "OutOfMemoryError". Could you please provide me your valuable points on this?


SEVERE: Error unregistering mbean
javax.management.RuntimeOperationsException: Object name cannot be null
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.isRegistered(Unknown Source)
at com.sun.jmx.mbeanserver.JmxMBeanServer.isRegistered(Unknown Source)
at org.apache.commons.modeler.Registry.unregisterComponent(Registry.java:642)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:706)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: Object name cannot be null
... 7 more


Thanks,
Phani.
10 years ago
Hi friends,

I have a sun voucher with which you can write any Sun exam with 310 series. I bought it for 6500.Its actual price is 12k now. If any of you intrested please contact me.

Phani
9886460819
Hi,

I am intrested in taking the voucher, could you let know which city you are residing in?

Thanks,
phani.
12 years ago
Thanks to all!!! I will start with HeadFirst then.

Regards,
Phani
Friends,

I am just finished SCJP and planning to give SCWCD as well. Could you please give me your valuable tips, links, material avaliable sites and duration for the exam.

Thanks,
Phani.
hi reet,
try this out

Hi,

Try this code

interface Cookable {
public void cook();
}
class Food {
Cookable c =new Cookable() {
public void cook() {
System.out.println("anonymous cookable implementer");
}
};


public static void main(String[] args) {
Food f = new Food();
f.c.cook(); //line 1
}

}


But it compiles fine and even printed "anonymous cookable implementer". Let me know if you have query still.
Hi friends,

In my project i have got some requirement so that i have to disble few right click mouse options disable, Could you please suggest me what do i need to do?

Thanks,
Phani.
Ramko, devashish

Thanks for your help. But if i put t.aMethod() before t.a.innerMeth() it works fine. I am thinking as the method innerMeth() is
enclosed in aMethod() we have to call aMethod() before calling innerMeth(). Please correct me if i am wrong.
Hi friends,

Could you please explain the following code why is it throwing NULL pointer exception at run time.

interface A{
public void innerMeth();
}
public class Test {
A a;
int memVar = 1;
void aMethod(){
a = new A(){
public void innerMeth(){
System.out.println(memVar);
} };
}

public static void main(String[] args){
Test t = new Test();
t.a.innerMeth();
}
}

Thanks in advance,
Phani
Hi prabhakar,

First of all congrats for the book...Could you please let us know as to what is GWT and by any chance is it related to web services?. would you mind me elaborating on this?

Wish you good luck!!
13 years ago
GWT
Freinds,
Any voucher offer is there at this moment? Could you plese give me the site details?
Hi nilesh, Hearty congrats man!!
14 years ago