[JBoss Portal] - Re: Comparing JBoss Portal to Liferay or other portal produc
by syllant
Hi,
I'm sorry to add a less convinced review about JBP.
We've chosen JBP (2.6.2) because we wanted a technical oriented portal, i.e. a portal with a strong architecture and without too many user oriented features so we could build our product on top of it. We are so disappointed that we are about to drop it.
I must add that I had used several portals before, among them Liferay. I don't believe another one would have fit better than JBP, all of them have their own drawbacks.
But I just want to point that JBP architecture seems to be very flexible and extensible, but is actually very rigid in several points. I'll try to sum up them in another post later (build/deployment process, layout/theme architecture, page definitions, webapps architecture, ...) to be more constructive than here :-)
Concerning documentation, yes it's relatively good to start but forums are more useful when you known JBP basics. And you'll note that 1/3 of posts are not answered...
I'm sorry again to be less enthousiastic whereas I am on an JBP forum, but it's more interesting when there is a debate :-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4130302#4130302
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4130302
18 years, 2 months
[JBoss AOP] - Re: Long startup time
by stale.pedersen@jboss.org
hi, when you enable loadtimeweaving (which you do when you set the javaagent option and set EnableLoadtimeWeaving=true), all the classes you deploy will be checked withing jboss aop if they should be weaved. even though many classes are by default excluded this takes a lot longer than if you dont use loadtime weaving.
if you can aop compile the classes before you deploy them you can turn off loadtime weaving and the deploytime would back to normal. - but if you need loadtime weaving the only option way you can optimize the startup is if you try to exclude every package you dont want to weave.
note that if you dont include the -javaagent option you wont have loadtime weaving. - i hope this helps :)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4130298#4130298
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4130298
18 years, 2 months
[JBoss Messaging] - JBoss Messaging msg blocked
by lanceliao
Using jboss 4.22GA,JBoss Messaging 1.4.0sp1,JDK 1.5,solaris 10
After jboss run about one day,find one jms topic messages blocked (above 2 hours).
Using jstack,Thread dump:
Thread t@5189: (state = IN_NATIVE)
- java.net.SocketOutputStream.socketWrite0(java.io.FileDescriptor, byte[], int, int) @bci=0 (Compiled frame; information may be imprecise)
- java.net.SocketOutputStream.socketWrite(byte[], int, int) @bci=44, line=92 (Compiled frame)
- java.io.BufferedOutputStream.write(byte[], int, int) @bci=20, line=105 (Compiled frame)
- java.io.DataOutputStream.write(byte[], int, int) @bci=7, line=90 (Compiled frame)
- org.jboss.jms.wireformat.ClientDelivery.write(java.io.DataOutputStream) @bci=47, line=91 (Compiled frame)
- org.jboss.jms.wireformat.JMSWireFormat.write(java.lang.Object, java.io.OutputStream) @bci=646, line=237 (Compiled frame)
- org.jboss.remoting.transport.socket.MicroSocketClientInvoker.versionedWrite(java.io.OutputStream, org.jboss.remoting.marshal.Marshaller, java.lang.Object, int) @bci=93, line=983 (Compiled frame)
- org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(java.lang.String, java.lang.Object, java.util.Map, org.jboss.remoting.marshal.Marshaller, org.jboss.remoting.marshal.UnMarshaller) @bci=354, line=559 (Compiled frame)
- org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(java.lang.String, java.lang.Object, java.util.Map, org.jboss.remoting.marshal.Marshaller, org.jboss.remoting.marshal.UnMarshaller) @bci=115, line=413 (Compiled frame)
- org.jboss.remoting.Client.invoke(java.lang.Object, java.util.Map, org.jboss.remoting.InvokerLocator) @bci=30, line=1634 (Compiled frame)
- org.jboss.remoting.callback.ServerInvokerCallbackHandler.handleCallbackOneway(org.jboss.remoting.callback.Callback) @bci=4, line=686 (Compiled frame)
- org.jboss.jms.server.endpoint.ServerSessionEndpoint.handleDelivery(org.jboss.messaging.core.contract.Delivery, org.jboss.jms.server.endpoint.ServerConsumerEndpoint) @bci=282, line=1375 (Compiled frame)
- org.jboss.jms.server.endpoint.ServerConsumerEndpoint.handle(org.jboss.messaging.core.contract.DeliveryObserver, org.jboss.messaging.core.contract.MessageReference, org.jboss.messaging.core.impl.tx.Transaction) @bci=498, line=307 (Compiled frame)
- org.jboss.messaging.core.impl.RoundRobinDistributor.handle(org.jboss.messaging.core.contract.DeliveryObserver, org.jboss.messaging.core.contract.MessageReference, org.jboss.messaging.core.impl.tx.Transaction) @bci=110, line=119 (Compiled frame)
- org.jboss.messaging.core.impl.MessagingQueue$DistributorWrapper.handle(org.jboss.messaging.core.contract.DeliveryObserver, org.jboss.messaging.core.contract.MessageReference, org.jboss.messaging.core.impl.tx.Transaction) @bci=7, line=582 (Compiled frame)
- org.jboss.messaging.core.impl.ClusterRoundRobinDistributor.handle(org.jboss.messaging.core.contract.DeliveryObserver, org.jboss.messaging.core.contract.MessageReference, org.jboss.messaging.core.impl.tx.Transaction) @bci=39, line=79 (Compiled frame)
- org.jboss.messaging.core.impl.MessagingQueue.deliverInternal() @bci=1, line=505 (Compiled frame)
- org.jboss.messaging.core.impl.ChannelSupport.handle(org.jboss.messaging.core.contract.DeliveryObserver, org.jboss.messaging.core.contract.MessageReference, org.jboss.messaging.core.impl.tx.Transaction) @bci=54, line=144 (Compiled frame)
- org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.routeInternal(org.jboss.messaging.core.contract.MessageReference, org.jboss.messaging.core.contract.Condition, org.jboss.messaging.core.impl.tx.Transaction, boolean, java.util.Set) @bci=774, line=2195 (Compiled frame)
- org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.route(org.jboss.messaging.core.contract.MessageReference, org.jboss.messaging.core.contract.Condition, org.jboss.messaging.core.impl.tx.Transaction) @bci=34, line=489 (Interpreted frame)
- org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(org.jboss.jms.message.JBossMessage, org.jboss.messaging.core.impl.tx.Transaction, boolean) @bci=441, line=727 (Interpreted frame)
- org.jboss.jms.server.endpoint.ServerSessionEndpoint.send(org.jboss.jms.message.JBossMessage, boolean, long) @bci=118, line=421 (Interpreted frame)
- org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$send$aop(org.jboss.jms.message.JBossMessage, boolean, long) @bci=10, line=87 (Interpreted frame)
- org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext() @bci=78 (Interpreted frame)
- org.jboss.jms.server.container.SecurityAspect.handleSend(org.jboss.aop.joinpoint.Invocation) @bci=63, line=157 (Interpreted frame)
- sun.reflect.GeneratedMethodAccessor134.invoke(java.lang.Object, java.lang.Object[]) @bci=40 (Interpreted frame)
- sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) @bci=6, line=25 (Compiled frame)
- org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext() @bci=29 (Interpreted frame)
- org.jboss.jms.server.endpoint.advised.SessionAdvised.send(org.jboss.jms.message.JBossMessage, boolean, long) @bci=121 (Compiled frame)
- org.jboss.jms.wireformat.SessionSendRequest.serverInvoke() @bci=31, line=90 (Interpreted frame)
- org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(org.jboss.remoting.InvocationRequest) @bci=82, line=143 (Interpreted frame)
- org.jboss.remoting.ServerInvoker.invoke(org.jboss.remoting.InvocationRequest) @bci=520, line=769 (Compiled frame)
- org.jboss.remoting.transport.local.LocalClientInvoker.invoke(org.jboss.remoting.InvocationRequest) @bci=46, line=101 (Compiled frame)
- org.jboss.remoting.Client.invoke(java.lang.Object, java.util.Map, org.jboss.remoting.InvokerLocator) @bci=30, line=1634 (Interpreted frame)
- org.jboss.remoting.Client.invoke(java.lang.Object, java.util.Map) @bci=4, line=548 (Interpreted frame)
- org.jboss.remoting.Client.invoke(java.lang.Object) @bci=3, line=536 (Interpreted frame)
- org.jboss.jms.client.delegate.DelegateSupport.doInvoke(org.jboss.remoting.Client, org.jboss.jms.wireformat.RequestSupport, boolean) @bci=145, line=187 (Interpreted frame)
- org.jboss.jms.client.delegate.DelegateSupport.doInvoke(org.jboss.remoting.Client, org.jboss.jms.wireformat.RequestSupport) @bci=4, line=158 (Interpreted frame)
- org.jboss.jms.client.delegate.ClientSessionDelegate.org$jboss$jms$client$delegate$ClientSessionDelegate$send$aop(org.jboss.jms.message.JBossMessage, boolean) @bci=76, line=474 (Interpreted frame)
- org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext() @bci=74 (Interpreted frame)
- org.jboss.jms.client.container.SessionAspect.handleSend(org.jboss.aop.joinpoint.Invocation) @bci=156, line=632 (Compiled frame)
- org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect442.invoke(org.jboss.aop.joinpoint.Invocation) @bci=8 (Interpreted frame)
- org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext() @bci=29 (Interpreted frame)
- org.jboss.jms.client.container.FailoverValveInterceptor.invoke(org.jboss.aop.joinpoint.Invocation) @bci=70, line=92 (Interpreted frame)
- org.jboss.aop.advice.PerInstanceInterceptor.invoke(org.jboss.aop.joinpoint.Invocation) @bci=205, line=105 (Compiled frame)
- org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext() @bci=29 (Interpreted frame)
- org.jboss.jms.client.container.ClosedInterceptor.invoke(org.jboss.aop.joinpoint.Invocation) @bci=191, line=170 (Compiled frame)
- org.jboss.aop.advice.PerInstanceInterceptor.invoke(org.jboss.aop.joinpoint.Invocation) @bci=205, line=105 (Compiled frame)
- org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext() @bci=29 (Interpreted frame)
- org.jboss.jms.client.delegate.ClientSessionDelegate.send(org.jboss.jms.message.JBossMessage, boolean) @bci=112 (Interpreted frame)
- org.jboss.jms.client.container.ProducerAspect.handleSend(org.jboss.aop.joinpoint.Invocation) @bci=736, line=266 (Interpreted frame)
- org.jboss.aop.advice.org.jboss.jms.client.container.ProducerAspect484.invoke(org.jboss.aop.joinpoint.Invocation) @bci=8 (Interpreted frame)
- org.jboss.jms.client.delegate.ClientProducerDelegate$send_3961598017717988886.invokeNext() @bci=29 (Interpreted frame)
- org.jboss.jms.client.container.ClosedInterceptor.invoke(org.jboss.aop.joinpoint.Invocation) @bci=191, line=170 (Compiled frame)
- org.jboss.aop.advice.PerInstanceInterceptor.invoke(org.jboss.aop.joinpoint.Invocation) @bci=205, line=105 (Compiled frame)
- org.jboss.jms.client.delegate.ClientProducerDelegate$send_3961598017717988886.invokeNext() @bci=29 (Interpreted frame)
- org.jboss.jms.client.delegate.ClientProducerDelegate.send(org.jboss.jms.destination.JBossDestination, javax.jms.Message, int, int, long) @bci=135 (Interpreted frame)
- org.jboss.jms.client.JBossMessageProducer.send(javax.jms.Destination, javax.jms.Message, int, int, long) @bci=52, line=164 (Interpreted frame)
- org.jboss.jms.client.JBossMessageProducer.send(javax.jms.Queue, javax.jms.Message, int, int, long) @bci=8, line=207 (Interpreted frame)
- org.jboss.jms.client.JBossMessageProducer.send(javax.jms.Message, int, int, long) @bci=7, line=145 (Interpreted frame)
- org.jboss.jms.client.JBossMessageProducer.send(javax.jms.Message) @bci=7, line=136 (Interpreted frame)
- org.jboss.jms.client.JBossMessageProducer.publish(javax.jms.Message) @bci=2, line=177 (Interpreted frame)
checking server log,get some exception:
ERROR [WorkerThread#49[192.166.31.117:1237]] callback.ServerInvokerCallbackHandler (ServerInvokerCallbackHandler.java:845) - Error handling callback
java.rmi.MarshalException: Failed to communicate. Problem during marshalling/unmarshalling; nested exception is:
java.io.IOException: broken pipe
at org.jboss.remoting.transport.socket.SocketClientInvoker.handleException(SocketClientInvoker.java:122)
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:646)
at org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(BisocketClientInvoker.java:413)
at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
at org.jboss.remoting.Client.invoke(Client.java:1634)
at org.jboss.remoting.Client.invoke(Client.java:548)
at org.jboss.remoting.Client.invokeOneway(Client.java:598)
at org.jboss.remoting.callback.ServerInvokerCallbackHandler.handleCallback(ServerInvokerCallbackHandler.java:815)
at org.jboss.remoting.callback.ServerInvokerCallbackHandler.handleCallbackOneway(ServerInvokerCallbackHandler.java:686)
at org.jboss.jms.server.endpoint.ServerSessionEndpoint.performDelivery(ServerSessionEndpoint.java:1490)
at org.jboss.jms.server.endpoint.ServerSessionEndpoint.handleDelivery(ServerSessionEndpoint.java:1375)
at org.jboss.jms.server.endpoint.ServerConsumerEndpoint.handle(ServerConsumerEndpoint.java:307)
at org.jboss.messaging.core.impl.RoundRobinDistributor.handle(RoundRobinDistributor.java:119)
at org.jboss.messaging.core.impl.MessagingQueue$DistributorWrapper.handle(MessagingQueue.java:582)
at org.jboss.messaging.core.impl.ClusterRoundRobinDistributor.handle(ClusterRoundRobinDistributor.java:79)
at org.jboss.messaging.core.impl.ChannelSupport.deliverInternal(ChannelSupport.java:476)
at org.jboss.messaging.core.impl.MessagingQueue.deliverInternal(MessagingQueue.java:505)
at org.jboss.messaging.core.impl.ChannelSupport.handleInternal(ChannelSupport.java:628)
at org.jboss.messaging.core.impl.ChannelSupport.handle(ChannelSupport.java:144)
at org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.routeInternal(MessagingPostOffice.java:2195)
at org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.route(MessagingPostOffice.java:489)
at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(ServerConnectionEndpoint.java:727)
at org.jboss.jms.server.endpoint.ServerSessionEndpoint.send(ServerSessionEndpoint.java:421)
at org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$send$aop(SessionAdvised.java:87)
at org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java)
at org.jboss.jms.server.container.SecurityAspect.handleSend(SecurityAspect.java:157)
at sun.reflect.GeneratedMethodAccessor146.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:121)
at org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java)
at org.jboss.jms.server.endpoint.advised.SessionAdvised.send(SessionAdvised.java)
at org.jboss.jms.wireformat.SessionSendRequest.serverInvoke(SessionSendRequest.java:90)
at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:769)
at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:101)
at org.jboss.remoting.Client.invoke(Client.java:1634)
at org.jboss.remoting.Client.invoke(Client.java:548)
at org.jboss.remoting.Client.invoke(Client.java:536)
at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:187)
at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:158)
at org.jboss.jms.client.delegate.ClientSessionDelegate.org$jboss$jms$client$delegate$ClientSessionDelegate$send$aop(ClientSessionDelegate.java:474)
at org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext(ClientSessionDelegate$send_6145266547759487588.java)
at org.jboss.jms.client.container.SessionAspect.handleSend(SessionAspect.java:632)
at org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect442.invoke(SessionAspect442.java)
at org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext(ClientSessionDelegate$send_6145266547759487588.java)
at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:92)
at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
at org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext(ClientSessionDelegate$send_6145266547759487588.java)
at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
at org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext(ClientSessionDelegate$send_6145266547759487588.java)
at org.jboss.jms.client.delegate.ClientSessionDelegate.send(ClientSessionDelegate.java)
at org.jboss.jms.client.container.ProducerAspect.handleSend(ProducerAspect.java:266)
at org.jboss.aop.advice.org.jboss.jms.client.container.ProducerAspect484.invoke(ProducerAspect484.java)
at org.jboss.jms.client.delegate.ClientProducerDelegate$send_3961598017717988886.invokeNext(ClientProducerDelegate$send_3961598017717988886.java)
at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
at org.jboss.jms.client.delegate.ClientProducerDelegate$send_3961598017717988886.invokeNext(ClientProducerDelegate$send_3961598017717988886.java)
at org.jboss.jms.client.delegate.ClientProducerDelegate.send(ClientProducerDelegate.java)
at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:164)
at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:207)
at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:145)
at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:136)
at org.jboss.jms.client.JBossMessageProducer.publish(JBossMessageProducer.java:177)
anybody can help me,thanks a lot.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4130296#4130296
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4130296
18 years, 2 months