[jboss-user] [Beginners Corner] - JBOSS EAP - setting run.sh options in config files instead

2009-04-17 Thread sonic_boom
I'm looking for the best options if any to configure all the JBOSS EAP run.sh options via configuration files instead of issuing them via cli. Here are the options for run.sh as currently listed in "getting started" documentation (b,u,g, & D being the most important to me right now): -D(name)[=

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Custom Valve configuration in context.xml

2009-04-17 Thread tsunbonyu
Hi all, I encountered a problem on configuring custom Valve for my applications in JBoss 4.3. Before I was using /deploy/jboss-web.deployer/context.xml to define my custom Valve, and it works perfect for all the applications. Now I try to define same custom valve for each application in META-IN

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Hibernate...help..!!!!

2009-04-17 Thread cholli2
Also, the Internet Archive has snapshots of the Hibernate website including documentation. No downloads, but those are on Sourceforge. http://web.archive.org/ or Google "wayback machine" View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226307#4226307 Reply

[jboss-user] [Security & JAAS/JBoss] - Re: JBoss 5.0.1 stubbornly ignores application-policy in log

2009-04-17 Thread registration-form-muzz-die
Well, have some progress thanks to Wolfgang Knauf's posts: anonymous wrote : For the annotation approach: I know that there are two "SecurityDomain" annotations in the JBoss package: org.jboss.ejb3.annotation.SecurityDomain (the right one) and org.jboss.aspects.security.SecurityDomain (this one

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Hibernate...help..!!!!

2009-04-17 Thread cholli2
I feel like I'm maybe speaking for more than a few people in wondering if someone at JBoss.org could be a bit more open/responsive as to the nature of the problem with the Hibernate.org site and when it could be expected to be available again. Something beyond the generic "down for maintenance"

[jboss-user] [Remoting] - Re: remoting with .NET

2009-04-17 Thread ron.si...@jboss.com
Hi Eugene, I'm guessing that you're using JBoss Web Services to connect to .NET, right? They use Remoting to send Soap messages, but I don't much about what they do. I'm going to suggest you try the JBossWS forum at http://www.jboss.org/index.html?module=bb&op=viewforum&f=200. -Ron View the

[jboss-user] [Remoting] - Re: Looking for a basic tutorial on how to get JBoss Remotin

2009-04-17 Thread ron.si...@jboss.com
See my response on the other thread, "JBoss remoting - Compatability with non JBoss J2EE Applicati", at http://www.jboss.org/index.html?module=bb&op=viewtopic&t=153078. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226302#4226302 Reply to the post : http:/

[jboss-user] [Remoting] - Re: JBoss remoting - Compatability with non JBoss J2EE Appli

2009-04-17 Thread ron.si...@jboss.com
"vybe3142" wrote : | can /how can I get jboss demoting functional within an enterprise app deployed on a non jboss app server eg glassfish? | Not sure I understand the question. There are a couple of ways Remoting could live in an application server. Note that I don't know anything abo

[jboss-user] [Security & JAAS/JBoss] - JBoss 5.0.1 stubbornly ignores application-policy in login-c

