error in deploy a web application
silborn Mar 19, 2004 11:31 AMHi,
I have a problem during startup of jboss, I try to deploy a web application with the embedded
tomcat, in the configuration file /www/jboss-3.2.3/server/default/deploy/jbossweb-tomcat41.sar/META-INF/jboss-service.xml
i have put a new host definition:
<!-- Access logger -->
<Environment name="default.qrySearchUsers" override="true" type="java.lang.String"
value="select cod_db_user, password from db_user where flag_attivo = 'S'"/>
but when i try to start there is an error:
can someone help me.
This is the error :
15:20:05,426 INFO [SARDeployer] nested deployment: file:/www/jboss-3.2.3/server/default/deploy/jbossweb-tomcat41.sar/tomcat-jk2.jar
15:20:08,191 INFO [STDOUT] Apache Tomcat/4.1.29
15:20:08,315 INFO [Engine] WebappLoader[]: Deploying class repositories to work directory /www/jboss-3.2.3/server/default/work/MainEngine/www.fspnet.infracom.it/_
15:20:08,320 INFO [Engine] WebappLoader[]: Reloading checks are enabled for this Context
15:20:08,690 INFO [Engine] ContextConfig[]: Missing application web.xml, using defaults only
15:20:08,696 INFO [Engine] ContextConfig[]: Added certificates -> request attribute Valve
15:20:08,697 INFO [Engine] StandardManager[]: Seeding random number generator class java.security.SecureRandom
15:20:09,618 INFO [Engine] StandardManager[]: Seeding of random number generator has been completed
15:20:09,625 INFO [Engine] StandardWrapper[:default]: Loading container servlet default
15:20:09,667 INFO [Engine] StandardWrapper[:invoker]: Loading container servlet invoker
15:20:09,796 INFO [Engine] CoyoteConnector Coyote can't register jmx for protocol
15:20:09,827 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009
15:20:09,837 INFO [JkMain] Jk running ID=0 time=1/41 config=null
15:20:09,837 INFO [EmbeddedTomcatService] OK
15:20:09,837 INFO [MainDeployer] Adding deployer: org.jboss.web.tomcat.tc4.EmbeddedTomcatService@15d252d
15:20:09,838 INFO [MainDeployer] Starting deployment of package: file:/www/jboss-3.2.3/server/default/deploy/http-invoker.sar/invoker.war/
15:20:09,925 INFO [EmbeddedTomcatService] deploy, ctxPath=/invoker, warUrl=file:/www/jboss-3.2.3/server/default/deploy/http-invoker.sar/invoker.war/
15:20:09,956 ERROR [MainDeployer] could not start deployment: file:/www/jboss-3.2.3/server/default/deploy/http-invoker.sar/invoker.war/
org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (java.lang.NullPointerException)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:440)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
at org.jboss.deployment.MainDeployer.addDeployer(MainDeployer.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)