[jboss-user] [EJB 3.0] - Re: InheritanceType JOINED stategy problem

2007-03-13 Thread rajeshv7
I think you have mixed up the 'SINGLE_TABLE' and 'JOINED' Inheritance strategies. The Discriminator's are specified only in the 'SINGLE_TABLE' strategy. And in the 'Joined' since all the subclasses have their own tables there is no need for a discriminator column. View the original post : ht

[jboss-user] [Management, JMX/JBoss] - Quartz MBean cannot find Classloader

2007-03-13 Thread davidn
Hi, Loading a deploy/quartz-service.xml works quite nicely upon startup, but if there is a class in the Quartz Job table, the MBean-launched service can't find the classloader. I attempted to resolve it with a element, but after reading for hours, there are no clear answers. There are some pos

[jboss-user] [JBoss jBPM] - Lost retrieving resource bandle in ActionHandler

2007-03-13 Thread slogger
Hi, kukeltje! Thank you very mach for your answer that make clear for me. I will go other way. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027831#4027831 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027831 ___

[jboss-user] [JBoss Portal] - Re: Generating JNLP file in portlet

2007-03-13 Thread louise_za
Thanks for the reply! Solution to the problem: Have the portlet generate a string containing the jnlp content dynamically and write this out to a file at a certain location. Then, have a link inside the portlet pointing to the file - the user will click on it and the java web start sequence wi

[jboss-user] [JBoss Portal] - Switching to Sybase Database in JBoss Portal

2007-03-13 Thread eabarquez
Hello All, I am trying to switch the database of my JBoss Portal installation to Sybase. I followed the directions in the reference guide on how to switch database, i.e.: 1. Place the connectors in the "[JBOSS_HOME]\server\default\lib" folder. 2. Add a "portal-sybase-ds.xml" datasource file and

[jboss-user] [Messaging, JMS & JBossMQ] - How to config jboss for visiting queue destination remotely

2007-03-13 Thread Agemo
There is an MBean on machine A that wants to visit the queue destination on machine B. What's the steps should I do? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027828#4027828 Reply to the post : http://www.jboss.com/index.html?module=bb&op=postin

[jboss-user] [JBoss Portal] - sec/auth/authsec howto?

2007-03-13 Thread brain101
as far as i know there are 3 modes to enable security in jboss portal: /portal/auth/index.html forces the user to login /portal/sec/index.html switches to a secured (ssl) url /portal/authsec/index.html forces the user to login and switches to a secured (ssl ) url i can force the user login if a a

[jboss-user] [JBoss jBPM] - Re: Simple user list on datatable

2007-03-13 Thread roccolocko
I forgot to post this important part this goes in the same segment as the first code segment | public List getUsersData() | { | if(usersData.size()==0) | usersData = createUsersList(); | return usersData; | } | View the original

[jboss-user] [EJB 3.0] - InheritanceType JOINED stategy problem

2007-03-13 Thread grdzeli_kaci
hi all, i have 3 table into database Root Table : PAYMENT_METHOD_DATA Child Table : BANK_TRNSF_METHOD_INFO Child Table : SCRATCH_METHOD_INFO in java i have inheritance joined strategy, then root class loojks like this : | @Entity() | @Table(name = "PAYMENT_METHOD_DATA", schema = "CCARE")

[jboss-user] [JBoss jBPM] - Simple user list on datatable

