Hi,

The following error appears many times in the mailing list archive for
various containers , and I am also getting it in the following environment
when attempting a clean deployment of Struts 1.1. struts-example.war to
JRUN 3.1

I would be very grateful if someone could summarise what the specific
problem is ( i.e BUG in container version etc ) and provide any
configuration steps that I can perform to rectify this problem.
I have noted that it is perhaps possible to work around this issue by
copying JARS to the /lib/ext dir of the container. In our case,  we require
to deploy a warfile only. Any workaounds must affect only our server
instance ( which is referred to as myApp below ).

struts.jar is only located in the WEB-INF/lib dir of my application and is
not on the classpath elsewhere.

Regards
Jason

JRun 3.1 3.1.26414.
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
SunOS 5.6 Generic_105181-33

Aug 18, 2003 10:12:06 AM org.apache.struts.util.MessageResourcesFactory
createFactory
SEVERE: MessageResourcesFactory.createFactory
java.lang.ClassNotFoundException:
org.apache.struts.util.PropertyMessageResourcesFactory
...
Aug 18, 2003 10:12:06 AM org.apache.struts.util.MessageResourcesFactory
createFactory
SEVERE: MessageResourcesFactory.createFactory
java.lang.ExceptionInInitializerError
at
org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:192)
        at
org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:576)
        at
org.apache.struts.action.ActionServlet.initInternal(ActionServlet.java:1329)
        at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)
...
Caused by: java.lang.NullPointerException
        at
org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:577)
        at
org.apache.struts.util.RequestUtils.<clinit>(RequestUtils.java:134)
        ... 22 more

Container classpath:

jrun.rootdir is /export/opt/jrun31/bin/..
$APPDIR is /export/opt/jrun31/servers/myApp
Starting myApp
Getting CLASSPATH with: /export/opt/jrun31/bin/../bin/getprop
java.classpath -v jrun.rootdir=/export/opt/jrun31/bin/.. -v
jrun.server.name=myApp -v
jrun.server.rootdir=/export/opt/jrun31/servers/myApp
/export/opt/jrun31/servers/myApp/local.properties
/export/opt/jrun31/bin/../lib/global.properties
CLASSPATH=/export/opt/jrun31/bin/../lib/ext:/export/opt/jrun31/bin/../lib/ext/US_export_policy.jar:/export/opt/jrun31/bin/../lib/ext/activation.jar:/export/opt/jrun31/bin/../lib/ext/ejb.jar:/export/opt/jrun31/bin/../lib/ext/iioprt.jar:/export/opt/jrun31/bin/../lib/ext/jaxp.jar:/export/opt/jrun31/bin/../lib/ext/jce1_2_1.jar:/export/opt/jrun31/bin/../lib/ext/jcert.jar:/export/opt/jrun31/bin/../lib/ext/jdbc.jar:/export/opt/jrun31/bin/../lib/ext/jms.jar:/export/opt/jrun31/bin/../lib/ext/jndi.jar:/export/opt/jrun31/bin/../lib/ext/jnet.jar:/export/opt/jrun31/bin/../lib/ext/jsse.jar:/export/opt/jrun31/bin/../lib/ext/jta.jar:/export/opt/jrun31/bin/../lib/ext/local_policy.jar:/export/opt/jrun31/bin/../lib/ext/mail.jar:/export/opt/jrun31/bin/../lib/ext/parser.jar:/export/opt/jrun31/bin/../lib/ext/pop3.jar:/export/opt/jrun31/bin/../lib/ext/servlet.jar:/export/opt/jrun31/bin/../lib/ext/sunjce_provider.jar:/export/opt/jrun31/bin/../lib/jrun.jar:/export/opt/jrun31/bin/../lib/install.jar:/ex!
port/opt/jrun31/bin/../lib/ejipt.jar:/export/opt/jrun31/bin/../lib/ejipt_client.jar:/export/opt/jrun31/bin/../lib/ejipt_tools.jar:/opt/jdk/1.3.0.2/solaris/lib/tools.jar:/export/opt/jrun31/bin/../lib/jsp.jar:/export/opt/jrun31/bin/../lib/ssi.jar:/export/opt/jrun31/bin/../lib/wddx.jar:/export/opt/jrun31/bin/../lib/xt.jar:/export/opt/jrun31/bin/../lib/rhino.jar:/export/opt/jrun31/bin/../servers/lib:/export/opt/jrun31/bin/../servers/lib/jrun_drivers.jar:/export/opt/jrun31/bin/../servers/lib/jruntags.jar:/export/opt/jrun31/bin/../servers/lib/pbembedded35RE.jar:/export/opt/jrun31/servers/myApp/lib

debug /opt/jdk/1.4.1_01/solaris/bin/java
-Djrun.rootdir=/export/opt/jrun31/bin/.. -Xms256M -Xmx256M
-Djava.awt.headless=true  -Duser.language=en -Duser.timezone=Europe/London
JRun -start .

( /export/opt/jrun31/servers/myApp/lib is empty ).


This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to