[jboss-user] [JBoss Tools (users)] - Re: Validate (Eclipse Seam Validator) problem
Agreed - please put it in jira. thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171946#4171946 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171946 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: JAAS Authentication from stand alone client
No Help? I think I have to explain more.. I have an already running application in weblogic and whose username, passowrd validation is done using jaas and all other role based autherisation checks are done programaatically and i want to port the application to JBoss. But in Jboss, it seems it support only declarative security and it always requires Roles.. Am I correct? I have a bean which will do the username and password verification with db and from my login module I want to call this bean rather than configuring query with the login module. Someone please respond View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171945#4171945 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171945 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Difference between the process definition languages.
Hi, I am new to workflows and the workflow engines. I read on the site that : jBPM already supports 3 very different process languages: jPDL, WS-BPEL and Seam Pageflow. What is the difference between each of these process languages? Which is the best to use and why ? If I am not using Jboss and instead using Tomcat, can I still use jBPM and its process languages? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171939#4171939 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171939 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Is there any way to turn off logging completely? (3.2 GA)
We have an application that runs jboss BPM without ever persisting the process states to a database. We recently realized that our VM sizes were increasing because of the logging records that are kept in transientinstances in our process instances. The online manual says you can turn off logging by removing the logging line copying the jbpm-context section from default.jboss.cfg.xml to jboss.cfg.xml and by removing the line that includes service name='logging' I'm not sure what that really does. It turns out that this does not actually terminate the logging. Logging Instances are still created and filled with data. ProcessInstance constructor calls Token.addLog(ProcessLog) Token.addLog(ProcessLog) calls processInstance.getInstance(LoggingInstance.class) processInstance.getInstance() always creates a LoggingInstance as a fallback and attaches it to the token This means that there is always a LoggingInstance() tied to the token so logging always gets captured and hangs around. I don't see any way to not end up with a LoggingInstance. I couldn't find anywhere that the services as named in jbpm.cfg.xml were looked up and used in our application. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171933#4171933 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171933 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Validate (Eclipse Seam Validator) problem
I've noticed a small problem with the Seam Validator in the jboss Tools plugin. The problem occurs if you have an attribute on a class where the second letter of the attribute is a capital letter. eg. | private GekkoMoney aRP; | Now according to java standards the getter for this property would be. | public GekkoMoney getARP() { | return aRP; | } | Thus you would expect to reference the property in your xhtml EL expressions like this. | #{item.debitControlChange.ARP} | The above el expression works but, the Seam Validator gives me this error when validating the expressions on the page. "ARP" cannot be resolved. It would seem that the EL resovler used when the page is running in the web app looks for the method getARP() which it finds. But the seam validator is looking for the property ARP which of course it doesn't find. Shouldn't the validation use the same technique to test if an EL expression is valid or not? It is rather annoying for the validation to say the expression is wrong when it is not wrong. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171932#4171932 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171932 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JSAFE_InputException During Jboss Start Up
I did try to work with the manufacturer. Didn't have any info. I am using a new version of CA Site Minder ver r12 which uses an Admin UI deployed on an app srv in this case JBOSS. The app has to connect to a directory and create a user. CA Directory is the directory server that I am using. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171930#4171930 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171930 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss AS 4.2.3 start as service question
I have JBoss AS 4.2.3, if I start it as a service at boot, JBoss starts but Tomcat does not. However, I can start it manually by running run.sh and it all works correctly. What I mean is, if I boot the computer, then I can go to http://localhost:8080 and the JBoss page is displayed. If I click on any of the JBoss Management links (Tomcat, JMX Console, or JBoss Web Console) I get an "Unable to connect" error. Please help. Here is my /etc/rc.d/init.d/jboss: #! /bin/sh JBOSS_LOG_FILE=/var/log/jboss JBOSS_HOME=${JBOSS_HOME:-"/usr/local/jboss-4.2.3.GA"} start(){ echo "Starting jboss.." # If using an SELinux system such as RHEL 4, use the command below # instead of the "su": # eval "runuser - jboss -c '/opt/jboss/current/bin/run.sh > /dev/null 2> /dev/null &' # if the 'su -l ...' command fails (the -l flag is not recognized by my su cmd) try: # sudo -u jboss /opt/jboss/bin/run.sh > /dev/null 2> /dev/null & su -l jboss -c '$JBOSS_HOME/bin/run.sh 2>&1 $JBOSS_LOG_FILE &' } stop(){ echo "Stopping jboss.." # If using an SELinux system such as RHEL 4, use the command below # instead of the "su": # eval "runuser - jboss -c '/opt/jboss/current/bin/shutdown.sh -S &' # if the 'su -l ...' command fails try: # sudo -u jboss /opt/jboss/bin/shutdown.sh -S & su -l jboss -c '$JBOSS_HOME/bin/shutdown.sh -S &' } restart(){ stop # give stuff some time to stop before we restart sleep 60 # protect against any services that can't stop before we restart (warning this kills all Java instances running as 'jboss' user) su -l jboss -c 'killall java' # if the 'su -l ...' command fails try: # sudo -u jboss killall java start } case "$1" in start) start ;; stop) stop ;; restart) restart ;; *) echo "Usage: jboss {start|stop|restart}" exit 1 esac exit 0 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171922#4171922 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171922 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - PermGen issues using EJB 3.0 on Jboss 4.2.2.GA
Hi, I have simple application using EJB 3.0 entity beans running on jboss 4.2.2.GA. Application is running into permgen out of memory after some 250 invocations. Is there any way I can fix it other than increasing max perm size? Thanks in advance, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171913#4171913 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171913 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: PermGen leak when passing detached entities over remote
Sorry for asking now. Is any body had a solution for this? I am into same situation now. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171910#4171910 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171910 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Stateless Session Bean pool MaximumSize with strictMaxim
Thanks for the response rmurugs. Unfortunately what you've suggested doesn't comply with the dtd: http://www.jboss.org/j2ee/dtd/jboss_4_2.dtd and won't build. Is there any other way I can enforce StrictMaxPool? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171907#4171907 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171907 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: How to reliably count active sessions (re-post)
Hi Kees, I wish I could upgrade the JDK. I use this JDK because it is the version that is supported by the vendor of the web application - if I use something else then the software is technically not supported. You say... anonymous wrote : JBoss is built on top of JMX and that shows. Good thing is that what you want to monitor is there. It's just a matter of isolating it in the barrage of mbeans and attributes. Unfortunately I have no idea what to look for - I wouldn't know what to look for even if I got jconsole working. What I can tell you is that the information I want is viewable via the Management Console using the following click path: Monitoring > Web Status > Full Status > under the Application List I click the link for the application > localhost/Saba It jumps to the point on the page where it shows the info I want. Of all the attributes listed, the one I most need is "Active Sessions"; followed by "Average session alive time". The others I don't really need. The actual application is deployed as saba.ear, and in the ear file is saba.war. Does that help you to identify the object name/attribute of an MBean? If I know what those details are, perhaps someone else on this forum can help me to figure out how to use twiddle. Cheers, Paul View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171906#4171906 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171906 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JSAFE_InputException During Jboss Start Up
What software are you using to connect to the CD directory? Did you ask the makers of that software for help? The error is being reported by a class that is not part of JBossAS so you might not get that much help here. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171904#4171904 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171904 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: JSP tag issue when Migrating from weblogic to jboss
There is something about this I do not understand. To me, onClick is a JavaScript element - that it, it identifies JavaScript run by the browser. Therefore, I would suspect that it is more subject to the browser than to the app server. I create a JSP with onclick and onClick and it was converted into a servlet and ran just fine. Perhaps if you could post a simple JSP, and the console log stack trace, that illustrates the problem it would be helpful. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171899#4171899 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171899 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] Delivery Failure
- The message you sent to herkesdinlesin.com/herkesdinlesin.com was rejected because the quota for the mailbox has been exceeded. The subject of the message follows: Subject: =?windows-1251?B?yO307vDs4Pbo/yDuIMHl6+7pIOfg8O/r4PLlINHu4uvg5OXr/PbzIA==?= - ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - JSAFE_InputException During Jboss Start Up
I'm getting the following error when attempting to start my app in Jboss. Has anyone seen or heard of this error before. I'm running Jboss 4.0.5 on Win2k3 SP2 R2 and I'm attempting to connect to CA DIrectory 8.1 on Windows using a directory.xml file. The error is below. 21:22:54,000 ERROR [PBESHA1RC2CBCPKCS12PBE5128Handler] com.rsa.jsafe.JSAFE_InputException: invalid character 21:22:54,000 INFO [deploy] 21:22:54,000 INFO [deploy] An error occurred while configuring Identity Manager. Reverting configured objects... 21:22:54,000 ERROR [EnvironmentService] Deploying directory directorynoclear.xml java.lang.NullPointerException View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171895#4171895 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171895 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: SQL query missinterperted in JBOSS. How can I correct it
The three error lines you posted, where are those appearing? As part of an exception stack trace in console log? If so, please post the full stack trace for one of the error messages. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171893#4171893 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171893 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: SQL query missinterperted in JBOSS. How can I correct it
Hi PeterJ Here are the parameters in table: last_updt_tmsp last_updt_user appl_version default_archive_days default_fund_type email_protocol general_info license_key id password_expir_days smtp_account smtp_host reg_instr site_ip_addr pd_version the first one which causing the troube appears in the table like this: last_updt_tmsp: 06/10/2008 21:51:52:610. Also some of the parameters are null or zero. Best Regards Badam571 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171892#4171892 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171892 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: SQL query missinterperted in JBOSS. How can I correct it
Hi PeterJ Here is the sql statment passed in the parameter called sqlcommand SELECT convert(varchar(12), pdl_site.last_updt_tmsp, 101) + " " + convert(varchar(8), pdl_site.last_updt_tmsp, 108) + ":" + right("00" + datename(ms,pdl_site.last_updt_tmsp), 3) last_updt_tmsp, pdl_site.last_updt_usr, pdl_site.appl_version, pdl_site.default_archive_days, pdl_site.default_fund_type, pdl_site.email_protocol, pdl_site.general_info, pdl_site.license_key, pdl_site.id, pdl_site.password_expir_days, pdl_site.reg_instr, pdl_site.smtp_account, pdl_site.smtp_host, pdl_site.site_ip_addr, pdl_site.pd_version FROM pdl_site this sql statment working for long time with the pervious sliverstream server as is, now we are trying to migrate to JBOSS, it is no longer working. You can see that, there are ":", "", "00" in the parameter names. The error generated is the following: Invalid column name ' '. Invalid column name ':'. Invalid column name '00'. On the server console, the connection is open, data-source is fine, but the above execute(sqlcommand) is returning false. Best Regards badam571 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171891#4171891 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171891 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Stateless Session Bean pool MaximumSize with strictMaxim
in jboss.xml , add this and try out. ejbName org.jboss.ejb3.StrictMaxPool 5 6 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171888#4171888 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171888 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Apache as DNS
Hi , Itôs me again, First Iôll tell the story, I already found how to configure the mod_jk of apache to forward the request to my server application (JBOSS), I did all with the workers.properties, uriworkers.properties, etc. my workers.properties I defined a node1 like this. worker.node1.port=8009 worker.node1.host=10.34.180.46 worker.node1.type=ajp13 worker.node1.lbfactor=1 # worker.node1.connection_pool_size=10 (1) The host is the IP of my server, well, I enter to http://localhost/web-console, that means, I dont use the port 8080 to access JBOSS because the module mod_kj.so helps me to forward it, but I have a question, Where do I have to change or which file has to be changed in order that Apache respons with a DNS name?, for example . http://rocky.webpage/web-consle, and in that URL it displays me the Web Console of Jboss, thanks by the way View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171887#4171887 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171887 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: SQL query missinterperted in JBOSS. How can I correct it
What do you meant by "Any concatenated parameter name with white spaces was wrongly read." An example would be helpful (the code you posted uses a variable name for the sql statement so we have no idea what that statement contains). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171882#4171882 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171882 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - SQL query missinterperted in JBOSS. How can I correct it?
Hi everyone This is really an embarassing issue. I am using JBOSS & Sybase. In the following statement: Statment stmt = connection.createStatement(); boolean results= stmt.execute(sqlCommand); When I ran the query directly from sql client, it ran correctly. But when ran it from the application, it missed interperted the sql statement. Any concatenated parameter name with white spaces was wrongly read. Is there anyone has any idea? Best Regards badam571 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171879#4171879 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171879 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - 2 server sync - help on where to start!
Hi I have a JBoss server running happily with my app, using an hsql db as its data source, and writing back to the database. The browsers connecting via the internet from the far east have very slow connections to the server. So I would like to deploy another server more local to these clients. However, I need to keep the 2 servers synchronised and the database synchronised. Its a bit like a cluster, but with 2 databases too. I'm not sure how to go about this, whether I can do something with the 2nd level cache, the database.. I would really appreciate anyone pointing me in the right direction - I am rather at a loss as to what is the best solution.. Thanks to anyone who has any ideas. simon View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171874#4171874 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171874 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Human Task Example
"[EMAIL PROTECTED]" wrote : | Indeed, at some point jBPM BPEL users will have the option to migrate to Orchestra just like jPDL 3 users will be able to transition to jPDL 4. For BPEL users the migration path should be easier because WS-BPEL is a fixed standard. | That's a very interesting thing!! But if in the future I want to use JBoss and BPEL, you mean Orchestra will be the best option? What will happen with jBPM-BPEL? It won't be integrated with PVM? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171870#4171870 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171870 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WS-Security: possible bug with MTOM
Sorry, here is my config: jre 1.6.0_07, JBoss 5.0.0CR1, jbossws-3.0.2. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171867#4171867 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171867 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: How to reliably count active sessions (re-post)
Oh, and upgrade the app server to 1.5. ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171866#4171866 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171866 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: How to reliably count active sessions (re-post)
Dear Paul, *ouch* JDK 1.4 is indeed not the best JDK to have from a sysadmin point of view. It basically makes you blind and deaf. Something like twiddle was what I had in mind. I never used it myself (I use Zapcat and Zabbix for monitoring, and jconsole for occasional troubleshooting). I'm afraid that I cannot help you with making it work. I'm sure this forum and Google will provide ample support, though. Jmx-console is JBoss' web-based version of JConsole and it's indeed massive. JBoss is built on top of JMX and that shows. Good thing is that what you want to monitor is there. It's just a matter of isolating it in the barrage of mbeans and attributes. :-) There is plenty of information out there to get you started with jconsole. Search for posts of Peter Johnson on this forum. Here is something to get you started: http://www.cecmg.de/doc/tagung_2007/agenda07/24-mai/2b4-peter-johnson/index.html Please be aware that JMX uses RMI as a transport, and that RMI uses dynamically allocated ports. Check that you don't have a firewall interfering. Kees Jan http://java-monitor.com/forum View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171865#4171865 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171865 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - WS-Security: possible bug with MTOM
Hi, I use MTOM to send zip archive with WS response, and it works like a charm. However, when I add support for WS-Security, all web methods which send plain XML response, succeed, but the method which responds with ZIP file attached using MTOM, I get an Exception: 14:59:47,457 ERROR [SOAPFaultHelperJAXWS] SOAP request exception | org.jboss.ws.WSException: No ByteArrayConverter for content type: application/zip | at org.jboss.ws.core.utils.MimeUtils.getConverterForContentType(MimeUtils.java:217) | at org.jboss.ws.extensions.xop.XOPContext.replaceBase64Representation(XOPContext.java:290) | at org.jboss.ws.extensions.xop.XOPContext.restoreXOPDataDOM(XOPContext.java:266) | at org.jboss.ws.extensions.xop.XOPContext.restoreXOPDataDOM(XOPContext.java:275) | at org.jboss.ws.extensions.xop.XOPContext.restoreXOPDataDOM(XOPContext.java:275) | at org.jboss.ws.extensions.xop.XOPContext.restoreXOPDataDOM(XOPContext.java:275) | at org.jboss.ws.core.soap.SOAPContentElement.handleMTOMTransitions(SOAPContentElement.java:600) | at org.jboss.ws.extensions.xop.RestoreXOPElementVisitor.visitSOAPContentElement(RestoreXOPElementVisitor.java:73) | at org.jboss.ws.core.soap.SOAPContentElement.accept(SOAPContentElement.java:611) | at org.jboss.ws.extensions.xop.RestoreXOPElementVisitor.visitXOPElements(RestoreXOPElementVisitor.java:54) | at org.jboss.ws.extensions.xop.RestoreXOPElementVisitor.visitXOPElements(RestoreXOPElementVisitor.java:63) | at org.jboss.ws.extensions.xop.XOPContext.visitAndRestoreXOPData(XOPContext.java:246) | at org.jboss.ws.core.jaxws.handler.HandlerDelegateJAXWS.callResponseHandlerChain(HandlerDelegateJAXWS.java:109) | at org.jboss.ws.core.server.ServiceEndpointInvoker.callResponseHandlerChain(ServiceEndpointInvoker.java:132) | at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:267) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:466) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:284) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:201) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:134) | at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:183) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:189) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:90) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:96) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:325) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) | at java.lang.Thread.run(Unknown Source) | application/zip is a standard MIME-type. Is this a bug or my fault? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171864#4171864 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171864 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org
[jboss-user] [JBoss jBPM] - xml schema for gpd.xml
I generate a processdefinition.xml automatically. Unfortunately the process graph doesn't look very nice without the gpd.xml. So I also want to generat the gpd.xml automatically using JAXB. But I haven't found a xml schema yet. Does somebody know where I can find a xml schema file (*.xsd) for the gpd.xml files? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171862#4171862 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171862 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Problem with: rich:modalPanel & h:selectOneMenu
Hi! I'm new with rich faces and I need some help. My problems appears when I try to use a rich:modalpanel. When it appears after clicking a button, all controls are blocked except the h:selectOneMenu. And I don't know why :( I have searched a lot and I couldn't find the solution to this problem Can someone help me? I'm using: IE 6.0.2900 / rich faces 3.1.5 / my faces 1.1.5. Thanks! Sergio. http://img65.imageshack.us/img65/5679/errorcq2.jpg | | | | | | | | | | | | | | ... | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171858#4171858 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171858 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Problem consuming .net webservice with jbossws-3.0.1-nat
Claudio, I'm facing the same problem. I need consume web services behind a proxy server. Did you resolved it? Felipe. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171857#4171857 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171857 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Consuming rpc/encoded WS
Hi, I have deployed application, that has some WS developed on JAX-WS. This WS are consumed by other applications so cannot change them. Now i have this third party WS that i have to consume, but they are developed with NuSOAP(php) and are rpc/encoded. As JAX-WS doesn't support rpc/encoded i cannot use the wsconsume, what is best way to consume this webservices? Environment: Java 5 JBoss 4.2.2 jbossws-3.0.1-native-2.0.4.GA Seam 2.0.2SP1 Regards. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171848#4171848 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171848 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Load Balancing Multiple Instances
All: Quick question (and if this is the wrong place to post, feel free to correct me): We run multiple instances of jboss on a single machine. We would like to insure that there is no way for one instance to dominate the resources on that box (to the detriment of other instances). Is there a config parameter that goes into either the jboss config or the configs for the instances that can limit how much resources they consume? Thanks in advance. RJL View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171844#4171844 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171844 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - HEURISTIC_HAZARD error
I was getting the following error: | 2008-08-21 00:37:39,572 [JMS SessionPool Worker-24] WARN com.arjuna.ats.jta.logging.loggerI18N - [com.arjuna.ats.internal.jta.resou | rces.arjunacore.preparefailed] [com.arjuna.ats.internal.jta.resources.arjunacore.preparefailed] XAResourceRecord.prepare - prepare f | ailed with exception XAException.XA_RETRY | 2008-08-21 00:37:39,572 [JMS SessionPool Worker-24] WARN com.arjuna.ats.arjuna.logging.arjLoggerI18N - [com.arjuna.ats.arjuna.coord | inator.BasicAction_50] - Prepare phase of action -53eef977:8064:48ad0dd3:d296c received heuristic decision: TwoPhaseOutcome.HEURISTI | C_HAZARD | 2008-08-21 00:37:39,572 [JMS SessionPool Worker-24] WARN com.arjuna.ats.arjuna.logging.arjLoggerI18N - [com.arjuna.ats.arjuna.coord | inator.BasicAction_36] - BasicAction.End() - prepare phase of action-id -53eef977:8064:48ad0dd3:d296c failed. | 2008-08-21 00:37:39,572 [JMS SessionPool Worker-24] WARN com.arjuna.ats.arjuna.logging.arjLoggerI18N - [com.arjuna.ats.arjuna.coord | inator.BasicAction_37] - Received heuristic: TwoPhaseOutcome.HEURISTIC_HAZARD . | 2008-08-21 00:37:39,572 [JMS SessionPool Worker-24] WARN com.arjuna.ats.arjuna.logging.arjLoggerI18N - [com.arjuna.ats.arjuna.coord | inator.BasicAction_38] - Action Aborting | This was being thrown from an MDB. I increased the -Xss jvm size to 512K and the problem seems to have been resolved. What things might cause the error above? Could memory issues cause the problem above? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171846#4171846 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171846 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: How to reliably count active sessions (re-post)
"kjkoster" wrote : Dear Paul, | | All of this information is available through JMX. If you want that information in a file (presumably to feed it into a monitoring system) there are a few JMX command line tools. Failing that you can also use curl or wget to query the JBoss console. Crude, but effective. | | Suggested course of action: | 1. Hook up jconsole to JBoss (as per http://wiki.jboss.org/wiki/UseJDK5JConsole). | 2. Determine the objectname and the attribute of the mbean that shows the sessions you want to track. | 3. find a JMX command line tool (as per http://www.google.com) | 4. Script away | 5. ??? | 6. Profit! | | Hope this helps. | -- | Kees Jan | http://java-monitor.com/forum Hi Kees, I have been trying to get jconsole to work, but so far I haven't had any luck. Firstly I found that the JDK I am using (1.4.2_14, which is required by the application) doesn't have jconsole. So I installed JDK 1.5.0_15. When I launch jconsole and try to connect, I get a message in the little connection dialog saying "Connection failed". On my server, JBoss is listening on port 1098 (not 1099), but I wouldn't think this would make a difference. I am able to browse to http://localhost:8180/jmx-console/, and I get a huge long page with a heap of stuff I don't understand. Can I use this instead of the jconsole Java application? In my search for a JMX command line tool, I found some references to twiddle. I have found twiddle is on my server (I believe it is part of JBoss), but when I try executing a command like: twiddle -s localhost:1098 serverinfo -l it sits there for ages and does nothing. I left it for about 20 minutes, and nothing happened. Is twiddle the kind of thing you had in mind for allowing me to retrieve the values I am looking for? Cheers, Paul View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171840#4171840 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171840 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Eviction node event queue warning
anonymous wrote : I'm not sure that it is good to have a thread every 1 seconds cleaning the cache This parameter doesn't clean cache - just configure period of scanning cache queue to plan cleaning. On heavy load this parameter sometimes would be set to milliseconds (it is not available feature). Try 1 second. This settings helps me in same problem, but maybe my load wasn't so high as yours. Maybe try increase size of region or divide objects into subregions (are you using hibernate ?) ps Post configurations with tags code. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171838#4171838 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171838 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: How to reliably count active sessions (re-post)
Hi Sacha You'll have to forgive my ignorance, but I have no idea how to use JSR-77. I did some Googling, and I'm afraid I understood almost nothing of what I found. As to viewing the code for web-console, I didn't know where this code would be, but I guessed it might be in D:\JBoss_Tomcat\server\default\deploy\management\console-mgr.sar\web-console.war. I wasn't sure what I was looking for, but I tried decompiling a bunch of class in console-mgr-classes.jar, but I couldn't find any reference to an attribute like "Max active sessions". Sorry if I'm being dim! Java and J2EE are definitely not my strong points. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171837#4171837 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171837 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: servlet: how to spawn all processors
I just now tried this on my Linux desktop at home and I saw all 4 CPUs in use. What Linux distro are you running? How are you verifying that only 2CPUs are in use? With JBossAS running, get the PID for it (you can find it via "ps -ef | grep java") and post the result from running this command (replacing with the PID for JBossAS): taskset -p If taskset indicates that the java process is affinitized to more than 2 CPUs, then kjkoster is correct in asserting that there is something about your app that is prevent proper parallelization. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171836#4171836 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171836 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - JSP tag issue when Migrating from weblogic to jboss
I am trying migrate our app from weblogic to jboss 4.2.1 GA. i am running into issue in JSPs where tomcat is not liking the syntax of the jsps and throwing erors. it used to work fine with weblogic.It is very hard to chnage the all the JSP as our app is ver huge.Is It possible to configure tomcat ignore erros . For example we wrote onClick instead of onclick which is not acceptable in tomcat but works fine in jboss. regards shiva View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171834#4171834 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171834 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Remember Me feature
Does anybody know how to enable/add a "Remember Me" feature in JBoss Portal ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171826#4171826 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171826 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: How to communicate between a SessionBean and a servlet?
OK ... it's as easy as moving the singleton POJO from the .war to the .jar, even though it is logically part of the web application logic. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171823#4171823 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171823 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem with depoly jbpm-bpel-1.1.1
Russian proverb: Perseverance wins. I know a little, in usergude is written that simply!!! But I had to configure Hibernate and JBoss. For me all was not simple. Well I know a little Hibernate and one secret ;-) I am already employed ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171822#4171822 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171822 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss as Windows service - stopping the service powers d
The service description looks OK, but I cringe at seeing JBossAS installed in Program Files - having spaces in a path can cause some Java libraries fits. I keep mine at d:\opt\jboss\jboss-4.2.3.GA. If you move it out of Program Files and the problem goes away, I will add this problem to my growing list of things that can go wrong when running Java apps in a path with spaces in it. I was hoping that "sc qc" would also list the services that the jboss service depends on, but it doesn't. Could you look that up in the services manager window? It is the Dependencies tab on the Properties dialog box for the service. Also, please provide the information I asked for in my prior post. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171821#4171821 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171821 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: JVM pauses periodically
Sounds like you are hitting a major collection - I can see that taking 4-30 seconds to clean up the tenured generation based on the heap size. You could greatly improve your performance by setting the young generation size. For details, see my presentation at http://www.cecmg.de/doc/tagung_2007/agenda07/24-mai/2b3-peter-johnson/index.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171818#4171818 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171818 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Can't remote to Jboss, -b 0.0.0.0 not working
Bombarta wrote : It's irrelevent simply because I've tried -b 0.0.0.0 from the cmd prompt as well as trying to include it in the executable line of run.bat . | | run.bat -b 0.0.0.0 You never come out and say it, but this statement implies that even when you use -b 0.0.0.0 to start the app server from the command line that you still cannot access the app server remotely. Is that really the case? If so, when you run from the command line, look for a a line that looks like: 2008-08-21 07:50:43,343 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080 It will be a few lines before the "Started in xxx seconds" line. The IP address mentioned here is what the port was bound to. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171817#4171817 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171817 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Deploying to a remote server - how do I do this?
I've searched this forum and struggled to find anything via Google. I'm trying to get the Codehaus jboss-maven-plugin to work using the target jboss:deploy (as opposed to harddeploy). There's some example code on their site (http://docs.codehaus.org/display/M2ECLIPSE/Using+Maven+with+application+servers#UsingMavenwithapplicationservers-JBoss), but the specified deployUrlPath value just makes Maven cry out in pain. I'd like to start by trying to understand how I can deploy something to a remote JBoss server without Maven. Is this possible? Can someone point me to the right documentation? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171816#4171816 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171816 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: JVM pauses periodically
Hmm. I'm curious, what is the machine doing during those 4-30 seconds? Is it burning CPU or I/O maybe? Is the JVM in RAM completely or are portions of it paged out to disk? You could run "vmstat 2" in a terminal next to "tail -f acces.log". As soon as you see the access log stall, check the vmstat to see what the box is doing, cpu or disk. Kees Jan http://java-monitor.com/forum View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171811#4171811 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171811 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: servlet: how to spawn all processors
Which leaves the question: are you sure that your application is written such that it does not serialize requests internally? If you have synchronisation bottlenecks you can start as many threads as you like, but only a few may actually be runnable. You can check samples of the state of your threads using jconsole. If you find that most of them are waiting, blocked on a lock of some kinds it makes no difference how many processors you have. So, what makes you so sure that all threads in your application are free to run? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171807#4171807 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171807 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Error [org.jboss.ha.framework.server.ClusterPartition]
The location you posted has me puzzled - besides a typo there is a directory missing. Is the location c:\jboss3.2.7\server\all\deploy or c:\jboss3.2.7\server\default\deploy? Are you starting the app server as: run -c all or just as: run If you are running 'all' then you cannot just comment out the offending line because it is required for the cluster. Instead, you need to supply it with the port number. If you are not running clustered, you should be running the 'default' config, not the 'all' config. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171802#4171802 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171802 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - How to communicate between a SessionBean and a servlet?
I need to move some information between an EJB SessionBean and a servlet. This is a push scenario - something has happened out in the world, this event finds its way to a SessionBean and I need to get it out to the browsers via an Ajax push mechanism. First attempt goes like this: (1) Make a POJO singleton object. (2) Have the servelets do wait( timeout ) on this singleton object. (3) Have the SessionBean call into the singleton object to pass it new data as and when it arises. (4) Have the singleton object wake up the waiting servlets and return the data to the browsers. The bit that doesn't work, with the POJO singleton in the .war file, is step (2), because I get NoClassDefFound, apparently because the EJB side of things and the web application use different class loaders. How can I communicate between a web application and a load of EJB stuff running in the same JBoss instance? - this can hardly be a rare thing to want to do! (I have found several pages on class loader mechanisms on the JBoss site but haven't found one that I can actually begin to understand.) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171799#4171799 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171799 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: How to reliably count active sessions (re-post)
Dear Paul, All of this information is available through JMX. If you want that information in a file (presumably to feed it into a monitoring system) there are a few JMX command line tools. Failing that you can also use curl or wget to query the JBoss console. Crude, but effective. Suggested course of action: 1. Hook up jconsole to JBoss (as per http://wiki.jboss.org/wiki/UseJDK5JConsole). 2. Determine the objectname and the attribute of the mbean that shows the sessions you want to track. 3. find a JMX command line tool (as per http://www.google.com) 4. Script away 5. ??? 6. Profit! Hope this helps. -- Kees Jan http://java-monitor.com/forum View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171797#4171797 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171797 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Problem in deploying web modules
Please post the contents of the war file using: jar -tf xxx.war View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171796#4171796 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171796 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss5 deployment scanner configuration
Are you asking, how to change the hot deployer scanner period in JBoss-5? You can find this in %JBOSS_HOME%\server\< serverName>\conf\profile-service.xml. Look for HDScanner which has a scanPeriod attribute. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171794#4171794 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171794 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Can't remote to Jboss, -b 0.0.0.0 not working
"Bombarta" wrote : The tool is irrelevent, but it's called "Java Service Wrapper". Rather than running JBoss from a CMD window, it runs it as a windows or linux service depending on your platform. It's irrelevent simply because I've tried -b 0.0.0.0 from the cmd prompt as well as trying to include it in the executable line of run.bat . | | It is relevant, because as Peter said, each service wrapper has its own way of accepting/passing the parameters for launching the app server. You can find more information about using Java Service Wrapper here http://wiki.jboss.org/wiki/RunJBossAsAServiceOnWindows. That wiki has an example of configuring the parameters through wrapper.conf file, which even includes the -b option. "Bombarta" wrote : | So what other info can I provide to help with my problem? Try out the instructions mentioned in the wiki. If it still does not work then let us know and also post the configuration file of your service wrapper. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171792#4171792 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171792 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jBPM-BPEL Supports ignoreMissingFromData?
Hi, Does anyone know if jBPM-BPEL supports ignoreMissingFromData on copy assignments. I have a lot of optional fields in my incoming XML and when I copy these to local variables in my flows, I want to avoid SelectionFailures. Thanks a lot! Fabiana View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171790#4171790 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171790 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - JVM pauses periodically
Hi, We are having trouble with our production application server; the JVM seems to pause from time to time. This is apparent both in lack of responsiveness, and gaps in the logs. Normally we have tens of log lines per second, but we see gaps where nothing is logged for anything from 4-30 seconds. The server is under constant load, and averages about 150 threads, peaking at about 300. It's running on 32 bit Ubuntu Server using the Sun 1.6.0-b105 JVM. The jvm is started with the following: JAVA_OPTS="-server -Xms2048m -Xmx2048m -XX:PermSize=128m -XX:MaxPermSize=128m We have a tool which graphs the memory pools of the JVM, and I can see that survivor space and eden space are running at high percentages, while heap usage stays around 20%, peaking at up to 70%. At present the JVM uptime is 203035600 and the following GC figures are as follows. PS Scavenge: CollectionCount (9364) CollectionTime (321892) PS MarkSweep: CollectionCount (57) CollectionTime (67529) >From my understanding of these figures, the throughput of the JVM seems ok to >me, and doesn't seem to account for the pauses. I occasionally take a thread dump and find deadlocked threads, but normally there are none. My questions are; what should I be monitoring? Can I tweak the JAVA_OPTS to change some (ratio?) settings? I've tried to find the right forum for this, so sorry if this isn't it. If you know a better place to ask, I'd be grateful. Thanks in advance, James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171776#4171776 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171776 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: servlet: how to spawn all processors
"kjkoster" wrote : "[EMAIL PROTECTED]" wrote : I did try the affinity setting (to 4 cpus for the app), but only 1-2 cpu busy. I guessed b/c all threads running in the same process from the main servlet. | | There is a fair chance that your application is not as thread-able as you think it is. Do you do any manual synchronisation, or do you make heavy use of libraries that do internal synchronisation? | | Use JConsole to check that you are not exhausting the Tomcat connector thread pools (or other pools) | | Also, check that you are running with the server VM http://www.java-monitor.com/forum/showthread.php?t=18. Thanks lots for the info, kjkoster. However, the -server or GC option didn't help. As metioned, running in multi-cores is very slow. and 1-2 cpus keep busy, which is not happened in 1-2 cores machine. The only thing I can think of is the JVM, RTSJ. or even 32/64 bits issue. -- John View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171772#4171772 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171772 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Eviction node event queue warning
Hello all, I'm working JBoss Cache 'Alegrias' 2.1.1.GA under Windows environment. Problem : under heavy load, I start receiving the following warning messages : WARNING: putNodeEvent(): eviction node event queue size is at 98% threshold value of capacity: 20 Region: /objects/users You will need to reduce the wakeUpIntervalSeconds parameter. Aug 21, 2008 3:54:32 PM org.jboss.cache.RegionImpl putNodeEvent I'm working in local configuration and I tried to reduce wakeup time to 5 seconds and it didn't help. This is a snapshot of my configuration : 5 org.jboss.cache.eviction.LRUPolicy 1 172800 3 18000 I'm using sun JVM - V1.6. What is the best method for solving this ? From reading in the forums I'm not sure that it is good to have a thread every 1 seconds cleaning the cache and I also feel like it might not solve the problem. Any help will do. Thanks, Elad. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171771#4171771 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171771 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - JAAS Authentication from stand alone client
Hi, I am new to JBoss and JAAS authentication. If someone can help me in the following it will be of great help. I want to validate my username and password from the database table and these values are captured via Java Swing standalone client. I dont have a concept of Role, I just want to validate the usename and password. I have created my Loginmodule which implements javax.security.auth.spi.LoginModule and its login method will call my DAO class and will do the validation of the username and password. And in the java swing client, I will get the username and password from the user. and will create the LoginContext and will call the login method. In the client side jaas configuration file I configured my login module and in the server login-context.xml, I declared my security domain. But how to link the sever side and client side? Where do I have to keep the LoginModule files in the client or server? What are all the configurations required in the client side? What are all the configurations required in the server side? Without the concept of Roles can we do the authentication using JAAS, if yes how? There are somany examples/articles on declarative authetication, Is there any article or example available for complete programatic authetication From a STAND ALONE client? where should I start? I am using JBOSS jboss-4.2.2.GA and cleint side java Swing If someone can direct me to the right direction, it will be of great help... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171768#4171768 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171768 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Trying to use jboss.xml instead of @WebContext
Hello, I am using the very latest: JBossAS 4.2.3.GA and JBossWS-Native 3.0.3.GA. When my EJB is coded as follows: @Stateless | @WebService( | serviceName="MyBasicWS", portName = "MyBasicWSSOAP", | targetNamespace = "http://www.example.org/MyBasicWS/";, | endpointInterface = "org.example.mybasicws.MyBasicWS") | @WebContext(authMethod="BASIC") | @RolesAllowed("friend") | public class MyBasicWSImpl { | public String echo(String in) { | System.out.println("RECEIVED: " + in); | return in; | } | } I use the following jboss.xml to set the security domain: http://www.jboss.org/j2ee/dtd/jboss_4_2.dtd";> | | java:/jaas/JBossWS | | myBasicWS | | Everything works like a charm with the combination above (I must access the EJB as kermit/thefrog from the default jbossws-.properties files). However, I want to get rid of the @WebContext annotation. My idea (which does not work) is the following combination: @Stateless | @WebService( | serviceName="MyBasicWS", portName = "MyBasicWSSOAP", | targetNamespace = "http://www.example.org/MyBasicWS/";, | endpointInterface = "org.example.mybasicws.MyBasicWS") | //@WebContext(authMethod="BASIC") | //Undesirable | //The above should be picked up from jboss.xml | @RolesAllowed("friend") | public class MyBasicWSImpl { | public String echo(String in) { | System.out.println("RECEIVED: " + in); | return in; | } | } Then, I try to express that the EJB must use BASIC authentication method as follows: http://www.jboss.org/j2ee/dtd/jboss_4_2.dtd";> | | java:/jaas/JBossWS | | myBasicWS | | | | MyBasicWSImpl | | MyBasicWSSOAP | BASIC | | | | In this case however, the client throws an authorization failure exception: javax.xml.ws.soap.SOAPFaultException: Authorization failure | at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.getSOAPFaultException(SOAPFaultHelperJAXWS.java:77) | at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.throwFaultException(SOAP11BindingJAXWS.java:107) | at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:577) | at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:381) | at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:291) | at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:170) | at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150) | at $Proxy19.echo(Unknown Source) | at test.TestBasicWS.basicAuthTest(TestBasicWS.java:41) On the server side, I see this: 15:41:47,349 ERROR [RoleBasedAuthorizationInterceptor] Insufficient permissions, principal=null, requiredRoles=[friend], principalRoles=[] | 15:41:47,349 ERROR [SOAPFaultHelperJAXWS] SOAP request exception | javax.ejb.EJBAccessException: Authorization failure | at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:120 Apparently, JBoss disregards the BASIC-auth and does NOT assign a principal to the session. Therefore the role-based authenticator denies access to the method (as it should). Apparently, my jboss.xml does not tell JBoss to associate basic-auth with the published web service. I was suspicious of what I should put in the "port-component-name" value. Supposedly, the documentation says: Maps to the port-component-name in the webservices.xml descriptor. However, I do not use a webservices.xml file but use the @WebService annotation instead. In the code above I use the value for the "portName" attribute of @WebService but I also tried the ejb-name (MyBasicWSImpl) and the serviceName (MyBasicWS) with no luck. Any clues as to how I can achieve this while keeping the code JBoss-clear? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171766#4171766 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171766 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: How to reliably count active sessions (re-post)
JSR-77 is what you want to look at. Feel free to open the code of the web-console, it does exactly this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171763#4171763 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171763 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: NoClassDefFoundError and ClassNotFoundException errors d
Issue Resolved. The reason why I was getting this error was not not because isolation was turned on, it was because the servlets in my WAR file were loading on startup and they referenced classes that existed in the EAR file. Since the WAR and EAR were deployed seperately, the WAR was being loaded before the EAR file and therefore the classes were not found. The solution was to fix the deployment order so that the EAR file was loaded before the WAR file and this was done by updating the \conf\xmdesc\org.jboss.deployment.MainDeployer-xmbean.xml file. The following is the line I changed: As you can see, ear now comes before war. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171762#4171762 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171762 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - How to insert new server-side application protocol based on
Hello, I hope being on the right forum. I am trying to port a custom protocol into JBoss, server side. It is a trivial synchronous protocole made of string data and binary data (in fact, compressed stuff). I can't tell much about it but it really looks as dummy as: client -- connects via SSL (2 way handshake) --> server client -- hello --> server client <-- hello -- server client -- how are you? --> server client <-- fine -- server client -- ok --> server connection is closed I have read much about Invoker and Remoting but it deals with RMI, however I don't need RMI (the client part is coded in C etc...). Am I on the wrong way? My idea is to create a service that listens to a configurable port, whenever a connection arrives, it enables the SSL and it creates a thread that will handle the custom protocol. I am aware that JBoss is able to do most of that already, but I don't know how to use it for my purpose. Which element to use, configure, which class (in addition of the class that handle the protocol) do I need to code and where. Any idea/tips or existing documentation? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171760#4171760 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171760 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - How to reliably count active sessions (re-post)
Hi JBoss gurus, This is a slightly re-worded re-post (http://www.jboss.com/index.html?module=bb&op=viewtopic&t=140995) because I wasn't getting any replies. I would like to reliably monitor the number of active sessions for a particular web application deployed on JBoss 4.0.5 (the server is Windows Server 2003; JDK is Sun 1.4.2_14). I didn't create the app - I simply provide hosting for a growing number of customers. Initially I looked around for monitoring tools (eg: Hyperic) which would do all this for me, but alas they all seemed to monitor everything EXCEPT active sessions for a particular web app. But I did find one (AdventNet Application Manager) which does the next best thing (for my purposes) - it will execute a script and monitor the output of the script. For example, say I have a script called sessions.bat, and when it is executed it will (somehow) output the number of sessions to a log file, sessions.log . Sample log file contents might be: active_sessions=65 AdventNet Application Manager will execute the script at a desired interval (say every 15 minutes), and then read the contents of the resulting log file. I can even specify that it needs to look for the string "active_sessions", and monitor the corresponding numeric value (it even creates pretty graphs for me!). BUT - I need a script which will output the number of active sessions. I have done a bunch of searching, and posted on other forums, and so far most people have suggested that I need to write my own class which implements HttpSessionListener, and in the class I keep a running tally of sessions as they are created and destroyed. However, one person suggested I have a look at the "JBoss Management Console" (http://my-server:8180/web-console/), anonymous wrote : ...then in the console function tree find: Monitoring - > Web Status -> Full Status. | You will get a page with loads of stats on the right side. | Find [Application list] and link to your application, simply click on it and at the top of the page you will see all the stats that you need... I had a look at this and it has exactly the information I want - Active sessions , Session count , Max active sessions, Rejected session creations, Expired sessions , Longest session alive time , Average session alive time. But, how can I get that info into a log file (of my choosing)? According to the person who pointed me in the direction of the JBoss Management Console, this data is not stored anywhere (eg: a log file). So the big question for me is how does JBoss get this information? Are there built-in APIs which are called by the Management Console? If so, is there some way I can call those APIs using a batch script or a custom class? My ideal solution would be to have a very simple batch script which simply executes/calls a class (which will probably be one I have to write myself, or get help to write). That class then gets the info which is available in the Management Console, and pumps it into a log file in the following format: active_sessions=35 | session_count=672 | max_active_sessions=82 | rejected_session_creations=0 | expired_sessions=637 | longest_session_alive_time=6618 | average_session_alive_time=1944 I have no idea if this is possible, but I am hoping like mad that it is. Please, please, someone tell me it is possible to get this information! Better yet, tell me not only it's possible, but how! :) Cheers, Paul Hobbs View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171759#4171759 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171759 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Portal 2.7.0 beta jsr 286 An error occured when an event
I fixed the issue with WSRP, thanks a lot again for the feedback and please don't stop ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171756#4171756 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171756 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Can't remote to Jboss, -b 0.0.0.0 not working
The tool is irrelevent, but it's called "Java Service Wrapper". Rather than running JBoss from a CMD window, it runs it as a windows or linux service depending on your platform. It's irrelevent simply because I've tried -b 0.0.0.0 from the cmd prompt as well as trying to include it in the executable line of run.bat . run.bat -b 0.0.0.0 Now this is JBoss 4.2.3, and from my understanding, as of 4.2 the security tightened up and now locks JBoss to localhost only. Well, this does me no good. I've read that using SSH/putty you can tunnel a port remotely, however the -b 0.0.0.0 seemed simple enough. My concerns for security are minimal. The server and PC's that need to remote are on a closed network, so I'm not concerned with outside sources attempting to use the admin console, etc. So what other info can I provide to help with my problem? I'm pretty new to JBoss, however I've been running Glassfish for some time now and do have a little knowledge about J2EE app servers. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171755#4171755 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171755 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Multiple WSDL bindings warning
That's a warning message saying that the wsdl you're consuming has multiple bindings for the same interface. The last binding is actually used in those cases. If you have problems with the generated log, also consider you can just limit the logs of org.jboss.ws.metadata.wsdl.WSDLDefinitions class, without affecting your business code or any other JBoss class. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171748#4171748 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171748 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Deploying JDeveloper/Oracle webservices on JBossWS
Check you classpath and verify which version of wsdl4j you're currently using. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171745#4171745 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171745 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: wsconsume and rpc/encoded soap message
Please search in the forum for this topic. In few words jbossws native has really basic rpc/enc functionalities, we should actually say that rpc/enc is not supported any more. That's because the WS-I Basic Profile disallowed it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171744#4171744 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171744 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Trying to use jboss.xml instead of @WebContext
Which version of JBoss Application Server are you using? If it's 4.2.2.GA please try moving to 4.2.3.GA as this might be due to an already fixed bug. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171739#4171739 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171739 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - What is current status of maven plugin for jboss aop version
What is current status of maven plugin for jboss aop versions 1.5 and 2? The only one resource explaining something was http://wiki.jboss.org/wiki/JBossAOPMavenPlugin, but it looks like old info form me. Isn't it? Ia m very interested in stable jboss aop compile time posibility for stable version of aop (1.5.6 at this moment). Did I miss some info on the web? Above tutorial caused problems with location of plugin (cannot be found). Aslo version 1.0.0-SNAPHOT do not stimulate positive thinking :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171738#4171738 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171738 ___ 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 for an object hosted by jboss AS 4.2.2
Please post the entire exception stacktrace that you are seeing View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171737#4171737 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171737 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss5 deployment scanner configuration
Hi, with JBoss4 the jboss-service.xml contains the scanner configuration, include lib/deploy directory and the configuration of the period to scan for new files. I found the 'lib' configuraration, but I miss the 'deploy' and the period settings. Where can I set this parameter? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171736#4171736 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171736 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: mod_jk intermittently loosing connection to jboss 4.2
Hello Guys, I was earlier running with following versions: Apache - 2.0.55 mod_jk - 1.2.20 JBoss - 4.0.3sp1 After thr upgrade of JBoss to 4.2.2GA, I have this same issue. So, Whats teh work around or solution? Reverting back to 4.0.3sp1 is a HUGE impact, especially when we have new applications expecting to use EJB3 and SEAM technologies. Please help. Regards, Rajesh. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171735#4171735 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171735 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossMQ] - Re: XAException javax.jms.IllegalStateException: The connect
ok, "you pay for what you get"... I'll better make a call to Poughkeepsie. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171733#4171733 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171733 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - drools
I have one question on JBOSS drools. If I want to compare , same class with two different objects, how can I compare those two objects in drl file. Let say if I added those two objects in Java file like : Trade t1=new Trade(); t1.setName("test"); Trade t2=new Trade(); t2.setName("varma"); memory.add(t1); memory.add(t2); session.execute(memory); How can I compare those two objects in drl file to check whether name is different or not ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171727#4171727 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171727 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WS URL different for 4.2.2 and 4.2.3
That's most probably because of this: https://jira.jboss.org/jira/browse/JBWS-1813 IOW there was a bug which was fixed in AS 4.2.3.GA. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171726#4171726 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171726 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Portal 2.7.0 beta jsr 286 An error occured when an event
I got your email with sources. The issue here is that you have 2 wars and you include the (same) jar containing the payload class in the 2 wars. They are in 2 different classloaders and then it fails to cast it. (See http://wiki.jboss.org/wiki/ClassLoadingOverview I will look at the issue with WSRP and events thanks for the feedback ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171725#4171725 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171725 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Problem with timers
Thanks Roland, here I am starting a new topic. I have a problem with setting a timer on a Task Node. I have defined the following process | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The idea is that if the timer in Task Node TaskA expires the process will be ended (and the Task Node TaskB skipped). However, when running the process and the timer expires, the transition skipB is not executed (as specified in the code) and the process stalls at Task Node TaskA (which appears in the tasks list, but without an "End" button available for it). I am running jBPM 3.2.3. From the discussion on http://www.jboss.com/index.html?module=bb&op=viewtopic&t=140634&postdays=0&postorder=asc&start=10 I can see that there have been some problems with timers on State Nodes which apparently have been fixed in 3.2.4. Does this apply to my problem with timers on task nodes? Have anyone else experienced a similar problem? Note, the timer is important. Example of a business scenario: if a notification is not registered within a week, the process is ended otherwise it is continued. Therefore, the solution proposed by Alejandro (thanks Alejandro) suggesting that the timer is replaced by asynchronous continuation (see below), can not be applied in this case. anonymous wrote : JBSEAM-1575 depends on JBPM-1135 which is already resolved. That said, I have two suggestions. | | The first is to replace the timer with an asynchronous continuation, unless you need the delay (which I understand you do not). Just set the node's async attribute to true. It does not need to be a separate emtpy state, you can decorate any of your existing nodes with that attribute. | | The second is to implement a ThreadLocal based solution which prevents recursive calls once the loop node is reached. I came to it for preventing the stack overflow in the BPEL while activity, but it can be implemented for jPDL as well. You can browse the code in the online repository. Look at Loop.execute(). It is much of a hack - you might want to stick to asynchronous continuations unless you need more performance. | _ | Saludos/Regards, | Alejandro In summary: Does the Timer on Task Node work in jBPM 3.2.3? Does it work in jBPM 3.2.4? (Clarification: the timer seems indeed to expire, but the specified transition is not taken, which results in a stalling process instance) Kind regards, Petia View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171721#4171721 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171721 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Portal 2.7.0 beta jsr 286 An error occured when an event
Can you post the stacktrace ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171719#4171719 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171719 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: jbossws with apache
"r.eloc" wrote : "palin" wrote : | | I would check what url apache is actually trying to connect to; I mean, it's ok that you get a "http GET not supported" if you access an endpoint using your browser. As a matter of fact, endpoints support POST, GET is supposed to work only for wsdl retrieval calls. | | | | Why is GET not supported? All the other web service frameworks I have used (Apache Axis, .NET) have supported that, it's quite useful when developing and testing. I'd say because when you invoke a service, you provide the soap request message, thus you need POST. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171718#4171718 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171718 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Create the simplest WebService possible
Hi Sergio, I don't want to start a flame, just need to understand how to move to further improve the jbossws docs (which, btw, improved a lot since 1 year ago). "smmartins" wrote : | - changed several JBoss libs from place | Do you mean what is explained here? http://jbws.dyndns.org/mediawiki/index.php?title=Installation (section "Using JBossWS Native with JDK 6) anonymous wrote : | - Found two really useful web pages: |- http://www.theregister.co.uk/2007/01/23/ejb_web_services/ | The fast introduction to the WS world is covered in the pages belonging to this wiki category http://jbws.dyndns.org/mediawiki/index.php?title=Category:WS_Culture. The development strategies using the tools as well as the client generation and run steps are described here http://jbws.dyndns.org/mediawiki/index.php?title=JBossWS_JAX-WS_Tools. Do you think something is missing? (maybe a page for real beginners-who-don't-want-to-read-lots-of-pages with a super-slim walkthrough?) Or you did not find those pages, so they should be better advertised / more easily reachable from the doc home page? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171715#4171715 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171715 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Entity value already changed in @PreUpdate method
Hi, i have the same requirements. Have you found any solution so far? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171714#4171714 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171714 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Problems with JBoss clustering
Hi, I am having problems in jboss clustering, here is what i am trying to do: We have 8 servers at 2 physical locations and these are all clustered well and were working fine with jdk1.4.2 and jboss-4.0.2. We wanted to upgrade our servers with new java 5 and jboss-4.2.2 versions and applications to use JbossWS and EJB3.0 versions. For that we put down the 4 servers (2 from each location) and upgraded them with new java and jboss versions and new upgraded applications. We are using udp multicast for the clustering so i changed the ports and IPs in following files to split the cluster: - cluster-service.xml - tree cache files - jboss-web-cluster/META-INF/jboss-service.xml I didn't change the partition name though and tried to run these both clusters in parallel. But got into problems, when i start any two of them they startup fine and create a new separate cluster fine but when i try to add third one, it is very very slow during start up and take ages to start, but doesn't throw any exceptions during startup and when it is up it throw: | 2008-08-20 01:07:45,008 ERROR [org.jgroups.protocols.UDP] [10.100.54.135:41757] failed receiving unicast packet | java.lang.ArrayIndexOutOfBoundsException | at java.net.PlainDatagramSocketImpl.receive0(Native Method) | at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136) | at java.net.DatagramSocket.receive(DatagramSocket.java:712) | at org.jgroups.protocols.UDP$UcastReceiver.run(UDP.java:885) | at java.lang.Thread.run(Thread.java:595) | 2008-08-20 01:07:45,008 ERROR [org.jgroups.protocols.UDP] failure in multicast receive() | java.lang.ArrayIndexOutOfBoundsException I tried every combination of servers any two servers run perfectly fine and third and fourth ones cause problems. The other cluster works perfectly fine its jsut the problem with the new one. I had upgraded jgroups version to jgroups-2.6.0-GA because of a bug and now using this (2.6.0-GA) version. Please let me know if there is anything i can look at? Your help will be highly appreciated Thank you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171712#4171712 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171712 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Using rpc/encoded
Hi I need to integrate to a rpc/encoded ws, according to this i need to use jax-rpc, but the jbossws jax-rpc state the following: - JBossWS conforms to the WS-I basic profile, which eliminates the encoded - use. This leaves you with the following style/use models: - -* RPC/Literal -* Document/Literal -* Message style see: http://jbws.dyndns.org/mediawiki/index.php?title=JAX-RPC_User_Guide#Getting_started Is the conclusion that jbossws do not support rpc/encoded? /Peter View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171711#4171711 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171711 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Portal 2.7.0 beta jsr 286 An error occured when an event
I found the problem, there was also a wsrp portlet on the same page when I remove this portlet the event is generated succesfull. Now I get a class cast exception on the event payload class... in the event listener portlet... class and package name are the same and the class is provided in a jar in both war archives... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171709#4171709 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171709 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: How to run the test cases?
Hi everyone, I got the same problem and according teh issue I upgraded JBossTools from 2.0.0 to current 2.1.2. But the error isn't gone. What else can I do? Perhaps it might help to know that the "ejbModule" directory in the ejb project is a linked folder since I didn't want to reflect the eclipse directory structure into our versioning system. Thanks in advance Newlukai View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171707#4171707 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171707 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Struts Code Generate not working as tutorial advertises
The latest version of JBoss Developer Studio/JBoss Tools documentation you always can find here: http://download.jboss.org/jbosstools/nightly-docs/ Good luck! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171706#4171706 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171706 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: StatisticsCollector
I was trying to build Stats Collector, but kept getting lots of errors and warnings... Could anyone be so kind and provide me already built .jar file? Or at least explain me what versions of jdk/ant/whatever else meaningful to the build process should i have... Already tried to build it with jdk 1.4,1.5,1.6 with the corresponding Ant version... whole JBoss project builds successfully except of Stats Collector :/ please help me with that, thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171704#4171704 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171704 ___ 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 for an object hosted by jboss AS 4.2.2
it's bound to 0.0.0.0 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171699#4171699 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171699 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - JBoss Tools 3.0.0.Alpha1 is released
Today we released the first alpha version of JBoss Tools 3. See the blog here: http://in.relation.to/Bloggers/JBossTools300Alpha1GanymedePagesxmlPortletTPTPBIRT View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171694#4171694 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171694 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: how can i configure jbosscache on glassfish Application
if you want to use it in a certain ear, then place the jar in there (together with its dependencies). If you want it to be visible to all applications in glassfish, then this is a glassfish specific configuration. Either way, from this point of view JBossCache should not be handled differently than any other jar you want to deploy on GlassFish View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171693#4171693 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171693 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: BPEL Problem with Fault Handler
anonymous wrote : | Can you please make the server.log file (located in jboss-4.x/server/default/log) available online for me to examine? Alternatively, please post the messages that follow the stack trace. | There aren't messages that follow the stack trace. You can find my server.log file at this link: http://rapidshare.com/files/138939042/server.log.zip Thank you, Fabiana View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171692#4171692 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171692 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Issue with the Virtual Host
Apache is webserver. You have to install Apache as you can see here http://httpd.apache.org/ you tried so http://rocky.webpage:8080/ Had you modified host file? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171690#4171690 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171690 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: servlet: how to spawn all processors
"[EMAIL PROTECTED]" wrote : I did try the affinity setting (to 4 cpus for the app), but only 1-2 cpu busy. I guessed b/c all threads running in the same process from the main servlet. There is a fair chance that your application is not as thread-able as you think it is. Do you do any manual synchronisation, or do you make heavy use of libraries that do internal synchronisation? Use JConsole to check that you are not exhausting the Tomcat connector thread pools (or other pools) Also, check that you are running with the server VM http://www.java-monitor.com/forum/showthread.php?t=18. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171686#4171686 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171686 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: custom dashboard
You will have to use internal API of JBoss Portal (create your own PortalObjectCommandaFactory and your custom commands). Here is a demo (french) - http://ns201104.ovh.net:8080/portal/ - click on 'Connexion' - user / user - click on 'Mon espace' The end-user can create / remove pages (from the toolbar), change skin and layout, and add / remove portlet ('Ajouter un portlet' link) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171685#4171685 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171685 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: NullPointerException in JavaEEComponentHelper with JBoss
I got this same error stack. and my ear worked well in production jboss4.2.2GA. ear contains three ejb3 modules and use @EJB inject the depended ejb. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171680#4171680 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171680 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [J2EE Design Patterns] - Re: hosting multiple customers in single JBoss instance
Hi Erik, I have no good input for you, but... we are facing to the same situation... Have you some good input for us? Kindly elvisd View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171678#4171678 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171678 ___ 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: FK - with Composite Key
The solution will be to use in "insertable=false" like this: @JoinColumns( { @JoinColumn(name = "first",referencedColumnName="first",insertable=false,updatable=false) , @JoinColumn(name = "second",referencedColumnName="second",insertable=false,updatable=false) }) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171677#4171677 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171677 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user