on 05-08-2006 2:23 PM
Hello,
we are running JDI and EnterprisePortal (WAS 6.40, SPS 16) for developing on the same server. The server is shutting down each night for offline backup and is going online again next morning. In our project we are using Web Dypro, EJBs and Spring.
After deploying either directly from DevStudio or via auto deploy from CBS everything is working as expected. But after restart of the server we get a ClassCastException during bean lookup in Web Dynpro. It seems that the bean instance on server side is not in line with the bean instance used by client side.
Could the following be happened?
After restart, the server initializes the EJBs. Afterwards the JDI is automatically (???) deploying the client DC package (including client bean). Later when using the bean, we have two different versions of the bean and therefore a ClassCastException arises.
We implemented the Springframework according to the description in HowTo "Spring Integration on SAP NetWeaver" (https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/73af6078-0801-0010-8fa1-deaa9647c5dd). A brief review of the server default trace log did not bring up any hints.
Is it possible that the order of starting the processes (J2EE Engine, JDI, EP) during server restart plays an important role?
Is there anybody who has some ideas?
Thanks and best regards
Björn
Hello Björn,
I am not quite sure what your problem is but did you have a look at these articles:
http://help.sap.com/saphelp_nw04/helpdata/en/4d/993441c73cef23e10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/be/2e2c4142aef623e10000000a155106/frameset.htm
I hope they can give you some idea.
Regads
Vyara
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Vyara,
thanks for your links, but I have already read them.
The problem is that our application is running on local developer workplace (j2ee engine) but not on the JDI runtime engine after restart. So, bean lookup shall be okay.
I am now testing some settings in "application-j2ee-engine.xml" eg. setting:
<start-up mode="always"/>
which was set to default value (lazy) before.
Regards
Björn
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.