Renzo Tomaselli [http://community.jboss.org/people/Tomarenz] created the 
discussion

"Re: new work item definition: email connection"

To view the discussion, visit: http://community.jboss.org/message/622246#622246

--------------------------------------------------------------
Now it seems working: package "Other assets" shows png images and forms. I can 
play with diagrams and rebuild the package.

But the console works no longer: it times out while refreshing the process 
list, although no error is logged on the server.
Browser says:

2011-08-22 19:22:48,687 [DEBUG] GET:  
http://localhost:8080/gwt-console-server/rs/process/definitions 
http://localhost:8080/gwt-console-server/rs/process/definitions
2011-08-22 19:23:08,688 [ERROR] <ul><li>URL: ' 
http://localhost:8080/gwt-console-server/rs/process/definitions 
http://localhost:8080/gwt-console-server/rs/process/definitions'
<li>Action: 'org.jboss.bpm.console.client.process.UpdateDefinitionsAction'
<li>Exception: 'class java.io.IOException'</ul>
Request timeout
java.io.IOException:
*Request timeout*
*
*
After insisting several times, a java heap error appears and jBoss appears 
blocked (I cannot even stop it).
Log is (there are 2 processes stored in Guvnor):

2011-08-22 19:21:10,642 INFO  [STDOUT] (http-localhost%2F127.0.0.1-8080-6) 
Loading process from Guvnor: boh
2011-08-22 19:21:10,642 INFO  [STDOUT] (http-localhost%2F127.0.0.1-8080-6) 
Loading process from Guvnor: BPMN2-ExclusiveSplit
2011-08-22 19:21:31,639 INFO  [STDOUT] (http-localhost%2F127.0.0.1-8080-6) 
Loading process from file system: Evaluation.bpmn
2011-08-22 19:21:58,659 INFO  [STDOUT] (http-localhost%2F127.0.0.1-8080-5) 
INFO  22-08 19:21:58,659 (NilAuthenticator.java:authenticate:35)      All users 
are guests.
2011-08-22 19:21:58,659 INFO  [STDOUT] (http-localhost%2F127.0.0.1-8080-5) 
INFO  22-08 19:21:58,659 (RepositoryServlet.java:allowUser:113)      admin 
authenticated for rest api
2011-08-22 19:21:58,659 INFO  [STDOUT] (http-localhost%2F127.0.0.1-8080-5) 
INFO  22-08 19:21:58,659 (PackageDeploymentServlet.java:execute:134)      
PackageName: defaultPackage
2011-08-22 19:21:58,659 INFO  [STDOUT] (http-localhost%2F127.0.0.1-8080-5) 
INFO  22-08 19:21:58,659 (PackageDeploymentServlet.java:execute:135)      
PackageVersion: LATEST
2011-08-22 19:21:58,659 INFO  [STDOUT] (http-localhost%2F127.0.0.1-8080-5) 
INFO  22-08 19:21:58,659 (PackageDeploymentServlet.java:execute:136)      
PackageIsLatest: true
2011-08-22 19:22:01,170 INFO  [STDOUT] (http-localhost%2F127.0.0.1-8080-5) 
INFO  22-08 19:22:01,170 (PackageDeploymentServlet.java:execute:137)      
PackageIsSource: false
2011-08-22 19:22:11,107 INFO  [STDOUT] (http-localhost%2F127.0.0.1-8080-4) 
Loading process from Guvnor: boh
2011-08-22 19:22:11,107 INFO  [STDOUT] (http-localhost%2F127.0.0.1-8080-4) 
Loading process from Guvnor: BPMN2-ExclusiveSplit

ok until here, but console times out and it doesn't show any process.
Then:

2011-08-22 19:22:28,408 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/gwt-console-server].[Resteasy]]
 (http-localhost%2F127.0.0.1-8080-6) Servlet.service() for servlet Resteasy 
threw exception
org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException: Could 
not initialize stateful knowledge session: Java heap space
    at 
org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:319)
    at 
org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:230)
    at 
org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:206)
    at 
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:360)
    at 
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
    at 
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
    at 
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at 
org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
    at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
    at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
    at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
    at 
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
    at 
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
    at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
    at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
    at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
    at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: Could not initialize stateful knowledge 
session: Java heap space
    at 
org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:185)
    at 
org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:193)
    at 
org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:71)
    at 
org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35)
    at 
org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22)
    at 
org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19)
    at 
org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98)
    at 
org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122)
    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.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
    at 
org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
    at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
    at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
    at 
org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
    at 
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
    ... 28 more
Caused by: java.lang.OutOfMemoryError: Java heap space
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/622246#622246]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to