[JBoss Seam] - Re: Ajax4jsf UnboundedFifoBuffer
by alesj
Got it. :-)
This happens if you explicitly set datasource's JNDI:
| <jbpm-configuration>
| <jbpm-context>
| <service name="persistence">
| <factory>
| <bean class="org.jbpm.persistence.db.DbPersistenceServiceFactory">
| <field name="isTransactionEnabled"><false/></field>
| <!--<field name="dataSourceJndiName"><string value="java:/cmsDatasource"/></field>-->
| </bean>
| </factory>
| </service>
| <service name="tx" factory="org.jbpm.tx.TxServiceFactory" />
| <service name="message" factory="org.jbpm.msg.db.DbMessageServiceFactory" />
| <service name="scheduler" factory="org.jbpm.scheduler.db.DbSchedulerServiceFactory" />
| <service name="logging" factory="org.jbpm.logging.db.DbLoggingServiceFactory" />
| <service name="authentication" factory="org.jbpm.security.authentication.DefaultAuthenticationServiceFactory" />
| </jbpm-context>
| </jbpm-configuration>
When I commented that piece out, it started working.
But when I think about it, this should be probably obvious what was wrong, since there was a new connection opening ... As JBPM went directly to underlying DS. :-(
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087948#4087948
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087948
18 years, 7 months
[Remoting] - Re: CompressingMarshaller and clientConnectAddress
by klauserber
Thank you Ron for your help.
With the first solution, the client can not connect, because it get's the wrong connect address. With the second solution, the application is working but with no compression (analysed with wireshark).
In other words: The configurations have no effect. What is wrong with my configuration?
Here is the whole thing again:
| <mbean code="org.jboss.remoting.transport.Connector"
| name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3">
| <depends>jboss.aop:service=AspectDeployer</depends>
| <attribute name="Configuration">
| <config>
| <invoker transport="socket">
| <attribute name="numAcceptThreads">1</attribute>
| <attribute name="maxPoolSize">360</attribute>
| <attribute name="clientMaxPoolSize" isParam="true">50</attribute>
| <attribute name="timeout" isParam="true">60000</attribute>
| <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
| <attribute name="serverBindPort">3873</attribute>
| <attribute name="clientConnectAddress">###THE_CLIENT_CONNECT_ADDRESS###</attribute>
| <attribute name="backlog">200</attribute>
| <attribute name="marshaller">org.jboss.remoting.marshal.compress.CompressingMarshaller</attribute>
| <attribute name="unmarshaller">org.jboss.remoting.marshal.compress.CompressingUnMarshaller</attribute>
| </invoker>
| <handlers>
| <handler subsystem="AOP">org.jboss.aspects.remoting.AOPRemotingInvocationHandler</handler>
| </handlers>
| </config>
| </attribute>
| </mbean>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087936#4087936
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087936
18 years, 7 months
[JBossCache] - Memory problem
by bartatamas
Hi!
I'll try to describe my problem. I have a web application running on JBoss AS 4.2.1.GA.
So far everything was fine. Now the web application must be distributable (cluster environment). I use FileCacheLoader to store HTTP sessions. After a day the server
runs out of memory.
There is a very interesting thing. When I make a request a new session is created.
After the session expires I stop the application server and JBoss saves the expired session to the file system!!! So the expired session still was in the memory? Why? What can I do?
When I restart JBoss, no session will be in the memory (local cache) and 1 session will be
on distributed cache. It is OK, after the session expires AGAIN JBoss deletes the session file and directory from the file system. It is OK, but then I stop JBoss and the files are on the same place again. :(
Can somebody help me?
Thanks, Tamas
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087935#4087935
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087935
18 years, 7 months