[JBoss-user] [Beginners Corner] - Re: [URGENT] JBoss Rules and facts of the same type

2006-06-07 Thread ahmed.adly
hi every one, I have found the answer about my question, you can see it at this URL http://jira.codehaus.org/browse/DROOLS-365 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949530#3949530 Reply to the post :

[JBoss-user] [JBossWS] - JSR-181 POJO and JAAS

2006-06-07 Thread Juergen.Zimmermann
How do I implement that a JSR-181 POJO can login into JAAS? a) The EJB-Container uses JAAS, and the JUnit clients can login. b) The Web-Container also uses JAAS with FORM-based authentication for the JSP pages. No problem to invoke JSP pages, no problem to invoke EJB functionality. Now, I'm

[JBoss-user] [JBoss Eclipse IDE (users)] - JNDI naming problem with JBoss

2006-06-07 Thread rohithadg
Hi all, I'm trying to deploy a Session bean on JBoss. My java classes as follows: pkg1.MyBean //Bean pkg1.My //Remote Interface pkg1.MyHome //Home Interface pkg1.MyLocalHome //Local Home Interface pkg1.MyLocal //Local Interface ejb-jar.xml related codes: !-- Session Beans --

[JBoss-user] [JBoss jBPM] - How to deploy jBPM 3.1.1 as an EJB?

2006-06-07 Thread netservant
Anybody can help me? Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949536#3949536 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949536 ___ JBoss-user mailing list

[JBoss-user] [EJB/JBoss] - Re: java.lang.LinkageError: loader constraints violated when

2006-06-07 Thread mandeep
Great news !!! I solved the problem. Actually there was some conflict between the jars i had in my WEB-INF/lib and the default jars in jboss/server/default/lib directory. So i removed unwanted jars from my WEB-INF/lib and my application got deployed smoothely. Don't know what exactly had been

[JBoss-user] [Installation, Configuration Deployment] - Re: JBoss 4.0.4.GA Hibernate Exception

2006-06-07 Thread Duffcase
I had the exact same problem. I believe it is a bug, or something anyway that keeps hibernate from closing the sessionfactory whenever applications are redeployed. I ended up rewriting the use of the sessionfactory as a mbean. http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch13.html

[JBoss-user] [JBoss/Spring Integration] - Re: Spring and EJB3 EntityManager

2006-06-07 Thread jaboj
Thank you. This is one way of doing it. But I hope to find a solution where the EntityManager setting in the dao is handled totally in spring. Then it only would be neccesary to inject the dao into the session beans. I'm thinking on a spring context like this: | bean id=myDao

[JBoss-user] [Installation, Configuration Deployment] - Re: Installing and runing JBoss without JDK

2006-06-07 Thread Duffcase
Hi. JBoss needs a JDK to run. The startups script is infact a jar. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949540#3949540 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949540

[JBoss-user] [JBoss jBPM] - Re: How can i deploy the jBPM 3.1.1 to J2ee Server as a EJB

2006-06-07 Thread kukeltje
By fixing/implementing the corresponding issue in the Jira. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949541#3949541 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949541

[JBoss-user] [Installation, Configuration Deployment] - Re: Installing and runing JBoss without JDK

2006-06-07 Thread arun_9033
Thanks for the confirmation - this just came up after I read the Book JBOSS Developer Note Book where the author mentions As of version 4.0.2, Tomcat ships with its own complier, so JBoss only requires a JRE Install. Does that mean JBoss shall use inbuilt Tomcat and it's jDK? Regards Sunder

[JBoss-user] [JBoss jBPM] - Re: query for instances in state X

2006-06-07 Thread kukeltje
1: It is just not implemented. The webapp of 3.1 contains some functionality for this, which is indeed done by implementing hibernate queries. It is not seriously wrong. 2: I store references to data in the process, not the other way around. Is there a best practice? Not realy, both have some

[JBoss-user] [JBoss jBPM] - Ugrent, Invoke WebServices twice cause exception

2006-06-07 Thread fwshk
Hi all, I have a BPEL process which interact with a WebService The process flow are as following: 1. Receive - (Init the correlation) 2. Assign 3. Invoke WebService.operation1 - (inputVariable=var1, no outputVariable) 4. Receive - (Correlated) // Resume process 5. Invoke

