users@glassfish.java.net

Re: ClassNotFoundException with Glassfish embedded

From: Bhavanishankar <bshankar_at_sun.com>
Date: Fri, 10 Sep 2010 17:28:41 +0530

Please send the complete output of 'mvn embedded-glassfish:run' which
you have run with latest latest 3.1-SNAPSHOT version of
maven-embedded-glassfish-plugin.

On 09/10/2010 05:07 PM, Martin Gainty wrote:
> Caused by: javassist.CannotCompileException: by
> java.lang.NoClassDefFoundError:
> br/gov/ce/sefaz/pdf2010/core/manager/ExercicioManager
>
> please confirm your compile step produces no errors e.g.
> ${build.directory}
> mvn -e -X compile
>
>
> make *sure* you have a valid ExercicioManager class compiled
> to ${build.directory}/target/classes/br/gov/ce/sefaz/pdf2010/core/manager/ExercicioManager.class
>
> Martin Gainty
> ______________________________________________
> Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
>
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede
> unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig.
> Diese Nachricht dient lediglich dem Austausch von Informationen und
> entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten
> Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den
> Inhalt uebernehmen.
>
> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.
>
>
>
>
>
> > Date: Fri, 10 Sep 2010 12:38:47 +0530
> > From: bshankar_at_sun.com
> > To: users_at_glassfish.dev.java.net
> > CC: glassfish_at_javadesktop.org
> > Subject: Re: ClassNotFoundException with Glassfish embedded
> >
> > Please try again with the latest 3.1-SNAPSHOT version of
> > maven-embedded-glassfish-plugin.
> >
> > --Bhavani.
> >
> > PS: Before running the test, preferably clean up
> >
> D:/Dados/Documents%20and%20Settings/49756518/.m2/repository/org/glassfish/maven-embedded-glassfish-plugin
>
> > to make sure you get the latest.
> >
> > On 09/09/2010 10:53 PM, glassfish_at_javadesktop.org wrote:
> > > I´m having trouble deploying my WAR on Glassfish embedded 3.0.1.
> It gives ClassNotFoundException, even though the class is on the
> classpath. It´s on a jar on WEB-INF/lib. The same WAR deploys ok on
> Glassfish stand-alone.
> > >
> > > I running Glassfish with maven-embedded-glassfish-plugin. Here is
> the configuration:
> > > <plugin>
> > > <groupId>org.glassfish</groupId>
> > > <artifactId>maven-embedded-glassfish-plugin</artifactId>
> > > <version>3.1-SNAPSHOT</version>
> > > <configuration>
> > > <goalPrefix>embedded-glassfish</goalPrefix>
> > > <app>${project.build.directory}/${project.build.finalName}.war</app>
> > > <port>7070</port>
> > > <containerType>web</containerType>
> > > </configuration>
> > > </plugin>
> > >
> > > And here is the log:
> > >
> > >
> > > D:\java\workspaces\helios\pdf-parent\pdf-app>mvn
> embedded-glassfish:run
> > > [INFO] Scanning for projects...
> > > [INFO]
> > > [INFO]
> ------------------------------------------------------------------------
> > > [INFO] Building pdf-app 0.0.1-SNAPSHOT
> > > [INFO]
> ------------------------------------------------------------------------
> > > [INFO]
> > > [INFO] --- maven-embedded-glassfish-plugin:3.0.1:run (default-cli)
> @ pdf-app ---
> > > 09/09/2010 13:41:18 com.sun.enterprise.v3.server.AppServerStartup run
> > > INFO: GlassFish Server Open Source Edition 3.0.1 (java_re-private)
> startup time : Embedded(219ms) startup services(203ms
> > > ) total(422ms)
> > > 09/09/2010 13:41:19
> com.sun.enterprise.transaction.JavaEETransactionManagerSimplified
> initDelegates
> > > INFO: Using
> com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate
> as the delegate
> > > 09/09/2010 13:41:19
> org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread
> run
> > > INFO: JMXStartupService: JMXConnector system is disabled, skipping.
> > > 09/09/2010 13:41:19 AppServerStartup run
> > > INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
> > > 09/09/2010 13:41:19 org.hibernate.validator.util.Version<clinit>
> > > INFO: Hibernate Validator null
> > > 09/09/2010 13:41:19
> org.hibernate.validator.engine.resolver.DefaultTraversableResolver
> detectJPA
> > > INFO: Instantiated an instance of
> org.hibernate.validator.engine.resolver.JPATraversableResolver.
> > > 09/09/2010 13:41:19
> com.sun.enterprise.v3.services.impl.GrizzlyProxy$2$1 onReady
> > > INFO: Grizzly Framework 1.9.18-o started in: 187ms listening on
> port 7070
> > > 09/09/2010 13:41:46 com.sun.common.util.logging.LoggingConfigImpl
> openPropFile
> > > INFO: Cannot read logging.properties file.
> > > 09/09/2010 13:41:47 com.sun.enterprise.web.WebContainer
> createHttpListener
> > > INFO: Created HTTP listener embedded-listener on port 7070
> > > 09/09/2010 13:41:47 com.sun.enterprise.web.WebContainer
> configureHttpServiceProperties
> > > WARNING: pewebcontainer.invalid_http_service_property
> > > 09/09/2010 13:41:47 com.sun.enterprise.web.WebContainer createHosts
> > > INFO: Created virtual server server
> > > 09/09/2010 13:41:47 com.sun.enterprise.web.WebContainer
> loadSystemDefaultWebModules
> > > INFO: Virtual server server loaded system default web module
> > > 09/09/2010 13:42:08 org.apache.catalina.core.StandardContext
> callServletContainerInitializers
> > > SEVERE: PWC1420: Error invoking ServletContainerInitializer
> org.apache.jasper.runtime.TldScanner
> > > org.apache.jasper.JasperException: PWC6177: XML parsing error on
> file file:/D:/Dados/Documents%20and%20Settings/49756518
> > >
> /.m2/repository/org/glassfish/extras/glassfish-embedded-all/3.0.1/glassfish-embedded-all-3.0.1.jar
> > > at
> org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:325)
> > > at
> org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:366)
> > > at org.apache.jasper.runtime.TldScanner.scanTld(TldScanner.java:526)
> > > at org.apache.jasper.runtime.TldScanner.scanJar(TldScanner.java:369)
> > > at org.apache.jasper.runtime.TldScanner.scanJars(TldScanner.java:633)
> > > at org.apache.jasper.runtime.TldScanner.scanTlds(TldScanner.java:282)
> > > at org.apache.jasper.runtime.TldScanner.onStartup(TldScanner.java:228)
> > > at
> org.apache.catalina.core.StandardContext.callServletContainerInitializers(StandardContext.java:5352)
> > > at
> com.sun.enterprise.web.WebModule.callServletContainerInitializers(WebModule.java:550)
> > > at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:5263)
> > > at com.sun.enterprise.web.WebModule.start(WebModule.java:499)
> > > at
> org.apache.catalina.core.ContainerBase.startChildren(ContainerBase.java:1523)
> > > at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1190)
> > > at org.apache.catalina.core.StandardHost.start(StandardHost.java:975)
> > > at
> org.apache.catalina.core.ContainerBase.startChildren(ContainerBase.java:1523)
> > > at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1190)
> > > at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:529)
> > > at org.apache.catalina.startup.Embedded.start(Embedded.java:946)
> > > at
> com.sun.enterprise.web.WebContainer.postConstruct(WebContainer.java:591)
> > > at
> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:174)
> > > at
> com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
> > > at java.security.AccessController.doPrivileged(Native Method)
> > > at
> com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
> > > at
> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
> > > at
> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
> > > at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
> > > at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
> > > at
> org.glassfish.internal.data.EngineInfo.getContainer(EngineInfo.java:78)
> > > at
> com.sun.enterprise.v3.server.ApplicationLifecycle.startContainers(ApplicationLifecycle.java:716)
> > > at
> com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:461)
> > > at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:262)
> > > at
> org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:214)
> > > at
> org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:144)
> > > at org.glassfish.maven.RunMojo.execute(RunMojo.java:98)
> > > at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
> > > at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> > > at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:88)
> > > at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:80)
> > > at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:87)
> > > at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> > > at
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> > > at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:315)
> > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
> > > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
> > > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
> > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
> > > 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:597)
> > > at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> > > at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> > > at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> > > at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> > > Caused by: java.net.ConnectException: Connection timed out: connect
> > > at java.net.PlainSocketImpl.socketConnect(Native Method)
> > > at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
> > > at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
> > > at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
> > > at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
> > > at java.net.Socket.connect(Socket.java:525)
> > > at java.net.Socket.connect(Socket.java:475)
> > > at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
> > > at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
> > > at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
> > > at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
> > > at sun.net.www.http.HttpClient.New(HttpClient.java:306)
> > > at sun.net.www.http.HttpClient.New(HttpClient.java:323)
> > > at
> sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:860)
> > > at
> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:801)
> > > at
> sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:726)
> > > at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1049)
> > > at
> com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:677)
> > > at
> com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1315)
> > > at
> com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:1282)
> > > at
> com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:283)
> > > at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(XMLDocumentScannerImpl.java
> > > :1194)
> > > at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(XMLDocumentScannerImpl.java:109
> > > 0)
> > > at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:
> > > 1003)
> > > at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> > > at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
> > > at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScanne
> > > rImpl.java:511)
> > > at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
> > > at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> > > at
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
> > > at
> com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:235)
> > > at
> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
> > > at
> org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:296)
> > > ... 54 more
> > > 09/09/2010 13:42:08 org.apache.catalina.core.StandardContext start
> > > SEVERE: PWC1306: Startup of context failed due to previous errors
> > > 09/09/2010 13:42:08 org.apache.catalina.core.StandardContext start
> > > SEVERE: PWC1305: Exception during cleanup after start failed
> > > org.apache.catalina.LifecycleException: PWC2769: Manager has not
> yet been started
> > > at
> org.apache.catalina.session.StandardManager.stop(StandardManager.java:892)
> > > at
> org.apache.catalina.core.StandardContext.stop(StandardContext.java:5456)
> > > at com.sun.enterprise.web.WebModule.stop(WebModule.java:530)
> > > at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:5284)
> > > at com.sun.enterprise.web.WebModule.start(WebModule.java:499)
> > > at
> org.apache.catalina.core.ContainerBase.startChildren(ContainerBase.java:1523)
> > > at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1190)
> > > at org.apache.catalina.core.StandardHost.start(StandardHost.java:975)
> > > at
> org.apache.catalina.core.ContainerBase.startChildren(ContainerBase.java:1523)
> > > at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1190)
> > > at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:529)
> > > at org.apache.catalina.startup.Embedded.start(Embedded.java:946)
> > > at
> com.sun.enterprise.web.WebContainer.postConstruct(WebContainer.java:591)
> > > at
> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:174)
> > > at
> com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
> > > at java.security.AccessController.doPrivileged(Native Method)
> > > at
> com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
> > > at
> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
> > > at
> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
> > > at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
> > > at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
> > > at
> org.glassfish.internal.data.EngineInfo.getContainer(EngineInfo.java:78)
> > > at
> com.sun.enterprise.v3.server.ApplicationLifecycle.startContainers(ApplicationLifecycle.java:716)
> > > at
> com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:461)
> > > at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:262)
> > > at
> org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:214)
> > > at
> org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:144)
> > > at org.glassfish.maven.RunMojo.execute(RunMojo.java:98)
> > > at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
> > > at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> > > at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:88)
> > > at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:80)
> > > at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:87)
> > > at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> > > at
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> > > at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:315)
> > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
> > > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
> > > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
> > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
> > > 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:597)
> > > at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> > > at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> > > at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> > > at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> > > 09/09/2010 13:42:08 org.apache.catalina.core.ContainerBase
> startChildren
> > > SEVERE: PWC1240: Container
> StandardEngine[com.sun.appserv].StandardHost[server].StandardContext[]
> has not been started
> > > org.apache.catalina.LifecycleException:
> org.apache.catalina.LifecycleException:
> org.apache.jasper.JasperException: PWC61
> > > 77: XML parsing error on file
> file:/D:/Dados/Documents%20and%20Settings/49756518/.m2/repository/org/glassfish/extras/gla
> > > ssfish-embedded-all/3.0.1/glassfish-embedded-all-3.0.1.jar
> > > at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:5289)
> > > at com.sun.enterprise.web.WebModule.start(WebModule.java:499)
> > > at
> org.apache.catalina.core.ContainerBase.startChildren(ContainerBase.java:1523)
> > > at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1190)
> > > at org.apache.catalina.core.StandardHost.start(StandardHost.java:975)
> > > at
> org.apache.catalina.core.ContainerBase.startChildren(ContainerBase.java:1523)
> > > at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1190)
> > > at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:529)
> > > at org.apache.catalina.startup.Embedded.start(Embedded.java:946)
> > > at
> com.sun.enterprise.web.WebContainer.postConstruct(WebContainer.java:591)
> > > at
> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:174)
> > > at
> com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
> > > at java.security.AccessController.doPrivileged(Native Method)
> > > at
> com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
> > > at
> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
> > > at
> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
> > > at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
> > > at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
> > > at
> org.glassfish.internal.data.EngineInfo.getContainer(EngineInfo.java:78)
> > > at
> com.sun.enterprise.v3.server.ApplicationLifecycle.startContainers(ApplicationLifecycle.java:716)
> > > at
> com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:461)
> > > at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:262)
> > > at
> org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:214)
> > > at
> org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:144)
> > > at org.glassfish.maven.RunMojo.execute(RunMojo.java:98)
> > > at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
> > > at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> > > at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:88)
> > > at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:80)
> > > at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:87)
> > > at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> > > at
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> > > at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:315)
> > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
> > > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
> > > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
> > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
> > > 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:597)
> > > at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> > > at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> > > at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> > > at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> > > Caused by: org.apache.catalina.LifecycleException:
> org.apache.jasper.JasperException: PWC6177: XML parsing error on file
> > >
> file:/D:/Dados/Documents%20and%20Settings/49756518/.m2/repository/org/glassfish/extras/glassfish-embedded-all/3.0.1/gla
> > > ssfish-embedded-all-3.0.1.jar
> > > at
> org.apache.catalina.core.StandardContext.callServletContainerInitializers(StandardContext.java:5360)
> > > at
> com.sun.enterprise.web.WebModule.callServletContainerInitializers(WebModule.java:550)
> > > at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:5263)
> > > ... 45 more
> > > Caused by: org.apache.jasper.JasperException: PWC6177: XML parsing
> error on file file:/D:/Dados/Documents%20and%20Settin
> > >
> gs/49756518/.m2/repository/org/glassfish/extras/glassfish-embedded-all/3.0.1/glassfish-embedded-all-3.0.1.jar
> > > at
> org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:325)
> > > at
> org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:366)
> > > at org.apache.jasper.runtime.TldScanner.scanTld(TldScanner.java:526)
> > > at org.apache.jasper.runtime.TldScanner.scanJar(TldScanner.java:369)
> > > at org.apache.jasper.runtime.TldScanner.scanJars(TldScanner.java:633)
> > > at org.apache.jasper.runtime.TldScanner.scanTlds(TldScanner.java:282)
> > > at org.apache.jasper.runtime.TldScanner.onStartup(TldScanner.java:228)
> > > at
> org.apache.catalina.core.StandardContext.callServletContainerInitializers(StandardContext.java:5352)
> > > ... 47 more
> > > Caused by: java.net.ConnectException: Connection timed out: connect
> > > at java.net.PlainSocketImpl.socketConnect(Native Method)
> > > at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
> > > at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
> > > at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
> > > at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
> > > at java.net.Socket.connect(Socket.java:525)
> > > at java.net.Socket.connect(Socket.java:475)
> > > at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
> > > at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
> > > at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
> > > at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
> > > at sun.net.www.http.HttpClient.New(HttpClient.java:306)
> > > at sun.net.www.http.HttpClient.New(HttpClient.java:323)
> > > at
> sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:860)
> > > at
> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:801)
> > > at
> sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:726)
> > > at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1049)
> > > at
> com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:677)
> > > at
> com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1315)
> > > at
> com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:1282)
> > > at
> com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:283)
> > > at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(XMLDocumentScannerImpl.java
> > > :1194)
> > > at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(XMLDocumentScannerImpl.java:109
> > > 0)
> > > at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:
> > > 1003)
> > > at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> > > at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
> > > at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScanne
> > > rImpl.java:511)
> > > at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
> > > at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> > > at
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
> > > at
> com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:235)
> > > at
> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
> > > at
> org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:296)
> > > ... 54 more
> > > 09/09/2010 13:42:08
> com.sun.enterprise.security.SecurityLifecycle<init>
> > > INFO: security.secmgroff
> > > 09/09/2010 13:42:08 com.sun.enterprise.security.SecurityLifecycle
> onInitialization
> > > INFO: Security startup service called
> > > 09/09/2010 13:42:08 com.sun.enterprise.security.PolicyLoader
> loadPolicy
> > > INFO: policy.loading
> > > 09/09/2010 13:42:08 com.sun.enterprise.security.auth.realm.Realm
> doInstantiate
> > > INFO: Realm admin-realm of classtype
> com.sun.enterprise.security.auth.realm.file.FileRealm successfully
> created.
> > > 09/09/2010 13:42:08 com.sun.enterprise.security.auth.realm.Realm
> doInstantiate
> > > INFO: Realm file of classtype
> com.sun.enterprise.security.auth.realm.file.FileRealm successfully
> created.
> > > 09/09/2010 13:42:08 com.sun.enterprise.security.auth.realm.Realm
> doInstantiate
> > > INFO: Realm certificate of classtype
> com.sun.enterprise.security.auth.realm.certificate.CertificateRealm
> successfully cr
> > > eated.
> > > 09/09/2010 13:42:08 com.sun.enterprise.security.SecurityLifecycle
> onInitialization
> > > INFO: Security service(s) started successfully....
> > > classLoader = WebappClassLoader (delegate=true;
> repositories=WEB-INF/classes/)
> > > SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7_at_176fb04
> > > 09/09/2010 13:42:53 org.jboss.weld.bootstrap.WeldBootstrap<clinit>
> > > INFO: WELD-000900 SNAPSHOT
> > > 09/09/2010 13:42:53
> org.hibernate.validator.engine.resolver.DefaultTraversableResolver
> detectJPA
> > > INFO: Instantiated an instance of
> org.hibernate.validator.engine.resolver.JPATraversableResolver.
> > > WARNING: Please annotate class class
> br.gov.ce.sefaz.pdf2010.action.ExercicioAction with
> @javax.enterprise.context.Sessi
> > > onScoped instead of @javax.faces.bean.SessionScoped
> > > 09/09/2010 13:42:55 org.glassfish.api.ActionReport failure
> > > SEVERE: Exception while loading the app
> > > org.glassfish.deployment.common.DeploymentException: by
> java.lang.NoClassDefFoundError: br/gov/ce/sefaz/pdf2010/core/man
> > > ager/ExercicioManager
> > > at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:167)
> > > at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:125)
> > > at
> org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:224)
> > > at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:338)
> > > at
> org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:214)
> > > at
> org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:144)
> > > at org.glassfish.maven.RunMojo.execute(RunMojo.java:98)
> > > at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
> > > at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> > > at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:88)
> > > at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:80)
> > > at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:87)
> > > at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> > > at
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> > > at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:315)
> > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
> > > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
> > > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
> > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
> > > 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:597)
> > > at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> > > at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> > > at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> > > at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> > > Caused by: java.lang.RuntimeException: by
> java.lang.NoClassDefFoundError:
> br/gov/ce/sefaz/pdf2010/core/manager/Exercicio
> > > Manager
> > > at
> javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:344)
> > > at
> javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:314)
> > > at
> javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:273)
> > > at org.jboss.weld.util.Proxies.createProxyClass(Proxies.java:187)
> > > at org.jboss.weld.util.Proxies.createProxyClass(Proxies.java:168)
> > > at
> org.jboss.weld.bean.SessionBean.initProxyClass(SessionBean.java:221)
> > > at org.jboss.weld.bean.SessionBean.initialize(SessionBean.java:143)
> > > at
> org.jboss.weld.bootstrap.AbstractBeanDeployer.deploy(AbstractBeanDeployer.java:110)
> > > at
> org.jboss.weld.bootstrap.BeanDeployment.deployBeans(BeanDeployment.java:151)
> > > at
> org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:377)
> > > at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:165)
> > > ... 27 more
> > > Caused by: javassist.CannotCompileException: by
> java.lang.NoClassDefFoundError: br/gov/ce/sefaz/pdf2010/core/manager/Exe
> > > rcicioManager
> > > at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:169)
> > > at
> javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:339)
> > > ... 37 more
> > > Caused by: java.lang.NoClassDefFoundError:
> br/gov/ce/sefaz/pdf2010/core/manager/ExercicioManager
> > > at java.lang.ClassLoader.defineClass1(Native Method)
> > > at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
> > > at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
> > > at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source)
> > > at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > at javassist.util.proxy.FactoryHelper.toClass2(FactoryHelper.java:181)
> > > at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:163)
> > > ... 38 more
> > > Caused by: java.lang.ClassNotFoundException:
> br.gov.ce.sefaz.pdf2010.core.manager.ExercicioManager
> > > at
> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
> > > at
> org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
> > > at
> org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
> > > ... 46 more
> > > classLoader = WebappClassLoader (delegate=true;
> repositories=WEB-INF/classes/)
> > > SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7_at_176fb04
> > > Hit ENTER to redeploy, X to exit
> > >
> > > Does anyone know what could possibly be wrong?
> > >
> > > thanks in advance,
> > > Fabricio Lemos
> > > [Message sent by forum member 'fabriciolemos']
> > >
> > > http://forums.java.net/jive/thread.jspa?messageID=482213
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> > > For additional commands, e-mail: users-help_at_glassfish.dev.java.net
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> > For additional commands, e-mail: users-help_at_glassfish.dev.java.net
> >