[JBoss-user] [JBoss Portal] - Re: possible bug in portal 2.2

2005-12-29 Thread danch
"danch" wrote : "mpurdy1973" wrote : how would you marshall it into a render parameter? | | | | Either decompose it into constituent properties then convert those to strings, or use something like CastorXML to convert to/from XML. The first would really only be w

[JBoss-user] [JBoss Portal] - Re: possible bug in portal 2.2

2005-12-28 Thread danch
"mpurdy1973" wrote : how would you marshall it into a render parameter? | Either decompose it into constituent properties then convert those to strings, or use something like CastorXML to convert to/from XML. The first would really only be workable for a pretty simple, flat bean. View the or

[JBoss-user] [JBoss Portal] - Re: possible bug in portal 2.2

2005-12-27 Thread danch
Yeah, that would work. One alternative is to 'marshall' it into render parameters, if it's a relatively simple object. I'm working on an annotations based portlet framework that has that feature. Waiting on signature from my bosses to open source it. Another alternative is to refetch within the

[JBoss-user] [JBoss Portal] - Re: possible bug in portal 2.2

2005-12-26 Thread danch
You shouldn't count on being able to access attributes set in an actionRequest to be accessable from a renderRequest. The reason for this is that processAaction is only called once for N calls to render, and N-1 of those render calls will be in different HTTPRequests. I'm not sure if the portle

[JBoss-user] [JBoss Portal] - Re: portlet 'include'ing JSP, HttpServletRequest.getHeaders

2005-12-23 Thread danch
OK, so I lied. But I am looking at this right now. What's the magic required to get the portlet tests running? I've gotten to the point where running './build.sh test' in the portlet module main directory gets me the error "javax.management.InstanceNotFoundException: portal:service=MainDeploye

[JBoss-user] [JBoss Portal] - Re: forward from processAction

2005-10-17 Thread danch
their views. To accomplish this, the spec splits processing into an 'action' phase (that is only done by the portlet that was the target of the post) and the 'render' phase (that is done by every portlet on the page (unless their output is cached by the portal server)) Hope th

[JBoss-user] [JBoss Portal] - Re: portlet 'include'ing JSP, HttpServletRequest.getHeaders

2005-10-17 Thread danch
I should be able to do that over the next week View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3901497#3901497 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3901497 --

[JBoss-user] [JBoss Portal] - Re: forward from processAction

2005-10-15 Thread danch
processAction doesn't produce output, render does. After your processAction is called, render will be called at least once, allowing your portlet to produce output. This is the core difference between the servlet and portlet request models. Bear in mind that render may be called multiple times

[JBoss-user] [JBoss Portal] - portlet 'include'ing JSP, HttpServletRequest.getHeaders comp

2005-10-15 Thread danch
probably effects 2.2 as well. I can submit a JIRA bug on this, if desired, but wanted to post up here for discussion first. thanks all, danch View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3901355#3901355 Reply to the post : http://www.jboss.com/ind

Re: [JBoss-user] Stateless session beans

2003-01-27 Thread danch
Re-read the spec. The spec states that only one thread may be allowed to run in a single stateless session bean instance at any one time. The code in Eric's example will work relyably in any compliant container. Rajeshwar Rao V wrote: No. As per EJB spec.. But Yes,ur code _may_ work fine with JB

Re: [JBoss-user] Encryption of configuration files

2002-11-23 Thread danch
eel better, but it won't result in any real improvement in security. -danch Scott M Stark wrote: You can always store a secure hash of the password in the config file provided that it can be used in the hashed form. If a context needs to see the clear text form of the password then you woul

Re: [JBoss-user] Postgres users

2002-11-19 Thread danch
Is this maybe a typo/copy-paste-bug in the postgres mapping? Rick LaBanca wrote: I thought along the same lines as you. I'm not doing anything myself, whatever the jetty cmp is doing triggers this, and the site isn't running yet, this is initialization. I am pretty sure it's using the postgres ma

Re: [JBoss-user] PostgreSQL "Boolean"-Support in JBoss 2.4.x

