Re: NoClassDefFoundError at iiop.CDROutputStream.writeValueTag]
Hi Archana,
you have to copy whole ias_install/ias/usr/java directory to client
side.
Thanks
Deepka
Archana Sagar wrote:
There is just one problem associated with this. I am running the client remotely (rich client). The server side
configuration includes the ias_install/ias/usr/java/bin/ . What can I do for the client? Would copying the
/usr/java/bin/ to the client do the trick?
deepak wrote:
Hi Archana,
Just add ias_install/ias/usr/java/bin/ in PATH.
Or when ever you run your client use
ias_install/ias/usr/java/bin/java
Thanks
Deepak
Archana Sagar wrote:
Hi Deepak,
Can you tell me where the JDK path should be pointed within the iplanet installation in order to use the
bundled jdk?
deepak wrote:
Hi Archana,
Sorry for replying too late. I have got same type of exception when I use jdk1.3 (which is different from
JDK bundeld with iAS).
Please make sure you are using same jdk which bundeld with iAS if you are using non primitive datatype.
Thanks
Deepak
Archana Sagar wrote:
I have attached the home and remote interfaces. Also, I have attached the deployment steps we followed
(iplanet_settings.doc).
deepak wrote:
Hi Archana,
Archana please send home and remote Interface of your Bean. I want to reproduce your problem.
Thanks
Deepak
Archana Sagar wrote:
No we did not deploy the converter, but used those instructions to deploy our bean. I am attaching
the bean and the client code. The exception that we get is:
java.lang.NoClassDefFoundError
at
com.sun.corba.ee.internal.iiop.CDROutputStream.writeValueTag(CDROutputStream.java:1454)
at
com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.java:925)
at
com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.java:571)
at
Beans._SQSservice_Stub.getSQLresults(_SQSservice_Stub.java:316)
at SQSserviceClient.createTable(SQSserviceClient.java:305)
at SQSserviceClient.actionPerformed(SQSserviceClient.java:238)------------------------------------------------------------------------
Name: SQSserviceClient.java
SQSserviceClient.java Type: Java Class (java/*)
Encoding: 7bit
Name: SQSserviceBean.java
SQSserviceBean.java Type: Java Class (java/*)
Encoding: 7bit
Name: SQSservice.java
SQSservice.java Type: Java Class (java/*)
Encoding: 7bit
Name: SQSserviceHome.java
SQSserviceHome.java Type: Java Class (java/*)
Encoding: 7bit
Name: iplanet_settings.doc
iplanet_settings.doc Type: WINWORD File (application/msword)
Encoding: base64
Hi Archana,
you have to copy whole ias_install/ias/usr/java directory to client
side.
Thanks
Deepka
Archana Sagar wrote:
There is just one problem associated with this. I am running the client remotely (rich client). The server side
configuration includes the ias_install/ias/usr/java/bin/ . What can I do for the client? Would copying the
/usr/java/bin/ to the client do the trick?
deepak wrote:
Hi Archana,
Just add ias_install/ias/usr/java/bin/ in PATH.
Or when ever you run your client use
ias_install/ias/usr/java/bin/java
Thanks
Deepak
Archana Sagar wrote:
Hi Deepak,
Can you tell me where the JDK path should be pointed within the iplanet installation in order to use the
bundled jdk?
deepak wrote:
Hi Archana,
Sorry for replying too late. I have got same type of exception when I use jdk1.3 (which is different from
JDK bundeld with iAS).
Please make sure you are using same jdk which bundeld with iAS if you are using non primitive datatype.
Thanks
Deepak
Archana Sagar wrote:
I have attached the home and remote interfaces. Also, I have attached the deployment steps we followed
(iplanet_settings.doc).
deepak wrote:
Hi Archana,
Archana please send home and remote Interface of your Bean. I want to reproduce your problem.
Thanks
Deepak
Archana Sagar wrote:
No we did not deploy the converter, but used those instructions to deploy our bean. I am attaching
the bean and the client code. The exception that we get is:
java.lang.NoClassDefFoundError
at
com.sun.corba.ee.internal.iiop.CDROutputStream.writeValueTag(CDROutputStream.java:1454)
at
com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.java:925)
at
com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.java:571)
at
Beans._SQSservice_Stub.getSQLresults(_SQSservice_Stub.java:316)
at SQSserviceClient.createTable(SQSserviceClient.java:305)
at SQSserviceClient.actionPerformed(SQSserviceClient.java:238)------------------------------------------------------------------------
Name: SQSserviceClient.java
SQSserviceClient.java Type: Java Class (java/*)
Encoding: 7bit
Name: SQSserviceBean.java
SQSserviceBean.java Type: Java Class (java/*)
Encoding: 7bit
Name: SQSservice.java
SQSservice.java Type: Java Class (java/*)
Encoding: 7bit
Name: SQSserviceHome.java
SQSserviceHome.java Type: Java Class (java/*)
Encoding: 7bit
Name: iplanet_settings.doc
iplanet_settings.doc Type: WINWORD File (application/msword)
Encoding: base64
Similar Messages
-
Hi Archana,
Just add ias_install/ias/usr/java/bin/ in PATH.
Or when ever you run your client use
ias_install/ias/usr/java/bin/java
Thanks
Deepak
Archana Sagar wrote:
Hi Deepak,
Can you tell me where the JDK path should be pointed within the iplanet installation in order to use the
bundled jdk?
deepak wrote:
Hi Archana,
Sorry for replying too late. I have got same type of exception when I use jdk1.3 (which is different from
JDK bundeld with iAS).
Please make sure you are using same jdk which bundeld with iAS if you are using non primitive datatype.
Thanks
Deepak
Archana Sagar wrote:
I have attached the home and remote interfaces. Also, I have attached the deployment steps we followed
(iplanet_settings.doc).
deepak wrote:
Hi Archana,
Archana please send home and remote Interface of your Bean. I want to reproduce your problem.
Thanks
Deepak
Archana Sagar wrote:
No we did not deploy the converter, but used those instructions to deploy our bean. I am attaching
the bean and the client code. The exception that we get is:
java.lang.NoClassDefFoundError
at
com.sun.corba.ee.internal.iiop.CDROutputStream.writeValueTag(CDROutputStream.java:1454)
at
com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.java:925)
at
com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.java:571)
at
Beans._SQSservice_Stub.getSQLresults(_SQSservice_Stub.java:316)
at SQSserviceClient.createTable(SQSserviceClient.java:305)
at SQSserviceClient.actionPerformed(SQSserviceClient.java:238)------------------------------------------------------------------------
Name: SQSserviceClient.java
SQSserviceClient.java Type: Java Class (java/*)
Encoding: 7bit
Name: SQSserviceBean.java
SQSserviceBean.java Type: Java Class (java/*)
Encoding: 7bit
Name: SQSservice.java
SQSservice.java Type: Java Class (java/*)
Encoding: 7bit
Name: SQSserviceHome.java
SQSserviceHome.java Type: Java Class (java/*)
Encoding: 7bit
Name: iplanet_settings.doc
iplanet_settings.doc Type: WINWORD File (application/msword)
Encoding: base64Hi Archana,
Just add ias_install/ias/usr/java/bin/ in PATH.
Or when ever you run your client use
ias_install/ias/usr/java/bin/java
Thanks
Deepak
Archana Sagar wrote:
Hi Deepak,
Can you tell me where the JDK path should be pointed within the iplanet installation in order to use the
bundled jdk?
deepak wrote:
Hi Archana,
Sorry for replying too late. I have got same type of exception when I use jdk1.3 (which is different from
JDK bundeld with iAS).
Please make sure you are using same jdk which bundeld with iAS if you are using non primitive datatype.
Thanks
Deepak
Archana Sagar wrote:
I have attached the home and remote interfaces. Also, I have attached the deployment steps we followed
(iplanet_settings.doc).
deepak wrote:
Hi Archana,
Archana please send home and remote Interface of your Bean. I want to reproduce your problem.
Thanks
Deepak
Archana Sagar wrote:
No we did not deploy the converter, but used those instructions to deploy our bean. I am attaching
the bean and the client code. The exception that we get is:
java.lang.NoClassDefFoundError
at
com.sun.corba.ee.internal.iiop.CDROutputStream.writeValueTag(CDROutputStream.java:1454)
at
com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.java:925)
at
com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.java:571)
at
Beans._SQSservice_Stub.getSQLresults(_SQSservice_Stub.java:316)
at SQSserviceClient.createTable(SQSserviceClient.java:305)
at SQSserviceClient.actionPerformed(SQSserviceClient.java:238)------------------------------------------------------------------------
Name: SQSserviceClient.java
SQSserviceClient.java Type: Java Class (java/*)
Encoding: 7bit
Name: SQSserviceBean.java
SQSserviceBean.java Type: Java Class (java/*)
Encoding: 7bit
Name: SQSservice.java
SQSservice.java Type: Java Class (java/*)
Encoding: 7bit
Name: SQSserviceHome.java
SQSserviceHome.java Type: Java Class (java/*)
Encoding: 7bit
Name: iplanet_settings.doc
iplanet_settings.doc Type: WINWORD File (application/msword)
Encoding: base64 -
NoClassDefFoundError at iiop.CDROutputStream.writeValueTag
We are using IAS 6.0, SP2, testdrive installation on Solaris. When
trying to run an EJB, we get the following error. Is it not able to get
to an output stream? I think it does get to the EJB method at least
(getSQLresults). There are some System.out.println statements in the
bean implementation. How can we see them print?
java.lang.NoClassDefFoundError
at
com.sun.corba.ee.internal.iiop.CDROutputStream.writeValueTag(CDROutputStream.java:1454)
at
com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.java:925)
at
com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.java:571)
at
Beans._SQSservice_Stub.getSQLresults(_SQSservice_Stub.java:316)
at SQSserviceClient.createTable(SQSserviceClient.java:305)
at SQSserviceClient.actionPerformed(SQSserviceClient.java:238)Hi,
More on this issue.
I've successfully get the reference to the Home and Remote interface.
I have even managed to called one of the method in the Remote interface
successfully.
However I have noticed that I get the below exception only when I invoke a
method that requires any input parameter or returns any output parameter.
Other than the stubs, skeletons and interface classes of the EJB i've got
the following files in my classpath :
iasacc.jar
iasclient.jar
iioprt.jar
javax.jar
jms.jar
mail.jar
rmiorb.jar
servlet.jar
I'm also running ias6.0 sp2 but on solaris 2.6. My client is running sun
jdk1.3.1_01 on Windows98.
The following is the error message that I got (on my client) :
java.lang.NoClassDefFoundError
at
com.sun.corba.ee.internal.iiop.CDROutputStream.writeValueTag(CDROutputStream
..java:1454)
at
com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.j
ava:925)
at
com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.j
ava:571)
at
com.tmb.icomms.core.mgr.admin._AdminManagerRemote_Stub.modifyUserAccount(_Ad
minManagerRemote_Stub.java:631)
at RichClient.callAdminManager(RichClient.java:141)
at RichClient.main(RichClient.java:27)
Exception in thread "main"
Attached is my client program
Thanks,
Azrai
Archana Sagar <[email protected]> wrote in message
news:[email protected]...
We are using IAS 6.0, SP2, testdrive installation on Solaris. When
trying to run an EJB, we get the following error. Is it not able to get
to an output stream? I think it does get to the EJB method at least
(getSQLresults). There are some System.out.println statements in the
bean implementation. How can we see them print?
java.lang.NoClassDefFoundError
at
com.sun.corba.ee.internal.iiop.CDROutputStream.writeValueTag(CDROutputStream
..java:1454)
>
at
com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.j
ava:925)
>
at
com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.j
ava:571)
>
at
Beans._SQSservice_Stub.getSQLresults(_SQSservice_Stub.java:316)
at SQSserviceClient.createTable(SQSserviceClient.java:305)
at SQSserviceClient.actionPerformed(SQSserviceClient.java:238)
[Attachment RichClient.java, see below] -
Need to know the jar file...?
Hi,Iam writing an java program which is going to send messages to the remote websphereMQ server,program compiled successfully while in execution it throws error.The prgram is
com/ibm/jvm/ExtendedSystem/*
Use source code downloads, example commands,
and any other techniques at your own risk.
No warranty is provided.
import java.util.Properties;
import javax.jms.JMSException;
import javax.jms.TextMessage;
import javax.jms.Queue;
import javax.jms.QueueConnection;
import javax.jms.QueueConnectionFactory;
import javax.jms.QueueSender;
import javax.jms.QueueSession;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import java.util.Hashtable;
public class Sender {
String url_;
String name_;
QueueConnection conn = null;
QueueSession session = null;
Queue queue = null;
public Sender(String url, String name) throws JMSException, NamingException {
url_ = url;
name_ = name;
this.initializeSender();
private void initializeSender() throws JMSException, NamingException {
/* Properties props = new Properties();
props.setProperty("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
props.setProperty("java.naming.factory.url.pkgs", "org.jboss.naming");
props.setProperty("java.naming.provider.url", url_); */
String icf = "com.ibm.websphere.naming.WsnInitialContextFactory";
//String url="iiop://192.168.2.45:1421";
// Initialise JNDI properties
Hashtable env = new Hashtable();
env.put("java.naming.factory.initial",icf);
env.put("java.naming.factory.url.pkgs","com.ibm.ws.naming");
env.put("org.omg.CORBA.ORBClass","com.ibm.rmi.iiop.ORB");
env.put("org.omg.CORBA.ORBSingletonClass","com.ibm.rmi.corba.ORBSingleton");
env.put("javax.rmi.CORBA.UtilClass","com.ibm.rmi.javax.rmi.CORBA.Util");
env.put("javax.rmi.CORBA.StubClass","com.ibm.rmi.javax.rmi.CORBA.StubDelegateImpl");
env.put("javax.rmi.CORBA.PortableRemoteObjectClass","com.ibm.rmi.javax.rmi.PortableRemoteObject");
env.put("java.naming.provider.url",url_);
InitialContext context = new InitialContext(env);
QueueConnectionFactory qcf = (QueueConnectionFactory) context.lookup("QCF");
conn = qcf.createQueueConnection();
queue=(Queue)context.lookup(name_);
session = conn.createQueueSession(false,QueueSession.AUTO_ACKNOWLEDGE);
conn.start();
public void send(String text) throws JMSException, NamingException {
QueueSender send = session.createSender(queue);
TextMessage tm = session.createTextMessage(text);
send.send(tm);
send.close();
public void disconnect() throws JMSException {
if(conn != null) {
conn.stop();
if(session != null) {
session.close();
if(conn != null) {
conn.close();
public String getTopicName() {
return name_;
public String getTopicURL() {
return url_;
public static void main(String args[]) throws Exception {
System.out.println("Starting JMS Example Sender");
Sender sender = new Sender("iiop://192.168.2.45:1421", "ASMQUEUE");
System.out.println("Sending list of data");
sender.send("Krishna Moorthy");
sender.disconnect();
System.out.println("JMS Example Sender Complete - list sent");
}During Execution followng error occurs,
D:\jboss-4.0.5.GA\WebSphere_JMS>java Listener
Starting JMS Example Listener
performing lookup...
Error creating listener: javax.naming.NamingException: Failed to initialize the
ORB [Root exception is org.omg.CORBA.INITIALIZE: can't instantiate default ORB i
mplementation com.ibm.CORBA.iiop.ORB vmcid: 0x0 minor code: 0 completed: No]
javax.naming.NamingException: Failed to initialize the ORB [Root exception is or
g.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation com.ibm.COR
BA.iiop.ORB vmcid: 0x0 minor code: 0 completed: No]
at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:293)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(Ws
nInitCtxFactory.java:365)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:102)
at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:40
8)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:131)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at Listener.initializeListener(Listener.java:78)
at Listener.<init>(Listener.java:31)
at Listener.main(Listener.java:112)
Caused by: org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementatio
n com.ibm.CORBA.iiop.ORB 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)
at com.ibm.ws.orb.GlobalORBFactory.init(GlobalORBFactory.java:77)
at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl.java:174)
at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:98)
at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:74)
at com.ibm.ejs.oa.EJSORB.init(EJSORB.java:386)
at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:284)
... 8 more
Caused by: java.lang.NoClassDefFoundError: com/ibm/jvm/ExtendedSystem
at com.ibm.rmi.util.JDKBridge.setCodebaseProperties(JDKBridge.java:226)
at com.ibm.rmi.util.JDKBridge.<clinit>(JDKBridge.java:205)
at com.ibm.rmi.util.RepositoryId.<clinit>(RepositoryId.java:122)
at com.ibm.rmi.iiop.CDROutputStream.<clinit>(CDROutputStream.java:1077)
at com.ibm.rmi.corba.ORB.<init>(ORB.java:250)
at com.ibm.rmi.iiop.ORB.<init>(ORB.java:166)
at com.ibm.CORBA.iiop.ORB.<init>(ORB.java:521)
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 org.omg.CORBA.ORB.create_impl(ORB.java:295)
... 15 more
Done listening
In my application classpath following jars are used : jms.jar,naming.jar,namingClient.jar,ibmorb.api,ibmorbapi.jar,jndi.jar
I need to know the jar file name for this class : com/ibm/jvm/ExtendedSystem.And also tell me the solution to solve the above error.Anyone know the solution please reply as early as possible..Thanks in advanceHave you checked if any of the jar files in your class path contains the missing class ?
-
Failed to initialize the ORB - WSAD 5.1.2
hi all,
We are trying to implement JUNIT (3.8.1) into our application. Our application has EJBs. The application runs on a WAS 5.1 server. We do our development in WSAD 5.1.2.
In our development environment we wrote a simple test class and tried to run it from the WSAD environment. We added the all the required JARs and fixed the errors one by one.
At present we are stuck with the following error -
javax.naming.NamingException: Failed to initialize the ORB [Root exception is org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation com.ibm.CORBA.iiop.ORB vmcid: 0x0 minor code: 0 completed: No]
at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:265)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:166)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:98)
at com.ibm.ws.naming.util.WsnInitCtx.<init>(WsnInitCtx.java:79)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContext(WsnInitCtxFactory.java:137)
at com.ibm.websphere.naming.WsnInitialContextFactory.getInitialContext(WsnInitialContextFactory.java:114)
at com.ibm.ejs.ns.jndi.CNInitialContextFactory.getInitialContext(CNInitialContextFactory.java:68)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:195)
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 junit.framework.TestCase.runTest(TestCase.java:164)
at junit.framework.TestCase.runBare(TestCase.java:130)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:120)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:392)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:276)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:167)
Caused by: org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation com.ibm.CORBA.iiop.ORB 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)
at com.ibm.ws.orb.GlobalORBFactory.init(GlobalORBFactory.java:77)
at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl.java:174)
at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:98)
at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:74)
at com.ibm.ejs.oa.EJSORB.init(EJSORB.java:386)
at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:260)
... 27 more
Caused by: java.lang.NoClassDefFoundError: com/ibm/jvm/ExtendedSystem
at com.ibm.rmi.util.JDKBridge.setCodebaseProperties(JDKBridge.java:226)
at com.ibm.rmi.util.JDKBridge.<clinit>(JDKBridge.java:205)
at com.ibm.rmi.util.RepositoryId.<clinit>(RepositoryId.java:122)
at com.ibm.rmi.iiop.CDROutputStream.<clinit>(CDROutputStream.java:1077)
at com.ibm.rmi.corba.ORB.<init>(ORB.java:250)
at com.ibm.rmi.iiop.ORB.<init>(ORB.java:166)
at com.ibm.CORBA.iiop.ORB.<init>(ORB.java:521)
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:308)
at java.lang.Class.newInstance(Class.java:261)
at org.omg.CORBA.ORB.create_impl(ORB.java:295)
... 34 moreWe went through a lot of forums and tried everything we found, it still gives the same error. Has anyone encountered this error? If so, please let us know how you got this fixed or even worked around this.
thanks in advance.Why dont you handle with snippets, in every inputText field throw a JS code when OnChange event, and save as a hide flag in the form.? just an idea..
-
Error while calling EJB with a heavyweight Object Parameter
Hi Everybody,
I am getting the following Error when i call a EJB with a heavyweight Object Parameter in Sun ONE Application Server 7.0.0_04.
[03/Jun/2005:13:40:39] WARNING ( 2484): CORE3283: stderr: org.omg.CORBA.BAD_PARAM: java.util.PropertyResourceBundle vmcid: OMG minor code: 6 completed: Maybe
[03/Jun/2005:13:40:39] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.util.Utility.throwNotSerializableForCorba(Utility.java:1018)
[03/Jun/2005:13:40:39] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.writeObjectField(IIOPOutputStream.java:691)
[03/Jun/2005:13:40:39] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.outputClassFields(IIOPOutputStream.java:745)
[03/Jun/2005:13:40:39] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.defaultWriteObjectDelegate(IIOPOutputStream.java:167)
[03/Jun/2005:13:40:39] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.outputObject(IIOPOutputStream.java:526)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.simpleWriteObject(IIOPOutputStream.java:123)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValueInternal(ValueHandlerImpl.java:136)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:116)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:1062)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.java:259)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.corba.TCUtility.marshalIn(TCUtility.java:136)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.corba.AnyImpl.write_value(AnyImpl.java:599)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_any(CDROutputStream_1_0.java:538)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDROutputStream.write_any(CDROutputStream.java:233)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.writeAny(ShutdownUtilDelegate.java:196)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at javax.rmi.CORBA.Util.writeAny(Util.java:78)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.ValueHandlerImpl.write_Array(ValueHandlerImpl.java:446)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValueInternal(ValueHandlerImpl.java:134)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:116)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:916)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:651)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.java:263)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.writeObjectField(IIOPOutputStream.java:685)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.outputClassFields(IIOPOutputStream.java:745)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.defaultWriteObjectDelegate(IIOPOutputStream.java:167)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.OutputStreamHook.defaultWriteObject(OutputStreamHook.java:129)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at java.util.Vector.writeObject(Vector.java:1017)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.writeObject(Native Method)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.invokeObjectWriter(IIOPOutputStream.java:560)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.outputObject(IIOPOutputStream.java:523)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.simpleWriteObject(IIOPOutputStream.java:123)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValueInternal(ValueHandlerImpl.java:136)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:116)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:1062)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:651)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.java:263)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.writeObjectField(IIOPOutputStream.java:685)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.outputClassFields(IIOPOutputStream.java:745)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.defaultWriteObjectDelegate(IIOPOutputStream.java:167)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.outputObject(IIOPOutputStream.java:526)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.simpleWriteObject(IIOPOutputStream.java:123)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValueInternal(ValueHandlerImpl.java:136)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:116)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:1082)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.java:259)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.copyObjects(Util.java:440)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at javax.rmi.CORBA.Util.copyObjects(Util.java:296)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.mot.hris.hrsystem.ejb._HRSystem_Stub.get(Unknown Source)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.mot.hris.transaction.AddressType.submitAddressChange(Unknown Source)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.mot.hris.transaction.AddressType.submitToSAP(Unknown Source)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.mot.hris.mydata.servlet.MyDataConfirmationServlet.processServlet(Unknown Source)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.mot.hris.core.servlet.EnetBaseHttpServlet.service(Unknown Source)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at java.security.AccessController.doPrivileged(Native Method)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:158)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: java.rmi.UnexpectedException: java.io.IOException: Serializable readObject method failed internally
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.wrapException(Util.java:370)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at javax.rmi.CORBA.Util.wrapException(Util.java:277)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at com.mot.hris.hrsystem.ejb._HRSystem_Stub.get(Unknown Source)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at com.mot.hris.transaction.AddressType.submitAddressChange(Unknown Source)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at com.mot.hris.transaction.AddressType.submitToSAP(Unknown Source)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at com.mot.hris.mydata.servlet.MyDataConfirmationServlet.processServlet(Unknown Source)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at com.mot.hris.core.servlet.EnetBaseHttpServlet.service(Unknown Source)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at java.security.AccessController.doPrivileged(Native Method)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:158)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)
Can someone please help to solve this.
Regards,
SunilUnfortunately there's not really enough information for anyone to help you much. I can tell you've hit an EOF Exception, but that's about it.
What exactly do you mean by a heavyweight object parameter? Do you mean a large (in memory size) object?
Without any knowledge of your application, I'd probably start by changing your ejb method to do nothing. That should tell you at least whether it's the serialization of the parameter that's the issue or not. Narrow it down from there.
If you need more help, printing the entire stack trace of the EOFException and posting it here would be helpful.
-- Rob -
Error while configuring kodo to lookup a datasource
We had a working application using EEPersistenceManagerFactory
I changed the kodo.properties to lookup a non XA JDBC datasource.
After that the application is working fine (it creates
,updates,deletes,finds record in the DB)
but SystemOut.log has the following error for every operation
We are using Kodo 2.5.0, Websphere 5.0 and Oracle 8
How can we avoid getting this error ?.
We tried to find any property on the Websphere datasource which can be
altered to avoid this error but no luck.
Thanks
Paresh
[10/7/03 15:30:45:467 IST] 3d8b2d1a MCWrapper E J2CA0081E: Method
destroy failed while trying to execute method destroy on ManagedConnection
com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl@437f6d23 from resource
<null>. Caught exception: com.ibm.ws.exception.WsException: DSRA0080E: An
exception was received by the Data Store Adapter. See original exception
message: Cannot call 'cleanup' on a ManagedConnection while it is still in
a transaction..
at
com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException.<init>(DataStoreAdapterException.java:222)
at
com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException.<init>(DataStoreAdapterException.java:172)
at
com.ibm.ws.rsadapter.AdapterUtil.createDataStoreAdapterException(AdapterUtil.java:182)
at
com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.cleanupTransactions(WSRdbManagedConnectionImpl.java:1826)
at
com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.destroy(WSRdbManagedConnectionImpl.java:1389)
at com.ibm.ejs.j2c.MCWrapper.destroy(MCWrapper.java:1032)
at
com.ibm.ejs.j2c.poolmanager.FreePool.returnToFreePool(FreePool.java:259)
at com.ibm.ejs.j2c.poolmanager.PoolManager.release(PoolManager.java:777)
at com.ibm.ejs.j2c.MCWrapper.releaseToPoolManager(MCWrapper.java:1304)
at
com.ibm.ejs.j2c.ConnectionEventListener.connectionClosed(ConnectionEventListener.java:195)
at
com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.processConnectionClosedEvent(WSRdbManagedConnectionImpl.java:843)
at
com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.closeWrapper(WSJdbcConnection.java:569)
at com.ibm.ws.rsadapter.jdbc.WSJdbcObject.close(WSJdbcObject.java:132)
at
com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.close(SQLExecutionManagerImpl.java:814)
at
com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.release(JDBCStoreManager.java(Inlined
Compiled Code))
at
com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.load(JDBCStoreManager.java(Compiled
Code))
at
com.solarmetric.kodo.runtime.StateManagerImpl.loadFields(StateManagerImpl.java(Compiled
Code))
at
com.solarmetric.kodo.runtime.StateManagerImpl.preSerialize(StateManagerImpl.java:784)
at com.paresh.core.vo.Release.jdoPreSerialize(Release.java)
at com.paresh.core.vo.Release.writeObject(Release.java)
at java.lang.reflect.Method.invoke(Native Method)
at
com.ibm.rmi.io.IIOPOutputStream.invokeObjectWriter(IIOPOutputStream.java:703)
at com.ibm.rmi.io.IIOPOutputStream.outputObject(IIOPOutputStream.java:671)
at
com.ibm.rmi.io.IIOPOutputStream.simpleWriteObject(IIOPOutputStream.java:146)
at
com.ibm.rmi.io.ValueHandlerImpl.writeValueInternal(ValueHandlerImpl.java:217)
at com.ibm.rmi.io.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:144)
at com.ibm.rmi.iiop.CDROutputStream.write_value(CDROutputStream.java:1590)
at com.ibm.rmi.iiop.CDROutputStream.write_value(CDROutputStream.java:1107)
at
com.paresh.core.interfaces._EJSRemoteStatelessValidation_da16513c_Tie.findCorrectionAction(_EJSRemoteStatelessValidation_da16513c_Tie.java:309)
at
com.paresh.core.interfaces._EJSRemoteStatelessValidation_da16513c_Tie._invoke(_EJSRemoteStatelessValidation_da16513c_Tie.java:104)
at
com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:582)
at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:437)
at com.ibm.rmi.iiop.ORB.process(ORB.java:320)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:1544)
at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2063)
at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:63)
at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:95)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592)
kodo.properties
com.solarmetric.kodo.LicenseKey=
#com.solarmetric.kodo.ee.ManagedRuntimeProperties=TransactionManagerName=java:/TransactionManager
com.solarmetric.kodo.ee.ManagedRuntimeProperties=TransactionManagerName=TransactionFactory
TransactionManagerMethod=com.ibm.ejs.jts.jta.TransactionManagerFactory.getTransactionManager
#com.solarmetric.kodo.ee.ManagedRuntimeClass=com.solarmetric.kodo.ee.InvocationManagedRuntime
com.solarmetric.kodo.ee.ManagedRuntimeClass=com.solarmetric.kodo.ee.AutomaticManagedRuntime
#javax.jdo.PersistenceManagerFactoryClass=com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory
javax.jdo.PersistenceManagerFactoryClass=com.solarmetric.kodo.impl.jdbc.ee.EEPersistenceManagerFactory
javax.jdo.option.ConnectionFactoryName=ds/kodo/DataSource1
javax.jdo.option.Optimistic=true
javax.jdo.option.RetainValues=true
javax.jdo.option.NontransactionalRead=true
#com.solarmetric.kodo.DataCacheClass=com.solarmetric.kodo.runtime.datacache.plugins.CacheImpl
# Changing these to a non-zero value will dramatically increase
# performance, but will cause in-memory databases such as Hypersonic
# SQL to never exit when your main() method exits, as the pooled
# connections in the in-memory database will cause a daemon thread to
# remain running.
javax.jdo.option.MinPool=5
javax.jdo.option.MaxPool=10We do have a makeTransientAll() before the object returns from Session
Bean.
We also tried the JCA path
After installing the JCA RAR and doing a lookup for
PersistenceManagetFactory the same code is not throwing any exception.
The exception is thrown only if datasource is used.
Thanks
Paresh
Marc Prud'hommeaux wrote:
Paresh-
It looks like you are returning a collection of instances from an EJB,
which will cause them to be serialized. The serialization is happening
outside the context of a transaction, and Kodo needs to obtain a
connection. Websphere seems to not like that.
You have a few options:
1. Call makeTransientAll() on all the instances before you return them
from your bean methods
2. Manually instantiate all the fields yourself before sending them
back. You could use a bogus ObjectOutputStream to do this.
3. In 3.0, you can use the new detach() API to detach the instances
before sending them back to the client.
In article <[email protected]>, Paresh wrote:
We had a working application using EEPersistenceManagerFactory
I changed the kodo.properties to lookup a non XA JDBC datasource.
After that the application is working fine (it creates
,updates,deletes,finds record in the DB)
but SystemOut.log has the following error for every operation
We are using Kodo 2.5.0, Websphere 5.0 and Oracle 8
How can we avoid getting this error ?.
We tried to find any property on the Websphere datasource which can be
altered to avoid this error but no luck.
Thanks
Paresh
[10/7/03 15:30:45:467 IST] 3d8b2d1a MCWrapper E J2CA0081E: Method
destroy failed while trying to execute method destroy on ManagedConnection
com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl@437f6d23 from resource
<null>. Caught exception: com.ibm.ws.exception.WsException: DSRA0080E: An
exception was received by the Data Store Adapter. See original exception
message: Cannot call 'cleanup' on a ManagedConnection while it is still in
a transaction..
at
com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException.<init>(DataStoreAdapterException.java:222)
at
com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException.<init>(DataStoreAdapterException.java:172)
at
com.ibm.ws.rsadapter.AdapterUtil.createDataStoreAdapterException(AdapterUtil.java:182)
at
com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.cleanupTransactions(WSRdbManagedConnectionImpl.java:1826)
at
com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.destroy(WSRdbManagedConnectionImpl.java:1389)
at com.ibm.ejs.j2c.MCWrapper.destroy(MCWrapper.java:1032)
at
com.ibm.ejs.j2c.poolmanager.FreePool.returnToFreePool(FreePool.java:259)
at com.ibm.ejs.j2c.poolmanager.PoolManager.release(PoolManager.java:777)
at com.ibm.ejs.j2c.MCWrapper.releaseToPoolManager(MCWrapper.java:1304)
at
com.ibm.ejs.j2c.ConnectionEventListener.connectionClosed(ConnectionEventListener.java:195)
at
com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.processConnectionClosedEvent(WSRdbManagedConnectionImpl.java:843)
at
com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.closeWrapper(WSJdbcConnection.java:569)
at com.ibm.ws.rsadapter.jdbc.WSJdbcObject.close(WSJdbcObject.java:132)
at
com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.close(SQLExecutionManagerImpl.java:814)
at
com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.release(JDBCStoreManager.java(Inlined
Compiled Code))
at
com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.load(JDBCStoreManager.java(Compiled
Code))
at
com.solarmetric.kodo.runtime.StateManagerImpl.loadFields(StateManagerImpl.java(Compiled
Code))
at
com.solarmetric.kodo.runtime.StateManagerImpl.preSerialize(StateManagerImpl.java:784)
at com.paresh.core.vo.Release.jdoPreSerialize(Release.java)
at com.paresh.core.vo.Release.writeObject(Release.java)
at java.lang.reflect.Method.invoke(Native Method)
at
com.ibm.rmi.io.IIOPOutputStream.invokeObjectWriter(IIOPOutputStream.java:703)
at com.ibm.rmi.io.IIOPOutputStream.outputObject(IIOPOutputStream.java:671)
at
com.ibm.rmi.io.IIOPOutputStream.simpleWriteObject(IIOPOutputStream.java:146)
at
com.ibm.rmi.io.ValueHandlerImpl.writeValueInternal(ValueHandlerImpl.java:217)
at com.ibm.rmi.io.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:144)
at com.ibm.rmi.iiop.CDROutputStream.write_value(CDROutputStream.java:1590)
at com.ibm.rmi.iiop.CDROutputStream.write_value(CDROutputStream.java:1107)
at
com.paresh.core.interfaces._EJSRemoteStatelessValidation_da16513c_Tie.findCorrectionAction(_EJSRemoteStatelessValidation_da16513c_Tie.java:309)
at
com.paresh.core.interfaces._EJSRemoteStatelessValidation_da16513c_Tie._invoke(_EJSRemoteStatelessValidation_da16513c_Tie.java:104)
at
com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:582)
at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:437)
at com.ibm.rmi.iiop.ORB.process(ORB.java:320)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:1544)
at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2063)
at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:63)
at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:95)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592)
kodo.properties
com.solarmetric.kodo.LicenseKey=
#com.solarmetric.kodo.ee.ManagedRuntimeProperties=TransactionManagerName=java:/TransactionManager
>>
>
com.solarmetric.kodo.ee.ManagedRuntimeProperties=TransactionManagerName=TransactionFactory
>>
>
TransactionManagerMethod=com.ibm.ejs.jts.jta.TransactionManagerFactory.getTransactionManager
>>
>>
>
#com.solarmetric.kodo.ee.ManagedRuntimeClass=com.solarmetric.kodo.ee.InvocationManagedRuntime
>>
>
com.solarmetric.kodo.ee.ManagedRuntimeClass=com.solarmetric.kodo.ee.AutomaticManagedRuntime
>>
>>
>
#javax.jdo.PersistenceManagerFactoryClass=com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory
>>
>
javax.jdo.PersistenceManagerFactoryClass=com.solarmetric.kodo.impl.jdbc.ee.EEPersistenceManagerFactory
>>
javax.jdo.option.ConnectionFactoryName=ds/kodo/DataSource1
javax.jdo.option.Optimistic=true
javax.jdo.option.RetainValues=true
javax.jdo.option.NontransactionalRead=true
#com.solarmetric.kodo.DataCacheClass=com.solarmetric.kodo.runtime.datacache.plugins.CacheImpl
>>
>>
# Changing these to a non-zero value will dramatically increase
# performance, but will cause in-memory databases such as Hypersonic
# SQL to never exit when your main() method exits, as the pooled
# connections in the in-memory database will cause a daemon thread to
# remain running.
javax.jdo.option.MinPool=5
javax.jdo.option.MaxPool=10
Marc Prud'hommeaux [email protected]
SolarMetric Inc. http://www.solarmetric.com -
The delegate has not been set!
I am trying to get my java code to do a rebind with a OpenORB naming service. The connection to the naming service works, but when I get to the line:
ncRef.rebind(nameComponent, server_name); I get the error:
org.omg.CORBA.BAD_OPERATION: The delegate has not been set! minor code: 0 completed: No
at org.omg.CORBA.portable.ObjectImpl._get_delegate(ObjectImpl.java:55)
at org.openorb.iiop.CDROutputStream.write_Object(CDROutputStream.java:1091)
at org.omg.CosNaming._NamingContextExtStub.rebind(_NamingContextExtStub.java:351)
at LogManager.main(LogManager.java:107)
Can anyone please tell me what this is and offer a means to fix or get around this. I have been messing with this for days and can't seem to get anywhere. Thank you very much for you help in advance.You can ignore this. I figured it out. With the OpenORB operations I was trying to use the POA means of doing this, when in turn I wanted to use the BOA. So as soon as I started using the line boa.connect(orb); and the boa methodology, then everything started to work fine.
thanks -
Error with get(Home)Handle
Hello
i have deployed an ejb on the sun one server and l can invoke all the methods i need on this EJB . But when i try to invoke the method getHandle or getHomeHandle or getEJBMetaData, i have this error on the server : (this error is with getHandle but it is the same with the two others methods)
org.omg.CORBA.BAD_OPERATION: The delegate has not been set! vmcid: 0x0
minor c
ode: 0 completed: No
at org.omg.CORBA.portable.ObjectImpl._get_delegate(ObjectImpl.java:53)
at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_Object(CDROu
tputStream_1_0.java:571)
at com.sun.corba.ee.internal.iiop.CDROutputStream.write_Object(CDROutput
Stream.java:227)
at com.sun.org.omg.CORBA.IDLTypeHelper.write(IDLTypeHelper.java:70)
at com.sun.org.omg.CORBA.ValueMemberHelper.write(ValueMemberHelper.java:
140)
at com.sun.org.omg.CORBA.ValueMemberSeqHelper.write(ValueMemberSeqHelper
.java:83)
at com.sun.org.omg.CORBA.ValueDefPackage.FullValueDescriptionHelper.writ
e(FullValueDescriptionHelper.java:193)
at com.sun.org.omg.SendingContext._CodeBaseImplBase._invoke(_CodeBaseImp
lBase.java:85)
at com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegat
e.java:379)
at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:275)
at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProces
sor.java:83)
at com.iplanet.ias.corba.ee.internal.iiop.ServicableWrapper.service(Serv
icableWrapper.java:25)
at com.iplanet.ias.util.threadpool.FastThreadPool$ThreadPoolThread.run(F
astThreadPool.java:283)
at java.lang.Thread.run(Thread.java:536)
and on the client :
java.rmi.MarshalException: CORBA MARSHAL 1398079699 Maybe; nested exception
is:
org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : Can't
skip sender's custom marshaled class:
RMI:com.sun.ejb.portable.HandleImpl:7969D1B587E037EF:27329270E7B1269F
vmcid: SUN minor code: 211 completed: Maybe
at com.sun.corba.se.internal.iiop.ShutdownUtilDelegate.mapSystemException
(ShutdownUtilDelegate.java:97)
at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
at Test02Stub.getHandle(Unknown Source)
at Test01.main(Test01.java:48)
Caused by: org.omg.CORBA.MARSHAL: Unable to read value from underlying
bridge : Can't skip sender's custom marshaled class:
RMI:com.sun.ejb.portable.HandleImpl:7969D1B587E037EF:27329270E7B1269F
vmcid: SUN minor code: 211 completed: Maybe
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_value
(CDRInputStream_1_0.java:944)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_abstract_interface
(CDRInputStream_1_0.java:850)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_abstract_interface
(CDRInputStream_1_0.java:842)
at com.sun.corba.se.internal.iiop.CDRInputStream.read_abstract_interface
(CDRInputStream.java:309)
at Test02Stub.getHandle(Unknown Source)
... 1 more
It seems that there is a probleme with serialization ...
I have the same JDK on the server and on the client.
Can someone explain me please the problem ?
Thank you very mutch
olivierHi,
For advanced search view, you should manually specify the super class to your view controller as the advanced search controller class. I'm not exactly sure what the name is, but you can find it out from the standard search view components. Do not pick the immediate super class from the standard components, dog through and pick the basic advanced search controller. This class will contain the methods that you mentioned.
Regards,
Arun Prakash -
Container-managed persistence application problem
I worked out a container-manager persistence entity bean application. Everything is fine until I run the client. When I ran the client, I got the following exception from the server side when I turned on "j2ee -verbose":
"Exception in thread "RequestProcessor[20]" org.omg.CORBA.BAD_PARAM: CourseBean_P
M_EJBLocalObjectImpl minor code: 1330446342 completed: Maybe
at com.sun.corba.ee.internal.orbutil.ORBUtility.throwNotSerializableForC
orba(ORBUtility.java:660)
at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_abstract_int
erface(CDROutputStream_1_0.java:631)
at com.sun.corba.ee.internal.iiop.CDROutputStream.write_abstract_interfa
ce(CDROutputStream.java:281)
at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.writeAbstractObject(Ut
il.java:145)
at javax.rmi.CORBA.Util.writeAbstractObject(Util.java:128)
at com.sun.corba.se.internal.io.IIOPOutputStream.writeObjectDelegate(IIO
POutputStream.java:99)
at com.sun.corba.se.internal.io.IIOPOutputStream.writeObjectOverride(IIO
POutputStream.java:106)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:271)
at java.util.ArrayList.writeObject(ArrayList.java:513)
at com.sun.corba.se.internal.io.IIOPOutputStream.writeObject(Native Meth
od)
at com.sun.corba.se.internal.io.IIOPOutputStream.invokeObjectWriter(IIOP
OutputStream.java:525)
at com.sun.corba.se.internal.io.IIOPOutputStream.outputObject(IIOPOutput
Stream.java:492)
at com.sun.corba.se.internal.io.IIOPOutputStream.simpleWriteObject(IIOPO
utputStream.java:125)
at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValueInternal(Valu
eHandlerImpl.java:134)
at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValue(ValueHandler
Impl.java:114)
at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_value(CDROut
putStream_1_0.java:1049)
at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_value(CDROut
putStream_1_0.java:638)
at com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputS
tream.java:268)
at _RegisterBean_EJBObjectImpl_Tie._invoke(Unknown Source)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(Ge
nericPOAServerSC.java:519)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(Gen
ericPOAServerSC.java:204)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAS
erverSC.java:112)
at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:273)
at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProces
sor.java:84)
at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadP
ool.java:99)
Anybody has any insight in this. I checked the appliation using the verification tool, it shows no problem at all. I am really out of idea!
Thanks a lot!send me your contact info and i think i can help.
my email is : [email protected]
In addition I believe ssniazi is in violation of the conduct code of this website because ssniazi is requesting information which will be used by a business entity without telling the users that it will be used in that way. And I expect that Oracle itself would frown on such activities.
2.3 You agree that You will not use the Website to:...(g) collect or store personal data about other users unless specifically authorized by such users. -
Applet -ejb ; weblogic.jar
Hi,
<b>I am trying to access EJB from an applet thro' ejb-client.jar. It works fine if I include weblogic.jar in the applet archive but it throws a corba exception if I use wlclient.jar and wljmsclient.jar instead of weblogic.jar in the archive. As weblogic.jar is too huge <b>I want to use thin clients</b>. Could someone help me with this exception. I am using WLS8.1_sp4; jdk 1.4.2_05 and ie6 with latest jvm. Both applet and ejb are deployed in same localhost</b>
com.sun.corba.se.internal.iiop.ConnectionTable(Thread[thread applet-informatics.inventory.plates.editor.PlateMapEditor.class,
4,file:/C:/projects/perforce/java/PlateMapViewer/-threadGroup]): Client get called: host = localhost port = 7001
com.sun.corba.se.internal.iiop.ConnectionTable(Thread[thread applet-informatics.inventory.plates.editor.PlateMapEditor.class,
4,file:/C:/projects/perforce/java/PlateMapViewer/-threadGroup]): Creating new connection Connection[type=IIOP_CLEAR_TEXT remo
te_host=localhost remote_port=7001 state=ESTABLISHED]
com.sun.corba.se.internal.iiop.MessageMediator(Thread[JavaIDL Reader for localhost:7001,4,ORB ThreadGroup]): Creating message
from stream
com.sun.corba.se.internal.iiop.ConnectionTable(Thread[thread applet-informatics.inventory.plates.editor.PlateMapEditor.class,
4,file:/C:/projects/perforce/java/PlateMapViewer/-threadGroup]): Succesfully created socket for new connection
com.sun.corba.se.internal.iiop.MessageMediator(Thread[JavaIDL Reader for localhost:7001,4,ORB ThreadGroup]): Reading the mess
age fully, size =1204
com.sun.corba.se.internal.iiop.MessageMediator(Thread[JavaIDL Reader for localhost:7001,4,ORB ThreadGroup]): Handling GIOP 1.
0 LocateReply
com.sun.corba.se.internal.iiop.IIOPInputStream(Thread[JavaIDL Reader for localhost:7001,4,ORB ThreadGroup]): Constructing IIO
PInputStream object
com.sun.corba.se.internal.iiop.IIOPInputStream(Thread[JavaIDL Reader for localhost:7001,4,ORB ThreadGroup]): Setting the time
stamp
com.sun.corba.se.internal.iiop.MessageMediator(Thread[JavaIDL Reader for localhost:7001,4,ORB ThreadGroup]): Creating message
from stream
com.sun.corba.se.internal.iiop.ConnectionTable(Thread[thread applet-informatics.inventory.plates.editor.PlateMapEditor.class,
4,file:/C:/projects/perforce/java/PlateMapViewer/-threadGroup]): Client get called: host = 172.16.65.14 port = 7001
com.sun.corba.se.internal.iiop.ConnectionTable(Thread[thread applet-informatics.inventory.plates.editor.PlateMapEditor.class,
4,file:/C:/projects/perforce/java/PlateMapViewer/-threadGroup]): Creating new connection Connection[type=IIOP_CLEAR_TEXT remo
te_host=172.16.65.14 remote_port=7001 state=ESTABLISHED]
com.sun.corba.se.internal.iiop.MessageMediator(Thread[JavaIDL Reader for 172.16.65.14:7001,4,ORB ThreadGroup]): Creating mess
age from stream
com.sun.corba.se.internal.iiop.ConnectionTable(Thread[thread applet-informatics.inventory.plates.editor.PlateMapEditor.class,
4,file:/C:/projects/perforce/java/PlateMapViewer/-threadGroup]): Succesfully created socket for new connection
com.sun.corba.se.internal.iiop.GIOPImpl(Thread[thread applet-informatics.inventory.plates.editor.PlateMapEditor.class,4,file:
/C:/projects/perforce/java/PlateMapViewer/-threadGroup]): getEndpoint(IIOP_CLEAR_TEXT, 0, null)
com.sun.corba.se.internal.iiop.GIOPImpl(Thread[thread applet-informatics.inventory.plates.editor.PlateMapEditor.class,4,file:
/C:/projects/perforce/java/PlateMapViewer/-threadGroup]): createListener( socketType = IIOP_CLEAR_TEXT port = 0 )
javax.naming.NamingException: Unhandled exception in lookup [Root exception is org.omg.CORBA.MARSHAL: vmcid: SUN minor cod
e: 217 completed: Maybe]
at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:81)
at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:237)
at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:171)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at informatics.inventory.plates.editor.EJBPlateMapDAO.<init>(Unknown Source)
at informatics.inventory.plates.editor.PlateMapEditor.init(Unknown Source)
at sun.applet.AppletPanel.run(AppletPanel.java:353)
at java.lang.Thread.run(Thread.java:534)
Caused by: org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 217 completed: Maybe
at com.sun.corba.se.internal.iiop.CDROutputStream_1_0.write_wstring(CDROutputStream_1_0.java:464)
at com.sun.corba.se.internal.iiop.CDROutputStream.write_wstring(CDROutputStream.java:189)
at weblogic.corba.cos.naming.NamingContextAnyPackage.WNameComponentHelper.write(WNameComponentHelper.java:79)
at weblogic.corba.cos.naming.NamingContextAnyPackage.WNameHelper.write(WNameHelper.java:59)
at weblogic.corba.cos.naming._NamingContextAnyStub.resolve_any(_NamingContextAnyStub.java:79)
at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:213)
... 6 moreHi,
<b>I am trying to access EJB from an applet thro' ejb-client.jar. It works fine if I include weblogic.jar in the applet archive but it throws a corba exception if I use wlclient.jar and wljmsclient.jar instead of weblogic.jar in the archive. As weblogic.jar is too huge <b>I want to use thin clients</b>. Could someone help me with this exception. I am using WLS8.1_sp4; jdk 1.4.2_05 and ie6 with latest jvm. Both applet and ejb are deployed in same localhost</b>
com.sun.corba.se.internal.iiop.ConnectionTable(Thread[thread applet-informatics.inventory.plates.editor.PlateMapEditor.class,
4,file:/C:/projects/perforce/java/PlateMapViewer/-threadGroup]): Client get called: host = localhost port = 7001
com.sun.corba.se.internal.iiop.ConnectionTable(Thread[thread applet-informatics.inventory.plates.editor.PlateMapEditor.class,
4,file:/C:/projects/perforce/java/PlateMapViewer/-threadGroup]): Creating new connection Connection[type=IIOP_CLEAR_TEXT remo
te_host=localhost remote_port=7001 state=ESTABLISHED]
com.sun.corba.se.internal.iiop.MessageMediator(Thread[JavaIDL Reader for localhost:7001,4,ORB ThreadGroup]): Creating message
from stream
com.sun.corba.se.internal.iiop.ConnectionTable(Thread[thread applet-informatics.inventory.plates.editor.PlateMapEditor.class,
4,file:/C:/projects/perforce/java/PlateMapViewer/-threadGroup]): Succesfully created socket for new connection
com.sun.corba.se.internal.iiop.MessageMediator(Thread[JavaIDL Reader for localhost:7001,4,ORB ThreadGroup]): Reading the mess
age fully, size =1204
com.sun.corba.se.internal.iiop.MessageMediator(Thread[JavaIDL Reader for localhost:7001,4,ORB ThreadGroup]): Handling GIOP 1.
0 LocateReply
com.sun.corba.se.internal.iiop.IIOPInputStream(Thread[JavaIDL Reader for localhost:7001,4,ORB ThreadGroup]): Constructing IIO
PInputStream object
com.sun.corba.se.internal.iiop.IIOPInputStream(Thread[JavaIDL Reader for localhost:7001,4,ORB ThreadGroup]): Setting the time
stamp
com.sun.corba.se.internal.iiop.MessageMediator(Thread[JavaIDL Reader for localhost:7001,4,ORB ThreadGroup]): Creating message
from stream
com.sun.corba.se.internal.iiop.ConnectionTable(Thread[thread applet-informatics.inventory.plates.editor.PlateMapEditor.class,
4,file:/C:/projects/perforce/java/PlateMapViewer/-threadGroup]): Client get called: host = 172.16.65.14 port = 7001
com.sun.corba.se.internal.iiop.ConnectionTable(Thread[thread applet-informatics.inventory.plates.editor.PlateMapEditor.class,
4,file:/C:/projects/perforce/java/PlateMapViewer/-threadGroup]): Creating new connection Connection[type=IIOP_CLEAR_TEXT remo
te_host=172.16.65.14 remote_port=7001 state=ESTABLISHED]
com.sun.corba.se.internal.iiop.MessageMediator(Thread[JavaIDL Reader for 172.16.65.14:7001,4,ORB ThreadGroup]): Creating mess
age from stream
com.sun.corba.se.internal.iiop.ConnectionTable(Thread[thread applet-informatics.inventory.plates.editor.PlateMapEditor.class,
4,file:/C:/projects/perforce/java/PlateMapViewer/-threadGroup]): Succesfully created socket for new connection
com.sun.corba.se.internal.iiop.GIOPImpl(Thread[thread applet-informatics.inventory.plates.editor.PlateMapEditor.class,4,file:
/C:/projects/perforce/java/PlateMapViewer/-threadGroup]): getEndpoint(IIOP_CLEAR_TEXT, 0, null)
com.sun.corba.se.internal.iiop.GIOPImpl(Thread[thread applet-informatics.inventory.plates.editor.PlateMapEditor.class,4,file:
/C:/projects/perforce/java/PlateMapViewer/-threadGroup]): createListener( socketType = IIOP_CLEAR_TEXT port = 0 )
javax.naming.NamingException: Unhandled exception in lookup [Root exception is org.omg.CORBA.MARSHAL: vmcid: SUN minor cod
e: 217 completed: Maybe]
at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:81)
at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:237)
at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:171)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at informatics.inventory.plates.editor.EJBPlateMapDAO.<init>(Unknown Source)
at informatics.inventory.plates.editor.PlateMapEditor.init(Unknown Source)
at sun.applet.AppletPanel.run(AppletPanel.java:353)
at java.lang.Thread.run(Thread.java:534)
Caused by: org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 217 completed: Maybe
at com.sun.corba.se.internal.iiop.CDROutputStream_1_0.write_wstring(CDROutputStream_1_0.java:464)
at com.sun.corba.se.internal.iiop.CDROutputStream.write_wstring(CDROutputStream.java:189)
at weblogic.corba.cos.naming.NamingContextAnyPackage.WNameComponentHelper.write(WNameComponentHelper.java:79)
at weblogic.corba.cos.naming.NamingContextAnyPackage.WNameHelper.write(WNameHelper.java:59)
at weblogic.corba.cos.naming._NamingContextAnyStub.resolve_any(_NamingContextAnyStub.java:79)
at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:213)
... 6 more -
Java.lang.UnsatisfiedLinkError: registerNatives
Please help me in fixing this problem.i'm using WSAD 5.0 to run my j2ee application and an applet in the client environmment is giving the following exception:
&&&&&& TEMPLATE &&&&&& eAuthorisationbefore conjavax.naming.NamingException: Failed to initialize the ORB.
Root exception is java.lang.reflect.InvocationTargetException: java.lang.UnsatisfiedLinkError: registerNatives
at com.ibm.jvm.ExtendedSystem.registerNatives(Native Method)
at com.ibm.jvm.ExtendedSystem.<clinit>(ExtendedSystem.java:163)
at com.ibm.rmi.util.JDKBridge.setCodebaseProperties(JDKBridge.java:224)
at com.ibm.rmi.util.JDKBridge.<clinit>(JDKBridge.java:203)
at com.ibm.rmi.util.RepositoryId.<clinit>(RepositoryId.java:107)
at com.ibm.rmi.iiop.CDROutputStream.<clinit>(CDROutputStream.java:1003)
at com.ibm.rmi.corba.ORB.orbParameters(ORB.java:1228)
at com.ibm.CORBA.iiop.ORB.orbParameters(ORB.java:1151)
at com.ibm.rmi.corba.ORB.set_parameters(ORB.java:1178)
at com.ibm.CORBA.iiop.ORB.set_parameters(ORB.java:1704)
at org.omg.CORBA.ORB.init(Unknown Source)
at com.ibm.ws.orb.GlobalORBFactory.init(Unknown Source)
at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl.java:174)
at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:98)
at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:74)
at com.ibm.ejs.oa.EJSORB.init(EJSORB.java:386)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:313)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:364)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:102)
at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:408)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:131)
at javax.naming.InitialContext.lookup(Unknown Source)
at com.ttsh.edcss.rptapplet.RptPrintApplet.getEDdbConnection(RptPrintApplet.java:554)
at com.ttsh.edcss.rptapplet.RptPrintApplet.getReportConfig(RptPrintApplet.java:678)
at com.ttsh.edcss.rptapplet.RptPrintApplet.init(RptPrintApplet.java:121)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
##############connectionnullException: nulljava.lang.NullPointerException
at com.ttsh.edcss.rptapplet.RptPrintApplet.getReportConfig(RptPrintApplet.java:682)
at com.ttsh.edcss.rptapplet.RptPrintApplet.init(RptPrintApplet.java:121)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)init() Exception: nulljava.lang.Exception
at com.ttsh.edcss.rptapplet.RptPrintApplet.getReportConfig(RptPrintApplet.java:723)
at com.ttsh.edcss.rptapplet.RptPrintApplet.init(RptPrintApplet.java:121)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Please suggest a solution for this.This may sometimes happen when u are using the native methods and jvm is unable to find the required
dll or the native implementation. -
Applet-ejb; corba exception
Hi, I am trying to access EJB from an applet thro' ejb-client.jar. It works fine if I include weblogic.jar in the applet archive but it throws a corba exception if I use wlclient.jar and wljmsclient.jar instead of weblogic.jar in the archive. As weblogic.jar is too huge I want to use thin clients. Could someone help me with this exception. I am using WLS8.1_sp4; jdk 1.4.2_05 and ie6 with latest jvm. Both applet and ejb are deployed in same localhost com.sun.corba.se.internal.iiop.ConnectionTable(Thread[thread applet-informatics.inventory.plates.editor.PlateMapEditor.class, 4,file:/C:/projects/perforce/java/PlateMapViewer/-threadGroup]): Client get called: host = localhost port = 7001 com.sun.corba.se.internal.iiop.ConnectionTable(Thread[thread applet-informatics.inventory.plates.editor.PlateMapEditor.class, 4,file:/C:/projects/perforce/java/PlateMapViewer/-threadGroup]): Creating new connection Connection[type=IIOP_CLEAR_TEXT remo te_host=localhost remote_port=7001 state=ESTABLISHED] com.sun.corba.se.internal.iiop.MessageMediator(Thread[JavaIDL Reader for localhost:7001,4,ORB ThreadGroup]): Creating message from stream com.sun.corba.se.internal.iiop.ConnectionTable(Thread[thread applet-informatics.inventory.plates.editor.PlateMapEditor.class, 4,file:/C:/projects/perforce/java/PlateMapViewer/-threadGroup]): Succesfully created socket for new connection com.sun.corba.se.internal.iiop.MessageMediator(Thread[JavaIDL Reader for localhost:7001,4,ORB ThreadGroup]): Reading the mess age fully, size =1204 com.sun.corba.se.internal.iiop.MessageMediator(Thread[JavaIDL Reader for localhost:7001,4,ORB ThreadGroup]): Handling GIOP 1. 0 LocateReply com.sun.corba.se.internal.iiop.IIOPInputStream(Thread[JavaIDL Reader for localhost:7001,4,ORB ThreadGroup]): Constructing IIO PInputStream object com.sun.corba.se.internal.iiop.IIOPInputStream(Thread[JavaIDL Reader for localhost:7001,4,ORB ThreadGroup]): Setting the time stamp com.sun.corba.se.internal.iiop.MessageMediator(Thread[JavaIDL Reader for localhost:7001,4,ORB ThreadGroup]): Creating message from stream com.sun.corba.se.internal.iiop.ConnectionTable(Thread[thread applet-informatics.inventory.plates.editor.PlateMapEditor.class, 4,file:/C:/projects/perforce/java/PlateMapViewer/-threadGroup]): Client get called: host = 172.16.65.14 port = 7001 com.sun.corba.se.internal.iiop.ConnectionTable(Thread[thread applet-informatics.inventory.plates.editor.PlateMapEditor.class, 4,file:/C:/projects/perforce/java/PlateMapViewer/-threadGroup]): Creating new connection Connection[type=IIOP_CLEAR_TEXT remo te_host=172.16.65.14 remote_port=7001 state=ESTABLISHED] com.sun.corba.se.internal.iiop.MessageMediator(Thread[JavaIDL Reader for 172.16.65.14:7001,4,ORB ThreadGroup]): Creating mess age from stream com.sun.corba.se.internal.iiop.ConnectionTable(Thread[thread applet-informatics.inventory.plates.editor.PlateMapEditor.class, 4,file:/C:/projects/perforce/java/PlateMapViewer/-threadGroup]): Succesfully created socket for new connection com.sun.corba.se.internal.iiop.GIOPImpl(Thread[thread applet-informatics.inventory.plates.editor.PlateMapEditor.class,4,file: /C:/projects/perforce/java/PlateMapViewer/-threadGroup]): getEndpoint(IIOP_CLEAR_TEXT, 0, null) com.sun.corba.se.internal.iiop.GIOPImpl(Thread[thread applet-informatics.inventory.plates.editor.PlateMapEditor.class,4,file: /C:/projects/perforce/java/PlateMapViewer/-threadGroup]): createListener( socketType = IIOP_CLEAR_TEXT port = 0 ) javax.naming.NamingException: Unhandled exception in lookup [Root exception is org.omg.CORBA.MARSHAL: vmcid: SUN minor cod e: 217 completed: Maybe] at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:81) at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:237) at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:171) at javax.naming.InitialContext.lookup(InitialContext.java:347) at informatics.inventory.plates.editor.EJBPlateMapDAO.<init>(Unknown Source) at informatics.inventory.plates.editor.PlateMapEditor.init(Unknown Source) at sun.applet.AppletPanel.run(AppletPanel.java:353) at java.lang.Thread.run(Thread.java:534) Caused by: org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 217 completed: Maybe at com.sun.corba.se.internal.iiop.CDROutputStream_1_0.write_wstring(CDROutputStream_1_0.java:464) at com.sun.corba.se.internal.iiop.CDROutputStream.write_wstring(CDROutputStream.java:189) at weblogic.corba.cos.naming.NamingContextAnyPackage.WNameComponentHelper.write(WNameComponentHelper.java:79) at weblogic.corba.cos.naming.NamingContextAnyPackage.WNameHelper.write(WNameHelper.java:59) at weblogic.corba.cos.naming._NamingContextAnyStub.resolve_any(_NamingContextAnyStub.java:79) at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:213) ... 6 more
I had the same problem and finally caught a statement in one of the docs: "To facilitate the use of IIOP, always specify a valid IP address or DNS name for the Listen Address attribute in the configuration file (config.xml) to listen for connections." I edited my config.xml file and put in the ip address of the machine running my WLS and things started working. Hope this works for you.
Regards,
Ron -
Unkown Exception. please help!!!!!
Result appearing in my html file-->
CreateException: java.rmi.UnexpectedException: java.io.IOException: Serializable readObject method failed internally
Found inside j2ee -verbose DOS session-->
Application TestReturnItem deployed.
setEntityContext method
Find by CustID
Exception in thread "HttpProcessor[8000][4]" org.omg.CORBA.BAD_PARAM: com.DESApp.ejb.entity.RequestBeanEB_EJBLocalObjectImpl vmcid: OMG minor code: 6 completed: Maybe
at com.sun.corba.ee.internal.orbutil.ORBUtility.throwNotSerializableForCorba(ORBUtility.java:660)
at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_abstract_interface(CDROutputStream_1_0.java:631)
at com.sun.corba.ee.internal.iiop.CDROutputStream.write_abstract_interface(CDROutputStream.java:281)
at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.writeAbstractObject(Util.java:145)
at javax.rmi.CORBA.Util.writeAbstractObject(Util.java:129)
at com.sun.corba.se.internal.io.IIOPOutputStream.writeObjectDelegate(IIOPOutputStream.java:96)
at com.sun.corba.se.internal.io.IIOPOutputStream.writeObjectOverride(IIOPOutputStream.java:103)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:274)
at java.util.ArrayList.writeObject(ArrayList.java:530)
at com.sun.corba.se.internal.io.IIOPOutputStream.writeObject(Native Method)
at com.sun.corba.se.internal.io.IIOPOutputStream.invokeObjectWriter(IIOPOutputStream.java:526)
at com.sun.corba.se.internal.io.IIOPOutputStream.outputObject(IIOPOutputStream.java:493)
at com.sun.corba.se.internal.io.IIOPOutputStream.simpleWriteObject(IIOPOutputStream.java:122)
at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValueInternal(ValueHandlerImpl.java:136)
at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:116)
at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:1049)
at com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.java:264)
at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.copyObject(Util.java:567)
at javax.rmi.CORBA.Util.copyObject(Util.java:314)
at com.DESApp.ejb.session._ReturnItemSR_Stub.searchCustomerID(Unknown Source)
at com.DESApp.servlet.JunYongServlet.returnItem(JunYongServlet.java:80)
at com.DESApp.servlet.JunYongServlet.doPost(JunYongServlet.java:42)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:197)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:368)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
at java.lang.Thread.run(Thread.java:536)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
at java.lang.Thread.run(Thread.java:536)That BAD_PARAM exception indicates that somewhere you are passing an invalid parameter to a method. You should check this.
-
Marshal Exception raised when using an union type
Hi,
I am using jdk1.4.0 and I am experiencing a problem when using union types. I was wondering if anyone would have experienced the same problem ? Or would have any idea of a possible workaround ?
Here is the code :
=========
module X208 {
typedef string AE_form1Type;
typedef long AE_form2Type;
enum AETypeChoice { form1Choice, form2Choice };
union AEType
switch(AETypeChoice) {
case form1Choice:
AE_form1Type form1;
case form2Choice:
AE_form2Type form2;
module HelloApp {
interface Hello
string sayHello(in any param);
=========
My code, in the client, looks like this :
AEType ae = new AEType();
ae.form2(14);
Any many = orb.create_any();
AETypeHelper.insert(many, ae);
string Hello = helloImpl.sayHello(many);
I have noticed that, each time I send an AEType form1 (a String) in the Any, it works fine. But when I try send an AEType form2, it fails with a Marshal exception (see below).
I tried to switch form1 and form2 (actually their types : string and integer) to see if the problem was linked to the integer, but it failed the same on form2.
When checking the bug database, there is one bug which might be close to this, but it's supposed to be fixed now (#4518206).
Did someone experience the same problem ? Am I doing something wrong here ?
Thanks for your help !
ERROR : org.omg.CORBA.MARSHAL: underflow called with grow strategy vmcid: SUN minor code: 202 completed: No
org.omg.CORBA.MARSHAL: underflow called with grow strategy vmcid: SUN minor code: 202 completed: No
at com.sun.corba.se.internal.iiop.BufferManagerReadGrow.underflow(BufferManagerReadGrow.java:25)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_1.grow(CDRInputStream_1_1.java:73)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_2.alignAndCheck(CDRInputStream_1_2.java:28)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_octet_array(CDRInputStream_1_0.java:567)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.getConvertedChars(CDRInputStream_1_0.java:2285)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.internalReadString(CDRInputStream_1_0.java:469)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.readStringOrIndirection(CDRInputStream_1_0.java:460)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_string(CDRInputStream_1_0.java:520)
at com.sun.corba.se.internal.iiop.CDRInputStream.read_string(CDRInputStream.java:197)
at com.sun.corba.se.internal.corba.TypeCodeImpl.copy(TypeCodeImpl.java:2430)
at com.sun.corba.se.internal.corba.TypeCodeImpl.copy(TypeCodeImpl.java:2679)
at com.sun.corba.se.internal.corba.TypeCodeImpl.copy(TypeCodeImpl.java:2632)
at com.sun.corba.se.internal.corba.AnyImpl.write_value(AnyImpl.java:581)
at com.sun.corba.se.internal.iiop.CDROutputStream_1_0.write_any(CDROutputStream_1_0.java:534)
at com.sun.corba.se.internal.iiop.CDROutputStream.write_any(CDROutputStream.java:235)
at HelloApp._HelloStub.sayHello(_HelloStub.java:19)
at HelloClient.main(HelloClient.java:37)I have similar problem. Except that mine throws a null exception write after com.sun.corba.se.internal.corba.AnyImpl.write_value(AnyImpl.java:581).
do you have a workaround?
Maybe you are looking for
-
Memory issue on replica client
I am using bdb 4.7.25 on freebsd 7.0 C++ api. I have applied patch from Link: Re: Question on replication error like "DB_ENV->rep_process_message: DB_NOTF.." to fix log_archive issue. I have also applied the patch suggested in the reply to above mess
-
I have just tried to instal the latest version of itunes. It failed and I got a message saying ' An application has made an attempt to load the C runtime library incorrectly' I completely uninstalled itunes and tried to install an earlier versio
-
Itunes Store won't launch when in Itunes on Windows 7
Itunes comes up on my computer fine. However when I attempt to go to the Itunes store I get a message that Itunes has stopped working and that Windows is looking for a solution. Itunes then closes. I'm still getting automatic podcast downloads that
-
File Adapter with Dynamic routing????
Hi I need to send a csv file and determine the receiver at runtime. Does anybody know if this is possible? What I would actually need is a field that, after reading the csv file into the payload, I could still use in order to conduct a dynamic receiv
-
I have a dought. In the iPod touch or iPhone, when Ping is activated, isn't it supost to appera a like option on music.app? In iBooks's "iPod guide for iOS 5" it appears this image, so i think it is supost to appear a like and post option in music.ap