[jboss-user] [JBoss Tools (users)] - file extension .jsf ? instead of .jsp and .xhtml

2008-03-21 Thread Antoine_h
Hi, I have seen nothing about that in any doc, tuto, etc... ** Philosophical question : why the JSF files have the .jsp extension ? or the .xhtml ? they are not xhtml they are not anymore jsp in all the tutorials or doc I have seen, for configuring jsf on jbo

[jboss-user] [JBoss jBPM] - Re: org/jbpm/msg/Message.hbm.xml not found

2008-03-21 Thread help_eachother
Hi, Does this (org/jbpm/msg/Message.hbm.xml ) included in the jbpm-jpdl.jar file. I am using following steps in embedding jBPM in my web application. | 1. Copied jar files from \jbpm-jpdl-suite-3.2.2\jbpm-jpdl-3.2.2\server\server\jbpm\lib to the lib folder of my web application | |

[jboss-user] [JBoss Portal] - Pulling password from JBoss (JBP_USERS) directly

2008-03-21 Thread foongkim
Hi, i have this password, "d8578edf8458ce06fbc5bb76a58c5ca4" what do you think the hashing mechanism? I have use this code to compare, but the differences are too much. Share me your view. MessageDigest digest = java.security.MessageDigest.getInstance("MD5");

[jboss-user] [JBoss Portal] - Re: Servlet calling java:portal/UserModule

2008-03-21 Thread foongkim
Hi Antoine_h, i have follow the URL and that's where i encounter the problem at the first message i have posted.. NULL POinter exception.. and its driving me crazy i am thinking to direct access from the database... any ideas how? View the original post : http://www.jboss.com/index.html?mo

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Deployng war file: Using InvokerServlet in JBoss 4.2.2

2008-03-21 Thread ramboid
If the InvokerServlet is evil, how would you suggest that I map the servlets without having to add an entry for each one of them in the web.xml? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138391#4138391 Reply to the post : http://www.jboss.com/index.html

[jboss-user] [Beginners Corner] - Re: Hypersonic -

2008-03-21 Thread PeterJ
Two possibilities. First, the data directory is corrupt. Try deleting server/all/data. Second, you have deployed a second *-ds.xml file that is using the same Hypersonic connection url. You need to use a different url (specifically, the database name at the end of the URL), for example:

[jboss-user] [EJB/JBoss] - rollbacked transaction exception

2008-03-21 Thread kedzol
Hi everyone! I have a serious problem with my code, and I don't know how to solve it. The following codefragments search the Clients and the Client's addresses and sets transient fields with localized values. The localized (language versions) values are stored in the Reference entity. Varref is

[jboss-user] [EJB 3.0] - Re: select max syntax

2008-03-21 Thread khkachn
OK, I found it. My subject line had the correct syntax; Query.createNewQuery("select max(m.recId) from RecordsEjb m"); Ken View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138378#4138378 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting

[jboss-user] [Messaging, JMS & JBossMQ] - Re: Logging level for

2008-03-21 Thread svadu
Hi Adrian, Thanks for replying again. I am not really interested in messages from DLQHandler, but because of the null id it dumps complete message content in the the log which makes it grow at extreme rates. I've got a workaround with using JBoss DLQ and null id's by manually resending messag

[jboss-user] [Management, JMX/JBoss] - Re: jboss scheduler losing time

2008-03-21 Thread genman
What's going on is the time taken to run the task is added on to that period. I suggest you use this instead: http://wiki.jboss.org/wiki/Wiki.jsp?page=QuartzSchedulerIntegration which is more reliable and has "cron"-like scheduling features and is more robust. Or, you could come up with a bug+p

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: why nobody talks openJPA here?

2008-03-21 Thread nitros
I don't think openJPA is recommended to use with JBoss and it is not supported by JBoss either. I personally started off my project with openJPA and I ran into problems (see my post - help needed with openJPA and JBoss) To help you with your problem, I assume you are talking of a bidirectional

