[jboss-user] [Beginner's Corner] - Re: 'table does not exist' error after changing default data
bwalker55 wrote : I've changed the default database (DefaultDS) to Oracle as per instructions elsewhere. Which exact JBoss AS version do you use? And can you point us to the exact steps you followed to change the default DB. The creation of appropriate tables should already have been taken care by the xml files for jms. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261392#4261392 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261392 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: 'table does not exist' error after changing default data
Also have a look at this http://www.jboss.org/community/wiki/ChangeDefaultDataSource View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261393#4261393 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261393 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jbpm 4.1 - Taskform ( Task Variable )
Anybody who can guide me in this ? It seems that this is a bug which should be raised in JIRA. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261400#4261400 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261400 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jbpm 4.1 - Taskform ( Task Variable )
Since I don't really use taskforms I don't know. Have you searched the forum and JIRA for an issue like this? If you come to the conclusion this is a bug fill a JIRA issue. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261403#4261403 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261403 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security] - Re: ejb not validating user role at session bean methods + J
Hi, do you have @RolesAllowed annotations on your bean class? Post the snippets of bean declarations and the relevant XML file parts. You might activate logging of the security layer (see sticky post FAQ, question 4) to check whether your login config is working as expected. Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261405#4261405 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261405 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security] - Re: Caller unauthorized on using a ejb3 statetlesssessionbea
Hi Wolfgang, yes I've enabled the security layer debugging. There is no more output on my JBoss then that waht I've posted already. I don't know what you have expected. After trying a simple Servlet application with WebAuthentication as described in the blog, the same error Caller unauthorized comes up on the access of an EJB3 bean when there is a @RunAs annotation. So for now I continued with checking if the EJB3 context gets the user authentication correctly. Now I have tried to see what happens when I do a | log.info(request.getUserPrincipal()); | log.info(request.getRemoteUser()); | log.info(request.isUserInRole(AdminUser)); | The results are: | extern.michael.obster | extern.michael.obster | false | The conclusion from my point is that there are 3 possible errors: 1. The authentication gets lost, so the request don't know the role of the user. 2. The JAAS gets confused about which ID has to be used to get the role for the user 3. The roles query has a wrong result. After some debugging I found out, that my roles query returns a result with some other columns the JAAS system does not expect. So correcting the roles query fixed my problem. But thank you for your help. It was not useless, because I got some more knowlegde how to debug the security layer ;-). For people who have the same problem, check if your result from the roles query contains the columns name (with the name of the role) and role_group! Cheers, Michael View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261407#4261407 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261407 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security] - Re: Caller unauthorized on using a ejb3 statetlesssessionbea
Hi Michael, glad you solved your problem. That was a nasty bug ;-). If you see a chance that JBoss might error check this condition, you might raise a JIRA issue. But it happened in your custom login module, didn't it? So maybe no JBoss error ;-)? Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261416#4261416 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261416 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - JpdlProcessDefinition cannot be cast to java.util.List
=== Environment == - jBPM Version : 4.1 - Database : oracle - JDK : 1.6 - Container : which Java version are you using? use 'java -version' to find out - Configuration : no - Libraries : no === Process == none === API === ProcessDefinition pd = repositoryService.createProcessDefinitionQuery().processDefinitionId(historyService.createHistoryProcessInstanceQuery().processInstanceId(pid).uniqueResult().getProcessDefinitionId()).uniqueResult(); === Stacktrace == java.lang.ClassCastException: org.jbpm.jpdl.internal.model.JpdlProcessDefinition cannot be cast to java.util.List | org.jbpm.pvm.internal.repository.ProcessDeployer.deploy(ProcessDeployer.java:64) | org.jbpm.pvm.internal.repository.DeployerManager.deploy(DeployerManager.java:46) | org.jbpm.pvm.internal.repository.RepositorySessionImpl.getObject(RepositorySessionImpl.java:120) | org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.execute(ProcessDefinitionQueryImpl.java:72) | org.jbpm.pvm.internal.query.AbstractQuery.execute(AbstractQuery.java:81) | org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42) | org.jbpm.pvm.internal.tx.jta.JtaTransactionInterceptor.executeInNewTx(JtaTransactionInterceptor.java:79) | org.jbpm.pvm.internal.tx.jta.JtaTransactionInterceptor.execute(JtaTransactionInterceptor.java:61) | org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55) | org.jbpm.pvm.internal.tx.jta.JtaRetryInterceptor.executeWithRetry(JtaRetryInterceptor.java:52) | org.jbpm.pvm.internal.tx.jta.JtaRetryInterceptor.execute(JtaRetryInterceptor.java:45) | org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:46) | org.jbpm.pvm.internal.query.AbstractQuery.untypedList(AbstractQuery.java:62) | org.jbpm.pvm.internal.query.AbstractQuery.untypedUniqueResult(AbstractQuery.java:69) | org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.uniqueResult(ProcessDefinitionQueryImpl.java:145) | com.gaia.jbpm.core.ProcessManager.getProcessDefinitionByProcessInstanceId(ProcessManager.java:398) | com.gaia.jbpm.core.ProcessManager.getActivityCoordinatesInfo(ProcessManager.java:349) | com.gaia.jbpm.action.GetActiveNodeInfo.execute(GetActiveNodeInfo.java:66) | com.gaia.dispatcher.ActionDispatcher.process(ActionDispatcher.java:35) | com.sol2.web.dispatcher.SOL2_ActionDispatcher.processRequest(SOL2_ActionDispatcher.java:69) | com.sol2.web.dispatcher.SOL2_ActionDispatcher.doGet(SOL2_ActionDispatcher.java:52) | javax.servlet.http.HttpServlet.service(HttpServlet.java:617) | javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | com.gaia.filter.ActionFilter.doFilter(ActionFilter.java:129) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) === Debug logs == past debug logs here === Problem description = Please help me to find out what's the metter of my app. Thanks all. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261418#4261418 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261418 ___ 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!
I googled that people trying own identity systems with jBPM even 2 years ago ( example: http://jelmer.jteam.nl/2007/10/08/extensibility-jbpm-style/ ). jBPM doc mentions about it and its config files seems to be prepared to configure this. Just wandered if you have any example. I cannot synch hundreds of users and roles from in-house systems into jBPM manually. Till identities are not pluggable I understand jBPM is in early development stage. For me it is first thing to do :) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261429#4261429 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261429 ___ 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!
Well, if your question about version was not sarcastic then I answer: 4.1 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261430#4261430 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261430 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - JBPM3.2 :: Reassign Task to another User
Hello All, I am new to JBPM, is there anyway to reassign the task to the another User Please Reply asap. Thanks Regards Sunay Shah View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261438#4261438 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261438 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security] - Re: ejb not validating user role at session bean methods + J
I configured my log4j with the details, but did not receive any log of concern.. - My login-config.xml snippet is given below application-policy name = SecurityPolicy login-module code = org.jboss.security.ClientLoginModule flag = required module-option name=unauthenticatedIdentitydefaultuser/module-option !-- Any existing security context will be restored on logout -- module-option name=restore-login-identitytrue/module-option /login-module login-module code=com.temp.component.security.LoginCheck flag = required module-option name=unauthenticatedIdentitydefaultuser/module-option !-- Any existing security context will be restored on logout -- module-option name=restore-login-identitytrue/module-option /login-module /application-policy - content of the jboss.xml within my ear security-domainjava:/jaas/SecurityPolicy/security-domain - content of the jboss-web.xml in the war file within my ear jboss-web security-domain flushOnSessionInvalidation=truejava:/jaas/SecurityPolicy/security-domain /jboss-web - I have defined the role as @RolesAllowed(WRONG_ROLE__FOR_FAILURE) for my ejb session bean method. There is no such role, but still i can access the method.. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261440#4261440 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261440 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - URL is not valid and cannot be loaded.
I've tried to add my own google gadget to JBOSS Portal! When the portal is loaded the upper warning message appears. When I click OK the gadget's caption is shown but there is no content in it. Could anybody help me? Best regards, flokay View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261450#4261450 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261450 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Message History Survive a Restart?
Is it possible to configure the message counters for a queue so that they survive a restart? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261469#4261469 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261469 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Message History Survive a Restart?
No this is not possible. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261473#4261473 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261473 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - JBOSS CXF + Eclipse 3.5 Galileo
Hi All, I am new to JBoss CXF. I downloaded CXF version from JBoss website.I followed the installation instruction and successfully completed. Now I want to know how to use JBoss CXF Web-Service in new dynamic Web project.I have another Question What is the flavor that JBoss Tools incudes in JBoss WS tools ? 1. Native 2. Metro 3. CXF Please provide me any simple installation steps of JBoss CXF WS in Eclipse. Thanks in advance Sandy [/url] View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261479#4261479 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261479 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence] - Re: How to use 2 different Oracle drivers in same server?
Thank you for the reply, we followed the advice in the link you posted and it all works fine. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261486#4261486 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261486 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: Migrate from Jboss 4.2.2GA to 5.1.0GA - HELP!
That was exactly my problem - I had to change something in the persistence.xml. Thanks a lot! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261487#4261487 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261487 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - [JBPM 4] Process variable
=== Environment == - jBPM Version : 4 - Database : Oracle 10g XE - JDK : 1.5 - Container : standalone App - Configuration : standard JBPM 4, changed jbpm.hibernate.cfg.xml, added line for Hibernate entity mapping class: #60;mapping resource=pl/test/jbpm/entity/Persisted.hbm.xml /#62; === Process == Process from example: Comments === API === ExecutionService executionService = procEngine.getExecutionService(); MapString, Object variables = new HashMapString, Object(); Persisted p = new Persisted(); p.setName(Variable); p.setValue(Value); SessionFactory sf = procEngine.get(SessionFactory.class); Session sess = sf.openSession(); sess.beginTransaction(); sess.save(p); sess.flush(); sess.getTransaction().commit(); variables.put(content, java); ProcessInstance processInstance = executionService.startProcessInstanceByKey(TaskVariables, variables); executionService.setVariable(processInstance.getId(), persistence, p); === Stacktrace == Exception in thread main org.hibernate.HibernateException: instance not of expected entity type: org.jbpm.pvm.internal.type.variable.UnpersistableVariable is not a: org.jbpm.pvm.internal.type.Variable at org.hibernate.persister.entity.AbstractEntityPersister.getSubclassEntityPersister(AbstractEntityPersister.java:3663) at org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1374) at org.hibernate.engine.ForeignKeys.isTransient(ForeignKeys.java:203) at org.hibernate.event.def.AbstractSaveEventListener.getEntityState(AbstractSaveEventListener.java:535) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:103) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:93) at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:534) at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:526) at org.hibernate.engine.CascadingAction$5.cascade(CascadingAction.java:241) at org.hibernate.engine.Cascade.cascadeToOne(Cascade.java:291) at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:239) at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:192) at org.hibernate.engine.Cascade.cascadeCollectionElements(Cascade.java:319) at org.hibernate.engine.Cascade.cascadeCollection(Cascade.java:265) at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:242) at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:192) at org.hibernate.engine.Cascade.cascade(Cascade.java:153) at org.hibernate.event.def.AbstractFlushingEventListener.cascadeOnFlush(AbstractFlushingEventListener.java:154) at org.hibernate.event.def.AbstractFlushingEventListener.prepareEntityFlushes(AbstractFlushingEventListener.java:145) at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:88) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:49) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1027) at org.jbpm.pvm.internal.tx.HibernateSessionResource.prepare(HibernateSessionResource.java:54) at org.jbpm.pvm.internal.tx.StandardTransaction.commit(StandardTransaction.java:106) at org.jbpm.pvm.internal.tx.StandardTransaction.complete(StandardTransaction.java:65) at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:61) at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:54) at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55) at org.jbpm.pvm.internal.svc.ExecutionServiceImpl.setVariable(ExecutionServiceImpl.java:145) at pl.test.jbpm.Main.main(Main.java:63) === Debug logs == [ScopeInstanceImpl] create variable 'persistence-id' in 'execution[TaskVariables.342]' with value 'pl.test.jbpm.entity.persis...@970c0e' === Problem description = Persistent is a hibernate entity class (configured using XML). The problem is when i'm trying to set hibernate entity as process variable i got exception as above :( I have no problem to store simple variable as String or Long or even as Serializable class, but for my application i have to store variable as whole entity (in table in DB). Can You help me with my problem? Did i missed
[jboss-user] [Clustering] - Re: Cluster invocation error
We are on AS 4.2. But all other targets are up at that point and they are in the cluster. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261516#4261516 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261516 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - Portal giving way to GateIn
We are in the process of deploying a new Jboss Portal for a customer. We want to install AS 5.1, but notice that portal is not supported on 5.1. Is this because Jboss is moving its portal work to GateIn? Should we focus on GateIn for this customer? Is GateIn ready for prime time? Or should we present portal 2.7.2 on AS 4.2.3 for this customer? Thanks, Dave View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261522#4261522 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261522 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - [JBPM 4] - Process Definition
Hi I am new to jBPM. Is there any way to create process definition programactilly without using designer tool. Also is it possible in jBPM to maintain different versions of process definition. Thanks in advance for your valuable reply... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261524#4261524 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261524 ___ 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
EPP is the productized version, this is the ready for prime-time version. The current version is Enterprise Portal Platform 4.3 which embeds EAP 4.3 http://www.jboss.com/products/platforms/portals/ Next EPP will be running on EAP 5, it will depend on your delivery date. You should contact our sales team. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261526#4261526 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261526 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security] - Error using DatabaseServerLoginModule
Hello Here is a bit of the relevant code I'm using: web.xml web-resource-collection | web-resource-nameconstraint1/web-resource-name | url-pattern/index.jsp/url-pattern | http-methodGET/http-method | http-methodPOST/http-method | /web-resource-collection login-config | auth-methodFORM/auth-method | realm-namemyrealm/realm-name | form-login-config | form-login-page/login.jsp/form-login-page | form-error-page/loginFailure.jsp/form-error-page | /form-login-config | /login-config jboss-web.xml security-domainjava:/jaas/marsPolicy/security-domain login-config.xml application-policy name = marsPolicy |authentication | login-module code = org.jboss.security.auth.spi.DatabaseServerLoginModule flag = required | module-option name = dsJndiNamejava:/datasource/marquis-backup/module-option | module-option name = principalsQuerySELECT password FROM [user] WHERE loginId = ?/module-option | module-option name = rolesQueryselect description, 'roles' from role r, userrole ur, [user] u where u.userId = ur.userId and ur.roleId = r.roleId and u.loginid = ?/module-option | /login-module |/authentication | /application-policy When I enter invalid credentials I'm properly forwarded to loginFailure.jsp, when I enter valid credentials I get the following error: anonymous wrote : message: Invalid direct reference to form login page | | description: The request sent by the client was syntactically incorrect (Invalid direct reference to form login page). How can I correct this error? Thank you. Keith View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261527#4261527 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261527 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Related to EJB Deployment in JBoss
Hi all, I just installed JBoss Application Server 5.1.0 GA. I had google around and found out that I need to put the ejb.jar into JBOSS_HOME/server/deploy directory. But currently, I am having following folder under JBOSS_HOME/server: JBOSS_HOME\server\all\deploy JBOSS_HOME\server\default\deploy JBOSS_HOME\server\standard\deploy JBOSS_HOME\server\minimal\deploy JBOSS_HOME\server\web\deploy so, in which directory I have to put in the ejb.jar so that I can deploy it successfully? Thanks :) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261530#4261530 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261530 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: [JBPM 4] - Process Definition
AFAIK you can create process definitions programmatically. I just don't recall if they're based upon jPDL or PVM. Look it up in the javadocs. Should be there. Regarding creating a process definition file (I am not sure about your question) you should accomplish this on your own by using some XML tool since the jPDL language is XML-based and not to complicated. And yes, it is possible to maintain different version and use them on the same time. Should be in the userguide. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261536#4261536 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261536 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Related to EJB Deployment in JBoss
Each one of the all, default, minimal etc... server configurations provide a different set of functionalities. all has clustering features and is a superset of the other configurations. default has all the services (like EJB support) without the clustering services. So usually, it's the default configuration that users go for. You can place that file in server/default/deploy and start the server using the run.sh/run.bat scripts. By default the default configuration will be started. However, if you want to start a different configuration, you can use the -c option and pass it the name of the server configuration. For example, to start the all config: ./run.sh -c all View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261537#4261537 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261537 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Jbpm/MySQL not working on linux, but fine on Windows
I'm not running JBPM on MySQL, but once I had a similar problem. I solved it not by renamig tables, because I didn't know if they were called using different caps from different modules (obviously, it wasn't using Hibernate), but by using Mysql Proxy. In it I wrote a script that replaced table names used with any case to the case the tables were named. It worked fine, though the solution includes another intermediary to the database. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261538#4261538 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261538 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - Re: Cluster invocation error
What's the call pattern? Were the other nodes up and available when the client dowloaded the ejb proxy from JNDI or last invoked on it? (Last == the time before the call that failed). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261539#4261539 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261539 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - jboss-messaging-1.4.5.GA and JBoss AS 5.1
Hi: Does JBM 1.4.5 work with JBoss AS 5.1? I know that JBM 1.4.4 didn't. Based on JBM 1.4.5's user guide, it requires JBoss Remoting 2.2.3.SP1, which doesn't work with JBoss AS 5. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261540#4261540 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261540 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JpdlProcessDefinition cannot be cast to java.util.List
How does the process definition look like? For me this is somehow not enough information to help you. I encountered this problem already when browsing process definitions with the console and I had java classes referenced in the process definition which were missing in the classpath. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261546#4261546 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261546 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: [JBPM 4] Process variable
I am not very proficient in this field but my hint would be to take a look at jbpm.variable.types.xml. In the source I even read something about a user configuration file so there should be no need to change the file shipped with the distro. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261547#4261547 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261547 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [MQ] - JmsXA and remote queues
Env : JBoss 4.2.3, JbossMQ shipped with Jboss 4.2.3 Hi all, I have a pretty simple question, but dont manage to find the solution through google/forum searchs. Inside an MDB, I need to enlist the sending of JMS messages in a JTA transaction. The queue is a remote queue located on another JBossMQ server. The need to enlist in a JTA transaction with multiples resources decided me to turn to JmsXA pool. Here is the code : | @MessageDriven( | activationConfig = {...}... | @PoolClass (value=org.jboss.ejb3.StrictMaxPool.class, maxSize=1, timeout=3) | @Depends(jboss.j2ee:service=EARDeployment,url='xxx.ear') | public class Test1MDB implements MessageListener { | public void onMessage(Message msg) { | ... do operations on database (XADataSource) | |Context jndi = new InitialContext(); |QueueConnection connection = (QueueConnectionFactory) jndi.lookup(java:JmsXA); | QueueSession = connection.createQueueSession(true, QueueSession.AUTO_ACKNOWLEDGE); | Queue queue = (Queue) jndi.lookup(jnp://174.54.12.144:1099/queue/test2); | QueueSender sender = session.createSender(queue); | ObjectMessage msg = MessageHelper.create(session, messageDTO); | sender.send(msg); |... | } | The result is that code works well if I target a local queue, but fails when I target a remote queue (like in my example). I add that the queues targeted are test queues (created temporarly by the MDB) The following logs appear at the end of the onMessage method (commit time) : | 16:53:40,413 WARN [loggerI18N] [com.arjuna.ats.internal.jta.resources.arjunacore.preparefailed] [com.arjuna.ats.internal.jta.resources.arjunacore.preparefailed] XAResourceRecord.prepare - prepare failed with exception XAException.XAER_RMFAIL | 16:53:40,416 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_50] - Prepare phase of action 7f000101:81ea:4adf0cd5:1255 received heuristic decision: TwoPhaseOutcome.HEURISTIC_HAZARD | 16:53:40,416 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_36] - BasicAction.End() - prepare phase of action-id 7f000101:81ea:4adf0cd5:1255 failed. | 16:53:40,416 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_37] - Received heuristic: TwoPhaseOutcome.HEURISTIC_HAZARD . | 16:53:40,416 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_38] - Action Aborting | And it chains to replay the same input message, until the following exception occurs : | 16:53:40,449 ERROR [JmsServerSession] org.jboss.resource.adapter.jms.inflow.jmsserversess...@1c7811a failed to commit/rollback | javax.transaction.HeuristicMixedException | at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1397) | at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:135) | at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:87) | at org.jboss.resource.adapter.jms.inflow.JmsServerSession$XATransactionDemarcationStrategy.end(JmsServerSession.java:494) | at org.jboss.resource.adapter.jms.inflow.JmsServerSession.run(JmsServerSession.java:248) | at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204) | at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:756) | at java.lang.Thread.run(Thread.java:595) | Strangely, that occurs only for remote queues. Any pointers? Thank you for your help. RL View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261554#4261554 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261554 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JpdlProcessDefinition cannot be cast to java.util.List
Usually when I've gotten this error I can resolve it by deleting all the process definitions that are in my database, then redeploying the process definition. Possibly I had an old process definition in my database that refers to a Java class that no longer exists? Not that this fix is practical to do in a production environment, but it might help as a short term fix while looking into the root cause. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261556#4261556 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261556 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - Failure when cleaning up HTTP Session in JBoss AS Cluster?
Let me know if this should be posted somewhere else. JBoss 5.1.0 JBoss Cache 3.2.1 Three servers in cluster, HTTP Session replication, UDP, total replication, passivation enabled We recently rolled out two changes to our system, HTTP Session passivation and an upgrade to JBoss Cache 3.2.1. The changes were tested for several days under load on two other systems, but now that we've deployed to our primary data center we've run into an issue. Things ran fine for about 22 hours, then server A and server B went into a loop where each server getting the following two stack traces repeatedly. This happened twice in 24 hours. We've not disabled session passivation and have not seen the issue. In order to get the servers out of the loop we had to restart jboss on both servers (one of them twice). JBoss was still responding but the cluster was in an obviously degraded state. 2009-10-20 15:40:29,709 ERROR [org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.AttributeBasedJBossCacheService] (ContainerBackgroundProcessor[StandardEngine[jboss.web]]) IOException occurred unmarshalling value | java.io.OptionalDataException | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1349) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) | at javolution.util.FastMap.readObject(Unknown Source) | at sun.reflect.GeneratedMethodAccessor362.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974) | at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) | at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947) | at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) | at org.jboss.ha.framework.server.SimpleCachableMarshalledValue.get(SimpleCachableMarshalledValue.java:94) | at org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.AbstractJBossCacheService.getUnMarshalledValue(AbstractJBossCacheService.java:660) | at org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.AttributeBasedJBossCacheService.getSessionAttributes(AttributeBasedJBossCacheService.java:166) | at org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.AbstractJBossCacheService.getDistributableSessionData(AbstractJBossCacheService.java:581) | at org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.AbstractJBossCacheService.getSessionData(AbstractJBossCacheService.java:364) | at org.jboss.web.tomcat.service.session.JBossCacheManager.loadSession(JBossCacheManager.java:1832) | at org.jboss.web.tomcat.service.session.JBossCacheManager.findSession(JBossCacheManager.java:489) | at org.jboss.web.tomcat.service.session.JBossCacheManager.processExpirationPassivation(JBossCacheManager.java:1603) | at org.jboss.web.tomcat.service.session.JBossManager.backgroundProcess(JBossManager.java:385) | at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1327) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1612) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1621) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1621) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1601) | at java.lang.Thread.run(Thread.java:619) | | 2009-10-20 15:40:29,713 ERROR [org.jboss.web.tomcat.service.session.JBossCacheManager.] (ContainerBackgroundProcessor[StandardEngine[jboss.web]]) processExpirationPassivation(): failed handling unloaded session O-lgMwkUSLW1vVpTRQzExg__ | java.lang.NullPointerException | at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:881) | at java.util.concurrent.ConcurrentHashMap.putAll(ConcurrentHashMap.java:909) | at org.jboss.web.tomcat.service.session.ClusteredSession.populateAttributes(ClusteredSession.java:1661) | at org.jboss.web.tomcat.service.session.ClusteredSession.update(ClusteredSession.java:1120) | at org.jboss.web.tomcat.service.session.JBossCacheManager.loadSession(JBossCacheManager.java:1835) | at
[jboss-user] [JBoss Portal Users] - Re: Portal giving way to GateIn
Will JBoss Portal be released for AS 5.x? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261560#4261560 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261560 ___ 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
No, all development efforts are going in the GateIn project and the EPP5 product, no new feature should be expected in JBoss Portal. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261565#4261565 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261565 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JpdlProcessDefinition cannot be cast to java.util.List
Actually, I ran into one of these errors just now (java.lang.ClassCastException: org.jbpm.jpdl.internal.model.JpdlProcessDefinition cannot be cast to j ava.util.List) and clearing the database didn't solve it. Digging a little deeper, it looks like (at least when a model is deployed in a JUnit environment) when the jBPM parser parses a model file, if there's an error (such as a java class is defined that can't be found, or a class cast exception), the exception is thrown to the console but parsing continues on. This leads to the above (hard to understand) error message occurring. If you look at your system console, you hopefully will see an exception just prior to the above one, which is more informative. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261574#4261574 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261574 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: 'table does not exist' error after changing default data
Thanks for the response. I think I'm getting there. JBoss version is 4.2.3 on server in question. For information on changing the default datasource, I used the Installation and Getting Started Guide. http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Installation_And_Getting_Started_Guide/5/pdf/Installation_And_Getting_Started_Guide.pdf Unfortunately, there's no mention of JMS in this document. I also referenced the following (and translated to Oracle) http://www.jboss.org/community/wiki/SetUpAMysqlDatasource but must admit that I skipped the JMS part (as I was initially attempting to bring up jBoss without messaging, before I realized this would leave me without the admin consoles). I have since found: http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Administration_And_Configuration_Guide/5/html/alternative_DBs.html and more specifically http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Administration_And_Configuration_Guide/5/html/ch13s08s01.html I have followed the advice of these documents and replaced the hsqldb-jdbc2-service.xml with oracle-jdbc2-service.xml Note that the document you reference: http://www.jboss.org/community/wiki/ConfigDefaultDSJBossMQDB is similar, but does not indicate that the oracle-jdbc2-service.xml must also be edited, changing OracleDS to DefaultDS (if the DefaultDS is redefined). If you don't make this change, which I initially missed, there are no database errors on startup, but the JMS_TRANSACTIONS and JMS_MESSAGES tables do not get created. Once this change is made, the startup looks the same from the log file, and the JMS_TRANSACTIONS and JMS_MESSAGES tables are created in Oracle. Of course, this is all for 4.2. I believe the change for 5.1 is simlar, but the file names and locations of the -service.xml files are different. Thanks, Bob. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261586#4261586 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261586 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Querying Against Process Variables
rmoskal wrote : Ronald: | | You could interpret more charitably. I have indeed searched the forums and the length and breadth of the internet Next time, mention this. Nothing from your post gives me the intention you did. And since I'm pretty sure it has been discussed before multiple times, I posted what I posted. rmoskal wrote : | . Perhaps I need a custom hibernate query. Maybe somebody has already thought this through and would share it with the rest of us (saving me a bit of trouble). As I am happy to to do when I can help others. | That is indeed what has been discussed before, combined with the (dis)advantages, the usage of the businesskey etc... So sorry if you feel offended, next time add the information in this second post to the first oneThen you would have gotten a different response from me. Something like: Yes that is the way to go, or use the businesskey for this. Keep in mind that indexes might need to be created on each variable type column. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261587#4261587 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261587 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - Every Call to any method in SFSB takes 60 Sec in clustering
Hi I have facing following issue in Stateful Session Bean (Clustering). Happens when using jboss instance for some time 1. SFSB.create(); // no wait 2. SFSB.ABC() ; // waits / takes 60 sec 3. SFSB.XYZ(); // waits / takes 60 sec 4. SFSB.remove(); // waits / takes 60 sec After I restart jboss instance, wait goes away Any help in this regards will be helpful Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261588#4261588 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261588 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jbpm 4.1 - Taskform ( Task Variable )
It is not a bug, it is something that is not implemented afaik. The Forum of the bpm console is a better place to ask I think. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261589#4261589 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261589 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
Re: [jboss-user] [Installation, Configuration Deployment] Can't find jbossweb-service in the Maven repository
Thanks, I've posted it to the forum Antonio 2009/10/19 Stephen Davidson go...@freenet.carleton.ca -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Antonio. It looks like you sent this to the JBoss User Mailing list, rather than the Forums. Is this correct? If so, you might want to try the Forums, as the mailing list does not seem to be monitored anymore by anyone from the JBoss Group (or the users in general). Regards, Steve Antonio Goncalves wrote: Hi all, I'm working on a project that wasn't build with Maven, and now we are migrating it to Maven. We need some classes that are located in the org.jboss.web.tomcat.security package. There are in the jbossweb-service.jar file. But we can't find this artifact in the Maven repository. The only way we managed to make it work is by : dependency groupIdjboss/groupId artifactIdjbossweb-service/artifactId version${jboss.version}/version scopesystem/scope systemPath${basedir}/lib/jbossweb-service.jar/systemPath /dependency But we can't find it in the JBoss Maven repository (we've found an entry in MvnBrowser web site but http://www.mvnbrowser.com/artifact-details.html?groupId=jbossartifactId=jbossweb-service http://www.mvnbrowser.com/artifact-details.html?groupId=jbossartifactId=jbossweb-service ) Any idea ? Thanks, Antonio ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkrblUsACgkQSphIUSiVzgbZDQCgtUwE+a83T3tF5xV0y2BLiyZC +3MAnjLuaTWfhJ4q1zNq1HF1A8FAxqKn =MWK/ -END PGP SIGNATURE- -- -- Antonio Goncalves (antonio.goncal...@gmail.com) Software architect Web site : www.antoniogoncalves.org Blog: agoncal.wordpress.com Feed: feeds2.feedburner.com/AntonioGoncalves Paris JUG leader : www.parisjug.org LinkedIn: www.linkedin.com/in/agoncal ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: jbossws - DOM vs SAX
I agree with you that dom is a better choice, on the whol you shouldn't send big data via ws. But, what is going to happen when somebody sends to my jboss-ws big request ? He may invoke the OutOfMemoryError and the jvm will go down. Can I set maximum size of request in jboss-ws or tomcat? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261591#4261591 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261591 ___ 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!
In jBPM4 the identity service is much more plugable. A search in google resulted in https://jira.jboss.org/jira/browse/JBPM-2172 This gives you some hints on the status, in combination with some hints on where to look at the sourcecode as an example. And yes, it was kind of sarcastic since you did not mention anything at all 4.1 is good to start with. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261592#4261592 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261592 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JBPM3.2 :: Reassign Task to another User
Can anyone answer this? My answer would be: Yes there is But that is probably not what the original poster wants to hear. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261593#4261593 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261593 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - Re: Failure when cleaning up HTTP Session in JBoss AS Cluste
Please clarify what you mean by went into a loop. I want to make sure what you saw happen is what I think would happen. What I think is: 1) The ContainerBackgroundProcessor runs every 10 seconds. 2) When it operates on JBossCacheManager it loops through a set of passivated sessions to see if they are overaged and need to be expired. This fails on a session as shown in the logging in your post. If whatever condition caused that failure also exists in multiple other sessions, you'll get a lot of such logging; i.e. a loop over the affected sessions. When the ContainerBackgroundProcessor runs again 10 seconds later, the logging will repeat. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261594#4261594 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261594 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: jbossws - DOM vs SAX
JBossWS doesn't provide input stream hooks where you could check message size. Maybe tomcat can do it? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261596#4261596 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261596 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - Re: Failure when cleaning up HTTP Session in JBoss AS Cluste
The core issue here is to figure out the cause of the java.io.OptionalDataException. What's being deserialized here is a value object your application is putting into the session via setAttribute(). The handling of this by the AS could certainly be better. 1) When the deserialization failure occurs, it's being handled in a poor manner: https://jira.jboss.org/jira/browse/JBCLUSTER-243 2) The background processing logic shouldn't keep trying to work with the session cleanly for ever; it should detect a session with a recurring problem and just hard delete it: https://jira.jboss.org/jira/browse/JBAS-7397 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261598#4261598 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261598 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - Re: Failure when cleaning up HTTP Session in JBoss AS Cluste
You can experiment a bit to try to figure out what the problem attribute is. On your classpath you'd need to have jboss-ha-client.jar and jboss-ha-server-api.jar (found in $JBOSS_HOME/common/lib) as well as jboss-common-core.jar and jboss-logging-spi.jar (found in $JBOSS_HOME/lib). Then, in pseudo-code: | import org.jbossha.framework.server.*; | . | Object toTest = ... whatever attribute value you want to test | | SimpleCachableMarshelledValue mv = new SimpleCachableMarshalledValue(toTest); | mv.toByteArray(); // internally serializes toTest | mv.get(); // deserializes View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261600#4261600 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261600 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: 'table does not exist' error after changing default data
Update for jBoss 5.1 The instructions for moving messaging/JMS/persistance to a database other than HSQL(example below is Oracle) on jBoss 5.1 are: 1) remove file server/xxx/deploy/messaging/hsqldb-persistence-service.xml 2) copy docs/examples/jms/oracle-persistance-service* to server/xxx/deploy/messaging 3) restart jBoss. *Note that this file no longer needs to be edited. The DataSourceBinding is already set to DefaultDS. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261607#4261607 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261607 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - Re: Failure when cleaning up HTTP Session in JBoss AS Cluste
After looking closer at the logs, the exceptions were being logged every 10 seconds, not in a tight loop like I had originally thought. It felt like a tight loop while watching two production servers throw new errors ;) So it appears that it was a single session that got corrupted and the ContainerBackgroundProcessor was trying to clean up the same bad session on 2 of the 3 servers in the cluster. It's unclear how the third did not get caught up in the problem as well. Finding something invalid that is put into our sessions is a bit of a needle in a haystack, it's a fairly large app. We've been doing session replication (with failover / deserialization of replicated sessions) working well for several month. It's just when we turned on passivation that this error occurs. I would think that if a session were serialized ok/without errors (granted errors might be happening and not caught on serialization), that it could be deserialized ok. To me this implies that it was corrupted / changed while in its serialized form. Is it possible that using the org.jboss.cache.loader.FileCacheLoader could cause such corruption of a session? The docs do mention using caution with this in high load environments. I'm currently working on testing the JDBC based loader for passivation. Thanks for writing up those two jira issues, those directly describe what we ran into. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261616#4261616 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261616 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - Re: Failure when cleaning up HTTP Session in JBoss AS Cluste
Just to clarify, we saw this issue twice, both within two hours. The following lines might help describe what happened in terms of which servers got caught up in the problem. Just want to communicate that it was a different session each time, but in each failure, two servers were trying to clean up the same session if that makes sense. First time, i.e. 3:40pm Server A - failing to clean up session ABC Server B - failing to clean up session ABC Server C - seemingly OK, no errors being logged Second time, i.e. 5:05pm Server A - seemingly OK, no errors being logged Server B - failing to clean up session XYZ Server C - failing to clean up session XYZ View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261617#4261617 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261617 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Querying Against Process Variables
No worries. businesskey, that was the key search term. So now hopefully we have a clearer connection between the two concepts. There were a few posts and that showed some hsql that worked with the TaskInstance class from 3.x. But no joy with the new 4.o domain objects. I see that we can get the execution from org.jbpm.pvm.internal.type.Variable. It should be easy enough. I was just looking for a shortcut. I will post the code when I'm done. Regards, Robert View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261618#4261618 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261618 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - EJB Injection into Managed bean returns NullPointerException
EJB Injection and NullPointerExcception Development tools: --- Linux Java 6.x JSF 1.2 richfaces-ui-3.3.1.GA JBoss 5.1.0.GA Liferay-5.2.3 Outline: When EJB Stateless bean is injected into JSF/RichFaces managed bean and ran, the result is NullPointerException. I have tried using one of the followings without success: (i) @EJB (ii) @EJB(name = DataConstraintController) (iii) @javax.ejb.EJB(name = DataConstraintController, mappedName=odms/DataConstraintDAOImpl/local) (iv) With explicit JNDI lookup: javax.naming.InitialContext initialContext = new javax.naming.InitialContext(); | return (DataConstraintLocal) initialContext.lookup(odms/DataConstraintController/local); | } catch (Exception e) { | e.printStackTrace(); | throw new RuntimeException(couldn't lookup DataConstraintLocal, e); | } | It is an ongoing project so changes are often made to the java files, but the deployment files have not changed for the past three months and it was runing until two days ago. And no one seem to know why EJB injection is failing. The ejb.jar, ejbClient.jar and *.war are in the same ear. Could it be a corrupt library? Should I re-install JBoss? Help! and thanks in advance. -- EJB Local Interface: DataConstraintLocal -- @javax.ejb.Local | public interface DataConstraintLocal extends com.x..ejb.intf.DataConstraintService, java.io.Serializable{ | | } -- EJB Remote Interface: DataConstraintRemote -- @javax.ejb.Local | public interface DataConstraintRemote extends com.x..ejb.intf.DataConstraintService, java.io.Serializable{ | | } | -- EJB Session Bean: DataConstraintController -- | import com.x..domain.bean.DataConstraintEntity; | import com.x..dao.intf.DataConstraintDAOLocal; | | @javax.ejb.Stateless(name=DataConstraintController) | public class DataConstraintController implements com.x..ejb.intf.DataConstraintRemote, com.x..ejb.intf.DataConstraintLocal{ | | | @javax.ejb.EJB(mappedName=odms/DataConstraintDAOImpl/local) | private DataConstraintDAOLocal delegate; | | public DataConstraintController() { | } | | /** | * Finder method for DataConstraintEntity object held in a database | * | * @return the list of DataConstraintEntity objects in the database | */ | @javax.ejb.TransactionAttribute(javax.ejb.TransactionAttributeType.NOT_SUPPORTED) | public DataConstraintEntity[] findAll() throws com.x..gen.exception.EJBException { | | java.util.ListDataConstraintEntity retList = delegate.findAll(); | return (DataConstraintEntity[]) retList.toArray(new DataConstraintEntity[retList.size()]); | } | | } -- Backing Bean: NewUserBkBean -- public class NewUserBkBean implements java.io.Serializable{ | | private static final String CRUD_MODE = all; | private static final String TABLE_NAME = com.x..domain.bean.UserEntity.TABLE_NAME; | | | public NewUserBkBean(){ | init(); | } | | private void init(){ | java.util.MapString, Object propertyValues = new java.util.HashMapString, Object(); | propertyValues.put(parentTable, TABLE_NAME); | propertyValues.put(crudMode, CRUD_MODE); | try { | if(dataConstraintController == null){ | //throw new NullPointerException(Null dataConstraintController); |} | DataConstraintEntity[] retList = dataConstraintController.findAll(); | if(retList == null || retList.length == 0){ | throw new NullPointerException(DataConstraintEntity is empty: common cause is absence of data in the DataConstraint db table); | } | UserFormBean userFormBean = new UserFormBean(retList, new com.x..web.model.UserCredential(), UserFormBean.class); | if(userFormBean != null){ | setFormBean(userFormBean); |renderUserComponents(); |renderDocumentComponents(); |renderObjectExComponents(); | } | } catch (Exception e) { | e.printStackTrace(); | } | } | --
Re: [jboss-user] JAVA_HOME is not set. Unexpected results may occur.? JBoss
See Thread at: http://www.techienuggets.com/Detail?tx=45643 Posted on behalf of a User You must make sure your JAVA_HOME is not in variable enviroment but in system enviroment . The other thing is when you install jdk they say you should difine the directory C:\Program Files\Java\jdk1.5.0_14\jre\bin you should change that to C:\Program Files\Java\jdk1.5.0_14 In Response To: When I install JBoss as windows service, it works fine, but after several test on VPC, I hit this error: anonymous wrote : Starting JBoss Application Server 5.0 [2008-07-24 04:18:06] | ECHO is off. | JAVA_HOME is not set. Unexpected results may occur. | Set JAVA_HOME to the directory of your local JDK to avoid this message. | === | | JBoss Bootstrap Environment | | JBOSS_HOME: C:\jboss-4.2.2.GA | | JAVA: java | | JAVA_OPTS: -Xrs -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 | | CLASSPATH: C:\jboss-4.2.2.GA\bin\run.jar | | === | | Error: no `server' JVM at `C:\Program Files\Java\jre1.5.0_15\bin\server\jvm.dll'. | Shutdown JBoss Application Server 5.0 service [2008-07-24 04:18:07] I found this post but nobody answered http://www.jboss.com/index.html?module=bbop=viewtopicp=3987689#3987689. anyone? ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JBPM3.2 :: Reassign Task to another User
kukeltje wrote : Can anyone answer this? My answer would be: | | Yes there is | | But that is probably not what the original poster wants to hear. Thanks for the Prompt Reply, After googling i found the way to reassign work to the actor. Once again thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261632#4261632 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261632 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: 'table does not exist' error after changing default data
Bob, Thank you for letting others know about these steps. Feel free to add/edit to wiki any of such relevant information so that it will be easily available to others. As for JBoss Messaging in AS-5 and the steps to change the default DB, there's a wiki here http://www.jboss.org/community/wiki/ConfigMessagingDB View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261634#4261634 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261634 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user