Meaningless Drivel is fun!
The moose likes BEA/Weblogic and the fly likes Use wlclient.jar  instead of weblogic.jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Use wlclient.jar  instead of weblogic.jar" Watch "Use wlclient.jar  instead of weblogic.jar" New topic

Use wlclient.jar instead of weblogic.jar

elena garcia

Joined: May 19, 2009
Posts: 1

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

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

Georgiana Lungu
Ranch Hand

Joined: May 17, 2010
Posts: 34

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

Joined: Aug 25, 2008
Posts: 149

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)?

I agree. Here's the link:
subject: Use wlclient.jar instead of weblogic.jar
It's not a secret anymore!