[JBoss jBPM] - Ok, what am I missing?
by steveotto999
I'm trying to understand the jBPM system.
I've gone through the examples in the distro and I can successfully run all of them as JUnit tests. I did find one assertion failure BTW, where I had to change the number of tasks from 1 to 3. Small glitch, no biggie.
So here is my question: how do I step a workflow through a processdefinition that has a fork/join in it? I'm trying to step along using things like processInstance.signal()....but in the case of a fork, I will have multiple paths of execution yet there is only one RootToken. What do I do?
In a sense, I'm trying to simulate the workflow....and I saw somewhere in the FAQs that jBPM does NOT support simulation. This remark by Tom has me concerned -- it seems like I am trying to do something that I cannot do.
Thanks for any help,
Steve (lost in Oregon)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996736#3996736
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996736
19 years, 7 months
[JBoss jBPM] - Task Nodes into SuperState
by juangiovanolli
is possible put TaskNodes into SuperStates?
i'm getting this error when the processDefinition shown below is running in the jbpm-server
error
| type Exception report
|
| message
|
| description The server encountered an internal error () that prevented it from fulfilling this request.
|
| exception
|
| javax.servlet.ServletException: org.apache.jasper.JasperException
| javax.faces.webapp.FacesServlet.service(FacesServlet.java:109)
| org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:55)
| org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83)
| org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
| org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
|
| root cause
|
| javax.faces.FacesException: org.apache.jasper.JasperException
| org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:425)
| org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
| org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300)
| javax.faces.webapp.FacesServlet.service(FacesServlet.java:95)
| org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:55)
| org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83)
| org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
| org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
|
| note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs.
|
processdefinition
| <?xml version="1.0" encoding="UTF-8"?>
|
| <process-definition xmlns="" name="SuperSt">
| <start-state name="start">
| <transition name="" to="super1/task1"></transition>
| </start-state>
|
| <super-state name="super1">
|
| <task-node name="task1">
| <task name="d" />
| <transition name="" to="../end1"></transition>
| </task-node>
| </super-state>
|
| <end-state name="end1"></end-state>
|
| </process-definition>
|
----------------------------------------------------------------------------------
thks and Merry Xmas from Argentina
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996730#3996730
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996730
19 years, 7 months
[EJB 3.0] - Stateful session with remote client problem
by jdware
Hi,
I'm using jboss-4.0.5.GA and jboss-EJB-3.0_RC9_Patch_1 and I'm getting an error when the client does the context lookup. My local interface works fine.
I'm getting a "java.lang.ClassNotFoundException: [Lorg.jboss.aop.advice.Interceptor". I found that class in jboss-aop-jdk50.jar and I know that it is in my classpath.
thanks in advance,
john
The source code is below the shell listing
main 1.0
main 1.1 context lookup using: JWStatefull/ShoppingCartBean/remote
Exception
javax.naming.NamingException: Could not dereference object [Root exception is java.lang.reflect.UndeclaredThrowableException]
at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1150)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:705)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at sfsb.Client.main(Client.java:17)
Caused by: java.lang.reflect.UndeclaredThrowableException
at $Proxy0.createProxy(Unknown Source)
at org.jboss.ejb3.JndiProxyFactory.getObjectInstance(JndiProxyFactory.java:52)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1125)
at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1142)
... 4 more
Caused by: java.lang.ClassNotFoundException: [Lorg.jboss.aop.advice.Interceptor;
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.jboss.remoting.loading.RemotingClassLoader.loadClass(RemotingClassLoader.java:50)
at org.jboss.remoting.loading.ObjectInputStreamWithClassLoader.resolveClass(ObjectInputStreamWithClassLoader.java:139)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1624)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at org.jboss.aop.joinpoint.InvocationResponse.readExternal(InvocationResponse.java:122)
at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1751)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.receiveObject(JavaSerializationManager.java:128)
at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.read(SerializableUnMarshaller.java:66)
at org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:279)
at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143)
at org.jboss.remoting.Client.invoke(Client.java:525)
at org.jboss.remoting.Client.invoke(Client.java:488)
at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:55)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:48)
Here is the source code:
|
| /////////////////////////////////
| // Client.java
| package sfsb;
| import java.util.HashMap;
| import java.util.Properties;
| import javax.naming.InitialContext;
|
| public class Client
| {
| final static String jndiName = "JWStatefull/ShoppingCartBean/remote";
| public static void main(String[] args)
| {
|
| try{
| System.out.println( "main 1.0" );
| InitialContext ctx = new InitialContext();
| System.out.println( "main 1.1 context lookup using: " + jndiName );
| ctx.lookup( jndiName );
| Object obj = null;
| System.out.println( "main 1.2" );
| System.out.println( obj.toString() );
| ShoppingCart cart = (ShoppingCart) obj;
| System.out.println( "main 1.3" );
| }catch( Exception e ){
| System.out.println( "Exception " );
| e.printStackTrace();
| System.exit(-1);
|
| }
|
| }
| }
|
|
|
| /////////////////////////////////
| // ShoppingCart.java
|
|
|
| package sfsb;
|
| import java.util.HashMap;
| import javax.ejb.Remove;
|
| public interface ShoppingCart
| {
| void buy(String product, int quantity);
|
| HashMap<String, Integer> getCartContents();
|
| @Remove void checkout();
| }
|
|
| /////////////////////////////////////
| // ShoppingCartBean.java
|
| package sfsb;
|
| import java.io.Serializable;
| import java.util.HashMap;
| import javax.ejb.Remove;
| import javax.ejb.Stateful;
| import javax.ejb.Local;
| import javax.ejb.Remote;
|
| import org.jboss.annotation.ejb.LocalBinding;
| import org.jboss.annotation.ejb.RemoteBinding;
|
|
| @Remote
| @Local
| @LocalBinding ( jndiBinding="JWStatefull/ShoppingCart" )
| @Stateful
|
| public class ShoppingCartBean implements ShoppingCart, Serializable
| {
| private HashMap<String, Integer> cart = new HashMap<String, Integer>();
|
|
| public void buy(String product, int quantity)
| {
| if (cart.containsKey(product))
| {
| int currq = cart.get(product);
| currq += quantity;
| cart.put(product, currq);
| }
| else
| {
| cart.put(product, quantity);
| }
| }
|
| public HashMap<String, Integer> getCartContents()
| {
| return cart;
| }
|
| @Remove
| public void checkout()
| {
| System.out.println("To be implemented");
| }
| }
|
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996729#3996729
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996729
19 years, 7 months
[JBoss Seam] - Object level validation
by awhitford
I am creating JPA/EJB3 entity objects, and am using Hibernate Validation annotations for some basic constraints. And I definitely like how this validation framework is leveraged by Seam -- DRY!
But how can I best provide semantic object level validation? For example, imagine that I have a Bond class with several properties for creating the coupons:
| @Entity
| public class Bond
| {
| /** Primary key id */
| @Id
| @GeneratedValue
| private int id;
|
| @NotNull
| @Temporal(TemporalType.DATE)
| private Date issueDate;
|
| @Temporal(TemporalType.DATE)
| private Date datedDate;
|
| @Temporal(TemporalType.DATE)
| private Date firstCouponDate;
|
| @Temporal(TemporalType.DATE)
| private Date penultimateCouponDate;
|
| @Temporal(TemporalType.DATE)
| private Date maturityDate;
|
| @Column(columnDefinition = "tinyint")
| @Enumerated(EnumType.STRING)
| private CouponFrequency couponFrequency;
|
| @Column(length = 13)
| @Enumerated(EnumType.STRING)
| private AccrualMethod accrualMethod;
| }
|
I need the capability to validate the bond object to ensure the following:
| * issueDate < maturityDate
| * issueDate < firstCouponDate
| * issueDate < penultimateCouponDate
| * datedDate < firstCouponDate
| * datedDate < maturityDate
| * datedDate < penultimateCouponDate
| * firstCouponDate < penultimateCouponDate
| * firstCouponDate < maturityDate
| * penultimateCouponDate < maturityDate
|
And this is just the tip of the iceberg. (Note that there are seemingly redundant checks listed because most of the columns are nullable.)
What is the best practice for enforcing object level validation?
I'm looking for a strategy whereby a validation routine could be executed to create a list of invalid values, which them Seam could report to the user -- just like other Hibernate Validation annotation restrictions like @Min, @Max, @Range, etc.
Thanks!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996727#3996727
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996727
19 years, 7 months
[JBoss Portal] - PageNavigationInterceptor (2.6 DR1) - NullPointerException
by bsmithjj
Hello,
I added a simple portal (.war) to my jboss-portal 2.6 DR1 installation - when I visit the portal page, I get:
| 15:29:13,714 ERROR [PortalServlet] Unexpected exception
| java.lang.NullPointerException
| at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.ensurePageNavigationalState(PageNavigationInterceptor.java:257)
| at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.invoke(PageNavigationInterceptor.java:99)
| at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:38)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:118)
| at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:68)
| at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:38)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:118)
| at org.jboss.portal.core.aspects.controller.node.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:56)
| at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:38)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:118)
| at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:160)
| at org.jboss.portal.core.controller.ControllerContext.execute(ControllerContext.java:85)
| at org.jboss.portal.core.controller.CoreController.handle(CoreController.java:192)
| at sun.reflect.GeneratedMethodAccessor341.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:287)
| at $Proxy157.handle(Unknown Source)
| at org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:134)
| at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:67)
| at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:118)
| at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:73)
| at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:118)
| at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:175)
| at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:118)
| at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:85)
| at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:118)
| at org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterceptor.java:49)
| at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
| at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
| at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:275)
| at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
| at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java)
| at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:118)
| at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:160)
| at org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:379)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:595)
| 15:29:13,730 ERROR [[PortalServletWithPathMapping]] Servlet.service() for servlet PortalServletWithPathMapping threw exception
| java.lang.NullPointerException
| at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.ensurePageNavigationalState(PageNavigationInterceptor.java:257)
| at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.invoke(PageNavigationInterceptor.java:99)
| at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:38)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:118)
| at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:68)
| at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:38)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:118)
| at org.jboss.portal.core.aspects.controller.node.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:56)
| at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:38)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:118)
| at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:160)
| at org.jboss.portal.core.controller.ControllerContext.execute(ControllerContext.java:85)
| at org.jboss.portal.core.controller.CoreController.handle(CoreController.java:192)
| at sun.reflect.GeneratedMethodAccessor341.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:287)
| at $Proxy157.handle(Unknown Source)
| at org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:134)
| at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:67)
| at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:118)
| at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:73)
| at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:118)
| at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:175)
| at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:118)
| at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:85)
| at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:118)
| at org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterceptor.java:49)
| at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
| at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
| at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:275)
| at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
| at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java)
| at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:118)
| at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:160)
| at org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:379)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:595)
|
I've seen this exception a few times in the process of playing around with adding a page and then a portal.
Does the PageNavigationInterceptor process every request? if so, why? also, if so, can you think about disabling this? I don't think I (or everyone else) will necessarily be interested in having a PageNavigationInterceptor process every request and then deal with exceptions due to this component.
Thanks
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996719#3996719
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996719
19 years, 7 months
[JBoss Messaging] - Messaging NotFoundInDispatcherException
by guinsu
I just switched from messaging 1.0.1CR5 to 1.0.1SP2 because the old version would consistently silently stop sending messages on certain queues under load. Now with SP2 I get an error on my client, but nothing on the server. After 20-60 minutes of running under load, I get the following exception on one of my clients. I'm not sure how to pull this out into a test case since it is a large code base, but any ideas on what could cause this?
org.jboss.aop.NotFoundInDispatcherException: Object with oid: -2147483628 was not found in the Dispatcher
at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:85)
at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:127)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:1014)
at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:508)
at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:645)
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:293)
at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:172)
at org.jboss.remoting.Client.invoke(Client.java:607)
at org.jboss.remoting.Client.invoke(Client.java:599)
at org.jboss.jms.client.delegate.DelegateSupport.invoke(DelegateSupport.java:111)
at org.jboss.jms.client.delegate.ClientSessionDelegate$acknowledge_354868566256058116.invokeNext(ClientSessionDelegate$acknowledge_354868566256058116.java)
at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:182)
at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117)
at org.jboss.jms.client.delegate.ClientSessionDelegate$acknowledge_354868566256058116.invokeNext(ClientSessionDelegate$acknowledge_354868566256058116.java)
at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69)
at org.jboss.jms.client.delegate.ClientSessionDelegate$acknowledge_354868566256058116.invokeNext(ClientSessionDelegate$acknowledge_354868566256058116.java)
at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
at org.jboss.jms.client.delegate.ClientSessionDelegate$acknowledge_354868566256058116.invokeNext(ClientSessionDelegate$acknowledge_354868566256058116.java)
at org.jboss.jms.client.delegate.ClientSessionDelegate.acknowledge(ClientSessionDelegate.java)
at org.jboss.jms.client.container.SessionAspect.handlePostDeliver(SessionAspect.java:218)
at org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect6.invoke(SessionAspect6.java)
at org.jboss.jms.client.delegate.ClientSessionDelegate$postDeliver_5319211143798977162.invokeNext(ClientSessionDelegate$postDeliver_5319211143798977162.java)
at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:182)
at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117)
at org.jboss.jms.client.delegate.ClientSessionDelegate$postDeliver_5319211143798977162.invokeNext(ClientSessionDelegate$postDeliver_5319211143798977162.java)
at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69)
at org.jboss.jms.client.delegate.ClientSessionDelegate$postDeliver_5319211143798977162.invokeNext(ClientSessionDelegate$postDeliver_5319211143798977162.java)
at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
at org.jboss.jms.client.delegate.ClientSessionDelegate$postDeliver_5319211143798977162.invokeNext(ClientSessionDelegate$postDeliver_5319211143798977162.java)
at org.jboss.jms.client.delegate.ClientSessionDelegate.postDeliver(ClientSessionDelegate.java)
at org.jboss.jms.client.remoting.MessageCallbackHandler.postDeliver(MessageCallbackHandler.java:162)
at org.jboss.jms.client.remoting.MessageCallbackHandler.receive(MessageCallbackHandler.java:448)
at org.jboss.jms.client.container.ReceiverAspect.handleReceive(ReceiverAspect.java:63)
at org.jboss.aop.advice.org.jboss.jms.client.container.ReceiverAspect24.invoke(ReceiverAspect24.java)
at org.jboss.jms.client.delegate.ClientConsumerDelegate$receive_N8299950230150603585.invokeNext(ClientConsumerDelegate$receive_N8299950230150603585.java)
at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:182)
at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117)
at org.jboss.jms.client.delegate.ClientConsumerDelegate$receive_N8299950230150603585.invokeNext(ClientConsumerDelegate$receive_N8299950230150603585.java)
at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69)
at org.jboss.jms.client.delegate.ClientConsumerDelegate$receive_N8299950230150603585.invokeNext(ClientConsumerDelegate$receive_N8299950230150603585.java)
at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
at org.jboss.jms.client.delegate.ClientConsumerDelegate$receive_N8299950230150603585.invokeNext(ClientConsumerDelegate$receive_N8299950230150603585.java)
at org.jboss.jms.client.delegate.ClientConsumerDelegate.receive(ClientConsumerDelegate.java)
at org.jboss.jms.client.JBossMessageConsumer.receive(JBossMessageConsumer.java:86)
at dealcatcher.kolinka.jms.JMSReceiver.receive(JMSReceiver.java:57)
at dealcatcher.kolinka.indexer.IndexReceiver.receive(IndexReceiver.java:45)
at dealcatcher.kolinka.indexer.IndexServer.run(IndexServer.java:120)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996700#3996700
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996700
19 years, 7 months
[Security & JAAS/JBoss] - JAAS: Where do I begin?
by Steve++
[JAAS-RAGE]I have been googling the whole day trying to figure out how to get started with JAAS on JBoss. I already know the non-JAAS stuff, such as annotating session bean methods with roles. I thought I would be able to write my own username/password authentication in a stateless session bean and have it create a stateful session bean with the appropriate role (or should I say Principal), but there seems to be know way to programmatically set the role. Roles seem to be only statically defined.
So I am at the mercy of JAAS. But there is absolutely no useful documentation that explains how to use username/password authentication to set the Principle (or whatever it is called). I have looked at the article referenced in the sticky, but all it does is give the inner workings down to every minute detail of how JBoss implements JAAS, whereas all i need is the 5 or so lines that show me how to use it.
Does such documentation exist?
I also need to know how to actually create usernames/passwords/roles from an admin perspective. There seems to be absolutely zero information about this. It seems like only the implementors of JAAS know how to use JAAS. Or maybe they don't, because if they did then they would probably write a proper tutorial on how to use it (rather than having us indulge their egoes by sifting through reams of waffle only to find nothing useful).
It seems like my best option right now would be to screw the 50 layers of abstraction i have to cut through to use this and implement security myself.
Unless someone can point me in the right direction.
[/JAAS-RAGE]
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996697#3996697
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996697
19 years, 7 months
[Jboss Seam] Transactions
by Bram Biesbrouck
Hi all,
Hi all, I'm struggling with transaction-rollback in Seam for nearly two days
straight now, tried everything, but it just don't seem to work. I found a
very nice overview of the possibilities, here:
http://svn.nuxeo.org/nuxeo/ECMPlatform/NXCore/trunk/doc/Transactions.txt
I tried the different steps, but none work/worked for me.
Please help me out, info follows:
#############My Seam action bean##############""
@Stateful
@Scope(CONVERSATION)
@Name("register")
public class RegisterAction implements IRegister
{
@In(create=true) @Out
private Person currentUser;
@In(create=true) @Out
private LoginEntity loginEntity;
@In
private EntityManager em;
//-----CONSTRUCTORS-----
public RegisterAction()
{
}
@Rollback(ifOutcome= {"failure"})
@End
public String register()
{
try {
this.em.persist(this.currentUser);
this.em.persist(this.loginEntity); //this one throws an Exception
}
catch (Exception e) {
return "failure";
}
return "success";
}
@Remove @Destroy
public void destroy()
{
}
}
As you can see, I try to persist two objects, the first one succeeds (and is
persisted in the DB), the second one doesn't and throws an exception, causing
the method to return "failure" and should rollback, but it doesn't: the first
objects gets persisted in the DB, but it should't, because of the rollback.
The two entity beans are two regular, session-scoped beans with nothing
specific in them (I think).
Please help me out.
If you need more info (web.xml, persistence.xml, ...) just ask.
Bram
19 years, 7 months
[JBoss Portal] - Http Session Replication - JBoss Portal - No ClassLoaders fo
by chellva
Hi,
Followed the below links for testing JBoss Portal clustering.
http://docs.jboss.org/jbportal/v2.4/reference-guide/en/html/clustering.html
http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss
AS - jboss-4.0.4.GA
Portal - jboss-portal-ha-2.4.0
Apache - apache_2.2.3
mod-jk - mod_jk-apache-2.2.3.so
I started 2 instances of JBoss AS in a same machine and in two differenct nodes.
This is the code snippet inside HelloWorldPortlet
| protected void doEdit(RenderRequest rRequest, RenderResponse rResponse) throws PortletException, IOException, UnavailableException
| {
| rResponse.setContentType("text/html");
| PortletRequestDispatcher prd = getPortletContext().getRequestDispatcher("/WEB-INF/jsp/edit.jsp");
|
| PortletSession session = rRequest.getPortletSession();
| session.setAttribute("Session Replication", " Session Replication Value ");
|
| prd.include(rRequest, rResponse);
| }
|
| And in doView() i am printing value of the session variable
|
| protected void doView(RenderRequest rRequest, RenderResponse rResponse) throws PortletException, IOException, UnavailableException
| {
| rResponse.setContentType("text/html");
|
| String sYourName = (String) rRequest.getParameter("yourname");
|
| if(sYourName != null)
| {
| rRequest.setAttribute("yourname", sYourName);
| PortletRequestDispatcher prd = getPortletContext().getRequestDispatcher("/WEB-INF/jsp/view2.jsp");
|
| PortletSession session = rRequest.getPortletSession();
| System.out.println( " SESSION NAME doView " + session.getClass().getName());
| System.out.println( " HTTP Session Replication Value " + session.getAttribute("Session Replication"));
|
doEdit() HTTP request is going to JBOSS Node1 and it is adding the value in session. After adding the value in the session i bring down JBoss Node1. So the next HTTP request, doView() is going to Machine2. But the value in the session variable is coming as null in machine 2.
Whenver the HTTP request is going to Node2 session is being newly created instead of replicating the session.
This is the console view
|
| D:\CLUSTERPOC\jboss-4.0.4.GA\bin>run -c ports-01
| ===============================================================================
| .
| JBoss Bootstrap Environment
| .
| JBOSS_HOME: D:\CLUSTERPOC\jboss-4.0.4.GA\bin\\..
| .
| JAVA: D:\Program Files\Java\jdk1.5.0_06\bin\java
| .
| JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInter
| val=3600000
| .
| CLASSPATH: D:\Program Files\Java\jdk1.5.0_06\lib\tools.jar;D:\CLUSTERPOC\jboss-4.0.4.GA\bin\\run.jar
| .
| ===============================================================================
| .
| 21:55:34,684 INFO [Server] Starting JBoss (MX MicroKernel)...
| 21:55:34,684 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)
| 21:55:34,700 INFO [Server] Home Dir: D:\CLUSTERPOC\jboss-4.0.4.GA
| 21:55:34,700 INFO [Server] Home URL: file:/D:/CLUSTERPOC/jboss-4.0.4.GA/
| 21:55:34,700 INFO [Server] Patch URL: null
| 21:55:34,700 INFO [Server] Server Name: ports-01
| 21:55:34,700 INFO [Server] Server Home Dir: D:\CLUSTERPOC\jboss-4.0.4.GA\server\ports-01
| 21:55:34,700 INFO [Server] Server Home URL: file:/D:/CLUSTERPOC/jboss-4.0.4.GA/server/ports-01/
| 21:55:34,700 INFO [Server] Server Log Dir: D:\CLUSTERPOC\jboss-4.0.4.GA\server\ports-01\log
| 21:55:34,700 INFO [Server] Server Temp Dir: D:\CLUSTERPOC\jboss-4.0.4.GA\server\ports-01\tmp
| 21:55:34,700 INFO [Server] Root Deployment Filename: jboss-service.xml
| 21:55:35,106 INFO [ServerInfo] Java version: 1.5.0_06,Sun Microsystems Inc.
| 21:55:35,122 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_06-b05,Sun Microsystems Inc.
| 21:55:35,122 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
| 21:55:35,700 INFO [Server] Core system initialized
| 21:55:38,450 INFO [ServiceBindingManager] Initializing store
| 21:55:38,450 INFO [ServiceBindingManager] Using StoreURL: file:/D:/CLUSTERPOC/jboss-4.0.4.GA/docs/examples/binding-manager
| /sample-bindings.xml
| 21:55:39,263 INFO [WebService] Using RMI server codebase: http://PCIIB06854:8183/
| 21:55:39,294 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
| 21:55:39,653 INFO [NamingService] JNDI bootstrap JNP=/0.0.0.0:1199, RMI=/0.0.0.0:1198, backlog=50, no client SocketFactory
| , Server SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory
| 21:55:45,419 INFO [AspectDeployer] Deployed AOP: file:/D:/CLUSTERPOC/jboss-4.0.4.GA/server/ports-01/deploy/jboss-portal-ha
| .sar/portal-aop.xml
| 21:55:45,981 INFO [TreeCache] interceptor chain is:
| class org.jboss.cache.interceptors.CallInterceptor
| class org.jboss.cache.interceptors.PessimisticLockInterceptor
| class org.jboss.cache.interceptors.UnlockInterceptor
| class org.jboss.cache.interceptors.ReplicationInterceptor
| 21:55:45,981 INFO [TreeCache] cache mode is REPL_ASYNC
| 21:55:48,638 INFO [TreeCache] interceptor chain is:
| class org.jboss.cache.interceptors.CallInterceptor
| class org.jboss.cache.interceptors.PessimisticLockInterceptor
| class org.jboss.cache.interceptors.UnlockInterceptor
| class org.jboss.cache.interceptors.ReplicationInterceptor
| 21:55:48,638 INFO [TreeCache] cache mode is REPL_SYNC
| 21:55:48,669 INFO [STDOUT]
| -------------------------------------------------------
| GMS: address is PCIIB06854:4759
| -------------------------------------------------------
| 21:55:49,716 INFO [TreeCache] my local address is PCIIB06854:4759
| 21:55:49,716 INFO [TreeCache] viewAccepted(): [PCIIB06854:4759|0] [PCIIB06854:4759]
| 21:55:49,716 INFO [TreeCache] new cache is null (may be first member in cluster)
| 21:55:49,731 INFO [TreeCache] state could not be retrieved (must be first member in group)
| 21:55:49,731 INFO [TreeCache] Cache is started!!
| 21:55:49,731 INFO [CMSTreeCacheServiceImpl] Starting CMS cache service
| 21:55:49,747 INFO [CMSTreeCacheServiceImpl] CMS cache service started
| 21:55:49,872 INFO [STDOUT]
| -------------------------------------------------------
| GMS: address is PCIIB06854:4762
| -------------------------------------------------------
| 21:55:49,872 WARN [UDP] discarded message from different group (portal.hibernate). Sender was PCIIB06854:4762
| 21:55:50,872 INFO [TreeCache] my local address is PCIIB06854:4762
| 21:55:50,872 INFO [TreeCache] viewAccepted(): [PCIIB06854:4762|0] [PCIIB06854:4762]
| 21:55:50,872 INFO [TreeCache] state could not be retrieved (must be first member in group)
| 21:55:50,888 INFO [TreeCache] Cache is started!!
| 21:55:50,888 INFO [TreeCache] new cache is null (may be first member in cluster)
| 21:55:50,888 WARN [UDP] discarded message from different group (portal.hibernate). Sender was PCIIB06854:4762
| 21:55:52,185 WARN [UDP] discarded message from different group (portal.hibernate). Sender was PCIIB06854:4762
| 21:55:53,716 WARN [UDP] discarded message from different group (portal.hibernate). Sender was PCIIB06854:4762
| 21:55:54,700 INFO [SubscriptionManager] Bound event dispatcher to java:/EventDispatcher
| 21:55:55,935 INFO [SnmpAgentService] SNMP agent going active
| 21:55:56,107 INFO [AspectDeployer] Deployed AOP: file:/D:/CLUSTERPOC/jboss-4.0.4.GA/server/ports-01/deploy/tc5-cluster.sar
| /tc5-cluster.aop
| 21:55:56,169 INFO [TreeCache] setting cluster properties from xml to: UDP(down_thread=false;enable_bundling=true;ip_ttl=2;
| loopback=false;max_bundle_size=64000;max_bundle_timeout=30;mcast_addr=230.1.2.7;mcast_port=45577;mcast_recv_buf_size=250000
| 00;mcast_send_buf_size=640000;ucast_recv_buf_size=20000000;ucast_send_buf_size=640000;up_thread=false;use_incoming_packet_h
| andler=true;use_outgoing_packet_handler=true):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):ME
| RGE2(down_thread=false;max_interval=100000;min_interval=20000;up_thread=false):FD(down_thread=false;max_tries=5;shun=true;t
| imeout=2500;up_thread=false):VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(discard_delivered
| _msgs=true;down_thread=false;gc_lag=50;max_xmit_size=60000;retransmit_timeout=100,200,300,600,1200,2400,4800;up_thread=fals
| e;use_mcast_xmit=false):UNICAST(down_thread=false;timeout=300,600,1200,2400,3600;up_thread=false):pbcast.STABLE(desired_avg
| _gossip=50000;down_thread=false;max_bytes=2100000;stability_delay=1000;up_thread=false):pbcast.GMS(down_thread=false;join_r
| etry_timeout=2000;join_timeout=3000;print_local_addr=true;shun=true;up_thread=false):FC(down_thread=false;max_credits=10000
| 000;min_threshold=0.20;up_thread=false):FRAG2(down_thread=false;frag_size=60000;up_thread=false):pbcast.STATE_TRANSFER(down
| _thread=false;up_thread=false)
| 21:55:56,185 INFO [TreeCache] interceptor chain is:
| class org.jboss.cache.interceptors.CallInterceptor
| class org.jboss.cache.interceptors.PessimisticLockInterceptor
| class org.jboss.cache.interceptors.UnlockInterceptor
| class org.jboss.cache.interceptors.ReplicationInterceptor
| 21:55:56,185 INFO [TreeCache] cache mode is REPL_ASYNC
| 21:55:56,247 INFO [STDOUT]
| -------------------------------------------------------
| GMS: address is PCIIB06854:4767
| -------------------------------------------------------
| 21:55:58,247 INFO [TreeCache] viewAccepted(): [PCIIB06854:4767|0] [PCIIB06854:4767]
| 21:55:58,247 INFO [TreeCache] my local address is PCIIB06854:4767
| 21:55:58,247 INFO [TreeCache] new cache is null (may be first member in cluster)
| 21:55:58,247 INFO [TreeCache] state could not be retrieved (must be first member in group)
| 21:55:58,247 INFO [TreeCache] Cache is started!!
| 21:55:58,513 INFO [Embedded] Catalina naming disabled
| 21:55:58,607 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule s
| et.
| 21:55:58,607 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule s
| et.
| 21:55:58,982 INFO [Catalina] Initialization processed in 375 ms
| 21:55:58,982 INFO [StandardService] Starting service jboss.web
| 21:55:58,997 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.17
| 21:55:59,060 INFO [StandardHost] XML validation disabled
| 21:55:59,091 INFO [Catalina] Server startup in 109 ms
| 21:55:59,091 INFO [Tomcat5] Setting the cache name to jboss.cache:service=TomcatClusteringCache on jboss.web:type=Valve,na
| me=ClusteredSingleSignOn,host=localhost
| 21:55:59,263 WARN [UDP] discarded message from different group (TreeCache-Group). Sender was PCIIB06854:4759
| 21:55:59,325 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/httpha-invoker.sar/invoker.war/
| 21:55:59,794 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
| 21:56:00,450 INFO [TomcatDeployer] deploy, ctxPath=/portal-cms, warUrl=.../deploy/jboss-portal-ha.sar/portal-cms.war/
| 21:56:00,685 INFO [TomcatDeployer] deploy, ctxPath=/portal-core, warUrl=.../deploy/jboss-portal-ha.sar/portal-core.war/
| 21:56:00,810 WARN [UDP] discarded message from different group (portal.hibernate). Sender was PCIIB06854:4762
| 21:56:01,903 WARN [UDP] discarded message from different group (portal.hibernate). Sender was PCIIB06854:4762
| 21:56:01,935 INFO [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
| 21:56:02,107 INFO [FacesConfigurator] Reading config jar:file:/D:/CLUSTERPOC/jboss-4.0.4.GA/server/ports-01/tmp/deploy/tmp
| 37927jsf-facelets.jar!/META-INF/faces-config.xml
| 21:56:02,122 INFO [FacesConfigurator] Reading config jar:file:/D:/CLUSTERPOC/jboss-4.0.4.GA/server/ports-01/tmp/deploy/tmp
| 37944tomahawk.jar!/META-INF/faces-config.xml
| 21:56:02,263 INFO [FacesConfigurator] Reading config /WEB-INF/faces-config.xml
| 21:56:02,528 ERROR [LocaleUtils] Locale name null or empty, ignoring
| 21:56:02,607 WARN [UDP] discarded message from different group (portal.hibernate). Sender was PCIIB06854:4762
| 21:56:03,669 INFO [StartupServletContextListener] ServletContext 'D:\CLUSTERPOC\jboss-4.0.4.GA\server\ports-01\.\deploy\jb
| oss-portal-ha.sar\portal-core.war\' initialized.
| 21:56:03,763 INFO [TomcatDeployer] deploy, ctxPath=/portal-samples, warUrl=.../deploy/jboss-portal-ha.sar/portal-samples.w
| ar/
| 21:56:04,060 INFO [TomcatDeployer] deploy, ctxPath=/portal, warUrl=.../deploy/jboss-portal-ha.sar/portal-server.war/
| 21:56:04,357 INFO [JBossCacheManager] init(): replicationGranularity_ is 0 and invaldateSessionPolicy is 1
| 21:56:04,388 INFO [JBossCacheManager] Starting JBossManager
| 21:56:04,404 INFO [JBossCacheManager] We are using mod_jk(2) for load-balancing. Will add JvmRouteValve.
| 21:56:04,466 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
| 21:56:04,732 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp37975jbossws-exp.war/
| 21:56:04,966 INFO [TomcatDeployer] deploy, ctxPath=/juddi, warUrl=.../deploy/juddi-service.sar/juddiws.war/
| 21:56:05,419 INFO [RegistryServlet] Loading jUDDI configuration.
| 21:56:05,435 INFO [RegistryServlet] Resources loaded from: /WEB-INF/juddi.properties
| 21:56:05,435 INFO [RegistryServlet] Initializing jUDDI components.
| 21:56:06,591 INFO [DefaultPartition] Initializing
| 21:56:06,669 INFO [STDOUT]
| -------------------------------------------------------
| GMS: address is PCIIB06854:4770 (additional data: 18 bytes)
| -------------------------------------------------------
| 21:56:08,669 INFO [DefaultPartition] Number of cluster members: 1
| 21:56:08,685 INFO [DefaultPartition] Other members: 0
| 21:56:08,685 INFO [DefaultPartition] Fetching state (will wait for 30000 milliseconds):
| 21:56:08,747 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1200, backlog=50, bindAddress=/0.0.0.0
| 21:56:08,763 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /0.0.0.0:1102, group=230.0.0.4, HA-JNDI addres
| s=10.239.30.234:1200
| 21:56:09,966 WARN [UDP] discarded message from different group (TreeCache-Group). Sender was PCIIB06854:4759
| 21:56:10,122 WARN [UDP] discarded message from different group (portal.hibernate). Sender was PCIIB06854:4762
| 21:56:10,263 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy-hasingleton/jms/jbossmq-httpil.sar/j
| bossmq-httpil.war/
| 21:56:11,654 INFO [CorbaNamingService] Naming: [IOR:000000000000002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E
| 67436F6E746578744578743A312E3000000000000200000000000000D8000102000000000E31302E3233392E33302E323334000E2C000000114A426F737
| 32F4E616D696E672F726F6F74000000000000050000000000000008000000004A414300000000010000001C000000000001000100000001050100010001
| 01090000000105010001000000210000005000000000000000010000000000000024000000200000007E00000000000000010000000E31302E3233392E3
| 3302E323334000DC9000000000000000000000000000000000000000000000000000000000000002000000004000000000000001F000000040000000300
| 0000010000002000000000000000020000002000000004000000000000001F0000000400000003]
| 21:56:11,825 INFO [CorbaTransactionService] TransactionFactory: [IOR:000000000000003049444C3A6F72672F6A626F73732F746D2F696
| 96F702F5472616E73616374696F6E466163746F72794578743A312E30000000000200000000000000D8000102000000000E31302E3233392E33302E3233
| 34000E2C000000144A426F73732F5472616E73616374696F6E732F46000000050000000000000008000000004A414300000000010000001C00000000000
| 100010000000105010001000101090000000105010001000000210000005000000000000000010000000000000024000000200000007E00000000000000
| 010000000E31302E3233392E33302E323334000DC9000000000000000000000000000000000000000000000000000000000000002000000004000000000
| 000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
| 21:56:12,310 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.
| war/
| 21:56:13,404 INFO [MailService] Mail Service bound to java:/Mail
| 21:56:13,779 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
|
| 21:56:13,857 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
| 21:56:13,904 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
| 21:56:13,966 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
| 21:56:14,044 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
| 21:56:14,122 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
| 21:56:15,716 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=Defa
| ultDS' to JNDI name 'java:DefaultDS'
| 21:56:16,169 INFO [A] Bound to JNDI name: queue/A
| 21:56:16,169 INFO [B] Bound to JNDI name: queue/B
| 21:56:16,169 INFO [C] Bound to JNDI name: queue/C
| 21:56:16,185 INFO [D] Bound to JNDI name: queue/D
| 21:56:16,185 INFO [ex] Bound to JNDI name: queue/ex
| 21:56:16,216 INFO [testTopic] Bound to JNDI name: topic/testTopic
| 21:56:16,216 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
| 21:56:16,216 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
| 21:56:16,216 INFO [testQueue] Bound to JNDI name: queue/testQueue
| 21:56:16,294 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8193
| 21:56:16,388 INFO [DLQ] Bound to JNDI name: queue/DLQ
| 21:56:16,622 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,na
| me=JmsXA' to JNDI name 'java:JmsXA'
| 21:56:16,810 INFO [Environment] Hibernate 3.2 cr2
| 21:56:16,826 INFO [Environment] hibernate.properties not found
| 21:56:16,826 INFO [Environment] Bytecode provider name : cglib
| 21:56:16,857 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling
| 21:56:17,013 WARN [UDP] discarded message from different group (TreeCache-Group). Sender was PCIIB06854:4759
| 21:56:17,044 INFO [Configuration] configuring from url: file:/D:/CLUSTERPOC/jboss-4.0.4.GA/server/ports-01/deploy/jboss-po
| rtal-ha.sar/portal-cms.sar/conf/hibernate/cms/hibernate.cfg.xml
| 21:56:17,060 INFO [Configuration] Reading mappings from resource: conf/hibernate/cms/domain.hbm.xml
| 21:56:17,247 INFO [HbmBinder] Mapping class: org.jboss.portal.cms.hibernate.state.VersionBinVal -> jbp_cms_version_binval
| 21:56:17,294 INFO [HbmBinder] Mapping class: org.jboss.portal.cms.hibernate.state.VersionNode -> jbp_cms_version_node
| 21:56:17,294 INFO [HbmBinder] Mapping class: org.jboss.portal.cms.hibernate.state.VersionProp -> jbp_cms_version_prop
| 21:56:17,310 INFO [HbmBinder] Mapping class: org.jboss.portal.cms.hibernate.state.VersionRefs -> jbp_cms_version_refs
| 21:56:17,310 INFO [HbmBinder] Mapping class: org.jboss.portal.cms.hibernate.state.WSPBinVal -> jbp_cms_wsp_binval
| 21:56:17,310 INFO [HbmBinder] Mapping class: org.jboss.portal.cms.hibernate.state.WSPNode -> jbp_cms_wsp_node
| 21:56:17,326 INFO [HbmBinder] Mapping class: org.jboss.portal.cms.hibernate.state.WSPProp -> jbp_cms_wsp_prop
| 21:56:17,326 INFO [HbmBinder] Mapping class: org.jboss.portal.cms.hibernate.state.WSPRefs -> jbp_cms_wsp_refs
| 21:56:17,326 INFO [HbmBinder] Mapping class: org.jboss.portal.cms.hibernate.CMSEntry -> jbp_cms_cmsentry
| 21:56:17,326 INFO [HbmBinder] Mapping class: org.jboss.portal.cms.hibernate.RepositoryEntry -> jbp_cms_repositoryentry
| 21:56:17,341 INFO [HbmBinder] Mapping class: org.jboss.portal.cms.hibernate.VersionEntry -> jbp_cms_versionentry
| 21:56:17,341 INFO [Configuration] Configured SessionFactory: null
| 21:56:17,357 INFO [Configuration] configuring from url: file:/D:/CLUSTERPOC/jboss-4.0.4.GA/server/ports-01/deploy/jboss-po
| rtal-ha.sar/conf/hibernate/user/hibernate.cfg.xml
| 21:56:17,372 INFO [Configuration] Reading mappings from resource: conf/hibernate/user/domain.hbm.xml
| 21:56:17,435 INFO [HbmBinder] Mapping class: org.jboss.portal.identity.db.UserImpl -> jbp_users
| 21:56:17,451 INFO [HbmBinder] Mapping collection: org.jboss.portal.identity.db.UserImpl.dynamic -> jbp_user_prop
| 21:56:17,466 INFO [HbmBinder] Mapping collection: org.jboss.portal.identity.db.UserImpl.roles -> jbp_role_membership
| 21:56:17,466 INFO [HbmBinder] Mapping class: org.jboss.portal.identity.db.RoleImpl -> jbp_roles
| 21:56:17,466 INFO [HbmBinder] Mapping collection: org.jboss.portal.identity.db.RoleImpl.users -> jbp_role_membership
| 21:56:17,466 INFO [Configuration] Configured SessionFactory: null
| 21:56:17,497 INFO [Configuration] configuring from url: file:/D:/CLUSTERPOC/jboss-4.0.4.GA/server/ports-01/deploy/jboss-po
| rtal-ha.sar/conf/hibernate/instance/hibernate.cfg.xml
| 21:56:17,513 INFO [Configuration] Reading mappings from resource: conf/hibernate/instance/domain.hbm.xml
| 21:56:17,544 INFO [HbmBinder] Mapping class: org.jboss.portal.core.impl.model.instance.InstanceImpl -> JBP_INSTANCE
| 21:56:17,576 INFO [HbmBinder] Mapping class: org.jboss.portal.core.impl.model.instance.UserInstance -> JBP_INSTANCE_PER_US
| ER
| 21:56:17,747 INFO [HbmBinder] Mapping class: org.jboss.portal.core.impl.model.instance.InstanceSecurityBinding -> JBP_INST
| ANCE_SECURITY
| 21:56:17,763 INFO [HbmBinder] Mapping collection: org.jboss.portal.core.impl.model.instance.InstanceSecurityBinding.action
| s -> JBP_INSTANCE_SECURITY_ACTIONS
| 21:56:17,763 INFO [Configuration] Configured SessionFactory: null
| 21:56:17,794 INFO [Configuration] configuring from url: file:/D:/CLUSTERPOC/jboss-4.0.4.GA/server/ports-01/deploy/jboss-po
| rtal-ha.sar/conf/hibernate/portal/hibernate.cfg.xml
| 21:56:17,794 INFO [Configuration] Reading mappings from resource: conf/hibernate/portal/domain.hbm.xml
| 21:56:17,841 INFO [HbmBinder] Mapping class: org.jboss.portal.core.impl.model.portal.ObjectNode -> JBP_OBJECT_NODE
| 21:56:17,857 INFO [HbmBinder] Mapping class: org.jboss.portal.core.impl.model.portal.PortalObjectImpl -> JBP_PORTAL_OBJECT
|
| 21:56:17,857 INFO [HbmBinder] Mapping collection: org.jboss.portal.core.impl.model.portal.PortalObjectImpl.declaredPropert
| ies -> JBP_PORTAL_OBJECT_PROPS
| 21:56:17,966 INFO [HbmBinder] Mapping joined-subclass: org.jboss.portal.core.impl.model.portal.ContextImpl -> JBP_CONTEXT
| 21:56:17,966 INFO [HbmBinder] Mapping joined-subclass: org.jboss.portal.core.impl.model.portal.PortalImpl -> JBP_PORTAL
| 21:56:17,966 INFO [HbmBinder] Mapping collection: org.jboss.portal.core.impl.model.portal.PortalImpl.modes -> JBP_PORTAL_M
| ODE
| 21:56:17,966 INFO [HbmBinder] Mapping collection: org.jboss.portal.core.impl.model.portal.PortalImpl.windowStates -> JBP_P
| ORTAL_WINDOW_STATE
| 21:56:17,982 INFO [HbmBinder] Mapping joined-subclass: org.jboss.portal.core.impl.model.portal.PageImpl -> JBP_PAGE
| 21:56:17,982 INFO [HbmBinder] Mapping joined-subclass: org.jboss.portal.core.impl.model.portal.WindowImpl -> JBP_WINDOW
| 21:56:17,982 INFO [HbmBinder] Mapping class: org.jboss.portal.core.impl.model.portal.ObjectNodeSecurityConstraint -> JBP_O
| BJECT_NODE_SEC
| 21:56:17,997 INFO [HbmBinder] Mapping collection: org.jboss.portal.core.impl.model.portal.ObjectNodeSecurityConstraint.act
| ions -> JBP_OBJECT_NODE_SEC_ACTIONS
| 21:56:17,997 INFO [Configuration] Configured SessionFactory: null
| 21:56:18,029 INFO [Configuration] configuring from url: file:/D:/CLUSTERPOC/jboss-4.0.4.GA/server/ports-01/deploy/jboss-po
| rtal-ha.sar/conf/hibernate/portlet/hibernate.cfg.xml
| 21:56:18,044 INFO [Configuration] Reading mappings from resource: conf/hibernate/portlet/domain.hbm.xml
| 21:56:18,060 INFO [HbmBinder] Mapping class: org.jboss.portal.core.impl.portlet.state.PersistentState -> JBP_PORTLET_STATE
|
| 21:56:18,076 INFO [HbmBinder] Mapping class: org.jboss.portal.core.impl.portlet.state.PersistentStateEntry -> JBP_PORTLET_
| STATE_ENTRY
| 21:56:18,076 INFO [HbmBinder] Mapping collection: org.jboss.portal.core.impl.portlet.state.PersistentStateEntry.strings ->
| JBP_PORTLET_STATE_ENTRY_VALUE
| 21:56:18,076 INFO [Configuration] Configured SessionFactory: null
| 21:56:18,107 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=Port
| alDS' to JNDI name 'java:PortalDS'
| 21:56:18,419 INFO [NamingHelper] JNDI InitialContext properties:{}
| 21:56:18,419 INFO [DatasourceConnectionProvider] Using datasource: java:PortalDS
| 21:56:18,435 INFO [SettingsFactory] RDBMS: Microsoft SQL Server, version: 8.00.2039
| 21:56:18,435 INFO [SettingsFactory] JDBC driver: Microsoft SQL Server 2005 JDBC Driver, version: 1.0.809.102
| 21:56:18,482 INFO [Dialect] Using dialect: org.hibernate.dialect.SQLServerDialect
| 21:56:18,513 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.transaction.JTATransactionFactory
| 21:56:18,529 INFO [NamingHelper] JNDI InitialContext properties:{}
| 21:56:18,529 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBos
| sTransactionManagerLookup
| 21:56:18,544 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
| 21:56:18,544 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBos
| sTransactionManagerLookup
| 21:56:18,560 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
| 21:56:18,560 INFO [SettingsFactory] Automatic flush during beforeCompletion(): enabled
| 21:56:18,560 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
| 21:56:18,560 INFO [SettingsFactory] Scrollable result sets: enabled
| 21:56:18,576 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
| 21:56:18,576 INFO [SettingsFactory] Connection release mode: auto
| 21:56:18,576 INFO [SettingsFactory] Default batch fetch size: 1
| 21:56:18,576 INFO [SettingsFactory] Generate SQL with comments: disabled
| 21:56:18,576 INFO [SettingsFactory] Order SQL updates by primary key: disabled
| 21:56:18,591 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
| 21:56:18,622 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
| 21:56:18,622 INFO [SettingsFactory] Query language substitutions: {}
| 21:56:18,622 INFO [SettingsFactory] Second-level cache: disabled
| 21:56:18,622 INFO [SettingsFactory] Query cache: disabled
| 21:56:18,638 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
| 21:56:18,638 INFO [SettingsFactory] Structured second-level cache entries: disabled
| 21:56:18,654 INFO [SettingsFactory] Statistics: disabled
| 21:56:18,654 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
| 21:56:18,669 INFO [SettingsFactory] Default entity-mode: pojo
| 21:56:18,747 INFO [SessionFactoryImpl] building session factory
| 21:56:19,747 WARN [UDP] discarded message from different group (TreeCache-Group). Sender was PCIIB06854:4759
| 21:56:19,779 WARN [UDP] discarded message from different group (portal.hibernate). Sender was PCIIB06854:4762
| 21:56:20,201 INFO [SessionFactoryObjectFactory] Factory name: java:/portal/cms/CMSSessionFactory
| 21:56:20,201 INFO [NamingHelper] JNDI InitialContext properties:{}
| 21:56:20,216 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name: java:/portal/cms/CMSSessionFactory
| 21:56:20,216 WARN [SessionFactoryObjectFactory] InitialContext did not implement EventContext
| 21:56:20,216 INFO [NamingHelper] JNDI InitialContext properties:{}
| 21:56:21,107 INFO [HAJCRCMS] Starting JCR CMS
| 21:56:21,326 WARN [UDP] discarded message from different group (TreeCache-Group). Sender was PCIIB06854:4759
| 21:56:21,357 INFO [RepositoryImpl] Starting repository...
| 21:56:22,122 INFO [RepositoryImpl] initializing workspace 'default'...
| 21:56:22,122 ERROR [RepositoryImpl] Failed to initialize workspace 'default'
| javax.jcr.RepositoryException: Cannot instantiate persistence manager org.jboss.portal.cms.hibernate.state.JBossCachePersis
| tenceManager: Configured bean implementation class org.jboss.portal.cms.hibernate.state.JBossCachePersistenceManager was no
| t found.: No ClassLoaders found for: org.jboss.portal.cms.hibernate.state.JBossCachePersistenceManager: Configured bean imp
| lementation class org.jboss.portal.cms.hibernate.state.JBossCachePersistenceManager was not found.: No ClassLoaders found f
| or: org.jboss.portal.cms.hibernate.state.JBossCachePersistenceManager: No ClassLoaders found for: org.jboss.portal.cms.hibe
| rnate.state.JBossCachePersistenceManager
| at org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1035)
| at org.apache.jackrabbit.core.RepositoryImpl.access$500(RepositoryImpl.java:83)
| at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(RepositoryImpl.java:1509)
| at org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.java:502)
| at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:244)
| at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:483)
| at org.jboss.portal.cms.impl.jcr.jackrabbit.JackrabbitJCRService.start(JackrabbitJCRService.java:102)
| at org.jboss.portal.cms.impl.jcr.JCRCMS.startJCR(JCRCMS.java:200)
| at org.jboss.portal.cms.impl.jcr.JCRCMS.startService(JCRCMS.java:167)
| at org.jboss.portal.cms.impl.jcr.ha.HAJCRCMS.startSingleton(HAJCRCMS.java:98)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy31.startSingleton(Unknown Source)
| at org.jboss.portal.jems.ha.HASingletonInvoker.startSingleton(HASingletonInvoker.java:208)
| at org.jboss.ha.singleton.HASingletonSupport.makeThisNodeMaster(HASingletonSupport.java:197)
| at org.jboss.ha.singleton.HASingletonSupport.partitionTopologyChanged(HASingletonSupport.java:133)
| at org.jboss.ha.jmx.HAServiceMBeanSupport$1.replicantsChanged(HAServiceMBeanSupport.java:243)
| at org.jboss.ha.framework.server.DistributedReplicantManagerImpl.notifyKeyListeners(DistributedReplicantManagerImpl
| .java:844)
| at org.jboss.ha.framework.server.DistributedReplicantManagerImpl.add(DistributedReplicantManagerImpl.java:408)
| at org.jboss.ha.jmx.HAServiceMBeanSupport.registerDRMListener(HAServiceMBeanSupport.java:251)
| at org.jboss.ha.jmx.HAServiceMBeanSupport.startService(HAServiceMBeanSupport.java:173)
| at org.jboss.portal.jems.ha.HASingletonInvoker.startService(HASingletonInvoker.java:187)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy4.start(Unknown Source)
| at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy111.start(Unknown Source)
| at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
| at sun.reflect.GeneratedMethodAccessor72.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy9.deploy(Unknown Source)
| at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy4.start(Unknown Source)
| at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
| at org.jboss.Main.boot(Main.java:200)
| at org.jboss.Main$1.run(Main.java:464)
| at java.lang.Thread.run(Thread.java:595)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996675#3996675
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996675
19 years, 7 months
[Installation, Configuration & Deployment] - netboot with apache server
by danyel.ceccaldi
I installed JBoss 4 and 5 using JDK 1.5 and 1.6, and having an unzipped jboss distribution in an apache served DAV-enabled directory.
But the startup fails to deploy any service that is not an xml file.
I presume my webdav configuration could be broken, or netboot support is broken, or another thing I struggle to find.
Can anyone help, what the problem might be?
sh run.sh --netboot=http://localhost/dav/jboss-4.0.5.GA/
...
17:10:18,981 INFO [ServerInfo] Java version: 1.6.0,Sun Microsystems Inc.
17:10:18,981 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.6.0-b105,Sun Microsystems Inc.
17:10:18,981 INFO [ServerInfo] OS-System: Linux 2.6.18.2-34-xen,i386
...
17:10:36,144 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
17:10:36,167 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- Packages waiting for a deployer ---
org.jboss.deployment.DeploymentInfo@d54c0ea2 { url=http://geek1/dav/jboss-4.0.5.GA/server/default2/deploy/jboss-aop.deployer/ }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: http://geek1/dav/jboss-4.0.5.GA/server/default2/deploy/jboss-aop.deployer/
altDD: null
lastDeployed: 1167325830899
lastModified: 1167325829000
mbeans:
org.jboss.deployment.DeploymentInfo@ccbc7c76 { url=http://geek1/dav/jboss-4.0.5.GA/server/default2/deploy/jboss-bean.deployer/ }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: http://geek1/dav/jboss-4.0.5.GA/server/default2/deploy/jboss-bean.deployer/
altDD: null
lastDeployed: 1167325830900
lastModified: 1167325829000
mbeans:
....... many more not deployed services .....
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996666#3996666
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996666
19 years, 7 months
[JBoss Seam] - Re: selectItems+ajax4jsf
by gllambi
"atzbert" wrote : Are there any news here? I experienced this issue now twice, with ajax4jsf and icefaces... :(
After some work, I found a solution to the problem. It isn't from the selectItem tag. It is a problem of using ajax4jsf with jsf and seam together.
To make it work you must use the region and page ajax4jsf's tags.
The tag page must go after the jsf view tag. This is due a problem of ajax4jsf and myfaces. More explanation of this is found in the ajax4jsf page.
Then put the combo between the region tag. If you want to refresh something outside of the region, you have to set the option renderRegionOnly to false
Here is the code that worked for me.
| <f:view>
| <a4j:page>
| <h:outputText id="titulo" value="#{msg.titulo_registro}" />
| <h:form id="formRegistro">
| <a4j:outputPanel id="mensajesErrorPanel" styleClass="error">
| <div><h:messages id="mensajesError" /></div>
| </a4j:outputPanel>
| <s:validateAll>
| <h:panelGrid id="panelGrid" columns="2">
| <h:outputText id="etiquetaUsuario" value="#{msg.socio}" />
| <a4j:region id="regionUsuario">
| <s:decorate>
| <h:inputText id="inputUsuario" value="#{cliente.usuario}"
| size="30" required="true">
| <a4j:support id="soporteAjaxUsuario" event="onblur"
| reRender="errorUsuario" />
| </h:inputText>
| <a4j:outputPanel id="errorUsuario" styleClass="error">
| <s:message id="mensajeErrorUsuario" />
| </a4j:outputPanel>
| </s:decorate>
| </a4j:region>
| <h:outputText id="etiquetaContraseña" value="#{msg.contraseña}" />
| <a4j:region id="regionContraseña">
| <s:decorate>
| <h:inputText id="inputContraseña" value="#{cliente.pwd}"
| size="30" required="true">
| <a4j:support id="soporteAjaxContraseña" event="onblur"
| reRender="errorPassword" />
| </h:inputText>
| <a4j:outputPanel id="errorPassword" styleClass="error">
| <s:message id="mensajeErrorContraseña" />
| </a4j:outputPanel>
| </s:decorate>
| </a4j:region>
| <h:outputText id="etiquetaPais" value="#{msg.pais}" />
| <a4j:region id="regionPaises" renderRegionOnly="false">
| <s:decorate>
| <h:selectOneMenu id="seleccionarPais"
| converter="#{registro.countryConverter}" required="true"
| value="#{cliente.country}">
| <si:selectItems value="#{paises}" var="pais"
| label="#{pais.countryCode}"
| noSelectionLabel="#{msg.selecionePais}" hideNoSelection="true"></si:selectItems>
| <a4j:outputPanel id="errorPais" styleClass="error">
| <s:message id="mensajeErrorPais" />
| </a4j:outputPanel>
| <a4j:support id="soporteAjaxPais" event="onchange"
| reRender="seleccionarEstado, mensajeErrorPais"
| action="#{registro.cambiarEstados}" />
| </h:selectOneMenu>
| </s:decorate>
| </a4j:region>
| <h:outputText id="etiquetaEstado" value="#{msg.estado}" />
| <a4j:region id="regionEstados">
| <h:selectOneMenu id="seleccionarEstado"
| converter="#{registro.stateConverter}" value="#{cliente.state}">
| <si:selectItems value="#{estados}" var="estado"
| label="#{estado.stateCode}"
| noSelectionLabel="#{msg.seleccioneEstado}"
| hideNoSelection="true"></si:selectItems>
| </h:selectOneMenu>
| </a4j:region>
| </h:panelGrid>
| <a4j:commandButton id="botonAjax" value="Ajax #{msg.registrarse}"
| action="#{registro.registrarse}"
| reRender="formRegistro:mensajesErrorPanel"></a4j:commandButton>
| </s:validateAll>
| </h:form>
| </a4j:page>
| </f:view>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996665#3996665
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996665
19 years, 7 months
[JBoss AOP] - HotSwap in JBoss AS
by fabiocsilva
This code is enough for hotswap to function in the JBoss Application Server ?
| # Setup JBoss sepecific properties
|
| #JAVA_OPTS="-Dprogram.name=$PROGNAME $JAVA_OPTS -javaagent:/opt/jboss/bin/aspectjweaver.jar"
|
| JAVA_OPTS="-Dprogram.name=$PROGNAME $JAVA_OPTS -javaagent:/opt/jboss/bin/pluggable-instrumentor.jar=-hotSwap"
|
|
The code below run normally but the pointcut introduced does not have effect
| try {
|
| AdviceBinding binding = new AdviceBinding("call(public $instanceof{aspects.dataManagement.util.SystemRecord}->new(..))"+
|
| "AND !within($instanceof{aspects.dataManagement.AbstractDataCollectionCustomization})", null);
|
| binding.addInterceptor(SimpleInterceptor.class);
|
| AspectManager.instance().addBinding(binding);
|
| System.out.println("sucess");
|
| } catch (ParseException e) {
|
| // TODO Auto-generated catch block
|
| e.printStackTrace();
|
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996664#3996664
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996664
19 years, 7 months
[JBoss Seam] - Re: how to force Logging for page access ??
by waheed.murad
i cannot understood hitting page directly . if you mean that i am accessing by typing URL in the browser then it works fine it goes to login page(as i am not logged in) but when a login and goes to admin page given below and try to access the sceretquestion.jsp it still goes to login page.
i have cleared all the navigations from faces-config.xml and i only have one action as told before in my pages.xml
here is my jsf page:
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://jboss.com/products/seam/taglib" prefix="s" %>
Administrator Console
<f:view>
<h:form>
<h:commandButton id="secquestion" value="Secret Question" action="/secretquestions.jsp"/> <h:commandButton id="pricingops" value="Pricing Options" action="/pricingoptions.jsp"/>
<h:commandButton id="organization" value="Organizations" action="/customerorganizations.jsp"/>
<h:commandButton id="categories" value="Categories" action=""/>
<h:commandButton id="role" value="Roles" action="/roles.jsp"/>
<h:commandButton id="privileges" value="Privileges" action="/privileges.jsp"/>
<h:commandButton id="paymodes" value="Payment Modes" action=""/>
<h:commandButton id="currencies" value="Currencies" action=""/>
</h:form>
</f:view>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996663#3996663
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996663
19 years, 7 months