2007-03-13 Thread roccolocko
Hello, Im simply trying to display a list of the jbpm users and their passwords, something very similar to what the login.jsp does on the jbpm webapp but I simply can't get it to work, this is what I'm doing: | private static List getUsers() | { | //Session session = Jb

[jboss-user] [JBossCache] - cache passivation problem

2007-03-13 Thread dan.washusen
Hi all, I seem to be having some problems getting the passivation functionality working with jboss-cache 1.4.1.SP2. I'm expecting the cache to write the entry to disk whenever I call the put method, but it doesn't seem to be happening. The documentation and other posts on this forum seem to su

[jboss-user] [JBoss Seam] - Re: Using Seam Identity - What's the recommended approach?

2007-03-13 Thread steveant
Thank you both for your input. I had originally implemented my own login validation and am moving to JAAS so that I can take advantage of the role based security built into Seam. It is too bad about the hibernate validation though, I agree. In any case I'm running into another problem now w

[jboss-user] [JBoss Seam] - Re: since today (JBSEAM-954?) I get NPE in setEntityManagerF

2007-03-13 Thread [EMAIL PROTECTED]
So change the DTD to use IMPLIED instead of "false". View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027811#4027811 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027811 ___ jb

[jboss-user] [JBoss Messaging] - Upcoming JBM release plan

2007-03-13 Thread [EMAIL PROTECTED]
As decided during the recent Messaging face-to-face meeting, I reassigned all applicable JIRA issues from Branch_1_0 and Branch_1_0_1_SP to the trunk. This means there won't be any 1.0.x release, where x > 1 (1.0.2.GA, 1.0.3.GA, etc). All development effort will go to the trunk. The next GA rele

[jboss-user] [JBoss Seam] - Re: Using Seam Identity - What's the recommended approach?

2007-03-13 Thread [EMAIL PROTECTED]
Method 2 works great, apart from you lose the ability to get your hibernate validation annotations automagically being applied to your username, password fields... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027807#4027807 Reply to the post : http://ww

[jboss-user] [JBoss Seam] - Re: since today (JBSEAM-954?) I get NPE in setEntityManagerF

2007-03-13 Thread codelion
Not 100% confirmed, but I think I got a reproducible case: Don't have a login-required for a page, but for the page have a s:hasRole or s:hasPermission that consequentially throws a different exception than what you probably have been expecting. Meanwhile though ... I'm having a heck of a time

[jboss-user] [JBoss Seam] - Re: Pages.encodeScheme(), HTTPS, and context root '/'

2007-03-13 Thread [EMAIL PROTECTED]
Ok, thanks. The ones on the net are simply not up to the standard of the seam doco. I am getting spoiled. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027805#4027805 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=40278

[jboss-user] [JBoss Portal] - Re: where jbossportal saves its informations!!

2007-03-13 Thread [EMAIL PROTECTED]
I also have had the problem that on every re-start the things I have added to a page have gone so I have use the manager to re-add them. e.g. I have a wiki page, and I add the User component above it on the page. when I restart the server the User component has gone... View the original post :

[jboss-user] [JBoss Seam] - Re: Using Seam Identity - What's the recommended approach?

2007-03-13 Thread [EMAIL PROTECTED]
Method 1 is redundant and no longer supported. I recommend you follow the instructions in the Seam reference docs, they are always going to be up to date and they explain (at least I hope so) how to set up authentication in a logical, step-by-step manner. View the original post : http://www.j

[jboss-user] [JBoss Seam] - Re: Pages.encodeScheme(), HTTPS, and context root '/'

2007-03-13 Thread [EMAIL PROTECTED]
There's plenty of guides for this on the internet. I'd be hesitant to write one for Seam because it is something that is very dependent on the environment. That being said if you have difficulties feel free to being them up here, hopefully myself or someone else will be able to help out. View

[jboss-user] [Remoting] - Re: JBoss Remoting & JDK 6.0 situation deadlock

2007-03-13 Thread bbonanno
Hello, I download and replace the file, but when the server throws exceptions to the remote client, appears the same error, ideas??? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027801#4027801 Reply to the post : http://www.jboss.com/index.html?module=bb&o

[jboss-user] [JBoss Seam] - Re: First JBoss Seam book released

2007-03-13 Thread [EMAIL PROTECTED]
yes, it looks like that the version safari has is pretty close to the final. I think the publish will have another very minor update right before they go to print this month. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027800#4027800 Reply to the post :

[jboss-user] [JBoss Seam] - Using Seam Identity - What's the recommended approach?

2007-03-13 Thread steveant
Hi, I've found what looks like multiple methods of implementing your own authentication between the Seam Book, reference manual and various forum posts - is there a recommended approach we should be moving towards as a best practice? Any comments would be greatly appreciated! Method 1 - Sea

[jboss-user] [JBoss Seam] - Re: Pages.encodeScheme(), HTTPS, and context root '/'

2007-03-13 Thread [EMAIL PROTECTED]
Is a "howto" to set up Apache/JBossWeb? in front of a Seam App on JBoss a big ask? I guess it's more of a wiki ask (including https) But if you have done it then a wiki page for idiots (me) would be useful. Everytime I set it up I never really know how I did it... and dread re-producing it (lik

[jboss-user] [EJB/JBoss] - Opening a PDF file from JBOSS.

2007-03-13 Thread este1212
Hi, I Have PDF Files on JBoss server in Directory "jboss.server.data.dir", The JBoss is running in Linux PC, I have writing EJB to read a PDF file, I try to open this file on a Windows PC. so I have writting this code: if (OperatingSystem.isWindows()) process = Runtime.getRun

[jboss-user] [Installation, Configuration & Deployment] - Opening a PDF file from JBOSS.

2007-03-13 Thread este1212
Hi, I Have PDF Files on JBoss server in Directory "jboss.server.data.dir", The JBoss is running in Linux PC, I have writing EJB to read a PDF file, I try to open this file on a Windows PC. so I have writting this code: if (OperatingSystem.isWindows()) process = Runtime.getRun

[jboss-user] [JBoss Seam] - Re: Pages.encodeScheme(), HTTPS, and context root '/'

2007-03-13 Thread [EMAIL PROTECTED]
Custom port configuration has now been added in CVS, you can configure your http/https ports in components.xml: | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027794#4027794 Reply to the post : http://www.jboss.com/index.html?module=bb&op=postin

[jboss-user] [EJB 3.0] - Re: Wrong column type: expected: numeric(10, 0)

2007-03-13 Thread eeckmann
I am using jboss-seam 1.2. For a table in MySQL with column name 'id' and type varchar(24) it shows the following error: ObjectName: persistence.units:ear=MyNewSeamGenProject.ear,unitName=MyNewSeamGenProject State: FAILED Reason: javax.persistence.PersistenceException: org.hibernate.Hiberna

[jboss-user] [JBoss Messaging] - Re: How to test all functions of JBoss Messaging by JMS spec

2007-03-13 Thread bgtree
timfox : thanks for your answer. Does TCK cann't be download by personal ? I have some interst to study the source code jboss messaging and test it . Does any other place can get TCK? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027789#4027789 Reply to t

[jboss-user] [EJB 3.0] - Re: ejb3 - setList(Set list) - fails to persist.

2007-03-13 Thread hanasakijiji
Hi Wlfgang and all... I will try to get the code posted soon. In the meantime... I have narrowed things down. What do you make of this? Class1 actually has two getters as above. Set getOwned1(); Set getOwned2(); Each has has its own jointable and all are connected by the Integer Primary Keys

[jboss-user] [JBossCache] - Re: InstanceNotFoundException: jboss.system:service=ServiceC

2007-03-13 Thread [EMAIL PROTECTED]
This is a bug; I'll file a JIRA tomorrow. The correct thing to do is to use createService(), startService(), etc. But the WARN that gets logged in postRegister() is a bug. Fairly harmless though; only harm is the spurious WARN. The method actually does what it needs to. A workaround, if you

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Need Help With Hibernate for JBOSS 4.0.5

2007-03-13 Thread zboydjr
Hello. I have JBOSS 4.0.5 installed on a linux server. I am working through JBoss at work and have gotten to the fifth chapter. In this chapter I have done all of the steps, but when I open the web page I get Http error 404 /jaw resource not found. My question is how do you verify Hibernat

[jboss-user] [Performance Tuning] - Slower JBOSS 4

2007-03-13 Thread vichandoko
Hi, I've just started using JBOSS 4 (v. 4.0.4), previously using 3.2.1 However, JBOSS 4 feels slower than its older predecessor. My same servlet takes longer time to output. And even server takes longer time to start. During deployment it took a while for server to "realise" that the jar/war ha

[jboss-user] [JBoss Seam] - Re: s:hasPermission with only two parameters

2007-03-13 Thread [EMAIL PROTECTED]
The new EL integration is scheduled for the 1.3.0 release. I know it's a pain to include the extra "null" parameter for permission checks, however I'd rather not add a new method for the 1.2.1 release just to have to remove it again in 1.3.0 and break backwards compatibility. I agree the docum

[jboss-user] [JBoss Seam] - Re: s:selectDate problem

2007-03-13 Thread [EMAIL PROTECTED]
"cavani" wrote : Sorry reuse this topic, but is a simple improvement that I need. | | http://jira.jboss.org/jira/browse/JBSEAM-1044 Added in CVS. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=402#402 Reply to the post : http://www.jboss.com/ind

[jboss-user] [JBoss Messaging] - Running JBoss with JBoss Messaging inside eclipse?

2007-03-13 Thread tonylmai
Hello all, Any idea on how to run JBoss with JBoss Messaging inside eclipse? I don't know how to specify the -c messaging flag. I override the run.bat but that only seem to affect running JBoss from a command line. Thanks for your help. View the original post : http://www.jboss.com/index.html

[jboss-user] [Installation, Configuration & Deployment] - Re: Deployment ordering

2007-03-13 Thread diippi
< module> < har>har/xyz.har is not acceptable in application.xml. If you specify it as java module then the required jndi bounding does not happens . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027771#4027771 Reply to the post : http://www.j

[jboss-user] [Installation, Configuration & Deployment] - Re: Deployment ordering

2007-03-13 Thread jaikiran
Change the order in the application.xml itself. | < module> | < har>har/xyz.har | | | < module> | < ejb>spring/abc.spring | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027770#4027770 Reply to the post : http://www.j

[jboss-user] [JBoss Seam] - Re: s:hasPermission with only two parameters

2007-03-13 Thread codelion
Then how about two different names, e.g. s:hasPermission with only two parameters and s:hasPermissionFor with three parameters. I mean, s:hasPermission with null as 3rd parameter is getting old quickly. Plus, I don't think there is enough discussion in the reference documentation about what wil

[jboss-user] [Installation, Configuration & Deployment] - Deployment ordering

2007-03-13 Thread diippi
I am using spring deployer to deploy my spring beans , archived as abc.spring and specified in application.xml as follows : < module> < ejb>spring/abc.spring The spring beans do a jndi lookup for hibernate session factory deployed as a har file which is specified in jboss-app.xm

[jboss-user] [JBoss Seam] - Re: First JBoss Seam book released

2007-03-13 Thread codelion
Just downloaded "Last Updated on Safari: 2007/03/10", "Updated: 3/10/2007 5:08:38 AM". That's after Dr. Yuan has submitted the final files. Let's hope it is the final version. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027765#4027765 Reply to the post

[jboss-user] [JCA/JBoss] - Re: late data source initialization

2007-03-13 Thread sshrestha
yes, this problem only occurs if I am deploying the application in a expanded directory (to be clearer: myApp.war is a directory: where I do jar -xf app.war). and not if I deploy it as app.war (a war file) in deploy dir. View the original post : http://www.jboss.com/index.html?module=bb&op=viewt

[jboss-user] [JBossCache] - Re: Caching data per user - multiple instances or not?

2007-03-13 Thread augustientje
"[EMAIL PROTECTED]" wrote : anonymous wrote : | | It's probably the reason why with JBoss AS you don't have to explicitely put an object again in the Http session after you mutated it in order to get it replicated, right? | | | The JBoss http session replication codebase is probably w

[jboss-user] [JBossCache] - InstanceNotFoundException: jboss.system:service=ServiceContr

2007-03-13 Thread augustientje
I'm trying to use JbossCache (1.4.0) outside Jboss AS as a local cache. The code fragment I'm trying to get to work is very simple: | TreeCache treeCache = new TreeCache(); | // ... configure | | treeCache.create(); | treeCache.start(); | | // ... do something with cache |

[jboss-user] [EJB 3.0] - Re: Is Timer Service supported in JBoss Micro Container?

2007-03-13 Thread lowecg2004
>From the "Where is RC10?" posting: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=103397 But where is Embedded EJB3? Again a simple answer: it has been promoted to JBoss 5 Embedded. From the start Embedded EJB3 was actually the usage of JBoss 5 microcontainer technology to run EJB3 i

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Jasper Exception when migrating from 4.0.5.CR1 to 4.2.0.

2007-03-13 Thread risenhoover
FIXED! My web application had jsp-2.0.jar in the WEB-INF/lib directory. It was apparently conflicting with the jsp.jar file in the jboss lib directory. I removed it and it works! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027749#4027749 Reply to the

[jboss-user] [JCA/JBoss] - Re: late data source initialization

2007-03-13 Thread [EMAIL PROTECTED]
anonymous wrote : | by the way I don't have this problem if I deploy the application as a war file (myApp.war) directly in the deploy directory. | What do you mean? Do you mean you are deploying this as an expanded directory structure? I might be missing something :-) View the original p

[jboss-user] [JCA/JBoss] - Re: late data source initialization

2007-03-13 Thread sshrestha
data source is deployed in deploy dir: mysql-ds.xml. changed dtd version to 4_0. still the same results. by the way I don't have this problem if I deploy the application as a war file (myApp.war) directly in the deploy directory. The reason I am deploying in myApp.war directory is to be able to f

[jboss-user] [JBoss jBPM] - Re: Lost retrieving resource bandle in ActionHandler

2007-03-13 Thread kukeltje
Thank god I'm not anybody, just nobody. And no, we (I) did not encounter this, simply because most code is outside the processarchive. At least in the way we use jbpm. Actionhandlers are made generic and call versioned services on a kind of bus, so we have all our i18n and l10n, database configs

[jboss-user] [Installation, Configuration & Deployment] - Re: build error: thirdparty\jboss\aop\component-info.xml:1:

2007-03-13 Thread andyredhead
Ahhh - that would be what I've missed! I've done a checkout using subversion from the url you suggested, ran the build script and everything worked fine :) Many thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027736#4027736 Reply to the post : http:

[jboss-user] [JBoss AOP] - Re: Can aop-mc-int support MC's scope out of box?

2007-03-13 Thread [EMAIL PROTECTED]
That is the plan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027732#4027732 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027732 ___ jboss-user mailing list jboss-user@lis

[jboss-user] [JBoss jBPM] - Re: how to render widgets other than textbox for process var

2007-03-13 Thread kukeltje
No, not currently. Simply because if you define processvariables in the gpd to be of a certain type, with one click, forms are generated, design time. That functionality will be enhanced. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027735#4027735 Reply t

[jboss-user] [Clustering/JBoss] - Re: WAN Cluster setup

2007-03-13 Thread [EMAIL PROTECTED]
The JIRA is fixed in Branch_4_2, where it will go into the 4.2.0.GA release that's out in April. It's fixed in the 3.2, 4.0 and trunk branches, but it's not clear when the next release off those lines will be. Your fix is essentially what I did. Please try a later JGroups though. With that th

[jboss-user] [JCA/JBoss] - Re: late data source initialization

2007-03-13 Thread [EMAIL PROTECTED]
Also, just to clarify, how are you deploying your DataSource? Deploying it inside the WAR archive will cause issues. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027725#4027725 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=r

[jboss-user] [JBoss Seam] - Re: Fun With Conversations and Persistence