2002-06-15 Thread danch
o the 2.4 brach shortly. -danch Andreas Schaefer wrote: > Hi Geeks > > ATTENTION: Only applies to 2.4 because in 3.0 this > is already fixed. > > A while ago I enountered a problem with PostgreSQL > and the support for "java.lang.Boolean". > When I define a Post

Re: [JBoss-user] Doesn't anyone have this problem?

2002-06-14 Thread danch
You really shouldn't need to call configure - the JBoss startup does. Mitchell Kim wrote: > Not calling "DomConfigurator.configure()"? That certainly a viable thing to > try. ___ Don't miss the 2002 Sprint PCS Application Developer

Re: [JBoss-user] JBossMQ questions

2002-06-14 Thread danch
Gary Grobe wrote: > Can someone explain this, or give an example? According to these JBoss > docs (_http://www.jboss.org/online-manual/HTML/ch08s07.html_), it seems > queues can be added on-the-fly, or programatically (it states) w/o > needing to administer them. The reason I need this is I do

Re: [JBoss-user] ClassCastException at PortableRemoteObject.narrow

2002-05-31 Thread danch
This is most likely a classloader/packaging issue. Are your EJB interfaces available to JBoss in more than one place? Steve Knight wrote: > Hello, > I just updated my JBoss from 3.0 beta2 to RC3 and now I am getting this > error: > > java.lang.ClassCastException > at > com.sun.corba.se.inter

Re: [JBoss-user] No auth prompt using security-constraint

2002-05-31 Thread danch
Ur? I've been using BASIC successfully for months! Alex Loubyansky wrote: > As long as I remember myself I have always been having problems with BASIC auth in >JBoss :)) In that cases I switched to FORM and everything started to work properly :) > > alex >

Re: [JBoss-user] Re: [JBoss-dev] JBoss 3.0.0 Release Available

2002-05-31 Thread danch
Marius Kotsbak wrote: > Why release final when there is a serious Classcastexception bug in > narrow()? It's almost impossible to use it now. > PortableRemoteObject is part of the JDK, not part of JBoss. It's also not required to be used in JBoss. I'm also 99% sure that there isn't a bug inv

Re: [JBoss-user] ClassCastException at PortableRemoteObject.narro w

2002-05-31 Thread danch
Marius Kotsbak wrote: > This is not my case. I lookup a home interface, and then I suppose I > just get that one, not a list. This code worked some days ago. > > On Fri, 2002-05-31 at 18:42, Deepa Annamalai wrote: > >>Hello, >> >>The problem is like this, >> >>If the remote interface is somethi

Re: [JBoss-user] locking in initializing cluster

2002-05-22 Thread danch
IIRC it has to do with whether multicast is set up on your machine or not. I believe that the clustering init works fine on my linux boxen, but not my windows laptop. -danch Emerson Cargnin - MSA wrote: > Why does cluster initialization locks jboss (3.0 any RC*)? > > I made the w

Re: [JBoss-user] Does JBoss3 have Problems Deploying Similar ejb-jars in Different EARs

2002-05-21 Thread danch
holesale anyway. Still a lot less painful than having to restart the server -danch ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cf

Re: [JBoss-user] Postgresql URL mapping

2002-05-14 Thread danch
e 3.0 branch and HEAD (both for JAWS and for jbosscmp-jdbc). I'll be porting that back to 2.4.x jaws soon. danch > > Thanks, > > -dain > > Simon Stewart wrote: > >> When trying to store BLOBs into a postgres database, the CMP engine >> attempts to cr

Re: [JBoss-user] Log4j Config in JBoss3.0.0RC2

2002-05-09 Thread danch
tching the configuration you're running. hth, danch Jon Swinth wrote: > Hi all, > > I have had no luck figuring out how to change the log4j.xml file so that I > don't get DEBUG messages in the server.log anymore (or on the console for > that matter). Based on looking at the fil

Re: [JBoss-user] Moving from EJB 1.x to 2.x

2002-04-24 Thread danch
ar message means that it didn't find any. If it says 'only one' it means it found multiples. -danch ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Re: STILL TRYING: [JBoss-user] CMP: Iterate Collection Performance Killer

2002-04-24 Thread danch
in JAWS. Does your ejb-jar have a jbosscmp-jdbc.xml, or a jaws.xml? It should be only jbosscmp-jdbc.xml (although any jaws.xml should be ignored by JBoss 3.0 or later). Trying to use jaws.xml with JBoss 3.x is getting to be a FAQ issue, but I know Dain's been tr

Re: [JBoss-user] CMP: Iterate Collection Performance Killer

2002-04-23 Thread danch
d false, neither of which seemed to >> make any difference. > > > > That won't work. It shouldn't even boot. Check the dtd. ? standardjaws.xml is just ignored in jboss3, i'n'it? -danch ___ JBoss-user mailing

Re: [JBoss-user] Fleurys basic problem!

2002-04-16 Thread danch
JD Brennan wrote: > >From: David Hamilton [mailto:[EMAIL PROTECTED]] > > >From JavaWorld > >http://www.javaworld.com/javaworld/jw-04-2002/jw-0412-opensource.html > > >... in violation of a specification license. ... > > Any idea what that means? Does that refer to reference > code impleme

Re: [JBoss-dev] Re: [JBoss-user] Oracle claims to be our partner

2002-04-16 Thread danch
They bought Orion a while back. David Ward wrote: > On a related note - I downloaded "their" OC4J app server (just being > curious, not really straying from JBoss) in mid-March and it appears to > be Orion underneath. All the xml config files are orion-this and > orion-that. > > -- > > ma

Re: [JBoss-user] Scheduled class slow when bundled with beans

2002-04-08 Thread danch
ate a single transaction and thus the bean will only > be loaded once. This is why it's a good idea to always wrap your entity > beans in session beans - you have much better control of transactional > behavior. > Precisely. -danch __

Re: [JBoss-user] Scott Stark, Daniel Fleury or Mark Fleury - Press Release Questio n (OT)

2002-03-27 Thread danch
just about every person posting (or more importantly lurking) on this list is a potential customer! Yes, I repeated that for emphasis. I really think that this is something that people involved with JBoss need to understand. -danch (amazed that he, of all people, is trying to con

Re: [JBoss-dev] RE: [JBoss-user] JBOSS 3.x FINAL

2002-03-14 Thread danch
We're talking about the volunteer maintained doco. Look at the site, http://www.jboss.org/online-manual/HTML/index.html The title is JBoss 3.0 documentation. The disclaimer says that it was developed early in the project and is out of date, but the date on it is Jan 15, 2002. danch

Re: [JBoss-user] Trivial MBean problem

2002-03-06 Thread danch
Try loading your jcml file into an editor that will syntax highlight XML (I use JEXT) it should make the problem more visible. danch [EMAIL PROTECTED] wrote: > > I suppose my question is rather trivial but ggogle did not return any > special hits about what I thought was relev

Re: [JBoss-user] JNDI name for datasource in JBoss2.4.4_Tomcat4.0.1 + MySQL

2002-03-03 Thread danch
You're close! See comments inline below. -danch Christine wrote: > Sorry for miscopy in my previous email! > > The code in my function is : >javax.naming.Context ctx = new InitialContext(); >DataSource dbs = (DataSource) ctx.lookup("jdbc/Customer"); the

Re: [JBoss-user] logging of server side conatiner exceptions

2002-03-02 Thread danch
I believe stuff sent via System.out winds up being redirected to the logs as DEBUG level messages. Peter Levart wrote: > Hello! > > I noticed that in the recent CVS version of JBoss 3.0 the exceptions thrown > by the container don't get logged to the CONSOLE or FILE any more. Since the > sta

Re: [JBoss-user] XDoclet and JBoss JAWS

2002-02-28 Thread danch
art of the standard descriptor there's less need for a element in jbosscmp-jdbc.xml. I don't know the 3.0 implementation very well, though) Perhaps XDoclet should generate either jaws.xml or jbosscmp-jdbc.xml? danch Alex Loubyansky wrote: > Salute, lists! > > Using XDoclet

Re: [JBoss-user] application clients?

2002-02-27 Thread danch
art's content. I think we'd wind up wrapping the client-app jar into a JBoss client launcher jar, along with any .sars that it would need. -danch David Jencks wrote: > I thought maybe we'd write an mbean that had the main class of the client > application as its only attribute

Re: [JBoss-user] application clients?

2002-02-27 Thread danch
call into the old main. But that's about as far as I got thinking about it, too. danch David Jencks wrote: > I haven't looked into it much, but I suspect it would be pretty simple to > do. Mostly you'd leave everything out of normal jboss, right? Maybe you'd > m

Re: [JBoss-user] DataSource lookup from webapp

2002-02-27 Thread danch
another VM. -danch Bernardinus wrote: > Hi there, > > I have downloaded jboss-2.4.4 and intend to use it. > I have a web app deployed on tomcat-4.0.2 on the same machine with the jboss > (eventually will be running on seperate machine). > I wish to use DataSource object provided

Re: [JBoss-user] Q : database and entity bean development

2002-02-26 Thread danch
ing there is that BMP finders really can't get more data than the primary keys of matching tables, whereas a good CMP implementation will try to grab all of the data, thus saving considerable database traffic. -danch ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] jndi naming

2002-02-25 Thread danch
least you don't have to change code to go to a different naming scheme. Note that the J2EE client application spec addresses portability in this area, but that JBoss doesn't support J2EE client applications, onlly standalone client applications. danch

Re: [JBoss-user] vm params

2002-02-20 Thread danch
Kinda has to be in the script, since it's a VM option -danch Eric Kaplan wrote: > I need to set the max size for the vm running jboss. Besides hacking the > script, is there a way to do this? > > Eric Kaplan > Armanta, Inc. > 55 Madison Ave. > Morristown, NJ 079

Re: [JBoss-user] inner transactions

2002-02-17 Thread danch
ested transaction. In other words, it can commit even if the transaction in a rolls back! The only place I've really used this is for key-generation beans, where it really doesn't matter if there are unused numbers in a sequence and I need the criti

Re: [JBoss-user] jdk1.4's gone final

2002-02-15 Thread danch
Nicolai P Guba wrote: > > Probably not very much, unless deploy-time becomes of an issue. I cannot > imagine any run-time features that would require relfection. Or? I think there are a few places, but if so they probably cache the method lookups already

Re: [JBoss-user] JBoss as general service container?

2002-02-01 Thread danch
r the development discussions correctly) allow you to deploy the mbeans, ejbs, and any other related stuff as one application with appropriate dependencies, so you should be able to get around that as well. -danch jfina wrote: > Hi! > Can jboss be used as a general purpose service container? >

