[JBoss Portal] - Portal/CMS Exceptions in 2.6-ALPHA1 when creating new html p
by freeportpa
I'm trying to get the portal with cms working and have run in to an exception that appears to be a bug. I have ot use the 2.6 version because I want to have different CMS regions on different pages with different content and I saw that this is possible in this release. I just tried it again by just downloading the portal / as bundle, unzipped it, launched it and then:
1) Create a new folder under the CMS root (that worked fine)
2) Create a new file named index.html in this folder (this is where the exceptions begin).
Information:
Version: 2.6-ALPHA1
Downloaded bundle
Integrated database
Windows XP Pro
The exception appears to be:
Caused by: org.jboss.portal.cms.CMSException: Cannot mark the content as "Live"
at org.jboss.portal.cms.impl.jcr.util.VersionUtil.createContentVersion(VersionUtil.java:91)
at org.jboss.portal.cms.impl.jcr.util.VersionUtil.createVersion(VersionUtil.java:63)
at org.jboss.portal.cms.impl.jcr.command.ContentCreateNewVersionCommand.execute(ContentCreateNewVersionCommand.java:137)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005598#4005598
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005598
19 years, 3 months
[JBoss Seam] - How to automatically end a conversation if fail to click @En
by gus888
Hi,
I still cannot figure out how to let system automatically end a conversation if I accidentally click an action other than the @End action. The conversation is as followings:
@Begin
| public String createInstance() {
| ...
| return "page1";
| }
|
| @End
| public String create() {
| ...
| return "page2";
| }
If I click @Begin, then accidentally click other action(not the @End). When I come back, and click @Begin again, I always get the following exceptions. It seems that the previous conversation is still there. Anybody can give me some guidance? I really appreciate it.
javax.ejb.EJBTransactionRolledbackException: java.lang.IllegalStateException: begin method invoked from a long running conversation, try using @Begin(join=true)
| at org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:93)
| at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130)
| at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:201)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:83)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
| at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:131)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:203)
| at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
| at $Proxy134.createInstance(Unknown Source)
| at com.cvn.controller.common.BaseEditor$$FastClassByCGLIB$$f0d46.invoke(<generated>)
| at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
| at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
| at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:74)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
| at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:40)
| at sun.reflect.GeneratedMethodAccessor186.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.java:39)
| at sun.reflect.GeneratedMethodAccessor158.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144)
| at org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
| at org.jboss.seam.intercept.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.java:83)
| at org.jboss.seam.intercept.ClientSideInterceptor.intercept(ClientSideInterceptor.java:52)
| at org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$3e3ab2d1.createInstance(<generated>)
| 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 com.sun.el.parser.AstValue.invoke(AstValue.java:151)
| at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
| at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
| at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69)
| at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
| at javax.faces.component.UICommand.broadcast(UICommand.java:106)
| at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94)
| at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:136)
| at org.apache.myfaces.lifecycle.LifecycleImpl.applyRequestValues(LifecycleImpl.java:219)
| at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:71)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at com.cvn.custom.util.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:132)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 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.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.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| 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)
| Caused by: java.lang.IllegalStateException: begin method invoked from a long running conversation, try using @Begin(join=true)
| at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:43)
| at sun.reflect.GeneratedMethodAccessor161.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:27)
| at sun.reflect.GeneratedMethodAccessor160.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144)
| at org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
| at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:50)
| at sun.reflect.GeneratedMethodAccessor159.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
| at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
| ... 84 more
| 21:39:45,703 INFO [ExtensionsFilter] Do filter.....
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005596#4005596
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005596
19 years, 3 months
[JBossWS] - NullCountedPointer exception from WSDL11Reader
by wpower
I am trying to migrate an Axis based web service to JBoss. JBossws fails processing the existing web services .wsdl file. The problem is caused by the <wsdl:fault > tag. Does anyone know if there is a fix for this problem.
Error message:
20:39:44,590 WARN [WSDL11Reader] Unsupported fault message part in message: {http://www.testnet.com/test/intf}ProvApiException
20:39:44,600 WARN [WSDL11Reader] Unsupported fault message part in message: {http://www.testnet.com/test/intf}ProvApiException
Exception in thread "main" java.lang.NullPointerException
at org.jboss.ws.metadata.wsdl.WSDL11Reader.processOperationInput(WSDL11Reader.java:474)
at org.jboss.ws.metadata.wsdl.WSDL11Reader.processPortTypeOperations(WSDL11Reader.java:460)
at org.jboss.ws.metadata.wsdl.WSDL11Reader.processPortType(WSDL11Reader.java:446)
at org.jboss.ws.metadata.wsdl.WSDL11Reader.processBinding(WSDL11Reader.java:728)
at org.jboss.ws.metadata.wsdl.WSDL11Reader.processPort(WSDL11Reader.java:1071)
at org.jboss.ws.metadata.wsdl.WSDL11Reader.processPorts(WSDL11Reader.java:1054)
at org.jboss.ws.metadata.wsdl.WSDL11Reader.processServices(WSDL11Reader.java:1027)
at org.jboss.ws.metadata.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:119)
at org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:145)
at org.jboss.ws.tools.WSDLToJava.convertWSDL2Java(WSDLToJava.java:120)
at org.jboss.ws.tools.helpers.ToolsHelper.handleWSDLToJavaGeneration(ToolsHelper.java:324)
at org.jboss.ws.tools.WSTools.process(WSTools.java:138)
at org.jboss.ws.tools.WSTools.generate(WSTools.java:120)
at org.jboss.ws.tools.WSTools.main(WSTools.java:61)
.wsdl file
<?xml version="1.0" encoding="UTF-8"?>
| <!--"V06.01.02R000""Patch 1"-->
| <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://www.testnet.com/test/intf" xmlns:intf="http://www.testnet.com/test/intf" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="http://www.testnet.com/test/model" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.testnet.com/test/intf">
| <wsdl:types>
| <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.testnet.com/test/model"><import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
| <complexType name="ManagedEntityKey">
| <sequence/>
| </complexType>
|
| <complexType name="ProvApiException">
| <sequence>
| <element name="errorCode" nillable="true" type="xsd:string"/>
| <element name="message" nillable="true" type="xsd:string"/>
| <element name="rootCause" nillable="true" type="xsd:string"/>
| </sequence>
| </complexType>
|
| <complexType name="SubscriberKey">
| <complexContent>
| <extension base="tns1:ManagedEntityKey">
| <sequence>
| <element name="subscriberId" nillable="true" type="xsd:string"/>
| <element name="countryId" nillable="true" type="xsd:string"/>
| <element name="owningCarrierId" nillable="true" type="xsd:string"/>
| </sequence>
| </extension>
| </complexContent>
| </complexType>
|
| </schema></wsdl:types>
|
| <wsdl:message name="createResponse">
|
| </wsdl:message>
|
| <wsdl:message name="createResponse1">
|
| </wsdl:message>
|
| <wsdl:message name="createRequest1">
|
| <wsdl:part name="in0" type="xsd:string"/>
|
| <wsdl:part name="in1" type="impl:ArrayOf_tns1_ManagedEntityValue"/>
|
| <wsdl:part name="in2" type="xsd:boolean"/>
|
| </wsdl:message>
|
| <wsdl:message name="ProvApiException">
|
| <wsdl:part name="fault" type="tns1:ProvApiException"/>
|
| </wsdl:message>
|
| <wsdl:portType name="API">
|
| <wsdl:operation name="create" parameterOrder="in0 in1">
|
| <wsdl:input message="impl:createRequest" name="createRequest"/>
|
| <wsdl:output message="impl:createResponse" name="createResponse"/>
|
| <wsdl:fault message="impl:ProvApiException" name="ProvApiException"/>
|
| </wsdl:operation>
|
| <wsdl:operation name="create" parameterOrder="in0 in1 in2">
|
| <wsdl:input message="impl:createRequest1" name="createRequest1"/>
|
| <wsdl:output message="impl:createResponse1" name="createResponse1"/>
|
| <wsdl:fault message="impl:ProvApiException" name="ProvApiException"/>
|
| </wsdl:operation>
|
| </wsdl:portType>
|
| <wsdl:binding name="APISoapBinding" type="impl:API">
|
| <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
|
| <wsdl:operation name="create">
|
| <wsdlsoap:operation soapAction=""/>
|
| <wsdl:input name="createRequest">
|
| <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://www.testnet.com/test/intfintf" use="encoded"/>
|
| </wsdl:input>
|
| <wsdl:output name="createResponse">
|
| <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://www.testnet.com/test/intfintf" use="encoded"/>
|
| </wsdl:output>
|
| <wsdl:fault name="ProvApiException">
|
| <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://www.testnet.com/test/intfintf" use="encoded"/>
|
| </wsdl:fault>
|
| </wsdl:operation>
|
| <wsdl:operation name="create1">
|
| <wsdlsoap:operation soapAction=""/>
|
| <wsdl:input name="createRequest1">
|
| <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://www.testnet.com/test/intfintf" use="encoded"/>
|
| </wsdl:input>
|
| <wsdl:output name="createResponse1">
|
| <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://www.testnet.com/test/intfintf" use="encoded"/>
|
| </wsdl:output>
|
| <wsdl:fault name="ProvApiException">
|
| <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://www.testnet.com/test/intfintf" use="encoded"/>
|
| </wsdl:fault>
|
| </wsdl:operation>
|
| </wsdl:binding>
|
| <wsdl:service name="Service">
|
| <wsdl:port binding="impl:APISoapBinding" name="APIPort">
|
| <wsdlsoap:address location="http://localhost:8080/API"/>
|
| </wsdl:port>
|
| </wsdl:service>
|
| </wsdl:definitions>
|
|
| [/code]
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005595#4005595
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005595
19 years, 3 months
[JBoss Eclipse IDE (users)] - Issue with JBoss IDE 2.0 Beta with Eclipse 3.2.1
by manojpn
Operating system : OpenSuse 10.2 X86_64
Java version: JDK 1.5 (1.5.0_10-b03) 64 Bit
Eclipse version: 3.2.1+ Webtools 1.5.1
JBoss-IDE version : 2.0 Beta
JBoss Sever version : jboss-4.0.5.GA
I setup the Server runtime using the JBoss Inc entry for Jboss 4.0 server. I enabled the Server view to display the JBoss Inc. Server view in Eclipse. I configure it to point to my local JBoss server directory. Then right click and start the server. Server start ups (console displays Server started message)
but it takes a long time (more than 5-8 mins) for the status to change to Started (says starting) in the server view. Is this normal ? Once the status change to started, right click on sever and say stop and I get the following stack trace message in the console. I have included the server startup log below the stack trace .
Exception in thread "main" java.lang.SecurityException: Failed to authenticate principal=null, securityDomain=jmx-console
at org.jboss.jmx.connector.invoker.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:97)
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.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:179)
at sun.reflect.GeneratedMethodAccessor84.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.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:819)
at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:420)
at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
at java.lang.Thread.run(Thread.java:595)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:133)
at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:365)
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:197)
at org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor.invoke(InvokerAdaptorClientInterceptor.java:66)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
at org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:74)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
at $Proxy0.invoke(Unknown Source)
at org.jboss.Shutdown$ServerProxyHandler.invoke(Shutdown.java:266)
at $Proxy1.shutdown(Unknown Source)
at org.jboss.Shutdown.main(Shutdown.java:237)
JBoss Server Startup log shown in eclipse console follows :
22:30:06,382 INFO [Server] Starting JBoss (MX MicroKernel)...
22:30:06,388 INFO [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)
22:30:06,389 INFO [Server] Home Dir: /work/java-dev/jboss-4.0.5.GA
22:30:06,389 INFO [Server] Home URL: file:/work/java-dev/jboss-4.0.5.GA/
22:30:06,390 INFO [Server] Patch URL: null
22:30:06,391 INFO [Server] Server Name: default
22:30:06,391 INFO [Server] Server Home Dir: /work/java-dev/jboss-4.0.5.GA/server/default
22:30:06,391 INFO [Server] Server Home URL: file:/work/java-dev/jboss-4.0.5.GA/server/default/
22:30:06,424 INFO [Server] Server Log Dir: /work/java-dev/jboss-4.0.5.GA/server/default/log
22:30:06,425 INFO [Server] Server Temp Dir: /work/java-dev/jboss-4.0.5.GA/server/default/tmp
22:30:06,454 INFO [Server] Root Deployment Filename: jboss-service.xml
22:30:08,506 INFO [ServerInfo] Java version: 1.5.0_10,Sun Microsystems Inc.
22:30:08,507 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 1.5.0_10-b03,Sun Microsystems Inc.
22:30:08,508 INFO [ServerInfo] OS-System: Linux 2.6.18.2-34-default,amd64
22:30:11,179 INFO [Server] Core system initialized
22:30:17,609 INFO [WebService] Using RMI server codebase: http://localhost:8083/
22:30:17,631 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
22:30:27,168 INFO [SocketServerInvoker] Invoker started for locator: InvokerLocator [socket://127.0.0.1:3873/]
22:30:40,861 INFO [ServiceEndpointManager] WebServices: jbossws-1.0.3.SP1 (date=200609291417)
22:30:43,073 INFO [SnmpAgentService] SNMP agent going active
22:30:48,600 INFO [CorbaNamingService] Naming: [IOR:000000000000002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E3000000000000200000000000000E0000102000000000A3132372E302E302E31000DC8000000114A426F73732F4E616D696E672F726F6F74000000000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000005C000000000000000100000000000000240000001C0000007E00000000000000010000000A3132372E302E302E32000DC900400000000000000000001004010008060667810201010100000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
22:30:49,320 INFO [CorbaTransactionService] TransactionFactory: [IOR:000000000000003049444C3A6F72672F6A626F73732F746D2F69696F702F5472616E73616374696F6E466163746F72794578743A312E30000000000200000000000000E0000102000000000A3132372E302E302E31000DC8000000144A426F73732F5472616E73616374696F6E732F46000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000005C000000000000000100000000000000240000001C0000007E00000000000000010000000A3132372E302E302E32000DC900400000000000000000001004010008060667810201010100000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
22:30:53,064 INFO [Embedded] Catalina naming disabled
22:30:53,124 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
22:30:53,127 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
22:30:54,729 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
22:30:54,734 INFO [Catalina] Initialization processed in 1606 ms
22:30:54,735 INFO [StandardService] Starting service jboss.web
22:30:54,738 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.20
22:30:54,773 INFO [StandardHost] XML validation disabled
22:30:54,825 INFO [Catalina] Server startup in 91 ms
22:30:55,233 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
22:30:55,667 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
22:30:57,953 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
22:30:59,940 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp12020jbossws-context-exp.war/
22:31:00,916 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
22:31:06,775 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
22:31:09,677 INFO [MailService] Mail Service bound to java:/Mail
22:31:11,534 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
22:31:11,685 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
22:31:11,710 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
22:31:11,895 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
22:31:12,866 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
22:31:13,785 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
22:31:13,901 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
22:31:13,910 INFO [QuartzResourceAdapter] start quartz!!!
22:31:13,974 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
22:31:14,024 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
22:31:14,041 INFO [RAMJobStore] RAMJobStore initialized.
22:31:14,043 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
22:31:14,043 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
22:31:14,044 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
22:31:18,593 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
22:31:19,809 INFO [A] Bound to JNDI name: queue/A
22:31:19,812 INFO [B] Bound to JNDI name: queue/B
22:31:19,814 INFO [C] Bound to JNDI name: queue/C
22:31:19,817 INFO [D] Bound to JNDI name: queue/D
22:31:19,819 INFO [ex] Bound to JNDI name: queue/ex
22:31:19,841 INFO [testTopic] Bound to JNDI name: topic/testTopic
22:31:19,844 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
22:31:19,847 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
22:31:19,852 INFO [testQueue] Bound to JNDI name: queue/testQueue
22:31:20,321 INFO [UILServerILService] JBossMQ UIL service available at : localhost/127.0.0.1:8093
22:31:21,032 INFO [DLQ] Bound to JNDI name: queue/DLQ
22:31:21,660 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
22:31:23,758 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
22:31:26,895 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
22:31:27,907 INFO [ChannelSocket] JK: ajp13 listening on localhost/127.0.0.1:8009
22:31:28,152 INFO [JkMain] Jk running ID=0 time=0/262 config=null
22:31:28,270 INFO [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 1m:21s:814ms
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005593#4005593
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005593
19 years, 3 months
[JBoss Seam] - Re: iText (PDF) support in Seam
by spambob
Hello Norman,
congratulation on your PDF library!
While I partially agree that PDF Forms are nice I run in some problems with them (while using iText):
1. One isn't able to format the label & the inputfield
2. The input is always displayed in some typewriter font
(Please correct me if I'm wrong on any of this ;))
What I would like to have is more like the PDFStamper (if I remember iText correctly).
I.e. I have a ISO letter and then fill in the content (address, text, ...) by using tags that give me the possiblity to set the margin in X & Y axis, the width, the font, ..., and a footer after I'm done ;)
This way one could create a PDF with whatever method and latter "stamp" it with the actual content.
More exactly: extend your current library with a tag that sets the font, exact distance from left & upper paper border, textwidth, ... and perhaps some nice paragraph braking (so that there isn't only a single line on the next page).
This would really save me some time instead of accessing the content via iText direct writer!
What do you think of it?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005587#4005587
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005587
19 years, 3 months
[JBoss Seam] - Object cached when page parameter not specified
by fabio.ita04
Hi,
According to Seam App Framework documentation, "when we link to the page with no request parameter, the Create page will be displayed".
But, the behavior I'm really getting is: when clicking "new" button for the first time, a new entity is created. So I click back button, and choose (in a list) a saved entity to edit. Click back button again, and click new button. Here, instead of having a new entity, the page displays the last edited entity.
A) pages.xml
| <page view-id="/edit.xhtml">
| <param name="id" value="#{home.id}"
| converterId="javax.faces.Long" />
| </page>
|
B) index.xhtml
| B1) New Button:
| <s:link view="/edit.xhtml" value="#{messages.new}" propagation="begin" />
|
B2) Edit Button:
| <s:link view="/edit.xhtml" value="#{entity.name}" propagation="begin">
| <f:param name="id" value="#{entity.id}" />
| </s:link>
|
Note: If I declare new button with id param, with no value, so the page is correctly displayed:
| <s:link view="/edit.xhtml" value="#{entity.name}" propagation="begin">
| <f:param name="id" />
| </s:link>
|
Is it the desired behavior?
Thanx in advance
Fabio.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005557#4005557
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005557
19 years, 3 months