[JBoss Portal] - Portal Intall Problem, please help
by TwoWolves
I am having a problem running JBoss portal after install, it has created the database tables but won't run.
Environment :
jboss-portal-2.6.0-DR1 (download zip)
JBoss AS Version 4.0.5GA (build: CVSTag=Branch_4_0 date=200610162340) (Zion)
MySQL 5.0.27-community-nt via TCP/IP
JDBC Connector mysql-connector-5.0.4
Windows Xp Professional SP2
Please see stack trace below, any help would be greatfully received :
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
org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:405)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
root cause
java.lang.UnsupportedOperationException
org.jboss.portal.core.impl.model.portal.PortalObjectImpl$1.toArray(PortalObjectImpl.java:148)
java.util.ArrayList.(ArrayList.java:131)
org.jboss.portal.core.controller.command.RenderPageCommand.create(RenderPageCommand.java:175)
org.jboss.portal.core.controller.ControllerCommand.createContext(ControllerCommand.java:111)
org.jboss.portal.core.controller.ControllerContext.execute(ControllerContext.java:76)
org.jboss.portal.core.controller.CoreController.handle(CoreController.java:192)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:287)
$Proxy159.handle(Unknown Source)
org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51)
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:134)
org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:67)
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:118)
org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:73)
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:118)
org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:175)
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:118)
org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:85)
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:118)
org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterceptor.java:49)
org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:262)
org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java)
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:118)
org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:160)
org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:379)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
--------------------------------------------------------------------------------
Apache Tomcat/5.5.20
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988556#3988556
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988556
19Â years, 5Â months
[JBoss jBPM] - Re: Cannot build update script (jbpm.3)
by hade79
Hi again!
Found out by myself.
But now when i try to create the scripts i get this message:
anonymous wrote : D:\jbpm-starters-kit-3.1.3\jbpm-db>ant mysql.scripts
| Buildfile: build.xml
|
| mysql.scripts:
|
| prepare:
|
| compile.jbpm:
|
| compile.identity:
|
| compile.jbpm.test:
|
| compile.webapp:
|
| compile.identity.test:
|
| compile.examples:
|
| compile:
|
| db.scripts:
| [delete] Deleting directory D:\jbpm-starters-kit-3.1.3\jbpm-db\build\mysql\scripts
| [mkdir] Created dir: D:\jbpm-starters-kit-3.1.3\jbpm-db\build\mysql\scripts
| [java] java.lang.NoClassDefFoundError: org/jbpm/db/JbpmSchema
| [java] Exception in thread "main"
| [java] Java Result: 1
|
| BUILD SUCCESSFUL
| Total time: 2 seconds
|
The JbpmSchema.class is at "D:\jbpm-starters-kit-3.1.3\jbpm\build\classes.jbpm\org\jbpm\db".
Where can I change the properties so that I will get my scripts created?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988553#3988553
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988553
19Â years, 5Â months
[Messaging, JMS & JBossMQ] - Re: RedeliveryLimit not limiting
by miri
"miri" wrote : "CptnKirk" wrote : I'm trying to use RedeliveryLimit in JBoss 3.2.5. The RedeliveryDelay works as expected.......
|
| Hi, could you please tell me how you made the RedeliveryDelay working? I have a Jboss 3.2.7, standalone asynchronous client with CLIENT_ACKNOWLEDGE, RedeliveryDelay attr of my queue is set (10000). After calling session.recover() (...and not acknowledging the received message), the message is redelivered immediately.
|
...propably some code would help:
Client with CLIENT_ACKNOWLEDGE mode
| public void onMessage(Message msg) {
| //call some logic
| try {
| doSomething();
| } catch (Exception e){
| //error occured, I want the message to be redelivered after some time...
| session.recover();
| //..and exit the onMessage
| return;
| }
| }
|
Queue si configured as follows:
| <mbean code="org.jboss.mq.server.jmx.Queue"
| name="jboss.mq.destination:service=Queue,name=queue">
| <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
| <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
| <attribute name="RedeliveryDelay">10000</attribute>
| </mbean>
...also i tried to set the JMS_JBOSS_REDELIVERY_DELAY = 10000.
| ((SpyMessage)msg).setLongProperty(SpyMessage.PROPERTY_REDELIVERY_DELAY,10000);
|
I can see in logs then that the property is set in the message correctly BUT the message is redelivered immediately again :(
Any suggestions? Thx much.
Mirek
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988549#3988549
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988549
19Â years, 5Â months