Re: [JBoss-user] RE: BMP Transactions

2002-01-21 Thread danch
Glad to hear you got it. The verifier should run every time you deploy the bean, although it might not be catching the situation where you have transaction-type=Bean but try to specify transaction attrbutes to methods. danch Eric Kaplan wrote: > Just as a note, I finally did figure this

Re: [JBoss-user] Passing Business Exception to Client

2002-01-15 Thread danch
I stand corrected. Thanks. danch Olaf Strozyk wrote: > danch wrote: > >>EJBException is actually a runtime exception that you use to complain to >>the container when something _really_ wacky happens that you want to >>call a system error. The EJB spec defines a

Re: [JBoss-user] Passing Business Exception to Client

2002-01-14 Thread danch
k to the client) is that when you throw an EJBException, the container marks your transaction Rollback-only, while it _doesn't_ for application exceptions. If you want your transaction rolled back, you'll need to call setRollbackOnly yourself (on the session context). -danch Bill Pfeif

Re: [JBoss-user] TRANSACTION ROLLBACK EXCEPTION

2002-01-10 Thread danch
Take a look at the server's log. You might get more information in there. Are you running under Linux? if so, this might actually be a problem with running out of threads. Does it happen under heavy load? -danch Mahesh Agarwal wrote: > Hi All > > I am getting this problem

