[jboss-user] [JBoss Tools (users)] - components.xml
Hi guys, I tried to start with JBoss Seam 2.0.1.GA, JBoss AS 4.2.2.GA, JBoss IDE for Eclipse 2.0.0.Beta2 using http://wiki.jboss.org/wiki/Wiki.jsp?page=EclipseSeamProject. When deploying I get the following error: 08:43:04,375 INFO [Initialization] reading /WEB-INF/components.xml | 08:43:04,421 ERROR [[/seam-booking]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener | java.lang.RuntimeException: error while reading /WEB-INF/components.xml | at org.jboss.seam.init.Initialization.initComponentsFromXmlDocument(Initialization.java:154) | at org.jboss.seam.init.Initialization.create(Initialization.java:104) | at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34) | at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361) | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790) | at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770) | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301) | at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104) | at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375) | at org.jboss.web.WebModule.startModule(WebModule.java:83) | at org.jboss.web.WebModule.startService(WebModule.java:61) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java: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(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | 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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy44.start(Unknown Source) | at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at
[jboss-user] [JBoss Messaging] - Re: MDBs not getting messages after long run
There's no such release as JBoss Messaging 1.4.1.SP1. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134139#4134139 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134139 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - unable to plugin jpdl designer 3.2.1 into eclipse 3.2.0
Hi, As mentioned in your forum I've tried the following 1: copy pasting links,features,plugins from jpdl designer to new eclipse extract 2: running the given ant script to do the above 3: using eclipse's find and install to install the plugin 4: starting eclipse usign -clean param I ve tried all the above with jpdl 3.2.1 and jpdl 3.0.13 for the past few weeks and eclipse version 3.2.0. I used a new eclipse extract too. But still when I open eclipse I'm unable to see the jbpm option in windows preferences and in file-new-others Could anyone please suggest a solution? I've been trying this for weeks now. Is it a problem with eclipse 3.2.0 ? Thnx Arti View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134138#4134138 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134138 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem JBPM
Good days, I am going to try(mean) it again. My application consists of several workflows. Every workflow consists of forms. When I put text with tildes and ñ (special characters) and give him to guard they are inserted in the database (Oracle) without tildes and ñ, rare(strange) characters get. The encoding of my pages is UTF-8 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134141#4134141 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134141 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: JBoss seam forum broken
you know about the new forum, do you? http://www.seamframework.org/Community/SeamUsers View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134142#4134142 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134142 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Can't leave node ... without leaving transition
victorl wrote : ... | token = processInstance.getRootToken(); | token.signal(); | I suggest that before you signal() that you find out from the token which Node it's sitting at... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134144#4134144 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134144 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Strange behaviour when using fork
to jbpm developers, it would save me a whole day if you just throw an exception for all unsupported actions, such as calling node.leave() or token.signal() from inside action handler. regards, Rudi View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134145#4134145 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134145 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Update of the root token after one of the sub-tokens in
a.grin wrote : | Is this update (that changes root token) really needed? | The root token is key to the state of the process - seems reasonable that it's state changes as the process is updated. The stale object exceptions can be avoided by not assuming that the token cannot change through graph execution. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134146#4134146 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134146 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: taskinstance setStart(new Date()) storing null in the da
Let's have a look - taskInstance.setStart(Date date) is: | /** |* overwrite start date |*/ | public void setStart(Date date) { | start = null; | } from TaskInstance source. I think that explains it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134147#4134147 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134147 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: java.lang.NoSuchMethodException: org.jboss.resource.adap
anonymous wrote : 12:41:55,517 ERROR [STDERR] at java.lang.Class.getDeclaredMethod(Class.java:1264) | 12:41:55,517 ERROR [STDERR] at net.itcube.util.jdbc.DebuggableStatement.executeVerboseQuery(DebuggableStatement.java Looks like your application's class net.itcube.util.jdbc.DebuggableStatement is trying to call a method on JBoss specific class. Do you have the code of DebuggableStatement.executeVerboseQuery, which might show us which was exactly might be wrong? I checked the jar files in both 3.2.3 and 4.0.3 and i do see that the executeBatch method on WrappedPreparedStatement (which extends from WrappedStatement) is available in both the versions. Did you modify any of the jar files in JBoss? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134148#4134148 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134148 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: load balance
Sorry... but it is not jBPM's core business to build enterprise grade queing and timer mechanism's if they are already available. That is what the first E in J2EE stands for Would cost to much of our precious time Regards, Ronald View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134150#4134150 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134150 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: taskinstance setStart(new Date()) storing null in the da
BTW - in TaskInstance.start() it uses 'start == null' to determine whether the task has already been started or not. So, following a call to setStart() it would also be possible to call start() again - probably would cause problems... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134149#4134149 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134149 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How to stream a pdf at portlet?
AFAIK straming binary content from within a portal context is not possible. You got do redirect to a Servlet. See: http://www.thoughtsabout.net/blog/archives/33.html View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134153#4134153 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134153 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBossTools and Portlets based on Richfaces
Isuue was added to jira: http://jira.jboss.com/jira/browse/JBIDE-1843 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134154#4134154 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134154 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - cannot acces application from remote sytem
hii everybody i have a web application in seam architucture with JBOSS 4.2. IDE is redhat developer studio the problem is when i am running the application by giving localhost ind the address the page is comming properly eg: http://localhost:8080/SeamRegistration but if i give IP address or Machine name instead of localhost the page is comming as offline. no connection error is comming. can anybody help me thanks in advance cheers View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134155#4134155 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134155 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Does Jboss require a specific OS?
Hi everybody, I have a server that runs under Debian and I was wondering if Jboss could be run on it? Moreover, if there are advised OS? And does Redhat still give support if we don't use their linux distribution? or is it preferable to use a specific OS? Thanks a lot. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134159#4134159 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134159 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - how to change port number
how to change the jboss prot number? defaultly its working in port number 8080 i want to change it to 9090 what i want to do? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134161#4134161 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134161 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Advanced Documentation] - cannot acces application from remote sytem
hii everybody i have a web application in seam architucture with JBOSS 4.2. IDE is redhat developer studio the problem is when i am running the application by giving localhost ind the address the page is comming properly eg: http://localhost:8080/SeamRegistration but if i give IP address or Machine name instead of localhost the page is comming as offline. no connection error is comming. can anybody help me thanks in advance cheers View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134156#4134156 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134156 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - cannot acces application from remote sytem
hii everybody i have a web application in seam architucture with JBOSS 4.2. IDE is redhat developer studio the problem is when i am running the application by giving localhost ind the address the page is comming properly eg: http://localhost:8080/SeamRegistration but if i give IP address or Machine name instead of localhost the page is comming as offline. no connection error is comming. can anybody help me thanks in advance cheers View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134157#4134157 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134157 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm variables not saved
Kamlesh again. oh..!!! I typed e n t e r but got vaniced. Please read my previous post with correction as press enter instead of anything else Regards Kamlesh Shah [EMAIL PROTECTED] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134163#4134163 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134163 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - ClassLoader leak through TimedCachePolicy.resolutionTimer
As far as I can see, a ClassLoader leak can occur through org.jboss.util.TimedCachePolicy.resolutionTimer, preventing ClassLoader and classes from unloading when an EAR is undeployed. I have debugged undeploy problem in my EAR with jmap -dump and jhat, and one of the reasons preventing ClassLoader from unloading is this path I see in jhat: Static reference from org.jboss.util.TimedCachePolicy.resolutionTimer (from class org.jboss.util.TimedCachePolicy) : -- [EMAIL PROTECTED] (40 bytes) (field thread:) -- [EMAIL PROTECTED] (173 bytes) (field contextClassLoader:) -- [EMAIL PROTECTED] (296 bytes) (field parent:) -- [EMAIL PROTECTED] (123 bytes) (field parent:) -- [EMAIL PROTECTED] (203 bytes) The Timer object in the trace has only one TimedCachePolicy job in its queue, and that object is referenced from [EMAIL PROTECTED] (103 bytes) : field domainCache [EMAIL PROTECTED] (32 bytes) : field authenticationCache So I'm guessing that this happens: when I first access my web application requiring authentication, JBoss creates the Timer needed to clean authCache and domainCache. This Timer is created from the context of my web app - the TimerThread java.util.Timer creates inherits the current context ClassLoader, that is my ClassLoader. Boom. As a side issue, a peculiar thing is that I have disabled authenticationCache with 0 for JaasSecurityManagerService. Even more peculiar, the authenticationCache actually does contain the principal and credentials I used to log in to the web app. That is, authCache can't be disabled the way it is advertised. A possible work around is to access something else, like jmx-console first, causing the Timer to be created in that context. I'll try that shortly. There is also another ClassLoader leak that comes from Tomcat. See https://issues.apache.org/bugzilla/show_bug.cgi?id=44389 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134171#4134171 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134171 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: ClassLoader leak through TimedCachePolicy.resolutionTime
Forgot to say: JBoss 4.2.1.GA, JDK 1.6.0_04. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134173#4134173 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134173 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - JBPM Web application WORKS ONLY with 8859-1, why not with UT
I must use JBPM Web application, I need some fields in my process to be filled in, unfortunatelly it doesn't work with another characters than 8859-1. Can anybody explain it? I think it can be a problem with JSF. Read this: http://forum.java.sun.com/thread.jspa?threadID=725461messageID=4180923 Anyway, it is sad, that this is only american-english application. Can you fix this bug? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134165#4134165 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134165 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm variables not saved
Hi I was facing same problem of not saving 'Name' and 'Mapped Name' in jBPM.. During n...n number of tries, it saved for one instance of 'Name', but I could not figure it out - HOW. Now I have solution ... !!! After you type new name or a mapped name, press instead of any thing else. enjoy jBPM... Regards Kamlesh Shah [EMAIL PROTECTED] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134162#4134162 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134162 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - JBoss AS 4.2 - JBoss Seam - java.lang.RuntimeException
Hi guys, using JBoss 4.2.0.GA JBoss Seam 2.0.1.GA JBossIDE for Eclipse 2.0.0.Beta2 and trying to run jboss-seam-booking.ear on the server I become the following errors: 11:59:16,906 INFO [Initialization] reading /WEB-INF/components.xml | 11:59:16,906 ERROR [[/seam-booking]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener | java.lang.RuntimeException: error while reading /WEB-INF/components.xml | at org.jboss.seam.init.Initialization.initComponentsFromXmlDocument(Initialization.java:154) | at org.jboss.seam.init.Initialization.create(Initialization.java:104) | at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34) | at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4359) | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761) | at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741) | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.apache.catalina.core.StandardContext.init(StandardContext.java:5310) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301) | at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104) | at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375) | at org.jboss.web.WebModule.startModule(WebModule.java:83) | at org.jboss.web.WebModule.startService(WebModule.java:61) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java: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(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | 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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy45.start(Unknown Source) | at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at
[jboss-user] [Beginners Corner] - plugins available for eclipse
I'm using jboss-4.2.2GA, is their any plugin available for controll that from eclipse? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134177#4134177 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134177 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - LDAP and JBoss
I have this issue with JBoss and LDAP. I've created a configuration for LDAP and JBoss and everything works fine, but everytime user fails to log in the failed login counter pops by 2. I've put some logging information in the place where LdapContext is created for a user and it's fired only once. Next I've tried to check whats beeing sent over the network (using ethereal) and I've found that there are two requests for login when users fails to login. Most weird case is that when users succeeds with login there is only one request for login sent through the network to the LDAP server. Anyone has any idea what can be the source of this behaviour? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134181#4134181 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134181 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: plugins available for eclipse
http://labs.jboss.com/tools/download/index.html especially JBossAS Tools you should also check JBDS http://www.jboss.com/products/devstudio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134183#4134183 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134183 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Tomcat 5.5 login module compatibility?
I am facing a similar problem; Per the instructions in the http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingCustomPrincpalsWith, I set up the login module that extends from UsernamePasswordLoginModule, configured it in the login-config.xml (with the principalClass option set to point to my custom principal). request.getUserPrincipal returns my custom principal but ejbContext.getUserPrincipal returns a SimplePrincipal. What am I missing? Any help will be greatly appreciated. side note: I am debugging into the JBoss source code but I am having to use the 4.2.1 source code because I am unable to locate the security source in the 5.0.0-beta3 or beta4 source code (for jbosssx.jar) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134187#4134187 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134187 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How To create fields in a CMS
Sorry, i forgot to describe my environment Jboss portal version: JBoss Portal 2.6.3 Database: postgreSQL 8.1.11 OS: CentOS release 5 (Final) JDBC conector: postgresql-8.2-507.jdbc4 From download View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134188#4134188 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134188 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Javassist user questions] - Re: adding annotations
I'm going mad, anyone with a suggestion? I've found that the following piece of code: | ByteArrayOutputStream aos = new ByteArrayOutputStream(); | AnnotationsWriter aw = new AnnotationsWriter(aos, constantPool); | aw.numAnnotations(1); | aw.annotation(this.annotationClassName, 0); | aw.close(); | byte ab[] = aos.toByteArray(); | System.out.println(\n\tAnnotation bytecode for annotation + this.annotationClassName + ); | System.out.println(new String(ab) ); | System.out.println(\n\t++\n); | attribute = new AnnotationsAttribute(constantPool, AnnotationsAttribute.visibleTag, ab); | that should create the annotation specified, prints the following: | | Annotation bytecode for annotation whitecat.example.DBRoleAnnotation | | |+++ | | So I'm pretty sure that the bytecode generated for the annotation is empty, and that the annotation is regularly added to my class, but without a bytecode I cannot access it. Anyone can explain why the bytecode is null? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134189#4134189 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134189 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: I want to use jBPM, but am concerned about issue backlog
Thanks. That helps. I figured that was the case, but needed to ask anyway. I saw somewhere that the next major version would be out by August and a minor release will be sooner. Even so, it sounds like the current release will be sufficient for us to get started developing. As for helping out, I'd like to help with the Core Engine. I know that doesn't narrow it down much. I'm fine tackling whatever. Scott View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134191#4134191 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134191 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: ClassLoader leak through TimedCachePolicy.resolutionTime
There is another, perhaps theoretical leak possibility JBoss authentication cache implemented using TimedCachePolicy. This is because entries in TimedCachePolicy are not purged from the cache until they are fetched from the cache, and are then noticed as expired. The leak occurs when: 1. I login to web application using some credentials. 2. This information is entered in the authentication cache. The login credentials involve a LoginContext object that has reference to the web app ClassLoader. 3. I undeploy. 4. I never ever again login using the same credentials. When same credentials are not used, they will not be fetched from auth cache, therefore never seen as expired and never purged: the ClassLoader is leaked through the stuff entered in the cache. This can be worked around by flushing the cache. I guess JBAS-4752 sort of solves this. However, I think the cache should be purged also when web application is undeployed. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134192#4134192 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134192 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: how to change port number
hi Ashok, Check the file /deploy/jboss-web.deployer/server.xml Best, Nishan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134193#4134193 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134193 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - In trouble with Jboss Application Server
Hello guys. I have a little problem while accesing to a deployed application in Jboss AS. Well, this application,named portalsitranbus, was developed in Jdeveloper, where it works fine. Then i deployed it into a EAR file, located in the deploy folder of the Jboss/server/default folder. I access to the application trought localhost:8080/portalsitranbus, and it seems to work, but when i clicked on any actions i got the following error message: The required resource (/portalsitranbus/servlet/ServletController) is no avaliable. but i can find it in the console. Any idea that can help me? Thx u all! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134197#4134197 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134197 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - using java project's classes into a JBPM project
i've created a JBPM project. Now i want to use the classes of a already created java project. I've added that project to my JBPM project. hence i can very well access the classes of the java project. I'm able to create the objects of the classes that i want to use. but the problem is i'm not able to use functions of these classes by their objects. Ex. | TestFDBFirstwfmTable testTable = new TestFDBFirstwfmTable(); | testTable.testinsertRow(); | the function insertRow() in line 2 gives an error as Syntax error on token testinsertRow, Identifier expected after this token it is not recognizing the functions of this object. any pointers to solve this problem? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134198#4134198 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134198 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Strange behaviour when using fork
bungrudi wrote : to jbpm developers, | | it would save me a whole day if you just throw an exception for all unsupported actions, | | thats a rather self important comment from someone who have just spent his whole day debugging jbpm. :) sorry for that. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134202#4134202 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134202 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: In trouble with Jboss Application Server
I forgot to ask how to access a deployed application other computer, because i had been trying a few ways and no one success... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134201#4134201 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134201 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: How to use configurable information
That was what I was looking for, thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134205#4134205 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134205 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Finder exception after upgrade from 4.0.5 to 4.2.2
anonymous wrote : Unabled to enlist resource, see the previous warnings. Do you see any previous errors/warning in the server.log file? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134206#4134206 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134206 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - SSl client certificate
hello Can I use client certificate without having SSL connection? Can I forced web browser to send SSL certificate to application ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134208#4134208 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134208 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Do we really need Transition?
Does a transition really needed in a bpm framework? I've just realized that the need to explicitly define transitions from a node is lessening the framework's expressiveness quite bad. I can't found an easy way to implement a complex flow, one of which is like a - b - c - ttt - d - e where node ttt can move anywhere in the flow based on certain condition. if Transition is optional, implementing this is an easy case. anyone has any idea on the easiest way to implement this in latest stable release of JBPM? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134210#4134210 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134210 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: I want to use jBPM, but am concerned about issue backlog
Scott, Cool, I'll try informing Tom and see what is on the radar... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134211#4134211 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134211 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: components.xml
please use something uptodate like the final release of JBoss Tools. Thanks ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134212#4134212 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134212 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: In trouble with Jboss Application Server
anonymous wrote : I forgot to ask how to access a deployed application other computer, because i had been trying a few ways and no one success... Do you mean, you want to access JBoss server which has been started on a remote machine? Which version of JBoss are you using? If it's JBoss-4.2.x then see this http://wiki.jboss.org/wiki/Wiki.jsp?page=JBoss42FAQ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134213#4134213 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134213 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Missing windowId for portlets events test
I used the demo3.jsp code and made minimal changes, now everything works ok. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134215#4134215 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134215 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Portlet in multiple columns
Hi there. I'm using JBoss Portal 2.6.4-GA, and I'd like to know if that's possible to configure a portlet so that it spans multiple columns in a portal page (2 columns when using the 3columns layout, for example), and how can I do it. I've already checked the forum and search through JBoss Portal Reference Guide, but I couldn't find anything about that. Thanks in advance! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134217#4134217 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134217 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Can't leave node ... without leaving transition
Thank you very much Ronald and pojomonkey for the responses. By means this instruction System.out.println(token.getNode().getName()); I can see that process is in the correct node: it is 'init process' Thanks once again View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134216#4134216 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134216 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Velocity issue
Hi all, I am pretty new to JBOSS and I have some hard times integrating Velocity into JBOSS. I hope that this is the right place to ask for help. Basically, what I would like to do is is the following: I have an EJB which uses a helper class for creating some content. The helper class creates the content using the Velocity framework. The code from the helper class looks like this: | VelocityEngine velocityEngine = new VelocityEngine(); | velocityEngine.setProperty( | //set the template location to where my templates reside | | VelocityEngine.FILE_RESOURCE_LOADER_PATH, | RESOURCE_LOADER_PATH); | velocityEngine.init(); | StringWriter out = new StringWriter(); | velocityEngine.mergeTemplate(mailMessageTemplate, templateContext.getContext(), out); | In order to be able to do that I have placed Velocity in the classpath of my application. I am wondering if this is the right why to use Velocity inside JBOSS(and EJBs). The reason I am in doubt about this is the JBOSS log when I start the server: anonymous wrote : | 12:25:45,828 INFO [VelocityEngine] Starting Jakarta Velocity v1.4 | 12:25:45,828 INFO [VelocityEngine] RuntimeInstance initializing. | 12:25:45,828 INFO [VelocityEngine] Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties | 12:25:45,859 INFO [VelocityEngine] Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl) | 12:25:45,875 INFO [VelocityEngine] Resource Loader Instantiated: org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader | 12:25:45,875 INFO [VelocityEngine] ClasspathResourceLoader : initialization starting. | 12:25:45,875 INFO [VelocityEngine] ClasspathResourceLoader : initialization complete. | 12:25:45,890 INFO [VelocityEngine] ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl) | 12:25:45,890 INFO [VelocityEngine] Default ResourceManager initialization complete. | 12:25:45,953 INFO [VelocityEngine] Loaded System Directive: org.apache.velocity.runtime.directive.Literal | 12:25:45,968 INFO [VelocityEngine] Loaded System Directive: org.apache.velocity.runtime.directive.Macro | 12:25:45,968 INFO [VelocityEngine] Loaded System Directive: org.apache.velocity.runtime.directive.Parse | 12:25:45,968 INFO [VelocityEngine] Loaded System Directive: org.apache.velocity.runtime.directive.Include | 12:25:45,968 INFO [VelocityEngine] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach | 12:25:46,015 INFO [VelocityEngine] Created: 20 parsers. | 12:25:46,015 INFO [VelocityEngine] Velocimacro : initialization starting. | 12:25:46,015 INFO [VelocityEngine] Velocimacro : adding VMs from VM library template : VM_global_library.vm | 12:25:46,031 ERROR [VelocityEngine] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader. | 12:25:46,031 INFO [VelocityEngine] Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.Reso | urceNotFoundException: Unable to find resource 'VM_global_library.vm' | 12:25:46,031 INFO [VelocityEngine] Velocimacro : VM library template macro registration complete. | 12:25:46,031 INFO [VelocityEngine] Velocimacro : allowInline = true : VMs can be defined inline in templates | 12:25:46,031 INFO [VelocityEngine] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions | | 12:25:46,031 INFO [VelocityEngine] Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed. | 12:25:46,031 INFO [VelocityEngine] Velocimacro : messages on : VM system will output logging messages | 12:25:46,031 INFO [VelocityEngine] Velocimacro : autoload off : VM system will not automatically reload global library macros | 12:25:46,031 INFO [VelocityEngine] Velocimacro : initialization complete. | 12:25:46,031 INFO [VelocityEngine] Velocity successfully started. As I have pointed out above, it seems that there is a problem starting Velocity. Any help would be greatly appreciated. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134218#4134218 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134218 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: messages stuck in queues
I think I've found a bug in JBM 1.4.0.SP3. I ran JBM 1.4.0.SP3 to reproduce my earlier problem in UAT. I then went through each of the items listed as oversights before until the problem dissapeared. The order was: 1. Updated to latest schema. Problem still occurs. 2. Changed to non-EAP version of JBM and JBR libraries. Problem still occurs. 3. Turned clustering for PostOffice off. Problem still occurs. 4. Changed PrefetchSize to 1000 and SlowConsumers to false. Problem fixed. I undid/repeated step 4 a few times and it this is definately my problem area. I then switched to the JBM 1.4.0.GA libraries to see if I can reproduce the problem. I couldn't. It works stably whether SlowConsumers is true or false. This makes me think that between JBM1.4.0.GA and JBM1.4.0.SP3, there must have been a change to the client consumer flow control. I compared the source code for the revisions and noticed there was significant refactoring in org.jboss.jms.client.container.ClientConsumer. Additionaly, since the behavior happens only after a period and only under heavy load, this sounded like a threading problem. I can't be sure by looking at the code as I'm not a JBM expert, but I do notice that most of the time when consumeCount gets modified, it is done so within the mainLock. However, not always so this might cause contention issues. Perhaps consumeCount should be declared as volatile to prevent threads storing local values for the variables. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134224#4134224 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134224 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - multiple webservices in different virtualhosts
Hi, i have jboss-4.2.2 configured to serve content for two different virtualhosts (in jboss-web/server.xml), www.host-a.com and www.host-b.com . Now, i want to deploy a pojo-jaxws based webservice on both of these virtualhosts (each configured to serve only for its particular virtualhost in jboss-web.xml) but it fails with Endpoint already registered when deploying the second one. Deploying only one of it leads to the correct result for the particular webservice, it is just not possible to deploy both the same time. Both endpoints use the same context-root, and the same url-pattern, but different virtual-hosts. (e.g. www.host-a.com/service/MyService - webservice-a www.host-b.com/service/MyService - webservice-b ) Is this deployment-scenario possible? A related bug report might be JBWS-981, although this is only for EJB-based endpoints instead of pojo-based JSE-Endpoints. regards Stefan Schueffler View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134226#4134226 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134226 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Can't leave node ... without leaving transition
Just realised - the 'raw' Node type does NOT have a wait state and will hence try to leave() as soon as gets there. And it doesn't have a leaving transition, so the error is correct. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134227#4134227 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134227 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: messages stuck in queues
Wickus - Can you clarify what value of prefetchSize and slowConsumers you were using when you saw the problem? Just to be clear- you're saying that the with the default values its ok, but when you change them to your values you get the problem? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134228#4134228 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134228 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Do we really need
It IS possible to simply move token into arbitrary nodes (of course these would HAVE to be nodes with wait-states...) but that seems an awfully ham-fisted way of using jBPM! And how transitions can 'lessen the expressiveness' of a graph execution environment is beyond my comprehension. It also suggests that perhaps you're not fully grasping what jBPM is about. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134231#4134231 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134231 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: how to change port number
Hi Nishan; Thank you man its working.. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134232#4134232 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134232 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Strange behaviour when using fork
bungrudi wrote : | thats a rather self important comment from someone who have just spent his whole day debugging jbpm. But you weren't 'debugging' jBPM, but your own incorrect usage! bungrudi wrote : :) sorry for that. And so you should be! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134233#4134233 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134233 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: ClassLoader leak through TimedCachePolicy.resolutionTime
I tested with this patch to TimedCachePolicy. Yay, undeploy now works! | --- TimedCachePolicy.java | +++ TimedCachePolicy.java | @@ -77,7 +77,17 @@ public class TimedCachePolicy |public Object getValue(); | } | | - protected static Timer resolutionTimer = new Timer(true); | + protected static Timer resolutionTimer; | + static { | + ClassLoader cl = Thread.currentThread().getContextClassLoader(); | + try { | + Thread.currentThread().setContextClassLoader( | + TimedCachePolicy.class.getClassLoader()); | + resolutionTimer = new Timer(true); | + } finally { | + Thread.currentThread().setContextClassLoader(cl); | + } | + } | | /** The map of cached TimedEntry objects. */ | protected Map entryMap; | @@ -223,6 +233,8 @@ public class TimedCachePolicy | entry = (TimedEntry) value; |} |entry.init(now); | + if (! entry.isCurrent(now)) | + return; |entryMap.put(key, entry); | } | /** Remove the entry associated with key and call destroy on the entry | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134234#4134234 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134234 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Portlet in multiple columns
You would need to create your own layout View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134237#4134237 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134237 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How To create fields in a CMS
There is no such feature. If you have strong CMS requirements I would suggest that you integrate JBoss Portal with an ECM solution. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134238#4134238 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134238 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: SSl client certificate
http://www.jboss.com/index.html?module=bbop=viewtopict=131260 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134241#4134241 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134241 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: plugins available for eclipse
is it possible to run jboss-4.2.2.GA from eclipse3.2? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134243#4134243 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134243 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm-jpdl.jar deployment in war file
i'm experimenting with removing the various jars now, so i'll let you know if i get anywhere. thanks for the help View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134245#4134245 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134245 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: MDBs not getting messages after long run
Sorry Version we are using is 1.4.0.SP1 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134246#4134246 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134246 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Do we really need
pojomonkey wrote : It also suggests that perhaps you're not fully grasping what jBPM is about. quite possibly. maybe I'm not looking the problem from the jBPM perspective. what i meant by not needing any Transition is that we can officially move token into arbitrary nodes, without regarded as being using jBPM in an ham-fisted way. a - b - c - ttt - d - e if ttt is to be placed dynamically, then we can just make it a - b - c - d - e ttt nowhere in the other nodes we have to declare we can legally 'jump' to it from anywhere, and from ttt back to where we came from (or anywhere, of course). in current jBPM implementation i cant find any way to easily achieve this without cluttering my html with s. it would be much nicer if transition element is optional. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134247#4134247 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134247 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: messages stuck in queues
No. By default these values were not specified and that's when I get the problem. When I set SlowConsumers to false and PrefetchSize to 1000 the problem did not occur. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134248#4134248 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134248 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Strange behaviour when using fork
pojomonkey wrote : | But you weren't 'debugging' jBPM, but your own incorrect usage! | debugging my own app then. pojomonkey wrote : And so you should be! i am. but i still think that throwing exception on incorrect usages (like my case) is a good idea. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134251#4134251 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134251 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: LDAP and JBoss
Just a thought, but what does your login-config.xml file look like? If you had two LDAP login-modules defined for your application policy, with the first one flagged as sufficient, then this behavior you describe would make sense. There would be two failed logins and only one successful one and both failed logins would result in very similar network traffic. EG View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134255#4134255 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134255 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How to stream a pdf at portlet?
or use Portlet 2.0 resource serving ! holly77 wrote : AFAIK straming binary content from within a portal context is not possible. | | You got do redirect to a Servlet. | | See: | http://www.thoughtsabout.net/blog/archives/33.html | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134256#4134256 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134256 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Swimlane
Hi all, I've define this process (this is only a part of entire process) start-state name='start' /start-state I don't understand why the class MyAssignmentHandler is never instatiated and the method assign is never called. The class MyAssignmentHandler implementes the org.jbpm.taskmgmt.def.AssignmentHandler interface. Please help me View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134257#4134257 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134257 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: messages stuck in queues
Sorry, I'm a bit confused. So, you're saying you saw the problem with the default, out of the box values, with no changes? What values do you need for your system - do you need to change the prefetchSize or slowconsumers? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134258#4134258 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134258 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - How to configure hibernate to be able to work concurrently i
Hello, I have several message driven beans that access db through hibernate. These message driven beans work in scope of one JTA transaction, so they access hibernate concurrently. It seems that hibernate is not configured well because I am getting this exception. | 14:46:44,652 ERROR [AssertionFailure] an assertion failure occured (this may indicate a bug in Hibernate, but is more likely due to unsafe | session) | org.hibernate.AssertionFailure: collection was processed twice by flush() | at org.hibernate.engine.Collections.prepareCollectionForUpdate(Collections.java:202) | at org.hibernate.engine.Collections.processReachableCollection(Collections.java:185) | at org.hibernate.event.def.FlushVisitor.processCollection(FlushVisitor.java:37) | at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:101) | at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:61) | at org.hibernate.event.def.AbstractVisitor.processEntityPropertyValues(AbstractVisitor.java:55) | at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:138) | at org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:196) | at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:76) | at org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:35) | at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:969) | at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1114) | at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79) | at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:64) | at de.casaconsult.club.contract.ctrl.ContractsDAOBean.getContractsByOffer(ContractsDAOBean.java:294) | 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.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) | at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77) | at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:278) | at org.jboss.ejb3.remoting.IsLocalInterceptor.invokeLocal(IsLocalInterceptor.java:79) | at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:70) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) |
[jboss-user] [JBoss jBPM] - Re: Swimlane
Sorry, this is the part of process: start-state name='start' /start-state View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134261#4134261 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134261 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Missing windowId for portlets events test
rpa_rio wrote : I used the demo3.jsp code and made minimal changes, now everything works ok. thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134262#4134262 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134262 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Swimlane
Sorry again | swimlane name='StartProcessActors' | assignment class='it.valueson.croute.web.jbpm.MyAssignmentHandler' | /assignment | /swimlane | start-state name='start' | task name='initProcess' swimlane='StartProcessActors'/task | transition to='firstState' | action class='it.valueson.croute.web.jbpm.MyActionHandler' / | /transition | /start-state | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134263#4134263 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134263 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - @WebService method argument names
If I've got an EJB3 Bean with @Stateless and @WebService defined with a method like: | addNumbers(int num1, int num2) | the WSDL generated will simply call the arguments arg0 and arg1. Is there a way to force the WSDL generated to actually use the proper argument names? In this silly case it isn't important but it is confusing for my web service users not to know the argument names. Thanks! - Ryan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134266#4134266 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134266 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: messages stuck in queues
That's correct. Under item 2 for post Tue Mar 4, 2008 07:55 AM you'll see I mentioned that when we upgraded from JBM 1.4.0.GA to JBM1.4.0.SP3, we did not bring across our customizations (those two attributes specifically). In other words, under JBM 1.4.0.GA, we'd customized our connection-factories-service.xml to include those attributes. Then when we upgraded to JBM 1.4.0.SP3, we did not apply those customizations again. This is when we experienced the problem. However, after re-adding those customizations, everything works. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134269#4134269 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134269 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Do we really need
think the other way around. do not move the node, move the tokens. Give each a none meaningful transition (or even use a decsionnode, even better) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134272#4134272 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134272 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Swimlane
start states are currently not assignable this way. They are assigned to the actor who starts it. See jira for this issue. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134275#4134275 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134275 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: MappingException: Repeated column in mapping for entity
did u managed to work it out? im getting the same error ,,, :( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134276#4134276 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134276 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Bridge problems across two clusters
I have looked at these links (http://wiki.jboss.org/wiki/Wiki.jsp?page=HowDoIConfigureAnMDBToTalkToARemoteQueue[/url] [url]http://wiki.jboss.org/wiki/Wiki.jsp?page=HowDoIConfigureAnEJB3MDBToTalkToARemoteQueue) on the wiki and I don't think they address my question which is how do I configure a provider to point to the two (or more) nodes in a cluster, if at all that is possible. Is there another link that provides this info? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134277#4134277 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134277 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: [Help] Resources In Jars in Deployment EAR
Which version of JBoss? And how does your code try to load the CatalogManager.properties file? And what are the contents of your application.xml file? Please also post the (probably huge) output of the following command: jar -tf myApp.ear where myApp.ear is the name of your ear file. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134279#4134279 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134279 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Swimlane
Thanks Ronald, but in the next node: | state name='firstState' | task name='prova' swimlane='StartProcessActors'/task | transition to='secondState' / | /state | the MyAssignmentHandler is never called too View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134281#4134281 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134281 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - How to get applicationname (name of the ear) from FacesConte
Hi, I'm porting an application deployed in WebSphere ApplicationServer to jboss. In this context I have to generate a lookupname to a SessionBean dynamically. The SessionBean is deployed with JNDIName earname/Beanname/local. For WebSphere the following call is implemented: | String appName = (String)FacesContext.getCurrentInstance().getExternalContext().getApplicationMap().get(com.ibm.websphere.servlet.enterprise.application.name); | How can I get the applicationname (name of the ear) in jboss ? I'm using jboss-5.0.0.Beta4. Any ideas welcome. Annegret View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134283#4134283 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134283 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Can't leave node ... without leaving transition
Hi pojomonkey, I resolved the problem making the documentation control node a state node type. Thank you very much once again. Best Regards, Victor View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134288#4134288 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134288 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Strange behaviour when using fork
it's rather not really easy in the current implementation of the core since it is dependent on the node. The generic actionhandler base then has to have knowledge about which nodes. In the pvm (basis of 4.0) things will change View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134287#4134287 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134287 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Do we really need
kukeltje wrote : think the other way around. do not move the node, move the tokens. Give each a none meaningful transition (or even use a decsionnode, even better) yes, i used decision node and transitions, and moved the tokens instead of the node. but then my xml is full of transition/ and decision/ placed after each node. the transition web looks even worse in gpd. btw, i forgot to use [ code ] tags on my previous post. it should be anonymous wrote : | nowhere in the other nodes we have to declare | should be anonymous wrote : | nowhere in the other nodes we have to declare transition to=ttt/ | and anonymous wrote : | ...without cluttering my html with s | should be anonymous wrote : | ...without cluttering my html with transition/ | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134290#4134290 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134290 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Runtime classloader cannot be null
I have the same issue using jboss-4.2.2.GA and JBossWS2.0.1SP2 or JBossWS2.0.3. I need to make my .war dependent on the service that provides the data being served by the web service. My .war contains a single class; it uses @WebService and @WebMethod to tag what needs to be exposed to the wsdl. I used a depends element in jboss-web.xml to make the .war dependent on the service. Unfortunately it appears that the DeploymentAspectManagerImpl is executing despite the .war still waiting for creation/startup. My guess is that JAXWSMetaDataBuilderJSE then tries to pull the classloader while the .war is in this state and receives null. Is there another way to accomplish this dependency? Here's a snippet of the log after the interceptors have been set up: | 2008-03-05 10:08:22,953 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying TEST.war | 2008-03-05 10:08:22,953 DEBUG [org.jboss.deployment.MainDeployer] Begin deployment start file:/C:/jboss-4.2.2.GA/server/default/deploy/TEST.war/ | 2008-03-05 10:08:22,953 DEBUG [org.jboss.system.ServiceController] starting service jboss.web.deployment:war=TEST.war,id=-1578707402 | 2008-03-05 10:08:22,953 DEBUG [org.jboss.system.ServiceController] Start requested before create, calling create now for service: jboss.web.deployment:war=TEST.war,id=-1578707402 | 2008-03-05 10:08:22,953 DEBUG [org.jboss.system.ServiceController] Creating service jboss.web.deployment:war=TEST.war,id=-1578707402 | 2008-03-05 10:08:22,953 DEBUG [org.jboss.system.ServiceController] waiting in create of jboss.web.deployment:war=TEST.war,id=-1578707402 waiting on test.test:service=TEST.0 | 2008-03-05 10:08:22,953 DEBUG [org.jboss.system.ServiceController] waiting in start jboss.web.deployment:war=TEST.war,id=-1578707402 on test.test:service=TEST.0 | 2008-03-05 10:08:22,953 DEBUG [org.jboss.wsf.container.jboss42.JAXWSDeployerHookPostJSE] deploy: TEST.war | 2008-03-05 10:08:22,953 DEBUG [org.jboss.wsf.framework.DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.deployment.DeploymentAspectManagerFactory' | 2008-03-05 10:08:22,953 DEBUG [org.jboss.wsf.framework.DefaultSPIProvider] class org.jboss.wsf.spi.deployment.DeploymentAspectManagerFactory Implementation: [EMAIL PROTECTED] | 2008-03-05 10:08:22,953 DEBUG [org.jboss.wsf.framework.deployment.DefaultDeploymentAspectManagerFactory] DeploymentAspectManager for: WSDeploymentAspectManagerPostJSE | 2008-03-05 10:08:22,953 DEBUG [org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl] RuntimeLoaderDeploymentAspect:Create | 2008-03-05 10:08:22,953 DEBUG [org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl] JAXBIntroDeploymentAspect:Create | 2008-03-05 10:08:22,953 DEBUG [org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl] UnifiedMetaDataDeploymentAspect:Create | 2008-03-05 10:08:22,953 DEBUG [org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilderJSE] START buildMetaData: [name=TEST.war] | 2008-03-05 10:08:22,953 ERROR [org.jboss.deployment.MainDeployer] Could not start deployment: file:/C:/jboss-4.2.2.GA/server/default/deploy/TEST.war/ | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134298#4134298 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134298 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Runtime classloader cannot be null
I forgot to mention I'm not using a loader-repository. My jboss-web.xml looks like this: | ?xml version=1.0 encoding=UTF-8? | | !DOCTYPE jboss-web PUBLIC -//JBoss//DTD Web Application 2.4//EN http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd; | | | jboss-web | | dependstest.test:service=TEST.0/depends | | /jboss-web | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134301#4134301 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134301 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - [4.2.2] NameAlreadyBoundException on deploy when binding Use
Hi ! Server configuration: jBoss 4.2.2 GA I have an EAR with 2 EJB3 jars and 3 WARs. When Jboss starts and try to deploy the third war, I get this exception : anonymous wrote : | org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameAlreadyBoundException) | at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:384) | at org.jboss.web.WebModule.startModule(WebModule.java:83) | at org.jboss.web.WebModule.startService(WebModule.java:61) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | 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) | [...] | Caused by: javax.naming.NameAlreadyBoundException | at org.jnp.server.NamingServer.bind(NamingServer.java:144) | at org.jnp.interfaces.NamingContext.bind(NamingContext.java:591) | at org.jnp.interfaces.NamingContext.bind(NamingContext.java:552) | at org.jboss.web.AbstractWebDeployer.parseWebAppDescriptors(AbstractWebDeployer.java:495) | at org.jboss.web.AbstractWebDeployer$DescriptorParser.parseWebAppDescriptors(AbstractWebDeployer.java:878) | at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:159) | at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104) | at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375) | at org.jboss.web.WebModule.startModule(WebModule.java:83) | at org.jboss.web.WebModule.startService(WebModule.java:61) This happens on the 3rd war only, If I change the order of the wars deployed, it does only fail on the 3rd one. No matter which war it is. If I deploy only 2 wars it works perfectly for any combination of the 2. ??? Before all 3 wars used to deploy good when my EAR consisted of: 3 WARs and 2 EJB JAR ( but only one EJB3, the other one EJB2.1), Just recently I converted the other EJB jar to EJB3. Sinc ethen I can't deploy any 3rd WAR in my EAR. Any idea of what could be causing a problem. I see in the logs that the binding of UserTransaction is done succesfully multiple times for all the other deployment (mines and jboss's one) Thank you in advance ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134302#4134302 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134302 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: messages stuck in queues
I want to try and replicate this on this end. Can you give me more information on your setup? Size of messages, number of messages, number of consumers etc etc. so we can replicate something similar? And what I should do to replicate? Looking at the code the only time consumecount gets modified outside the lock is on failover - when you replicate the issue do you need failover to occur? (The default values for prefetchSize and slowConsumers are 150 and false respectively so you have effectively just increased the prefetchsize to resolve the issue.) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134308#4134308 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134308 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Hot deployment scanner deploys files which were meant to
Updated the issue http://jira.jboss.com/jira/browse/JBAS-5209 with a patch View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134312#4134312 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134312 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Advanced Documentation] - Re: cannot acces application from remote sytem
Please do not post the same question on multiple forums. http://www.jboss.com/index.html?module=bbop=viewtopicp=4134155 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134314#4134314 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134314 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: In trouble with Jboss Application Server
thx for ur answer jaikiran, im using 4.2.0.GA, but i had executed run.bat -b 0.0.0.0, and after that i had been capable of accessing the server trought a web browser writing the ip and accessing by the port 8080. Is that the right way? and what about my first question? thx again jaikiran, im a noob at this ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134317#4134317 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134317 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: cannot acces application from remote sytem
Did you read the release notes (readme.html)? First bullet item under JBOssAS 4.2.0 in the Configuration Issues section. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134319#4134319 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134319 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Does Jboss require a specific OS?
All that you need is a certified JDK. The Java environment that comes with most Linux distros is not adequate, you will have to get the one from Sun. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134323#4134323 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134323 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: messages stuck in queues
No, we're not running a cluster, thus no failover. I'll need to come back to you wrt the requested information. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134324#4134324 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134324 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Portlet in multiple columns
[EMAIL PROTECTED] wrote : You would need to create your own layout And where can I find further information about that? I've looked at JBoss Portal Reference Guide already. Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134325#4134325 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134325 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: [Help] Resources In Jars in Deployment EAR
This is JBoss 4.0.5 The CatalogManager.properties is being loaded via an encapsulation of the Apache Commons Configuration API. Within the same jar file that contains the various properties files, we store a common-config.xml file that is read in through a .class.getResource(common-config.xml) call. This contains an XML listing of what properties to load. I am unfortunately unable to post the output of my EAR to this website, as the information about my software is propietary... In my quoted post, I changed the names of the files in order to mask the product. What were you looking for specifically? I don't think I could post the contents of our EAR without permission. Below is the application.xml for the EAR. ?xml version=1.0 encoding=UTF-8? | !DOCTYPE application PUBLIC -//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN http://java.sun.com/dtd/application_1_3.dtd; | application | display-nameecore-ear/display-name | module | ejbeebs-ejb-jar-5.1.0.0.jar/ejb | /module | module | ejbadf-ejb-jar-5.1.0.0.jar/ejb | /module | module | ejbtolec-ejb-jar-5.1.0.0.jar/ejb | /module | module | ejbecore-ejb-jar-5.1.0.0.jar/ejb | /module | module | web | web-urilicense.war/web-uri | context-root/license/context-root | /web | /module | module | web | web-uridiagnostic.war/web-uri | context-root/diagnostic/context-root | /web | /module | module | web | web-urigeneric.war/web-uri | context-root/ecore/context-root | /web | /module | module | web | web-urismartsign.war/web-uri | context-root/smartsign/context-root | /web | /module | module | web | web-urismartsigndemo.war/web-uri | context-root/smartsigndemo/context-root | /web | /module | module | web | web-uritolec.war/web-uri | context-root/tolec/context-root | /web | /module | module | web | web-uricommandcenter.war/web-uri | context-root//context-root | /web | /module | module id=custom-app-dealertrack | web | web-uridealertrack.war/web-uri | context-root/dealertrack/context-root | /web | /module | security-role id=SecurityRole_1 | role-nameauthority-administrator/role-name | /security-role | security-role id=SecurityRole_2 | role-nameeebsInternalJMSAccess/role-name | /security-role | security-role id=SecurityRole_3 | role-nameeebsTopicListener/role-name | /security-role | /application View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134331#4134331 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134331 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Does Jboss require a specific OS?
that's awesome View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134332#4134332 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134332 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Jboss 4.2.2 with hibernate-entitymanager-3.3.1.GA
anonymous wrote : I dont want to use hibernate jars which comes in Jboss4.2.2 distribution. These jars are old (3.2.1). JBoss-4.2.2 ships with 3.2.4.sp1. anonymous wrote : I want to use the latest version with Jboss4.2.2. Its definitely possible to use a different version of Hibernate with JBoss-4.2.2. All you have to do is configure the isolation correctly and package all the appropriate Hibernate and other related jars in your application. There was a similar thread where this was discussed, see this (a bit lengthy) thread http://www.jboss.com/index.html?module=bbop=viewtopict=120419postdays=0postorder=ascstart=0 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134334#4134334 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134334 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user