cancel
Showing results for 
Search instead for 
Did you mean: 

Struts 1.1 with J2EE engine

Former Member
0 Kudos

Hi,

I am having trouble mkaing struts 1.1 work on J2EE engine Standalone for version 6.2. The application runs fine on websphere studio. But when I export the WAR file and try to deploy it on the Standalone J2EE engine its shoots up with an error message ...

[ERROR] MessageResourcesFactory - -MessageResourcesFactory.createFactory <java.lang.ClassNotFoundException: org.apache.struts.util.PropertyMessageResourcesFactory>java.lang.ClassNotFoundException: org.apache.struts.util.PropertyMessageResourcesFactory

at

..........and a list of similat lines...

I was playing around with the library.txt and reference.txt as told in Documentation.

<SAP_J2EE_Engine folder>/alone/managers/refernce.txt and

<SAP_J2EE_Engine folder>/alone/managers/library.txt

In the refernce.txt i have all the following lines added

library struts struts/struts.jar struts/jstl.jar struts/standard.jar struts/struts-el.jar struts/commons-beanutils.jar struts/commons-validator.jar struts/commons-collections.jar struts/commons-digester.jar struts/commons-fileupload.jar struts/commons-lang.jar struts/commons-logging.jar

reference struts inqmyxml

reference struts servlet

reference struts jdbc

In the library.txt I have the following lines added

reference <My-Application> library:struts

I have played around with changing the parameters...adding and deleting the jar files from the class path but still no success in getting struts work..

If any one had the same problem and got this work...can you help me out.

Thanks,

Ravi

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ravi

Instead of referring the inqmyxml for the xml parsing libraries could you use the jakartas own XML parsing libraries. I forgot what they are...'crimson' is it??

Also could you do a search and find out in which jar is PropertyMessageResourcesFactory.class packed and try referencing that too.

Regards

Pran