on 03-06-2009 10:05 AM
Hi All,
I have a query. Is it possible to define our application as default to the Netweaver Server URL.
For eg:
instead of
http://localhost:50000/myApplication
Secondly
I have few POJOS in my application and i am trying to access ejb module but it is throwing errors like
".....cannot be resolved to a type".
even though i have added the ejb module to my webapplication classpath.
what possibly could be going wrong here?
Thanks,
Mukul.
Hi Mukul,
Regarding your first question:
Yes, it is possible to do that.
But you cannot have the two applications mapped to / at the same time.
You have to remove the root alias mapping to the default application on AS Java, and then deploy your own application mapped to the root alias.
Regards,
Yordan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Makul,
Roughly speaking:
1, Check which application is mapped to the root alias (probably com.sap.engine.docs.examples) - you can do this in
SAP MMC >> AS Java Aliases
The SAP NetWeaver Administrator >> Configuration management >> Infrastructure >> Application Modules function
2, Undeploy this application - using SAP NWDS, for example.
3, Configure your application to be mapped to the root alias - this is configured in the application.xml deployment descriptor (in the EAR project).
4, Deploy your application.
This should work.
However, please mind that you cannot have two applications mapped to one and the same alias (i.e. the root alias in your case), so do not redeploy the default application, unless you change its alias mapping first.
Hope that helps!
Regards,
Yordan
Hi Makul,
To undeploy an application, using SAP NetWeaver Developer Studio:
1, Open the Undeploy View in the SAP NWDS (Window >> Show View >> Other >> Deploy View >> Undeploy View).
This view has two parts - all deployed applications are shown on the left, and the list of application to be undeployed - on the right.
2, Select the application to undeploy (in your case - JEE-APS(sap.com) >> com.sap.engine.docs.examples(sap.com)).
3, In the context menu of the application to undeploy, choose Add to Undeploy list.
The application should now appear in the list on the right.
4, Choose the Undeploy all items in the list button.
This button is located just above the list of applications to be undeployed.
I hope this helps.
Regards,
Yordan
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
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.