1 2 Previous Next 18 Replies Latest reply on Mar 8, 2017 4:00 AM by abhik143

    ERROR [AjpMessage] Invalid message recieved with signature 1

    john_es

      Hopefully I found the correct sub-forum in which to post my question (there were a ton of them, forums, that is).

      I have only one question, and that is I need some assistance in trying to figure out how to troubleshoot a problem.

      I inherited a jboss application and have followed the directions provided to me. I have apache running on port 80 just fine. I have jboss-4.2.3.GA-jdk6 installed and running on port 8080.

      I can compile and deploy my web application via "ant ear" just fine.

      I start jboss, and everything _looks_ fine. I can provide my output and the log if needed (I just didn't want to flood the forum with this if it wasn't necessary.

      When I browse to http://localhost:8009/myproj, the browser seems to just sit and try to load the thing.

      The output from jboss shows:

      ERROR [AjpMessage] Invalid message recieved with signature 18245

      I am not sure even where to start looking.

      Can anyone help?

      Thanks,
      John

        • 1. Re: ERROR [AjpMessage] Invalid message recieved with signatu
          jaikiran

           

          http://localhost:8009/myproj


          You should be using the HTTP port (8080 by default):

          http://localhost:8080/myproj


          • 2. Re: ERROR [AjpMessage] Invalid message recieved with signatu
            john_es

            doh! Thank you for the quick response.

            OK... so I go here:

            http://localhost:8080/myproj

            and that gives me a:

            HTTP Status 404 - /myproj
            type Status report
            message /myproj
            description The requested resource (/myproj) is not available.
            JBossWeb/2.0.1.GA

            So I wrongly diagnosed my problem. From what I can tell, there must be a config file somewhere that is not correct. Any ideas where I can start looking?

            • 3. Re: ERROR [AjpMessage] Invalid message recieved with signatu
              jaikiran

              Since you are deploying the .war within the .ear, the web context root is specified in the application.xml. You can then use that context root to access the application. What does your applicaiton.xml look like? And just to make sure, your application is being deployed correctly, please post the console logs (not the server log).

              • 4. Re: ERROR [AjpMessage] Invalid message recieved with signatu
                john_es

                Thanks for the reply.

                My application.xml seems to be in my working folder and looks like:

                <?xml version="1.0"?>
                
                <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"
                 "http://java.sun.com/dtd/application_1_3.dtd">
                <application>
                 <display-name>myproj</display-name>
                 <module>
                 <web>
                 <web-uri>myproj.war</web-uri>
                 <context-root>/myproj</context-root>
                 </web>
                 </module>
                 <module>
                 <ejb>myproj-ejb.jar</ejb>
                 </module>
                 <module id="EJB">
                 <ejb>myproj-ejb.jar</ejb>
                 </module>
                
                 </module>
                
                 <!-- <module id="Web"> -->
                 <!-- <web> -->
                 <!-- <web-uri>myproj.war</web-uri> -->
                 <!-- <context-root>Web</context-root> -->
                 <!-- </web> -->
                 <!-- </module> -->
                
                </application>
                


                For the console log, are you looking for the output from my running the following command?:

                sudo $JBOSS_HOME/bin/run.sh -c myproj

                • 5. Re: ERROR [AjpMessage] Invalid message recieved with signatu
                  jaikiran

                   

                  "john_es" wrote:

                  For the console log, are you looking for the output from my running the following command?:

                  sudo $JBOSS_HOME/bin/run.sh -c myproj


                  Yes.

                  • 6. Re: ERROR [AjpMessage] Invalid message recieved with signatu
                    john_es

                    Ah, OK... just didn't want to post a huge thing if it wasn't necessary... or if I miss an obvious this in this output.

                    Here it is. Let me know if there's anything else I can post.

                    =========================================================================
                    
                     JBoss Bootstrap Environment
                    
                     JBOSS_HOME: /opt/jboss
                    
                     JAVA: java
                    
                     JAVA_OPTS: -Dprogram.name=run.sh -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true
                    
                     CLASSPATH: /opt/jboss/bin/run.jar
                    
                    =========================================================================
                    
                    10:58:13,130 INFO [Server] Starting JBoss (MX MicroKernel)...
                    10:58:13,134 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)
                    10:58:13,137 INFO [Server] Home Dir: /opt/jboss
                    10:58:13,137 INFO [Server] Home URL: file:/opt/jboss/
                    10:58:13,138 INFO [Server] Patch URL: null
                    10:58:13,138 INFO [Server] Server Name: myproj
                    10:58:13,138 INFO [Server] Server Home Dir: /opt/jboss/server/myproj
                    10:58:13,138 INFO [Server] Server Home URL: file:/opt/jboss/server/myproj/
                    10:58:13,139 INFO [Server] Server Log Dir: /opt/jboss/server/myproj/log
                    10:58:13,139 INFO [Server] Server Temp Dir: /opt/jboss/server/myproj/tmp
                    10:58:13,139 INFO [Server] Root Deployment Filename: jboss-service.xml
                    10:58:14,014 INFO [ServerInfo] Java version: 1.6.0_0,Sun Microsystems Inc.
                    10:58:14,014 INFO [ServerInfo] Java VM: OpenJDK Client VM 14.0-b16,Sun Microsystems Inc.
                    10:58:14,014 INFO [ServerInfo] OS-System: Linux 2.6.31-14-generic,i386
                    10:58:14,744 INFO [Server] Core system initialized
                    10:58:18,402 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
                    10:58:18,404 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
                    10:58:19,148 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
                    10:58:19,148 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
                    10:58:19,321 INFO [TransactionManagerService] Starting recovery manager
                    10:58:19,420 INFO [TransactionManagerService] Recovery manager started
                    10:58:19,420 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
                    10:58:22,313 INFO [EJB3Deployer] Starting java:comp multiplexer
                    10:58:25,557 INFO [NativeServerConfig] JBoss Web Services - Native
                    10:58:25,557 INFO [NativeServerConfig] jbossws-3.0.1-native-2.0.4.GA (build=200803312044)
                    10:58:28,104 INFO [Embedded] Catalina naming disabled
                    10:58:28,301 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/client:/usr/lib/jvm/java-6-openjdk/jre/lib/i386:/usr/lib/jvm/java-6-openjdk/jre/../lib/i386:/usr/java/packages/lib/i386:/usr/lib/jni:/lib:/usr/lib
                    10:58:28,348 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
                    10:58:28,348 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
                    10:58:28,348 INFO [Catalina] Initialization processed in 244 ms
                    10:58:28,349 INFO [StandardService] Starting service jboss.web
                    10:58:28,350 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
                    10:58:28,387 INFO [Catalina] Server startup in 38 ms
                    10:58:28,595 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
                    10:58:30,359 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
                    10:58:31,053 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/
                    10:58:31,437 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
                    10:58:32,320 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
                    10:58:33,463 INFO [MailService] Mail Service bound to java:/Mail
                    10:58:33,600 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
                    10:58:33,623 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
                    10:58:33,638 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
                    10:58:33,657 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
                    10:58:33,728 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
                    10:58:33,745 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
                    10:58:33,767 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
                    10:58:33,773 INFO [QuartzResourceAdapter] start quartz!!!
                    10:58:33,904 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
                    10:58:33,928 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
                    10:58:33,932 INFO [RAMJobStore] RAMJobStore initialized.
                    10:58:33,932 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
                    10:58:33,932 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
                    10:58:33,932 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
                    10:58:36,076 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
                    10:58:36,362 INFO [A] Bound to JNDI name: queue/A
                    10:58:36,363 INFO [B] Bound to JNDI name: queue/B
                    10:58:36,364 INFO [C] Bound to JNDI name: queue/C
                    10:58:36,366 INFO [D] Bound to JNDI name: queue/D
                    10:58:36,368 INFO [ex] Bound to JNDI name: queue/ex
                    10:58:36,388 INFO [testTopic] Bound to JNDI name: topic/testTopic
                    10:58:36,389 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
                    10:58:36,390 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
                    10:58:36,392 INFO [testQueue] Bound to JNDI name: queue/testQueue
                    10:58:36,433 INFO [UILServerILService] JBossMQ UIL service available at : /127.0.0.1:8093
                    10:58:36,483 INFO [DLQ] Bound to JNDI name: queue/DLQ
                    10:58:36,571 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
                    10:58:36,602 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=mysql-myproj' to JNDI name 'java:mysql-myproj'
                    10:58:36,798 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
                    10:58:37,004 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
                    10:58:37,036 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
                    10:58:37,045 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)] Started in 23s:904ms
                    



                    • 7. Re: ERROR [AjpMessage] Invalid message recieved with signatu
                      jaikiran

                      I don't see your application being deployed. Have you placed it in /opt/jboss/server/myproj/deploy folder?

                      • 8. Re: ERROR [AjpMessage] Invalid message recieved with signatu
                        john_es

                        I run ant ear and that gives me:

                        jespi@myproj-dev:~/myprojDev/workingfolder/trunk$ ant ear
                        Buildfile: build.xml
                        
                        generate:
                        [ejbdoclet] (XDocletMain.start 47 ) Running <entitycmp/>
                        [ejbdoclet] (XDocletMain.start 47 ) Running <session/>
                        [ejbdoclet] (XDocletMain.start 47 ) Running <localinterface/>
                        [ejbdoclet] (XDocletMain.start 47 ) Running <localhomeinterface/>
                        [ejbdoclet] (XDocletMain.start 47 ) Running <valueobject/>
                        [ejbdoclet] (XDocletMain.start 47 ) Running <utilobject/>
                        [ejbdoclet] (XDocletMain.start 47 ) Running <deploymentdescriptor/>
                        [ejbdoclet] (XDocletMain.start 47 ) Running <jboss/>
                        
                        compile:
                        
                        jar:
                        
                        war:
                        
                        ear:
                         [ear] Building ear: /home/jespi/myprojDev/workingfolder/trunk/dist/myproj.ear
                        
                        BUILD SUCCESSFUL
                        Total time: 32 seconds
                        


                        then in /opt/jboss/server/myproj I see:

                        jespi@myproj-dev:/opt/jboss/server/myproj
                        $ ls -la
                        total 36
                        drwxr-xr-x 9 jespi jespi 4096 2009-10-31 22:53 .
                        drwxr-xr-x 6 jespi jespi 4096 2009-10-31 22:42 ..
                        drwxr-xr-x 4 jespi jespi 4096 2009-10-31 22:42 conf
                        drwxr-xr-x 5 jespi jespi 4096 2009-10-31 22:53 data
                        drwxr-xr-x 12 jespi jespi 4096 2009-10-31 22:43 deploy
                        drwxr-xr-x 2 jespi jespi 4096 2009-10-31 22:57 lib
                        drwxr-xr-x 2 jespi jespi 4096 2009-11-03 09:54 log
                        drwxr-xr-x 3 jespi jespi 4096 2009-11-03 15:04 tmp
                        drwxr-xr-x 3 jespi jespi 4096 2009-10-31 22:53 work
                        


                        • 9. Re: ERROR [AjpMessage] Invalid message recieved with signatu
                          john_es

                          Interesting... so if I copy the myproj.ear file into /opt/jboss/server/myproj/dist and then go to htttp://localhost:8080/myprog, I then get:

                          HTTP Status 503 - Servlet action is currently unavailable
                          
                          type Status report
                          
                          message Servlet action is currently unavailable
                          
                          description The requested service (Servlet action is currently unavailable) is not currently available.
                          JBossWeb/2.0.1.GA
                          


                          • 10. Re: ERROR [AjpMessage] Invalid message recieved with signatu
                            john_es

                            I thought that ant ear would have deployed the thing... am I wrong is assuming that?

                            I see errors now being output along the lines of:

                            Missing configuration resource for path /WEB-INF/struts-config.xml
                            


                            • 11. Re: ERROR [AjpMessage] Invalid message recieved with signatu
                              john_es

                              OK - so forget the browser error, the client is giving me more output...

                              =========================================================================
                              
                               JBoss Bootstrap Environment
                              
                               JBOSS_HOME: /opt/jboss
                              
                               JAVA: java
                              
                               JAVA_OPTS: -Dprogram.name=run.sh -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.s$
                              
                               CLASSPATH: /opt/jboss/bin/run.jar
                              
                              =========================================================================
                              
                              16:19:26,129 INFO [Server] Starting JBoss (MX MicroKernel)...
                              16:19:26,134 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=20080718$
                              16:19:26,135 INFO [Server] Home Dir: /opt/jboss
                              16:19:26,136 INFO [Server] Home URL: file:/opt/jboss/
                              16:19:26,137 INFO [Server] Patch URL: null
                              16:19:26,137 INFO [Server] Server Name: myproj
                              16:19:26,137 INFO [Server] Server Home Dir: /opt/jboss/server/myproj
                              16:19:26,137 INFO [Server] Server Home URL: file:/opt/jboss/server/myproj/
                              16:19:26,137 INFO [Server] Server Log Dir: /opt/jboss/server/myproj/log
                              16:19:26,137 INFO [Server] Server Temp Dir: /opt/jboss/server/myproj/tmp
                              16:19:26,137 INFO [Server] Root Deployment Filename: jboss-service.xml
                              16:19:26,355 INFO [ServerInfo] Java version: 1.6.0_0,Sun Microsystems Inc.
                              16:19:26,355 INFO [ServerInfo] Java VM: OpenJDK Client VM 14.0-b16,Sun Microsystems Inc.
                              16:19:26,355 INFO [ServerInfo] OS-System: Linux 2.6.31-14-generic,i386
                              16:19:26,623 INFO [Server] Core system initialized
                              16:19:28,111 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
                              16:19:28,112 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
                              16:19:28,473 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
                              16:19:28,473 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
                              16:19:28,608 INFO [TransactionManagerService] Starting recovery manager
                              16:19:28,667 INFO [TransactionManagerService] Recovery manager started
                              16:19:28,667 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
                              16:19:30,367 INFO [EJB3Deployer] Starting java:comp multiplexer
                              16:19:32,038 INFO [NativeServerConfig] JBoss Web Services - Native
                              16:19:32,038 INFO [NativeServerConfig] jbossws-3.0.1-native-2.0.4.GA (build=200803312044)
                              16:19:32,644 INFO [Embedded] Catalina naming disabled
                              16:19:32,762 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance $
                              16:19:32,801 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
                              16:19:32,801 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
                              16:19:32,801 INFO [Catalina] Initialization processed in 157 ms
                              16:19:32,802 INFO [StandardService] Starting service jboss.web
                              16:19:32,803 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
                              16:19:32,840 INFO [Catalina] Server startup in 38 ms
                              16:19:32,919 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
                              16:19:33,562 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
                              16:19:33,831 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.$
                              16:19:33,901 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sa$
                              16:19:34,530 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.s$
                              16:19:34,836 INFO [MailService] Mail Service bound to java:/Mail
                              16:19:34,926 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha$
                              16:19:34,946 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha$
                              16:19:34,960 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-lo$
                              16:19:34,976 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa$
                              16:19:35,021 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-$
                              16:19:35,036 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.$
                              16:19:35,059 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-r$
                              16:19:35,064 INFO [QuartzResourceAdapter] start quartz!!!
                              16:19:35,114 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
                              16:19:35,134 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
                              16:19:35,137 INFO [RAMJobStore] RAMJobStore initialized.
                              16:19:35,137 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default $
                              16:19:35,137 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
                              16:19:35,137 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
                              16:19:35,862 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBi$
                              16:19:36,091 INFO [A] Bound to JNDI name: queue/A
                              16:19:36,092 INFO [B] Bound to JNDI name: queue/B
                              16:19:36,093 INFO [C] Bound to JNDI name: queue/C
                              16:19:36,094 INFO [D] Bound to JNDI name: queue/D
                              16:19:36,095 INFO [ex] Bound to JNDI name: queue/ex
                              16:19:36,107 INFO [testTopic] Bound to JNDI name: topic/testTopic
                              16:19:36,109 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
                              16:19:36,110 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
                              16:19:36,112 INFO [testQueue] Bound to JNDI name: queue/testQueue
                              16:19:36,145 INFO [UILServerILService] JBossMQ UIL service available at : /127.0.0.1:8093
                              16:19:36,168 INFO [DLQ] Bound to JNDI name: queue/DLQ
                              16:19:36,248 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFa$
                              16:19:36,296 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBi$
                              16:19:36,687 INFO [EjbModule] Deploying JobComment
                              16:19:36,961 INFO [EjbModule] Deploying Phone
                              16:19:36,966 INFO [EjbModule] Deploying Job
                              16:19:36,970 INFO [EjbModule] Deploying Course
                              16:19:36,975 INFO [EjbModule] Deploying TranslatorLanguage
                              16:19:36,978 INFO [EjbModule] Deploying Translator
                              16:19:38,687 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'JobComment' to jndi 'zds/local/JobComment'
                              16:19:38,695 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'Phone' to jndi 'zds/local/Phone'
                              16:19:38,978 INFO [EJBDeployer] Deployed: file:/opt/jboss/server/myproj/deploy/myproj-ejb.jar
                              16:19:39,366 INFO [TomcatDeployer] deploy, ctxPath=/myproj, warUrl=.../tmp/deploy/tmp1207320090592904337fu$
                              16:19:39,427 INFO [[/myproj]] PostLoginFilter - init
                              16:19:39,627 ERROR [ActionServlet] Missing configuration resource for path /WEB-INF/struts-config.xml
                              16:19:39,627 INFO [[/myproj]] Marking servlet action as unavailable
                              16:19:39,627 ERROR [[/myproj]] Servlet /myproj threw load() exception
                              javax.servlet.UnavailableException: Missing configuration resource for path /WEB-INF/struts-config.xml
                               at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:732)
                               at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:687)
                               at org.apache.struts.action.ActionServlet.init(ActionServlet.java:333)
                               at javax.servlet.GenericServlet.init(GenericServlet.java:212)
                               at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
                               at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
                              
                              
                              


                              I am looking into this now, but I must be under the wrong assumption as to what needs to be moved from my dev location into the server depoly location.

                              • 12. Re: ERROR [AjpMessage] Invalid message recieved with signatu
                                john_es

                                After doing a bit of googling, I have figured out that my myproj.war file is missing the WEB-INF/config-struts.xml file.

                                So, is this a matter of getting ant to put it in there, or do I do this manually?

                                John

                                • 13. Re: ERROR [AjpMessage] Invalid message recieved with signatu
                                  john_es

                                  OK - now after being able to decode the error logs, withg all my thanks to the people on this list... I was able to get it deployed and running. Wow. Thanks!

                                  Now, what I ended up having to do was to add a bunch of xml files from my workingfolder/trunk/conf to the myproj.war file manually.

                                  As my last question on this thread -- what is the correct or desired way to get the necessary files into the myproj.war file, given that I am using Ant?

                                  Thanks so much,
                                  John

                                  • 14. Re: ERROR [AjpMessage] Invalid message recieved with signatu
                                    jaikiran

                                     

                                    "john_es" wrote:

                                    Now, what I ended up having to do was to add a bunch of xml files from my workingfolder/trunk/conf to the myproj.war file manually.

                                    As my last question on this thread -- what is the correct or desired way to get the necessary files into the myproj.war file, given that I am using Ant?

                                    Thanks so much,
                                    John


                                    You can use the Ant war task http://ant.apache.org/manual/CoreTasks/war.html

                                    1 2 Previous Next