[JBoss-user] problem with EJB-QL

2003-12-11 Thread netanel weinberg
Hello! i have a web application i built using EJB and i'm trying to make an ejb-ql according to two parameters: findByCompanycode java.lang.String java.lang.String but JBOSS 3.2.2

Re: [JBoss-user] Nukes forums are live on www.jboss.org

2003-12-11 Thread Darin Manica
I just logged in to check things out. Forums look great, but I get "Cannot invoke the operation : does not exists" if I click on the Documentation, People & Faces or the advertisement on the left. Darin On Wednesday 10 December 2003 11:35 am, Nicholas wrote: > I just wwnt in there, and they ar

[JBoss-user] Optimistic Locking Across Requests

2003-12-11 Thread Wax, Michael
Title: Optimistic Locking Across Requests What is the best way to implement an optimistic lock using EJB 2.0 CMP that spans multiple requests?  For example, we want to implement optimistic locking on a multipage form submission. This message and any attachments are intended only for the use

[JBoss-user] Schedule service depends on a WAR?

2003-12-11 Thread Joe Batt
Does the list ignore messages not from member accounts? I have a mailbox that receives list mail, but I mail from my standard account. None of my mail has gone through, nor have I seen an error. Where do I find documentation on how depends and mbean naming work? My application is an issue trac

[JBoss-user] New getting started guide draft for 3.2 available

2003-12-11 Thread Scott M Stark
A new getting started guide for 3.2.x is on the website: http://jboss.org/docs/index#free-32x A forum for discussing it is here: http://jboss.org/index.html?module=bb&op=viewforum&f=191 -- Scott Stark Chief Technology Officer JBoss Group, LLC

Re: [JBoss-user] Web Application Security Recipe?

2003-12-11 Thread Neal Sanche
Okay, I've seen such applications, including that on JBoss.org. When you initially arrive at the site, you are 'guest' which means you have been given a session, but have not authenticated. Then you can 'login' and then see other features of the application that weren't there when you weren't l

[JBoss-user] Jetty: Detail on JSP Errors?

2003-12-11 Thread Peter Luttrell
I've inherited some bad JSP pages, that are full of code and have no error handling. Pity me! Whenever there's an unhandled exception in the code on a page, we get one of JasperExceptions and stacktrace below. The correct long term solution is of course to get the code out of the JSP pages. The sh

RE: [JBoss-user] log4j and JBOSS

2003-12-11 Thread Kavitha Ranga
I got the JBoss to create a separate log file. However nothing is getting dumped into that file. Everything is still going to the server.log file. This is a war file where I am trying to dump all the logging to a separate file. I have done the following in my webapp. In my action class I have set

[JBoss-user] A couple of web.xml issues

2003-12-11 Thread Rod Macpherson
1. Compiled JSPs to servlets and the URLs listed in my web.xml stopped working. 2. JBoss complains about a mapping error in web.xml if the page listed in your welcome file is badly formed. That is to say web.xml is fine but the page you are referring to has problems. A minor issue. (Using

[JBoss-user] Schedule service depends on a WAR?

2003-12-11 Thread Joe Batt
Does the list ignore messages not from member accounts? I have a mailbox that receives list mail, but I mail from my standard account. None of my mail has gone through, nor have I seen an error. Where do I find documentation on how depends and mbean naming work? My application is an issue trac

Re: [JBoss-user] servlet quickstart instructions

2003-12-11 Thread Eske Sort
> Assuming I bundle the WAR and drop it into deploy, > what will the URL be? I’m assuming I specify this somewhere? Yes, you specify it in the web.xml file. One Servlet can map to one or many contexts. See this snippet taken from a web.xml file: TodoList myapp.servlet.TodoServlet TodoLi

[JBoss-user] kudos!

2003-12-11 Thread Eric J Kaplan
BTW, kudos to those responsible for speeding up the mailing list.  Was a time I could post and it would be 15 minutes before it showed up.  Now it’s instantaneous!   Regards   Eric J. Kaplan Armanta, Inc. 350 Mt. Kemble Ave. Morristown, NJ 07960  

RE: [JBoss-user] servlet quickstart instructions

2003-12-11 Thread Eric J Kaplan
Title: Message OK, that’s great.  Assuming I bundle the WAR and drop it into deploy, what will the URL be?  I’m assuming I specify this somewhere?   -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rupp, Heiko Sent: Thursday, December 11, 2003 11:

RE: [JBoss-user] servlet quickstart instructions

2003-12-11 Thread Yates, Danny
Title: Message Ah, now you start to stretch my expertise! :-)   AFAIK, it's all spec compliant. Best with 3rd party stuff to include it in the WAR, as this gives you the option to have different version in different WARs. I think they go in WEB-INF/lib - check the spec, or any online tutoria