[jboss-user] [The Lizzard's corner] - Re: binding problem

2008-03-21 Thread jbossNewBee
Hello rajula: Was this issue ever resolved? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138370#4138370 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138370 ___ jboss-user

[jboss-user] [Beginners Corner] - Re: Hypersonic -

2008-03-21 Thread jbossNewBee
Hi: Was this problem resolved View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138369#4138369 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138369 ___ jboss-user mailing list j

[jboss-user] [JBossWS] - resource injection in WS handler not working in jboss JAX-WS

2008-03-21 Thread actonwang
hi, I tried to use resource injection in WS Handler as described in JAX-WS spec which is a MUST feature. I tested it in both Sun impl and Jbosss JAX-WS 2.0.x with Jboss 4.2.2. It is working well in Sun impl but not working in JBoss WS. here is the simple test. I am usin

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - why nobody talks openJPA here?

2008-03-21 Thread ajay662
Hello all, I am trying to port an application from weblogic to jboss AS 4.2.2. My application uses JPA and I was using OpenJPA as the persistence provider in weblogic. I don't see too much discussion here about openJPA and was wondering if anyone has tried using openJPA with jboss successfull

[jboss-user] [Messaging, JMS & JBossMQ] - MDB failing - not able to restart delivery

2008-03-21 Thread aazaroff
We have an MDB deployed in jboss 4.0.5 container. This code has been in production for 3+years and has never had an issue, until today. For some reason the MDB failed. I don't think it was actually the MDB as the stack trace indicates it is an error in the JMSContainerInvoker.getMetaData class/

[jboss-user] [JBossWS] - Re: How to setup wsse usernametoken for ejb3 based web servi

2008-03-21 Thread [EMAIL PROTECTED]
http://jbws.dyndns.org/mediawiki/index.php?title=JAX-WS_User_Guide#Proprietary_Annotations View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138360#4138360 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138360

[jboss-user] [JBossWS] - Re: referencing jboss-wsse-client.xml in WAR

2008-03-21 Thread [EMAIL PROTECTED]
Given that JBossWS should load by default the META-INF/jboss-wsse-client.xml in your jar file if you don't explicitly provide that url, generally speaking you can access resources in a jar using the getResource() method of Class. View the original post : http://www.jboss.com/index.html?module=b

[jboss-user] [JBossWS] - Re: Bug in wiki WS-Security document or?

2008-03-21 Thread [EMAIL PROTECTED]
Yes, the JAX-WS security handler should be configured as a post handler. I fixed the documentation on the wiki. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138357#4138357 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mod

[jboss-user] [JBoss Getting Started Documentation] - Re: Old documentation published as JBoss 5

2008-03-21 Thread PeterJ
When you configure JBoss Messaging to use MySQL, make sure you get the correct version of JBoss Messaging. When I went through the step to do this with beta4 I mistakenly used an incorrect Messaging version and spent most of a day scratching my head as to why it did not work. The misleading erro

[jboss-user] [JBossWS] - Re: webservice on jbos 4.0.2

2008-03-21 Thread [EMAIL PROTECTED]
If you managed to upgrade at least to 4.0.5.GA you could use JBossWS up to 2.0.3 native, which of course include JAX-WS features. If you have to stick with 4.0.2 you might want to try jbossws really old 1.0.3, 1.0.4 or 1.2.1 which had a preview implementation of JSR-181. CXF and Metro integration

[jboss-user] [JBossWS] - Re: Question: Is it possible having both WS-Addressing and W

2008-03-21 Thread [EMAIL PROTECTED]
Yes, it's indeed possible. However there's not a standard pre-built endpoint configuration for this, thus you would have to provide it (see standard-jaxws-endpoint-config.xml for instance) with both the addressing and security handlers. View the original post : http://www.jboss.com/index.html?

[jboss-user] [JBossWS] - Re: Throwing Exception from a web service method

2008-03-21 Thread [EMAIL PROTECTED]
Sure, you should be able. The log will of course trace it, but you would get a soap fault message sent. What the issue you're having exactly? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138349#4138349 Reply to the post : http://www.jboss.com/index.html?mo

[jboss-user] [JBossWS] - Re: SSL and native libraries

2008-03-21 Thread [EMAIL PROTECTED]
Did you already try posting here? http://www.jboss.com/index.html?module=bb&op=viewforum&f=50 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138347#4138347 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138347

[jboss-user] [JBossWS] - Re: Problem retrieving service in developing a client

2008-03-21 Thread [EMAIL PROTECTED]
Could you please post here the wsdl? This might be a problem in the wsdl definition. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138344#4138344 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138344 _

[jboss-user] [JBoss Getting Started Documentation] - Re: The Wiki page for configuring Oracle is misleading

2008-03-21 Thread northgorky
Greetings. Will do. But I figured it would probably be a good idea (as well as the polite thing to do) to run this by a few others before I just upped and changed something facing the public. This will also be my first external facing 'contribution' for JBoss, so want to take the extra time t

[jboss-user] [JBoss Cache: Core Edition] - Re: FileCacheLoader failing with EOFException with fix

2008-03-21 Thread genman
If you trace through, you'll notice the writing to disk doesn't happen during when write lock is obtained, but actually when the transaction commits. What probably should happen is the writes happen during the prepare phase to "dot files", perhaps named with the JGroups address, and during the c

[jboss-user] [JBossWS] - Re: Upgrading to 4.2.2 changed published WSDL

2008-03-21 Thread [EMAIL PROTECTED]
Which versions of jbossws are involved? the default ones coming with the AS? Could you provide further details about the exception you're getting? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138339#4138339 Reply to the post : http://www.jboss.com/index.ht

[jboss-user] [JBoss Cache: Core Edition] - Re: ava.lang.ClassCastException: java.lang.ClassNotFoundExce

2008-03-21 Thread northgorky
Greetings. I went and fixed the 'table not exists' error by adding it in the database. Problem is, any and all actions on any other connection, including this one, that did not access that table also all failed, with the indicated ClassCastException/ClassNotFoundException. And its not just ta

[jboss-user] [Messaging, JMS & JBossMQ] - Re: Websphere MDB read JBoss JMS Queue

2008-03-21 Thread jfrankman
Thanks. I will let them figure this one out. But I assume that it is possible. There are cases of Websphere reading JBoss JMS queues. Right? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138334#4138334 Reply to the post : http://www.jboss.com/index.html?mod

[jboss-user] [JBossWS] - Re: Compile errors with wsconsume generated source

2008-03-21 Thread [EMAIL PROTECTED]
The "$Proxy0" port type name could be your problem. You might want to try editing that in the wsdl and running wsconsume again. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138328#4138328 Reply to the post : http://www.jboss.com/index.html?module=bb&op=pos

[jboss-user] [JBoss jBPM] - Dynamic task creation

2008-03-21 Thread massimiliano_cuccia
Hi all I have a process named Interpello that, at a certains point, executes the task InizioInterpello. I attached at the node-leave event an action (actionIstruttoriaInterpello). This action have to create a task instance for a number of users (i mean a task that each selected user must execute

[jboss-user] [JBossWS] - Re: Yet another WS-Security question ...

2008-03-21 Thread [EMAIL PROTECTED]
Hi, regarding your first concern, i.e. nothing related to ws-security in the wsdl, that's right since we currently support ws-security only, not ws-security policy, thus even if the security processing is correctly configured you should not expect it to be advertised in the wsdl. Regarding your

[jboss-user] [Messaging, JMS & JBossMQ] - Re: Configuration of JBoss 4.2.1.GA for using JavaMail

2008-03-21 Thread [EMAIL PROTECTED]
No. Do your own homework first or if you want to be lazy, use the beginners forum. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138321#4138321 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138321 __

[jboss-user] [Messaging, JMS & JBossMQ] - Re: Websphere MDB read JBoss JMS Queue

2008-03-21 Thread [EMAIL PROTECTED]
You'll get more luck reading the IBM WS docs on how to configure their mdbs to use remote jms servers. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138319#4138319 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138319

[jboss-user] [Messaging, JMS & JBossMQ] - Re: haSingleton JMS + cluster (publisher node receiving its

2008-03-21 Thread [EMAIL PROTECTED]
"mdonato" wrote : | Is there a way to my MessageDivenBeans do not receive the message sent by the same server ? | MDBs don't use the same connection for receiving and sending so no. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138317#4138317 Reply to

[jboss-user] [Messaging, JMS & JBossMQ] - Re: Running JBoss MQ Standalone

2008-03-21 Thread [EMAIL PROTECTED]
See: docs/examples/jms/standalone jbossmq has not been released seperate from the appserver since 1.0 beta days. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138316#4138316 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply

[jboss-user] [Messaging, JMS & JBossMQ] - Re: QueueBrowser not returning anything in Enumerator

2008-03-21 Thread [EMAIL PROTECTED]
See listinProcessMessage() on the wiki View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138315#4138315 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138315 ___ jboss-user maili

[jboss-user] [Messaging, JMS & JBossMQ] - Re: Logging level for

2008-03-21 Thread [EMAIL PROTECTED]
"svadu" wrote : | Is this still working 'by design'? No, its not working by design and telling you so. :-) I don't see why other messages from DLQHandler would be interesting to you since it can't possibly work as configured. View the original post : http://www.jboss.com/index.html?module=bb&

[jboss-user] [JBossWS] - Re: JBoss & JAX-WS. Beginners Guide

2008-03-21 Thread [EMAIL PROTECTED]
A common problem of computer science books is that they become out of date ;-) For sure we have documentation about JAX-WS web services, http://jbws.dyndns.org/mediawiki/index.php?title=JBossWS and it is constantly maintained up to date. In particular, you might want to read this: http://jbws.dy

[jboss-user] [JBossWS] - Re: JBossXSModel goes into endless loop

2008-03-21 Thread [EMAIL PROTECTED]
May be I'm missing something... what are you actually trying to do with this WS? Did you code the wsdl by hand (contract-first approach)? Do you really want to import the whole xhtml schema into your types? ;-) This said, there might also be an issue with the JBossXSModel, but before looking for

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Jmx-console on jboss-3.2.1

2008-03-21 Thread Artec
Hi, I'm tring to use jboss-3.2.1 with jdk1.4.1_02. If I try to using jmx-console, i receive this error 2008-03-21 16:26:32,339 WARN [org.jboss.jbossweb] WARNING: Exception for /jmx-console/ org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the j

[jboss-user] [JBossWS] - Re: Steps for implementing WS-Security in JBoss using Userna

2008-03-21 Thread [EMAIL PROTECTED]
"pramod_bs" wrote : Thanks for the suggestions. I have a question. I am trying to figure out how to add a password digest to this. Please help This will be available with next 2.0.4 native release: http://jbws.dyndns.org/mediawiki/index.php?title=WS-Security_options#Password_digest.2C_nonces_and

[jboss-user] [JBossWS] - Re: Message faults not signed

2008-03-21 Thread [EMAIL PROTECTED]
Right now there's no way to have JBossWS native sign and/or encrypt faults. This issue was however addressed in the past, please monitor JBWS-1119 (http://jira.jboss.org/jira/browse/JBWS-1119), I'll see if it's possible to have this feature back soon. View the original post : http://www.jboss.

[jboss-user] [JBoss Portal] - Re: access deployed sun portlet on jboss portal

2008-03-21 Thread [EMAIL PROTECTED]
If sun portlet is JSR-168 compliant then you should be able to deploy it on JBoss Portal. You need to get rid of sun-specific descriptors and replace them with jboss portlal's descriptors. Please see our reference guide to see what descriptors you need. View the original post : http://www.jbos

[jboss-user] [JNDI/Naming/Network] - Re: [JBoss 4.0.2] NameNotFoundException: datasource not boun

2008-03-21 Thread rufik
Adding some more info about JobInitializerServlet: code is within init() method of the servlet (maybe it does matter?), something like that: public void init(ServletConfig config) throws ServletException { | String lookupName = "java:comp/env/jdbc/cms"; | //this code works! |

[jboss-user] [JBoss jBPM] - cannot get variables to default in when creating a task form

2008-03-21 Thread DenQAMan
Using eclipse 3.3, when I generate a task form, the variables that I setup when creating the task are not defaulting in. Am I missing an option setting or is it something else? thanks! Christopher View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138297#413829

[jboss-user] [JBossWS] - Re: Jboss support for Webservices over REST?

2008-03-21 Thread [EMAIL PROTECTED]
JBossWS currently does not support REST; you might want to monitor this: http://jira.jboss.org/jira/browse/JBWS-1548. Apart from what's in JBossWS, there's also the RestEasy project providing an implementation of JSR 311:http://wiki.jboss.org/wiki/Wiki.jsp?page=RESTeasyJAXRS View the original p

[jboss-user] [Performance Tuning] - Re: growableArray.cpp. Out of swap space?

2008-03-21 Thread ScottMarlowNovell
The GrowableArray is used to implement many of the internal Java virtual machine functionality (in the native code portions). In your application, one of the internal GrowableArrays was 65m in size and an attempt to allocate a 130m block failed. Even if the operation succeeded in allocating

[jboss-user] [JBossWS] - Re: Error while starting server - SearchPortTypePort does no

2008-03-21 Thread [EMAIL PROTECTED]
You might also look at the wsrunclient script in the distribution, since it references all the libraries required to run a standard web service client. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138294#4138294 Reply to the post : http://www.jboss.com/ind

[jboss-user] [JBossWS] - Re: communicating with WS in c# thorugh Java - encoding prob

2008-03-21 Thread [EMAIL PROTECTED]
Well, you could start investigating what actually goes to the wire to understand which side is the problem. This way we could eventually see if there's an issue and perhaps create a test case showing it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138293#4

[jboss-user] [EJB 3.0] - select max syntax

2008-03-21 Thread khkachn
What is the correct syntax for doing a select of max() with EJB3? I have tried creating queries of "MAX(m.recId) from RecordsEjb m" but I keep getting Hibernate errors about node can not be null. Thanks, Ken View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=41

[jboss-user] [JBossWS] - Re: Interceptor for JBossWS

2008-03-21 Thread pramod_bs
I looked at the doc. I might have got lost. My confusion is how to include my XACML policy validation inside the handler chain after JBossWS handles the username token authentication. Or is there another better way of handling this? View the original post : http://www.jboss.com/index.html?modul

[jboss-user] [JBoss Portal] - access deployed sun portlet on jboss portal

2008-03-21 Thread k_bharat
hi, I have sun portal server running on different port and jboss portal server running on different port, i deployed a sun portlet and wanted to create a portal page in jboss with sun portlet. Please provide me with suggestions about how to get around with that. Thanks View the original post

[jboss-user] [JBossWS] - Re: Passing objects to JBoss Webservices

2008-03-21 Thread [EMAIL PROTECTED]
Using a webservice client instead of performing a call directly through remoting would prevent you from manually unmarshalling the soap message ;-) You might take a look at the distribution samples and the documentation about ws clients: http://jbws.dyndns.org/mediawiki/index.php?title=JAX-WS_Us

[jboss-user] [JBossWS] - Re: Interceptor for JBossWS

2008-03-21 Thread [EMAIL PROTECTED]
Did you already take a look at the handler documentation? http://jbws.dyndns.org/mediawiki/index.php?title=JAX-WS_User_Guide#Handler_Framework View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138284#4138284 Reply to the post : http://www.jboss.com/index.html?m

[jboss-user] [JBossWS] - Re: Change the endopoint address

2008-03-21 Thread [EMAIL PROTECTED]
http://jbws.dyndns.org/mediawiki/index.php?title=FAQ#How_does_rewriting_of_the_soap_address_in_WSDL_work.3F View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138283#4138283 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=413

[jboss-user] [Messaging, JMS & JBossMQ] - Configuration of JBoss 4.2.1.GA for using JavaMail

2008-03-21 Thread gaurishjboss
How do u configure JBoss 4.2.1GA with JavaMail ???..Plz help me out View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138282#4138282 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138282 __

[jboss-user] [Messaging, JMS & JBossMQ] - Re: JMS Topic deployed with WAR

2008-03-21 Thread kahzoo
You can do this by using a service archive (a jar that ends with '.sar' suffix). The contents of the .sar typically would be: your.war META-INF/jboss-service.xml Within the jboss-service.xml, you can define the destination mbean for your topic (just as in your jbossmq-destinations-service.xml).

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Deployng war file: Using InvokerServlet in JBoss 4.2.2

2008-03-21 Thread jaikiran
JBoss-4.2.x ships with Tomcat-6. Starting Tomcat-6, to support invokerservlet you need to specify privileged="true" in the Context element. By the way, its recommended not to use InvokerServlet. Read through these Tomcat FAQs : http://wiki.apache.org/tomcat/FAQ/Miscellaneous?highlight=%28invoker

[jboss-user] [JBossWS] - Re: Change the endopoint address

2008-03-21 Thread rodosa
Thank you!!! It works!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138268#4138268 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138268 ___ jboss-user mailing list jboss-

[jboss-user] [JBoss jBPM] - Re: org/jbpm/msg/Message.hbm.xml not found

2008-03-21 Thread kukeltje
so is this hibernate file in any of the jar files or is it not? If it is, where on the classpath is it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138267#4138267 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=413826

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: How to package log4j configuration

2008-03-21 Thread jaikiran
Which version of JBoss? For JBoss-4.2.x, i guess this should work for a WAR file (similar to what is mentioned in the post that i pointed to, in my earlier reply): | myApp.war | | | |--- log4j.properties | | | |--- WEB-INF | | | | | |--- web.xml | | |

[jboss-user] [JBoss Tools (users)] - JBossTools 2.0.1 with Seam 2.1.0

2008-03-21 Thread mikeeprice
with SeamGen, on the version selection for Seam I still only get version 2.0. I was pretty sure that JBossTools 2.0.1 is supposed to have support for seam 2.1. I hope I got all the version numbers right. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138264

[jboss-user] [JBoss Portal] - 2.6.4 error in genrated javascript

2008-03-21 Thread PMN
For some reason, jbp 2.6.4 generates these lines |//we don't need the iframe/modal if logged in |document.getElementById('loginIframe').src = ''; | These lines creates an error in the page detected by Firebug document.getElementById("loginIframe") has no properties View the origi

[jboss-user] [JBoss jBPM] - Re: org/jbpm/msg/Message.hbm.xml not found

2008-03-21 Thread help_eachother
I have added jbpm-jpdl.jar in my classpath and i am using libraries from jbpm-jpdl-suite-3.2.2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138261#4138261 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138261 __

[jboss-user] [JNDI/Naming/Network] - [JBoss 4.0.2] NameNotFoundException: datasource not bound

2008-03-21 Thread rufik
Hi, I have not trivial problem with looking up datasource. Some details: xxx-ds.xml datasource entry: | | jdbc/cms jdbc:mysql://localhost:3306/mydb?useUnicode=true&characterEncoding=latin2 | org.gjt.mm.mysql.Driver | user | passwd |

[jboss-user] [JBoss Portal] - Re: Servlet calling java:portal/UserModule

2008-03-21 Thread Antoine_h
ok, the other post say it is ok to do it this way. so why not. but for your need, yes, getting the principal from the security checking is enough... you don't need to reproduce the password checking etc get the principal : you can get the principal from the portlet request... and also from

[jboss-user] [JBoss Portal] - Re: Servlet calling java:portal/UserModule

2008-03-21 Thread foongkim
another thing, i am using servlet to access the UserModule not from portlet. i believe the getPrincipal is only access by generic porlet View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138255#4138255 Reply to the post : http://www.jboss.com/index.html?module

[jboss-user] [JBoss Portal] - Re: Servlet calling java:portal/UserModule

2008-03-21 Thread foongkim
hi, actually my main purpose is to find the user by username and if it's there then i check for the password passed in by the user. can the getPrincipal can do that?? i have almost searched the entire achieve folder.. i saw this.. but there is where i got the solution from. http://www.jboss.co

[jboss-user] [JBoss Portal] - Re: Servlet calling java:portal/UserModule

2008-03-21 Thread Antoine_h
I don't know exactly, but I would not do like that. I don't think that using a identitySessionFactory.openSession() is the proper way. 1) did you search the forum post before you posted your question ? I am quite sure there is some post about this kind of things. 2) to be able to know if the u

