Harit,

2) Do not unjar-the-war, or struts.jar :)

1) Do not put struts.jar in the weblogic classpath... Here is my output from
wlconfig:

WebLogic startup settings are presently:

CLASSPATH Prefix
c:\weblogic\lib\weblogic510sp8boot.jar;c:\java\xerces-1_2_3\tools\xerces.jar
CLASSPATH
c:\weblogic\lib\weblogic510sp8boot.jar;c:\java\xerces-1_2_3\tools\xerces.jar
;c:\weblogic\jre1_2\lib\tools.jar;c:\weblogic\jre1_2\jre\lib\rt.jar;c:\weblo
gic\jre1_2\jre\lib\i18n.jar;C:\weblogic\license;C:\weblogic\classes\boot;C:\
weblogic\classes;C:\weblogic\lib\weblogicaux.jar;C:\weblogic\eval\cloudscape
\lib\cloudscape.jar
JAVA_HOME           c:\weblogic\jre1_2
WEBLOGIC_LICENSEDIR C:\weblogic\license
WEBLOGIC_HOME       C:\weblogic
system properties:
                    java.security.manager
                    java.security.policy==C:\weblogic\weblogic.policy
                    weblogic.system.home=C:\weblogic
                    java.compiler=symcjit
 
weblogic.class.path=c:\weblogic\lib\weblogic510sp8.jar;C:\weblogic\license;C
:\weblogic\classes;C:\weblogic\myserver\serverclasses;C:\weblogic\lib\weblog
icaux.jar;
INITIAL_HEAP        8 MB
MAX_HEAP            32 MB
SERVERCLASSPATH
c:\weblogic\lib\weblogic510sp8boot.jar;c:\java\xerces-1_2_3\tools\xerces.jar
;c:\weblogic\jre1_2\jre\lib\rt.jar;c:\weblogic\jre1_2\jre\lib\i18n.jar;C:\we
blogic\classes\boot;C:\weblogic\eval\cloudscape\lib\cloudscape.jar


4) You have added an entry in weblogic.properties for each application,
right? i.e.

weblogic.httpd.webApp.strutsexample=c:/java/jakarta-struts10/webapps/struts-
example.war
weblogic.httpd.webApp.strutsdocs=c:/java/jakarta-struts10/webapps/struts-doc
umentation.war
weblogic.httpd.webApp.strutstest=c:/java/jakarta-struts10/webapps/struts-tes
t.war 

5) Now start WL and let it extract the classes from the wars, then you need
to open the war with winzip and extract only ApplicationResources.properties
and put this with the other class files in the _tmp_war.

6) Restart WL and it should work.


Good luck :)



-----Original Message-----
From: Harit Nanavati [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 25, 2001 10:51 PM
To: [EMAIL PROTECTED]
Subject: Re: Weblogic 5.1 and Struts 1.0, Classpath question


Just did that ..
sturts.jar extracted. directory in WL classpath
war file extrected.
deleted starts.jar from lib directory
added the addtional precomple lines in web.xml
All the jsp compiles without problem.
But same error again !!..
 Missing resources attribute org.apache.struts.action.MESSAGE

No luck here !

Reply via email to