2007-03-13 Thread gzoller
Found it. Solution posted here for the next person who missed what I did. s:commandButton that launches DepartmentEdit.xhml needs to have a parameter. W/o this parameter strange things happen. Code should be: | | | | View the original post : http://ww

[jboss-user] [JCA/JBoss] - Re: late data source initialization

2007-03-13 Thread [EMAIL PROTECTED]
Also, eliminate the DTD reference in your jboss-web.xml file, or use the correct version (ie jboss-web_4.0.dtd etc). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027720#4027720 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=r

[jboss-user] [JCA/JBoss] - Re: late data source initialization

2007-03-13 Thread [EMAIL PROTECTED]
Hmmm...so check the basics 1)The jboss-web.xml file is in WEB-INF, not META-INF 2)The DataSource itself actually deploys and can be seen via the JMX console. Barring that, you may have to turn on tracing and post the result. Also, could you post your *-ds.xml file? View the original post : ht

[jboss-user] [JBoss Messaging] - Re: Failure in jms activation

2007-03-13 Thread NWNE
I just installed jboss messaging with ant and release-admin.xml as userguide says and i do not change any configuration. If i want to test the built in example (ejb3mdb) i get same results. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027718#4027718 Reply t

[jboss-user] [JBossCache] - Re: PojoCache vs serialized bean in TreeCache