[jboss-user] [JBoss Portal] - Re: Best practice: secure direct web app access

2008-03-21 Thread Antoine_h
This security thing are also usually done by some http server in front (apache...). another thing to think of : if you use some ajax features, it usually have it's own servlet and calls it's own resources (scripts files) in the web app. this also need to be secure, but let the ajax feature acce

[jboss-user] [JBoss Portal] - Re: Servlet calling java:portal/UserModule

2008-03-21 Thread foongkim
yes, i got what you mean. this is my latest code change after i have also search the forum in here. BUt then another problem occur... Transaction transaction = null; Session session = null; SessionFactory identitySessionFactory = null;

[jboss-user] [JNDI/Naming/Network] - JNDI look up in two different ways? whats the difference, ad

2008-03-21 Thread subrata_jboss
while sending message to queue by http we can populate context in two different ways? 1) Properties p = new Properties(); p.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); p.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces"); p.put(Context.PROVIDE

[jboss-user] [JBoss Portal] - Re: content rendering in minimize mode

2008-03-21 Thread Antoine_h
yes you can define a custom window state : look at the jsr-168 about this, and then at the implementation in jboss portal (doc, wiki, forum...) there are a few samples about that (for what I remember, there is an example of "half size maximized" or something like that). then, as you noticed it,

