Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Use wlclient.jar instead of weblogic.jar

 
elena garcia
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello.

I'm using Weblogic 9.2. Our client is using the library weblogic.jar and it works perfectly fine.
But now, we would like to use the client application with Java Web Start.
We were wondering if we could use the library wlclient.jar instead of weblogic.jar, due to the former its only 392KB whereas the latter is more than 50MB.

As I said, now we are using the library weblogic.jar, and it works fine.
But when we try to replace this library with wlclient.jar, we get this error:

.....
java.rmi.MarshalException: CORBA MARSHAL 0 Maybe; nested exception is:
org.omg.CORBA.MARSHAL: vmcid: 0x0 minor code: 0 completed: Maybe
at com.sun.corba.se.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:197)
....


From Weblogic documentation about Resolved problems, I've read "WebLogic Server sometimes threw a java.rmi.UnmarshalException when a
client application using the thin-client .jar (wlclient.jar) accessed an EJB. It said that this problem did not occur when using weblogic.jar on the client. The code was
modified to address this problem".

But I'm wondering if it is any possible way to use the library wlclient.jar, so as to get our client application lighter, and more suitable to be used much faster with Java Web Start.

If anyone could help me. Thanks in advance

Elena
 
Georgiana Lungu
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am facing the same situation with the same exception, anyone knows the answer, or how can one go around it and still use wlclient.jar?
The strange thing is that it is not happening in all situation, in my case, it only happens when i pass an array with larger length then 1 as a remote method parameter, and not even then for all the types, there are some arrays of some types serviced perfectly fine.
But same, weblogic.jar works ok for all of them.
 
Matt Cartwright
Ranch Hand
Posts: 152
Linux VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hmm, interesting...

what protocol are you using for the connection?

iiop, t3, http ?

how you do the JNDI lookup? setting your own property for the java.naming.factory.url.pkgs,
or using the default (resulting in: weblogic.corba.client.naming)?

also, array with len > 1, is that an array of primitives? Or some value objects?

I assume it's all EJB invocation only, no JMS, no JMX, right?

you sure it's not size related (bug 8358837, fixed in 10.3.2)?

M
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic