https://issues.apache.org/bugzilla/show_bug.cgi?id=45897

           Summary: org.apache.bcel.classfile.ClassFormatException
           Product: BCEL
           Version: 5.1
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
        AssignedTo: bcel-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


During Deploying of our application in the application server (OC4J of Oracle)
we are getting some exception, while the application is getting deployed
without any issue. Below is the stack trace for the same.

At the first instance I feel like some concurrent issue in bcel happening for
the applications on application server. It could be that current version of
bcel (5.1) I am using is not thread safe.

I am not sure whether this is already an identified bug, if so please let me
know in which version of bcel, is this fixed?

java.lang.InstantiationException:
org.apache.bcel.classfile.ClassFormatException: Invalid method signature:
(ILoracle/sql/STR
UCT;)V
        at
oracle.j2ee.connector.proxy.BCELProxyFactory.createProxy(BCELProxyFactory.java:382)
        at
oracle.j2ee.connector.proxy.BCELProxyFactory.getProxy(BCELProxyFactory.java:141)
        at
oracle.oc4j.sql.proxy.SQLBCELProxyFactory.getProxy(SQLBCELProxyFactory.java:47)
        at
oracle.j2ee.connector.proxy.AbstractProxy.oc4j_getProxyForReturnedObject(AbstractProxy.java:105)
        at oracle_jdbc_driver_T4CConnection_Proxy.prepareCall()
        at com.hubinterface.helper.DbHelper.isSwitchOn(DbHelper.java:440)
        at
com.hubinterface.helper.DbHelper.sendToDatabaseEoi(DbHelper.java:486)
        at
com.hubinterface.helper.SubmitOrderAction.processRequest_EOI(SubmitOrderAction.java:478)
        at com.hubinterface.mq.MQMessageListener.run(MQMessageListener.java:29)
        at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.bcel.classfile.ClassFormatException: Invalid method
signature: (ILoracle/sql/STRUCT;)V
        at org.apache.bcel.generic.Type.getArgumentTypes(Type.java:224)
        at
oracle.oc4j.sql.proxy.SQLBCELProxyBuilder.buildMethod(SQLBCELProxyBuilder.java:171)
        at
oracle.j2ee.connector.proxy.BCELProxyFactory.addInterfaceMethods(BCELProxyFactory.java:550)
        at
oracle.j2ee.connector.proxy.BCELProxyFactory.addMethods(BCELProxyFactory.java:522)
        at
oracle.j2ee.connector.proxy.BCELProxyFactory.createProxy(BCELProxyFactory.java:370)
        ... 9 more


Also sometimes when some concurrent requests are coming into our application
which is deployed on OC4J Application server, at some point in the code the
following exception is happening

2008-09-24 05:00:45,386|ERROR|sendToDatabaseSuspendResumeEoi Database error
when placing order: org.apache.bcel.classfile.ClassFormatException: Invalid
method signature: ava/lang/String;Ljava/lang/String;)V
2008-09-24 05:00:45,402|ERROR|processRequest_EOI Problem accessing R1OSS:
Database error when placing order (java.sql.SQLExce
ption: org.apache.bcel.classfile.ClassFormatException: Invalid method
signature: ava/lang/String;Ljava/lang/String;)V)
2008-09-24 05:00:45,402|ERROR|processRequest_EOI Problem accessing R1OSS
calling dbvalidateexceptions api: Database error whe
n placing order (java.sql.SQLException:
org.apache.bcel.classfile.ClassFormatException: Invalid method signature:
ava/lang/St
ring;Ljava/lang/String;)V)


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to