[jboss-user] [JBoss Web Services Users] - WSDL generated incorrectly?
Hi, I am using wstools from eclipse 3.5.1. and jboss-5.1.0.GA to generate a top-down webservice. It is generated from the following, I believe (syntacticly) correct, wsdl with elements. | | http://schemas.xmlsoap.org/wsdl/soap/"; | xmlns:tns="http://com.lei.nl/modelAgent"; | xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; | xmlns:xsd="http://www.w3.org/2001/XMLSchema"; | xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; | xmlns:lei="http://com.lei.nl/modelAgent"; | name="ModelAgentService" | targetNamespace="http://com.lei.nl/modelAgent";> | | http://com.lei.nl/modelAgent"; targetNamespace="http://com.lei.nl/modelAgent"; > | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://schemas.xmlsoap.org/soap/http"/> | | | | | | | | | | | | | | | | | | | | | | | | | | | http://localhost:9080/ModelAgentWeb/services/ModelAgentServiceSOAP"/> | | | | All the classes are generated coorectly. However, the wsdl published by JBoss look like this definitions name="ModelAgentService" targetNamespace="http://com.lei.nl/modelAgent"; xmlns="http://schemas.xmlsoap.org/wsdl/"; xmlns:ns1="http://com.lei.nl/modelAgent"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:tns="http://modelagent.lei.com/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";> | | http://com.lei.nl/modelAgent"; version="1.0" xmlns:tns="http://com.lei.nl/modelAgent"; xmlns:xs="http://www.w3.org/2001/XMLSchema";> | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://schemas.xmlsoap.org/soap/http"; /> | | | | | | | | | | | | What happened here is the first parts of the request and response messages are lost, and cannot therefore not be read a client. Has anyone any idea what i am doing wrong? Thnak you View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262849#4262849 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262849 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JBPM process timers in Multi Server deployment -3.2.6
huhhh silence... Was i totally off in explaining the problem or this topic is already beaten to death and i am reopening it?.. Anyone else deployed JBPM (with timers) in clustered/non-clustered multi server environments? Please share your experience. I see one good guide related to JBPM Clustering, http://www.theserverside.com/tt/articles/article.tss?l=WorkflowEngineJBossCluster, but that is also describing deployment with Job Executor service instead of Timer/JMS for job execution. Wondering if that's actually the recommended path? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262848#4262848 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262848 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence] - Re: Isolated ears with same name persistence unit
It's a bug https://jira.jboss.org/jira/browse/JBAS-6821 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262845#4262845 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262845 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JMX] - Re: jmx-console depends on generic named ear-file
"mawenzel" wrote : | The problem is: the ear-file has a dynamically-given name (like test_010.ear, test_020.ear,...) | | How dynamic is the name? I mean do you know the name of the ear when the server is starting? If yes, then you can do something like this: jboss.j2ee:service=EARDeployment,url='${myEarName}' Notice the use of ${myEarName}. You can then pass -DmyEarName as a system property while starting the server: ./run.sh -DmyEarName=test_010.ear The property in the xml will then be replaced by this value during xml parsing by the JBoss server. You could even add the -D part into the JAVA_OPTS section within the run.sh/run.bat script instead of typing from the command line. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262843#4262843 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262843 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Simple hibernate web app
Hello, I am a newbe in Hibernate but I am learning quickly. But I have reached a point that is taking me a lot of time. I have developed a pretty simple web. It is just two JSP, index.jsp that redirects to user.jsp where I have all the code. This is user.jsp, | <%...@page import="com.examscam.dao.*,com.examscam.model.*, | com.examscam.util.*,org.hibernate.*;" contentType="text/html;" %> | | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %> | | | | | <% | HibernateUtil.beginTransaction(); | UserDAO userDAO = new HibernateUserDAO(); | java.util.List users = null; | String command = request.getParameter("command"); | if (command != null) { | if (command.equals("Create")) { | userDAO.create(user); | } | if (command.equals("Update")) { | userDAO.update(user); | } | if (command.equals("edit")) { | user = userDAO.findByPrimaryKey(user.getId()); | request.setAttribute("user", user); | } | if (command.equals("delete")) { | userDAO.delete(user); | request.setAttribute("user", null); | } | if (command.equals("Fuzzy Search")) { | users = userDAO.findByExample(user, true); | } | if (command.equals("Strict Search")) { | users = userDAO.findByExample(user, false); | } | if (command.equals("Clear")) { | request.setAttribute("user", null); | } | } | if (users == null) { | users = userDAO.findAll(); | } | request.setAttribute("users", users); | HibernateUtil.commitTransaction(); | %> | | | | | | Id | | Name | | Password | | Email | | | | | | | | | | | | | | | | | | edit | delete | | | | | | | | | The problem is that I am not building the web app correctly. For user.jsp I import a jar, hibernatedaoaccess.jar, where are the classes and interfaces I need, | package com.examscam.dao; | | import java.util.List; | import com.examscam.model.User; | | public interface UserDAO { | | public User create(User user); | public boolean update(User user) ; | public boolean delete(User user) ; | public User findByPrimaryKey(Long primaryKey); | public List findByExample(User user, boolean fuzzy); | public List findAll(); | | } | | package com.examscam.model; | | import javax.persistence.Entity; | import javax.persistence.GeneratedValue; | import javax.persistence.Id; | import javax.persistence.Column; | import javax.persistence.Table; | import javax.persistence.Basic; | import javax.persistence.Temporal; | import javax.persistence.TemporalType; | import javax.persistence.Transient; | | @Entity | @Table (name="user", schema="examscam") | public class User { | private Long id; | private String loginName; | private String password; | private String encryptedPassword; | private String emailAddress; | private Boolean verified; | private java.util.Date lastAccessTime; | private java.util.Calendar registrationDate; | | @Transient | public String getEncryptedPassword() { | return encryptedPassword; | } | public void setEncryptedPassword(String ep) { | this.encryptedPassword = ep; | } | | @Id | @GeneratedValue | @Column (name="id") | public Long getId() { | return id; | } | public void setId(Long id) { | this.id = id; | } | | @Column (name="login_name") | public String getLoginName() { | return loginName; | } | public void setLoginName(String loginName) { | this.loginName = loginName; | } | | @Column (name="password", nullable=false) | public String getPassword() { | return password; | } | public void setPassword(String password) { | this.password = password; | } | | @Column (name="emailAddress") | public String getEmailAddress() { | return emailAddress; | } | | @Temporal(TemporalType.TIMESTAMP) | public java.util.Date getLastAccessTime() { | return lastAccessTime; | } | | @Temporal(TemporalType.DATE) | public java.util.Calendar getRegistrationDate() { | return registrationDate; | } | | @Basic | public Boolean isVerified() { | return verified; | } | | public void setEmailAddress(String emailAddress) { | this.emailAddress = emailAddress; | } | | public void setLastAccessTime |(java.util.Date lastAccessTime) { | this.lastAccessTime = lastAccessTime; | } | | public void setRegistrationDate | (java.util.Calendar registrationDate){ | this.registra
[jboss-user] [JBoss Messaging Users] - Load balancing with new node
Hi, * JBoss 5.01 * JBoss Messaging 1.4.2.GA-SP1 I have a question about JBM Client-Side Load balancing: With Round Robin policy, the connections are spread smoothly across 3 nodes in the cluster, say: A,B,C. While the job is running with the connections to A,B,C, and now there is another new node, say D, joins the cluster. If a new connection is required to be created to D, is there any way that we can *ensure* this new connection will be created on D? and not to A,B,or C? Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262839#4262839 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262839 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: java:comp/env not found in @service POJO bean
Thanks, I will try to call @EJB instead of EntityManager to avoid this problem. really appreciated. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262837#4262837 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262837 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: NotBoundException when @Service POJO invoke EJB
I think this should be a improvement of Service bean, all injected service should be ready before start() method. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262835#4262835 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262835 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: NotBoundException when @Service POJO invoke EJB
Wolfgang, I have tried many names found in JNDI, none of them worked. Would you please post your Depends name? maybe I have to make EJB also as a @service? | @Service(name = CmModule.SERVICE_NAME) | @Depends( { "/MoService", "/ems/MoService", "/IMoService", "/ems/MoService/remote", | "/ems/MoService/remote-com.genband.ems.gvu.server.mo.IMoService", "MoService", "ems/MoService", "IMoService", | "ems/MoService/remote", "ems/MoService/remote-com.genband.ems.gvu.server.mo.IMoService" }) | public class CmModule implements ICmModule { | public final static String SERVICE_NAME = "CmModule"; | // @PersistenceContext | // private EntityManager em; | | Logger log = LoggerFactory.getLogger(CmModule.class); | | @EJB | private IMoService moService; | | } | Error message: DEPLOYMENTS IN ERROR: | Deployment "" is in error due to the following reason(s): ** UNRESOLVED Demands 'ems/MoService/remote' **, ** UNRESOLVED Demands '/MoService' **, ** UNRESOLVED Demands '/IMoService' **, ** UNRESOLVED Demands '/ems/MoService/remote-com.genband.ems.gvu.server.mo.IMoService' **, ** UNRESOLVED Demands '/ems/MoService/remote' **, ** UNRESOLVED Demands 'IMoService' **, ** UNRESOLVED Demands 'ems/MoService/remote-com.genband.ems.gvu.server.mo.IMoService' **, ** UNRESOLVED Demands '/ems/MoService' **, ** UNRESOLVED Demands 'ems/MoService' **, ** UNRESOLVED Demands 'MoService' ** | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262834#4262834 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262834 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Long running Serial Process ... what's the best method to do
I am trying to figure out what the best way to perform a long running process within JBOSS. I have thought about having a quartz job wake up periodically and invoke a function of a MBEAN. The problem with this approach is that I don't want to timeout the quartz job (which is basically a MDB) so I was thinking that I would create a thread within the MBEAN to process the long running task. The problem with that approach is that I need to update the database and I can not access the EnitityManager from within a thread. Any thoughts of how this could be done? Is there a better way to accomplish this? Thanks, Scott View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262829#4262829 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262829 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Is there actual useful books/documentation on EntityQuery?
Hello EJB 3.0 Users, I'm stuck on trying implement/use certain EJB 3.0 EntityQuery methods. A fellow EJB 3.0 user suggested I go to http://docs.jboss.org/seam/2.0.0.GA/api/. I mean it's great that theres a actual "reference" to the methods of EntityQuery but as far providing useful context and details on using the methods they might as well have shown me a blank page. Are there books, DETAILED documentations or tutorials on using the EntityQuery methods? Instead of just for example: "protected void setRestrictionParameterValues(List restrictionParameterValues)" and leaving that as the ultimate answer to life, the universe and everything in it? A picture is worth a thousand words. A good example . . . about three thousand. One thing I don't understand about the java online documentation in general is why can't people post comments about the the methods or how it's implemented in general to provide guidance to new users about a particular technology? PHP does it, which is probally one reason why it has such a high adoption. But for some reason any sort of Java Documentation online which is quite sparse tries to be as mysterious and arcane as possible. This is just my personal observation. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262826#4262826 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262826 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: correct usage of EntityManager in a thread under JBossA
Sorry to resurrect a dead topic but I too have a need for this same type of behavior. Has anyone figured out how to do this? Is there a better way of doing this? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262820#4262820 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262820 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - [jBPM 4.1] Signavio editor : default install failed
Hi ! I wanted to install the signavio editor. I used the default ant task described in the user manual. It fails... My JDK is 1.6 Any idea why ? java.lang.RuntimeException: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): *** DEPLOYMENTS IN ERROR: Name -> Error vfsfile:/D:/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/jbpmeditor.war/ -> org.jboss.deployers.spi.DeploymentException: Error during deploy: vfsfile:/D:/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/jbpmeditor.war/ DEPLOYMENTS IN ERROR: Deployment "vfsfile:/D:/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/jbpmeditor.war/" is in error due to the following reason(s): java.lang.IllegalArgumentException: The context vfsfile:/D:/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/jbpmeditor.war/ is already registered in domain jbpmeditordomain at org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:313) at org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.start(StreamingDeploymentTarget.java:190) at org.jboss.profileservice.management.upload.DeploymentProgressImpl.start(DeploymentProgressImpl.java:231) at org.jboss.profileservice.management.upload.DeploymentProgressImpl.run(DeploymentProgressImpl.java:88) at org.rhq.plugins.jbossas5.util.DeploymentUtils.run(DeploymentUtils.java:120) at org.rhq.plugins.jbossas5.AbstractManagedDeploymentComponent.invokeOperation(AbstractManagedDeploymentComponent.java:181) 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:597) at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:482) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): *** DEPLOYMENTS IN ERROR: Name -> Error vfsfile:/D:/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/jbpmeditor.war/ -> org.jboss.deployers.spi.DeploymentException: Error during deploy: vfsfile:/D:/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/jbpmeditor.war/ DEPLOYMENTS IN ERROR: Deployment "vfsfile:/D:/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/jbpmeditor.war/" is in error due to the following reason(s): java.lang.IllegalArgumentException: The context vfsfile:/D:/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/jbpmeditor.war/ is already registered in domain jbpmeditordomain at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993) at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939) at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873) at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128) at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.start(AbstractDeployHandler.java:265) at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.invoke(AbstractDeployHandler.java:177) at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891) at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106) at org.jboss.remoting.Client.invoke(Client.java:1724) at org.jboss.remoting.Client.invoke(Client.java:629) at org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:305) ... 15 more View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262819#4262819 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262819 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: How do I configure the SLSB instance pool size (min and
"JBossBorot" wrote : @PoolClass Ok, it seems this annotation type has been renamed to just simply Pool, which I've already found. See this thread: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=149856 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262817#4262817 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262817 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Timer throwing exception intermittently
Hi, I'm getting the following error at times when my timers are firing. 11:19:51,157 ERROR [ExecuteJobCmd] exception while executing 'timer[46|2009-10-28 11:19:51,040|timeout]' org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [org.jbpm.pvm.internal.model.ExecutionImpl#152] at org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:409) at org.hibernate.proxy.AbstractLazyInitializer.checkTargetState(AbstractLazyInitializer.java:108) at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:97) at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:140) at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190) at org.jbpm.pvm.internal.model.ExecutionImpl_$$_javassist_4.getActivity(ExecutionImpl_$$_javassist_4.java) at org.jbpm.pvm.internal.job.TimerImpl.execute(TimerImpl.java:94) at org.jbpm.pvm.internal.job.TimerImpl.execute(TimerImpl.java:52) at org.jbpm.pvm.internal.cmd.ExecuteJobCmd.execute(ExecuteJobCmd.java:76) at org.jbpm.pvm.internal.cmd.ExecuteJobCmd.execute(ExecuteJobCmd.java:42) at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42) at org.jbpm.pvm.internal.tx.jta.JtaTransactionInterceptor.executeInNewTx(JtaTransactionInterceptor.java:79) at org.jbpm.pvm.internal.tx.jta.JtaTransactionInterceptor.execute(JtaTransactionInterceptor.java:61) at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55) at org.jbpm.pvm.internal.tx.jta.JtaRetryInterceptor.executeWithRetry(JtaRetryInterceptor.java:52) at org.jbpm.pvm.internal.tx.jta.JtaRetryInterceptor.execute(JtaRetryInterceptor.java:45) at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:46) at org.jbpm.pvm.internal.jobexecutor.JobParcel.run(JobParcel.java:48) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) Sample timer in my process definition: | | | | | | | | | | | The timers tend to exist though and run just fine on the next timeout. I'm using jbpm 4.1 on jboss 5.1. Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262812#4262812 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262812 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - JBPM 4.1 Web Console - Any advice for customization?
Hi all! I am new to JBPM; after some use of 3.2.3, I was recommended to using v4. Now I'm trying to develop a few processes, and I need to customize the console, and also give some functionality to process instances forms. I need some startup guide to decide my approach. Is it worth modifying JBPM-Console? Or is it better to create a fully new web application? Should I use JSF, just JSP? I am using JBOSS 5.0.0.GA; should I use JBoss Portal and create "mini sites" for each process, or group of processes? Thanks, Roger View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262808#4262808 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262808 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: As I get all the tasks of a process
I'm using jbpm 4 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262804#4262804 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262804 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence] - Isolated ears with same name persistence unit
Hello, I am deploying two different apps in two ears in JBoss 5.1. They deployed OK in JBoss 4. As I reuse compiled JEE5 classes and I use annotations, the persistence unit used in both application has the same name: "mainPersistenceUnit" (it has to be hardcoded). this was not a problem with JBoss 4; in the "persistence.xml" archive in the EJB jar I point to each different data source. The problem is that when starting JBoss 5.1, the second .ear won't load and throw the following exception: | 2009-10-28 20:24:53,064 WARN [org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext] (main) Unable to register deployment mbean org.jboss.metadata.jpa.spec.PersistenceUnitMetaData.mainPersistenceUnit | javax.management.InstanceAlreadyExistsException: jboss.deployment:id="org.jboss.metadata.jpa.spec.PersistenceUnitMetaData.mainPersistenceUnit",type=Component already registered. | at org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:756) | at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:233) | at sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1431) | at java.security.AccessController.doPrivileged(Native Method) | at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1426) | at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:376) | at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.registerMBeans(AbstractDeploymentContext.java:1030) | at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.addComponent(AbstractDeploymentContext.java:722) | at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit.addComponent(AbstractDeploymentUnit.java:251) | at org.jboss.deployers.spi.deployer.helpers.ComponentAdapter.addComponent(ComponentAdapter.java:59) | at org.jboss.deployers.spi.deployer.helpers.AbstractDeploymentVisitor.deploy(AbstractDeploymentVisitor.java:73) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployerWithInput.deploy(AbstractRealDeployerWithInput.java:125) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployerWithInput.internalDeploy(AbstractRealDeployerWithInput.java:102) | at org.jboss.deployers.spi.deployer.helpers.AbstractComponentDeployer.internalDeploy(AbstractComponentDeployer.java:78) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) | I've tried all possible isolated / CallByValue / Java2ParentDeletation / etc. on / off configurations. The weird thing is that, once JBoss has started, I "touch" the second ear and it will deploy without problems. Thanks for any help/directions. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262803#4262803 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262803 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - As I get all the tasks of a process
I need to retrieve all tasks of a process without creating instances as I can do? thank you very much for your help View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262801#4262801 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262801 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: How do I configure the SLSB instance pool size (min and
Fishing for the same info and have already annotated an EJB3 impl using @CachConfig, as well as @Pool, both having maxSize attributes. Just now, however, came across JBoss documentation regarding @PoolClass annotation reference. At the same, I would also like to make sure I can set the minimum number EJB instances the app starts with. How do I do that? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262798#4262798 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262798 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Multiple JBoss instances vs. one
Hello, thanks for the links. I had of course read them before posting but, sorry, I can't find definite information there about having to activate CallByValue. I'm sure I'm missing something. In my scenario I have to deploy two .ears and two .wars. I use classloading configuration for 2 different repositories in jboss-web.xml and jboss-app.xml I need to do this as I cannot include the war's inside the .ears. In JBoss I am activating isolation in ear-deployer-jboss-beans.xml but deactivating CallByValue. I also deactivate CallByValue in jboss-service.xml In war-deployers-jboss-beans.xml I deactivate java2ClassLoadingCompliance, as well as in jboss-app.xml and jboss-web.xml This should enable isolation while not activating CallByValue. I'll make checks with both apps. If anybody knows any configuration file I might me missing please point me to any direction. Thanks, Ignacio View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262797#4262797 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262797 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: Communication between AppServer and Client via multicast
Thanks to everyone who never answered this question. I'll post what I found in the hope that it may help someone It turned out that I had multiple NIC cards on my system, so I set the flag receive_on_all_interfaces="true". View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262796#4262796 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262796 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: How do I configure the SLSB instance pool size (min and
Ok, I think I found it. @CacheConfig(maxSize=1) Is that correct? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262791#4262791 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262791 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - How do I configure the SLSB instance pool size (min and max)
I want to limit a clustered SLSB instance pool on a server to a maximum of one instance. I do not want to change the pool size for all other SLSBs - just the one I want to configure. How do I do that? I was hoping to find some annotation that would allow me to do that. Something like: @PoolConfig(min=1, max=1) Or something like that. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262788#4262788 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262788 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: JBoss Messaging 1.4.2 Fails - JBoss AS 5.0.1 Startup
I was able to start JBM 1.4.3 on JBoss AS 5.0.1 GA release qithout any issues. Thanks Howard. -Rama View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262787#4262787 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262787 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: no access to wsdl
thanks! it seems it is question of incompatible versions! it was tutorial with examples for JBoss 4.0 with examples. i used JBoss 5.0 and JDK 1.5. So webservices.xml file and classes don't work fully for 5.0 version. In JMX console the webservice is registered and shown, but under name of EJB Bean instead of name of web service from webservices.xml (url must be changed). Running of web service -client doesn't work so also. Incompatibility between versions is sometimes impressionable! must try upgrade! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262786#4262786 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262786 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: using an external scheduler to execute 'jobs'
I found how it should work but it doesn't :( There is an xml element which one can configure in jbpm.cfg.xml but unfortunately the TimerSessionBinding does not allow you to configure your own TimerSession implementation. the XML Tag has only 1 attribute 'target' which can have the value 'ejb' and than a org.jbpm.enterprise.internal.ejb.EnterpriseTimerSession will be used. in all other cases the JobExecutorTimerSession class will be used. I opened a feature request with a possible solution so that one can provide it's own implementation for quarz or some other scheduler: https://jira.jboss.org/jira/browse/JBPM-2614 I think this is a pretty important feature because the JobExecutor thread is not reliable and not allowed in an EJB Container. I also found no documentation about org.jbpm.enterprise.internal.ejb.EnterpriseTimerSession. pls vote this feature if you are interested in using your own scheduler. Thx. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262781#4262781 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262781 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JMX] - Re: jmx-console depends on generic named ear-file
What you've put there is not a valid JMX 1.2 ObjectName pattern. But even if you make it a valid ObjectName pattern, it won't work as you would like it. AFAIK, it will only accept a simple ObjectName, i.e. it won't dynamically try to resolve the pattern and establish potentially multiple dependencies. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262780#4262780 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262780 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: How can I query run my own HQL in jBPM 4.x?
While browsing JIRA I just found this: https://jira.jboss.org/jira/browse/JBPM-2038 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262775#4262775 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262775 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JBPM4: How to find leaving transitions of an execution
If you want the user to make this decision you need this information and since it is supplied by the process definition it should be accessible trough the API. Have you voted yet? If not go ahead and do so and post your use case in the comments of the issue. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262774#4262774 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262774 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: using an external scheduler to execute 'jobs'
I found how this could work... maybe somone from jBPM can help me.. there is an interface TimerSession whioch has a method: | void schedule(Timer timer); | This interface has 2 implemantations JobExecutorTimerSession and EjbTimerSession!! the problem ist that i have no Source for EjbTimerSession... The question is now how can i inject my own TimerSession implementation? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262772#4262772 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262772 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JMX] - Re: jmx-console depends on generic named ear-file
Ok, what I try is: |jboss.j2ee:service=EARDeployment,url='test*' | And the error, starting the jboss, is: | java.lang.Error: Invalid ObjectName: jboss.j2ee:service=EARDeployment,url='test*'; javax.management.MalformedObjectNameException: Invalid character '*' in value part of property | at org.jboss.mx.util.ObjectNameFactory.create(ObjectNameFactory.java:52) | at org.jboss.metadata.WebMetaData.importJBossWebXml(WebMetaData.java:1261) | at org.jboss.metadata.WebMetaData.importXml(WebMetaData.java:851) | | What is the reason for this error? I am using JBoss AS 4.2.3GA. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262771#4262771 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262771 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: Consuming Web Services when WSDL access / UDDI discovery
Never mind I figured out that the above way will work. The only problem is that I need to attach multiple WSDL's for different environments (dev, uat and prod) inside my ear and then use the logic to dynamically figure out which WSDL URL to load depending on environment. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262764#4262764 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262764 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Mutable Objects inside ObjectMessage and rollback behavi
Hi, thank you very much, instance are now recreated with RedeliveryDelay greater than 0. But is it a normal feature? David. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262756#4262756 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262756 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Communication between AppServer and Client via multicast
Hello forums, I am new to the forums and to JBOSS. I am trying to write an mBean that will communicate from within the AS across a multicast channel using JGroups. The code I'm using in my mBean is below... | public void create() throws Exception { | channel=new JChannel("test/udp.xml"); | channel.connect("ChatCluster"); | } | | public void sendMsg() throws ChannelNotConnectedException, |ChannelClosedException { | channel.send(new org.jgroups.Message( | null,null, "hello from the server!")); | } | I also created a client that is listening on the channel, but the two are not communicating .. Here is the XML for the channel .. | | Any help would be greatly appreciated as I have spent some tie on this and am trying to figure this out. I would prefer to use some other echanism for communication, however I am limited to just using multicast ... long story.. Thanks!!! ~Bolt View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262742#4262742 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262742 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: How can I query run my own HQL in jBPM 4.x?
I'm interested :) Cheers, Nils View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262741#4262741 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262741 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: [JBPM4 Error]Getting error while 2 tasks are created on
Sushant, try this: JUnit Test Case: package org.jbpm.examples.task.multiple1; | | import java.util.List; | | import org.jbpm.api.ProcessInstance; | import org.jbpm.api.task.Task; | import org.jbpm.test.JbpmTestCase; | | public class MultipleTasksTest1 extends JbpmTestCase { | | String deploymentId; | | protected void setUp() throws Exception { | super.setUp(); | | // deploy the process definition | deploymentId = repositoryService.createDeployment() | .addResourceFromClasspath( | "org/jbpm/examples/task/multiple1/process.jpdl.xml") | .deploy(); | | // create actor | identityService.createUser("johndoe", "John", "Doe", "j...@doe"); | } | | protected void tearDown() throws Exception { | | } | | public void testMultipleTasks() { | ProcessInstance processInstance = executionService | .startProcessInstanceByKey("MultipleTasks"); | | String processInstanceId = processInstance.getId(); | | assertTrue(executionService.createProcessInstanceQuery() | .processInstanceId(processInstanceId).uniqueResult().isActive( | "task1")); | | List taskList = taskService.findPersonalTasks("johndoe"); | assertEquals(1, taskList.size()); | Task task = taskList.get(0); | assertEquals("task1", task.getName()); | assertEquals("johndoe", task.getAssignee()); | | // submit the task | taskService.completeTask(task.getId(), "to task2"); | | // verify that the next task is active and has been assigned to | // 'johndoe' | taskList = taskService.findPersonalTasks("johndoe"); | assertEquals(1, taskList.size()); | task = taskList.get(0); | assertEquals("task2", task.getName()); | assertEquals("johndoe", task.getAssignee()); | | // submit the task | taskService.completeTask(task.getId(), "to task3"); | | // verify that the next task is active and has been assigned to | // 'johndoe' | taskList = taskService.findPersonalTasks("johndoe"); | assertEquals(1, taskList.size()); | task = taskList.get(0); | assertEquals("task3", task.getName()); | assertEquals("johndoe", task.getAssignee()); | } | | } | Process Definition (process.jpdl.xml): | | http://jbpm.org/4.0/jpdl";> | | | | | | | | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262739#4262739 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262739 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: Memory Management in Jboss
What JDK are you using? And what OS are you running? JDK 6 comes with VisualVM which lets you see what is going on in a running JVM. It can take and analyze heap dumps. VisualVM can connect to JDK 5 JVMs also, but the heap dump functionality is not available on Windows. Also, make use of the GC data options (-verbose:gc, -XX:PrintHeapAtGC, etc.) to see what the garbage collector is doing. For an introduction, see my presentation at: http://www.cecmg.de/doc/tagung_2007/agenda07/24-mai/2b3-peter-johnson/index.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262735#4262735 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262735 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: Consuming Web Services when WSDL access / UDDI discovery
Hello Alessio Thanks for your response. My current code looks like | URL wsdlURL = new URL ( "http://www.example.com/example.asmx?WSDL";); | QName serviceQName = new QName("http://www.example.com/example/";, "Calculate"); | Calculate calc = new Calculate(wsdlURL, serviceQName); | CalculateSoap calcSoap = calc.getCalculateSoap(); | calcSoap.execute(); | It fails on Line 3 with a FileNotFoundException. If I use a WSDL stored locally will I have to modify the WSDL to point to the correct soap address in the following WSDL fragment at the very tail end of the WSDl to let it know where the service is hosted? | | http://www.example.com/example.asmx"; /> | | Thanks for your help! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262733#4262733 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262733 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Memory Management in Jboss
Hi, My app server goes slow every couple of days. We will have to restart the server. Our application is in Spring , JSF and Facelets. I am skeptical about the objects being garbage collected. Is there a way to check how many and what objects are loaded in to Jboss server? Thanks Vinaya View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262729#4262729 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262729 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Deployment related Issue
I suspect that the mbean you are depending on probably existed in 3.2.5 but no longer exists in 4.2.x. I recommend that you use JndiView to determine what mbeans are available in 4.2.x and choose one of those to depend on. I guess I should have looked at the deployment report you posted earlier a little closer because in this case it did provide enough info to point out the problem. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262727#4262727 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262727 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: server port in use 8080 error!!
See https://www.jboss.org/community/wiki/DebugBindException View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262725#4262725 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262725 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - Re: Portal giving way to GateIn
I've been looking at the GateIn portal and while it looks promising it doesn't seem quite ready for prime time. We (I work with the original poster) are considering it as an alternative to the JBoss portal but there are some shortcomings. For example, I haven't come across any way to add new portlets. We will also need to add new skins, and create our own authentication module. Are these kinds of customizations doable, or planned? I've also played around a little with the GateIn portlet container, but without documentation it's difficult to assess. Will developer documentation be available any time soon? (Or does it already exist somewhere?) Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262721#4262721 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262721 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence] - Locking problem uses all connections in pool
Hi We are using JBoss 4.2.3GA, EJB 3.0 (SessionBeans, EntityManager and EntityBeans) to an Oracle 10g. We are having some issues with a concurrency scenario and the db connection pool. In a particular moment a persist or remove or merge or ejb query or native query locks a table or a row, and the other connection requests begings to been blocked, and therefore all connections in the pool are used and blocked until we getting java.sql.SQLException: Closed Connection for new requests. We are not specifing any transaction isolation level, so we know that we are using Oracle's default READ COMMITTED, but for some reason we don't know, the locks are not been release and new requests are been blocked as well. We don't get any DEADLOCK exception, and we query the gv_$lock table to check the tables and queries, and every time is a different one. This happend no so often, but in a short time frame. If we kill the first lock in the database, the other ones are release. Some other times, we didn't need to kill the lock, it release the connection after several minutes and then the other requests execute normally, causing very ugly effects in our application. The only thing that could be a clue on this, is maybe that something in our entity model relationship is making Oracle to lock the tables and rows. We have object with one-to-many, many-to-one and many-to-many relationships. But again, with READ COMMITTED should be an issue. We though implementing the @Version annotation in the Entity model, but once again, it shouldn't be an issue because of the READ COMMITTED isolation level in the DB. Any thought would be appreciate Thanks a lot View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262718#4262718 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262718 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JBPM4: How to find leaving transitions of an execution
Sebastian, when the process arrives at a certaion point where a node has more than one outgoing transition, the user actually needs to make a choise which transition to take. So I need to display all possible transitions to the user. I'm still not sure if I'm running in the wrong direction, because this seems to obvious to me... Thanks for the help again, Martin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262707#4262707 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262707 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: EJB 3.0 and JBoss 5 CR1 : calling a web service
Thanks very much, it worked. In fact, I had copied all jar files to JBOSS_HOME/lib/endorsed It did not work. I am using Vista. So i tried the second suggestion : nothing in JBOSS_HOME/lib/endorsed and I created a ENDORSED folder in jre1.6.0_07\lib\ And it works. It is a pretty annoying thing anyways. Thanks again jaikiran, it is not the fist time you have helped me successfully, i appreciate it a lot :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262706#4262706 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262706 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security] - HttpRequest in Custom Login Module
Hi, I am using JAAS Custom LoginModule it is extended by AbstractServerLoginModule. I would like to use HttpRequest object inside my custom LoginModule. Could you please let me know how to get HttpRequest in my custom LoginModule. Is it possible to use HttpRequest in custom LoginModule. And also I have couple of questions. 1. Is auto-login is possible using JAAS. If Yes, How to do auto-login in JAAS? [Auto-login : Without prompting dialog box/FORM jsp for user credentails. ] 2. Is JAAS support Cookie authentication? - I have cookie in my browser which is created by 3-party application, using this cookie I would like to get authenticated using JAAS. If Yes, please let me know the process/steps to do. 3. How to get HttpRequest object in my custom LoginModule? Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262699#4262699 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262699 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: How can I query run my own HQL in jBPM 4.x?
I found the answer. it is actually quite simple. you can write your own Command and execute it . inside the execute Method from the Command you have access to the DBSession and you can execute Hibernate Queries. I will post an Example later on maybe if somone is interested. I am implementing a command that returns a list of Tasks which have a specific name and belong to a process definition with a specific key and have variables with a specific value. maybe a command like this would be useful to everyone and can be integrated in jBPM task service. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262694#4262694 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262694 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JBPM4: How to find leaving transitions of an execution
https://jira.jboss.org/jira/browse/JBPM-2609 Go ahead and vote. :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262693#4262693 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262693 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JBPM4: How to find leaving transitions of an execution
Pardon my jumping in, but here's one use case for this: In our application, it is possible for a user to send an invalid transition to jBPM. When this occurs, there is a requirement for the server to display an error message that lists the valid transitions. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262685#4262685 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262685 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - Re: Reference extern javascript in jboss-portal.xml
http://anonsvn.jboss.org/repos/portletbridge/trunk/examples/seam/booking/seamBookingPortlet/src/main/jbossportal/jboss-portlet.xml View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262682#4262682 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262682 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - Re: RichFaces Portlet causes timeout Exception
http://www.jboss.org/files/portletbridge/docs/2.0.0.BETA/en/html_single/index.html#d0e463 Make sure you use the /faces/ context for the page location View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262681#4262681 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262681 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security] - Re: Authentication succeeded, getCallerPrincipal()=anonymous
Hi, no ideas, but a lot of requests for more details ;-). How does your client access your secured app? Is it a standalone application client? Is some servlet/website/web service called? How does the client log in? Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262680#4262680 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262680 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: EJB 3.0 and JBoss 5 CR1 : calling a web service
anonymous wrote : java.rmi.RemoteException: Call invocation failed; nested exception is: | java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage I guess you are using JDK6. See this http://www.jboss.org/index.html?module=bb&op=viewtopic&t=158265 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262679#4262679 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262679 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - EJB 3.0 and JBoss 5 CR1 : calling a web service
Hi, I have defined a web service which is a stateless session bean : | @Stateless | @WebService(endpointInterface ="com.bla.blabla.DoSomething") | @Remote(DoSomething.class) | | public class DoSomethingBean { | | @WebMethod(operationName="DoSomething") | public boolean go(String t, String n){ | ... | } | | } | I call that web service in a main java client : URL url = new URL("http://127.0.0.1:8085/blabla/DoSomethingBean?wsdl";); | QName qname = new QName("http://services.blabla.com/";, "DoSomethingBeanService"); | | ServiceFactory factory = ServiceFactory.newInstance(); | Service remote = factory.createService(url, qname); | | DoSomething dosome = (DoSomething) remote.getPort(DoSomething.class); | dosome.go("arg1", arg2"); | http://127.0.0.1:8085/blabla/DoSomethingBean?wsdl works, it points to the WSDL. I get an error message : | javax.servlet.ServletException: java.lang.reflect.UndeclaredThrowableException | org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:515) | org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | Also : | cause m�re | | java.rmi.RemoteException: Call invocation failed; nested exception is: | java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage | org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:536) | org.jboss.ws.core.jaxrpc.client.CallImpl.invoke(CallImpl.java:277) | org.jboss.ws.core.jaxrpc.client.PortProxy.invoke(PortProxy.java:156) | Does Web services work well with JBoss 5 CR1 ? Thanks for helping View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262672#4262672 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262672 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - using an external scheduler to execute 'jobs'
in the Developer Docu one can read the following sentence: | Do note that this mechanism is pluggable, which means that in the future other destinations could be used (JMS, JCR, etc). | what does that mean? is there a way to use an external job scheduler? I would like to use UC4 or Quarz as a scheduler but i found no way change the jBPM behavior whet it comes to write job in the DB. Is it possible to do something like that? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262673#4262673 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262673 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: How can I query run my own HQL in jBPM 4.x?
i think i know what is going on. the problem is that zhe hibernateSessionFactory setter is not a valid Java Beans seter.(has a return value). Maybe someone could take a look and make jBPM a bit more Spring friendly. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262669#4262669 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262669 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Remoting Users] - Problem with multiple ethernet adapters
Setup - Server Name : Server001 IBM Blade Server -> Two Ethernet adapters eth0 (100 Mbps) and eth1 (1000 Mbps) -> eth0: 150.158.73.49 -> eth1: 192.168.200.49 Debian 5 Installed Jboss 4.2.3 Jboss Remoting 2.4.0 SP1 Jboss Messaging 1.4.2 Host file entry: | 127.0.0.1 localhost | 150.158.73.49 Server001 Server001 | Scenario --- Jboss is bound to "Server001" lookup Code | final Properties props = new Properties(); | props.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); | props.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces"); | props.put("jnp.sotimeout", "2000"); | props.put("jnp.timeout", "2000"); | props.put(Context.PROVIDER_URL, java.lang.System.getProperty("bind.address") + ":1100"); // HA-JNDI port. | | | String partitionName = java.lang.System.getProperty("jboss.partition.name", java.lang.System.getenv("COMPUTERNAME") + "_PARTITION"); | partitionName = partitionName.toUpperCase(); | | // for auto discovery through partition name | props.put(NamingContext.JNP_PARTITION_NAME, partitionName); | props.put(NamingContext.JNP_DISCOVERY_GROUP, "230.0.0.4");// Default | props.put(NamingContext.JNP_DISCOVERY_PORT, "1102");// Default | props.put(NamingContext.JNP_DISABLE_DISCOVERY, "false"); Problem - now the problem is, some time we have seen that, Jboss starts normally without any exception and is looking at eth0 but suddently it starts looking up at eth1, thus unable to lookup deployed services. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262663#4262663 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262663 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: How can I query run my own HQL in jBPM 4.x?
wrong copy/paste... i am doing this: | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262660#4262660 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262660 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: identities from LDAP example pls!
*push* View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262659#4262659 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262659 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: How can I query run my own HQL in jBPM 4.x?
I have no clue what could cause the error. I guess somebody more experienced with java beans can answer this. Question to everyone else: Is there a reason that you can set but not get the Hibernate session? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262657#4262657 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262657 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: How can I query run my own HQL in jBPM 4.x?
I can't inject the hibernate session.. i am doing this: | | | | | and I get this error: anonymous wrote : | Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'hibernateSession' of bean class [org.jbpm.pvm.internal.cfg.SpringConfiguration]: Bean property 'hibernateSession' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter? | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262655#4262655 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262655 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: java:comp/env not found in @service POJO bean
Thanks very much, I'll try to ask EJB to do load data instead of invoking EnityManager directly. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262653#4262653 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262653 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: NotBoundException when @Service POJO invoke EJB
Thanks very much, I'll try it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262652#4262652 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262652 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: Urgent.....EJB3/Hibernate....
Hi, this depends on your app. If it has support different servers, you should not use Hibernate. If you know that this app will never run on other servers than JBoss, you can use EJB3 and Hibernate (hoping that JBoss will never change the persistence provider). Probably bad things will happen, if you mix Hibernate and a JPA provider of another vendor ;-). Hope this helps Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262651#4262651 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262651 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat Integration] - Re: All TCP connections are in CLOSE_WAIT State
hi RichardTaylor, you fixed this problem with which jbossnative version? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262649#4262649 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262649 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: NotBoundException when @Service POJO invoke EJB
Hi, you are right, this is probably a timing issue, as the Service bean is probably deployed before the EJB. To avoid this: add a @Depends annotation to the service bean, which points to your EJB. The full EJB service name can be find in JNDIView. Hope this helps Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262648#4262648 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262648 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: java:comp/env not found in @service POJO bean
"steeven" wrote : grdzeli_kaci, | | Thanks very much~ | Are you sure oracleManager worked in start() method? yes of course, It is very useful pattern. Singleton service is very useful for me. I load 90 % of database table into memory, because it contains maximum 100 rows each table, these table are configuration table, i have no transaction table into memory only. i load all table in start method, and then if i change something into database, i'll make reload concrete table(s) or row. I'll be very glad that into ejb 3.1 will be singleton service, because now my projects is application server dependent, you know that @Service is jboss ejb3 extension. __ Regards, Paata Lominadze. Magticom LTD. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262645#4262645 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262645 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Variable extension
Serializing the class works :). Thanks! eider View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262629#4262629 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262629 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: java:comp/env not found in @service POJO bean
grdzeli_kaci, Thanks very much~ Are you sure oracleManager worked in start() method? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262607#4262607 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262607 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - NotBoundException when @Service POJO invoke EJB
AS5.1.0, NO EJB3 Plugin installed. I packed service POJO and EJB3 SLSB together and the EJB injected to service bean doesn't worked steady. Sometimes the following exception raised when server start up and deploy. Is it a reason that EJB3 and Service POJO deployed in same time? The start() method invoked without related EJB/service ready? Is it possible to make this service POJO depend on EJB? I want to use Service POJO to do some initialization works when application server start up, am I lost in wrong direction? @Service(name = CmModule.SERVICE_NAME) | public class CmModule implements ICmModule { | public final static String SERVICE_NAME = "CmModule"; | | Logger log = LoggerFactory.getLogger(CmModule.class); | | @EJB | private IMoService moService; | | @TransactionAttribute(TransactionAttributeType.REQUIRED) | public void start(){ | log.info("Cm Module started"); | moService.hello(); | log.info("Default Domain has been added."); | } | } 5:51:23,084 INFO [CmModule] Cm Module started | 15:51:23,084 ERROR [STDERR] org.jboss.ejb3.common.registrar.spi.NotBoundException: Object is bound at key jboss.j2ee:ear=ems.ear,jar=ems-server.jar,name=MoService,service=EJB3, but is not fully installed, instead of state: controllerst...@18dbaa6{start} | 15:51:23,084 ERROR [STDERR] at org.jboss.ejb3.common.registrar.plugin.mc.Ejb3McRegistrar.lookup(Ejb3McRegistrar.java:170) | 15:51:23,084 ERROR [STDERR] at org.jboss.ejb3.common.registrar.plugin.mc.Ejb3McRegistrar.lookup(Ejb3McRegistrar.java:134) | 15:51:23,084 ERROR [STDERR] at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.getContainerLocally(SessionProxyInvocationHandlerBase.java:410) | 15:51:23,084 ERROR [STDERR] at org.jboss.ejb3.proxy.impl.handler.session.SessionLocalProxyInvocationHandler.getContainer(SessionLocalProxyInvocationHandler.java:87) | 15:51:23,084 ERROR [STDERR] at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:193) | 15:51:23,084 ERROR [STDERR] at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:164) | 15:51:23,084 ERROR [STDERR] at $Proxy411.get(Unknown Source) | 15:51:23,084 ERROR [STDERR] at org.steeven.cm.CmModule.checkDefaultDomain(CmModule.java:51) | 15:51:23,084 ERROR [STDERR] at org.steeven.cm.CmModule.start(CmModule.java:43) | 15:51:23,084 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 15:51:23,084 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 15:51:23,084 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 15:51:23,084 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597) | 15:51:23,084 ERROR [STDERR] at org.jboss.ejb3.service.ServiceContainer.invokeOptionalMethod(ServiceContainer.java:369) | 15:51:23,084 ERROR [STDERR] at org.jboss.ejb3.service.ServiceContainer.lockedStart(ServiceContainer.java:264) | 15:51:23,084 ERROR [STDERR] at org.jboss.ejb3.EJBContainer.start(EJBContainer.java:884) | 15:51:23,084 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 15:51:23,084 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 15:51:23,084 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 15:51:23,084 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597) | 15:51:23,084 ERROR [STDERR] at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59) | 15:51:23,084 ERROR [STDERR] at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150) | 15:51:23,084 ERROR [STDERR] at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66) | 15:51:23,084 ERROR [STDERR] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241) | 15:51:23,084 ERROR [STDERR] at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47) | 15:51:23,084 ERROR [STDERR] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109) | 15:51:23,084 ERROR [STDERR] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70) | 15:51:23,084 ERROR [STDERR] at org.jboss.kernel
[jboss-user] [JBoss Web Services Users] - Re: Consuming Web Services when WSDL access / UDDI discovery
You can store the wsdl locally and point that copy instead of the remote one. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262598#4262598 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262598 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JBPM4: How to find leaving transitions of an execution
>From what I can say with my limited knowledge and experience of implementing >an application with jBPM I would say no. It should be possible to retrieve the >outgoing transitions of an activity and the approach seems clean to me. But why not let us know a bit more about the use case? Let's see what Ronald or any other more experienced user than me can say about it. What do you mean by "Unless you create your own views for each state of the process" ? P.S.: Have you filled the JIRA issue already? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262594#4262594 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262594 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - Re: Reference extern javascript in jboss-portal.xml
Sorry wrong duplicated message and right name is jboss-portlet.xml Sorry one more time View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262593#4262593 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262593 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - Reference extern javascript in jboss-portal.xml
Hello, Does anybody know how to make a reference to an extern javascript file in the jboss-portal.xml descriptor? For example: I have a a.war file with a a.js file and a b.war with a b.js file. In this b.war file I need to use some javascript functions from a.js. This would be my jboss-portal.xml file: http://www.jboss.org/portal/dtd/jboss-portlet_2_6.dtd";> bPortlet ?? Thank you very much for any help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262592#4262592 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262592 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - Reference extern javascript in jboss-portal.xml
Hello, Does anybody know how to make a reference to an extern javascript file in the jboss-portal.xml descriptor? For example: I have a a.war file with a a.js file and a b.war with a b.js file. In this b.war fileI need to use some javascript functions from a.js. This would be my jboss-portal.xml file: http://www.jboss.org/portal/dtd/jboss-portlet_2_6.dtd";> bPortlet View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262590#4262590 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262590 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: java:comp/env not found in @service POJO bean
ok, then you must update latest ejb 3 plugin. link is posted above. I use this code into my application on jboss 5.1.0.GA with have no any problem. __ Regards, Paata Lominadze. Magticom LTD. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262589#4262589 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262589 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JBPM4: How to find leaving transitions of an execution
Thank your for the response! After reading your replies, it came to my mind that I might be going to the wrong direction of implementing my app. >From my point of view, it is absolutely neccessary to get information on the >outgoing transition of the current activity. (Unless you create your own views >for each state of the process). This was actually very easy to do in JBPM3 (because you always had the hibernate pojos at hand). What do you think, am I hadding torwards the wrong direction? Thanks, Martin Below View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262585#4262585 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262585 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Multiple instances with synchronization
Thank you. I'll do that. :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262581#4262581 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262581 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: java:comp/env not found in @service POJO bean
Thanks you guys all, I'm using AS5.1.0 "grdzeli_kaci" wrote : sorry i missed EntityManager declaration into implementation. | | | @PersistenceContext(unitName = "CustomerCareOracle") | | private EntityManager oracleManager; | | This code work for me, but try to invoke some method to oracleManager, exception with raise out. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262579#4262579 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262579 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI and Naming] - Re: lookupLocaly failing
anonymous wrote : at org.jboss.ha.jndi.HAJNDI.lookupLocally(HAJNDI.java:131) | at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:202) | Are you running the "all" server configuration? anonymous wrote : javax.naming.NamingException: Could not dereference object [Root exception is java.lang.RuntimeExcep | tion: Exception while trying to locate proxy factory in JNDI, at key ProxyFactory/risk-server/UserCo | ntextManagementBean/kdr/remote/UserContextManagement/KDR] | Please post this entire exception stacktrace. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262572#4262572 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262572 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Multiple JBoss instances vs. one
"icordoba" wrote : as far as I know there is no way to enable isolated class loading without enabling "CallByValue"... is there? | | | Ignacio There is : http://www.jboss.org/community/wiki/ClassLoadingConfiguration http://www.jboss.org/community/wiki/JBossClassLoadingUseCases View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262571#4262571 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262571 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: Urgent.....EJB3/Hibernate....
Thanx Wolfgang, I got your point...but... talking about hibernate :It supports standardized Java Persistence and EJB 3.0 (JSR 220) object/relational mapping annotations + on top of that It has Hibernate-specific extension annotations for performance optimization and special mappings...right...? So wouldnt it be better to go with EJB + Hibernate...? Regards. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262570#4262570 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262570 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Install Failed - Help Please
If you are new, do you really want to build from source? We have platform independent binaries (.zip files) for the AS which you can directly use. If at all you want to build from source then follow this http://www.jboss.org/community/wiki/MavenSettings http://www.jboss.org/community/wiki/jbossasbuild View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262569#4262569 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262569 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user