on 02-25-2015 10:06 AM
Hi All,
I got stuck in ME POD creation using SDK. I have created a web project and added dependency engine.jee5.facade, me/biuldplugin-resources, me/domain, me/papi, me/wpmf/libs, tc/ui/faces. I have also created the Managed Beans and required classes. I also updated faces-config.xml and created jsp as per my requirement.
Next I have created an ear project and added web project within the dependency. Within ear project I have also updated the application.xml file for context root (PODTEST). Now I built and deployed the ear in server. After successful deployment I am trying to test it in browser with URL http://<Host>:<Port>/PODTEST/mypod.jsp
But getting error like “500 Internal Server error. Error: Application error occurred during the request processing. Error occurred in invoking event "contextInitialized()" on listener class com.sap.me.frame.AppStartupListener.”
Can you please help if I am missing anything or what can be the cause of error.
Thanks in Advance
Chandan
Hi Chandan ,
Please check that you have deleted content below from web.xml :
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
Also please check that you have only one Web DC defined as dependency to EAR DC.
I had the same error when created two Web DC and added them as dependency to EAR DC.
Regards,
Oksana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you create service-config.xml file in Web DC ?
Should be created in Java Resources --> source folder.
Content , replace vendorID with your own vendor value:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service-config SYSTEM "http://www.visiprise.com/dtd/service-config.dtd">
<service-config moduleId="com.vendorID.webext">
<import moduleId="com.sap.me.activity" service="ExtensionLoaderParent"/>
<service name="ExtensionLoader" parent="ExtensionLoaderParent"/>
</service-config>
Hi Oksana,
Yes, I have the service-config.xml with the source folder of web dc project.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service-config SYSTEM "http://www.visiprise.com/dtd/service-config.dtd">
<service-config moduleId="com.demo.webext">
<!-- Import required to create a new business service. -->
<import moduleId="com.sap.me.activity" service="ExtensionLoaderParent"/>
<service name="ExtLoaderService" parent="ExtensionLoaderParent"/>
</service-config>
Thanks
Chandan
Hi Oksana,
I just build and deployed the project again. No error/warning for building but at deployment I got some worning. The warning is like below
Description:
1. Warning occurred on server during update of <EAR_project_name>ear : Web Model Builder: com.sap.ASJ.webjlin.000043 tag handler type "com.sap.tc.ls.internal.faces.tag.TagTileLayoutCell" referenced by annotation could not be loaded., file: <WEB_project_name>web.war#com.sap.tc.ls.internal.faces.tag.TagTileLayoutCell, severity: warning
CSN component of deployment item is not available
2. Warning exception has been returned while the [<EAR_project_name>ear] was starting. Warnings:[
][
Warning occurred on server during startApp of <EAR_project_name>ear : Cannot parse jsp [/usr/sap/<XXX>/J00/j2ee/cluster/apps/<project path>/<EAR_project_name>ear/servlet_jsp/PODTEST/root/com/sap/me/wpmf/client/template.jsp]. Error is: [Cannot parse custom tag with short name [body].].
]
Result
Status:Warning
Thanks
Chandan
User | Count |
---|---|
85 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.