2009-04-17 Thread registration-form-muzz-die
Hi. I am enjoying JBoss 5.0.1 JAAS security during implementing EJB3 application server beans and client. I cannot use EJB3 client container, since it tries to access server immediately, before any piece of my code is exceuted. So, i do InitialContext.lookup(...) instead: try{ | SecurityC

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Multiple data sources when using MySQL

2009-04-17 Thread pualsa
Hi, I think the right configuration is to use for JBM and for the application. Also take the latest MySQL driver (5.1.8) - there is a fix for XA. I don't have problems with timers, but there are many transaction problems when MDBs are very loaded. I'll try the workaround posted at JBAS-5801.

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Hibernate...help..!!!!

2009-04-17 Thread richardmijo
Thank you very much I did not know that the site had problems ... Greetings. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226290#4226290 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226290 _

[jboss-user] [JBoss Portal] - Re: Adding a portlet to an existing portlet page

2009-04-17 Thread PeterJ
Two options I can think of. One is to log in as admin and add the portlet to the page using the admin portal. The second is to create a second *-object.xml file that places the new portlet on the desired page (yes your project can have multiple *-object.xml files). This *-object.xml file would n

[jboss-user] [JBoss Portal] - Re: Adding a portlet to an existing portlet page

2009-04-17 Thread malmit
No, that doesn't help because i'm not using dashboards. Right now the -object.xml file only has overwrite and keep as options when deploying portlets. If I use overwrite then the entire page is replaced with my new portlets and if I use keep then my new portlets are not added to the existing

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Hibernate...help..!!!!

2009-04-17 Thread ScottMarlow
I heard that the site is down temporarily. It will be back :-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226284#4226284 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226284 ___

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Disable WAR classloader isolation

2009-04-17 Thread altavatar
Hello, I have 2 WARs contained in an EAR. I get the following error when I access any page in one of the webapps (note: the project uses JBoss Seam 2.1): [VFSScanner] Error handling item 'index.page.xml' java.lang.NullPointerException: Cannot find URL from classLoader for index.page.xml, loadi

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Hibernate...help..!!!!

2009-04-17 Thread steve.ebers...@jboss.com
The are problems with the HIbernate site and it is temporarily down. The downloads are still accessible from SourceForge where they have always been : http://sourceforge.net/project/showfiles.php?group_id=40712&package_id=127784 View the original post : http://www.jboss.org/index.html?module=bb

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Hibernate deleting association.

2009-04-17 Thread novahokie
Is it possible for hibernate to delete an association object by specifying some cascade option. I have Object A with a collection of Object B mapped by OneToMany. I am removing objects from A by doing. a.getBs().remove(someObject) and I would like someObject to be deleted from the DB when I save

[jboss-user] [JBoss jBPM] - jumping to a new task node

2009-04-17 Thread akriel
For various reasons within my app that is using JBPM I need to be able to abort all current tasks and jump to a different location in the process under certain circumstances (specifically if at any time the underlying data is updated). I have written a tag to do this though it isn't quite workin

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Hibernate...help..!!!!

2009-04-17 Thread PissedOFF
Exactly... I am also trying to find the Hibernate documentation and downloads, but this stupid organization has absorbed it and won't share it anymore. Give us back Hibernate!! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226265#4226265 Reply to the post

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: JPQL:

2009-04-17 Thread ethnarch
I would go look this up for you normally but I can't find the documentation on hibernate right now. I think HQL might have a mod operator and I think this is what you actually want to use. I can't verify it it really exists though. The mod operator returns the remainder so 5 mod 2 = 1 and 3

[jboss-user] [JBoss Portal] - Re: Adding a portlet to an existing portlet page

2009-04-17 Thread dvanwest
Does this help? http://www.jboss.org/index.html?module=bb&op=viewtopic&t=123030 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226271#4226271 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226271 __

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - HIbernate no longer an independent product?

2009-04-17 Thread bmelloni
I noticed today that hibernate.org is no more... it redirects to the jBoss site. After 15 minutes of searching I couldn't even find the download page. Does that mean that hibernate is now a component of jBoss and no longer an independent product? And that Hibernate would no longer support comm

[jboss-user] [JBoss jBPM] - Re: generated form fields cant be changed

2009-04-17 Thread bradsdavis
=) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226268#4226268 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226268 ___ jboss-user mailing list jboss-user@lists.jboss.org h

[jboss-user] [JBoss jBPM] - Re: generated form fields cant be changed

2009-04-17 Thread bradsdavis
Default functionality of eclipse or not, its annoying as shit. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226267#4226267 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226267

[jboss-user] [JBoss Portal] - Re: How to set empty renders for portlets

2009-04-17 Thread dvanwest
We typically indicate the empty renderer in the page description file portal-object.xml. Not sure this approach will meet your needs. | | Intro | introInstance | top | 2 | |

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Problem migrating application from JBoss 4.2.2 to 5.0.1

2009-04-17 Thread margotmedia
Hi, I have an enterprise application running fine under JBoss 4.2.2. I tried to deploy it under JBoss 5.0.1, but it gives me the following error: "Error in the server: mismatch between expected constructor arguments and supplied arguments." The errors occurs in line 1242 of class org.jboss.mx

[jboss-user] [JBoss Cache: Core Edition] - Re: Various errors showing up when load testing

2009-04-17 Thread mjrother
Since putForExternalRead is not in JBC 1.4.1is using Option Local still the recommended approach? What are the timing issues with that approach? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226254#4226254 Reply to the post : http://www.jboss.org/inde

[jboss-user] [JBoss Portal] - How to set empty renders for portlets

2009-04-17 Thread peris
Jboss server 4.2.2.GA Jboss portal 2.7.0 1 ) I have set empty render for portlets in admin side. How to set empty render programatically. 2) Is it possible to prevent the drag and drop functionalities in left region only ?. Thanks in advance. View the original post : http://www.jboss.org

[jboss-user] [JBoss Portal] - Re: Jboss Portal Related Issues

2009-04-17 Thread peris
I Got the sollution for my above problem . Thx View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226239#4226239 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226239 ___ jboss-

[jboss-user] [JBoss Portal] - Removing Users from Portal

2009-04-17 Thread dvanwest
Greetings, We're running portal version 2.4.2. If one uses the API's userModule.removeUser(userID) method to remove inactive users, will it cleanup things like customized pages, etc. that the user may have created? Or is that something I have to deal with explicitly? Thanks. View the origina

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Classloading issue moving from 4.2.0 to 5.0.1

