[JBoss Seam] - Evaluating Seam
by ricardomarques
Hi Guys
I evaluating some tecnologies for start the development of a portal system, Seam ringed my bell because I want to use EJB I need to develop using componentes like in Faces.
But i recently develop my first seriouslly application in Faces and honestly i get disapointed by the way the navigation is handled and how we work around to work with GET and POST parameters, bean initialization and updated url's.
So does Seam enhance this? Can I work with GET and POST parameters easily?
On the ORM layer, for what I seen Seam uses EJB persistence, well i was thinking using persistence with Hibernate, just simple because I have so know-how about it, so Seam + EJB + hibernate is peacefull?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095720#4095720
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095720
18Â years, 9Â months
[JBoss Messaging] - Setting Queue Max size gives errors
by nkhadakk
Jboss AS 4.2.1/ JBM 1.3GA
I am attempting to set the 'MaxSize' of a Queue... such that all messages that come after the maxSize is reached are dropped.
Using the jmx-console to change this value from -1 to 1000 causes this error :
| .0.0.1-8088-1]: org.jboss.jms.server.destination.QueueService - Cannot change the value of associated server's ObjectName after initialization!
| 10:24:12,693 ERROR [http-127.0.0.1-8088-1]: STDERR - [Fatal Error] :2:24: XML document structures must start and end within the same entity.
| 10:24:12,695 ERROR [http-127.0.0.1-8088-1]: org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jmx-console].[HtmlAdaptor] - Servlet.service() for servlet HtmlAdaptor threw exception
| org.jboss.util.NestedRuntimeException: XML document structures must start and end within the same entity.; - nested throwable: (org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.)
| at org.jboss.util.propertyeditor.DocumentEditor.getAsDocument(DocumentEditor.java:88)
| at org.jboss.util.propertyeditor.ElementEditor.setAsText(ElementEditor.java:41)
| at org.jboss.util.propertyeditor.PropertyEditors.convertValue(PropertyEditors.java:260)
| at org.jboss.jmx.adaptor.control.Server.setAttributes(Server.java:190)
| at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.updateAttributes(HtmlA
|
If i attempt to set this value via the 'attribute' in the destinations xml file ...i get the error :
71 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
| 10:26:19,877 INFO [main]: org.jboss.ejb3.EJB3Deployer - Starting java:comp multiplexer
| 10:26:20,274 INFO [main]: org.jboss.system.ServiceConfigurator - Problem configuring service jboss.messaging.destination:service=Queue,name=UniversalResourceProcessingQueue
| org.jboss.deployment.DeploymentException: Exception setting attribute MaxSize = 10000 on mbean jboss.messaging.destination:service=Queue,name=UniversalResourceProcessingQueue; - nested throwable: (java.lang.NullPointerException)
| at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:698)
| at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:332)
| at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:460)
| at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
| at org.jboss.system.ServiceController.install(ServiceController.java:226)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
My Queue config is as follows :
<mbean code="org.jboss.jms.server.destination.QueueService"
| name="jboss.messaging.destination:service=Queue,name=UniversalResourceProcessingQueue"
| xmbean-dd="xmdesc/Queue-xmbean.xml">
| <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
| <depends>jboss.messaging:service=PostOffice</depends>
| <attribute name="MaxSize">10000</attribute>
| <attribute name="SecurityConfig">
| <security>
| <role name="guest" read="true" write="true"/>
| </security>
| </attribute>
| </mbean>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095718#4095718
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095718
18Â years, 9Â months
[JBoss jBPM] - Re: jPDL Designer 3.1.0SP1 and Eclipse 3.3: ClassCastExcepti
by Bish
Thanks for the responses.
First, I tried getting all of those dependencies. That's a lot of dependencies and downloads and must be a block to any non-eclipse-guru end user. Certainly put me off. And downloading them didn't fix the problem.
Second, I suspect a bug in the 3.2.2 suite download, and specifically in the designer 3.1.0SP1 plugin for Eclipse, as included in the suite 3.2.2 download.
I set up a little project and added the ui.jar file from jbpm-jpdl-3.2.2\designer\eclipse\plugins\org.jbpm.gd.jpdl_3.1.0.SP1 to the build path then set up the following class:
import org.jbpm.gd.common.model.GenericElement;
| import org.jbpm.gd.jpdl.model.ProcessDefinition;
|
|
| public class Play {
|
| public static void main(String[] args) {
|
| ProcessDefinition pd = new ProcessDefinition();
| GenericElement ge = (GenericElement)pd;
|
| }
| }
|
|
It gives me the following compile error:
anonymous wrote : Cannot cast from ProcessDefinition to GenericElement
|
Examining the classes in the ui.jar file, ProcessDefinition doesn't extend GenericElement (though they do share a common parent in org.jbpm.gd.common.model.AbstractSemanticElement) so unless I've gone soft in the head (entirely possible) or am missing some other vital piece of info (also entirely possible) I don't see how a cast from ProcessDefinition to GenericElement is ever going to work.
What does everyone else think. Am I going mad here?
Cheers,
Ian.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095717#4095717
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095717
18Â years, 9Â months
[Installation, Configuration & DEPLOYMENT] - Re: AS 4.2.1GA Hang at Starting recovery manager
by terryb
wondering anybody got a clue? will appreciate any idea.
it gets stuck as below, and cpu goes 100% on java.exe. I have upgraded java from 1.5 to 1.6 but same issue. on windows xp sp2.
C:\apps\jboss-4.2.1.GA\bin>run
| ===============================================================================
|
| JBoss Bootstrap Environment
|
| JBOSS_HOME: C:\apps\jboss-4.2.1.GA
|
| JAVA: C:\apps\Java\jdk1.6.0_03\bin\java
|
| JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.r
| mi.dgc.server.gcInterval=3600000
|
| CLASSPATH: C:\apps\Java\jdk1.6.0_03\lib\tools.jar;C:\apps\jboss-4.2.1.GA\bin\run.jar
|
| ===============================================================================
|
| 00:10:34,859 INFO [Server] Starting JBoss (MX MicroKernel)...
| 00:10:34,859 INFO [Server] Release ID: JBoss [Trinity] 4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=2007071316
| 05)
| 00:10:34,859 INFO [Server] Home Dir: C:\apps\jboss-4.2.1.GA
| 00:10:34,859 INFO [Server] Home URL: file:/C:/apps/jboss-4.2.1.GA/
| 00:10:34,875 INFO [Server] Patch URL: null
| 00:10:34,875 INFO [Server] Server Name: default
| 00:10:34,875 INFO [Server] Server Home Dir: C:\apps\jboss-4.2.1.GA\server\default
| 00:10:34,875 INFO [Server] Server Home URL: file:/C:/apps/jboss-4.2.1.GA/server/default/
| 00:10:34,875 INFO [Server] Server Log Dir: C:\apps\jboss-4.2.1.GA\server\default\log
| 00:10:34,890 INFO [Server] Server Temp Dir: C:\apps\jboss-4.2.1.GA\server\default\tmp
| 00:10:34,890 INFO [Server] Root Deployment Filename: jboss-service.xml
| 00:10:35,312 INFO [ServerInfo] Java version: 1.6.0_03,Sun Microsystems Inc.
| 00:10:35,312 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.6.0_03-b05,Sun Microsystems Inc.
| 00:10:35,328 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
| 00:10:35,687 INFO [Server] Core system initialized
| 00:10:38,171 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
| 00:10:38,171 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
| 00:10:38,781 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
| 00:10:38,781 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
| 00:10:39,078 INFO [TransactionManagerService] Starting recovery manager
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095715#4095715
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095715
18Â years, 9Â months