Hello !
I need to integrate a java servlet in EP5 (WAS 6.2). I first tried it in my PDK and it was working fine :
- I write my servlet class and put it in Tomcat lib folder (in a jar file)
- I update the irj web.xml with my servlet declaration :
<servlet>
<servlet-name>getPDF</servlet-name>
<display-name>getPDF</display-name>
<servlet-class>getPDF</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>getPDF</servlet-name>
<url-pattern>/irj/servlet/getPDF</url-pattern>
</servlet-mapping>
In my portal component I can access my servlet using a path "/irj/servlet/getPDF"
When I try to do that in the portal, I get a 404 error message "The requested servlet ( getPDF ) not found."
Does anybody know what's wrong with that ?
Thank you !
Hello,
have you tried to post this question in the Enterprise Portal Forums?
Regards
Gregor
It's working fine under Tomcat with my PDK but it isn't inside the portal. You need to package your class only from SDK 1.4.1 and EP5 PDK requires 1.3.1.
The class name is not the problem. I also tried by packaging my class but it doesn't work either. I posted the same message in EP devl forum.
Any suggestion ?
Add a comment