[jboss-user] [EJB 3.0] - Re: EJB3 startup

2008-03-21 Thread toelen
Worked like a charm, thanks for the help! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138241#4138241 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138241 ___ jboss-user ma

[jboss-user] [JBoss Portal] - Re: Servlet calling java:portal/UserModule

2008-03-21 Thread Antoine_h
Globally, you need to provide a transaction to the UserModule. more detail : the UserModule uses hibernate to query the database about the user. it will do so inside a JTA transaction, for all the advantages of using transactions with database processing. but, the user module does not build i

[jboss-user] [JBoss Portal] - Servlet calling java:portal/UserModule

2008-03-21 Thread foongkim
Hi there, i have one portal running on Jboss and one is the servlet. In my servlet, i will required to call the usertable in JBP_USer to verify the user registered already or not? Thus, below is part of the coding... try {

[jboss-user] [JBoss jBPM] - Re: jBPM MySQL database setup issues

2008-03-21 Thread intelchen
change the files in the dir jbpm-jpdl-3.2.2\server\server\jbpm\conf three files should to modify for mysql datasource access standardjbosscmp-jdbc.xml standardjaws.xml login-config.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138237#4138237 Reply to the

[jboss-user] [JBoss Messaging] - Different ways of populating Context for sending message ??

2008-03-21 Thread subrata_jboss
while sending message to queue by http we can populate context in two different ways? 1) Properties p = new Properties(); p.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); p.p