No problem Gary. Weird, it looks like struts can't get the module config
file by calling getServletConfig().getResource(path) (looking at the struts
code where the null pointer occurs):
org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServl 
et.java:705).  What JDK are you using, 1.4.2?  I know it works on both linux
and windows, haven't tried on a Mac however.

Chad

-----Original Message-----
From: Gary Struthers [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 06, 2005 5:30 PM
To: Chad Brandon
Subject: Re: [Andromda-user] Animal Quiz M3 NPE at
ActionServlet.parseModuleConfigFile

Thanks Chad for such a quick response. I wanted to spare the mailing  
list the whole stack trace. The first NPE is for animalquiz the second  
is for online-store. Here's the whole startup log.

Thanks again,
Gary

On Jan 6, 2005, at 4:21 PM, Chad Brandon wrote:

> Can you give more of the stack trace?
>

======================================================================== 
=

   JBoss Bootstrap Environment

   JBOSS_HOME: /usr/local/jboss/jboss-3.2.6

   JAVA: /Library/Java/Home/bin/java

   JAVA_OPTS:  -Dprogram.name=run.sh

   CLASSPATH:  
/usr/local/jboss/jboss-3.2.6/bin/run.jar:/Library/Java/Home/lib/ 
tools.jar

======================================================================== 
=

16:01:56,341 INFO  [Server] Starting JBoss (MX MicroKernel)...
16:01:56,347 INFO  [Server] Release ID: JBoss [WonderLand] 3.2.6  
(build: CVSTag=JBoss_3_2_6 date=200410140106)
16:01:56,351 INFO  [Server] Home Dir: /usr/local/jboss/jboss-3.2.6
16:01:56,353 INFO  [Server] Home URL: file:/usr/local/jboss/jboss-3.2.6/
16:01:56,355 INFO  [Server] Library URL:  
file:/usr/local/jboss/jboss-3.2.6/lib/
16:01:56,363 INFO  [Server] Patch URL: null
16:01:56,381 INFO  [Server] Server Name: default
16:01:56,383 INFO  [Server] Server Home Dir:  
/usr/local/jboss/jboss-3.2.6/server/default
16:01:56,386 INFO  [Server] Server Home URL:  
file:/usr/local/jboss/jboss-3.2.6/server/default/
16:01:56,388 INFO  [Server] Server Data Dir:  
/usr/local/jboss/jboss-3.2.6/server/default/data
16:01:56,390 INFO  [Server] Server Temp Dir:  
/usr/local/jboss/jboss-3.2.6/server/default/tmp
16:01:56,420 INFO  [Server] Server Config URL:  
file:/usr/local/jboss/jboss-3.2.6/server/default/conf/
16:01:56,422 INFO  [Server] Server Library URL:  
file:/usr/local/jboss/jboss-3.2.6/server/default/lib/
16:01:56,424 INFO  [Server] Root Deployment Filename: jboss-service.xml
16:01:56,432 INFO  [Server] Starting General Purpose Architecture  
(GPA)...
16:01:57,356 INFO  [ServerInfo] Java version: 1.4.2_05,Apple Computer,  
Inc.
16:01:57,358 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM  
1.4.2-38,"Apple Computer, Inc."
16:01:57,360 INFO  [ServerInfo] OS-System: Mac OS X 10.3.7,ppc
16:01:58,242 INFO  [Server] Core system initialized
16:02:03,547 INFO  [Log4jService$URLWatchTimerTask] Configuring from  
URL: resource:log4j.xml
16:02:03,742 INFO  [WebService] Using RMI server codebase:  
http://Gary-Struthers-Computer.local:8083/
16:02:04,462 INFO  [NamingService] Started jndi bootstrap jnpPort=1099,  
rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client  
SocketFactory=null, Server  
[EMAIL PROTECTED]
16:02:08,787 INFO  [RARMetaData] Loading JBoss Resource Adapter for  
JDBC 2 XA drivers
16:02:08,789 INFO  [RARMetaData] Required license terms present. See  
deployment descriptor.
16:02:13,954 INFO  [MailService] Mail Service bound to java:/Mail
16:02:15,581 INFO  [Embedded] Catalina naming disabled
16:02:16,510 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on  
http-0.0.0.0-8080
16:02:16,593 INFO  [Catalina] Initialization processed in 886 ms
16:02:16,595 INFO  [StandardService] Starting service jboss.web
16:02:16,602 INFO  [StandardEngine] Starting Servlet Engine: Apache  
Tomcat/5.0.28
16:02:16,627 INFO  [StandardHost] XML validation disabled
16:02:16,666 INFO  [Catalina] Server startup in 72 ms
16:02:16,823 INFO  [TomcatDeployer] deploy, ctxPath=/invoker,  
warUrl=file:/usr/local/jboss/jboss-3.2.6/server/default/deploy/http- 
invoker.sar/invoker.war/
16:02:17,953 INFO  [TomcatDeployer] deploy, ctxPath=/,  
warUrl=file:/usr/local/jboss/jboss-3.2.6/server/default/deploy/ 
jbossweb-tomcat50.sar/ROOT.war/
16:02:18,201 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil,  
warUrl=file:/usr/local/jboss/jboss-3.2.6/server/default/deploy/jms/ 
jbossmq-httpil.sar/jbossmq-httpil.war/
16:02:18,418 INFO  [DefaultDS] Bound connection factory for resource  
adapter for ConnectionManager  
'jboss.jca:service=LocalTxCM,name=DefaultDS to JNDI name  
'java:/DefaultDS'
16:02:18,822 INFO  [A] Bound to JNDI name: queue/A
16:02:18,826 INFO  [B] Bound to JNDI name: queue/B
16:02:18,831 INFO  [C] Bound to JNDI name: queue/C
16:02:18,834 INFO  [D] Bound to JNDI name: queue/D
16:02:18,838 INFO  [ex] Bound to JNDI name: queue/ex
16:02:19,387 INFO  [testTopic] Bound to JNDI name: topic/testTopic
16:02:19,391 INFO  [securedTopic] Bound to JNDI name: topic/securedTopic
16:02:19,395 INFO  [testDurableTopic] Bound to JNDI name:  
topic/testDurableTopic
16:02:19,399 INFO  [testQueue] Bound to JNDI name: queue/testQueue
16:02:19,522 INFO  [UILServerILService] JBossMQ UIL service available  
at : /0.0.0.0:8093
16:02:19,627 INFO  [DLQ] Bound to JNDI name: queue/DLQ
16:02:19,667 INFO  [JmsXA] Bound connection factory for resource  
adapter for ConnectionManager 'jboss.jca:service=TxCM,name=JmsXA to  
JNDI name 'java:/JmsXA'
16:02:19,772 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console,  
warUrl=file:/usr/local/jboss/jboss-3.2.6/server/default/deploy/jmx- 
console.war/
16:02:20,110 INFO  [TomcatDeployer] deploy, ctxPath=/web-console,  
warUrl=file:/usr/local/jboss/jboss-3.2.6/server/default/deploy/ 
management/web-console.war/
16:02:21,215 INFO  [EARDeployer] Init J2EE application:  
file:/usr/local/jboss/jboss-3.2.6/server/default/deploy/animalquiz-app 
-1.0M3.ear
16:02:23,714 INFO  [EJBDeployer] Deployed:  
file:/usr/local/jboss/jboss-3.2.6/server/default/tmp/deploy/ 
tmp23802animalquiz-app-1.0M3.ear-contents/animalquiz-core-1.0M3.jar
16:02:23,777 INFO  [TomcatDeployer] deploy, ctxPath=/animalquiz,  
warUrl=file:/usr/local/jboss/jboss-3.2.6/server/default/tmp/deploy/ 
tmp23802animalquiz-app-1.0M3.ear-contents/animalquiz-web-1.0M3.war/
16:02:24,540 ERROR [Engine]  
StandardContext[/animalquiz]StandardWrapper.Throwable
java.lang.NullPointerException
         at  
org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServl 
et.java:705)
         at  
org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.ja 
va:670)
         at  
org.apache.struts.action.ActionServlet.init(ActionServlet.java:329)
         at javax.servlet.GenericServlet.init(GenericServlet.java:211)




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to