[JBoss Eclipse IDE (users)] - IDE cannot detect JBoss started, then JBoss is stopped
by lpmon
I just upgraded to IDE 2.0. When I used the server view to start a server it starts just fine. But, the server view plugin does not detect that it has started. Its status is: 'starting..' No big deal right. But after a while something kills the server process. Presumably the IDE assumed something was wrong and decided to kill the java process. Amusingly: If I use the server view to stop the server (before something else does) it successfuly stops it.
I see this in the error log when I start it:
eclipse.buildId=M20060629-1905
java.version=1.5.0_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86
Timeout waiting for JBOSS 4.0 4 to start. Server did not start after 50s.
I found a setup option that gives you the ability to 'mark as started' if there is a timeout at startup. I have that set.
Suggestions??
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968956#3968956
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968956
19 years, 7 months
[JBoss Seam] - ClassCastException with @DataModel
by texan
I'm getting the following exception while using @DataModel with a h:dataTable component.
Note that without the "@Out" annotations, my dataTables were always empty. Maybe that in itself is a clue, but I don't know how to debug it further.
Also note that "document" is not null in my test case.
Is there a problem with more than one @DataModel in a bean?
Caused by: java.lang.ClassCastException: java.util.ArrayList
| at org.jboss.seam.databinding.DataModelBinder.isDirty(DataModelBinder.java:19)
| at org.jboss.seam.Component.outjectDataModelList(Component.java:973)
| at org.jboss.seam.Component.outjectDataModels(Component.java:937)
| at org.jboss.seam.Component.outject(Component.java:857)
| at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:41)
| at sun.reflect.GeneratedMethodAccessor650.invoke(Unknown Source)
| 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:13)
| at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90)
| at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60)
| at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:82)
| at sun.reflect.GeneratedMethodAccessor649.invoke(Unknown Source)
| 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:13)
| at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90)
| at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60)
| at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:60)
| at sun.reflect.GeneratedMethodAccessor648.invoke(Unknown Source)
| 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:13)
| at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90)
| at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60)
| at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39)
| at sun.reflect.GeneratedMethodAccessor647.invoke(Unknown Source)
| 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:13)
| at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90)
| at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60)
| at org.jboss.seam.ejb.SeamInterceptor.aroundInvokeInContexts(SeamInterceptor.java:73)
| at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:45)
| at sun.reflect.GeneratedMethodAccessor675.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
| at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
| ... 48 more
My Session Bean is:
| @Name("viewDocument")
| @Stateless
| public class ViewDocumentAction implements ViewDocument {
|
| @DataModel(value = "alerts")
| @Out
| private List alerts;
|
| @DataModelSelection(value="alerts")
| private Alert selectedAlert;
|
| @DataModel(value = "docevents")
| @Out
| private List docevents;
|
| @DataModelSelection(value="docevents")
| private DocumentEvent selectedEvent;
|
| @Out
| private Document document;
|
| @PersistenceContext
| private EntityManager em;
|
| @RequestParameter
| private String documentId;
|
| public String view() {
|
| long id = StringUtility.parseLong(documentId);
|
| document = em.find(Document.class, id);
|
| if (document != null) {
| // fetch alerts and events from db
| document.getEvents().size();
| document.getAlerts().size();
|
| alerts = new ArrayList(document.getAlerts());
| docevents = new ArrayList(document.getEvents());
| }
|
| return "/Document.xhtml";
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968955#3968955
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968955
19 years, 7 months
[Installation, Configuration & Deployment] - BIRT REPORT RUNNING PROBLEM
by juduf24
Hello,
i have installed BIRT , using the birt manual, but each time i run a report i can read this on the console.
17:21:12,603 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- Packages waiting for a deployer ---
org.jboss.deployment.DeploymentInfo@a12bbe47 { url=file:/etc/jboss/server/default/deploy/birt.war\documents\624C2EF9D44B6A13588B5F44FF9B9370/ }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/etc/jboss/server/default/deploy/birt.war\documents\624C2EF9D44B6A13588B5F44FF9B9370/
altDD: null
lastDeployed: 1157124072602
lastModified: 1157124072000
mbeans:
--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@a12bbe47 { url=file:/etc/jboss/server/default/deploy/birt.war\documents\624C2EF9D44B6A13588B5F44FF9B9370/ }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/etc/jboss/server/default/deploy/birt.war\documents\624C2EF9D44B6A13588B5F44FF9B9370/
altDD: null
lastDeployed: 1157124072602
lastModified: 1157124072000
mbeans:
i am running JBoss on a Debian Sarge.
I don't know much but a directory "documents" using \ on a linux system seems weird to me.
Is there some parameter in Jboss i have to set ??.... any ideas?
Thx
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968954#3968954
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968954
19 years, 7 months
[JBoss jBPM] - No active application scope in long running process
by ngeadah
Hi,
I have a long running business process defined in JBPM and I am facing a stubborn problem: when my process "awakens" after some period of time spent in a wait state (I use a timer to wait), I get a "No active application scope" exception when JBPM executes the next node (which contains a simple expression).
My exception occurs on the following node:
| <decision name="isARAvailable" expression="#{ARChecker.isARAvailable}">
| <transition name="false" to="waitForAR"></transition>
| <transition name="true" to="end"></transition>
| </decision>
|
The ARCheker component is defined as as stateful EJB:
| @Stateful
| @Scope(ScopeType.BUSINESS_PROCESS)
| @Name("ARChecker")
| public class ARCheckerBean implements ARChecker {
| ...
|
|
| public String isARAvailable()
| {
| ...
| }
| ...
|
What am I missing?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968950#3968950
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968950
19 years, 7 months