COMM_FAILURE (Minor code 208) with WLS 8.1
Hi all
I'm experiencing something strange with my Weblogic 8.1 client application.
When I have weblogic.jar (which is 35 MB) in my classpath : everything is fine.
When I use another client jar file (wlclient.jar) : I get the CORBA.COMM_FAILURE exception with minor code 208 when I try ot access to the server.
What's exactly the problem ?
Is there another way to use a smaller WL client jar file in the classpath ?
Thanks to all for your help.
FB
Franck BONNEFOY <[email protected]> writes:
I'm experiencing something strange with my Weblogic 8.1 client application.
When I have weblogic.jar (which is 35 MB) in my classpath : everything is fine.
When I use another client jar file (wlclient.jar) : I get the CORBA.COMM_FAILURE exception with minor code 208 when I try ot access to the server.
What's exactly the problem ?
Is there another way to use a smaller WL client jar file in the classpath ?This could be caused by many things. Maybe you could provide more
details and a full stacktrace. Incidentally make sure you explicitly
set a ListenAddress in the server config and use that in your client's
URL.
andy
Similar Messages
-
MINOR CODE PROBLEM WITH AXIS,EJB,WSAD,WEBSPHERE
Hi All,
I am using below environment
client side
ANT + Sun 1.4.2 JRE
JIBX (DE)SERIALIZERS, JIBX BINDING
AXIS 1.2 RC2 STUBS
server side
JIBX (DE)SERIALIZERS, JIBX BINDING
AXIS 1.2 RC2
JIBX BETA 3D
WSAD 5.1.2
WEBSPHERE 5.0 Test Environment
Basically I used WSAD 5.1.2 to code my EJB's. When I run my web service java client program to access a ejb web service exposed using AXIS,JIBX (DE)SERIALIZERS, WEBSPHERE 5.0 I am getting below exception on client side and no exception atleast in my server console. I guess the cause of this error is I used Sun 1.4.2 JRE on the client side to construct custom types and
passed them to server which uses IBM JRE 1.3.1 inside WebSphere 5.0 Test Environment. I am not sure may be it is a guess. If so how to ask ANT on take IBM JRE 1.3.1 with <javac> task. Please suggest ... ?
[java] - Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
[java] Connecting to service at http://localhost:9999/Axis12Rc2IrscWeb/services/DCPlanListWS
[java] Sending first request...
[java] AxisFault
[java] faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
[java] faultSubcode:
[java] faultString: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
[java] java.rmi.MarshalException: CORBA MARSHAL 0x4942f89a No; nested exception is:
[java] org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : Mismatched serialization UIDs : Source (Rep. IDRMI:com.americanexpress.bluestar.beans.requestbeans.DCPlanListRequestBean:74291B603AE70D98:BE5D2E53ED0132D4) = BE5D2E53ED0132D4 whereas Target (Rep. ID RMI:com.americanexpress.bluestar.beans.requestbeans.DCPlanListRequestBean:74291B603AE70D98:C8417C221AEF1714) = C8417C221AEF1714 minor code: 4942F89A completed: No
[java] faultActor:
[java] faultNode:
[java] faultDetail:
[java] {http://xml.apache.org/axis/}hostname:hyddl0337
[java] java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
[java] java.rmi.MarshalException: CORBA MARSHAL 0x4942f89a No; nested exception is:
[java] org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : Mismatched serialization UIDs : Source (Rep. IDRMI:com.americanexpress.bluestar.beans.requestbeans.DCPlanListRequestBean:74291B603AE70D98:BE5D2E53ED0132D4) = BE5D2E53ED0132D4 whereas Target (Rep. ID RMI:com.americanexpress.bluestar.beans.requestbeans.DCPlanListRequestBean:74291B603AE70D98:C8417C221AEF1714) = C8417C221AEF1714 minor code: 4942F89A completed: No
[java] at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221)
[java] at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128)
[java] at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1083)
[java] at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1712)
[java] at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
[java] at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
[java] at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
[java] at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
[java] at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
[java] at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
[java] at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
[java] at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
[java] at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:226)
[java] at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:645)
[java] at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
[java] at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
[java] at org.apache.axis.client.AxisClient.invoke(AxisClient.java:173)
[java] at org.apache.axis.client.Call.invokeEngine(Call.java:2719)
[java] at org.apache.axis.client.Call.invoke(Call.java:2702)
[java] at org.apache.axis.client.Call.invoke(Call.java:2378)
[java] at org.apache.axis.client.Call.invoke(Call.java:2301)
[java] at org.apache.axis.client.Call.invoke(Call.java:1758)
[java] at irsc.bluestar.DCPlanListWSBindingStub.getDCPlanList(DCPlanListWSBindingStub.java:180)
[java] at irsc.bluestar.IrscDcPlanListWsClient.query(IrscDcPlanListWsClient.java:43)
[java] at irsc.bluestar.IrscDcPlanListWsClient.main(IrscDcPlanListWsClient.java:67)
[java] Exception in thread "main"
[java] Java Result: 1
Thanks & Regards,
Kumar.I remember seeing that post sometime ago. And yes, your guess is quite good. WAS 5.1 uses jdk 1.3.1
As for Ant, if you want to use a different version class, I think you need to set "build.compiler" property. Of course, a look into Ant docs would be more helpful.
Cheers!
***Annie*** -
[MINOR CODE] Exception with minor code 1404
Hi,
Could you please explain what Sun CORBA minor code 1404 represents? We are getting this exception on a JavaWS app java console:
Client - Windows XP [java 1.6/java 1.5]
Server - Linux [java 1.6]
com.sun.corba.se.impl.util.Utility loadStub
FINE: "IOP01211404: (BAD_OPERATION) Exception in loadStub"
org.omg.CORBA.BAD_OPERATION: vmcid: SUN minor code: 1404 completed: No
at com.sun.corba.se.impl.logging.UtilSystemException.exceptionInLoadStub(Unknown Source)
at com.sun.corba.se.impl.logging.UtilSystemException.exceptionInLoadStub(Unknown Source)
at com.sun.corba.se.impl.util.Utility.loadStub(Unknown Source)
at com.sun.corba.se.impl.javax.rmi.PortableRemoteObject.narrow(Unknown Source)
at javax.rmi.PortableRemoteObject.narrow(Unknown Source)
at com.ibm.ws.ejb.portable.LegacyHandleDelegateImpl.readEJBObject(LegacyHandleDelegateImpl.java:353)
at com.ibm.ws.ejb.portable.HandleImpl.readObject(HandleImpl.java:406)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.ibm.rmi.io.IIOPInputStream.invokeObjectReader(IIOPInputStream.java:1700)
at com.ibm.rmi.io.IIOPInputStream.inputObjectUsingClassDesc(IIOPInputStream.java:1435)
at com.ibm.rmi.io.IIOPInputStream.inputObjectClassDesc(IIOPInputStream.java:1410)
at com.ibm.rmi.io.IIOPInputStream.readSerializable(IIOPInputStream.java:1139)
at com.ibm.rmi.io.IIOPInputStream.simpleReadObjectInternal(IIOPInputStream.java:427)
at com.ibm.rmi.io.IIOPInputStream.simpleReadObjectLoop(IIOPInputStream.java:512)
at com.ibm.rmi.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:464)
at com.ibm.rmi.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:210)
at com.ibm.rmi.iiop.CDRReader.read_value(CDRReader.java:2011)
Thanks,
Mi.I remember seeing that post sometime ago. And yes, your guess is quite good. WAS 5.1 uses jdk 1.3.1
As for Ant, if you want to use a different version class, I think you need to set "build.compiler" property. Of course, a look into Ant docs would be more helpful.
Cheers!
***Annie*** -
Tp finished with return code: 208
Hi Basis Gurus,
I have received transport data and cofiles from system XYZ. I have copied data and cofiles in /usr/sap/trans/data and /usr/sap/trans/cofiles respectively.
Now I have change my directory to /usr/sap/trans/bin
I want to see the Object List before I import the transport request to my test system TST. I have added the transport request XYZK92????? to buffer with tp addtobuffer command and it is successful. Now when I am trying to see the Object list with command tp GETOBJLIST it is giving error message
This is tp version 340.16.12 (release 640)
System XYZ is not defined in TPPARAM
ERROR: System XYZ is not defined in TPPARAM
tp returncode summary:
TOOLS: Highest return code of single steps was: 0
ERRORS: Highest tp internal error was: 0208
tp finished with return code: 208
meaning:
error in transportprofil (param missing, unknown,...)
XYZ system is the system from where I got the transport request and it is not defined in my STMS domain. I guess we can import transport request from any other SAP system.
How to resolve this issue ? is any one aware of this.
Thanks
Best Regards,
CKI have created the TPPARAM with the above entry. Now getting different error:
~
This is tp version 340.16.12 (release 640)
Warning: Parameter DBHOST is no longer used.
Warning: Parameter DBLIBPATH is no longer used.
Warning: Parameter DBNAME is no longer used.
Warning: Parameter DBSWPATH is no longer used.
This is R3trans version 6.13 (release 640 - 12.12.05 - 14:24:42).
1AETW065 check-sum error in datafile after "1972" bytes.
2EETW000 Please contact the SAP support.
exiting ...
R3trans finished (0016).
tp returncode summary:
TOOLS: Highest return code of single steps was: 16
WARNS: Highest tp internal warning was: 0101
tp finished with return code: 16
meaning:
A tool used by tp broke down -
Transport control program ended with return code 208
hi all please give me the solution for the transport control program ended with return code 208
after the request releasedHi,
Please check the transport log at OS level. below is the path
/usr/sap/trans/log.
You can also check from SAP level. After the transport is import go log button in the STMS_IMPORT tcode >>> expand all the possible values... you can find the exact reason why the transport ended with error.
And also plesae check if nay entry exits in TRBAT table .
Thanks,
Phani. -
ConnectionPool problems with WLS 7.0 and Oracle 9.2
Hi,
We are using WLS 7.0 SP4, and Oracle 9 and the Oracle thin driver type 4. In our
application on the productive system (and only there) we constantly encounter
a whole set of SQLExceptions which have all in common that the Connection from
the pool is not valid any more when the application tries to use it.
Typical, recurring error messages are:
- Exhausted ResultSet
- Connection has already been closed
- Closed Statement
- Transaction is no longer active - status committing
- NullPointerException at
weblogic.jdbc.pool.Connection.prepareStatement()
There are no special Statements which create these errors. They are spread at
random across practically every query the application creates, and the same queries
sometimes succeed and sometimes fail.
I double and triple checked that all Connections, Statements and ResultSets are
closed immediately after use. As an example, I attached a code snippet and a resulting
StackTrace which.
The problem also seems to occur only with an (unknown) minimum of concurrent usern,
since in the approval tests on an almost identical test system these errors never
occurred.
I also followed the advice from Oracle and installed the latest Oracle JDBC driver
(Oracle 10g) - to no avail.
What else can I do?
Another question: Is it correct that my Oracle JDBC driver is in the application
classpath (via a reference in the Manifest file of the application jar), not in
the system classpath? There has never been a problem with that, but in a Newsgroup
answer from Nov 10, 2003 (subject: "ResultSet closes prematurely"), Joe Weinstein
suggested to "get it listed at the
front of the -classpath argument that the startWebLogic script creates for the
java line that starts the server".
I hesitate to do so, since the driver is in a standard WebApp- directory, WEB-INF/lib.
Is it possible and safe to add a jar located there to the system classpath? If
it is possible, why is it necessary?
Best regards,
Andreas Zehrt
[CodeSnippetsAndStackTraceForConnectionPoolProblem.txt]Andreas Zehrt wrote:
Hi Joe,
Your hint that there is a threading problem was right:
On further investigation of the code I found out that the class that passes the
Connection to the DAO not only stores it as a member at some point (which is not
a good idea anyway) but is also a singleton - then, of course, it's no surprise
that the Connection gets invalid in a incalculable way when concurrent threads
share it.
The singleton instantiation was not so obvious because the way of instantiation
is controlled by a configuration parameter that can be overridden at different
levels.
I changed it and the productive logfiles indicate that the SQLExceptions related
to that class have disappeared.I am happy to have helped.
So, thanks a lot for the advice.
But I am still wondering why this code has worked for so long a time with WLS
5.1 and Oracle 8 (the system has been productive for over 2 years). Even in the
approval tests with WLS 7.0 and Oracle 9, we did not run into problems, although
it was multi-user environment.Mo idea.
I still believe that there is a difference between WLS 5.1 and 7.0 in the way
it treats pooled Oracle JDBC Connections. I wished both Oracle and Bea could be
a little more explicit about those changes and possible version incompatabilities
beyond the general advice "use the latest thin driver".Though I can think of no change to our pooling which would have had any material
effect in this case, I will certainly do what I can to see that our documentation
is explicit about changes.
Joe
Best regards, Andreas
Joe Weinstein <[email protected]> wrote:
Hi Andreas.
Andreas Zehrt wrote:
Hi,
We are using WLS 7.0 SP4, and Oracle 9 and the Oracle thin driver type4. In our
application on the productive system (and only there) we constantlyencounter
a whole set of SQLExceptions which have all in common that the Connectionfrom
the pool is not valid any more when the application tries to use it.
Typical, recurring error messages are:
- Exhausted ResultSetThat is typically if the statement that created it is either re-executed
or closed.
- Connection has already been closedAs described. If you give a stacktrace, we could make a debug patch which
would show
where it was originally closed.
- Closed Statementsame as above.
- Transaction is no longer active - status committingThat implies your code is obtaining a connection from a transactional
datasource,
and then later trying to use it after the transaction which it was associated
with,
is finished.
- NullPointerException at
weblogic.jdbc.pool.Connection.prepareStatement()Maybe any of the above.
There are no special Statements which create these errors. They arespread at
random across practically every query the application creates, andthe same queries
sometimes succeed and sometimes fail.
I double and triple checked that all Connections, Statements and ResultSetsare
closed immediately after use. As an example, I attached a code snippetand a resulting
StackTrace which.
The problem also seems to occur only with an (unknown) minimum of concurrentusern,
since in the approval tests on an almost identical test system theseerrors never
occurred.
I also followed the advice from Oracle and installed the latest OracleJDBC driver
(Oracle 10g) - to no avail.
What else can I do?
Another question: Is it correct that my Oracle JDBC driver is in theapplication
classpath (via a reference in the Manifest file of the applicationjar), not in
the system classpath? There has never been a problem with that, butin a Newsgroup
answer from Nov 10, 2003 (subject: "ResultSet closes prematurely"),Joe Weinstein
suggested to "get it listed at the
front of the -classpath argument that the startWebLogic script createsfor the
java line that starts the server".
I hesitate to do so, since the driver is in a standard WebApp- directory,WEB-INF/lib.
Is it possible and safe to add a jar located there to the system classpath?If
it is possible, why is it necessary?I was only concerned to ensure we know which driver we are working with.
We also ship
an oracle thin driver, which becomes obsolete soon...
I am concerned that your code creates pool connections to be used later.
The problems
can arise if more than one thread ever gets the same connection, or if
the connection
is used in the same thread, spanning transactions. It does also seem
that there may
be a threading issue, because if two threads each call the code to create
a connection,
and two connections are made, but one over-writes the other, the two
threads can
end up using the same connection, and closing it. The over-written one
never gets closed,
resulting in that leak message you got...
Joe
The Connection parameter is opened by a business component class, ComaServiceProviderClassicImpl.It is propagated through
several classes in the business layer, but not used, until the DAOtakes it to make the query.
So, the Connection is closed where it was opened, not in the DAO class.
public class ConcernDAOImpl extends BaseDAO {
public Collection getConcernsForIncidents(Connection conn, Collectionincidents)
throws DataAccessException, ConstraintException, ComaParseException{>
sqlMessage.append(")");
String sqlStmt = sqlMessage.toString();
PreparedStatement pstmt = null;
ResultSet rs = null;
try {
pstmt = conn.prepareStatement(sqlStmt);
rs = pstmt.executeQuery();
while (rs != null && rs.next()) {
final Concern concern =
new Concern(DAOUtil.getComaOID(rs, ComaDBNames.KDANR));
concern.setIncidentOID(DAOUtil.getComaOID(rs, ComaDBNames.KDAVGENR));
return concerns;
} catch (SQLException sqle) {
// Wrapps real SQL exception
String[] message = new String[]{sqle.getMessage(), sqlStmt};
throw new DataAccessException(ExpCode.S_ORACLE_SQL, message,
sqle);
} finally {
closeAll(rs, pstmt);
_logger.exitDebug(method);
Here, the Connection is acquired and finally closed
public class ComaServiceProviderClassicImpl {
public void updateComplaint(
final Request updateRequest,
final ResponseSingleElement response,
final Principal principal)
throws SystemException {
try {
logger.info("updateComplaint", "store incident");
// store the incident in the database
incidentManager.storeIncident(getConnection(), updateIncident);
// reload the incident from Cache and / or the databaseto get the ContactReferences.
Incident returnIncident = incidentManager.loadIncident(//IncidentManager passes the Connection to the DAO
getConnection(), updateIncident.getOID());
} catch (RemoteException rex) {
// remote exceptions
rollbackIfNecessary();
CoreUtils.unwrapRemoteException(rex, logger);
} catch (SystemException e) {
// all other exceptions --> rollback if necessary and rethrow
rollbackIfNecessary();
throw e;
} finally {
removeConnection();
logger.exitDebug("updateComplaint");
This is the resulting StackTrace:
sql exception: [Closed Statement: next] - sql statement: [select *
at de.deutschepost.ubbrief.coma.persistence.dao.ConcernDAOImpl.getConcernsForIncidents(ConcernDAOImpl.java:363)
at de.deutschepost.ubbrief.coma.persistence.dao.CachingConcernDAOImpl.getConcernsForIncidents(CachingConcernDAOImpl.java:129)
at de.deutschepost.ubbrief.coma.persistence.incidentmanager.IncidentManagerImpl.loadConcernStructuresIntoIncidents(IncidentManagerImpl.java:1067)
at de.deutschepost.ubbrief.coma.persistence.incidentmanager.IncidentManagerImpl.loadStructureForIncident(IncidentManagerImpl.java:320)
at de.deutschepost.ubbrief.coma.persistence.incidentmanager.IncidentManagerImpl.loadIncidents(IncidentManagerImpl.java:264)
at de.deutschepost.ubbrief.coma.persistence.taskmanager.TaskManagerImpl.selectTasksForUser(TaskManagerImpl.java:299)
at de.deutschepost.ubbrief.coma.service.z2.ComaServiceProviderZ2Impl.getTaskList(ComaServiceProviderZ2Impl.java:113)
at de.deutschepost.ubbrief.coma.service.z2.ComaServiceProviderZ2Bean_1dhrj7_EOImpl.getTaskList(ComaServiceProviderZ2Bean_1dhrj7_EOImpl.java:154)
at de.deutschepost.ubbrief.coma.sbba.z2.CMPGetTaskList.runServiceMethod(CMPGetTaskList.java:64)
at de.deutschepost.ubbrief.coma.sbbx.sp.BasicMethodProvider.execute(BasicMethodProvider.java:145)
at de.deutschepost.ubbrief.coma.sbba.z2.CMPGetTaskList_9b9mv5_EOImpl.execute(CMPGetTaskList_9b9mv5_EOImpl.java:46)
at de.deutschepost.ubbrief.coma.sbba.z2.CMPGetTaskList_9b9mv5_EOImpl_WLSkel.invoke(UnknownSource)
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:159)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:263)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:230)
at de.deutschepost.ubbrief.coma.sbba.z2.CMPGetTaskList_9b9mv5_EOImpl_WLStub.execute(UnknownSource)
at de.deutschepost.ubbrief.backbone.jazz.impl.core.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:115)
at de.deutschepost.ubbrief.backbone.common.impl.core.rpc.server.ServerKernelImpl.handleTransportMessage(ServerKernelImpl.java:270)
at de.deutschepost.ubbrief.backbone.common.impl.core.messaging.MessageTransport.handleMessage(MessageTransport.java:454)
at de.deutschepost.ubbrief.backbone.common.impl.core.KernelFacade.handleMessage(KernelFacade.java:209)
at de.deutschepost.ubbrief.backbone.jazz.impl.backbone.BackboneBean.messageArrived(BackboneBean.java:637)
at de.deutschepost.ubbrief.backbone.jazz.impl.backbone.BackboneBean_ina9d7_ELOImpl.messageArrived(BackboneBean_ina9d7_ELOImpl.java:105)
at de.deutschepost.ubbrief.backbone.jazz.impl.transport.receive.LocalQueueReceiveBean.deliverMessage(LocalQueueReceiveBean.java:43)
at de.deutschepost.ubbrief.backbone.jazz.impl.transport.receive.AbstractMessageReceiveBean.onMessage(AbstractMessageReceiveBean.java:127)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:377)
at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:311)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:286)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2351)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:2267)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
####<May 26, 2004 12:18:43 PM CEST> <Warning> <JDBC> <S0048016> <REMA20Z><Finalizer> <kernel identity> <> <001074> <A JDBC pool connection leak
was detected. A Connection leak occurs when a connection obtained from
the pool was not closed explicitly by calling close() and then was disposed
by the garbage collector and returned to the connection pool. The following
stack trace at create shows where the leaked connection was created.
Stack trace at connection create:
at weblogic.jdbc.pool.Connection.<init>(Connection.java:66)
at weblogic.jdbc.pool.Driver.allocateConnection(Driver.java:294)
at weblogic.jdbc.pool.Driver.connect(Driver.java:210)
at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:373)
at weblogic.jdbc.jts.Driver.connect(Driver.java:129)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:287)
at de.deutschepost.ubbrief.coma.core.ComaComponentImpl.getConnectionFromPool(ComaComponentImpl.java:163)
at de.deutschepost.ubbrief.coma.core.ComaComponentImpl.getConnectionInternal(ComaComponentImpl.java:135)
at de.deutschepost.ubbrief.coma.core.ComaComponentImpl.getConnection(ComaComponentImpl.java:99)
at de.deutschepost.ubbrief.coma.persistence.customermanager.CurryCustomerManagerImpl.findCustomers(CurryCustomerManagerImpl.java:73)
at de.deutschepost.ubbrief.coma.service.z2.ComaServiceProviderZ2BaseImpl.resolveCustomerInstances(ComaServiceProviderZ2BaseImpl.java:808)
at de.deutschepost.ubbrief.coma.service.z2.ComaServiceProviderZ2Impl.getTaskList(ComaServiceProviderZ2Impl.java:213)
at de.deutschepost.ubbrief.coma.service.z2.ComaServiceProviderZ2Bean_1dhrj7_EOImpl.getTaskList(ComaServiceProviderZ2Bean_1dhrj7_EOImpl.java:154)
at de.deutschepost.ubbrief.coma.sbba.z2.CMPGetTaskList.runServiceMethod(CMPGetTaskList.java:64)
at de.deutschepost.ubbrief.coma.sbbx.sp.BasicMethodProvider.execute(BasicMethodProvider.java:145)
at de.deutschepost.ubbrief.coma.sbba.z2.CMPGetTaskList_9b9mv5_EOImpl.execute(CMPGetTaskList_9b9mv5_EOImpl.java:46)
at de.deutschepost.ubbrief.coma.sbba.z2.CMPGetTaskList_9b9mv5_EOImpl_WLSkel.invoke(UnknownSource)
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:159)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:263)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:230)
at de.deutschepost.ubbrief.coma.sbba.z2.CMPGetTaskList_9b9mv5_EOImpl_WLStub.execute(UnknownSource)
at de.deutschepost.ubbrief.backbone.jazz.impl.core.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:115)
at de.deutschepost.ubbrief.backbone.common.impl.core.rpc.server.ServerKernelImpl.handleTransportMessage(ServerKernelImpl.java:270)
at de.deutschepost.ubbrief.backbone.common.impl.core.messaging.MessageTransport.handleMessage(MessageTransport.java:454)
at de.deutschepost.ubbrief.backbone.common.impl.core.KernelFacade.handleMessage(KernelFacade.java:209)
at de.deutschepost.ubbrief.backbone.jazz.impl.backbone.BackboneBean.messageArrived(BackboneBean.java:637)
at de.deutschepost.ubbrief.backbone.jazz.impl.backbone.BackboneBean_ina9d7_ELOImpl.messageArrived(BackboneBean_ina9d7_ELOImpl.java:105)
at de.deutschepost.ubbrief.backbone.jazz.impl.transport.receive.LocalQueueReceiveBean.deliverMessage(LocalQueueReceiveBean.java:43)
at de.deutschepost.ubbrief.backbone.jazz.impl.transport.receive.AbstractMessageReceiveBean.onMessage(AbstractMessageReceiveBean.java:127)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:377)
at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:311)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:286)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2351)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:2267)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210) -
Workaround for using Oracle JDBC extension with WLS pooling
Reading the newsgroup I saw that many of us encountered the problems
with ClassCastException when tried to use Oracle JDBC extension
with WLS pooling. I also had.
In this case BEA recommends to use dangerous
method getVendorConnection() which exposes
the physical connection object to your code.
Yes it's really dangerous because of unsafe usage may breaks
WLS pooled connection(s).
Moreover, this practice will make your JDBC code
unportable (your JDBC code in addition to Oracle dependence
became Weblogic dependent):
void doSmth() {
Connection con = ...;
Connection vCon = ((WLConnection)con).getVendorConnection();
// + mess of usage con in one places and vCon in others
// (where Oracle extensions are needed)
// !Don't forget to don't close vCon!
Sux.
I found the workaround.
Introduction
============
Yes the real cause of ClassCastException is that
in depth of Oracle driver the casting
to class oracle.jdbc.driver.OracleConnection
(not to interface oracle.jdbc.OracleConnection)
is performed.
Someone can say that this is bug or pure desing.
Weblogic pooled connection provide dynamic
implementation for all public interfaces
which real physical (wrapped) connection object implements.
Great feature!
But I guess that all interface methods implemented
by simple call-delegation to physical (wrapped) connection object.
In case of oracle.jdbc.OracleConnection interface
this approach doesn't work for at least one its method:
public OracleConnection unwrap()
WLS pooled connection shoudn't implement this method by
delegation to physical connection object BUT should
return physical connection object itself!
// Wrong implementation of unwrap()
// delegation is used
public OracleConnection unwrap() {
return physicalConnection.unwrap();
// Right implementation of unwrap()
// physical connection returned
public OracleConnection unwrap() {
return physicalConnection;
Workaround
==========
1. Develop your own OracleConnection wrapper class:
import oracle.jdbc.OracleConnection;
import weblogic.jdbc.extensions.WLConnection;
public class MyOracleConnectionImpl implements OracleConnection {
private OracleConnection con;
public MyOracleConnectionImpl(OracleConnection connection)
throws SQLException
this.con = connection;
public OracleConnection unwrap() {
return (OracleConnection)
((WLConnection)con).getVendorConnection();
/* Implement all other methods by delegation to con object */
2. Don't get Connections directly from DataSource --
develop your own simple (may be static) utility
class which retrives Connections from dataSource
and returns them wrapped into your MyOracleConnectionImpl
to your code from some method:
puclic abstract class MyConnectionSource {
public static Connection getConnection() {
Connection con = // get it from DataSource
return new MyOracleConnectionImpl((OracleConnection)con);
3. Add attribute RemoveInfectedConnectionsEnabled="false"
to definition of your JDBCConnectionPool within config.xml
You may do it because of you `safely` use vendorConnection --
you don't expose it to application code.
4. Enjoy the Oracle JDBC extensions in your code!
Example:
Connection con = MyConnectionSource.getConnection;
ArrayDescriptor add =
ArrayDescriptor.createDescriptor("your_type", con);
Hope it helps to someone.
Best regards,
Eugene VoytitskyHello Eugene Voytitsky,
Thanks Eugene Voytitsky for your idea
I have tried the solution suggested by You, but it did not work.
It still throws ClassCastException.
I am sorry for posting the whole code of two classes below.
I did this to give you more clarity.
I am also indicating the place where the exception was thrown..
Please let me know if I am doing something wrong.
OracleConnection Wrapper class
package ejbTesting;
// sql imports
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.sql.SQLWarning;
import java.sql.Statement;
// util imports
import java.util.Map;
import java.util.Properties;
// imports from Oracle Driver Classes
import oracle.jdbc.OracleConnection;
import oracle.jdbc.OracleOCIFailover;
import oracle.jdbc.OracleSavepoint;
// import from Weblogic extensions
import weblogic.jdbc.extensions.WLConnection;
public class WeblogicConnectionWrapper implements OracleConnection
// oracle connection object
private OracleConnection connection;
public WeblogicConnectionWrapper (OracleConnection orclConnection)
try
this.connection = orclConnection;
catch(Exception unexpected )
unexpected.printStackTrace();
public OracleConnection unwrap()
try
// The datasource returns a weblogic.jdbc.pool.Connection
// This needs to be type casted to weblogic.jdbc.extensions.WLConnection
// Only this weblogic.jdbc.extensions.WLConnection CAN BE type casted
// to OracleConnection
return (OracleConnection) ((WLConnection) connection).getVendorConnection();
catch(Exception sqlException )
sqlException.printStackTrace ();
return null;
/* Implement all other methods by delegation to connection object */
public Connection _getPC()
return connection._getPC();
public void archive(int i, int j, String s)
throws SQLException
connection.archive(i, j, s);
public void assertComplete()
throws SQLException
connection.assertComplete();
public void clearWarnings()
throws SQLException
connection.clearWarnings();
public void close()
throws SQLException
connection.close();
public void commit()
throws SQLException
connection.commit();
public Statement createStatement()
throws SQLException
return connection.createStatement();
public Statement createStatement(int i, int j)
throws SQLException
return connection.createStatement(i, j);
public boolean getAutoClose()
throws SQLException
return connection.getAutoClose();
public boolean getAutoCommit()
throws SQLException
return connection.getAutoCommit();
public CallableStatement getCallWithKey(String s)
throws SQLException
return connection.getCallWithKey(s);
public String getCatalog()
throws SQLException
return connection.getCatalog();
public boolean getCreateStatementAsRefCursor()
return connection.getCreateStatementAsRefCursor();
public int getDefaultExecuteBatch()
return connection.getDefaultExecuteBatch();
public int getDefaultRowPrefetch()
return connection.getDefaultRowPrefetch();
public Object getDescriptor(String s)
return connection.getDescriptor(s);
public boolean getExplicitCachingEnabled()
throws SQLException
return connection.getExplicitCachingEnabled();
public boolean getImplicitCachingEnabled()
throws SQLException
return connection.getImplicitCachingEnabled();
public boolean getIncludeSynonyms()
return connection.getIncludeSynonyms();
public Object getJavaObject(String s)
throws SQLException
return connection.getJavaObject(s);
public DatabaseMetaData getMetaData()
throws SQLException
return connection.getMetaData();
public Properties getProperties()
return connection.getProperties();
public boolean getRemarksReporting()
return connection.getRemarksReporting();
public boolean getRestrictGetTables()
return connection.getRestrictGetTables();
public String getSQLType(Object obj)
throws SQLException
return connection.getSQLType(obj);
public String getSessionTimeZone()
return connection.getSessionTimeZone();
public int getStatementCacheSize()
throws SQLException
return connection.getStatementCacheSize();
public PreparedStatement getStatementWithKey(String s)
throws SQLException
return connection.getStatementWithKey(s);
public int getStmtCacheSize()
return connection.getStmtCacheSize();
public short getStructAttrCsId()
throws SQLException
return connection.getStructAttrCsId();
public boolean getSynchronousMode()
return connection.getSynchronousMode();
public int getTransactionIsolation()
throws SQLException
return connection.getTransactionIsolation();
public Map getTypeMap()
throws SQLException
return connection.getTypeMap();
public String getUserName()
throws SQLException
return connection.getUserName();
public boolean getUsingXAFlag()
return connection.getUsingXAFlag();
public SQLWarning getWarnings()
throws SQLException
return connection.getWarnings();
public boolean getXAErrorFlag()
return connection.getXAErrorFlag();
public boolean isClosed()
throws SQLException
return connection.isClosed();
public boolean isLogicalConnection()
return connection.isLogicalConnection();
public boolean isReadOnly()
throws SQLException
return connection.isReadOnly();
public String nativeSQL(String s)
throws SQLException
return connection.nativeSQL(s);
public Object openJoltConnection(String s, short word0, short word1)
return connection.openJoltConnection(s, word0, word1);
public void oracleReleaseSavepoint(OracleSavepoint oraclesavepoint)
throws SQLException
connection.oracleReleaseSavepoint(oraclesavepoint);
public void oracleRollback(OracleSavepoint oraclesavepoint)
throws SQLException
connection.oracleRollback(oraclesavepoint);
public OracleSavepoint oracleSetSavepoint()
throws SQLException
return connection.oracleSetSavepoint();
public OracleSavepoint oracleSetSavepoint(String s)
throws SQLException
return connection.oracleSetSavepoint(s);
public int pingDatabase(int i)
throws SQLException
return connection.pingDatabase(i);
public CallableStatement prepareCall(String s)
throws SQLException
return connection.prepareCall(s);
public CallableStatement prepareCall(String s, int i, int j)
throws SQLException
return connection.prepareCall(s, i, j);
public CallableStatement prepareCallWithKey(String s)
throws SQLException
return connection.prepareCallWithKey(s);
public PreparedStatement prepareStatement(String s)
throws SQLException
return connection.prepareStatement(s);
public PreparedStatement prepareStatement(String s, int i, int j)
throws SQLException
return connection.prepareStatement(s, i, j);
public PreparedStatement prepareStatementWithKey(String s)
throws SQLException
return connection.prepareStatementWithKey(s);
public void purgeExplicitCache()
throws SQLException
connection.purgeExplicitCache();
public void purgeImplicitCache()
throws SQLException
connection.purgeImplicitCache();
public void putDescriptor(String s, Object obj)
throws SQLException
connection.putDescriptor(s, obj);
public void registerApiDescription(String s, short word0, short word1, String
s1)
connection.registerApiDescription(s, word0, word1, s1);
public void registerSQLType(String s, Class class1)
throws SQLException
connection.registerSQLType(s, class1);
public void registerSQLType(String s, String s1)
throws SQLException
connection.registerSQLType(s, s1);
public void registerTAFCallback(OracleOCIFailover oracleocifailover, Object
obj)
throws SQLException
connection.registerTAFCallback(oracleocifailover, obj);
public void rollback()
throws SQLException
connection.rollback();
public void setAutoClose(boolean flag)
throws SQLException
connection.setAutoClose(flag);
public void setAutoCommit(boolean flag)
throws SQLException
connection.setAutoCommit(flag);
public void setCatalog(String s)
throws SQLException
connection.setCatalog(s);
public void setCreateStatementAsRefCursor(boolean flag)
connection.setCreateStatementAsRefCursor(flag);
public void setDefaultExecuteBatch(int i)
throws SQLException
connection.setDefaultExecuteBatch(i);
public void setDefaultRowPrefetch(int i)
throws SQLException
connection.setDefaultRowPrefetch(i);
public void setExplicitCachingEnabled(boolean flag)
throws SQLException
connection.setExplicitCachingEnabled(flag);
public void setImplicitCachingEnabled(boolean flag)
throws SQLException
connection.setImplicitCachingEnabled(flag);
public void setIncludeSynonyms(boolean flag)
connection.setIncludeSynonyms(flag);
public void setReadOnly(boolean flag)
throws SQLException
connection.setReadOnly(flag);
public void setRemarksReporting(boolean flag)
connection.setRemarksReporting(flag);
public void setRestrictGetTables(boolean flag)
connection.setRestrictGetTables(flag);
public void setSessionTimeZone(String s)
throws SQLException
connection.setSessionTimeZone(s);
public void setStatementCacheSize(int i)
throws SQLException
connection.setStatementCacheSize(i);
public void setStmtCacheSize(int i)
throws SQLException
connection.setStmtCacheSize(i);
public void setStmtCacheSize(int i, boolean flag)
throws SQLException
connection.setStmtCacheSize(i, flag);
public void setSynchronousMode(boolean flag)
connection.setSynchronousMode(flag);
public void setTransactionIsolation(int i)
throws SQLException
connection.setTransactionIsolation(i);
public void setTypeMap(Map map)
throws SQLException
connection.setTypeMap(map);
public void setUsingXAFlag(boolean flag)
connection.setUsingXAFlag(flag);
public void setWrapper(OracleConnection oracleconnection)
connection.setWrapper(oracleconnection);
public void setXAErrorFlag(boolean flag)
connection.setXAErrorFlag(flag);
public void shutdown(int i)
throws SQLException
connection.shutdown(i);
public void startup(String s, int i)
throws SQLException
connection.startup(s, i);
Util class to get Wrapped Connections from
datasource
package ejbTesting;
// j2ee imports
import javax.naming.InitialContext;
import javax.sql.DataSource;
// sql imports
import java.sql.Connection;
// imports from Oracle Driver Classes
import oracle.jdbc.OracleConnection;
* Wrapper class for the DataSource Connection from Weblogic pool
public class DataSourceConnectionWrapper
// datasource variable
private static transient DataSource datasource = null;
private static String dbName = "jdbc/workbench";
* Method that returns the database connection
public static Connection getConnection()
try
// initialsing the datasource object
initialiseDataSource ();
// Getting a connection from the datasource
Connection con = datasource.getConnection( );
// wrapping it custom wrapper class and
// returning the connection object
return new WeblogicConnectionWrapper((OracleConnection)con);
catch(Exception exception )
exception.printStackTrace();
return null;
private static void initialiseDataSource( ) throws Exception
if ( datasource == null )
try
InitialContext ic = new InitialContext( );
datasource = (DataSource) ic.lookup( dbName );
catch (Exception ne )
throw new Exception( "NamingException while looking up DataSource with
JNDI name" +
dbName + ": \n" + ne.getMessage( ) );
Exception Stack Trace
The line 46 in DataSourceConnectionWrapper
corresponds to
return new WeblogicConnectionWrapper((OracleConnection)con);
Which I feel is logical as the connection which we get from Weblogic
datasource cannot be type casted to OracleConnection
java.lang.ClassCastException: weblogic.jdbc.pool.Connection
at ejbTesting.DataSourceConnectionWrapper.getConnection(DataSourceConnectionWrapper.java:46) -
i have a problem with the users who request a report, the following error appears
REP-50125: Caught exception: org.omg.CORBA.OBJECT_NOT_EXIST: minor code: 0 completed: No
i don have any idea, what it's mean. and sometimes only appears in some users, and others can execute the reports ok.
please really i need some helpJuan, we are having the same problem, and my cluster of 2 servers 9.0.2.2.
I was explained by support, and they were explained by developers that this error is caused by the NULL instead of 0 returned parameter, when no engine available.
This means if you hit refresh long enough it will work.
I personally found this error happens when server's content in cluster is not in synch and just could not explain some other situations, our TAR is still open.
Let me know where are you on this issue -
Exception with WLS 6.1.3 & Oracle 9.2 thin driver
I'm testing out an upgrade from the Oracle thin driver that ships with WLS
6.1
to the Oracle 9.2 thin driver. My database server is running Oracle 8.1.7.
The only configuration change I made was to put the 9.2 classes12.zip at the
beginning of ths classpath. The line of my code where the exception is
being
throw is the first attempt at performing a resultSet.getLong() call. Has
anyone
gotten this combination to work yet? Any ideas on the error? I'd really
like to test out the native LOB support in the new drivers.
TIA - Gordon
<Oct 14, 2002 2:59:02 PM EDT> <Error> <Audit> <- Login failed because
loginName:
buyerOrgAdmin1034621942027 was not found.
com.eoriginal.engine.core.session.bas
icAccess.OrgUserDataAccessSessionBean_rngrwj_Impl::findUserAccountInfo,
java.lan
g.ArrayIndexOutOfBoundsException
at oracle.sql.NUMBER._fromLnxFmt(NUMBER.java:3181)
at oracle.sql.LnxLibThin.lnxsni(LnxLibThin.java:6571)
at oracle.sql.NUMBER.toLong(NUMBER.java:373)
at
oracle.jdbc.dbaccess.DBConversion.NumberBytesToLong(DBConversion.java
:2915)
at
oracle.jdbc.driver.OracleStatement.getLongValue(OracleStatement.java:
4373)
at
oracle.jdbc.driver.OracleResultSetImpl.getLong(OracleResultSetImpl.ja
va:529)
at
oracle.jdbc.driver.OracleResultSet.getLong(OracleResultSet.java:1540)
at weblogic.jdbc.jts.ResultSet.getLong(ResultSet.java:518)
at
weblogic.jdbc.rmi.internal.ResultSetImpl.getLong(ResultSetImpl.java:4
77)
at
weblogic.jdbc.rmi.internal.ResultSetStraightReader.getLong(ResultSetS
traightReader.java:142)
at
weblogic.jdbc.rmi.SerialResultSet.getLong(SerialResultSet.java:450)
at
com.eoriginal.engine.core.session.basicAccess.OrgUserDataAccessSessio
nBean.findUserAccountInfo(OrgUserDataAccessSessionBean.java:1272)
at
com.eoriginal.engine.core.session.basicAccess.OrgUserDataAccessSessio
nBean_rngrwj_EOImpl.findUserAccountInfo(OrgUserDataAccessSessionBean_rngrwj_
EOIm
pl.java:475)
at
com.eoriginal.engine.core.session.basicAccess.LoginSessionBean.valida
teLogin(LoginSessionBean.java:135)
at
com.eoriginal.engine.core.session.basicAccess.LoginSessionBean.valida
teLogin(LoginSessionBean.java:94)
at
com.eoriginal.engine.core.session.basicAccess.LoginSessionBean_moz7fh
EOImpl.validateLogin(LoginSessionBeanmoz7fh_EOImpl.java:37)
at
com.eoriginal.engine.core.session.basicAccess.LoginSessionBean_moz7fh
EOImplWLSkel.invoke(Unknown Source)
at
weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:274)
at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:22)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
(com.eoriginal.engine.core.session.basicAccess.LoginSessionBean_moz7fh_Impl:
:va
lidateLogin)>Have you tried the thick (oci) driver?
We're looking to upgrade too.
"Richard" <[email protected]> wrote:
>
I try to connect to an Oracle 9.2.0 on Windows XP with the jdbc thin
driver. I
use weblogic server 7.0 SP1 (same problem with weblogic server 7.0.0).
I try direct connection (without pool) or with the weblogic pool, and
I get the
same error :
java.lang.ArrayIndexOutOfBoundsException
at oracle.security.o3logon.C0.r(C0)
at oracle.security.o3logon.C0.l(C0)
at oracle.security.o3logon.C1.c(C1)
at oracle.security.o3logon.O3LoginClientHelper.getEPasswd(O3LoginClientH
elper)
at oracle.jdbc.ttc7.O3log.<init>(O3log.java:289)
at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:251)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:246)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va:365)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:201)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:140)
at weblogic.jdbc.common.internal.ResourceAllocator.makeResources(Resourc
eAllocator.java:931)
at weblogic.jdbc.common.internal.ResourceAllocator.finishInit(ResourceAl
locator.java:457)
at weblogic.jdbc.common.internal.ResourceAllocator.<init>(ResourceAlloca
tor.java:316)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:292)
at weblogic.jdbc.common.internal.JDBCService.addDeploymentx(JDBCService.
java:282)
at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.j
ava:270)
The same test works well with an Oracle 9.0 !
I have already try with this differents drivers :
8.1.7, 9.0 and 9.2 and I always have the same problem. -
Unknown CORBA minor code in CORBA Exception
If this is not the best forum for this Q, please advise.
I've been using the JDK ORB to do some CORBA programming for some time with no problems. I added a new operation to a server side object, rant the client side stuff througn idlj again, and am getting a CORBA BAD_OPERATION
exception when invoking this operation. I'm not sure if the source of the exception in on the server side or the client side. The exception major code is
0x4f490000, and minor code is 387.
The server ORB and naming service are both from ORB Express 2.6.3 from
Object Interface (www.ois.com). I am using JDK 1.5.0_05 running on
Windows XP Professional with Service Pack 2.
I'm seeking information regarding the meaning of minor code 387. Any help or advice will be appreciated. The full stack trace information is given
below. Thank you.
Dennis Newbold
==========================================================
Tst exception: org.omg.CORBA.BAD_OPERATION: vmcid: 0x4f490000 minor code: 387
completed: No
org.omg.CORBA.BAD_OPERATION: vmcid: 0x4f490000 minor code: 387 completed: No
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.getSystemEx
ception(MessageBase.java:897)
at com.sun.corba.se.impl.protocol.giopmsgheaders.ReplyMessage_1_0.getSys
temException(ReplyMessage_1_0.java:94)
at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.getSystemExce
ptionReply(CorbaMessageMediatorImpl.java:572)
at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.proce
ssResponse(CorbaClientRequestDispatcherImpl.java:430)
at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marsh
alingComplete(CorbaClientRequestDispatcherImpl.java:326)
at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaCl
ientDelegateImpl.java:129)
at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
at VehicleNVM._VehicleNVMAccessStub.readProtectedNVM(_VehicleNVMAccessSt
ub.java:169)
at JVehicleNVMDevice.readProtectedNVM(JVehicleNVMDevice.java:193)
at TestSuite.test6(DoTests.java:463)
at TestSuite.runTests(DoTests.java:477)
at DoTests.main(DoTests.java:492)It looks like it's coming from the server in a ServerException so it is probably an ORB Express code.
-
What tools are being used with WLS 5.1?
I have been experimenting with WLS 5.1 and it is clear that there are many
steps in developing, testing, and deploying EJBs. What tools are being
used? How do IBM's Visual Age, JBuilder 4, and Visual Cafe EE stack up?
Are there any tools for developing and debugging JSPs?
Thanks,
MikeHi folks,
about the "IBM VisualAge 3.02 (Integration Kit)" that Nirav mentions below...
Does this integration kit work with Visual Age 3.5? If not, do you have any tool recommendations for VA3.5 users who are developing apps for WebLogic5.1?
Thanks,
Janet
Nirav Chanchani <[email protected]> wrote:
Mike,
The level of integration between WLS and the tools is as follows (with
VisualCafe being the most integrated) --
1. VisualCafe Enterprise (or the WebGain Studio suite)
http://www.webgain.com/Products/index.htm
2. JBuilder 4 http://www.inprise.com/jbuilder/
3. IBM VisualAge 3.02 (Integration Kit beta up on BEA website)
http://commerce.beasys.com/downloads/weblogic_server.jsp#wlstools
All the integration's support development, local debugging, and local
deployment, but VisualCafe has wizards and like which generate code for the
J2EE specs that WLS supports.
I have read that JBuilder 4 supports JSP debugging but have not tried it yet.
Nirav.
Mike DiChiappari wrote:
I have been experimenting with WLS 5.1 and it is clear that there are many
steps in developing, testing, and deploying EJBs. What tools are being
used? How do IBM's Visual Age, JBuilder 4, and Visual Cafe EE stack up?
Are there any tools for developing and debugging JSPs?
Thanks,
Mike--
Nirav Chanchani
BEA Systems, Inc. -
N95 OSX Multimedia Transfer Issue error code 208
Hi I have the latest download of Multimedia Transfer (1.3) and my OSX is 10.4.11 every time I try to transfer files I get the error code 208 device refused the operation. This is very frustrating, this is my send N95 8gb and just after I uploaded my contacts into this one nearly all calls & texts come through with just the number & no identity.
I did not have either problem with my previous N95, can anyone assist please?
Matton phone, open music player. click options -> refresh library. wait a long, long time. 3.8GB will take a while. during this process you'll see a count of songs found.
you can't close music player while this happens, and it is a much longer wait than you might expect - so be sure you don't need to do anything with your phone for at least 30 minutes. put it on a charger if you can, it's a lot of sdcard access which is a power hog.
once this is done, the phone has an internal database of music - much like the Library.xml file in iTunes. just like itunes, copying music into the music folder doesn't make it show up in the music player - you must tell itunes to import the music into the library database. but after this painful period of waiting... the music player works very nicely and you only have to do this again if you add or remove music.
goodluck,
-bit
N95-1 ---> N97-NAM ---> N900 ---> E7-00 + N900 (I use them both)
(N95 was pretty good, N97 had potential but utterly failed to deliver, N900 is absurdly good. Those of you wondering, "should I try N900/Maemo/MeeGo"? The answer is a resounding YES) -
MINOR CODE: jms corba marshalling error
I have a JMS queue connection factory and queue deployed on Sun Application Server 8.2 that I am trying to access through jndi. I am able to look up the queues using JNDI when I run a command line test program. It sets the context using my jndi.properties file.
java.naming.factory.initial=com.sun.appserv.naming.S1ASCtxFactory
java.naming.provider.url=iiop://smosi-1:3360
b2bconnection.queueConnectionFactory=jms/B2BintegrationMDBDestinationFactory
b2bconnection.queueName=jms/B2BintegrationMDBBeanWhen I run the code from within another application server called pramati, I get the stack trace printed out below. Pramati is the application server from where I'm trying to access the JMS qeueus located on sun application server. It looks like a marshalling error. I did some digging around, and found out that I am able to read all of the objects from JNDI ( i.e. jms, jdbc, ejb, etc ) except for a mysterious context called __SYSTEM that is being used by the java libraries to load the jmsra resource adapter. This context can be loaded from the command line, but not within the pramati application server. Any attempt to load it gives the error below... If I can solve this, I'll be the star of the development team for sure. PLEASE help me if you can. Thanks.
Other things to note are that both servers have been configured to use the same JDK version, which is 1.4.2_12.
Aug 16, 2006 4:42:32 PM com.sun.corba.ee.impl.encoding.CDRInputStream_1_0 read_v
alue
WARNING: "IOP00810210: (MARSHAL) Error from readValue on ValueHandler in CDRInpu
tStream"
org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 210 completed: Maybe
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.valuehandlerRead
Error(ORBUtilSystemException.java:6646)
at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInput
Stream_1_0.java:1048)
at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInput
Stream_1_0.java:879)
at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_abstract_inter
face(CDRInputStream_1_0.java:873)
at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_abstract_inter
face(CDRInputStream_1_0.java:863)
at com.sun.corba.ee.impl.encoding.CDRInputStream.read_abstract_interface
(CDRInputStream.java:275)
at com.sun.corba.ee.impl.io.IIOPInputStream.readObjectDelegate(IIOPInput
Stream.java:363)
at com.sun.corba.ee.impl.io.IIOPInputStream.readObjectOverride(IIOPInput
Stream.java:526)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333)
at java.util.Hashtable.readObject(Hashtable.java:848)
at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.corba.ee.impl.io.IIOPInputStream.invokeObjectReader(IIOPInput
Stream.java:1694)
at com.sun.corba.ee.impl.io.IIOPInputStream.inputObject(IIOPInputStream.
java:1212)
at com.sun.corba.ee.impl.io.IIOPInputStream.simpleReadObject(IIOPInputSt
ream.java:400)
at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValueInternal(ValueHand
lerImpl.java:330)
at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.
java:296)
at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInput
Stream_1_0.java:1034)
at com.sun.corba.ee.impl.encoding.CDRInputStream.read_value(CDRInputStre
am.java:259)
at com.sun.corba.ee.impl.io.IIOPInputStream.inputObjectField(IIOPInputSt
ream.java:1989)
at com.sun.corba.ee.impl.io.IIOPInputStream.inputClassFields(IIOPInputSt
ream.java:2213)
at com.sun.corba.ee.impl.io.IIOPInputStream.inputObject(IIOPInputStream.
java:1221)
at com.sun.corba.ee.impl.io.IIOPInputStream.simpleReadObject(IIOPInputSt
ream.java:400)
at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValueInternal(ValueHand
lerImpl.java:330)
at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.
java:296)
at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInput
Stream_1_0.java:1034)
at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInput
Stream_1_0.java:879)
at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_abstract_inter
face(CDRInputStream_1_0.java:873)
at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_abstract_inter
face(CDRInputStream_1_0.java:863)
at com.sun.corba.ee.impl.encoding.CDRInputStream.read_abstract_interface
(CDRInputStream.java:275)
at com.sun.corba.ee.impl.io.IIOPInputStream.readObjectDelegate(IIOPInput
Stream.java:363)
at com.sun.corba.ee.impl.io.IIOPInputStream.readObjectOverride(IIOPInput
Stream.java:526)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333)
at java.util.Hashtable.readObject(Hashtable.java:848)
at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.corba.ee.impl.io.IIOPInputStream.invokeObjectReader(IIOPInput
Stream.java:1694)
at com.sun.corba.ee.impl.io.IIOPInputStream.inputObject(IIOPInputStream.
java:1212)
at com.sun.corba.ee.impl.io.IIOPInputStream.simpleReadObject(IIOPInputSt
ream.java:400)
at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValueInternal(ValueHand
lerImpl.java:330)
at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.
java:296)
at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInput
Stream_1_0.java:1034)
at com.sun.corba.ee.impl.encoding.CDRInputStream.read_value(CDRInputStre
am.java:259)
at com.sun.corba.ee.impl.io.IIOPInputStream.inputObjectField(IIOPInputSt
ream.java:1989)
at com.sun.corba.ee.impl.io.IIOPInputStream.inputClassFields(IIOPInputSt
ream.java:2213)
at com.sun.corba.ee.impl.io.IIOPInputStream.inputObject(IIOPInputStream.
java:1221)
at com.sun.corba.ee.impl.io.IIOPInputStream.simpleReadObject(IIOPInputSt
ream.java:400)
at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValueInternal(ValueHand
lerImpl.java:330)
at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.
java:296)
at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInput
Stream_1_0.java:1034)
at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInput
Stream_1_0.java:879)
at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_abstract_inter
face(CDRInputStream_1_0.java:873)
at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_abstract_inter
face(CDRInputStream_1_0.java:863)
at com.sun.corba.ee.impl.encoding.CDRInputStream.read_abstract_interface
(CDRInputStream.java:275)
at com.sun.corba.ee.impl.io.IIOPInputStream.readObjectDelegate(IIOPInput
Stream.java:363)
at com.sun.corba.ee.impl.io.IIOPInputStream.readObjectOverride(IIOPInput
Stream.java:526)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333)
at java.util.Hashtable.readObject(Hashtable.java:848)
at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.corba.ee.impl.io.IIOPInputStream.invokeObjectReader(IIOPInput
Stream.java:1694)
at com.sun.corba.ee.impl.io.IIOPInputStream.inputObject(IIOPInputStream.
java:1212)
at com.sun.corba.ee.impl.io.IIOPInputStream.simpleReadObject(IIOPInputSt
ream.java:400)
at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValueInternal(ValueHand
lerImpl.java:330)
at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.
java:296)
at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInput
Stream_1_0.java:1034)
at com.sun.corba.ee.impl.encoding.CDRInputStream.read_value(CDRInputStre
am.java:259)
at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl$14
.read(DynamicMethodMarshallerImpl.java:333)
at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl.re
adResult(DynamicMethodMarshallerImpl.java:424)
at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invo
ke(StubInvocationHandlerImpl.java:133)
at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(Unkno
wn Source)
at com.sun.enterprise.naming._SerialContextProvider_DynamicStub.list(_Se
rialContextProvider_DynamicStub.java)
at com.sun.enterprise.naming.SerialContext.list(SerialContext.java:478)
at javax.naming.InitialContext.list(InitialContext.java:395)
at com.sun.b2b.connection.B2BConnector.printContext(B2BConnector.java:72
Message was edited by:
queperknuckleTried with following error,
String orbArgs[] = new String[] { "-ORBInitRef", nameService };
java.util.Properties props = System.getProperties();
props.put("org.omg.CORBA.ORBClass", "com.iona.corba.art.artimpl.ORBImpl");
props.put("org.omg.CORBA.ORBSingletonClass", "com.iona.corba.art.artimpl.ORBSingleton");
// create and initialize the ORB
orb = ORB.init(orbArgs, props);
But now received,
org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation com.iona.corba.art.artimpl.ORBImpl vmcid: 0x0 minor code: 0 completed: No
at org.omg.CORBA.ORB.create_impl(ORB.java:297)
at org.omg.CORBA.ORB.init(ORB.java:336)
Please help. -
LDAPRealm with WLS 6.0 example?
Hi,
Since BEA does not provide an example, can anyone on this group suggest a simple
experiment to try and get an LDAPRealm working with WLS 6.0?
My situation: I have read-only access to a remote LDAP server, and I am trying
to write a JSP page that will simply access the server and verify that a username
specified is listed in the LDAP server. Can someone provide a sample code snippet
to do this?
Thanks in advance,
Vasuki.Can anyone tell me the difference between the config.xml file and the ldaprealm.properties
file? They seem to have a lot of the same configuration parameters..
"Jon Wilmoth" <[email protected]> wrote:
>
>
I have also used the RDBMS realm successfully in the past and am now
=
trying to get up to speed on the LDAP realm. The biggest thing that
I'm =
struggling with now is I don't know the expected schema structure for
my =
ldap db. It would be helpful if BEA could give us an example LDIF file.
=
=20
Jon
--=20
Jon Wilmoth
Software Architect
eSage Group
(206) 264-5675 (Voice & Fax)
[email protected]
http://www.esagegroup.com
<[email protected]> wrote in message =
news:[email protected]...
Do you have the user "system" defined in your LDAP server? If so,
=
does if have admin or read/write permission on all objects?=20
Jerrie=20
=
==20I tried using your example. I do not get any error messages but my
=
server does
not come up. It looks like it hangs trying to connect to the LDAP
=
server. Any
suggestions for debugging? Thanks
"Satya Ghattu" <[email protected]> wrote:
Vasuki,
here's an example of what you should have in your config.xml file.
<Realm
Name=3D"defaultRealm"
FileRealm=3D"defaultFileRealm"
CachingRealm=3D"defaultCachingRealm"
/>
<CachingRealm
Name=3D"defaultCachingRealm"
BasicRealm=3D"myldaprealm"
/>
<LDAPRealm
Name=3D"myldaprealm"
LDAPURL=3D"ldap://ldapserver:389"
Principal=3D"uid=3Dadmin, ou=3DAdministrators, =ou=3DTopologyManagement,
o=3DNetscapeRoot"
Credential=3D"MyLDAPCredential"
AuthProtocol=3D"simple"
UserAuthentication=3D"local"
UserDN=3D"o=3Dairius.com,ou=3DPeople"
UserNameAttribute=3D"uid"
UserPasswordAttribute=3D"userpassword"
GroupDN=3D"o=3Dairius.com,ou=3DGroups"
GroupNameAttribute=3D"cn"
GroupIsContext=3D"false"
GroupUsernameAttribute=3D"uniquemember"
/>
let us know if you still come across with any problems...
Thanks
-satya
Vasuki Seshadri <[email protected]> wrote in message
news:[email protected]...
Hi,
Since BEA does not provide an example, can anyone on this group
=
suggest
a
simple
experiment to try and get an LDAPRealm working with WLS 6.0?
My situation: I have read-only access to a remote LDAP server, andI am
trying
to write a JSP page that will simply access the server and verify
=
that
a
username
specified is listed in the LDAP server. Can someone provide a =
sample
code
snippet
to do this?
Thanks in advance,
Vasuki.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4807.2300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I have also used the RDBMS realm =
successfully in=20
the past and am now trying to get up to speed on the LDAP realm.
=
The=20
biggest thing that I'm struggling with now is I don't know the expected
=
schema=20
structure for my ldap db. It would be helpful if BEA could
=
give us an=20
example LDIF file. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Jon<BR>--=20
<BR>************************************************<BR>Jon =
Wilmoth<BR>Software=20
Architect<BR>eSage Group<BR>(206) 264-5675 (Voice & Fax)<BR><A
=
href=3D"mailto:[email protected]">[email protected]</A><BR><A=
=20
href=3D"http://www.esagegroup.com">http://www.esagegroup.com</A></FONT></=
DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV><<A=20
=
href=3D"mailto:[email protected]">[email protected]</A>&g=
t;=20
wrote in message <A=20
=
href=3D"news:[email protected]">news:[email protected]=
a.com</A>...</DIV><BR><FONT=20
face=3Dsans-serif size=3D1>Do you have the user "system" defined in
=
your LDAP=20
server? If so, does if have admin or read/write permission on
=
all=20
objects?</FONT> <BR><BR><FONT face=3Dsans-serif size=3D1>Jerrie</FONT>
=
<BR><BR><FONT face=3Dsans-serif=20
=
size=3D1>>>>>>>>>>>>>>>>>=
&=gt;>>>>>>>>>>>>>>>>>&g=
t;>>>>>>>>>>>>>>>>>>=
;>>>>>>>>>>>>>>>>>>=
</FONT>=20<BR><BR><FONT face=3D"Courier New" size=3D2>I tried using your =
example. I do=20
not get any error messages but my server does<BR>not come up. It
=
looks=20
like it hangs trying to connect to the LDAP server. =
Any<BR>suggestions=20
for debugging? Thanks<BR><BR>"Satya Ghattu"=20
<[email protected]> =
wrote:<BR>>Vasuki,<BR>>here's an=20
example of what you should have in your config.xml=20
file.<BR>><BR>><Realm<BR>> =
Name=3D"defaultRealm"<BR>>=20
=
FileRealm=3D"defaultFileRealm"<BR>>CachingRealm=3D"defaultCachin=
gRealm"<BR>>=20
/><BR>><BR>> <CachingRealm<BR>>=20
Name=3D"defaultCachingRealm"<BR>>=20
BasicRealm=3D"myldaprealm"<BR>> /><BR>><BR>>=20
<LDAPRealm<BR>> Name=3D"myldaprealm"<BR>>=20
LDAPURL=3D"ldap://ldapserver:389"<BR>> =
Principal=3D"uid=3Dadmin,=20
ou=3DAdministrators, =
ou=3DTopologyManagement,<BR>>o=3DNetscapeRoot"<BR>>=20
Credential=3D"MyLDAPCredential"<BR>>=20
AuthProtocol=3D"simple"<BR>> =
UserAuthentication=3D"local"<BR>>=20
UserDN=3D"o=3Dairius.com,ou=3DPeople"<BR>>=20
UserNameAttribute=3D"uid"<BR>>=20
UserPasswordAttribute=3D"userpassword"<BR>>=20
GroupDN=3D"o=3Dairius.com,ou=3DGroups"<BR>>=20
GroupNameAttribute=3D"cn"<BR>> =
GroupIsContext=3D"false"<BR>>=20
GroupUsernameAttribute=3D"uniquemember"<BR>> =
/><BR>><BR>>let=20
us know if you still come across with any=20
problems...<BR>>Thanks<BR>>-satya<BR>><BR>>Vasuki Seshadri
=
<[email protected]> wrote in=20
=
message<BR>>news:[email protected]...<BR>>><BR>>&=
gt;=20
Hi,<BR>>><BR>>> Since BEA does not provide an example,
can =
anyone=20
on this group suggest<BR>>a<BR>>simple<BR>>> experiment
to =
try and=20
get an LDAPRealm working with WLS 6.0?<BR>>><BR>>> My =
situation: I=20
have read-only access to a remote LDAP server, and<BR>>I=20
am<BR>>trying<BR>>> to write a JSP page that will simply =
access the=20
server and verify that<BR>>a<BR>>username<BR>>> specified
=
is=20
listed in the LDAP server. Can someone provide a=20
sample<BR>>code<BR>>snippet<BR>>> to do=20
this?<BR>>><BR>>> Thanks in advance,<BR>>>=20
Vasuki.<BR><BR>><BR>><BR><BR></BLOCKQUOTE></FONT></BODY></HTML> -
UNKNOWN: vmcid: SUN minor code: 202
The idl of the method is:
void myMethod(in string param1, in string param2, in long param3, in long long param4) raises (anException);
The problem occure when the two string parameters are empty (not null, but empty).
org.omg.CORBA.UNKNOWN: vmcid: SUN minor code: 202 completed: Maybe
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:306)
at java.lang.Class.newInstance(Class.java:259)
at com.sun.corba.se.internal.iiop.messages.ReplyMessage_1_2.getSystemException(ReplyMessage_1_2.java:90)
at com.sun.corba.se.internal.iiop.ClientResponseImpl.getSystemException(ClientResponseImpl.java:105)
at com.sun.corba.se.internal.POA.GenericPOAClientSC.invoke(GenericPOAClientSC.java:129)
at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
at conferencing._UnitListenerStub.myMethod(_UnitListenerStub.java:61)
XP Pro, J2SE 1.4.1_01 on the caller side
XP Pro, J2SE 1.4.1-b21 on the called side
Both application run on the same machine for the test
What's wrong with empty String ?Empty string is just fine.
What is probably happening is that server is failing either a) before reaching servant ( server object ) or b) after reaching server object. In this case the exception will be 'unknown' in client side. Try turning on debug for server and checking trace for messages.
- Jim
Maybe you are looking for
-
My phone was sitting on the table, with nothing turned on, and all of a sudden it sounds like there is air coming out of my speakers. It does this for 1 minute straight, then will stop. When I pick it up, then set it back down, it does it again. HEL
-
Render framemaker files in Documentum Content Server to pdf
Is there a third party tool available which can communicate with Documentum Document transformation service to convert a framemaker file or book to pdf?
-
Problem uploading site to server by FTP - index page is blank
Hi, I made my site in I web which works fine when simulating it in a local folder. When uploading by FTP to the server from a host where a rent my domain the program starts sending the files, but in the end it says publication error, try again later
-
HI All, I have a question. I have written a sample java program that will create an xml file. The program works properly, but the generated xml is not formatted. How can i format the xml file. The java program code is package com.spi.xml; import java
-
Developer Mode Exception encountered in item EffectiveFrom Error
In Oracle apps , When I click on Configurator Developer, I get this error on the very first page : Developer Mode Exception encountered in item EffectiveFrom Error: The item EffectiveFrom has a type (DATETIME) which is incompatible with the associate