[jboss-user] [JBoss Seam] - Re: examples didn't work
I am totally new to Jboss so I am not sure which one is the stacktrace, the one called server.log or boot.log ? under the log directory within jboss AS right? and how much should I paste? (dumb question) Regards, Andy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063320#4063320 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063320 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Passing some jars to an specific deployed application from o
Hi, How it will be possible in JBOSS to supply a Jar file to a specific application deployed in JBOSS lets say test.war. And I should be able to change the supplied jar on my wish. I don't want to package and redeploy application again and again. Regards Thanks in advance, Ashish View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063321#4063321 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063321 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam 2.0 Beta + JBossas 4.2.1.GA + JBossWS-2.0.0.GA + WebSta
This is just a quick note to say that I'm successfully runing Seam 2.0 Beta with the JBoss 4.2.1.GA from SVN and JBossWS-2.0.0.GA also from SVN. I was having real problems running web services on client side java applications and Java Web Start applications connecting to my Seam Web Application. (we have multiple views into the data) I mainly followed the instructions found here: http://jbws.dyndns.org/mediawiki/index.php?title=Building_From_Source On July 7, I downloaded the Branch_4_2 of the JBoss Application server and built it with JDK 1.5_12 (it fails to build on JDK 1.6). I then checked out the JBossWS 2.0 and built it with jdk1.6u2. When building jbossws you cd into the build directory and set two properties in ant.properties. Mine are as follows: anonymous wrote : | jboss42.home=c:/apps/jboss/jboss-4.2.1.GA | jbossws.integration.target=jboss42 | Inside the build directory there is also a build.conf file where you can tell it to use JDK 6 anonymous wrote : | ## | ## Build configuration | ## | | # Uncomment when using JDK 6 | USE_JDK6=true | Then you use the build.bat file to build everything. Once its built you CD into the jbossws-core directory and type: anonymous wrote : | ant deploy-jboss42 | This deploys everything to the JBoss-4.2.1 directory and most importantly adds important jar files to the JBoss-4.2.1\lib\endorsed directory To get everything working on the client side you also need the endorsed jar files to be properly set using the system property -Djava.endorsed.dirs For me and my Java Web Start Applications I created a jar file called endorsed.jars (jar'd all files in jboss endorsed directory) and download and unzip this jar file during runtime into the java.home/lib/endorsed directory if they don't exist already. If the don't exists already I notify the user that I did some first time client side setup and then shutdown my application and automatically relaunch it using the java.lang.ProcessBuilder class. This is because the endorsed jar files must be there before your JRE starts up. If they do exist my app just continues normally and I can call all my web services on the backend. Not all code is shown but its goes something like this: | // Setup the Endorsed Directories | | String currentEndorsedDirs = System.getProperty(java.endorsed.dirs); | File endorsedJRELibDir = new File(currentEndorsedDirs); | boolean unzipEndorsedJars; | | if (!endorsedJRELibDir.exists()) | { | endorsedJRELibDir.mkdirs(); | unzipEndorsedJars = true; | } | else | { | // check to see if it has the proper jar files in it | unzipEndorsedJars = true; | File[] files = endorsedJRELibDir.listFiles(); | | if (files != null) | { | for (File file : files) | { | if (file.getName().equals(jboss-jaxws.jar)) | { | // ok we are fine | unzipEndorsedJars = false; | break; | } | } | } | | } | | if (unzipEndorsedJars) | { | URL endorsedJarURL = new URL(System.getProperty(ContextRoot) + desktop/lib/endorsed.jar); | JarInputStream jarIn = new JarInputStream(endorsedJarURL.openStream()); | | // unzip the file into jre's lib/endorsed directory - unzip closes the input stream. | ZipUtils.unzip(endorsedJRELibDir, jarIn); | } | | boolean addSubDirs = false; | ClassPathModifier.addFiles(endorsedJRELibDir, addSubDirs); | | if (unzipEndorsedJars) | { | JOptionPane.showMessageDialog(null, | We have detected that this is the first time you\n + | have run the Clooster Desktop application with the\n+ | current Java Runtime environment.\n\n + | As such, we have performed some initial client side\n+ | setup and the application needs to restart., | Clooster, Inc, | JOptionPane.PLAIN_MESSAGE); | | | ProcessBuilder pb = new ProcessBuilder(javaws, | System.getProperty(ContextRoot) + cloosterDesktop.jnlp); | pb.start(); | | System.exit(0); | } | This way even if the JRE is updated, my endorsed directories will be just fine. I'm just posting this because I was pulling my hair out trying to get the webservices running on
[jboss-user] [JBoss jBPM] - Re: Newbie question...
As I understand Token (as execution pointer) and TaskInstance (as newly created task in node when pointer has arrived) and found that they have relationship by the node name in which they are located at the moment. But why is the first one only? Any other suggestions? Any other relationships for addressing TaskInstance in conditions that I only know Token? And, Ronald, I knew that only your posts will be the first in my topic :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063324#4063324 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063324 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - A suggested SeamTest improvement
I spent some time debugging one of my tests, trying to figure out why the conversation wasn't being propagated. I had something (very roughly) like this: | | String cid = new FacesRequest(/page1.xhtml) { | @Override | protected void invokeApplication() throws Exception { | Manager.instance().beginConversation(); | FacesManager.instance().redirect(/page2.xhtml); | } | | }.run(); | | cid = new FacesRequest(/page2.xhtml, cid) { | @Override | protected void invokeApplication() { | assert Manager.instance().isLongRunningConversation(); | } | }.run(); | But the assertion fails, which I learned has to do with the fact that there was nothing rendered in the first request. So, I can fix it by doing this: | | String cid = new FacesRequest(/page1.xhtml) { | @Override | protected void invokeApplication() throws Exception { | Manager.instance().beginConversation(); | FacesManager.instance().redirect(/page2.xhtml); | } | | }.run(); | | cid = new NonFacesRequest(/page2.xhtml, cid) { | }.run(); | | cid = new FacesRequest(/page2.xhtml, cid) { | @Override | protected void invokeApplication() { | assert Manager.instance().isLongRunningConversation(); | } | }.run(); | But it annoys me to have that empty request in there. So, it'd be nice to have something like this: | String cid = new FacesRequestAndRedirect(/page1.xhtml, null, /page2.xhtml) { | @Override | protected void invokeApplication() throws Exception { | Manager.instance().beginConversation(); | FacesManager.instance().redirect(getRedirectedTo()); | } | | @Override | public void renderAfterRedirect() throws Exception { | assert Manager.instance().isLongRunningConversation(); | } | }.run(); | | cid = new FacesRequest(/page2.xhtml, cid) { | @Override | protected void invokeApplication() throws Exception { | assert Manager.instance().isLongRunningConversation(); | } | }.run(); | And it turns out that I could make it happen with this convolution: | | public class FacesRequestAndRedirect extends FacesRequest { | | private String redirectedTo; | | public FacesRequestAndRedirect() { | super(); | } | | public FacesRequestAndRedirect(String viewId, String conversationId) { | super(viewId, conversationId); | } | | public FacesRequestAndRedirect(String viewId) { | super(viewId); | } | | public FacesRequestAndRedirect(String viewId, String conversationId, String redirectedTo) { | super(viewId, conversationId); | setRedirectedTo(redirectedTo); | } | | @Override | public final void renderResponse() throws Exception { | | } | | public void renderAfterRedirect() throws Exception { | | } | | public String getRedirectedTo() { | return redirectedTo; | } | | public void setRedirectedTo(String redirectedTo) { | this.redirectedTo = redirectedTo; | } | | @Override | public String run() throws Exception { | String cid = super.run(); | | cid = new NonFacesRequest(getRedirectedTo(), cid) { | | @Override | protected void renderResponse() throws Exception { | renderAfterRedirect(); | } | }.run(); | return cid; | } | } | So, I haven't used it or
[jboss-user] [EJB 3.0] - Problem in deployment of ejb 3 in JBoss Server using Oracle
Hi All , I have packed a simple stateless bean along with an entity bean but there is an exception thrown during deployment as this : - [ServiceController] Problem starting service persistence.units:ear=sample123.ear,jar=persist.jar,unitName=testApp java.lang.ClassCastException: oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:245) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:103) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) - Please can anybody help me figure out as to why this exception is thrown up . My persistence.xml looks like this ?xml version=1.0 encoding=UTF-8? persistence xmlns=http://java.sun.com/xml/ns/persistence; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; version=1.0 xsi:schemaLocation=http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd; persistence-unit name=testApp oracle.toplink.essentials.PersistenceProvider jta-data-sourcejava:comp/env/jdbc/my-ejb-test/jta-data-source src.Employee !--Use the java2db feature -- !-- Generate the sql specific to database -- /persistence-unit View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063326#4063326 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063326 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Problem in deployment of ejb 3 in JBoss Server using Oracle
Hi All , I have packed a simple stateless bean along with an entity bean but there is an exception thrown during deployment as this : - [ServiceController] Problem starting service persistence.units:ear=sample123.ear,jar=persist.jar,unitName=testApp java.lang.ClassCastException: oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:245) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:103) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) - Please can anybody help me figure out as to why this exception is thrown up . My persistence.xml looks like this ?xml version=1.0 encoding=UTF-8? persistence xmlns=http://java.sun.com/xml/ns/persistence; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; version=1.0 xsi:schemaLocation=http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd; persistence-unit name=testApp oracle.toplink.essentials.PersistenceProvider jta-data-sourcejava:comp/env/jdbc/my-ejb-test/jta-data-source src.Employee !--Use the java2db feature -- !-- Generate the sql specific to database -- /persistence-unit View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063327#4063327 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063327 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - cascade delete
Hi, Is there some some way to cascade delete all db data related to a process instance? It seems as if deleting a process instance does not clean up all token (maybe more data?) which is related to it... regards, -Kristoffer View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063328#4063328 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063328 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - JRE 1.6 on the client - my expeirences
Hi, Over the last week and a half I was pulling my hair out trying to get Java Web Start client side applications to correctly execute web service calls to the backend on JBoss 4.2.0.GA when the client side JRE was JRE 1.6.x. I posted a detailed explanation of how I got everything working on the JBoss Seam forum. Basically I just got lucky and downloaded the JBoss AS 4.2.1 branch code from SVN and the JBoss Web Services 2.0 code on July 7. For those interested here is the link to my detailed explanation: http://www.jboss.com/index.html?module=bbop=viewtopicp=4063323#4063323 As stated in my link, I hope this stops others from pulling their hair out as well. I'm 40 now and can't afford to lose anymore :) Hope this helps, PVM View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063329#4063329 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063329 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - StaleStateException from entity activation
Hi, I'm getting the following exception in a test of mine. The FacesRequest previous to it ended a nested conversation, and also updated the entity in question. I'm not sure if this is my problem or Seam's. Any ideas? Thanks! | org.hibernate.StaleStateException: current database version number does not match passivated version number | at org.jboss.seam.persistence.HibernatePersistenceProvider.checkVersion(HibernatePersistenceProvider.java:174) | at org.jboss.seam.persistence.HibernatePersistenceProvider.checkVersion(HibernatePersistenceProvider.java:134) | at org.jboss.seam.contexts.PassivatedEntity.checkVersion(PassivatedEntity.java:133) | at org.jboss.seam.contexts.PassivatedEntity.getEntityFromEntityManager(PassivatedEntity.java:118) | at org.jboss.seam.contexts.PassivatedEntity.toEntityReference(PassivatedEntity.java:73) | at org.jboss.seam.contexts.EntityBean.activate(EntityBean.java:67) | at org.jboss.seam.contexts.ServerConversationContext.unflush(ServerConversationContext.java:234) | at org.jboss.seam.contexts.FacesLifecycle.resumeConversation(FacesLifecycle.java:129) | at org.jboss.seam.jsf.SeamPhaseListener.afterRestoreView(SeamPhaseListener.java:373) | at org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:211) | at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:184) | at org.jboss.seam.mock.BaseSeamTest$Request.restoreViewPhase(BaseSeamTest.java:706) | at org.jboss.seam.mock.BaseSeamTest$Request.emulateJsfLifecycle(BaseSeamTest.java:544) | at org.jboss.seam.mock.BaseSeamTest$Request.run(BaseSeamTest.java:487) | at org.uscm.crs.registration.CustomQuestionsAdmin.recreateCustomQuestions(CustomQuestionsAdmin.java:200) | at org.uscm.crs.registration.CustomQuestionsAdmin.adminCreatingQuestions(CustomQuestionsAdmin.java:101) | 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.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:645) | at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:479) | ... | at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:122) | | cid = new FacesRequest(expectedEditPage, cid) { | | @Override | protected void updateModelValues() throws Exception { | assert Manager.instance().isNestedConversation(); | assert Manager.instance().isLongRunningConversation(); | Context conversationContext = Contexts.getConversationContext(); | assert conversationContext.get(conference) != null; | setValue(#{customQuestionsDisplayListItemHome.instance.text}, text); | } | | @Override | protected void invokeApplication() throws Exception { | invokeAction(#{customQuestionsDisplayListItemHome.persist}); //ends nested conversation via navigation rule | } | | }.run(); | | cid = new NonFacesRequest(conferencePage, cid) { | }.run(); //exception occurs here | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063331#4063331 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063331 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: processInstance.getRootToken() issue
Thanks ronald. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063332#4063332 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063332 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: deploy Hellobean to jboss using using xml files
Thanks for your answers. You helped me. The application works now! PeterJ wrote : What you posted is a report indicating that something has failed, but it does not provide enough information to determine the error. Earlier in the console output there should be a stack trace that identifies the error, please post that. | That was the only message, what i became! anonymous wrote : | Also, post the contents of your ejb-jar.xml and jboss.xml. It was because of my ejb-jar.xml. I had there some unneeded details. Henry View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=406#406 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=406 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Hibernate2 Problem
Think I figured out what the problem is: The class org.jboss.seam.persistence.HibernateSessionFactory has a unwrap method @Unwrap |public SessionFactory getSessionFactory() throws Exception |{ | return createSessionFactory(); |} and a create method @Create |public void startup() throws Exception |{ | sessionFactory = createSessionFactory(); |} and both call createSessionFactory. If I understand the wrap correctly the method will be called everytime the bean is referenced. This results in a new SessionFactory every time. I think the unwrap Method schould only return the sessionFactory. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063334#4063334 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063334 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: JNDI Connection Problem! jboss.bind.address always 127.0
Hi PeterJ Thanks again for the reply. I used the below to find the opened ports C:\WINDOWSnetstat -an |find /i listening. Im using the open source JBoss application server. Is it that i have to purchase Production JBoss Application server for accessing the application deployed in it from outside world(external network. the production scenario). Otherwise i dont see any other issue as to why it is not able to respond to request from external world. Help me :) Regards Ved View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063335#4063335 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063335 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: strange failover behaviour in clustered config
Sounds like potential problem because it would be difficult to monitor this things on production environment. Can you just have kind of heartbeat record in database about every node like Quartz does for example. In this case it's easy to detect dead nodes. Don't kill the messenger, just an idea. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063337#4063337 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063337 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: drag and drop problems with parameters
any suggestions or simply point me to some info would be appreciated. I could do with a simple example of accessing backing bean methods with parameters. thank you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063338#4063338 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063338 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Transactional + Transaction.setRollbackOnly error
Sure, http://jira.jboss.org/jira/browse/JBSEAM-1651 Thank you! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063339#4063339 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063339 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: start-state
Sigh... We can only do so much in a day... Anyway a contribution would be nice ;-) Regards, Koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063341#4063341 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063341 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: LinkageError
Is it happening consistently? What is your environment? Can you describe this a bit more specific please? Regards, Koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063343#4063343 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063343 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: drag and drop problems with parameters
In the file {jboss_server_dir}/deploy/jboss-web.deployer/META-INF/jboss-service.xml you must set: attribute name=UseJBossWebLoadertrue/attribute View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063345#4063345 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063345 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Question on reading in a simple paramter from a JSF page
Cheers for the replies im very new to all this so i may say things that dont make sence Thank you again... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063346#4063346 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063346 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: FileUploadException
Heiner, The fileupload exception is a known incompatibility between versions of the console and the gpd. If you use the plugin and the console from the same download, the problem will go away. As for your second question, the plugin drivers are listed in the meta-inf of the downloaded archive. Currently there is not yet a build available that works with Eclipse 3.3. Stay tuned though, it will happen soon. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063347#4063347 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063347 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Problems with Dashboard on 2.6 GA
Hi Chris, in the log files there aren't any errors or exceptions. I have also updated the hibernate.cfg.xml files, in jboss-4.2.0.GA\server\default\deploy\jboss-portal.sar\conf\hibernate subfolders, specifying org.hibernate.dialect.Oracle9Dialect but I still have the same problem. My environment is: - Windows XP SP2 - JDK 1.5.0_11-b03 - Oracle Database 10g Express Edition Release 10.2.0.1.0 - Oracle Database 10g Release 2 JDBC Driver (ojdbc14.jar) - JBoss AS 4.2.0 GA - JBoss Portal 2.6 GA Regards Angelo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063348#4063348 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063348 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2.0 Beta + JBossas 4.2.1.GA + JBossWS-2.0.0.GA + We
I should have noted the main reason for having to do this is when you are running Java applications on JRE 1.6.x on the client side that connect to JBoss Web Services running on JBoss 4.2.x. With JRE's that are 1.5.x there is no problem. Sun added new Jax Web Service stuff to JDK 1.6 that did not exist in 1.5. This caused problems with JBoss Web Services. Believe me, its a pain in the butt. Thanks, PVM View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063349#4063349 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063349 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: New Eclipse Project
Please use the plug-in that comes with the jbpm-jpdl-suite that you downloaded. I think the jbpm plugin is not included in the current builds of jboss tools. We're working on that though... Regards, Koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063353#4063353 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063353 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: drag and drop problems with parameters
ok ill give this a try.. is there some documentation explaining this because i never read anything about needing to set it. anyway ill report back if all goes well thank you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063354#4063354 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063354 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Problems with Dashboard on 2.6 GA
Chris fixed it last night: See: http://www.jboss.com/index.html?module=bbop=viewtopicp=4063319#4063319 and: http://jira.jboss.com/jira/browse/JBPORTAL-1574 It is in SVN, it would be awesome if you could build the portal from the SVN sources and confirm that it fixes your problem (Chris was able to reproduce what seemed to be your problem and fixed that) For instructions on SVN: http://wiki.jboss.org/wiki/Wiki.jsp?page=PortalSVNRepo Use http://anonsvn.jboss.com/repos/portal/trunk Thanks for the report ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063356#4063356 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063356 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How to switch from JTA to JTS in JBoss AS 4.2.0.GA?
I would like to switch it to JTS in order to get XA support for database activity and JMS message creation in one atomic transaction. You don't need JTS for that unless you are using more than one JBoss instance. If the database and JMS are communicated to from the same JBoss server then JTA is sufficient. No JTS is currently available for AS 4.2, as it's got a new ORB that we don't yet support. I hope to have the first JBossTS 4.4 beta out shortly to address this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063360#4063360 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063360 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EntityNotFoundException during Entity load
Yes you are right would be the cleanest way to do it..but fact is i cannot change the table ! there are 100 and more programs in RPB which are accessing this tables.. The definition of the table was done wrong 10 years ago and there are now a lto of programs which are working with exactly this table definition :( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063362#4063362 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063362 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How is done the authentication for the JBPM console ?
Hi, i see thanks for your time Regards, O.M. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063363#4063363 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063363 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem with multiple end-states
I use multiple end-states, and it works. As outlined in Node responsibilities in userguide, only the node action can decide on which transition to take. In event action, you cannot take this decision. node name=check-suspend-or-abort | action class=com.qq.DecideIfSuspendedOrAbortedAction / | transition to=continue / | transition to=error name=error/ | transition to=suspended name=suspended/ | transition to=aborted name=aborted/ | /node | | end-state name=aborted | /end-state | | end-state name=suspended | /end-state | | end-state name=error | /end-state | Here's the action: public void execute(ExecutionContext ctx) throws Exception { | Map params = ctx.getContextInstance().getVariables(); | | // check if aborted - invoke my function | if (isAbortedFlagForWorkflow()) { | // do something | ctx.getToken().signal(aborted); | } else | // check if suspended | if (isSuspendedFlagForWorkflow()) { | // do something | ctx.getToken().signal(suspended); | } else { | // everything is OK, we may start the workflow | // leave over default transition | ctx.getToken().signal(); | } | } | Hope it helps. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063364#4063364 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063364 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Reading threads are blocked
Will do. I'll post the results here when done. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063366#4063366 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063366 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - LDAPExtUserModuleImpl and userSearchFilter
Hi I setting up a portal with LDAPExtUserModuleImpl with Microsoft Active Directory. So far, everything is going along nicely. I am already able to authenticate against my AD, and I am now working on authorisation and integrating roles. I'll post my config files once everything is working. Now, the following small problem showed up: In ldap_identity-config.xml, I have | option | nameuserSearchFilter/name | value((sAMAccountName={0})(objectClass=User))/value | /option | This gives me the following error: | --- MBeans waiting for other MBeans --- | ObjectName: portal:service=Module,type=IdentityServiceController | State: FAILED | Reason: org.jboss.portal.identity.IdentityException: Cannot parse identity configuration file | If I change the filter to a mere | (sAMAccountName={0}) | everything works like a charm. Is this a bug, or am I doing something wrong with that filter? I am using Jboss 4.3.0 and JBoss_Portal_2_6_0 from svn. Thanks, Tobias View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063368#4063368 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063368 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: LDAPExtUserModuleImpl and userSearchFilter
Please try: value![CDATA[((sAMAccountName={0})(objectClass=User))]]/value I would be very interested to learn if you succeeded with MSAD. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063369#4063369 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063369 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Migration guide?
Now I've served jbpm-3.1.1 and have a wish to migrate to 3.2.1 as I see there are a lot of changes so update to new DB scheme is not difficult thing but save the data with its own jPDL and rearrange it in the new look for jbpm-3.2.1 is not clear after passing the documentation. Any auto magically converters? :) Advices are appreciated. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063370#4063370 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063370 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: problem to start a taskinstance
i gave you error in the first post View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063371#4063371 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063371 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: jbossws-2.0.0.GA released
The supported target containers are | jboss-5.0.0.Beta2 https://svn.jboss.org/repos/jbossas/tags/JBoss_5_0_0_Beta2_JBossWS_2_0_0_GA | jboss-4.2.0.GA https://svn.jboss.org/repos/jbossas/tags/JBoss_4_2_0_GA | jboss-4.0.5.GA https://svn.jboss.org/repos/jbossas/tags/JBoss_4_0_5_GA | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063374#4063374 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063374 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - JBossTools (xxx-nightly) requires feature
Hello, i installed JBossTools 2.0.0.200707100301-nightly, and now every time i wanna install another new feature the eclipse-update manager claims JBossTools (2.0.0.200707100301-nightly) requires feature org.eclipse.jem. I'm using eclipse 3.3 Europa RCP-Release, and in my plugin folder exists org.eclipse.jem_2.0.0.v200705302225.jar. Any help available ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063377#4063377 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063377 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem with multiple end-states
fewagewasd wrote : Is there any way to tell jbpm to wait in the state and execute the action when I call signal()? If the action on your node (the main node action, not the event action) does not call token.signal(), then the execution will not propagate. The instance will wait in the state until you call signal() again. When you call signal() again, you have to notify which transition to take, e.g. signal(error). If you'd rather have your code make the decision, introduce another node in the flow - after your wait-state node - and make the decision in its main action. This way, when you call signal(), you always take the only transition to a new node, and there its action will decide where to go. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063379#4063379 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063379 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: drag and drop persistance
hi, thx for the correction. unfortunately, i can't build the portal because i'm behind a proxy and the thirdparty stuffs are get with cvs. (btw, is it possible that you change it to a 100% svn ?) i see that you modified classes from 2 jars: portal-core-admin-lib.jar portal-core-lib.jar could you send me these 2 jars ? [EMAIL PROTECTED] ty regards. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063380#4063380 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063380 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: PojoCache with Compile Time Weaving on JBoss 4.2.0 ?
Sorry i did not describe correctly what i did. No original class is packaged in the final jar... The original class is: ClientSession.class (non instrumented) which becomes after aopc compilation: ClientSession.class (instrumented) ClientSession$sessionId_Get.class ClientSession$sessionId_Set.class Only instrumented and generated classes are packaged in the DemoService.jar. Here is the full jar content D:\ProjetJ\CounterServicejar tvf DemoService.jar META-INF/ META-INF/MANIFEST.MF cachemgnt/ cachemgnt/CacheEngine.class ejbservice/ ejbservice/DemoService.class ejbservice/DemoServiceMgnt.class interfaces/ interfaces/DemoServiceRemote.class pojo/ pojo/ClientSession$sessionId_Get.class pojo/ClientSession$sessionId_Set.class pojo/ClientSession.class Another exception is also raised when i stop the Jboss instance. It may help to understand what i did wrong Here it is: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: javassist.NotFoundException: pojo.ClientSession at org.jboss.aop.ClassAdvisor.rebuildInterceptors(ClassAdvisor.java:979) at org.jboss.aop.ClassAdvisor.removeAdviceBindings(ClassAdvisor.java:421 at org.jboss.aop.AspectManager.removeBindings(AspectManager.java:1355) at org.jboss.aop.AspectXmlLoader.bulkUndeploy(AspectXmlLoader.java:1103) at org.jboss.aop.AspectXmlLoader.undeployXML(AspectXmlLoader.java:1094) at org.jboss.aop.AspectXmlLoader.undeploy(AspectXmlLoader.java:1216) at org.jboss.aop.AspectXmlLoader.undeployXML(AspectXmlLoader.java:1251) at org.jboss.aop.deployment.AspectDeployer.stop(AspectDeployer.java:241) at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:667) at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:659) at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:638) at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:516) 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:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:1058) at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:1033) at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:996) Caused by: java.lang.RuntimeException: java.lang.RuntimeException: javassist.NotFoundException: pojo.ClientSession at org.jboss.aop.pointcut.MethodMatcher.visit(MethodMatcher.java:130) at org.jboss.aop.pointcut.ast.ASTAll.jjtAccept(ASTAll.java:41) at org.jboss.aop.pointcut.MatcherHelper.visit(MatcherHelper.java:88) at org.jboss.aop.pointcut.MatcherHelper.matches(MatcherHelper.java:83) at org.jboss.aop.pointcut.PointcutExpression.matchesExecution(PointcutExpression.java:124) at org.jboss.aop.Advisor.resolveMethodPointcut(Advisor.java:628) at org.jboss.aop.ClassAdvisor.createInterceptorChains(ClassAdvisor.java:607) at org.jboss.aop.ClassAdvisor.rebuildInterceptors(ClassAdvisor.java:974) ... 26 more Caused by: java.lang.RuntimeException: javassist.NotFoundException: pojo.ClientSession at org.jboss.aop.Advisor.hasAnnotation(Advisor.java:392) at org.jboss.aop.pointcut.MethodMatcher.visit(MethodMatcher.java:126) ... 33 more Caused by: javassist.NotFoundException: pojo.ClientSession at javassist.ClassPool.get(ClassPool.java:417) at org.jboss.aop.util.ReflectToJavassist.classToJavassist(ReflectToJavassist.java:49) at org.jboss.aop.util.ReflectToJavassist.methodToJavassist(ReflectToJavassist.java:116) at org.jboss.aop.annotation.PortableAnnotationElement.isAnyAnnotationPresent(PortableAnnotationElement.java:120) at org.jboss.aop.Advisor.hasAnnotation(Advisor.java:388) ... 34 more D:\ProjetJ\CounterServicejar tvf DemoService.jar 0 Mon Jun 25 09:41:52 CEST 2007 META-INF/ 106 Mon Jun 25 09:41:50 CEST 2007 META-INF/MANIFEST.MF 0 Mon Jun 25 09:09:40 CEST 2007 cachemgnt/ 2218 Mon Jun 25
[jboss-user] [JBoss Seam] - Re: examples didn't work
The stack trace will be in server.log and on the console. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063384#4063384 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063384 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Extract EJBs from jboss-seam.jar
This is the recommended application.xml for Seam2 application | module | web | web-urijboss-seam-booking.war/web-uri | context-root/seam-booking/context-root | /web | /module | | module | ejbjboss-seam-booking.jar/ejb | /module | | module | ejbjboss-seam.jar/ejb | /module | /application This works correctly in JBoss AS 4.2, OC4J 11 Tech Preview, Glassfish V2 (and is spec compliant) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063385#4063385 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063385 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JBoss 4.2/Seam 1.2.1/Ajax4jsf 1.1.1: Could not destroy c
I believe you need the el-* jars specified in your application.xml module | javael-api.jar/java | /module | | module | javael-ri.jar/java | /module View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063389#4063389 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063389 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: EntityHome and optimistic transaction
You probably need to extend EntityHome with some custom logic to detect this sort of situation. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063390#4063390 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063390 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to keep information on the tabPanel
Conversation and Page scopes will both work here. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063392#4063392 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063392 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: drag and drop persistance
If you specify your proxy to ant it should work: export ANT_OPTS=-Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080 Let me know. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063391#4063391 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063391 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: selectOneMenu and selectItems problem
It probably subtley altered the way in which your variables were scoped. The way you have written your code doesn't require it. milli is correct - you need to make sure the selected object appears in the original list, otherwise validation fails. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063393#4063393 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063393 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: LinkageError
Environment: jbpm 3.2 + mysql 5 + jboss as 4.0.5 + jdk 1.5.x This is happening after the the action of this process been run, when I execute TaskInstanceEndCommand, and untill now this happens only on this process. | | StartWorkOnTaskCommand cmd1 = new StartWorkOnTaskCommand(taskInstanceId, false); | TaskInstanceEndCommand cmd2 = new TaskInstanceEndCommand(); | | cmd2.setVariables(map); | cmd2.setTaskInstanceId(taskInstanceId); | | execute () | | process-definition | xmlns= name=notificacao |swimlane name=default | assignment expression=user(grover)/assignment |/swimlane |node name=envia email | event type=node-enter | action name=sendmail class=com.pep.actions.SendMail/action | /event | transition name= to=confinuar/transition |/node |task-node name=confinuar | transition name=t end to=end/transition | transition name=repetir to=decidir o destinatario/transition |/task-node |end-state name=end/end-state |task-node name=decidir o destinatario | task name=inserir destinatario swimlane=default | controller | variable name=destinatario access=read,write,required/variable | variable name=tipo access=read,write,required/variable | /controller | /task | transition name= to=envia email/transition |/task-node |start-state name=start | transition name= to=decidir o destinatario/transition |/start-state | /process-definition | the action com.pep.actions.SendMail, simply outputs hello world, until this part everything works, after this it gives the error that i mentioned. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063396#4063396 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063396 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to Clone EntityHome Object
Clone won't work (read the javadoc for it for a start), and I don't think you want to clone the *Home* object... You just need to write a method to copy the object I think. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063397#4063397 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063397 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Urgent : Query on CMS Admin --- Make a
Hi All, 1.) Can anyone provide details on Make a Live checkbox present there while creating any new file thru CMS Admin... What is do actally? How can it be controlled , from which configuration file? Can it would be role / portlet specific? 2.) I wanted to know about the WorkFlow present in CMS Admin...is there any kind of workflow exist in CMS Admin? Is there any kind of work flow present in that where one user can create/edit some file and other user (say Admin) have to approve / publish that , then only chages should reflect. (Approval -Reviewer mechanism) Please revert with your suggestion! Thanking you in advance! Ritesh. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063398#4063398 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063398 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: SMPC Configuration
Why is the bean session scoped? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063399#4063399 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063399 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Urgent : Query on CMS Admin-Make a Live
Hi All, 1.) Can anyone provide details on Make a Live checkbox present there while creating any new file thru CMS Admin... What is do actally? How can it be controlled , from which configuration file? Can it would be role / portlet specific? 2.) I wanted to know about the WorkFlow present in CMS Admin...is there any kind of workflow exist in CMS Admin? Is there any kind of work flow present in that where one user can create/edit some file and other user (say Admin) have to approve / publish that , then only chages should reflect. (Approval -Reviewer mechanism) Please revert with your suggestion! Thanking you in advance! Ritesh. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063401#4063401 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063401 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - begin-conversation in Seam2 prevents data load
Morning, I have an issue with jboss-seam-2.0.0.BETA1. I have an all-on-one CRUD page where selecting an item in the table reloads the current page and populates the create/edit form in another div. If the page.xml has begin-conversation join=true/ then the form will not be populated (ie. the form field values are not set). If I remove the begin.., then it works (the form field values are populated with the data from the selected table row). A conversation isn't required for my example page, however I have some more complex pages where one is. The same behaviour was not present in Seam 1.2.1GA. I have tried this with a sample app Seam-Gen'd using both Seam2.0.0 and also with Seam1.2.1. My example form PersonList.xhtml: !DOCTYPE composition PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; | | ui:composition xmlns=http://www.w3.org/1999/xhtml; | xmlns:s=http://jboss.com/products/seam/taglib; | xmlns:ui=http://java.sun.com/jsf/facelets; | xmlns:f=http://java.sun.com/jsf/core; | xmlns:h=http://java.sun.com/jsf/html; | xmlns:a=https://ajax4jsf.dev.java.net/ajax; | xmlns:rich=http://richfaces.ajax4jsf.org/rich; | template=layout/template.xhtml | | ui:define name=body | h:form id=person styleClass=edit | rich:panel | f:facet name=headerEdit Person/f:facet | | s:decorate id=personidDecoration template=layout/edit.xhtml | ui:define name=labelpersonid/ui:define | h:inputText id=personid |required=true |disabled=#{personHome.managed} | value=#{personHome.instance.personid} | a:support event=onblur reRender=personidDecoration bypassUpdates=true/ | /h:inputText | /s:decorate | | s:decorate id=firstnameDecoration template=layout/edit.xhtml | ui:define name=labelfirstname/ui:define | h:inputText id=firstname |required=true |size=50 | maxlength=50 | value=#{personHome.instance.firstname} | a:support event=onblur reRender=firstnameDecoration bypassUpdates=true/ | /h:inputText | /s:decorate | | s:decorate id=lastnameDecoration template=layout/edit.xhtml | ui:define name=labellastname/ui:define | h:inputText id=lastname |required=true |size=50 | maxlength=50 | value=#{personHome.instance.lastname} | a:support event=onblur reRender=lastnameDecoration bypassUpdates=true/ | /h:inputText | /s:decorate | | div style=clear:both | span class=required*/span | required fields | /div | | /rich:panel | /h:form | | rich:panel | f:facet name=headerPerson search results/f:facet | div class=results id=personList | rich:dataTable id=personList | var=person | value=#{personList.resultList} |rendered=#{not empty personList.resultList} | h:column | f:facet name=header | personId | /f:facet | #{person.personid} | /h:column | h:column | f:facet name=header | firstName | /f:facet | #{person.firstname} | /h:column | h:column | f:facet name=header | lastName | /f:facet | #{person.lastname} | /h:column | h:column | f:facet name=headeraction/f:facet | s:link view=/PersonList.xhtml |value=Select | id=person | f:param name=personPersonid | value=#{person.personid}/ | /s:link | /h:column | /rich:dataTable | | /div | /rich:panel | | /ui:define | | /ui:composition | My PersonList.page.xml: | ?xml version=1.0 encoding=UTF-8? | page xmlns=http://jboss.com/products/seam/pages; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.0.xsd; | |begin-conversation join=true/ !-- the line that causes my hair-loss -- |
[jboss-user] [JBoss Portal] - Re: LDAPExtUserModuleImpl and userSearchFilter
D'oh! Of course this works. I got my line from http://jbossportal.blogspot.com/ where there is no CDATA escaping, and of course I stopped my brain when I copied it from there. Maybe someone add that to that blog entry. I'll keep you updated on my progress, so far everything looks good. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063403#4063403 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063403 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: How to solve circular dependencies in JBoss 4.0.5GA?
Hey All, I'm having the same issue, I'd really like to use the injection rather than a seperate JNDI lookup. Has anybody solved this? Many Thanks, Greg. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063404#4063404 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063404 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Could this be deadlock when modifying TreeCache
I would look at your max_credits FC param. If you have a lot of state being moved around (and I suspect you do given the cluster size and number of Tomcat threads) you probably want a higher max_credits - try about 20 million instead of the 1 million you already have configured. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063405#4063405 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063405 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam gen edit pages, update without press save button
Hi, the Rollback didn't work in my case. I've kept the flush-mode=manual but instead of the trick propagation=none, I've enforced the refresh of my entity before displaying the page (with this in my EntityBean: getEntityManager().refresh(getInstance());) It works and seems cleaner. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063406#4063406 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063406 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Failed to process async modifications: java.io.EOFExcept
Is this only with the file cache loader? Does this go away with, say, a BdbjeCacheLoader? I know this may not be the ideal cache loader for you due to licensing though, but testing it with this will help pinpoint the problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063407#4063407 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063407 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Deploy via a web interface?
We are using JBoss 4.2.0GA. Is there any web interface through which which we can deploy/undeploy war/ear's? Also is there any interface through which we can monitor the server activity? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063408#4063408 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063408 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Worker thread initialization failure
hey guys my two-node cluster finally is running. load-balancing works just fine. failover isn't tested yet. The only thing that is annoying me is that from time to time the follwing Exception occurs. But it seems as if the application doesn't care when it's raised. | 10:45:35,359 ERROR [ServerThread] Worker thread initialization failure | java.io.EOFException | at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:526) | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:369) | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:165) | does anyone know how to solve this problem? thanks in advance. morki View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063410#4063410 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063410 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Failed to process async modifications: java.io.EOFExcept
Hmm, if your log level is DEBUG or TRACE you should see the full stack trace. From the code: | private void put(List mods) { | try | { | delegateTo.put(mods); | } | catch (Exception e) | { | if (log.isWarnEnabled()) log.warn(Failed to process async modifications: + e); | log.debug(Exception: , e); | } | } | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063411#4063411 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063411 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: strange failover behaviour in clustered config
sem wrote : Sounds like potential problem because it would be difficult to monitor this things on production environment. Can you explain in more detail? I didn't quite understand. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063412#4063412 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063412 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - conversations join/nest
Hi, In my application (Seam 1.2.1GA) I use 2 level of nested conversations to navigate across categories, subcategories and items of each subcategory. That's my scenario: Bean 1 (select a category) - Root Conversation Bean 2 (select a subcategory) - Nested inside the root Bean 3 (edit an item of the subcategory) - Nested inside the previous When I switch between categories the subcategories are updated, when I click on a subcategory I see the respective items, and when I click on an item I can edit its properties. In order not to create a new (or new nested) conversation each time I switch cat, subcat or item I have written this method (called in the @Factory methods of my backing beans) to always join the correct level of conversation. | public void joinSameOrNest(Class caller) { | Conversation current = Conversation.instance(); | boolean started = false; | for (ConversationEntry entry : ConversationEntries.instance().getConversationEntries()) { | if(entry.getDescription().equals(caller.getName())) { | entry.select(); | log.info(Joining conversation + caller.getName()); | current.begin(true, false); | started = true; | } | } | if(!started) { | log.info(Starting nested conversation + caller.getName()); | current.beginNested(); | } | } | I recognize the level of conversation since, in the @Factory methods of my backing beans I first call the method: | public void setDescription(Class caller) { | Conversation.instance().setDescription(caller.getName()); | } | Until the first level of nesting it works fine and in the conversation stack I always see the root and the nested, but when I try to edit an item (starting the 2nd level of nesting) I get an exception: java.lang.IllegalStateException: beginNested() called with no long-running conversation Is it actually possible to have multiple nesting? Is something wrong in my method? I was using the annotations before @Begin(nested/join), but a limited behaviour can be achieved with that. Or am I wrong? Thanks for any suggestions! Cheers View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063416#4063416 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063416 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: LDAPExtUserModuleImpl and userSearchFilter
It happens to everyone time to time :) I updated blog post like you suggested. I think that you shouldn't have many problems with MSAD. The one I'm aware of is the password change (can be done by portal users). As far as I know MSAD requires you to use SSL connection to let you update related attribute. I haven't tested user/roles membership management with MSAD so it would be nice if you try. But as far as you don't use portal to assign roles, but rely on LDAP server tools it should be fine. If you succeed could you create a wiki page describing your configuration? This would be a good contribution. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063417#4063417 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063417 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Overridable resource resolver
I'm struggeling with loading the *.page.xml from an 'out-of-container' location. This is not supported thought, but it would be great if this could be added to seam. Or am I missing something? To explain my usecase: I have an application which should be very customizable on a per client/campaign base. I use facelets and JSF RI with Seam 1.2.1. I have written my own resource resolver for facelets and a static resource filter using seams filter and resource ability. This does work quite well. But one part is missing: The pageflow/navigation which is defined in my *.page.xml files. These must be in the container resource path and are lookedup throught the ServletContext. Also the Resources class in seam has mostly static methods which does not allow overriding or pluggability. This prevents me from replacing the lookup algorithm with one for my usecase. :( Any thoughts about this or an idea how to solve my problem? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063419#4063419 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063419 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: LinkageError
apparently when i add a task to confinuar the problem vanish, still the error that jbpm gives in the absence of task's is a bit odd. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063421#4063421 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063421 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2.0 Beta + JBossas 4.2.1.GA + JBossWS-2.0.0.GA + We
Interesting. I'm not sure, but perhaps its something for the JBossWS wiki? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063422#4063422 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063422 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Overridable resource resolver
In Seam2, you could override ResourceLoader.getResourceAsStream(), I suppose... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063423#4063423 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063423 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - LR conversationand unique HibernateSession after exception
After database exception during flush Hibernate Session should be no more used. Knowing that I'm searching for a good design for a multipage wizard which in the last step persist all my data using Hibernate. I want to be sure that in case of an exception thrown because of i.e. overriding update etc, I will be able to repeat the last step after presenting user with something like Original attempt was not successful, try again after fixing this and that. But I have a single managed hibernate session for the whole conversation and apparently nested conversations just gets the same instance (checked in the debugger). So even creating nested conversation I shouldn't try to repeat last step as far as I understand. How this should be solved? I think that the problem here is that hibernate session is conversation-scoped, I need iteraction with it only on the first and (repetitive) last step of my conversation. Is invoking converstationHibernateSession.getFactory.getSession() from this last conversation-commiting method the only way to be able to retry session commit? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063424#4063424 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063424 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - change process status
Hi, I have a jbpm process that has an inicial state which is a request for travel expenses. After the request is made, it goes to manager approval. I would like the user that made the request to be able to put the process back to an initial state, so he would could change any information, as long as the manager had not approved it yet. How can I do that? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063425#4063425 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063425 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Reading threads are blocked
Using the testbeds from above on CR3 shows a significant improvement over CR2. The source for the tests can be found here: http://www.robotsociety.com/cache/cr3/src.rar NB: These tests are micro-benchmarks, i.e. not a real-life scenario. Parallel tests Reading threads access all available nodes concurrently. Reading throughput was improved by 27%. All threads are still mostly blocked. I'm not sure how much concurrency we can claim here. Threads: http://www.robotsociety.com/cache/cr3/parallell_threads.GIF Dedicated tests Four threads all read from a dedicated node. There is one node per thread so they should never try to read from the same node. Reading throughput was improved by 40%. Thread concurrency is clearly improved which can be seen in the profiler as well. Threads comparison: http://www.robotsociety.com/cache/cr3/comparison.GIF It seems that in the parallel scenario, most threads are blocked by the initLock in UnversionedNode. The lock is lazily initiated in case we don't need locking, but on the other hand you then force a synchronized upon every threads that wants to get the lock reference. The synchronization is only to check if the lock has been initialized and when it has it really serves no purpose, so arguably this could be solved without having to synchronize on every getLock() call. However, using non-lazy initialization and removing the sync block did not result in any significantly higher concurrency since the next mutex is in the tryLock on the lock that we pass back. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063426#4063426 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063426 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: method-permission being ignored
Thanks, that did the trick View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063427#4063427 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063427 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Overridable resource resolver
Ok, that sound nice, but I cannot switch to Seam 2 currently. The only way I could think of currently is to override the FacesServlet and supply an overriden ServletContext... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063428#4063428 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063428 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Documentation on generated WSDLs
Hello! Is there a possibility in jbossws to add schema-documentation like: xs:annotation xs:documentation blabla /xs:documentation /xs:annotation to a wsdl when it is autogenerated at deployment? Do I need a special Annotation? kind regards Wolf View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063429#4063429 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063429 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Overridable resource resolver
There should be a way to do it by overriding the Pages component. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063430#4063430 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063430 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Overridable resource resolver
Hmm, after rethinking I better would override the FacesContextFactory and supply an overridden ServletContext. That way it is even JSF implementation independent. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063431#4063431 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063431 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Overridable resource resolver
In the Pages component the interesting methods to override are either private or do call private methods. Therefore I cannot override it without copying most of the code from Pages.java. This is not what I want... But thanks for the hint. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063432#4063432 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063432 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Problem in deployment of ejb 3 in JBoss Server using Ora
Hi, I have a similar problem as you, but the exception I got is different. I got ClassNotFoundException, and I guess is due the unusual ClassLoader architecture of JBoss. Which versions of JBoss and Toplink Essentials are you using? How did you installed Toplink on JBoss? Alexandre View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063433#4063433 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063433 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Deploying Jboss Seam booking application to Weblogic 10
Hi, I have got the same error anonymous wrote : | Error loading the persistence descriptor WEB-INF/lib/jboss-seam-jpa.jar!/META-INF/persistence.xml from the module jboss-seam-jpa.war. See the following stack trace for nested errors: weblogic.descriptor.DescriptorException: Unmarshaller failed at .. | Let me know anyone made it working on Weblogic 10 (atleast JPA example) Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063434#4063434 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063434 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JBossWS supports pluggable Web Service stacks
Common deployment model means that you can use standard EE5 deployments with all tree stacks. You will not have to provide Metro or CXF proprietary descriptors. In short, deployment archives should depend on the WS stack that is currently installed. Common management interface means that you can use the http://localhost:8080/jbossws context to view/manage your endpoint. This includes start/stop, endpoint metrics, etc View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063435#4063435 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063435 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Reading threads are blocked
| It seems that in the parallel scenario, most threads are blocked by the initLock in UnversionedNode. The lock is lazily initiated in case we don't need locking, but on the other hand you then force a synchronized upon every threads that wants to get the lock reference. The synchronization is only to check if the lock has been initialized and when it has it really serves no purpose, so arguably this could be solved without having to synchronize on every getLock() call. However, using non-lazy initialization and removing the sync block did not result in any significantly higher concurrency since the next mutex is in the tryLock on the lock that we pass back. | Hmm, ok, ideally we should be testing for the lock not being null before going into the sync block: | public IdentityLock getLock() | { |if (lock_ == null) initLock(); |return lock_; | } | This is a minor optimisation though since like you said the next mutex is in actually trying to obtain the lock. Still, a valid optimisation. Thanks for running these tests! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063436#4063436 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063436 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - consume WS error after update to JBossWS 2.0
Hi dear community, I'm pretty new to the whole JBoss WebService topic and I'm writing a diploma thesis about it. to get startet, I wrote a simple example which consist of a WebService and an Java Client connecting to that Service in order to consume it. Everything went fine with the JBoss 4.2.0 GA release. Because I need some of the feature of JAXB 2.0, I upgraded to JBossWS 2.0. I think everything went fine here, because I get the following message in the console while starting JBoss.[ManagedEndpointRegistry] jbossws-native-2.0.0.GA (build=200707051029) I added the all the jars in %JBOSS_HOME%\client and %JBOSS_HOME%\lib\endorsed to classpath, like I did it while using the JBoss 4.2.0 GA release. My problem is: If I try to reach the service with the following code I get an WebServiceException | URL url = new URL(http://127.0.0.1:8080/BspDog/Examples?wsdl;); | QName qname = new QName(http://dogstapler.com/,ExamplesService;); | Service service = Service.create(url,qname); | ExamplesEndpoint ee = service.getPort(ExamplesEndpoint.class); | The wsdl is reachable at the given location. The first lines of it look like this: | definitions name='ExamplesService' targetNamespace='http://dogstapler.com/' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://dogstapler.com/' xmlns:xsd='http://www.w3.org/2001/XMLSchema' | types | xs:schema targetNamespace='http://dogstapler.com/' version='1.0' xmlns:tns='http://dogstapler.com/' xmlns:xs='http://www.w3.org/2001/XMLSchema' | The error thrown by the client while executing the 3rd line of the sample code: | Exception in thread main javax.xml.ws.WebServiceException: Unable to load Provider: Failed to load javax.xml.ws.spi.Provider: com.sun.xml.ws.spi.ProviderImpl | at javax.xml.ws.spi.Provider.provider(Provider.java:98) | at javax.xml.ws.Service.init(Service.java:83) | at javax.xml.ws.Service.create(Service.java:721) | at com.dogstapler.client.ClientBspDog3.main(ClientBspDog3.java:31) | Caused by: java.lang.IllegalStateException: Failed to load javax.xml.ws.spi.Provider: com.sun.xml.ws.spi.ProviderImpl | at javax.xml.ws.spi.ProviderLoader.loadProvider(ProviderLoader.java:96) | at javax.xml.ws.spi.Provider.provider(Provider.java:90) | ... 3 more | Caused by: java.lang.ExceptionInInitializerError | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) | at java.lang.reflect.Constructor.newInstance(Constructor.java:494) | at java.lang.Class.newInstance0(Class.java:350) | at java.lang.Class.newInstance(Class.java:303) | at javax.xml.ws.spi.ProviderLoader.loadProvider(ProviderLoader.java:91) | ... 4 more | Caused by: javax.xml.ws.WebServiceException: Error creating JAXBContext for W3CEndpointReference. | at com.sun.xml.ws.spi.ProviderImpl.getEPRJaxbContext(ProviderImpl.java:188) | at com.sun.xml.ws.spi.ProviderImpl.clinit(ProviderImpl.java:65) | ... 11 more | Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions | Two classes have the same XML type name address. Use @XmlType.name and @XmlType.namespace to assign different names to them. | this problem is related to the following location: | at com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Address | at public com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Address com.sun.xml.ws.developer.MemberSubmissionEndpointReference.addr | at com.sun.xml.ws.developer.MemberSubmissionEndpointReference | this problem is related to the following location: | at javax.xml.ws.wsaddressing.W3CEndpointReference$Address | at private javax.xml.ws.wsaddressing.W3CEndpointReference$Address javax.xml.ws.wsaddressing.W3CEndpointReference.address | at javax.xml.ws.wsaddressing.W3CEndpointReference | Two classes have the same XML type name elements. Use @XmlType.name and @XmlType.namespace to assign different names to them. | this problem is related to the following location: | at com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Elements | at public com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Elements com.sun.xml.ws.developer.MemberSubmissionEndpointReference.referenceProperties | at com.sun.xml.ws.developer.MemberSubmissionEndpointReference | this problem is related to the following location: | at javax.xml.ws.wsaddressing.W3CEndpointReference$Elements | at
[jboss-user] [JBoss Seam] - Re: Subdirectories in the view folder
Thanks, I'll check out all of the template references. :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063439#4063439 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063439 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: two basic questions for EntityHome
Hi, I initialized the EntityHome states in the following code. | public class PersonManager extends EntityHomePerson { | | ... ... | | @Begin(join=true) | public void startCreate() { | debug(startCreate() called: id[#0], getId()); | setId(null); | initInstance(); | } | | @Begin(join=true) | public void startUpdateOrDelete() { | debug(startUpdateOrDelete() called: id[#0], getId()); | initInstance(); | } | | ... ... | | } | If create s:button in personList.xhtml is clicked, startCreate() method is invoked and personEdit.xhtml is rendered. If edit or delete s:link in personList.xhtml is clicked, the selected personId is bound to #{personManager.id}, startUpdateOrDelete() method is called, and personEdit.xhtml is rendered. My simple crud app seems to work now. wschwendt, how about your crud app? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063440#4063440 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063440 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: strange failover behaviour in clustered config
Very simple. For example we have 2 nodes in production. A lot of messages in the queue. Power goes done. 1 node is not starting up. How to detect if there are still messages for dead node? We have no direct access to database server. We somehow need to right an application for querying JMS tables or so? In quartz both nodes register themself in db. So if one is dead another one can detect it easily. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063441#4063441 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063441 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBossTools (xxx-nightly) requires feature
Please watch this issue: http://jira.jboss.com/jira/browse/JBIDE-500?page=comments#action_12368700 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063442#4063442 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063442 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: LinkageError
I'll change the schema to at least require 1 task as a child of task-node View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063444#4063444 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063444 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - JBoss Federated CR1 getDomain bug
Hello, I'd like to report a bug at the method private String getDomain(String serverName) of the class org.jboss.security.valve.SSOTokenManager (there is a method just like this one in the class org.jboss.security.federation.servlet.SSOFederationServer, but I think it's never called). This method must return the domain of a given server name. The logic implemented returns . + the last two words of the server name. So if the server name is www.jboss.com, it returns .jboss.com. That would work if the server names are always like www.jboss.com, node1.jboss.org. But, there are server names, like here in Brazil, where the pattern is www.something.com.br. So, that method would return the domain .com.br. Consequence: JBoss Federated doesn't work for Internet Explorer when the the server name is like www.something.com.br. I rewrote this method, returning as the domain of the server name everything that is after the first .. Now it is working for any pattern of server names for IE and Firefox. Thiago View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063445#4063445 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063445 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: drag and drop persistance
hi thomas, your tip doesnt work for me Unable to get remote file=C:\_PROJETS_GIP\_PORTAIL\_DEV\workspace\JBoss_Portal_2_6_0_src\thirdparty\antlr\component-info.xml url=http://repository.jboss.com/antlr/2.7.6.ga/component-info.xml View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063446#4063446 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063446 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2.0 Beta + JBossas 4.2.1.GA + JBossWS-2.0.0.GA + We
Gavin, I cross posted on the JBossWS forum referencing this post's URL after thinking the same thing. Didn't retype the entire post. I'll wait to see if they think I'm crazy :) Thanks, PVM View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063447#4063447 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063447 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam 2.0 beta ConversationEntry possible bug
I've noticed that when conversation is ended in pages.xml | exception class=orka.RollBackException | end-conversation/ | redirect view-id=/Pocetna.jsp | messageERROR/message | /redirect | /exception | that conversation is not removed from conversationList. Regards, Kruno View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063448#4063448 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063448 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: problem to start a taskinstance
hmmm sorry... i missed that :-( and btw, please repost the workflow and put it in code tags View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063449#4063449 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063449 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Hibernate/JPA throws java.lang.NullPointerException at org.j
Using: JBoss-Seam 2.0.0.BETA1 JBossAS4.2GA Hibernate/JPA postgresql-8.1-407.jdbc3 psql (PostgreSQL) 8.1.9 | datasources | local-tx-datasource | jndi-namemyprog-ds/jndi-name | connection-urljdbc:postgresql://localhost:5432/myprog/connection-url | driver-classorg.postgresql.Driver/driver-class | user-namemyprog/user-name | passwordmyprog/password | check-valid-connection-sqlselect 1/check-valid-connection-sql | metadata | type-mappingPostgreSQL 8.0/type-mapping | /metadata | /local-tx-datasource | /datasources | | ?xml version=1.0 encoding=UTF-8? | persistence xmlns=http://java.sun.com/xml/ns/persistence; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; version=1.0 xsi:schemaLocation=http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd; | persistence-unit name=myprog-em transaction-type=JTA | providerorg.hibernate.ejb.HibernatePersistence/provider | jta-data-sourcejava:/myprog-ds/jta-data-source | properties | property name=hibernate.dialect | value=org.hibernate.dialect.PostgreSQLDialect / | property name=hibernate.show_sql value=true / | property name=hibernate.hbm2ddl.auto value=false / | property name=hibernate.max_fetch_depth value=3 / | property name=hibernate.transaction.manager_lookup_class value=org.hibernate.transaction.JBossTransactionManagerLookup/ | /properties | /persistence-unit | /persistence | | I think i've an configuration-error which causes the following unrecoverable NullpointerException. Unrevoerable means that all database-requests will end up in the same NullpointerException (cause) with different top-level exceptions. Jboss-restart does not help. I have to restart both: the postgresql-server and the jboss-server. Maybe that's a driver-bug ? The commands i've used to produce this error are very diffenent (em.find (..); em.merge(..); em.createQuery(...).getResultList()) - therefore i think my error lies in the configuration ... Maybe anyone could help me ?? | 2007-07-12 13:53:15,090 WARN [org.jboss.resource.connectionmanager.TxConnectionManager] Connection error occured: [EMAIL PROTECTED] [EMAIL PROTECTED] handles=1 lastUse=1184241195086 permit=true trackByTx=true [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] txSync=null] | java.lang.NullPointerException | at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:623) | at java.lang.ClassLoader.loadClass(ClassLoader.java:306) | at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:467) | at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:408) | at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) | at org.postgresql.jdbc3.Jdbc3Connection.prepareStatement(Jdbc3Connection.java:37) | at org.postgresql.jdbc3.AbstractJdbc3Connection.prepareStatement(AbstractJdbc3Connection.java:266) | at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.doPrepareStatement(BaseWrapperManagedConnection.java:349) | at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.prepareStatement(BaseWrapperManagedConnection.java:344) | at org.jboss.resource.adapter.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:187) | at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:505) | at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:423) | at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139) | at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547) | at org.hibernate.loader.Loader.doQuery(Loader.java:673) | at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236) | at org.hibernate.loader.Loader.doList(Loader.java:2220) | at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104) | at org.hibernate.loader.Loader.list(Loader.java:2099) | at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378) | at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338) | at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172) | at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121) | at
[jboss-user] [JNDI/Naming/Network] - JNDI-Lookup in Thread failed
Hi, we use hibernate3 (for jbpm) in our application and we're encountering a problem with jndi. We use some scheduling-mechanism which invokes a thread which itself does something with jbpm. Anyway, because of another application server (oc4j 10.1.3) we had to set a context-classloader to all user-threads. But when we set the context-classloader to our threads jbpm is not possible to do jndi-lookups: | org.hibernate.TransactionException: Unable to locate UserTransaction to check status | at com.pironet.pbng.prj.cms.workflow.jbpm.CommandExecutorEventProcessor$1.doInJbpm(CommandExecutorEventProcessor.java:142) | at com.pironet.pbng.prj.cms.workflow.jbpm.spring.JbpmTemplate$1.doInHibernate(JbpmTemplate.java:66) | at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:372) | at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:338) | at com.pironet.pbng.prj.cms.workflow.jbpm.spring.JbpmTemplate.execute(JbpmTemplate.java:59) | at com.pironet.pbng.prj.cms.workflow.jbpm.JbpmAccessor.execute(JbpmAccessor.java:52) | at com.pironet.pbng.prj.cms.workflow.jbpm.CommandExecutorEventProcessor.processEvent(CommandExecutorEventProcessor.java:85) | at com.pironet.pbng.prj.comet.scheduling.WorkflowTimelineEventHandler.processEvent(WorkflowTimelineEventHandler.java:68) | at com.pironet.pbng.messaging.notify.NotifierImpl.issueEvent(NotifierImpl.java:212) | at com.pironet.pbng.messaging.notify.NotifierForwarder$1.run(NotifierForwarder.java:95) | Caused by: javax.naming.NameNotFoundException: UserTransaction not bound | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) | at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) | at org.jnp.server.NamingServer.getObject(NamingServer.java:543) | at org.jnp.server.NamingServer.lookup(NamingServer.java:267) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:716) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) | at javax.naming.InitialContext.lookup(InitialContext.java:347) | at org.hibernate.transaction.JTATransactionFactory.isTransactionInProgress(JTATransactionFactory.java:98) | at org.hibernate.jdbc.JDBCContext.isTransactionInProgress(JDBCContext.java:187) | at org.hibernate.impl.SessionImpl.isTransactionInProgress(SessionImpl.java:369) | at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:962) | at org.hibernate.impl.SessionImpl.iterate(SessionImpl.java:1188) | at org.hibernate.impl.QueryImpl.iterate(QueryImpl.java:46) | at org.jbpm.db.MessagingSession.getMessageIterator(MessagingSession.java:118) | at org.jbpm.db.MessagingSession.hasNextMessage(MessagingSession.java:56) | at com.pironet.pbng.prj.cms.workflow.jbpm.CommandExecutorEventProcessor$1.doInJbpm(CommandExecutorEventProcessor.java:100) | ... 9 more | we use this name to lookup: java:comp/UserTransaction If we remove the setting of a context-classloader everything works fine (in jboss, but not in oc4j 10.1.3). Do I have to change the name to lookup in some way? Or even something in some jboss-configuration? thanks, stefan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063451#4063451 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063451 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: JNDI-Lookup in Thread failed
PS: I tried jboss 4.0.5 and 4.2.0. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063452#4063452 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063452 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: strange failover behaviour in clustered config
If one node crashes and server side failover is enabled then the other node will take over the failed nodes messages. If both nodes crash at exactly the same time e.g. power goes out to both nodes simultaneously. When you turn the power back on you start up both nodes and you find one does not start - you want the other node to take over the messages from the node that does not start? The problem with this is how can the node that does start know that the other node really can't start or it's just that the sysadmin hasn't started it yet. E.g. if you had 10 nodes, each with their own messages, and they were all currently down. The sysadmin then starts them one by one. According to what you want, the first node would start, and then say look... the other nodes aren't alive so I'm going to take over all their messages. Then the sysadmin starts the other nodes, and you'd end up with all the messages on the one node (the first node started) - which is not good. In most cases if the power went off, then it's more than likely the nodes will be startable after the power comes back on, and the sysadmin will just start them all - in this case we *don't* want nodes to take over other nodes message. I think we should cater for the most common case (i.e. the nodes *are* startable after failure), and leave the less common case to require manual intervention (your case where the node isn't startable after failover). If you can think of a way of automatically dealing with both cases then I am open to suggestion, although I can't think of one right now. Adding a flag in the database for each node won't help since it doesn't tell you if the node is not startable. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063453#4063453 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063453 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: strange failover behaviour in clustered config
but as on all nodes routerpolicy configured properly (using roundrobin) then it should not be a problem if all messages are overtaken by first started node. Then other nodes will come up JMS messages will be spreaded again correctly to other nodes. Or I'm not correct ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063455#4063455 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063455 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: JNDI-Lookup in Thread failed
May not be of much help, but try looking it up from the Global JNDI namespace: ctx.lookup(UserTransaction); View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063456#4063456 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063456 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: strange failover behaviour in clustered config
ramazanyich wrote : but as on all nodes routerpolicy configured properly (using roundrobin) | then it should not be a problem if all messages are overtaken by first started node. | Then other nodes will come up JMS messages will be spreaded again correctly to other nodes. Or I'm not correct ? Well, yes, IF you have configured it this way, but not everyone wants redistribution. Secondly, this puts a big strain on the first node - the operation to merge queues in the database is fairly heavyweight, also it will have to load all these message on one node (memory issues), then all these messages have to be shifted off this node - which is very CPU and IO intensive. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063457#4063457 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063457 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user