[Tomcat, HTTPD, Servlets & JSP] - Re: JBoss shutdown without any log
by arussel
We finally tracked down the problem. It has nothing to do with mod_jk.
One of our app is using jboss rules and the jvm crashes always at the same place:
--------------- T H R E A D ---------------
Current thread (0x08105a48): JavaThread "CompilerThread0" daemon [_thread_in_native, id=10980]
siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000000
Registers:
EAX=0x00000000, EBX=0x407127f0, ECX=0x6a58eee0, EDX=0x6c0c78a4
ESP=0x6a58ee54, EBP=0x6a58ee78, ESI=0x6c0c8010, EDI=0x6a58eee0
EIP=0x40530cd1, CR2=0x00000000, EFLAGS=0x00010212
Top of Stack: (sp=0x6a58ee54)
0x6a58ee54: 6a58f36c 6a58ef08 40530c16 407127f0
0x6a58ee64: 6c4585d8 6a58ee98 407127f0 6c0c8010
0x6a58ee74: 6c0c7fcc 6a58eea8 40530d75 6c0c8644
0x6a58ee84: 6c0c78a4 6c0c8644 6a58eee0 6c0c86c8
0x6a58ee94: 6c0c94d4 6c0c7fcc 407127f0 6c0c8644
0x6a58eea4: 00000000 6a58ef08 40531258 6c0c8644
0x6a58eeb4: 6c0c8010 6c0c8644 6a58eee0 00000039
0x6a58eec4: 6c0c90bc 6a58eef8 405b5dd5 6c0c90bc
Instructions: (pc=0x40530cd1)
0x40530cc1: 10 eb de 31 c0 eb 8e 8b 42 04 83 ec 0c 8b 40 08
0x40530cd1: 8b 08 50 ff 51 28 83 c4 10 e9 48 ff ff ff 90 55
Stack: [0x6a511000,0x6a591000), sp=0x6a58ee54, free space=503k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x3c9cd1]
V [libjvm.so+0x3c9d75]
V [libjvm.so+0x3ca258]
V [libjvm.so+0x4511fd]
V [libjvm.so+0x450e90]
V [libjvm.so+0x1a11c0]
V [libjvm.so+0x19e432]
V [libjvm.so+0x1474b3]
V [libjvm.so+0x1a6929]
V [libjvm.so+0x1a6281]
V [libjvm.so+0x4c8366]
V [libjvm.so+0x4c2ba3]
V [libjvm.so+0x424338]
C [libpthread.so.0+0x50bd]
Current CompileTask:
opto:941 ! org.drools.lang.RuleParser.rule()Lorg/drools/lang/descr/RuleDescr; (2152 bytes)
I take it to the Jboss Rules forum
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047138#4047138
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047138
18 years, 11 months
[JBoss Seam] - Re: Component Binding don't work in Seam?
by g00se24
Hello.
It's works fine for me, but the documentation is a little bit strange in that.
You can inject a Component into your bean.
package de.psi.support.gui;
import java.util.List;
import javax.ejb.Remove;
import javax.faces.component.html.HtmlDataTable;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import org.jboss.seam.annotations.Destroy;
import org.jboss.seam.annotations.In;
public abstract class Selection {
@PersistenceContext
protected EntityManager em;
private Object selected;
@In("#{uiComponent['form:table']}")
protected HtmlDataTable table;
public String getSearch() {
return search;
}
public void setSearch(String search) {
this.search = search;
}
protected List getResult() {
List query = em.createQuery(getQuery()).getResultList();
return query;
}
public Object getSelected() {
return selected;
}
public void setSelected(Object selected) {
this.selected = selected;
}
public void select() {
setSelected(table.getRowData());
}
It's a snippet of some of my classes (it's used only for inheritance -> abstract, try not to wonder about that.).
@In("#{uiComponent['form:table']}")
protected HtmlDataTable table;
That's your solution, keep in mind that the 'form:table' is the path (id!) to the component. The ":" splits the id's and not "." like it is mentioned in the seam documentation.
Good luck!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047136#4047136
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047136
18 years, 11 months
[JBossCache] - Failed to start pojo cache with JDK 1.6
by ctof
Hi
I try to start my application which need to be compiled with jdk 1.6 (due to external 1.6 lib dependencies) and it fails when i start the second client (during the state synchronization).
I use PojoCache 2.0.0-RC1
I have made a test by removing my 1.6 code dependencies,compile and run my sample under 1.5, and all works fine.
Any idea ?
Thx
Christophe
|
| -------------------------------------------------------
| GMS: address is 191.254.42.78:2615
| -------------------------------------------------------
| Exception in thread "main" org.jboss.cache.pojo.PojoCacheException: init org.jboss.cache.config.Configuration@a6079c75 failed
| at org.jboss.cache.pojo.impl.PojoCacheImpl.init(PojoCacheImpl.java:100)
| at org.jboss.cache.pojo.impl.PojoCacheImpl.<init>(PojoCacheImpl.java:89)
| at org.jboss.cache.pojo.PojoCacheFactory.createCache(PojoCacheFactory.java:54)
| at sgcib.deai.ft.FTAppLauncherDemo.main(FTAppLauncherDemo.java:59)
| Caused by: org.jboss.cache.CacheException: Unable to fetch state on startup
| at org.jboss.cache.CacheImpl.start(CacheImpl.java:791)
| at org.jboss.cache.DefaultCacheFactory.createCache(DefaultCacheFactory.java:87)
| at org.jboss.cache.pojo.impl.PojoCacheImpl.init(PojoCacheImpl.java:96)
| ... 3 more
| Caused by: java.io.EOFException
| at java.io.DataInputStream.readShort(DataInputStream.java:298)
| at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2750)
| at java.io.ObjectInputStream.readShort(ObjectInputStream.java:928)
| at org.jboss.cache.marshall.VersionAwareMarshaller.objectFromObjectStream(VersionAwareMarshaller.java:223)
| at org.jboss.cache.statetransfer.DefaultStateTransferIntegrator.integrateAssociatedState(DefaultStateTransferIntegrator.java:116)
| at org.jboss.cache.statetransfer.DefaultStateTransferIntegrator.integrateState(DefaultStateTransferIntegrator.java:63)
| at org.jboss.cache.statetransfer.StateTransferManager.setState(StateTransferManager.java:201)
| at org.jboss.cache.statetransfer.StateTransferManager.setState(StateTransferManager.java:152)
| at org.jboss.cache.CacheImpl$MessageListenerAdaptor.setState(CacheImpl.java:3407)
| at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.handleUpEvent(MessageDispatcher.java:667)
| at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:722)
| at org.jgroups.JChannel.up(JChannel.java:1015)
| at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:326)
| at org.jgroups.protocols.pbcast.FLUSH.up(FLUSH.java:509)
| at org.jgroups.protocols.pbcast.STREAMING_STATE_TRANSFER$2.run(STREAMING_STATE_TRANSFER.java:674)
| at java.lang.Thread.run(Thread.java:619)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047135#4047135
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047135
18 years, 11 months