Org.omg.CORBA.InterfaceDef -- Where is it?
I cannot seem to locate the documentation on org.omg.CORBA.InterfaceDef. An instance of this class, apparently a subclass of org.omg.CORBA.Object, is returned by the get_interface_def() method on each CORBA.Object. It does not seem to be present in the org.omg.CORBA package (class, source, or javadoc). What happen to this dude? I am speaking of 1.3.x API level.
I had the same problem when I was trying to develop an Interface Repository browser. It's not in the Java SDK packages, but comes with your ORB. The JavaIDL ORB in 1.3 doesn't have an IR, so no interface! Try downloading an open source Java ORB, like JacORB or OpenORB.
Similar Messages
-
NoClassDefFound org/omg/CORBA/UserException
I am attempting to install IFS 1.0.8 for a new instance on a Unix server 2.7 that already has an existing IFS 1.0.8 install against another database.
Following the creation of the second ORACLE_HOME, second instance, and the installing IFS, I attempt to run ifsconfig.
During ifsconfig I consistently receive the error NoClassDefFound error: org/omg/CORBA/UserException
This causes the ifs configuration to fail and therefore the successful install of IFS to fail.
Please help !!
nullDid you do a custom install of the 816 Database? If so please try the following.
If a "Custom" installation of Oracle 8.1.6 was done
with no installation of the OEM components (or at least
not all of them). Then the following is the minumum set of
additional installations which must be performed in order to
install the files which iFS depends on.
Perform the following steps on your Unix machine where you have
installed Oracle 8.1.6.
- Verify that you the following files are NOT present in
$ORACLE_HOME/lib (which causes the problem):
+ vbjorb.jar
+ vbjapp.jar
+ vbjtools.jar
- Run the Oracle Universal Installer for 8.1.6 by executing
./RunInstaller from your Installation CD
On the Available Products page, choose
"Oracle8i Enterprise Edition 8.1.6.0.0", and select Next
On the "Installation Types" Page, choose
"Custom", and select Next
On the "Available Product Components" page, choose
"Oracle Enterprise Manager Products 8.1.6.0.0"
"Oracle Enterprise Manager Client 2.1.0.0.0"
"Oracle Enterprise Manager DBA Management Pack"
You may deselect all other options, and select Next
On the Summary page, verify that under "New Installations" is
visigenics ORB 3.4" (among other items)
Select "Install" to complete the installation
After the installation is complete, verify that in your $ORACLE_HOME/lib
the following files ARE present:
+ vbjorb.jar
+ vbjapp.jar
+ vbjtools.jar
Rerun the Internet File System Configuration Assistant, by executing:
$ORACLE_HOME/ifs/bin/ifsconfig
Thank You.
Brian -
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 -
J2ee tutorial on Windows 98 - runclient error org.omg.CORBA:NO_PERMISSION
I am using Win98...I have successfully run J2ee , deployement tool, and can run Web clients for the examples. However my runclient utility is giving errors.
javax.naming.CommunicationException: org.omg.CORBA.NO_PERMISSION: minor code:
0 completed: No
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at com.sun.corba.ee.internal.iiop.messages.ReplyMessage_1_2.getSystemExc
eption(ReplyMessage_1_2.java:93)
I am enclosing the codes for my .bat files.
J2EE.BAT FILE CONTENTS:
@echo off
rem
rem Set JAVA_HOME and J2EE_HOME before running this script.
rem
rem set JAVA_HOME to the path where you have Java 2 (JDK1.2) installed.
rem
rem set J2EE_HOME to the path where you have installed this package (EJB server).
rem
if not "%J2EE_HOME%" == "" goto CONT0
echo ERROR: Set J2EE_HOME before running this script.
goto END
:CONT0
if EXIST "%J2EE_HOME%\bin\setenv.bat" goto CONT1
echo ERROR: Set J2EE_HOME to the path of a valid j2sdkee.
goto END
:CONT1
call %J2EE_HOME%\bin\setenv.bat
if not "%JAVA_HOME%" == "" goto CONT2
echo ERROR: Set JAVA_HOME before running this script.
goto END
:CONT2
if EXIST "%JAVA_HOME%\bin\java.exe" goto CONT3
echo ERROR: Set JAVA_HOME to the path of a valid jdk.
goto END
:CONT3
rem @echo on
rem for win98 %JAVACMD% %LISTEN_OPTIONS% -Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter -Dorg.xml.sax.driver=org.apache.crimson.parser.XMLReaderImpl -Djms.home=%JMS_HOME% -Dcom.sun.jms.service.jdbc.dbpath=%JMS_DB_PATH% -Djms.properties=%J2EE_HOME%\config\jms_service.properties -Djava.security.policy==%J2EE_HOME%\lib\security\server.policy -Djava.security.auth.login.config=%J2EE_HOME%\lib\security\login.config -Dcom.sun.enterprise.home=%J2EE_HOME% -classpath %CPATH% com.sun.enterprise.server.J2EEServer %*
@echo on
%JAVACMD% -D%SSL_A%=%SSL_B% -D%JAAS_A%=%JAAS_B% -D%LISTEN_A%=%LISTEN_B% -Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter -Dorg.xml.sax.driver=org.apache.crimson.parser.XMLReaderImpl -Djms.home=%JMS_HOME% -Dcom.sun.jms.service.jdbc.dbpath=%JMS_DB_PATH% -Djms.properties=%J2EE_HOME%\config\jms_service.properties -Djava.security.policy=%J2EE_HOME%\lib\security\server.policy -Djava.security.auth.login.config=%J2EE_HOME%\lib\security\login.config -Dcom.sun.enterprise.home=%J2EE_HOME% -classpath %CPATH% com.sun.enterprise.server.J2EEServer %
cd c:\j2sdkee1.3\bin
:END
SETENV.BAT FILE CONTENTS:
rem
rem Set JAVA_HOME and J2EE_HOME before running this script.
rem
rem first include user-specified definitions.
call %J2EE_HOME%\bin\userconfig.bat
if "%JMS_HOME%" == "" set JMS_HOME=%J2EE_HOME%
set LIBDIR=%J2EE_HOME%\lib
set LOCALEDIR=%J2EE_HOME%\lib\locale
set CLOUDSCAPE_INSTALL=%LIBDIR%\cloudscape
set CLASSESDIR=%LIBDIR%\classes
set JMS_CLASSESDIR=%JMS_HOME%\classes
set J2EEJARS=%LIBDIR%\j2ee.jar
set JAVATOOLS=%JAVA_HOME%\lib\tools.jar
set JAVAHELPJARS=%LIBDIR%\jhall.jar
rem JMS DB PATH must end in slash to specify a directory
set JMS_DB_PATH=%J2EE_HOME%\repository\%COMPUTERNAME%\db\
set SYSTEM_LIB_DIR=%LIBDIR%\system
set JMS_RI_JDBC=%SYSTEM_LIB_DIR%\cloudscape.jar;%SYSTEM_LIB_DIR%\tools.jar
set CLOUDJARS=%JMS_RI_JDBC%;%CLOUDSCAPE_INSTALL%\RmiJdbc.jar;%CLOUDSCAPE_INSTALL%\cloudclient.jar
set CPATH=%CLOUDJARS%;%CLASSESDIR%;%JMS_CLASSESDIR%;%J2EEJARS%;%LOCALEDIR%;%J2EE_CLASSPATH%;%JAVATOOLS%;%JAVAHELPJARS%
rem for win98 set JAAS_OPTIONS=-Djava.security.auth.policy=%J2EE_HOME%\lib\security\jaas.policy
rem for win98 set SSL_OPTIONS=-Djavax.net.ssl.trustStore=%J2EE_HOME%\lib\security\cacerts.jks
rem set LISTEN_OPTIONS=-Dcom.sun.CORBA.connection.ORBListenSocket=SSL:0,SSL_MUTUALAUTH:0,PERSISTENT_SSL:1060
rem for win98 set JAVACMD=%JAVA_HOME%\bin\java -Xmx128m %SSL_OPTIONS% %JAAS_OPTIONS%
set JAAS_A=java.security.auth.policy
set JAAS_B=%J2EE_HOME%\lib\security\jaas.policy
set SSL_A=javax.net.ssl.trustStore
set SSL_B=%J2EE_HOME%\lib\security\cacerts.jks
rem set LISTEN_A=-Dcom.sun.CORBA.connection.ORBListenSocket
set LISTEN_A=com.sun.CORBA.connection.ORBSocketFactoryClass
set LISTEN_B=SSL:0,SSL_MUTUALAUTH:0,PERSISTENT_SSL:1060
@echo on
set JAVACMD=%JAVA_HOME%\bin\java -Xmx128m
RUNCLIENT.BAT FILE CONTENTS:
@echo off
rem
rem Set JAVA_HOME and J2EE_HOME before running this script.
rem
rem set JAVA_HOME to the path where you have Java 2 (JDK1.2) installed.
rem
rem set J2EE_HOME to the path where you have installed this package (EJB server).
rem
if not "%J2EE_HOME%" == "" goto CONT0
echo ERROR: Set J2EE_HOME before running this script.
goto END
:CONT0
if EXIST "%J2EE_HOME%\bin\setenv.bat" goto CONT1
echo ERROR: Set J2EE_HOME to the path of a valid j2sdkee.
goto END
:CONT1
call %J2EE_HOME%\bin\setenv.bat
if not "%JAVA_HOME%" == "" goto CONT2
echo ERROR: Set JAVA_HOME before running this script.
goto END
:CONT2
if EXIST "%JAVA_HOME%\bin\java.exe" goto CONT3
echo ERROR: Set JAVA_HOME to the path of a valid jdk.
goto END
:CONT3
@echo on
%JAVACMD% -D%SSL_A%=%SSL_B% -D%JAAS_A%=%JAAS_B% -D%LISTEN_A%=%LISTEN_B% %VMARGS% -Djms.home=%JMS_HOME% -Djms.properties=%J2EE_HOME%\config\jms_client.properties -Djava.security.policy=%J2EE_HOME%\lib\security\client.policy -Djava.security.auth.login.config=%J2EE_HOME%\lib\security\login.config -Dcom.sun.enterprise.home=%J2EE_HOME% -classpath %CPATH%;%APPCPATH% com.sun.enterprise.appclient.Main %1 %2 %3 %4
:ENDI am answering my own question, I have all the bat files to successfully run J2ee on windows 98. Mail me at [email protected]
-
Unable to create reference: org.omg.CORBA.OBJ_ADAPTER
What is causing this error? I believe it is a configuration error, but I cannot discern what it is.
Setup:
I have two beans: a User entity bean, and a UserWrapper stateful session bean.
Execution:
My testing client-code looks up the UserWrapper EJB and creates a new object. In the UserWrapper ejbCreate method I am attempting to obtain a reference to a specific User by looking up the User EJB and calling its findByPrimaryKey method.
Everything works fine right up until the UserWrapper.ejbCreate method is ready to close; I catch this exception:
RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: nested exception is: java.lang.RuntimeException:
Unable to create reference org.omg.CORBA.OBJ_ADAPTER: vmcid: SUN minor code: 1015 completed: No;
Observations:
User.ejbFindByPrimaryKey(UserPK pk) is NOT throwing ANY EXCEPTIONS! The error is passed to UserWrapper.ejbCreate from the container, or so it seems, but I am relatively positive it is not orginiating from the finder method. At this time the User.ejbFindByPrimaryKey method only returns the primary key object.
UserWrapper.ejbCreate code:
public void ejbCreate(String usrnm, String pswrd) throws CreateException {
// instance variables
UserHome userHome = null;
// implementation
try {
// obtain an instance of the EJBHomeFactory and have it return an
// instance of the UserHome interface
userHome = (UserHome)EJBHomeFactory.getInstance().lookup(
"ejb/User", net.cmpro.app.entity.user.UserHome.class);
// request the container supply a User object for the specified
// primary key object
this.user = userHome.findByPrimaryKey(new UserPK(usrnm, pswrd));
catch(FinderException e) {
throw new CreateException(e.toString());
catch(RemoteException e) {
throw new EJBException(e.toString(), e);
}Need a little help here. I'm getting very frustrated because I've never had this problem before.
Thanks for any advice, no matter how off the wall it is.Yes, it is. This returns an EJBHome object from a cache. I picked this up from the IBM website. It is very handy. The method in question is as follows:
public EJBHome lookup(String jndi, Class home) throws EJBException {
// instance variables
EJBHome ejbHome = null;
Object obj = null;
// implementation
try {
// looks for the interface in the collection by class
ejbHome = (EJBHome)interfaces.get(home);
if(ejbHome == null) {
// looks up the interface by its JNDI name
obj = context.lookup(jndi);
// casts the returned object into the interface desired
ejbHome = (EJBHome)PortableRemoteObject.narrow(obj, home);
// put the newly retreived interface into the collection and
// list it by its class never use the interfaces JNDI name
// because a single EJB object could have multiple JNDI names
interfaces.put(home, ejbHome);
catch(ClassCastException e) {
throw new EJBException(e.toString());
catch(NamingException e) {
throw new EJBException(e.toString(true), e);
return ejbHome;
} -
Hi,
I have a stupid CORBA error, can someone please help me to have a clue why this client gives me a hart time?
Properties props = new Properties();
props.put("org.omg.CORBA.ORBInitialPort", "1570");
props.put("org.omg.CORBA.ORBInitialHost", "192.168.10.44");
ORB orb = ORB.init(args, props);
org.omg.CORBA.Object obj = orb.resolve_initial_references("NameService");
NamingContextExt ctx = NamingContextExtHelper.narrow(obj);
org.omg.CORBA.BAD_OPERATION: vmcid: 0x2000 minor code: 2049 completed: No
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.getSystemException(Unknown Source)
at com.sun.corba.se.impl.protocol.giopmsgheaders.ReplyMessage_1_0.getSystemException(Unknown Source)
at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(Unknown Source)
at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(Unknown Source)
at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(Unknown Source)
at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(Unknown Source)
at com.sun.corba.se.impl.resolver.BootstrapResolverImpl.invoke(Unknown Source)
at com.sun.corba.se.impl.resolver.BootstrapResolverImpl.resolve(Unknown Source)
at com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(Unknown Source)
at com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(Unknown Source)
at com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(Unknown Source)
at com.sun.corba.se.impl.orb.ORBImpl.resolve_initial_references(Unknown Source)I too have the same error my friend.
I am trying to call a remote method of an entity bean when I get the same org.omg.CORBA.BAD_OPERATION message. -
Hi,
We are using a ejb to connect to corba server (tuxedo) at the backend , in most cases things are fine , but if the server takes more than 65 - 75 secs the above error occurs. The processing at the backend completes just fine ..
We are not using network access points. I have tried setting the following properties to no avail
IdleIIOPConnectionTimeout="300"
CompleteIIOPMessageTimeout="300"
The ejb is invoked via a jsp. The code snippet to invoke the corba server is as follows
//Use the factory finder to find the connection factory. Replace
// here with appropriate connection factory
org.omg.CORBA.Object connection_fact_oref = IIOPFactory.getFactoryFinder().find_one_factory_by_id(TxnConnectionFactoryHelper.id());
// Narrow the connection factory.
TxnConnectionFactory connection_factory_ref = TxnConnectionFactoryHelper.narrow(connection_fact_oref);
// Find the connection object.
TxnConnection connection = connection_factory_ref.getTxnConnection();
recv_buff = new byte[Constants.XML_BUFF_LEN];
//Prepare for the output
org.omg.CORBA.StringHolder buf = new org.omg.CORBA.StringHolder(new String(recv_buff));
//Invoke the neccessary method
TXNMON.MessageHolder msgHldr = new TXNMON.MessageHolder(new TXNMON.Message(sb));
int arrayLength = sb.length;
connection.sendByteMessage(arrayLength, msgHldr);
Meanwhile we are trying to reduce the server processing time ...
This is ruining my XMas, any help will be greatly appreciated.
Thanks,
GeorgeSabarinath Kundoor <> writes:
Are you using WTC? WTC connections should never be timed out. Its
possible this is coming from the WTC layer, or maybe the gateway
process is closing the connection. What version of WLS and Tux?
andy
Hi,
We are using a ejb to connect to corba server (tuxedo) at the backend , in most cases things are fine , but if the server takes more than 65 - 75 secs the above error occurs. The processing at the backend completes just fine ..
We are not using network access points. I have tried setting the following properties to no avail
IdleIIOPConnectionTimeout="300"
CompleteIIOPMessageTimeout="300"
The ejb is invoked via a jsp. The code snippet to invoke the corba server is as follows
//Use the factory finder to find the connection factory. Replace
// here with appropriate connection factory
org.omg.CORBA.Object connection_fact_oref = IIOPFactory.getFactoryFinder().find_one_factory_by_id(TxnConnectionFactoryHelper.id());
// Narrow the connection factory.
TxnConnectionFactory connection_factory_ref = TxnConnectionFactoryHelper.narrow(connection_fact_oref);
// Find the connection object.
TxnConnection connection = connection_factory_ref.getTxnConnection();
recv_buff = new byte[Constants.XML_BUFF_LEN];
//Prepare for the output
org.omg.CORBA.StringHolder buf = new org.omg.CORBA.StringHolder(new String(recv_buff));
//Invoke the neccessary method
TXNMON.MessageHolder msgHldr = new TXNMON.MessageHolder(new TXNMON.Message(sb));
int arrayLength = sb.length;
connection.sendByteMessage(arrayLength, msgHldr);
Meanwhile we are trying to reduce the server processing time ...
This is ruining my XMas, any help will be greatly appreciated.
Thanks,
George -
Org.omg.CORBA.Any
Hi there
I'm not sure if this is the right forum to post my question on but if not just ignore it.
In many EJB examples people use the corba class Any.
My q is: how can I get the type of an Any object?
Please have a look at the following code:
ORB orb = ORB.init();
org.omg.CORBA.Any anytest = orb.create_any();
anytest.insert_string("mystring");
TypeCode tc = anytest.type();
Now how can I get back that the type is String??
Regards
BrianHi
I dont think extract_TypeCode is the right method according to javadoc extract_TypeCode extracts the TypeCode object in this Any object's value field.
BAD_OPERATION will be thrown - if this Any object contains something other than a TypeCode object.
In my case the Any object might contain anything and not a TypeCode.
Extract_string does give you a string but you need to know in advance that the Any object contain a string type..
What if I dont know??
Regards
Brian -
Org.omg.CORBA.OBJ_ADAPTER
Hi
When i am trying to run my bmp application i am getting the following error. Please help.
IOP5012 Unable to create reference org.omg.CORBA.OBJ_ADAPTER Sun minor code vmcid:1015....
Regards,
Nagaraju.KVhi,
have you solde the problem I have the same.
thanks -
DACF,BC4J,EJB,Java Web Start: org.omg.CORBA.INITIALIZE
Hi,
I'm trying to use Java Web Start with DACF-application having AMs deployed as Session EJB to O9IAS 1.0.2.0.0 NT.
During opening first iiop-session I get the error:
java.lang.ExceptionInInitializerError: org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation com.visigenic.vbroker.orb.ORB minor code: 0 completed: No
at org.omg.CORBA.ORB.create_impl(Unknown Source)
at org.omg.CORBA.ORB.<clinit>(Unknown Source)
at oracle.aurora.jndi.orb_dep.Orb.init(Orb.java:287)
at oracle.aurora.jndi.orb_dep.IRFinder.getObject(IRFinder.java:75)
at oracle.aurora.jndi.orb_dep.IRFinder.getInitialReference(IRFinder.java:124)
at oracle.aurora.jndi.sess_iiop.SessionCtx.initialContext(SessionCtx.java:637)
at oracle.aurora.jndi.sess_iiop.SessionCtx.<init>(SessionCtx.java:67)
at oracle.aurora.jndi.sess_iiop.ServiceCtx.createSession(ServiceCtx.java:161)
at oracle.aurora.jndi.sess_iiop.ServiceCtx.createSession(ServiceCtx.java:177)
at oracle.aurora.jndi.sess_iiop.ServiceCtx.createSubcontext(ServiceCtx.java:205)
at oracle.aurora.jndi.sess_iiop.ServiceCtx.createSubcontext(ServiceCtx.java:189)
at oracle.jbo.client.remote.ejb.aurora.AuroraEJBAmHomeImpl.createSession(AuroraEJBAmHomeImpl.java:155)
at oracle.jbo.client.remote.ejb.aurora.AuroraEJBAmHomeImpl.initRemoteHome(AuroraEJBAmHomeImpl.java:125)
at oracle.jbo.client.remote.ejb.aurora.AuroraEJBAmHomeImpl.<init>(AuroraEJBAmHomeImpl.java:59)
at oracle.jbo.client.remote.ejb.aurora.AuroraEJBInitialContext.createJboHome(AuroraEJBInitialContext.java:47)
at oracle.jbo.common.JboInitialContext.lookup(JboInitialContext.java:72)
at javax.naming.InitialContext.lookup(InitialContext.java:276)
at oracle.dacf.dataset.connections.Connection._createAppModule(Connection.java:256)
at oracle.dacf.dataset.connections.Connection.connect(Connection.java:169)
at oracle.dacf.dataset.SessionInfo.connect(SessionInfo.java:1771)
at oracle.dacf.dataset.DbAccessImpl.connect(DbAccessImpl.java:450)
at oracle.dacf.control.swing.LoginDlg._connectToDB(LoginDlg.java:1754)
at oracle.dacf.control.swing.LoginDlg._okButtonClicked(LoginDlg.java:1689)
Could anybody comment the case and/or propose a workaround ?
(or even say that this works in someone's implementation)
Thanks,
Arkadi<<
java.lang.ExceptionInInitializerError: org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation
com.visigenic.vbroker.orb.ORB minor code: 0 completed: No
<<
com.visigenic.vbroker.orb.ORB is part of vbjorb.jar. make sure this file is listed in your archive tag. The jar file can be found in the lib directory of JDev installation
null -
IOP00010202 org.omg.CORBA.UNKNOWN: vmcid: SUN minor code: 202
Hi,
I try to make a servlet call a method of an EJB that return an object. After the execution of the method (during the object result return I get th exception below.
Any idea ???
Thanks
Didier
[#|2004-10-28T15:54:09.424+0200|WARNING|sun-appserver-pe8.1|javax.enterprise.resource.corba.S1AS-ORB.rpc.protocol|_ThreadID=11;|"IOP00010202: (UNKNOWN) Unknown user exception thrown by the server - exception: java.lang.ClassCastException; message: null"
org.omg.CORBA.UNKNOWN: vmcid: SUN minor code: 202 completed: Maybe
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.runtimeexception(ORBUtilSystemException.java:8508)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.convertThrowableToSystemException(CorbaMessageMediatorImpl.java:1921)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleThrowableDuringServerDispatch(CorbaMessageMediatorImpl.java:1871)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleThrowableDuringServerDispatch(CorbaMessageMediatorImpl.java:1824)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:261)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1683)
at com.sun.corba.ee.impl.protocol.SharedCDRClientRequestDispatcherImpl.marshalingComplete(SharedCDRClientRequestDispatcherImpl.java:155)
at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:132)
at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:129)
at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:150)
at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(Unknown Source)
at fr.adp.com.gxp.std.moteur.comm_host.EJB.src._Saisie_DynamicStub.execute(_Saisie_DynamicStub.java)
at servlet.IP.src.GxpServlet.doGet(Unknown Source)
at servlet.IP.src.GxpServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:273)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:236)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:262)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:618)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:500)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:375)
at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
Caused by: java.lang.ClassCastException
at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl$14.write(DynamicMethodMarshallerImpl.java:338)
at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl.writeResult(DynamicMethodMarshallerImpl.java:430)
at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:127)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:648)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:192)
... 40 more
|#]My war archive contains remote and home interface and the return object class.
The exception is rised between the return of the EJB's result and the reception of the result in my servlet.
thank you for your help
didier
This is my remote interface :
public interface Saisie extends EJBObject
public GxpOutput execute(String inputReq)
throws ResourceException,RemoteException;
This is my Home interface :
public interface SaisieHome extends EJBHome
public Saisie create() throws CreateException,RemoteException;
This a part of my servlet code :
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////servlet
InitialContext ic = new InitialContext();
Object objRef = ic.lookup("ejb/ejbGxp");
saisieHome = (SaisieHome)PortableRemoteObject.narrow(objRef, SaisieHome.class); //narrow is here
saisie = saisieHome.create();
output = (GxpOutput)saisie.execute(inputReq);
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////end -
RROR : org.omg.CORBA.INITIALIZE: can't instantiate default ORB
When a try to call stored procedure in java i have this error:
ERROR : org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation
com.sun.corba.se.internal.iiop.ORB minor code: 0 completed: No
org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation
com.sun.corba.se.internal.iiop.ORB minor code: 0 completed: No
at org.omg.CORBA.ORB.create_impl(ORB.java)
at org.omg.CORBA.ORB.init(ORB.java)
at HelloClient.hola(HelloClient.java:31)Laurent,
When are you getting this error ? Is this error coming from Oc4J or are you getting this error from JDeveloper 9i ?
regards
Debu Panda
Oracle -
Org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation
Hello,
I'm getting a following error message in .trc file (in udump):
org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation
This error is caused by very simple construction in my stored
java procedure
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
While loading my java procedure into Oracle 8.1.6.1 for NT,
there are no error messages nor warning during resolving.
I found, it's only problem of 8.1.6 version for NT,
I can run my stored java programs on 8.1.5 for Linux.
Doe's anybody have any idea what wrong with internal ORB
in 8.1.6 Oracle RDBMS ?
Thank you very much.
nullLaurent,
When are you getting this error ? Is this error coming from Oc4J or are you getting this error from JDeveloper 9i ?
regards
Debu Panda
Oracle -
JMS over iiop -- org.omg.CORBA.UNKNOWN
I have simple java client which tries to lookup a jms QueueConnectionFactory
over iiop .
The code is
ht.put(
Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.cosnaming.CNCtxFactory" );
ht.put( Context.PROVIDER_URL,"iiop://222.222.222.222:1111" );
ctx = new InitialContext( ht );
qConnectionFactory = (QueueConnectionFactory) ctx.lookup( "My queue con
factory"); < -- this line cause a
org.omg.CORBA.UNKNOWN: minor code: 0 completed: Maybe
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at
com.sun.corba.se.internal.iiop.ReplyMessage.getSystemException(ReplyMessage.
java:93)
at
com.sun.corba.se.internal.iiop.ClientResponseImpl.getSystemException(ClientR
esponseImpl.java:83)
at
com.sun.corba.se.internal.corba.RequestImpl.doInvocation(RequestImpl.java:32
1)
at com.sun.corba.se.internal.corba.RequestImpl.invoke(RequestImpl.java:223)
at org.omg.CosNaming._NamingContextStub.resolve(_NamingContextStub.java:156)
at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:368)
at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:417)
at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:395)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at Jms.<init>(Jms.java:75)
at Jms.main(Jms.java:22)
Anybody know if looking up JMS con factories is ok on iiop in WLs61sp2 ?
Thanks"golibaar" <[email protected]> writes:
JMS over IIOP is not supported, not required by the spec and will not work.
This is a WLS 7.1 feature.
andy
I have simple java client which tries to lookup a jms QueueConnectionFactory
over iiop .
The code is
ht.put(
Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.cosnaming.CNCtxFactory" );
ht.put( Context.PROVIDER_URL,"iiop://222.222.222.222:1111" );
ctx = new InitialContext( ht );
qConnectionFactory = (QueueConnectionFactory) ctx.lookup( "My queue con
factory"); < -- this line cause a
org.omg.CORBA.UNKNOWN: minor code: 0 completed: Maybe
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at
com.sun.corba.se.internal.iiop.ReplyMessage.getSystemException(ReplyMessage.
java:93)
at
com.sun.corba.se.internal.iiop.ClientResponseImpl.getSystemException(ClientR
esponseImpl.java:83)
at
com.sun.corba.se.internal.corba.RequestImpl.doInvocation(RequestImpl.java:32
1)
at com.sun.corba.se.internal.corba.RequestImpl.invoke(RequestImpl.java:223)
at org.omg.CosNaming._NamingContextStub.resolve(_NamingContextStub.java:156)
at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:368)
at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:417)
at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:395)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at Jms.<init>(Jms.java:75)
at Jms.main(Jms.java:22)
Anybody know if looking up JMS con factories is ok on iiop in WLs61sp2 ?
Thanks -
Hi all,
I try to start my in process report server as below and it shows REP-50102 error as below :
[oracle@icbadev ~]$ rwserver.sh server=rep_icbadev
REP-50125: org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 208 completed: No
[oracle@icbadev ~]$
[oracle@icbadev ~]$ rwdiag.sh -findAll; rwclient.sh server=rep_icbadev report=test destype=cache
Naming service used to locate servers
Naming Server host = icbadev.smebank.net
Naming Server port = 14021
Exception in thread "main" org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 208 completed: No
at com.sun.corba.se.internal.corba.ORB.getLocalHostName(ORB.java:924)
at com.sun.corba.se.internal.corba.ORB.checkApplicationPropertyDefaults(ORB.java:888)
at com.sun.corba.se.internal.corba.ORB.set_parameters(ORB.java:457)
at com.sun.corba.se.internal.POA.POAORB.set_parameters(POAORB.java:153)
at com.sun.corba.se.internal.Interceptors.PIORB.set_parameters(PIORB.java:333)
at org.omg.CORBA.ORB.init(ORB.java:337)
at oracle.reports.utility.DiagServerLocator.readConfigFile(DiagServerLocator.java:138)
at oracle.reports.utility.DiagServerLocator.init(DiagServerLocator.java:90)
at oracle.reports.utility.DiagServerLocator.locateServer(DiagServerLocator.java:154)
at oracle.reports.utility.DiagServerLocator.handleRequest(DiagServerLocator.java:546)
at oracle.reports.utility.DiagServerLocator.main(DiagServerLocator.java:566)
REP-0178: Cannot connect to Reports Server 'rep_icbadev'.
[oracle@icbadev ~]$
Anyone ever encounter the same problem with mine. Appreciate if someone could help me with this.
The Forms and Reports Services 10.1.2.2.0 was installed on RHEL 4 Update 6 on HP Proliant box.
Any kind of help are highly appreciated.
Thank you.Found something during my search as follow eventhough it was refering to AIX platform:
<variable id="IBM_JAVA_OPTIONS" value="-Djava.net.preferIPv4Stack=true"/>
I try to put above line into opmn.xml as below and try to start report server via opmnctl command line, still not a good news.
<ias-component id="rep_dev" status="enabled" id-matching="false">
<process-type id="ReportsServer" module-id="ReportsServices">
<process-set id="rep_dev" restart-on-death="true" numprocs="1">
<environment>
<variable id="PATH"
value="/usr/oracle/10gAS/apps1/bin:/usr/bin:/usr/ccs/bin:/bin:/usr/oracle/10gAS/apps1/bin:/usr/orac
e/10gAS/apps1/dcm/bin:/usr/oracle/10gAS/apps1/opmn/bin:/usr/ccs/bin:/usr/bin/X11:/usr/bin:/etc:/usr
sbin:/usr/ucb:/home/oracle/bin:/sbin:.:/oraclbackup/GFRS/Disk1/install"/>
<variable id="IBM_JAVA_OPTIONS" value="-Djava.net.preferIPv4Stack=true"/>
</environment>
<module-data>
some info on java installed:
[root@icbadev ~]# whereis java
java: /usr/bin/java /etc/java /usr/lib/java /usr/share/java
[root@icbadev ~]# java -version
java version "1.4.2"
gcj (GCC) 3.4.6 20060404 (Red Hat 3.4.6-9)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[root@icbadev ~]#
Any kind of help are highly appreciated.
Maybe you are looking for
-
Slow start first time for domain user
When a domain user (Active Directory, Win2003) starts StarOffice 8 first time, it takes very often about 10 minutes until the program is started with a 10MB-network. Next time it takes only about 15-45 seconds on the same computer. I have noticed tha
-
X10 restarting frequently after 2.3 update
I am unable to use the phone after I updated to Android 2.3. The phone is frequently restarting randomly. I followed the information from http://talk.sonyericsson.com/thread/19735. I have tried to perform a software repair using PC Companion but it
-
Ok, I just upgraded to 10.10.3 Yosemite with the new iPhoto, all the photos that I had previously hidden in my albums are shown. Can I hide a photo in an album? Like previous version with the X? And then show the photo when I want to see them? Why di
-
PE8. I have been burning DVDs this week but the current video stops prematurely and the message, "Device Error - the target device isn't suitable for use." I have been using the same media all week. What is wrong?
-
Hi Guru, I want to know about how the internal order is the linked to asset under construction?