2007-03-13 Thread genman
I would try the PojoCache and then decide. Personally, I side on writing easier to maintain code, at the expense of efficiency. The APIs do change, but likely the places you need to access the API are few. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027716

[jboss-user] [JBoss Messaging] - Re: Failure in jms activation

2007-03-13 Thread [EMAIL PROTECTED]
How did you create your server? Did you change any configurations? If you didn't change your configuration.. how we could replicate this problem? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027712#4027712 Reply to the post : http://www.jboss.com/index.htm

[jboss-user] [JCA/JBoss] - Re: late data source initialization

2007-03-13 Thread sshrestha
I have added depends element in the jboss-web.xml, no change in results: here is my jboss-web.xml file: | | http://www.jboss.org/j2ee/dtd/jboss-web_3_2.dtd";> | | |/ |xxx.mydomain.com | | | jdbc/connAs400 | java:/connAs400 | | | |

[jboss-user] [JBoss Messaging] - Failure in jms activation

2007-03-13 Thread NWNE
Hi, I'm sorry but i need your help. I just started to learn jboss messaging and ejb3. Everything was OK until i realized i can not manage the problem with my ejb3 mdb tests. I deployed an ejb3 mdb, but i allways get this error and i can not find the solution: 21:45:05,687 INFO [EJB3Deployer]

[jboss-user] [JNDI/Naming/Network] - Problem with JNDI Lookup