2009-04-17 Thread RayDeCampo
OK, I "resolved" this issue by using a /lib directory in my EAR instead of using Class-Path entries in my MANIFEST.MF. But according to the JEE 5 specification, section EE.8.2.1 these methods should be equivalent. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&

[jboss-user] [JBoss Cache: Core Edition] - Preloading Large Amounts Of Data

2009-04-17 Thread mjrother
I have a system configuration with n servers. The configuration utilizes invalidation and custom cache loaders (1.4.1). The configuration utilizes the preload option. It takes along time to populate the cache. When the cache is initialized, does the preload operation operate synchronously with t

[jboss-user] [JBossWS] - Re: Specify WS-Security Handler using JEE standards

2009-04-17 Thread ivlcic
I've been looking for the same sollution and found this workaround: I replaced standard client conf with secure one so everything in your app will be under WS-Security. (If you dont need everything encrypted use the wiki instructions) Write your own "endpoint-config" and place it in war META-

[jboss-user] [Beginners Corner] - [JBoss Rules with DSL] Unable to expand

2009-04-17 Thread tom.collet
Hi there, I'm a newbie on Jboss and I try to use a basic DSL with a basic rule : My DSL file called TctMyDSL.dsl : --- [consequence][]print "{message}"=System.out.println("{message}"); My DRL file : --- package tom | import java.util.Date; |

[jboss-user] [Clustering/JBoss] - Re: Load balancer to wit till the jboss server started

2009-04-17 Thread bstansbe...@jboss.com
Is there a way we can notify the load balancing algorithm(RoundRobin) to choose the target(JBoss server for invocation) which is fully started with all the services deployed(meaning that the server is fully started with the attribute change notification org.jboss.system.server.started). No, th

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Hibernate...help..!!!!

2009-04-17 Thread richardmijo
Good day to all. I tried to download the latest version of hibernate and documentation. But I do not find it. Putting www.hibernate.org, the browser automatically redirects me to http://www.jboss.org. Thank you very much View the original post : http://www.jboss.org/index.html?module=bb&op=vie

[jboss-user] [JBossWS] - org.jboss.ws.WSException: Cannot write generated wsdl

2009-04-17 Thread gautamz
Hello, I have a wsdl that imports hr-xml elements as below. I use wsconsume to generate the server interfaces and then implement the interface in my class. Compiled the code; and created a war (War has WEB-INF/web.xml. Classes moved to WEB-INF/classes) When deploying to jboss, wsdl get emitte

[jboss-user] [Installation, Configuration & DEPLOYMENT] - sar file deployment

2009-04-17 Thread luuzz
Hello, I have a jboss service that is auto started only when i deploy it directly in the jboss deploy directory. I tried to put it within an ear file but when i do, it is deployed (i see it in the web-console) but not auto started. Can someone please help me ? View the original post : http://w

[jboss-user] [JBossWS] - EJB injection doesnà ¢Â€Â™t work in Web Services in JBoss 5.1

2009-04-17 Thread japase
In the EJB3 topic http://www.jboss.org/index.html?module=bb&op=viewtopic&t=153488 I've been told to create a separate topic in this forum regarding one of my problems. According to JEE 5 specification (http://www.onjava.com/pub/a/onjava/2006/01/04/dependency-injection-java-ee-5.html) EJB injec

[jboss-user] [Javassist user questions] - VerifyErrors related to goto byte code instruction / switch-

2009-04-17 Thread mburger
I encountered several issues related to illegal targets of jumps or branches: https://jira.jboss.org/jira/browse/JASSIST-79[/url] and [url]https://jira.jboss.org/jira/browse/JASSIST-80. These issues seem to be related to switch-case and break / continue. Does anybody have similar problems? --M

[jboss-user] [Javassist user questions] - Re: VerifyErrors related to goto byte code instruction / swi

2009-04-17 Thread mburger
https://jira.jboss.org/jira/browse/JASSIST-79 https://jira.jboss.org/jira/browse/JASSIST-80 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226161#4226161 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226161 ___

[jboss-user] [JBoss Portal] - Re: Jboss Portal Related Issues

2009-04-17 Thread peris
anonymous wrote : 1 ) How to use drag and drop functionalities I have created one page(default) in dashboard and assigned some portlets. i have transfer the user to the following URL http://localhost:8080/portal/auth/dashboard/default but I got the error. like ERROR [STDERR] Caused by: org.j

[jboss-user] [JBoss OSGi] - Re: Deployment of EJBs as OSGi Bundles

