[jboss-user] [JBoss Seam] - Re: Auto Generated Value for primary key in oracle.
voollanagaraju wrote : Hi, | | I am using JPA @ManyToMany annotaion between two tables(user and group). How could I get an auto generated value for primary key in table group, when I add groups to user. I am using oracle 9i database. | | Nagaraju http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#tutorial-associations-bidirectional The Hibernate forums might be a better place to look for help on issues like this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073824#4073824 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073824 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: authenticate error..
Are you sure you have the latest drools-libraries and you don't have any other versions hanging around the server? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073825#4073825 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073825 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: jboss as a windows service cannot stop
In my case, as I said earlier, there was no error whatsoever during startup, and no messages at all after I clicked 'stop' View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073826#4073826 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073826 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Configuring Log4j for EAR deployed
I think you can do this. You need to have a separate log4j.xml in the EARs root folder. Also the log4j.jar has to be loaded via application.xml. You can enable EAR specific class loading using jboss-app.xml to resolve issues with class loading. best regards Arun View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073827#4073827 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073827 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: jboss as a windows service cannot stop
By the way (correct my if I'm wrong), but port 1099 is default for naming services or RMI, no? It is possible that stopping involves some RMI client (JMX-based maybe) that tells the server to stop. If your naming service/RMI is provided by some external application, it may be related... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073828#4073828 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073828 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Issue with local soad:address generated
Did you try to modify the file jboss-beans.xml, bean WSServerConfig and its property webServiceHost? Don't forget to ensure that property modifySOAPAddress is set to true View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073829#4073829 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073829 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: resource bundle
Thanks but it does not change the effect. Simply pwdchange.screen.title is written on the screen. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073830#4073830 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073830 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: resource bundle
Does f:loadBundle see it? Does it work if you just put it in messages.properties? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073832#4073832 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073832 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Multiple Objects under a single key in POJOCache?
Yes, that is one reason. The other is really from PojoCache point of view, it is more natural to associate with a String id than a Fqn object id. At least that was then. :-) -Ben View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073835#4073835 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073835 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: need help for Transaction Attribute Types
Maybe you can try to use a bean manage transaction: @TransactionManagement(TransactionManagementType.BEAN) | Then you will have to begin and commit transaction by yourself. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073839#4073839 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073839 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - JBoss + JBPM + Mysql - Deployment is not going through
I am new bee to JBPM. Trying to deploy the sample application given in the jbpm-jpdl-suite-3.2.1. I am following documentation given for jbpm-jpdl-suite-3.2.1 Getting started but getting following errors while starting the server from the folder jbpm-jpdl-suite-3.2.1\jbpm-jpdl-3.2.1\server\bin with command run -c jbpm. 2007-08-14 11:13:06,616 DEBUG [org.hibernate.loader.hql.QueryLoader] bindNamedParameters() Tue Aug 14 11:13:06 IST 2007 - now [3] 2007-08-14 11:13:06,616 DEBUG [org.hibernate.loader.hql.QueryLoader] bindNamedParameters() JbpmJobExector:172.17.225.114:1 - lockOwner [2] 2007-08-14 11:13:06,647 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close PreparedStatement (open PreparedStatements: 1, globally: 1) 2007-08-14 11:13:06,663 DEBUG [org.hibernate.util.JDBCExceptionReporter] could not execute query [select job0_.ID_ as ID1_26_, job0_.VERSION_ as VERSION3_26_, job0_.DUEDATE_ as DUEDATE4_26_, job0_.PROCESSINSTANCE_ as PROCESSI5_26_, job0_.TOKEN_ as TOKEN6_26_, job0_.TASKINSTANCE_ as TASKINST7_26_, job0_.ISSUSPENDED_ as ISSUSPEN8_26_, job0_.ISEXCLUSIVE_ as ISEXCLUS9_26_, job0_.LOCKOWNER_ as LOCKOWNER10_26_, job0_.LOCKTIME_ as LOCKTIME11_26_, job0_.EXCEPTION_ as EXCEPTION12_26_, job0_.RETRIES_ as RETRIES13_26_, job0_.NAME_ as NAME14_26_, job0_.REPEAT_ as REPEAT15_26_, job0_.TRANSITIONNAME_ as TRANSIT16_26_, job0_.ACTION_ as ACTION17_26_, job0_.GRAPHELEMENTTYPE_ as GRAPHEL18_26_, job0_.GRAPHELEMENT_ as GRAPHEL19_26_, job0_.NODE_ as NODE20_26_, job0_.CLASS_ as CLASS2_26_ from JBPM_JOB job0_ where (job0_.LOCKOWNER_ is null or job0_.LOCKOWNER_=?) and job0_.RETRIES_0 and job0_.DUEDATE_=? and job0_.ISSUSPENDED_1 order by job0_.DUEDATE_ asc] com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1 job0_.ID_ as ID1_26_, job0_.VERSION_ as VERSION3_26_, job0_.DUEDATE_ as DUEDAT' at line 1 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2941) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1623) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1715) at com.mysql.jdbc.Connection.execSQL(Connection.java:3249) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1268) at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1403) at org.jboss.resource.adapter.jdbc.CachedPreparedStatement.executeQuery(CachedPreparedStatement.java:90) at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStatement.java:236) at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:186) at org.hibernate.loader.Loader.getResultSet(Loader.java:1669) at org.hibernate.loader.Loader.doQuery(Loader.java:662) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224) at org.hibernate.loader.Loader.doList(Loader.java:2145) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029) at org.hibernate.loader.Loader.list(Loader.java:2024) at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:392) at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:333) at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1114) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79) at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:756) at org.jbpm.db.JobSession.getFirstAcquirableJob(JobSession.java:40) at org.jbpm.job.executor.JobExecutorThread.acquireJobs(JobExecutorThread.java:111) at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56) 2007-08-14 11:13:06,663 WARN [org.hibernate.util.JDBCExceptionReporter] SQL Error: 1064, SQLState: 42000 2007-08-14 11:13:06,663 ERROR [org.hibernate.util.JDBCExceptionReporter] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1 job0_.ID_ as ID1_26_, job0_.VERSION_ as VERSION3_26_, job0_.DUEDATE_ as DUEDAT' at line 1 2007-08-14 11:13:06,663 ERROR [org.jbpm.db.JobSession] org.hibernate.exception.SQLGrammarException: could not execute query 2007-08-14 11:13:06,663 DEBUG [org.jbpm.JbpmContext] closing JbpmContext 2007-08-14 11:13:06,663 DEBUG [org.jbpm.svc.Services] closing service 'persistence': [EMAIL PROTECTED] 2007-08-14 11:13:06,663 DEBUG [org.jbpm.persistence.db.DbPersistenceService] committing hibernate transaction [EMAIL PROTECTED] Here are configuration files I have changed for configuring Mysql DB --- hibernate.cfg -- ?xml version='1.0' encoding='utf-8'? !DOCTYPE hibernate-configuration PUBLIC
[jboss-user] [EJB 3.0] - Re: EJB3 session bean pool configuration?
For a static conf you can use the annotation org.jboss.annotation.PoolClass View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073842#4073842 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073842 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: need help for Transaction Attribute Types
jc7442 wrote : Maybe you can try to use a bean manage transaction: | @TransactionManagement(TransactionManagementType.BEAN) | | | | Then you will have to begin and commit transaction by yourself. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073844#4073844 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073844 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: need help for Transaction Attribute Types
yes it is possible to do this, but i don't want bean managed transactions. is it possible what i did ? i think that extended persistence context disables automatic flash on database, maybe i will use bean managed transaction if i will not resolve this problem. Thanks jc7442 anyway. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073845#4073845 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073845 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: extended persistence context with JavaBeans ?
hi norman, thank you for your quick help. The requests happened inside a Session Scope, but (if I understand correctly) still in different conversations. Thus I added a @Begin annotation at the factory method, which is called once, when the page is loaded. I havenĀ“t annotated any method with @End. However, if the Session ends, will the Conversation end as well ? Will the persistence context be cleared as well ? Here is the code: (the Message class and the xhtml code is like in the original tutorial) | @Name(messageManager) | @Scope(ScopeType.SESSION) | @Transactional | public class MessageManager { | | @DataModel | private ListMessage messageList; | | @DataModelSelection | @Out(required = false) | private Message message; | | @In | private EntityManager entityManager; | | @Logger | private Log logger; | | @Begin | @Factory(messageList) | public void findMessages() { | | Message m1 = new Message(T1); | m1.setTitle(T1); | m1.setText(text1); | m1.setDatetime(new Date()); | | Message m2 = new Message(T2); | m2.setTitle(T2); | m2.setText(text2); | m2.setDatetime(new Date()); | | Message m3 = new Message(T3); | m3.setTitle(T3); | m3.setText(text3); | m3.setDatetime(new Date()); | | entityManager.persist(m1); | entityManager.persist(m2); | entityManager.persist(m3); | | this.messageList = entityManager.createQuery(from Message).getResultList(); | logger.info(messageList initialized); | } | | public void select() { | message.setRead(true); | } | | public void delete() { | entityManager.remove(message); | | messageList.remove(message); | message = null; | } | | } | | | thank you, Andreas View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073848#4073848 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073848 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - TransactionalSeamPhaseListener + Spring @Transactional
Hi, can anyone explain me the effect, when I combine Seam TransactionalSeamPhaseListener with Spring @Transctional annotation in my service layer? regards dapeng View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073849#4073849 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073849 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Login for Web-Application
Thank you, it works now. Sorry for the wrong tag... For others reading this: I realized the the directory in the module-options is relative to the conf-directory of the server I started (e.g. $JBOSS_HOME/se4rver/default/conf/). It seems not to be possible to use an absolute path, because than you get an IOException that the property-files could not be found. Thank you very much... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073850#4073850 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073850 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Injection not working calling methods between EJBs
I try to explain the situation in words as first, since the code would be too long. I have a Statfull bean that is an abstract class (AB1). I have: - a Normal statless bean (SL1) - a Statfull bean (SFa) that inherits from AB1 and Inject the local interface of SL1. - a Statfull bean (SFb) that inherits from AB1 and keeps a reference to the local interface of SFa. All works fine: JSF pages with references to SFa or SFb are able to call actions defined in them or in their superclass. Even when SFa SFb call one another using their local interfaces all works fine, except in case SFb calls SFa.methodX() and SFa.methodX() try to use the injected instance of SL1: it find it always null. It seams as injection does not work when an EJB is called (through its local interface) by another EJB. There is some limit I do not know in doing this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073853#4073853 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073853 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Multiple Objects under a single key in POJOCache?
Hi Jason, [EMAIL PROTECTED] wrote : Id really should be called Fqn in the signature. You can use this method to find all objects at a particular location in the cache. | | For example: | | | cache.attach(/people/Bob, bob); | | cache.attach(/people/Fred, fred); | | cache.attach(/group/Admins, admins); | | | | // Returns Bob and Fred | | cache.findAll(/people); | | | | -Jason | | Thanks for the reply!! Yes, that's make it much clearer! Kind regards View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073854#4073854 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073854 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: findAll(null) working?
Hi Ben, My JUnit test only has tests for attaching, detaching, and removing. I didn't have any tests for findAll() or findAll(null). With Jason Greene's previous post, the usage of findAll() is clear and I see that I was trying to attach multiple objects to a single id and then using findAll() and not getting the results I expected. So now findAll() and findAll(null) are working as expected. Except now, I cannot for some reason access the objects in the Map that is returned by findAll() with regular String keys? I have to get the keySet of the Map, then use the actual keys from the keySet to access the objects in the map. Seems to be some type of formatting or type issue. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073856#4073856 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073856 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: POJOCache detach()? Sort Of?
Yes, I wanted to detach() a local Object so it was no longer connected to the cache, and yet I wanted the Object to still remain in the cache. I wanted to have a local Object that was no longer connected to the cache and and would not affect the object that was stored in the cache. A copy of the object sounds like the best strategy. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073860#4073860 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073860 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: read only POJOCache objects?
Okay, I see. Thanks for the information!! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073861#4073861 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073861 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: authenticate error..
You can no longer inject the session context. Instead use Contexts. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073863#4073863 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073863 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Injection not working calling methods between EJBs
Post code. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073864#4073864 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073864 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Issue with local soad:address generated
Thank you very much... It works nicely ;) Outstanding job ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073865#4073865 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073865 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: resource bundle
Seam 2.0 Beta If I try this it works. The entry in the properties file for pwdchange.screen.title is printed out correctly. | f:loadBundle basename=messagesAfn var=messagesAfn / | h:outputText value=#{messagesAfn['pwdchange.screen.title']} / | Putting the entries in the properties file named messages.properties has the same effect. It works also only if I use loadBundle. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073866#4073866 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073866 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - 2.0GA and Maven2
Hi, I was about to update to 2.0 GA and I noticed that in the maven pom file the dependency to jgroups still uses the 2.5.0-BETA2 version of jgroups. Is there any reason for this or has it just been forgotten? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073868#4073868 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073868 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - process go back?
?xml version=1.0 encoding=UTF-8? | process-definition | xmlns= name=test |start-state name=start | transition name= to=task1/transition |/start-state |task-node name=task1 | transition name= to=task2/transition |/task-node |task-node name=task2 | transition name=tr2 to=task1/transition | transition name= to=task3/transition |/task-node |end-state name=end1/end-state |task-node name=task3 |transition name= to=task4/transition |/task-node |task-node name=task4 | transition name= to=end1/transition |/task-node | /process-definition According to the descrition of the processdefinition,i want to go back from task2 to task1,but during the process , a new instance is created and the task of this instance is one of the task in the TaskNode i will go back to not the old task instance? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073869#4073869 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073869 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: DataModel entries appearing twice
Problem solved: trying to be smart the Item.setFolder method was implemented as following: public void setFolder(Folder folder) { | this.folder = folder; | folder.getItems().add(this); | } In reality item.setFolder and folder.getItems().add are called as necessary by the framework when loading objects from the db. The above implementation o f setFolder adds every item a second time resulting in a list containg every item twice. Removing the folder.getItems().add(this); line solved the problem :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073871#4073871 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073871 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - xs:anyType not being deserialized properly
I'm using JBossWS 2.0.0 against JBoss 4.0.5 with JDK1.6. I have Map data structure that is returned as part of call. It is a map of String to Object...which translated to xs:string to xs:anyType in the wsdl. When I retrieve this object through a Web Service call... the data comes back fine and all the simple types are deserialized properly. The complex types just show up a ElementNSImpl objects. I see the SOAP message even comes back properly...with correct xsi:type. ipvalue xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:type=ipAddressCtILDQ==/ns2:executeSyncRequest3Response/env:Body/env:Envelope Do I need to do anything specific/customizations for these objects to be deserialized into the right objects? In the case above, wsdl does contain a mapping for ipAddress but why is it not being converted to one when it is returned as part of this Map. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073873#4073873 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073873 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: process go back?
nope.. since that task has already finished View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073875#4073875 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073875 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Marshall exception during cache replication
Hi, I've got an serialization exception when my object is replicated in the cluster. This exception only occurs when replication is called after a put in the cache. For example, if I start the second cache afer the first cache in cluster has been initialized, everything is well replicated at startup without any exceptions. I try to serialize my object with java standard serialization and it's working. I make sure that the object contains only serializable object. I use JBoss server 4.0.5 and JBoss Cache 1.4.0SP1. Does anyone know why this type of exception is raised or know how to fix it ? Thanks. Exception during replication : On the server which received the object : | 08:32:20,142 INFO [VersionAwareMarshaller] Caught exception unmarshalling stream with specific versioned marshaller class org.jboss.cache.marshall.Tr | eeCacheMarshaller140. Attempting to try again with legacy marshaller class org.jboss.cache.marshall.LegacyTreeCacheMarshaller | 08:32:20,147 ERROR [RpcDispatcher] exception=java.io.StreamCorruptedException: invalid stream header | On the server which send the object | 08:32:20,172 INFO [TxInterceptor] There was a problem handling this request | java.io.StreamCorruptedException: invalid stream header | at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:753) | at java.io.ObjectInputStream.init(ObjectInputStream.java:268) | at org.jboss.invocation.MarshalledValueInputStream.init(MarshalledValueInputStream.java:74) | at org.jboss.cache.marshall.VersionAwareMarshaller.objectFromByteBuffer(VersionAwareMarshaller.java:184) | at org.jgroups.blocks.RpcDispatcher.handle(RpcDispatcher.java:203) | at org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:615) | at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:512) | at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:326) | at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.handleUp(MessageDispatcher.java:722) | at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.access$300(MessageDispatcher.java:554) | at org.jgroups.blocks.MessageDispatcher$1.run(MessageDispatcher.java:691) | at java.lang.Thread.run(Thread.java:595) | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073876#4073876 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073876 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: 2.0GA and Maven2
This is a mistake. The dependency should be on JGroups 2.5.GA. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073877#4073877 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073877 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: resource bundle
If I use it in the context with pages.xml it works. | page view-id=/* bundle=messagesAfn | | /page | This works but I would to use it as a global resource. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073878#4073878 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073878 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Page refresh when hitting F5
We have a simple CRUD application based on Seam 1.2.1 that manages items. These are presented in a list (DataModel) from which they can be viewed and modified. When an item is updated by a user it should be possible for everyone watching the very same data to view the changes by reloading the page (hitting F5). Unfortunately, the old data is displayed. We tried disabling second level caching without success. Does anybody have a hint? Thanks in advance, Enrico View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073880#4073880 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073880 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: source code for jbpm4jsf, data form
Here is a thread that helped me to get the source code I was looking for: http://www.jboss.com/index.html?module=bbop=viewtopict=114954 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073885#4073885 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073885 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - problems working with XA datasource
Dear all, in my EJB3 SLSB (exposed as a WebService) I'd like to contact a Jackrabbit XA datasource, operate on it, and commit changes. The datasource is configured in server/default/deploy/jcr-ds.xml: |connection-factories |tx-connection-factory |jndi-namejcr/local/jndi-name |xa-transaction/ |rar-namejackrabbit-jca-1.3.1.rar/rar-name | connection-definitionjavax.jcr.Repository/connection-definition |config-property name=homeDir type=java.lang.String${jboss.server.data.dir}${/}jackrabbit/config-property |config-property name=configFile type=java.lang.Stringclasspath:repository.xml/config-property |config-property name=bindSessionToTransaction type=java.lang.Booleantrue/config-property |/tx-connection-factory |/connection-factories | my SLSB looks like: the field that contains the connection factory: |@Resource(mappedName=java:jcr/local, type=javax.jcr.Repository.class, authenticationType=javax.annotation.Resource.AuthenticationType.CONTAINER) Repository repo; | the method (excerpt) where operations are executed on the XA connection: |Credentials cred = new SimpleCredentials(path.getUsername(), path.getPassword()); |session = repo.login(cred, null); |Node root = session.getRootNode(); |Node child = root.hasNode(path.getRelativePath()) ? root.getNode(path.getRelativePath()) : createFilePath(root, path.getPathParts(), path.getObjectName()); |FileTypeResolver ftr = FileTypeResolver.instantiate(); |child.setProperty(jcr:mimeType, ftr.getMIMEType(obj)); |child.setProperty(jcr:data, new FileInputStream(obj)); |Calendar rightNow = Calendar.getInstance(); |child.setProperty(jcr:lastModified, rightNow); |session.save(); | I annotated the method with: |@TransactionAttribute(TransactionAttributeType.REQUIRED) | This should be the default setting AFAIK, but who knows ... Debugging my code I found out that everything works fine until and after session.save() - When the method returns however it seems that a commit takes place (calling XASessionImpl.end()) and this commit is not successful due to a missing transaction: | 143394 [http-0.0.0.0-8080-3] ERROR org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS - SOAP request exception | java.lang.RuntimeException: org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl[FormatId=257, | GlobalId=dme018/14, BranchQual=, localId=14] status=STATUS_NO_TRANSACTION; - nested throwable: (javax.transaction.xa.XAExc | eption) |at org.jboss.aspects.tx.TxPolicy.handleEndTransactionException(TxPolicy.java:198) |at org.jboss.aspects.tx.TxPolicy.endTransaction(TxPolicy.java:180) |at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:87) |at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191) |at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) |at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) |at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) |at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62) |at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) |at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77) |at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:102) |at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) |at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) |at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) |at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) |at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) |at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:211) |at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:173) |at org.jboss.ws.integration.jboss42.ServiceEndpointInvokerEJB3.invokeServiceEndpoint(ServiceEndpointInvokerEJB3.jav | a:114) |at org.jboss.ws.core.server.AbstractServiceEndpointInvoker.invoke(AbstractServiceEndpointInvoker.java:173) |at org.jboss.ws.core.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:204) |at org.jboss.ws.core.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:440) |at
[jboss-user] [JBoss Seam] - Re: entity-transaction with persistence provider other than
I don't think your question is related to this issue. If you want to integrate toplink with jboss, you just add the toplink-essentials library to the classpath and it should work. But if you want to use toplink with seam, that's another issue View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073889#4073889 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073889 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Advanced Documentation] - Re: When can we expect JBossAS 4.2 documentation?
Why JBoss Enterprise Application Platform 4.2 haves docs? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073891#4073891 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073891 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: source code for jbpm4jsf, data form
ah cool, that had the answer I was looking for, cheers Ross View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073893#4073893 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073893 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - installing two or more instances of portal on one machine
Hi All, I am planning to install 2 or more instances of portal server on Jboss app server. I found some info on wiki: http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfiguringMultipleJBossInstancesOnOneMachine I need to use jboss portal 2.6.1 on jboss appserver 4.0.5, i know how to install portal server binary on top of jboss app server's default configuration. But i dont know how can i add more configurations. Say, i want to add DEV1 DEV2 apart from default configuration. if i simply copy default directory and rename it to DEV1 will it work? I also need to run them in parallel so i will seperate tcp ports used by them (this is given in above wiki). Any pointers? or documents? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073896#4073896 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073896 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Unable to priint the content of SOAPBody
Hi, I need to print the content of every request/response/fault that comes in or goes out from my JAX-RPC web service, that runs under JBoss 4.0.4. I created a hadler that extends javax.xml.rpc.handler.GenericHandler. I can intercept every request / response / fault but I can't get the content of the SOAPBody as a text in the xml format. This is what I've tried: | public class mywsLogHandler extends GenericHandler | { | | | public boolean handleRequest(MessageContext ctx) | { | if (ctx instanceof SOAPMessageContext) | { | try | { | SOAPMessageContext context = (SOAPMessageContext)ctx; | SOAPEnvelope env = context.getMessage().getSOAPPart().getEnvelope(); | SOAPBody body = env.getBody(); | System.out.println(body.getTextContent()); | } | catch (SOAPException ex) | { } | } | } | | .. | } | I was expecting to see something like : | soapenv:Envelope xmlns:myws='http://www.mycom.com/myws/' | xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/' | soapenv:Header/ | soapenv:Body | myws:QueryRequest |Element1this is a test/Element1 | /myws:QueryRequest | /soapenv:Body | /soapenv:Envelope | being printen, but instead I get the following Rintime exception: | 10:16:48,908 WARN [HandlerWrapper] RuntimeException in handler method, transition to DOES_NOT_EXIST | 10:16:48,908 DEBUG [HandlerWrapper] destroy: [EMAIL PROTECTED] | 10:16:50,268 ERROR [HandlerChainBaseImpl] RuntimeException in request handler | org.jboss.util.NotImplementedException: getTextContent | at org.jboss.ws.soap.NodeImpl.getTextContent(NodeImpl.java:622) | at com.mycom.myws.ws.handler.mywsLogHandler.handleRequest(mywsLogHandler.java:72) | at org.jboss.ws.handler.HandlerWrapper.handleRequest(HandlerWrapper.java:121) | at org.jboss.ws.handler.HandlerChainBaseImpl.handleRequest(HandlerChainBaseImpl.java:254) | at org.jboss.ws.handler.ServerHandlerChain.handleRequest(ServerHandlerChain.java:47) | at org.jboss.ws.server.ServiceEndpointInvoker.callRequestHandlerChain(ServiceEndpointInvoker.java:211) | at org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:104) | at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:234) | at org.jboss.ws.server.ServiceEndpointServlet.doPost(ServiceEndpointServlet.java:120) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Unknown Source) | 10:16:50,268 DEBUG [HandlerChainBaseImpl] Exit: handleRequest with status: false | 10:16:50,283 DEBUG [SOAPFaultException] new SOAPFaultException [code={http://schemas.xmlsoap.org/soap/envelope/}Client,string=org.jboss.util.NotImplementedException: getTextContent,actor=null,detail=null] | 10:16:50,283 ERROR [SOAPFaultExceptionHelper] SOAP request exception | org.jboss.util.NotImplementedException: getTextContent | at org.jboss.ws.soap.NodeImpl.getTextContent(NodeImpl.java:622) | at
[jboss-user] [JBoss Seam] - Re: beans and different packages
When you say package do you mean archive? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073902#4073902 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073902 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: problems working with XA datasource
I forgot to list my environment: JBoss 4.0.5.GA (with EJB3.0 RC9 Patch 1) JDK 1.5_06 Jackrabbit 1.3.1 I also read about the following limitation for EJB3 embedded (http://docs.jboss.org/ejb3/embedded/embedded.html): anonymous wrote : | XA Connection pool is not available yet. | May this affect me in my environment?[/url] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073904#4073904 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073904 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Hibernate with Oracle10g, Inheritance issue
Hello, I have an abstract class (Base) that looks as follows: | @Entity | @Table(name=MyTable) | @Inheritance(strategy=InheritanceType.SINGLE_TABLE) | @DiscriminatorColumn(name=OVERRIDE_LEVEL) | | class abstract Base { | some properties here | .. | .. | } | Then I have two classes that inherit from this base class that looks like: | @Entity | @DiscriminatorValue(Y_INSTANCE) | public class YBase extends Baseimplements Serializable { | ... | } | and another one as: | @Entity | @DiscriminatorValue(Z_INSTANCE) | public class ZBase extends Baseimplements Serializable { | |private SomeEntity someEntity; | |setter... | |@ManyToOne(optional=false) | @JoinColumn(name=SOME_ENTITY_ID, nullable=false, unique=false) |public SomeEntity getSomeEntity() { | return someEntity; |} | | } | With Mysql, When I persist YBase entities, everything work fine, and I see under the 'SOME_ENTITY_ID' column a value '0', I assume hibernate set a default value as 0 automatically although the column definition in msql is set as 'NOT_NULL' without a default value. In oracle, I get an exception as follows: Caused by: java.sql.BatchUpdateException: ORA-01400: cannot insert NULL into (IDM_PREPRD_REPOSITORY.MY_TABLE.SOME_ENTITY_ID) and in the database I can see that the column is set as NOT NULL, but a default value is not set when persisting YBASE entities which has no relationship with the SomeEntity entity, Any idea? there's a way to fix this issue except annotating the 'getSomeEntity' as optional? thanks, Asaf. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073905#4073905 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073905 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: resource bundle
What is you configuration in faces-config.xml? What is the current value of locale? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073906#4073906 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073906 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Looking for SEAM iText Features
Hello, I'm using Seam (1.2.1.GA) iText for the first time and can't figure out how to: - create tables without border - create newlines within tables cells - use text formated with s:formatedText within pdf files Thanks for your answers! Greets Martin View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073907#4073907 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073907 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - JBoss Seam 2.0.0 beta1 and jetty
Hi, I just tried to run a webapp which uses version 2.0.0 beta1 on the maven jetty plugin (tried version 6.1.2 and 6.1.5) and I've run into some problems. Has anyone here managed to get this configuration running? I posted to the jetty support mailing list where you can find some more information. http://www.nabble.com/LinkageError%3A-jboss-el-jars-tf4265983.html Any help appreciated, Mike View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073910#4073910 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073910 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: is it possible to complete JBPM task and update entity a
vladimir.kovalyuk wrote : is it possible to start a JBPM process and update entity as an atomic operation? Yes, @CreateProcess only starts a process if the method with which it is annotated returns a non-null outcome without exception. So, if the entity update fails (e.g. flush() with manual flush mode) then the process won't be created. anonymous wrote : SFSB creates a process and saves its id as a property of an entity. I see changes in jbpm tables when entity hasn't been changed yet. | | How can I make jbpm use transactions while seam says: | jBPM transaction management is enabled, disable in jbpm.cfg.xml? Not sure, worth cross posting this one to the JBPM forum. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073911#4073911 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073911 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: beans and different packages
well, I meant in the same archive but different package for example: com.my.dao SomeEjbBean.java and com.my.model SomeOtherBean.java but how about two archives (two different jar files)? please note I am using embeddable EJB with Tomcat 5.5 thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073915#4073915 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073915 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - jbossweb sendfile with UTF-8 filenames?
Dear experts, The file server/default/deploy/jbossweb.sar/ROOT.war/readme.html is browsable at http://localhost/readme.html Are there jbossweb settings enabling browsing a file like server/default/deploy/jbossweb.sar/ROOT.war/rƩadme.html at http://host/rƩadme.html ? Thanks Niklas View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073916#4073916 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073916 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Page refresh when hitting F5
Post code. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073921#4073921 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073921 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - JBoss Installation with only JMX Console and Tomcat.
Hello everybody. I'm trying to get an up 'n' running JBoss installation with only the JMX Console and Tomcat Web Server. After reading the JBoss Wiki about Slimming and Service Dependencies and tried a few experiments myself, I have come to the following jboss-service.xml | ?xml version=1.0 encoding=UTF-8? | | server | |!-- Load all jars from the JBOSS_DIST/server/config/lib directory. This | can be restricted to specific jars by specifying them in the archives | attribute. | -- |classpath codebase=${jboss.server.lib.url:lib} archives=*/ | |!-- -- |!-- Log4j Initialization -- |!-- -- |mbean code=org.jboss.logging.Log4jService | name=jboss.system:type=Log4jService,service=Logging | attribute name=ConfigurationURLresource:log4j.xml/attribute |/mbean | |!-- -- |!-- Thread Pool -- |!-- -- | |!-- A Thread pool service -- |mbean code=org.jboss.util.threadpool.BasicThreadPool | name=jboss.system:service=ThreadPool | attribute name=NameJBoss System Threads/attribute | attribute name=ThreadGroupNameSystem Threads/attribute | !-- How long a thread will live without any tasks in MS -- | attribute name=KeepAliveTime6/attribute | !-- The max number of threads in the pool -- | attribute name=MaximumPoolSize10/attribute | !-- The max number of tasks before the queue is full -- | attribute name=MaximumQueueSize1000/attribute | !-- The behavior of the pool when a task is added and the queue is full. | abort - a RuntimeException is thrown | run - the calling thread executes the task | wait - the calling thread blocks until the queue has room | discard - the task is silently discarded without being run | discardOldest - check to see if a task is about to complete and enque | the new task if possible, else run the task in the calling thread | -- | attribute name=BlockingModerun/attribute |/mbean | |!-- -- |!-- JNDI -- |!-- -- | |!-- A simple mbean wrapper around the jndi Naming object. This |only handles an in memory instance. The NamingService uses this |as the JNDI store and exposes it remotely. |-- |mbean code=org.jnp.server.NamingBeanImpl | name=jboss:service=NamingBeanImpl | xmbean-dd=resource:xmdesc/NamingBean-xmbean.xml |/mbean | |mbean code=org.jboss.naming.NamingService | name=jboss:service=Naming | xmbean-dd=resource:xmdesc/NamingService-xmbean.xml | !-- The call by value mode. true if all lookups are unmarshalled using | the caller's TCL, false if in VM lookups return the value by reference. | -- | attribute name=CallByValuefalse/attribute | !-- The listening port for the bootstrap JNP service. Set this to -1 | to run the NamingService without the JNP invoker listening port. | -- | attribute name=Port-1/attribute | !-- The bootstrap JNP server bind address. This also sets the default | RMI service bind address. Empty == all addresses | -- | attribute name=BindAddress${jboss.bind.address}/attribute | !-- The port of the RMI naming service, 0 == anonymous -- | attribute name=RmiPort0/attribute | !-- The RMI service bind address. Empty == all addresses | -- | attribute name=RmiBindAddress${jboss.bind.address}/attribute | !-- The thread pool service used to control the bootstrap lookups -- | !--depends optional-attribute-name=LookupPool | proxy-type=attributejboss.system:service=ThreadPool/depends-- | !-- An example of using the unifed invoker as the transport. | depends optional-attribute-name=InvokerProxyFactory | proxy-type=attributejboss:service=proxyFactory,type=unified,target=Naming/depends | -- | depends optional-attribute-name=Naming | proxy-type=attributejboss:service=NamingBeanImpl/depends |/mbean | | !-- -- |!-- Transactions -- |!--
[jboss-user] [Beginners Corner] - Re: Try to use jboss 4.2.0GA with MySQL
I experienced the same problem The mysql-connector-java-5.0.7-bin.jar should be placed in jboss-4.2.1.GA/server/default/lib or whatever your instance is named), not in jboss-4.2.1.GA/lib Don't really know why, but it solved the problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073923#4073923 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073923 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Instrumentation - preparing an object for POJO Cache 2.0?
Can someone clarify instrumentation of objects for POJO Cache 2.0 The documentation continually emphasizes the need for instrumentation of Objects before using these objects with POJO Cache. But I ran some tests with POJO Cache and did not instrument the objects at all in the tests and POJO Cache appeared to work. The documentation also says, But depends on the JDK and instrumentation mode that you are using, you may not need to pre-process your POJO at all. Can I have it clarified when I need to instrument and when not? For my tests I used the Student and Course objects from the /examples/PojoCache/ directory. I also used java.util.Date and StringBuffer as objects. All these objects seemed to work fine without instrumentation for a local PojoCache. With replication, I'm pretty sure I will have to instrumentent the objects with annotation. But how would I instrument a Date object or a StringBuffer? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073926#4073926 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073926 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: How to uniquely identify a mbeanserver object created in
But in our case (we actually use the spring way of locating the mbeanserver i.e )agentId is dynamically generated by th Jboss for the mbeanserver.so we are not able to locate the mbeanserver unquiely.When we start the JCOnsole another mbeanserver is also created,so we were not able to locate the mbeanserver created by the jboss between those two mbeanservers(jboss mbeanserver and JConsole mbeanserver). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073932#4073932 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073932 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Correct annotation for a local object in POJOCache 2.0
I see the annotation for a replicable object is : @org.jboss.cache.pojo.annotation.Replicable but what about for an object in a local cache? Which annotation type should we use? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073931#4073931 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073931 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Instrumentation - preparing an object for POJO Cache 2.0
For the Student and Course objects, I removed the annotation that had been present in the code and the objects still appeared to function with POJO Cache. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073933#4073933 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073933 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - How to trace remote calls client-side
I have a client-server application (developed with JWS, but this is not meaningfull) and I would like to trace, for debug pourpose each remote method invocation (from client to server, not from server to server) ... just to know how many remote calls are made in each client event. The application is very big and developed by many programmers, so I cannot do something at code level, but I'm looking for something at configurarion level. I've tried to add something like: org.jboss.ejb.Container.level = FINEST org.jboss.ejb.level = FINEST org.jboss.level = FINEST org.jboss.proxy.ClientContainer.level = FINEST org.jnp.level = FINEST in logging.properties of my JRE, but I see nothing on log files. I'm using JBoss 3.2.5 (but I can try also JBoss 4.0.4). Any suggestion will be greatly appreciated Regards Alessandro Rizzi View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073935#4073935 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073935 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: need help for Transaction Attribute Types
Hi All! I haven't read everything in this thread but a good idea might be to take a look in the Java EE tutorial. It has a whole chapter discussing transactions. Whole tutorial: http://java.sun.com/javaee/5/docs/tutorial/doc/ Transactions: http://java.sun.com/javaee/5/docs/tutorial/doc/Transaction.html#wp79663 Kind regards /Oskar View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073936#4073936 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073936 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2.0 BETA
Not sure this is relevant to the exception you mentioned, but You should remove the view-handler config from faces-config.xml. Ajax4jsf requires it to be defined like this in web.xml | context-param | param-nameorg.ajax4jsf.VIEW_HANDLERS/param-name | param-valuecom.sun.facelets.FaceletViewHandler/param-value | /context-param | Optionally you can also add these facelets specific params to web.xml | context-param | param-namefacelets.REFRESH_PERIOD/param-name | param-value2/param-value | /context-param | !-- add this for tomahw and your own taglibs-- | context-param | param-namefacelets.LIBRARIES/param-name | param-value | /WEB-INF/tomahawk.taglib.xml; | /WEB-INF/source-tags.taglib.xml | /param-value | /context-param | !-- gives you a nicer error page -- | context-param | param-namefacelets.DEVELOPMENT/param-name | param-valuetrue/param-value | /context-param | context-param | param-namejavax.faces.DEFAULT_SUFFIX/param-name | param-value.xhtml/param-value | /context-param | Hope this helps, Mike View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073938#4073938 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073938 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - The feature of closed issue JBSEAM-715 is missed in Jboss Se
The module of pages.xml is good feature. After search in JIRA, it already implement in JBSEAM-715, but checked the source of 2.0.b1, I find, the following code is not implemented: core:pages page-dir=/WEB-INF/pagesdir / Is this feature will be discard in 2.0? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073940#4073940 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073940 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: resource bundle
|application | message-bundlemessages/message-bundle | locale-config | default-localeen/default-locale | /locale-config | !-- Disabled when using Ajax4JSF -- | !-- | view-handlercom.sun.facelets.FaceletViewHandler/view-handler | -- |/application | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073942#4073942 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073942 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: The feature of closed issue JBSEAM-715 is missed in Jbos
It's navigation:pages now and the attribute is named resources. Example: | navigation:pages | navigation:resources | value/WEB-INF/pages.xml/value | value/WEB-INF/more-pages.xml/value | /navigation:resources | /navigation:pages | I can't remember whether the namespace change is in Beta 1 or not. Thanks, Stephan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073947#4073947 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073947 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - MSSQLDS has no valid JNDI binding. Check the jboss-web/resou
Hi, I am facing a problem when I want to deploy my application in the jboss-4.2.1.GA. 16:37:36,336 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA' 16:37:36,508 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=MSSQLDS' to JNDI name 'java:MSSQLDS' 16:37:36,696 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/ 16:38:03,614 INFO [TomcatDeployer] deploy, ctxPath=/uc, warUrl=.../tmp/deploy/tmp25368uc-exp.war/ 16:38:03,645 WARN [ServiceController] Problem starting service jboss.web.deployment:war=uc.war,id=1475114874 org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NamingException: resource-ref: MSSQLDS has no valid JNDI binding. Check the jboss-web/resource-ref.) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:384) at org.jboss.web.WebModule.startModule(WebModule.java:83) at org.jboss.web.WebModule.startService(WebModule.java:61) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) - ---=- I have my mssql-ds.xml file containg the MSSQLDS binding in the C:\boss-4.2.1.GA\server\default\deploy folder. Entry in the mssql-ds.xml is below == local-tx-datasource jndi-nameMSSQLDS/jndi-name !--use-java-contextfalse/use-java-context-- !--connection-urljdbc:microsoft:sqlserver://LAPTOPIB132;DatabaseName=rfid_ucprn/connection-url-- connection-urljdbc:microsoft:sqlserver://10.236.70.221;DatabaseName=rfid_ucprn/connection-url driver-classcom.microsoft.jdbc.sqlserver.SQLServerDriver/driver-class user-namesa/user-name admin min-pool-size5/min-pool-size max-pool-size20/max-pool-size idle-timeout-minutes10/idle-timeout-minutes !-- sql to call when connection is created new-connection-sqlsome arbitrary sql/new-connection-sql -- !-- sql to call on an existing pooled connection when it is obtained from pool check-valid-connection-sqlsome arbitrary sql/check-valid-connection-sql -- !-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -- type-mappingMS SQLSERVER2000/type-mapping /local-tx-datasource === Can any body help me ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073948#4073948 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073948 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: The feature of closed issue JBSEAM-715 is missed in Jbos
Oops this didin't get documented. Try navigation:pages |navigation:resources | value/foo/bar.xml/value |/navigation:resources | /navigation:pages I've updated the docs in CVS. N.B. If you still want WEB-INF/pages.xml you'll need to include it in your list. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073949#4073949 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073949 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - JNDI problem
I got the following errors when I deploy my app: 8:05:32,718 WARN [ServiceController] Problem starting service jboss.web.deploy ent:war=aaa.war,id=-1582241627 rg.jboss.deployment.DeploymentException: Error during deploy; - nested throwabl : (javax.naming.NamingException: resource-ref: java:mcv_test has no valid JNDI inding. Check the jboss-web/resource-ref.) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:384) at org.jboss.web.WebModule.startModule(WebModule.java:83) at org.jboss.web.WebModule.startService(WebModule.java:61) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS ... Here is my oracle-ds.xml file: jndi-namemcv_test/jndi-name connection-urljdbc:oracle:thin:@123:1521:xxx/connection-url driver-classoracle.jdbc.driver.OracleDriver/driver-class user-namex/user-name y within the app, WEB-INF, I have jboss-web.xml: jboss-web resource-ref res-ref-namemcv_test/res-ref-name jndi-namejava:mcv_test/jndi-name /resource-ref /jboss-web and web.xml: resource-ref res-ref-namejava:mcv_test/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth res-sharing-scopeShareable/res-sharing-scope /resource-ref Are there any idea how to fix the problem? -Henry View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073954#4073954 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073954 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Messaging bridge question
Sorry I have taken so long to look at this. Before I investigate any deeper, there is one obvious thing I can see wrong in your remote jms provider config: | !-- The combined connection factory -- | attribute name=FactoryRefjava:/XAConnectionFactory/attribute | !-- The queue connection factory -- | attribute name=QueueFactoryRefjava:/XAConnectionFactory/attribute | !-- The topic factory -- | attribute name=TopicFactoryRefjava:/XAConnectionFactory/attribute | !-- Uncomment to use HAJNDI to access JMS -- | You are doing your lookups with the java: prefix. As I'm sure you know, in JNDI, anything that starts with java: represents a lookup in the same VM. You need to lookup in the global JNDI space, i.e. /XAConnectionFactory rather than java:/XAConnectionfactory. Take a look at http://www.jboss.org/wiki/Wiki.jsp?page=HowDoIConfigureAnMDBToTalkToARemoteQueue for how to set up a remote JMS provider. Can you report back after trying this and we can investigate further if a problem still exists? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073957#4073957 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073957 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.2.1, AS 4.2.0 and TinyMCE
I'm guessing that's a no? This is actually quite a pain - because you can't use the work around in a multipart form. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073958#4073958 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073958 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - questions about jboss embedded warns
Hi, Finally i run my jboss embedded on tomcat 6.0, but im warring about few warns. Can anybody explain me this anonymous wrote : | JBoss Messaging Warning: DataSource connection transaction isolation should be READ_COMMITTED, but it is currently NONE. | Using an isolation level less strict than READ_COMMITTED may lead to data consistency problems. | Using an isolation level more strict than READ_COMMITTED may lead to deadlock. | i added transaction isolation to my project-ds.xml like anonymous wrote : transaction-isolationTRANSACTION_SERIALIZABLE/transaction-isolation | but don't know why still I get this warning? maybe for tomcat, transaction isolation should be in some other place? anonymous wrote : | (JBossTimerServiceFactory.java:restoreTimerService:112) -TIMER SERVICE IS NOT INSTALLED | WARN 14-08 14:07:53,656 (JBossTimerServiceFactory.java:restoreTimerService:112) -TIMER SERVICE IS NOT INSTALLED | Why I get twice timmer service warn? anonymous wrote : | WARN 14-08 14:08:08,515 (Component.java:checkScopeForComponentType:351) -Stateful session beans was bound to the APPLICATION context - note that it is not safe to make concurrent calls to the bean: collectionControler | what this means? and finally what this means? anonymous wrote : | WARN 14-08 14:06:56,406 (UnifiedLoaderRepository3.java:addClassLoader:675) -Tried to add non-URLClassLoader. Ignored | WARN 14-08 14:06:59,937 (TxControl.java::266) -[com.arjuna.ats.arjuna.coordinator.TxControl_1] - Name of XA node not defined. Using 531e3530:e99:46c19ae3:0 | WARN 14-08 14:07:08,359 (JDBCPersistenceManager.java:start:143) - | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073960#4073960 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073960 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - moving from JDMK to JBOSS
Hi , we are in the process of moving from JDMK to JBOSS JMX, anyone has information on this process ? Is moving Mbeans to JBoss an easy process ? are there things that JDMK gives , that are not supported by JBoss ? have websphere and weblogic the same JMX support as JBoss ? thanks! Amir. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073964#4073964 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073964 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Qestion about timers in jboss seam
Hello, In documentation I've found that jboss seam has timer possibility. The question is, how I can initialize timer task on application deploy time. The possible way is via context listener in web.xml where I'll invoke EJB method that is represented as timer. Is there another way to initialize timer task on application start up? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073967#4073967 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073967 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: questions about jboss embedded warns
You'd be better off asking this in the JBoss Embedded forum. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073968#4073968 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073968 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Invoke remote EJB3 from JVM 1.4 client
I opened a patch proposal for this feature : http://jira.jboss.com/jira/browse/EJBTHREE-1029 It also contains the files mentioned above. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073969#4073969 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073969 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Qestion about timers in jboss seam
Use @Observer(org.jboss.seam.postInitialization) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073972#4073972 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073972 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Page refresh when hitting F5
Here is an extract of the code: home.xhtml shows the list of items rich:dataTable id=items value=#{items} var=_item | rich:column | s:link action=#{itemFinder.selectItem} value=#{_item.id}/ | /rich:column | rich:column | h:outputText value=#{_item.title} / | /rich:column | rich:column | h:outputText value=#{_item.date} | f:convertDateTime pattern=dd.MM. / | /h:outputText | /rich:column | | /rich:dataTable ItemFinderAction manages the data model and the selected item: @Stateful | @Name(itemFinder) | @Scope(ScopeType.SESSION) | public class ItemFinderAction implements ItemFinder { | | @PersistenceContext | EntityManager em; | | @DataModel(items) | ListItem items; | | @DataModelSelection(items) | @Out(required=false) | Item item; | | @Factory(items) | public void refresh() { | items = em.createQuery(from Item i order by i.date asc).getResultList(); | } | | @Begin | public String selectItem() { | return view_item; | } | | @Remove @Destroy | public void destroy() { | } | } Upon item selection, the item is viewed in viewitem.xhtml: h:form id=viewItem | h:panelGrid columns=2 | h:outputText value=Title/ | h:outputText value=#{item.title}/ | h:outputText value=Date/ | h:outputText value=#{item.date}/ | ... | /h:panelGrid | ... | s:link action=#{itemEditor.beginUpdate}value=Update / | | /h:form | ItemEditorAction manages the creation and update of items: @Stateful | @Name(itemEditor) | public class ItemEditorAction implements ItemEditor { | | @In(required=false) | User user; | | @In(required=false) @Out(required=false) | Item item; | | @PersistenceContext | EntityManager em; | | @Begin | public String beginRegister() { | item = new Item(); | item.setDate(new Date()); | item.setNew(true); | return edit_item; | } | | public String endRegister() { | em.persist(item); | refreshItems(); | return success; | } | | public String beginUpdate() { | item.setNew(false); | return edit_item; | } | | public String endUpdate() { | em.merge(item); | refreshItems(); | return success; | } | | @Remove @Destroy | public void destroy() { | } | | private void refreshItems() { | Events.instance().raiseEvent(loadItems); | } | } loadItems is defined in compontents.xml as event type=loadItems | action expression=#{itemFinder.refresh}/ | /event Creation and update is done through the following xhtml page: h:form id=register | rich:panel | f:facet name=header | h:panelGroup | h:outputText value=New item rendered=#{item.new}/ | h:outputText value=Item #{item.id} rendered=#{!item.new}/ | /h:panelGroup | /f:facet | h:panelGrid columns=2 | h:outputText value=Title / | h:inputText value=#{item.title} size=100 maxlength=100/ | ... | /h:panelGrid | h:commandButton action=#{itemEditor.endRegister} value=Save rendered=#{item.new}/ | h:commandButton action=#{itemEditor.endUpdate} value=Save rendered=#{!item.new} / | s:button action=/home.xhtml value=Cancel rendered=#{item.new} propagation=end / | s:button action=/viewitem.xhtml value=Cancel rendered=#{!item.new} / | /rich:panel | /h:form | Item is defined as @Entity | @Name(item) | @Table(name=ITEMS) | public class Item implements Serializable { | private static final long serialVersionUID = 1L; | private long id = 0L; | private String title; | private Date date; | private boolean new; | //... setters and getters | @Transient boolean isNew() { | return new; | } | } View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073973#4073973 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073973 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Messaging bridge question
Ok, I just validated that I can successfully consume from a remote jms provider and send to a local jms provider using the bridge and a remote jms provider loader configured using global JNDI namespace. I'm using TRUNK but there haven't been any bridge code changes between CR1 and TRUNK. I'm also using a version of remoting in which Ron has fixed several outstanding remoting bugs - I'm not sure if you'll need this, it'll be in the next release - but it's here for now, if you want: http://repository.jboss.com/jboss/remoting/2.2.1.SP1-experimental/ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073974#4073974 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073974 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Can a bridge work fine with the remote source and local
It looks like there is an error in your configuration - you have configured your remote jms provider to use the local java: namespace. So linked-to thread for more details. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073977#4073977 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073977 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JMS Bridge Question
In your remote jms provider, you are using the local JNDI namespace (java:) to do your lookup: | mbean code=org.jboss.jms.jndi.JMSProviderLoader | name=jboss.messaging:service=JMSProviderLoader,name=CSMJMSProvider | attribute name=ProviderNameCSMJMSProvider/attribute | attribute name=ProviderAdapterClass | org.jboss.jms.jndi.JNDIProviderAdapter | /attribute | | attribute name=FactoryRefjava:/XAConnectionFactory/attribute | | attribute name=QueueFactoryRefjava:/XAConnectionFactory/attribute | | attribute name=TopicFactoryRefjava:/XAConnectionFactory/attribute | | attribute name=Properties |java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory |java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces |java.naming.provider.url=192.168.0.22:1099 | /attribute | | /mbean | In JNDI, java: means in the same VM, for a remote jms provider you don't want to do the lookup in the same VM. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073979#4073979 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073979 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Missing 1.2.0 downloads from JBM downloads page
Ok, you make a good case: I'll put the old SPs and GAs up again as soon as I have some time... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073980#4073980 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073980 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Qestion about timers in jboss seam
Am I right, if I have for instance: | @Stateful | @Name(paymentAction) | public class CreatePaymentAction | { | @In(create=true) PaymentHandler paymentHandler; | @In Bill bill; | | public String schedulePayment() | { | paymentHandler.processScheduledPayment( new Payment(bill), bill.getDueDate() ); | return success; | } | | public String scheduleRecurringPayment() | { | paymentHandler.processRecurringPayment( new Payment(bill), bill.getDueDate(), | ONE_MONTH ); | return success; | } | } The example is taken from seam documentation. So, if I want to invoke method at deploy time, I have to do next: | @Stateful | @Name(paymentAction) | public class CreatePaymentAction | { | @In(create=true) PaymentHandler paymentHandler; | @In Bill bill; | | public String schedulePayment() | { | paymentHandler.processScheduledPayment( new Payment(bill), bill.getDueDate() ); | return success; | } | | @Observer(org.jboss.seam.postInitialization) | public String scheduleRecurringPayment() | { | paymentHandler.processRecurringPayment( new Payment(bill), bill.getDueDate(), | ONE_MONTH ); | return success; | } | } ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073981#4073981 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073981 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Publishing problems...
You could use a request-response pattern. I.e. send a response back once you have consumed the message from the topic. This is a classic pattern, google it for more info. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073982#4073982 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073982 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - JNDI problem
I got the following errors when I deploy my app: 8:05:32,718 WARN [ServiceController] Problem starting service jboss.web.deploy ent:war=aaa.war,id=-1582241627 rg.jboss.deployment.DeploymentException: Error during deploy; - nested throwabl : (javax.naming.NamingException: resource-ref: java:mcv_test has no valid JNDI inding. Check the jboss-web/resource-ref.) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:384) at org.jboss.web.WebModule.startModule(WebModule.java:83) at org.jboss.web.WebModule.startService(WebModule.java:61) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS ... Here is my oracle-ds.xml file: jndi-namemcv_test/jndi-name connection-urljdbc:oracle:thin:@123:1521:xxx/connection-url driver-classoracle.jdbc.driver.OracleDriver/driver-class user-namex/user-name y within the app, WEB-INF, I have jboss-web.xml: jboss-web resource-ref res-ref-namemcv_test/res-ref-name jndi-namejava:mcv_test/jndi-name /resource-ref /jboss-web and web.xml: resource-ref res-ref-namejava:mcv_test/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth res-sharing-scopeShareable/res-sharing-scope /resource-ref Are there any idea how to fix the problem? -Henry View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073984#4073984 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073984 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Re: Hypersonic localDB.data file size limit
from where do i execute the command CHECKPOINT DEFRAG. We are using Jboss 4.0.5.GA and the data file grows till 2GB after which it throws the exception org.jboss.mq.SpyJMSException: Could not store message: 2626268 msg=48627 hard NOT_STORED PERSISTENT queue=TOPIC.JECCommand.ID:6.-2147483648 priority=4 lateClone=false hashCode=29761546; - nested throwable: (java.sql.SQLException: S1000 Data file size limit is reached in statement [INSERT INTO JMS_MESSAGES (MESSAGEID, DESTINATION, MESSAGEBLOB, TXID, TXOP) VALUES(?,?,?,?,?)]) any help will be highly appreciated. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073986#4073986 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073986 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Qestion about timers in jboss seam
Yup, though you probably don't need it to be stateful. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073987#4073987 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073987 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JNDI problem
anonymous wrote : and web.xml: | | resource-ref | res-ref-namejava:mcv_test/res-ref-name This should have been: | resource-ref | res-ref-namemcv_test/res-ref-name View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073988#4073988 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073988 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - HTTP/HTTPS Connector problems
I'm trying to do JMS over HTTP/S with JBAS 4.2.1 but i run into problems. I think i configured everything fine since there is no error when JB starts up. When i run my client i get this error. I can get the bisocket and sslbisocket to work fine but not with http/https. Any thoughts as to what i might be missing. Failed to download and/or install client side AOP stack org.jboss.jms.exception.MessagingNetworkFailureException at org.jboss.jms.client.delegate.DelegateSupport.handleThrowable(DelegateSupport.java:221) at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:202) at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:157) at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$getClientAOPStack$aop(ClientConnectionFactoryDelegate.java:227) at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.getClientAOPStack(ClientConnectionFactoryDelegate.java) at org.jboss.jms.client.ClientAOPStackLoader.load(ClientAOPStackLoader.java:75) at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:192) at org.jboss.jms.client.JBossConnectionFactory.createTopicConnection(JBossConnectionFactory.java:115) at org.jboss.jms.client.JBossConnectionFactory.createTopicConnection(JBossConnectionFactory.java:109) Caused by: org.jboss.remoting.CannotConnectException: Can not connect http client invoker. at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:332) at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:135) at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122) at org.jboss.remoting.Client.invoke(Client.java:1550) at org.jboss.remoting.Client.invoke(Client.java:530) at org.jboss.remoting.Client.invoke(Client.java:518) at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:186) ... 14 more View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073989#4073989 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073989 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - edit.xhtml and trying NOT to pump out a balnk line (Pete que
Trying to do it the seam way... I use this in my edit.xhtml | s:div styleClass=edit_template_error_area rendered=#{!empty facesContext.maximumSeverity} |s:message styleClass=error / | /s:div | This is great in that it does not render whenever I have no errors (so my lines are not padded out with blank lines). If, however, one line is error then this fires for all lines. Can I see if a certain field is in error as apposed to ANY field in error. I see that this decorate tag auto-magically knows which field is in error with as it renders the error message for the right field... Cheers. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073991#4073991 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073991 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Qestion about timers in jboss seam
tnx a lot :) JBoss Seam is really smart and elegant application framework, I like it :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073992#4073992 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073992 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Trailblazer
The trailblazer is looking for jboss.mq.service=DestinationManager : --- MBeans waiting for other MBeans --- ObjectName: jboss.j2ee:ear=EJB3Trail.ear,jar=beans.jar,name=CalculatorMDB,service=EJB3 State: FAILED Reason: javax.management.InstanceNotFoundException: jboss.mq:service=DestinationManager is not registered. I Depend On: jboss.j2ee:ear=EJB3Trail.ear,jar=beans.jar,name=RecordManagerBean,service=EJB3 jboss.j2ee:ear=EJB3Trail.ear,jar=beans.jar,name=StatelessCalculator,service=EJB3 As I already removed all legacy jms stuff does this mean that the trailblazer needs an update to use the jboss-messaging framework or is the problem located rather on my side ??? thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073996#4073996 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073996 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Extremely basic JNDI question
I'm having a very similar problem; multiple web contexts sharing a war file, each using distinct data. I solved the problem slightly differently in Tomcat stand alone. Each context is given a unique key via JNDI that it uses to select the relevant rows of a shared database. But I think we're looking for the same thing: a way to set up each web context with it's own InitialContext. I've been doing some digging and as far as I can see there doesn't seem to be a way to achieve this in JBoss (I would gladly be proved wrong). I'm looking at MBeans at the moment. Would it be possible to configure the JNDI for each web context with MBeans? Thanks, Steve View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074000#4074000 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074000 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: resource bundle
Try: - either to remove default-locale in locale-config - or to change the name of properties file from messagesAfn.properties to messagesAfn_en.properties View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074002#4074002 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074002 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Bridge - Foreign Message (ActiveMQ - JbossMessaging)
aslak wrote : In this case, the 1.3.0 behavior seems to be more correct. Yes, but we are having to work around an active mq bug here, see http://jira.jboss.com/jira/browse/JBMESSAGING-988 for more details. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074003#4074003 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074003 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: The method destroy is called twice
Hi Richards. I try with tableModel.clean() and with this: anonymous wrote : | if(tableModel !=null) { | Component component = Seam.componentForName(tableModel); | component.destroy(tableModel); | //component.callDestroyMethod(tableModel); | } And I have the same result. When I call @Destroy method this way, Seam doesn't know? What difference exist between component.destroy and component.callDestroyMethod? I can't manually call @Destroy, when I know exactly when should be called? Thanks Richards. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074004#4074004 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074004 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Marshall exception during cache replication
I tried to serialize my object vith Jboss serialization and it doesn't work. so i('s a jboss serialization problem. | java.io.IOException | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:107) | at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:269) | at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353) | at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273) | at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353) | at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273) | at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353) | at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273) | at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643) | at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:163) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | at fr.billetel.interfaces.ws.dispobillet.impl.Dispobillet.prepareEtatCommandesNonRetirees(Dispobillet.java:98) | at fr.billetel.interfaces.ws.dispobillet.DispobilletMessageReceiverInOut.invokeBusinessLogic(DispobilletMessageReceiverInOut.java:73) | at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39) | at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:497) | at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:328) | at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:254) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at
[jboss-user] [Beginners Corner] - Re: JNDI problem
Lets continue the discussion in your other post at http://www.jboss.com/index.html?module=bbop=viewtopict=116066 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074012#4074012 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074012 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: installing two or more instances of portal on one machin
anonymous wrote : | ay, i want to add DEV1 DEV2 apart from default configuration. if i simply copy default directory and rename it to DEV1 will it work? | yes. make sure you start jboss with ./run.sh -c DEV1 and ./run.sh -c DEV2 to start the proper configuration anonymous wrote : | I also need to run them in parallel so i will seperate tcp ports used by them (this is given in above wiki). Any pointers? or documents? | use ./run.sh -c DEV1 -b {ip address for DEV1} and ./run.sh -c DEV2 -b {ip address for DEV2} Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074011#4074011 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074011 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: How to trace remote calls client-side
I'm not 100% sure about this, but you might be able to add an interceptor to the remote interfaces and do logging there. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074016#4074016 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074016 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - SeamTest Target Unreachable, identifier 'authenticator' re
Seam 2.0 Beta JBoss 4.2.0 I would to build tests. I have the following problem. When I add the security rules file I get an exception. Has anyone any idea? part of components.xml |drools:rule-base name=securityRules |drools:rule-files |value/security.drl/value |/drools:rule-files |/drools:rule-base | |security:identity authenticate-method=#{authenticator.authenticate} |security-rules=#{securityRules}/ | content of security.drl | package Permissions; | | import java.security.Principal; | | import org.jboss.seam.security.PermissionCheck; | import org.jboss.seam.se | | curity.Role; | The tast case call | @Override | public void invokeApplication() { | | invokeMethod(#{identity.login}); | } | generates the exception | [testng] ERROR 14-08 15:37:22,670 (SeamLoginModule.java:login:112) -Error invoking login method |[testng] javax.el.PropertyNotFoundException: Target Unreachable, identifier 'authenticator' resolved to null |[testng] at org.jboss.el.parser.AstValue.getTarget(AstValue.java:38) |[testng] at org.jboss.el.parser.AstValue.invoke(AstValue.java:95) |[testng] at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) |[testng] at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:174) |[testng] at org.jboss.seam.security.jaas.SeamLoginModule.login(SeamLoginModule.java:108) |[testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |[testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) |[testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) |[testng] at java.lang.reflect.Method.invoke(Method.java:585) |[testng] at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769) |[testng] at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186) |[testng] at javax.security.auth.login.LoginContext$5.run(LoginContext.java:706) |[testng] at java.security.AccessController.doPrivileged(Native Method) |[testng] at javax.security.auth.login.LoginContext.invokeCreatorPriv(LoginContext.java:703) |[testng] at javax.security.auth.login.LoginContext.login(LoginContext.java:575) |[testng] at org.jboss.seam.security.Identity.authenticate(Identity.java:331) |[testng] at org.jboss.seam.security.Identity.authenticate(Identity.java:321) |[testng] at org.jboss.seam.security.Identity.login(Identity.java:237) |[testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |[testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) |[testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) |[testng] at java.lang.reflect.Method.invoke(Method.java:585) |[testng] at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:325) |[testng] at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:338) |[testng] at org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58) |[testng] at org.jboss.el.parser.AstValue.invoke(AstValue.java:96) |[testng] at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) |[testng] at org.jboss.seam.mock.BaseSeamTest$Request.invokeMethod(BaseSeamTest.java:456) |[testng] at com.frox.atirasafnetz.test.AfNetzTest$LoginRequest.invokeApplication(AfNetzTest.java:40) |[testng] at org.jboss.seam.mock.BaseSeamTest$Request.invokeApplicationPhase(BaseSeamTest.java:604) |[testng] at org.jboss.seam.mock.BaseSeamTest$Request.emulateJsfLifecycle(BaseSeamTest.java:556) |[testng] at org.jboss.seam.mock.BaseSeamTest$Request.run(BaseSeamTest.java:487) |[testng] at com.frox.atirasafnetz.test.integration.LoginTest.testLogin(LoginTest.java:36) |[testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |[testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) |[testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) |[testng] at java.lang.reflect.Method.invoke(Method.java:585) |[testng] at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604) |[testng] at org.testng.internal.Invoker.invokeMethod(Invoker.java:470) |[testng] at
[jboss-user] [JBoss Seam] - DataModelSelection does not work with PAGE scope
Hi, I am outjecting a DataModel on PAGE scope, but DataModelSelection is null(when I click on a h:datatable row). I don't understand why it doesn't work - I am struggling with it for a couple of days now. Here is a simple application that does just this: | @Name(eventLister) | @Scope(ScopeType.EVENT) | public class EventListerAction implements Serializable { | | @In FacesMessages facesMessages; | | @DataModel(value=eventList, scope=ScopeType.PAGE) | private ListInteger eventList; | | @DataModelSelection | private Integer selectedEvent; | | @Factory(eventList) | public void initRequestList() { | eventList = new ArrayListInteger(); | eventList.add(1); | eventList.add(2); | eventList.add(3); | } | public void selectEvent() { | facesMessages.add(selected event: +selectedEvent); | } | | } | and the page eventList.xhtml: | !DOCTYPE composition PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; | ui:composition xmlns=http://www.w3.org/1999/xhtml; | xmlns:s=http://jboss.com/products/seam/taglib; | xmlns:ui=http://java.sun.com/jsf/facelets; | xmlns:f=http://java.sun.com/jsf/core; | xmlns:h=http://java.sun.com/jsf/html; | xmlns:a=https://ajax4jsf.dev.java.net/ajax; | template=layout/template.xhtml | | ui:define name=body | | h:messages globalOnly=true styleClass=message/ | | h:dataTable value=#{eventList} var=item | h:column | f:facet name=headerEvent/f:facet | s:link action=#{eventLister.selectEvent} value=#{item}/ | /h:column | /h:dataTable | /ui:define | | /ui:composition | Please help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074018#4074018 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074018 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user