[jboss-user] [Beginners Corner] - Re: ear: read a file from webapplication

2008-03-06 Thread nishan_inapp
You may want to try ; | URL fileURL = this.getClass().getResource(img\mypic.gif); | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134479#4134479 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134479

[jboss-user] [JBoss jBPM] - Re: Running Seam and JPBM in a separate schema

2008-03-06 Thread mputz
anonymous wrote : Unabled to enlist resource, see the previous warnings This is coming from JBossTS TransactionManager used in JBoss 4.2.x, which is more strict about enlisting multiple resources in a single transaction than the previous implementation from JBoss 4.0.x. See

[jboss-user] [JBoss Tools (users)] - upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tools 2.

2008-03-06 Thread erimag
I have verified this behaviour in two separate installations of Eclipse: 1. Install a fresh Eclipse Europa (eclipse-jee-europa-fall2-win32) 2. Install JBoss Tools 2.0.0GA via update site 3. Create Seam Web Project (deployed as EAR) 4. Verify that deployment to JBoss AS 4.2.2GA works 5. Run Search

[jboss-user] [JBoss jBPM] - Re: Switching the Database Backend

2008-03-06 Thread mputz
EhCache? what jBPM version are you using? I'd expect to see property name=hibernate.cache.provider_classorg.hibernate.cache.HashtableCacheProvider/property in hibernate.cfg.xml, as this is the default cache provider setting in the recent versions. View the original post :

[jboss-user] [JBossWS] - Re: @WebService method argument names

2008-03-06 Thread schueffi
Hi i think the solution should be somewhat like | @WebMethod | public int addNumbers( | @WebParam(name = myParamName1) int num1, | @WebParam(name = myParamName2) int num2 | ) | regards Stefan Schueffler View the original post :

[jboss-user] [JBoss Portal] - Re: How to stream a pdf at portlet?

