0 Replies Latest reply on Jul 25, 2002 8:03 AM by declan boylan

    question about WebAppDeploy...

    declan boylan Newbie

      Trying to get JBoss/Tomcat and Apache up and running...

      someone posted a run through which i followed, but i am having one or two problems...

      when i run jboss/catalina, it throws up

      [INFO,AutoDeployer] Auto deploy of file:/usr/local/JBoss-2.4.6_Tomcat-4.0.3/jboss/deploy/vvenue.war
      [INFO,J2eeDeployer] Deploy J2EE application: file:/usr/local/JBoss-2.4.6_Tomcat-4.0.3/jboss/deploy/vvenue.war
      [INFO,J2eeDeployer] Create application vvenue.war
      [INFO,J2eeDeployer] inflate and install WEB module vvenue.war
      [INFO,ContainerFactory] Deploying:file:/usr/local/JBoss-2.4.6_Tomcat-4.0.3/jboss/tmp/deploy/Default/vvenue.war
      [INFO,ContainerFactory] Deployed application: file:/usr/local/JBoss-2.4.6_Tomcat-4.0.3/jboss/tmp/deploy/Default/vvenue.war
      [ERROR,J2eeDeployer] Unable to stop module vvenue.war: DefaultDomain:service=EmbeddedCatalinaSX
      [INFO,J2eeDeployer] Stopping module vvenue.war
      [INFO,ContainerFactory] Undeploying:file:/usr/local/JBoss-2.4.6_Tomcat-4.0.3/jboss/tmp/deploy/Default/vvenue.war
      [INFO,ContainerFactory] Undeployed application: file:/usr/local/JBoss-2.4.6_Tomcat-4.0.3/jboss/tmp/deploy/Default/vvenue.war
      [ERROR,J2eeDeployer] unable to stop application vvenue.war: org.jboss.deployment.J2eeDeploymentException: Error(s) on stopping application vvenue.war:
      Unable to stop module vvenue.war: fatal error while calling :service=EmbeddedCatalinaSX: DefaultDomain:service=EmbeddedCatalinaSX/n
      [INFO,J2eeDeployer] Destroying application vvenue.war
      [ERROR,AutoDeployer] DeploymentInfo failed:file:/usr/local/JBoss-2.4.6_Tomcat-4.0.3/jboss/deploy/vvenue.war
      org.jboss.deployment.J2eeDeploymentException: application contains war files but no web container available
      at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:496)
      at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:459)
      at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:190)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:395)
      at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:233)
      at org.jboss.deployment.AutoDeployer.startService(AutoDeployer.java:371)
      at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:967)
      at $Proxy0.start(Unknown Source)
      at org.jboss.util.ServiceControl.start(ServiceControl.java:79)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.Main.(Main.java:208)
      at org.jboss.Main$1.run(Main.java:110)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.Main.main(Main.java:106)
      [INFO,AutoDeployer] Auto deploy of file:/usr/local/JBoss-2.4.6_Tomcat-4.0.3/jboss/deploy/lib/jms-ra.rar
      [INFO,RARDeployer] Attempting to deploy RAR at 'file:/usr/local/JBoss-2.4.6_Tomcat-4.0.3/jboss/deploy/lib/jms-ra.rar'
      [WARN,JmsXA] Using default value 'java:DefaultJMSProvider' for config property 'JmsProviderAdapterJNDI'
      [INFO,JmsXA] FINE: Setting LogWriter: org.jboss.logging.log4j.CategoryWriter@4c47db
      [INFO,JmsXA] Bound connection factory for resource adapter 'JMS Adapter' to JNDI name 'java:/JmsXA'
      [INFO,AutoDeployer] Started
      [INFO,JMXAdaptorService] Starting
      [INFO,JMXAdaptorService] Started
      [INFO,RMIConnectorService] Starting
      [INFO,RMIConnectorService] Started
      [INFO,MailService] Starting
      [INFO,MailService] Mail Service 'Mail' bound to java:/Mail
      [INFO,MailService] Started
      [INFO,ServiceControl] Started 48 services
      [INFO,STDERR] JBoss-2.4.6 Startroot@Apathy bin]# ./apachectl start
      Syntax error on line 261 of /usr/local/etc/httpd/conf/httpd.conf:
      Invalid virtual host name
      ed in 0m:18s.674


      also, when i try and run apache, i get this

      root@Apathy bin]# ./apachectl start
      Syntax error on line 261 of /usr/local/etc/httpd/conf/httpd.conf:
      Invalid virtual host name

      the problem seems to be with the line
      WebAppDeploy jboss warpConn /jboss

      i've tried changing jboss to the name of my war file, but same problem..

      any ideas?