File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes Failed to deploy file. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Failed to deploy file." Watch "Failed to deploy file." New topic
Author

Failed to deploy file.

Jothi
Greenhorn

Joined: Oct 08, 2002
Posts: 1
Architecture:-
PowerBuilder makes a JSP request , JSP calls a Session Bean, Bean Calls a Tuxedo Service through XMLink (XMLink is a JCA , this is happning in Websphere 4.0) Tuxedo Calls "Cobal shared objects", (oracle OPS and EMC, etc)
Any idea about the following inconsistent error !!!
JORB0012: Pass by reference has been set to: true (NoLocalCopies = true)
An unexpected exception was thrown. Halting execution.
com.ibm.ejs.sm.active.ActiveFileBrowserService

Thanks for time and info
Patrick Finnegan
Ranch Hand

Joined: Mar 05, 2002
Posts: 179
Use pass by value if possible. See warning at bottom of explanation.

Pass-by-value versus pass-by-reference
(NoLocalCopies)
Short description: The EJB 1.1 specification states that method calls are to be pass-by-value. Pass-by-value means that for every remote method call, the parameters are copied onto the stack before the call is made. This can be expensive. It is possible to specify pass-by-reference, which passes the original object reference without making a copy of the object.
Actual benefit observed: If the EJB client and EJB server are installed in the same WebSphere Application Server instance, specifying pass-by-reference can improve performance up to 50%.
When to try adjusting: Pass-by-reference helps performance only in the case where non-primitive object types are being passed as parameters. Therefore, int and floats are always copied, regardless of the call model.
WARNING: Pass-by-reference can be dangerous and can lead to unexpected results. If an object reference is modified by the remote method, the change might be seen by the caller.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Failed to deploy file.