[jboss-user] [JBoss jBPM] - Has anybody installed JBPM 3.1 under tomcat 5.0.28?
Is JBPM 3.1 available under Tomcat 5? we already did the JbpmOnTomcat (Jboss wiki website), i need more detailed documentation. Thank you. Jean. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969161#3969161 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969161 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: TreeCache API auto-completion in Eclipse IDE
anonymous wrote : Then I tried JBoss Cache IDE 1.0 and created a new JBoss Cache Project You now could use the JBoss Cache IDE 2.0 version of the ide contains more functionality and improvements on the 1.0 version You could download the ide from main JBoss Eclipse IDE site: http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=72248&release_id=440872 Gurkan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969159#3969159 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969159 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: unicode escaping problem
Without the JSF Phase listeners, I can input and show japanese characters correctly on utf-8 pages after installing facelets-1.1.11 for the seam package. I recomend the newer versions of facelets. Miki View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969158#3969158 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969158 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM3 with tomcat
Thank you I need to run JBPM3 and not JBPM2 under tomcat.I need a documentation about all this issue please Thank you again. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969157#3969157 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969157 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Package ejb client application
Hi, What JAR files should I package with my EJB client application? My EJB 3.0 beans use only JDBC. The jbossall-client.jar is 4M bytes which is too large for clients. Thank you, Aven View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969156#3969156 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969156 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - What does on BPM build content impact?
Hi everybody, I tried to build JBOSS BPM 3.1 for JBOSS 4.0.4.GA application server and got the build which didn't work. Any attempt to get url: http://localhost:8080/jbpm failed, but after I had replaced hibernate3.jar onto one delivered in jbpm-starters-kit-3.1 package all begun to work. The question is: what is the reason of this strange behavior. May it be that Java doesn't work correctly under Windows 2003 server? I got some problems with ORACLE AS installation as standalone server, but these vanished after upgrading to Service Pack dated by 24 of March 2005. Have anybody JBPM installed on Windows 2003 server? What may say mighty All? Radmir View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969155#3969155 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969155 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: what reason for Error occured while converting date.
2006-09-04 13:25:25,265 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: start -> START_ | 2006-09-04 13:25:25,265 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: end -> END_ | 2006-09-04 13:25:25,265 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: dueDate -> DUEDATE_ | 2006-09-04 13:25:25,265 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: priority -> PRIORITY_ | 2006-09-04 13:25:25,281 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: isCancelled -> ISCANCELLED_ | 2006-09-04 13:25:25,281 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: isSuspended -> ISSUSPENDED_ | 2006-09-04 13:25:25,281 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: isOpen -> ISOPEN_ | 2006-09-04 13:25:25,281 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: isSignalling -> ISSIGNALLING_ | 2006-09-04 13:25:25,281 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: isBlocking -> ISBLOCKING_ | 2006-09-04 13:25:25,281 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: task -> TASK_ | 2006-09-04 13:25:25,281 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: token -> TOKEN_ | 2006-09-04 13:25:25,281 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: swimlaneInstance -> SWIMLANINSTANCE_ | 2006-09-04 13:25:25,281 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: taskMgmtInstance -> TASKMGMTINSTANCE_ | 2006-09-04 13:25:25,281 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: variableInstances | 2006-09-04 13:25:25,281 INFO [org.hibernate.cfg.HbmBinder] Mapping collection: org.jbpm.taskmgmt.exe.TaskInstance.pooledActors -> JBPM_TASKACTORPOOL | 2006-09-04 13:25:25,281 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: pooledActors | 2006-09-04 13:25:25,281 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: comments | 2006-09-04 13:25:25,281 INFO [org.hibernate.cfg.HbmBinder] Mapping class: org.jbpm.taskmgmt.exe.PooledActor -> JBPM_POOLEDACTOR | 2006-09-04 13:25:25,296 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: id -> ID_ | 2006-09-04 13:25:25,296 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: actorId -> ACTORID_ | 2006-09-04 13:25:25,296 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: swimlaneInstance -> SWIMLANEINSTANCE_ | 2006-09-04 13:25:25,296 INFO [org.hibernate.cfg.HbmBinder] Mapping collection: org.jbpm.taskmgmt.exe.PooledActor.taskInstances -> JBPM_TASKACTORPOOL | 2006-09-04 13:25:25,296 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: taskInstances | 2006-09-04 13:25:25,296 INFO [org.hibernate.cfg.HbmBinder] Mapping class: org.jbpm.taskmgmt.exe.SwimlaneInstance -> JBPM_SWIMLANEINSTANCE | 2006-09-04 13:25:25,296 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: id -> ID_ | 2006-09-04 13:25:25,296 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: name -> NAME_ | 2006-09-04 13:25:25,296 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: actorId -> ACTORID_ | 2006-09-04 13:25:25,296 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: swimlane -> SWIMLANE_ | 2006-09-04 13:25:25,296 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: taskMgmtInstance -> TASKMGMTINSTANCE_ | 2006-09-04 13:25:25,296 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: pooledActors | 2006-09-04 13:25:25,312 INFO [org.hibernate.cfg.HbmBinder] Mapping class: org.jbpm.scheduler.exe.Timer -> JBPM_TIMER | 2006-09-04 13:25:25,312 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: id -> ID_ | 2006-09-04 13:25:25,312 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: name -> NAME_ | 2006-09-04 13:25:25,312 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: dueDate -> DUEDATE_ | 2006-09-04 13:25:25,312 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: repeat -> REPEAT_ | 2006-09-04 13:25:25,312 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: transitionName -> TRANSITIONNAME_ | 2006-09-04 13:25:25,312 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: exception -> EXCEPTION_ | 2006-09-04 13:25:25,312 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: isSuspended -> ISSUSPENDED_ | 2006-09-04 13:25:25,312 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: action -> ACTION_ | 2006-09-04 13:25:25,312 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: token -> TOKEN_ | 2006-09-04 13:25:25,312 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: processInstance -> PROCESSINSTANCE_ | 2006-09-04 13:25:25,312 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: taskInstance -> TASKINSTANCE_ | 2006-09-04 13:25:25,312 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: graphElement -> GRAPHELEMENTTYPE_, GRAPHELEMENT_ | 2006-09-04 13:25:25,328 INFO [org.hibernate.cfg.HbmBinder] Mapping class: org.jbpm.logging.log.ProcessLog -> JBPM_LOG | 2006-09-04 13:25:25,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: id -> ID_ | 2006-09-04 13:25:25,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: index -> INDEX_ | 2006-09-04 13:2
[jboss-user] [JBoss Eclipse IDE (users)] - Re: hibernate tools hangs eclipse
do you have just the hibernate tools installed or also the rest of jobsside installed ? Where you editing some xml while it were happening ? Those two questions is because i know of two other issues that has this behavior: WTP issues with xml and jbosside issues with jboss as. With hibernate tools i haven't seen this issue unless the jdbc driver were having a hard time to connect to the db ..could this be the case ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969148#3969148 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969148 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Cannot start JDBC cacheloader
Sorry I forgot to mention that I am able to create a cacheloader instance in a test program I wrote and the connection to mysql and all the info works properly, only when trying to use the XML file I get the error. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969147#3969147 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969147 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Cannot start JDBC cacheloader
I am currently trying to write a jbosscache test program, I want to connect to mysql using JDBCCacheLoader. I have read all the documentations and how to configure the cacheloader in the XML configuration file. But for some reason my program doesn't like the XML entries. I have tried different combinations, but I get an error every time. The first thing is that it seems in the XML file the first property for the JDBCCacheLoader is read and that's it. Here is the error that I currently received when I run my program: Missing required property: cache.jdbc.url Before this error I was getting an error for the JDBC driver so I moved the cache.jdbc.driver=com.mysql.jdbc.Driver to be the first property and then moved the cache.jdbc.url to be the second entry and hence the error that I am getting. I have even tried to specify the tag for each entry (to create the table, etc...) I am using the configuration file which is under etc folder, the file is called, replSync-ClusteredCacheLoader-service.xml I am sorry for the long message but I haven't been able to figure this out yet. Any help would be appreciated. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969146#3969146 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969146 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re:
dear all, Not sure how to resolve this issue, so i upgrade the myfaces & tomahawk version to 1.1.3. I use the instructions at: http://wiki.apache.org/myfaces/ section: Migration from previous versions Later encountered a new error which is: "orgApacheMyFacesPopup" is undefined. Any advices? Many thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969145#3969145 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969145 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Updating an entity
Hi, I am having some problems either implementing or understanding how entities are updated. I have created some entities that populate a Postgresql database. I have a stateless session bean that performs 3 functions, create and query. I use a client application that uses this session beans via the remote interface. I have no problems creating and querying, but when I use the entity returned from the query and adjust my set methods to update the properties, nothing happens to my database records. I thought that maybe my entities were detached so i added another function to my session bean that uses merge(), but still my database records were unchanged. Can anyone help understand how entities are updated? or what I might be doing wrong in the above implementation? Your response is very much appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969144#3969144 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969144 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - EJB3/Jboss - binding issue.
Hi, I'm pretty new to EJB3 and I started doing this simple forum tutorial (http://www.informit.com/guides/content.asp?g=java&seqNum=239&rl=1) I created an EAR and put the EJBs in the EJB module and the test servlet in the Web module. It deploys without errors, but when I invoke the getForums command I get an error. I've been trying to fix this for about 5 days now. I hope someone can help me out here. I know that the problem has to do with the ForumManager session bean. I'm using MyEclipse 5/Eclipse 3.2 / Jboss 404 / MySQL -Thanks in advance stacktrace anonymous wrote : | 21:59:31,197 ERROR [STDERR] javax.naming.NameNotFoundException: com.javasrc.forums.business.ForumManager not bound | 21:59:31,197 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) | 21:59:31,197 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) | 21:59:31,217 ERROR [STDERR] at org.jnp.server.NamingServer.getObject(NamingServer.java:543) | 21:59:31,217 ERROR [STDERR] at org.jnp.server.NamingServer.lookup(NamingServer.java:296) | 21:59:31,217 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 21:59:31,217 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 21:59:31,227 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 21:59:31,227 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 21:59:31,227 ERROR [STDERR] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) | 21:59:31,227 ERROR [STDERR] at sun.rmi.transport.Transport$1.run(Transport.java:153) | 21:59:31,227 ERROR [STDERR] at java.security.AccessController.doPrivileged(Native Method) | 21:59:31,227 ERROR [STDERR] at sun.rmi.transport.Transport.serviceCall(Transport.java:149) | 21:59:31,227 ERROR [STDERR] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466) | 21:59:31,227 ERROR [STDERR] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707) | 21:59:31,227 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595) | 21:59:31,227 ERROR [STDERR] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247) | 21:59:31,227 ERROR [STDERR] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223) | 21:59:31,227 ERROR [STDERR] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126) | 21:59:31,227 ERROR [STDERR] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) | 21:59:31,227 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625) | 21:59:31,227 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) | 21:59:31,227 ERROR [STDERR] at javax.naming.InitialContext.lookup(InitialContext.java:351) | 21:59:31,227 ERROR [STDERR] at com.javasrc.forums.web.ForumServlet.init(ForumServlet.java:39) | 21:59:31,227 ERROR [STDERR] at javax.servlet.GenericServlet.init(GenericServlet.java:211) | 21:59:31,227 ERROR [STDERR] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105) | 21:59:31,227 ERROR [STDERR] at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757) | 21:59:31,227 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130) | 21:59:31,227 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | 21:59:31,227 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | 21:59:31,227 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | 21:59:31,227 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | 21:59:31,227 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | 21:59:31,227 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | 21:59:31,227 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | 21:59:31,227 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | 21:59:31,227 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | 21:59:31,227 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | 21:59:31,227 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | 21:59:31,227 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595) | | 21:59:31,237 ERROR [[ForumServlet]] Servlet.service() for servlet ForumServl
[jboss-user] [JBoss Portal] - Re: standardjboss-portlet.xml and Bridge Interceptor
Hi bdaw Does "new JBossServletContextProvider().getServletContext(this)" work and be able to get the Servlet context within a jboss portlet? Should any other configurations needed to make it work? In my testing, it doesn't work and throws exception: java.lang.IllegalStateException: No bridge set Can help? Thanks yang View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969139#3969139 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969139 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Problem with wsdl
Hi, Steven: Thanks for you advice? I have found the file and solved the problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969138#3969138 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969138 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: Tutorial XDoclet Configurations
Well it seems that this is a bug in 1.6. I found the following thread: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=88947 Does anyone know if there are plans to fix this in 1.6? Thanks, Stephen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969137#3969137 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969137 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - usage of portlet-collection
In the portlet specifications versions 1.0 (final) and 2.0 (draft) a with as a parent , contains one or more elements. In JBoss Portal 2.4 this does not seem to work. I also browsed the sources but wasn't able to find a reference to 'portlet-sollection'. Is this not supported in JBoss Portal? thanks in advance, pieter View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969136#3969136 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969136 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Objects transfer to MySQL
Hi; I'm trying to transfer the Persisten Objects to MYSQL, but I have a problem, I am trying to move to my database, but It only creates the table, but doesn't move to MySQL. here is a litltle part of the error. 17:38:36,552 WARN [ServiceController] Problem starting service jboss.j2ee:jar=tutorialEstudiante.jar,name=EstudianteDAOBean,service=EJB3 javax.naming.NamingException: Could not bind stateful proxy with ejb name EstudianteDAOBean into JNDI under jndiName: EstudianteDAOBean/remote [Root exception is javax.naming.NameAlreadyBoundException] at org.jboss.ejb3.stateful.BaseStatefulProxyFactory.start(BaseStatefulProxyFactory.java:79) at org.jboss.ejb3.stateful.StatefulRemoteProxyFactory.start(StatefulRemoteProxyFactory.java:88) I don't know, the connector and the mysql-ds.xml are well located, so I don't know what's happening Thanks Rodrigo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969135#3969135 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969135 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Query parameter is modified and return as null
I use a stateless session bean this method. In this query the first parameter textKey is set to password. The query returns a label object with textKey field value null. It is completly unlogical, the property is different to the search property but an object is found. And as consequence somewhere afte the call of the method the database field texkey will set to null. anonymous wrote : | public Label findByTextKey(String textKey, Language language) { | | Label label = (Label) labelsMap.get(textKey); | if (label == null) { | Query query = manager.createQuery( | "from Label l where l.textKey = :textKey and l.language = :language"); | query.setParameter("textKey", textKey); | query.setParameter("language", language); | try { | label = ((Label) query.getSingleResult()); | labelsMap.put(textKey, label); | } | catch (NoResultException nre) { | | } | } | | return label; | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969129#3969129 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969129 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: Scheduler Jboss
"danj" wrote : "schrouf" wrote : Up to my knowledge it has always been "time from finish until next start". | | Strange. We have a nightly job that takes somewhere between 8 s and 50 min. We have configured it with SchedulePeriod = 24 * 60 * 60 * 1000. | | Using 3.2.5, the job has started same time every night (01:00), and finishin within the hour, in good time before people arrive in the morning. | | However, since upgrading to 3.2.7, the jobs have start "slipping", i e starting later and later. And, the slip is exactly the time the job took, i e starting at the last nights finish-time. If this is the intended behaviour, it feels strange. I have exactly same problem, so after more then a year I want to ask, if there was any developement of this issue. Thanks Petr View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969128#3969128 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969128 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: hibernate tools hangs eclipse
ohh forgot to tell that i'm using Hibernate Tools 3.2.0.b7 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969121#3969121 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969121 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - hibernate tools hangs eclipse
i would like to know if anyone has the same problem: from time to time (it is really not reproduceable but already happend more than a dozen time) while working on Hibernate Perspective eclipse hangs and uses 100%cpu. because of the heavy cpu allocation my whole desktop becomes unusable and even killing eclipse takes up to 10 minutes. the current solution that I have is systeminternals.com Process Explorer to ll eclipse and its subprocesses, since ProcExpl usually runs with higher priority (even windows task manager become unresponsive.) my current environment is windows xp sp2 and eclipse 3.2 with a few other plugins. i really don't think this has to do with any other plugins since eclipse hangs always while using hibernate perspective (e.g. HQL Editor, etc.) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969120#3969120 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969120 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - UserTransaction error - NoClassDefFoundError
I try to lookup UserTransaction | UserTransaction userTransaction=(UserTransaction) ctx.lookup("UserTransaction"); | And here is exception: | Exception in thread "main" java.lang.NoClassDefFoundError: javax/transaction/UserTransaction | at my.TestClient.main(TestClient.java:26) | JBoss is 4.0.4.GA. thank you for answer... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969119#3969119 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969119 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: standardjboss-portlet.xml and Bridge Interceptor
it just contains default values for jboss-portlet.xml file descriptor: http://docs.jboss.com/jbportal/v2.4/reference-guide/en/html/xmldescriptors.html#d0e2678 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969118#3969118 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969118 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Weird apache behaviour in load-balancing, and form-based
Great! Well, the first thing to do is think hard about SavedRequest and see if there is any reason it can't be Serializable. If not, then 1) Open a Feature Request JIRA under the Application Server project on jira.jboss.com. 2) You need to post a patch to the Tomcat development list making SavedRequest Serializable. I'm not a Tomcat committer, so I can't just commit it for you; needs to be blessed and committed by the TC people. If you want, reference the JIRA issue so they know what you're working toward. 3) Then we need to deal with replicating the note itself. In Branch_4_0 you're limited in what you can do, as changing the serialized format of a session is not allowed. So, probably the thing to do is in ClusteredSession override setNote(), check if the key is for your SavedRequest, and if it is also cache the value in a transient field. Then update write/readExternal to store your cached SavedRequest under a special key in the regular attribute map (via setAttribute()). This ensures the SavedRequest is stored in a way that's already part of the existing serialized format. You need to think about this; want to make sure the SavedRequest doesn't remain in the attribute map on either the sender or receiver side, no matter which of the ClusteredSession subclasses is used (SessionBased, FieldBased or AttributeBasedClusteredSession). In HEAD we have more flexibility as to what to do, as it's OK to change the serialized format because there have been no releases of the 5.0.x series yet. I'm tempted to just replicate the notes map (or better yet a copy of it with anything that doesn't implement Serializable removed). But would need to analyze all uses of the map first. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969115#3969115 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969115 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - MySQL , JBOSS connection
Hi, I have a doubt because I'm trying to connect Jboss with MySQL, I did all that I found in the web : http://wiki.jboss.org/wiki/Wiki.jsp?page=SetUpAMysqlDatasource but I think the connection is not complete, how should I know if it's happening?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969113#3969113 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969113 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - How to Retain Admin Role of the Admin user
Dear friends, I mistakenly Deselected the Admin role of Admin user when i was connected through it. Actually I wanted to edit the authorization of a new Role created. Now when I am signing in with Admin user, its Admin Portal Page is not appearing. Can anyone help me in this regard that how should I retrieve Admin Role of Admin user??? Best regards Shahid Saeed Khan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969112#3969112 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969112 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: bugzilla?
go to our main page http://www.jboss.org/products/jbosside and click on JIRA Issue tracking View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969111#3969111 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969111 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - How to know when entity is removed?
I am studying EJB 3 and there is one thing, that I cannot understand yet. In EJB 2.x in entity beans there is method named ejbRemove. I can override it and do some work when entity is been removed. For example I can send JMS messages to registered subscribers. And how can I do the same in EJB 3.0? I could send messages from session facade, but what should I do if entity is removed by cascade? Entity must be serializable because it will be used remotely. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969110#3969110 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969110 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - bugzilla?
hi, do you have a bug reporting platform? or where i should post bug reports? thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969109#3969109 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969109 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Why am i getting reverted to the login page?
Have a freshly deployed appliacation. it has a login, during which it sets up user name in the session, and shows it on the page - this part works fine. on the top of it, there's a menu: Account Details | LOGOUT declared in struts-config as follows: but no matter which od the above i choose, it will try to run the login action, fail it, and show the login screen. WHY?!?!?! (actions exist and so do the .jsp's) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969108#3969108 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969108 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - standardjboss-portlet.xml and Bridge Interceptor
Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I found there is standardjboss-portlet.xml file in the jbossportal-2.2.1 distribution. Now, what is the function of this file? How to use it? I want to configure the Bridge Inteceptor for a portlet, how to do ? yang View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969107#3969107 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969107 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: TreeCache API auto-completion in Eclipse IDE
Thanks for responding. Well this is exactly what I was trying to do: the standard eclipse way of showing available methods, but this does not work. First I thought it had something to do with the AspectJ interation in my eclipse installation but this does not work from a fresh eclipse installation either. Regarding the TreeCache being in classpath, it is there and I had mentioned that F3 does take me to the class definition of TreeCache. Then I tried JBoss Cache IDE 1.0 and created a new JBoss Cache Project and this work fine from there. It does not make sense to me why it does not work from base eclipse. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969105#3969105 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969105 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Basic CMR Question
So, ultimately I think the problem is with the EJB-QL, so I am starting another thread for that... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969104#3969104 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969104 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: What tools do I need to get start with Jboss?
Hi: to start with, I downloaded JBoss Application Server and the JBoss-IDE. Eclipse, which is used as the basis for the IDE is included in the JBoss-IDE package. That should meet your needs...I found the installation instructions to be simple and accurate! Ian. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969103#3969103 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969103 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam on Tomcat Cluster
Will seam using SFSBs work in a clustered tomcat enviroment using JBoss Embeddable EJB3? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969102#3969102 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969102 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Detach entities - Obtaining a clear pojo
...also, this method would ideally return an object that does not use any hibernate classes such as PersistentSet etc, so the client doesn't require the hibernate.jars. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969101#3969101 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969101 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - What tools do I need to get start with Jboss?
There are too much parts of jboss. I just wonder what I need if I just want to write some EJB and use the EJB THS! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969100#3969100 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969100 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: @EJB injection gives null
I have the same problem.any solutions? by dennis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969099#3969099 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969099 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - report portlet and ServletContext
Hi I am trying to using eclipse BIRT report engine to implement my own ReportPortlet. In the init() method of the portlet, | public void init() { | log.debug("init() is called"); | if (birtEngine == null) { | EngineConfig config = new EngineConfig(); | log.debug("config="+config); | IPlatformContext context = new PlatformServletContext( | new JBossServletContextProvider().getServletContext(this)); | log.debug("context="+context); | config.setPlatformContext(context); | try { | Platform.startup(config); | } catch (BirtException e) { | e.printStackTrace(); | } | IReportEngineFactory factory = (IReportEngineFactory) Platform | .createFactoryObject(IReportEngineFactory.EXTENSION_REPORT_ENGINE_FACTORY); | log.debug("factory="+factory); | birtEngine = factory.createReportEngine(config); | log.debug("birtEngine="+birtEngine); | } | } | ServetContext is accessed by using JBossServletContextProvider. However, when i deploy the portlet, the following error happen: anonymous wrote : | Caused by: java.lang.IllegalStateException: No bridge set | at org.jboss.portal.bridge.JBossServletContextProvider.getServletContext(JBossServletContextProvider.java:65) | at com.ternary.wirelessthermometer.portlet.ReportPortlet.init(Unknown Source) | at javax.portlet.GenericPortlet.init(GenericPortlet.java:355) | at org.jboss.portal.portlet.PortletContainer.initPortlet(PortletContainer.java:368) | at org.jboss.portal.portlet.PortletContainer.start(PortletContainer.java:229) | ... 106 more | I went through the bridge related posts, and cannot find the solution. (1)Do i need to configure the bridge interceptor myself? Or the default jboss portal 2.2.1 already configures the bridge interceptor for all portlet deployment? (2)If need myself to configure, how to? Which configure file need to be configured? Thanks yang View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969098#3969098 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969098 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - a unidirectonal one-to many example, anyone can help me?
I wrote a example following the . 1.First,a company.java file: @Entity public class Company implements Serializable { @Id @GeneratedValue(strategy = GenerationType.AUTO) private Integer id; private String name; private Set employees; public Company() { } @OneToMany(cascade = CascadeType.PERSIST, fetch=FetchType.EAGER,mappedBy="company") public Set getEmployees() { return employees; } public void setEmployees(Set employees) { this.employees = employees; } public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } } 2.And then ,Employee.java: @Entity() public class Employee implements Serializable { @Id @GeneratedValue(strategy = GenerationType.AUTO) private Integer id; private String name; private char sex; public Employee() { } public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public char getSex() { return sex; } public void setSex(char sex) { this.sex = sex; } } 3.I wrote a SLSB to test the example: .. Company company = new Company(); Set employees = new HashSet(); Employee employee = new Employee(); employee.setName("jordan"); employee.setSex('M'); employees.add(employee); employee = new Employee(); employee.setName("dennis"); employee.setSex('M'); employees.add(employee); employee = new Employee(); employee.setName("catty"); employee.setSex('F'); employees.add(employee); employee = new Employee(); employee.setName("inter"); employee.setSex('F'); employees.add(employee); employee = new Employee(); employee.setName("James Gosling"); employee.setSex('M'); employees.add(employee); company.setEmployees(employees); em.persist(company); } public List getCompanies() { Query query = em.createQuery("SELECT c FROM Company c"); return query.getResultList(); } .. but when I tried to deploy the example to the JBoss Server,it goes wrong: Could not determine type for: java.util.Set, for columns: [org.hibernate.mapping.Column(employees)] I don't know why!!!Is my code have any problems?anyone can help me?thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969097#3969097 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969097 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Problems with StrutsBridge
"alessandroribeiro" wrote : Hi, | | this is the demo's jboss-portlet.xml: | | | | StrutsHelloPortlet | | StrutsHelloPortlet | | | | | I had tried both with and without to no avail. I tried to insert this line again in the file, but there is still this "no bridge set" error. And there is also a new error: | | 21:15:23,703 ERROR [PortletAppDeployment] No config for the name StrutsHelloPortlet will use the default configuration | | What exactly is this used for ? | Hello, I want to get the ServletContext from portlet for some special reason. I am trying to use eclipse BIRT report engine in my ReportPortlet. But the BIRT report engine API need to access ServletContext. I went through the posts, and find the bridge is a way to get the ServletContext. But when i deploy my portlet and its init() method through the following exception anonymous wrote : | Caused by: java.lang.IllegalStateException: No bridge set | at org.jboss.portal.bridge.JBossServletContextProvider.getServletContext(JBossServletContextProvider.java:65) | at com.ternary.wirelessthermometer.portlet.ReportPortlet.init(Unknown Source) | at javax.portlet.GenericPortlet.init(GenericPortlet.java:355) | at org.jboss.portal.portlet.PortletContainer.initPortlet(PortletContainer.java:368) | at org.jboss.portal.portlet.PortletContainer.start(PortletContainer.java:229) | I am using jbp2.2.1 on AS4.0.3SP1. In addition, what is the StrutsHelloPortlet for? yang View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969096#3969096 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969096 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: LazyInitializationException and caching
never mind I solved it , I changed my FetchType to EAGER thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969095#3969095 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969095 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Missing comprehension in EJB3 and JBoss in Elcipse
Hello, I have installed the JBoss AS (jboss-4.0.4.GA) with EJB3 support(option: all). The EJB3Trail.ear works fine. Now I have try to build my first simple EJB3 Webapplication with Stateless SessionBean like the first EJB3Trail example. The java files from EJB3Trail source are present: Calculator.java, StatelessCalculator.java, RemoteCalculator.java and StatelessCalculator2.java The calculate.jsp as well. What I have to do, running this example in JBoss Eclipse IDE 2.0 Hope anybody can help me Thanks Andreas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969094#3969094 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969094 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - LazyInitializationException and caching
Hello all! Code is Entity bean. and I am caching all Codes using static HashMap.. when I am trying to retieve list of Code and sending the result to my register.jsp i am getting the following exception... any idea way? I would like to keep them deattached and I wonder if I can bring all their properties in a non-lazy way? it seem like there is a problem with the .toString method... I will be thankfull for any assistance you can provide | 16:54:18,676 ERROR [LazyInitializationException] could not initialize proxy - the owning Session was closed | org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed | at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:60) | at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:111) | at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:196) | at com.wannabet.ejb.entities.Code_$$_javassist_45.toString(Code_$$_javassist_45.java) | at com.sun.facelets.util.DevTools.writeAttributes(DevTools.java:255) | at com.sun.facelets.util.DevTools.writeStart(DevTools.java:284) | at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:189) | at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:207) | at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:207) | at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:207) | at com.sun.facelets.util.DevTools.debugHtml(DevTools.java:133) | at com.sun.facelets.tag.ui.UIDebug.writeDebugOutput(UIDebug.java:92) | at com.sun.facelets.tag.ui.UIDebug.encodeBegin(UIDebug.java:81) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:232) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:580) | at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101) | at org.jboss.seam.jsf.SeamViewHandler.renderView(SeamViewHandler.java:59) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) | 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:30) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:65) | at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:226) | 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.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.to
[jboss-user] [Beginners Corner] - Re: Need instructions about the decision node
plz guys . that was 40 views and 0 replies . did the question have any confusing parts ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969092#3969092 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969092 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam + Portlets + JSF + Facelets problem: Exception in P
I am going to check now if this only happens in the jboss portal. I am going to try to run it under jetspeed 2. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969091#3969091 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969091 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Detach entities - Obtaining a clear pojo
I also need to obtain a completely clean Pojo. I currently serialise detached entities then send them over a network to a remote client which is an applet that has no concept of EJB3 (no ejb jars on classpath). Here the client treats them as Pojos. When running a full round trip unit test in which a detached obj is sent to the client, if a field/association is not initialised then I want a null value, not a LazyInitialisationException. But because in the test case the client and server are both run within the same JVM I get a LazyInitialisationException. If I was able to get a completely clean Pojo, this wouldn't happen. Is there some standard way of doing this? like a; Object getCompletelyDetachedClone(obj) method? thanks in advance James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969090#3969090 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969090 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: JbossQL and m.createQuery(.. OFFSET 5 LIMIT 23)
ok I was wrong: It generates the desired offset/limit queries unless you use join fetch in your query to initialize lazy collections. In the docs: (http://docs.jboss.org/ejb3/app-server/HibernateEntityManager/reference/en/html_single/index.html#d0e751) "Nor should fetch be used together with setMaxResults() or setFirstResult(). It is possible to create a cartesian product by join fetching more than one collection in a query (as in the example above), be careful the result of this product isn't bigger than you expect. Join fetching multiple collection roles also sometimes gives unexpected results for bag mappings, so be careful about how you formulate your queries in this case. TODO: The last statement is useless and typical developer thinking, please elaborate. The word "sometimes" should never appear in any technical documentation." funny :) So what is the status of this problem(?) now? I know the collection.size() workaround, but i don't like it!! I think that solution is much slower. Is there other solution? lazlo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969089#3969089 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969089 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: JbossQL and m.createQuery(.. OFFSET 5 LIMIT 23)
Hi, I found the same solution, but when i examined a bit more i realized that the whole resultset is generated every time, and these methods only cut a part of that. It does not generate offset/limit like sql query. Am I right? Because it could cause some performance problems. Lazlo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969088#3969088 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969088 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: LIE and accessing collections in next request
I got this working after a lot of reverse engineering. Anyway, the secret was that the method starting the conversation had to somehow call the responseComplete method(by having an outcome) and then the conversation was carried between screens. In my case, since it was a factory and nothing was returned from there, the conversation was killed soon after it was started. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969087#3969087 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969087 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - ConversationEntry -- Should lastRequestTime equal startTime
When a conversation is created, the ConversationEntry object has the starttime equal to the current time and the lastRequesttime set to 0. Should the lastRequestTime be also initialized to the current time stamp? Here is why Im asking this. In my application, I start a conversation on a Stateful bean and all Im doing there is displaying the view. A ConversationEntry is created at this point of time. The view has a #{categories} which is a @Factory and it initializes the categories Array. The problem is that this variable(and the rest of them) are not stored during the next request in the conversation. This is because the afterPhase calls Manager.instance().conversationTimeout after the view is rendered and this basically deletes the conversationentry. The logic to delete the conversationentry works for a regular timeout but in this case, the conversation creation has just happened(during the render response phase). If we set the lastREquestTime to be the same as the current time, then the difference(currentime - lastRequesttime) will be less than the conversation timeout and the entry will not be deleted. im not sure if im explaining my case clearly, but if its not, please ask me for more information. Thanks Raja View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969086#3969086 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969086 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Better understanding of the starter kit
In order to learn JBPM I read the tutorial, and also installed the starter kit. I ran it and it worked very nice. I then tried to understand how it works under the hood, and I wonder if there's any documentation that explains things like: Why does the kit consist of a service and an application? is it best practice to have both? how do the sar and war integrate? And what is the role of the JbpmThreadsServlets that gets loaded by the starter kit application? And why does the app use deprecated API (JbpmContext.getCurrentJbpmContext())? As you see, I have many questions, all of which deal with the best way to integrate JBPM and JBoss. Are there pointers to answers? Thank you in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969085#3969085 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969085 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user