on 03-22-2010 11:57 AM
Hello everybody!
Some days ago, we switched from testing our WebDynpros on a remote J2EE server to local servers for development. So I changed my NWDI preferences (SAP J2EE Engine) from "SAP J2EEengine is installed on remote host" to "SAP J2EE engine is installed on local host" and specified system name and instance. After a rebuild, the deployment to the local engine worked o. k., but when I start the WebDynpro, I get a java.lang.NoClassDefFoundError on one of my classes. When I change the configuration back to the remote server, rebuild and deploy to the remote server, everything works fine.
I'm pretty sure I'm missing something. Can you point me into the right direction ?
Thanks a lot,
Michael
Hi Michael,
Please repair and re-load the WD Projects when you change from SAP J2EE Engine information.
Update your server IP address and host name in host file entry at (RUN > drivers > etc > host file)
Hope it helps
Regards
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your hint!
I repaired and rebuilt the DCs, but was not able to locate the host file you mentinoned. The error remains almost the same, except that the NoClassDefFound exception now comes without a class name.
Where would I find that host file on a windows machine ? My J2EE is installed in E:\usr\sap\E01\JC00\j2ee\cluster\server0.
Thanks
Michael
Hello!
Adding my workstations ip to the "hosts" file did not have any effect on the result of starting the WebDynpro, I still get a NoClassDefFoundError when I first call one of my self implemented classes. Since the workstations name resolution is done via our DNS, using the local hosts file should not be necessary. Do I have to add the server name in a specific format, which is not known to the DNS ?
Any other hints ?
Thanks
Michael
Well, dropping this for now; I'll re-post when the issue comes up again...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.