[JBoss-user] [JBoss jBPM] - Re: setup for jbpm logging

2006-06-07 Thread kukeltje
this behaviour is as designed. If you look at alll the examples how to uyse the api, you'll see an explicit 'save' View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949545#3949545 Reply to the post :

[JBoss-user] [JBoss jBPM] - Re: Monitoring problem with websale demo

2006-06-07 Thread kukeltje
any additional logging will be appreciated to View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949546#3949546 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949546 ___ JBoss-user

[JBoss-user] [JBoss jBPM] - Re: How to deploy jBPM 3.1.1 as an EJB?

2006-06-07 Thread kukeltje
Implement te corresponding Jira issue (and search the forum please, this has been answerd before) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949547#3949547 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949547

[JBoss-user] [JBoss Portal] - error with a jsf portlet

2006-06-07 Thread antitrust1982
Hi all, I'm tring to create a Jbpm portlet. Jbpm is a jsf Webapp so I tried to develop a little portlet with jsf, when I deploy it I have this error: | 09:17:24,647 INFO [TomcatDeployer] deploy, ctxPath=/faces-tutorial, warUrl=.../tmp/deploy/tmp56600faces-tutorial-exp.war/ | 09:17:25,881

[JBoss-user] [JBoss jBPM] - Re: Schedule improvements

2006-06-07 Thread kukeltje
http://jira.jboss.org/jira/browse/JBPM-452 Strange that so many people think they are the first to encounter certain things. search the forum and jira first before reporting issues. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949549#3949549 Reply to the

[JBoss-user] [JCA/JBoss] - ClassCastException for WrappedConnection in Jboss - strange

2006-06-07 Thread mr.buh
I have some strange problem using jboss's WrappedConnection. If I write this simple jsp: %@ page import=javax.sql.*,javax.naming.*,java.util.*,java.sql.*, java.math.*,it.imiweb.internal.todb.*,it.imiweb.internal.todb.util.*% % try{ InitialContext ctx = new

[JBoss-user] [JBoss jBPM] - Re: Ugrent, Invoke WebServices twice cause exception

2006-06-07 Thread fwshk
Hi all, I fixed the problem. It seems var1 is reset after 4 and cause exception while invoking WebService. My solution is copy 2 and paste between 4 and 5 Anyway, thank you very much. Roy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949551#3949551 Reply to

[JBoss-user] [Clustering/JBoss] - Re: Second and folowing nodes take very long time to come up

2006-06-07 Thread sheckler
I addition I tested running 2 instances on 1 machine with binding manager. The behaviour does not change. The deployment of clustered SLSBs takes very long time on the 2nd instance, while the logfiles (JGroups trace, jboss debug) show no errors or warnings. So network issues are not the reason.

[JBoss-user] [JBoss jBPM] - Re: cancelTimersForProcessInstance fails if process is not s

2006-06-07 Thread kukeltje
He, what's this? Are you in a new role? Did you get promoted to become Toms personal assistent? :-P View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949553#3949553 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949553

[JBoss-user] [JBoss jBPM] - Re: login page

2006-06-07 Thread kukeltje
learn java, webapp development etc then look at the source of the webapp and it will be easy to fix View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949554#3949554 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949554

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Undeploy exploded web app

2006-06-07 Thread NickDeGraeve
I have a web application as a directory. How can I undeploy it? Let me explain: I use ant to build, pack, sign our web app and then copy the dir to the JBoss deploy dir. To ensure that no old stuff remains I want to delete the existing dir first. However, some JARs in WEB-INF/lib can't be

[JBoss-user] [EJB 3.0] - Problem with EmbeddedId

2006-06-07 Thread jc7442
I use JBoss Embeddable EJB3 alpha7 with hsql. I try to use an embeddedId. I get the composite project from JBoss EJB3 RC7 tutorial. When I persist the Customer object I have an exception could not insert: [persistence.ejb3.entity.Customer] I have 2 classes: package persistence.ejb3.entity; |

[JBoss-user] [Beginners Corner] - Optional Package Support

2006-06-07 Thread jcoffee
Does JBoss provide Optional Package Support as defined by the J2EE Specification (e.g. J2EE Specification v1.4, Chapter J2EE.8.2)? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949557#3949557 Reply to the post :