Re: [JBoss-user] automatic primary key generation for CMP entityBeans ?

2003-12-11 Thread Alexey Loubyansky
select max() is not safe. Look at standardjbosscmp-jdbc.xml file for entity-commands for avaliable key generations. [EMAIL PROTECTED] wrote: Hello, everyone I have a Entity Bean with a String as PK. The String consists of the characters [0-9]and[A-Z]. My approach is to get the latest key from t

RE: [JBoss-user] servlet quickstart instructions

2003-12-11 Thread Rupp, Heiko
Title: Message WAR-Structure is like this   /index.html    <<- html files etc /WEB-INF/classes   <<-- classes go here /WEB-INF/web.xml  <<-- servlet mapping etc. /WEB-INF/lib  <<- jars etc -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Er

Re: [JBoss-user] Web Application Security Recipe?

2003-12-11 Thread Scott M Stark
Its not likely the j2ee declarative security fits here as there is no notion of reauthentication, and frankly, I don't know what it means here either. You would have to describe the user case in more detail. -- Scott Stark Chief Technology Officer JBoss Group, LLC x

RE: [JBoss-user] servlet quickstart instructions

2003-12-11 Thread Eric J Kaplan
Title: Message Thanks Danny.  I hate to be a bore, but what specifically, other than the classes used to run it, should I package (mainly familiar with ear files, assume similar).  Can I package third party jars in the war or do I need to drop them in the lib directory under my deployment.

RE: [JBoss-user] servlet quickstart instructions

2003-12-11 Thread Yates, Danny
Title: Message Just package it up as a WAR file and drop it into the deploy directory - just like EJBs.     -- Danny Yates   -Original Message-From: Eric J Kaplan [mailto:[EMAIL PROTECTED] Sent: 11 December 2003 13:48To: [EMAIL PROTECTED]Subject: [JBoss-user] servlet qu

Re: [JBoss-user] Commit type question

2003-12-11 Thread Rafal Kedziorski
This bug is fixed in JBoss 3.2.3. At 15:02 11.12.2003, Alexey Loubyansky wrote: I think this is a bug that was fixed. I don't remember in which version, though. To workaround the caching you should not set read-only to true for containers with commit option B and C. [EMAIL PROTECTED] wrote: Al

Re: [JBoss-user] Commit type question

2003-12-11 Thread Alexey Loubyansky
I think this is a bug that was fixed. I don't remember in which version, though. To workaround the caching you should not set read-only to true for containers with commit option B and C. [EMAIL PROTECTED] wrote: Alexey, Thank you for your reply. Does this mean that it is a bug in JBoss? I'm

[JBoss-user] servlet quickstart instructions

2003-12-11 Thread Eric J Kaplan
All   We’ve been using jboss for EJBs for a while.  Great stuff.  We’re currently running 3.0.4.  Can anyone point me at a quick start guide for getting a servlet installed on the server.  We already have the servlet written.  We don’t need security, etc.  This is purely for internal deve

Re: [JBoss-user] Commit type question

2003-12-11 Thread harm
Alexey, Thank you for your reply. Does this mean that it is a bug in JBoss? I'm currently using JBoss 3.2.2. Or do I have to configure my beans in some other way in jboss.xml? Thanks, Harm de Laat Informatiefabriek The Netherlands Alexey Loubyansky <[EMAIL PROTECTED]> Sent by: [EMAIL PR

Re: [JBoss-user] Commit type question

2003-12-11 Thread Alexey Loubyansky
Sorry, editted version of my response... If a bean/method has a read-only true in jboss.xml it is not associated with the transaction and is not participating in synchronizaion when the tx commits and remains in the cache. This issue was reported recently and it seems to me Adrian fixed it. AFA

Re: [JBoss-user] Commit type question

2003-12-11 Thread Alexey Loubyansky
If a bean/method has a read-only true in jboss.xml it is not participating in synchronizaion when the tx commits and remains in the cache. This issue was reported recently and it seems to me Adrian fixed it. AFAIK, the instance will be evicted from the cache unless it configured option A. The n

[JBoss-user] Invoking EJB but using *name* instead *IP*

2003-12-11 Thread Pedro Salazar
Greetings, I'm trying to invoke a EJB but my server address has 1 network interface card which is viewed as 10.xxx and as 192.xxx, dependent of the network (the 192.xxx is translated by NAT in the firewall). When I invoke my EJB (even over HTTP) if the client is in the network 10.xxx all works f

Re: [JBoss-user] Death of the deadlock

2003-12-11 Thread julien viet
> The jury is still out on that one. :-) > > I would say that using EntityLockMonitor helps give you an impression of > whether things are locking the way you think they are. > > If you see bigger numbers in the monitor than you would expect, then > this gives you an indication that things are go

