Escaffre Alain escreveu:

Hi Alain first of all thanks for answer ;-)

I've used the link You've mentioned and appended the line "set JAVA_OPTS=%JAVA_OPTS% -XX:MaxPermSize=128m" to my JBoss launching file (run.bat) and performed an "ant patch" and "ant deploy".

Unfortunately I'm still getting the "PermGen space OutOfMemory Error" when I try to persist some data into nuxeo ;-(
I "think" I'm still missing something ....

Thank you very much
Appreciate any help
Marcos

Hello,


this documentation is more up to date : http://svn.nuxeo.org/trac/nuxeo/wiki/DeveloperQuickStart, the page yuo mentionned will soon be updated and be the only exsisting one.

For the pergen error, go on this link and have a look at the jboss install section, it gives you the modification to do on your Jboss startup script.

Alain

On 5/2/07, * Marcos* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Hi all,

    I've followed the steps at
    http://www.nuxeo.org/sections/documentation/nuxeo5-developer, every
    command was issued without problems .. the latest one was "ant
    deploy".
    But when I start the application for the first time I got a stack
    trace
    on JBoss output.:
    ------------------------------------------------------------------------
    javax.ejb.EJBAccessException: Authentication failure
            at
    
org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.handleGeneralSecurityException(Ejb3AuthenticationInterceptor.java:68)
            at
    
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java
    :71)
            at
    
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            at
    
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
            at
    org.jboss.aop.joinpoint.MethodInvocation.invokeNext
    (MethodInvocation.java:101)
            at
    
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
            at
    org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java
    :101)
            at
    
org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:188)
            at
    
org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
            at $Proxy291.init(Unknown Source)
    ->      at
    
org.nuxeo.ecm.webapp.cache.CacheUpdateNotifier$$FastClassByCGLIB$$304526a0.invoke(<generated>)
            at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
            at
    org.jboss.seam.intercept.RootInvocationContext.proceed
    (RootInvocationContext.java:45)
            at
    
org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:74)
            at
    
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java
    :55)
            at
    
org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:40)
            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:585)
            at org.jboss.seam.util.Reflections.invoke
    (Reflections.java:18)
            at
    org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
            at
    
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
            at
    
org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.java:39)
            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:585)
            at org.jboss.seam.util.Reflections.invoke
    (Reflections.java:18)
            at
    org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
            at
    
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
            at
    
org.jboss.seam.interceptors.SynchronizationInterceptor.serialize(SynchronizationInterceptor.java:31)
            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:585)
            at org.jboss.seam.util.Reflections.invoke
    (Reflections.java:18)
            at
    org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
            at
    
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
            at
    
org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144)
            at
    
org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
            at
    org.jboss.seam.intercept.RootInterceptor.invoke
    (RootInterceptor.java:102)
            at
    
org.jboss.seam.intercept.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.java:83)
            at
    
org.jboss.seam.intercept.ClientSideInterceptor.intercept(ClientSideInterceptor.java
    :52)
            at
    
org.nuxeo.ecm.webapp.cache.CacheUpdateNotifier$$EnhancerByCGLIB$$c037d0a2.init(<generated>)
            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:585)
            at org.jboss.seam.util.Reflections.invoke
    (Reflections.java:18)
            at
    org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:102)
            at
    org.jboss.seam.Component.callComponentMethod(Component.java:1818)
            at org.jboss.seam.Component.callCreateMethod
    (Component.java:1766)
            at org.jboss.seam.Component.newInstance(Component.java:1755)
            at org.jboss.seam.Component.getInstance(Component.java:1652)
            at org.jboss.seam.Component.getInstance(Component.java :1619)
            at
    org.jboss.seam.Component.getInstanceToInject(Component.java:1869)
            at org.jboss.seam.Component.injectFields(Component.java:1369)
            at org.jboss.seam.Component.inject(Component.java:1139)
            at
    
org.jboss.seam.interceptors.BijectionInterceptor.bijectNonreentrantComponent(BijectionInterceptor.java:76)
            at
    
org.jboss.seam.interceptors.BijectionInterceptor.bijectComponent(BijectionInterceptor.java
    :58)
            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:585)
            at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
            at
    org.jboss.seam.intercept.Interceptor.aroundInvoke
    (Interceptor.java:169)
            at
    
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
            at
    
org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation
    (ConversationInterceptor.java:52)
            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:585)
            at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
            at
    org.jboss.seam.intercept.Interceptor.aroundInvoke
    (Interceptor.java:169)
            at
    
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
            at
    
org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext
    (BusinessProcessInterceptor.java:51)
            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:585)
            at
    org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
            at
    org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
            at
    
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
            at
    org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke
    (MethodContextInterceptor.java:27)
            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:585)
            at
    org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
            at
    org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
            at
    
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
            at
    org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions
    (ExceptionInterceptor.java:39)
            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:585)
            at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
            at
    org.jboss.seam.intercept.Interceptor.aroundInvoke
    (Interceptor.java:169)
            at
    
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
            at
    
org.jboss.seam.interceptors.SynchronizationInterceptor.serialize(SynchronizationInterceptor.java
    :31)
            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:585)
            at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
            at
    org.jboss.seam.intercept.Interceptor.aroundInvoke
    (Interceptor.java:169)
            at
    
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
            at
    
org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java
    :144)
            at
    