[JBoss-user] [Remoting] - Configure transporters using jboss remoting service configur

2006-06-07 Thread perrucci
Hi all, reading the example-service.xml I haven't found any information on how create trasporters from within this xml file. Anyone can give me some hints? Thank you Paolo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949558#3949558 Reply to the post :

[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - How to choose Oracle DEFAULT value over NULL value?

2006-06-07 Thread Oyabun
Hi, I want JBoss to insert the DEFAULT value into MYCOLUMN. If I don't set the MYCOLUMN variable to some value, JBoss will want to INSERT NULL into the table. Is there a way to tell JBoss that I want the DEFAULT value inserted, the one that comes with the Oracle CREATE statement? for

[JBoss-user] [EJB 3.0] - Re: Hsql to compare date only?

2006-06-07 Thread liudan2005
anyone knows? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949560#3949560 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949560 ___ JBoss-user mailing list

[JBoss-user] [Installation, Configuration Deployment] - Re: Installing and runing JBoss without JDK

2006-06-07 Thread Duffcase
I guess someone will arrest me if I'm spreading wrong information here.. :P I don't really know if you need a JDK on second look. I guess you just need a java VM.. so a JRE should be sufficient. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949561#3949561

[JBoss-user] [Installation, Configuration Deployment] - Re: Installing and runing JBoss without JDK

2006-06-07 Thread Duffcase
after some googling I found this product sheet.. It clearly states that one of the minimum requirements is a JDK http://www.seagullsoftware.com/assets/products/partner%20products/JBossASBrochure-Jun2005.pdf View the original post :

[JBoss-user] [EJB/JBoss] - Cannot join transaction - Mixing CMT and BMT

2006-06-07 Thread ctian
Hi, after changing from jboss4.0.4RC1 to jboss4.0.4.GA i get the following warning: Cannot join transaction, not a JoinableCMTTransaction. (The data is not synchronized correctly with the database) This warning is thrown on the call of a BMT-SLSB out of a CMT-SLSB. I know that BMT is not the

[JBoss-user] [JBoss jBPM] - Actor null in task instance list

2006-06-07 Thread MTG
Hi! Im creating the monitoring part of a personal JBPM webapp using the beans of the jBPM example WebApp. When i invoke the createStartTaskInstance() method i can show in the tasklist.jsp my first task instance, but the Actor field is null! What i must do in the process definition to correct

[JBoss-user] [JBossWS] - Re: JSR-181 POJO and JAAS

2006-06-07 Thread fheldt
I'm running into the same problem at the moment. I put an extra @PortComponent Annotation to the Sessionbean, but that doesn't fix it either. | @Stateless | @WebService( | name=MyService, | serviceName=MyService | ) | @SOAPBinding( | style=SOAPBinding.Style.RPC, |

[JBoss-user] [JBoss jBPM] - Re: Process Instantiation

2006-06-07 Thread goddam
?? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949568#3949568 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949568 ___ JBoss-user mailing list

[JBoss-user] [JNDI/Naming/Network] - Re: Connecting from one server to other

2006-06-07 Thread visolvejboss
Hello, You can make the JBoss AS to listen an particular ipaddress instead of localhost by running the JBoss AS with the following option. $ ./run.sh -b {ipaddress} For your case, $ ./run.sh -b 192.168.0.5 Regards, ViSolve JBoss Team View the original post :

[JBoss-user] [Installation, Configuration Deployment] - Re: JBoss AS address binding

2006-06-07 Thread visolvejboss
Hello, You can make the JBoss AS to listen an particular ipaddress instead of localhost by running the JBoss AS with the following option. $ ./run.sh -b {ipaddress} For your case, $ ./run.sh -b 192.168.0.5 Regards, ViSolve JBoss Team View the original post :

[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Problems with em.persist() and query.getResultList()

2006-06-07 Thread hauke1980
Hi there, I'm using JBoss 4.0.3 SP1 and implemented a Service-Bean for initializing my database with some data to play with. Everytime I execute a query within this Bean, i get a is not mapped ... exception. How is this persist()-method working? I thought that the data is directly written

[JBoss-user] [EJB 3.0] - Re: Problem with EmbeddedId

2006-06-07 Thread jc7442
Sorry, it seems to works fine in another project. I made a mitake (maybe configuration, I've not been able to find why first project does not work yet) END of the tread View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949572#3949572 Reply to the post :

[JBoss-user] [JBoss Seam] - Strange things happends to my datatable

2006-06-07 Thread Chris__
f got an datatable: When i visit the page, everything works fine. I get 2 different board links with 2 different ids. ID NAME Commands 10 neuboard 11 testboard -- after clicking on: the testboard link i get: -- ID NAME Commands 11

[JBoss-user] [JBoss Seam] - Generate Seam application from annotated bean

2006-06-07 Thread [EMAIL PROTECTED]
This is my configuration Eclipse 3.2 RC5 WTP 1.5 JBoss-Ide nighlty build (200606052309-nightly) I try with several configuration to generate seam application skeleton from annotated entity bean, but i never reach the goal.!?!? Anyone can help me and ,I think, a good part of Seam users? What are

[JBoss-user] [JBoss AOP] - Deploying aspects in an ear

2006-06-07 Thread Stefan Arentz
From the documentation I understand that I must deploy a jboss-aop.xml file through a *.aop file inside an .ear file. This sounds rather complicated and I would rather keep my common aspect code in a simple jar and then deploy a different jboss-aop.xml per EAR. Is it possible to have an EAR

[JBoss-user] [Beginners Corner] - calling a bean using a class structure please advise

2006-06-07 Thread dreuzel
i'm calling an ejb 3.0 bean and it partualy seems to work but String value =bean.myroutine(String abc); works perfectly changing the bean definition to . myroutine( myclass xxx) does not offer any construction error But fails with a runtime error class

[JBoss-user] [EJB 3.0] - EmbeddedId and GeneratedValue

2006-06-07 Thread jc7442
I'd like to use an embeddedID for some of my classes. Th class PK is an embeddable, it contains one field: | private long id; I'd like to generate the value, I've try: @Id | @GeneratedValue(strategy = GenerationType.TABLE) | @Column(name=CUST_ID) | private long id; In that case

[JBoss-user] [JBoss jBPM] - Re: problem with timer

2006-06-07 Thread ashiiid
hi, I added hibernate.jar to my project, and the old ecxeption deseapeared, but I have a new exception :( 11:11:15,731 [main] WARN JDBCExceptionReporter : SQL Error: -22, SQLState: S0002 11:11:15,731 [main] ERROR JDBCExceptionReporter : Table not found in statement [insert into JBPM_TIMER

[JBoss-user] [EJB/JBoss] - Re: ejb-jar.xml must either obey the right xml schema or def

2006-06-07 Thread digua
It's strange because I intalled the same software and I deployed same project, but I got the error message. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949581#3949581 Reply to the post :

[JBoss-user] [Security JAAS/JBoss] - Two web modules in one ear, with different login policies.

2006-06-07 Thread gugrim
Hi, We have an EAR that contains two web modules and one ejb module. The two web modules need to use different application policies declared in logon-config.xml. In an earlier version of out application, one policy was sufficient and it could be specified in jboss-app.xml. The first thing I

[JBoss-user] [JBoss Seam] - Re: Seam 1.0.0.CR3 and JBoss AS 4.0.4.GA - Deployment excep

2006-06-07 Thread digua
Hi, There are my problems. If I only install ejb3 profile, it seems that I cannot get the database installed. If I install default profile, I will get the error like: org.jboss.deployment.DeploymentException: ejb-jar.xml must either obey the right xml schema or define a valid DOCTYPE! I think

[JBoss-user] [JBoss jBPM] - Re: setup for jbpm logging

2006-06-07 Thread wrschneider99
kukeltje wrote : this behaviour is as designed. If you look at alll the examples how to uyse the api, you'll see an explicit 'save' | | So I wonder why everything else worked without the save call? Perhaps it's because I'm managing my own transactions, and the commit forced a flush for

[JBoss-user] [EJB 3.0] - Re: JBAS 4.0.4 GA and OneToOne lazy relationships

2006-06-07 Thread dbudworth
Sorry to be bumping my post here, but I am really curious if this is even supposed to work. We can't seem to figure out a way to select the parent without also selecting the children. Which works fine until the tables get really big. View the original post :

[JBoss-user] [Security JAAS/JBoss] - Adding data to session after login

2006-06-07 Thread pander
Hi, Can anyone give me a best practice answer on adding information to the session immediately after successfully authenticating a user? I am currently using the DatabaseServerLoginModule and have my users and roles etc in a database. If the user has provided a valid username and password

[JBoss-user] [Security JAAS/JBoss] - Re: LoginModule.login() passed null principal/credential fro

2006-06-07 Thread lost_traveller
Well I've been running the secure EJB's with J2EE roles fine now, but like you say it only works for one thread and therefore the login information is lost after that HTTP request/thread dies. I'm not sure where in chapter 8 is the container managed authentication that you describe? Do you

[JBoss-user] [JBoss/Spring Integration] - hot deployment of spring application in JBoss

2006-06-07 Thread [EMAIL PROTECTED]
Hi all, I've enabled the hot deployment feature in JBoss AS 4.0.3SP1 When I re-deploy (hot deployment) my spring application , Iam getting the following error. 2006-06-07 17:35:01,685 338885 ERROR [org.springframework.web.context.ContextLoader] (ScannerThread:) Context initialization failed

[JBoss-user] [JBoss/Spring Integration] - Re: hot deployment of spring application in JBoss

2006-06-07 Thread alesj
Not what this forum is about: - java.sys-con.com/read/180386.htm Try on Spring forum. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949591#3949591 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949591

[JBoss-user] [JBoss Seam] - Re: Seam 1.0.0.CR3 and JBoss AS 4.0.4.GA - Deployment excep

2006-06-07 Thread [EMAIL PROTECTED]
No. You need the ejb3 profile. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949592#3949592 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949592 ___ JBoss-user mailing list

[JBoss-user] [EJB 3.0] - please help arguments of a bean CALL depends on runtime

2006-06-07 Thread dreuzel
I setup my beans (i assume correctly since it works for a while) This is getting very urgent and I'm very worried over using beans ever again example String xxx=bean.myroutine(String ) ; works OK example String xxx=bean.myroutine(HashMapString,String ) ;

[JBoss-user] [EJB 3.0] - Re: Catching exceptions in Session Bean

2006-06-07 Thread gommo
Well I worked this out. It seemed jboss throws an EntityExistsException and the inner exception is ConstraintViolationException. Was this changed in 4.0.4.GA todo this?? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949594#3949594 Reply to the post

[JBoss-user] [EJB 3.0] - Re: please help arguments of a bean CALL depends on runt

2006-06-07 Thread dreuzel
more information I see 3 area's of attention a) the client(works perfect localy) b) the interface (EJB argument verification) c) the service (works perfect localy ) S0 some problem occurs in the EJB interface argument verification the service is never called any way

[JBoss-user] [JBoss Seam] - Seam question regarding @In annotation and request params

2006-06-07 Thread MmarcoM
hi all, i have written a small Seam application that resembles a shopping cart. I have a EcontrolSession bean, and two entity beans, Expense and Items. I am adding items to the expense bean and then i plan to persist the expense via the SessionBean My question is: - my Session bean is

[JBoss-user] [JBoss Seam] - JSR-299 Web Beans approved by the EC

2006-06-07 Thread [EMAIL PROTECTED]
The Web Beans JSR was approved unanimously by the JCP executive committee. You can read the proposal here: http://jcp.org/en/jsr/detail?id=299 We've already received a bunch of expert nominations from companies and individuals, and so I'm sure we'll be able to form a very talented expert group

[JBoss-user] [Security JAAS/JBoss] - Re: Two web modules in one ear, with different login policie

2006-06-07 Thread gugrim
Just found that it does not work at all with a policy in jboss-app.xml. Apparently it is used to authenticate accesses to the ejb module even though they come from an already authenticated web application. My new and improved question is thus; Is it at all possible to two web modules in one

[JBoss-user] [EJB 3.0] - Lazy polymorphic relations possible?

2006-06-07 Thread scraatz
Hi, we have an entity which has a many-to-one property that references a polymorphic entity. | @ManyToOne(cascade = {CascadeType.MERGE}, fetch = FetchType.EAGER) // EAGER | @JoinColumn(name = wle_mbtid, unique = false, nullable = true, insertable = true, updatable = true) |

[JBoss-user] [JBoss Seam] - Link to fragment identifier

2006-06-07 Thread martinso
Is there a way I can supply information about a fragment identifier (e.i. my_page.seam#chapter1 to make the browser scroll to chapter 1) in any of the JSF/Seam link tags or by means of the navigations rules? I also want to be able to supply request parameters. I can get h:outputLink to work

[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: EJB3/EntityManager/Transactions and LazyInitializationEx

2006-06-07 Thread tefron
don't close your session, and if you do, just call update into a new session before you acceess a lazy property... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949602#3949602 Reply to the post :

[JBoss-user] [JBoss Seam] - Re: Link to fragment identifier

2006-06-07 Thread [EMAIL PROTECTED]
Please add a feature request to JIRA View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949603#3949603 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949603 ___ JBoss-user mailing

[JBoss-user] [JBoss Seam] - Re: Link to fragment identifier

2006-06-07 Thread [EMAIL PROTECTED]
BTW, this will work: h:outputLink value=account_view.seam#testFragment s:conversationId/ h:graphicImage value=dummy.gif/ /h:outputLink View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949604#3949604 Reply to the post :

[JBoss-user] [Security JAAS/JBoss] - Re: Help needed in getting support for https in JBOSS

2006-06-07 Thread tefron
edit: \jboss-4.0.4.GA\server\default\deploy\jbossweb-tomcat55.sar\server.xml uncomment the following: !-- SSL/TLS Connector configuration using the admin devl guide keystore -- and then access through https://localhost:8443 good luck. View the original post :

[JBoss-user] [Installation, Configuration Deployment] - Dependency problem deploying EJB3 persistence unit

2006-06-07 Thread sbalmos
Hi all, I'm at a loss on what to fix to handle this. I have an app that used to run under 4.0.3 and standard Hibernate persistence. Yesterday I rewrote the entity classes with annotations and packaged everything up to be EJB3 compatible. However, the deployer always complains about an

[JBoss-user] [Installation, Configuration Deployment] - Re: Dependency problem deploying EJB3 persistence unit

2006-06-07 Thread sbalmos
There was a proper block in the persistence.xml file, which the board decided to swallow, FYI. --Scott View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949607#3949607 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949607

[JBoss-user] [JBoss Seam] - Re: Link to fragment identifier

2006-06-07 Thread martinso
Unbelievably fast response! Thanks Gavin, I'll add the feature request to JIRA. And thanks for the suggested solution. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949608#3949608 Reply to the post :

[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - 4.0.4.GA: Setting TransactionStrategy and TransactionLookupM

2006-06-07 Thread guidoscalise
Hi! I'm using JBoss AS 4.0.4.GA with Hibernate 3.2.0 CR2 and I'm unable to set the TransactionStrategy from jboss-service.xml. The error is: org.jboss.deployment.DeploymentException: No Attribute found with name: TransactionStrategy My jboss-service.xml is: | ?xml version=1.0

[JBoss-user] [JBoss Seam] - Re: NPE when redeploying app

2006-06-07 Thread [EMAIL PROTECTED]
Email from Stan (who wrote the MyFaces/JSF bridge): anonymous wrote : Yes, this was reported several months ago. I'm pretty sure it is due to a bug in JBoss Portal. | | request.getPortletSession(false) doesn't return null after redeploy. | | Julien, did you already know about/fix

[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Problems with em.persist() and query.getResultList()

2006-06-07 Thread tefron
Your entities should be mapped in your configuration file: e.g. classes/hibernate.cfg.xml: !DOCTYPE hibernate-configuration PUBLIC -//Hibernate/Hibernate Configuration DTD 3.0//EN http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd; hibernate-configuration

[JBoss-user] [JBoss jBPM] - Re: JBPM Scalability

2006-06-07 Thread arshadnj
I just ran a test on the sample (reference) web application provided by the jbpm-starters-kit-3.1.1. The test was to create an order using 'Cookie monster' login, later I traced the generated SQL statements. What I founds was around 40+ insert statements for the following JBPM tables

[JBoss-user] [JBoss Seam] - Re: NPE when redeploying app

2006-06-07 Thread [EMAIL PROTECTED]
This is a known bug. I'm looking into what needs to be done for a fix. Thanks for your patience. Stan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949613#3949613 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949613

[JBoss-user] [JBoss jBPM] - Re: Workflow State Information

2006-06-07 Thread arshadnj
I would appreciate your early response to this query. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949614#3949614 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949614 ___

[JBoss-user] [JBoss AOP] - Re: Dynamically adding annotated aspect classes without

2006-06-07 Thread fatbatman
Thanks for this, I haven't had a chance to play with it yet but hopefully will do next week. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949615#3949615 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949615

[JBoss-user] [EJB 3.0] - Re: EmbeddedId and GeneratedValue

2006-06-07 Thread jc7442
Ive try the same kinds of think with IdClass: | @Entity | @Table(name = WAREHOUSE) | @IdClass(WarehousePK.class) | public class Warehouse { | long name; | | String city; | | @Id | @GeneratedValue(strategy = GenerationType.TABLE) | @Column(name = W_NAME) |

[JBoss-user] [JBoss Seam] - Seam Webinar at 1PM EST TODAY!

2006-06-07 Thread [EMAIL PROTECTED]
http://www.jboss.com/services/online_education View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949618#3949618 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949618 ___ JBoss-user

[JBoss-user] [JBoss AOP] - Which jar for javaagent with EJB embedded/standalone

2006-06-07 Thread fatbatman
The latest distributions of the EJB standalone (jboss-EJB-3.0_Embeddable_ALPHA_8.zip) comes as 3 big jars. If a try and use; -javaagent:jboss-ejb3-all.jar I get; Failed to load Premain-Class manifest attribute from jboss-ejb3-all.jar If I use the jboss-aop-jdk50.jar from the AOP distribution

[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: EJB3/EntityManager/Transactions and LazyInitializationEx

2006-06-07 Thread ngtdave
tefron wrote : don't close your session, and if you do, just call update into a new session before you acceess a lazy property... That's just it, I don't want to close the transaction, but when I leave the ejb, the transaction is closed for me. View the original post :

[JBoss-user] [JBoss Seam] - Re: Link to fragment identifier

2006-06-07 Thread martinso
Actually, the suggested workaround does not work for me. The problem is that the fragment identifier is not placed at the end of the link that is written out to the html page. Instead I get something like this: account_view.seam#testFragment?conversationId=5 I don't understand the underlying

[JBoss-user] [JBoss AOP] - Re: The issue of DBC's postcondition

2006-06-07 Thread fatbatman
The Dbc stuff was the initial reason I started looking at JBossAOP, I think it looks really promising. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949623#3949623 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949623

[JBoss-user] [EJB 3.0] - Re: Help w/ TransactionAttributeType.REQUIRES_NEW

2006-06-07 Thread dabramov
Thanks for the discussion - it's been very helpful coming up to speed on this... In the case of a same EJB call, is there any difference between doing A) @EJB SameEJB same; vs: B) @Resource SessionContext ctx; ... SameEJB same = ctx.getBusinessObject(); I'm guessing in B) you get a local

[JBoss-user] [JBoss Seam] - Re: Link to fragment identifier

2006-06-07 Thread [EMAIL PROTECTED]
Ah. bugger. Try this then: h:outputLink value=account_view.seam?conversationId=#{conversation.id}#testFragment h:graphicImage value=dummy.gif/ /h:outputLink Seems to me that there is a bug in MyFaces here. View the original post :

[JBoss-user] [Installation, Configuration Deployment] - Re: Installing and runing JBoss without JDK

2006-06-07 Thread PeterJ
You do not need a JDK, only a JRE. It tried it, its works. My setup was Windows XP, JRE 1.4.2_11 and JBoss 4.0.4GA. I set JAVA_HOME to my JRE, cleaned out the temp and work directories under server/default, launched the server, and accessed my JSPs just fine. Took me all of 2 minutes to

[JBoss-user] [JBoss Seam] - Re: Seam question regarding @In annotation and request para

2006-06-07 Thread iradix
Injection occurs either on a field or on a setter depending on where you place the @In annotation. It seems to me like you are confusing injection with jsf data binding however. What exactly is happening and what did you expect? View the original post :

[JBoss-user] [JBoss Seam] - Re: Does JBoss Seam work with SQL Server 2000?

2006-06-07 Thread mikelarnett
One last thing, but obviously removing the schema and catalog qualifiers means that each table name should be unique. Otherwise, I am sure something nasty will happen. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949630#3949630 Reply to the post :

[JBoss-user] [JBoss AOP] - Re: The issue of DBC's postcondition

2006-06-07 Thread [EMAIL PROTECTED]
If anybody is interested in extending it, you're more than welcome :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949631#3949631 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949631

[JBoss-user] [JBoss Seam] - Nullpointer Exception while accessing Seam Component

2006-06-07 Thread mcclurexl
Hello, I'm working for a simple Pageflow, realised in Seam, for a while. I thougt I got it running but something is missing. When accessing a Seam Component over a jsp-file like: h:outputText value=#{purchaseOrder1.number}/ the function getNumber() in the component-class PurchaseOrder1 is

[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: EJB3/EntityManager/Transactions and LazyInitializationEx

2006-06-07 Thread muhviehstarr
You need to open a transaction via UserTransaction in your Struts-Action, so that the SessionBean-call will be inside your own transaction. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949634#3949634 Reply to the post :

[JBoss-user] [JBossWS] - Re: JSR-181 POJO and JAAS

2006-06-07 Thread [EMAIL PROTECTED]
@PortComponent only applies to EJB endpoints You secure an JSR181 JSE endpoint like any other jboss webapp in web.xml jboss-web.xml View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949635#3949635 Reply to the post :

[JBoss-user] [JBoss Seam] - Re: NPE when redeploying app

2006-06-07 Thread [EMAIL PROTECTED]
I can't reproduce this. Ales, if I send you a jar in a few hours will you be able to try something out for me? Can you send me your email address? Mine is [EMAIL PROTECTED] Thanks, Stan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949636#3949636 Reply

[JBoss-user] [JBossWS] - Understanding WS4EE clients

2006-06-07 Thread [EMAIL PROTECTED]
Please remember that with web services the client and the server are fundamentally disconnected. There are server side issues and client side issues - DO NOT MIX the two. In other words, if you setup an ejb3 endpoint using jsr181 any client that adhers to the abstract contract in wsdl can talk to

[JBoss-user] [EJB 3.0] - Re: Help w/ TransactionAttributeType.REQUIRES_NEW

2006-06-07 Thread dbudworth
Not having looked at the actual implementation for injection, I'd guess that | @EJB | private SameEJB same; | I would expect that it doesn't give you a self referencing proxy. It probably at best give an error that it's not legal At worst give you infinite recursion as it would be

[JBoss-user] [EJB 3.0] - Oracle Seqeunce incrementing by 50

2006-06-07 Thread jpremji
I have just created my first EJB3 Entity bean using the oracle seqeunce. Every time i start the app server and insert a new record the id generated is incremented by 50 instead of using the seqeunce value from the database. I have noticed that the stategy being used is

[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Accessing the session from DatabaseServerLoginModule

2006-06-07 Thread pander
Hi, Does anyone know to get at the session when there is no request object? I have subclassed the DatabaseServerLoginModule and overidden the login() method but I need to get access to the session so that I can put some data in it however, I cannot work out how to do this when there is no

[JBoss-user] [JBoss Seam] - Re: Nullpointer Exception while accessing Seam Component

2006-06-07 Thread [EMAIL PROTECTED]
What version of Seam is this? please show the whole stack trace. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949641#3949641 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949641

[JBoss-user] [JBossWS] - Re: wstools-config.xml

2006-06-07 Thread [EMAIL PROTECTED]
EJB3.0 is ready since summer last year. Also, I am not talking about EJB3 - I am talking about providing web service meta data through annotations (JSR181) that can be applied to pojos or ejbs View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949642#3949642

[JBoss-user] [JBossCache] - Trouble with aopc compiled class being loaded with a factory

2006-06-07 Thread wildweasel
We have a bean that we aspectize via @@org.jboss.cache.aop.AopMarker using JDK1.4 and JBossCache 1.3.0. This class is included in a jar that is bundled in a war file and deployed to WebLogic 8.1. We then use a factory class to load this via: try { | clazz =

[JBoss-user] [EJB 3.0] - Re: Oracle Seqeunce incrementing by 50

2006-06-07 Thread supernovasoftware.com
See http://www.jboss.com/index.html?module=bbop=viewtopicp=3949140#3949140 for a solution. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949644#3949644 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949644

  1   2   3   >