Git Product home page Git Product logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 14, 2024
Another stack:

java.lang.StackOverflowError
    at oracle.jdbc.driver.DBConversion.CharBytesToString(DBConversion.java:542)
    at oracle.jdbc.driver.T4CTTIdcb.fillupAccessors(T4CTTIdcb.java:283)
    at oracle.jdbc.driver.T4CTTIdcb.receiveCommon(T4CTTIdcb.java:215)
    at oracle.jdbc.driver.T4CTTIdcb.receive(T4CTTIdcb.java:114)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:703)
    at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:207)
    at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:790)
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1039)
    at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:830)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1132)
    at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1687)
    at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1653)
    at sun.reflect.GeneratedMethodAccessor165.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at net.bull.javamelody.JdbcWrapper.doExecute(JdbcWrapper.java:344)
    at net.bull.javamelody.JdbcWrapper$StatementInvocationHandler.invoke(JdbcWrapper.java:170)
    at net.bull.javamelody.JdbcWrapper$DelegatingInvocationHandler.invoke(JdbcWrapper.java:251)
    at oracle.jdbc.driver.$Proxy328.execute(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor165.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at net.bull.javamelody.JdbcWrapper.doExecute(JdbcWrapper.java:344)
    at net.bull.javamelody.JdbcWrapper$StatementInvocationHandler.invoke(JdbcWrapper.java:170)
    at net.bull.javamelody.JdbcWrapper$DelegatingInvocationHandler.invoke(JdbcWrapper.java:251)
    at oracle.jdbc.driver.$Proxy384.execute(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor165.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at net.bull.javamelody.JdbcWrapper.doExecute(JdbcWrapper.java:344)
    at net.bull.javamelody.JdbcWrapper$StatementInvocationHandler.invoke(JdbcWrapper.java:170)
    at net.bull.javamelody.JdbcWrapper$DelegatingInvocationHandler.invoke(JdbcWrapper.java:251)
    at oracle.jdbc.driver.$Proxy384.execute(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor165.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at net.bull.javamelody.JdbcWrapper.doExecute(JdbcWrapper.java:344)
    at net.bull.javamelody.JdbcWrapper$StatementInvocationHandler.invoke(JdbcWrapper.java:170)
    at net.bull.javamelody.JdbcWrapper$DelegatingInvocationHandler.invoke(JdbcWrapper.java:251)
    at oracle.jdbc.driver.$Proxy384.execute(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor165.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at net.bull.javamelody.JdbcWrapper.doExecute(JdbcWrapper.java:344)
    at net.bull.javamelody.JdbcWrapper$StatementInvocationHandler.invoke(JdbcWrapper.java:170)
    at net.bull.javamelody.JdbcWrapper$DelegatingInvocationHandler.invoke(JdbcWrapper.java:251)
    at oracle.jdbc.driver.$Proxy384.execute(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor165.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at net.bull.javamelody.JdbcWrapper.doExecute(JdbcWrapper.java:344)
    at net.bull.javamelody.JdbcWrapper$StatementInvocationHandler.invoke(JdbcWrapper.java:170)
    at net.bull.javamelody.JdbcWrapper$DelegatingInvocationHandler.invoke(JdbcWrapper.java:251)
    at oracle.jdbc.driver.$Proxy384.execute(Unknown Source)

Original comment by [email protected] on 23 Aug 2010 at 3:06

from javamelody.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 14, 2024
Strange, because it is a StackOverflowError without an infinite recursivity 
(there is a moment when the OracleStatement seems correctly called).

First, when a sql request is executed, is it counted once or is it counted more 
than once? (you can open the details with the link below the list of the sql 
requests, and you can look at the column "Hits" : do some sql requests always 
have a number which is a multiple of 2 or 5 or something else?).

Note that you can choose the period "All" at the top of the report and then 
click the "reset" below the sql statistics (for this "All" period only and when 
you want) in order to see only the sql requests which you will execute after 
this reset.

And second, is there something unusual in your deployment? an ear file or 
multiple war files?
If yes, where have you put the javamelody.jar file?

And can you say versions of JavaMelody, JBoss, JDK?

Thanks

Original comment by [email protected] on 23 Aug 2010 at 5:46

from javamelody.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 14, 2024
Your remark made me wondering about our deployment; we do indeed have 2 war 
files, but they're both using the same datasource, and both using JavaMelody to 
monitor it.

Removing JavaMelody from 1 or the wars resolved the problem; the 
StackOverflowError hasn't appeared anymore since.

Thx a lot for the hint!

Original comment by [email protected] on 30 Aug 2010 at 8:48

from javamelody.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 14, 2024
So it seems not recommended to have 2 webapps in JBoss, using both a single 
jndi datasource which is monitored with JavaMelody from the 2 webapps.
Another solution to this case could be to have 2 different datasources (with 
different names and certainly the same configuration): one datasource for each 
webapp, instead of a single datasource.
Note that in tomcat, the architecture with resources/resourcelinks by context 
does not seem to have this problem.

Anyway, great to see you have resolved your problem.
I close the issue as WontFix for now, if you are ok with this.
If anyone has a code change to suggest, please reopen this issue.

Original comment by [email protected] on 1 Sep 2010 at 5:32

  • Changed state: WontFix

from javamelody.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.