org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
            at
    org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
            at
    org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation
    (JavaBeanInterceptor.java:145)
            at
    
org.jboss.seam.intercept.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:80)
            at
    
org.nuxeo.ecm.webapp.action.DeleteActionsBean$$EnhancerByCGLIB$$710d5330.create
    (<generated>)
            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:585)
            at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
            at
    org.jboss.seam.util.Reflections.invokeAndWrap (Reflections.java:102)
            at
    org.jboss.seam.Component.callComponentMethod(Component.java:1818)
            at
    org.jboss.seam.Component.callCreateMethod(Component.java:1766)
            at org.jboss.seam.Component.newInstance (Component.java:1755)
            at
    org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:164)
            at
    org.jboss.seam.contexts.Lifecycle.beginSession(Lifecycle.java:224)
            at
    org.jboss.seam.servlet.SeamListener.sessionCreated
    (SeamListener.java:41)
            at
    
org.apache.catalina.session.StandardSession.tellNew(StandardSession.java:384)
            at
    org.apache.catalina.session.StandardSession.setId(StandardSession.java:356)
            at
    org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:825)
            at
    
org.apache.catalina.session.StandardManager.createSession(StandardManager.java:290)
            at
    org.apache.catalina.connector.Request.doGetSession (Request.java:2223)
            at
    org.apache.catalina.connector.Request.getSession(Request.java:2024)
            at
    
org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:831)
            at
    org.apache.catalina.connector.RequestFacade.getSession
    (RequestFacade.java:842)
            at
    
org.nuxeo.ecm.webapp.shield.SessionExpirationFilter.doFilter(SessionExpirationFilter.java:55)
            at
    
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java
    :202)
            at
    
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
            at
    
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
            at
    
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
            at
    
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
            at
    
org.nuxeo.ecm.platform.ui.web.rest.FancyURLFilter.doFilter(FancyURLFilter.java:75)
            at
    
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
            at
    org.apache.catalina.core.ApplicationFilterChain.doFilter
    (ApplicationFilterChain.java:173)
            at
    
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
            at
    
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java
    :202)
            at
    
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
            at
    
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
            at
    
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
            at
    
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
            at
    org.apache.catalina.authenticator.AuthenticatorBase.invoke
    (AuthenticatorBase.java:432)
            at
    
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
            at
    
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
            at
    
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
            at
    
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
            at
    org.apache.catalina.connector.CoyoteAdapter.service
    (CoyoteAdapter.java:148)
            at
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
            at
    
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java
    :664)
            at
    
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
            at
    
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
            at java.lang.Thread.run(Thread.java:595)Caused by:
    javax.security.auth.login.LoginException: Authentication Failed
            at
    
org.nuxeo.ecm.platform.login.NuxeoLoginModule.login(NuxeoLoginModule.java:150)
            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:585)
            at
    javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
            at
    javax.security.auth.login.LoginContext.access$000(
    LoginContext.java:186)
            at
    javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
            at java.security.AccessController.doPrivileged(Native Method)
            at
    javax.security.auth.login.LoginContext.invokePriv
    (LoginContext.java:680)
            at
    javax.security.auth.login.LoginContext.login(LoginContext.java:579)
            at
    
org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:601)
            at
    
org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:535)
            at
    
org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344)
            at
    org.jboss.aspects.security.AuthenticationInterceptor.authenticate
    (AuthenticationInterceptor.java:121)
            at
    
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:67)
            ... 158 more
    ------------------------------------------------------------------------


    OK after a successfull login into the program when I navigate
    through it
    and modify some information I got an OutOfMemoryError on my JBoss
    output
    and my machine freezes until I abort JBoss manually.
    I "think" I missed something :-( , below the stack trace that
    freezes my
    machine :-(


      HTTP Status 500 -

    ------------------------------------------------------------------------

    *type* Exception report

    *message*

    *description* _The server encountered an internal error () that
    prevented it from fulfilling this request._

    *exception*

    javax.servlet.ServletException: Servlet execution threw an exception
            
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java
    :100)
            
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
            
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:209)
            
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:166)
            
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:139)

            
org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
            
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
            org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter
    (BaseFilter.java:220)
            
org.nuxeo.ecm.platform.ui.web.rest.FancyURLFilter.doFilter(FancyURLFilter.java:67)
            
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

    *root cause*

    -> java.lang.OutOfMemoryError: PermGen space

    *note* _The full stack trace of the root cause is available in the
    Apache Tomcat/5.5.17 logs._

    ------------------------------------------------------------------------



          Apache Tomcat/5.5.17

    Thank you very much

    --
    Marcos H. W.
    Softing Systems
    Systems Analyst
    +55 11 38770360

    /**
    * @see https://jaxb2-commons.dev.java.net
    <https://jaxb2-commons.dev.java.net>
    */

    /**
    * "...Use the Force ...;-)" */
    *
    * @see http://www.gentoo.org/
    */


    _______________________________________________
    ECM mailing list
    [email protected] <mailto:[email protected]>
    http://lists.nuxeo.com/mailman/listinfo/ecm




--
Marcos H. W.
Softing Systems
Systems Analyst
+55 11 38770360

/** * @see https://jaxb2-commons.dev.java.net
*/

/**
* "...Use the Force ...;-)" */
*
* @see http://www.gentoo.org/
*/


_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to