Re: [JBoss-user] Transaction problem

2002-01-03 Thread danch
do that!) This is a bug that (IIRC) was fixed in either version 2.4.3 or 2.4.4. -danch Imran Bohoran wrote: > Hi all > > I'm facing a problem which I believe many of you would be having some > solution. > > I have a session bean which is deployed with the TRANSACTION attri

Re: [JBoss-user] what is container doing ...

2001-12-27 Thread danch
You're absolutely right, but I _think_ he's doing BMP, in which case there's really _no_ way to load all of the values in the finder. if 'ebjFindByPriority' on the Field bean is attempting to load values into fields of the bean, it just won't work. For BMP, that needs to be done in ejbLoad, wh

Re: [JBoss-user] Re: [jetty-discuss] Another virtual hosts question

2001-12-19 Thread danch
Greg Wilkins wrote: > > > 1.1//EN" "http://jetty.mortbay.org/configure_1_1.dtd";> > > > YourVirtualHostName > > > If that does what it seems to imply, having a facility like that is a sig

Re: [JBoss-user] data retrieval from readonly table

2001-12-17 Thread danch
If they're CMP beans, they'll try to write into the tables at commit of the transaction - something Oracle will object to (as you point out), which will roll back the whole transaction and throw an exception up to the client. Guy Rouillier wrote: > Oracle controls the read-write access. If