2007-03-13 Thread ppw
I am getting the following error messages. I tried to add false to oracle-ds.xml file, but it messes up with my form login, so I have to remove it. 17:23:21,171 ERROR [STDERR] javax.naming.NameNotFoundException: DesignObjectManger not bound 17:23:21,171 ERROR [STDERR] at org.jnp.server.Nami

[jboss-user] [Clustering/JBoss] - Re: WAN Cluster setup

2007-03-13 Thread jokum
Thank you very much for replying. I patched the method as follows : protected void verifyNodeIsUnique (Vector javaGroupIpAddresses) throws Exception |{ | byte[] localUniqueName = this.localJGAddress.getAdditionalData(); | if (localUniqueName == null){ | log.warn("

[jboss-user] [JBoss Seam] - FacesRequest masks the root cause of an Exception

2007-03-13 Thread bytor99999
I was going to make a Jira entry about it, but figured it is best to post in the forums first. Especially when doing a little research, it looks like this might be happening at the EL apis level. Here is what is happening SUMMARY: Exception thrown in FacesRequest in SeamTest masks the root caus

[jboss-user] [JBoss Portal] - Re: LDAP authentication and Role-based permissions question

2007-03-13 Thread bdaw
"ndrw_cheung" wrote : | I thought the LDAP server is only used for authentication and not for looking up the role permissions by the portal if I use LDAPLoginModule. Therefore I thought I have to enter into the database the user and the role it is assigned to. Could you please explain in mor

[jboss-user] [JCA/JBoss] - Re: late data source initialization

2007-03-13 Thread [EMAIL PROTECTED]
Read this first: http://wiki.jboss.org/wiki/Wiki.jsp?page=DependOnDataSource Then take a look at the jboss-web.dtd and add the entry to a jboss-web.xml descriptor. Example: | |jboss.jca:service=DataSourceBinding,name=(jndi-name) | | View the original post : http://www.jboss.co

[jboss-user] [JCA/JBoss] - late data source initialization

2007-03-13 Thread sshrestha
JBoss: 4.0.4, jvm: sun j2se 1.5.0_10 I have a struts/hibernate webapp deployed in server/defcp/deploy/myApp.war and it uses a data source bound to jndi. Problem is the webapp/hibernate seems to start to initialize before the datasources are initialized: so the application initialization fails t

[jboss-user] [JBoss Eclipse IDE (users)] - JBoss IDE 2.0 Beta and Remote Debugging

2007-03-13 Thread ekusnitz
I realize that JBoss IDE is going through major changes, but right now most of us are using 2.0 Beta with Eclipse 3.2. I notice that there does not seem to be a way to connect to a remote server for debugging, as there was in 1.x. Is that true or am I missing something? I try setting up a plain

[jboss-user] [JBossWS] - Re: How can I do mutual SSL when using JBoss as Web service

2007-03-13 Thread zhijun
Actually I'm only running the Web service client on JBoss. The Web service itself is running remotely on a Sun Solaris environment. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027698#4027698 Reply to the post : http://www.jboss.com/index.html?mod

[jboss-user] [JBoss Portal] - Re: Using alternative source for JBoss Portal authentication

2007-03-13 Thread bdaw
"engela" wrote : | I haven't had the time to try to integrate my portal with Acegi yet. If I can figure out how, I will post it here. | If you figure out could you create a wiki page for it? http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossPortal Many people asked about Acegi and its easier

[jboss-user] [JBossWS] - Re: handler problem

2007-03-13 Thread khaledzarig
Hi, this the simple source code i used in my web service: @Stateless @Remote(EJB3RemoteInterface.class) @RemoteBinding(jndiBinding = "/ejb3/EJB3EndpointInterface") @WebService @SOAPBinding(style = SOAPBinding.Style.RPC) public class EJB3Bean01 implements EJB3RemoteInterface

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - forward and getRequestUri question

2007-03-13 Thread richwin618
I have a jsp act as a servlet like: myJspServlet /myJspServlet.jsp MainLayout *.my mean all of request with .my should be processed by the servlet witch represented by myJspServlet.jsp on the myJspServlet.jsp, I output the result of pageContext.getRequestUri() I did some exprement, but

[jboss-user] [Installation, Configuration & Deployment] - Re: build error: thirdparty\jboss\aop\component-info.xml:1:

2007-03-13 Thread PeterJ
I looked at that wiki page and it is telling people to get things out of CVS when JBoss source is now in Subversion. Ouch. You could try getting the source as follows: svn co http://anonsvn.jboss.org/repos/jbossas/branches/Branch_4_0/ Or you could download one of the source packages from the do

[jboss-user] [JBoss Portal] - Re: LDAP authentication and Role-based permissions question

2007-03-13 Thread bdaw
I think the reason is: 2007-03-12 09:55:17,703 DEBUG [org.apache.catalina.realm.RealmBase] Username abc does NOT have role finance something in your configuration or LDAP tree must be wrong and 'abc' doesn't get principal 'finance' assigned. View the original post : http://www.jboss.com/inde

[jboss-user] [JBossCache] - Re: Exception thrown when calling remove during after-comple

2007-03-13 Thread rworsnop
By the way, in case it helps, here is the Hibernate code that does the same thing: SessionFactory factory = new AnnotationConfiguration().configure().buildSessionFactory(); | TransactionManager txManager = DummyTransactionManager.getInstance(); | txMa

[jboss-user] [JBossCache] - Exception thrown when calling remove during after-completion

2007-03-13 Thread rworsnop
JBoss Cache version: 1.4.1.SP2 I have been having some problems using Hibernate with JBoss Cache in optimistic locking mode. During the after-completion phase of the transaction, Hibernate will, in certain circumstances, call TreeCache.remove. This causes problems because JBoss Cache sees that

[jboss-user] [Installation, Configuration & Deployment] - Interesting behavoir when debugging app in eclipse with Jbos

2007-03-13 Thread etornick
I noticed this very interesting behavoir when debugging a simple web app in myEclipse with Jboss. ( I am using the latest version of jboss) I was wondering if anyone knew anything about this. I have done quite a bit of searching for this and couldn't find an explanation. When editing jsp files

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Jasper Exception when migrating from 4.0.5.CR1 to 4.2.0.

2007-03-13 Thread risenhoover
So what does this mean to me? I've got a JSP file in a WAR that works fine in 4.0.5 and gets a JasperException when deployed in 4.2.0. Are you saying that because there is no listing in the stack trace, that the error is not in the JSP? There's almost nothing in the page except for some refe

[jboss-user] [EJB 3.0] - jrxml-file in a EJB3-archive

2007-03-13 Thread vaschenko
I have a EJB3-archive. It contains jrxml-file. Usually I perform the following actions to compile a jasper report | File file = new File("report.jrxml"); | FileInputStream reportStream = new FileInputStream(file); | JasperDesign jasperDesign = JRXmlLoader.load (reportStream);

[jboss-user] [Clustering/JBoss] - Re: WAN Cluster setup

2007-03-13 Thread [EMAIL PROTECTED]
Instead of patching the NPE, try upgrading server/all/lib/jgroups.jar to JGroups version 2.2.8 or later. See http://labs.jboss.com/portal/jbosscache/compatibility/index.html for version compatibility info. In 2.2.7, the default version in most AS releases over the last couple years, TUNNEL has

[jboss-user] [Remoting] - Re: timeout specification

2007-03-13 Thread login4jbr
By the way. I have already tried the timeout property when creating the Client instance, but this don't solve this problem :( thanx in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027681#4027681 Reply to the post : http://www.jboss.com/index.h

[jboss-user] [JBoss Seam] - Component with custom scope and configuration

2007-03-13 Thread quilleashm
Hi there, I have a situation where I have several different configurations for my hibernate sessions, mainly revolving around different interceptors and filters. I also sometimes want the session to be event scoped and other times to be conversation scoped. At the moment I have something simi

[jboss-user] [JBossWS] - Re: How can I do mutual SSL when using JBoss as Web service

2007-03-13 Thread PeterJ
I'm not sure how you go about doing this if both the client and the web service are in the same app server. Try adding the JVM options to the command line that starts JBoss and see if that works. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027679#4027679

[jboss-user] [Remoting] - Re: Callback Questions

2007-03-13 Thread login4jbr
Whoa! thanx a lot. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027678#4027678 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027678 ___ jboss-user mailing list jboss-user

[jboss-user] [JBossWS] - Re: How can I do mutual SSL when using JBoss as Web service

2007-03-13 Thread PeterJ
I don't think that you have to. The client and the server will negotiate on which certificate to use. If course, they have to have at least one matching certificate. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027677#4027677 Reply to the post : http://w

[jboss-user] [JBossWS] - Re: How can I do mutual SSL when using JBoss as Web service

2007-03-13 Thread zhijun
Actually since I'm running my Web service client in JBoss as a JSP page, where should I set up the keystore file and password to use as a Web service client? The set up in server.xml is apparently for managing the keys and certificates for JBoss as a server. Thanks! View the original post :

[jboss-user] [Remoting] - timeout specification

2007-03-13 Thread login4jbr
Hi! Consider a client-server application using socket transport. the client side app is in a machine called CM the server side app is in a machine called SM Suppose that the machine SM is not accessible (is turned off or IP address is wrong or network cable is disconnected, etc.). You launch t

[jboss-user] [Clustering/JBoss] - Re: get partition(cluster)

2007-03-13 Thread JerryGauth
Sorry - I neglected to point out that this example uses JNDI to initially access the mbean server. You'll need to configure an initial context to access the server. Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); env

[jboss-user] [Clustering/JBoss] - Re: get partition(cluster)

2007-03-13 Thread JerryGauth
I'm not clear on whether you're trying to access the DistributedReplicantManager service remotely or if you're looking for something else. Here's an example of how to use the DRM service remotely in JBoss 4.0.5. Note that your remote client will need various JBoss jars on its classpath. You'

[jboss-user] [Security & JAAS/JBoss] - Re: Active Directory and LdapExtLoginModule?

2007-03-13 Thread ksiva_rajesh
Hi Neelixx, The LdapExtLoginModule is awesome. Thanks a lot for your timely and valuable help. Finally our LdapExtLoginModule started working fine. Below is our configuration. Hope this would help someone else, who is searching for similar information. This configuration information completel

[jboss-user] [Clustering/JBoss] - Re: WAN Cluster setup

2007-03-13 Thread [EMAIL PROTECTED]
For the NPE, see http://jira.jboss.com/jira/browse/JBAS-4202. Thanks for pointing it out. I haven't completely verified it, but I'm pretty sure the TUNNEL protocol does not properly support the additional_data feature, which means you'll get this NPE. I think your only short term workaround is

[jboss-user] [EJB/JBoss] - Does JBoss validate EntityBean length setting?

2007-03-13 Thread tonylmai
Hi all, Would JBoss validate an Entity's attribute for length? @Entity | public class ExampleName implements Serializable { | ... | private String name; | | @Column(nullable = false, length=25) | public String getName() { | ... | } when I invoke the following cod

[jboss-user] [JBoss Eclipse IDE (users)] - Deployment in 2.0

2007-03-13 Thread EdwardKelly
In version 1.6, there was a deploy option on the context menu for each project. Where is that in version 2.0? What is the process for deploying jars in 2.0? Where is there documentation on this. Thanks Charlie View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=

[jboss-user] [JBossWS] - Re: How can I do mutual SSL when using JBoss as Web service

2007-03-13 Thread zhijun
Thanks for the information. If I have multiple certificates in the keystore, how do I specify which one to use? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027661#4027661 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=repl

[jboss-user] [Clustering/JBoss] - Re: WAN Cluster setup

2007-03-13 Thread [EMAIL PROTECTED]
What AS version and JGroups release? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027658#4027658 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027658 ___ jboss-user mailing

[jboss-user] [JBoss Seam] - Re: Rendering buttons in a datatable fails

2007-03-13 Thread [EMAIL PROTECTED]
Yo're welcomed. Glad i could help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027659#4027659 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027659 ___ jboss-user mailing

[jboss-user] [Installation, Configuration & Deployment] - build error: thirdparty\jboss\aop\component-info.xml:1: Cont

2007-03-13 Thread andyredhead
I'm trying to build jboss 4 from the source (I want to build a test case for a specific ejb3 problem and I'd like to use as much of what already exists as possible). I've followed the instructions at: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossBuild These boil down to using cvs to do a chec

[jboss-user] [JBoss Portal] - Re: why we are using JBoss Portlet Interface in IPC

2007-03-13 Thread jonnydscott
Hi I've got IPC working. Don't know what version of the portal you're running, but if you still need help let me know. Jon View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027652#4027652 Reply to the post : http://www.jboss.com/index.html?module=bb&op=postin

[jboss-user] [JBossWS] - handler problem

2007-03-13 Thread khaledzarig
Hi guys, I need to intercept the soap message at rhe server side,but it did not work. what i did is: 1) i have this class: package org.jboss.ws.core.jaxws.handler; import org.jboss.ws.core.jaxws.handler.GenericSOAPHandler; import javax.xml.ws.handler.MessageContext; public class HibernateWS ex

  1   2   3   >