11 Replies Latest reply on May 10, 2011 11:11 AM by robbob

    JBoss 6.0 Deployment Issues

    baddeley84

      Hi All,

       

      Im having issues setting a friend up with our development environment, seems to be a problem deploying the EAR to the server, details are below...

       

      (the .Jar it says is missing is definetely located in the workspace directory)

       

      Any help would be appreciated!!

       

      SYS SETUP

      ########################################

       

      O/S - Windows 7 32 Bit

      Eclipse Java EE IDE for Web Developers.

       

      Version: Helios Service Release 2

      Build id: 20110218-0911

      (C:\Eclipse\eclipse)

       

      ----------

       

      Jboss 6 tools (C:\Eclipse\jboss-6.0.0.Final)

       

       

      CONSOLE LOG

      ################################

      13:22:17,241 INFO  [AbstractJBossASServerBase] Server Configuration:

       

                JBOSS_HOME URL: file:/C:/Eclipse/jboss-6.0.0.Final/

                Bootstrap: $JBOSS_HOME\server/default/conf/bootstrap.xml

                Common Base: $JBOSS_HOME\common/

                Common Library: $JBOSS_HOME\common/lib/

                Server Name: default

                Server Base: $JBOSS_HOME\server/

                Server Library: $JBOSS_HOME\server/default/lib/

                Server Config: $JBOSS_HOME\server/default/conf/

                Server Home: $JBOSS_HOME\server/default/

                Server Data: $JBOSS_HOME\server/default/data/

                Server Log: $JBOSS_HOME\server/default/log/

                Server Temp: $JBOSS_HOME\server/default/tmp/

       

      13:22:17,272 INFO  [AbstractServer] Starting: JBossAS [6.0.0.Final "Neo"]

      13:22:29,378 INFO  [ServerInfo] Java version: 1.6.0_24,Sun Microsystems Inc.

      13:22:29,378 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_24-b07)

      13:22:29,378 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 19.1-b02,Sun Microsystems Inc.

      13:22:29,378 INFO  [ServerInfo] OS-System: Windows 7 6.1,x86

      13:22:29,378 INFO  [ServerInfo] VM arguments: -Dprogram.name=JBossTools: JBoss 6.0 Runtime -Xms256m -Xmx768m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.endorsed.dirs=C:\Eclipse\jboss-6.0.0.Final\lib\endorsed -Djava.library.path=C:\Eclipse\jboss-6.0.0.Final\bin\native; -Dfile.encoding=Cp1252

      13:22:29,738 INFO  [JMXKernel] Legacy JMX core initialized

      13:22:52,233 INFO  [AbstractServerConfig] JBoss Web Services - Stack CXF Server 3.4.1.GA

      13:22:54,356 INFO  [JSFImplManagementDeployer] Initialized 3 JSF configurations: [Mojarra-1.2, MyFaces-2.0, Mojarra-2.0]

      13:23:04,107 WARNING [FileConfigurationParser] AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal

      13:23:15,231 WARNING [FileConfigurationParser] AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal

      13:23:15,856 INFO  [JMXConnector] starting JMXConnector on host localhost:1090

      13:23:16,386 INFO  [MailService] Mail Service bound to java:/Mail

      13:23:18,432 INFO  [HornetQServerImpl] live server is starting..

      13:23:19,041 INFO  [JournalStorageManager] Using NIO Journal

      13:23:19,182 WARNING [HornetQServerImpl] Security risk! It has been detected that the cluster admin user and password have not been changed from the installation default. Please see the HornetQ user guide, cluster chapter, for instructions on how to do this.

      13:23:21,179 INFO  [NettyAcceptor] Started Netty Acceptor version 3.2.1.Final-r2319 localhost:5455 for CORE protocol

      13:23:21,194 INFO  [NettyAcceptor] Started Netty Acceptor version 3.2.1.Final-r2319 localhost:5445 for CORE protocol

      13:23:21,194 INFO  [HornetQServerImpl] HornetQ Server version 2.1.2.Final (Colmeia, 120) started

      13:23:21,320 INFO  [WebService] Using RMI server codebase: http://localhost:8083/

      13:23:21,835 INFO  [jbossatx] ARJUNA-32010 JBossTS Recovery Service (tag: JBOSSTS_4_14_0_Final) - JBoss Inc.

      13:23:21,850 INFO  [arjuna] ARJUNA-12324 Start RecoveryActivators

      13:23:21,944 INFO  [arjuna] ARJUNA-12296 ExpiredEntryMonitor running at Wed, 4 May 2011 13:23:21

      13:23:22,162 INFO  [arjuna] ARJUNA-12310 Recovery manager listening on endpoint 127.0.0.1:4712

      13:23:22,162 INFO  [arjuna] ARJUNA-12344 RecoveryManagerImple is ready on port 4712

      13:23:22,162 INFO  [jbossatx] ARJUNA-32013 Starting transaction recovery manager

      13:23:22,194 INFO  [arjuna] ARJUNA-12163 Starting service com.arjuna.ats.arjuna.recovery.ActionStatusService on port 4713

      13:23:22,209 INFO  [arjuna] ARJUNA-12337 TransactionStatusManagerItem host: 127.0.0.1 port: 4713

      13:23:22,241 INFO  [arjuna] ARJUNA-12170 TransactionStatusManager started on port 4713 and host 127.0.0.1 with service com.arjuna.ats.arjuna.recovery.ActionStatusService

      13:23:22,319 INFO  [jbossatx] ARJUNA-32017 JBossTS Transaction Service (JTA version - tag: JBOSSTS_4_14_0_Final) - JBoss Inc.

      13:23:22,600 INFO  [arjuna] ARJUNA-12202 registering bean jboss.jta:type=ObjectStore.

      13:23:23,287 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Eclipse\jboss-6.0.0.Final\bin\native;

      13:23:24,177 INFO  [ModClusterService] Initializing mod_cluster 1.1.0.Final

      13:23:24,192 INFO  [TomcatDeployment] deploy, ctxPath=/invoker

      13:23:25,534 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/Eclipse/jboss-6.0.0.Final/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml

      13:23:25,566 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/Eclipse/jboss-6.0.0.Final/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml

      13:23:25,582 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/Eclipse/jboss-6.0.0.Final/server/default/deploy/jms-ra.rar/META-INF/ra.xml

      13:23:25,613 INFO  [HornetQResourceAdapter] HornetQ resource adaptor started

      13:23:25,629 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/Eclipse/jboss-6.0.0.Final/server/default/deploy/mail-ra.rar/META-INF/ra.xml

      13:23:25,691 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/Eclipse/jboss-6.0.0.Final/server/default/deploy/quartz-ra.rar/META-INF/ra.xml

      13:23:25,972 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: Thread-2

      13:23:26,175 INFO  [SchedulerSignalerImpl] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl

      13:23:26,175 INFO  [QuartzScheduler] Quartz Scheduler v.1.8.3 created.

      13:23:26,190 INFO  [RAMJobStore] RAMJobStore initialized.

      13:23:26,190 INFO  [QuartzScheduler] Scheduler meta-data: Quartz Scheduler (v1.8.3) 'JBossQuartzScheduler' with instanceId 'NON_CLUSTERED'

        Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.

        NOT STARTED.

        Currently in standby mode.

        Number of jobs executed: 0

        Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.

        Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

       

      13:23:26,190 INFO  [StdSchedulerFactory] Quartz scheduler 'JBossQuartzScheduler' initialized from an externally opened InputStream.

      13:23:26,190 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.8.3

      13:23:26,190 INFO  [QuartzScheduler] Scheduler JBossQuartzScheduler_$_NON_CLUSTERED started.

      13:23:27,563 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'

      13:23:29,155 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'

      13:23:29,531 INFO  [xnio] XNIO Version 2.1.0.CR2

      13:23:29,562 INFO  [nio] XNIO NIO Implementation Version 2.1.0.CR2

      13:23:30,326 INFO  [remoting] JBoss Remoting version 3.1.0.Beta2

      13:23:30,639 INFO  [TomcatDeployment] deploy, ctxPath=/

      13:23:30,733 INFO  [service] Removing bootstrap log handlers

      13:23:30,920 INFO  [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080

      13:23:30,951 INFO  [org.apache.coyote.ajp.AjpProtocol] Starting Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009

      13:23:30,951 INFO  [org.jboss.bootstrap.impl.base.server.AbstractServer] JBossAS [6.0.0.Final "Neo"] Started in 1m:13s:664ms

      13:23:37,706 ERROR [org.jboss.profileservice.dependency.ProfileDeployAction] Failed to add deployment: Swimtag.ear: org.jboss.deployers.spi.DeploymentException: Exception determining structure: AbstractVFSDeployment(Swimtag.ear)

                at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) [:2.2.0.GA]

                at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:85) [:2.2.0.GA]

                at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:1106) [:2.2.0.GA]

                at org.jboss.deployers.plugins.main.MainDeployerImpl.determineDeploymentContext(MainDeployerImpl.java:417) [:2.2.0.GA]

                at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:367) [:2.2.0.GA]

                at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:277) [:2.2.0.GA]

                at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.addDeployment(MainDeployerPlugin.java:77) [:6.0.0.Final]

                at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.addDeployment(ProfileControllerContext.java:133) [:0.2.2]

                at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:132) [:0.2.2]

                at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.2.2]

                at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.GA]

                at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190) [:0.2.2]

                at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87) [:0.2.2]

                at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215) [:0.2.2]

                at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159) [:0.2.2]

                at org.jboss.profileservice.AbstractProfileService.activateProfile(AbstractProfileService.java:154) [:0.2.2]

                at org.jboss.system.tools.ProfileServiceToolsFacade.addURI(ProfileServiceToolsFacade.java:233) [:6.0.0.Final]

                at org.jboss.system.tools.LegacyDeploymentScannerAdapter.addURL(LegacyDeploymentScannerAdapter.java:140) [:6.0.0.Final]

                at org.jboss.system.tools.DeploymentScanner.addURL(DeploymentScanner.java:91) [:6.0.0.Final]

                at org.jboss.system.tools.DeploymentScanner.addURL(DeploymentScanner.java:83) [:6.0.0.Final]

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_24]

                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [:1.6.0_24]

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [:1.6.0_24]

                at java.lang.reflect.Method.invoke(Unknown Source) [:1.6.0_24]

                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) [:6.0.0.GA]

                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) [:6.0.0.GA]

                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) [:6.0.0.GA]

                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271) [:6.0.0.GA]

                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670) [:6.0.0.GA]

                at org.jboss.system.server.jmx.MBeanServerWrapper.invoke(MBeanServerWrapper.java:138) [:6.0.0.Final (Build SVNTag:JBoss_6.0.0.Final date: 20101228)]

                at javax.management.remote.rmi.RMIConnectionImpl.doOperation(Unknown Source) [:1.6.0_24]

                at javax.management.remote.rmi.RMIConnectionImpl.access$200(Unknown Source) [:1.6.0_24]

                at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(Unknown Source) [:1.6.0_24]

                at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(Unknown Source) [:1.6.0_24]

                at javax.management.remote.rmi.RMIConnectionImpl.invoke(Unknown Source) [:1.6.0_24]

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_24]

                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [:1.6.0_24]

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [:1.6.0_24]

                at java.lang.reflect.Method.invoke(Unknown Source) [:1.6.0_24]

                at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) [:1.6.0_24]

                at sun.rmi.transport.Transport$1.run(Unknown Source) [:1.6.0_24]

                at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_24]

                at sun.rmi.transport.Transport.serviceCall(Unknown Source) [:1.6.0_24]

                at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source) [:1.6.0_24]

                at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source) [:1.6.0_24]

                at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source) [:1.6.0_24]

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [:1.6.0_24]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [:1.6.0_24]

                at java.lang.Thread.run(Unknown Source) [:1.6.0_24]

      Caused by: java.lang.RuntimeException: Error determining structure: Swimtag.ear

                at org.jboss.deployment.EARStructure.doDetermineStructure(EARStructure.java:300) [:6.0.0.Final]

                at org.jboss.deployers.vfs.plugins.structure.AbstractVFSArchiveStructureDeployer.determineStructure(AbstractVFSArchiveStructureDeployer.java:60) [:2.2.0.GA]

                at org.jboss.deployers.vfs.plugins.structure.StructureDeployerWrapper.determineStructure(StructureDeployerWrapper.java:73) [:2.2.0.GA]

                at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.doDetermineStructure(VFSStructuralDeployersImpl.java:197) [:2.2.0.GA]

                at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.determineStructure(VFSStructuralDeployersImpl.java:222) [:2.2.0.GA]

                at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:77) [:2.2.0.GA]

                ... 59 more

      Caused by: java.lang.RuntimeException: SwimtagEntities.jar module listed in application.xml does not exist within .ear vfs:///C:/Workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_6.0_Runtime_Server1304509934547/deploy/Swimtag.ear/

                at org.jboss.deployment.EARStructure.doDetermineStructure(EARStructure.java:271) [:6.0.0.Final]

                ... 64 more

      ########################################

      APPLICATION.xml

       

      <?xml version="1.0" encoding="utf-8"?>

      <application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

      xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" version="5">

          <display-name>Swimtag</display-name>

       

          <module>

              <web>

                  <web-uri>Swimtag.war</web-uri>

                  <context-root>/</context-root>

              </web>

          </module>

       

          <module>

              <ejb>SwimtagEntities.jar</ejb>

          </module>

       

          <module>

              <ejb>SwimtagActions.jar</ejb>

          </module>

       

          <module>

                          <java>SwimtagLib.jar</java>

                </module>

       

                <module>

              <ejb>jboss-seam.jar</ejb>

          </module>

       

          <module>

              <ejb>quartz.jar</ejb>

          </module>

       

          <module>

                          <java>Swimtag-ds.xml</java>

                </module>

       

      </application>

        • 1. JBoss 6.0 Deployment Issues
          alesj

          You're missing some sub-deployment in your .ear:

           

          Caused by: java.lang.RuntimeException: SwimtagEntities.jar module listed in application.xml does not exist within .ear vfs:///C:/Workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_6.0_Runtime_Server1304509934547/deploy/Swimtag.ear/

                    at org.jboss.deployment.EARStructure.doDetermineStructure(EARStructure.java:271) [:6.0.0.Final]

                    ... 64 more

          • 2. JBoss 6.0 Deployment Issues
            baddeley84

            Thanks for the quick reply Ales, can you expand on that? The .EAR has not built correctly?

             

            I have the exact same project working on my machine so everything should be there

            • 3. JBoss 6.0 Deployment Issues
              alesj
              The .EAR has not built correctly?

              Looks like it.

              Try "java -tf myapp.ear", and see if it's there.

              • 4. JBoss 6.0 Deployment Issues
                robbob

                Hey Ales,

                 

                i work with David on this one.

                I tried to add "java -tf Swimtag.ear" to the Run configuration, but the console says: directory does not exist:java -tfI .

                 

                At this point I would like to provide some more details that might be useful.

                Project dir  "C:\Workspace\SwimtagWeb"

                 

                Also I did and still get something messed up with maven:

                "

                06/05/11 12:28:39 BST: Eclipse is running in a JRE, but a JDK is required

                  Some Maven plugins may not work when importing projects or updating source folders.

                06/05/11 12:28:45 BST: Updating index central|http://repo1.maven.org/maven2

                06/05/11 12:30:03 BST: Updated index for central|http://repo1.maven.org/maven2"

                 

                Any ideas. Thanks!!

                • 5. JBoss 6.0 Deployment Issues
                  jaikiran

                  It's actually

                   

                  jar -tf Swimtag.ear

                  • 6. JBoss 6.0 Deployment Issues
                    robbob

                    Just to be clear. That is meant to go into the Run Config>Program args filed, right?

                     

                    Does not work. Console says: "directory does not exist: jar"

                    • 7. JBoss 6.0 Deployment Issues
                      wolfgangknauf

                      Hi,

                       

                      the command "jar -tf Swimtag.ear" is nothing for the run configuration ;-). Enter it in a DOS command prompt and post the output here (it will tell you which files are included in your EAR file).

                      You must have a JDK installed on your machine. It seems you only have a JRE (I assume this because of your Maven info message above).

                       

                      Best regards

                       

                      Wolfgang

                      • 8. JBoss 6.0 Deployment Issues
                        robbob

                        Ah, okay. I am newbie in this. I tried running the excat command in the dos from c:\ the jbos directory, jbos server bin and deploy but the 'jar' is not recognised. Shall I put that argument nexxt to some file name?

                        • 9. JBoss 6.0 Deployment Issues
                          robbob

                          Also I did another clean installation of Eclipse SR2 with Jboss tools 3.2x got the SVn 1.3.5.

                           

                          Now when trying to buid the project archive (full build) it throw me an error:

                           

                          Error building project archives node org.jboss.ide.eclipse.archives.core.model.internal.ArchiveModelNode@15dcdeb

                           

                          ;/

                          • 10. JBoss 6.0 Deployment Issues
                            robbob

                            I have sorted the above error. now getting another:

                             

                            ....

                            15:39:20,844 INFO  [StdSchedulerFactory] Quartz scheduler 'JBossQuartzScheduler' initialized from an externally opened InputStream.

                            15:39:20,844 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.8.3

                            15:39:20,845 INFO  [QuartzScheduler] Scheduler JBossQuartzScheduler_$_NON_CLUSTERED started.

                            15:39:22,022 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'

                            15:39:24,093 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'

                            15:39:25,520 INFO  [xnio] XNIO Version 2.1.0.CR2

                            15:39:25,550 INFO  [nio] XNIO NIO Implementation Version 2.1.0.CR2

                            15:39:30,038 INFO  [remoting] JBoss Remoting version 3.1.0.Beta2

                            15:39:31,546 INFO  [TomcatDeployment] deploy, ctxPath=/

                            15:39:31,649 INFO  [service] Removing bootstrap log handlers

                            15:39:31,863 INFO  [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080

                            15:39:32,015 INFO  [org.apache.coyote.ajp.AjpProtocol] Starting Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009

                            15:39:32,018 INFO  [org.jboss.bootstrap.impl.base.server.AbstractServer] JBossAS [6.0.0.Final "Neo"] Started in 1m:4s:44ms

                            15:39:39,287 ERROR [org.jboss.profileservice.dependency.ProfileDeployAction] Failed to add deployment: Swimtag.ear: org.jboss.deployers.spi.DeploymentException: Exception determining structure: AbstractVFSDeployment(Swimtag.ear)

                                      at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) [:2.2.0.GA]

                                      at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:85) [:2.2.0.GA]

                                      at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:1106) [:2.2.0.GA]

                                      at org.jboss.deployers.plugins.main.MainDeployerImpl.determineDeploymentContext(MainDeployerImpl.java:417) [:2.2.0.GA]

                                      at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:367) [:2.2.0.GA]

                                      at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:277) [:2.2.0.GA]

                                      at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.addDeployment(MainDeployerPlugin.java:77) [:6.0.0.Final]

                                      at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.addDeployment(ProfileControllerContext.java:133) [:0.2.2]

                                      at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:132) [:0.2.2]

                                      at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.2.2]

                                      at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.GA]

                                      at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.GA]

                                      at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.GA]

                                      at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]

                                      at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA]

                                      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]

                                      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]

                                      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]

                                      at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]

                                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]

                                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]

                                      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]

                                      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]

                                      at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190) [:0.2.2]

                                      at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87) [:0.2.2]

                                      at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215) [:0.2.2]

                                      at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159) [:0.2.2]

                                      at org.jboss.profileservice.AbstractProfileService.activateProfile(AbstractProfileService.java:154) [:0.2.2]

                                      at org.jboss.system.tools.ProfileServiceToolsFacade.addURI(ProfileServiceToolsFacade.java:233) [:6.0.0.Final]

                                      at org.jboss.system.tools.LegacyDeploymentScannerAdapter.addURL(LegacyDeploymentScannerAdapter.java:140) [:6.0.0.Final]

                                      at org.jboss.system.tools.DeploymentScanner.addURL(DeploymentScanner.java:91) [:6.0.0.Final]

                                      at org.jboss.system.tools.DeploymentScanner.addURL(DeploymentScanner.java:83) [:6.0.0.Final]

                                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_24]

                                      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [:1.6.0_24]

                                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [:1.6.0_24]

                                      at java.lang.reflect.Method.invoke(Unknown Source) [:1.6.0_24]

                                      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) [:6.0.0.GA]

                                      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) [:6.0.0.GA]

                                      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) [:6.0.0.GA]

                                      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271) [:6.0.0.GA]

                                      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670) [:6.0.0.GA]

                                      at org.jboss.system.server.jmx.MBeanServerWrapper.invoke(MBeanServerWrapper.java:138) [:6.0.0.Final (Build SVNTag:JBoss_6.0.0.Final date: 20101228)]

                                      at javax.management.remote.rmi.RMIConnectionImpl.doOperation(Unknown Source) [:1.6.0_24]

                                      at javax.management.remote.rmi.RMIConnectionImpl.access$200(Unknown Source) [:1.6.0_24]

                                      at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(Unknown Source) [:1.6.0_24]

                                      at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(Unknown Source) [:1.6.0_24]

                                      at javax.management.remote.rmi.RMIConnectionImpl.invoke(Unknown Source) [:1.6.0_24]

                                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_24]

                                      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [:1.6.0_24]

                                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [:1.6.0_24]

                                      at java.lang.reflect.Method.invoke(Unknown Source) [:1.6.0_24]

                                      at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) [:1.6.0_24]

                                      at sun.rmi.transport.Transport$1.run(Unknown Source) [:1.6.0_24]

                                      at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_24]

                                      at sun.rmi.transport.Transport.serviceCall(Unknown Source) [:1.6.0_24]

                                      at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source) [:1.6.0_24]

                                      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source) [:1.6.0_24]

                                      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source) [:1.6.0_24]

                                      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [:1.6.0_24]

                                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [:1.6.0_24]

                                      at java.lang.Thread.run(Unknown Source) [:1.6.0_24]

                            Caused by: java.lang.RuntimeException: Error determining structure: Swimtag.ear

                                      at org.jboss.deployment.EARStructure.doDetermineStructure(EARStructure.java:300) [:6.0.0.Final]

                                      at org.jboss.deployers.vfs.plugins.structure.AbstractVFSArchiveStructureDeployer.determineStructure(AbstractVFSArchiveStructureDeployer.java:60) [:2.2.0.GA]

                                      at org.jboss.deployers.vfs.plugins.structure.StructureDeployerWrapper.determineStructure(StructureDeployerWrapper.java:73) [:2.2.0.GA]

                                      at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.doDetermineStructure(VFSStructuralDeployersImpl.java:197) [:2.2.0.GA]

                                      at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.determineStructure(VFSStructuralDeployersImpl.java:222) [:2.2.0.GA]

                                      at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:77) [:2.2.0.GA]

                                      ... 59 more

                            Caused by: java.lang.RuntimeException: SwimtagEntities.jar module listed in application.xml does not exist within .ear vfs:///C:/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_6.0_Runtime_Server1305034813330/deploy/Swimtag.ear/

                                      at org.jboss.deployment.EARStructure.doDetermineStructure(EARStructure.java:271) [:6.0.0.Final]

                                      ... 64 more

                             

                             

                            any ideas? Maybe some xml files that are missing or gone wrong?;/

                            • 11. JBoss 6.0 Deployment Issues
                              robbob

                              Ok Wolfgang.

                               

                              Thank you for the hint. I actually figured out the problem, the jar -tf Swimtag.ear command has to be run from within your jdk\bin.

                               

                              This is the output:

                               

                              "java.io.FileNotFoundExeption: Swimtag.ear (The system cannot in the file specified)

                              at java.util.zip.ZipFile.open(Native Method)

                              at java.util.zip.ZipFile.<init>(ZipFile.java:127)

                              at java.util.zip.ZipFile.<init>(ZipFile.java:88)

                              at sun.tolls.jar.Main.list(Main.java:979)

                              at sun.tolls.jar.Main.run(Main.java:224)

                              at sun.tolls.jar.Main.main(Main.java:1149)"

                               

                              Must add that since the eclipse was not deploying the project I copied the Swimtag.ear from the workspace to server\deploy

                               

                              Any ideas?

                              Thank you