Hi Jose,
just a quick update ...
On 10/31/09 02:36, Jose Noheda wrote:
> Hi Jan,
>
> On Fri, Oct 30, 2009 at 5:12 PM, Jan Luehe <Jan.Luehe_at_sun.com
> <mailto:Jan.Luehe_at_sun.com>> wrote:
>
> Hi Jose,
>
>
> On 10/30/09 02:42, Jose Noheda wrote:
>> Hi,
>>
>> The problem is 9894 wraps not one bug but four or five. Probably
>> we should close it and open new ones for the parsing error in
>> web.xml and the Spring one (considering fixed the others). Do you
>> agree?
>
> Let's leave the existing bug open (instead of filing new ones),
> and I'll
> inform you as I commit incremental fixes for it.
>
> I should have a fix for "GRAVE: PWC3026: Parse error in default
> web.xml"
> by the end of the day.
>
If you use tomorrow's nightly build, the "GRAVE: PWC3026: Parse error in
default web.xml"
error and exception stack trace will no longer appear.
They were caused by the fact that the Digester was keeping references to
cached instances of an XML
parser factory and parser that had been loaded by the temporary
WebappClassLoader that is created
by the deployment backend and not supposed to be used post deployment.
I just committed a fix that clears those references.
I will now investigate the last remaining failure:
"javax.naming.NameNotFoundException: iwebmvc not found"
and will let you know what I find.
Thanks,
Jan
>
>
> > From there it continues booting until it stops with the Spring
> error (to encounter
> > this one you need to create a pool named iwebmvc that points to
> a MySQL5 database
> > or Hibernate will fail):
>
> I probably need your help with that.
>
>
> This may be of help. It's cut&pasted from a sun-resources.xml that I
> use to deply from Netbeans:
>
> <resources>
> <jdbc-resource enabled="*true*" jndi-name="*iwebmvc*"
> object-type="*user*" pool-name="*IWebMvc2Pool*">
> <description>*IWebMvc2 Datasource*</description>
> </jdbc-resource>
> *-*
> <http://googlemail.com/attachment?ui=2&ik=42f8c57bd1&view=att&th=124a19a68cf5d883&attid=0.2&disp=safe&realattid=f_g1dv1gng1&zw&saduie=1a99cqfraurkcelzf5kka5hmqpqoocd&sadet=1256981533802&sads=85a76000770bb800c791cd3f170433b1#>
> <jdbc-connection-pool ... connection-validation-method="*auto-commit*"
> datasource-classname="*com.mysql.jdbc.jdbc2.optional.MysqlDataSource*"
> ...name="*IWebMvc2Pool*" ...res-type="*javax.sql.DataSource*" ...>
> <description>*IWebMvc2 Database Pool*</description>
> <property name="*URL*"
> value="*jdbc:mysql://localhost:3306/iwebmvc?relaxAutoCommit=true*" />
> <property name="*User*" value="*iwebmvc*" />
> <property name="*Password*" value="*iwebmvc*" />
> </jdbc-connection-pool>
> </resources>
>
> Let me know if you need more info
>
> Regards
>
>
> Thanks,
>
> Jan
>
>
>>
>> Regards
>>
>> On Thu, Oct 29, 2009 at 8:22 PM, Jan Luehe <Jan.Luehe_at_sun.com
>> <mailto:Jan.Luehe_at_sun.com>> wrote:
>>
>> On 10/29/09 12:13, Jose Noheda wrote:
>>> Hi,
>>>
>>> The latest nightly (glassfish-v3-web-b71-10_29_2009) fails with:
>>>
>>> GRAVE: log4j:ERROR LogMananger.repositorySelector was null
>>> likely due to error in class reloading, using
>>> NOPLoggerRepository.
>>> GRAVE: PWC3026: Parse error in default web.xml
>>> java.lang.IllegalStateException: WebappClassLoader unable to
>>> load resource [org.xml.sax.ext.EntityResolver2], because it
>>> has not yet been started, or was already stopped
>>> at
>>> org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1357)
>>> at
>>> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>>> at
>>> org.apache.xerces.parsers.AbstractSAXParser.setEntityResolver(Unknown
>>> Source)
>>> at
>>> org.apache.tomcat.util.digester.Digester.getXMLReader(Digester.java:1040)
>>> at
>>> org.apache.tomcat.util.digester.Digester.parse(Digester.java:1698)
>>> at
>>> org.apache.catalina.startup.ContextConfig.processContextConfig(ContextConfig.java:819)
>>> at
>>> org.apache.catalina.startup.ContextConfig.contextConfig(ContextConfig.java:760)
>>> at
>>> org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:1014)
>>> at
>>> com.sun.enterprise.web.WebModuleContextConfig.lifecycleEvent(WebModuleContextConfig.java:180)
>>> at
>>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
>>> at
>>> org.apache.catalina.core.StandardContext.init(StandardContext.java:6352)
>>> at
>>> org.apache.catalina.core.StandardContext.start(StandardContext.java:5005)
>>> at
>>> com.sun.enterprise.web.WebModule.start(WebModule.java:500)
>>> at
>>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:928)
>>> at
>>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912)
>>> at
>>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694)
>>> at
>>> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1888)
>>> at
>>> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1560)
>>> at
>>> com.sun.enterprise.web.WebApplication.start(WebApplication.java:90)
>>> at
>>> org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
>>> at
>>> org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:231)
>>> at
>>> org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:235)
>>> at
>>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:323)
>>> at
>>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:169)
>>> at
>>> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
>>> at
>>> com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
>>> at
>>> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
>>> at
>>> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1159)
>>> at
>>> com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
>>> at
>>> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1218)
>>> at
>>> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1207)
>>> at
>>> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:362)
>>> at
>>> com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:201)
>>> at
>>> com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
>>> at
>>> com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
>>> at
>>> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:241)
>>> at
>>> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:789)
>>> at
>>> com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:697)
>>> at
>>> com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:952)
>>> at
>>> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:166)
>>> at
>>> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
>>> at
>>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
>>> at
>>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
>>> at
>>> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
>>> at
>>> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
>>> at
>>> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
>>> at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
>>> at
>>> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
>>> at
>>> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
>>> at java.lang.Thread.run(Thread.java:619)
>>>
>>
>> Thanks, Jose. for trying the latest nightly!
>>
>> So we've made some progress. :)
>>
>> I've seen the above "GRAVE: PWC3026: Parse error in default
>> web.xml", but I'm not
>> able to reproduce it consistently. Let me investigate some more.
>>
>> Would you agree that after the above error has been fixed, IT
>> 9894
>> <https://glassfish.dev.java.net/issues/show_bug.cgi?id=9894>
>> can be closed as fixed?
>>
>> Thanks,
>>
>> Jan
>>
>>
>>> From there it continues booting until it stops with the
>>> Spring error (to encounter this one you need to create a
>>> pool named iwebmvc that points to a MySQL5 database or
>>> Hibernate will fail):
>>>
>>> java.lang.Exception: java.lang.IllegalStateException:
>>> ContainerBase.addChild: start:
>>> org.apache.catalina.LifecycleException:
>>> org.springframework.beans.factory.BeanCreationException:
>>> Error creating bean with name 'baseDAO': Injection of
>>> persistence fields failed; nested exception is
>>> org.springframework.beans.factory.BeanCreationException:
>>> Error creating bean with name 'entityManagerFactory' defined
>>> in URL
>>> [jar:file:/C:/src/IWebMvc2/iwebmvc-demo/target/iwebmvc-demo/WEB-INF/lib/iwebmvc-model-2.0-SNAPSHOT.jar!/spring/glassfish.xml]:
>>> Invocation of init method failed; nested exception is
>>> java.lang.IllegalStateException: Transaction is not active
>>> in the current thread.
>>> at
>>> com.sun.enterprise.web.WebApplication.start(WebApplication.java:118)
>>> at
>>> org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
>>> at
>>> org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:231)
>>> at
>>> org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:235)
>>> at
>>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:323)
>>> at
>>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:169)
>>> at
>>> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
>>> at
>>> com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
>>> at
>>> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
>>> at
>>> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1159)
>>> at
>>> com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
>>> at
>>> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1218)
>>> at
>>> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1207)
>>> at
>>> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:362)
>>> at
>>> com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:201)
>>> at
>>> com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
>>> at
>>> com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
>>> at
>>> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:241)
>>> at
>>> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:789)
>>> at
>>> com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:697)
>>> at
>>> com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:952)
>>> at
>>> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:166)
>>> at
>>> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
>>> at
>>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
>>> at
>>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
>>> at
>>> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
>>> at
>>> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
>>> at
>>> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
>>> at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
>>> at
>>> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
>>> at
>>> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
>>> at java.lang.Thread.run(Thread.java:619)
>>>
>>> Regards
>>>
>>> On Thu, Oct 1, 2009 at 4:01 PM, Jose Noheda
>>> <jose.noheda_at_gmail.com <mailto:jose.noheda_at_gmail.com>> wrote:
>>>
>>> Hi,
>>>
>>> I've
>>> created https://glassfish.dev.java.net/issues/show_bug.cgi?id=9894.
>>> I can't upload the WAR file there because it's around
>>> 38MB and the issue tracker limits the size to 1Mb max
>>> (or so it says, I'm trying anyway). If you provide me
>>> with another location I'll upload it without problem.
>>>
>>> Regards
>>>
>>> On Wed, Sep 30, 2009 at 8:40 PM, Judy Tang
>>> <Judy.J.Tang_at_sun.com <mailto:Judy.J.Tang_at_sun.com>> wrote:
>>>
>>> Hi Jose,
>>>
>>> Thank you so much for trying the app on v2.1 and
>>> found out the app does not work and could be
>>> conflicts with GFv2 design.
>>>
>>> When the bug system is up, please help us log a bug
>>> and attach the WAR file, give this a try please. We
>>> value your test :-)
>>>
>>> Judy
>>>
>>>
>>> Jose Noheda wrote:
>>>> On Tue, Sep 29, 2009 at 11:20 PM, Judy Tang
>>>> <Judy.J.Tang_at_sun.com <mailto:Judy.J.Tang_at_sun.com>>
>>>> wrote:
>>>>
>>>> Hi Jose,
>>>>
>>>> Developer tried your steps but cannot seem to
>>>> build the IWebMvc, missing
>>>> org.directwebremoting:dwr:jar:3.0. Does it need
>>>> to set up additional repositories in maven
>>>> settings.xml ?
>>>>
>>>>
>>>> Weird because the JAR is provided with the source
>>>> code (inside the lib folder). It's a system
>>>> dependency so it doesn't need any additional
>>>> repository.
>>>>
>>>>
>>>>
>>>> "I can upload you the WAR directly", yes,
>>>> please do that too.
>>>>
>>>>
>>>> Any place in particular?
>>>>
>>>>
>>>> How about you file a bug on this and attach the
>>>> app, so we can keep track on this through a bug
>>>> ? Many thanks
>>>> for all your help and really hope we can get
>>>> this good test/app to work end to end :-)
>>>>
>>>>
>>>> I've tried
>>>> but https://glassfish.dev.java.net/issues is not
>>>> very responsive right now. I'll do it through the
>>>> day but the WAR weighs more than 30MB. Won't that
>>>> be a problem?
>>>>
>>>>
>>>>
>>>> I saw another thread you mentioned of willing
>>>> to try the same app in v2.1.1, if you have time
>>>> can do this, it would be very helpful.
>>>>
>>>>
>>>> Tested in 2.1. It fails to boot because it finds a
>>>> @PersistenceContext annotation in a class but does
>>>> not find a persistence.xml counterpart. That is due
>>>> on purpose so Spring/Hibernate fully manage the JPA
>>>> deployment and execution (becomes more portable). I
>>>> guessthis conflicts with GFv2 design. So it fails
>>>> for other completely unrelated issue (that could
>>>> probably be tweaked on my side)
>>>>
>>>>
>>>> Would like to thank Kristian jump in to help
>>>> with this thread !
>>>>
>>>> Thanks,
>>>> Judy
>>>>
>>>>
>>>> Jose Noheda wrote:
>>>>> The JAR in question is a transitive dependency
>>>>> obtained by Maven. You can get the application
>>>>> easily. Just:
>>>>>
>>>>> svn
>>>>> checkout */http/*://internna.googlecode.com/svn/trunk/IWebMvc2
>>>>> <http://internna.googlecode.com/svn/trunk/IWebMvc2>
>>>>> IWebMvc
>>>>>
>>>>> And then run
>>>>>
>>>>> cd IWebMvc
>>>>> mvn clean install
>>>>>
>>>>> And create the WAR using
>>>>>
>>>>> cd iwebmvc-demo
>>>>> mvn clean package
>>>>>
>>>>> Let me know if you have any problem (I can
>>>>> upload you the WAR directly)
>>>>>
>>>>> Regards
>>>>>
>>>>> On Tue, Sep 29, 2009 at 7:24 AM, Judy Tang
>>>>> <Judy.J.Tang_at_sun.com
>>>>> <mailto:Judy.J.Tang_at_sun.com>> wrote:
>>>>>
>>>>> Hi Jose,
>>>>>
>>>>> Wonder if it is too much trouble for you
>>>>> to send us the application. Following is
>>>>> from developer Hong, thanks Hong.
>>>>>
>>>>> Judy
>>>>>
>>>>> ------
>>>>>
>>>>> Hi, Judy
>>>>> Can we ask the user to attach the
>>>>> application he tried to deploy? From the
>>>>> error message:
>>>>>
>>>>> <>*ADVERTENCIA: Exception while scanning
>>>>> WEB-INF/lib/icu4j-2.6.1.jar
>>>>> *
>>>>> *java.lang.ArrayIndexOutOfBoundsException:
>>>>> 48188*
>>>>> * at
>>>>> org.objectweb.asm.ClassReader.readClass(Unknown
>>>>> Source)*
>>>>> * at
>>>>> org.objectweb.asm.ClassReader.accept(Unknown
>>>>> Source)*
>>>>> * at
>>>>> org.objectweb.asm.ClassReader.accept(Unknown
>>>>> Source)*
>>>>> * at
>>>>> org.glassfish.deployment.common.AnnotationScanner.scanArchive(AnnotationScanner.java:100)*
>>>>>
>>>>> It seems the asm code failed to scan one
>>>>> of the library jars. So I want to double
>>>>> check that jar is a valid jar.
>>>>>
>>>>> I went to the website and downloaded the
>>>>> zip, but when I tried to build its
>>>>> iwebmvc-core module, I got a missing
>>>>> artifact build error. So I thought it
>>>>> might be easier if we can just get the
>>>>> archive from the user.
>>>>>
>>>>> - Hong
>>>>>
>>>>>
>>>>>
>>>>> Judy Tang wrote:
>>>>>> Hi Jose,
>>>>>>
>>>>>> Welcome to FishCAT testing team. Your
>>>>>> many years experience with GlassFish will
>>>>>> help us a lot, thanks :-)
>>>>>>
>>>>>> "It's quite a complex application with
>>>>>> Spring 2.5, Hibernate 3.3, DWR 3.0RC and
>>>>>> many other libraries (JAWR,
>>>>>> BouncyCastle, Jasperreports and so
>>>>>> on).", this is a good test, please bear
>>>>>> with us to sort out issues one by one.
>>>>>>
>>>>>> Let's wait others to take a look at the
>>>>>> errors and give input.
>>>>>>
>>>>>> Thanks and have a good weekend !
>>>>>> Judy
>>>>>>
>>>>>>
>>>>>> Jose Noheda wrote:
>>>>>>> So I installed the promoted b65 build
>>>>>>> and using Netbeans 6.7.1 tried to deploy
>>>>>>> IWebMvc2
>>>>>>> (http://code.google.com/p/internna/).
>>>>>>> It's quite a complex application with
>>>>>>> Spring 2.5, Hibernate 3.3, DWR 3.0RC and
>>>>>>> many other libraries (JAWR,
>>>>>>> BouncyCastle, Jasperreports and so on).
>>>>>>> It deploys fine to Tomcat nonetheless.
>>>>>>> The results were not positive:
>>>>>>>
>>>>>>> 0) First boot of the server failed.
>>>>>>> Fortunately it worked the second time.
>>>>>>> Sorry, I didn't record the error trace.
>>>>>>>
>>>>>>> 1) I'm getting sever errors like:
>>>>>>>
>>>>>>> INFO: Started bundle
>>>>>>> org.glassfish.web.war-util [178]
>>>>>>> *ADVERTENCIA: Exception while scanning
>>>>>>> WEB-INF/lib/icu4j-2.6.1.jar*
>>>>>>> *java.lang.ArrayIndexOutOfBoundsException:
>>>>>>> 48188*
>>>>>>> * at
>>>>>>> org.objectweb.asm.ClassReader.readClass(Unknown
>>>>>>> Source)*
>>>>>>> * at
>>>>>>> org.objectweb.asm.ClassReader.accept(Unknown
>>>>>>> Source)*
>>>>>>> * at
>>>>>>> org.objectweb.asm.ClassReader.accept(Unknown
>>>>>>> Source)*
>>>>>>> * at
>>>>>>> org.glassfish.deployment.common.AnnotationScanner.scanArchive(AnnotationScanner.java:100)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.v3.server.SnifferManagerImpl.getSniffers(SnifferManagerImpl.java:148)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:384)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:232)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:172)*
>>>>>>> * at
>>>>>>> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:270)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.v3.admin.CommandRunnerImpl$4.execute(CommandRunnerImpl.java:403)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:418)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:505)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:138)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:355)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:195)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:217)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:753)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:661)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:914)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:166)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.ContextTask.run(ContextTask.java:69)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.util.FixedThreadPool$BasicWorker.dowork(FixedThreadPool.java:379)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:360)*
>>>>>>> * at
>>>>>>> java.lang.Thread.run(Thread.java:619)*
>>>>>>> INFO: security.secmgroff
>>>>>>> INFO: Started bundle
>>>>>>> org.glassfish.security.webservices.security
>>>>>>> [49]
>>>>>>> INFO: Security startup service called
>>>>>>> INFO: policy.loading
>>>>>>> INFO: Security service(s) started
>>>>>>> successfully....
>>>>>>> INFO: Started bundle
>>>>>>> org.glassfish.web.glue [80]
>>>>>>> INFO: Started bundle
>>>>>>> org.glassfish.web.cli [60]
>>>>>>> INFO: Created HTTP listener
>>>>>>> http-listener-1 on port 8080
>>>>>>> INFO: Created HTTP listener
>>>>>>> admin-listener on port 4848
>>>>>>> INFO: Created virtual server server
>>>>>>> INFO: Created virtual server __asadmin
>>>>>>> INFO: Started bundle
>>>>>>> org.glassfish.deployment.dol [155]
>>>>>>> INFO: Started bundle
>>>>>>> org.glassfish.ejb.ejb-container [185]
>>>>>>> INFO: Started bundle
>>>>>>> org.glassfish.web.core [90]
>>>>>>> INFO: Virtual server server loaded
>>>>>>> system default web module
>>>>>>> INFO: Dual registration of jndi stream
>>>>>>> handler: factory already defined
>>>>>>> INFO: Started bundle
>>>>>>> org.glassfish.web.jstl-connector [41]
>>>>>>> INFO: Started bundle
>>>>>>> org.glassfish.web.jspcaching-connector [189]
>>>>>>> INFO: Started bundle
>>>>>>> org.glassfish.web.jsf-connector [76]
>>>>>>> INFO: Using
>>>>>>> com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate
>>>>>>> as the delegate
>>>>>>> INFO: Started bundle
>>>>>>> org.glassfish.deployment.javaee-core [58]
>>>>>>> *GRAVE: Unknow type constant pool 60 at
>>>>>>> position41*
>>>>>>> *GRAVE: Unknow type constant pool -26 at
>>>>>>> position42*
>>>>>>> *GRAVE: Unknow type constant pool -70 at
>>>>>>> position43*
>>>>>>> *GRAVE: Unknow type constant pool -99 at
>>>>>>> position44*
>>>>>>> *GRAVE: Unknow type constant pool 60 at
>>>>>>> position45*
>>>>>>> *GRAVE: Unknow type constant pool -23 at
>>>>>>> position46*
>>>>>>> *GRAVE: Unknow type constant pool -119
>>>>>>> at position47*
>>>>>>> *GRAVE: Unknow type constant pool 60 at
>>>>>>> position41*
>>>>>>> *GRAVE: Unknow type constant pool -26 at
>>>>>>> position42*
>>>>>>> *GRAVE: Unknow type constant pool -70 at
>>>>>>> position43*
>>>>>>> *GRAVE: Unknow type constant pool -99 at
>>>>>>> position44*
>>>>>>> *GRAVE: Unknow type constant pool 60 at
>>>>>>> position45*
>>>>>>> *GRAVE: Unknow type constant pool -23 at
>>>>>>> position46*
>>>>>>> *GRAVE: Unknow type constant pool -119
>>>>>>> at position47*
>>>>>>> INFO: DOL Loading time7516
>>>>>>> INFO: Started bundle
>>>>>>> org.glassfish.security.websecurity [188]
>>>>>>> *GRAVE: log4j:ERROR A
>>>>>>> "org.apache.log4j.ConsoleAppender"
>>>>>>> object is not assignable to a
>>>>>>> "org.apache.log4j.Appender" variable.*
>>>>>>> *GRAVE: log4j:ERROR The class
>>>>>>> "org.apache.log4j.Appender" was loaded by *
>>>>>>> *GRAVE: log4j:ERROR [WebappClassLoader
>>>>>>> (delegate=true;
>>>>>>> repositories=WEB-INF/classes/)] whereas
>>>>>>> object of type *
>>>>>>> *GRAVE: log4j:ERROR
>>>>>>> "org.apache.log4j.ConsoleAppender" was
>>>>>>> loaded by [WebappClassLoader
>>>>>>> (delegate=true;
>>>>>>> repositories=WEB-INF/classes/)].*
>>>>>>> *GRAVE: log4j:ERROR Could not
>>>>>>> instantiate appender named "stdout".*
>>>>>>> *GRAVE: PWC3026: Parse error in default
>>>>>>> web.xml*
>>>>>>> *java.lang.IllegalStateException:
>>>>>>> WebappClassLoader unable to load
>>>>>>> resource
>>>>>>> [org.apache.xerces.util.EntityResolverWrapper],
>>>>>>> because it has not yet been started, or
>>>>>>> was already stopped*
>>>>>>> * at
>>>>>>> org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1357)*
>>>>>>> * at
>>>>>>> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)*
>>>>>>> * at
>>>>>>> org.apache.xerces.parsers.AbstractSAXParser.setEntityResolver(Unknown
>>>>>>> Source)*
>>>>>>> * at
>>>>>>> org.apache.tomcat.util.digester.Digester.getXMLReader(Digester.java:1040)*
>>>>>>> * at
>>>>>>> org.apache.tomcat.util.digester.Digester.parse(Digester.java:1698)*
>>>>>>> * at
>>>>>>> org.apache.catalina.startup.ContextConfig.processContextConfig(ContextConfig.java:819)*
>>>>>>> * at
>>>>>>> org.apache.catalina.startup.ContextConfig.contextConfig(ContextConfig.java:760)*
>>>>>>> * at
>>>>>>> org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:1014)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.web.WebModuleContextConfig.lifecycleEvent(WebModuleContextConfig.java:180)*
>>>>>>> * at
>>>>>>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)*
>>>>>>> * at
>>>>>>> org.apache.catalina.core.StandardContext.init(StandardContext.java:6428)*
>>>>>>> * at
>>>>>>> org.apache.catalina.core.StandardContext.start(StandardContext.java:5084)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.web.WebModule.start(WebModule.java:483)*
>>>>>>> * at
>>>>>>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:928)*
>>>>>>> * at
>>>>>>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912)*
>>>>>>> * at
>>>>>>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1816)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1520)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.web.WebApplication.start(WebApplication.java:93)*
>>>>>>> * at
>>>>>>> org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)*
>>>>>>> * at
>>>>>>> org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:229)*
>>>>>>> * at
>>>>>>> org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:214)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:307)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:172)*
>>>>>>> * at
>>>>>>> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:270)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.v3.admin.CommandRunnerImpl$4.execute(CommandRunnerImpl.java:403)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:418)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:505)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:138)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:355)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:195)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:217)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:753)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:661)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:914)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:166)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.ContextTask.run(ContextTask.java:69)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.util.FixedThreadPool$BasicWorker.dowork(FixedThreadPool.java:379)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:360)*
>>>>>>> * at
>>>>>>> java.lang.Thread.run(Thread.java:619)*
>>>>>>> *GRAVE: log4j:ERROR Could not read
>>>>>>> configuration file from URL
>>>>>>> [file:/C:/Archivos de
>>>>>>> programa/glassfishv3-b65/glassfish/domains/domain1/generated/jsp/org.internna.iwebmvc_iwebmvc-demo_war_2.0-SNAPSHOT/loader/log4j.properties].*
>>>>>>> *GRAVE: java.io.FileNotFoundException:
>>>>>>> C:\Archivos de
>>>>>>> programa\glassfishv3-b65\glassfish\domains\domain1\generated\jsp\org.internna.iwebmvc_iwebmvc-demo_war_2.0-SNAPSHOT\loader\log4j.properties
>>>>>>> (El sistema no puede hallar la ruta
>>>>>>> especificada)*
>>>>>>> *GRAVE: at
>>>>>>> java.io.FileInputStream.open(Native Method)*
>>>>>>> *GRAVE: at
>>>>>>> java.io.FileInputStream.<init>(FileInputStream.java:106)*
>>>>>>> *GRAVE: at
>>>>>>> java.io.FileInputStream.<init>(FileInputStream.java:66)*
>>>>>>> *GRAVE: at
>>>>>>> sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)*
>>>>>>> *GRAVE: at
>>>>>>> sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)*
>>>>>>> *GRAVE: at
>>>>>>> java.net.URL.openStream(URL.java:1009)*
>>>>>>> *GRAVE: at
>>>>>>> org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:433)*
>>>>>>> *GRAVE: at
>>>>>>> org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:470)*
>>>>>>> *GRAVE: at
>>>>>>> org.apache.log4j.LogManager.<clinit>(LogManager.java:122)*
>>>>>>> *GRAVE: at
>>>>>>> org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:73)*
>>>>>>> *GRAVE: at
>>>>>>> org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:88)*
>>>>>>> *GRAVE: at
>>>>>>> org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:155)*
>>>>>>> *GRAVE: at
>>>>>>> org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:131)*
>>>>>>> *GRAVE: at
>>>>>>> org.apache.commons.logging.LogFactory.getLog(LogFactory.java:272)*
>>>>>>> *GRAVE: at
>>>>>>> org.internna.iwebmvc.spring.jee.IWebMvcContextLoaderListener.<init>(IWebMvcContextLoaderListener.java:38)*
>>>>>>> *GRAVE: at
>>>>>>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>>>>>>> Method)*
>>>>>>> *GRAVE: at
>>>>>>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)*
>>>>>>> *GRAVE: at
>>>>>>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)*
>>>>>>> *GRAVE: at
>>>>>>> java.lang.reflect.Constructor.newInstance(Constructor.java:513)*
>>>>>>> *GRAVE: at
>>>>>>> java.lang.Class.newInstance0(Class.java:355)*
>>>>>>> *GRAVE: at
>>>>>>> java.lang.Class.newInstance(Class.java:308)*
>>>>>>> *GRAVE: at
>>>>>>> org.apache.catalina.core.StandardContext.createListener(StandardContext.java:2824)*
>>>>>>> *GRAVE: at
>>>>>>> org.apache.catalina.core.StandardContext.loadListener(StandardContext.java:4750)*
>>>>>>> *GRAVE: at
>>>>>>> com.sun.enterprise.web.WebModule.loadListener(WebModule.java:1523)*
>>>>>>> *GRAVE: at
>>>>>>> org.apache.catalina.core.StandardContext.addListener(StandardContext.java:2709)*
>>>>>>> *GRAVE: at
>>>>>>> org.apache.catalina.core.StandardContext.addApplicationListener(StandardContext.java:1943)*
>>>>>>> *GRAVE: at
>>>>>>> com.sun.enterprise.web.TomcatDeploymentConfig.configureApplicationListener(TomcatDeploymentConfig.java:277)*
>>>>>>> *GRAVE: at
>>>>>>> com.sun.enterprise.web.TomcatDeploymentConfig.configureWebModule(TomcatDeploymentConfig.java:136)*
>>>>>>> *GRAVE: at
>>>>>>> com.sun.enterprise.web.WebModuleContextConfig.start(WebModuleContextConfig.java:277)*
>>>>>>> *GRAVE: at
>>>>>>> com.sun.enterprise.web.WebModuleContextConfig.lifecycleEvent(WebModuleContextConfig.java:176)*
>>>>>>> *GRAVE: at
>>>>>>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)*
>>>>>>> *GRAVE: at
>>>>>>> org.apache.catalina.core.StandardContext.start(StandardContext.java:5263)*
>>>>>>> *GRAVE: at
>>>>>>> com.sun.enterprise.web.WebModule.start(WebModule.java:483)*
>>>>>>> *GRAVE: at
>>>>>>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:928)*
>>>>>>> *GRAVE: at
>>>>>>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912)*
>>>>>>> *GRAVE: at
>>>>>>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694)*
>>>>>>> *GRAVE: at
>>>>>>> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1816)*
>>>>>>> *GRAVE: at
>>>>>>> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1520)*
>>>>>>> *GRAVE: at
>>>>>>> com.sun.enterprise.web.WebApplication.start(WebApplication.java:93)*
>>>>>>> *GRAVE: at
>>>>>>> org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)*
>>>>>>> *GRAVE: at
>>>>>>> org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:229)*
>>>>>>> *GRAVE: at
>>>>>>> org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:214)*
>>>>>>> *GRAVE: at
>>>>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:307)*
>>>>>>> *GRAVE: at
>>>>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:172)*
>>>>>>> *GRAVE: at
>>>>>>> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:270)*
>>>>>>> *GRAVE: at
>>>>>>> com.sun.enterprise.v3.admin.CommandRunnerImpl$4.execute(CommandRunnerImpl.java:403)*
>>>>>>> *GRAVE: at
>>>>>>> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:418)*
>>>>>>> *GRAVE: at
>>>>>>> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:505)*
>>>>>>> *GRAVE: at
>>>>>>> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:138)*
>>>>>>> *GRAVE: at
>>>>>>> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:355)*
>>>>>>> *GRAVE: at
>>>>>>> com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:195)*
>>>>>>> *GRAVE: at
>>>>>>> com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)*
>>>>>>> *GRAVE: at
>>>>>>> com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)*
>>>>>>> *GRAVE: at
>>>>>>> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:217)*
>>>>>>> *GRAVE: at
>>>>>>> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:753)*
>>>>>>> *GRAVE: at
>>>>>>> com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:661)*
>>>>>>> *GRAVE: at
>>>>>>> com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:914)*
>>>>>>> *GRAVE: at
>>>>>>> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:166)*
>>>>>>> *GRAVE: at
>>>>>>> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)*
>>>>>>> *GRAVE: at
>>>>>>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)*
>>>>>>> *GRAVE: at
>>>>>>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)*
>>>>>>> *GRAVE: at
>>>>>>> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)*
>>>>>>> *GRAVE: at
>>>>>>> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)*
>>>>>>> *GRAVE: at
>>>>>>> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)*
>>>>>>> *GRAVE: at
>>>>>>> com.sun.grizzly.ContextTask.run(ContextTask.java:69)*
>>>>>>> *GRAVE: at
>>>>>>> com.sun.grizzly.util.FixedThreadPool$BasicWorker.dowork(FixedThreadPool.java:379)*
>>>>>>> *GRAVE: at
>>>>>>> com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:360)*
>>>>>>> *GRAVE: at
>>>>>>> java.lang.Thread.run(Thread.java:619)*
>>>>>>> *GRAVE: log4j:ERROR Ignoring
>>>>>>> configuration file [file:/C:/Archivos de
>>>>>>> programa/glassfishv3-b65/glassfish/domains/domain1/generated/jsp/org.internna.iwebmvc_iwebmvc-demo_war_2.0-SNAPSHOT/loader/log4j.properties].*
>>>>>>>
>>>>>>> Then the application cannot start
>>>>>>> because Spring cannot access the transation:
>>>>>>>
>>>>>>> *INFO: 2009-09-26 15:12:46,249 ERROR
>>>>>>> [org.springframework.web.context.ContextLoader]
>>>>>>> - <Context initialization failed>*
>>>>>>> *org.springframework.beans.factory.BeanCreationException:
>>>>>>> Error creating bean with name 'baseDAO':
>>>>>>> Injection of persistence fields failed;
>>>>>>> nested exception is
>>>>>>> org.springframework.beans.factory.BeanCreationException:
>>>>>>> Error creating bean with name
>>>>>>> 'entityManagerFactory' defined in URL
>>>>>>> [jar:file:/C:/src/IWebMvc2/iwebmvc-demo/target/iwebmvc-demo/WEB-INF/lib/iwebmvc-model-2.0-SNAPSHOT.jar!/spring/glassfish.xml]:
>>>>>>> Invocation of init method failed; nested
>>>>>>> exception is
>>>>>>> java.lang.IllegalStateException:
>>>>>>> Transaction is not active in the current
>>>>>>> thread.*
>>>>>>> * at
>>>>>>> org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessAfterInstantiation(PersistenceAnnotationBeanPostProcessor.java:311)*
>>>>>>> * at
>>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:959)*
>>>>>>> * at
>>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)*
>>>>>>> * at
>>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)*
>>>>>>> * at
>>>>>>> java.security.AccessController.doPrivileged(Native
>>>>>>> Method)*
>>>>>>> * at
>>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)*
>>>>>>> * at
>>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)*
>>>>>>> * at
>>>>>>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)*
>>>>>>> * at
>>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)*
>>>>>>> * at
>>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)*
>>>>>>> * at
>>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)*
>>>>>>> * at
>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)*
>>>>>>> * at
>>>>>>> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)*
>>>>>>> * at
>>>>>>> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)*
>>>>>>> * at
>>>>>>> org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)*
>>>>>>> * at
>>>>>>> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)*
>>>>>>> * at
>>>>>>> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)*
>>>>>>> * at
>>>>>>> org.internna.iwebmvc.spring.jee.IWebMvcContextLoaderListener.contextInitialized(IWebMvcContextLoaderListener.java:54)*
>>>>>>> * at
>>>>>>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4680)*
>>>>>>> * at
>>>>>>> org.apache.catalina.core.StandardContext.start(StandardContext.java:5305)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.web.WebModule.start(WebModule.java:483)*
>>>>>>> * at
>>>>>>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:928)*
>>>>>>> * at
>>>>>>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912)*
>>>>>>> * at
>>>>>>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1816)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1520)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.web.WebApplication.start(WebApplication.java:93)*
>>>>>>> * at
>>>>>>> org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)*
>>>>>>> * at
>>>>>>> org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:229)*
>>>>>>> * at
>>>>>>> org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:214)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:307)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:172)*
>>>>>>> * at
>>>>>>> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:270)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.v3.admin.CommandRunnerImpl$4.execute(CommandRunnerImpl.java:403)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:418)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:505)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:138)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:355)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:195)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:217)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:753)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:661)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:914)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:166)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.ContextTask.run(ContextTask.java:69)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.util.FixedThreadPool$BasicWorker.dowork(FixedThreadPool.java:379)*
>>>>>>> * at
>>>>>>> com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:360)*
>>>>>>> * at
>>>>>>> java.lang.Thread.run(Thread.java:619)*
>>>>>>> *Caused by:
>>>>>>> org.springframework.beans.factory.BeanCreationException:
>>>>>>> Error creating bean with name
>>>>>>> 'entityManagerFactory' defined in URL
>>>>>>> [jar:file:/C:/src/IWebMvc2/iwebmvc-demo/target/iwebmvc-demo/WEB-INF/lib/iwebmvc-model-2.0-SNAPSHOT.jar!/spring/glassfish.xml]:
>>>>>>> Invocation of init method failed; nested
>>>>>>> exception is
>>>>>>> java.lang.IllegalStateException:
>>>>>>> Transaction is not active in the current
>>>>>>> thread.*
>>>>>>> * at
>>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)*
>>>>>>> * at
>>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)*
>>>>>>> * at
>>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)*
>>>>>>> * at
>>>>>>> java.security.AccessController.doPrivileged(Native
>>>>>>> Method)*
>>>>>>> * at
>>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)*
>>>>>>> * at
>>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)*
>>>>>>> * at
>>>>>>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)*
>>>>>>> * at
>>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)*
>>>>>>> * at
>>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)*
>>>>>>> * at
>>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)*
>>>>>>> * at
>>>>>>> org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findDefaultEntityManagerFactory(PersistenceAnnotationBeanPostProcessor.java:507)*
>>>>>>> * at
>>>>>>> org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findEntityManagerFactory(PersistenceAnnotationBeanPostProcessor.java:473)*
>>>>>>> * at
>>>>>>> org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor$PersistenceElement.resolveEntityManager(PersistenceAnnotationBeanPostProcessor.java:599)*
>>>>>>> * at
>>>>>>> org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor$PersistenceElement.getResourceToInject(PersistenceAnnotationBeanPostProcessor.java:570)*
>>>>>>> * at
>>>>>>> org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:180)*
>>>>>>> *INFO: at
>>>>>>> org.springframework.beans.factory.annotation.InjectionMetadata.injectFields(InjectionMetadata.java:105)*
>>>>>>> * at
>>>>>>> org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessAfterInstantiation(PersistenceAnnotationBeanPostProcessor.java:308)*
>>>>>>> * ... 55 more*
>>>>>>> *Caused by:
>>>>>>> java.lang.IllegalStateException:
>>>>>>> Transaction is not active in the current
>>>>>>> thread.*
>>>>>>> * at
>>>>>>> com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate.validateTransactionManager(JavaEETransactionManagerJTSDelegate.java:401)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate.suspendInternal(JavaEETransactionManagerJTSDelegate.java:395)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate.suspend(JavaEETransactionManagerJTSDelegate.java:319)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.transaction.JavaEETransactionManagerSimplified.suspend(JavaEETransactionManagerSimplified.java:959)*
>>>>>>> * at
>>>>>>> com.sun.enterprise.transaction.TransactionManagerHelper.suspend(TransactionManagerHelper.java:106)*
>>>>>>> * at
>>>>>>> org.hibernate.cache.jbc2.BasicRegionAdapter.suspend(BasicRegionAdapter.java:334)*
>>>>>>> * at
>>>>>>> org.hibernate.cache.jbc2.BasicRegionAdapter.activateLocalClusterNode(BasicRegionAdapter.java:92)*
>>>>>>> * at
>>>>>>> org.hibernate.cache.jbc2.BasicRegionAdapter.<init>(BasicRegionAdapter.java:80)*
>>>>>>> * at
>>>>>>> org.hibernate.cache.jbc2.TransactionalDataRegionAdapter.<init>(TransactionalDataRegionAdapter.java:41)*
>>>>>>> * at
>>>>>>> org.hibernate.cache.jbc2.entity.EntityRegionImpl.<init>(EntityRegionImpl.java:49)*
>>>>>>> * at
>>>>>>> org.hibernate.cache.jbc2.JBossCacheRegionFactory.buildEntityRegion(JBossCacheRegionFactory.java:125)*
>>>>>>> * at
>>>>>>> org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:255)*
>>>>>>> * at
>>>>>>> org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327)*
>>>>>>> * at
>>>>>>> org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)*
>>>>>>> * at
>>>>>>> org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)*
>>>>>>> * at
>>>>>>> org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132)*
>>>>>>> * at
>>>>>>> org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:224)*
>>>>>>> * at
>>>>>>> org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:291)*
>>>>>>> * at
>>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)*
>>>>>>> * at
>>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)*
>>>>>>> * ... 71 more*
>>>>>>> GRAVE: PWC1306: Startup of context /demo
>>>>>>> failed due to previous errors
>>>>>>>
>>>>>>> I see many kind of different errors in
>>>>>>> there (ASM, LOG4J, JTA/JPA)... Let me
>>>>>>> know if you need further info.
>>>>>>>
>>>>>>> Regards
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>