Re: [JBoss-user] Re: [jetty-discuss] Re: jetty integration with apache

2001-12-11 Thread danch
xec files etc. > This had occurred to me, but I'm not sure that that would be sufficient for corp. security departments - of course, commercial servers have the exact same problem. thanks, danch ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] Re: [jetty-discuss] Re: jetty integration with apache

2001-12-10 Thread danch
tomcat.sh 1> > /var/log/jboss.log 2>%1 &" - foouser > But that process (the java process) is running as foouser from the get-go: it won't be able to listen on port 80. -danch ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] Re: [jetty-discuss] Re: jetty integration with apache

2001-12-10 Thread danch
know if you can return a ServerSocket (or ServerSocketChannel) from JNI - I'm just not a JNI guy. -danch ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] Re: [jetty-discuss] Re: jetty integration with apache

2001-12-10 Thread danch
oked real closely at the 1.4 API) -danch ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] Re: [jetty-discuss] Re: jetty integration with apache

2001-12-10 Thread danch
Greg Wilkins wrote: > Jason, > > As Jetty (and tomcat4) is a full featured HTTP/1.1 server, there is > little need to put apache up front. How do I run jetty as non-root listening on port 80? If you can do this, how did you accomplish

Re: [JBoss-user] contributing an app

2001-12-05 Thread danch
. Please don't use it, I will gladly open a forum online >>for you guys. Let me know >> > > Could you please open one for us? I guess we would maybe need 2 later, as there asre >basically 2 goals: > > - a simple tut

Re: [JBoss-user] Re: contributing an app

2001-12-05 Thread danch
Sylvan Ravinet wrote: > Hello, > > * danch <[EMAIL PROTECTED]> [011205 17:56]: > >>I thing this conversation is more to provide an example of an >>application using services provided by JBoss, not necessarily something >>that people will be using. &g

Re: [JBoss-user] Re: contributing an app

2001-12-05 Thread danch
I thing this conversation is more to provide an example of an application using services provided by JBoss, not necessarily something that people will be using. There is a/are some project(s) on sourceforge that are developing common components like those you mention. -danch Yong T. Kim

Re: [JBoss-user] jboss-user shutdown

2001-12-04 Thread danch
you when something new in a forum (not a thread) showed up > > had a better "next unread" function > > had a better way of editing answers so a body of correct answers with > appropriate detail could develop. Hopefully the new policy that only a

Re: [JBoss-dev] RE: [JBoss-user] where is CMP2.0 documentation?

2001-12-04 Thread danch
it. If you look at the docs for Tomcat, it gets to be a complete nightmare to figure out how to do things. -danch ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] Eternal problem : JBoss 2.4.3 and Log4J

2001-12-03 Thread danch
I just got an app using log4j (with a custom category) to work in 2.4.3 - I had log4.jar in my .ear and used ClassPath manifest entries to point to it. this worked, but because of the way the app is configuring itself, JBoss' log messages wound up in our application log. -danch Blei Ma

