Profile? not working

 11 Replies
 0 Subscribed to this topic
 14 Subscribed to this forum
Sort:
Author
Messages
Roger French
Veteran Member Send Private Message
Posts: 549
Veteran Member
Env: 8.0.3.6
Apps: 8.0.3.7
Tomcat: 4.0.6
IIS: 6.0
IOS: 8.0.3.6

I'm configuring Processflow.
All my servlets work except Profile. Profile was working, and I'm not sure why it is not now. (Yes I know...) Have stopped and started RMI and TOmcat. RMI is working fine as is Tomcat.

I've already looked at ensuring IOS.jar are in sync. Also I looked at articles in the KB.

I'm getting exceptions at:

http:///servlet/Profile?

exception

javax.servlet.ServletException: Cannot allocate servlet instance for path /servlet/Profile
at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:434)
at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)

...
...

root cause

java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)




Any ideas? I know, this should be an "easy" one.

Thank you in advance,
Roger
John Henley
Send Private Message
Posts: 3351
Did you check to make sure that the Profile.class still exists in JAKARTA_BASE/webapps/ROOT/WEB-INF/classes ?
Thanks for using the LawsonGuru.com forums!
John
Roger French
Veteran Member Send Private Message
Posts: 549
Veteran Member
Yes Profile.class is in %CATALINA_BASE%\webapps\root\web-inf\classes.

I recopied it back there to see if any differenence would result.
I recyclced RMI and Tomcat. Still the same error.

-R
John Henley
Send Private Message
Posts: 3351
Have you looked at %CATALINA_BASE%\logs\* ?
Thanks for using the LawsonGuru.com forums!
John
John Henley
Send Private Message
Posts: 3351
Has anything changed on the server related to your configuration of ProcessFlow? E.g., did you install anything new?

Have you looked at Lawson KB article 972592 ? Not sure if it applies, since you're running Tomcat 4.0.6....

However, since you're running IOS 8.0.3.6, I'm guessing you now have two JDKs -- 1.3 & 1.4? Maybe the Tomcat service startup is still referencing the wrong /java version?
Thanks for using the LawsonGuru.com forums!
John
Roger French
Veteran Member Send Private Message
Posts: 549
Veteran Member
yes it shows the same error... .
John Henley
Send Private Message
Posts: 3351
Has anything changed on the server related to your configuration of ProcessFlow? E.g., did you install anything new?
Thanks for using the LawsonGuru.com forums!
John
John Henley
Send Private Message
Posts: 3351
If you run /servlet/What, does it include an entry for Profile ?
Thanks for using the LawsonGuru.com forums!
John
John Henley
Send Private Message
Posts: 3351
Did you change %CATALINA_BASE%\webapps\root\web-inf\web.xml as part of the ProcessFlow install?
You may have removed Profile from the section.
Thanks for using the LawsonGuru.com forums!
John
John Henley
Send Private Message
Posts: 3351
See the post-installation instructions for ProcessFlow, specifically the section "Set the Inbasket RMI server name and port number (Tomcat, WebSphere 4.0.X, and WebSphere 5.0.X)". In there, you will see the entry for the Profile servlet that needs to go into %CATALINA_BASE%\webapps\root\web-inf\web.xml
Thanks for using the LawsonGuru.com forums!
John
Roger French
Veteran Member Send Private Message
Posts: 549
Veteran Member
John, the article 972592 I did see before, and finally I was able to make the change suggested for java.class.path. After I did that, the Profile worked.

Thanks for the 2nd pair of eyes.

Again, some of the documentation for PF, IOS could be better, but I guess we all already know that.

-Roger
John Henley
Send Private Message
Posts: 3351
Great--glad it's working!
Thanks for using the LawsonGuru.com forums!
John