Discussion:
[jboss-user] [JBoss AOP] - POJO Cache failing on weblogic 11g managed servers
paramita banerjee
2012-03-09 23:03:11 UTC
Permalink
paramita banerjee [https://community.jboss.org/people/pb2012] created the discussion

"POJO Cache failing on weblogic 11g managed servers"

To view the discussion, visit: https://community.jboss.org/message/722945#722945

--------------------------------------------------------------
Hi

I have set up Pojo cache to work with weblogic server 11g.
I have annotated and instrumented the classes as mentioned in user guide.

The Pojo cache attach/find works well when I deploy the application on weblogic admin server.

But when I deploy the application on any managed servers in the same weblogic domain, I get the following exception:
java.lang.NullPointerException
at org.jboss.aop.Domain$1.run(Domain.java:124)
at org.jboss.aop.Domain$1.run(Domain.java:121)
at org.jboss.aop.Domain.getDomainName(Domain.java:119)
at com.hp.ws.business.session.WsSession$WsSessionAdvisor.initialise(WsSession$WsSessionAdvisor.java)
at com.hp.ws.business.session.WsSession$WsSessionAdvisor.(WsSession$WsSessionAdvisor.java)
at com.hp.ws.business.session.WsSession.(WsSession.java)

I am using jbosscache-pojo-3.0.0.GA and weblogic 11g

Any help is highly appreciated.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/722945#722945]

Start a new discussion in JBoss AOP at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2027]
paramita banerjee
2012-03-10 00:23:20 UTC
Permalink
paramita banerjee [https://community.jboss.org/people/pb2012] created the discussion

"Re: POJO Cache failing on weblogic 11g managed servers"

To view the discussion, visit: https://community.jboss.org/message/722952#722952

--------------------------------------------------------------
Further to my above question, I checked into the weblogic managed server log file, and found the following detailed error:

java.lang.ExceptionInInitializerError
at com.hp.ws.business.session.WsSessionFactory.createWsSession(WsSessionFactory.java:22)
at com.hp.ws.web.TestServlet.doGet(TestServlet.java:35)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
Truncated. see log file for complete stacktrace
Caused By: java.lang.NullPointerException
at org.jboss.aop.Domain$1.run(Domain.java:124)
at org.jboss.aop.Domain$1.run(Domain.java:119)
at org.jboss.aop.Domain.getDomainName(Domain.java:119)
at com.hp.ws.business.session.WsSession$WsSessionAdvisor.initialise(WsSession$WsSessionAdvisor.java)
at com.hp.ws.business.session.WsSession$WsSessionAdvisor.<init>(WsSession$WsSessionAdvisor.java)
Truncated. see log file for complete stacktrace
<Mar 9, 2012 3:41:11 PM PST> <Error> <Cluster> <BEA-000110> <Multicast socket receive error: java.io.StreamCorruptedException: invalid type code: 11
java.io.StreamCorruptedException: invalid type code: 11
at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2463)
at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2498)
at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2570)
at java.io.DataInputStream.readInt(DataInputStream.java:370)
at java.io.ObjectInputStream$BlockDataInputStream.readInt(ObjectInputStream.java:2775)
Truncated. see log file for complete stacktrace

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

Reply to this message by going to Community
[https://community.jboss.org/message/722952#722952]

Start a new discussion in JBoss AOP at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2027]
Edmund Geesken
2013-02-08 16:14:50 UTC
Permalink
Edmund Geesken [https://community.jboss.org/people/edmund.geesken] created the discussion

"Re: POJO Cache failing on weblogic 11g managed servers"

To view the discussion, visit: https://community.jboss.org/message/796781#796781

--------------------------------------------------------------
Hello,

has anyone solved this problem?
I have the same error message add exactly the same line.
I am using jboss-aop.2.1.8.GA.
I am using the jboss-pojo-cache and reinstrumented all my classes using the new jboss-aop.
There is no other aop package in my classpath and i have includes all of the jars included in the distribution into my ear APP-INF/lib directory.

I am trying to upgrade my application from WebLogic 10.3.0 to WebLogic 10.3.6.
The application is productive for more than 3 years.

My environment is WebLogic 10.3.6, JDK 1.6_29
The Pojo-Cache ist the 3.0.0.GA, latest release.

Has anyone a solution for this?

Regards
Edmund
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/796781#796781]

Start a new discussion in JBoss AOP at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2027]
Edmund Geesken
2013-03-13 16:15:43 UTC
Permalink
Edmund Geesken [https://community.jboss.org/people/edmund.geesken] created the discussion

"Re: POJO Cache failing on weblogic 11g managed servers"

To view the discussion, visit: https://community.jboss.org/message/802409#802409

--------------------------------------------------------------
I have found the reason for this exception by myself.
The Exception is fired because the JRockit 1.6_29 returns a null of the method invocation clazz.getDeclaringClass() in JoinPointGenerator.findAdvisedField(......);
After I changed to the Sun JDK 1.6_29 everything works fine and clazz.getDeclaringClass() returns a non null value.

Regards
Edmund

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

Reply to this message by going to Community
[https://community.jboss.org/message/802409#802409]

Start a new discussion in JBoss AOP at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2027]
Loading...