Re: [JBoss-user] java.lang.reflect.UndeclaredThrowableException

2001-11-29 Thread danch
L PROTECTED] > http://www.palmadias.hpg.com.br > ICQ: 133921121 > - Original Message - > From: "danch" <[EMAIL PROTECTED]> > To: "Felipe F. Palma Dias" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Thursday, November 29, 2001 1

Re: [JBoss-user] java.lang.reflect.UndeclaredThrowableException

2001-11-29 Thread danch
declared as java.sql.Date? >> > No, It is java.util.Date > Try declaring it as java.sql.Date. There was a similar discussion recently, and I _believe_ that solved it. -danch ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] java.lang.reflect.UndeclaredThrowableException

2001-11-29 Thread danch
Does your bean have a date field that you're not setting? Is it declared as java.sql.Date? This seams like a problem that we've been seeing with the newer version of Hypersonic. -danch Felipe F. Palma Dias wrote: > Hello, I'm a new user. I'm brazilian, that'

Re: [JBoss-user] unable to call CMP (HELP)

2001-11-22 Thread danch
This is an issue with the version of Jasper that ships with Tomcat < 4.0. It doesn't pass the right classloader over when it invokes javac. I'm afraid the easiest thing to do is copy the EJB's interface .class files into WEB-INF/classes in the war file. -danch Kir

Re: [JBoss-user] Transaction Problems with JBoss 2.4.1

2001-11-22 Thread danch
#x27;re fairly active, actually. In fact, marcf is trying to phase this list out (it's a lot less active that it was a few months ago) Was this earlier today? (I haven't logged on to the forums yet today) A lot of people in the states are on holiday today and tommorow. Also, while the foru

Re: [JBoss-user] Stopping JBoss

2001-11-21 Thread danch
e shell instance interpreting run.sh. You need a modified run.sh that catches the PID of the java process to a file (or something). You could try sourcing run.sh, on the other hand (. run.sh) this might work. (caveat: not a shell script wizard) -danch _

Re: [JBoss-user] Stopping JBoss

2001-11-20 Thread danch
I do a `ps axf` to get a tree view of the processes and kill the root of all of the threads you describe. There's also an init script in the jboss contrib module (i believe) that probably has a more elegent method (save the proper pid to a file under /var/run, etc.) -danch Juergen Fi

Re: [JBoss-user] xml type...

2001-11-20 Thread danch
You'll also need to use the CLOB/BLOB apis, setString etc. will not work (IIRC) -danch Guy Rouillier wrote: > I haven't used this datatype, but I just took a quick look at the 9i docs, > which say this XmlType is built on CLOB, which can have a size up to 4 GB. > I'

Re: [JBoss-user] Out of memory error - memory leak?

2001-11-17 Thread danch
to do with thread creation (usually when the out of memory error is actually a process table limit, it happens in a thread create) -danch ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] Out of memory error - memory leak?

2001-11-16 Thread danch
rom user threads to kernel threads (so that ~200 java threads will map to ~200 pthreads, but only to a very few kernel threads, which is where the limit is). I posted the link to this library a few months ago on this list and I'd really like someone

Re: [JBoss-user] JAWS Primary Key Bug

2001-11-16 Thread danch
t in April, but my question is: > > Why is the bug still there in JBoss 2.2.2? Releases aren't re-released. This would cause confusion. > Is this fixed in the > latest version? Yes. Vinay committed that himself last may. This has

Re: [JBoss-user] How can I use the DefaultDS from within a client?

2001-11-15 Thread danch
Assuming your client is a standalone app and not a servlet/JSP web-application, sorry, that's not supported in JBoss. The Right Way to do that sort of thing would be to write a J2EE Client that ran in a Client Container - however that is not supported in JBoss at this time. Other servers will

Re: [JBoss-user] Concurrent calls

