[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss 4.0.2 wiyth Hibernate3 exception org.hibernate.Map
I have the same problem. I Use JBoss AS 4.0.3 SP1 + JBossHibernate2. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914530#3914530 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914530 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss 4.0.2 wiyth Hibernate3 exception org.hibernate.Map
The *.har be deployed ok. use a test.jsp such as: %@ page import=javax.naming.* % | %@ page import=net.sf.hibernate.* % | | % | InitialContext ctx = new InitialContext(); | SessionFactory factory = (SessionFactory) | ctx.lookup(java:/hibernate/CmmsSF); | Sessionhsession = factory.openSession(); | try { | Query query = hsession.createQuery(from com.ymsun.entapps.cmms.model.User); | System.out.println(query.list().get(0)); | | } finally { | hsession.close(); | } | % | | | it's ok. But when i use the spring in my web application such as: !-- Hibernate SessionFactory -- | bean id=sessionFactory class=org.springframework.jndi.JndiObjectFactoryBean | property name=jndiNamevaluejava:/hibernate/CmmsSF/value/property | /bean | | !-- Transaction manager for a single Hibernate SessionFactory (alternative to JTA) -- | bean id=transactionManager class=org.springframework.transaction.jta.JtaTransactionManager | /bean |.. | then report: | org.springframework.orm.hibernate.HibernateSystemException: Unknown entity class | : com.ymsun.entapps.cmms.model.User; nested exception is net.sf.hibernate.Mappin | gException: Unknown entity class: com.ymsun.entapps.cmms.model.User | net.sf.hibernate.MappingException: Unknown entity class: com.ymsun.entapps.cmms. | model.User | at net.sf.hibernate.impl.SessionFactoryImpl.getPersister(SessionFactoryI | mpl.java:347) | at net.sf.hibernate.impl.SessionImpl.getClassPersister(SessionImpl.java: | 2718) | at net.sf.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1998 | ) | at net.sf.hibernate.impl.SessionImpl.get(SessionImpl.java:1937) | at org.springframework.orm.hibernate.HibernateTemplate$1.doInHibernate(H | ibernateTemplate.java:448) | at org.springframework.orm.hibernate.HibernateTemplate.execute(Hibernate | Template.java:363) | at org.springframework.orm.hibernate.HibernateTemplate.get(HibernateTemp | late.java:442) | at org.springframework.orm.hibernate.HibernateTemplate.get(HibernateTemp | late.java:436) | at com.ymsun.entapps.cmms.dao.hibernate.UserDAOHibernate.getUser(UserDAO | Hibernate.java:26) | at com.ymsun.entapps.cmms.service.impl.UserManagerImpl.getUser(UserManag | erImpl.java:40) | .. | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914531#3914531 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914531 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Running noejb tests w/o JBoss?
Ignore that failure, I refactored stuff over the last few days and did not yet fix that unit test. It's just a bug in my mock objects. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914532#3914532 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914532 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Article over jBPM
Thanks :-) OK, then I will finish the article and post a link when it is finished... I will put in our homepage (www.camunda.com). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914533#3914533 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914533 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss 4.0.2 wiyth Hibernate3 exception org.hibernate.Map
i solved the problem, it's seemed that domain classes deployed to *.har can not be deployed to the war again. classloader issue. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914534#3914534 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914534 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: to show variableinstance information in jbpm:table
sera wrote : I want to add 1 column in the following table | value of that column get stored in variableinstance | So How can i show the information from jbpm_variableinstance table name fields in | | jbpm:table name=homeform property=tasks | jbpm:column title=Token Number property=actorId / | jbpm:table | | The code above is from home.jsp file. | I am using jbpm2.0 | I have stored some variable e.g firstname in jbpm_variableinstance through .from file | Then that variable is stored in name field of jbpm_variableinstance table. | i want to show serialized value of that variable firstname using jbpm:column tag. So how should i do this? | can anybody help me? | | Thanks in advance | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914535#3914535 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914535 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - assosiating variable instance to task istance.
Hi all, I want to know how we should assosiate variable to task. In jbpm_variableinstace table we have a column taskinstance which probably map that variable to task. How to populate that field??? thanks, Anil View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914536#3914536 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914536 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: how to add an actorId??
u can assign actor to task using taskInstance.setActorId(actor) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914537#3914537 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914537 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Inter Portlet Communication
Hi Everyone, I have two portlets in my application which will communicate with each other. Portlet communication is working fine with PortletSession. I'm deploying my application in deploy folder bundled as enterprise archieve. I have seen the example of JBoss which is available in Test/event test Page in Portal 2.2. Here in this example, JBoss is using the PortalNodeEventListener interface and some configurations file i.e. 1. jboss-service.xml 2. PortalEventListenerRegistryImpl.xml Here when the jboss server starts it's reading the jboss-service.xml present in default/jboss-portal.sar/META-INF. By looking at the above example of JBoss, I too did the same thing in JBoss for my application, I have modified the jboss-service.xml file and added the below entry and restarted the server. On server startup, I'm getting the below exception i.e. java.lang.ClassNotFoundException: No ClassLoaders found for: sample.portlets.SubscriberPortlet$Listener mbean | code=org.jboss.portal.core.event.PortalEventListenerServiceImpl | name=portal:service=ListenerService,type=sample_listener | xmbean-dd=org/jboss/portal/core/event/PortalEventListenerServiceImpl.xml | depends optional-attribute-name=Registry proxy-type=attributeportal:service=ListenerRegistry/depends | attribute name=RegistryIdsample_listener/attribute | attribute name=ListenerClassNamesamples.portlets.SubscriberPortlet$Listener/attribute | /mbean How do I specify to Jboss to read my archieve on server startup? Is there any other way that we can implement the Inter Portlet Communication? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914538#3914538 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914538 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Stop automatic persist of parents children?
I found out that the simple parent-child example I gave, does not produce the selection statements I was talking about. Instead a parent-child-grandchild relation does produce the problem. I used the following classes to test (the getters and setters are removed here) : | | // Parent | | @Entity(access = AccessType.FIELD) | @Table(name=t_tests, schema=grid) | @SequenceGenerator(name=TestBeanSequence, sequenceName=grid.s_tests) | public class TestBean implements Serializable { | | @Id(generate=GeneratorType.SEQUENCE, generator=TestBeanSequence) | private Integer id; | | @Column(length=255) | private String someText; | | @Basic(temporalType = TemporalType.TIMESTAMP) | private DatesomeDate; | | private Boolean someBoolean; | | @OneToMany(targetEntity=TestChildBean.class, | mappedBy=test, | cascade=CascadeType.ALL, | fetch=FetchType.LAZY) | private ListTestChildBean testChildren; | } | | | // Child | | @Entity(access = AccessType.FIELD) | @Table(name=t_testchilds, schema=grid) | @SequenceGenerator(name=TestChildBeanSequence, sequenceName=grid.s_testchilds) | public class TestChildBean { | | @Id(generate=GeneratorType.SEQUENCE, generator=TestChildBeanSequence) | private Integer id; | | @Column(length=20, nullable=false) | private String name; | | @ManyToOne(targetEntity=TestBean.class, fetch=FetchType.LAZY) | @JoinColumn(name=test_id, nullable = false) | private TestBean test; | | @OneToMany(targetEntity=TestGrandChildBean.class, | mappedBy=testChild, | cascade=CascadeType.ALL, | fetch=FetchType.LAZY) | private ListTestGrandChildBean testGrandChildren; | } | | // Grandchild | | @Entity(access = AccessType.FIELD) | @Table(name=t_testgrandchilds, schema=grid) | @SequenceGenerator(name=TestGrandChildBeanSequence, sequenceName=grid.s_testgrandchilds) | public class TestGrandChildBean { | | @Id(generate=GeneratorType.SEQUENCE, generator=TestGrandChildBeanSequence) | private Integer id; | | @Column(length=20, nullable=false) | private String name; | | @ManyToOne(targetEntity=TestChildBean.class, fetch=FetchType.LAZY) | @JoinColumn(name=testchild_id, nullable = false) | private TestChildBean testChild; | } | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914539#3914539 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914539 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - More than 2000 statements into a a transaction ! How to mana
Hi all, I have to read the content of a text file ( about 5000 lines ) for each of its line i have to run some SELECT queries and in a certain case an INSERT or UPDATE statement. Well, i open one connection , i open a WHILE cycle to read the file content and at the end of the WHILE i close the connection. Using a connection from a pool of Jboss ( i use DB2) with setAutoCommit set to TRUE everything works fine but the INSERT or UPDATE statements dont't go fine and i don't get any error. If i use a file with just 500 lines everything works fine. I dont' know how to explain this case. I tryed to get a connection directly e set the AUTOCOMMIT to false and before closing the connection call the COMMIT method but i still get the same problem. Is it a problem of DB2 which doesn't support a lot of statement in the same transaction or what ? Any suggestion ? Cheers. Stefano View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914540#3914540 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914540 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Hibernate JndiBoundTreeCacheProvider TreeCache
Could anyone provide me a working example how to use Hibernate and Jboss TreeCache. Especially I am interested in using jndiBoundTreeCacheProvider thanx Alex View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914541#3914541 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914541 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: EJB Webservice Clustering
Thanks for your reply. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914542#3914542 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914542 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: WSDOCServiceStepByStep help
The problem is in the jboss jars. Make sure that the jwsdp\jaxrpc\lib\jaxrpc-*.jar are loaded first and don't put the jboss-jaxrpc.jar in the CLASSPATH. I had the same problem and fixed it by using only the Sun libs of the jwsdp tools. I also used the saaj jars of the Sun jwsdp tools instead of the JBoss one. Bert View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914543#3914543 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914543 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - JBPM deployment problem
Hi, I have downloaded JBPM starters kit. In the documentation it is written that there is a directory called $jbpm_home/core and under it there is a file schema.generation.properties. In addition it is written to run ant generate.ddl . In my downloaded package I can't find core directory and no build.xml contains generate.ddl ant task. Is there any other scripts I can run in order to generate database schema? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914545#3914545 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914545 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Timeline for PFD complience ?
Dear all, Any anticipated timeline for complience to PFD ? I was trying to integreate Seam into glassfish, but this fails as the PFD has change some minor things (but still blocking). Rgs, JB View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914546#3914546 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914546 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - EJB3, JUnit, Maven 2
Hi, has anyone managed to get JUnit-based EJB3 tests to run within Maven2? Setting up the pom.xml and installing all the necessary jars was quite a PITA, but then all I get is this: java.lang.RuntimeException: java.lang.NullPointerException at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.scanClasspath(EJB3StandaloneBootstrap.java:157) at de.agimatec.nucleus.persistence.access.ejb3.UserEjb3DAOTest.setUp(UserEjb3DAOTest.java:25) at junit.framework.TestCase.runBare(TestCase.java:125) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.maven.surefire.battery.JUnitBattery.executeJUnit(JUnitBattery.java:230) at org.apache.maven.surefire.battery.JUnitBattery.execute(JUnitBattery.java:204) at org.apache.maven.surefire.Surefire.executeBattery(Surefire.java:218) at org.apache.maven.surefire.Surefire.run(Surefire.java:166) at org.apache.maven.surefire.Surefire.run(Surefire.java:90) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.maven.surefire.SurefireBooter.runTestsInProcess(SurefireBooter.java:246) at org.apache.maven.surefire.SurefireBooter.run(SurefireBooter.java:195) at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:366) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:399) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:519) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:469) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:448) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:301) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113) at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: java.lang.NullPointerException at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.getInitialContextProperties(EJB3StandaloneBootstrap.java:120) at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.scanClasspath(EJB3StandaloneBootstrap.java:138) ... 42 more Jars and configuration files are in the classpath. Any idea? Thanks, Fabian View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914547#3914547 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914547 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Need Help for Sub-Process
Now it's creating the subprocess. what i did i download jbpm 3.02 and jbpm starter kit 3.02, Previously i use to worked in jbpm 3.1 alpha 1. this is not creating the subprocess i don't know why. but one issue after creating the subprocess i am getting message in server given below:- 9:52:18,160 DEBUG [TaskInstance] completion of task 'startHire' results in taking the default transition 9:52:18,160 DEBUG [GraphElement] event 'before-signal' on 'StartState(startHire)' for 'Token(/)' 9:52:18,160 DEBUG [GraphElement] event 'node-leave' on 'StartState(startHire)' for 'Token(/)' 9:52:18,160 DEBUG [GraphElement] event 'transition' on 'Transition()' for 'Token(/)' 9:52:18,160 DEBUG [GraphElement] event 'node-enter' on 'ProcessState(initial interview)' for 'Token(/)' 9:52:18,160 DEBUG [GraphElement] event 'process-start' on 'ProcessDefinition(interview)' for 'Token(/)' 9:52:18,160 DEBUG [GraphElement] event 'subprocess-created' on 'ProcessState(initial interview)' for 'Token(/)' 9:52:18,176 DEBUG [GraphElement] event 'before-signal' on 'StartState(startSubProcess)' for 'Token(/)' 9:52:18,176 DEBUG [GraphElement] event 'node-leave' on 'StartState(startSubProcess)' for 'Token(/)' 9:52:18,176 DEBUG [GraphElement] event 'transition' on 'Transition(tr1)' for 'Token(/)' 9:52:18,176 DEBUG [GraphElement] event 'node-enter' on 'TaskNode(interviewTask)' for 'Token(/)' 9:52:18,176 DEBUG [GraphElement] event 'task-assign' on 'Task(interviewTask)' for 'Token(/)' 9:52:18,176 DEBUG [GraphElement] event 'task-create' on 'Task(interviewTask)' for 'Token(/)' 9:52:18,176 DEBUG [GraphElement] event 'after-signal' on 'StartState(startSubProcess)' for 'Token(/)' 9:52:18,176 DEBUG [GraphElement] event 'after-signal' on 'StartState(startHire)' for 'Token(/)' 9:52:18,176 DEBUG [TaskBean] assignmentlogs: [] 9:52:18,191 INFO [[/jbpm]] WARNING: Component _id13 just got an automatic id, because there was no id assigned yet. If this component was created dynamically (i.e. not by a JSP tag) you should assign it an explicit static id or assign it the id you get from the createUniqueId from the current UIViewRoot component right after creation! 9:52:18,285 DEBUG [PersistenceContext] committing transaction Here is the different code Parent ** | ?xml version=1.0 encoding=UTF-8? | | process-definition name=hire | | swimlane name=customer/ | |start-state name=startHire | task swimlane=customer | controller | variable name=a/ | variable name=b/ | /controller | /task | transition name= to=initial interview/transition | |/start-state | |process-state name=initial interview |sub-process name=interview/ | controller |variable name=a access=read,write mapped-name=aa / | variable name=b access=read mapped-name=bb / | /controller | transition name= to=LastTask/transition |/process-state | |task-node name=LastTask | transition name= to=end1/transition |/task-node |end-state name=end1/end-state | | /process-definition | subprocess ** | ?xml version=1.0 encoding=UTF-8? | | process-definition name=interview | | swimlane name=customer/ | | swimlane name=operator1 | assignment expression=user(james) / | /swimlane | |start-state name=startSubProcess |task swimlane=customer | controller | variable name=aa/ | variable name=bb/ | /controller | /task | transition name=tr1 to=interviewTask/transition |/start-state | |task-node name=interviewTask | task swimlane=customer | controller |variable name=aa access=read,write/ |variable name=bb access=read,write/ |/controller |/task | transition name=tr1 to=HRInterview Task/transition |/task-node | |end-state name=end1/end-state | |task-node name=HRInterview Task | task swimlane=operator1 | controller | variable name=aa access=read/ | variable name=bb access=read/ |/controller |/task |transition name=tr1 to=end1/transition |/task-node | | /process-definition | Please let me know what i did in right direction. or i need to some other logic... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914548#3914548 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914548 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: More than 2000 statements into a a transaction ! How to
Hi all, i just tryed to increase the timeout size in the file transaction-service.xml but it doesn't work. The original value was 300 and i put 2. Still, i got no errors ( it seems that everything is fine) but i don't find any data saved in my database. I hope someone will help me. Cheers. Stefano View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914549#3914549 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914549 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Not able to lookup the datasource in jboss
I have a created a mysql-ds.xml in the deploy directory with JNDi name as MySqlDS.I try to look up the datasource from an application client. But i get the following exception.However i am able to lookup a session bean deployed in the same server. javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1058) at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1127) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:478) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:471) at javax.naming.InitialContext.lookup(Unknown Source) at com.test.TesterClient.main(TesterClient.java:33) Caused by: java.net.SocketTimeoutException: Receive timed out at java.net.PlainDatagramSocketImpl.receive0(Native Method) at java.net.PlainDatagramSocketImpl.receive(Unknown Source) at java.net.DatagramSocket.receive(Unknown Source) at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1038) ... 5 more View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914550#3914550 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914550 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Correlation
Does jbpm has anything to work with correlation? Is there any example? To describe my problem, i will give this example: let's suppose that i've 2 workflows instances started, and i received an event from outside of the workflows. The listener class reads the event, see to what worflow the event should be propagated, and propagate the message to the right workflow. Thanks. Pedro View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914551#3914551 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914551 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: how to design multiple sub-processes
Hi Britt, Thanks for your reply. It seems the 3.01 version has no support yet for tracking multiple sub processes. The subprocess only works for 1, but not many. I tried to look at some facilties in the code but the super process in the sub process instance refers only to one parent. I also tried looking at the module instances, but it seems I don't know how to use it. Please check my code below, there are some i did a somebit of a hack, not pretty though but it seems to work. process-definition name=hire-process | | start-state name=start-hire | transition to=hire-state/ | /start-state | | state name=hire-state | transition name=dummy to=hire-state/ | transition name=close to=stop-hiring/ | transition name=add-candidate to=add-candidates/ | /state | | node name=add-candidates | event type=node-enter | action name=create-candidate-process class=org.jbpm.CreateSubProcess | subprocessnamecandidate-process/subprocessname | /action | /event | transition to=hire-state/ | /node | | process-state name=candidate-process | sub-process name=candidate-process/ | /process-state | | node name=stop-hiring | event type=node-enter | action name=kill-subprocess class=org.jbpm.SubProcessKiller / | /event | transition to=end-process/ | /node | | end-state name=end-process/ | | /process-definition The purpose of the dummy transition is to avoid accidental signalling of this state. I need to specify the transition in this state whether close or add another candidate. So I just get a process, add an add-candidate transition and off it goes creating the sub process. I cant use the normal subprocess definition bec. it only continues when i have finished the process. so I did a little bit of hack here, i dont think this is the recommended way to use a subprocess. | public class CreateSubProcess implements ActionHandler { | | String subprocessname; | | public void execute(ExecutionContext executionContext) throws Exception { | ProcessState node = (ProcessState)executionContext.getProcessDefinition().findNode( subprocessname ); | if( node == null ) | throw new Exception(subprocessname + does not exist! ); | ProcessInstance subProcess = node.getSubProcessDefinition().createProcessInstance(); | ModuleInstance module = new ModuleInstance(); | module.setProcessInstance( subProcess ); | executionContext.getProcessInstance().addInstance( module ); | subProcess.signal(); | System.out.println(EXITING THE PROCESS NOW...); | } | | } Tried to use the module instance. But it seems it does not work as I thought it would, maybe I'm not using it correctly. In the code below the process instance in the module referred to the parent process instance not the sub process. | public class SubProcessKiller implements ActionHandler { | | public void execute(ExecutionContext executionContext) throws Exception { | System.out.println( START THE STOPPING PROCESS...); | int i = 0; | Map m = executionContext.getProcessInstance().getInstances(); | Iterator iter = m.values().iterator(); | while( iter.hasNext() ) { | System.out.println( looping token-); | ModuleInstance mod = (ModuleInstance)iter.next(); | ProcessInstance sb = mod.getProcessInstance(); | sb.end(); | System.out.println( proc name + sb.getProcessDefinition().getName() ); | System.out.println( proc id is + sb.getId() ); | System.out.println(has ended? + sb.hasEnded() ); | System.out.println(sb.getRootToken().getNode().getName()); | i++; | } | ProcessInstance p; | | System.out.println( SUBPROCESSES CLEANED UP. NO. OF PROCESS CLOSED + i ); | } | | } | Anyway, everything seemed to work EXCEPT for the module instance. How do I track sub processes wihtout going to extraordinary means? Any suggestions? Thanks again. Regards, Elmo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914552#3914552 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914552 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX
[JBoss-user] [JBoss jBPM] - Re: how to design multiple sub-processes
sorry, not 3.01 but I meant 3.1 version Regards, Elmo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914553#3914553 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914553 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - PostgreSQL and schema update error
Trying to run SEAM example on the PostgreSQL 8.0 I got this error messages 15:44:49,371 ERROR [SchemaUpdate] Unsuccessful: create table User (username varchar(255) not null, name varchar(100) not null, password varchar(15) not null, primary key (username)) 15:44:49,372 ERROR [SchemaUpdate] ERROR: syntax error at or near User 15:44:49,522 ERROR [SchemaUpdate] Unsuccessful: alter table Booking add constraint FK6713A0396E4A3BD foreign key (user_username) references User 15:44:49,522 ERROR [SchemaUpdate] ERROR: syntax error at or near User I think the problem is that User is a reserved word in postgresql. How could it be solved? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914554#3914554 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914554 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Need Help for Sub-Process
It seems its a UI, probably a jsp related problem. I think I've already seen that issue somewhere, just check some posts here. Use the search facility in the post. Tip: check the database for entries, if there are values in there that seems to be correct, then you are on the right track. anonymous wrote : | WARNING: Component _id13 just got an automatic id, because there was no id assigned yet. If this component was created dynamically (i.e. not by a JSP tag) you should assign it an explicit static id or assign it the id you get from the createUniqueId from the current UIViewRoot component right after creation! Regards, Elmo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914555#3914555 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914555 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: EJB3 @SecurityDomain and @RunAs or @RunAsPrincipal not w
Hi, I have exactly the same problem. Did you solve it? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914556#3914556 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914556 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Where can I find the JBOss examples mentioned in the adm
On the JBoss website: 1. Go to Documentation 2. Select the documentation of the JBoss Application Server 3. Select the source of JBoss Application Server Guide That's it View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914557#3914557 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914557 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Getting errors when starting up jboss 4.0.3SP1 in jboss-loca
I am using jBoss 4.0.3SP1 JDK 1.5_05 When starting up jBoss AS with no internet connection i recieve the following errors. Can anybody help me. Thanks in advance 2005-12-28 14:10:10,921 ERROR [org.jboss.deployment.MainDeployer] Could not initialise deployment: file:/C:/Projects/Lio/Pub/JBoss/4.0.3SP1/server/default/deploy/jboss-ha-local-jdbc.rar org.jboss.deployment.DeploymentException: Error parsing meta data jar:file:/C:/Projects/Lio/Pub/JBoss/4.0.3SP1/server/default/tmp/deploy/tmp32160jboss-ha-local-jdbc.rar!/META-INF/ra.xml; - nested throwable: (org.jboss.xb.binding.JBossXBException: Failed to parse source.) at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:39) at org.jboss.deployment.ObjectModelFactorySimpleSubDeployerSupport.parseMetaData(ObjectModelFactorySimpleSubDeployerSupport.java:41) at org.jboss.deployment.SimpleSubDeployerSupport.init(SimpleSubDeployerSupport.java:73) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:843) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:780) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753) at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy9.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:265) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:428) at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - JSP worked in JBoss 3.2.x but not working on JBoss 4.0.3SP1
Hi, I had some web-apps with servlets and JSPs perfectly working on JBoss 3.2.6 and 3.2.7. I decided to update to the last JBoss version (I needed better support for webservices) and I've found some strange problems. Most web-apps deployed without problems, but some JSPs (not all of them) in some web-apps don't work any more. The problem is that the server is not able to compile the generated java servlet (but it GENERATES the .jara!) and returns an exception like this: --- org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 43 in the jsp file: /CalculationOptions.jsp Generated servlet error: Syntax error on token ;, = expected org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328) org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:397) org.apache.jasper.compiler.Compiler.compile(Compiler.java:288) --- and the part of the code of the JSP is this: %! String ODAPerformAnalysis; % %! String ODAPerformAnalysisChecked; % %! String ODACorrectPDB; % %! String ODACorrectPDBChecked; % %! String ODACorrectPDBDisabled; % % ODAPerformAnalysis = (String)session.getAttribute(ODAPerformAnalysis); if(ODAPerformAnalysis==null) ODAPerformAnalysis=false; if(ODAPerformAnalysis.equalsIgnoreCase(false)) { ODAPerformAnalysisChecked = ; ODACorrectPDBDisabled = true; } ../.. % Any idea? Iván View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914559#3914559 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914559 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - multiple timers creating more than one node instance
Hi all, I still have problems with timer ... but now ... with multiple timers in diferent nodes, and when one finish, it creates the next node instance more then once! I dont know what to do i know that when using timer, i need to save processinstance ... and it's what i'm doing ! see my process definition: process-definition | name=controle-teste |swimlane name=Supervisor-Cliente | assignment class=br.com.glr.jbpm.handlers.SwimlaneAssignmentHandler config-type=bean | swimlaneNameSupervisor-Cliente/swimlaneName | /assignment |/swimlane |swimlane name=Supervisor-Celula | assignment class=br.com.glr.jbpm.handlers.SwimlaneAssignmentHandler config-type=bean | swimlaneNameSupervisor-Celula/swimlaneName | /assignment |/swimlane |swimlane name=Diretor-Operacional | assignment class=br.com.glr.jbpm.handlers.SwimlaneAssignmentHandler config-type=bean | swimlaneNameDiretor-Operacional/swimlaneName | /assignment |/swimlane |swimlane name=Gerente-Cliente | assignment class=br.com.glr.jbpm.handlers.SwimlaneAssignmentHandler config-type=bean | swimlaneNameGerente-Cliente/swimlaneName | /assignment |/swimlane |swimlane name=Operador-Celula | assignment class=br.com.glr.jbpm.handlers.SwimlaneAssignmentHandler config-type=bean | swimlaneNameOperador-Celula/swimlaneName | /assignment |/swimlane |swimlane name=Diretor-Geral | assignment class=br.com.glr.jbpm.handlers.SwimlaneAssignmentHandler config-type=bean | swimlaneNameDiretor-Geral/swimlaneName | /assignment |/swimlane |start-state name=inicio | transition name=tr1 to=confirma-abertura/ |/start-state |task-node name=confirma-abertura | task name=abertura description=Confirmar abertura de admissoes swimlane=Supervisor-Cliente/ | event type=node-leave | action name=notificar class=br.com.glr.jbpm.handlers.MailToSwimlaneActionHandler config-type=bean | from[EMAIL PROTECTED]/from | swimlaneNamesSupervisor-Celula;Diretor-Operacional;Diretor-Geral;Gerente-Cliente;Operador-Celula/swimlaneNames | subjectConfirmada a abertura de admissoes/subject | message/ | /action | /event | transition name=confirmar to=aguarda/ |/task-node |state name=aguarda | timer duedate=1 minute name=wait transition=confirmar/ | transition name=confirmar to=confirma-fechamento/ |/state |task-node name=confirma-fechamento | timer duedate=2 minutes name=fechamento-timer transition=nao / | event type=node-enter | script | variable name=count access=read,write/ | expressioncount=0;/expression | /script | /event | task name=fechamento description=Confirmar fechamento de admissoes swimlane=Supervisor-Cliente | event type=task-end | action name=notificar class=br.com.glr.jbpm.handlers.MailToSwimlaneActionHandler config-type=bean |from[EMAIL PROTECTED]/from | swimlaneNamesSupervisor-Celula;Diretor-Operacional;Diretor-Geral;Gerente-Cliente;Operador-Celula/swimlaneNames |subjectConfirmado o fechamento de admissoes/subject |message/ | /action | /event | /task | transition name=sim to=termino/ | transition name=nao to=decide/ |/task-node |decision name=decide | event type=node-enter | script | variable name=count access=read,write/ | expressioncount++;/expression | /script | /event | transition name=nivel-0 to=Cobranca-Diretor-Geral | conditioncount 10/condition | /transition | transition name=nivel-1 to=Cobranca-Diretor-Geral | conditioncount 8/condition | /transition | transition name=nivel-2 to=Cobranca-Diretor-Geral | conditioncount 3/condition | /transition | transition name=nivel-3 to=Cobranca-Diretor-Geral | conditioncount 0/condition | /transition |/decision |task-node name=Cobranca-Diretor-Geral | task name=Cobranca-Diretor-Geral description=Cobranca de fechamento swimlane=Diretor-Geral | event type=task-create | action name=notificar class=br.com.glr.jbpm.handlers.MailToSwimlaneActionHandler config-type=bean |from[EMAIL PROTECTED]/from |subjectCobrar o fechamento de admissoes/subject |message/ | /action | /event | /task | transition name=cobrado to=confirma-fechamento/ |/task-node |end-state
[JBoss-user] [JBoss jBPM] - Re: multiple timers creating more than one node instance
here is the result in the jbpm_taskinstance anonymous wrote : 5496 abertura Confirmar abertura de admissoes 315633 2005-12-28 11:57:43.023 NULL 2005-12-28 11:57:50.257 NULL3 0 0 0 474 3965 3543 7929 | 5497 fechamento Confirmar fechamento de admissoes 315633 2005-12-28 11:58:53.117 NULLNULL NULL3 00 0 475 3965 3543 7929 | 5498 fechamento Confirmar fechamento de admissoes NULL NULL NULLNULL NULL3 01 0 475 NULL NULL 7929 | 5499 Cobranca-Diretor-Geral Cobranca de fechamento 315633 2005-12-28 12:00:53.523 NULLNULL NULL3 01 0 476 3965 3544 7929 | 5500 Cobranca-Diretor-Geral Cobranca de fechamento NULL
[JBoss-user] [JBoss jBPM] - Re: multiple timers creating more than one node instance
When i use only schedulerSession.saveTimer(timer) or schedulerSession.deleteTimer(timer) only 1 instance of the next node is created but the next timer is not started! And when i use: schedulerSession.saveTimer(timer) and session.getGraphSession().saveProcessInstance( timer.getToken().getProcessInstance() ) 3 instances of the next node is created! (wrong) and when i use : session.getGraphSession().saveProcessInstance( timer.getToken().getProcessInstance() ) 2 instances of the next node is created!(wrong too) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914562#3914562 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914562 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: JAXRPC Handler to modify incoming SOAP
Thanks Jason. I think that did the trick! But it looks like the attribute has no effect and I think it's because the XML has been deserialised once already. So I think when RPCInvocation does Vector args = body.getParams(); It returns the attributes before the XML was modified. I don't understand this because the code comments talk as though the fact that the handlers may have changed the XML has been considered. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914564#3914564 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914564 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Is it possible to update a process def without versioning it
Let suppose that a process is wrong, but that process instances already exist for it. These process instances could be blocked, and you probably could delete them. But, doing that, the user would need to restart the process from begining. Is there something allowing to 'upgrade the process' in a way that the existing process instances could be unblocked? Eventually by migrating a ProcessInstance to a new version of the ProcessDefinition. Would that be possible? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914565#3914565 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914565 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: PostgreSQL and schema update error
@Table(name=TUser) public class User { ... } Go get yourself a copy of the EJB spec :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914566#3914566 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914566 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - how to add tasks
please if some one can help me I want to decorate my process definition with task nodes thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914567#3914567 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914567 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: how to add an actorId??
thank you very much for your reply that's ok; i developpe on eclipse and now i want to create a tomcat project that use jbpm how to do this?? should i create normally the project and put all the config files on the class path?? if anyone can help me... refgards Nassim View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914568#3914568 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914568 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Running noejb tests w/o JBoss?
By the way, to run the example test, you need to type: ant testexample NOT ant test! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914569#3914569 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914569 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - tomcat, jbpm and eclipse
hello every body i developpe on eclipse and now i want to create a tomcat project that use jbpm how to do this?? should i create normally the project and put all the config files on the class path?? if anyone can help me... refgards Nassim View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914570#3914570 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914570 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Very very Newbie question about datamodel
Right, you cannot use #{foo} in a JSP page. You have to use h:outputText/. The examples which show a naked #{foo} only work in facelets. One of the many reasons why JSP is bad and should be deprecated :) But the original poster says she is using facelets, so this is not the problem, I guess. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914571#3914571 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914571 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Very very Newbie question about datamodel
By the way, the code looks basically correct. It might be a good idea to try with the current CVS version of Seam. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914572#3914572 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914572 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: @DataModelSelectionIndex doesnt work
Well, this feature is working perfectly in the booking demo, so I guess you can make it work by copying that. I did not make any conceptual change to this stuff. I only fixed bugs. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914573#3914573 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914573 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: DataModel / Duplicated ID
None of those things should matter. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914575#3914575 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914575 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Very very Newbie question about datamodel
Shinerella, I did a good amount of debugging like this on my own app... trying to figure out why things don't work. Is it that your table is being rendered but the data fields don't show up, or is your table not rendered at all? One thing I did in debugging is to put a lot of log.info statements in some critical areas... maybe put one after your groups=session.createCriteria... that says: log.info(groups.size() + groups returned by criteria query.); (You'd have to define the logger, of course, but the example app shows this I believe.) That'll at least tell you whether you actually have groups in your list... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914576#3914576 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914576 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: DataModel / Duplicated ID
Duh... I didn't even look at the top of your class at the implements statement... I just assumed you were coding based on the booking model, which uses one class for the interface and one bean for the backing actions. Also, I don't know if this makes a difference, but I noticed your DataTable is defining a custom id. The example application doesn't do that, but I don't know enough about it to say whether or not it would have an effect. Maybe the custom id is interfering with Seam's ability to link the page variable back to the class? (Wild guess.) Though that doesn't really explain why edit() appears not to have been called... Perhaps more to the point, your commandlink doesn't quite match the example app... the example codes a command link like: h:commandLink action=#{allItinerariesByUser.selectItinerary}Maintain Itinerary/h:commandLink ... and doesn't use that value= clause... Again, shooting in the dark here.. not enough exp to know if these really matter. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914574#3914574 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914574 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: JSP worked in JBoss 3.2.x but not working on JBoss 4.0.3
Hi again, I've found the problem: the TOMCAT-JBoss is trying to compile the .java with Java compatibility prior to 1.5 and I'm using 1.5 features... So, my next question is: how can I specify what compiler or what compiler options specify to the jasper compiler? I only have the jdk1.5 installed in this machine with the JAVA_HOME pointing perfectly and the JBoss loads the right tools.jar at boot time. Thanks, Iván View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914578#3914578 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914578 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Very very Newbie question about datamodel
ok, this is the thing gavin.King, SORRY i wrote jsp because I was very used to it, but im using facelets now, should have wrote xhtml page instead. Indeed, today Im trying the new version of seams and the error log is : 12:42:21,984 WARN [VariableResolverImpl] Variable 'caroGroups' could not be resolved. 12:42:22,265 WARN [VariableResolverImpl] Variable 'groups' could not be resolved. thank u both for your answers!! I already tried the h:outputText tag, but I did not have the expected results yet, im trying other things out, if i find my error I will post it back :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914579#3914579 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914579 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - JBPM GUI
Hi I am an ardent fan of JBPM. My problem is I have limited programming experience and do not have the ability to build my own UI. Where can I get one, besides the webconsole e.g. that is currently not fully featured? Regards View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914580#3914580 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914580 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Optimistic locking
To improve concurrency and to avoid deadlock I want to use Optimistic Locking using object version field. My system currently uses cache option A. Is it true that in order to use Optimistic Locking I need to use cache option B or C but NOT A? Do I have to use Instance Per Transaction container configuration with locking-policty of JDBCOptimisticLock ? Thanks in advance, Erez View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914581#3914581 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914581 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - jbpm in a cluster
Can anyone please confirm the following statement ? JBPM workflow process descriptions and runtime status are persisted to a database but in a cluster they are not automatically failed-over, which makes sense once you realize that some processing steps may not be idempotent. Therefore, while the process description is persistent, workflow failover must be performed manually. Thank you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914582#3914582 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914582 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Cant call em.persist() more than once in a transaction. Plea
Hi all, I have created a simple entity bean as follows: @Entity @Table(name = ComplaintDetail) public class ComplaintDetail implements Serializable { } Then I create a session bean as follows: @Stateless public class AdminCompBean implements AdminComp { public void addComplaintDetail (String complaintid, String rollid, String productionid, String machineid, String starttime, String endtime) { ComplaintDetail cd = new ComplaintDetail(complaintid, rollid, productionid, machineid, starttime, endtime); em.persist (cd); } } Now, I am using a 3rd session bean, inside which I am calling addComplaintDetail() methon of my 2nd session bean in a loop. Its code is: @Stateless public class ComplaintSBBean implements ComplaintSB { public boolean submitComplaint(String CustomerID, String OrderID, String ProductID, String rollID, String complaintType, String complaintSeverity, String description, String complaintDate) { try { InitialContext ctx = new InitialContext(); AdminComp admincomp = (AdminComp) ctx.lookup(AdminComp.class.getName()); //...Some code for (Iterator iter4 = rolls.iterator(); iter4.hasNext();) { V_ROLLE roll = (V_ROLLE) iter4.next(); admincomp.addComplaintDetail (Integer.toString(complaintID), rollID, roll.getOrderId(), machineID, roll.getStartTime().toString(), roll.getEndTime().toString()); } } } } The problem is that first time in the loop function works fine but when in the loop it is called second time, i am getting following exception: Please tell me what is wrong. 17:46:55,500 INFO [STDOUT] javax.ejb.EJBTransactionRolledbackException: null; CausedByException is: a different object with the same identifier value was already associated with the session: [mes.entity.ComplaintTables.ComplaintDetail#0] 17:46:55,500 INFO [STDOUT] at org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:65) 17:46:55,500 INFO [STDOUT] at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:117) 17:46:55,500 INFO [STDOUT] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:138) 17:46:55,500 INFO [STDOUT] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) 17:46:55,500 INFO [STDOUT] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:61) 17:46:55,500 INFO [STDOUT] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) 17:46:55,500 INFO [STDOUT] at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:39) 17:46:55,500 INFO [STDOUT] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) 17:46:55,500 INFO [STDOUT] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:63) 17:46:55,500 INFO [STDOUT] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) 17:46:55,500 INFO [STDOUT] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:32) 17:46:55,500 INFO [STDOUT] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) 17:46:55,500 INFO [STDOUT] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:91) 17:46:55,500 INFO [STDOUT] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) 17:46:55,500 INFO [STDOUT] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:148) 17:46:55,500 INFO [STDOUT] at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:60) 17:46:55,500 INFO [STDOUT] at $Proxy115.addComplaintDetail(Unknown Source) 17:46:55,500 INFO [STDOUT] at mes.session.MESComplaintSB.ComplaintSBBean.submitComplaint(ComplaintSBBean.java:169) 17:46:55,500 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 17:46:55,500 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 17:46:55,500 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 17:46:55,500 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585) 17:46:55,500 INFO [STDOUT] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:109) 17:46:55,500 INFO [STDOUT] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:32) 17:46:55,500 INFO [STDOUT] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) 17:46:55,500 INFO [STDOUT] at
[JBoss-user] [EJB/JBoss] - Re: Stub error..
It helped. Thanks a lot. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914585#3914585 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914585 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Timeline for PFD complience ?
jira.jboss.com ejb3 project post any specific problems there and we'll schedule them. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914586#3914586 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914586 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Simple stateless session bean example- does one exist?
download the EJB3 standalone distribution. it has all the code and build files View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914587#3914587 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914587 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss AOP] - merging execution and call pointcuts
Consider that you have a base class like this, public class MockListner { public void onMsg(Object msg) { } } Then you create execution pointcut of onMsg method. So far, so good. But if you derive a class from MockListner and define a call pointcut of the constructor you get an Exception. public static class MockComponent extends MockListner { } The problem is in getTempClassAdvisorIfNotExist method. Could anybody help me? Caused by: java.lang.RuntimeException: for class: test.com.net2s.fs.midas.common.cache.ACacheFactoryDepTest$MockComponent at org.jboss.aop.AspectManager.getTempClassAdvisorIfNotExist(AspectManager.java:984) at org.jboss.aop.pointcut.ConstructorCallMatcher.visit(ConstructorCallMatcher.java:54) ... 21 more Caused by: java.lang.NoSuchFieldException: aop$classAdvisor$aop at java.lang.Class.getDeclaredField(Class.java:1854) at org.jboss.aop.AspectManager.getTempClassAdvisorIfNotExist(AspectManager.java:978) ... 22 more View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914588#3914588 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914588 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Using xml files at the deployment folder
Hello all, It's possible to use the deployment directory to put there xml files that points to applications allocated on external folders? As example, this xml can be used at Tomcat ?xml version='1.0' encoding='utf-8'? Context displayName=Tomcat Administration Application docBase=/opt/tomcat/server/webapps/admin you can put it at $CATALINA_HOME/conf/Catalina/localhost folder and automatically the application is deployed Is there anyway to do it at JBoss? Thank you very much in advance View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914589#3914589 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914589 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Getting errors when starting up jboss 4.0.3SP1 in jboss-
It seems like it needs to download a .xsd from the www and if there is no internet connection I will recieve this error. It should be possible to run jBoss without a internet connection! I would be very greatful if somebody could help me. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914590#3914590 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914590 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Re: problem in creating j2ee project with jbossIDE
I had a similar problem using Eclipse 3.1 and JBossIDE 1.4. The FAQ says that Eclipse 3.1 requires JBossIDE 1.5. I switched and was able to get started. I also ran into other problems later with XDoclet, I'm still working on those. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914592#3914592 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914592 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Does CMP2.x jdbc2 pm supports optimistic version fields?
Does the Configuration CMP 2.x jdbc2 pm in 3.2.6 supports the optimistic locking version fields? Does it update them correctly? Thanks, Erez View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914593#3914593 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914593 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: how to design multiple sub-processes
Hmm...perhaps you can simply not use sub processes at all. Rather that think of the 'candidate' process as a sub process, just consider it as a stand-alone process. Start as many as necessary like you are now, with an ActionHandler, and set a process variable to link it back to your 'parent' process--perhaps a variable called parentProcessInstanceId. You would have to write a Hibernate query to return all 'candidate' processes with a given parentProcessInstanceId process variable, and then you could iterate through them, canceling (and ending) each one as appropriate. The nice thing about jBPM is that its so open that there always seems to be a way to solve a problem. :) -Britt View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914591#3914591 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914591 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - CMP2.x jdbc2 pm configuration and version fields
I would like to use the new Cmp2.x jdbc2 pm. I set the entity to use optimistic locking with version fields. The application starts up and throws complains that the entity is missing the version field. This did not happen in other container configuration like the Standard CMP2.x Entity. Is this a bug in the new Cmp2.x jdbc2 pm or should I declare those fields like any other CMP field in my entity? Thanks, Erez View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914594#3914594 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914594 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Multiple Session Bean Instances
Is someone working on this issue? http://jira.jboss.com/jira/browse/EJBTHREE-352 The issue status seems to be 'Open'. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914595#3914595 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914595 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - sending a mail from a bean
I'm developing an application using EJB 3.0 on JBoss 4.0.3. I would like some hints on how to send e-mails from inside a bean, configure and use the jboss mail API implementation. thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914596#3914596 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914596 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Remoting] - Example service.xml with 1.4.0 beta
Hello, Recently downloaded 1.4.0 beta, and I'm having a lot of fun with remoting. I noticed a typo in the example-service.xml file that is packaged with the beta release. The package name for the CallbackStore class is incorrect. The example-service.xml points to org.jboss.remoting.CallbackStore It should point to org.jboss.remoting.callback.CallbackStore Thanks a bunch. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914597#3914597 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914597 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - limiting session creation on a per application basis
is it possible to say, deploy war(a) and war(b) to the same jboss instance, but limit session creation to only war(a) and have no sessions created on war(b) ? thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914598#3914598 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914598 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Bus error occurring on during ejbRemove() on JBoss 3.2.7 on
At the very end of my ejbRemove() method before the method returns to the caller (bean.remove() ), I'm getting a bus error that kills the JVM process. Is this a known problem with jboss 3.2.7 on Mac OS X? I've never seen anything like this on a Windows or Linux machine, but this very reproducible. I'm assuming this either has to be a problem with JBoss or the underlying Apple JVM (1.4.2_09). This problem is very reproducible when removing this particular entity. I have run it through Eclipse IDE and was able to locate the point of failure described above. Thoughts, suggestions, words of encouragement? Bradley View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914599#3914599 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914599 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: When will JBoss 4.0.4 be released
What feature is it? If you need a temporary patch to get Jboss working on linux AMD64 without crashing on startup due to problems with opening zip files in the RepositoryClassLoader see: http://www.jboss.com/index.html?module=bbop=viewtopict=74634 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914602#3914602 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914602 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: possible bug in portal 2.2
mpurdy1973 wrote : how would you marshall it into a render parameter? | Either decompose it into constituent properties then convert those to strings, or use something like CastorXML to convert to/from XML. The first would really only be workable for a pretty simple, flat bean. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914603#3914603 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914603 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Hacked solution for OutOfMemoryError on opening zip file on
I am writing this partly to help those who experience the problem at least have a way out and also to ask if there is another better way to solve this problem I am using release 4.03 SP1 and a 64 bit linux jvm with 4 GB memory and heap set at 2MB max. Sometimes on startup the jboss crashes with an OutOfMemoryError while trying to open a zip file. This can happen on a clean install and no apps loaded. When it happens the only solution is to restart the machine and hope. The first load normally works. In Jira the Jboss team says this is a jvm bug, It was supposed to be fixed in 403Sp1 but it seems that it isn't. The Jboss team seem to think that this is a jvm problem and not really their problem. Accoring to them Java should not run out of system memory opening an invalid jar or xml file. This problem really is a result of the jvm using memory mapped files for opening zip files, and this looks unlikely to change (its been discussed since jdk V1.3 on the bug tracking system). Unfortunately this make JBOSS unusable on a 64bit machine or where you need more then about 1.5 mB of memory. problem has been around since jdk1.3 and it looks like it won't change. I spent a very fustrating few weeks trying to find a solution for the problem and couldn't. I tried rejaring all the files in the lib directory, making sure I had enough heap space and system memory etc. Nothing worked Eventually I patched the RepositoryClassLoader.java file to ignore the EOutOfMemoryError. This works, the server loads now and does not crash. The services seem to be unaffected. Everything on our machines still run as per normal. My currently hacked solution is to download the source, patch the RepositoryClassLoader.java file with the patched method below and rebuild the jboss-jmx.jar and place the new jboss-jmx.jar file in the jboss/lib directory. If you would rather have the already patched jboss-jmx.jar please mail me on duosp.co.za (at) andrew. /---snip / | /** |* Provides the same functionality as [EMAIL PROTECTED] java.net.URLClassLoader#getResource}. |*/ |public URL getResourceLocally(String name) |{ | URL resURL = (URL) resourceCache.get(name); | if (resURL != null) | return resURL; | if (isResourceBlackListed(name)) | return null; | try { | if( log.isTraceEnabled()){ | log.trace(getResourceLocally(+this+), name=+name+, resURL:+resURL); | } | resURL = super.getResource(name); | } catch( OutOfMemoryError e){ | resURL = null; | log.error(OutOfMemoryError (sporadic error on AMD64 when opening zip files) for getResourceLocally(+this+), name=+name+, resURL:+resURL); | } | if (resURL == null) | addToResourceBlackList(name); | else | resourceCache.put(name, resURL); | return resURL; |} | /-snip -/ | I still feel slightly uneasy about this hack, suffficiently so that i did not put it in the Jira. Unfortunately no one else seems to have any solution and I can't believe I am the only one who is getting this. It was happening on a virgin JBOSS install on some of our machines in the cluster. I hope this helps someone else with the same problem Any comments on how to solve the problem properly would be welcome. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914600#3914600 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914600 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: JDBC persistance with pojo cache and performance issue
I just created Jira issue. I have created a test case with dummy business objects and associated class/interfaces that showcases the slowness of this scenario. There is a build.xml that does the whole thing after configuring the jdbc parameters in the service xml file. I'd appreciate any feedback later on when you have a chance to look at it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914604#3914604 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914604 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Very very Newbie question about datamodel
Marobashi * Into my groups this is what I have in running Time: (setting a breakpoint on the following return statement and inspecting what groups contents after the session.createCriteria) groups = ArrayList - elementData=Object[10] - CAROTypeGroup + code=NAME001 + subTypes=PersistenceSet(id 602) + description=description 1 + id=id001 - CAROTypeGroup + code=NAME002 + subTypes=PersistenceSet(id 603) + description=description 2 + id=id002 ... etc So As u can see... I have a list of caroTypegroup, and those objects have atributtes like code, description, etc... What I think is may be that somehow the variables are no longer in Scope so that's why them cannot be resolved... but why? I already changed the Begin of the conversation to the Method findCaroGroups() where I set the value to groups ... but anyway... not good results yet View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914605#3914605 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914605 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Hacked solution for OutOfMemoryError on opening zip file
Make that a heap size of 2 GB not 2 MB View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914601#3914601 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914601 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Running noejb tests w/o JBoss?
Yes, I know, I was just trying the toplevel tests as a sanity check (to avoid any issues of the multiple build.xml files). examples / noejb / ant testexample works great now :-) I must say it's a pleasure being back on a forum that's got a timely Gavin on it! I was on the Hibernate forums in early 2004 and got a bunch of great responses from you. But then the newbies arrived in force. Here's hoping SEAM doesn't get that popular in the next two months :-) Cheers! Rob View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914606#3914606 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914606 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Token splitting?
Hey all, Not even sure if the subject is the right idea, but the business use-cases are as follows: *A multipage fax comes in as an individual fax token. A user looks at the fax and may want to split it into several new faxes before continuing the rest of the process. Each of the new faxes should become their own tokens to follow the process (and, if possible, relate to the orginal token). *An order comes in with 2 items. It so happens that the order 'token' has these two items that need to be processed differently (one item was a piece of software, another might be the AMP/Maintanence agreement on that software). The individual items need to follow their own processes independently of each other but need to be aware of their parent order token to later be joined together to complete the order. Is this something jBPM/jPDL can handle? thanks, -D View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914607#3914607 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914607 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Very very Newbie question about datamodel
And finally my problem solution is: The @Factory anotation is needed, this is not found in the old doc, i guess.. @Begin | @Factory(groups) | public String findCaroGroups() { | groups = session.createCriteria(caroTypeGroup.class).list(); | return success; | } thanks ivan :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914610#3914610 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914610 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - ejb deployment problem
Hi, I am trying to deploy a simple hello bean ejb on jboss 4.0.3 sp1. I am getting following exception 17:26:30,281 ERROR [MainDeployer] Could not create deployment: file:/C:/software s/jboss-4.0.3SP1/server/default/deploy/hellobean.jar org.jboss.deployment.DeploymentException: ejb-jar.xml must either obey the right xml schema or define a valid DOCTYPE! - The ejb-jar.xml is given below ?xml version=1.0 encoding=UTF-8? !DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN http://java.sun.com/dtd/ejb-jar_2_0.dtd; ejb-jar enterprise-beans ejb-nameHelloBean/ejb-name HelloHome Hello ejb-classHelloBean/ejb-class session-type Stateless/session-type transaction-typeBean/transaction-type /enterprise-beans /ejb-jar === Please suggest how can the error be removed. Any help will be highly appreciated. Thanks a lot View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914612#3914612 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914612 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: TreeCache error when node leaves network
I am posting the solution that I have put in for the problem posted here. I changed the cluster config to use instead of FD_SOCK and am no longer experiencing the timeout issue. The cluster documentation mentions that when FD_SOCK is used, a member is declared dead only when socket is closed. This was the reason why when a node was unplugged from the network without graceful shutdown, we were experiencing problems on the other nodes. By using , heart beat messages will be used for failure detection and hence node exits can be detected even without graceful shutdown. My config entry now uses : FD shun=true up_thread=true down_thread=true/ Bela, I am still interested in finding out what I am missing in terms of the clusters not being separate. Really appretiate any pointers you may have on that regard. Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914614#3914614 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914614 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Very very Newbie question about datamodel
Shinerella, what are you seeing as output? 1) Table headings and empty boxes where the data should be. 2) Table headings but no rows 3) No table at all If 3, do you have any other output on the page, and are you seeing that? (Like a h1Here are your CAROGroups:/h1 before the dataTable snippet you sent...) Also, the example HotelBookingAction doesn't use @DataModelSelection... just @DataModel and @DataModelSelectionIndex. I attempted to duplicate what you're doing in a working application that I have, by adding a @DataModelSelection tag and associated object. My table showed up ok, but when I attempted to click any of my subsequent conversation methods (or even cancel, to end the conversation) I received an error. This very well could be due to my own stupidity somewhere in my code, but when I removed @DataModelSelection and the defined object, my application started working again. Again, this doesn't seem to explain why your data isn't showing up... but I'd be curious to see what happens if you remove that DataModelSelection tag. You'd have to change your setCaroGroup to: |public String setCaroGroup() { |group = groups.get(groupsIndex); |return success; |} | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914615#3914615 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914615 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Deploy Problem Webservice
I'm trying to use a very simple EJB Bean as Webservice. When deploying the Bean everything goes ok, but after adding support for a WebService i get following Error. | 20:00:53,118 INFO [EjbModule] Deploying UserManager | 20:00:53,619 INFO [EJBDeployer] Deployed: file:/home/andre/KP/jboss-4.0.3SP1/server/default/deploy/Server.jar | 20:00:53,983 ERROR [ServiceDeployer] Cannot startup webservice for: Server.jar | java.lang.ClassCastException: org.jboss.metadata.ApplicationMetaData | at org.jboss.webservice.ServiceDeployer$ServiceLocationResolver.getServiceLocation(ServiceDeployer.java:558) | at org.jboss.webservice.metadata.WebserviceDescriptionMetaData.replaceAddressLocations(WebserviceDescriptionMetaData.java:304) | at org.jboss.webservice.metadata.WebserviceDescriptionMetaData.updateServiceAddress(WebserviceDescriptionMetaData.java:253) | at org.jboss.webservice.ServiceDeployer.startWebservice(ServiceDeployer.java:207) | at org.jboss.webservice.ServiceDeployer.handleNotification(ServiceDeployer.java:110) | at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:138) | at $Proxy31.handleNotification(Unknown Source) | at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:112) | at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:95) | at org.jboss.deployment.SubDeployerSupport.emitNotification(SubDeployerSupport.java:325) | at org.jboss.deployment.SubDeployerSupport.start(SubDeployerSupport.java:293) | at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:642) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) | at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy29.start(Unknown Source) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753) | at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy6.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192) | at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:265) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274) | at
[JBoss-user] [Installation, Configuration Deployment] - Re: Problem with ejb deployment!
hi, is there any body out there who knows what is wrong? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914608#3914608 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914608 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Problem with ejb deployment!
newbeeuser wrote : hi, is there any body out there who knows what is wrong? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914609#3914609 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914609 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Building a standalone JBoss Messaging server
The error messages show you're trying to install and deploy JBossMQ, which soon will be deprecated and replaced by JBoss Messaging. JBossMQ: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMQ JBoss Messaging: http://www.jboss.com/products/messaging View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914617#3914617 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914617 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: ActiveMQ + EJB3 MDB Integration failure
Thanks for the response. Does this configuration work on the EJB3 RC3 release or do I build from the source? Thanks again View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914621#3914621 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914621 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Could not find deserializer for type
ameisinger wrote : Hi to everyone! | | I made some attempts with complex types. Now they're working after inserting the corresponding typeMapping. | | I tried a new method: String setStrings(String[]) and there is the same error like before: | | No deserializer defined for array type {http://www.w3.org/2003/05/soap-encoding}string. | | My ws4ee-deployment.xml looks like | | | deployment | | xmlns='http://xml.apache.org/axis/wsdd/' | | xmlns:java='http://xml.apache.org/axis/wsdd/providers/java' | | xmlns:soap='http://schemas.xmlsoap.org/soap/encoding/' | | xmlns:xsi='http://www.w3.org/2000/10/XMLSchema-instance' | | xmlns:xsd='http://www.w3.org/2001/XMLSchema' | | | | ... | | | | typeMapping | | qname=ns1:ArrayOf_soapenc_string | | xmlns:ns1='http://Hello' | | type=java:java.lang.String[] | | serializer=org.jboss.axis.encoding.ser.ArraySerializerFactory | | deserializer=org.jboss.axis.encoding.ser.ArrayDeserializerFactory | | encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; | | / | | ... | | | | My wsdl file: | | | complexType name=ArrayOf_soapenc_string | | complexContent | | restriction base=soapenc:Array | | attribute ref=soapenc:arrayType wsdl:arrayType=soapenc:string[] xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; / | | /restriction | | /complexContent | | /complexType | | | | The method String[] getStrings() works without the typeMapping. | | | Is there any solution available for this problem? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914622#3914622 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914622 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: TreeCache error when node leaves network
In the /server/all/deploy directory there is a cluster-service.xml file with a section that configures the JGroups protocol stack. It has a UDP element with attributes mcast_addr and mcast_port (multicast address and port). If different machines on the network have the same mcast_addr and mcast_port, your JGroups channel will see messages from the other machines. JGroups will see that the packets are intended for a cluster with a different name and will discard them, but it will complain about it. It's best to use a different mcast_addr and mcast_port for machines that are not meant to be part of the same cluster. When I was working in a team environment we generally gave each developer their own port number to use. This can be a bit of a pain if you have to edit the cluster-service.xml file to give each developer their own port. I've used system property substitution to manage this in 4.0.1SP1 and later; haven't tried it in 4.0.1. Looks like this: UDP mcast_addr=${jboss.partition.udpGroup:228.1.2.3} mcast_port=${jboss.partition.udpPort:45566} ... Then in your command line you use -D to set the jboss.partition.udpGroup and udpPort. Beginning in 4.0.3 you can use a -u command line switch to set the udpGroup. We then set an environment variable for the port on each machine and passed the values of the environment variables through the command line. Beginning with 4.0.1SP1 there is also a tc5-cluster-service.xml file that creates a JGroups channel used for http session replication; a similar procedure needs to be used for it as well. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914625#3914625 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914625 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Newbie: Verification of Enterprise Beans failed
No idea? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914626#3914626 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914626 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Spring mvc portlet examples not working in JBoss portal 2.2
I hope someone here can help, I've also posted to the Spring forums looking for help as well... I've been having problems getting the spring-portlet-sample, books example to work in JBoss portal 2.2. I've tried with the older set of samples and with the new (as of today) set of samples that are refactored to work with Spring 2.0m1. My environment: JBoss AS 4.0.3SP1 with JBoss Portal 2.2 Sun Java 1.5.0_05 Spring 2.0m1 Spring-portlet-sample (current version just downloaded today). This is what I'm experiencing: I can view all the pages in the books sample with out any problems. The issue occurs with I submit any of the forms (edit book details, add new book) in this example, or click on any of the ?update? icons (from book inventory, Increase count, descrease count, or delete book). When I submit any of these actions I get the following exception: | 15:10:50,149 ERROR [InvokeWindowActionCommand] An portlet exception occured in portlet /spring-portlet-sample.books | java.lang.NullPointerException | at org.jboss.portal.portlet.impl.ActionRequestImpl.getPortletMode(ActionRequestImpl.java:45) | at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:448) | at org.springframework.web.portlet.FrameworkPortlet.processAction(FrameworkPortlet.java:399) | at org.jboss.portal.portlet.PortletContainer.invokeAction(PortletContainer.java:470) | at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.java:411) | at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInvocation.java:66) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:127) | at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionInterceptor.java:59) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117) | at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.java:37) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117) | at org.jboss.portal.server.aspects.component.NavigationInterceptor.invoke(NavigationInterceptor.java:63) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117) | at org.jboss.portal.server.aspects.component.CacheInterceptor.invoke(CacheInterceptor.java:154) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117) | at org.jboss.portal.server.aspects.component.ModesInterceptor.invoke(ModesInterceptor.java:38) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117) | at org.jboss.portal.server.aspects.component.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:32) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117) | at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:36) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117) | at org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterceptor.invoke(SessionPostDispatchInterceptor.java:71) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117) | at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:116) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:88) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at
[JBoss-user] [Security JAAS/JBoss] - Custom authentication or JAAS?
hi I'm working on implementing authentication mechanisms for a web application. The web tier components will be accessing business objects implemented as EJBs (mainly session beans). The business objects will also be accessed by remote systems through RMI as well as using web service protocols. I've been trying to figure out whether JAAS would be the right framework for implementing the authentication mechanism requirements that have been identified. I'm a bit new to JAAS, so I'd appreciate feedback on whether JAAS is the right choice in this case as well as some pointers on how the requirements can best be implemented. Here're some of the requirements that gathered so far: - I need to be able to support different authentication mechanisms for the protected resources simultaneusly. I need to support at least the following mechanisms: HTTP basic authentication, form based (username password + session cookie) and MS NTLM. Can JAAS support different authentication mechanisms simultaneously for different users? - User authentication information can be stored in different places: MS Activedirectory or Apache htpasswd files. - user's can have different group memberships in different workspaces in the application. Users are not re-authenticated when they navigate from one workspace to another. How do I set group memberships dynamically with JAAS for the user, so that group memberships are automatically updated when switching between workspaces? - how portable are JAAS login modules? Can I run a database login module on different application servers? - access control is data object based (vs. web resource based), for each data object there's a list of groups and operations that each group can perform on the object. There can be millions of data objects so access should be authorized in a database query (performance will hurt if e.g. 5 million objects are loaded from the database and isUserInRole() is called for each). How do I get a list of roles which the user currently has so that I can include that list in the database query for authorization purposes? br. aspa View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914628#3914628 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914628 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Very very Newbie question about datamodel
Why is the factory annotation required on the DataModel here but not when filling the hotels DataModel in the booking example? Is it because of a difference in the application deployment context, how the find() method is initially invoked, or something else? ... batting 1000 today... if these problems were pinatas, I'd be going home with no candy. Any feedback would be welcome. Thanks, Eric View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914632#3914632 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914632 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: TreeCache error when node leaves network
Brian, Thanks a lot ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914629#3914629 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914629 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: ClassNotFoundException when using resin, jboss and EJB3
Thank you. It is my problem. One of the classes I has is an olderversion. Thanks again, Aditya.P View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914634#3914634 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914634 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss/Spring Integration] - Injection on server startup
Hi, I am using ejb3. I need to inject references of delegate classes into the ejb so that it can call methods in the delegate. I need this to happen when jboss server start's up. Is there any way I can do? I have all my bean definitions in a xml file named beans-ejb.xml. I do not use tomcat as the webserver. Jboss is independent and acts as only a applicatiopn server. A beans.ejb3 file with the ejb's, delegates, dao and hibernate mapping files. Thanks, Aditya.P View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914635#3914635 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914635 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: how to add tasks
see the example in the sourcecode, or the testcases. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914636#3914636 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914636 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Token splitting?
If case one is like http://is.tm.tue.nl/research/patterns/download/swf/pat_14.swf, it is possible. Look at the testcase to see an example of pattern 14 case 2 is possible but would take some work of yourself. e.g. some businessrules (drools ;-0)) to define the decsisions and a custom fork View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914637#3914637 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914637 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Correlation
Pedro, The async functionality has something, but I'm not sure if that is what you need. Since the way a mapping/correlation needs to be done, it is best to do this outside jBPM or use a variable to store the relevant info and retrieve process instances based on this variable and its value (see the web ui in cvs for an example of this) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914638#3914638 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914638 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Missing TaskInstance.setDescription
Tony, afaik, there is something in the JIRA on this. Please look it up and vote for it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914639#3914639 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914639 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Uploading files
Hi, I am using commons upload library to upload files. I would like to be able to upload files to a directory in myapplication.war. When I try to set the destination directory below deploy directory, a NullpointerException is being thrown. If the destination directory is deploy it self then theres no error. Could any one please tell me how I can avoid this problem? Thanks HeMan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914641#3914641 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914641 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Portal URLs
I am new to JBoss Portal, but am very fluent with Weblogic Portal and JSR-168. I am using JBoss Portal 2.2 and JBoss 4.0.3 (the jboss portal 2.2 bundle), along with MySQL 5. I deploy demoportal.ear (which I created through descriptors), which contains the HelloWorldPortlet, along with 5 pages (all empty except the Home page). When I use the URL: http://localhost:8080/portal I do get the default portal, with tabs, windows, etc. Following the pattern in the examples and the default I try to access http://localhost:8080/portal/portal/demoportal however, I do not see any tabs instead I see the default portal default page. If I use http://localhost:8080/portal/portal/demoportal/Home it does access the page, but no tabs show up. Are my URLs off for accessing a deployed portal? I see no errors in the server console, I just cannot access my portal. Help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914642#3914642 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914642 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Stronger complier capabilities
I need to be able to generate byte code from java source generated in memory. The problem I have using Javassist is that the compiler is not strong enough to flag compilation errors with line numbers and well-defined reasons. I don't want to use javac or Eclipse JDT because they require files to be written to disk - all my code is in memory and can't be written to disk. I realize Javassist is probably not the right tool for what I want to do. Anyone on this forum suggest any alternatives? Thanks Vijay View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914643#3914643 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914643 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: Failed to Deploy Duke's Bank org.jboss.deployment.Deploy
This version works fine for me. J2EE 1.4 Tutorial Update 2 (for Sun Java System Application Server Platform Edition 8 Update 1) June 22, 2004 DO NOT USE the following LATEST J2EE Tutorial update J2EE 1.4 Tutorial Update 6 (for Sun Java System Application Server Platform Edition 8.1 2005Q2 UR2) September 15, 2005 I think its a good idea to include a link to this tutorial (Update 2) from the JBoss Tutorial page. Folks are spending a lot of time in trying to figure out whats going on. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914644#3914644 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914644 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user