2008-03-06 Thread [EMAIL PROTECTED]
littleprince wrote : Can you give me more detail on Portlet 2.0 resource serving? Some sample codes might be very helpful. it is pretty much like a servlet. your portlet needs to implements the ResourceServing interface with the method | public void serverResource(ResourceRequest req,

[jboss-user] [JBoss Tools (users)] - Connector modules are not deployed

2008-03-06 Thread rtimush
Hello, I'm trying to deploy my EAR project which contains a Connector module. If I use standard server provided by WTP then everything goes right and connector is packaged into ear archive. However, if I try to use server provided by JBoss Tools then connector archive is missed. I tried to

[jboss-user] [Beginners Corner] - Re: ear: read a file from webapplication

2008-03-06 Thread mars1412
tx for the reply actually I just looked into the seam source how the seam.properties file is read and came up with this solution: javax.faces.context.FacesContext facesContext = javax.faces.context.FacesContext.getCurrentInstance(); | ServletContext servletContext =

[jboss-user] [JBoss jBPM] - Re: Cannot deploy BPEL version of HelloWorld

2008-03-06 Thread markld
Hello Alex If I try browsing to the zip file from the web console and then pressing Deploy, I get the display shown below. The AS window shows the same stack trace. regards Mark HTTP Status 500 - type

[jboss-user] [Remoting] - Re: cannot acces application from remote sytem

2008-03-06 Thread trustin
Uh.. I gave you the URL of the old forum. The newer one is located at: http://www.seamframework.org/Community/Forums View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134518#4134518 Reply to the post :

[jboss-user] [EJB 3.0] - Re: EJB 3.o (annotations) supports in JBOSS 4.2.2

2008-03-06 Thread jaikiran
anonymous wrote : does it support deploying EJBs with annotations ? Yes, it supports. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134543#4134543 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134543

[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool

2008-03-06 Thread baz
I can verify this. Yesterday i changed to eclipse-jee-europa-winter which includes WTP2.0.2 After reading this post, i setup a new seamproject(2.0) which leads to this exception: 12:36:16,234 ERROR [MainDeployer] Could not initialise deployment:

[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool

2008-03-06 Thread [EMAIL PROTECTED]
sounds more like a WTP bug than a jboss tools bug to me... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134540#4134540 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134540 ___

[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool

2008-03-06 Thread erimag
The order of installation/update does not seem to matter. It seems like this might be a bug in WTP2.0.2 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134499#4134499 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134499

[jboss-user] [EJB 3.0] - EJB 3.o (annotations) supports in JBOSS 4.2.2

2008-03-06 Thread sajhak
im new to j2ee area ... Does JBOSS version 4.2.2 supports EJB 3.0 specification and j2EE 5 specification ?? does it support deploying EJBs with annotations ? if it not supported , what s the option i have ? is it to use the newest jboss version ? or are thera any patches ? please help

[jboss-user] [Remoting] - Re: cannot acces application from remote sytem

2008-03-06 Thread trustin
You are in the wrong forum. Please post your question to the following forum again: http://www.jboss.com/index.html?module=bbop=viewforumf=231 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134517#4134517 Reply to the post :

[jboss-user] [Security JAAS/JBoss] - HTTP Auth callerPrincipal

2008-03-06 Thread joshd
I am quite new to jboss at all, and facing a problem with a login part of an app using ejb3 with SOA and a js-ajax web-client). I have to use http-authentication and my LoginModule (extends UserNamePasswordModule) is working pretty fine so far. My LoginModule uses a session bean - my

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Deployment tool ????

2008-03-06 Thread sajhak
hi peter , I was searching for any graphical tools for deployment. In netbeans we can deploy the archives from the IDE itself..but in IDEA there s no such funtionality.. i was looking for a way to ease the deplyoment.. well , it seems i have to copy those file manually rather than looking for

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: EJB3 deployment:Newbie question

2008-03-06 Thread JGF1
In case anyone else is reading this same book, I managed to get this working in the end. I found a very useful article here: http://www.adam-bien.com/roller/abien/entry/ejb_3_portability_issue_why When I changed the JNDI lookup to use the string SimpleSessionBean/remote. I finally got the JNDI

[jboss-user] [JBoss Tools (users)] - Re: how to disable ajax4jsf in JBoss server console (Log)?

2008-03-06 Thread amitev
This is a JBoss AS related question. Go in /server/default/conf directory. There is a config file for log4j called log4j.xml. Inside the root tag put the following | logger name=org.ajax4jsf.io.parser.FastHtmlParser | level value=INFO / | appender-ref ref=CONSOLE/ | /logger

[jboss-user] [Beginners Corner] - application clients in JBOSS 4.2.2

2008-03-06 Thread sajhak
Hi all , Im new to j2ee development.. in order to execute an application client in JBOSS 4.2.2 do i have to make any configurations additionally ? im asking this is , i am working with EJBs , so i developed a session Bean ( EJB 3.0 ) which searches for wine types an example of an ebook .

[jboss-user] [JBoss jBPM] - Re: Do we really need

2008-03-06 Thread kukeltje
Then build a full custom node which does not need a transition. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134535#4134535 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134535

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - em.persist(entity) ignores transaction

2008-03-06 Thread javatwo
Hi, I am using JBoss 4.0.5GA and mysql 5.0 database. in web tier: UserTransaction userTransaction = | (UserTransaction)new InitialContext().lookup(java:comp/UserTransaction); | | userTransaction.begin(); | | | // in session bean, em is EntityManager |

[jboss-user] [JBoss jBPM] - Re: Swimlane

2008-03-06 Thread kukeltje
correct since your processdefinition is *wrong* tasks can only exist in a task-node. Please look at the docs, search the wiki, forum and jira before posting. These issues *are* documented View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134502#4134502

[jboss-user] [JBoss jBPM] - Re: Swimlane

2008-03-06 Thread kukeltje
@Ken: The JBoss Jira ofcourse. You can find it by entering search terms View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134527#4134527 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134527

[jboss-user] [JBoss jBPM] - Re: Return Object from an action

2008-03-06 Thread kukeltje
no... you can't... store it in a processvariable and retrieve in another class View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134528#4134528 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134528

[jboss-user] [EJB/JBoss] - Hot deploying EJBs

2008-03-06 Thread ruwanin84
I am using Netbeans 6.0.1 and I feel my ejbs are not upto date. i.e. even though .jar file is copied to the jboss deployment folder, it runs a previous version of my ejb. always i have to restart my jboss server always. then only it uses the correct version. even it works only if i run run.bat in

[jboss-user] [JBoss jBPM] - Re: specify task time window

2008-03-06 Thread kukeltje
anonymous wrote : Wondering whether its worth raising this as a feature request? You could... not sure what priority it gets though... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134531#4134531 Reply to the post :

[jboss-user] [JBoss Tools (users)] - Re: Connector modules are not deployed

2008-03-06 Thread [EMAIL PROTECTED]
there should not be any difference. if you are using some old version of jboss tools (pre-GA) then yes there were issues like this with packaging. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134539#4134539 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: messages stuck in queues

2008-03-06 Thread martin.wickus
I am busy setting up a dev environment hooked up to production data (same messaging load for feeds) to replicate this. I will also try and debug the code ,assuming I can trigger the condition, and will update the results today/tomorrow. Rationale: Our UAT/PROD environments are not ideal for

[jboss-user] [JBoss jBPM] - jBPM + EJB - transaction management?

2008-03-06 Thread syedtaj
Hello, I have some old code that uses EJB for transactions and some quite heavy stateful session beans that are needed in some use cases in my project. I was trying to bring in jBPM into the workflow, I was wondering whether, the action handlers that I write, can invoke Stateful / stateless

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: em.persist(entity) ignores transaction

2008-03-06 Thread jaikiran
javatwo wrote : Hi, | I am using JBoss 4.0.5GA and mysql 5.0 database. | Maybe related http://www.jboss.com/index.html?module=bbop=viewtopict=127419. Make sure that you are using InnoDB engine on MySQL server while creating the tables. View the original post :

[jboss-user] [JBoss jBPM] - Re: jbpm variables not saved

2008-03-06 Thread pitcom
Press 'enter' as terminator for value you type in. It will be saved... Good luck Regards Kamlesh Shah View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134553#4134553 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: GPD on linux

2008-03-06 Thread syedtaj
The right click actions like - Add Action Handlers etc are not available from GDP 3.1, i believe. They are now sifted to the properties tab below. Everything should be available there. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134555#4134555 Reply to

[jboss-user] [JBoss Portal] - Re: Portlet in multiple columns

2008-03-06 Thread porcho
So, summing up...there's no easy way to do it? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134557#4134557 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134557 ___ jboss-user

[jboss-user] [JBossWS] - Re: @WebService method argument names

2008-03-06 Thread rcarmichael
That solution works perfectly, thank you for taking the time to respond. - Ryan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134559#4134559 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134559

[jboss-user] [Security JAAS/JBoss] - SSL Certificates Dynamic Loading

2008-03-06 Thread vishal_badha
Is there any possibility i can update the server keystores and truststores while the server is running (without restarting the server). i am trying to implement ssl security and giving access to my client with proper certificates, but in the current scenario the server needs to be restarted for

[jboss-user] [JBoss AOP] - Trying to build AOP from source but isn't getting 3rd party

2008-03-06 Thread dsmiley
I followed the instructions here: http://www.jboss.com/wiki/Wiki.jsp?page=BuildingJBossAOPFromSubversion With this branch: http://anonsvn.jboss.org/repos/jbossas/branches/Branch_AOP_1_3/ However, it fails on compilation errors, and it seems clear that its failing because there are no 3rd party

[jboss-user] [JBoss Tools (users)] - org.jboss.deployment.DeploymentException

2008-03-06 Thread Pebbels
Hi guys, using JBoss 4.2 via jems-installer-1.2.1.CR4.jar and JBoss Seam 2.0.1. and Eclipse Europa with JBoss Tools When creating a Seam-Project in eclipse like http://docs.jboss.org/tools/2.0.0.GA/seam/en/html/directory_structure.html and run it on the server i become the following error:

[jboss-user] Re: Overriding the Identity component.. (like lacewiki does) fa

2008-03-06 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=15106 Posted on behalf of a User Seam appears to be expecting an instance of RuleBasedIdentity versus Identity. RuleBasedIdentity is an extension of identity that deals with Drools. Extending RuleBasedIdentity instead Idendity will make it

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

2008-03-06 Thread khkachn
. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134563#4134563 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134563 ___ jboss-user mailing list jboss-user@lists.jboss.org

[jboss-user] Re: EJB3: How to access @Stateless EJBs from custom LoginModule?

2008-03-06 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=21643 Posted on behalf of a User I am having the same problem. were you able to solve it? thanks a lot. In Response To: Hi, I have a JBoss 4.2.2.GA WebService application, where the WebServices should be secured. So I wrote a custom

[jboss-user] [Beginners Corner] - Jboss Profiler version

2008-03-06 Thread marin_lh
Question for Dummy but what is the last version available to deploy fo Jboss Profiler ? Is it the RC3 or the CR4. By the way what does mean CR and RC. Regards M View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134570#4134570 Reply to the post :

[jboss-user] [JBoss Portal] - get UserModule via lookup exception

2008-03-06 Thread den74
HI, env. JBossPortal 2.6.4 (bundled with Jboss AS) oracle 9.2 portlet in jsf tecnology (with portlet-3.2.0-20071207.053132-44.jar to manage portlet lifecycle) we defined a new user properties and just want to get it from UserProfileModule. To do this following manuals we are trying to retrieve

[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool

2008-03-06 Thread [EMAIL PROTECTED]
besides that actually being correct (e.g. not listing them in application.xml) i don't follow why that should affect it ;( does it work with eclipse 3.2.1/wtp 2.0.1? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134576#4134576 Reply to the post :

[jboss-user] [JNDI/Naming/Network] - ConnectionFactory lookup returns null

2008-03-06 Thread juleroy
Hi all, I'm having a problem doing a lookup in a QueueConnectionFactory from a remote client application. The jndi name is found but the lookup method always returns null. I'm using JBoss 4.2.2GA, integrating with WebsphereMQ 6.0. Here's the part of my code: | Properties prop = new

[jboss-user] [JBoss Portal] - Re: Portlet in multiple columns

2008-03-06 Thread PMN
Yes there is: use the YUI 2.5 kit, use their layout manager or their grid (grid.css) - redefine your own layout to fit your needs. The YUI kit is very well documented and they are fast at answering questions on user forum, even naïve questions, it's very nice. Now, if your needs are simple

[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool

2008-03-06 Thread erimag
I've gotten it to work by NOT including any dependent jars in application.xml - then they are deployed in the ear. If I do include them in application.xml (they are automatically put there if I choose to generate deployment descriptor) they are left out of the ear. View the original post :

[jboss-user] [JBoss Tools (users)] - Re: Connector modules are not deployed

2008-03-06 Thread [EMAIL PROTECTED]
I haven't checked the code yet, but my impression is that you are most likely correct and connectors are not properly taken care of. I will investigate this issue when I get to the office. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134589#4134589 Reply to

[jboss-user] [JBoss jBPM] - Re: Return Object from an action

2008-03-06 Thread victorl
Hi Ronald, Thank you very much for your response, and it is very useful because I were thinking that solution and now I can confirm it. Thanks once again. Regards, Victor View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134583#4134583 Reply to the post :

[jboss-user] [JBoss jBPM] - Multiple views of one process

2008-03-06 Thread david_ling
Hi, Got a question regarding the process image. Currently it is possible to see the image of a process in the portal by deploying processimage.jpg and gpd.xml. I was wondering if it is possible to see multiple images of the same process based on who the user is. If we take the websale

[jboss-user] [JBoss Tools (users)] - Re: Connector modules are not deployed

2008-03-06 Thread rtimush
I use JBoss Tools 2.0.0.GA installed by update manager to Eclipse Europa Fall2. Should I provide some more details about my configuration? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134586#4134586 Reply to the post :

[jboss-user] [Javassist user questions] - Re: How to create CtClass java.lang.Object

2008-03-06 Thread chiba
anonymous wrote : I see you not uploading latest versions to maven repozitory. Do you want to delegate this task to me? Thank you. But I think someone else should be responsible for this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134597#4134597 Reply to

[jboss-user] [JBoss jBPM] - Re: Successfuly configuring JobExecutorServlet

2008-03-06 Thread ffernandez
Has somebody resolve this issue? Is it not possible the fork/join with the intermediate nodes in async way? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134605#4134605 Reply to the post :

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: cannot get XA connection using PostgreSQL on JBoss4.0.5

2008-03-06 Thread cgholdenjr
the postgresql datasource doesn't have the setURL method. you have to put the host, port, and db name in the mbean. xa-datasource-property name=ServerNamehostname/xa-datasource-property xa-datasource-property name=PortNumber5432/xa-datasource-property

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

2008-03-06 Thread squ1rr3l
fastbob wrote : I tried an experiment. I commented out the SSL connector and things worked (except for SSL, of course). | | But I found the cause of the problem. I took a closer look at the installed packages on fedora. Tomcat was installed as part of the system packages (probably by me),

[jboss-user] [EJB 3.0] - Re: EJB 3.o (annotations) supports in JBOSS 4.2.2

2008-03-06 Thread ALRubinger
Yep, though we're not yet fully compliant with EJB3.0 and JEE5 Specifications. When AS5 goes GA, we will be. S, ALR View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134610#4134610 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: Successfuly configuring JobExecutorServlet

2008-03-06 Thread kukeltje
anonymous wrote : Is it not possible the fork/join with the intermediate nodes in async way? You mean async nodes between the fork and the join? If you think this is a problem, please make a unittest for it that demonstrates the problem View the original post :

[jboss-user] [JBoss jBPM] - Re: Multiple views of one process

2008-03-06 Thread kukeltje
No, sorry... this is not possible. You have to develop this yourself View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134613#4134613 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134613

[jboss-user] [JBoss jBPM] - Re: Successfuly configuring JobExecutorServlet

2008-03-06 Thread ffernandez
Here the process: | ... | fork name=fork1 | transition to=ibk-df-classifier name=1/transition | transition to=bayes-wf-classfier name=2/transition | transition to=svm-df-classifier name=3/transition | /fork | | node name=node1 async=true | action

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Deployment tool ????

2008-03-06 Thread PeterJ
Your original post did not say you were attempting to do this from an IDE. Any IDE that supports JBossAS should have a way of deploying applications as part of the build and run or debug process. I do not use IDEA, so I don't know how it works there. View the original post :

[jboss-user] [Beginners Corner] - Re: application clients in JBOSS 4.2.2

2008-03-06 Thread PeterJ
If you use annotations, and are happy with default settings, then no additional descriptors are necessary to deploy an EJB. Your code appears to be for a standalone client. In that case, you do not need an ear file. Instead, place the EJB jar file into the server/xxx/deploy directory. And

[jboss-user] [JBoss jBPM] - Re: How to access variable of 'Element' type, Element being

2008-03-06 Thread meghanai_99
Many thanks Alex. Meghana. PS: We found number of issues while upgrading JBPM beta to JBPM GA on Oracle and SQL Server. They are mostly hibernate issues though. Just FYI. If you are interested I can send you detailed email about issues. View the original post :

[jboss-user] [JBoss jBPM] - Re: multiple jBPM questions

2008-03-06 Thread vtysh
1. Not sure, but you can use jbpm-enterprise component to avoid synchronization issues if there are any 2. Jackrabbit is supported by the jbpm. Look on the jbpm documentation and cvs repository for examples. View the original post :

[jboss-user] [JBoss Portal] - Re: get UserModule via lookup exception

2008-03-06 Thread den74
i solved, sorry my mistake. i was exporting in my portlet war some libraries that generated conflicts with the portal ones View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134631#4134631 Reply to the post :

[jboss-user] [Clustering/JBoss] - Re: Recommended reading...

2008-03-06 Thread mbabauer
tag to boost the thread back up View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134635#4134635 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134635 ___ jboss-user mailing list

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

2008-03-06 Thread websfasciomaster
My client code is: System.out.println(Starting Test Client); | URL url = new URL(http://localhost:8080/EspertoWS/ServiceBean?wsdl;); | QName qname = new QName(http://ws.server.espertoEnel.nergal.it/,ServiceBean;); | System.out.println(Creating a service Using: \n\t

[jboss-user] [Installation, Configuration DEPLOYMENT] - user lost their session (login) after hot deploy.

2008-03-06 Thread jeanbr05
I everyone, I'm using Jboss AS 4.0.5 in a linux red hat environment. I have a web aplication (folder .war) deployed and running and when I need to update the content of the application, let's say a .jsp file, I just 'touch' to the web.xml and the automatic undeploy e deploy run. But then all

[jboss-user] [Security JAAS/JBoss] - Re: HTTP Auth callerPrincipal

2008-03-06 Thread ragavgomatam
Do this... sessionContext.getCallerPrincipal ().getClass().getName() It will always be an instance java.security.Principal. If you want your userObj to be returned, then make your userObj implement java.security.Principal interface and instantiate it in your LoginModule. So now your UserObj

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: user lost their session (login) after hot deploy.

2008-03-06 Thread PeterJ
Try doing an exploded deployment: http://wiki.jboss.org/wiki/Wiki.jsp?page=ExplodedDeployment Then when you update a jsp, it will will be recompiled and deployed immediately - you do not have to touch web.xml. View the original post :

[jboss-user] [JBoss Tools (users)] - Re: Connector modules are not deployed

2008-03-06 Thread [EMAIL PROTECTED]
but why should connectors be special compared to what the generic server do and we do ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134647#4134647 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134647

[jboss-user] [JBoss AOP] - Exception to invoke remote object when upgrade to jboss-aop2

2008-03-06 Thread avihaimar
Hey, I use in jboss4.2GA. I upgrade to jboss-aop2 with the ant script. Now when i try to call to stateless ( The statelss is a simple one , no aop) in the server i get the following excpetion: java.lang.NullPointerException | at

[jboss-user] [EJB 3.0] - Re: EJB 3.o (annotations) supports in JBOSS 4.2.2

2008-03-06 Thread sajhak
thanks guys , ALRubinger , could u pls tel me whts the meaning of goes GA ? ... what does GA stands for ? regads Sajith View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134649#4134649 Reply to the post :

[jboss-user] [EJB 3.0] - Re: EJB 3.o (annotations) supports in JBOSS 4.2.2

2008-03-06 Thread ALRubinger
Sorry, that's General Availability == Official Release, not Beta or RC (Release Candidate). S, ALR View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134652#4134652 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134652

[jboss-user] [JBoss jBPM] - Re: Do we really need

2008-03-06 Thread deepuin9
Hi bungrudi , I was trying to do something similar to what you are talking about. My idea is to have a node using which I should be able to define the transitions at runtime. Have a look at the sample process definition below, if you observe state 3 does not have any transition. ?xml

[jboss-user] [EJB 3.0] - @PersistenceUnit on private javax.persistence.EntityManager.

2008-03-06 Thread JGF1
I've been following along with an example using EJB3/JBOSS from the book Beginning Java EE 5 Platform and don't know why JBoss is complaining about an annotated private instance of an Entity Manager. I was wondering if anyone can let me know where I am going wrong. Here is the code: |

[jboss-user] [Beginners Corner] - Re: application clients in JBOSS 4.2.2

2008-03-06 Thread sajhak
thanks Peter , u r the one who has replied for almost all my questions so far .. :) finally i got the problem solved .. when JBOSS integrates with Netbeans 6.0 , it automatically detects the settings to be conformed with J2EE 1.4 specs.not J2EE 5...so il try with JBOSS 5.0 later.. so i

[jboss-user] [EJB 3.0] - Re: @PersistenceUnit on private javax.persistence.EntityMana

2008-03-06 Thread ALRubinger
There is no default persistence unit in this deployment | | | | Do you have a persistence.xml in the META-INF of your JAR? | | | | And please wrap your stack traces in a code block, too. :D | | | | S, | | ALR | | | | | | View the original post :

[jboss-user] [EJB 3.0] - Re: @PersistenceUnit on private javax.persistence.EntityMana

2008-03-06 Thread ALRubinger
Course, given that last post, I shouldn't be one to complain about formatting. :) S, ALR View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134659#4134659 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134659

[jboss-user] [EJB 3.0] - Re: EJB 3.o (annotations) supports in JBOSS 4.2.2

2008-03-06 Thread sajhak
its ok. thanks ALR View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134660#4134660 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134660 ___ jboss-user mailing list

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Problem with Session EJB - Hibernate

2008-03-06 Thread OnurAktas
Hi, i am very new on Hibernate, and also EJB's. The problem is that i just want to save @ManyToOne related records based on different tables. Please tell me if i am following a WRONG architecture? And also when i execute mainline, i get an error of java.lang.RuntimeException:

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Problem with Session EJB - Hibernate

2008-03-06 Thread OnurAktas
Please ignore the line below in main code.. bookEN.setIsbn(123-321-333); View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134664#4134664 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134664

[jboss-user] [Installation, Configuration DEPLOYMENT] - web.xml

2008-03-06 Thread hAck3d
Version: JBoss4.0.5GA I'm using static HTML error pages for redirecting any errors to a customized error page. For some reason, the JBoss is not redirecting to the static pages, rather showing the default HTTP error message. Also, I'm using BASIC authentication, instead of FORM based

[jboss-user] [JBoss Portal] - Re: Changing the access denied error page to a custom page

2008-03-06 Thread hAck3d
I'm having the same trouble using JBoss4.0.5GA Any comments ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134670#4134670 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134670

[jboss-user] [Beginners Corner] - Re: application clients in JBOSS 4.2.2

2008-03-06 Thread PeterJ
You can only use @Local if you call the ejb from a web application or another ejb. You are not doing that, you are calling it from a standalone client. And the IDE is hiding that fact from you, including setting the classpath. (This is one reason why every time I have to break in a new

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: web.xml

2008-03-06 Thread PeterJ
Try getting rid of the spaces around the error codes. (I have noticed other places where white space seems to cause problems.) Also, when posting xml text, please surround with code brackets (select text and hit the Code button). View the original post :

[jboss-user] [EJB 3.0] - Re: @Interceptor call failure on @WebMethod

2008-03-06 Thread rcarmichael
Sorry for the me too post, but this is really unfortunate. @Interceptors just plain don't work on beans marked with only @Stateless and @WebService. Add @Service, @Local or @Remote, it works fine. This is on AS 4.2.2. Has this at least been added to the bug list? Are there any other

[jboss-user] [JBoss AOP] - Re: Trying to build AOP from source but isn't getting 3rd pa

2008-03-06 Thread [EMAIL PROTECTED]
I am checking out from svn now. I'm off out though, so if you haven't heard anything tomorrow let me know in case I forget to build it :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134675#4134675 Reply to the post :

[jboss-user] [EJB 3.0] - Re: @Interceptor call failure on @WebMethod

2008-03-06 Thread ALRubinger
Please do a search on JIRA (under EJBTHREE Project), and if you cannot find an issue, go ahead and file one. If you attach an isolated test case exhibiting this problem, that's very helpful. For extra credit, you can even poke around and see what the differences between working @Interceptors

[jboss-user] [EJB/JBoss] - Hot-deploy of an EJB loses my JAXBContext

2008-03-06 Thread kvbisme
I have an application that uses a war to accept web service requests, the requests are authenticated, and if authenticated the request is routed to an EJB to perform whatever task is requested. The problem is that when I bring up JBoss (4.0.5.GA) the application behaves as advertised, but if I

[jboss-user] [JBoss Tools (users)] - Re: Connector modules are not deployed

2008-03-06 Thread rtimush
In my opinion, connectors can be processed in the same way the utility projects are. The only significant difference is rar extension instead of jar. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134681#4134681 Reply to the post :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: web.xml

2008-03-06 Thread hAck3d
Actually, that does not work either. After three login attempts, it basically change the URL to http://localhost:8080/something/index.faces rather it should change it to http://localhost:8080/something/error/error401.html If I manually try to access this URL, it works. This sort of error could be

[jboss-user] [EJB 3.0] - Re: @PersistenceUnit on private javax.persistence.EntityMana

2008-03-06 Thread JGF1
ALRubinger wrote : There is no default persistence unit in this deployment. Do you have a persistence.xml in the META-INF of your JAR? | The answer to your question is no. Should I? From what I read in the book, I thought JBoss was supposed to automatically create the database back end with

[jboss-user] [EJB 3.0] - Re: @PersistenceUnit on private javax.persistence.EntityMana

2008-03-06 Thread JGF1
BTW: Have just taken a look at the code download from Apress website for this book. It has defined an extra exception class and iused it in StockList interface, and as a consequence StockListBean. Because the design pattern in the class that was found by JBoss didn't match what it was

[jboss-user] [EJB 3.0] - Re: @PersistenceUnit on private javax.persistence.EntityMana

2008-03-06 Thread ALRubinger
Well, JBoss automatically ships with the Hypersonic database to give you features requiring persistence out of the box...like JMS. But even if you use the Hypersonic DB, you still need to: * Create a database (namespace, not database server) for your application (See references for your DB

[jboss-user] [EJB 3.0] - Re: @PersistenceUnit on private javax.persistence.EntityMana

2008-03-06 Thread ALRubinger
JGF1 wrote : BTW: Have just taken a look at the code download from Apress website for this book. | It has defined an extra exception class and iused it in StockList interface, and as a consequence StockListBean. | Because the design pattern in the class that was found by JBoss didn't match

[jboss-user] [JBossCache] - optionoverrides and DataVersion

2008-03-06 Thread nnnnn
It's possible that optimistic locking and using OptionOverrides to tweak optimistic locking to do some things that we want to do. However, it seems like the fact that the way that the DataVersion is set for an attribute (using global OptionOverrides) is not thread safe at all. From the

[jboss-user] [JBossCache] - Re: optionoverrides and DataVersion

2008-03-06 Thread nnnnn
Hmmm. Maybe I am wrong. Let me rephrase it: Does getInvocationContext() return a different object per thread? Is that what makes it so that two different threads doing this at the same time don't step on each others' toes? View the original post :

[jboss-user] [JNDI/Naming/Network] - Name not found exception

2008-03-06 Thread nishroop
Hi, I am trying to deply and run my application in Jboss. I am migrating my application from weblogic to Jboss. I am using EJB1.x and I would like to know if I need to make specific changes in the xml files to support EJB1.x as I see that EJB3.x is used in the recent versions. Anyway, I am

[jboss-user] [JBossCache] - Re: optionoverrides and DataVersion

2008-03-06 Thread nnnnn
(slaps self on head). I looked at the code, and see that InvocationContext is ThreadLocal. So anybody, can I just have confirmation that using OptionOverrides to set data version for optimistic locking is thread-safe? :-P View the original post :

  1   2   >