Hi,

I'm running:

JBoss PRE 2.1
Tomcat 3.2.1 (embedded)

I created an ear that has a war with only a jsp and an html file.
I can run a war containing a servlet connected to stateless EJB, but
jsp or static html throws a NPE. I've got the tools.jar in classpath.
The ear deploys successfully in JBoss. However, I get a NPE when trying
to access
the static resources.
Any idea as to what's wrong? Thanks in adv.

TRACE:
[Auto deploy] Auto deploy of file:/home2/appsvr/dist/deploy/tyblue.ear
[J2EE Deployer Default] Stopping module tyblue.ear
[Container factory]
Undeploying:file:/home2/appsvr/dist/tmp/deploy/Default/tyblue.ear
[Container factory] Undeployed application:
file:/home2/appsvr/dist/tmp/deploy/Default/tyblue.ear
[J2EE Deployer Default] Stopping module tyblueclient.war
2001-03-10 09:04:42 - ContextManager: Removing context Ctx(  )
[J2EE Deployer Default] Destroying application tyblue.ear
[J2EE Deployer Default] Deploy J2EE application:
file:/home2/appsvr/dist/deploy/tyblue.ear
[J2EE Deployer Default] Create application tyblue.ear
[J2EE Deployer Default] inflate and install module tyblueclient.war
[J2EE Deployer Default] Starting module tyblueclient.war
2001-03-10 09:04:42 - ContextManager: Adding context Ctx(  )
[Container factory]
Deploying:file:/home2/appsvr/dist/tmp/deploy/Default/tyblue.ear
[Container factory] Deployed application:
file:/home2/appsvr/dist/tmp/deploy/Default/tyblue.ear
[J2EE Deployer Default] J2EE application:
file:/home2/appsvr/dist/deploy/tyblue.ear is deployed.
2001-03-10 09:04:52 - Ctx(  ): Exception in: R(  + /index.html + null) -
java.lang.NullPointerException
        at
org.apache.tomcat.request.AccessInterceptor.requestMap(AccessInterceptor.java:252)
        at
org.apache.tomcat.core.ContextManager.processRequest(ContextManager.java:820)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:771)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:484)


WAR:
<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">

<web-app>
   <welcome-file>
      index.html
   </welcome-file>
   <jsp-file>
      index.jsp 
   </jsp-file>
</web-ap<?xml version="1.0" encoding="ISO-8859-1"?>

EAR:
<application>
    <display-name>tyblue Client</display-name>
    <module>
        <web>
            <web-uri>tyblueclient.war</web-uri>
            <context-root>/</context-root>
        </web>
    </module>
</application>


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]

Reply via email to