2009-04-17 Thread thomas.dies...@jboss.com
anonymous wrote : | JBoss AS 5 uses OSGi for loading services internally | No, AS5 internally uses JBossMC to load services. Apart from JBossOSGi there is no other OSGi functionality available. Yes, we are planning to deploy EJBs as OSGi bundles. the details of what we are planning to sup

[jboss-user] [Security & JAAS/JBoss] - Re: JBoss Negotiation 2.0.3.GA Released

2009-04-17 Thread arne_brachhold
Hello, the stated download site doesn't work anymore, where can I find the current release? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226152#4226152 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226152 _

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - collection was not processed by flush()

2009-04-17 Thread kiran_mvv
I am getting the below error : "collection was not processed by flush()". can anyone help me out what could be the possible reason for it? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226142#4226142 Reply to the post : http://www.jboss.org/index.html?module

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - join table class in hibernate

2009-04-17 Thread hpacheco
Hi all, First of all, I don't kow if I am posting this question in the right forum, since the "old" hibernate forums (forum.hibernate.org) now redirect to the JBoss page and could find no trace of them. I have two tables in my database schema clients: clientid*, name products: productid*, name

[jboss-user] [Remoting] - Re: org.jboss.remoting.marshal.InvalidMarshallingResource: C

2009-04-17 Thread ron.si...@jboss.com
"peter_pinnau" wrote : | How can I repack the jbossall-client.jar so that the patched jboss-remoting.jar is used. | Probably the easiest thing to do is just put the new jboss-remoting.jar in front of jbossall-client.jar in the classpath. Or, you could unpack jbossall-client.jar, delete

[jboss-user] [JBossWS] - Re: java.lang.ClassCastException: org.jboss.ws.core.jaxws.sp

2009-04-17 Thread jorgemoralespou_2
When upgrading to a new version of JBossWS remove all previous JBossWS libraries. We found that some libraries changed names, so we were not overwriting them. These libraries were: jboss-jaxrpc.jar jboss-jaxws-ext.jar jboss-jaxws.jar jboss-saaj.jar View the original post : http://www.jboss.or

[jboss-user] [JBossWS] - Re: Problems with Jboss and Sun's 1.6 JDK

2009-04-17 Thread vladimirbezugliy
I had the same problem with jboss-5.0.1.GA and jdk1.5.0_11. And I just copied jboss-saaj.jar from jbossws-native-2.0.2.GA(http://www.jboss.org/jbossws/downloads/) package and now all is ok. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226117#4226117 Reply

[jboss-user] [JBoss jBPM] - Re: generated form fields cant be changed

2009-04-17 Thread kukeltje
LOL anonymous wrote : ...you click enter If I didn't know any better, I'd think you were a non-native English speaker or even a computer illiterate. Or do you have a really advanced mouse with 101 keys :-P It's not a bug, it's the default behaviour of eclipse. If you want it otherwise, you ne

[jboss-user] [JBoss jBPM] - Re: How to start SubProcess dynamically ?

2009-04-17 Thread kukeltje
cool isn't it? Was a 2 hour fix some time ago... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226112#4226112 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226112 ___ jboss

[jboss-user] [JBoss Portal] - Re: Jboss Portal Related Issues

2009-04-17 Thread peris
Thanks vivek View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226110#4226110 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226110 ___ jboss-user mailing list jboss-user@lists.j

[jboss-user] [Beginners Corner] - Re: Jboss and proxy settings

2009-04-17 Thread Renani
Found the solution: edit run.conf and add to the JAVA_OPTS variable the sentence: -Dhttp.proxyHost=proxyNAME -Dhttp.proxyPort=PROXYPORT View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226100#4226100 Reply to the post : http://www.jboss.org/index.html?module=bb

[jboss-user] [Beginners Corner] - Jboss and proxy settings

2009-04-17 Thread Renani
Hi, When I run Jboss server at work I get some errors. After a google search I've located the error to be because of the internet proxy settings. I've run the Jboss server locally at home and found that this indeed was the problem. How do I make Jboss use my http proxy? View the original pos

[jboss-user] [Remoting] - Re: Race condition in ConnectionValidator

2009-04-17 Thread ron.si...@jboss.com
Hi Tarek, "thammoud" wrote : | anonymous wrote : | | Make the tt (WaitOnConnectionCheckTimerTask) a class member (Must be volatile). | | | | Did not mean a static. Sorry for the confusion. | My mistake. Maybe I was thinking in C++? :) I think I can explain your first scen

[jboss-user] [JBoss jBPM] - Re: EventListener hibernate mapping >>> help needed!

2009-04-17 Thread gchanteb
There is a post on jbpm.org about beta1: http://www.jboss.org/feeds/post/jbpm_4_0_0_beta1_released View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226092#4226092 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226092 ___