Deserializing exceptions in exploded deployment

Advertisement
Hi,
I've got an application exception named "EPCException" that extends java.lang.Exception that I throw from a stateless session bean and catch in a servlet. My application is deployed on WebLogic 6.1sp4/jdk131 in exploded format for both the web app and ejbs. That is, neither the web or ejb components are packaged in archives (war and jar respectively).
For some reason the state in EPCException (e.g., error code attribute) is not being preserved when the exception is deserialized in the web app and caught in the servlet. The state of the EPCException is that of the default
To be sure, I log the state of EPCException before I throw the exception in the ejb and after I catch the exception in the servlet and they do not match.
When I deploy the application as an ear file (no rmi calls, thus no [de]serialization) everything is fine with the state of the EPCException.
Does RMI treat exception [de]serialization differently than normal serializable objects returned by remote method calls?
Any help would be appreciated.
Cheers,
Scott
Advertisement

Replay

Are you sure the timestamps on the JSP files are not modified by the build process?
          If you compile the files into a destination dir say "bar/WEB-INF/classes" and then copy all the jsp files (w/o preserving the timestamps) to /bar which is then deployed. In this case all the JSPs will be recompiled since the class files contain the timestamp of the original JSP it was compiled against.
          check out http://dev2dev.bea.com/pub/a/2005/01/jsp_reloaded.html which describes a bit about the jsp compilation process

Deploy Exception Error while Deploying DCs in NWDS 7.3

Hi I have this following error while deploying the DCs into the AS Java. "Deployment Exception during deployment phase [DeploymentException], cause=[ASJ.dpl_dc.001085 Operation [deploy] of [demo.sap.com_dc] failed] " The DC which i created is a

Documentation on exploded deployment?

Hello all, I am having trouble finding documentation on how to deploy a exploded war file. I read on theserverside that sunone 7 supports it and requires some directory naming conventions to make it work. Could someone point me in the right direction

Clusterwide exception: deploy customised ess~tra~tre.ear file. HELP.

We are customising ess/mss business package to suit to Verizon Wireless.What are the dependent modules/packages. (as per the trace below).. How do we proceed to deploy it ? It is an Unix Portal Dev machine with SP13 and current patches.  EPBC213P_2-1

Deploy exception creating new RemoteLoginContext

Hi, I have this exception when I deploy my J2EE application. The server node is Up and Running. WebAs version 7 The deployment begins ok, but it fails near de finnish... can anyone help me? Aborted: development component 'comp'/'fjr.es'/'localhost'/'

Deploy exception

Hi All, Currently I am working with NWDS7.0.16, for that I create a track, under the tacke I create test DC and I created webdynpro application. when I try to deploy the application I am getting exception mention below. Could anybody please help me.

Error while deploying a composite application

Hi I have an error while deploying my composite application. It says java.lang.NoClassDefFoundError: com/sap/caf/ui/utils/cool/CoolConnectionProperties The versions of my NWDS and WAS are 7.0.Please help. Thanks, ms.Hi I have added references to libr

Error in Deploying WebDynpro Application

Hi Guys, I got the following error while deploying web dynpro application. Can anybody please help me in solving this error. Thanks in advance 26/12/2007 15:24:54 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy

Error while deploying .EAR on to J2EE Engine..

HI all, I was trying to deploy a .EAR file on to the nw04s J2ee Engine.But it is getting aborted and it is throwing the following error. Caught exception during application deployment from SAP J2EE Engine's deploy API: com.sap.engine.deploy.manager.M

Problem while deploying webdynpro application

Hi all,   When i am trying to deploy my application i am getting the following error. Can any  one suggest me why this error is coming, the server is in local host only. The error is Apr 28, 2007 2:52:30 PM /userOut/deploy (com.sap.ide.eclipse.sdm.th

SDM ESS Deployment Error

Hello Folks, I have been facing this error for some time now, I've tried repeating and restarting SDM deployment but just doesn't wok. Its the BP for ESS that I'm trying to deploy for PCD. Can some one suggest how to fix this please. Best regards San

Deployment of SAP_ESS Fails

Hi all, We are trying to deploy the SAP_ESS component to our J2EE Engine. We have succesfully deployed the PCUIGP component, but the ESS fails. This is a snippet from the log: 07/12/14 12:14:42 -  ERROR: Not deployed. Deploy Service returned ERROR:  

Error faced while deploying Dynpro application in SAP EP 7.0

Dear All, I am getting the foll. error while deploying dynpro application from NWDS to SAP EP 7.0 May 28, 2009 3:58:01 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR: [002]Deployment ab

J2EE Engine Deployment Error

I have written the betting pool applicaton for Soccer world Cup (/people/raphael.vogel/blog/2006/05/18/writing-a-betting-pool-application-for-the-soccer-world-cup-2006-part-i) now i would like to deploy to j2ee Engine((/people/raphael.vogel/blog/2006

Deployment failed in SDM ( SP8 to SP16)

hi i am updating solman 4.0 SP8 to SP16, i have updated kernel and JSPM version to letest level. i have copied all .SCA files and XML file to eps/in folder...i have started java update from JSPM.. java update failed in JSPM, so i have switched to saf

Oracle.jdeveloper.deploy.DeployException

Hi, i am trying to run the application facing this .... actually i have just installed Windows mobile for using it with adf mobile applications.... in connection settings of Activesync i have changed the connection settings port as DMA is their any p

Error deploying WS to remote J2EE engine

Any help with what I am doing wrong here would be GREAT! I'm getting this message after I create a WS from a EJB: Caught exception during application deployment from SAP J2EE Engine's deploy service: java.rmi.RemoteException: Cannot deploy applicatio

Webdynpro application deployment issue.

Hi Laydies/Gentlements, When I try to deploy webdynpro application, it threw application deployment exception. Anyone can help me? The message like below: 2010/11/11 下午 03:36:36 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager)

Deploying a J2EE web application in Oracle 10g

Hi friends, <br> I had worked with Oracle9i 9.0.3 . But it's my first experience with Oracle 10g . I have installed Oracle 10g Infrastructure , Metadata Repository and one Middle tier - Forms and i hope i have followed The Oracle 10g installation gu

Requirement for Exploded WAR File

Hi, All: We have a requirement to deploy an exploded WAR file, not just for development purposes but also it could turn out to be helpful in our production environment. As far as I know, all we have to do is unzip the war file and explode it in to th