2001-11-15 Thread danch
ses of that EJB: BeanRemoteInterface ejb = session.getAttribute("ejb"); synchronized (ejb) { ejb.doFoo(); } You could also wrap the EJB in a plain JavaBean that does this. -danch Papo Napolitano wrote: > I'm using Jboss 2.4.2 with Tomcat and sometimes I get this error

Re: [JBoss-user] sorting finer resutl!!!!

2001-11-14 Thread danch
There's a bug in versions from about 2.4 to 2.4.3 that causes this to not work. The workaround is simply to call the finder something other than findAll. Fix is in for version 2.4.4 -danch Sundaram Ramasamy wrote: > Hi, > > I want to sort the findAll result by userid and las

Re: [JBoss-user] JSP and EJB

2001-11-13 Thread danch
at 4.0. hope this helped, -danch Bruyn, Bill wrote: > rtfm, I know. > > I've read the documentation at > http://www.jboss.org/online-manual/HTML/ch13s78.html, and I thought I > understood it, but I'm not able to get elements of my webapp to recognize > elements of the ejb

Re: [JBoss-user] cryptography - slow starting????

2001-11-13 Thread danch
That's probably the initialization of SecureRandom - it takes a while so that it knows its seed is good (IIRC). Gerry Duhig wrote: > Hi! > > > > I have successfully built a servlet that uses JCE to encrypt data and > deployed it under JBoss Tomcat 2.4.1-3.2.2. > > > > The very first ac

Re: [JBoss-user] DB connection/transactions in the same J2EE transaction context.

2001-11-02 Thread danch
I believe that 2.4.3 has Bill's fix that forces ejbStores to be called before any finder is called. Not in any specific order, however. -danch ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] Linux BUG Warning!!!!

2001-10-31 Thread danch
Yep! what kernel? Ferguson, Doug wrote: > The program we wrote to recreate this issue was written in perl. > So if this is a vm issue. That is one CRAZY vm. > We think is is LINUX being a bad boy. > > d. > > -Original Message- > From: danch [mailto:[EMAIL PROTE

Re: [JBoss-user] Linux BUG Warning!!!!

2001-10-31 Thread danch
Which VM version are you using & have you checked buglists for that VM? IIRC people have noticed some drastic (esp. thread related - which covers just about everything you do in an app server) stability problems with Sun's 1.3.1 VM (the beta at least) -danch Ferguson, Doug wrote: &

[JBoss-user] Re: cache problem in 2.4.3?

2001-10-30 Thread danch
I remember thinking there might be a problem with option A. I'll take a look tonight - I probably left a comment in the command factory (where it keeps the read-ahead buffer.) -danch Sacha Labourey wrote: > Hello, > > I've met a problem using in 2.4.3. > > Sit

Re: [JBoss-user] JBoss not picking up the latest data

2001-10-29 Thread danch
data, why isn't it using the entity beans? > I'm instead getting the old data. Btw my session bean is > deployed as NotSupported. I'd reevaluate this if you're changing data. -danch ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] sorting with findAll()

2001-10-28 Thread danch
I've just checked the fix for this into the JBoss 2.4 branch. It should be present in the next stable release. -danch Frank Morton wrote: > Thanks! > > > >> Poked into the code last night and realized that (as I feared) there's a >> problem with sorting

Re: [JBoss-user] Re: name not bound... HELP

2001-10-28 Thread danch
ing to the directory that Tomcat deployed to? Or when you say 'compile' do you mean an ear rebuild and hot-deploy? Do you have any tags in your web.xml that might not quite be right? -danch ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] name not bound... HELP

