5 Replies Latest reply on May 19, 2011 12:22 PM by Chuck Hernandez

    gettting  java.lang.ClassNotFoundException: com.marcole.log.Log4JInitServlet deploying from eclipse

    Chuck Hernandez Newbie

      Version: Helios Service Release 2 Build id: 20110218-0911 win32 -archx86_64 windows 7

      Using the latest Jboss tools 2.2.0.v20110216-1758-H51-GA

       

      ---

      I am trying to move to eclipse from ibm studio so my eclipse knowledge is limited.  I moved everything over,  and created a EAR and War and set them to run as debug configuration on my configured Jboss 6.0 Runtime Server.

      The server starts fine however, the first servlet in the web.xml produces a classnot found error. I set the server to deploy to "use workspace metadata".  I check the location and nothing gets moved over except the web.xml.

      Here's the stack trace.  Any help will be appreciated Thanks!

       

      13:58:13,662 INFO  [AbstractJBossASServerBase] Server Configuration:

       

       

                JBOSS_HOME URL: file:/C:/apps/jboss6/

                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:58:13,665 INFO  [AbstractServer] Starting: JBossAS [6.0.0.Final "Neo"]

      13:58:14,782 INFO  [ServerInfo] Java version: 1.6.0_25,Sun Microsystems Inc.

      13:58:14,782 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_25-b06)

      13:58:14,783 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 20.0-b11,Sun Microsystems Inc.

      13:58:14,783 INFO  [ServerInfo] OS-System: Windows 7 6.1,x86

      13:58:14,783 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:\apps\jboss6\lib\endorsed -Djava.library.path=C:\apps\jboss6\bin\native; -Dfile.encoding=Cp1252

      13:58:14,812 INFO  [JMXKernel] Legacy JMX core initialized

      13:58:18,852 INFO  [AbstractServerConfig] JBoss Web Services - Stack CXF Server 3.4.1.GA

      13:58:19,274 INFO  [JSFImplManagementDeployer] Initialized 3 JSF configurations: [Mojarra-1.2, MyFaces-2.0, Mojarra-2.0]

      13:58:22,003 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:58:24,221 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:58:24,369 INFO  [JMXConnector] starting JMXConnector on host localhost:1090

      13:58:24,452 INFO  [MailService] Mail Service bound to java:/Mail

      13:58:25,052 INFO  [HornetQServerImpl] live server is starting..

      13:58:25,492 INFO  [JournalStorageManager] Using NIO Journal

      13:58:25,512 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:58:26,010 INFO  [NettyAcceptor] Started Netty Acceptor version 3.2.1.Final-r2319 localhost:5455 for CORE protocol

      13:58:26,012 INFO  [NettyAcceptor] Started Netty Acceptor version 3.2.1.Final-r2319 localhost:5445 for CORE protocol

      13:58:26,014 INFO  [HornetQServerImpl] HornetQ Server version 2.1.2.Final (Colmeia, 120) started

      13:58:26,050 INFO  [WebService] Using RMI server codebase: http://localhost:8083/

      13:58:26,196 INFO  [jbossatx] ARJUNA-32010 JBossTS Recovery Service (tag: JBOSSTS_4_14_0_Final) - JBoss Inc.

      13:58:26,202 INFO  [arjuna] ARJUNA-12324 Start RecoveryActivators

      13:58:26,220 INFO  [arjuna] ARJUNA-12296 ExpiredEntryMonitor running at Thu, 12 May 2011 13:58:26

      13:58:26,304 INFO  [arjuna] ARJUNA-12310 Recovery manager listening on endpoint 127.0.0.1:4712

      13:58:26,304 INFO  [arjuna] ARJUNA-12344 RecoveryManagerImple is ready on port 4712

      13:58:26,305 INFO  [jbossatx] ARJUNA-32013 Starting transaction recovery manager

      13:58:26,313 INFO  [arjuna] ARJUNA-12163 Starting service com.arjuna.ats.arjuna.recovery.ActionStatusService on port 4713

      13:58:26,313 INFO  [arjuna] ARJUNA-12337 TransactionStatusManagerItem host: 127.0.0.1 port: 4713

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

      13:58:26,380 INFO  [jbossatx] ARJUNA-32017 JBossTS Transaction Service (JTA version - tag: JBOSSTS_4_14_0_Final) - JBoss Inc.

      13:58:26,419 INFO  [arjuna] ARJUNA-12202 registering bean jboss.jta:type=ObjectStore.

      13:58:26,594 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\apps\jboss6\bin\native;

      13:58:27,101 INFO  [ModClusterService] Initializing mod_cluster 1.1.0.Final

      13:58:27,112 INFO  [TomcatDeployment] deploy, ctxPath=/invoker

      13:58:27,393 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/apps/jboss6/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml

      13:58:27,403 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/apps/jboss6/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml

      13:58:27,408 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/apps/jboss6/server/default/deploy/jms-ra.rar/META-INF/ra.xml

      13:58:27,421 INFO  [HornetQResourceAdapter] HornetQ resource adaptor started

      13:58:27,426 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/apps/jboss6/server/default/deploy/mail-ra.rar/META-INF/ra.xml

      13:58:27,435 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/apps/jboss6/server/default/deploy/quartz-ra.rar/META-INF/ra.xml

      13:58:27,515 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: Thread-2

      13:58:27,549 INFO  [SchedulerSignalerImpl] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl

      13:58:27,549 INFO  [QuartzScheduler] Quartz Scheduler v.1.8.3 created.

      13:58:27,551 INFO  [RAMJobStore] RAMJobStore initialized.

      13:58:27,553 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:58:27,553 INFO  [StdSchedulerFactory] Quartz scheduler 'JBossQuartzScheduler' initialized from an externally opened InputStream.

      13:58:27,553 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.8.3

      13:58:27,553 INFO  [QuartzScheduler] Scheduler JBossQuartzScheduler_$_NON_CLUSTERED started.

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

      13:58:28,556 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'

      13:58:28,685 INFO  [xnio] XNIO Version 2.1.0.CR2

      13:58:28,694 INFO  [nio] XNIO NIO Implementation Version 2.1.0.CR2

      13:58:28,829 INFO  [remoting] JBoss Remoting version 3.1.0.Beta2

      13:58:28,916 INFO  [TomcatDeployment] deploy, ctxPath=/

      13:58:28,944 INFO  [service] Removing bootstrap log handlers

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

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

      13:58:29,017 INFO  [org.jboss.bootstrap.impl.base.server.AbstractServer] JBossAS [6.0.0.Final "Neo"] Started in 15s:348ms

      13:58:29,428 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to PreReal: name=vfs:///C:/dev/eclipse/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_6.0_Runtime_Server1305154353239/deploy/JbossGrwEAR.ear state=PostClassLoader mode=Manual requiredState=PreReal: org.jboss.deployers.spi.DeploymentException: java.lang.ClassNotFoundException: com.marcole.log.Log4JInitServlet from BaseClassLoader@1a6699c{vfs:///C:/dev/eclipse/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_6.0_Runtime_Server1305154353239/deploy/JbossGrwEAR.ear/JbossGrw.war/}

                at org.jboss.resteasy.integration.deployers.ResteasyScannerDeployer.checkDeclaredApplicationClassAsServlet(ResteasyScannerDeployer.java:257) [:6.0.0.Final]

                at org.jboss.resteasy.integration.deployers.ResteasyScannerDeployer.scan(ResteasyScannerDeployer.java:108) [:6.0.0.Final]

                at org.jboss.resteasy.integration.deployers.ResteasyScannerDeployer.internalDeploy(ResteasyScannerDeployer.java:64) [:6.0.0.Final]

                at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) [:2.2.0.GA]

                at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.GA]

                at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.GA]

                at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.GA]

                at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1603) [:2.2.0.GA]

                at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [: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.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.GA]

                at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.GA]

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

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

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

                at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151) [: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_25]

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

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

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

                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_25]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      Caused by: java.lang.ClassNotFoundException: com.marcole.log.Log4JInitServlet from BaseClassLoader@1a6699c{vfs:///C:/dev/eclipse/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_6.0_Runtime_Server1305154353239/deploy/JbossGrwEAR.ear/JbossGrw.war/}

                at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:480) [jboss-classloader.jar:2.2.0.GA]

                at java.lang.ClassLoader.loadClass(Unknown Source) [:1.6.0_25]

                at org.jboss.resteasy.integration.deployers.ResteasyScannerDeployer.checkDeclaredApplicationClassAsServlet(ResteasyScannerDeployer.java:253) [:6.0.0.Final]

                ... 74 more

        • 2. gettting  java.lang.ClassNotFoundException: com.marcole.log.Log4JInitServlet deploying from eclipse
          Max Rydahl Andersen Master

          I mean in eclipse error log (you can find that in the Error Log view)

          • 3. gettting  java.lang.ClassNotFoundException: com.marcole.log.Log4JInitServlet deploying from eclipse
            Chuck Hernandez Newbie

            Hello Max, thanks for looking at this.

             

            I found the log.  It shows errors for OnlineGeneric, which the old app moved over to eclipse.  The second app is JbossGrw, which I created in the eclipse environment.

             

            !ENTRY org.eclipse.wst.common.project.facet.core 4 0 2011-05-12 12:26:24.253

            !MESSAGE Project facet jbt.bpel.facet.core has not been defined. It is used in plugin org.jboss.ide.eclipse.as.core.

             

             

            !ENTRY org.jboss.ide.eclipse.as.core 4 33685508 2011-05-12 12:39:29.473

            !MESSAGE Publish Failed for module /OnlineGeneric

            !SUBENTRY 1 org.jboss.ide.eclipse.as.core 4 33685512 2011-05-12 12:39:29.473

            !MESSAGE Attempt to delete C:\dev\eclipse\workspace\.metadata\.plugins\org.jboss.ide.eclipse.as.core\JBoss_6.0_Runtime_Server1305154353239\deploy\OnlineGeneric\WebContent\WEB-INF failed

            !SUBENTRY 1 org.jboss.ide.eclipse.as.core 4 33685512 2011-05-12 12:39:29.473

            !MESSAGE Attempt to delete C:\dev\eclipse\workspace\.metadata\.plugins\org.jboss.ide.eclipse.as.core\JBoss_6.0_Runtime_Server1305154353239\deploy\OnlineGeneric\WebContent\WEB-INF failed

            !SUBENTRY 1 org.jboss.ide.eclipse.as.core 4 33685512 2011-05-12 12:39:29.473

            !MESSAGE Attempt to delete C:\dev\eclipse\workspace\.metadata\.plugins\org.jboss.ide.eclipse.as.core\JBoss_6.0_Runtime_Server1305154353239\deploy\OnlineGeneric\WebContent failed

            !SUBENTRY 1 org.jboss.ide.eclipse.as.core 4 33685512 2011-05-12 12:39:29.473

            !MESSAGE Attempt to delete C:\dev\eclipse\workspace\.metadata\.plugins\org.jboss.ide.eclipse.as.core\JBoss_6.0_Runtime_Server1305154353239\deploy\OnlineGeneric\WebContent failed

            !SUBENTRY 1 org.jboss.ide.eclipse.as.core 4 33685512 2011-05-12 12:39:29.473

            !MESSAGE Attempt to delete C:\dev\eclipse\workspace\.metadata\.plugins\org.jboss.ide.eclipse.as.core\JBoss_6.0_Runtime_Server1305154353239\deploy\OnlineGeneric failed

            !SUBENTRY 1 org.jboss.ide.eclipse.as.core 4 33685512 2011-05-12 12:39:29.473

            !MESSAGE Attempt to delete C:\dev\eclipse\workspace\.metadata\.plugins\org.jboss.ide.eclipse.as.core\JBoss_6.0_Runtime_Server1305154353239\deploy\OnlineGeneric failed

             

             

            !ENTRY org.jboss.ide.eclipse.as.core 4 33685508 2011-05-12 12:50:04.014

            !MESSAGE Publish Failed for module JbossGrwEAR

            !SUBENTRY 1 org.jboss.ide.eclipse.archives.webtools 4 0 2011-05-12 12:50:04.014

            !MESSAGE Copy of C:\dev\eclipse\workspace\JbossGrw\WebContent\META-INF\MANIFEST.MF to C:\dev\eclipse\workspace\.metadata\.plugins\org.jboss.ide.eclipse.as.core\JBoss_6.0_Runtime_Server1305154353239\deploy\JbossGrwEAR.ear\JbossGrw.war\META-INF\MANIFEST.MF has failed

            !SUBENTRY 1 org.jboss.ide.eclipse.archives.webtools 4 0 2011-05-12 12:50:04.014

            !MESSAGE Copy of C:\dev\eclipse\workspace\JbossGrw\WebContent\WEB-INF\web.xml to C:\dev\eclipse\workspace\.metadata\.plugins\org.jboss.ide.eclipse.as.core\JBoss_6.0_Runtime_Server1305154353239\deploy\JbossGrwEAR.ear\JbossGrw.war\WEB-INF\web.xml has failed

             

             

            !ENTRY org.jboss.ide.eclipse.as.core 4 33685508 2011-05-12 12:54:43.203

            !MESSAGE Publish Failed for module JbossGrwEAR

            !SUBENTRY 1 org.jboss.ide.eclipse.archives.webtools 4 0 2011-05-12 12:54:43.203

            !MESSAGE Copy of C:\dev\eclipse\workspace\JbossGrw\WebContent\META-INF\MANIFEST.MF to C:\dev\eclipse\workspace\.metadata\.plugins\org.jboss.ide.eclipse.as.core\JBoss_6.0_Runtime_Server1305154353239\deploy\JbossGrwEAR.ear\JbossGrw.war\META-INF\MANIFEST.MF has failed

            !SUBENTRY 1 org.jboss.ide.eclipse.archives.webtools 4 0 2011-05-12 12:54:43.203

            !MESSAGE Copy of C:\dev\eclipse\workspace\JbossGrw\WebContent\WEB-INF\web.xml to C:\dev\eclipse\workspace\.metadata\.plugins\org.jboss.ide.eclipse.as.core\JBoss_6.0_Runtime_Server1305154353239\deploy\JbossGrwEAR.ear\JbossGrw.war\WEB-INF\web.xml has failed

             

             

            !ENTRY org.eclipse.ui.navigator 4 2 2011-05-12 13:54:29.525

            !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.navigator".

            !STACK 0

            java.lang.IllegalStateException: The project <P/JbossGrw> is not accessible.

                      at org.eclipse.jst.jee.model.internal.JEE5ModelProvider.getModelResource(JEE5ModelProvider.java:148)

                      at org.eclipse.jst.jee.model.internal.Web25ModelProvider.getModelObject(Web25ModelProvider.java:44)

                      at org.eclipse.jst.jee.model.internal.JEE5ModelProvider.getModelObject(JEE5ModelProvider.java:217)

                      at org.eclipse.jst.jee.model.internal.common.AbstractMergedModelProvider.loadProviders(AbstractMergedModelProvider.java:261)

                      at org.eclipse.jst.jee.model.internal.common.AbstractMergedModelProvider.access$2(AbstractMergedModelProvider.java:255)

                      at org.eclipse.jst.jee.model.internal.common.AbstractMergedModelProvider$LoadModelsWorkspaceRunnable.run(AbstractMergedModelProvider.java:278)

                      at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)

                      at org.eclipse.jst.jee.model.internal.common.AbstractMergedModelProvider.loadModel(AbstractMergedModelProvider.java:249)

                      at org.eclipse.jst.jee.model.internal.common.AbstractMergedModelProvider.getMergedModel(AbstractMergedModelProvider.java:219)

                      at org.eclipse.jst.jee.model.internal.common.AbstractMergedModelProvider.getModelObject(AbstractMergedModelProvider.java:139)

                      at org.eclipse.jst.jee.ui.internal.navigator.JEE5ContentProvider.getCachedContentProvider(JEE5ContentProvider.java:98)

                      at org.eclipse.jst.jee.ui.internal.navigator.Web25ContentProvider.getChildren(Web25ContentProvider.java:35)

                      at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.getChildren(SafeDelegateTreeContentProvider.java:96)

                      at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider$1.run(NavigatorContentServiceContentProvider.java:150)

                      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

                      at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.internalGetChildren(NavigatorContentServiceContentProvider.java:137)

                      at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.getChildren(NavigatorContentServiceContentProvider.java:117)

                      at org.eclipse.jst.jee.ui.internal.navigator.JEE5ContentProvider$1.run(JEE5ContentProvider.java:126)

                      at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)

                      at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)

                      at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)

                      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)

                      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)

                      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)

                      at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)

                      at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)

                      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

                      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)

                      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

                      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)

                      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

                      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

                      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

                      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)

                      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                      at java.lang.reflect.Method.invoke(Method.java:592)

                      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)

                      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)

                      at org.eclipse.equinox.launcher.Main.run(Main.java:1408)

             

             

            !ENTRY org.eclipse.ui.navigator 4 0 2011-05-12 13:54:29.543

            !MESSAGE An exception occurred invoking extension: org.eclipse.jst.jee.ui.web for object P/JbossGrw

            • 4. gettting  java.lang.ClassNotFoundException: com.marcole.log.Log4JInitServlet deploying from eclipse
              Max Rydahl Andersen Master

              Seems like there either is a filesystem problem or some bug in our deployer - most likely dependent on something windows specific.

               

              Have you tried switching to in server or some separate directory instead of inside the workspace ?

               

              Does it make a difference if you stop the server while deploying ? (might be w indows locking issue)

              • 5. gettting  java.lang.ClassNotFoundException: com.marcole.log.Log4JInitServlet deploying from eclipse
                Chuck Hernandez Newbie

                I tried stopping and then publish.  After publishing I try and start the server in debug.  And get out of memory error.  I have 8gigs of RAM I guess I need to allocate more to the server?

                 

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

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

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

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

                Caused by: java.lang.OutOfMemoryError: Java heap space

                          at java.util.Arrays.copyOf(Unknown Source) [:1.6.0_25]

                          at java.util.Arrays.copyOf(Unknown Source) [:1.6.0_25]

                          at java.util.concurrent.CopyOnWriteArrayList.add(Unknown Source) [:1.6.0_25]

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