Re: [JBoss-user] Death of the deadlock

2003-12-11 Thread Pete Beck
The jury is still out on that one. :-) I would say that using EntityLockMonitor helps give you an impression of whether things are locking the way you think they are. If you see bigger numbers in the monitor than you would expect, then this gives you an indication that things are going awry. Gen

Re: [JBoss-user] java.lang.IllegalArgumentException: xaResnotenlisted !

2003-12-11 Thread Shashi Kiran
HI Adrian. Thank you very much for the solution. I removed "org.jboss.resource.connectionmanager.CachedConnectionIntercept or" from "standardjboss.xml" for the "container-name" which were used our application beans, and the exception is not coming now. Can you please tell me why this interceptor

RE: [JBoss-user] how to check jboss debug output

2003-12-11 Thread Rupp, Heiko
Hi, you might have a look at .../server/default/conf/log4j.xml. IIrc there is also a document on the jboss pages at sourceforge on how to configure log4j > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of forge > Sent: Thursday, December 11, 2003 11:06 A

[JBoss-user] automatic primary key generation for CMP entityBeans ?

2003-12-11 Thread stscit04
Hello, everyone I have a Entity Bean with a String as PK. The String consists of the characters [0-9]and[A-Z]. My approach is to get the latest key from the DB with an ejbSelect method(select MAX()). Is this safe, or is it possible that I assign accidentially the same PK to 2 entitys because

RE: [JBoss-user] 3.2.3 Release Available

2003-12-11 Thread Torsten Terp
Can we expect a Jetty version of the 3.2.3 release? Thanks.. Torsten > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Scott M > Stark > Sent: 10. december 2003 04:03 > To: [EMAIL PROTECTED]; > [EMAIL PROTECTED] > Subject: [JBoss-user] 3.2.3 Release Ava

[JBoss-user] how to check jboss debug output

2003-12-11 Thread forge
Hello, everyone I'm using jboss3.2.2 and deployed an EAR successfully. But there were some errors when I tested it. Now I wanna check its debug output. Does any one know how to make jboss save debug info to log file? Need it rebuild? Thanks. Forge --http://www.eyou.com --Îȶ¨¿É¿¿µÄµ

R: [JBoss-user] Nukes forums are live on www.jboss.org

2003-12-11 Thread Giovanni Formenti
Hi, I have a problem with the function "search" of the forum... maybe a bug?! When I make a search and I want to see the "page 2" of the search results a "No topics or posts met your search criteria" page will appear... Gio > -Messaggio originale- > Da: [EMAIL PROTECTED] > [mailto:[EMAIL

[JBoss-user] findall in JBoss error

2003-12-11 Thread Lazyboy
hi,everyone when i deploy my j2ee project in jboss,there are always something wrong.i use select object(o) from employeeEB o.i want to know jboss how to support ejb ql. thank. --http://www.eyou.com --Îȶ¨¿É¿¿µÄµç×ÓÐÅÏä ÓïÒôÓʼþ Òƶ¯ÊéÇ© ÈÕÀú·þÎñ ÍøÂç´æ´¢...ÒÚÓÊδ¾¡ --http://vip.eyo