2001-10-28 Thread danch
tever you named the ejb-ref}' As you note in your other mail, looking up the bare JNDI name for the bean (or the bean name, taking JBoss' defaults) works fine. That _is_ less portable, however. -danch ___ JBoss-user mailing list [EMAIL

Re: [JBoss-user] Is this possible to execute some method in my Session bean and do not wait for result.

2001-10-26 Thread danch
If you want asynchronous calls, you should look into JMS and message driven beans. IvanLatysh wrote: > I have some beans they are doing some requests over the net. > And some of them may have long timeouts. > > And I need to execute this methods parallel. > Is this possible? > > > Sincerely

Re: [JBoss-user] performance problem

2001-10-25 Thread danch
You might also want to look into using 'group accessors' to grab all of the data out of the entity in one big chunk. This combined with a session bean wrapper would be the best bet. -danch Frank Morton wrote: > There are 16 in the Collection. Ranges from 35 to 60 ms for each &g

Re: [JBoss-user] performance problem

2001-10-25 Thread danch
you can't because changes won't be picked up. Note that there's a commit option D that (if memory serves) was added to support relatively static entities that get changed only occasionally from the outside world. If you do combine tips

Re: [JBoss-user] Why the same code do not work in Session Bean

2001-10-24 Thread danch
did you remember to add the resource reference to ejb.xml and map it in jboss.xml? IvanLatysh wrote: > I have Entity bean and I am getting connection using this code > > public void setEntityContext(EntityContext entityContext) throws RemoteException { > javax.naming.Context context = new

Re: [JBoss-user] Please help me ...

2001-10-24 Thread danch
Any time you call a finder there's at least one hit on the database, for that very reason. Even with commit option A, the container hits the database to get (at least) the keys. -danch John Moore wrote: > > Andrius, > > Good point, then it comes down to what you are tryi

Re: [JBoss-user] Building jboss-docs

2001-10-23 Thread danch
The 'bad command or file name' might be because Java isn't on your PATH. Tobias Frech wrote: > Madock Chiwenda wrote: > >>Hi folks, >> >>How to build jboss-docs on win98. I have checked out the module from >sourceforge.net. but I cat find notes on how to build. batch files seems not to work >

Re: [JBoss-user] JBoss 2.4.3

2001-10-23 Thread danch
You should be able to unzip the zip format binary using the java jar command. Richard Doust wrote: > I wonder if anyone can help me out. > I'd like to work with JBoss on a Linux i386 system. I've gone to the > JBoss.org site and found that the latest version of JBoss, 2.4.3, is > available in s

Re: [JBoss-user] sorting with findAll()

2001-10-19 Thread danch
seems to work for me in postgresql) I'll look into a fix for this. danch Dmitri Colebatch wrote: > On Thu, 18 Oct 2001, Frank Morton wrote: > > >>The docs refer to "jaws.xml" for this, but I'm a newbie confused if >>this file is now called "

Re: [JBoss-user] sorting with findAll()

2001-10-18 Thread danch
'standardjaws.xml' is the defaults file. You can override that in a 'jaws.xml' which you place in META-INF in your ejb-jar file. The XML snippet you have below should go in a jaws.xml in your META-INF directory. -danch - Original Message - From: "Frank Morto

Re: [JBoss-user] Unable to create PreparedStatement! error - SapDB and CMP entitybean

2001-10-18 Thread danch
atory? The transaction should commit on exit of the EJB method, not the JSP page completion. -danch - Original Message - From: "EGGERT,MICHAEL (A-Westford,ex1)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 18, 2001 8:51 AM Subject: [JBoss-user] Un

Re: [JBoss-user] Transaction

2001-10-16 Thread danch
_not_ roll back the transaction on application exceptions! You must call setRollbackOnly() if an application exception does imply a rollback. -danch - Original Message - From: "Hermann RANGAMANA" <[EMAIL PROTECTED]> Cc: "User @ JBoss" <[EMAIL PROTECTED]> Sent: T

Re: [JBoss-user] newbie session bean question

2001-10-15 Thread danch
l key, the entity bean degenerates to a singleton object. Also note that with either of these techniques you'll really want to mark the methods in question as RequiresNew so that you can get some level of concurrency. -danch - Original Message - From: "Frank Morton" <[EM

Re: [JBoss-user] CMP 2.0 [JBoss 3.0]

2001-10-11 Thread danch
Are you using JBoss 2.4.3 or the JBoss CVS code? EJB 2.0 is only in the latest CVS, not the 2.4.x branch. - Original Message - From: "Peter Levart" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 11, 2001 12:55 PM Subject: [JBoss-user] CMP 2.0 [JBoss 3.0] > Hello! > >

  1   2   3   4   5   6   7   >